0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},SourceMapGenerator$1.prototype._serializeMappings=function(){for(var e,t,n,r,a=0,i=1,o=0,s=0,c=0,u=0,l="",_=this._mappings.toArray(),d=0,p=_.length;d0){if(!util.compareByGeneratedPositionsInflated(t,_[d-1]))continue;e+=",";}e+=base64VLQ.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=base64VLQ.encode(r-u),u=r,e+=base64VLQ.encode(t.originalLine-1-s),s=t.originalLine-1,e+=base64VLQ.encode(t.originalColumn-o),o=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=base64VLQ.encode(n-c),c=n)),l+=e;}return l},SourceMapGenerator$1.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=util.relative(t,e));var n=util.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},SourceMapGenerator$1.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},SourceMapGenerator$1.prototype.toString=function(){return JSON.stringify(this.toJSON())};var SourceMapGenerator_1=SourceMapGenerator$1,sourceMapGenerator={SourceMapGenerator:SourceMapGenerator_1},binarySearch$1=createCommonjsModule$$1(function(e,t){function n(e,r,a,i,o,s){var c=Math.floor((r-e)/2)+e,u=o(a,i[c],!0);return 0===u?c:u>0?r-c>1?n(c,r,a,i,o,s):s==t.LEAST_UPPER_BOUND?r1?n(e,c,a,i,o,s):s==t.LEAST_UPPER_BOUND?c:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,a,i){if(0===r.length)return-1;var o=n(-1,r.length,e,r,a,i||t.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===a(r[o],r[o-1],!0);)--o;return o};}),quickSort_1=function(e,t){doQuickSort(e,t,0,e.length-1);},quickSort$1={quickSort:quickSort_1},util$5=util$1,binarySearch=binarySearch$1,ArraySet$2=arraySet.ArraySet,base64VLQ$1=base64Vlq,quickSort=quickSort$1.quickSort;SourceMapConsumer$2.fromSourceMap=function(e){return BasicSourceMapConsumer.fromSourceMap(e)},SourceMapConsumer$2.prototype._version=3,SourceMapConsumer$2.prototype.__generatedMappings=null,Object.defineProperty(SourceMapConsumer$2.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),SourceMapConsumer$2.prototype.__originalMappings=null,Object.defineProperty(SourceMapConsumer$2.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),SourceMapConsumer$2.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},SourceMapConsumer$2.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},SourceMapConsumer$2.GENERATED_ORDER=1,SourceMapConsumer$2.ORIGINAL_ORDER=2,SourceMapConsumer$2.GREATEST_LOWER_BOUND=1,SourceMapConsumer$2.LEAST_UPPER_BOUND=2,SourceMapConsumer$2.prototype.eachMapping=function(e,t,n){var r,a=t||null;switch(n||SourceMapConsumer$2.GENERATED_ORDER){case SourceMapConsumer$2.GENERATED_ORDER:r=this._generatedMappings;break;case SourceMapConsumer$2.ORIGINAL_ORDER:r=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;r.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=i&&(t=util$5.join(i,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,a);},SourceMapConsumer$2.prototype.allGeneratedPositionsFor=function(e){var t=util$5.getArg(e,"line"),n={source:util$5.getArg(e,"source"),originalLine:t,originalColumn:util$5.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=util$5.relative(this.sourceRoot,n.source)),!this._sources.has(n.source))return[];n.source=this._sources.indexOf(n.source);var r=[],a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",util$5.compareByOriginalPositions,binarySearch.LEAST_UPPER_BOUND);if(a>=0){var i=this._originalMappings[a];if(void 0===e.column)for(var o=i.originalLine;i&&i.originalLine===o;)r.push({line:util$5.getArg(i,"generatedLine",null),column:util$5.getArg(i,"generatedColumn",null),lastColumn:util$5.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++a];else for(var s=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==s;)r.push({line:util$5.getArg(i,"generatedLine",null),column:util$5.getArg(i,"generatedColumn",null),lastColumn:util$5.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++a];}return r};var SourceMapConsumer_1=SourceMapConsumer$2;BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer$2.prototype),BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer$2,BasicSourceMapConsumer.fromSourceMap=function(e){var t=Object.create(BasicSourceMapConsumer.prototype),n=t._names=ArraySet$2.fromArray(e._names.toArray(),!0),r=t._sources=ArraySet$2.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),i=t.__generatedMappings=[],o=t.__originalMappings=[],s=0,c=a.length;s1&&(n.source=_+a[1],_+=a[1],n.originalLine=u+a[2],u=n.originalLine,n.originalLine+=1,n.originalColumn=l+a[3],l=n.originalColumn,a.length>4&&(n.name=d+a[4],d+=a[4])),h.push(n),"number"==typeof n.originalLine&&y.push(n);}quickSort(h,util$5.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,quickSort(y,util$5.compareByOriginalPositions),this.__originalMappings=y;},BasicSourceMapConsumer.prototype._findMapping=function(e,t,n,r,a,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return binarySearch.search(e,t,a,i)},BasicSourceMapConsumer.prototype.computeColumnSpans=function(){for(var e=0;e=0){var r=this._generatedMappings[n];if(r.generatedLine===t.generatedLine){var a=util$5.getArg(r,"source",null);null!==a&&(a=this._sources.at(a),null!=this.sourceRoot&&(a=util$5.join(this.sourceRoot,a)));var i=util$5.getArg(r,"name",null);return null!==i&&(i=this._names.at(i)),{source:a,line:util$5.getArg(r,"originalLine",null),column:util$5.getArg(r,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},BasicSourceMapConsumer.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=util$5.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=util$5.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},BasicSourceMapConsumer.prototype.generatedPositionFor=function(e){var t=util$5.getArg(e,"source");if(null!=this.sourceRoot&&(t=util$5.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:util$5.getArg(e,"line"),originalColumn:util$5.getArg(e,"column")},r=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",util$5.compareByOriginalPositions,util$5.getArg(e,"bias",SourceMapConsumer$2.GREATEST_LOWER_BOUND));if(r>=0){var a=this._originalMappings[r];if(a.source===n.source)return{line:util$5.getArg(a,"generatedLine",null),column:util$5.getArg(a,"generatedColumn",null),lastColumn:util$5.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};var BasicSourceMapConsumer_1=BasicSourceMapConsumer;IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer$2.prototype),IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer$2,IndexedSourceMapConsumer.prototype._version=3,Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){for(var e=[],t=0;t0&&(u&&r(u,o()),a.add(i.join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=util$6.join(n,e)),a.setSourceContent(e,r));}),a},SourceNode$1.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e);},this);else{if(!e[isSourceNode]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e);}return this},SourceNode$1.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[isSourceNode]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e);}return this},SourceNode$1.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n0){for(t=[],n=0;n0;for(var n=0,r=e;n0?e[0]:void 0}function J(e){return e&&e.length>0?e[e.length-1]:void 0}function z(e){return e&&1===e.length?e[0]:void 0}function U(e){return e&&1===e.length?e[0]:e}function V(e,t,n){var r=e.slice(0);return r[t]=n,r}function q(e,t,n,r){if(!e||0===e.length)return-1;var a=r||0,i=e.length-1;for(n=void 0!==n?n:function(e,t){return et?1:0};a<=i;){var o=a+(i-a>>1),s=e[o];if(0===n(s,t))return o;n(s,t)>0?i=o-1:a=o+1;}return~a}function $(e,t,n,r,a){if(e&&e.length>0){var i=e.length;if(i>0){var o=void 0===r||r<0?0:r,s=void 0===a||o+a>i-1?i-1:o+a,c=void 0;for(arguments.length<=2?(c=e[o],o++):c=n;o<=s;)c=t(c,e[o],o),o++;return c}}return n}function G(e,t,n,r,a){if(e){var i=e.length;if(i>0){var o=void 0===r||r>i-1?i-1:r,s=void 0===a||o-a<0?0:o-a,c=void 0;for(arguments.length<=2?(c=e[o],o--):c=n;o>=s;)c=t(c,e[o],o),o--;return c}}return n}function W(e,t){return rn.call(e,t)}function H(e,t){return rn.call(e,t)?e[t]:void 0}function X(e){var t=[];for(var n in e)rn.call(e,n)&&t.push(n);return t}function Y(e,t){for(var n=[],r=e.next(),a=r.value,i=r.done;!i;o=e.next(),a=o.value,i=o.done,o)n.push(t?t(a):a);return n;var o;}function Q(e,t){for(var n=[],r=e.next(),a=r.value,i=r.done;!i;o=e.next(),a=o.value,i=o.done,o)n.push(t(a));return n;var o;}function Z(e,t){for(var n=e.entries(),r=n.next(),a=r.value,i=r.done;!i;c=n.next(),a=c.value,i=c.done,c){var o=a[0],s=t(a[1],o);if(s)return s}return;var c;}function ee(e,t){for(var n=e.keys(),r=n.next(),a=r.value,i=r.done;!i;s=n.next(),a=s.value,i=s.done,s){var o=t(a);if(o)return o}return;var s;}function te(e,t){e.forEach(function(e,n){t.set(n,e);});}function ne(e){for(var t=[],n=1;n=0,"start must be non-negative, is "+t),dn.assert(n>=0,"length must be non-negative, is "+n),e&&(dn.assert(t<=e.text.length,"start must be within the bounds of the file. "+t+" > "+e.text.length),dn.assert(a<=e.text.length,"end must be the bounds of the file. "+a+" > "+e.text.length));var i=he(r);return arguments.length>4&&(i=ye(i,arguments,4)),{file:e,start:t,length:n,messageText:i,category:r.category,code:r.code}}function be(e,t){var n=he(t);return arguments.length>2&&(n=ye(n,arguments,2)),n}function xe(e){var t=he(e);return arguments.length>1&&(t=ye(t,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:t,category:e.category,code:e.code}}function ke(e){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText}}function Se(e,t){var n=he(t);return arguments.length>2&&(n=ye(n,arguments,2)),{messageText:n,category:t.category,code:t.code,next:e}}function Te(e,t){for(var n=e;n.next;)n=n.next;return n.next=t,e}function Ce(e,t){return e===t?0:void 0===e?-1:void 0===t?1:e0?1:0}if(t=t.toUpperCase(),n=n.toUpperCase(),t===n)return 0}return t0&&".."!==J(r)?r.pop():o&&r.push(o));}return r}function Me(t){var n=Ie(t=Fe(t)),r=t.substr(0,n),a=Re(t,n);if(a.length){var i=r+a.join(e.directorySeparator);return Le(t)?i+e.directorySeparator:i}return r}function Le(e){return e.charCodeAt(e.length-1)===an}function Be(t){return t.substr(0,Math.max(Ie(t),t.lastIndexOf(e.directorySeparator)))}function Ke(e){return e&&!qe(e)&&-1!==e.indexOf("://")}function je(e){return/^\.\.?($|[\\/])/.test(e)}function Je(e){return e.target||0}function ze(t){return"number"==typeof t.module?t.module:Je(t)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function Ue(t){var n=t.moduleResolution;return void 0===n&&(n=ze(t)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),n}function Ve(e){for(var t=!1,n=0;n1&&""===J(s)&&s.length--;var c;for(c=0;c=0&&e.indexOf(t,n)===n}function ct(e){return et(e).indexOf(".")>=0}function ut(e,t){return e.length>t.length&&st(e,t)}function lt(e,t){for(var n=0,r=t;n0;)s+=")?",d--;return s}}function mt(e){return yt(e,cn)}function gt(e){return yt(e,un)}function yt(e,t){return"*"===e?t:"?"===e?"[^/]":"\\"+e}function ht(e,t,n,r,a){e=Me(e);var i=tt(a=Me(a),e);return{includeFilePatterns:x(dt(n,i,"files"),function(e){return"^"+e+"$"}),includeFilePattern:_t(n,i,"files"),includeDirectoryPattern:_t(n,i,"directories"),excludePattern:_t(t,i,"exclude"),basePaths:bt(e,n,r)}}function vt(e,t,n,r,a,i,o){function s(e,n){var r=o(e),a=r.files,i=r.directories;a=a.slice().sort(m),i=i.slice().sort(m);for(var c=0,u=a;c=0;n--)if(ut(e,t[n]))return At(n,t);return 0}function At(e,t){return e<2?0:ea&&(a=c.prefix.length,r=s);}return r}function Ht(e,t){var n=e.prefix,r=e.suffix;return t.length>=n.length+r.length&&ot(t,n)&&st(t,r)}function Xt(e){dn.assert(Ve(e));var t=e.indexOf("*");return-1===t?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}function Yt(e){return!(e>=0)}function Qt(t){return t<=e.Extension.LastTypeScriptExtension}function Zt(e){var t=en(e);if(void 0!==t)return t;dn.fail("File "+e+" has unknown extension.");}function en(t){return ut(t,".d.ts")?e.Extension.Dts:ut(t,".ts")?e.Extension.Ts:ut(t,".tsx")?e.Extension.Tsx:ut(t,".js")?e.Extension.Js:ut(t,".jsx")?e.Extension.Jsx:void 0}function tn(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}!function(e){e[e.False=0]="False",e[e.Maybe=1]="Maybe",e[e.True=-1]="True";}(e.Ternary||(e.Ternary={})),e.collator="object"==typeof Intl&&"function"==typeof Intl.Collator?new Intl.Collator(void 0,{usage:"sort",sensitivity:"accent"}):void 0,e.localeCompareIsCorrect=e.collator&&e.collator.compare("a","B")<0,e.createMap=n,e.createMapFromTemplate=r;var nn="undefined"!=typeof Map&&"entries"in Map.prototype?Map:function(){var e=function(){function e(e,t){this.index=0,this.data=e,this.selector=t,this.keys=Object.keys(e);}return e.prototype.next=function(){var e=this.index;return e=t}function n(e,t,n){if(!e){var r="";throw n&&(r="\r\nVerbose Debug Information: "+n()),new Error("Debug Failure. False expression: "+(t||"")+r)}}function r(t){e.assert(!1,t);}e.currentAssertionLevel=0,e.shouldAssert=t,e.assert=n,e.fail=r;}(dn=e.Debug||(e.Debug={})),e.orderedRemoveItem=Kt,e.orderedRemoveItemAt=jt,e.unorderedRemoveItemAt=Jt,e.unorderedRemoveItem=zt,e.createGetCanonicalFileName=Vt,e.matchPatternOrExact=qt,e.patternText=$t,e.matchedText=Gt,e.findBestPatternMatch=Wt,e.tryParsePattern=Xt,e.positionIsSynthesized=Yt,e.extensionIsTypeScript=Qt,e.extensionFromPath=Zt,e.tryGetExtensionFromPath=en,e.isCheckJsEnabledForFile=tn;}(r||(r={}));!function(e){function t(){if("undefined"!=typeof process){var e=process.version;if(e){var t=e.indexOf(".");if(-1!==t)return parseInt(e.substring(1,t))}}}e.getNodeMajorVersion=t,e.sys=function(){function n(t,r){var a=e.getDirectoryPath(t),i=t!==a&&!r.directoryExists(a);i&&n(a,r),!i&&r.directoryExists(t)||r.createDirectory(t);}var r;if("undefined"!=typeof ChakraHost?r=function(){var t=ChakraHost.realpath&&function(e){return ChakraHost.realpath(e)};return{newLine:ChakraHost.newLine||"\r\n",args:ChakraHost.args,useCaseSensitiveFileNames:!!ChakraHost.useCaseSensitiveFileNames,write:ChakraHost.echo,readFile:function(e,t){return ChakraHost.readFile(e)},writeFile:function(e,t,n){n&&(t="\ufeff"+t),ChakraHost.writeFile(e,t);},resolvePath:ChakraHost.resolvePath,fileExists:ChakraHost.fileExists,directoryExists:ChakraHost.directoryExists,createDirectory:ChakraHost.createDirectory,getExecutingFilePath:function(){return ChakraHost.executingFile},getCurrentDirectory:function(){return ChakraHost.currentDirectory},getDirectories:ChakraHost.getDirectories,getEnvironmentVariable:ChakraHost.getEnvironmentVariable||function(){return""},readDirectory:function(t,n,r,a){var i=e.getFileMatcherPatterns(t,r,a,!!ChakraHost.useCaseSensitiveFileNames,ChakraHost.currentDirectory);return ChakraHost.readDirectory(t,n,i.basePaths,i.excludePattern,i.includeFilePattern,i.includeDirectoryPattern)},exit:ChakraHost.quit,realpath:t}}():"undefined"!=typeof process&&nextTick&&!browser$1&&void 0!==commonjsRequire$$1&&(r=function(){function n(e,t){if(s(e)){var n=_.readFileSync(e),r=n.length;if(r>=2&&254===n[0]&&255===n[1]){r&=-2;for(var a=0;a=2&&255===n[0]&&254===n[1]?n.toString("utf16le",2):r>=3&&239===n[0]&&187===n[1]&&191===n[2]?n.toString("utf8",3):n.toString("utf8")}}function r(e,t,n){n&&(t="\ufeff"+t);var r;try{r=_.openSync(e,"w"),_.writeSync(r,t,void 0,"utf8");}finally{void 0!==r&&_.closeSync(r);}}function a(t){try{for(var n=[],r=[],a=0,i=_.readdirSync(t||".").sort();a=4,h=p.platform(),v=function(){return"win32"!==h&&"win64"!==h&&(!s(__filename.toUpperCase())||!s(__filename.toLowerCase()))}();!function(e){e[e.File=0]="File",e[e.Directory=1]="Directory";}(l||(l={}));var b={close:e.noop},x={args:process.argv.slice(2),newLine:p.EOL,useCaseSensitiveFileNames:v,write:function(e){process.stdout.write(e);},readFile:n,writeFile:r,watchFile:function(e,t,n){function r(n,r){+n.mtime<=+r.mtime||t(e);}if(m){var a=g.addFile(e,t);return{close:function(){return g.removeFile(a)}}}return _.watchFile(e,{persistent:!0,interval:n||250},r),{close:function(){return _.unwatchFile(e,r)}}},watchDirectory:function(t,n,r){var a;return c(t)?(a=!y||"win32"!==process.platform&&"darwin"!==process.platform?{persistent:!0}:{persistent:!0,recursive:!!r},_.watch(t,a,function(r,a){"rename"===r&&n(a?e.normalizePath(e.combinePaths(t,a)):a);})):b},resolvePath:function(e){return d.resolve(e)},fileExists:s,directoryExists:c,createDirectory:function(e){x.directoryExists(e)||_.mkdirSync(e);},getExecutingFilePath:function(){return __filename},getCurrentDirectory:function(){return process.cwd()},getDirectories:u,getEnvironmentVariable:function(e){return process.env[e]||""},readDirectory:i,getModifiedTime:function(e){try{return _.statSync(e).mtime}catch(e){return}},createHash:function(e){var t=f.createHash("md5");return t.update(e),t.digest("hex")},getMemoryUsage:function(){return commonjsGlobal$$1.gc&&commonjsGlobal$$1.gc(),process.memoryUsage().heapUsed},getFileSize:function(e){try{var t=_.statSync(e);if(t.isFile())return t.size}catch(e){}return 0},exit:function(e){process.exit(e);},realpath:function(e){return _.realpathSync(e)},tryEnableSourceMapsForHost:function(){try{sourceMapSupport.install();}catch(e){}},setTimeout:setTimeout,clearTimeout:clearTimeout};return x}()),r){var a=r.writeFile;r.writeFile=function(t,i,o){var s=e.getDirectoryPath(e.normalizeSlashes(t));s&&!r.directoryExists(s)&&n(s,r),a.call(r,t,i,o);};}return r}(),e.sys&&e.sys.getEnvironmentVariable&&(e.Debug.currentAssertionLevel=/^development$/i.test(e.sys.getEnvironmentVariable("NODE_ENV"))?1:0);}(r||(r={}));!function(e){e.Diagnostics={Unterminated_string_literal:{code:1002,category:e.DiagnosticCategory.Error,key:"Unterminated_string_literal_1002",message:"Unterminated string literal."},Identifier_expected:{code:1003,category:e.DiagnosticCategory.Error,key:"Identifier_expected_1003",message:"Identifier expected."},_0_expected:{code:1005,category:e.DiagnosticCategory.Error,key:"_0_expected_1005",message:"'{0}' expected."},A_file_cannot_have_a_reference_to_itself:{code:1006,category:e.DiagnosticCategory.Error,key:"A_file_cannot_have_a_reference_to_itself_1006",message:"A file cannot have a reference to itself."},Trailing_comma_not_allowed:{code:1009,category:e.DiagnosticCategory.Error,key:"Trailing_comma_not_allowed_1009",message:"Trailing comma not allowed."},Asterisk_Slash_expected:{code:1010,category:e.DiagnosticCategory.Error,key:"Asterisk_Slash_expected_1010",message:"'*/' expected."},Unexpected_token:{code:1012,category:e.DiagnosticCategory.Error,key:"Unexpected_token_1012",message:"Unexpected token."},A_rest_parameter_must_be_last_in_a_parameter_list:{code:1014,category:e.DiagnosticCategory.Error,key:"A_rest_parameter_must_be_last_in_a_parameter_list_1014",message:"A rest parameter must be last in a parameter list."},Parameter_cannot_have_question_mark_and_initializer:{code:1015,category:e.DiagnosticCategory.Error,key:"Parameter_cannot_have_question_mark_and_initializer_1015",message:"Parameter cannot have question mark and initializer."},A_required_parameter_cannot_follow_an_optional_parameter:{code:1016,category:e.DiagnosticCategory.Error,key:"A_required_parameter_cannot_follow_an_optional_parameter_1016",message:"A required parameter cannot follow an optional parameter."},An_index_signature_cannot_have_a_rest_parameter:{code:1017,category:e.DiagnosticCategory.Error,key:"An_index_signature_cannot_have_a_rest_parameter_1017",message:"An index signature cannot have a rest parameter."},An_index_signature_parameter_cannot_have_an_accessibility_modifier:{code:1018,category:e.DiagnosticCategory.Error,key:"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018",message:"An index signature parameter cannot have an accessibility modifier."},An_index_signature_parameter_cannot_have_a_question_mark:{code:1019,category:e.DiagnosticCategory.Error,key:"An_index_signature_parameter_cannot_have_a_question_mark_1019",message:"An index signature parameter cannot have a question mark."},An_index_signature_parameter_cannot_have_an_initializer:{code:1020,category:e.DiagnosticCategory.Error,key:"An_index_signature_parameter_cannot_have_an_initializer_1020",message:"An index signature parameter cannot have an initializer."},An_index_signature_must_have_a_type_annotation:{code:1021,category:e.DiagnosticCategory.Error,key:"An_index_signature_must_have_a_type_annotation_1021",message:"An index signature must have a type annotation."},An_index_signature_parameter_must_have_a_type_annotation:{code:1022,category:e.DiagnosticCategory.Error,key:"An_index_signature_parameter_must_have_a_type_annotation_1022",message:"An index signature parameter must have a type annotation."},An_index_signature_parameter_type_must_be_string_or_number:{code:1023,category:e.DiagnosticCategory.Error,key:"An_index_signature_parameter_type_must_be_string_or_number_1023",message:"An index signature parameter type must be 'string' or 'number'."},readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:{code:1024,category:e.DiagnosticCategory.Error,key:"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024",message:"'readonly' modifier can only appear on a property declaration or index signature."},Accessibility_modifier_already_seen:{code:1028,category:e.DiagnosticCategory.Error,key:"Accessibility_modifier_already_seen_1028",message:"Accessibility modifier already seen."},_0_modifier_must_precede_1_modifier:{code:1029,category:e.DiagnosticCategory.Error,key:"_0_modifier_must_precede_1_modifier_1029",message:"'{0}' modifier must precede '{1}' modifier."},_0_modifier_already_seen:{code:1030,category:e.DiagnosticCategory.Error,key:"_0_modifier_already_seen_1030",message:"'{0}' modifier already seen."},_0_modifier_cannot_appear_on_a_class_element:{code:1031,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_class_element_1031",message:"'{0}' modifier cannot appear on a class element."},super_must_be_followed_by_an_argument_list_or_member_access:{code:1034,category:e.DiagnosticCategory.Error,key:"super_must_be_followed_by_an_argument_list_or_member_access_1034",message:"'super' must be followed by an argument list or member access."},Only_ambient_modules_can_use_quoted_names:{code:1035,category:e.DiagnosticCategory.Error,key:"Only_ambient_modules_can_use_quoted_names_1035",message:"Only ambient modules can use quoted names."},Statements_are_not_allowed_in_ambient_contexts:{code:1036,category:e.DiagnosticCategory.Error,key:"Statements_are_not_allowed_in_ambient_contexts_1036",message:"Statements are not allowed in ambient contexts."},A_declare_modifier_cannot_be_used_in_an_already_ambient_context:{code:1038,category:e.DiagnosticCategory.Error,key:"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038",message:"A 'declare' modifier cannot be used in an already ambient context."},Initializers_are_not_allowed_in_ambient_contexts:{code:1039,category:e.DiagnosticCategory.Error,key:"Initializers_are_not_allowed_in_ambient_contexts_1039",message:"Initializers are not allowed in ambient contexts."},_0_modifier_cannot_be_used_in_an_ambient_context:{code:1040,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_be_used_in_an_ambient_context_1040",message:"'{0}' modifier cannot be used in an ambient context."},_0_modifier_cannot_be_used_with_a_class_declaration:{code:1041,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_be_used_with_a_class_declaration_1041",message:"'{0}' modifier cannot be used with a class declaration."},_0_modifier_cannot_be_used_here:{code:1042,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_be_used_here_1042",message:"'{0}' modifier cannot be used here."},_0_modifier_cannot_appear_on_a_data_property:{code:1043,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_data_property_1043",message:"'{0}' modifier cannot appear on a data property."},_0_modifier_cannot_appear_on_a_module_or_namespace_element:{code:1044,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044",message:"'{0}' modifier cannot appear on a module or namespace element."},A_0_modifier_cannot_be_used_with_an_interface_declaration:{code:1045,category:e.DiagnosticCategory.Error,key:"A_0_modifier_cannot_be_used_with_an_interface_declaration_1045",message:"A '{0}' modifier cannot be used with an interface declaration."},A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file:{code:1046,category:e.DiagnosticCategory.Error,key:"A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file_1046",message:"A 'declare' modifier is required for a top level declaration in a .d.ts file."},A_rest_parameter_cannot_be_optional:{code:1047,category:e.DiagnosticCategory.Error,key:"A_rest_parameter_cannot_be_optional_1047",message:"A rest parameter cannot be optional."},A_rest_parameter_cannot_have_an_initializer:{code:1048,category:e.DiagnosticCategory.Error,key:"A_rest_parameter_cannot_have_an_initializer_1048",message:"A rest parameter cannot have an initializer."},A_set_accessor_must_have_exactly_one_parameter:{code:1049,category:e.DiagnosticCategory.Error,key:"A_set_accessor_must_have_exactly_one_parameter_1049",message:"A 'set' accessor must have exactly one parameter."},A_set_accessor_cannot_have_an_optional_parameter:{code:1051,category:e.DiagnosticCategory.Error,key:"A_set_accessor_cannot_have_an_optional_parameter_1051",message:"A 'set' accessor cannot have an optional parameter."},A_set_accessor_parameter_cannot_have_an_initializer:{code:1052,category:e.DiagnosticCategory.Error,key:"A_set_accessor_parameter_cannot_have_an_initializer_1052",message:"A 'set' accessor parameter cannot have an initializer."},A_set_accessor_cannot_have_rest_parameter:{code:1053,category:e.DiagnosticCategory.Error,key:"A_set_accessor_cannot_have_rest_parameter_1053",message:"A 'set' accessor cannot have rest parameter."},A_get_accessor_cannot_have_parameters:{code:1054,category:e.DiagnosticCategory.Error,key:"A_get_accessor_cannot_have_parameters_1054",message:"A 'get' accessor cannot have parameters."},Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:{code:1055,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055",message:"Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."},Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:{code:1056,category:e.DiagnosticCategory.Error,key:"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056",message:"Accessors are only available when targeting ECMAScript 5 and higher."},An_async_function_or_method_must_have_a_valid_awaitable_return_type:{code:1057,category:e.DiagnosticCategory.Error,key:"An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057",message:"An async function or method must have a valid awaitable return type."},The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:{code:1058,category:e.DiagnosticCategory.Error,key:"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058",message:"The return type of an async function must either be a valid promise or must not contain a callable 'then' member."},A_promise_must_have_a_then_method:{code:1059,category:e.DiagnosticCategory.Error,key:"A_promise_must_have_a_then_method_1059",message:"A promise must have a 'then' method."},The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:{code:1060,category:e.DiagnosticCategory.Error,key:"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060",message:"The first parameter of the 'then' method of a promise must be a callback."},Enum_member_must_have_initializer:{code:1061,category:e.DiagnosticCategory.Error,key:"Enum_member_must_have_initializer_1061",message:"Enum member must have initializer."},Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:{code:1062,category:e.DiagnosticCategory.Error,key:"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062",message:"Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."},An_export_assignment_cannot_be_used_in_a_namespace:{code:1063,category:e.DiagnosticCategory.Error,key:"An_export_assignment_cannot_be_used_in_a_namespace_1063",message:"An export assignment cannot be used in a namespace."},The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:{code:1064,category:e.DiagnosticCategory.Error,key:"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1064",message:"The return type of an async function or method must be the global Promise type."},In_ambient_enum_declarations_member_initializer_must_be_constant_expression:{code:1066,category:e.DiagnosticCategory.Error,key:"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066",message:"In ambient enum declarations member initializer must be constant expression."},Unexpected_token_A_constructor_method_accessor_or_property_was_expected:{code:1068,category:e.DiagnosticCategory.Error,key:"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068",message:"Unexpected token. A constructor, method, accessor, or property was expected."},_0_modifier_cannot_appear_on_a_type_member:{code:1070,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_type_member_1070",message:"'{0}' modifier cannot appear on a type member."},_0_modifier_cannot_appear_on_an_index_signature:{code:1071,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_an_index_signature_1071",message:"'{0}' modifier cannot appear on an index signature."},A_0_modifier_cannot_be_used_with_an_import_declaration:{code:1079,category:e.DiagnosticCategory.Error,key:"A_0_modifier_cannot_be_used_with_an_import_declaration_1079",message:"A '{0}' modifier cannot be used with an import declaration."},Invalid_reference_directive_syntax:{code:1084,category:e.DiagnosticCategory.Error,key:"Invalid_reference_directive_syntax_1084",message:"Invalid 'reference' directive syntax."},Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:{code:1085,category:e.DiagnosticCategory.Error,key:"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085",message:"Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."},An_accessor_cannot_be_declared_in_an_ambient_context:{code:1086,category:e.DiagnosticCategory.Error,key:"An_accessor_cannot_be_declared_in_an_ambient_context_1086",message:"An accessor cannot be declared in an ambient context."},_0_modifier_cannot_appear_on_a_constructor_declaration:{code:1089,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_constructor_declaration_1089",message:"'{0}' modifier cannot appear on a constructor declaration."},_0_modifier_cannot_appear_on_a_parameter:{code:1090,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_parameter_1090",message:"'{0}' modifier cannot appear on a parameter."},Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:{code:1091,category:e.DiagnosticCategory.Error,key:"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091",message:"Only a single variable declaration is allowed in a 'for...in' statement."},Type_parameters_cannot_appear_on_a_constructor_declaration:{code:1092,category:e.DiagnosticCategory.Error,key:"Type_parameters_cannot_appear_on_a_constructor_declaration_1092",message:"Type parameters cannot appear on a constructor declaration."},Type_annotation_cannot_appear_on_a_constructor_declaration:{code:1093,category:e.DiagnosticCategory.Error,key:"Type_annotation_cannot_appear_on_a_constructor_declaration_1093",message:"Type annotation cannot appear on a constructor declaration."},An_accessor_cannot_have_type_parameters:{code:1094,category:e.DiagnosticCategory.Error,key:"An_accessor_cannot_have_type_parameters_1094",message:"An accessor cannot have type parameters."},A_set_accessor_cannot_have_a_return_type_annotation:{code:1095,category:e.DiagnosticCategory.Error,key:"A_set_accessor_cannot_have_a_return_type_annotation_1095",message:"A 'set' accessor cannot have a return type annotation."},An_index_signature_must_have_exactly_one_parameter:{code:1096,category:e.DiagnosticCategory.Error,key:"An_index_signature_must_have_exactly_one_parameter_1096",message:"An index signature must have exactly one parameter."},_0_list_cannot_be_empty:{code:1097,category:e.DiagnosticCategory.Error,key:"_0_list_cannot_be_empty_1097",message:"'{0}' list cannot be empty."},Type_parameter_list_cannot_be_empty:{code:1098,category:e.DiagnosticCategory.Error,key:"Type_parameter_list_cannot_be_empty_1098",message:"Type parameter list cannot be empty."},Type_argument_list_cannot_be_empty:{code:1099,category:e.DiagnosticCategory.Error,key:"Type_argument_list_cannot_be_empty_1099",message:"Type argument list cannot be empty."},Invalid_use_of_0_in_strict_mode:{code:1100,category:e.DiagnosticCategory.Error,key:"Invalid_use_of_0_in_strict_mode_1100",message:"Invalid use of '{0}' in strict mode."},with_statements_are_not_allowed_in_strict_mode:{code:1101,category:e.DiagnosticCategory.Error,key:"with_statements_are_not_allowed_in_strict_mode_1101",message:"'with' statements are not allowed in strict mode."},delete_cannot_be_called_on_an_identifier_in_strict_mode:{code:1102,category:e.DiagnosticCategory.Error,key:"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102",message:"'delete' cannot be called on an identifier in strict mode."},A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator:{code:1103,category:e.DiagnosticCategory.Error,key:"A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator_1103",message:"A 'for-await-of' statement is only allowed within an async function or async generator."},A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:{code:1104,category:e.DiagnosticCategory.Error,key:"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104",message:"A 'continue' statement can only be used within an enclosing iteration statement."},A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:{code:1105,category:e.DiagnosticCategory.Error,key:"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105",message:"A 'break' statement can only be used within an enclosing iteration or switch statement."},Jump_target_cannot_cross_function_boundary:{code:1107,category:e.DiagnosticCategory.Error,key:"Jump_target_cannot_cross_function_boundary_1107",message:"Jump target cannot cross function boundary."},A_return_statement_can_only_be_used_within_a_function_body:{code:1108,category:e.DiagnosticCategory.Error,key:"A_return_statement_can_only_be_used_within_a_function_body_1108",message:"A 'return' statement can only be used within a function body."},Expression_expected:{code:1109,category:e.DiagnosticCategory.Error,key:"Expression_expected_1109",message:"Expression expected."},Type_expected:{code:1110,category:e.DiagnosticCategory.Error,key:"Type_expected_1110",message:"Type expected."},A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:{code:1113,category:e.DiagnosticCategory.Error,key:"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113",message:"A 'default' clause cannot appear more than once in a 'switch' statement."},Duplicate_label_0:{code:1114,category:e.DiagnosticCategory.Error,key:"Duplicate_label_0_1114",message:"Duplicate label '{0}'."},A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:{code:1115,category:e.DiagnosticCategory.Error,key:"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115",message:"A 'continue' statement can only jump to a label of an enclosing iteration statement."},A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:{code:1116,category:e.DiagnosticCategory.Error,key:"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116",message:"A 'break' statement can only jump to a label of an enclosing statement."},An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:{code:1117,category:e.DiagnosticCategory.Error,key:"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117",message:"An object literal cannot have multiple properties with the same name in strict mode."},An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:{code:1118,category:e.DiagnosticCategory.Error,key:"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118",message:"An object literal cannot have multiple get/set accessors with the same name."},An_object_literal_cannot_have_property_and_accessor_with_the_same_name:{code:1119,category:e.DiagnosticCategory.Error,key:"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119",message:"An object literal cannot have property and accessor with the same name."},An_export_assignment_cannot_have_modifiers:{code:1120,category:e.DiagnosticCategory.Error,key:"An_export_assignment_cannot_have_modifiers_1120",message:"An export assignment cannot have modifiers."},Octal_literals_are_not_allowed_in_strict_mode:{code:1121,category:e.DiagnosticCategory.Error,key:"Octal_literals_are_not_allowed_in_strict_mode_1121",message:"Octal literals are not allowed in strict mode."},A_tuple_type_element_list_cannot_be_empty:{code:1122,category:e.DiagnosticCategory.Error,key:"A_tuple_type_element_list_cannot_be_empty_1122",message:"A tuple type element list cannot be empty."},Variable_declaration_list_cannot_be_empty:{code:1123,category:e.DiagnosticCategory.Error,key:"Variable_declaration_list_cannot_be_empty_1123",message:"Variable declaration list cannot be empty."},Digit_expected:{code:1124,category:e.DiagnosticCategory.Error,key:"Digit_expected_1124",message:"Digit expected."},Hexadecimal_digit_expected:{code:1125,category:e.DiagnosticCategory.Error,key:"Hexadecimal_digit_expected_1125",message:"Hexadecimal digit expected."},Unexpected_end_of_text:{code:1126,category:e.DiagnosticCategory.Error,key:"Unexpected_end_of_text_1126",message:"Unexpected end of text."},Invalid_character:{code:1127,category:e.DiagnosticCategory.Error,key:"Invalid_character_1127",message:"Invalid character."},Declaration_or_statement_expected:{code:1128,category:e.DiagnosticCategory.Error,key:"Declaration_or_statement_expected_1128",message:"Declaration or statement expected."},Statement_expected:{code:1129,category:e.DiagnosticCategory.Error,key:"Statement_expected_1129",message:"Statement expected."},case_or_default_expected:{code:1130,category:e.DiagnosticCategory.Error,key:"case_or_default_expected_1130",message:"'case' or 'default' expected."},Property_or_signature_expected:{code:1131,category:e.DiagnosticCategory.Error,key:"Property_or_signature_expected_1131",message:"Property or signature expected."},Enum_member_expected:{code:1132,category:e.DiagnosticCategory.Error,key:"Enum_member_expected_1132",message:"Enum member expected."},Variable_declaration_expected:{code:1134,category:e.DiagnosticCategory.Error,key:"Variable_declaration_expected_1134",message:"Variable declaration expected."},Argument_expression_expected:{code:1135,category:e.DiagnosticCategory.Error,key:"Argument_expression_expected_1135",message:"Argument expression expected."},Property_assignment_expected:{code:1136,category:e.DiagnosticCategory.Error,key:"Property_assignment_expected_1136",message:"Property assignment expected."},Expression_or_comma_expected:{code:1137,category:e.DiagnosticCategory.Error,key:"Expression_or_comma_expected_1137",message:"Expression or comma expected."},Parameter_declaration_expected:{code:1138,category:e.DiagnosticCategory.Error,key:"Parameter_declaration_expected_1138",message:"Parameter declaration expected."},Type_parameter_declaration_expected:{code:1139,category:e.DiagnosticCategory.Error,key:"Type_parameter_declaration_expected_1139",message:"Type parameter declaration expected."},Type_argument_expected:{code:1140,category:e.DiagnosticCategory.Error,key:"Type_argument_expected_1140",message:"Type argument expected."},String_literal_expected:{code:1141,category:e.DiagnosticCategory.Error,key:"String_literal_expected_1141",message:"String literal expected."},Line_break_not_permitted_here:{code:1142,category:e.DiagnosticCategory.Error,key:"Line_break_not_permitted_here_1142",message:"Line break not permitted here."},or_expected:{code:1144,category:e.DiagnosticCategory.Error,key:"or_expected_1144",message:"'{' or ';' expected."},Declaration_expected:{code:1146,category:e.DiagnosticCategory.Error,key:"Declaration_expected_1146",message:"Declaration expected."},Import_declarations_in_a_namespace_cannot_reference_a_module:{code:1147,category:e.DiagnosticCategory.Error,key:"Import_declarations_in_a_namespace_cannot_reference_a_module_1147",message:"Import declarations in a namespace cannot reference a module."},Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:{code:1148,category:e.DiagnosticCategory.Error,key:"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148",message:"Cannot use imports, exports, or module augmentations when '--module' is 'none'."},File_name_0_differs_from_already_included_file_name_1_only_in_casing:{code:1149,category:e.DiagnosticCategory.Error,key:"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149",message:"File name '{0}' differs from already included file name '{1}' only in casing."},new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead:{code:1150,category:e.DiagnosticCategory.Error,key:"new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead_1150",message:"'new T[]' cannot be used to create an array. Use 'new Array()' instead."},const_declarations_must_be_initialized:{code:1155,category:e.DiagnosticCategory.Error,key:"const_declarations_must_be_initialized_1155",message:"'const' declarations must be initialized."},const_declarations_can_only_be_declared_inside_a_block:{code:1156,category:e.DiagnosticCategory.Error,key:"const_declarations_can_only_be_declared_inside_a_block_1156",message:"'const' declarations can only be declared inside a block."},let_declarations_can_only_be_declared_inside_a_block:{code:1157,category:e.DiagnosticCategory.Error,key:"let_declarations_can_only_be_declared_inside_a_block_1157",message:"'let' declarations can only be declared inside a block."},Unterminated_template_literal:{code:1160,category:e.DiagnosticCategory.Error,key:"Unterminated_template_literal_1160",message:"Unterminated template literal."},Unterminated_regular_expression_literal:{code:1161,category:e.DiagnosticCategory.Error,key:"Unterminated_regular_expression_literal_1161",message:"Unterminated regular expression literal."},An_object_member_cannot_be_declared_optional:{code:1162,category:e.DiagnosticCategory.Error,key:"An_object_member_cannot_be_declared_optional_1162",message:"An object member cannot be declared optional."},A_yield_expression_is_only_allowed_in_a_generator_body:{code:1163,category:e.DiagnosticCategory.Error,key:"A_yield_expression_is_only_allowed_in_a_generator_body_1163",message:"A 'yield' expression is only allowed in a generator body."},Computed_property_names_are_not_allowed_in_enums:{code:1164,category:e.DiagnosticCategory.Error,key:"Computed_property_names_are_not_allowed_in_enums_1164",message:"Computed property names are not allowed in enums."},A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol:{code:1165,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol_1165",message:"A computed property name in an ambient context must directly refer to a built-in symbol."},A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol:{code:1166,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol_1166",message:"A computed property name in a class property declaration must directly refer to a built-in symbol."},A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol:{code:1168,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol_1168",message:"A computed property name in a method overload must directly refer to a built-in symbol."},A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol:{code:1169,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol_1169",message:"A computed property name in an interface must directly refer to a built-in symbol."},A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol:{code:1170,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol_1170",message:"A computed property name in a type literal must directly refer to a built-in symbol."},A_comma_expression_is_not_allowed_in_a_computed_property_name:{code:1171,category:e.DiagnosticCategory.Error,key:"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171",message:"A comma expression is not allowed in a computed property name."},extends_clause_already_seen:{code:1172,category:e.DiagnosticCategory.Error,key:"extends_clause_already_seen_1172",message:"'extends' clause already seen."},extends_clause_must_precede_implements_clause:{code:1173,category:e.DiagnosticCategory.Error,key:"extends_clause_must_precede_implements_clause_1173",message:"'extends' clause must precede 'implements' clause."},Classes_can_only_extend_a_single_class:{code:1174,category:e.DiagnosticCategory.Error,key:"Classes_can_only_extend_a_single_class_1174",message:"Classes can only extend a single class."},implements_clause_already_seen:{code:1175,category:e.DiagnosticCategory.Error,key:"implements_clause_already_seen_1175",message:"'implements' clause already seen."},Interface_declaration_cannot_have_implements_clause:{code:1176,category:e.DiagnosticCategory.Error,key:"Interface_declaration_cannot_have_implements_clause_1176",message:"Interface declaration cannot have 'implements' clause."},Binary_digit_expected:{code:1177,category:e.DiagnosticCategory.Error,key:"Binary_digit_expected_1177",message:"Binary digit expected."},Octal_digit_expected:{code:1178,category:e.DiagnosticCategory.Error,key:"Octal_digit_expected_1178",message:"Octal digit expected."},Unexpected_token_expected:{code:1179,category:e.DiagnosticCategory.Error,key:"Unexpected_token_expected_1179",message:"Unexpected token. '{' expected."},Property_destructuring_pattern_expected:{code:1180,category:e.DiagnosticCategory.Error,key:"Property_destructuring_pattern_expected_1180",message:"Property destructuring pattern expected."},Array_element_destructuring_pattern_expected:{code:1181,category:e.DiagnosticCategory.Error,key:"Array_element_destructuring_pattern_expected_1181",message:"Array element destructuring pattern expected."},A_destructuring_declaration_must_have_an_initializer:{code:1182,category:e.DiagnosticCategory.Error,key:"A_destructuring_declaration_must_have_an_initializer_1182",message:"A destructuring declaration must have an initializer."},An_implementation_cannot_be_declared_in_ambient_contexts:{code:1183,category:e.DiagnosticCategory.Error,key:"An_implementation_cannot_be_declared_in_ambient_contexts_1183",message:"An implementation cannot be declared in ambient contexts."},Modifiers_cannot_appear_here:{code:1184,category:e.DiagnosticCategory.Error,key:"Modifiers_cannot_appear_here_1184",message:"Modifiers cannot appear here."},Merge_conflict_marker_encountered:{code:1185,category:e.DiagnosticCategory.Error,key:"Merge_conflict_marker_encountered_1185",message:"Merge conflict marker encountered."},A_rest_element_cannot_have_an_initializer:{code:1186,category:e.DiagnosticCategory.Error,key:"A_rest_element_cannot_have_an_initializer_1186",message:"A rest element cannot have an initializer."},A_parameter_property_may_not_be_declared_using_a_binding_pattern:{code:1187,category:e.DiagnosticCategory.Error,key:"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187",message:"A parameter property may not be declared using a binding pattern."},Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:{code:1188,category:e.DiagnosticCategory.Error,key:"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188",message:"Only a single variable declaration is allowed in a 'for...of' statement."},The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:{code:1189,category:e.DiagnosticCategory.Error,key:"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189",message:"The variable declaration of a 'for...in' statement cannot have an initializer."},The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:{code:1190,category:e.DiagnosticCategory.Error,key:"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190",message:"The variable declaration of a 'for...of' statement cannot have an initializer."},An_import_declaration_cannot_have_modifiers:{code:1191,category:e.DiagnosticCategory.Error,key:"An_import_declaration_cannot_have_modifiers_1191",message:"An import declaration cannot have modifiers."},Module_0_has_no_default_export:{code:1192,category:e.DiagnosticCategory.Error,key:"Module_0_has_no_default_export_1192",message:"Module '{0}' has no default export."},An_export_declaration_cannot_have_modifiers:{code:1193,category:e.DiagnosticCategory.Error,key:"An_export_declaration_cannot_have_modifiers_1193",message:"An export declaration cannot have modifiers."},Export_declarations_are_not_permitted_in_a_namespace:{code:1194,category:e.DiagnosticCategory.Error,key:"Export_declarations_are_not_permitted_in_a_namespace_1194",message:"Export declarations are not permitted in a namespace."},Catch_clause_variable_cannot_have_a_type_annotation:{code:1196,category:e.DiagnosticCategory.Error,key:"Catch_clause_variable_cannot_have_a_type_annotation_1196",message:"Catch clause variable cannot have a type annotation."},Catch_clause_variable_cannot_have_an_initializer:{code:1197,category:e.DiagnosticCategory.Error,key:"Catch_clause_variable_cannot_have_an_initializer_1197",message:"Catch clause variable cannot have an initializer."},An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:{code:1198,category:e.DiagnosticCategory.Error,key:"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198",message:"An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."},Unterminated_Unicode_escape_sequence:{code:1199,category:e.DiagnosticCategory.Error,key:"Unterminated_Unicode_escape_sequence_1199",message:"Unterminated Unicode escape sequence."},Line_terminator_not_permitted_before_arrow:{code:1200,category:e.DiagnosticCategory.Error,key:"Line_terminator_not_permitted_before_arrow_1200",message:"Line terminator not permitted before arrow."},Import_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:{code:1202,category:e.DiagnosticCategory.Error,key:"Import_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_import_Asteri_1202",message:"Import assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."},Export_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_export_default_or_another_module_format_instead:{code:1203,category:e.DiagnosticCategory.Error,key:"Export_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_export_defaul_1203",message:"Export assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'export default' or another module format instead."},Decorators_are_not_valid_here:{code:1206,category:e.DiagnosticCategory.Error,key:"Decorators_are_not_valid_here_1206",message:"Decorators are not valid here."},Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:{code:1207,category:e.DiagnosticCategory.Error,key:"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207",message:"Decorators cannot be applied to multiple get/set accessors of the same name."},Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided:{code:1208,category:e.DiagnosticCategory.Error,key:"Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided_1208",message:"Cannot compile namespaces when the '--isolatedModules' flag is provided."},Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided:{code:1209,category:e.DiagnosticCategory.Error,key:"Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided_1209",message:"Ambient const enums are not allowed when the '--isolatedModules' flag is provided."},Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:{code:1210,category:e.DiagnosticCategory.Error,key:"Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210",message:"Invalid use of '{0}'. Class definitions are automatically in strict mode."},A_class_declaration_without_the_default_modifier_must_have_a_name:{code:1211,category:e.DiagnosticCategory.Error,key:"A_class_declaration_without_the_default_modifier_must_have_a_name_1211",message:"A class declaration without the 'default' modifier must have a name."},Identifier_expected_0_is_a_reserved_word_in_strict_mode:{code:1212,category:e.DiagnosticCategory.Error,key:"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212",message:"Identifier expected. '{0}' is a reserved word in strict mode."},Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:{code:1213,category:e.DiagnosticCategory.Error,key:"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213",message:"Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."},Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:{code:1214,category:e.DiagnosticCategory.Error,key:"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214",message:"Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."},Invalid_use_of_0_Modules_are_automatically_in_strict_mode:{code:1215,category:e.DiagnosticCategory.Error,key:"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215",message:"Invalid use of '{0}'. Modules are automatically in strict mode."},Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:{code:1216,category:e.DiagnosticCategory.Error,key:"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216",message:"Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."},Export_assignment_is_not_supported_when_module_flag_is_system:{code:1218,category:e.DiagnosticCategory.Error,key:"Export_assignment_is_not_supported_when_module_flag_is_system_1218",message:"Export assignment is not supported when '--module' flag is 'system'."},Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_to_remove_this_warning:{code:1219,category:e.DiagnosticCategory.Error,key:"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219",message:"Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning."},Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:{code:1220,category:e.DiagnosticCategory.Error,key:"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220",message:"Generators are only available when targeting ECMAScript 2015 or higher."},Generators_are_not_allowed_in_an_ambient_context:{code:1221,category:e.DiagnosticCategory.Error,key:"Generators_are_not_allowed_in_an_ambient_context_1221",message:"Generators are not allowed in an ambient context."},An_overload_signature_cannot_be_declared_as_a_generator:{code:1222,category:e.DiagnosticCategory.Error,key:"An_overload_signature_cannot_be_declared_as_a_generator_1222",message:"An overload signature cannot be declared as a generator."},_0_tag_already_specified:{code:1223,category:e.DiagnosticCategory.Error,key:"_0_tag_already_specified_1223",message:"'{0}' tag already specified."},Signature_0_must_have_a_type_predicate:{code:1224,category:e.DiagnosticCategory.Error,key:"Signature_0_must_have_a_type_predicate_1224",message:"Signature '{0}' must have a type predicate."},Cannot_find_parameter_0:{code:1225,category:e.DiagnosticCategory.Error,key:"Cannot_find_parameter_0_1225",message:"Cannot find parameter '{0}'."},Type_predicate_0_is_not_assignable_to_1:{code:1226,category:e.DiagnosticCategory.Error,key:"Type_predicate_0_is_not_assignable_to_1_1226",message:"Type predicate '{0}' is not assignable to '{1}'."},Parameter_0_is_not_in_the_same_position_as_parameter_1:{code:1227,category:e.DiagnosticCategory.Error,key:"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227",message:"Parameter '{0}' is not in the same position as parameter '{1}'."},A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:{code:1228,category:e.DiagnosticCategory.Error,key:"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228",message:"A type predicate is only allowed in return type position for functions and methods."},A_type_predicate_cannot_reference_a_rest_parameter:{code:1229,category:e.DiagnosticCategory.Error,key:"A_type_predicate_cannot_reference_a_rest_parameter_1229",message:"A type predicate cannot reference a rest parameter."},A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:{code:1230,category:e.DiagnosticCategory.Error,key:"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230",message:"A type predicate cannot reference element '{0}' in a binding pattern."},An_export_assignment_can_only_be_used_in_a_module:{code:1231,category:e.DiagnosticCategory.Error,key:"An_export_assignment_can_only_be_used_in_a_module_1231",message:"An export assignment can only be used in a module."},An_import_declaration_can_only_be_used_in_a_namespace_or_module:{code:1232,category:e.DiagnosticCategory.Error,key:"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232",message:"An import declaration can only be used in a namespace or module."},An_export_declaration_can_only_be_used_in_a_module:{code:1233,category:e.DiagnosticCategory.Error,key:"An_export_declaration_can_only_be_used_in_a_module_1233",message:"An export declaration can only be used in a module."},An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:{code:1234,category:e.DiagnosticCategory.Error,key:"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234",message:"An ambient module declaration is only allowed at the top level in a file."},A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:{code:1235,category:e.DiagnosticCategory.Error,key:"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235",message:"A namespace declaration is only allowed in a namespace or module."},The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:{code:1236,category:e.DiagnosticCategory.Error,key:"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236",message:"The return type of a property decorator function must be either 'void' or 'any'."},The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:{code:1237,category:e.DiagnosticCategory.Error,key:"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237",message:"The return type of a parameter decorator function must be either 'void' or 'any'."},Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:{code:1238,category:e.DiagnosticCategory.Error,key:"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238",message:"Unable to resolve signature of class decorator when called as an expression."},Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:{code:1239,category:e.DiagnosticCategory.Error,key:"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239",message:"Unable to resolve signature of parameter decorator when called as an expression."},Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:{code:1240,category:e.DiagnosticCategory.Error,key:"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240",message:"Unable to resolve signature of property decorator when called as an expression."},Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:{code:1241,category:e.DiagnosticCategory.Error,key:"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241",message:"Unable to resolve signature of method decorator when called as an expression."},abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:{code:1242,category:e.DiagnosticCategory.Error,key:"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242",message:"'abstract' modifier can only appear on a class, method, or property declaration."},_0_modifier_cannot_be_used_with_1_modifier:{code:1243,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_be_used_with_1_modifier_1243",message:"'{0}' modifier cannot be used with '{1}' modifier."},Abstract_methods_can_only_appear_within_an_abstract_class:{code:1244,category:e.DiagnosticCategory.Error,key:"Abstract_methods_can_only_appear_within_an_abstract_class_1244",message:"Abstract methods can only appear within an abstract class."},Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:{code:1245,category:e.DiagnosticCategory.Error,key:"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245",message:"Method '{0}' cannot have an implementation because it is marked abstract."},An_interface_property_cannot_have_an_initializer:{code:1246,category:e.DiagnosticCategory.Error,key:"An_interface_property_cannot_have_an_initializer_1246",message:"An interface property cannot have an initializer."},A_type_literal_property_cannot_have_an_initializer:{code:1247,category:e.DiagnosticCategory.Error,key:"A_type_literal_property_cannot_have_an_initializer_1247",message:"A type literal property cannot have an initializer."},A_class_member_cannot_have_the_0_keyword:{code:1248,category:e.DiagnosticCategory.Error,key:"A_class_member_cannot_have_the_0_keyword_1248",message:"A class member cannot have the '{0}' keyword."},A_decorator_can_only_decorate_a_method_implementation_not_an_overload:{code:1249,category:e.DiagnosticCategory.Error,key:"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249",message:"A decorator can only decorate a method implementation, not an overload."},Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:{code:1250,category:e.DiagnosticCategory.Error,key:"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250",message:"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."},Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:{code:1251,category:e.DiagnosticCategory.Error,key:"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251",message:"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."},Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:{code:1252,category:e.DiagnosticCategory.Error,key:"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252",message:"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."},_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:{code:1253,category:e.DiagnosticCategory.Error,key:"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253",message:"'{0}' tag cannot be used independently as a top level JSDoc tag."},A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal:{code:1254,category:e.DiagnosticCategory.Error,key:"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_1254",message:"A 'const' initializer in an ambient context must be a string or numeric literal."},with_statements_are_not_allowed_in_an_async_function_block:{code:1300,category:e.DiagnosticCategory.Error,key:"with_statements_are_not_allowed_in_an_async_function_block_1300",message:"'with' statements are not allowed in an async function block."},await_expression_is_only_allowed_within_an_async_function:{code:1308,category:e.DiagnosticCategory.Error,key:"await_expression_is_only_allowed_within_an_async_function_1308",message:"'await' expression is only allowed within an async function."},can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment:{code:1312,category:e.DiagnosticCategory.Error,key:"can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment_1312",message:"'=' can only be used in an object literal property inside a destructuring assignment."},The_body_of_an_if_statement_cannot_be_the_empty_statement:{code:1313,category:e.DiagnosticCategory.Error,key:"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313",message:"The body of an 'if' statement cannot be the empty statement."},Global_module_exports_may_only_appear_in_module_files:{code:1314,category:e.DiagnosticCategory.Error,key:"Global_module_exports_may_only_appear_in_module_files_1314",message:"Global module exports may only appear in module files."},Global_module_exports_may_only_appear_in_declaration_files:{code:1315,category:e.DiagnosticCategory.Error,key:"Global_module_exports_may_only_appear_in_declaration_files_1315",message:"Global module exports may only appear in declaration files."},Global_module_exports_may_only_appear_at_top_level:{code:1316,category:e.DiagnosticCategory.Error,key:"Global_module_exports_may_only_appear_at_top_level_1316",message:"Global module exports may only appear at top level."},A_parameter_property_cannot_be_declared_using_a_rest_parameter:{code:1317,category:e.DiagnosticCategory.Error,key:"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317",message:"A parameter property cannot be declared using a rest parameter."},An_abstract_accessor_cannot_have_an_implementation:{code:1318,category:e.DiagnosticCategory.Error,key:"An_abstract_accessor_cannot_have_an_implementation_1318",message:"An abstract accessor cannot have an implementation."},A_default_export_can_only_be_used_in_an_ECMAScript_style_module:{code:1319,category:e.DiagnosticCategory.Error,key:"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319",message:"A default export can only be used in an ECMAScript-style module."},Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:{code:1320,category:e.DiagnosticCategory.Error,key:"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320",message:"Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."},Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:{code:1321,category:e.DiagnosticCategory.Error,key:"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321",message:"Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."},Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:{code:1322,category:e.DiagnosticCategory.Error,key:"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322",message:"Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."},Duplicate_identifier_0:{code:2300,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_0_2300",message:"Duplicate identifier '{0}'."},Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:{code:2301,category:e.DiagnosticCategory.Error,key:"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301",message:"Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."},Static_members_cannot_reference_class_type_parameters:{code:2302,category:e.DiagnosticCategory.Error,key:"Static_members_cannot_reference_class_type_parameters_2302",message:"Static members cannot reference class type parameters."},Circular_definition_of_import_alias_0:{code:2303,category:e.DiagnosticCategory.Error,key:"Circular_definition_of_import_alias_0_2303",message:"Circular definition of import alias '{0}'."},Cannot_find_name_0:{code:2304,category:e.DiagnosticCategory.Error,key:"Cannot_find_name_0_2304",message:"Cannot find name '{0}'."},Module_0_has_no_exported_member_1:{code:2305,category:e.DiagnosticCategory.Error,key:"Module_0_has_no_exported_member_1_2305",message:"Module '{0}' has no exported member '{1}'."},File_0_is_not_a_module:{code:2306,category:e.DiagnosticCategory.Error,key:"File_0_is_not_a_module_2306",message:"File '{0}' is not a module."},Cannot_find_module_0:{code:2307,category:e.DiagnosticCategory.Error,key:"Cannot_find_module_0_2307",message:"Cannot find module '{0}'."},Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:{code:2308,category:e.DiagnosticCategory.Error,key:"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308",message:"Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."},An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:{code:2309,category:e.DiagnosticCategory.Error,key:"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309",message:"An export assignment cannot be used in a module with other exported elements."},Type_0_recursively_references_itself_as_a_base_type:{code:2310,category:e.DiagnosticCategory.Error,key:"Type_0_recursively_references_itself_as_a_base_type_2310",message:"Type '{0}' recursively references itself as a base type."},A_class_may_only_extend_another_class:{code:2311,category:e.DiagnosticCategory.Error,key:"A_class_may_only_extend_another_class_2311",message:"A class may only extend another class."},An_interface_may_only_extend_a_class_or_another_interface:{code:2312,category:e.DiagnosticCategory.Error,key:"An_interface_may_only_extend_a_class_or_another_interface_2312",message:"An interface may only extend a class or another interface."},Type_parameter_0_has_a_circular_constraint:{code:2313,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_has_a_circular_constraint_2313",message:"Type parameter '{0}' has a circular constraint."},Generic_type_0_requires_1_type_argument_s:{code:2314,category:e.DiagnosticCategory.Error,key:"Generic_type_0_requires_1_type_argument_s_2314",message:"Generic type '{0}' requires {1} type argument(s)."},Type_0_is_not_generic:{code:2315,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_generic_2315",message:"Type '{0}' is not generic."},Global_type_0_must_be_a_class_or_interface_type:{code:2316,category:e.DiagnosticCategory.Error,key:"Global_type_0_must_be_a_class_or_interface_type_2316",message:"Global type '{0}' must be a class or interface type."},Global_type_0_must_have_1_type_parameter_s:{code:2317,category:e.DiagnosticCategory.Error,key:"Global_type_0_must_have_1_type_parameter_s_2317",message:"Global type '{0}' must have {1} type parameter(s)."},Cannot_find_global_type_0:{code:2318,category:e.DiagnosticCategory.Error,key:"Cannot_find_global_type_0_2318",message:"Cannot find global type '{0}'."},Named_property_0_of_types_1_and_2_are_not_identical:{code:2319,category:e.DiagnosticCategory.Error,key:"Named_property_0_of_types_1_and_2_are_not_identical_2319",message:"Named property '{0}' of types '{1}' and '{2}' are not identical."},Interface_0_cannot_simultaneously_extend_types_1_and_2:{code:2320,category:e.DiagnosticCategory.Error,key:"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320",message:"Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."},Excessive_stack_depth_comparing_types_0_and_1:{code:2321,category:e.DiagnosticCategory.Error,key:"Excessive_stack_depth_comparing_types_0_and_1_2321",message:"Excessive stack depth comparing types '{0}' and '{1}'."},Type_0_is_not_assignable_to_type_1:{code:2322,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_assignable_to_type_1_2322",message:"Type '{0}' is not assignable to type '{1}'."},Cannot_redeclare_exported_variable_0:{code:2323,category:e.DiagnosticCategory.Error,key:"Cannot_redeclare_exported_variable_0_2323",message:"Cannot redeclare exported variable '{0}'."},Property_0_is_missing_in_type_1:{code:2324,category:e.DiagnosticCategory.Error,key:"Property_0_is_missing_in_type_1_2324",message:"Property '{0}' is missing in type '{1}'."},Property_0_is_private_in_type_1_but_not_in_type_2:{code:2325,category:e.DiagnosticCategory.Error,key:"Property_0_is_private_in_type_1_but_not_in_type_2_2325",message:"Property '{0}' is private in type '{1}' but not in type '{2}'."},Types_of_property_0_are_incompatible:{code:2326,category:e.DiagnosticCategory.Error,key:"Types_of_property_0_are_incompatible_2326",message:"Types of property '{0}' are incompatible."},Property_0_is_optional_in_type_1_but_required_in_type_2:{code:2327,category:e.DiagnosticCategory.Error,key:"Property_0_is_optional_in_type_1_but_required_in_type_2_2327",message:"Property '{0}' is optional in type '{1}' but required in type '{2}'."},Types_of_parameters_0_and_1_are_incompatible:{code:2328,category:e.DiagnosticCategory.Error,key:"Types_of_parameters_0_and_1_are_incompatible_2328",message:"Types of parameters '{0}' and '{1}' are incompatible."},Index_signature_is_missing_in_type_0:{code:2329,category:e.DiagnosticCategory.Error,key:"Index_signature_is_missing_in_type_0_2329",message:"Index signature is missing in type '{0}'."},Index_signatures_are_incompatible:{code:2330,category:e.DiagnosticCategory.Error,key:"Index_signatures_are_incompatible_2330",message:"Index signatures are incompatible."},this_cannot_be_referenced_in_a_module_or_namespace_body:{code:2331,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_a_module_or_namespace_body_2331",message:"'this' cannot be referenced in a module or namespace body."},this_cannot_be_referenced_in_current_location:{code:2332,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_current_location_2332",message:"'this' cannot be referenced in current location."},this_cannot_be_referenced_in_constructor_arguments:{code:2333,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_constructor_arguments_2333",message:"'this' cannot be referenced in constructor arguments."},this_cannot_be_referenced_in_a_static_property_initializer:{code:2334,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_a_static_property_initializer_2334",message:"'this' cannot be referenced in a static property initializer."},super_can_only_be_referenced_in_a_derived_class:{code:2335,category:e.DiagnosticCategory.Error,key:"super_can_only_be_referenced_in_a_derived_class_2335",message:"'super' can only be referenced in a derived class."},super_cannot_be_referenced_in_constructor_arguments:{code:2336,category:e.DiagnosticCategory.Error,key:"super_cannot_be_referenced_in_constructor_arguments_2336",message:"'super' cannot be referenced in constructor arguments."},Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:{code:2337,category:e.DiagnosticCategory.Error,key:"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337",message:"Super calls are not permitted outside constructors or in nested functions inside constructors."},super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:{code:2338,category:e.DiagnosticCategory.Error,key:"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338",message:"'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."},Property_0_does_not_exist_on_type_1:{code:2339,category:e.DiagnosticCategory.Error,key:"Property_0_does_not_exist_on_type_1_2339",message:"Property '{0}' does not exist on type '{1}'."},Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:{code:2340,category:e.DiagnosticCategory.Error,key:"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340",message:"Only public and protected methods of the base class are accessible via the 'super' keyword."},Property_0_is_private_and_only_accessible_within_class_1:{code:2341,category:e.DiagnosticCategory.Error,key:"Property_0_is_private_and_only_accessible_within_class_1_2341",message:"Property '{0}' is private and only accessible within class '{1}'."},An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:{code:2342,category:e.DiagnosticCategory.Error,key:"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342",message:"An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."},This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1:{code:2343,category:e.DiagnosticCategory.Error,key:"This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1_2343",message:"This syntax requires an imported helper named '{1}', but module '{0}' has no exported member '{1}'."},Type_0_does_not_satisfy_the_constraint_1:{code:2344,category:e.DiagnosticCategory.Error,key:"Type_0_does_not_satisfy_the_constraint_1_2344",message:"Type '{0}' does not satisfy the constraint '{1}'."},Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:{code:2345,category:e.DiagnosticCategory.Error,key:"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345",message:"Argument of type '{0}' is not assignable to parameter of type '{1}'."},Supplied_parameters_do_not_match_any_signature_of_call_target:{code:2346,category:e.DiagnosticCategory.Error,key:"Supplied_parameters_do_not_match_any_signature_of_call_target_2346",message:"Supplied parameters do not match any signature of call target."},Untyped_function_calls_may_not_accept_type_arguments:{code:2347,category:e.DiagnosticCategory.Error,key:"Untyped_function_calls_may_not_accept_type_arguments_2347",message:"Untyped function calls may not accept type arguments."},Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:{code:2348,category:e.DiagnosticCategory.Error,key:"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348",message:"Value of type '{0}' is not callable. Did you mean to include 'new'?"},Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures:{code:2349,category:e.DiagnosticCategory.Error,key:"Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatur_2349",message:"Cannot invoke an expression whose type lacks a call signature. Type '{0}' has no compatible call signatures."},Only_a_void_function_can_be_called_with_the_new_keyword:{code:2350,category:e.DiagnosticCategory.Error,key:"Only_a_void_function_can_be_called_with_the_new_keyword_2350",message:"Only a void function can be called with the 'new' keyword."},Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature:{code:2351,category:e.DiagnosticCategory.Error,key:"Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature_2351",message:"Cannot use 'new' with an expression whose type lacks a call or construct signature."},Type_0_cannot_be_converted_to_type_1:{code:2352,category:e.DiagnosticCategory.Error,key:"Type_0_cannot_be_converted_to_type_1_2352",message:"Type '{0}' cannot be converted to type '{1}'."},Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:{code:2353,category:e.DiagnosticCategory.Error,key:"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353",message:"Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."},This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:{code:2354,category:e.DiagnosticCategory.Error,key:"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354",message:"This syntax requires an imported helper but module '{0}' cannot be found."},A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:{code:2355,category:e.DiagnosticCategory.Error,key:"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355",message:"A function whose declared type is neither 'void' nor 'any' must return a value."},An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type:{code:2356,category:e.DiagnosticCategory.Error,key:"An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type_2356",message:"An arithmetic operand must be of type 'any', 'number' or an enum type."},The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:{code:2357,category:e.DiagnosticCategory.Error,key:"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357",message:"The operand of an increment or decrement operator must be a variable or a property access."},The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:{code:2358,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358",message:"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."},The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:{code:2359,category:e.DiagnosticCategory.Error,key:"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359",message:"The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."},The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:{code:2360,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360",message:"The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."},The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:{code:2361,category:e.DiagnosticCategory.Error,key:"The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter_2361",message:"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter."},The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type:{code:2362,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type_2362",message:"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type."},The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type:{code:2363,category:e.DiagnosticCategory.Error,key:"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type_2363",message:"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type."},The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:{code:2364,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364",message:"The left-hand side of an assignment expression must be a variable or a property access."},Operator_0_cannot_be_applied_to_types_1_and_2:{code:2365,category:e.DiagnosticCategory.Error,key:"Operator_0_cannot_be_applied_to_types_1_and_2_2365",message:"Operator '{0}' cannot be applied to types '{1}' and '{2}'."},Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:{code:2366,category:e.DiagnosticCategory.Error,key:"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366",message:"Function lacks ending return statement and return type does not include 'undefined'."},Type_parameter_name_cannot_be_0:{code:2368,category:e.DiagnosticCategory.Error,key:"Type_parameter_name_cannot_be_0_2368",message:"Type parameter name cannot be '{0}'."},A_parameter_property_is_only_allowed_in_a_constructor_implementation:{code:2369,category:e.DiagnosticCategory.Error,key:"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369",message:"A parameter property is only allowed in a constructor implementation."},A_rest_parameter_must_be_of_an_array_type:{code:2370,category:e.DiagnosticCategory.Error,key:"A_rest_parameter_must_be_of_an_array_type_2370",message:"A rest parameter must be of an array type."},A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:{code:2371,category:e.DiagnosticCategory.Error,key:"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371",message:"A parameter initializer is only allowed in a function or constructor implementation."},Parameter_0_cannot_be_referenced_in_its_initializer:{code:2372,category:e.DiagnosticCategory.Error,key:"Parameter_0_cannot_be_referenced_in_its_initializer_2372",message:"Parameter '{0}' cannot be referenced in its initializer."},Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it:{code:2373,category:e.DiagnosticCategory.Error,key:"Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it_2373",message:"Initializer of parameter '{0}' cannot reference identifier '{1}' declared after it."},Duplicate_string_index_signature:{code:2374,category:e.DiagnosticCategory.Error,key:"Duplicate_string_index_signature_2374",message:"Duplicate string index signature."},Duplicate_number_index_signature:{code:2375,category:e.DiagnosticCategory.Error,key:"Duplicate_number_index_signature_2375",message:"Duplicate number index signature."},A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_or_has_parameter_properties:{code:2376,category:e.DiagnosticCategory.Error,key:"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376",message:"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties."},Constructors_for_derived_classes_must_contain_a_super_call:{code:2377,category:e.DiagnosticCategory.Error,key:"Constructors_for_derived_classes_must_contain_a_super_call_2377",message:"Constructors for derived classes must contain a 'super' call."},A_get_accessor_must_return_a_value:{code:2378,category:e.DiagnosticCategory.Error,key:"A_get_accessor_must_return_a_value_2378",message:"A 'get' accessor must return a value."},Getter_and_setter_accessors_do_not_agree_in_visibility:{code:2379,category:e.DiagnosticCategory.Error,key:"Getter_and_setter_accessors_do_not_agree_in_visibility_2379",message:"Getter and setter accessors do not agree in visibility."},get_and_set_accessor_must_have_the_same_type:{code:2380,category:e.DiagnosticCategory.Error,key:"get_and_set_accessor_must_have_the_same_type_2380",message:"'get' and 'set' accessor must have the same type."},A_signature_with_an_implementation_cannot_use_a_string_literal_type:{code:2381,category:e.DiagnosticCategory.Error,key:"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381",message:"A signature with an implementation cannot use a string literal type."},Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:{code:2382,category:e.DiagnosticCategory.Error,key:"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382",message:"Specialized overload signature is not assignable to any non-specialized signature."},Overload_signatures_must_all_be_exported_or_non_exported:{code:2383,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_exported_or_non_exported_2383",message:"Overload signatures must all be exported or non-exported."},Overload_signatures_must_all_be_ambient_or_non_ambient:{code:2384,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_ambient_or_non_ambient_2384",message:"Overload signatures must all be ambient or non-ambient."},Overload_signatures_must_all_be_public_private_or_protected:{code:2385,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_public_private_or_protected_2385",message:"Overload signatures must all be public, private or protected."},Overload_signatures_must_all_be_optional_or_required:{code:2386,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_optional_or_required_2386",message:"Overload signatures must all be optional or required."},Function_overload_must_be_static:{code:2387,category:e.DiagnosticCategory.Error,key:"Function_overload_must_be_static_2387",message:"Function overload must be static."},Function_overload_must_not_be_static:{code:2388,category:e.DiagnosticCategory.Error,key:"Function_overload_must_not_be_static_2388",message:"Function overload must not be static."},Function_implementation_name_must_be_0:{code:2389,category:e.DiagnosticCategory.Error,key:"Function_implementation_name_must_be_0_2389",message:"Function implementation name must be '{0}'."},Constructor_implementation_is_missing:{code:2390,category:e.DiagnosticCategory.Error,key:"Constructor_implementation_is_missing_2390",message:"Constructor implementation is missing."},Function_implementation_is_missing_or_not_immediately_following_the_declaration:{code:2391,category:e.DiagnosticCategory.Error,key:"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391",message:"Function implementation is missing or not immediately following the declaration."},Multiple_constructor_implementations_are_not_allowed:{code:2392,category:e.DiagnosticCategory.Error,key:"Multiple_constructor_implementations_are_not_allowed_2392",message:"Multiple constructor implementations are not allowed."},Duplicate_function_implementation:{code:2393,category:e.DiagnosticCategory.Error,key:"Duplicate_function_implementation_2393",message:"Duplicate function implementation."},Overload_signature_is_not_compatible_with_function_implementation:{code:2394,category:e.DiagnosticCategory.Error,key:"Overload_signature_is_not_compatible_with_function_implementation_2394",message:"Overload signature is not compatible with function implementation."},Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:{code:2395,category:e.DiagnosticCategory.Error,key:"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395",message:"Individual declarations in merged declaration '{0}' must be all exported or all local."},Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:{code:2396,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396",message:"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."},Declaration_name_conflicts_with_built_in_global_identifier_0:{code:2397,category:e.DiagnosticCategory.Error,key:"Declaration_name_conflicts_with_built_in_global_identifier_0_2397",message:"Declaration name conflicts with built-in global identifier '{0}'."},Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:{code:2399,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399",message:"Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."},Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:{code:2400,category:e.DiagnosticCategory.Error,key:"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400",message:"Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."},Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:{code:2401,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401",message:"Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."},Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:{code:2402,category:e.DiagnosticCategory.Error,key:"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402",message:"Expression resolves to '_super' that compiler uses to capture base class reference."},Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:{code:2403,category:e.DiagnosticCategory.Error,key:"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403",message:"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."},The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:{code:2404,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404",message:"The left-hand side of a 'for...in' statement cannot use a type annotation."},The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:{code:2405,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405",message:"The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."},The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:{code:2406,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406",message:"The left-hand side of a 'for...in' statement must be a variable or a property access."},The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter:{code:2407,category:e.DiagnosticCategory.Error,key:"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_2407",message:"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter."},Setters_cannot_return_a_value:{code:2408,category:e.DiagnosticCategory.Error,key:"Setters_cannot_return_a_value_2408",message:"Setters cannot return a value."},Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:{code:2409,category:e.DiagnosticCategory.Error,key:"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409",message:"Return type of constructor signature must be assignable to the instance type of the class."},The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:{code:2410,category:e.DiagnosticCategory.Error,key:"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410",message:"The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."},Property_0_of_type_1_is_not_assignable_to_string_index_type_2:{code:2411,category:e.DiagnosticCategory.Error,key:"Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411",message:"Property '{0}' of type '{1}' is not assignable to string index type '{2}'."},Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2:{code:2412,category:e.DiagnosticCategory.Error,key:"Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412",message:"Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'."},Numeric_index_type_0_is_not_assignable_to_string_index_type_1:{code:2413,category:e.DiagnosticCategory.Error,key:"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413",message:"Numeric index type '{0}' is not assignable to string index type '{1}'."},Class_name_cannot_be_0:{code:2414,category:e.DiagnosticCategory.Error,key:"Class_name_cannot_be_0_2414",message:"Class name cannot be '{0}'."},Class_0_incorrectly_extends_base_class_1:{code:2415,category:e.DiagnosticCategory.Error,key:"Class_0_incorrectly_extends_base_class_1_2415",message:"Class '{0}' incorrectly extends base class '{1}'."},Class_static_side_0_incorrectly_extends_base_class_static_side_1:{code:2417,category:e.DiagnosticCategory.Error,key:"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417",message:"Class static side '{0}' incorrectly extends base class static side '{1}'."},Class_0_incorrectly_implements_interface_1:{code:2420,category:e.DiagnosticCategory.Error,key:"Class_0_incorrectly_implements_interface_1_2420",message:"Class '{0}' incorrectly implements interface '{1}'."},A_class_may_only_implement_another_class_or_interface:{code:2422,category:e.DiagnosticCategory.Error,key:"A_class_may_only_implement_another_class_or_interface_2422",message:"A class may only implement another class or interface."},Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:{code:2423,category:e.DiagnosticCategory.Error,key:"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423",message:"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."},Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_property:{code:2424,category:e.DiagnosticCategory.Error,key:"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_proper_2424",message:"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property."},Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:{code:2425,category:e.DiagnosticCategory.Error,key:"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425",message:"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."},Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:{code:2426,category:e.DiagnosticCategory.Error,key:"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426",message:"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."},Interface_name_cannot_be_0:{code:2427,category:e.DiagnosticCategory.Error,key:"Interface_name_cannot_be_0_2427",message:"Interface name cannot be '{0}'."},All_declarations_of_0_must_have_identical_type_parameters:{code:2428,category:e.DiagnosticCategory.Error,key:"All_declarations_of_0_must_have_identical_type_parameters_2428",message:"All declarations of '{0}' must have identical type parameters."},Interface_0_incorrectly_extends_interface_1:{code:2430,category:e.DiagnosticCategory.Error,key:"Interface_0_incorrectly_extends_interface_1_2430",message:"Interface '{0}' incorrectly extends interface '{1}'."},Enum_name_cannot_be_0:{code:2431,category:e.DiagnosticCategory.Error,key:"Enum_name_cannot_be_0_2431",message:"Enum name cannot be '{0}'."},In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:{code:2432,category:e.DiagnosticCategory.Error,key:"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432",message:"In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."},A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:{code:2433,category:e.DiagnosticCategory.Error,key:"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433",message:"A namespace declaration cannot be in a different file from a class or function with which it is merged."},A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:{code:2434,category:e.DiagnosticCategory.Error,key:"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434",message:"A namespace declaration cannot be located prior to a class or function with which it is merged."},Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:{code:2435,category:e.DiagnosticCategory.Error,key:"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435",message:"Ambient modules cannot be nested in other modules or namespaces."},Ambient_module_declaration_cannot_specify_relative_module_name:{code:2436,category:e.DiagnosticCategory.Error,key:"Ambient_module_declaration_cannot_specify_relative_module_name_2436",message:"Ambient module declaration cannot specify relative module name."},Module_0_is_hidden_by_a_local_declaration_with_the_same_name:{code:2437,category:e.DiagnosticCategory.Error,key:"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437",message:"Module '{0}' is hidden by a local declaration with the same name."},Import_name_cannot_be_0:{code:2438,category:e.DiagnosticCategory.Error,key:"Import_name_cannot_be_0_2438",message:"Import name cannot be '{0}'."},Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:{code:2439,category:e.DiagnosticCategory.Error,key:"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439",message:"Import or export declaration in an ambient module declaration cannot reference module through relative module name."},Import_declaration_conflicts_with_local_declaration_of_0:{code:2440,category:e.DiagnosticCategory.Error,key:"Import_declaration_conflicts_with_local_declaration_of_0_2440",message:"Import declaration conflicts with local declaration of '{0}'."},Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:{code:2441,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441",message:"Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."},Types_have_separate_declarations_of_a_private_property_0:{code:2442,category:e.DiagnosticCategory.Error,key:"Types_have_separate_declarations_of_a_private_property_0_2442",message:"Types have separate declarations of a private property '{0}'."},Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:{code:2443,category:e.DiagnosticCategory.Error,key:"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443",message:"Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."},Property_0_is_protected_in_type_1_but_public_in_type_2:{code:2444,category:e.DiagnosticCategory.Error,key:"Property_0_is_protected_in_type_1_but_public_in_type_2_2444",message:"Property '{0}' is protected in type '{1}' but public in type '{2}'."},Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:{code:2445,category:e.DiagnosticCategory.Error,key:"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445",message:"Property '{0}' is protected and only accessible within class '{1}' and its subclasses."},Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1:{code:2446,category:e.DiagnosticCategory.Error,key:"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_2446",message:"Property '{0}' is protected and only accessible through an instance of class '{1}'."},The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:{code:2447,category:e.DiagnosticCategory.Error,key:"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447",message:"The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."},Block_scoped_variable_0_used_before_its_declaration:{code:2448,category:e.DiagnosticCategory.Error,key:"Block_scoped_variable_0_used_before_its_declaration_2448",message:"Block-scoped variable '{0}' used before its declaration."},Class_0_used_before_its_declaration:{code:2449,category:e.DiagnosticCategory.Error,key:"Class_0_used_before_its_declaration_2449",message:"Class '{0}' used before its declaration."},Enum_0_used_before_its_declaration:{code:2450,category:e.DiagnosticCategory.Error,key:"Enum_0_used_before_its_declaration_2450",message:"Enum '{0}' used before its declaration."},Cannot_redeclare_block_scoped_variable_0:{code:2451,category:e.DiagnosticCategory.Error,key:"Cannot_redeclare_block_scoped_variable_0_2451",message:"Cannot redeclare block-scoped variable '{0}'."},An_enum_member_cannot_have_a_numeric_name:{code:2452,category:e.DiagnosticCategory.Error,key:"An_enum_member_cannot_have_a_numeric_name_2452",message:"An enum member cannot have a numeric name."},The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:{code:2453,category:e.DiagnosticCategory.Error,key:"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453",message:"The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."},Variable_0_is_used_before_being_assigned:{code:2454,category:e.DiagnosticCategory.Error,key:"Variable_0_is_used_before_being_assigned_2454",message:"Variable '{0}' is used before being assigned."},Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:{code:2455,category:e.DiagnosticCategory.Error,key:"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455",message:"Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."},Type_alias_0_circularly_references_itself:{code:2456,category:e.DiagnosticCategory.Error,key:"Type_alias_0_circularly_references_itself_2456",message:"Type alias '{0}' circularly references itself."},Type_alias_name_cannot_be_0:{code:2457,category:e.DiagnosticCategory.Error,key:"Type_alias_name_cannot_be_0_2457",message:"Type alias name cannot be '{0}'."},An_AMD_module_cannot_have_multiple_name_assignments:{code:2458,category:e.DiagnosticCategory.Error,key:"An_AMD_module_cannot_have_multiple_name_assignments_2458",message:"An AMD module cannot have multiple name assignments."},Type_0_has_no_property_1_and_no_string_index_signature:{code:2459,category:e.DiagnosticCategory.Error,key:"Type_0_has_no_property_1_and_no_string_index_signature_2459",message:"Type '{0}' has no property '{1}' and no string index signature."},Type_0_has_no_property_1:{code:2460,category:e.DiagnosticCategory.Error,key:"Type_0_has_no_property_1_2460",message:"Type '{0}' has no property '{1}'."},Type_0_is_not_an_array_type:{code:2461,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_an_array_type_2461",message:"Type '{0}' is not an array type."},A_rest_element_must_be_last_in_a_destructuring_pattern:{code:2462,category:e.DiagnosticCategory.Error,key:"A_rest_element_must_be_last_in_a_destructuring_pattern_2462",message:"A rest element must be last in a destructuring pattern."},A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:{code:2463,category:e.DiagnosticCategory.Error,key:"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463",message:"A binding pattern parameter cannot be optional in an implementation signature."},A_computed_property_name_must_be_of_type_string_number_symbol_or_any:{code:2464,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464",message:"A computed property name must be of type 'string', 'number', 'symbol', or 'any'."},this_cannot_be_referenced_in_a_computed_property_name:{code:2465,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_a_computed_property_name_2465",message:"'this' cannot be referenced in a computed property name."},super_cannot_be_referenced_in_a_computed_property_name:{code:2466,category:e.DiagnosticCategory.Error,key:"super_cannot_be_referenced_in_a_computed_property_name_2466",message:"'super' cannot be referenced in a computed property name."},A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:{code:2467,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467",message:"A computed property name cannot reference a type parameter from its containing type."},Cannot_find_global_value_0:{code:2468,category:e.DiagnosticCategory.Error,key:"Cannot_find_global_value_0_2468",message:"Cannot find global value '{0}'."},The_0_operator_cannot_be_applied_to_type_symbol:{code:2469,category:e.DiagnosticCategory.Error,key:"The_0_operator_cannot_be_applied_to_type_symbol_2469",message:"The '{0}' operator cannot be applied to type 'symbol'."},Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:{code:2470,category:e.DiagnosticCategory.Error,key:"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470",message:"'Symbol' reference does not refer to the global Symbol constructor object."},A_computed_property_name_of_the_form_0_must_be_of_type_symbol:{code:2471,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471",message:"A computed property name of the form '{0}' must be of type 'symbol'."},Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:{code:2472,category:e.DiagnosticCategory.Error,key:"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472",message:"Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."},Enum_declarations_must_all_be_const_or_non_const:{code:2473,category:e.DiagnosticCategory.Error,key:"Enum_declarations_must_all_be_const_or_non_const_2473",message:"Enum declarations must all be const or non-const."},In_const_enum_declarations_member_initializer_must_be_constant_expression:{code:2474,category:e.DiagnosticCategory.Error,key:"In_const_enum_declarations_member_initializer_must_be_constant_expression_2474",message:"In 'const' enum declarations member initializer must be constant expression."},const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment:{code:2475,category:e.DiagnosticCategory.Error,key:"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475",message:"'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment."},A_const_enum_member_can_only_be_accessed_using_a_string_literal:{code:2476,category:e.DiagnosticCategory.Error,key:"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476",message:"A const enum member can only be accessed using a string literal."},const_enum_member_initializer_was_evaluated_to_a_non_finite_value:{code:2477,category:e.DiagnosticCategory.Error,key:"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477",message:"'const' enum member initializer was evaluated to a non-finite value."},const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:{code:2478,category:e.DiagnosticCategory.Error,key:"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478",message:"'const' enum member initializer was evaluated to disallowed value 'NaN'."},Property_0_does_not_exist_on_const_enum_1:{code:2479,category:e.DiagnosticCategory.Error,key:"Property_0_does_not_exist_on_const_enum_1_2479",message:"Property '{0}' does not exist on 'const' enum '{1}'."},let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:{code:2480,category:e.DiagnosticCategory.Error,key:"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480",message:"'let' is not allowed to be used as a name in 'let' or 'const' declarations."},Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:{code:2481,category:e.DiagnosticCategory.Error,key:"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481",message:"Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."},The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:{code:2483,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483",message:"The left-hand side of a 'for...of' statement cannot use a type annotation."},Export_declaration_conflicts_with_exported_declaration_of_0:{code:2484,category:e.DiagnosticCategory.Error,key:"Export_declaration_conflicts_with_exported_declaration_of_0_2484",message:"Export declaration conflicts with exported declaration of '{0}'."},The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:{code:2487,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487",message:"The left-hand side of a 'for...of' statement must be a variable or a property access."},Type_must_have_a_Symbol_iterator_method_that_returns_an_iterator:{code:2488,category:e.DiagnosticCategory.Error,key:"Type_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488",message:"Type must have a '[Symbol.iterator]()' method that returns an iterator."},An_iterator_must_have_a_next_method:{code:2489,category:e.DiagnosticCategory.Error,key:"An_iterator_must_have_a_next_method_2489",message:"An iterator must have a 'next()' method."},The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property:{code:2490,category:e.DiagnosticCategory.Error,key:"The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property_2490",message:"The type returned by the 'next()' method of an iterator must have a 'value' property."},The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:{code:2491,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491",message:"The left-hand side of a 'for...in' statement cannot be a destructuring pattern."},Cannot_redeclare_identifier_0_in_catch_clause:{code:2492,category:e.DiagnosticCategory.Error,key:"Cannot_redeclare_identifier_0_in_catch_clause_2492",message:"Cannot redeclare identifier '{0}' in catch clause."},Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2:{code:2493,category:e.DiagnosticCategory.Error,key:"Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2_2493",message:"Tuple type '{0}' with length '{1}' cannot be assigned to tuple with length '{2}'."},Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:{code:2494,category:e.DiagnosticCategory.Error,key:"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494",message:"Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."},Type_0_is_not_an_array_type_or_a_string_type:{code:2495,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_an_array_type_or_a_string_type_2495",message:"Type '{0}' is not an array type or a string type."},The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:{code:2496,category:e.DiagnosticCategory.Error,key:"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496",message:"The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."},Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct:{code:2497,category:e.DiagnosticCategory.Error,key:"Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct_2497",message:"Module '{0}' resolves to a non-module entity and cannot be imported using this construct."},Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:{code:2498,category:e.DiagnosticCategory.Error,key:"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498",message:"Module '{0}' uses 'export =' and cannot be used with 'export *'."},An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:{code:2499,category:e.DiagnosticCategory.Error,key:"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499",message:"An interface can only extend an identifier/qualified-name with optional type arguments."},A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:{code:2500,category:e.DiagnosticCategory.Error,key:"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500",message:"A class can only implement an identifier/qualified-name with optional type arguments."},A_rest_element_cannot_contain_a_binding_pattern:{code:2501,category:e.DiagnosticCategory.Error,key:"A_rest_element_cannot_contain_a_binding_pattern_2501",message:"A rest element cannot contain a binding pattern."},_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:{code:2502,category:e.DiagnosticCategory.Error,key:"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502",message:"'{0}' is referenced directly or indirectly in its own type annotation."},Cannot_find_namespace_0:{code:2503,category:e.DiagnosticCategory.Error,key:"Cannot_find_namespace_0_2503",message:"Cannot find namespace '{0}'."},Type_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:{code:2504,category:e.DiagnosticCategory.Error,key:"Type_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504",message:"Type must have a '[Symbol.asyncIterator]()' method that returns an async iterator."},A_generator_cannot_have_a_void_type_annotation:{code:2505,category:e.DiagnosticCategory.Error,key:"A_generator_cannot_have_a_void_type_annotation_2505",message:"A generator cannot have a 'void' type annotation."},_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:{code:2506,category:e.DiagnosticCategory.Error,key:"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506",message:"'{0}' is referenced directly or indirectly in its own base expression."},Type_0_is_not_a_constructor_function_type:{code:2507,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_a_constructor_function_type_2507",message:"Type '{0}' is not a constructor function type."},No_base_constructor_has_the_specified_number_of_type_arguments:{code:2508,category:e.DiagnosticCategory.Error,key:"No_base_constructor_has_the_specified_number_of_type_arguments_2508",message:"No base constructor has the specified number of type arguments."},Base_constructor_return_type_0_is_not_a_class_or_interface_type:{code:2509,category:e.DiagnosticCategory.Error,key:"Base_constructor_return_type_0_is_not_a_class_or_interface_type_2509",message:"Base constructor return type '{0}' is not a class or interface type."},Base_constructors_must_all_have_the_same_return_type:{code:2510,category:e.DiagnosticCategory.Error,key:"Base_constructors_must_all_have_the_same_return_type_2510",message:"Base constructors must all have the same return type."},Cannot_create_an_instance_of_the_abstract_class_0:{code:2511,category:e.DiagnosticCategory.Error,key:"Cannot_create_an_instance_of_the_abstract_class_0_2511",message:"Cannot create an instance of the abstract class '{0}'."},Overload_signatures_must_all_be_abstract_or_non_abstract:{code:2512,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_abstract_or_non_abstract_2512",message:"Overload signatures must all be abstract or non-abstract."},Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:{code:2513,category:e.DiagnosticCategory.Error,key:"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513",message:"Abstract method '{0}' in class '{1}' cannot be accessed via super expression."},Classes_containing_abstract_methods_must_be_marked_abstract:{code:2514,category:e.DiagnosticCategory.Error,key:"Classes_containing_abstract_methods_must_be_marked_abstract_2514",message:"Classes containing abstract methods must be marked abstract."},Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:{code:2515,category:e.DiagnosticCategory.Error,key:"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515",message:"Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."},All_declarations_of_an_abstract_method_must_be_consecutive:{code:2516,category:e.DiagnosticCategory.Error,key:"All_declarations_of_an_abstract_method_must_be_consecutive_2516",message:"All declarations of an abstract method must be consecutive."},Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:{code:2517,category:e.DiagnosticCategory.Error,key:"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517",message:"Cannot assign an abstract constructor type to a non-abstract constructor type."},A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:{code:2518,category:e.DiagnosticCategory.Error,key:"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518",message:"A 'this'-based type guard is not compatible with a parameter-based type guard."},An_async_iterator_must_have_a_next_method:{code:2519,category:e.DiagnosticCategory.Error,key:"An_async_iterator_must_have_a_next_method_2519",message:"An async iterator must have a 'next()' method."},Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:{code:2520,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520",message:"Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."},Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:{code:2521,category:e.DiagnosticCategory.Error,key:"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521",message:"Expression resolves to variable declaration '{0}' that compiler uses to support async functions."},The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:{code:2522,category:e.DiagnosticCategory.Error,key:"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522",message:"The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."},yield_expressions_cannot_be_used_in_a_parameter_initializer:{code:2523,category:e.DiagnosticCategory.Error,key:"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523",message:"'yield' expressions cannot be used in a parameter initializer."},await_expressions_cannot_be_used_in_a_parameter_initializer:{code:2524,category:e.DiagnosticCategory.Error,key:"await_expressions_cannot_be_used_in_a_parameter_initializer_2524",message:"'await' expressions cannot be used in a parameter initializer."},Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:{code:2525,category:e.DiagnosticCategory.Error,key:"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525",message:"Initializer provides no value for this binding element and the binding element has no default value."},A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:{code:2526,category:e.DiagnosticCategory.Error,key:"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526",message:"A 'this' type is available only in a non-static member of a class or interface."},The_inferred_type_of_0_references_an_inaccessible_this_type_A_type_annotation_is_necessary:{code:2527,category:e.DiagnosticCategory.Error,key:"The_inferred_type_of_0_references_an_inaccessible_this_type_A_type_annotation_is_necessary_2527",message:"The inferred type of '{0}' references an inaccessible 'this' type. A type annotation is necessary."},A_module_cannot_have_multiple_default_exports:{code:2528,category:e.DiagnosticCategory.Error,key:"A_module_cannot_have_multiple_default_exports_2528",message:"A module cannot have multiple default exports."},Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:{code:2529,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529",message:"Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."},Property_0_is_incompatible_with_index_signature:{code:2530,category:e.DiagnosticCategory.Error,key:"Property_0_is_incompatible_with_index_signature_2530",message:"Property '{0}' is incompatible with index signature."},Object_is_possibly_null:{code:2531,category:e.DiagnosticCategory.Error,key:"Object_is_possibly_null_2531",message:"Object is possibly 'null'."},Object_is_possibly_undefined:{code:2532,category:e.DiagnosticCategory.Error,key:"Object_is_possibly_undefined_2532",message:"Object is possibly 'undefined'."},Object_is_possibly_null_or_undefined:{code:2533,category:e.DiagnosticCategory.Error,key:"Object_is_possibly_null_or_undefined_2533",message:"Object is possibly 'null' or 'undefined'."},A_function_returning_never_cannot_have_a_reachable_end_point:{code:2534,category:e.DiagnosticCategory.Error,key:"A_function_returning_never_cannot_have_a_reachable_end_point_2534",message:"A function returning 'never' cannot have a reachable end point."},Enum_type_0_has_members_with_initializers_that_are_not_literals:{code:2535,category:e.DiagnosticCategory.Error,key:"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535",message:"Enum type '{0}' has members with initializers that are not literals."},Type_0_cannot_be_used_to_index_type_1:{code:2536,category:e.DiagnosticCategory.Error,key:"Type_0_cannot_be_used_to_index_type_1_2536",message:"Type '{0}' cannot be used to index type '{1}'."},Type_0_has_no_matching_index_signature_for_type_1:{code:2537,category:e.DiagnosticCategory.Error,key:"Type_0_has_no_matching_index_signature_for_type_1_2537",message:"Type '{0}' has no matching index signature for type '{1}'."},Type_0_cannot_be_used_as_an_index_type:{code:2538,category:e.DiagnosticCategory.Error,key:"Type_0_cannot_be_used_as_an_index_type_2538",message:"Type '{0}' cannot be used as an index type."},Cannot_assign_to_0_because_it_is_not_a_variable:{code:2539,category:e.DiagnosticCategory.Error,key:"Cannot_assign_to_0_because_it_is_not_a_variable_2539",message:"Cannot assign to '{0}' because it is not a variable."},Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property:{code:2540,category:e.DiagnosticCategory.Error,key:"Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property_2540",message:"Cannot assign to '{0}' because it is a constant or a read-only property."},The_target_of_an_assignment_must_be_a_variable_or_a_property_access:{code:2541,category:e.DiagnosticCategory.Error,key:"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541",message:"The target of an assignment must be a variable or a property access."},Index_signature_in_type_0_only_permits_reading:{code:2542,category:e.DiagnosticCategory.Error,key:"Index_signature_in_type_0_only_permits_reading_2542",message:"Index signature in type '{0}' only permits reading."},Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:{code:2543,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543",message:"Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."},Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:{code:2544,category:e.DiagnosticCategory.Error,key:"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544",message:"Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."},A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:{code:2545,category:e.DiagnosticCategory.Error,key:"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545",message:"A mixin class must have a constructor with a single rest parameter of type 'any[]'."},Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1:{code:2546,category:e.DiagnosticCategory.Error,key:"Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1_2546",message:"Property '{0}' has conflicting declarations and is inaccessible in type '{1}'."},The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:{code:2547,category:e.DiagnosticCategory.Error,key:"The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value__2547",message:"The type returned by the 'next()' method of an async iterator must be a promise for a type with a 'value' property."},Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:{code:2548,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548",message:"Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."},Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:{code:2549,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549",message:"Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."},Generic_type_instantiation_is_excessively_deep_and_possibly_infinite:{code:2550,category:e.DiagnosticCategory.Error,key:"Generic_type_instantiation_is_excessively_deep_and_possibly_infinite_2550",message:"Generic type instantiation is excessively deep and possibly infinite."},JSX_element_attributes_type_0_may_not_be_a_union_type:{code:2600,category:e.DiagnosticCategory.Error,key:"JSX_element_attributes_type_0_may_not_be_a_union_type_2600",message:"JSX element attributes type '{0}' may not be a union type."},The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:{code:2601,category:e.DiagnosticCategory.Error,key:"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601",message:"The return type of a JSX element constructor must return an object type."},JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:{code:2602,category:e.DiagnosticCategory.Error,key:"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602",message:"JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."},Property_0_in_type_1_is_not_assignable_to_type_2:{code:2603,category:e.DiagnosticCategory.Error,key:"Property_0_in_type_1_is_not_assignable_to_type_2_2603",message:"Property '{0}' in type '{1}' is not assignable to type '{2}'."},JSX_element_type_0_does_not_have_any_construct_or_call_signatures:{code:2604,category:e.DiagnosticCategory.Error,key:"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604",message:"JSX element type '{0}' does not have any construct or call signatures."},JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:{code:2605,category:e.DiagnosticCategory.Error,key:"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605",message:"JSX element type '{0}' is not a constructor function for JSX elements."},Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:{code:2606,category:e.DiagnosticCategory.Error,key:"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606",message:"Property '{0}' of JSX spread attribute is not assignable to target property."},JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:{code:2607,category:e.DiagnosticCategory.Error,key:"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607",message:"JSX element class does not support attributes because it does not have a '{0}' property."},The_global_type_JSX_0_may_not_have_more_than_one_property:{code:2608,category:e.DiagnosticCategory.Error,key:"The_global_type_JSX_0_may_not_have_more_than_one_property_2608",message:"The global type 'JSX.{0}' may not have more than one property."},JSX_spread_child_must_be_an_array_type:{code:2609,category:e.DiagnosticCategory.Error,key:"JSX_spread_child_must_be_an_array_type_2609",message:"JSX spread child must be an array type."},Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:{code:2649,category:e.DiagnosticCategory.Error,key:"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649",message:"Cannot augment module '{0}' with value exports because it resolves to a non-module entity."},Cannot_emit_namespaced_JSX_elements_in_React:{code:2650,category:e.DiagnosticCategory.Error,key:"Cannot_emit_namespaced_JSX_elements_in_React_2650",message:"Cannot emit namespaced JSX elements in React."},A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:{code:2651,category:e.DiagnosticCategory.Error,key:"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651",message:"A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."},Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:{code:2652,category:e.DiagnosticCategory.Error,key:"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652",message:"Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."},Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:{code:2653,category:e.DiagnosticCategory.Error,key:"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653",message:"Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."},Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:{code:2654,category:e.DiagnosticCategory.Error,key:"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654",message:"Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."},Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:{code:2656,category:e.DiagnosticCategory.Error,key:"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656",message:"Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."},JSX_expressions_must_have_one_parent_element:{code:2657,category:e.DiagnosticCategory.Error,key:"JSX_expressions_must_have_one_parent_element_2657",message:"JSX expressions must have one parent element."},Type_0_provides_no_match_for_the_signature_1:{code:2658,category:e.DiagnosticCategory.Error,key:"Type_0_provides_no_match_for_the_signature_1_2658",message:"Type '{0}' provides no match for the signature '{1}'."},super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:{code:2659,category:e.DiagnosticCategory.Error,key:"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659",message:"'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."},super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:{code:2660,category:e.DiagnosticCategory.Error,key:"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660",message:"'super' can only be referenced in members of derived classes or object literal expressions."},Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:{code:2661,category:e.DiagnosticCategory.Error,key:"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661",message:"Cannot export '{0}'. Only local declarations can be exported from a module."},Cannot_find_name_0_Did_you_mean_the_static_member_1_0:{code:2662,category:e.DiagnosticCategory.Error,key:"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662",message:"Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"},Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:{code:2663,category:e.DiagnosticCategory.Error,key:"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663",message:"Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"},Invalid_module_name_in_augmentation_module_0_cannot_be_found:{code:2664,category:e.DiagnosticCategory.Error,key:"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664",message:"Invalid module name in augmentation, module '{0}' cannot be found."},Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:{code:2665,category:e.DiagnosticCategory.Error,key:"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665",message:"Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."},Exports_and_export_assignments_are_not_permitted_in_module_augmentations:{code:2666,category:e.DiagnosticCategory.Error,key:"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666",message:"Exports and export assignments are not permitted in module augmentations."},Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:{code:2667,category:e.DiagnosticCategory.Error,key:"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667",message:"Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."},export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:{code:2668,category:e.DiagnosticCategory.Error,key:"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668",message:"'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."},Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:{code:2669,category:e.DiagnosticCategory.Error,key:"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669",message:"Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."},Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:{code:2670,category:e.DiagnosticCategory.Error,key:"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670",message:"Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."},Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:{code:2671,category:e.DiagnosticCategory.Error,key:"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671",message:"Cannot augment module '{0}' because it resolves to a non-module entity."},Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:{code:2672,category:e.DiagnosticCategory.Error,key:"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672",message:"Cannot assign a '{0}' constructor type to a '{1}' constructor type."},Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:{code:2673,category:e.DiagnosticCategory.Error,key:"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673",message:"Constructor of class '{0}' is private and only accessible within the class declaration."},Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:{code:2674,category:e.DiagnosticCategory.Error,key:"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674",message:"Constructor of class '{0}' is protected and only accessible within the class declaration."},Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:{code:2675,category:e.DiagnosticCategory.Error,key:"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675",message:"Cannot extend a class '{0}'. Class constructor is marked as private."},Accessors_must_both_be_abstract_or_non_abstract:{code:2676,category:e.DiagnosticCategory.Error,key:"Accessors_must_both_be_abstract_or_non_abstract_2676",message:"Accessors must both be abstract or non-abstract."},A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:{code:2677,category:e.DiagnosticCategory.Error,key:"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677",message:"A type predicate's type must be assignable to its parameter's type."},Type_0_is_not_comparable_to_type_1:{code:2678,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_comparable_to_type_1_2678",message:"Type '{0}' is not comparable to type '{1}'."},A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:{code:2679,category:e.DiagnosticCategory.Error,key:"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679",message:"A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."},A_this_parameter_must_be_the_first_parameter:{code:2680,category:e.DiagnosticCategory.Error,key:"A_this_parameter_must_be_the_first_parameter_2680",message:"A 'this' parameter must be the first parameter."},A_constructor_cannot_have_a_this_parameter:{code:2681,category:e.DiagnosticCategory.Error,key:"A_constructor_cannot_have_a_this_parameter_2681",message:"A constructor cannot have a 'this' parameter."},get_and_set_accessor_must_have_the_same_this_type:{code:2682,category:e.DiagnosticCategory.Error,key:"get_and_set_accessor_must_have_the_same_this_type_2682",message:"'get' and 'set' accessor must have the same 'this' type."},this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:{code:2683,category:e.DiagnosticCategory.Error,key:"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683",message:"'this' implicitly has type 'any' because it does not have a type annotation."},The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:{code:2684,category:e.DiagnosticCategory.Error,key:"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684",message:"The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."},The_this_types_of_each_signature_are_incompatible:{code:2685,category:e.DiagnosticCategory.Error,key:"The_this_types_of_each_signature_are_incompatible_2685",message:"The 'this' types of each signature are incompatible."},_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:{code:2686,category:e.DiagnosticCategory.Error,key:"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686",message:"'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."},All_declarations_of_0_must_have_identical_modifiers:{code:2687,category:e.DiagnosticCategory.Error,key:"All_declarations_of_0_must_have_identical_modifiers_2687",message:"All declarations of '{0}' must have identical modifiers."},Cannot_find_type_definition_file_for_0:{code:2688,category:e.DiagnosticCategory.Error,key:"Cannot_find_type_definition_file_for_0_2688",message:"Cannot find type definition file for '{0}'."},Cannot_extend_an_interface_0_Did_you_mean_implements:{code:2689,category:e.DiagnosticCategory.Error,key:"Cannot_extend_an_interface_0_Did_you_mean_implements_2689",message:"Cannot extend an interface '{0}'. Did you mean 'implements'?"},An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:{code:2691,category:e.DiagnosticCategory.Error,key:"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691",message:"An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."},_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:{code:2692,category:e.DiagnosticCategory.Error,key:"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692",message:"'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."},_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:{code:2693,category:e.DiagnosticCategory.Error,key:"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693",message:"'{0}' only refers to a type, but is being used as a value here."},Namespace_0_has_no_exported_member_1:{code:2694,category:e.DiagnosticCategory.Error,key:"Namespace_0_has_no_exported_member_1_2694",message:"Namespace '{0}' has no exported member '{1}'."},Left_side_of_comma_operator_is_unused_and_has_no_side_effects:{code:2695,category:e.DiagnosticCategory.Error,key:"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695",message:"Left side of comma operator is unused and has no side effects."},The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:{code:2696,category:e.DiagnosticCategory.Error,key:"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696",message:"The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"},An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:{code:2697,category:e.DiagnosticCategory.Error,key:"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697",message:"An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."},Spread_types_may_only_be_created_from_object_types:{code:2698,category:e.DiagnosticCategory.Error,key:"Spread_types_may_only_be_created_from_object_types_2698",message:"Spread types may only be created from object types."},Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:{code:2699,category:e.DiagnosticCategory.Error,key:"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699",message:"Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."},Rest_types_may_only_be_created_from_object_types:{code:2700,category:e.DiagnosticCategory.Error,key:"Rest_types_may_only_be_created_from_object_types_2700",message:"Rest types may only be created from object types."},The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:{code:2701,category:e.DiagnosticCategory.Error,key:"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701",message:"The target of an object rest assignment must be a variable or a property access."},_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:{code:2702,category:e.DiagnosticCategory.Error,key:"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702",message:"'{0}' only refers to a type, but is being used as a namespace here."},The_operand_of_a_delete_operator_must_be_a_property_reference:{code:2703,category:e.DiagnosticCategory.Error,key:"The_operand_of_a_delete_operator_must_be_a_property_reference_2703",message:"The operand of a delete operator must be a property reference."},The_operand_of_a_delete_operator_cannot_be_a_read_only_property:{code:2704,category:e.DiagnosticCategory.Error,key:"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704",message:"The operand of a delete operator cannot be a read-only property."},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:{code:2705,category:e.DiagnosticCategory.Error,key:"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705",message:"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."},Required_type_parameters_may_not_follow_optional_type_parameters:{code:2706,category:e.DiagnosticCategory.Error,key:"Required_type_parameters_may_not_follow_optional_type_parameters_2706",message:"Required type parameters may not follow optional type parameters."},Generic_type_0_requires_between_1_and_2_type_arguments:{code:2707,category:e.DiagnosticCategory.Error,key:"Generic_type_0_requires_between_1_and_2_type_arguments_2707",message:"Generic type '{0}' requires between {1} and {2} type arguments."},Cannot_use_namespace_0_as_a_value:{code:2708,category:e.DiagnosticCategory.Error,key:"Cannot_use_namespace_0_as_a_value_2708",message:"Cannot use namespace '{0}' as a value."},Cannot_use_namespace_0_as_a_type:{code:2709,category:e.DiagnosticCategory.Error,key:"Cannot_use_namespace_0_as_a_type_2709",message:"Cannot use namespace '{0}' as a type."},_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:{code:2710,category:e.DiagnosticCategory.Error,key:"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710",message:"'{0}' are specified twice. The attribute named '{0}' will be overwritten."},Import_declaration_0_is_using_private_name_1:{code:4e3,category:e.DiagnosticCategory.Error,key:"Import_declaration_0_is_using_private_name_1_4000",message:"Import declaration '{0}' is using private name '{1}'."},Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:{code:4002,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002",message:"Type parameter '{0}' of exported class has or is using private name '{1}'."},Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:{code:4004,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004",message:"Type parameter '{0}' of exported interface has or is using private name '{1}'."},Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:{code:4006,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006",message:"Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."},Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:{code:4008,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008",message:"Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."},Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:{code:4010,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010",message:"Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."},Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:{code:4012,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012",message:"Type parameter '{0}' of public method from exported class has or is using private name '{1}'."},Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:{code:4014,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014",message:"Type parameter '{0}' of method from exported interface has or is using private name '{1}'."},Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:{code:4016,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016",message:"Type parameter '{0}' of exported function has or is using private name '{1}'."},Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:{code:4019,category:e.DiagnosticCategory.Error,key:"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019",message:"Implements clause of exported class '{0}' has or is using private name '{1}'."},extends_clause_of_exported_class_0_has_or_is_using_private_name_1:{code:4020,category:e.DiagnosticCategory.Error,key:"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020",message:"'extends' clause of exported class '{0}' has or is using private name '{1}'."},extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:{code:4022,category:e.DiagnosticCategory.Error,key:"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022",message:"'extends' clause of exported interface '{0}' has or is using private name '{1}'."},Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4023,category:e.DiagnosticCategory.Error,key:"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023",message:"Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."},Exported_variable_0_has_or_is_using_name_1_from_private_module_2:{code:4024,category:e.DiagnosticCategory.Error,key:"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024",message:"Exported variable '{0}' has or is using name '{1}' from private module '{2}'."},Exported_variable_0_has_or_is_using_private_name_1:{code:4025,category:e.DiagnosticCategory.Error,key:"Exported_variable_0_has_or_is_using_private_name_1_4025",message:"Exported variable '{0}' has or is using private name '{1}'."},Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4026,category:e.DiagnosticCategory.Error,key:"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026",message:"Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."},Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4027,category:e.DiagnosticCategory.Error,key:"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027",message:"Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."},Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:{code:4028,category:e.DiagnosticCategory.Error,key:"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028",message:"Public static property '{0}' of exported class has or is using private name '{1}'."},Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4029,category:e.DiagnosticCategory.Error,key:"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029",message:"Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."},Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4030,category:e.DiagnosticCategory.Error,key:"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030",message:"Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."},Public_property_0_of_exported_class_has_or_is_using_private_name_1:{code:4031,category:e.DiagnosticCategory.Error,key:"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031",message:"Public property '{0}' of exported class has or is using private name '{1}'."},Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:{code:4032,category:e.DiagnosticCategory.Error,key:"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032",message:"Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."},Property_0_of_exported_interface_has_or_is_using_private_name_1:{code:4033,category:e.DiagnosticCategory.Error,key:"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033",message:"Property '{0}' of exported interface has or is using private name '{1}'."},Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4034,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_name_1_from_private_4034",message:"Parameter '{0}' of public static property setter from exported class has or is using name '{1}' from private module '{2}'."},Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_private_name_1:{code:4035,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_private_name_1_4035",message:"Parameter '{0}' of public static property setter from exported class has or is using private name '{1}'."},Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4036,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_4036",message:"Parameter '{0}' of public property setter from exported class has or is using name '{1}' from private module '{2}'."},Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_private_name_1:{code:4037,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_private_name_1_4037",message:"Parameter '{0}' of public property setter from exported class has or is using private name '{1}'."},Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:{code:4038,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_externa_4038",message:"Return type of public static property getter from exported class has or is using name '{0}' from external module {1} but cannot be named."},Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_1:{code:4039,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_private_4039",message:"Return type of public static property getter from exported class has or is using name '{0}' from private module '{1}'."},Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_private_name_0:{code:4040,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_private_name_0_4040",message:"Return type of public static property getter from exported class has or is using private name '{0}'."},Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:{code:4041,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_external_modul_4041",message:"Return type of public property getter from exported class has or is using name '{0}' from external module {1} but cannot be named."},Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_1:{code:4042,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_4042",message:"Return type of public property getter from exported class has or is using name '{0}' from private module '{1}'."},Return_type_of_public_property_getter_from_exported_class_has_or_is_using_private_name_0:{code:4043,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_property_getter_from_exported_class_has_or_is_using_private_name_0_4043",message:"Return type of public property getter from exported class has or is using private name '{0}'."},Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:{code:4044,category:e.DiagnosticCategory.Error,key:"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044",message:"Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."},Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:{code:4045,category:e.DiagnosticCategory.Error,key:"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045",message:"Return type of constructor signature from exported interface has or is using private name '{0}'."},Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:{code:4046,category:e.DiagnosticCategory.Error,key:"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046",message:"Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."},Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:{code:4047,category:e.DiagnosticCategory.Error,key:"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047",message:"Return type of call signature from exported interface has or is using private name '{0}'."},Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:{code:4048,category:e.DiagnosticCategory.Error,key:"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048",message:"Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."},Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:{code:4049,category:e.DiagnosticCategory.Error,key:"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049",message:"Return type of index signature from exported interface has or is using private name '{0}'."},Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:{code:4050,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050",message:"Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."},Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:{code:4051,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051",message:"Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."},Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:{code:4052,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052",message:"Return type of public static method from exported class has or is using private name '{0}'."},Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:{code:4053,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053",message:"Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."},Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:{code:4054,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054",message:"Return type of public method from exported class has or is using name '{0}' from private module '{1}'."},Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:{code:4055,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055",message:"Return type of public method from exported class has or is using private name '{0}'."},Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:{code:4056,category:e.DiagnosticCategory.Error,key:"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056",message:"Return type of method from exported interface has or is using name '{0}' from private module '{1}'."},Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:{code:4057,category:e.DiagnosticCategory.Error,key:"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057",message:"Return type of method from exported interface has or is using private name '{0}'."},Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:{code:4058,category:e.DiagnosticCategory.Error,key:"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058",message:"Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."},Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:{code:4059,category:e.DiagnosticCategory.Error,key:"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059",message:"Return type of exported function has or is using name '{0}' from private module '{1}'."},Return_type_of_exported_function_has_or_is_using_private_name_0:{code:4060,category:e.DiagnosticCategory.Error,key:"Return_type_of_exported_function_has_or_is_using_private_name_0_4060",message:"Return type of exported function has or is using private name '{0}'."},Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4061,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061",message:"Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."},Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4062,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062",message:"Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."},Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:{code:4063,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063",message:"Parameter '{0}' of constructor from exported class has or is using private name '{1}'."},Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:{code:4064,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064",message:"Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."},Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:{code:4065,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065",message:"Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."},Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:{code:4066,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066",message:"Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."},Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:{code:4067,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067",message:"Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."},Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4068,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068",message:"Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."},Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4069,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069",message:"Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."},Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:{code:4070,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070",message:"Parameter '{0}' of public static method from exported class has or is using private name '{1}'."},Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4071,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071",message:"Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."},Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4072,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072",message:"Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."},Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:{code:4073,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073",message:"Parameter '{0}' of public method from exported class has or is using private name '{1}'."},Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:{code:4074,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074",message:"Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."},Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:{code:4075,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075",message:"Parameter '{0}' of method from exported interface has or is using private name '{1}'."},Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4076,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076",message:"Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."},Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:{code:4077,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077",message:"Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."},Parameter_0_of_exported_function_has_or_is_using_private_name_1:{code:4078,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078",message:"Parameter '{0}' of exported function has or is using private name '{1}'."},Exported_type_alias_0_has_or_is_using_private_name_1:{code:4081,category:e.DiagnosticCategory.Error,key:"Exported_type_alias_0_has_or_is_using_private_name_1_4081",message:"Exported type alias '{0}' has or is using private name '{1}'."},Default_export_of_the_module_has_or_is_using_private_name_0:{code:4082,category:e.DiagnosticCategory.Error,key:"Default_export_of_the_module_has_or_is_using_private_name_0_4082",message:"Default export of the module has or is using private name '{0}'."},Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:{code:4083,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083",message:"Type parameter '{0}' of exported type alias has or is using private name '{1}'."},Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:{code:4090,category:e.DiagnosticCategory.Message,key:"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090",message:"Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."},Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:{code:4091,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091",message:"Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."},Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:{code:4092,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092",message:"Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."},extends_clause_of_exported_class_0_refers_to_a_type_whose_name_cannot_be_referenced:{code:4093,category:e.DiagnosticCategory.Error,key:"extends_clause_of_exported_class_0_refers_to_a_type_whose_name_cannot_be_referenced_4093",message:"'extends' clause of exported class '{0}' refers to a type whose name cannot be referenced."},The_current_host_does_not_support_the_0_option:{code:5001,category:e.DiagnosticCategory.Error,key:"The_current_host_does_not_support_the_0_option_5001",message:"The current host does not support the '{0}' option."},Cannot_find_the_common_subdirectory_path_for_the_input_files:{code:5009,category:e.DiagnosticCategory.Error,key:"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009",message:"Cannot find the common subdirectory path for the input files."},File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:{code:5010,category:e.DiagnosticCategory.Error,key:"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010",message:"File specification cannot end in a recursive directory wildcard ('**'): '{0}'."},File_specification_cannot_contain_multiple_recursive_directory_wildcards_Asterisk_Asterisk_Colon_0:{code:5011,category:e.DiagnosticCategory.Error,key:"File_specification_cannot_contain_multiple_recursive_directory_wildcards_Asterisk_Asterisk_Colon_0_5011",message:"File specification cannot contain multiple recursive directory wildcards ('**'): '{0}'."},Cannot_read_file_0_Colon_1:{code:5012,category:e.DiagnosticCategory.Error,key:"Cannot_read_file_0_Colon_1_5012",message:"Cannot read file '{0}': {1}."},Failed_to_parse_file_0_Colon_1:{code:5014,category:e.DiagnosticCategory.Error,key:"Failed_to_parse_file_0_Colon_1_5014",message:"Failed to parse file '{0}': {1}."},Unknown_compiler_option_0:{code:5023,category:e.DiagnosticCategory.Error,key:"Unknown_compiler_option_0_5023",message:"Unknown compiler option '{0}'."},Compiler_option_0_requires_a_value_of_type_1:{code:5024,category:e.DiagnosticCategory.Error,key:"Compiler_option_0_requires_a_value_of_type_1_5024",message:"Compiler option '{0}' requires a value of type {1}."},Could_not_write_file_0_Colon_1:{code:5033,category:e.DiagnosticCategory.Error,key:"Could_not_write_file_0_Colon_1_5033",message:"Could not write file '{0}': {1}."},Option_project_cannot_be_mixed_with_source_files_on_a_command_line:{code:5042,category:e.DiagnosticCategory.Error,key:"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042",message:"Option 'project' cannot be mixed with source files on a command line."},Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:{code:5047,category:e.DiagnosticCategory.Error,key:"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047",message:"Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."},Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:{code:5051,category:e.DiagnosticCategory.Error,key:"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051",message:"Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."},Option_0_cannot_be_specified_without_specifying_option_1:{code:5052,category:e.DiagnosticCategory.Error,key:"Option_0_cannot_be_specified_without_specifying_option_1_5052",message:"Option '{0}' cannot be specified without specifying option '{1}'."},Option_0_cannot_be_specified_with_option_1:{code:5053,category:e.DiagnosticCategory.Error,key:"Option_0_cannot_be_specified_with_option_1_5053",message:"Option '{0}' cannot be specified with option '{1}'."},A_tsconfig_json_file_is_already_defined_at_Colon_0:{code:5054,category:e.DiagnosticCategory.Error,key:"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054",message:"A 'tsconfig.json' file is already defined at: '{0}'."},Cannot_write_file_0_because_it_would_overwrite_input_file:{code:5055,category:e.DiagnosticCategory.Error,key:"Cannot_write_file_0_because_it_would_overwrite_input_file_5055",message:"Cannot write file '{0}' because it would overwrite input file."},Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:{code:5056,category:e.DiagnosticCategory.Error,key:"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056",message:"Cannot write file '{0}' because it would be overwritten by multiple input files."},Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:{code:5057,category:e.DiagnosticCategory.Error,key:"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057",message:"Cannot find a tsconfig.json file at the specified directory: '{0}'."},The_specified_path_does_not_exist_Colon_0:{code:5058,category:e.DiagnosticCategory.Error,key:"The_specified_path_does_not_exist_Colon_0_5058",message:"The specified path does not exist: '{0}'."},Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:{code:5059,category:e.DiagnosticCategory.Error,key:"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059",message:"Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."},Option_paths_cannot_be_used_without_specifying_baseUrl_option:{code:5060,category:e.DiagnosticCategory.Error,key:"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060",message:"Option 'paths' cannot be used without specifying '--baseUrl' option."},Pattern_0_can_have_at_most_one_Asterisk_character:{code:5061,category:e.DiagnosticCategory.Error,key:"Pattern_0_can_have_at_most_one_Asterisk_character_5061",message:"Pattern '{0}' can have at most one '*' character."},Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character:{code:5062,category:e.DiagnosticCategory.Error,key:"Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character_5062",message:"Substitution '{0}' in pattern '{1}' in can have at most one '*' character."},Substitutions_for_pattern_0_should_be_an_array:{code:5063,category:e.DiagnosticCategory.Error,key:"Substitutions_for_pattern_0_should_be_an_array_5063",message:"Substitutions for pattern '{0}' should be an array."},Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:{code:5064,category:e.DiagnosticCategory.Error,key:"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064",message:"Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."},File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:{code:5065,category:e.DiagnosticCategory.Error,key:"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065",message:"File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."},Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:{code:5066,category:e.DiagnosticCategory.Error,key:"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066",message:"Substitutions for pattern '{0}' shouldn't be an empty array."},Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:{code:5067,category:e.DiagnosticCategory.Error,key:"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067",message:"Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."},Concatenate_and_emit_output_to_single_file:{code:6001,category:e.DiagnosticCategory.Message,key:"Concatenate_and_emit_output_to_single_file_6001",message:"Concatenate and emit output to single file."},Generates_corresponding_d_ts_file:{code:6002,category:e.DiagnosticCategory.Message,key:"Generates_corresponding_d_ts_file_6002",message:"Generates corresponding '.d.ts' file."},Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:{code:6003,category:e.DiagnosticCategory.Message,key:"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003",message:"Specify the location where debugger should locate map files instead of generated locations."},Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:{code:6004,category:e.DiagnosticCategory.Message,key:"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004",message:"Specify the location where debugger should locate TypeScript files instead of source locations."},Watch_input_files:{code:6005,category:e.DiagnosticCategory.Message,key:"Watch_input_files_6005",message:"Watch input files."},Redirect_output_structure_to_the_directory:{code:6006,category:e.DiagnosticCategory.Message,key:"Redirect_output_structure_to_the_directory_6006",message:"Redirect output structure to the directory."},Do_not_erase_const_enum_declarations_in_generated_code:{code:6007,category:e.DiagnosticCategory.Message,key:"Do_not_erase_const_enum_declarations_in_generated_code_6007",message:"Do not erase const enum declarations in generated code."},Do_not_emit_outputs_if_any_errors_were_reported:{code:6008,category:e.DiagnosticCategory.Message,key:"Do_not_emit_outputs_if_any_errors_were_reported_6008",message:"Do not emit outputs if any errors were reported."},Do_not_emit_comments_to_output:{code:6009,category:e.DiagnosticCategory.Message,key:"Do_not_emit_comments_to_output_6009",message:"Do not emit comments to output."},Do_not_emit_outputs:{code:6010,category:e.DiagnosticCategory.Message,key:"Do_not_emit_outputs_6010",message:"Do not emit outputs."},Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:{code:6011,category:e.DiagnosticCategory.Message,key:"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011",message:"Allow default imports from modules with no default export. This does not affect code emit, just typechecking."},Skip_type_checking_of_declaration_files:{code:6012,category:e.DiagnosticCategory.Message,key:"Skip_type_checking_of_declaration_files_6012",message:"Skip type checking of declaration files."},Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_or_ESNEXT:{code:6015,category:e.DiagnosticCategory.Message,key:"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_or_ESNEXT_6015",message:"Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'."},Specify_module_code_generation_Colon_commonjs_amd_system_umd_or_es2015:{code:6016,category:e.DiagnosticCategory.Message,key:"Specify_module_code_generation_Colon_commonjs_amd_system_umd_or_es2015_6016",message:"Specify module code generation: 'commonjs', 'amd', 'system', 'umd' or 'es2015'."},Print_this_message:{code:6017,category:e.DiagnosticCategory.Message,key:"Print_this_message_6017",message:"Print this message."},Print_the_compiler_s_version:{code:6019,category:e.DiagnosticCategory.Message,key:"Print_the_compiler_s_version_6019",message:"Print the compiler's version."},Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:{code:6020,category:e.DiagnosticCategory.Message,key:"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020",message:"Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."},Syntax_Colon_0:{code:6023,category:e.DiagnosticCategory.Message,key:"Syntax_Colon_0_6023",message:"Syntax: {0}"},options:{code:6024,category:e.DiagnosticCategory.Message,key:"options_6024",message:"options"},file:{code:6025,category:e.DiagnosticCategory.Message,key:"file_6025",message:"file"},Examples_Colon_0:{code:6026,category:e.DiagnosticCategory.Message,key:"Examples_Colon_0_6026",message:"Examples: {0}"},Options_Colon:{code:6027,category:e.DiagnosticCategory.Message,key:"Options_Colon_6027",message:"Options:"},Version_0:{code:6029,category:e.DiagnosticCategory.Message,key:"Version_0_6029",message:"Version {0}"},Insert_command_line_options_and_files_from_a_file:{code:6030,category:e.DiagnosticCategory.Message,key:"Insert_command_line_options_and_files_from_a_file_6030",message:"Insert command line options and files from a file."},File_change_detected_Starting_incremental_compilation:{code:6032,category:e.DiagnosticCategory.Message,key:"File_change_detected_Starting_incremental_compilation_6032",message:"File change detected. Starting incremental compilation..."},KIND:{code:6034,category:e.DiagnosticCategory.Message,key:"KIND_6034",message:"KIND"},FILE:{code:6035,category:e.DiagnosticCategory.Message,key:"FILE_6035",message:"FILE"},VERSION:{code:6036,category:e.DiagnosticCategory.Message,key:"VERSION_6036",message:"VERSION"},LOCATION:{code:6037,category:e.DiagnosticCategory.Message,key:"LOCATION_6037",message:"LOCATION"},DIRECTORY:{code:6038,category:e.DiagnosticCategory.Message,key:"DIRECTORY_6038",message:"DIRECTORY"},STRATEGY:{code:6039,category:e.DiagnosticCategory.Message,key:"STRATEGY_6039",message:"STRATEGY"},FILE_OR_DIRECTORY:{code:6040,category:e.DiagnosticCategory.Message,key:"FILE_OR_DIRECTORY_6040",message:"FILE OR DIRECTORY"},Compilation_complete_Watching_for_file_changes:{code:6042,category:e.DiagnosticCategory.Message,key:"Compilation_complete_Watching_for_file_changes_6042",message:"Compilation complete. Watching for file changes."},Generates_corresponding_map_file:{code:6043,category:e.DiagnosticCategory.Message,key:"Generates_corresponding_map_file_6043",message:"Generates corresponding '.map' file."},Compiler_option_0_expects_an_argument:{code:6044,category:e.DiagnosticCategory.Error,key:"Compiler_option_0_expects_an_argument_6044",message:"Compiler option '{0}' expects an argument."},Unterminated_quoted_string_in_response_file_0:{code:6045,category:e.DiagnosticCategory.Error,key:"Unterminated_quoted_string_in_response_file_0_6045",message:"Unterminated quoted string in response file '{0}'."},Argument_for_0_option_must_be_Colon_1:{code:6046,category:e.DiagnosticCategory.Error,key:"Argument_for_0_option_must_be_Colon_1_6046",message:"Argument for '{0}' option must be: {1}."},Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:{code:6048,category:e.DiagnosticCategory.Error,key:"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048",message:"Locale must be of the form or -. For example '{0}' or '{1}'."},Unsupported_locale_0:{code:6049,category:e.DiagnosticCategory.Error,key:"Unsupported_locale_0_6049",message:"Unsupported locale '{0}'."},Unable_to_open_file_0:{code:6050,category:e.DiagnosticCategory.Error,key:"Unable_to_open_file_0_6050",message:"Unable to open file '{0}'."},Corrupted_locale_file_0:{code:6051,category:e.DiagnosticCategory.Error,key:"Corrupted_locale_file_0_6051",message:"Corrupted locale file {0}."},Raise_error_on_expressions_and_declarations_with_an_implied_any_type:{code:6052,category:e.DiagnosticCategory.Message,key:"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052",message:"Raise error on expressions and declarations with an implied 'any' type."},File_0_not_found:{code:6053,category:e.DiagnosticCategory.Error,key:"File_0_not_found_6053",message:"File '{0}' not found."},File_0_has_unsupported_extension_The_only_supported_extensions_are_1:{code:6054,category:e.DiagnosticCategory.Error,key:"File_0_has_unsupported_extension_The_only_supported_extensions_are_1_6054",message:"File '{0}' has unsupported extension. The only supported extensions are {1}."},Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:{code:6055,category:e.DiagnosticCategory.Message,key:"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055",message:"Suppress noImplicitAny errors for indexing objects lacking index signatures."},Do_not_emit_declarations_for_code_that_has_an_internal_annotation:{code:6056,category:e.DiagnosticCategory.Message,key:"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056",message:"Do not emit declarations for code that has an '@internal' annotation."},Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:{code:6058,category:e.DiagnosticCategory.Message,key:"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058",message:"Specify the root directory of input files. Use to control the output directory structure with --outDir."},File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:{code:6059,category:e.DiagnosticCategory.Error,key:"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059",message:"File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."},Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:{code:6060,category:e.DiagnosticCategory.Message,key:"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060",message:"Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."},NEWLINE:{code:6061,category:e.DiagnosticCategory.Message,key:"NEWLINE_6061",message:"NEWLINE"},Option_0_can_only_be_specified_in_tsconfig_json_file:{code:6064,category:e.DiagnosticCategory.Error,key:"Option_0_can_only_be_specified_in_tsconfig_json_file_6064",message:"Option '{0}' can only be specified in 'tsconfig.json' file."},Enables_experimental_support_for_ES7_decorators:{code:6065,category:e.DiagnosticCategory.Message,key:"Enables_experimental_support_for_ES7_decorators_6065",message:"Enables experimental support for ES7 decorators."},Enables_experimental_support_for_emitting_type_metadata_for_decorators:{code:6066,category:e.DiagnosticCategory.Message,key:"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066",message:"Enables experimental support for emitting type metadata for decorators."},Enables_experimental_support_for_ES7_async_functions:{code:6068,category:e.DiagnosticCategory.Message,key:"Enables_experimental_support_for_ES7_async_functions_6068",message:"Enables experimental support for ES7 async functions."},Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:{code:6069,category:e.DiagnosticCategory.Message,key:"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069",message:"Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."},Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:{code:6070,category:e.DiagnosticCategory.Message,key:"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070",message:"Initializes a TypeScript project and creates a tsconfig.json file."},Successfully_created_a_tsconfig_json_file:{code:6071,category:e.DiagnosticCategory.Message,key:"Successfully_created_a_tsconfig_json_file_6071",message:"Successfully created a tsconfig.json file."},Suppress_excess_property_checks_for_object_literals:{code:6072,category:e.DiagnosticCategory.Message,key:"Suppress_excess_property_checks_for_object_literals_6072",message:"Suppress excess property checks for object literals."},Stylize_errors_and_messages_using_color_and_context_experimental:{code:6073,category:e.DiagnosticCategory.Message,key:"Stylize_errors_and_messages_using_color_and_context_experimental_6073",message:"Stylize errors and messages using color and context (experimental)."},Do_not_report_errors_on_unused_labels:{code:6074,category:e.DiagnosticCategory.Message,key:"Do_not_report_errors_on_unused_labels_6074",message:"Do not report errors on unused labels."},Report_error_when_not_all_code_paths_in_function_return_a_value:{code:6075,category:e.DiagnosticCategory.Message,key:"Report_error_when_not_all_code_paths_in_function_return_a_value_6075",message:"Report error when not all code paths in function return a value."},Report_errors_for_fallthrough_cases_in_switch_statement:{code:6076,category:e.DiagnosticCategory.Message,key:"Report_errors_for_fallthrough_cases_in_switch_statement_6076",message:"Report errors for fallthrough cases in switch statement."},Do_not_report_errors_on_unreachable_code:{code:6077,category:e.DiagnosticCategory.Message,key:"Do_not_report_errors_on_unreachable_code_6077",message:"Do not report errors on unreachable code."},Disallow_inconsistently_cased_references_to_the_same_file:{code:6078,category:e.DiagnosticCategory.Message,key:"Disallow_inconsistently_cased_references_to_the_same_file_6078",message:"Disallow inconsistently-cased references to the same file."},Specify_library_files_to_be_included_in_the_compilation_Colon:{code:6079,category:e.DiagnosticCategory.Message,key:"Specify_library_files_to_be_included_in_the_compilation_Colon_6079",message:"Specify library files to be included in the compilation: "},Specify_JSX_code_generation_Colon_preserve_react_native_or_react:{code:6080,category:e.DiagnosticCategory.Message,key:"Specify_JSX_code_generation_Colon_preserve_react_native_or_react_6080",message:"Specify JSX code generation: 'preserve', 'react-native', or 'react'."},File_0_has_an_unsupported_extension_so_skipping_it:{code:6081,category:e.DiagnosticCategory.Message,key:"File_0_has_an_unsupported_extension_so_skipping_it_6081",message:"File '{0}' has an unsupported extension, so skipping it."},Only_amd_and_system_modules_are_supported_alongside_0:{code:6082,category:e.DiagnosticCategory.Error,key:"Only_amd_and_system_modules_are_supported_alongside_0_6082",message:"Only 'amd' and 'system' modules are supported alongside --{0}."},Base_directory_to_resolve_non_absolute_module_names:{code:6083,category:e.DiagnosticCategory.Message,key:"Base_directory_to_resolve_non_absolute_module_names_6083",message:"Base directory to resolve non-absolute module names."},Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:{code:6084,category:e.DiagnosticCategory.Message,key:"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084",message:"[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"},Enable_tracing_of_the_name_resolution_process:{code:6085,category:e.DiagnosticCategory.Message,key:"Enable_tracing_of_the_name_resolution_process_6085",message:"Enable tracing of the name resolution process."},Resolving_module_0_from_1:{code:6086,category:e.DiagnosticCategory.Message,key:"Resolving_module_0_from_1_6086",message:"======== Resolving module '{0}' from '{1}'. ========"},Explicitly_specified_module_resolution_kind_Colon_0:{code:6087,category:e.DiagnosticCategory.Message,key:"Explicitly_specified_module_resolution_kind_Colon_0_6087",message:"Explicitly specified module resolution kind: '{0}'."},Module_resolution_kind_is_not_specified_using_0:{code:6088,category:e.DiagnosticCategory.Message,key:"Module_resolution_kind_is_not_specified_using_0_6088",message:"Module resolution kind is not specified, using '{0}'."},Module_name_0_was_successfully_resolved_to_1:{code:6089,category:e.DiagnosticCategory.Message,key:"Module_name_0_was_successfully_resolved_to_1_6089",message:"======== Module name '{0}' was successfully resolved to '{1}'. ========"},Module_name_0_was_not_resolved:{code:6090,category:e.DiagnosticCategory.Message,key:"Module_name_0_was_not_resolved_6090",message:"======== Module name '{0}' was not resolved. ========"},paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:{code:6091,category:e.DiagnosticCategory.Message,key:"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091",message:"'paths' option is specified, looking for a pattern to match module name '{0}'."},Module_name_0_matched_pattern_1:{code:6092,category:e.DiagnosticCategory.Message,key:"Module_name_0_matched_pattern_1_6092",message:"Module name '{0}', matched pattern '{1}'."},Trying_substitution_0_candidate_module_location_Colon_1:{code:6093,category:e.DiagnosticCategory.Message,key:"Trying_substitution_0_candidate_module_location_Colon_1_6093",message:"Trying substitution '{0}', candidate module location: '{1}'."},Resolving_module_name_0_relative_to_base_url_1_2:{code:6094,category:e.DiagnosticCategory.Message,key:"Resolving_module_name_0_relative_to_base_url_1_2_6094",message:"Resolving module name '{0}' relative to base url '{1}' - '{2}'."},Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:{code:6095,category:e.DiagnosticCategory.Message,key:"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095",message:"Loading module as file / folder, candidate module location '{0}', target file type '{1}'."},File_0_does_not_exist:{code:6096,category:e.DiagnosticCategory.Message,key:"File_0_does_not_exist_6096",message:"File '{0}' does not exist."},File_0_exist_use_it_as_a_name_resolution_result:{code:6097,category:e.DiagnosticCategory.Message,key:"File_0_exist_use_it_as_a_name_resolution_result_6097",message:"File '{0}' exist - use it as a name resolution result."},Loading_module_0_from_node_modules_folder_target_file_type_1:{code:6098,category:e.DiagnosticCategory.Message,key:"Loading_module_0_from_node_modules_folder_target_file_type_1_6098",message:"Loading module '{0}' from 'node_modules' folder, target file type '{1}'."},Found_package_json_at_0:{code:6099,category:e.DiagnosticCategory.Message,key:"Found_package_json_at_0_6099",message:"Found 'package.json' at '{0}'."},package_json_does_not_have_a_0_field:{code:6100,category:e.DiagnosticCategory.Message,key:"package_json_does_not_have_a_0_field_6100",message:"'package.json' does not have a '{0}' field."},package_json_has_0_field_1_that_references_2:{code:6101,category:e.DiagnosticCategory.Message,key:"package_json_has_0_field_1_that_references_2_6101",message:"'package.json' has '{0}' field '{1}' that references '{2}'."},Allow_javascript_files_to_be_compiled:{code:6102,category:e.DiagnosticCategory.Message,key:"Allow_javascript_files_to_be_compiled_6102",message:"Allow javascript files to be compiled."},Option_0_should_have_array_of_strings_as_a_value:{code:6103,category:e.DiagnosticCategory.Error,key:"Option_0_should_have_array_of_strings_as_a_value_6103",message:"Option '{0}' should have array of strings as a value."},Checking_if_0_is_the_longest_matching_prefix_for_1_2:{code:6104,category:e.DiagnosticCategory.Message,key:"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104",message:"Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."},Expected_type_of_0_field_in_package_json_to_be_string_got_1:{code:6105,category:e.DiagnosticCategory.Message,key:"Expected_type_of_0_field_in_package_json_to_be_string_got_1_6105",message:"Expected type of '{0}' field in 'package.json' to be 'string', got '{1}'."},baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:{code:6106,category:e.DiagnosticCategory.Message,key:"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106",message:"'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."},rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:{code:6107,category:e.DiagnosticCategory.Message,key:"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107",message:"'rootDirs' option is set, using it to resolve relative module name '{0}'."},Longest_matching_prefix_for_0_is_1:{code:6108,category:e.DiagnosticCategory.Message,key:"Longest_matching_prefix_for_0_is_1_6108",message:"Longest matching prefix for '{0}' is '{1}'."},Loading_0_from_the_root_dir_1_candidate_location_2:{code:6109,category:e.DiagnosticCategory.Message,key:"Loading_0_from_the_root_dir_1_candidate_location_2_6109",message:"Loading '{0}' from the root dir '{1}', candidate location '{2}'."},Trying_other_entries_in_rootDirs:{code:6110,category:e.DiagnosticCategory.Message,key:"Trying_other_entries_in_rootDirs_6110",message:"Trying other entries in 'rootDirs'."},Module_resolution_using_rootDirs_has_failed:{code:6111,category:e.DiagnosticCategory.Message,key:"Module_resolution_using_rootDirs_has_failed_6111",message:"Module resolution using 'rootDirs' has failed."},Do_not_emit_use_strict_directives_in_module_output:{code:6112,category:e.DiagnosticCategory.Message,key:"Do_not_emit_use_strict_directives_in_module_output_6112",message:"Do not emit 'use strict' directives in module output."},Enable_strict_null_checks:{code:6113,category:e.DiagnosticCategory.Message,key:"Enable_strict_null_checks_6113",message:"Enable strict null checks."},Unknown_option_excludes_Did_you_mean_exclude:{code:6114,category:e.DiagnosticCategory.Error,key:"Unknown_option_excludes_Did_you_mean_exclude_6114",message:"Unknown option 'excludes'. Did you mean 'exclude'?"},Raise_error_on_this_expressions_with_an_implied_any_type:{code:6115,category:e.DiagnosticCategory.Message,key:"Raise_error_on_this_expressions_with_an_implied_any_type_6115",message:"Raise error on 'this' expressions with an implied 'any' type."},Resolving_type_reference_directive_0_containing_file_1_root_directory_2:{code:6116,category:e.DiagnosticCategory.Message,key:"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116",message:"======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"},Resolving_using_primary_search_paths:{code:6117,category:e.DiagnosticCategory.Message,key:"Resolving_using_primary_search_paths_6117",message:"Resolving using primary search paths..."},Resolving_from_node_modules_folder:{code:6118,category:e.DiagnosticCategory.Message,key:"Resolving_from_node_modules_folder_6118",message:"Resolving from node_modules folder..."},Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:{code:6119,category:e.DiagnosticCategory.Message,key:"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119",message:"======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"},Type_reference_directive_0_was_not_resolved:{code:6120,category:e.DiagnosticCategory.Message,key:"Type_reference_directive_0_was_not_resolved_6120",message:"======== Type reference directive '{0}' was not resolved. ========"},Resolving_with_primary_search_path_0:{code:6121,category:e.DiagnosticCategory.Message,key:"Resolving_with_primary_search_path_0_6121",message:"Resolving with primary search path '{0}'."},Root_directory_cannot_be_determined_skipping_primary_search_paths:{code:6122,category:e.DiagnosticCategory.Message,key:"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122",message:"Root directory cannot be determined, skipping primary search paths."},Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:{code:6123,category:e.DiagnosticCategory.Message,key:"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123",message:"======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"},Type_declaration_files_to_be_included_in_compilation:{code:6124,category:e.DiagnosticCategory.Message,key:"Type_declaration_files_to_be_included_in_compilation_6124",message:"Type declaration files to be included in compilation."},Looking_up_in_node_modules_folder_initial_location_0:{code:6125,category:e.DiagnosticCategory.Message,key:"Looking_up_in_node_modules_folder_initial_location_0_6125",message:"Looking up in 'node_modules' folder, initial location '{0}'."},Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:{code:6126,category:e.DiagnosticCategory.Message,key:"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126",message:"Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."},Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:{code:6127,category:e.DiagnosticCategory.Message,key:"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127",message:"======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"},Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:{code:6128,category:e.DiagnosticCategory.Message,key:"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128",message:"======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"},The_config_file_0_found_doesn_t_contain_any_source_files:{code:6129,category:e.DiagnosticCategory.Error,key:"The_config_file_0_found_doesn_t_contain_any_source_files_6129",message:"The config file '{0}' found doesn't contain any source files."},Resolving_real_path_for_0_result_1:{code:6130,category:e.DiagnosticCategory.Message,key:"Resolving_real_path_for_0_result_1_6130",message:"Resolving real path for '{0}', result '{1}'."},Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:{code:6131,category:e.DiagnosticCategory.Error,key:"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131",message:"Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."},File_name_0_has_a_1_extension_stripping_it:{code:6132,category:e.DiagnosticCategory.Message,key:"File_name_0_has_a_1_extension_stripping_it_6132",message:"File name '{0}' has a '{1}' extension - stripping it."},_0_is_declared_but_never_used:{code:6133,category:e.DiagnosticCategory.Error,key:"_0_is_declared_but_never_used_6133",message:"'{0}' is declared but never used."},Report_errors_on_unused_locals:{code:6134,category:e.DiagnosticCategory.Message,key:"Report_errors_on_unused_locals_6134",message:"Report errors on unused locals."},Report_errors_on_unused_parameters:{code:6135,category:e.DiagnosticCategory.Message,key:"Report_errors_on_unused_parameters_6135",message:"Report errors on unused parameters."},The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:{code:6136,category:e.DiagnosticCategory.Message,key:"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136",message:"The maximum dependency depth to search under node_modules and load JavaScript files."},Property_0_is_declared_but_never_used:{code:6138,category:e.DiagnosticCategory.Error,key:"Property_0_is_declared_but_never_used_6138",message:"Property '{0}' is declared but never used."},Import_emit_helpers_from_tslib:{code:6139,category:e.DiagnosticCategory.Message,key:"Import_emit_helpers_from_tslib_6139",message:"Import emit helpers from 'tslib'."},Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:{code:6140,category:e.DiagnosticCategory.Error,key:"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140",message:"Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."},Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:{code:6141,category:e.DiagnosticCategory.Message,key:"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",message:'Parse in strict mode and emit "use strict" for each source file.'},Module_0_was_resolved_to_1_but_jsx_is_not_set:{code:6142,category:e.DiagnosticCategory.Error,key:"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142",message:"Module '{0}' was resolved to '{1}', but '--jsx' is not set."},Module_0_was_resolved_to_1_but_allowJs_is_not_set:{code:6143,category:e.DiagnosticCategory.Error,key:"Module_0_was_resolved_to_1_but_allowJs_is_not_set_6143",message:"Module '{0}' was resolved to '{1}', but '--allowJs' is not set."},Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:{code:6144,category:e.DiagnosticCategory.Message,key:"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144",message:"Module '{0}' was resolved as locally declared ambient module in file '{1}'."},Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:{code:6145,category:e.DiagnosticCategory.Message,key:"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145",message:"Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."},Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:{code:6146,category:e.DiagnosticCategory.Message,key:"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146",message:"Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."},Resolution_for_module_0_was_found_in_cache:{code:6147,category:e.DiagnosticCategory.Message,key:"Resolution_for_module_0_was_found_in_cache_6147",message:"Resolution for module '{0}' was found in cache."},Directory_0_does_not_exist_skipping_all_lookups_in_it:{code:6148,category:e.DiagnosticCategory.Message,key:"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148",message:"Directory '{0}' does not exist, skipping all lookups in it."},Show_diagnostic_information:{code:6149,category:e.DiagnosticCategory.Message,key:"Show_diagnostic_information_6149",message:"Show diagnostic information."},Show_verbose_diagnostic_information:{code:6150,category:e.DiagnosticCategory.Message,key:"Show_verbose_diagnostic_information_6150",message:"Show verbose diagnostic information."},Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:{code:6151,category:e.DiagnosticCategory.Message,key:"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151",message:"Emit a single file with source maps instead of having a separate file."},Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:{code:6152,category:e.DiagnosticCategory.Message,key:"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152",message:"Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."},Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:{code:6153,category:e.DiagnosticCategory.Message,key:"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153",message:"Transpile each file as a separate module (similar to 'ts.transpileModule')."},Print_names_of_generated_files_part_of_the_compilation:{code:6154,category:e.DiagnosticCategory.Message,key:"Print_names_of_generated_files_part_of_the_compilation_6154",message:"Print names of generated files part of the compilation."},Print_names_of_files_part_of_the_compilation:{code:6155,category:e.DiagnosticCategory.Message,key:"Print_names_of_files_part_of_the_compilation_6155",message:"Print names of files part of the compilation."},The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:{code:6156,category:e.DiagnosticCategory.Message,key:"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156",message:"The locale used when displaying messages to the user (e.g. 'en-us')"},Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:{code:6157,category:e.DiagnosticCategory.Message,key:"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157",message:"Do not generate custom helper functions like '__extends' in compiled output."},Do_not_include_the_default_library_file_lib_d_ts:{code:6158,category:e.DiagnosticCategory.Message,key:"Do_not_include_the_default_library_file_lib_d_ts_6158",message:"Do not include the default library file (lib.d.ts)."},Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:{code:6159,category:e.DiagnosticCategory.Message,key:"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159",message:"Do not add triple-slash references or imported modules to the list of compiled files."},Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:{code:6160,category:e.DiagnosticCategory.Message,key:"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160",message:"[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."},List_of_folders_to_include_type_definitions_from:{code:6161,category:e.DiagnosticCategory.Message,key:"List_of_folders_to_include_type_definitions_from_6161",message:"List of folders to include type definitions from."},Disable_size_limitations_on_JavaScript_projects:{code:6162,category:e.DiagnosticCategory.Message,key:"Disable_size_limitations_on_JavaScript_projects_6162",message:"Disable size limitations on JavaScript projects."},The_character_set_of_the_input_files:{code:6163,category:e.DiagnosticCategory.Message,key:"The_character_set_of_the_input_files_6163",message:"The character set of the input files."},Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:{code:6164,category:e.DiagnosticCategory.Message,key:"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6164",message:"Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."},Do_not_truncate_error_messages:{code:6165,category:e.DiagnosticCategory.Message,key:"Do_not_truncate_error_messages_6165",message:"Do not truncate error messages."},Output_directory_for_generated_declaration_files:{code:6166,category:e.DiagnosticCategory.Message,key:"Output_directory_for_generated_declaration_files_6166",message:"Output directory for generated declaration files."},A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:{code:6167,category:e.DiagnosticCategory.Message,key:"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167",message:"A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."},List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:{code:6168,category:e.DiagnosticCategory.Message,key:"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168",message:"List of root folders whose combined content represents the structure of the project at runtime."},Show_all_compiler_options:{code:6169,category:e.DiagnosticCategory.Message,key:"Show_all_compiler_options_6169",message:"Show all compiler options."},Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:{code:6170,category:e.DiagnosticCategory.Message,key:"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170",message:"[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"},Command_line_Options:{code:6171,category:e.DiagnosticCategory.Message,key:"Command_line_Options_6171",message:"Command-line Options"},Basic_Options:{code:6172,category:e.DiagnosticCategory.Message,key:"Basic_Options_6172",message:"Basic Options"},Strict_Type_Checking_Options:{code:6173,category:e.DiagnosticCategory.Message,key:"Strict_Type_Checking_Options_6173",message:"Strict Type-Checking Options"},Module_Resolution_Options:{code:6174,category:e.DiagnosticCategory.Message,key:"Module_Resolution_Options_6174",message:"Module Resolution Options"},Source_Map_Options:{code:6175,category:e.DiagnosticCategory.Message,key:"Source_Map_Options_6175",message:"Source Map Options"},Additional_Checks:{code:6176,category:e.DiagnosticCategory.Message,key:"Additional_Checks_6176",message:"Additional Checks"},Experimental_Options:{code:6177,category:e.DiagnosticCategory.Message,key:"Experimental_Options_6177",message:"Experimental Options"},Advanced_Options:{code:6178,category:e.DiagnosticCategory.Message,key:"Advanced_Options_6178",message:"Advanced Options"},Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:{code:6179,category:e.DiagnosticCategory.Message,key:"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179",message:"Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."},Enable_all_strict_type_checking_options:{code:6180,category:e.DiagnosticCategory.Message,key:"Enable_all_strict_type_checking_options_6180",message:"Enable all strict type-checking options."},List_of_language_service_plugins:{code:6181,category:e.DiagnosticCategory.Message,key:"List_of_language_service_plugins_6181",message:"List of language service plugins."},Scoped_package_detected_looking_in_0:{code:6182,category:e.DiagnosticCategory.Message,key:"Scoped_package_detected_looking_in_0_6182",message:"Scoped package detected, looking in '{0}'"},Variable_0_implicitly_has_an_1_type:{code:7005,category:e.DiagnosticCategory.Error,key:"Variable_0_implicitly_has_an_1_type_7005",message:"Variable '{0}' implicitly has an '{1}' type."},Parameter_0_implicitly_has_an_1_type:{code:7006,category:e.DiagnosticCategory.Error,key:"Parameter_0_implicitly_has_an_1_type_7006",message:"Parameter '{0}' implicitly has an '{1}' type."},Member_0_implicitly_has_an_1_type:{code:7008,category:e.DiagnosticCategory.Error,key:"Member_0_implicitly_has_an_1_type_7008",message:"Member '{0}' implicitly has an '{1}' type."},new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:{code:7009,category:e.DiagnosticCategory.Error,key:"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009",message:"'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."},_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:{code:7010,category:e.DiagnosticCategory.Error,key:"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010",message:"'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."},Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:{code:7011,category:e.DiagnosticCategory.Error,key:"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011",message:"Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."},Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:{code:7013,category:e.DiagnosticCategory.Error,key:"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013",message:"Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."},Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:{code:7015,category:e.DiagnosticCategory.Error,key:"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015",message:"Element implicitly has an 'any' type because index expression is not of type 'number'."},Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:{code:7016,category:e.DiagnosticCategory.Error,key:"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016",message:"Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."},Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:{code:7017,category:e.DiagnosticCategory.Error,key:"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017",message:"Element implicitly has an 'any' type because type '{0}' has no index signature."},Object_literal_s_property_0_implicitly_has_an_1_type:{code:7018,category:e.DiagnosticCategory.Error,key:"Object_literal_s_property_0_implicitly_has_an_1_type_7018",message:"Object literal's property '{0}' implicitly has an '{1}' type."},Rest_parameter_0_implicitly_has_an_any_type:{code:7019,category:e.DiagnosticCategory.Error,key:"Rest_parameter_0_implicitly_has_an_any_type_7019",message:"Rest parameter '{0}' implicitly has an 'any[]' type."},Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:{code:7020,category:e.DiagnosticCategory.Error,key:"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020",message:"Call signature, which lacks return-type annotation, implicitly has an 'any' return type."},_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:{code:7022,category:e.DiagnosticCategory.Error,key:"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022",message:"'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."},_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:{code:7023,category:e.DiagnosticCategory.Error,key:"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023",message:"'{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."},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:{code:7024,category:e.DiagnosticCategory.Error,key:"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024",message:"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."},Generator_implicitly_has_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type:{code:7025,category:e.DiagnosticCategory.Error,key:"Generator_implicitly_has_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_typ_7025",message:"Generator implicitly has type '{0}' because it does not yield any values. Consider supplying a return type."},JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:{code:7026,category:e.DiagnosticCategory.Error,key:"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026",message:"JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."},Unreachable_code_detected:{code:7027,category:e.DiagnosticCategory.Error,key:"Unreachable_code_detected_7027",message:"Unreachable code detected."},Unused_label:{code:7028,category:e.DiagnosticCategory.Error,key:"Unused_label_7028",message:"Unused label."},Fallthrough_case_in_switch:{code:7029,category:e.DiagnosticCategory.Error,key:"Fallthrough_case_in_switch_7029",message:"Fallthrough case in switch."},Not_all_code_paths_return_a_value:{code:7030,category:e.DiagnosticCategory.Error,key:"Not_all_code_paths_return_a_value_7030",message:"Not all code paths return a value."},Binding_element_0_implicitly_has_an_1_type:{code:7031,category:e.DiagnosticCategory.Error,key:"Binding_element_0_implicitly_has_an_1_type_7031",message:"Binding element '{0}' implicitly has an '{1}' type."},Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:{code:7032,category:e.DiagnosticCategory.Error,key:"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032",message:"Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."},Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:{code:7033,category:e.DiagnosticCategory.Error,key:"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033",message:"Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."},Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:{code:7034,category:e.DiagnosticCategory.Error,key:"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034",message:"Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."},You_cannot_rename_this_element:{code:8e3,category:e.DiagnosticCategory.Error,key:"You_cannot_rename_this_element_8000",message:"You cannot rename this element."},You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:{code:8001,category:e.DiagnosticCategory.Error,key:"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001",message:"You cannot rename elements that are defined in the standard TypeScript library."},import_can_only_be_used_in_a_ts_file:{code:8002,category:e.DiagnosticCategory.Error,key:"import_can_only_be_used_in_a_ts_file_8002",message:"'import ... =' can only be used in a .ts file."},export_can_only_be_used_in_a_ts_file:{code:8003,category:e.DiagnosticCategory.Error,key:"export_can_only_be_used_in_a_ts_file_8003",message:"'export=' can only be used in a .ts file."},type_parameter_declarations_can_only_be_used_in_a_ts_file:{code:8004,category:e.DiagnosticCategory.Error,key:"type_parameter_declarations_can_only_be_used_in_a_ts_file_8004",message:"'type parameter declarations' can only be used in a .ts file."},implements_clauses_can_only_be_used_in_a_ts_file:{code:8005,category:e.DiagnosticCategory.Error,key:"implements_clauses_can_only_be_used_in_a_ts_file_8005",message:"'implements clauses' can only be used in a .ts file."},interface_declarations_can_only_be_used_in_a_ts_file:{code:8006,category:e.DiagnosticCategory.Error,key:"interface_declarations_can_only_be_used_in_a_ts_file_8006",message:"'interface declarations' can only be used in a .ts file."},module_declarations_can_only_be_used_in_a_ts_file:{code:8007,category:e.DiagnosticCategory.Error,key:"module_declarations_can_only_be_used_in_a_ts_file_8007",message:"'module declarations' can only be used in a .ts file."},type_aliases_can_only_be_used_in_a_ts_file:{code:8008,category:e.DiagnosticCategory.Error,key:"type_aliases_can_only_be_used_in_a_ts_file_8008",message:"'type aliases' can only be used in a .ts file."},_0_can_only_be_used_in_a_ts_file:{code:8009,category:e.DiagnosticCategory.Error,key:"_0_can_only_be_used_in_a_ts_file_8009",message:"'{0}' can only be used in a .ts file."},types_can_only_be_used_in_a_ts_file:{code:8010,category:e.DiagnosticCategory.Error,key:"types_can_only_be_used_in_a_ts_file_8010",message:"'types' can only be used in a .ts file."},type_arguments_can_only_be_used_in_a_ts_file:{code:8011,category:e.DiagnosticCategory.Error,key:"type_arguments_can_only_be_used_in_a_ts_file_8011",message:"'type arguments' can only be used in a .ts file."},parameter_modifiers_can_only_be_used_in_a_ts_file:{code:8012,category:e.DiagnosticCategory.Error,key:"parameter_modifiers_can_only_be_used_in_a_ts_file_8012",message:"'parameter modifiers' can only be used in a .ts file."},enum_declarations_can_only_be_used_in_a_ts_file:{code:8015,category:e.DiagnosticCategory.Error,key:"enum_declarations_can_only_be_used_in_a_ts_file_8015",message:"'enum declarations' can only be used in a .ts file."},type_assertion_expressions_can_only_be_used_in_a_ts_file:{code:8016,category:e.DiagnosticCategory.Error,key:"type_assertion_expressions_can_only_be_used_in_a_ts_file_8016",message:"'type assertion expressions' can only be used in a .ts file."},Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:{code:9002,category:e.DiagnosticCategory.Error,key:"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002",message:"Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."},class_expressions_are_not_currently_supported:{code:9003,category:e.DiagnosticCategory.Error,key:"class_expressions_are_not_currently_supported_9003",message:"'class' expressions are not currently supported."},Language_service_is_disabled:{code:9004,category:e.DiagnosticCategory.Error,key:"Language_service_is_disabled_9004",message:"Language service is disabled."},JSX_attributes_must_only_be_assigned_a_non_empty_expression:{code:17e3,category:e.DiagnosticCategory.Error,key:"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000",message:"JSX attributes must only be assigned a non-empty 'expression'."},JSX_elements_cannot_have_multiple_attributes_with_the_same_name:{code:17001,category:e.DiagnosticCategory.Error,key:"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001",message:"JSX elements cannot have multiple attributes with the same name."},Expected_corresponding_JSX_closing_tag_for_0:{code:17002,category:e.DiagnosticCategory.Error,key:"Expected_corresponding_JSX_closing_tag_for_0_17002",message:"Expected corresponding JSX closing tag for '{0}'."},JSX_attribute_expected:{code:17003,category:e.DiagnosticCategory.Error,key:"JSX_attribute_expected_17003",message:"JSX attribute expected."},Cannot_use_JSX_unless_the_jsx_flag_is_provided:{code:17004,category:e.DiagnosticCategory.Error,key:"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004",message:"Cannot use JSX unless the '--jsx' flag is provided."},A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:{code:17005,category:e.DiagnosticCategory.Error,key:"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005",message:"A constructor cannot contain a 'super' call when its class extends 'null'."},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:{code:17006,category:e.DiagnosticCategory.Error,key:"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006",message:"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."},A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:{code:17007,category:e.DiagnosticCategory.Error,key:"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007",message:"A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."},JSX_element_0_has_no_corresponding_closing_tag:{code:17008,category:e.DiagnosticCategory.Error,key:"JSX_element_0_has_no_corresponding_closing_tag_17008",message:"JSX element '{0}' has no corresponding closing tag."},super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:{code:17009,category:e.DiagnosticCategory.Error,key:"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009",message:"'super' must be called before accessing 'this' in the constructor of a derived class."},Unknown_type_acquisition_option_0:{code:17010,category:e.DiagnosticCategory.Error,key:"Unknown_type_acquisition_option_0_17010",message:"Unknown type acquisition option '{0}'."},super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:{code:17011,category:e.DiagnosticCategory.Error,key:"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011",message:"'super' must be called before accessing a property of 'super' in the constructor of a derived class."},_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:{code:17012,category:e.DiagnosticCategory.Error,key:"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012",message:"'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"},Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:{code:17013,category:e.DiagnosticCategory.Error,key:"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013",message:"Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."},Circularity_detected_while_resolving_configuration_Colon_0:{code:18e3,category:e.DiagnosticCategory.Error,key:"Circularity_detected_while_resolving_configuration_Colon_0_18000",message:"Circularity detected while resolving configuration: {0}"},A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:{code:18001,category:e.DiagnosticCategory.Error,key:"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001",message:"A path in an 'extends' option must be relative or rooted, but '{0}' is not."},The_files_list_in_config_file_0_is_empty:{code:18002,category:e.DiagnosticCategory.Error,key:"The_files_list_in_config_file_0_is_empty_18002",message:"The 'files' list in config file '{0}' is empty."},No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:{code:18003,category:e.DiagnosticCategory.Error,key:"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003",message:"No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."},Add_missing_super_call:{code:90001,category:e.DiagnosticCategory.Message,key:"Add_missing_super_call_90001",message:"Add missing 'super()' call."},Make_super_call_the_first_statement_in_the_constructor:{code:90002,category:e.DiagnosticCategory.Message,key:"Make_super_call_the_first_statement_in_the_constructor_90002",message:"Make 'super()' call the first statement in the constructor."},Change_extends_to_implements:{code:90003,category:e.DiagnosticCategory.Message,key:"Change_extends_to_implements_90003",message:"Change 'extends' to 'implements'."},Remove_declaration_for_Colon_0:{code:90004,category:e.DiagnosticCategory.Message,key:"Remove_declaration_for_Colon_0_90004",message:"Remove declaration for: '{0}'."},Implement_interface_0:{code:90006,category:e.DiagnosticCategory.Message,key:"Implement_interface_0_90006",message:"Implement interface '{0}'."},Implement_inherited_abstract_class:{code:90007,category:e.DiagnosticCategory.Message,key:"Implement_inherited_abstract_class_90007",message:"Implement inherited abstract class."},Add_this_to_unresolved_variable:{code:90008,category:e.DiagnosticCategory.Message,key:"Add_this_to_unresolved_variable_90008",message:"Add 'this.' to unresolved variable."},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:{code:90009,category:e.DiagnosticCategory.Error,key:"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__90009",message:"Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."},Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:{code:90010,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_90010",message:"Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."},Import_0_from_1:{code:90013,category:e.DiagnosticCategory.Message,key:"Import_0_from_1_90013",message:"Import {0} from {1}."},Change_0_to_1:{code:90014,category:e.DiagnosticCategory.Message,key:"Change_0_to_1_90014",message:"Change {0} to {1}."},Add_0_to_existing_import_declaration_from_1:{code:90015,category:e.DiagnosticCategory.Message,key:"Add_0_to_existing_import_declaration_from_1_90015",message:"Add {0} to existing import declaration from {1}."},Add_declaration_for_missing_property_0:{code:90016,category:e.DiagnosticCategory.Message,key:"Add_declaration_for_missing_property_0_90016",message:"Add declaration for missing property '{0}'."},Add_index_signature_for_missing_property_0:{code:90017,category:e.DiagnosticCategory.Message,key:"Add_index_signature_for_missing_property_0_90017",message:"Add index signature for missing property '{0}'."},Disable_checking_for_this_file:{code:90018,category:e.DiagnosticCategory.Message,key:"Disable_checking_for_this_file_90018",message:"Disable checking for this file."},Ignore_this_error_message:{code:90019,category:e.DiagnosticCategory.Message,key:"Ignore_this_error_message_90019",message:"Ignore this error message."},Initialize_property_0_in_the_constructor:{code:90020,category:e.DiagnosticCategory.Message,key:"Initialize_property_0_in_the_constructor_90020",message:"Initialize property '{0}' in the constructor."},Initialize_static_property_0:{code:90021,category:e.DiagnosticCategory.Message,key:"Initialize_static_property_0_90021",message:"Initialize static property '{0}'."},Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:{code:8017,category:e.DiagnosticCategory.Error,key:"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017",message:"Octal literal types must use ES2015 syntax. Use the syntax '{0}'."},Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:{code:8018,category:e.DiagnosticCategory.Error,key:"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018",message:"Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."},Report_errors_in_js_files:{code:8019,category:e.DiagnosticCategory.Message,key:"Report_errors_in_js_files_8019",message:"Report errors in .js files."}};}(r||(r={}));!function(e){function t(e){return e>=71}function n(e,t){if(e=1?n(e,j):n(e,B)}function a(e,t){return t>=1?n(e,J):n(e,K)}function i(e){return z[e]}function o(e){return L.get(e)}function s(e){for(var t=new Array,n=0,r=0;n127&&m(a)&&(t.push(r),r=n);}}return t.push(r),t}function c(e,t,n){return u(l(e),t,n)}function u(t,n,r){return e.Debug.assert(n>=0&&n=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function m(e){return 10===e||13===e||8232===e||8233===e}function g(e){return e>=48&&e<=57}function y(e){return e>=48&&e<=55}function h(e,t){var n=e.charCodeAt(t);switch(n){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 61:case 62:return!0;case 35:return 0===t;default:return n>127}}function v(t,n,r,a){if(void 0===a&&(a=!1),e.positionIsSynthesized(n))return n;for(;;){var i=t.charCodeAt(n);switch(i){case 13:10===t.charCodeAt(n+1)&&n++;case 10:if(n++,r)return n;continue;case 9:case 11:case 12:case 32:n++;continue;case 47:if(a)break;if(47===t.charCodeAt(n+1)){for(n+=2;n127&&p(i)){n++;continue}}return n}}function b(t,n){if(e.Debug.assert(n>=0),0===n||m(t.charCodeAt(n-1))){var r=t.charCodeAt(n);if(n+U=0&&n127&&p(g)){_&&m(g)&&(l=!0),n++;continue}break e}}return _&&(f=a(s,c,u,l,i,f)),f}function C(e,t,n,r){return T(!1,e,t,!1,n,r)}function E(e,t,n,r){return T(!1,e,t,!0,n,r)}function D(e,t,n,r,a){return T(!0,e,t,!1,n,r,a)}function N(e,t,n,r,a){return T(!0,e,t,!0,n,r,a)}function A(e,t,n,r,a,i){return i||(i=[]),i.push({kind:n,pos:e,end:t,hasTrailingNewLine:r}),i}function w(e,t){return D(e,t,A,void 0,void 0)}function O(e,t){return N(e,t,A,void 0,void 0)}function P(e){return V.test(e)?V.exec(e)[0]:void 0}function F(e,t){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&r(e,t)}function I(e,t){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||e>127&&a(e,t)}function R(e,t){if(!F(e.charCodeAt(0),t))return!1;for(var n=1;n=48&&a<=57)r=16*r+a-48;else if(a>=65&&a<=70)r=16*r+a-65+10;else{if(!(a>=97&&a<=102))break;r=16*r+a-97+10;}ne++,n++;}return n=re){r+=i.substring(a,ne),le=!0,u(e.Diagnostics.Unterminated_string_literal);break}var o=i.charCodeAt(ne);if(o===n){r+=i.substring(a,ne),ne++;break}if(92===o&&t)r+=i.substring(a,ne),r+=E(),a=ne;else{if(m(o)){r+=i.substring(a,ne),le=!0,u(e.Diagnostics.Unterminated_string_literal);break}ne++;}}return r}function C(){for(var t,n=96===i.charCodeAt(ne),r=++ne,a="";;){if(ne>=re){a+=i.substring(r,ne),le=!0,u(e.Diagnostics.Unterminated_template_literal),t=n?13:16;break}var o=i.charCodeAt(ne);if(96===o){a+=i.substring(r,ne),ne++,t=n?13:16;break}if(36===o&&ne+1=re)return u(e.Diagnostics.Unexpected_end_of_text),"";var t=i.charCodeAt(ne);switch(ne++,t){case 48:return"\0";case 98:return"\b";case 116:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:return ne=0?String.fromCharCode(n):(u(e.Diagnostics.Hexadecimal_digit_expected),"")}function N(){var t=h(1),n=!1;return t<0?(u(e.Diagnostics.Hexadecimal_digit_expected),n=!0):t>1114111&&(u(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),n=!0),ne>=re?(u(e.Diagnostics.Unexpected_end_of_text),n=!0):125===i.charCodeAt(ne)?ne++:(u(e.Diagnostics.Unterminated_Unicode_escape_sequence),n=!0),n?"":A(t)}function A(t){if(e.Debug.assert(0<=t&&t<=1114111),t<=65535)return String.fromCharCode(t);var n=Math.floor((t-65536)/1024)+55296,r=(t-65536)%1024+56320;return String.fromCharCode(n,r)}function w(){if(ne+5=0&&I(r,n)))break;e+=i.substring(t,ne),e+=String.fromCharCode(r),t=ne+=6;}}return e+=i.substring(t,ne)}function P(){var e=se.length;if(e>=2&&e<=11){var t=se.charCodeAt(0);if(t>=97&&t<=122&&void 0!==(oe=L.get(se)))return oe}return oe=71}function R(t){e.Debug.assert(2===t||8===t,"Expected either base 2 or base 8");for(var n=0,r=0;;){var a=i.charCodeAt(ne),o=a-48;if(!g(a)||o>=t)break;n=n*t+o,ne++,r++;}return 0===r?-1:n}function M(){for(ae=ne,ue=!1,ce=!1,le=!1,_e=0;;){if(ie=ne,ne>=re)return oe=1;var t=i.charCodeAt(ne);if(35===t&&0===ne&&k(i,ne)){if(ne=S(i,ne),r)continue;return oe=6}switch(t){case 10:case 13:if(ce=!0,r){ne++;continue}return 13===t&&ne+1=0&&F(d,n)?(ne+=6,se=String.fromCharCode(d)+O(),oe=P()):(u(e.Diagnostics.Invalid_character),ne++,oe=0);default:if(F(t,n)){for(ne++;ne=re){le=!0,u(e.Diagnostics.Unterminated_regular_expression_literal);break}var o=i.charCodeAt(t);if(m(o)){le=!0,u(e.Diagnostics.Unterminated_regular_expression_literal);break}if(r)r=!1;else{if(47===o&&!a){t++;break}91===o?a=!0:92===o?r=!0:93===o&&(a=!1);}t++;}for(;t=re)return oe=1;var e=i.charCodeAt(ne);if(60===e)return 47===i.charCodeAt(ne+1)?(ne+=2,oe=28):(ne++,oe=27);if(123===e)return ne++,oe=17;for(var t=0;ne=re)return oe=1;ae=ne,ie=ne;var e=i.charCodeAt(ne);switch(e){case 9:case 11:case 12:case 32:for(;ne=0),ne=t,ae=t,ie=t,oe=0,ce=!1,se=void 0,ue=!1,le=!1;}void 0===a&&(a=0);var ne,re,ae,ie,oe,se,ce,ue,le,_e;return Y(i,s,c),{getStartPos:function(){return ae},getTextPos:function(){return ne},getToken:function(){return oe},getTokenPos:function(){return ie},getTokenText:function(){return i.substring(ie,ne)},getTokenValue:function(){return se},hasExtendedUnicodeEscape:function(){return ue},hasPrecedingLineBreak:function(){return ce},isIdentifier:function(){return 71===oe||oe>107},isReservedWord:function(){return oe>=72&&oe<=107},isUnterminated:function(){return le},getNumericLiteralFlags:function(){return _e},reScanGreaterToken:B,reScanSlashToken:K,reScanTemplateToken:j,scanJsxIdentifier:U,scanJsxAttributeValue:V,reScanJsxToken:J,scanJsxToken:z,scanJSDocToken:q,scan:M,getText:X,setText:Y,setScriptTarget:Z,setLanguageVariant:ee,setOnError:Q,setTextPos:te,tryScan:H,lookAhead:W,scanRange:G}}e.tokenIsIdentifierOrKeyword=t;var L=e.createMapFromTemplate({abstract:117,any:119,as:118,boolean:122,break:72,case:73,catch:74,class:75,continue:77,const:76,constructor:123,debugger:78,declare:124,default:79,delete:80,do:81,else:82,enum:83,export:84,extends:85,false:86,finally:87,for:88,from:140,function:89,get:125,if:90,implements:108,import:91,in:92,instanceof:93,interface:109,is:126,keyof:127,let:110,module:128,namespace:129,never:130,new:94,null:95,number:133,object:134,package:111,private:112,protected:113,public:114,readonly:131,require:132,global:141,return:96,set:135,static:115,string:136,super:97,switch:98,symbol:137,this:99,throw:100,true:101,try:102,type:138,typeof:103,undefined:139,var:104,void:105,while:106,with:107,yield:116,async:120,await:121,of:142,"{":17,"}":18,"(":19,")":20,"[":21,"]":22,".":23,"...":24,";":25,",":26,"<":27,">":29,"<=":30,">=":31,"==":32,"!=":33,"===":34,"!==":35,"=>":36,"+":37,"-":38,"**":40,"*":39,"/":41,"%":42,"++":43,"--":44,"<<":45,"":28,">>":46,">>>":47,"&":48,"|":49,"^":50,"!":51,"~":52,"&&":53,"||":54,"?":55,":":56,"=":58,"+=":59,"-=":60,"*=":61,"**=":62,"/=":63,"%=":64,"<<=":65,">>=":66,">>>=":67,"&=":68,"|=":69,"^=":70,"@":57}),B=[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],K=[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],j=[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],J=[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];e.isUnicodeIdentifierStart=r;var z=function(e){var t=[];return e.forEach(function(e,n){t[e]=n;}),t}(L);e.tokenToString=i,e.stringToToken=o,e.computeLineStarts=s,e.getPositionOfLineAndCharacter=c,e.computePositionOfLineAndCharacter=u,e.getLineStarts=l,e.computeLineAndCharacterOfPosition=_,e.getLineAndCharacterOfPosition=d,e.isWhiteSpaceLike=p,e.isWhiteSpaceSingleLine=f,e.isLineBreak=m,e.isOctalDigit=y,e.couldStartTrivia=h,e.skipTrivia=v;var U="<<<<<<<".length,V=/^#!.*/;e.forEachLeadingCommentRange=C,e.forEachTrailingCommentRange=E,e.reduceEachLeadingCommentRange=D,e.reduceEachTrailingCommentRange=N,e.getLeadingCommentRanges=w,e.getTrailingCommentRanges=O,e.getShebang=P,e.isIdentifierStart=F,e.isIdentifierPart=I,e.isIdentifierText=R,e.createScanner=M;}(r||(r={}));!function(e){function t(e,t){var n=e.declarations;if(n)for(var r=0,a=n;r=0),e.getLineStarts(n)[t]}function h(t){var n=m(t),r=e.getLineAndCharacterOfPosition(n,t.pos);return n.fileName+"("+(r.line+1)+","+(r.character+1)+")"}function v(e){return e.pos}function b(e){return void 0!==e}function x(t,n){e.Debug.assert(t>=0);var r=e.getLineStarts(n),a=t,i=n.text;if(a+1===r.length)return i.length-1;var o=r[a],s=r[a+1]-1;for(e.Debug.assert(e.isLineBreak(i.charCodeAt(s)));o<=s&&e.isLineBreak(i.charCodeAt(s));)s--;return s}function k(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function S(e){return!k(e)}function T(e){return e.kind>=0&&e.kind<=142}function C(t,n,r){return k(t)?t.pos:E(t)?e.skipTrivia((n||m(t)).text,t.pos,!1,!0):r&&t.jsDoc&&t.jsDoc.length>0?C(t.jsDoc[0]):294===t.kind&&t._children.length>0?C(t._children[0],n,r):e.skipTrivia((n||m(t)).text,t.pos)}function E(e){return e.kind>=267&&e.kind<=293}function D(e){return e.kind>=283&&e.kind<=293}function N(t,n){return k(t)||!t.decorators?C(t,n):e.skipTrivia((n||m(t)).text,t.decorators.end)}function A(t,n,r){if(void 0===r&&(r=!1),k(n))return"";var a=t.text;return a.substring(r?n.pos:e.skipTrivia(a,n.pos),n.end)}function w(t,n){return k(n)?"":t.substring(e.skipTrivia(t,n.pos),n.end)}function O(e,t){return void 0===t&&(t=!1),A(m(e),e,t)}function P(t,n){if(!cn(t)&&t.parent)return A(n,t);switch(t.kind){case 9:return F('"',t.text,'"');case 13:return F("`",t.text,"`");case 14:return F("`",t.text,"${");case 15:return F("}",t.text,"${");case 16:return F("}",t.text,"`");case 8:return t.text}e.Debug.fail("Literal kind '"+t.kind+"' not accounted for.");}function F(e,t,n){return e+Sn(vn(t))+n}function I(e){return e.length>=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e}function R(t){return e.getBaseFileName(t).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function M(t){return 0!=(3&e.getCombinedNodeFlags(t))||L(t)}function L(e){var t=on$$1(e);return 226===t.kind&&260===t.parent.kind}function B(e){return e&&233===e.kind&&(9===e.name.kind||z(e))}function K(e){return j(e.valueDeclaration)}function j(e){return e&&233===e.kind&&!e.body}function J(e){return 265===e.kind||233===e.kind||ke(e)}function z(e){return!!(512&e.flags)}function U(t){if(!t||!B(t))return!1;switch(t.parent.kind){case 265:return e.isExternalModule(t.parent);case 234:return B(t.parent.parent)&&!e.isExternalModule(t.parent.parent.parent)}return!1}function V(t,n){return e.isExternalModule(t)||n.isolatedModules}function q(e,t){switch(e.kind){case 265:case 235:case 260:case 233:case 214:case 215:case 216:case 152:case 151:case 153:case 154:case 228:case 186:case 187:return!0;case 207:return t&&!ke(t)}return!1}function $(e){for(var t=e.parent;t;){if(q(t,t.parent))return t;t=t.parent;}}function G(e){return 0===i(e)?"(Missing)":O(e)}function W(e){return e.declaration?G(e.declaration.parameters[0].name):void 0}function H(e){switch(e.kind){case 71:return e.text;case 9:case 8:return e.text;case 144:if(Ht(e.expression))return e.expression.text}}function X(t){switch(t.kind){case 71:return 0===i(t)?e.unescapeIdentifier(t.text):O(t);case 143:return X(t.left)+"."+X(t.right);case 179:return X(t.expression)+"."+X(t.name)}}function Y(e,t,n,r,a){return Q(m(e),e,t,n,r,a)}function Q(t,n,r,a,i,o){var s=ne(t,n);return e.createFileDiagnostic(t,s.start,s.length,r,a,i,o)}function Z(e,t){var n=m(e),r=ne(n,e);return{file:n,start:r.start,length:r.length,code:t.code,category:t.category,messageText:t.next?t:t.messageText}}function ee(t,n){var r=e.createScanner(t.languageVersion,!0,t.languageVariant,t.text,void 0,n);r.scan();var a=r.getTokenPos();return e.createTextSpanFromBounds(a,r.getTextPos())}function te(t,n){var r=e.skipTrivia(t.text,n.pos);if(n.body&&207===n.body.kind){var a=e.getLineAndCharacterOfPosition(t,n.body.pos).line;if(a=0;case 183:return!1}}return!1}function fe(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent;}return!1}function me(e){return 192===e.kind}function ge(t,n){function r(t){switch(t.kind){case 219:return n(t);case 235:case 207:case 211:case 212:case 213:case 214:case 215:case 216:case 220:case 221:case 257:case 258:case 222:case 224:case 260:return e.forEachChild(t,r)}}return r(t)}function ye(t,n){function r(t){switch(t.kind){case 197:n(t);var a=t.expression;return void(a&&r(a));case 232:case 230:case 233:case 231:case 229:case 199:return;default:if(ke(t)){var i=t.name;if(i&&144===i.kind)return void r(i.expression)}else pe(t)||e.forEachChild(t,r);}}return r(t)}function he(t){return t&&164===t.kind?t.elementType:t&&159===t.kind?e.singleOrUndefined(t.typeArguments):void 0}function ve(e){if(e)switch(e.kind){case 176:case 264:case 146:case 261:case 149:case 148:case 262:case 226:return!0}return!1}function be(e){return e&&(153===e.kind||154===e.kind)}function xe(e){return e&&(229===e.kind||199===e.kind)}function ke(e){return e&&Se(e.kind)}function Se(e){switch(e){case 152:case 186:case 228:case 187:case 151:case 150:case 153:case 154:case 155:case 156:case 157:case 160:case 161:return!0}return!1}function Te(e){switch(e.kind){case 151:case 150:case 152:case 153:case 154:case 228:case 186:return!0}return!1}function Ce(e,t){switch(e.kind){case 214:case 215:case 216:case 212:case 213:return!0;case 222:return t&&Ce(e.statement,t)}return!1}function Ee(e,t){for(;;){if(t&&t(e),222!==e.statement.kind)return e.statement;e=e.statement;}}function De(e){return e&&207===e.kind&&ke(e.parent)}function Ne(e){return e&&151===e.kind&&178===e.parent.kind}function Ae(e){return 151===e.kind&&(178===e.parent.kind||199===e.parent.kind)}function we(e){return e&&1===e.kind}function Oe(e){return e&&0===e.kind}function Pe(e){for(;;)if(!(e=e.parent)||ke(e))return e}function Fe(e){for(;;)if(!(e=e.parent)||xe(e))return e}function Ie(e,t){for(;;){if(!(e=e.parent))return;switch(e.kind){case 144:if(xe(e.parent.parent))return e;e=e.parent;break;case 147:146===e.parent.kind&&ba(e.parent.parent)?e=e.parent.parent:ba(e.parent)&&(e=e.parent);break;case 187:if(!t)continue;case 228:case 186:case 233:case 149:case 148:case 151:case 150:case 152:case 153:case 154:case 155:case 156:case 157:case 232:case 265:return e}}}function Re(e){var t=Ie(e,!1);if(t)switch(t.kind){case 152:case 228:case 186:return t}}function Me(e,t){for(;;){if(!(e=e.parent))return e;switch(e.kind){case 144:e=e.parent;break;case 228:case 186:case 187:if(!t)continue;case 149:case 148:case 151:case 150:case 152:case 153:case 154:return e;case 147:146===e.parent.kind&&ba(e.parent.parent)?e=e.parent.parent:ba(e.parent)&&(e=e.parent);}}}function Le(e){if(186===e.kind||187===e.kind){for(var t=e,n=e.parent;185===n.kind;)t=n,n=n.parent;if(181===n.kind&&n.expression===t)return n}}function Be(e){var t=e.kind;return(179===t||180===t)&&97===e.expression.kind}function Ke(e){switch(e.kind){case 159:case 277:return e.typeName;case 201:return mr(e.expression)?e.expression:void 0;case 71:case 143:return e}}function je(e){switch(e.kind){case 251:case 250:case 181:case 182:case 183:case 147:return!0;default:return!1}}function Je(e){return 183===e.kind?e.tag:Li(e)?e.tagName:e.expression}function ze(e){switch(e.kind){case 229:return!0;case 149:return 229===e.parent.kind;case 153:case 154:case 151:return void 0!==e.body&&229===e.parent.kind;case 146:return void 0!==e.parent.body&&(152===e.parent.kind||151===e.parent.kind||154===e.parent.kind)&&229===e.parent.parent.kind}return!1}function Ue(e){return void 0!==e.decorators&&ze(e)}function Ve(e){return Ue(e)||qe(e)}function qe(t){switch(t.kind){case 229:return e.forEach(t.members,Ve);case 151:case 154:return e.forEach(t.parameters,Ue)}}function $e(e){var t=e.parent;return(251===t.kind||250===t.kind||252===t.kind)&&t.tagName===e}function Ge(e){switch(e.kind){case 99:case 97:case 95:case 101:case 86:case 12:case 177:case 178:case 179:case 180:case 181:case 182:case 183:case 202:case 184:case 203:case 185:case 186:case 199:case 187:case 190:case 188:case 189:case 192:case 193:case 194:case 195:case 198:case 196:case 13:case 200:case 249:case 250:case 197:case 191:case 204:return!0;case 143:for(;143===e.parent.kind;)e=e.parent;return 162===e.parent.kind||$e(e);case 71:if(162===e.parent.kind||$e(e))return!0;case 8:case 9:case 99:var t=e.parent;switch(t.kind){case 226:case 146:case 149:case 148:case 264:case 261:case 176:return t.initializer===e;case 210:case 211:case 212:case 213:case 219:case 220:case 221:case 257:case 223:case 221:return t.expression===e;case 214:var n=t;return n.initializer===e&&227!==n.initializer.kind||n.condition===e||n.incrementor===e;case 215:case 216:var r=t;return r.initializer===e&&227!==r.initializer.kind||r.expression===e;case 184:case 202:case 205:case 144:return e===t.expression;case 147:case 256:case 255:case 263:return!0;case 201:return t.expression===e&&pr(t);default:if(Ge(t))return!0}}return!1}function We(t,n){var r=e.getModuleInstanceState(t);return 1===r||n&&2===r}function He(e){return 237===e.kind&&248===e.moduleReference.kind}function Xe(t){return e.Debug.assert(He(t)),t.moduleReference.expression}function Ye(e){return 237===e.kind&&248!==e.moduleReference.kind}function Qe(e){return Ze(e)}function Ze(e){return e&&!!(65536&e.flags)}function et(e,t){if(181!==e.kind)return!1;var n=e,r=n.expression,a=n.arguments;if(71!==r.kind||"require"!==r.text)return!1;if(1!==a.length)return!1;var i=a[0];return!t||9===i.kind||13===i.kind}function tt(e){return 39===e||34===e}function nt(e){if(e.valueDeclaration&&226===e.valueDeclaration.kind){var t=e.valueDeclaration;return t.initializer&&(186===t.initializer.kind||199===t.initializer.kind)}return!1}function rt(e){for(;ur(e,!0);)e=e.right;return e}function at(e){return oa(e)&&"exports"===e.text}function it(e){return Ma(e)&&oa(e.expression)&&"module"===e.expression.text&&"exports"===e.name.text}function ot(e){if(!Ze(e))return 0;var t=e;if(58!==t.operatorToken.kind||179!==t.left.kind)return 0;var n=t.left;if(71===n.expression.kind){var r=n.expression;return"exports"===r.text?1:"module"===r.text&&"exports"===n.name.text?2:5}if(99===n.expression.kind)return 4;if(179===n.expression.kind){var a=n.expression;if(71===a.expression.kind){if("module"===a.expression.text&&"exports"===a.name.text)return 1;if("prototype"===a.name.text)return 3}}return 0}function st(e){if(238===e.kind)return e.moduleSpecifier;if(237===e.kind){var t=e.moduleReference;if(248===t.kind)return t.expression}return 244===e.kind?e.moduleSpecifier:233===e.kind&&9===e.name.kind?e.name:void 0}function ct(e){if(237===e.kind)return e;var t=e.importClause;return t&&t.namedBindings&&240===t.namedBindings.kind?t.namedBindings:void 0}function ut(e){return 238===e.kind&&e.importClause&&!!e.importClause.name}function lt(e){if(e)switch(e.kind){case 146:case 151:case 150:case 262:case 261:case 149:case 148:return void 0!==e.questionToken}return!1}function _t(e){return 279===e.kind&&e.parameters.length>0&&281===e.parameters[0].type.kind}function dt(t){return e.map(gt(t),function(e){return e.comment})}function pt(e){var t=ft(e,286);return t&&t.length>0}function ft(t,n){var r=gt(t);if(r){for(var a=[],i=0,o=r;i0?t.types[0]:void 0}function Bt(e){var t=jt(e.heritageClauses,108);return t?t.types:void 0}function Kt(e){var t=jt(e.heritageClauses,85);return t?t.types:void 0}function jt(e,t){if(e)for(var n=0,r=e;n/gim;if(/^\/\/\/\s*1&&(_=_+r.length-1,d=c.length-t.length+e.lastOrUndefined(r));}}function o(){l||(_++,d=(c+=t).length,l=!0);}function s(e,t){n(w(e,t));}var c,u,l,_,d;return r(),{write:n,rawWrite:a,writeTextOfNode:s,writeLiteral:i,writeLine:o,increaseIndent:function(){u++;},decreaseIndent:function(){u--;},getIndent:function(){return u},getTextPos:function(){return c.length},getLine:function(){return _+1},getColumn:function(){return l?u*Cn()+1:c.length-d+1},getText:function(){return c},isAtStartOfLine:function(){return l},reset:r}}function Dn(e,t){return t.moduleName||An(e,t.fileName)}function Nn(e,t,n){var r=t.getExternalModuleFileFromDeclaration(n);if(r&&!ae(r))return Dn(e,r)}function An(t,n){var r=function(e){return t.getCanonicalFileName(e)},a=e.toPath(t.getCommonSourceDirectory(),t.getCurrentDirectory(),r),i=e.getNormalizedAbsolutePath(n,t.getCurrentDirectory()),o=e.getRelativePathToDirectoryOrUrl(a,i,a,r,!1);return e.removeFileExtension(o)}function wn(t,n,r){var a=n.getCompilerOptions();return(a.outDir?e.removeFileExtension(Ln(t,n,a.outDir)):e.removeFileExtension(t.fileName))+r}function On(t,n){var r=n.getCompilerOptions(),a=r.declarationDir||r.outDir,i=a?Ln(t,n,a):t.fileName;return e.removeFileExtension(i)+".d.ts"}function Pn(t,n){var r=t.getCompilerOptions(),a=function(e){return t.isSourceFileFromExternalLibrary(e)};if(r.outFile||r.out){var i=e.getEmitModuleKind(r),o=i===e.ModuleKind.AMD||i===e.ModuleKind.System;return e.filter(t.getSourceFiles(),function(t){return(o||!e.isExternalModule(t))&&Fn(t,r,a)})}var s=void 0===n?t.getSourceFiles():[n];return e.filter(s,function(e){return Fn(e,r,a)})}function Fn(e,t,n){return!(t.noEmitForJsFiles&&Qe(e)||ae(e)||n(e))}function In(t,n,r,a){var i=e.isArray(r)?r:Pn(t,r),o=t.getCompilerOptions();if(o.outFile||o.out)i.length&&n({jsFilePath:l=o.outFile||o.out,sourceMapFilePath:_=Rn(l,o),declarationFilePath:d=o.declaration?e.removeFileExtension(l)+".d.ts":""},e.createBundle(i),a);else for(var s=0,c=i;s0){var t=2===e.parameters.length&&Vn(e.parameters[0]);return e.parameters[t?1:0].type}}function Un(e){if(e.parameters.length){var t=e.parameters[0];if(Vn(t))return t}}function Vn(e){return qn(e.name)}function qn(e){return e&&71===e.kind&&$n(e)}function $n(e){return 99===e.originalKeywordKind}function Gn(t,n){var r,a,i,o;return Xt(n)?(r=n,153===n.kind?i=n:154===n.kind?o=n:e.Debug.fail("Accessor has wrong kind")):e.forEach(t,function(e){153!==e.kind&&154!==e.kind||rr(e,32)!==rr(n,32)||Zt(e.name)===Zt(n.name)&&(r?a||(a=e):r=e,153!==e.kind||i||(i=e),154!==e.kind||o||(o=e));}),{firstAccessor:r,secondAccessor:a,getAccessor:i,setAccessor:o}}function Wn(e,t,n,r){Hn(e,t,n.pos,r);}function Hn(e,t,n,r){r&&r.length&&n!==r[0].pos&&jn(e,n)!==jn(e,r[0].pos)&&t.writeLine();}function Xn(e,t,n,r){n!==r&&jn(e,n)!==jn(e,r)&&t.writeLine();}function Yn(e,t,n,r,a,i,o,s){if(r&&r.length>0){a&&n.write(" ");for(var c=!1,u=0,l=r;u=g+2)break}_.push(m),d=m;}if(_.length){var g=jn(n,e.lastOrUndefined(_).end);jn(n,e.skipTrivia(t,i.pos))>=g+2&&(Wn(n,r,i,u),Yn(t,n,r,_,!1,!0,o,a),l={nodePos:i.pos,detachedCommentEndPos:e.lastOrUndefined(_).end});}}return l}function Zn(t,n,r,a,i,o){if(42===t.charCodeAt(a+1))for(var s=e.computeLineAndCharacterOfPosition(n,a),c=n.length,u=void 0,l=a,_=s.line;l0){var f=p%Cn(),m=Tn((p-f)/Cn());for(r.rawWrite(m);f;)r.rawWrite(" "),f--;}else r.rawWrite("");}er(t,i,r,o,l,d),l=d;}else r.write(t.substring(a,i));}function er(e,t,n,r,a,i){var o=Math.min(t,i-1),s=e.substring(a,o).replace(/^\s+|\s+$/g,"");s?(n.write(s),o!==t&&n.writeLine()):n.writeLiteral(r);}function tr(t,n,r){for(var a=0;n=58&&e<=70}function cr(e){if(201===e.kind&&85===e.parent.token&&xe(e.parent.parent))return e.parent.parent}function ur(e,t){return Ka(e)&&(t?58===e.operatorToken.kind:sr(e.operatorToken.kind))&&$a(e.left)}function lr(e){if(ur(e,!0)){var t=e.left.kind;return 178===t||177===t}return!1}function _r(e){return dr(e.expression)}function dr(e){return 71===e.kind||!!Ma(e)&&dr(e.expression)}function pr(e){return void 0!==cr(e)}function fr(e){return 201===e.kind&&mr(e.expression)&&e.parent&&108===e.parent.token&&e.parent.parent&&xe(e.parent.parent)}function mr(e){return 71===e.kind||179===e.kind&&mr(e.expression)}function gr(e){return 143===e.parent.kind&&e.parent.right===e||179===e.parent.kind&&e.parent.name===e}function yr(e){return 178===e.kind&&0===e.properties.length}function hr(e){return 177===e.kind&&0===e.elements.length}function vr(e){return br(e)?e.valueDeclaration.localSymbol:void 0}function br(e){return e&&e.valueDeclaration&&rr(e.valueDeclaration,512)}function xr(t){return e.find(e.supportedTypescriptExtensionsForExtractExtension,function(n){return e.fileExtensionIs(t,n)})}function kr(t){for(var n=[],r=t.length,a=0;a>6|192),n.push(63&i|128)):i<65536?(n.push(i>>12|224),n.push(i>>6&63|128),n.push(63&i|128)):i<131072?(n.push(i>>18|240),n.push(i>>12&63|128),n.push(i>>6&63|128),n.push(63&i|128)):e.Debug.assert(!1,"Unexpected code point");}return n}function Sr(e){for(var t,n,r,a,i="",o=kr(e),s=0,c=o.length;s>2,n=(3&o[s])<<4|o[s+1]>>4,r=(15&o[s+1])<<2|o[s+2]>>6,a=63&o[s+2],s+1>=c?r=a=64:s+2>=c&&(a=64),i+=Yi.charAt(t)+Yi.charAt(n)+Yi.charAt(r)+Yi.charAt(a),s+=3;return i}function Tr(t){return 0===t.newLine?Qi:1===t.newLine?Zi:e.sys?e.sys.newLine:Qi}function Cr(e){return Er(e,0)}function Er(e,t){if(t<=5){var n=e.kind;if(9===n||8===n||12===n||13===n||71===n||99===n||97===n||101===n||86===n||95===n)return!0;if(179===n)return Er(e.expression,t+1);if(180===n)return Er(e.expression,t+1)&&Er(e.argumentExpression,t+1);if(192===n||193===n)return Er(e.operand,t+1);if(194===n)return 40!==e.operatorToken.kind&&Er(e.left,t+1)&&Er(e.right,t+1);if(195===n)return Er(e.condition,t+1)&&Er(e.whenTrue,t+1)&&Er(e.whenFalse,t+1);if(190===n||189===n||188===n)return Er(e.expression,t+1);if(177===n)return 0===e.elements.length;if(178===n)return 0===e.properties.length;if(181===n){if(!Er(e.expression,t+1))return!1;for(var r=0,a=e.arguments;r0?Fr(e,e.decorators.end):e}function Rr(e){return e.modifiers&&e.modifiers.length>0?Fr(e,e.modifiers.end):Ir(e)}function Mr(e){return e.pos===e.end}function Lr(e){return Mr(e)?e:Pr(e,e.pos)}function Br(e){return Mr(e)?e:Fr(e,e.end)}function Kr(t,n){return Or(t,t+e.tokenToString(n).length)}function jr(e,t){return Ur(e,e,t)}function Jr(e,t,n){return qr($r(e,n),$r(t,n),n)}function zr(e,t,n){return qr(e.end,t.end,n)}function Ur(e,t,n){return qr($r(e,n),t.end,n)}function Vr(e,t,n){return qr(e.end,$r(t,n),n)}function qr(e,t,n){return e===t||Kn(n,e)===Kn(n,t)}function $r(t,n){return e.positionIsSynthesized(t.pos)?-1:e.skipTrivia(n.text,t.pos)}function Gr(t){var n=e.getParseTreeNode(t);if(n)switch(n.parent.kind){case 232:case 233:return n===n.parent.name}return!1}function Wr(t){return e.filter(t.declarations,Hr)}function Hr(e){return void 0!==e.initializer}function Xr(e){if(e.symbol)for(var t=0,n=e.symbol.declarations;t0}function ua(e){return rn(e.kind)}function la(e){return 143===e.kind}function _a(e){return 144===e.kind}function da(e){var t=e.kind;return 143===t||71===t}function pa(e){var t=e.kind;return 71===t||9===t||8===t||144===t}function fa(e){var t=e.kind;return 71===t||9===t}function ma(e){var t=e.kind;return 71===t||174===t||175===t}function ga(e){return 145===e.kind}function ya(e){return 146===e.kind}function ha(e){return 147===e.kind}function va(e){return 151===e.kind}function ba(e){var t=e.kind;return 152===t||149===t||151===t||153===t||154===t||157===t||206===t}function xa(e){var t=e.kind;return 261===t||262===t||263===t||151===t||153===t||154===t||247===t}function ka(e){return e>=158&&e<=173||119===e||133===e||134===e||122===e||136===e||137===e||99===e||105===e||139===e||95===e||130===e||201===e}function Sa(e){return ka(e.kind)}function Ta(e){return 175===e.kind}function Ca(e){return 174===e.kind}function Ea(e){if(e){var t=e.kind;return 175===t||174===t}return!1}function Da(e){var t=e.kind;return 177===t||178===t}function Na(e){return 176===e.kind}function Aa(e){var t=e.kind;return 176===t||200===t}function wa(e){switch(e.kind){case 226:case 146:case 176:return!0}return!1}function Oa(e){return Pa(e)||Fa(e)}function Pa(e){switch(e.kind){case 174:case 178:return!0}return!1}function Fa(e){switch(e.kind){case 175:case 177:return!0}return!1}function Ia(e){return 177===e.kind}function Ra(e){return 178===e.kind}function Ma(e){return 179===e.kind}function La(e){var t=e.kind;return 179===t||143===t}function Ba(e){return 180===e.kind}function Ka(e){return 194===e.kind}function ja(e){return 195===e.kind}function Ja(e){return 181===e.kind}function za(e){var t=e.kind;return 196===t||13===t}function Ua(e){return 198===e.kind}function Va(e){return 201===e.kind}function qa(e){return 179===e||180===e||182===e||181===e||249===e||250===e||183===e||177===e||185===e||178===e||199===e||186===e||71===e||12===e||8===e||9===e||13===e||196===e||86===e||95===e||99===e||101===e||97===e||203===e||204===e}function $a(t){return qa(e.skipPartiallyEmittedExpressions(t).kind)}function Ga(e){return 192===e||193===e||188===e||189===e||190===e||191===e||184===e||qa(e)}function Wa(t){return Ga(e.skipPartiallyEmittedExpressions(t).kind)}function Ha(e){return 195===e||197===e||187===e||194===e||198===e||202===e||200===e||Ga(e)}function Xa(t){return Ha(e.skipPartiallyEmittedExpressions(t).kind)}function Ya(e){var t=e.kind;return 184===t||202===t}function Qa(e){return 296===e.kind}function Za(e){return 295===e.kind}function ei(e){return Za(e)||Qa(e)}function ti(e){return 200===e.kind}function ni(e){return 205===e.kind}function ri(e){return 207===e.kind}function ai(e){return ri(e)||Xa(e)}function ii(e){return ri(e)}function oi(e){return ci(e)||Xa(e)}function si(e){return 226===e.kind}function ci(e){return 227===e.kind}function ui(e){return 235===e.kind}function li(e){var t=e.kind;return 234===t||233===t||71===t}function _i(e){var t=e.kind;return 234===t||233===t}function di(e){var t=e.kind;return 71===t||233===t}function pi(e){return 237===e.kind}function fi(e){return 239===e.kind}function mi(e){var t=e.kind;return 241===t||240===t}function gi(e){return 242===e.kind}function yi(e){return 245===e.kind}function hi(e){return 246===e.kind}function vi(e){return 233===e.kind||232===e.kind}function bi(e){return 187===e||176===e||229===e||199===e||152===e||232===e||264===e||246===e||228===e||186===e||153===e||239===e||237===e||242===e||230===e||253===e||151===e||150===e||233===e||236===e||240===e||146===e||261===e||149===e||148===e||154===e||262===e||231===e||145===e||226===e||290===e}function xi(e){return 228===e||247===e||229===e||230===e||231===e||232===e||233===e||238===e||237===e||244===e||243===e||236===e}function ki(e){return 218===e||217===e||225===e||212===e||210===e||209===e||215===e||216===e||214===e||211===e||222===e||219===e||221===e||223===e||224===e||208===e||213===e||220===e||295===e||298===e||297===e}function Si(e){return bi(e.kind)}function Ti(e){return xi(e.kind)}function Ci(e){return ki(e.kind)}function Ei(e){var t=e.kind;return ki(t)||xi(t)||207===t}function Di(e){var t=e.kind;return 248===t||143===t||71===t}function Ni(e){return 251===e.kind}function Ai(e){return 252===e.kind}function wi(e){var t=e.kind;return 99===t||71===t||179===t}function Oi(e){var t=e.kind;return 249===t||256===t||250===t||10===t}function Pi(e){return 254===e.kind}function Fi(e){var t=e.kind;return 253===t||255===t}function Ii(e){return 255===e.kind}function Ri(e){return 253===e.kind}function Mi(e){var t=e.kind;return 9===t||256===t}function Li(e){var t=e.kind;return 251===t||250===t}function Bi(e){var t=e.kind;return 257===t||258===t}function Ki(e){return 259===e.kind}function ji(e){return 260===e.kind}function Ji(e){return 261===e.kind}function zi(e){return 262===e.kind}function Ui(e){return 264===e.kind}function Vi(e){return 265===e.kind}function qi(e){return e.watch&&e.hasOwnProperty("watch")}e.externalHelpersModuleNameText="tslib",e.getDeclarationOfKind=t,e.findDeclaration=n;var $i=[];e.getSingleLineStringWriter=r,e.releaseStringWriter=a,e.getFullWidth=i,e.hasResolvedModule=o,e.getResolvedModule=s,e.setResolvedModule=c,e.setResolvedTypeReferenceDirective=u,e.moduleResolutionIsEqualTo=l,e.typeDirectiveIsEqualTo=_,e.hasChangesInResolutions=d,e.containsParseError=p,e.getSourceFileOfNode=m,e.isStatementWithLocals=g,e.getStartPositionOfLine=y,e.nodePosToString=h,e.getStartPosOfNode=v,e.isDefined=b,e.getEndLinePosition=x,e.nodeIsMissing=k,e.nodeIsPresent=S,e.isToken=T,e.getTokenPosOfNode=C,e.isJSDocNode=E,e.isJSDocTag=D,e.getNonDecoratorTokenPosOfNode=N,e.getSourceTextOfNodeFromSourceFile=A,e.getTextOfNodeFromSourceText=w,e.getTextOfNode=O,e.getLiteralText=P,e.escapeIdentifier=I,e.makeIdentifierFromModuleName=R,e.isBlockOrCatchScoped=M,e.isCatchClauseVariableDeclarationOrBindingElement=L,e.isAmbientModule=B,e.isShorthandAmbientModuleSymbol=K,e.isBlockScopedContainerTopLevel=J,e.isGlobalScopeAugmentation=z,e.isExternalModuleAugmentation=U,e.isEffectiveExternalModule=V,e.isBlockScope=q,e.getEnclosingBlockScopeContainer=$,e.declarationNameToString=G,e.getNameFromIndexInfo=W,e.getTextOfPropertyName=H,e.entityNameToString=X,e.createDiagnosticForNode=Y,e.createDiagnosticForNodeInSourceFile=Q,e.createDiagnosticForNodeFromMessageChain=Z,e.getSpanOfTokenAtPosition=ee,e.getErrorSpanForNode=ne,e.isExternalOrCommonJsModule=re,e.isDeclarationFile=ae,e.isConstEnumDeclaration=ie,e.isConst=oe,e.isLet=se,e.isSuperCall=ce,e.isPrologueDirective=ue,e.getLeadingCommentRangesOfNode=le,e.getLeadingCommentRangesOfNodeFromText=_e,e.getJSDocCommentRanges=de,e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/,e.fullTripleSlashReferenceTypeReferenceDirectiveRegEx=/^(\/\/\/\s*/,e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/,e.isPartOfTypeNode=pe,e.isChildOfNodeWithKind=fe,e.isPrefixUnaryExpression=me,e.forEachReturnStatement=ge,e.forEachYieldExpression=ye,e.getRestParameterElementType=he,e.isVariableLike=ve,e.isAccessor=be,e.isClassLike=xe,e.isFunctionLike=ke,e.isFunctionLikeKind=Se,e.introducesArgumentsExoticObject=Te,e.isIterationStatement=Ce,e.unwrapInnermostStatementOfLabel=Ee,e.isFunctionBlock=De,e.isObjectLiteralMethod=Ne,e.isObjectLiteralOrClassExpressionMethod=Ae,e.isIdentifierTypePredicate=we,e.isThisTypePredicate=Oe,e.getContainingFunction=Pe,e.getContainingClass=Fe,e.getThisContainer=Ie,e.getNewTargetContainer=Re,e.getSuperContainer=Me,e.getImmediatelyInvokedFunctionExpression=Le,e.isSuperProperty=Be,e.getEntityNameFromTypeNode=Ke,e.isCallLikeExpression=je,e.getInvokedExpression=Je,e.nodeCanBeDecorated=ze,e.nodeIsDecorated=Ue,e.nodeOrChildIsDecorated=Ve,e.childIsDecorated=qe,e.isJSXTagName=$e,e.isPartOfExpression=Ge,e.isInstantiatedModule=We,e.isExternalModuleImportEqualsDeclaration=He,e.getExternalModuleImportEqualsDeclarationExpression=Xe,e.isInternalModuleImportEqualsDeclaration=Ye,e.isSourceFileJavaScript=Qe,e.isInJavaScriptFile=Ze,e.isRequireCall=et,e.isSingleOrDoubleQuote=tt,e.isDeclarationOfFunctionOrClassExpression=nt,e.getRightMostAssignedExpression=rt,e.isExportsIdentifier=at,e.isModuleExportsPropertyAccessExpression=it,e.getSpecialPropertyAssignmentKind=ot,e.getExternalModuleName=st,e.getNamespaceDeclarationNode=ct,e.isDefaultImport=ut,e.hasQuestionToken=lt,e.isJSDocConstructSignature=_t,e.getCommentsFromJSDoc=dt,e.hasJSDocParameterTags=pt,e.getJSDocs=gt,e.getJSDocParameterTags=yt,e.getJSDocType=ht,e.getJSDocAugmentsTag=vt,e.getJSDocReturnTag=bt,e.getJSDocTemplateTag=xt,e.hasRestParameter=kt,e.hasDeclaredRestParameter=St,e.isRestParameter=Tt,e.isDeclaredRestParam=Ct;!function(e){e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound";}(e.AssignmentKind||(e.AssignmentKind={})),e.getAssignmentTargetKind=Et,e.isAssignmentTarget=Dt,e.isDeleteTarget=Nt,e.isNodeDescendantOf=At,e.isInAmbientContext=wt,e.isDeclarationName=Ot,e.getNameOfDeclaration=Pt,e.isLiteralComputedPropertyDeclarationName=Ft,e.isIdentifierName=It,e.isAliasSymbolDeclaration=Rt,e.exportAssignmentIsAlias=Mt,e.getClassExtendsHeritageClauseElement=Lt,e.getClassImplementsHeritageClauseElements=Bt,e.getInterfaceBaseTypeNodes=Kt,e.getHeritageClause=jt,e.tryResolveScriptReference=Jt,e.getAncestor=zt,e.getFileReferenceFromReferencePath=Ut,e.isKeyword=Vt,e.isTrivia=qt;!function(e){e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.Invalid=4]="Invalid",e[e.AsyncGenerator=3]="AsyncGenerator";}(e.FunctionFlags||(e.FunctionFlags={})),e.getFunctionFlags=$t,e.isAsyncFunction=Gt,e.isNumericLiteral=Wt,e.isStringOrNumericLiteral=Ht,e.hasDynamicName=Xt,e.isDynamicName=Yt,e.isWellKnownSymbolSyntactically=Qt,e.getPropertyNameForPropertyNameNode=Zt,e.getPropertyNameForKnownSymbolName=en,e.isESSymbolIdentifier=tn,e.isPushOrUnshiftIdentifier=nn,e.isModifierKind=rn,e.isParameterDeclaration=an,e.getRootDeclaration=on$$1,e.nodeStartsNewLexicalEnvironment=sn,e.nodeIsSynthesized=cn,e.getOriginalSourceFileOrBundle=un,e.getOriginalSourceFiles=_n,e.getOriginalNodeId=dn;!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right";}(e.Associativity||(e.Associativity={})),e.getExpressionAssociativity=pn,e.getOperatorAssociativity=fn,e.getExpressionPrecedence=mn,e.getOperator=gn,e.getOperatorPrecedence=yn,e.createDiagnosticCollection=hn;var Gi=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Wi=e.createMapFromTemplate({"\0":"\\0","\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"\u2028":"\\u2028","\u2029":"\\u2029","
":"\\u0085"});e.escapeString=vn,e.isIntrinsicJsxName=xn;var Hi=/[^\u0000-\u007F]/g;e.escapeNonAsciiCharacters=Sn;var Xi=[""," "];e.getIndentString=Tn,e.getIndentSize=Cn,e.createTextWriter=En,e.getResolvedExternalModuleName=Dn,e.getExternalModuleNameFromDeclaration=Nn,e.getExternalModuleNameFromPath=An,e.getOwnEmitOutputFilePath=wn,e.getDeclarationEmitOutputFilePath=On,e.getSourceFilesToEmit=Pn,e.sourceFileMayBeEmitted=Fn,e.forEachEmittedFile=In,e.getSourceFilePathInNewDir=Ln,e.writeFile=Bn,e.getLineOfLocalPosition=Kn,e.getLineOfLocalPositionFromLineMap=jn,e.getFirstConstructorWithBody=Jn,e.getSetAccessorTypeAnnotationNode=zn,e.getThisParameter=Un,e.parameterIsThisKeyword=Vn,e.isThisIdentifier=qn,e.identifierIsThisKeyword=$n,e.getAllAccessorDeclarations=Gn,e.emitNewLineBeforeLeadingComments=Wn,e.emitNewLineBeforeLeadingCommentsOfPosition=Hn,e.emitNewLineBeforeLeadingCommentOfPosition=Xn,e.emitComments=Yn,e.emitDetachedComments=Qn,e.writeCommentRange=Zn,e.hasModifiers=nr,e.hasModifier=rr,e.getModifierFlags=ar,e.modifierToFlag=ir,e.isLogicalOperator=or,e.isAssignmentOperator=sr,e.tryGetClassExtendingExpressionWithTypeArguments=cr,e.isAssignmentExpression=ur,e.isDestructuringAssignment=lr,e.isSupportedExpressionWithTypeArguments=_r,e.isExpressionWithTypeArgumentsInClassExtendsClause=pr,e.isExpressionWithTypeArgumentsInClassImplementsClause=fr,e.isEntityNameExpression=mr,e.isRightSideOfQualifiedNameOrPropertyAccess=gr,e.isEmptyObjectLiteral=yr,e.isEmptyArrayLiteral=hr,e.getLocalSymbolForExportDefault=vr,e.tryExtractTypeScriptExtension=xr;var Yi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.convertToBase64=Sr;var Qi="\r\n",Zi="\n";e.getNewLineCharacter=Tr,e.isSimpleExpression=Cr;var eo=[];e.formatSyntaxKind=Dr,e.getRangePos=Nr,e.getRangeEnd=Ar,e.movePos=wr,e.createRange=Or,e.moveRangeEnd=Pr,e.moveRangePos=Fr,e.moveRangePastDecorators=Ir,e.moveRangePastModifiers=Rr,e.isCollapsedRange=Mr,e.collapseRangeToStart=Lr,e.collapseRangeToEnd=Br,e.createTokenRange=Kr,e.rangeIsOnSingleLine=jr,e.rangeStartPositionsAreOnSameLine=Jr,e.rangeEndPositionsAreOnSameLine=zr,e.rangeStartIsOnSameLineAsRangeEnd=Ur,e.rangeEndIsOnSameLineAsRangeStart=Vr,e.positionsAreOnSameLine=qr,e.getStartPositionOfRange=$r,e.isDeclarationNameOfEnumOrNamespace=Gr,e.getInitializedVariables=Wr,e.isMergedWithClass=Xr,e.isFirstDeclarationOfKind=Yr,e.isNodeArray=Qr,e.isNoSubstitutionTemplateLiteral=Zr,e.isLiteralKind=ea,e.isTextualLiteralKind=ta,e.isLiteralExpression=na,e.isTemplateLiteralKind=ra,e.isTemplateHead=aa,e.isTemplateMiddleOrTemplateTail=ia,e.isIdentifier=oa,e.isVoidExpression=sa,e.isGeneratedIdentifier=ca,e.isModifier=ua,e.isQualifiedName=la,e.isComputedPropertyName=_a,e.isEntityName=da,e.isPropertyName=pa,e.isModuleName=fa,e.isBindingName=ma,e.isTypeParameter=ga,e.isParameter=ya,e.isDecorator=ha,e.isMethodDeclaration=va,e.isClassElement=ba,e.isObjectLiteralElementLike=xa,e.isTypeNode=Sa,e.isArrayBindingPattern=Ta,e.isObjectBindingPattern=Ca,e.isBindingPattern=Ea,e.isAssignmentPattern=Da,e.isBindingElement=Na,e.isArrayBindingElement=Aa,e.isDeclarationBindingElement=wa,e.isBindingOrAssignmentPattern=Oa,e.isObjectBindingOrAssignmentPattern=Pa,e.isArrayBindingOrAssignmentPattern=Fa,e.isArrayLiteralExpression=Ia,e.isObjectLiteralExpression=Ra,e.isPropertyAccessExpression=Ma,e.isPropertyAccessOrQualifiedName=La,e.isElementAccessExpression=Ba,e.isBinaryExpression=Ka,e.isConditionalExpression=ja,e.isCallExpression=Ja,e.isTemplateLiteral=za,e.isSpreadExpression=Ua,e.isExpressionWithTypeArguments=Va,e.isLeftHandSideExpression=$a,e.isUnaryExpression=Wa,e.isExpression=Xa,e.isAssertionExpression=Ya,e.isPartiallyEmittedExpression=Qa,e.isNotEmittedStatement=Za,e.isNotEmittedOrPartiallyEmittedNode=ei,e.isOmittedExpression=ti,e.isTemplateSpan=ni,e.isBlock=ri,e.isConciseBody=ai,e.isFunctionBody=ii,e.isForInitializer=oi,e.isVariableDeclaration=si,e.isVariableDeclarationList=ci,e.isCaseBlock=ui,e.isModuleBody=li,e.isNamespaceBody=_i,e.isJSDocNamespaceBody=di,e.isImportEqualsDeclaration=pi,e.isImportClause=fi,e.isNamedImportBindings=mi,e.isImportSpecifier=gi,e.isNamedExports=yi,e.isExportSpecifier=hi,e.isModuleOrEnumDeclaration=vi,e.isDeclaration=Si,e.isDeclarationStatement=Ti,e.isStatementButNotDeclaration=Ci,e.isStatement=Ei,e.isModuleReference=Di,e.isJsxOpeningElement=Ni,e.isJsxClosingElement=Ai,e.isJsxTagNameExpression=wi,e.isJsxChild=Oi,e.isJsxAttributes=Pi,e.isJsxAttributeLike=Fi,e.isJsxSpreadAttribute=Ii,e.isJsxAttribute=Ri,e.isStringLiteralOrJsxExpression=Mi,e.isJsxOpeningLikeElement=Li,e.isCaseOrDefaultClause=Bi,e.isHeritageClause=Ki,e.isCatchClause=ji,e.isPropertyAssignment=Ji,e.isShorthandPropertyAssignment=zi,e.isEnumMember=Ui,e.isSourceFile=Vi,e.isWatchSet=qi;}(r||(r={})),function(e){function t(e){switch(e.target){case 5:return"lib.esnext.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}function n(e){return e.start+e.length}function r(e){return 0===e.length}function a(e,t){return t>=e.start&&t=e.start&&n(t)<=n(e)}function o(e,t){return Math.max(e.start,t.start)=e.start}function u(e,t,r){var a=t+r;return t<=n(e)&&a>=e.start}function l(e,t,n,r){var a=n+r;return n<=e+t&&a>=e}function _(e,t){return t<=n(e)&&t>=e.start}function d(e,t){var r=Math.max(e.start,t.start),a=Math.min(n(e),n(t));if(r<=a)return f(r,a)}function p(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function f(e,t){return p(e,t-e)}function m(e){return p(e.span.start,e.newLength)}function g(e){return r(e.span)&&0===e.newLength}function y(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function h(t){if(0===t.length)return e.unchangedTextChangeRange;if(1===t.length)return t[0];for(var r=t[0],a=r.span.start,i=n(r.span),o=a+r.newLength,s=1;s=3&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95===e.charCodeAt(2)?e.substr(1):e}e.getDefaultLibFileName=t,e.textSpanEnd=n,e.textSpanIsEmpty=r,e.textSpanContainsPosition=a,e.textSpanContainsTextSpan=i,e.textSpanOverlapsWith=o,e.textSpanOverlap=s,e.textSpanIntersectsWithTextSpan=c,e.textSpanIntersectsWith=u,e.decodedTextSpanIntersectsWith=l,e.textSpanIntersectsWithPosition=_,e.textSpanIntersection=d,e.createTextSpan=p,e.createTextSpanFromBounds=f,e.textChangeRangeNewSpan=m,e.textChangeRangeIsUnchanged=g,e.createTextChangeRange=y,e.unchangedTextChangeRange=y(p(0,0),0),e.collapseTextChangeRangesAcrossMultipleVersions=h,e.getTypeParameterOwner=v,e.isParameterPropertyDeclaration=b,e.getCombinedModifierFlags=k,e.getCombinedNodeFlags=S,e.validateLocaleAndSetLanguage=T,e.getOriginalNode=C,e.isParseTreeNode=E,e.getParseTreeNode=D,e.unescapeIdentifier=N;}(r||(r={}));!function(e){function t(t){var n=e.createNode(t,-1,-1);return n.flags|=8,n}function n(t,n){return t!==n&&(Aa(t,n),oa(t,n),n.startsOnNewLine&&(t.startsOnNewLine=!0),e.aggregateTransformFlags(t)),t}function r(t,n){if(t){if(e.isNodeArray(t))return t}else t=[];var r=t;return r.pos=-1,r.end=-1,r.hasTrailingComma=n,r}function a(e){var n=t(e.kind);n.flags|=e.flags,Aa(n,e);for(var r in e)!n.hasOwnProperty(r)&&e.hasOwnProperty(r)&&(n[r]=e[r]);return n}function i(e){return"number"==typeof e?o(e+""):"boolean"==typeof e?e?h():v():"string"==typeof e?s(e):c(e)}function o(e){var n=t(8);return n.text=e,n.numericLiteralFlags=0,n}function s(e){var n=t(9);return n.text=e,n}function c(e){var t=s(e.text);return t.textSourceNode=e,t}function u(n){var r=t(71);return r.text=e.escapeIdentifier(n),r.originalKeywordKind=n?e.stringToToken(n):0,r.autoGenerateKind=0,r.autoGenerateId=0,r}function l(e){var t=u("");return t.autoGenerateKind=1,t.autoGenerateId=Pa,Pa++,e&&e(t),t}function _(){var e=u("");return e.autoGenerateKind=2,e.autoGenerateId=Pa,Pa++,e}function d(e){var t=u(e);return t.autoGenerateKind=3,t.autoGenerateId=Pa,Pa++,t}function p(e){var t=u("");return t.autoGenerateKind=4,t.autoGenerateId=Pa,t.original=e,Pa++,t}function f(e){return t(e)}function m(){return t(97)}function g(){return t(99)}function y(){return t(95)}function h(){return t(101)}function v(){return t(86)}function b(e,n){var r=t(143);return r.left=e,r.right=ea(n),r}function x(e,t,r){return e.left!==t||e.right!==r?n(b(t,r),e):e}function k(e){var n=t(144);return n.expression=e,n}function S(e,t){return e.expression!==t?n(k(t),e):e}function T(e,n,r,a){var i=t(e);return i.typeParameters=na(n),i.parameters=na(r),i.type=a,i}function C(e,t,r,a){return e.typeParameters!==t||e.parameters!==r||e.type!==a?n(T(e.kind,t,r,a),e):e}function E(e,t,n){return T(160,e,t,n)}function D(e,t,n,r){return C(e,t,n,r)}function N(e,t,n){return T(161,e,t,n)}function A(e,t,n,r){return C(e,t,n,r)}function w(e,t,n){return T(155,e,t,n)}function O(e,t,n,r){return C(e,t,n,r)}function P(e,t,n){return T(156,e,t,n)}function F(e,t,n,r){return C(e,t,n,r)}function I(e,t,n,r,a){var i=T(150,e,t,n);return i.name=ea(r),i.questionToken=a,i}function R(e,t,r,a,i,o){return e.typeParameters!==t||e.parameters!==r||e.type!==a||e.name!==i||e.questionToken!==o?n(I(t,r,a,i,o),e):e}function M(e){return t(e)}function L(){return t(169)}function B(e){var n=t(173);return n.literal=e,n}function K(e,t){return e.literal!==t?n(B(t),e):e}function j(e,n){var r=t(159);return r.typeName=ea(e),r.typeArguments=na(n),r}function J(e,t,r){return e.typeName!==t||e.typeArguments!==r?n(j(t,r),e):e}function z(e,n){var r=t(158);return r.parameterName=ea(e),r.type=n,r}function U(e,t,r){return e.parameterName!==t||e.type!==r?n(z(t,r),e):e}function V(e){var n=t(162);return n.exprName=e,n}function q(e,t){return e.exprName!==t?n(V(t),e):e}function $(e){var n=t(164);return n.elementType=e,n}function G(e,t){return e.elementType!==t?n($(t),e):e}function W(e,n){var a=t(e);return a.types=r(n),a}function H(e,t){return e.types!==t?n(W(e.kind,t),e):e}function X(e){var n=t(163);return n.members=r(e),n}function Y(e,t){return e.members!==t?n(X(t),e):e}function Q(e){var n=t(165);return n.elementTypes=r(e),n}function Z(e,t){return e.elementTypes!==t?n(Q(t),e):e}function ee(e,n,r,a){var i=t(172);return i.readonlyToken=e,i.typeParameter=n,i.questionToken=r,i.type=a,i}function te(e,t,r,a,i){return e.readonlyToken!==t||e.typeParameter!==r||e.questionToken!==a||e.type!==i?n(ee(t,r,a,i),e):e}function ne(e){var n=t(170);return n.operator=127,n.type=e,n}function re(e,t){return e.type!==t?n(ne(t),e):e}function ae(e,n){var r=t(171);return r.objectType=e,r.indexType=n,r}function ie(e,t,r){return e.objectType!==t||e.indexType!==r?n(ae(t,r),e):e}function oe(e,n,r){var a=t(145);return a.name=ea(e),a.constraint=n,a.default=r,a}function se(e,t,r,a){return e.name!==t||e.constraint!==r||e.default!==a?n(oe(t,r,a),e):e}function ce(e,n,r,a){var i=t(148);return i.name=ea(e),i.questionToken=n,i.type=r,i.initializer=a,i}function ue(e,t,r,a,i){return e.name!==t||e.questionToken!==r||e.type!==a||e.initializer!==i?n(ce(t,r,a,i),e):e}function le(e,n,a,i){var o=t(157);return o.decorators=na(e),o.modifiers=na(n),o.parameters=r(a),o.type=i,o}function _e(e,t,r,a,i){return e.parameters!==a||e.type!==i||e.decorators!==t||e.modifiers!==r?n(le(t,r,a,i),e):e}function de(n,r,a,i,o,s,c){var u=t(146);return u.decorators=na(n),u.modifiers=na(r),u.dotDotDotToken=a,u.name=ea(i),u.questionToken=o,u.type=s,u.initializer=c?e.parenthesizeExpressionForList(c):void 0,u}function pe(e,t,r,a,i,o,s,c){return e.decorators!==t||e.modifiers!==r||e.dotDotDotToken!==a||e.name!==i||e.questionToken!==o||e.type!==s||e.initializer!==c?n(de(t,r,a,i,e.questionToken,s,c),e):e}function fe(n){var r=t(147);return r.expression=e.parenthesizeForAccess(n),r}function me(e,t){return e.expression!==t?n(fe(t),e):e}function ge(e,n,r,a,i,o){var s=t(149);return s.decorators=na(e),s.modifiers=na(n),s.name=ea(r),s.questionToken=a,s.type=i,s.initializer=o,s}function ye(e,t,r,a,i,o){return e.decorators!==t||e.modifiers!==r||e.name!==a||e.type!==i||e.initializer!==o?n(ge(t,r,a,e.questionToken,i,o),e):e}function he(e,n,a,i,o,s,c,u,l){var _=t(151);return _.decorators=na(e),_.modifiers=na(n),_.asteriskToken=a,_.name=ea(i),_.questionToken=o,_.typeParameters=na(s),_.parameters=r(c),_.type=u,_.body=l,_}function ve(e,t,r,a,i,o,s,c,u,l){return e.decorators!==t||e.modifiers!==r||e.asteriskToken!==a||e.name!==i||e.typeParameters!==s||e.parameters!==c||e.type!==u||e.body!==l?n(he(t,r,a,i,o,s,c,u,l),e):e}function be(e,n,a,i){var o=t(152);return o.decorators=na(e),o.modifiers=na(n),o.typeParameters=void 0,o.parameters=r(a),o.type=void 0,o.body=i,o}function xe(e,t,r,a,i){return e.decorators!==t||e.modifiers!==r||e.parameters!==a||e.body!==i?n(be(t,r,a,i),e):e}function ke(e,n,a,i,o,s){var c=t(153);return c.decorators=na(e),c.modifiers=na(n),c.name=ea(a),c.typeParameters=void 0,c.parameters=r(i),c.type=o,c.body=s,c}function Se(e,t,r,a,i,o,s){return e.decorators!==t||e.modifiers!==r||e.name!==a||e.parameters!==i||e.type!==o||e.body!==s?n(ke(t,r,a,i,o,s),e):e}function Te(e,n,a,i,o){var s=t(154);return s.decorators=na(e),s.modifiers=na(n),s.name=ea(a),s.typeParameters=void 0,s.parameters=r(i),s.body=o,s}function Ce(e,t,r,a,i,o){return e.decorators!==t||e.modifiers!==r||e.name!==a||e.parameters!==i||e.body!==o?n(Te(t,r,a,i,o),e):e}function Ee(e){var n=t(174);return n.elements=r(e),n}function De(e,t){return e.elements!==t?n(Ee(t),e):e}function Ne(e){var n=t(175);return n.elements=r(e),n}function Ae(e,t){return e.elements!==t?n(Ne(t),e):e}function we(e,n,r,a){var i=t(176);return i.dotDotDotToken=e,i.propertyName=ea(n),i.name=ea(r),i.initializer=a,i}function Oe(e,t,r,a,i){return e.propertyName!==r||e.dotDotDotToken!==t||e.name!==a||e.initializer!==i?n(we(t,r,a,i),e):e}function Pe(n,a){var i=t(177);return i.elements=e.parenthesizeListElements(r(n)),a&&(i.multiLine=!0),i}function Fe(e,t){return e.elements!==t?n(Pe(t,e.multiLine),e):e}function Ie(e,n){var a=t(178);return a.properties=r(e),n&&(a.multiLine=!0),a}function Re(e,t){return e.properties!==t?n(Ie(t,e.multiLine),e):e}function Me(n,r){var a=t(179);return a.expression=e.parenthesizeForAccess(n),a.name=ea(r),ca(a,131072),a}function Le(e,t,r){return e.expression!==t||e.name!==r?n(ca(Me(t,r),sa(e)),e):e}function Be(n,r){var a=t(180);return a.expression=e.parenthesizeForAccess(n),a.argumentExpression=ta(r),a}function Ke(e,t,r){return e.expression!==t||e.argumentExpression!==r?n(Be(t,r),e):e}function je(n,a,i){var o=t(181);return o.expression=e.parenthesizeForAccess(n),o.typeArguments=na(a),o.arguments=e.parenthesizeListElements(r(i)),o}function Je(e,t,r,a){return t!==e.expression||r!==e.typeArguments||a!==e.arguments?n(je(t,r,a),e):e}function ze(n,a,i){var o=t(182);return o.expression=e.parenthesizeForNew(n),o.typeArguments=na(a),o.arguments=i?e.parenthesizeListElements(r(i)):void 0,o}function Ue(e,t,r,a){return e.expression!==t||e.typeArguments!==r||e.arguments!==a?n(ze(t,r,a),e):e}function Ve(n,r){var a=t(183);return a.tag=e.parenthesizeForAccess(n),a.template=r,a}function qe(e,t,r){return e.tag!==t||e.template!==r?n(Ve(t,r),e):e}function $e(n,r){var a=t(184);return a.type=n,a.expression=e.parenthesizePrefixOperand(r),a}function Ge(e,t,r){return e.type!==t||e.expression!==r?n($e(t,r),e):e}function We(e){var n=t(185);return n.expression=e,n}function He(e,t){return e.expression!==t?n(We(t),e):e}function Xe(e,n,a,i,o,s,c){var u=t(186);return u.modifiers=na(e),u.asteriskToken=n,u.name=ea(a),u.typeParameters=na(i),u.parameters=r(o),u.type=s,u.body=c,u}function Ye(e,t,r,a,i,o,s,c){return e.name!==a||e.modifiers!==t||e.asteriskToken!==r||e.typeParameters!==i||e.parameters!==o||e.type!==s||e.body!==c?n(Xe(t,r,a,i,o,s,c),e):e}function Qe(n,a,i,o,s,c){var u=t(187);return u.modifiers=na(n),u.typeParameters=na(a),u.parameters=r(i),u.type=o,u.equalsGreaterThanToken=s||f(36),u.body=e.parenthesizeConciseBody(c),u}function Ze(e,t,r,a,i,o){return e.modifiers!==t||e.typeParameters!==r||e.parameters!==a||e.type!==i||e.body!==o?n(Qe(t,r,a,i,e.equalsGreaterThanToken,o),e):e}function et(n){var r=t(188);return r.expression=e.parenthesizePrefixOperand(n),r}function tt(e,t){return e.expression!==t?n(et(t),e):e}function nt(n){var r=t(189);return r.expression=e.parenthesizePrefixOperand(n),r}function rt(e,t){return e.expression!==t?n(nt(t),e):e}function at(n){var r=t(190);return r.expression=e.parenthesizePrefixOperand(n),r}function it(e,t){return e.expression!==t?n(at(t),e):e}function ot(n){var r=t(191);return r.expression=e.parenthesizePrefixOperand(n),r}function st(e,t){return e.expression!==t?n(ot(t),e):e}function ct(n,r){var a=t(192);return a.operator=n,a.operand=e.parenthesizePrefixOperand(r),a}function ut(e,t){return e.operand!==t?n(ct(e.operator,t),e):e}function lt(n,r){var a=t(193);return a.operand=e.parenthesizePostfixOperand(n),a.operator=r,a}function _t(e,t){return e.operand!==t?n(lt(t,e.operator),e):e}function dt(n,r,a){var i=t(194),o=ra(r),s=o.kind;return i.left=e.parenthesizeBinaryOperand(s,n,!0,void 0),i.operatorToken=o,i.right=e.parenthesizeBinaryOperand(s,a,!1,i.left),i}function pt(e,t,r){return e.left!==t||e.right!==r?n(dt(t,e.operatorToken,r),e):e}function ft(n,r,a,i,o){var s=t(195);return s.condition=e.parenthesizeForConditionalHead(n),s.questionToken=o?r:f(55),s.whenTrue=e.parenthesizeSubexpressionOfConditionalExpression(o?a:r),s.colonToken=o?i:f(56),s.whenFalse=e.parenthesizeSubexpressionOfConditionalExpression(o||a),s}function mt(e,t,r,a){return e.condition!==t||e.whenTrue!==r||e.whenFalse!==a?n(ft(t,e.questionToken,r,e.colonToken,a),e):e}function gt(e,n){var a=t(196);return a.head=e,a.templateSpans=r(n),a}function yt(e,t,r){return e.head!==t||e.templateSpans!==r?n(gt(t,r),e):e}function ht(e,n){var r=t(197);return r.asteriskToken=e&&39===e.kind?e:void 0,r.expression=e&&39!==e.kind?e:n,r}function vt(e,t,r){return e.expression!==r||e.asteriskToken!==t?n(ht(t,r),e):e}function bt(n){var r=t(198);return r.expression=e.parenthesizeExpressionForList(n),r}function xt(e,t){return e.expression!==t?n(bt(t),e):e}function kt(e,n,a,i,o){var s=t(199);return s.decorators=void 0,s.modifiers=na(e),s.name=ea(n),s.typeParameters=na(a),s.heritageClauses=na(i),s.members=r(o),s}function St(e,t,r,a,i,o){return e.modifiers!==t||e.name!==r||e.typeParameters!==a||e.heritageClauses!==i||e.members!==o?n(kt(t,r,a,i,o),e):e}function Tt(){return t(200)}function Ct(n,r){var a=t(201);return a.expression=e.parenthesizeForAccess(r),a.typeArguments=na(n),a}function Et(e,t,r){return e.typeArguments!==t||e.expression!==r?n(Ct(t,r),e):e}function Dt(e,n){var r=t(202);return r.expression=e,r.type=n,r}function Nt(e,t,r){return e.expression!==t||e.type!==r?n(Dt(t,r),e):e}function At(n){var r=t(203);return r.expression=e.parenthesizeForAccess(n),r}function wt(e,t){return e.expression!==t?n(At(t),e):e}function Ot(e,n){var r=t(205);return r.expression=e,r.literal=n,r}function Pt(e,t,r){return e.expression!==t||e.literal!==r?n(Ot(t,r),e):e}function Ft(e,n){var a=t(207);return a.statements=r(e),n&&(a.multiLine=n),a}function It(e,t){return t!==e.statements?n(Ft(t,e.multiLine),e):e}function Rt(n,r){var a=t(208);return a.decorators=void 0,a.modifiers=na(n),a.declarationList=e.isArray(r)?Lt(r):r,a}function Mt(e,t,r){return e.modifiers!==t||e.declarationList!==r?n(Rt(t,r),e):e}function Lt(e,n){var a=t(227);return a.flags|=n,a.declarations=r(e),a}function Bt(e,t){return e.declarations!==t?n(Lt(t,e.flags),e):e}function Kt(n,r,a){var i=t(226);return i.name=ea(n),i.type=r,i.initializer=void 0!==a?e.parenthesizeExpressionForList(a):void 0,i}function jt(e,t,r,a){return e.name!==t||e.type!==r||e.initializer!==a?n(Kt(t,r,a),e):e}function Jt(){return t(209)}function zt(n){var r=t(210);return r.expression=e.parenthesizeExpressionForExpressionStatement(n),r}function Ut(e,t){return e.expression!==t?n(zt(t),e):e}function Vt(e,n,r){var a=t(211);return a.expression=e,a.thenStatement=n,a.elseStatement=r,a}function qt(e,t,r,a){return e.expression!==t||e.thenStatement!==r||e.elseStatement!==a?n(Vt(t,r,a),e):e}function $t(e,n){var r=t(212);return r.statement=e,r.expression=n,r}function Gt(e,t,r){return e.statement!==t||e.expression!==r?n($t(t,r),e):e}function Wt(e,n){var r=t(213);return r.expression=e,r.statement=n,r}function Ht(e,t,r){return e.expression!==t||e.statement!==r?n(Wt(t,r),e):e}function Xt(e,n,r,a){var i=t(214);return i.initializer=e,i.condition=n,i.incrementor=r,i.statement=a,i}function Yt(e,t,r,a,i){return e.initializer!==t||e.condition!==r||e.incrementor!==a||e.statement!==i?n(Xt(t,r,a,i),e):e}function Qt(e,n,r){var a=t(215);return a.initializer=e,a.expression=n,a.statement=r,a}function Zt(e,t,r,a){return e.initializer!==t||e.expression!==r||e.statement!==a?n(Qt(t,r,a),e):e}function en(e,n,r,a){var i=t(216);return i.awaitModifier=e,i.initializer=n,i.expression=r,i.statement=a,i}function tn(e,t,r,a,i){return e.awaitModifier!==t||e.initializer!==r||e.expression!==a||e.statement!==i?n(en(t,r,a,i),e):e}function nn(e){var n=t(217);return n.label=ea(e),n}function rn(e,t){return e.label!==t?n(nn(t),e):e}function an(e){var n=t(218);return n.label=ea(e),n}function on$$1(e,t){return e.label!==t?n(an(t),e):e}function sn(e){var n=t(219);return n.expression=e,n}function cn(e,t){return e.expression!==t?n(sn(t),e):e}function un(e,n){var r=t(220);return r.expression=e,r.statement=n,r}function ln(e,t,r){return e.expression!==t||e.statement!==r?n(un(t,r),e):e}function _n(n,r){var a=t(221);return a.expression=e.parenthesizeExpressionForList(n),a.caseBlock=r,a}function dn(e,t,r){return e.expression!==t||e.caseBlock!==r?n(_n(t,r),e):e}function pn(e,n){var r=t(222);return r.label=ea(e),r.statement=n,r}function fn(e,t,r){return e.label!==t||e.statement!==r?n(pn(t,r),e):e}function mn(e){var n=t(223);return n.expression=e,n}function gn(e,t){return e.expression!==t?n(mn(t),e):e}function yn(e,n,r){var a=t(224);return a.tryBlock=e,a.catchClause=n,a.finallyBlock=r,a}function hn(e,t,r,a){return e.tryBlock!==t||e.catchClause!==r||e.finallyBlock!==a?n(yn(t,r,a),e):e}function vn(e,n,a,i,o,s,c,u){var l=t(228);return l.decorators=na(e),l.modifiers=na(n),l.asteriskToken=a,l.name=ea(i),l.typeParameters=na(o),l.parameters=r(s),l.type=c,l.body=u,l}function bn(e,t,r,a,i,o,s,c,u){return e.decorators!==t||e.modifiers!==r||e.asteriskToken!==a||e.name!==i||e.typeParameters!==o||e.parameters!==s||e.type!==c||e.body!==u?n(vn(t,r,a,i,o,s,c,u),e):e}function xn(e,n,a,i,o,s){var c=t(229);return c.decorators=na(e),c.modifiers=na(n),c.name=ea(a),c.typeParameters=na(i),c.heritageClauses=na(o),c.members=r(s),c}function kn(e,t,r,a,i,o,s){return e.decorators!==t||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.heritageClauses!==o||e.members!==s?n(xn(t,r,a,i,o,s),e):e}function Sn(e,n,a,i){var o=t(232);return o.decorators=na(e),o.modifiers=na(n),o.name=ea(a),o.members=r(i),o}function Tn(e,t,r,a,i){return e.decorators!==t||e.modifiers!==r||e.name!==a||e.members!==i?n(Sn(t,r,a,i),e):e}function Cn(e,n,r,a,i){var o=t(233);return o.flags|=i,o.decorators=na(e),o.modifiers=na(n),o.name=r,o.body=a,o}function En(e,t,r,a,i){return e.decorators!==t||e.modifiers!==r||e.name!==a||e.body!==i?n(Cn(t,r,a,i,e.flags),e):e}function Dn(e){var n=t(234);return n.statements=r(e),n}function Nn(e,t){return e.statements!==t?n(Dn(t),e):e}function An(e){var n=t(235);return n.clauses=r(e),n}function wn(e,t){return e.clauses!==t?n(An(t),e):e}function On(e,n,r,a){var i=t(237);return i.decorators=na(e),i.modifiers=na(n),i.name=ea(r),i.moduleReference=a,i}function Pn(e,t,r,a,i){return e.decorators!==t||e.modifiers!==r||e.name!==a||e.moduleReference!==i?n(On(t,r,a,i),e):e}function Fn(e,n,r,a){var i=t(238);return i.decorators=na(e),i.modifiers=na(n),i.importClause=r,i.moduleSpecifier=a,i}function In(e,t,r,a,i){return e.decorators!==t||e.modifiers!==r||e.importClause!==a||e.moduleSpecifier!==i?n(Fn(t,r,a,i),e):e}function Rn(e,n){var r=t(239);return r.name=e,r.namedBindings=n,r}function Mn(e,t,r){return e.name!==t||e.namedBindings!==r?n(Rn(t,r),e):e}function Ln(e){var n=t(240);return n.name=e,n}function Bn(e,t){return e.name!==t?n(Ln(t),e):e}function Kn(e){var n=t(241);return n.elements=r(e),n}function jn(e,t){return e.elements!==t?n(Kn(t),e):e}function Jn(e,n){var r=t(242);return r.propertyName=e,r.name=n,r}function zn(e,t,r){return e.propertyName!==t||e.name!==r?n(Jn(t,r),e):e}function Un(e,n,r,a){var i=t(243);return i.decorators=na(e),i.modifiers=na(n),i.isExportEquals=r,i.expression=a,i}function Vn(e,t,r,a){return e.decorators!==t||e.modifiers!==r||e.expression!==a?n(Un(t,r,e.isExportEquals,a),e):e}function qn(e,n,r,a){var i=t(244);return i.decorators=na(e),i.modifiers=na(n),i.exportClause=r,i.moduleSpecifier=a,i}function $n(e,t,r,a,i){return e.decorators!==t||e.modifiers!==r||e.exportClause!==a||e.moduleSpecifier!==i?n(qn(t,r,a,i),e):e}function Gn(e){var n=t(245);return n.elements=r(e),n}function Wn(e,t){return e.elements!==t?n(Gn(t),e):e}function Hn(e,n){var r=t(246);return r.propertyName=ea(e),r.name=ea(n),r}function Xn(e,t,r){return e.propertyName!==t||e.name!==r?n(Hn(t,r),e):e}function Yn(e){var n=t(248);return n.expression=e,n}function Qn(e,t){return e.expression!==t?n(Yn(t),e):e}function Zn(e,n,a){var i=t(249);return i.openingElement=e,i.children=r(n),i.closingElement=a,i}function er(e,t,r,a){return e.openingElement!==t||e.children!==r||e.closingElement!==a?n(Zn(t,r,a),e):e}function tr(e,n){var r=t(250);return r.tagName=e,r.attributes=n,r}function nr(e,t,r){return e.tagName!==t||e.attributes!==r?n(tr(t,r),e):e}function rr(e,n){var r=t(251);return r.tagName=e,r.attributes=n,r}function ar(e,t,r){return e.tagName!==t||e.attributes!==r?n(rr(t,r),e):e}function ir(e){var n=t(252);return n.tagName=e,n}function or(e,t){return e.tagName!==t?n(ir(t),e):e}function sr(e){var n=t(254);return n.properties=r(e),n}function cr(e,t){return e.properties!==t?n(sr(t),e):e}function ur(e,n){var r=t(253);return r.name=e,r.initializer=n,r}function lr(e,t,r){return e.name!==t||e.initializer!==r?n(ur(t,r),e):e}function _r(e){var n=t(255);return n.expression=e,n}function dr(e,t){return e.expression!==t?n(_r(t),e):e}function pr(e,n){var r=t(256);return r.dotDotDotToken=e,r.expression=n,r}function fr(e,t){return e.expression!==t?n(pr(e.dotDotDotToken,t),e):e}function mr(e,n){var a=t(259);return a.token=e,a.types=r(n),a}function gr(e,t){return e.types!==t?n(mr(e.token,t),e):e}function yr(n,a){var i=t(257);return i.expression=e.parenthesizeExpressionForList(n),i.statements=r(a),i}function hr(e,t,r){return e.expression!==t||e.statements!==r?n(yr(t,r),e):e}function vr(e){var n=t(258);return n.statements=r(e),n}function br(e,t){return e.statements!==t?n(vr(t),e):e}function xr(e,n){var r=t(260);return r.variableDeclaration="string"==typeof e?Kt(e):e,r.block=n,r}function kr(e,t,r){return e.variableDeclaration!==t||e.block!==r?n(xr(t,r),e):e}function Sr(n,r){var a=t(261);return a.name=ea(n),a.questionToken=void 0,a.initializer=void 0!==r?e.parenthesizeExpressionForList(r):void 0,a}function Tr(e,t,r){return e.name!==t||e.initializer!==r?n(Sr(t,r),e):e}function Cr(n,r){var a=t(262);return a.name=ea(n),a.objectAssignmentInitializer=void 0!==r?e.parenthesizeExpressionForList(r):void 0,a}function Er(e,t,r){return e.name!==t||e.objectAssignmentInitializer!==r?n(Cr(t,r),e):e}function Dr(n){var r=t(263);return r.expression=void 0!==n?e.parenthesizeExpressionForList(n):void 0,r}function Nr(e,t){return e.expression!==t?n(Dr(t),e):e}function Ar(n,r){var a=t(264);return a.name=ea(n),a.initializer=r&&e.parenthesizeExpressionForList(r),a}function wr(e,t,r){return e.name!==t||e.initializer!==r?n(Ar(t,r),e):e}function Or(e,a){if(e.statements!==a){var i=t(265);return i.flags|=e.flags,i.statements=r(a),i.endOfFileToken=e.endOfFileToken,i.fileName=e.fileName,i.path=e.path,i.text=e.text,void 0!==e.amdDependencies&&(i.amdDependencies=e.amdDependencies),void 0!==e.moduleName&&(i.moduleName=e.moduleName),void 0!==e.referencedFiles&&(i.referencedFiles=e.referencedFiles),void 0!==e.typeReferenceDirectives&&(i.typeReferenceDirectives=e.typeReferenceDirectives),void 0!==e.languageVariant&&(i.languageVariant=e.languageVariant),void 0!==e.isDeclarationFile&&(i.isDeclarationFile=e.isDeclarationFile),void 0!==e.renamedDependencies&&(i.renamedDependencies=e.renamedDependencies),void 0!==e.hasNoDefaultLib&&(i.hasNoDefaultLib=e.hasNoDefaultLib),void 0!==e.languageVersion&&(i.languageVersion=e.languageVersion),void 0!==e.scriptKind&&(i.scriptKind=e.scriptKind),void 0!==e.externalModuleIndicator&&(i.externalModuleIndicator=e.externalModuleIndicator),void 0!==e.commonJsModuleIndicator&&(i.commonJsModuleIndicator=e.commonJsModuleIndicator),void 0!==e.identifiers&&(i.identifiers=e.identifiers),void 0!==e.nodeCount&&(i.nodeCount=e.nodeCount),void 0!==e.identifierCount&&(i.identifierCount=e.identifierCount),void 0!==e.symbolCount&&(i.symbolCount=e.symbolCount),void 0!==e.parseDiagnostics&&(i.parseDiagnostics=e.parseDiagnostics),void 0!==e.bindDiagnostics&&(i.bindDiagnostics=e.bindDiagnostics),void 0!==e.lineMap&&(i.lineMap=e.lineMap),void 0!==e.classifiableNames&&(i.classifiableNames=e.classifiableNames),void 0!==e.resolvedModules&&(i.resolvedModules=e.resolvedModules),void 0!==e.resolvedTypeReferenceDirectiveNames&&(i.resolvedTypeReferenceDirectiveNames=e.resolvedTypeReferenceDirectiveNames),void 0!==e.imports&&(i.imports=e.imports),void 0!==e.moduleAugmentations&&(i.moduleAugmentations=e.moduleAugmentations),n(i,e)}return e}function Pr(e){var t=a(e);return t.pos=e.pos,t.end=e.end,t.parent=e.parent,t}function Fr(e){var n=t(295);return n.original=e,oa(n,e),n}function Ir(e){var n=t(298);return n.emitNode={},n.original=e,n}function Rr(e){var n=t(297);return n.emitNode={},n.original=e,n}function Mr(e,n){var r=t(296);return r.expression=e,r.original=n,oa(r,n),r}function Lr(e,t){return e.expression!==t?n(Mr(t,e.original),e):e}function Br(t){var n=e.createNode(266);return n.sourceFiles=t,n}function Kr(e,t){return e.sourceFiles!==t?Br(t):e}function jr(e,t){return dt(e,26,t)}function Jr(e,t){return dt(e,27,t)}function zr(e,t){return dt(e,58,t)}function Ur(e,t){return dt(e,34,t)}function Vr(e,t){return dt(e,35,t)}function qr(e,t){return dt(e,37,t)}function $r(e,t){return dt(e,38,t)}function Gr(e){return lt(e,43)}function Wr(e,t){return dt(e,53,t)}function Hr(e,t){return dt(e,54,t)}function Xr(e){return ct(51,e)}function Yr(){return at(i(0))}function Qr(e){return Un(void 0,void 0,!1,e)}function Zr(e){return qn(void 0,void 0,Gn([Hn(void 0,e)]))}function ea(e){return"string"==typeof e?u(e):e}function ta(e){return"string"==typeof e||"number"==typeof e?i(e):e}function na(e){return e?r(e):void 0}function ra(e){return"number"==typeof e?f(e):e}function aa(t){var n=(t=e.getSourceFileOfNode(e.getParseTreeNode(t)))&&t.emitNode,r=n&&n.annotatedNodes;if(r)for(var a=0,i=r;a0&&(i[c-s]=u);}s>0&&(i.length-=s);}}function Na(t,n){return t===n?0:t.priority===n.priority?0:void 0===t.priority?1:void 0===n.priority?-1:e.compareValues(t.priority,n.priority)}function Aa(e,t){if(e.original=t,t){var n=t.emitNode;n&&(e.emitNode=wa(n,e.emitNode));}return e}function wa(t,n){var r=t.flags,a=t.leadingComments,i=t.trailingComments,o=t.commentRange,s=t.sourceMapRange,c=t.tokenSourceMapRanges,u=t.constantValue,l=t.helpers;return n||(n={}),a&&(n.leadingComments=e.addRange(a.slice(),n.leadingComments)),i&&(n.trailingComments=e.addRange(i.slice(),n.trailingComments)),r&&(n.flags=r),o&&(n.commentRange=o),s&&(n.sourceMapRange=s),c&&(n.tokenSourceMapRanges=Oa(c,n.tokenSourceMapRanges)),void 0!==u&&(n.constantValue=u),l&&(n.helpers=e.addRange(n.helpers,l)),n}function Oa(e,t){t||(t=[]);for(var n in e)t[n]=e[n];return t}e.updateNode=n,e.createNodeArray=r,e.getSynthesizedClone=a,e.createLiteral=i,e.createNumericLiteral=o,e.createIdentifier=u;var Pa=0;e.createTempVariable=l,e.createLoopVariable=_,e.createUniqueName=d,e.getGeneratedNameForNode=p,e.createToken=f,e.createSuper=m,e.createThis=g,e.createNull=y,e.createTrue=h,e.createFalse=v,e.createQualifiedName=b,e.updateQualifiedName=x,e.createComputedPropertyName=k,e.updateComputedPropertyName=S,e.createSignatureDeclaration=T,e.createFunctionTypeNode=E,e.updateFunctionTypeNode=D,e.createConstructorTypeNode=N,e.updateConstructorTypeNode=A,e.createCallSignatureDeclaration=w,e.updateCallSignatureDeclaration=O,e.createConstructSignatureDeclaration=P,e.updateConstructSignatureDeclaration=F,e.createMethodSignature=I,e.updateMethodSignature=R,e.createKeywordTypeNode=M,e.createThisTypeNode=L,e.createLiteralTypeNode=B,e.updateLiteralTypeNode=K,e.createTypeReferenceNode=j,e.updateTypeReferenceNode=J,e.createTypePredicateNode=z,e.updateTypePredicateNode=U,e.createTypeQueryNode=V,e.updateTypeQueryNode=q,e.createArrayTypeNode=$,e.updateArrayTypeNode=G,e.createUnionOrIntersectionTypeNode=W,e.updateUnionOrIntersectionTypeNode=H,e.createTypeLiteralNode=X,e.updateTypeLiteralNode=Y,e.createTupleTypeNode=Q,e.updateTypleTypeNode=Z,e.createMappedTypeNode=ee,e.updateMappedTypeNode=te,e.createTypeOperatorNode=ne,e.updateTypeOperatorNode=re,e.createIndexedAccessTypeNode=ae,e.updateIndexedAccessTypeNode=ie,e.createTypeParameterDeclaration=oe,e.updateTypeParameterDeclaration=se,e.createPropertySignature=ce,e.updatePropertySignature=ue,e.createIndexSignatureDeclaration=le,e.updateIndexSignatureDeclaration=_e,e.createParameter=de,e.updateParameter=pe,e.createDecorator=fe,e.updateDecorator=me,e.createProperty=ge,e.updateProperty=ye,e.createMethodDeclaration=he,e.updateMethod=ve,e.createConstructor=be,e.updateConstructor=xe,e.createGetAccessor=ke,e.updateGetAccessor=Se,e.createSetAccessor=Te,e.updateSetAccessor=Ce,e.createObjectBindingPattern=Ee,e.updateObjectBindingPattern=De,e.createArrayBindingPattern=Ne,e.updateArrayBindingPattern=Ae,e.createBindingElement=we,e.updateBindingElement=Oe,e.createArrayLiteral=Pe,e.updateArrayLiteral=Fe,e.createObjectLiteral=Ie,e.updateObjectLiteral=Re,e.createPropertyAccess=Me,e.updatePropertyAccess=Le,e.createElementAccess=Be,e.updateElementAccess=Ke,e.createCall=je,e.updateCall=Je,e.createNew=ze,e.updateNew=Ue,e.createTaggedTemplate=Ve,e.updateTaggedTemplate=qe,e.createTypeAssertion=$e,e.updateTypeAssertion=Ge,e.createParen=We,e.updateParen=He,e.createFunctionExpression=Xe,e.updateFunctionExpression=Ye,e.createArrowFunction=Qe,e.updateArrowFunction=Ze,e.createDelete=et,e.updateDelete=tt,e.createTypeOf=nt,e.updateTypeOf=rt,e.createVoid=at,e.updateVoid=it,e.createAwait=ot,e.updateAwait=st,e.createPrefix=ct,e.updatePrefix=ut,e.createPostfix=lt,e.updatePostfix=_t,e.createBinary=dt,e.updateBinary=pt,e.createConditional=ft,e.updateConditional=mt,e.createTemplateExpression=gt,e.updateTemplateExpression=yt,e.createYield=ht,e.updateYield=vt,e.createSpread=bt,e.updateSpread=xt,e.createClassExpression=kt,e.updateClassExpression=St,e.createOmittedExpression=Tt,e.createExpressionWithTypeArguments=Ct,e.updateExpressionWithTypeArguments=Et,e.createAsExpression=Dt,e.updateAsExpression=Nt,e.createNonNullExpression=At,e.updateNonNullExpression=wt,e.createTemplateSpan=Ot,e.updateTemplateSpan=Pt,e.createBlock=Ft,e.updateBlock=It,e.createVariableStatement=Rt,e.updateVariableStatement=Mt,e.createVariableDeclarationList=Lt,e.updateVariableDeclarationList=Bt,e.createVariableDeclaration=Kt,e.updateVariableDeclaration=jt,e.createEmptyStatement=Jt,e.createStatement=zt,e.updateStatement=Ut,e.createIf=Vt,e.updateIf=qt,e.createDo=$t,e.updateDo=Gt,e.createWhile=Wt,e.updateWhile=Ht,e.createFor=Xt,e.updateFor=Yt,e.createForIn=Qt,e.updateForIn=Zt,e.createForOf=en,e.updateForOf=tn,e.createContinue=nn,e.updateContinue=rn,e.createBreak=an,e.updateBreak=on$$1,e.createReturn=sn,e.updateReturn=cn,e.createWith=un,e.updateWith=ln,e.createSwitch=_n,e.updateSwitch=dn,e.createLabel=pn,e.updateLabel=fn,e.createThrow=mn,e.updateThrow=gn,e.createTry=yn,e.updateTry=hn,e.createFunctionDeclaration=vn,e.updateFunctionDeclaration=bn,e.createClassDeclaration=xn,e.updateClassDeclaration=kn,e.createEnumDeclaration=Sn,e.updateEnumDeclaration=Tn,e.createModuleDeclaration=Cn,e.updateModuleDeclaration=En,e.createModuleBlock=Dn,e.updateModuleBlock=Nn,e.createCaseBlock=An,e.updateCaseBlock=wn,e.createImportEqualsDeclaration=On,e.updateImportEqualsDeclaration=Pn,e.createImportDeclaration=Fn,e.updateImportDeclaration=In,e.createImportClause=Rn,e.updateImportClause=Mn,e.createNamespaceImport=Ln,e.updateNamespaceImport=Bn,e.createNamedImports=Kn,e.updateNamedImports=jn,e.createImportSpecifier=Jn,e.updateImportSpecifier=zn,e.createExportAssignment=Un,e.updateExportAssignment=Vn,e.createExportDeclaration=qn,e.updateExportDeclaration=$n,e.createNamedExports=Gn,e.updateNamedExports=Wn,e.createExportSpecifier=Hn,e.updateExportSpecifier=Xn,e.createExternalModuleReference=Yn,e.updateExternalModuleReference=Qn,e.createJsxElement=Zn,e.updateJsxElement=er,e.createJsxSelfClosingElement=tr,e.updateJsxSelfClosingElement=nr,e.createJsxOpeningElement=rr,e.updateJsxOpeningElement=ar,e.createJsxClosingElement=ir,e.updateJsxClosingElement=or,e.createJsxAttributes=sr,e.updateJsxAttributes=cr,e.createJsxAttribute=ur,e.updateJsxAttribute=lr,e.createJsxSpreadAttribute=_r,e.updateJsxSpreadAttribute=dr,e.createJsxExpression=pr,e.updateJsxExpression=fr,e.createHeritageClause=mr,e.updateHeritageClause=gr,e.createCaseClause=yr,e.updateCaseClause=hr,e.createDefaultClause=vr,e.updateDefaultClause=br,e.createCatchClause=xr,e.updateCatchClause=kr,e.createPropertyAssignment=Sr,e.updatePropertyAssignment=Tr,e.createShorthandPropertyAssignment=Cr,e.updateShorthandPropertyAssignment=Er,e.createSpreadAssignment=Dr,e.updateSpreadAssignment=Nr,e.createEnumMember=Ar,e.updateEnumMember=wr,e.updateSourceFileNode=Or,e.getMutableClone=Pr,e.createNotEmittedStatement=Fr,e.createEndOfDeclarationMarker=Ir,e.createMergeDeclarationMarker=Rr,e.createPartiallyEmittedExpression=Mr,e.updatePartiallyEmittedExpression=Lr,e.createBundle=Br,e.updateBundle=Kr,e.createComma=jr,e.createLessThan=Jr,e.createAssignment=zr,e.createStrictEquality=Ur,e.createStrictInequality=Vr,e.createAdd=qr,e.createSubtract=$r,e.createPostfixIncrement=Gr,e.createLogicalAnd=Wr,e.createLogicalOr=Hr,e.createLogicalNot=Xr,e.createVoidZero=Yr,e.createExportDefault=Qr,e.createExternalModuleExport=Zr,e.disposeEmitNodes=aa,e.getOrCreateEmitNode=ia,e.setTextRange=oa,e.getEmitFlags=sa,e.setEmitFlags=ca,e.getSourceMapRange=ua,e.setSourceMapRange=la,e.getTokenSourceMapRange=_a,e.setTokenSourceMapRange=da,e.getCommentRange=pa,e.setCommentRange=fa,e.getSyntheticLeadingComments=ma,e.setSyntheticLeadingComments=ga,e.addSyntheticLeadingComment=ya,e.getSyntheticTrailingComments=ha,e.setSyntheticTrailingComments=va,e.addSyntheticTrailingComment=ba,e.getConstantValue=xa,e.setConstantValue=ka,e.addEmitHelper=Sa,e.addEmitHelpers=Ta,e.removeEmitHelper=Ca,e.getEmitHelpers=Ea,e.moveEmitHelpers=Da,e.compareEmitHelpers=Na,e.setOriginalNode=Aa;}(r||(r={})),function(e){function t(t,n){return"undefined"===n?e.createStrictEquality(t,e.createVoidZero()):e.createStrictEquality(e.createTypeOf(t),e.createLiteral(n))}function n(t,n,r){if(e.isComputedPropertyName(n))return e.setTextRange(e.createElementAccess(t,n.expression),r);var a=e.setTextRange(e.isIdentifier(n)?e.createPropertyAccess(t,n):e.createElementAccess(t,n),n);return e.getOrCreateEmitNode(a).flags|=64,a}function r(t,n,r,a){return e.setTextRange(e.createCall(e.createPropertyAccess(t,"call"),void 0,[n].concat(r)),a)}function a(t,n,r,a){return e.setTextRange(e.createCall(e.createPropertyAccess(t,"apply"),void 0,[n,r]),a)}function i(t,n){var r=[];return void 0!==n&&r.push("number"==typeof n?e.createLiteral(n):n),e.createCall(e.createPropertyAccess(t,"slice"),void 0,r)}function o(t,n){return e.createCall(e.createPropertyAccess(t,"concat"),void 0,n)}function s(t,n,r){return e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Math"),"pow"),void 0,[t,n]),r)}function c(t,n){var r=e.createIdentifier(t||"React");return r.flags&=-9,r.parent=e.getParseTreeNode(n),r}function u(t,n){if(e.isQualifiedName(t)){var r=u(t.left,n),a=e.createIdentifier(t.right.text);return a.text=t.right.text,e.createPropertyAccess(r,a)}return c(t.text,n)}function l(t,n,r){return t?u(t,r):e.createPropertyAccess(c(n,r),"createElement")}function _(t,n,r,a,i,o,s){var c=[r];if(a&&c.push(a),i&&i.length>0)if(a||c.push(e.createNull()),i.length>1)for(var u=0,_=i;u<_.length;u++){var d=_[u];d.startsOnNewLine=!0,c.push(d);}else c.push(i[0]);return e.setTextRange(e.createCall(l(t,n,o),void 0,c),s)}function d(t){return e.setEmitFlags(e.createIdentifier(t),4098)}function p(t,n,r){return t.requestEmitHelper(Re),e.setTextRange(e.createCall(d("__values"),void 0,[n]),r)}function f(t,n,r,a){return t.requestEmitHelper(Me),e.setTextRange(e.createCall(d("__read"),void 0,void 0!==r?[n,e.createLiteral(r)]:[n]),a)}function m(t,n,r){return t.requestEmitHelper(Me),t.requestEmitHelper(Le),e.setTextRange(e.createCall(d("__spread"),void 0,n),r)}function g(t,n){if(e.isVariableDeclarationList(t)){var r=e.firstOrUndefined(t.declarations),a=e.updateVariableDeclaration(r,r.name,void 0,n);return e.setTextRange(e.createVariableStatement(void 0,e.updateVariableDeclarationList(t,[a])),t)}var i=e.setTextRange(e.createAssignment(t,n),t);return e.setTextRange(e.createStatement(i),t)}function y(t,n){return e.isBlock(t)?e.updateBlock(t,e.setTextRange(e.createNodeArray([n].concat(t.statements)),t.statements)):e.createBlock(e.createNodeArray([t,n]),!0)}function h(t,n,r){if(!n)return t;var a=e.updateLabel(n,n.label,222===n.statement.kind?h(t,n.statement):t);return r&&r(n),a}function v(e,t){var n=le(e);switch(n.kind){case 71:return t;case 99:case 8:case 9:return!1;case 177:return 0!==n.elements.length;case 178:return n.properties.length>0;default:return!0}}function b(t,n,r,a){var i,o,s=ue(t,7);if(e.isSuperProperty(s))i=e.createThis(),o=s;else if(97===s.kind)i=e.createThis(),o=r<2?e.setTextRange(e.createIdentifier("_super"),s):s;else if(4096&e.getEmitFlags(s))i=e.createVoidZero(),o=ee(s);else switch(s.kind){case 179:v(s.expression,a)?(i=e.createTempVariable(n),o=e.createPropertyAccess(e.setTextRange(e.createAssignment(i,s.expression),s.expression),s.name),e.setTextRange(o,s)):(i=s.expression,o=s);break;case 180:v(s.expression,a)?(i=e.createTempVariable(n),o=e.createElementAccess(e.setTextRange(e.createAssignment(i,s.expression),s.expression),s.argumentExpression),e.setTextRange(o,s)):(i=s.expression,o=s);break;default:i=e.createVoidZero(),o=ee(t);}return{target:o,thisArg:i}}function x(t){return e.reduceLeft(t,e.createComma)}function k(t){if(e.isQualifiedName(t)){var n=k(t.left),r=e.getMutableClone(t.right);return e.setTextRange(e.createPropertyAccess(n,r),t)}return e.getMutableClone(t)}function S(t){return e.isIdentifier(t)?e.createLiteral(t):e.isComputedPropertyName(t)?e.getMutableClone(t.expression):e.getMutableClone(t)}function T(e,t,n){switch(t.kind){case 153:case 154:return C(e.properties,t,n,e.multiLine);case 261:return E(t,n);case 262:return D(t,n);case 151:return N(t,n)}}function C(t,n,r,a){var i=e.getAllAccessorDeclarations(t,n),o=i.firstAccessor,s=i.getAccessor,c=i.setAccessor;if(n===o){var u=[];if(s){var l=e.createFunctionExpression(s.modifiers,void 0,void 0,void 0,s.parameters,void 0,s.body);e.setTextRange(l,s),e.setOriginalNode(l,s);var _=e.createPropertyAssignment("get",l);u.push(_);}if(c){var d=e.createFunctionExpression(c.modifiers,void 0,void 0,void 0,c.parameters,void 0,c.body);e.setTextRange(d,c),e.setOriginalNode(d,c);var p=e.createPropertyAssignment("set",d);u.push(p);}u.push(e.createPropertyAssignment("enumerable",e.createTrue())),u.push(e.createPropertyAssignment("configurable",e.createTrue()));var f=e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"defineProperty"),void 0,[r,S(n.name),e.createObjectLiteral(u,a)]),o);return e.aggregateTransformFlags(f)}}function E(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(n(r,t.name,t.name),t.initializer),t),t))}function D(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(n(r,t.name,t.name),e.getSynthesizedClone(t.name)),t),t))}function N(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(n(r,t.name,t.name),e.setOriginalNode(e.setTextRange(e.createFunctionExpression(t.modifiers,t.asteriskToken,void 0,void 0,t.parameters,void 0,t.body),t),t)),t),t))}function A(e,t,n){return M(e,t,n,49152)}function w(t){return 0!=(32768&e.getEmitFlags(t))}function O(e,t,n){return M(e,t,n,16384)}function P(t){return 0!=(16384&e.getEmitFlags(t))}function F(e,t,n){return M(e,t,n,8192)}function I(t){return 0!=(8192&e.getEmitFlags(t))}function R(e,t,n){return M(e,t,n)}function M(t,n,r,a){var i=e.getNameOfDeclaration(t);if(i&&e.isIdentifier(i)&&!e.isGeneratedIdentifier(i)){var o=e.getMutableClone(i);return a|=e.getEmitFlags(i),r||(a|=48),n||(a|=1536),a&&e.setEmitFlags(o,a),o}return e.getGeneratedNameForNode(t)}function L(t,n,r,a){return t&&e.hasModifier(n,1)?B(t,M(n),r,a):F(n,r,a)}function B(t,n,r,a){var i=e.createPropertyAccess(t,e.nodeIsSynthesized(n)?n:e.getSynthesizedClone(n));e.setTextRange(i,n);var o;return a||(o|=48),r||(o|=1536),o&&e.setEmitFlags(i,o),i}function K(t,n){return e.isBlock(t)?t:e.setTextRange(e.createBlock([e.setTextRange(e.createReturn(t),t)],n),t)}function j(e){return"use strict"===e.expression.text}function J(e,t,n,r){return U(e,t,z(e,t,n),r)}function z(t,n,r){e.Debug.assert(0===t.length,"Prologue directives should be at the first statement in the target statements array");for(var a=!1,i=0,o=n.length;ie.getOperatorPrecedence(194,26)?t:e.setTextRange(e.createParen(t),t)}function ie(t){var n=de(t);if(e.isCallExpression(n)){var r=n.expression,a=de(r).kind;if(186===a||187===a){var i=e.getMutableClone(n);return i.expression=e.setTextRange(e.createParen(r),r),oe(t,i)}}else{var o=se(n).kind;if(178===o||186===o)return e.setTextRange(e.createParen(t),t)}return t}function oe(t,n){if(e.isPartiallyEmittedExpression(t)){var r=e.getMutableClone(t);return r.expression=oe(r.expression,n),r}return n}function se(e){for(;;){switch(e.kind){case 193:e=e.operand;continue;case 194:e=e.left;continue;case 195:e=e.condition;continue;case 181:case 180:case 179:case 296:e=e.expression;continue}return e}}function ce(t){return e.isBlock(t)||178!==se(t).kind?t:e.setTextRange(e.createParen(t),t)}function ue(e,t){void 0===t&&(t=7);var n;do{n=e,1&t&&(e=le(e)),2&t&&(e=_e(e)),4&t&&(e=de(e));}while(n!==e);return e}function le(e){for(;185===e.kind;)e=e.expression;return e}function _e(t){for(;e.isAssertionExpression(t);)t=t.expression;return t}function de(e){for(;296===e.kind;)e=e.expression;return e}function pe(e){return e.startsOnNewLine=!0,e}function fe(t){var n=e.getOriginalNode(t,e.isSourceFile),r=n&&n.emitNode;return r&&r.externalHelpersModuleName}function me(t,n){if(n.importHelpers&&(e.isExternalModule(t)||n.isolatedModules)){var r=fe(t);if(r)return r;var a=e.getEmitHelpers(t);if(a)for(var i=0,o=a;i= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n };\n '};e.createValuesHelper=p;var Me={name:"typescript:read",scoped:!1,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 '};e.createReadHelper=f;var Le={name:"typescript:spread",scoped:!1,text:"\n var __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n };"};e.createSpreadHelper=m,e.createForOfBindingStatement=g,e.insertLeadingStatement=y,e.restoreEnclosingLabel=h,e.createCallBinding=b,e.inlineExpressions=x,e.createExpressionFromEntityName=k,e.createExpressionForPropertyName=S,e.createExpressionForObjectLiteralElementLike=T,e.getInternalName=A,e.isInternalName=w,e.getLocalName=O,e.isLocalName=P,e.getExportName=F,e.isExportName=I,e.getDeclarationName=R,e.getExternalModuleOrNamespaceExportName=L,e.getNamespaceMemberName=B,e.convertToFunctionBody=K,e.addPrologue=J,e.addStandardPrologue=z,e.addCustomPrologue=U,e.startsWithUseStrict=V,e.ensureUseStrict=q,e.parenthesizeConditionalHead=$,e.parenthesizeBinaryOperand=G,e.parenthesizeForConditionalHead=Y,e.parenthesizeSubexpressionOfConditionalExpression=Q,e.parenthesizeForNew=Z,e.parenthesizeForAccess=ee,e.parenthesizePostfixOperand=te,e.parenthesizePrefixOperand=ne,e.parenthesizeListElements=re,e.parenthesizeExpressionForList=ae,e.parenthesizeExpressionForExpressionStatement=ie,e.parenthesizeConciseBody=ce;!function(e){e[e.Parentheses=1]="Parentheses",e[e.Assertions=2]="Assertions",e[e.PartiallyEmittedExpressions=4]="PartiallyEmittedExpressions",e[e.All=7]="All";}(e.OuterExpressionKinds||(e.OuterExpressionKinds={})),e.skipOuterExpressions=ue,e.skipParentheses=le,e.skipAssertions=_e,e.skipPartiallyEmittedExpressions=de,e.startOnNewLine=pe,e.getExternalHelpersModuleName=fe,e.getOrCreateExternalHelpersModuleNameIfNeeded=me,e.getLocalNameForExternalImport=ge,e.getExternalModuleNameLiteral=ye,e.tryGetModuleNameFromFile=ve,e.getInitializerOfBindingOrAssignmentElement=xe,e.getTargetOfBindingOrAssignmentElement=ke,e.getRestIndicatorOfBindingOrAssignmentElement=Se,e.getPropertyNameOfBindingOrAssignmentElement=Te,e.getElementsOfBindingOrAssignmentPattern=Ce,e.convertToArrayAssignmentElement=Ee,e.convertToObjectAssignmentElement=De,e.convertToAssignmentPattern=Ne,e.convertToObjectAssignmentPattern=Ae,e.convertToArrayAssignmentPattern=we,e.convertToAssignmentElementTarget=Oe,e.collectExternalModuleInfo=Pe;}(r||(r={}));!function(e){function t(t,n,r){return 265===t?new(m||(m=e.objectAllocator.getSourceFileConstructor()))(t,n,r):71===t?new(f||(f=e.objectAllocator.getIdentifierConstructor()))(t,n,r):t<143?new(p||(p=e.objectAllocator.getTokenConstructor()))(t,n,r):new(d||(d=e.objectAllocator.getNodeConstructor()))(t,n,r)}function n(e,t){if(t)return e(t)}function r(e,t){if(t)return e(t)}function a(e,t){if(t)for(var n=0,r=t;n107)}function W(t,n,r){return void 0===r&&(r=!0),M()===t?(r&&L(),!0):(n?O(n):O(e.Diagnostics._0_expected,e.tokenToString(t)),!1)}function H(e){return M()===e&&(L(),!0)}function X(e){if(M()===e)return Q()}function Y(e,t,n,r){return X(e)||ae(e,t,n,r)}function Q(){var e=te(M());return L(),re(e)}function Z(){return 25===M()||(18===M()||1===M()||_i.hasPrecedingLineBreak())}function ee(){return Z()?(25===M()&&L(),!0):W(25)}function te(e,t){return oi++,t>=0||(t=_i.getStartPos()),e>=143?new Ya(e,t,t):71===e?new Za(e,t,t):new Qa(e,t,t)}function ne(e,t){var n=e||[];return t>=0||(t=I()),n.pos=t,n.end=t,n}function re(e,t){return e.end=void 0===t?_i.getStartPos():t,li&&(e.flags|=li),pi&&(pi=!1,e.flags|=32768),e}function ae(e,t,n,r){t?P(_i.getStartPos(),0,n,r):O(n,r);var a=te(e,_i.getStartPos());return a.text="",re(a)}function ie(t){t=e.escapeIdentifier(t);var n=si.get(t);return void 0===n&&si.set(t,n=t),n}function oe(t,n){if(ci++,t){var r=te(71);return 71!==M()&&(r.originalKeywordKind=M()),r.text=ie(_i.getTokenValue()),L(),re(r)}return ae(71,!1,n||e.Diagnostics.Identifier_expected)}function se(e){return oe(G(),e)}function ce(){return oe(e.tokenIsIdentifierOrKeyword(M()))}function ue(){return e.tokenIsIdentifierOrKeyword(M())||9===M()||8===M()}function le(e){return 9===M()||8===M()?Ye(!0):e&&21===M()?fe():ce()}function _e(){return le(!0)}function de(){return le(!1)}function pe(){return 9===M()||8===M()||e.tokenIsIdentifierOrKeyword(M())}function fe(){var e=te(144);return W(21),e.expression=v(en),W(22),re(e)}function me(e){return M()===e&&$(ye)}function ge(){return L(),!_i.hasPrecedingLineBreak()&&ve()}function ye(){return 76===M()?83===L():84===M()?(L(),79===M()?q(be):39!==M()&&118!==M()&&17!==M()&&ve()):79===M()?be():115===M()?(L(),ve()):ge()}function he(){return e.isModifierKind(M())&&$(ye)}function ve(){return 21===M()||17===M()||39===M()||24===M()||ue()}function be(){return L(),75===M()||89===M()||117===M()&&q(Fr)||120===M()&&q(Ir)}function xe(t,n){if(Pe(t))return!0;switch(t){case 0:case 1:case 3:return!(25===M()&&n)&&Br();case 2:return 73===M()||79===M();case 4:return q(bt);case 5:return q(ua)||25===M()&&!n;case 6:return 21===M()||ue();case 12:return 21===M()||39===M()||24===M()||ue();case 17:return ue();case 9:return 21===M()||24===M()||ue();case 7:return 17===M()?q(ke):n?G()&&!Ce():Yt()&&!Ce();case 8:return Hr();case 10:return 26===M()||24===M()||Hr();case 18:return G();case 11:case 15:return 26===M()||24===M()||Qt();case 16:return ct();case 19:case 20:return 26===M()||Rt();case 21:return ka();case 22:return e.tokenIsIdentifierOrKeyword(M());case 13:return e.tokenIsIdentifierOrKeyword(M())||17===M();case 14:return!0;case 23:case 24:case 26:return gi.isJSDocType();case 25:return pe()}e.Debug.fail("Non-exhaustive case in 'isListElement'.");}function ke(){if(e.Debug.assert(17===M()),18===L()){var t=L();return 26===t||17===t||85===t||108===t}return!0}function Se(){return L(),G()}function Te(){return L(),e.tokenIsIdentifierOrKeyword(M())}function Ce(){return(108===M()||85===M())&&q(Ee)}function Ee(){return L(),Qt()}function De(e){if(1===M())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 22:return 18===M();case 3:return 18===M()||73===M()||79===M();case 7:return 17===M()||85===M()||108===M();case 8:return Ne();case 18:return 29===M()||19===M()||17===M()||85===M()||108===M();case 11:return 20===M()||25===M();case 15:case 20:case 10:return 22===M();case 16:case 17:return 20===M()||22===M();case 19:return 26!==M();case 21:return 17===M()||18===M();case 13:return 29===M()||41===M();case 14:return 27===M()&&q(Ia);case 23:return 20===M()||56===M()||18===M();case 24:return 29===M()||18===M();case 26:return 22===M()||18===M();case 25:return 18===M()}}function Ne(){return!!Z()||(!!hn(M())||36===M())}function Ae(){for(var e=0;e<27;e++)if(ui&1<=0&&(a.hasTrailingComma=!0),a.end=R(),ui=r,a}function qe(){return ne()}function $e(e,t,n,r){if(W(n)){var a=Ve(e,t);return W(r),a}return qe()}function Ge(e,t){for(var n=se(t);H(23);){var r=te(143,n.pos);r.left=n,r.right=We(e),n=re(r);}return n}function We(t){return _i.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(M())&&q(Pr)?ae(71,!0,e.Diagnostics.Identifier_expected):t?ce():se()}function He(){var t=te(196);t.head=Qe(),e.Debug.assert(14===t.head.kind,"Template head has wrong token kind");var n=ne();do{n.push(Xe());}while(15===e.lastOrUndefined(n).literal.kind);return n.end=R(),t.templateSpans=n,re(t)}function Xe(){var t=te(205);t.expression=v(en);var n;return 18===M()?(j(),n=Ze()):n=Y(16,!1,e.Diagnostics._0_expected,e.tokenToString(18)),t.literal=n,re(t)}function Ye(e){return et(M(),e)}function Qe(){var t=et(M(),!1);return e.Debug.assert(14===t.kind,"Template head has wrong token kind"),t}function Ze(){var t=et(M(),!1);return e.Debug.assert(15===t.kind||16===t.kind,"Template fragment has wrong token kind"),t}function et(e,t){var n=te(e),r=_i.getTokenValue();return n.text=t?ie(r):r,_i.hasExtendedUnicodeEscape()&&(n.hasExtendedUnicodeEscape=!0),_i.isUnterminated()&&(n.isUnterminated=!0),8===n.kind&&(n.numericLiteralFlags=_i.getNumericLiteralFlags()),L(),re(n),n}function tt(){var t=te(159);return t.typeName=Ge(!1,e.Diagnostics.Type_expected),_i.hasPrecedingLineBreak()||27!==M()||(t.typeArguments=$e(19,Wt,27,29)),re(t)}function nt(e){L();var t=te(158,e.pos);return t.parameterName=e,t.type=Wt(),re(t)}function rt(){var e=te(169);return L(),re(e)}function at(){var e=te(162);return W(103),e.exprName=Ge(!0),re(e)}function it(){var e=te(145);return e.name=se(),H(85)&&(Rt()||!Qt()?e.constraint=Wt():e.expression=wn()),H(58)&&(e.default=Wt()),re(e)}function ot(){if(27===M())return $e(18,it,27,29)}function st(){if(H(56))return Wt()}function ct(){return 24===M()||Hr()||e.isModifierKind(M())||57===M()||99===M()}function ut(){var t=te(146);return 99===M()?(t.name=oe(!0),t.type=st(),re(t)):(t.decorators=la(),t.modifiers=_a(),t.dotDotDotToken=X(24),t.name=Xr(),0===e.getFullWidth(t.name)&&!e.hasModifiers(t)&&e.isModifierKind(M())&&L(),t.questionToken=X(55),t.type=st(),t.initializer=lt(!0),u(re(t)))}function lt(e){return e?_t():oa()}function _t(){return tn(!0)}function dt(e,t,n,r,a){var i=36===e;a.typeParameters=ot(),a.parameters=pt(t,n,r),i?(W(e),a.type=$t()):H(e)&&(a.type=$t());}function pt(e,t,n){if(W(19)){var r=D(),a=w();f(e),g(t);var i=Ve(16,ut);if(f(r),g(a),!W(20)&&n)return;return i}return n?void 0:qe()}function ft(){H(26)||ee();}function mt(e){var t=te(e);return 156===e&&W(94),dt(56,!1,!1,!1,t),ft(),u(re(t))}function gt(){return 21===M()&&q(yt)}function yt(){if(L(),24===M()||22===M())return!0;if(e.isModifierKind(M())){if(L(),G())return!0}else{if(!G())return!1;L();}return 56===M()||26===M()||55===M()&&(L(),56===M()||26===M()||22===M())}function ht(e,t,n){var r=te(157,e);return r.decorators=t,r.modifiers=n,r.parameters=$e(16,ut,21,22),r.type=Xt(),ft(),re(r)}function vt(e,t){var n=_e(),r=X(55);if(19===M()||27===M()){var a=te(150,e);return a.modifiers=t,a.name=n,a.questionToken=r,dt(56,!1,!1,!1,a),ft(),u(re(a))}var i=te(148,e);return i.modifiers=t,i.name=n,i.questionToken=r,i.type=Xt(),58===M()&&(i.initializer=oa()),ft(),u(re(i))}function bt(){if(19===M()||27===M())return!0;for(var t;e.isModifierKind(M());)t=!0,L();return 21===M()||(ue()&&(t=!0,L()),!!t&&(19===M()||27===M()||55===M()||56===M()||26===M()||Z()))}function xt(){if(19===M()||27===M())return mt(155);if(94===M()&&q(kt))return mt(156);var e=I(),t=_a();return gt()?ht(e,void 0,t):vt(e,t)}function kt(){return L(),19===M()||27===M()}function St(){var e=te(163);return e.members=Tt(),re(e)}function Tt(){var e;return W(17)?(e=we(4,xt),W(18)):e=qe(),e}function Ct(){return L(),131===M()&&L(),21===M()&&Se()&&92===L()}function Et(){var e=te(145);return e.name=se(),W(92),e.constraint=Wt(),re(e)}function Dt(){var e=te(172);return W(17),e.readonlyToken=X(131),W(21),e.typeParameter=Et(),W(22),e.questionToken=X(55),e.type=Xt(),ee(),W(18),re(e)}function Nt(){var e=te(165);return e.elementTypes=$e(20,Wt,21,22),re(e)}function At(){var e=te(168);return W(19),e.type=Wt(),W(20),re(e)}function wt(e){var t=te(e);return 161===e&&W(94),dt(36,!1,!1,!1,t),re(t)}function Ot(){var e=Q();return 23===M()?void 0:e}function Pt(){var e=te(173);return e.literal=On(),re(e),e}function Ft(){return 8===L()}function It(){switch(M()){case 119:case 136:case 133:case 122:case 137:case 139:case 130:case 134:return $(Ot)||tt();case 9:case 8:case 101:case 86:return Pt();case 38:return q(Ft)?Pt():tt();case 105:case 95:return Q();case 99:var e=rt();return 126!==M()||_i.hasPrecedingLineBreak()?e:nt(e);case 103:return at();case 17:return q(Ct)?Dt():St();case 21:return Nt();case 19:return At();default:return tt()}}function Rt(){switch(M()){case 119:case 136:case 133:case 122:case 137:case 105:case 139:case 95:case 99:case 103:case 130:case 17:case 21:case 27:case 49:case 48:case 94:case 9:case 8:case 101:case 86:case 134:return!0;case 38:return q(Ft);case 19:return q(Mt);default:return G()}}function Mt(){return L(),20===M()||ct()||Rt()}function Lt(){for(var e=It();!_i.hasPrecedingLineBreak()&&H(21);)if(Rt())(t=te(171,e.pos)).objectType=e,t.indexType=Wt(),W(22),e=re(t);else{var t=te(164,e.pos);t.elementType=e,W(22),e=re(t);}return e}function Bt(e){var t=te(170);return W(e),t.operator=e,t.type=Kt(),re(t)}function Kt(){switch(M()){case 127:return Bt(127)}return Lt()}function jt(e,t,n){H(n);var r=t();if(M()===n){for(var a=ne([r],r.pos);H(n);)a.push(t());a.end=R();var i=te(e,r.pos);i.types=a,r=re(i);}return r}function Jt(){return jt(167,Kt,48)}function zt(){return jt(166,Jt,49)}function Ut(){return 27===M()||19===M()&&q(qt)}function Vt(){if(e.isModifierKind(M())&&_a(),G()||99===M())return L(),!0;if(21===M()||17===M()){var t=ni.length;return Xr(),t===ni.length}return!1}function qt(){if(L(),20===M()||24===M())return!0;if(Vt()){if(56===M()||26===M()||55===M()||58===M())return!0;if(20===M()&&(L(),36===M()))return!0}return!1}function $t(){var e=G()&&$(Gt),t=Wt();if(e){var n=te(158,e.pos);return n.parameterName=e,n.type=t,re(n)}return t}function Gt(){var e=se();if(126===M()&&!_i.hasPrecedingLineBreak())return L(),e}function Wt(){return y(20480,Ht)}function Ht(){return Ut()?wt(160):94===M()?wt(161):zt()}function Xt(){return H(56)?Wt():void 0}function Yt(){switch(M()){case 99:case 97:case 95:case 101:case 86:case 8:case 9:case 13:case 14:case 19:case 21:case 17:case 89:case 75:case 94:case 41:case 63:case 71:return!0;default:return G()}}function Qt(){if(Yt())return!0;switch(M()){case 37:case 38:case 52:case 51:case 80:case 103:case 105:case 43:case 44:case 27:case 121:case 116:return!0;default:return!!bn()||G()}}function Zt(){return 17!==M()&&89!==M()&&75!==M()&&57!==M()&&Qt()}function en(){var e=A();e&&m(!1);for(var t,n=nn();t=X(26);)n=kn(n,t,nn());return e&&m(!0),n}function tn(e){if(58===M()||!(_i.hasPrecedingLineBreak()||e&&17===M())&&Qt())return W(58),nn()}function nn(){if(rn())return on$$1();var t=cn()||dn();if(t)return t;var n=yn(0);return 71===n.kind&&36===M()?sn(n):e.isLeftHandSideExpression(n)&&e.isAssignmentOperator(B())?kn(n,Q(),nn()):gn(n)}function rn(){return 116===M()&&(!!D()||q(Rr))}function an(){return L(),!_i.hasPrecedingLineBreak()&&G()}function on$$1(){var e=te(197);return L(),_i.hasPrecedingLineBreak()||39!==M()&&!Qt()?re(e):(e.asteriskToken=X(39),e.expression=nn(),re(e))}function sn(t,n){e.Debug.assert(36===M(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var r;n?(r=te(187,n.pos)).modifiers=n:r=te(187,t.pos);var a=te(146,t.pos);return a.name=t,re(a),r.parameters=ne([a],a.pos),r.parameters.end=a.end,r.equalsGreaterThanToken=Y(36,!1,e.Diagnostics._0_expected,"=>"),r.body=mn(!!n),u(re(r))}function cn(){var t=un();if(0!==t){var n=1===t?fn(!0):$(_n);if(n){var r=!!(256&e.getModifierFlags(n)),a=M();return n.equalsGreaterThanToken=Y(36,!1,e.Diagnostics._0_expected,"=>"),n.body=36===a||17===a?mn(r):se(),u(re(n))}}}function un(){return 19===M()||27===M()||120===M()?q(ln):36===M()?1:0}function ln(){if(120===M()){if(L(),_i.hasPrecedingLineBreak())return 0;if(19!==M()&&27!==M())return 0}var t=M(),n=L();if(19===t){if(20===n)switch(L()){case 36:case 56:case 17:return 1;default:return 0}return 21===n||17===n?2:24===n?1:G()?56===L()?1:2:0}return e.Debug.assert(27===t),G()?1===ti.languageVariant?q(function(){var e=L();if(85===e)switch(L()){case 58:case 29:return!1;default:return!0}else if(26===e)return!0;return!1})?1:0:2:0}function _n(){return fn(!1)}function dn(){if(120===M()&&1===q(pn)){var e=da();return sn(yn(0),e)}}function pn(){if(120===M()){if(L(),_i.hasPrecedingLineBreak()||36===M())return 0;var e=yn(0);if(!_i.hasPrecedingLineBreak()&&71===e.kind&&36===M())return 1}return 0}function fn(t){var n=te(187);if(n.modifiers=da(),dt(56,!1,!!(256&e.getModifierFlags(n)),!t,n),n.parameters&&(t||36===M()||17===M()))return n}function mn(e){return 17===M()?fr(!1,e,!1):25!==M()&&89!==M()&&75!==M()&&Br()&&!Zt()?fr(!1,e,!0):e?S(nn):T(nn)}function gn(t){var n=X(55);if(!n)return t;var r=te(195,t.pos);return r.condition=t,r.questionToken=n,r.whenTrue=y(di,nn),r.colonToken=Y(56,!1,e.Diagnostics._0_expected,e.tokenToString(56)),r.whenFalse=nn(),re(r)}function yn(e){return vn(e,wn())}function hn(e){return 92===e||142===e}function vn(e,t){for(;;){B();var n=xn();if(!(40===M()?n>=e:n>e))break;if(92===M()&&N())break;if(118===M()){if(_i.hasPrecedingLineBreak())break;L(),t=Sn(t,Wt());}else t=kn(t,Q(),yn(n));}return t}function bn(){return(!N()||92!==M())&&xn()>0}function xn(){switch(M()){case 54:return 1;case 53:return 2;case 49:return 3;case 50:return 4;case 48:return 5;case 32:case 33:case 34:case 35:return 6;case 27:case 29:case 30:case 31:case 93:case 92:case 118:return 7;case 45:case 46:case 47:return 8;case 37:case 38:return 9;case 39:case 41:case 42:return 10;case 40:return 11}return-1}function kn(e,t,n){var r=te(194,e.pos);return r.left=e,r.operatorToken=t,r.right=n,re(r)}function Sn(e,t){var n=te(202,e.pos);return n.expression=e,n.type=t,re(n)}function Tn(){var e=te(192);return e.operator=M(),L(),e.operand=On(),re(e)}function Cn(){var e=te(188);return L(),e.expression=On(),re(e)}function En(){var e=te(189);return L(),e.expression=On(),re(e)}function Dn(){var e=te(190);return L(),e.expression=On(),re(e)}function Nn(){return 121===M()&&(!!w()||q(an))}function An(){var e=te(191);return L(),e.expression=On(),re(e)}function wn(){if(Pn()){var t=Fn();return 40===M()?vn(xn(),t):t}var n=M(),r=On();if(40===M()){var a=e.skipTrivia(ii,r.pos);184===r.kind?P(a,r.end-a,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):P(a,r.end-a,e.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,e.tokenToString(n));}return r}function On(){switch(M()){case 37:case 38:case 52:case 51:return Tn();case 80:return Cn();case 103:return En();case 105:return Dn();case 27:return Hn();case 121:if(Nn())return An();default:return Fn()}}function Pn(){switch(M()){case 37:case 38:case 52:case 51:case 80:case 103:case 105:case 121:return!1;case 27:if(1!==ti.languageVariant)return!1;default:return!0}}function Fn(){if(43===M()||44===M())return(n=te(192)).operator=M(),L(),n.operand=In(),re(n);if(1===ti.languageVariant&&27===M()&&q(Te))return Bn(!0);var t=In();if(e.Debug.assert(e.isLeftHandSideExpression(t)),(43===M()||44===M())&&!_i.hasPrecedingLineBreak()){var n=te(193,t.pos);return n.operand=t,n.operator=M(),L(),re(n)}return t}function In(){return Yn(97===M()?Mn():Rn())}function Rn(){return Xn(tr())}function Mn(){var t=Q();if(19===M()||23===M()||21===M())return t;var n=te(179,t.pos);return n.expression=t,Y(23,!1,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),n.name=We(!0),re(n)}function Ln(e,t){return e.kind===t.kind&&(71===e.kind?e.text===t.text:99===e.kind||e.name.text===t.name.text&&Ln(e.expression,t.expression))}function Bn(t){var n,r=Un(t);if(251===r.kind){var a=te(249,r.pos);a.openingElement=r,a.children=Jn(a.openingElement.tagName),a.closingElement=Wn(t),Ln(a.openingElement.tagName,a.closingElement.tagName)||P(a.closingElement.pos,a.closingElement.end-a.closingElement.pos,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(ii,a.openingElement.tagName)),n=re(a);}else e.Debug.assert(250===r.kind),n=r;if(t&&27===M()){var i=$(function(){return Bn(!0)});if(i){O(e.Diagnostics.JSX_expressions_must_have_one_parent_element);var o=te(194,n.pos);return o.end=i.end,o.left=n,o.right=i,o.operatorToken=ae(26,!1,void 0),o.operatorToken.pos=o.operatorToken.end=o.right.pos,o}}return n}function Kn(){var e=te(10,_i.getStartPos());return e.containsOnlyWhiteSpaces=11===ai,ai=_i.scanJsxToken(),re(e)}function jn(){switch(M()){case 10:case 11:return Kn();case 17:return qn(!1);case 27:return Bn(!1)}e.Debug.fail("Unknown JSX child kind "+M());}function Jn(t){var n=ne(),r=ui;for(ui|=16384;;){if(ai=_i.reScanJsxToken(),28===M())break;if(1===M()){P(t.pos,t.end-t.pos,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(ii,t));break}if(7===M())break;var a=jn();a&&n.push(a);}return n.end=_i.getTokenPos(),ui=r,n}function zn(){var e=te(254);return e.properties=we(13,$n),re(e)}function Un(e){var t=_i.getStartPos();W(27);var n,r=Vn(),a=zn();return 29===M()?(n=te(251,t),z()):(W(41),e?W(29):(W(29,void 0,!1),z()),n=te(250,t)),n.tagName=r,n.attributes=a,re(n)}function Vn(){J();for(var e=99===M()?Q():ce();H(23);){var t=te(179,e.pos);t.expression=e,t.name=We(!0),e=re(t);}return e}function qn(e){var t=te(256);return W(17),18!==M()&&(t.dotDotDotToken=X(24),t.expression=nn()),e?W(18):(W(18,void 0,!1),z()),re(t)}function $n(){if(17===M())return Gn();J();var e=te(253);if(e.name=ce(),58===M())switch(U()){case 9:e.initializer=Ye();break;default:e.initializer=qn(!0);}return re(e)}function Gn(){var e=te(255);return W(17),W(24),e.expression=en(),W(18),re(e)}function Wn(e){var t=te(252);return W(28),t.tagName=Vn(),e?W(29):(W(29,void 0,!1),z()),re(t)}function Hn(){var e=te(184);return W(27),e.type=Wt(),W(29),e.expression=On(),re(e)}function Xn(e){for(;;)if(X(23)){var t=te(179,e.pos);t.expression=e,t.name=We(!0),e=re(t);}else if(51!==M()||_i.hasPrecedingLineBreak())if(A()||!H(21)){if(13!==M()&&14!==M())return e;var n=te(183,e.pos);n.tag=e,n.template=13===M()?Ye():He(),e=re(n);}else{var r=te(180,e.pos);if(r.expression=e,22!==M()&&(r.argumentExpression=v(en),9===r.argumentExpression.kind||8===r.argumentExpression.kind)){var a=r.argumentExpression;a.text=ie(a.text);}W(22),e=re(r);}else{L();var i=te(203,e.pos);i.expression=e,e=re(i);}}function Yn(e){for(;;)if(e=Xn(e),27!==M()){if(19!==M())return e;var t=te(181,e.pos);t.expression=e,t.arguments=Qn(),e=re(t);}else{var n=$(Zn);if(!n)return e;(t=te(181,e.pos)).expression=e,t.typeArguments=n,t.arguments=Qn(),e=re(t);}}function Qn(){W(19);var e=Ve(11,ir);return W(20),e}function Zn(){if(H(27)){var e=Ve(19,Wt);if(W(29))return e&&er()?e:void 0}}function er(){switch(M()){case 19:case 23:case 20:case 22:case 56:case 25:case 55:case 32:case 34:case 33:case 35:case 53:case 54:case 50:case 48:case 49:case 18:case 1:return!0;case 26:case 17:default:return!1}}function tr(){switch(M()){case 8:case 9:case 13:return Ye();case 99:case 97:case 95:case 101:case 86:return Q();case 19:return nr();case 21:return or();case 17:return ur();case 120:if(!q(Ir))break;return lr();case 75:return fa();case 89:return lr();case 94:return dr();case 41:case 63:if(12===K())return Ye();break;case 14:return He()}return se(e.Diagnostics.Expression_expected)}function nr(){var e=te(185);return W(19),e.expression=v(en),W(20),re(e)}function rr(){var e=te(198);return W(24),e.expression=nn(),re(e)}function ar(){return 24===M()?rr():26===M()?te(200):nn()}function ir(){return y(di,ar)}function or(){var e=te(177);return W(21),_i.hasPrecedingLineBreak()&&(e.multiLine=!0),e.elements=Ve(15,ar),W(22),re(e)}function sr(e,t,n){return me(125)?sa(153,e,t,n):me(135)?sa(154,e,t,n):void 0}function cr(){var e=_i.getStartPos();if(X(24)){var t=te(263,e);return t.expression=nn(),u(re(t))}var n=la(),r=_a(),a=sr(e,n,r);if(a)return a;var i=X(39),o=G(),s=_e(),c=X(55);if(i||19===M()||27===M())return ra(e,n,r,i,s,c);if(o&&(26===M()||18===M()||58===M())){var l=te(262,e);l.name=s,l.questionToken=c;var _=X(58);return _&&(l.equalsToken=_,l.objectAssignmentInitializer=v(nn)),u(re(l))}var d=te(261,e);return d.modifiers=r,d.name=s,d.questionToken=c,W(56),d.initializer=v(nn),u(re(d))}function ur(){var e=te(178);return W(17),_i.hasPrecedingLineBreak()&&(e.multiLine=!0),e.properties=Ve(12,cr,!0),W(18),re(e)}function lr(){var t=A();t&&m(!1);var n=te(186);n.modifiers=_a(),W(89),n.asteriskToken=X(39);var r=!!n.asteriskToken,a=!!(256&e.getModifierFlags(n));return n.name=r&&a?C(_r):r?x(_r):a?S(_r):_r(),dt(56,r,a,!1,n),n.body=fr(r,a,!1),t&&m(!0),u(re(n))}function _r(){return G()?se():void 0}function dr(){var e=_i.getStartPos();if(W(94),H(23)){var t=te(204,e);return t.keywordToken=94,t.name=ce(),re(t)}var n=te(182,e);return n.expression=Rn(),n.typeArguments=$(Zn),(n.typeArguments||19===M())&&(n.arguments=Qn()),re(n)}function pr(e,t){var n=te(207);return W(17,t)||e?(_i.hasPrecedingLineBreak()&&(n.multiLine=!0),n.statements=we(1,Jr),W(18)):n.statements=qe(),re(n)}function fr(e,t,n,r){var a=D();f(e);var i=w();g(t);var o=A();o&&m(!1);var s=pr(n,r);return o&&m(!0),f(a),g(i),s}function mr(){var e=te(209);return W(25),re(e)}function gr(){var e=te(211);return W(90),W(19),e.expression=v(en),W(20),e.thenStatement=Jr(),e.elseStatement=H(82)?Jr():void 0,re(e)}function yr(){var e=te(212);return W(81),e.statement=Jr(),W(106),W(19),e.expression=v(en),W(20),H(25),re(e)}function hr(){var e=te(213);return W(106),W(19),e.expression=v(en),W(20),e.statement=Jr(),re(e)}function vr(){var e=I();W(88);var t=X(121);W(19);var n=void 0;25!==M()&&(n=104===M()||110===M()||76===M()?Qr(!0):b(en));var r;if(t?W(142):H(142)){var a=te(216,e);a.awaitModifier=t,a.initializer=n,a.expression=v(nn),W(20),r=a;}else if(H(92)){var i=te(215,e);i.initializer=n,i.expression=v(en),W(20),r=i;}else{var o=te(214,e);o.initializer=n,W(25),25!==M()&&20!==M()&&(o.condition=v(en)),W(25),20!==M()&&(o.incrementor=v(en)),W(20),r=o;}return r.statement=Jr(),re(r)}function br(e){var t=te(e);return W(218===e?72:77),Z()||(t.label=se()),ee(),re(t)}function xr(){var e=te(219);return W(96),Z()||(e.expression=v(en)),ee(),re(e)}function kr(){var e=te(220);return W(107),W(19),e.expression=v(en),W(20),e.statement=Jr(),re(e)}function Sr(){var e=te(257);return W(73),e.expression=v(en),W(56),e.statements=we(3,Jr),re(e)}function Tr(){var e=te(258);return W(79),W(56),e.statements=we(3,Jr),re(e)}function Cr(){return 73===M()?Sr():Tr()}function Er(){var e=te(221);W(98),W(19),e.expression=v(en),W(20);var t=te(235,_i.getStartPos());return W(17),t.clauses=we(2,Cr),W(18),e.caseBlock=re(t),re(e)}function Dr(){var e=te(223);return W(100),e.expression=_i.hasPrecedingLineBreak()?void 0:v(en),ee(),re(e)}function Nr(){var e=te(224);return W(102),e.tryBlock=pr(!1),e.catchClause=74===M()?Ar():void 0,e.catchClause&&87!==M()||(W(87),e.finallyBlock=pr(!1)),re(e)}function Ar(){var e=te(260);return W(74),W(19)&&(e.variableDeclaration=Yr()),W(20),e.block=pr(!1),re(e)}function wr(){var e=te(225);return W(78),ee(),re(e)}function Or(){var e=_i.getStartPos(),t=v(en);if(71===t.kind&&H(56)){var n=te(222,e);return n.label=t,n.statement=Jr(),u(re(n))}var r=te(210,e);return r.expression=t,ee(),u(re(r))}function Pr(){return L(),e.tokenIsIdentifierOrKeyword(M())&&!_i.hasPrecedingLineBreak()}function Fr(){return L(),75===M()&&!_i.hasPrecedingLineBreak()}function Ir(){return L(),89===M()&&!_i.hasPrecedingLineBreak()}function Rr(){return L(),(e.tokenIsIdentifierOrKeyword(M())||8===M())&&!_i.hasPrecedingLineBreak()}function Mr(){for(;;)switch(M()){case 104:case 110:case 76:case 89:case 75:case 83:return!0;case 109:case 138:return an();case 128:case 129:return Ur();case 117:case 120:case 124:case 112:case 113:case 114:case 131:if(L(),_i.hasPrecedingLineBreak())return!1;continue;case 141:return L(),17===M()||71===M()||84===M();case 91:return L(),9===M()||39===M()||17===M()||e.tokenIsIdentifierOrKeyword(M());case 84:if(L(),58===M()||39===M()||17===M()||79===M()||118===M())return!0;continue;case 115:L();continue;default:return!1}}function Lr(){return q(Mr)}function Br(){switch(M()){case 57:case 25:case 17:case 104:case 110:case 89:case 75:case 83:case 90:case 81:case 106:case 88:case 77:case 72:case 96:case 107:case 98:case 100:case 102:case 78:case 74:case 87:return!0;case 76:case 84:case 91:return Lr();case 120:case 124:case 109:case 128:case 129:case 138:case 141:return!0;case 114:case 112:case 113:case 115:case 131:return Lr()||!q(Pr);default:return Qt()}}function Kr(){return L(),G()||17===M()||21===M()}function jr(){return q(Kr)}function Jr(){switch(M()){case 25:return mr();case 17:return pr(!1);case 104:return ea(_i.getStartPos(),void 0,void 0);case 110:if(jr())return ea(_i.getStartPos(),void 0,void 0);break;case 89:return ta(_i.getStartPos(),void 0,void 0);case 75:return ma(_i.getStartPos(),void 0,void 0);case 90:return gr();case 81:return yr();case 106:return hr();case 88:return vr();case 77:return br(217);case 72:return br(218);case 96:return xr();case 107:return kr();case 98:return Er();case 100:return Dr();case 102:case 74:case 87:return Nr();case 78:return wr();case 57:return zr();case 120:case 109:case 138:case 128:case 129:case 124:case 76:case 83:case 84:case 91:case 112:case 113:case 114:case 117:case 115:case 131:case 141:if(Lr())return zr()}return Or()}function zr(){var t=I(),n=la(),r=_a();switch(M()){case 104:case 110:case 76:return ea(t,n,r);case 89:return ta(t,n,r);case 75:return ma(t,n,r);case 109:return Ta(t,n,r);case 138:return Ca(t,n,r);case 83:return Da(t,n,r);case 141:case 128:case 129:return Oa(t,n,r);case 91:return Ma(t,n,r);case 84:switch(L(),M()){case 79:case 58:return Wa(t,n,r);case 118:return Ra(t,n,r);default:return Ga(t,n,r)}default:if(n||r){var a=ae(247,!0,e.Diagnostics.Declaration_expected);return a.pos=t,a.decorators=n,a.modifiers=r,re(a)}}}function Ur(){return L(),!_i.hasPrecedingLineBreak()&&(G()||9===M())}function Vr(e,t,n){if(17===M()||!Z())return fr(e,t,!1,n);ee();}function qr(){if(26===M())return te(200);var e=te(176);return e.dotDotDotToken=X(24),e.name=Xr(),e.initializer=lt(!1),re(e)}function $r(){var e=te(176);e.dotDotDotToken=X(24);var t=G(),n=_e();return t&&56!==M()?e.name=n:(W(56),e.propertyName=n,e.name=Xr()),e.initializer=lt(!1),re(e)}function Gr(){var e=te(174);return W(17),e.elements=Ve(9,$r),W(18),re(e)}function Wr(){var e=te(175);return W(21),e.elements=Ve(10,qr),W(22),re(e)}function Hr(){return 17===M()||21===M()||G()}function Xr(){return 21===M()?Wr():17===M()?Gr():se()}function Yr(){var e=te(226);return e.name=Xr(),e.type=Xt(),hn(M())||(e.initializer=tn(!1)),re(e)}function Qr(t){var n=te(227);switch(M()){case 104:break;case 110:n.flags|=1;break;case 76:n.flags|=2;break;default:e.Debug.fail();}if(L(),142===M()&&q(Zr))n.declarations=qe();else{var r=N();p(t),n.declarations=Ve(8,Yr),p(r);}return re(n)}function Zr(){return Se()&&20===L()}function ea(e,t,n){var r=te(208,e);return r.decorators=t,r.modifiers=n,r.declarationList=Qr(!1),ee(),u(re(r))}function ta(t,n,r){var a=te(228,t);a.decorators=n,a.modifiers=r,W(89),a.asteriskToken=X(39),a.name=e.hasModifier(a,512)?_r():se();var i=!!a.asteriskToken,o=e.hasModifier(a,256);return dt(56,i,o,!1,a),a.body=Vr(i,o,e.Diagnostics.or_expected),u(re(a))}function na(t,n,r){var a=te(152,t);return a.decorators=n,a.modifiers=r,W(123),dt(56,!1,!1,!1,a),a.body=Vr(!1,!1,e.Diagnostics.or_expected),u(re(a))}function ra(t,n,r,a,i,o,s){var c=te(151,t);c.decorators=n,c.modifiers=r,c.asteriskToken=a,c.name=i,c.questionToken=o;var l=!!a,_=e.hasModifier(c,256);return dt(56,l,_,!1,c),c.body=Vr(l,_,s),u(re(c))}function aa(t,n,r,a,i){var o=te(149,t);return o.decorators=n,o.modifiers=r,o.name=a,o.questionToken=i,o.type=Xt(),o.initializer=e.hasModifier(o,32)?v(oa):y(6144,oa),ee(),u(re(o))}function ia(t,n,r){var a=X(39),i=_e(),o=X(55);return a||19===M()||27===M()?ra(t,n,r,a,i,o,e.Diagnostics.or_expected):aa(t,n,r,i,o)}function oa(){return tn(!1)}function sa(e,t,n,r){var a=te(e,t);return a.decorators=n,a.modifiers=r,a.name=_e(),dt(56,!1,!1,!1,a),a.body=Vr(!1,!1),u(re(a))}function ca(e){switch(e){case 114:case 112:case 113:case 115:case 131:return!0;default:return!1}}function ua(){var t;if(57===M())return!0;for(;e.isModifierKind(M());){if(t=M(),ca(t))return!0;L();}if(39===M())return!0;if(ue()&&(t=M(),L()),21===M())return!0;if(void 0!==t){if(!e.isKeyword(t)||135===t||125===t)return!0;switch(M()){case 19:case 27:case 56:case 58:case 55:return!0;default:return Z()}}return!1}function la(){for(var e;;){var t=I();if(!H(57))break;var n=te(147,t);n.expression=k(In),re(n),e?e.push(n):e=ne([n],t);}return e&&(e.end=R()),e}function _a(e){for(var t;;){var n=_i.getStartPos(),r=M();if(76===M()&&e){if(!$(ge))break}else if(!he())break;var a=re(te(r,n));t?t.push(a):t=ne([a],n);}return t&&(t.end=_i.getStartPos()),t}function da(){var e;if(120===M()){var t=_i.getStartPos(),n=M();L(),(e=ne([re(te(n,t))],t)).end=_i.getStartPos();}return e}function pa(){if(25===M()){var t=te(206);return L(),re(t)}var n=I(),r=la(),a=_a(!0),i=sr(n,r,a);return i||(123===M()?na(n,r,a):gt()?ht(n,r,a):e.tokenIsIdentifierOrKeyword(M())||9===M()||8===M()||39===M()||21===M()?ia(n,r,a):r||a?aa(n,r,a,ae(71,!0,e.Diagnostics.Declaration_expected),void 0):void e.Debug.fail("Should not have attempted to parse class member declaration."))}function fa(){return ga(_i.getStartPos(),void 0,void 0,199)}function ma(e,t,n){return ga(e,t,n,229)}function ga(e,t,n,r){var a=te(r,e);return a.decorators=t,a.modifiers=n,W(75),a.name=ya(),a.typeParameters=ot(),a.heritageClauses=va(),W(17)?(a.members=Sa(),W(18)):a.members=qe(),u(re(a))}function ya(){return G()&&!ha()?se():void 0}function ha(){return 108===M()&&q(Te)}function va(){if(ka())return we(21,ba)}function ba(){var e=M();if(85===e||108===e){var t=te(259);return t.token=e,L(),t.types=Ve(7,xa),re(t)}}function xa(){var e=te(201);return e.expression=In(),27===M()&&(e.typeArguments=$e(19,Wt,27,29)),re(e)}function ka(){return 85===M()||108===M()}function Sa(){return we(5,pa)}function Ta(e,t,n){var r=te(230,e);return r.decorators=t,r.modifiers=n,W(109),r.name=se(),r.typeParameters=ot(),r.heritageClauses=va(),r.members=Tt(),u(re(r))}function Ca(e,t,n){var r=te(231,e);return r.decorators=t,r.modifiers=n,W(138),r.name=se(),r.typeParameters=ot(),W(58),r.type=Wt(),ee(),u(re(r))}function Ea(){var e=te(264,_i.getStartPos());return e.name=_e(),e.initializer=v(oa),u(re(e))}function Da(e,t,n){var r=te(232,e);return r.decorators=t,r.modifiers=n,W(83),r.name=se(),W(17)?(r.members=Ve(6,Ea),W(18)):r.members=qe(),u(re(r))}function Na(){var e=te(234,_i.getStartPos());return W(17)?(e.statements=we(1,Jr),W(18)):e.statements=qe(),re(e)}function Aa(e,t,n,r){var a=te(233,e),i=16&r;return a.decorators=t,a.modifiers=n,a.flags|=r,a.name=se(),a.body=H(23)?Aa(I(),void 0,void 0,4|i):Na(),u(re(a))}function wa(e,t,n){var r=te(233,e);return r.decorators=t,r.modifiers=n,141===M()?(r.name=se(),r.flags|=512):r.name=Ye(!0),17===M()?r.body=Na():ee(),re(r)}function Oa(e,t,n){var r=0;if(141===M())return wa(e,t,n);if(H(129))r|=16;else if(W(128),9===M())return wa(e,t,n);return Aa(e,t,n,r)}function Pa(){return 132===M()&&q(Fa)}function Fa(){return 19===L()}function Ia(){return 41===L()}function Ra(e,t,n){var r=te(236,e);return r.decorators=t,r.modifiers=n,W(118),W(129),r.name=se(),ee(),re(r)}function Ma(e,t,n){W(91);var r,a=_i.getStartPos();if(G()&&(r=se(),26!==M()&&140!==M()))return La(e,t,n,r);var i=te(238,e);return i.decorators=t,i.modifiers=n,(r||39===M()||17===M())&&(i.importClause=Ba(r,a),W(140)),i.moduleSpecifier=Ja(),ee(),re(i)}function La(e,t,n,r){var a=te(237,e);return a.decorators=t,a.modifiers=n,a.name=r,W(58),a.moduleReference=Ka(),ee(),u(re(a))}function Ba(e,t){var n=te(239,t);return e&&(n.name=e),n.name&&!H(26)||(n.namedBindings=39===M()?za():Ua(241)),re(n)}function Ka(){return Pa()?ja():Ge(!1)}function ja(){var e=te(248);return W(132),W(19),e.expression=Ja(),W(20),re(e)}function Ja(){if(9===M()){var e=Ye();return ie(e.text),e}return en()}function za(){var e=te(240);return W(39),W(118),e.name=se(),re(e)}function Ua(e){var t=te(e);return t.elements=$e(22,241===e?qa:Va,17,18),re(t)}function Va(){return $a(246)}function qa(){return $a(242)}function $a(t){var n=te(t),r=e.isKeyword(M())&&!G(),a=_i.getTokenPos(),i=_i.getTextPos(),o=ce();return 118===M()?(n.propertyName=o,W(118),r=e.isKeyword(M())&&!G(),a=_i.getTokenPos(),i=_i.getTextPos(),n.name=ce()):n.name=o,242===t&&r&&P(a,i-a,e.Diagnostics.Identifier_expected),re(n)}function Ga(e,t,n){var r=te(244,e);return r.decorators=t,r.modifiers=n,H(39)?(W(140),r.moduleSpecifier=Ja()):(r.exportClause=Ua(245),(140===M()||9===M()&&!_i.hasPrecedingLineBreak())&&(W(140),r.moduleSpecifier=Ja())),ee(),re(r)}function Wa(e,t,n){var r=te(243,e);return r.decorators=t,r.modifiers=n,H(58)?r.isExportEquals=!0:W(79),r.expression=nn(),ee(),re(r)}function Ha(t){for(var n,r=e.createScanner(t.languageVersion,!1,0,ii),a=[],i=[],o=[],s=void 0;;){var c=r.scan();if(2!==c){if(e.isTrivia(c))continue;break}var u={kind:r.getToken(),pos:r.getTokenPos(),end:r.getTextPos()},l=ii.substring(u.pos,u.end),_=e.getFileReferenceFromReferencePath(l,u);if(_){var d=_.fileReference;t.hasNoDefaultLib=_.isNoDefaultLib;var p=_.diagnosticMessage;d&&(_.isTypeReferenceDirective?i.push(d):a.push(d)),p&&ni.push(e.createFileDiagnostic(t,u.pos,u.end-u.pos,p));}else{var f=/^\/\/\/\s*".length-n,e.Diagnostics.Type_argument_list_cannot_be_empty)}}function b(e){var t=te(143,e.pos);return t.left=e,t.right=ce(),re(t)}function x(){var e=te(275);return e.literal=St(),re(e)}function k(){var e=te(274);return L(),e.type=c(),re(e)}function S(){var e=te(272);return L(),e.types=Ve(26,c),T(e.types),W(22),re(e)}function T(t){0===ni.length&&t.hasTrailingComma&&P(t.end-",".length,",".length,e.Diagnostics.Trailing_comma_not_allowed);}function C(){var e=te(271);return L(),e.types=E(c()),W(20),re(e)}function E(t){e.Debug.assert(!!t);for(var n=ne([t],t.pos);H(49);)n.push(c());return n.end=_i.getStartPos(),n}function D(){var e=te(268);return L(),re(e)}function N(){var e=te(293);return e.literal=Pt(),re(e)}function A(){var e=_i.getStartPos();if(L(),26===M()||18===M()||20===M()||29===M()||58===M()||49===M())return re(t=te(269,e));var t=te(273,e);return t.type=c(),re(t)}function w(e,t,n){o(e,5,void 0,1),ti={languageVariant:0,text:e};var r=I(t,n),a=ni;return s(),r?{jsDoc:r,diagnostics:a}:void 0}function F(e,t,n){var r=ai,a=ni.length,i=pi,o=I(t,n);return o&&(o.parent=e),ai=r,ni.length=a,pi=i,o}function I(t,n){function r(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift();}function i(e){for(;e.length&&("\n"===e[e.length-1]||"\r"===e[e.length-1]);)e.pop();}function o(){var e=te(283,t);return e.tags=E,e.comment=N.length?N.join(""):void 0,re(e,C)}function s(){for(;5===M()||4===M();)x();}function c(t){e.Debug.assert(57===M());var n=te(57,_i.getTokenPos());n.end=_i.getTextPos(),x();var r=k();if(s(),r){var a;if(r)switch(r.text){case"augments":a=y(n,r);break;case"param":a=p(n,r);break;case"return":case"returns":a=f(n,r);break;case"template":a=b(n,r);break;case"type":a=m(n,r);break;case"typedef":a=h(n,r);break;default:a=l(n,r);}else a=l(n,r);a&&_(a,u(t+a.end-a.pos));}}function u(e){function t(t){n||(n=e),a.push(t),e+=t.length;}for(var n,a=[],o=0;57!==M()&&1!==M();){switch(M()){case 4:o>=1&&(o=0,a.push(_i.getTokenText())),e=0;break;case 57:break;case 5:if(2===o)t(_i.getTokenText());else{var s=_i.getTokenText();void 0!==n&&e+s.length>n&&a.push(s.slice(n-e-1)),e+=s.length;}break;case 39:if(0===o){o=1,e+=_i.getTokenText().length;break}default:o=2,t(_i.getTokenText());}if(57===M())break;x();}return r(a),i(a),a}function l(e,t){var n=te(284,e.pos);return n.atToken=e,n.tagName=t,re(n)}function _(e,t){e.comment=t.join(""),E?E.push(e):E=ne([e],e.pos),E.end=e.end;}function d(){return $(function(){if(s(),17===M())return a()})}function p(t,n){var r=d();s();var a,i;if(X(21)?(a=k(),s(),i=!0,X(58)&&en(),W(22)):e.tokenIsIdentifierOrKeyword(M())&&(a=k()),a){var o,c;r?c=a:o=a,r||(r=d());var u=te(286,t.pos);return u.atToken=t,u.tagName=n,u.preParameterName=o,u.typeExpression=r,u.postParameterName=c,u.parameterName=c||o,u.isBracketed=i,re(u)}P(_i.getStartPos(),0,e.Diagnostics.Identifier_expected);}function f(t,n){e.forEach(E,function(e){return 287===e.kind})&&P(n.pos,_i.getTokenPos()-n.pos,e.Diagnostics._0_tag_already_specified,n.text);var r=te(287,t.pos);return r.atToken=t,r.tagName=n,r.typeExpression=d(),re(r)}function m(t,n){e.forEach(E,function(e){return 288===e.kind})&&P(n.pos,_i.getTokenPos()-n.pos,e.Diagnostics._0_tag_already_specified,n.text);var r=te(288,t.pos);return r.atToken=t,r.tagName=n,r.typeExpression=d(),re(r)}function g(t,n){var r=d();s();var a=k();s();if(a){var i=te(291,t.pos);return i.atToken=t,i.tagName=n,i.name=a,i.typeExpression=r,re(i)}P(_i.getStartPos(),0,e.Diagnostics.Identifier_expected);}function y(e,t){var n=d(),r=te(285,e.pos);return r.atToken=e,r.tagName=t,r.typeExpression=n,re(r)}function h(e,t){function n(){for(var e=te(292,_i.getStartPos()),t=_i.getStartPos(),n=!0,r=!1,a=!1;1!==M()&&!a;)switch(x(),M()){case 57:n&&((a=!v(e))||(t=_i.getStartPos())),r=!1;break;case 4:t=_i.getStartPos()-1,n=!0,r=!1;break;case 39:r&&(n=!1),r=!0;break;case 71:n=!1;}return _i.setTextPos(t),re(e)}function r(e){var t=_i.getTokenPos(),n=k();if(n&&H(23)){var a=te(233,t);return a.flags|=e,a.name=n,a.body=r(4),a}return n&&4&e&&(n.isInJSDocNamespace=!0),n}var a=d();s();var i=te(290,e.pos);if(i.atToken=e,i.tagName=t,i.fullName=r(0),i.fullName)for(var o=i.fullName;;){if(71===o.kind||!o.body){i.name=71===o.kind?o:o.name;break}o=o.body;}if(i.typeExpression=a,s(),a){if(277===a.type.kind){var c=a.type;71===c.name.kind&&"Object"===c.name.text&&(i.jsDocTypeLiteral=n());}i.jsDocTypeLiteral||(i.jsDocTypeLiteral=a.type);}else i.jsDocTypeLiteral=n();return re(i)}function v(t){e.Debug.assert(57===M());var n=te(57,_i.getStartPos());n.end=_i.getTextPos(),x();var r=k();if(s(),!r)return!1;switch(r.text){case"type":return!t.jsDocTypeTag&&(t.jsDocTypeTag=m(n,r),!0);case"prop":case"property":var a=g(n,r);return!!a&&(t.jsDocPropertyTags||(t.jsDocPropertyTags=[]),t.jsDocPropertyTags.push(a),!0)}return!1}function b(t,n){e.forEach(E,function(e){return 289===e.kind})&&P(n.pos,_i.getTokenPos()-n.pos,e.Diagnostics._0_tag_already_specified,n.text);for(var r=ne();;){var a=k();if(s(),!a)return void P(_i.getStartPos(),0,e.Diagnostics.Identifier_expected);var i=te(145,a.pos);if(i.name=a,re(i),r.push(i),26!==M())break;x(),s();}var o=te(289,t.pos);return o.atToken=t,o.tagName=n,o.typeParameters=r,re(o),r.end=o.end,o}function x(){return ai=_i.scanJSDocToken()}function k(){return S(e.tokenIsIdentifierOrKeyword(M()))}function S(t){if(t){var n=_i.getTokenPos(),r=_i.getTextPos(),a=te(71,n);return a.text=T.substring(n,r),re(a,r),x(),a}O(e.Diagnostics.Identifier_expected);}var T=ii;t=t||0;var C=void 0===n?T.length:t+n;n=C-t,e.Debug.assert(t>=0),e.Debug.assert(t<=C),e.Debug.assert(C<=T.length);var E,D,N=[];return function(e,t){return 47===e.charCodeAt(t)&&42===e.charCodeAt(t+1)&&42===e.charCodeAt(t+2)&&42!==e.charCodeAt(t+3)}(T,t)?(_i.scanRange(t+3,n-5,function(){function e(e){s||(s=u),N.push(e),u+=e.length;}var n=!0,a=1,s=void 0,u=t-Math.max(T.lastIndexOf("\n",t),0)+4;for(x();5===M();)x();for(4===M()&&(a=0,u=0,x());1!==M();){switch(M()){case 57:0===a||1===a?(i(N),c(u),a=0,n=!1,s=void 0,u++):e(_i.getTokenText());break;case 4:N.push(_i.getTokenText()),a=0,u=0;break;case 39:var l=_i.getTokenText();1===a||2===a?(a=2,e(l)):(a=1,u+=l.length);break;case 71:e(_i.getTokenText()),a=2;break;case 5:var _=_i.getTokenText();2===a?N.push(_):void 0!==s&&u+_.length>s&&N.push(_.slice(s-u-1)),u+=_.length;break;case 1:break;default:a=2,e(_i.getTokenText());}n?x():n=!0;}r(N),i(N),D=o();}),D):D}t.isJSDocType=n,t.parseJSDocTypeExpressionForTests=r,t.parseJSDocTypeExpression=a,t.parseIsolatedJSDocComment=w,t.parseJSDocComment=F;var R;!function(e){e[e.BeginningOfLine=0]="BeginningOfLine",e[e.SawAsterisk=1]="SawAsterisk",e[e.SavingComments=2]="SavingComments";}(R||(R={})),t.parseJSDocCommentWorker=I;}(gi=t.JSDocParser||(t.JSDocParser={}));}(g||(g={}));var y;!function(t){function n(t,n,r,a){if(a=a||e.Debug.shouldAssert(2),_(t,n,r,a),e.textChangeRangeIsUnchanged(r))return t;if(0===t.statements.length)return g.parseSourceFile(t.fileName,n,t.languageVersion,void 0,!0,t.scriptKind);var i=t;e.Debug.assert(!i.hasBeenIncrementallyParsed),i.hasBeenIncrementallyParsed=!0;var o=t.text,s=d(t),l=u(t,r);_(t,n,l,a),e.Debug.assert(l.span.start<=r.span.start),e.Debug.assert(e.textSpanEnd(l.span)===e.textSpanEnd(r.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(l))===e.textSpanEnd(e.textChangeRangeNewSpan(r)));var p=e.textChangeRangeNewSpan(l).length-l.span.length;return c(i,l.span.start,e.textSpanEnd(l.span),e.textSpanEnd(e.textChangeRangeNewSpan(l)),p,o,n,a),g.parseSourceFile(t.fileName,n,t.languageVersion,s,!0,t.scriptKind)}function r(t,n,r,o,c,u){function l(t){var n="";if(u&&a(t)&&(n=o.substring(t.pos,t.end)),t._children&&(t._children=void 0),t.pos+=r,t.end+=r,u&&a(t)&&e.Debug.assert(n===c.substring(t.pos,t.end)),i(t,l,_),t.jsDoc)for(var d=0,p=t.jsDoc;d=n,"Adjusting an element that was entirely before the change range"),e.Debug.assert(t.pos<=r,"Adjusting an element that was entirely after the change range"),e.Debug.assert(t.pos<=t.end),t.pos=Math.min(t.pos,a),t.end>=r?t.end+=i:t.end=Math.min(t.end,a),e.Debug.assert(t.pos<=t.end),t.parent&&(e.Debug.assert(t.pos>=t.parent.pos),e.Debug.assert(t.end<=t.parent.end));}function s(t,n){if(n){var r=t.pos;i(t,function(t){e.Debug.assert(t.pos>=r),r=t.end;}),e.Debug.assert(r<=t.end);}}function c(t,n,a,c,u,l,_,d){function p(t){if(e.Debug.assert(t.pos<=t.end),t.pos>a)r(t,!1,u,l,_,d);else{var m=t.end;if(m>=n)return t.intersectsChange=!0,t._children=void 0,o(t,n,a,c,u),i(t,p,f),void s(t,d);e.Debug.assert(ma)r(t,!0,u,l,_,d);else{var i=t.end;if(i>=n){t.intersectsChange=!0,t._children=void 0,o(t,n,a,c,u);for(var s=0,f=t;s0&&a<=1;a++){var i=l(t,r);e.Debug.assert(i.pos<=r);var o=i.pos;r=Math.max(0,o-1);}var s=e.createTextSpanFromBounds(r,e.textSpanEnd(n.span)),c=n.newLength+(n.span.start-r);return e.createTextChangeRange(s,c)}function l(t,n){function r(t){var n=void 0;return i(t,function(t){e.nodeIsPresent(t)&&(n=t);}),n}function a(t){if(!e.nodeIsMissing(t))return t.pos<=n?(t.pos>=s.pos&&(s=t),nn),!0)}var o,s=t;if(i(t,a),o){var c=function(e){for(;;){var t=r(e);if(!t)return e;e=t;}}(o);c.pos>s.pos&&(s=c);}return s}function _(t,n,r,a){var i=t.text;if(r&&(e.Debug.assert(i.length-r.span.length+r.newLength===n.length),a||e.Debug.shouldAssert(3))){var o=i.substr(0,r.span.start),s=n.substr(0,r.span.start);e.Debug.assert(o===s);var c=i.substring(e.textSpanEnd(r.span),i.length),u=n.substring(e.textSpanEnd(e.textChangeRangeNewSpan(r)),n.length);e.Debug.assert(c===u);}}function d(t){function n(e){function n(t){return e>=t.pos&&e=t.pos&&e=158&&e<=173)return-3;switch(e){case 181:case 182:case 177:return 537396545;case 233:return 574674241;case 146:return 536872257;case 187:return 601249089;case 186:case 228:return 601281857;case 227:return 546309441;case 229:case 199:return 539358529;case 152:return 601015617;case 151:case 153:case 154:return 601015617;case 119:case 133:case 130:case 136:case 134:case 122:case 137:case 105:case 145:case 148:case 150:case 155:case 156:case 157:case 230:case 231:return-3;case 178:return 540087617;case 260:return 537920833;case 174:case 175:return 537396545;default:return 536872257}}!function(e){e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly";}(e.ModuleInstanceState||(e.ModuleInstanceState={})),e.getModuleInstanceState=t;var P;!function(e){e[e.None=0]="None",e[e.IsContainer=1]="IsContainer",e[e.IsBlockScopedContainer=2]="IsBlockScopedContainer",e[e.IsControlFlowContainer=4]="IsControlFlowContainer",e[e.IsFunctionLike=8]="IsFunctionLike",e[e.IsFunctionExpression=16]="IsFunctionExpression",e[e.HasLocals=32]="HasLocals",e[e.IsInterface=64]="IsInterface",e[e.IsObjectLiteralOrClassExpressionMethod=128]="IsObjectLiteralOrClassExpressionMethod";}(P||(P={}));var F=function(){function n(t,n){Et=t,Dt=n,Nt=e.getEmitScriptTarget(Dt),Vt=a(Et,n),$t=e.createMap(),Wt=0,Gt=e.isDeclarationFile(Et),qt=e.objectAllocator.getSymbolConstructor(),Et.locals||($e(Et),Et.symbolCount=Wt,Et.classifiableNames=$t),Et=void 0,Dt=void 0,Nt=void 0,At=void 0,wt=void 0,Ot=void 0,Pt=void 0,Ft=!1,It=void 0,Rt=void 0,Mt=void 0,Lt=void 0,Bt=void 0,Kt=void 0,Jt=void 0,zt=!1,Ut=0,Yt=0;}function a(t,n){return!((void 0===n.alwaysStrict?!n.strict:!n.alwaysStrict)||e.isDeclarationFile(t))||!!t.externalModuleIndicator}function i(e,t){return Wt++,new qt(e,t)}function o(t,n,r){if(t.flags|=r,n.symbol=t,t.declarations||(t.declarations=[]),t.declarations.push(n),1952&r&&!t.exports&&(t.exports=e.createMap()),6240&r&&!t.members&&(t.members=e.createMap()),107455&r){var a=t.valueDeclaration;(!a||a.kind!==n.kind&&233===a.kind)&&(t.valueDeclaration=n);}}function s(t){var n=e.getNameOfDeclaration(t);if(n){if(e.isAmbientModule(t))return e.isGlobalScopeAugmentation(t)?"__global":'"'+n.text+'"';if(144===n.kind){var r=n.expression;return e.isStringOrNumericLiteral(r)?r.text:(e.Debug.assert(e.isWellKnownSymbolSyntactically(r)),e.getPropertyNameForKnownSymbolName(r.name.text))}return n.text}switch(t.kind){case 152:return"__constructor";case 160:case 155:return"__call";case 161:case 156:return"__new";case 157:return"__index";case 244:return"__export";case 243:return t.isExportEquals?"export=":"default";case 194:switch(e.getSpecialPropertyAssignmentKind(t)){case 2:return"export=";case 1:case 4:case 5:return t.left.name.text;case 3:return t.left.expression.name.text}e.Debug.fail("Unknown binary declaration kind");break;case 228:case 229:return e.hasModifier(t,512)?"default":void 0;case 279:return e.isJSDocConstructSignature(t)?"__new":"__call";case 146:e.Debug.assert(279===t.parent.kind);var a=t.parent;return"arg"+e.indexOf(a.parameters,t);case 290:var i=t.parent&&t.parent.parent,o=void 0;if(i&&208===i.kind&&i.declarationList.declarations.length>0){var s=i.declarationList.declarations[0].name;71===s.kind&&(o=s.text);}return o}}function c(t){return t.name?e.declarationNameToString(t.name):s(t)}function u(t,n,r,a,u){e.Debug.assert(!e.hasDynamicName(r));var l,_=e.hasModifier(r,512),d=_&&n?"default":s(r);if(void 0===d)l=i(0,"__missing");else if((l=t.get(d))||t.set(d,l=i(0,d)),d&&788448&a&&$t.set(d,d),l.flags&u)if(l.isReplaceableByMethod)t.set(d,l=i(0,d));else{r.name&&(r.name.parent=r);var p=2&l.flags?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0;l.declarations&&l.declarations.length&&(_?p=e.Diagnostics.A_module_cannot_have_multiple_default_exports:l.declarations&&l.declarations.length&&(_||243===r.kind&&!r.isExportEquals)&&(p=e.Diagnostics.A_module_cannot_have_multiple_default_exports)),e.forEach(l.declarations,function(t){Et.bindDiagnostics.push(e.createDiagnosticForNode(e.getNameOfDeclaration(t)||t,p,c(t)));}),Et.bindDiagnostics.push(e.createDiagnosticForNode(e.getNameOfDeclaration(r)||r,p,c(r))),l=i(0,d);}return o(l,r,a),l.parent=n,l}function l(t,n,r){var a=1&e.getCombinedModifierFlags(t);if(8388608&n)return 246===t.kind||237===t.kind&&a?u(wt.symbol.exports,wt.symbol,t,n,r):u(wt.locals,void 0,t,n,r);var i=290===t.kind&&t.name&&71===t.name.kind&&t.name.isInJSDocNamespace;if(!e.isAmbientModule(t)&&(a||32&wt.flags)||i){var o=(107455&n?1048576:0)|(793064&n?2097152:0)|(1920&n?4194304:0),s=u(wt.locals,void 0,t,o,r);return s.exportSymbol=u(wt.symbol.exports,wt.symbol,t,n,r),t.localSymbol=s,s}return u(wt.locals,void 0,t,n,r)}function _(t,n){var r=wt,a=Ot;if(1&n?(wt=Ot=t,32&n&&(wt.locals=e.createMap()),pe(wt)):2&n&&((Ot=t).locals=void 0),4&n){var i=It,o=Rt,s=Mt,c=Lt,u=Jt,l=zt,_=16&n&&!e.hasModifier(t,256)&&!!e.getImmediatelyInvokedFunctionExpression(t);_?Lt=k():(It={flags:2},144&n&&(It.container=t),Lt=void 0),Rt=void 0,Mt=void 0,Jt=void 0,zt=!1,d(t),t.flags&=-1409,!(1&It.flags)&&8&n&&e.nodeIsPresent(t.body)&&(t.flags|=128,zt&&(t.flags|=256)),265===t.kind&&(t.flags|=Ut),_?(C(Lt,It),It=w(Lt)):It=i,Rt=o,Mt=s,Lt=c,Jt=u,zt=l;}else 64&n?(Ft=!1,d(t),t.flags=Ft?64|t.flags:-65&t.flags):d(t);wt=r,Ot=a;}function d(e){if(Gt)m(e);else if(536870912&e.transformFlags)Gt=!0,m(e),Gt=!1,Yt|=e.transformFlags&~O(e.kind);else{var t=Yt;Yt=0,m(e),Yt=t|r(e,Yt);}}function p(t){if(void 0!==t)if(Gt)e.forEach(t,$e);else{var n=Yt;Yt=0;for(var r=0,a=0,i=t;a=108&&t.originalKeywordKind<=116&&!e.isIdentifierName(t)&&!e.isInAmbientContext(t)&&(Et.parseDiagnostics.length||Et.bindDiagnostics.push(e.createDiagnosticForNode(t,we(t),e.declarationNameToString(t))));}function we(t){return e.getContainingClass(t)?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:Et.externalModuleIndicator?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function Oe(t){Vt&&e.isLeftHandSideExpression(t.left)&&e.isAssignmentOperator(t.operatorToken.kind)&&Re(t,t.left);}function Pe(e){Vt&&e.variableDeclaration&&Re(e,e.variableDeclaration.name);}function Fe(t){if(Vt&&71===t.expression.kind){var n=e.getErrorSpanForNode(Et,t.expression);Et.bindDiagnostics.push(e.createFileDiagnostic(Et,n.start,n.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode));}}function Ie(e){return 71===e.kind&&("eval"===e.text||"arguments"===e.text)}function Re(t,n){if(n&&71===n.kind){var r=n;if(Ie(r)){var a=e.getErrorSpanForNode(Et,n);Et.bindDiagnostics.push(e.createFileDiagnostic(Et,a.start,a.length,Me(t),r.text));}}}function Me(t){return e.getContainingClass(t)?e.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:Et.externalModuleIndicator?e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:e.Diagnostics.Invalid_use_of_0_in_strict_mode}function Le(e){Vt&&Re(e,e.name);}function Be(t){return e.getContainingClass(t)?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:Et.externalModuleIndicator?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function Ke(t){if(Nt<2&&265!==Ot.kind&&233!==Ot.kind&&!e.isFunctionLike(Ot)){var n=e.getErrorSpanForNode(Et,t);Et.bindDiagnostics.push(e.createFileDiagnostic(Et,n.start,n.length,Be(t)));}}function je(t){Vt&&4&t.numericLiteralFlags&&Et.bindDiagnostics.push(e.createDiagnosticForNode(t,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode));}function Je(e){Vt&&Re(e,e.operand);}function ze(e){Vt&&(43!==e.operator&&44!==e.operator||Re(e,e.operand));}function Ue(t){Vt&&Ve(t,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode);}function Ve(t,n,r,a,i){var o=e.getSpanOfTokenAtPosition(Et,t.pos);Et.bindDiagnostics.push(e.createFileDiagnostic(Et,o.start,o.length,n,r,a,i));}function qe(t){return"__"+e.indexOf(t.parent.parameters,t)}function $e(t){if(t){t.parent=At;var n=Vt;if(e.isInJavaScriptFile(t)&&Ge(t),Xe(t),t.kind>142){var a=At;At=t;var i=de(t);0===i?d(t):_(t,i),At=a;}else Gt||0!=(536870912&t.transformFlags)||(Yt|=r(t,0));Vt=n;}}function Ge(e){if(e.jsDoc)for(var t=0,n=e.jsDoc;t1);}function v(t,n,r){function a(t,n){return function(r){return Ov.add(e.createDiagnosticForNode(r,n,t))}}n.forEach(function(n,i){var o=t.get(i);o?e.forEach(o.declarations,a(i,r)):t.set(i,n);});}function b(e){if(134217728&e.flags)return e;var t=n(e);return bv[t]||(bv[t]={})}function x(e){var n=t(e);return xv[n]||(xv[n]={flags:0})}function k(e){return 32768&e.flags?e.objectFlags:0}function S(e){return 134217728&e.flags?e.checkFlags:0}function T(t){return 265===t.kind&&!e.isExternalOrCommonJsModule(t)}function C(t,n,r){if(r){var a=t.get(n);if(a){if(e.Debug.assert(0==(1&S(a)),"Should never get an instantiated symbol here."),a.flags&r)return a;if(8388608&a.flags){var i=Z(a);if(i===eh||i.flags&r)return a}}}}function E(t,n){var r=t.parent,a=t.parent.parent,i=C(r.locals,n,107455),o=C(a.symbol.members,n,107455);if(i&&o)return[i,o];e.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration");}function D(t,n){function a(t,n,r){return!!e.findAncestor(t,function(a){if(a===r)return"quit";if(e.isFunctionLike(a))return!0;if(a.parent&&149===a.parent.kind&&a.parent.initializer===a)if(32&e.getModifierFlags(a.parent)){if(151===n.kind)return!0}else if(!(149===n.kind&&!(32&e.getModifierFlags(n)))||e.getContainingClass(t)!==e.getContainingClass(n))return!0})}var i=e.getSourceFileOfNode(t),o=e.getSourceFileOfNode(n);if(i!==o){if(My&&(i.externalModuleIndicator||o.externalModuleIndicator)||!Iy.outFile&&!Iy.out||e.isInAmbientContext(t))return!0;if(a(n,t))return!0;var s=r.getSourceFiles();return e.indexOf(s,i)<=e.indexOf(s,o)}if(t.pos<=n.pos){if(176===t.kind){var c=e.getAncestor(n,176);return c?e.findAncestor(c,e.isBindingElement)!==e.findAncestor(t,e.isBindingElement)||t.pos=o&&(i=i.substr(0,o-"...".length)+"..."),i}function $e(t,n,r){var a=e.getSingleLineStringWriter();Ze().buildTypePredicateDisplay(t,a,n,r);var i=a.string();return e.releaseStringWriter(a),i}function Ge(e){for(var t=[],n=0,r=0;r0&&(26!==t&&ze(a),Je(a,t),ze(a)),c(e[n],26===t?0:64);}function l(e,t,n,o,s){if((32&e.flags||!De(e.name))&&r(e,a,i,793064,0,s),n0&&(Je(t,26),ze(t)),n(e[r]);}function p(e,t,n,r){if(e&&e.length){Je(n,27);for(var i=256,o=0;o0&&(Je(n,26),ze(n),i=0),a(t(e[o]),n,r,i);Je(n,29);}}function f(e,t,n,r,a,i){Je(n,19),e&&s(e,n,r,a,i);for(var o=0;o0||e)&&(Je(n,26),ze(n)),s(t[o],n,r,a,i);Je(n,20);}function m(t,n,r,i,o){e.isIdentifierTypePredicate(t)?n.writeParameter(t.parameterName):je(n,99),ze(n),je(n,126),ze(n),a(t.type,n,r,i,o);}function g(e,t,n,r,i){var o=Ir(e);2048&r&&ut(o)||(8&r?(ze(t),Je(t,36)):Je(t,56),ze(t),e.typePredicate?m(e.typePredicate,t,n,r,i):a(o,t,n,r,i));}function y(e,t,n,r,a,i){1===a&&(je(t,94),ze(t)),e.target&&32&r?p(e.target.typeParameters,e.mapper,t,n):l(e.typeParameters,t,n,r,i),f(e.thisParameter,e.parameters,t,n,r,i),g(e,t,n,r,i);}function h(t,n,r,i,o,s){if(t){switch(t.isReadonly&&(je(n,131),ze(n)),Je(n,21),n.writeParameter(t.declaration?e.declarationNameToString(t.declaration.parameters[0].name):"x"),Je(n,56),ze(n),r){case 1:je(n,133);break;case 0:je(n,136);}Je(n,22),Je(n,56),ze(n),a(t.type,n,i,o,s),Je(n,25),n.writeLine();}}return Mv||(Mv={buildSymbolDisplay:r,buildTypeDisplay:a,buildTypeParameterDisplay:o,buildTypePredicateDisplay:m,buildParameterDisplay:s,buildDisplayForParametersAndDelimiters:f,buildDisplayForTypeParametersAndDelimiters:l,buildTypeParameterDisplayFromSymbol:i,buildSignatureDisplay:y,buildIndexSignatureDisplay:h,buildReturnTypeDisplay:g})}function et(t){if(t){var n=x(t);return void 0===n.isVisible&&(n.isVisible=!!function(){switch(t.kind){case 176:return et(t.parent.parent);case 226:if(e.isBindingPattern(t.name)&&!t.name.elements.length)return!1;case 233:case 229:case 230:case 231:case 228:case 232:case 237:if(e.isExternalModuleAugmentation(t))return!0;var n=ot(t);return 1&e.getCombinedModifierFlags(t)||237!==t.kind&&265!==n.kind&&e.isInAmbientContext(n)?et(n):T(n);case 149:case 148:case 153:case 154:case 151:case 150:if(24&e.getModifierFlags(t))return!1;case 152:case 156:case 155:case 157:case 146:case 234:case 160:case 161:case 163:case 159:case 164:case 165:case 166:case 167:case 168:return et(t.parent);case 239:case 240:case 242:return!1;case 145:case 265:case 236:return!0;case 243:default:return!1}}()),n.isVisible}return!1}function tt(t){function n(t){e.forEach(t,function(t){x(t).isVisible=!0;var r=B(t)||t;if(e.contains(i,r)||i.push(r),e.isInternalModuleImportEqualsDeclaration(t)){var a=N(t,Zf(t.moduleReference).text,901119,void 0,void 0);a&&n(a.declarations);}});}var r;if(t.parent&&243===t.parent.kind)r=N(t.parent,t.text,9289727,e.Diagnostics.Cannot_find_name_0,t);else if(246===t.parent.kind){var a=t.parent;r=a.parent.parent.moduleSpecifier?$(a.parent.parent,a):ae(a.propertyName||a.name,9289727);}var i=[];return r&&n(r.declarations),i}function nt(e,t){var n=rt(e,t);if(n>=0){for(var r=gv.length,a=n;a=0;n--){if(at(gv[n],hv[n]))return-1;if(gv[n]===e&&hv[n]===t)return n}return-1}function at(t,n){return 0===n?b(t).type:2===n?b(t).declaredType:1===n?t.resolvedBaseConstructorType:3===n?t.resolvedReturnType:void e.Debug.fail("Unhandled TypeSystemPropertyName "+n)}function it(){return gv.pop(),hv.pop(),yv.pop()}function ot(t){return(t=e.findAncestor(e.getRootDeclaration(t),function(e){switch(e.kind){case 226:case 227:case 242:case 241:case 240:case 239:return!1;default:return!0}}))&&t.parent}function st(t){var n=fn(be(t));return n.typeParameters?Hr(n,e.map(n.typeParameters,function(e){return nh})):n}function ct(e,t){var n=_r(e,t);return n?Lt(n):void 0}function ut(e){return e&&0!=(1&e.flags)}function lt(e){var t=ve(e);return t&&b(t).type||ht(e,!1)}function _t(t){return 144===t.kind&&!e.isStringOrNumericLiteral(t.expression)}function dt(t,n,r){if(8192&(t=kc(t,function(e){return!(6144&e.flags)})).flags)return vh;if(65536&t.flags)return Sc(t,function(e){return dt(e,n,r)});for(var a=e.createMap(),i=e.createMap(),o=0,s=n;o=2?Fa(nh):Ih;var o=Ka(e.map(a,function(t){return e.isOmittedExpression(t)?nh:bt(t,n,r)}));return n&&((o=Xr(o)).pattern=t),o}function St(e,t,n){return 174===e.kind?xt(e,t,n):kt(e,t,n)}function Tt(e,t){var n=ht(e,!0);return n?(t&&hs(e,n),261===e.kind?n:ms(n)):(n=e.dotDotDotToken?Ih:nh,t&&jy&&(Ct(e)||ys(e,n)),n)}function Ct(t){var n=e.getRootDeclaration(t);return mp(146===n.kind?n.parent:n)}function Et(t){var n=b(t);if(!n.type){if(16777216&t.flags)return n.type=st(t);var r=t.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(r))return n.type=nh;if(243===r.kind)return n.type=jd(r.expression);if(65536&r.flags&&291===r.kind&&r.typeExpression)return n.type=wi(r.typeExpression.type);if(!nt(t,0))return ah;var a=void 0;a=194===r.kind||179===r.kind&&194===r.parent.kind?vt(t):Tt(r,!0),it()||(a=Mt(t)),n.type=a;}return n.type}function Dt(t){if(t){if(153===t.kind)return t.type&&wi(t.type);var n=e.getSetAccessorTypeAnnotationNode(t);return n&&wi(n)}}function Nt(e){var t=Xg(e);return t&&t.symbol}function At(e){return Fr(Nr(e))}function wt(t){var n=b(t);if(!n.type){var r=e.getDeclarationOfKind(t,153),a=e.getDeclarationOfKind(t,154);if(r&&65536&r.flags){var i=ft(r);if(i)return n.type=i}if(!nt(t,0))return ah;var o=void 0,s=Dt(r);if(s)o=s;else{var c=Dt(a);c?o=c:r&&r.body?o=z_(r):(jy&&(a?l(a,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Ue(t)):(e.Debug.assert(!!r,"there must existed getter as we are current checking either setter or getter in this function"),l(r,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Ue(t)))),o=nh);}it()||(o=nh,jy&&l(e.getDeclarationOfKind(t,153),e.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,Ue(t))),n.type=o;}return n.type}function Ot(e){var t=Yt(an(e));return 540672&t.flags?t:void 0}function Pt(t){var n=b(t);if(!n.type)if(1536&t.flags&&e.isShorthandAmbientModuleSymbol(t))n.type=nh;else{var r=Ee(16,t);if(32&t.flags){var a=Ot(t);n.type=a?ti([r,a]):r;}else n.type=Ky&&67108864&t.flags?is(r,2048):r;}return n.type}function Ft(e){var t=b(e);return t.type||(t.type=_n(e)),t.type}function It(e){var t=b(e);if(!t.type){var n=Z(e);t.type=107455&n.flags?Lt(n):ah;}return t.type}function Rt(t){var n=b(t);if(!n.type)if(100===Oy)l(t.valueDeclaration,e.Diagnostics.Generic_type_instantiation_is_excessively_deep_and_possibly_infinite),n.type=ah;else{if(!nt(t,0))return ah;Oy++;var r=to(Lt(n.target),n.mapper);Oy--,it()||(r=Mt(t)),n.type=r;}return n.type}function Mt(t){return t.valueDeclaration.type?(l(t.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Ue(t)),ah):(jy&&l(t.valueDeclaration,e.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,Ue(t)),nh)}function Lt(e){return 1&S(e)?Rt(e):7&e.flags?Et(e):9136&e.flags?Pt(e):8&e.flags?Ft(e):98304&e.flags?wt(e):8388608&e.flags?It(e):ah}function Bt(e,t){return void 0!==e&&void 0!==t&&0!=(4&k(e))&&e.target===t}function Kt(e){return 4&k(e)?e.target:e}function jt(t,n){function r(t){if(7&k(t)){var a=Kt(t);return a===n||e.forEach(Qt(a),r)}if(131072&t.flags)return e.forEach(t.types,r)}return r(t)}function Jt(t,n){for(var r=0,a=n;r0)return!0;if(540672&e.flags){var t=nr(e);return t&&tn(t)&&$t(t)}return!1}function Wt(t){return e.getClassExtendsHeritageClauseElement(t.symbol.valueDeclaration)}function Ht(t,n,r){var a=e.length(n),i=e.isInJavaScriptFile(r);return e.filter(pr(t,1),function(t){return(i||a>=Er(t.typeParameters))&&a<=e.length(t.typeParameters)})}function Xt(t,n,r){var a=Ht(t,n,r);if(n){var i=e.map(n,wi);a=e.map(a,function(e){return Mr(e,i)});}return a}function Yt(t){if(!t.resolvedBaseConstructorType){var n=Wt(t);if(!n)return t.resolvedBaseConstructorType=ih;if(!nt(t,1))return ah;var r=jd(n.expression);if(163840&r.flags&&Wn(r),!it())return l(t.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Ue(t.symbol)),t.resolvedBaseConstructorType=ah;if(!(1&r.flags||r===ch||Gt(r)))return l(n.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,qe(r)),t.resolvedBaseConstructorType=ah;t.resolvedBaseConstructorType=r;}return t.resolvedBaseConstructorType}function Qt(t){return t.resolvedBaseTypes||(8&t.objectFlags?t.resolvedBaseTypes=[Ra(Xa(t.typeParameters))]:96&t.symbol.flags?(32&t.symbol.flags&&Zt(t),64&t.symbol.flags&&nn(t)):e.Debug.fail("type must be class or interface")),t.resolvedBaseTypes}function Zt(t){t.resolvedBaseTypes=t.resolvedBaseTypes||Py;var n=sr(Yt(t));if(163841&n.flags){var r,a=Wt(t),i=n&&n.symbol?fn(n.symbol):void 0;if(n.symbol&&32&n.symbol.flags&&en(i))r=Qr(a,n.symbol);else if(1&n.flags)r=n;else{var o=Xt(n,a.typeArguments,a);if(!o.length)return void l(a.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments);r=Ir(o[0]);}var s=t.symbol.valueDeclaration;if(s&&e.isInJavaScriptFile(s)){var c=e.getJSDocAugmentsTag(t.symbol.valueDeclaration);c&&(r=wi(c.typeExpression.type));}r!==ah&&(tn(r)?t===r||jt(r,t)?l(s,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,qe(t,void 0,1)):t.resolvedBaseTypes===Py?t.resolvedBaseTypes=[r]:t.resolvedBaseTypes.push(r):l(a.expression,e.Diagnostics.Base_constructor_return_type_0_is_not_a_class_or_interface_type,qe(r)));}}function en(e){var t=e.outerTypeParameters;if(t){var n=t.length-1,r=e.typeArguments;return t[n].symbol!==r[n].symbol}return!0}function tn(t){return 16809985&t.flags&&!Gn(t)||131072&t.flags&&!e.forEach(t.types,function(e){return!tn(e)})}function nn(t){t.resolvedBaseTypes=t.resolvedBaseTypes||Py;for(var n=0,r=t.symbol.declarations;n1&&(n.flags|=65536,n.types=r,Wy.set(Gr(r),n));}}return t.declaredType}function _n(e){var t=b(e);if(!t.declaredType){var n=ln(be(e));t.declaredType=65536&n.flags?n.memberTypes[ag(e.valueDeclaration)]:n;}return t.declaredType}function dn(e){var t=b(e);if(!t.declaredType){var n=Te(16384);n.symbol=e,t.declaredType=n;}return t.declaredType}function pn(e){var t=b(e);return t.declaredType||(t.declaredType=fn(Z(e))),t.declaredType}function fn(e){return 96&e.flags?an(e):524288&e.flags?on$$1(e):262144&e.flags?dn(e):384&e.flags?ln(e):8&e.flags?_n(e):8388608&e.flags?pn(e):ah}function mn(e){if(e.typeArguments)for(var t=0,n=e.typeArguments;t=_)&&o<=d){var p=d?Lr(l,Dr(i,l.typeParameters,_,r)):An(l);p.typeParameters=t.localTypeParameters,p.resolvedReturnType=t,s.push(p);}}return s}function On(e,t,n,r,a){for(var i=0,o=e;i0)return;for(i=1;i1){if(l=An(c),e.forEach(u,function(e){return e.thisParameter})){var _=Xa(e.map(u,function(e){return Lt(e.thisParameter)||nh}),!0);l.thisParameter=us(c.thisParameter,_);}l.resolvedReturnType=void 0,l.unionSignatures=u;}(a||(a=[])).push(l);}}}return a||Py}function In(e,t){for(var n=[],r=!1,a=0,i=e;a0&&(l=e.map(l,function(e){var t=An(e);return t.resolvedReturnType=Kn(Ir(e),o,c),t})),i=e.concatenate(i,l);}a=e.concatenate(a,pr(u,0)),n=Ln(n,gr(u,0)),r=Ln(r,gr(u,1));}(c);Ae(t,Fy,a,i,n,r);}function Jn(e){var t=e.symbol;if(e.target)Ae(e,r=xn(Hn(e.target),e.mapper,!1),n=Fi(pr(e.target,0),e.mapper),a=Fi(pr(e.target,1),e.mapper),i=ro(gr(e.target,0),e.mapper),c=ro(gr(e.target,1),e.mapper));else if(2048&t.flags){var n=Or((r=t.members).get("__call"));Ae(e,r,n,a=Or(r.get("__new")),i=Ur(t,0),c=Ur(t,1));}else{var r=Fy,a=Py,i=void 0;if(t.exports&&(r=fe(t)),32&t.flags){var o=an(t);(a=Or(t.members.get("__constructor"))).length||(a=wn(o));var s=Yt(o);704512&s.flags?kn(r=bn(Ne(r)),Qn(s)):s===nh&&(i=zr(nh,!1));}var c=384&t.flags?cv:void 0;Ae(e,r,Py,a,i,c),8208&t.flags&&(e.callSignatures=Or(t));}}function zn(t){function n(e,n){var o=Bi([i],[e]),d=t.mapper?Ui(t.mapper,o):o,p=to(s,d);if(32&e.flags){var f=e.text,m=_r(c,f),g=_(4|(l||!!(m&&67108864&m.flags)?67108864:0),f);g.checkFlags=u||m&&Y_(m)?8:0,g.type=p,n&&(g.syntheticOrigin=n),a.set(f,g);}else 2&e.flags&&(r=zr(p,u));}var r,a=e.createMap();Ae(t,Fy,Py,Py,void 0,void 0);var i=Un(t),o=Vn(t),s=qn(t),c=sr($n(t)),u=!!t.declaration.readonlyToken,l=!!t.declaration.questionToken;if(170===t.declaration.typeParameter.constraint.kind){for(var d=0,p=Qn(c);d=2):16777216&t.flags?vh:t}function cr(t,n){for(var r,a=t.types,i=65536&t.flags,o=i?24:0,s=i?0:67108864,c=4,u=0,l=0,d=a;l=0),a>=r.minArgumentCount}var i=e.getImmediatelyInvokedFunctionExpression(t.parent);return!!i&&(!t.type&&!t.dotDotDotToken&&e.indexOf(t.parent.parameters,t)>=i.arguments.length)}function Cr(e){if(71===e.parameterName.kind){var t=e.parameterName;return{kind:1,parameterName:t?t.text:void 0,parameterIndex:t?Vd(e.parent.parameters,t):void 0,type:wi(e.type)}}return{kind:0,type:wi(e.type)}}function Er(e){var t=0;if(e)for(var n=0;n=r)&&o<=i){t||(t=[]);for(c=o;cc.arguments.length&&!d.type||kr(d)||l||(i=r.length);}if(!(153!==t.kind&&154!==t.kind||e.hasDynamicName(t)||s&&o)){var f=153===t.kind?154:153,m=e.getDeclarationOfKind(t.symbol,f);m&&(o=Nt(m));}var g=152===t.kind?an(he(t.parent.symbol)):void 0,y=g?g.localTypeParameters:t.typeParameters?br(t.typeParameters):vr(t),h=Ar(t,u,g),v=t.type&&158===t.type.kind?Cr(t.type):void 0;n.resolvedSignature=Nn(t,y,o,r,h,v,i,e.hasRestParameter(t),a);}return n.resolvedSignature}function Ar(t,n,r){if(n)return wi(t.parameters[0].type);if(r)return r;if(t.type)return wi(t.type);if(65536&t.flags){var a=K_(t);if(a&&a!==ah)return a}return 153!==t.kind||e.hasDynamicName(t)?e.nodeIsMissing(t.body)?nh:void 0:Dt(e.getDeclarationOfKind(t.symbol,154))}function wr(t){function n(t){if(!t)return!1;switch(t.kind){case 71:return"arguments"===t.text&&e.isPartOfExpression(t);case 149:case 151:case 153:case 154:return 144===t.name.kind&&n(t.name);default:return!e.nodeStartsNewLexicalEnvironment(t)&&!e.isPartOfTypeNode(t)&&e.forEachChild(t,n)}}var r=x(t);return void 0===r.containsArgumentsReference&&(8192&r.flags?r.containsArgumentsReference=!0:r.containsArgumentsReference=n(t.body)),r.containsArgumentsReference}function Or(e){if(!e)return Py;for(var t=[],n=0;n0&&r.body){var a=e.declarations[n-1];if(r.parent===a.parent&&r.kind===a.kind&&r.pos===a.end)break}t.push(Nr(r));}}return t}function Pr(e){var t=ie(e,e);if(t){var n=ce(t);if(n)return Lt(n)}return nh}function Fr(e){if(e.thisParameter)return Lt(e.thisParameter)}function Ir(t){if(!t.resolvedReturnType){if(!nt(t,3))return ah;var n=void 0;if(n=t.target?to(Ir(t.target),t.mapper):t.unionSignatures?Xa(e.map(t.unionSignatures,Ir),!0):z_(t.declaration),!it()&&(n=nh,jy)){var r=t.declaration,a=e.getNameOfDeclaration(r);a?l(a,e.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,e.declarationNameToString(a)):l(r,e.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);}t.resolvedReturnType=n;}return t.resolvedReturnType}function Rr(t){if(t.hasRestParameter){var n=Lt(e.lastOrUndefined(t.parameters));if(4&k(n)&&n.target===Dh)return n.typeArguments[0]}return nh}function Mr(t,n){n=Dr(n,t.typeParameters,Er(t.typeParameters));var r=t.instantiations||(t.instantiations=e.createMap()),a=Gr(n),i=r.get(a);return i||r.set(a,i=Lr(t,n)),i}function Lr(e,t){return Gi(e,Bi(e.typeParameters,t),!0)}function Br(e){return e.typeParameters?(e.erasedSignatureCache||(e.erasedSignatureCache=Gi(e,Ki(e.typeParameters),!0)),e.erasedSignatureCache):e}function Kr(e){if(!e.isolatedSignatureType){var t=152===e.declaration.kind||156===e.declaration.kind,n=Ee(16);n.members=Fy,n.properties=Py,n.callSignatures=t?Py:[e],n.constructSignatures=t?[e]:Py,e.isolatedSignatureType=n;}return e.isolatedSignatureType}function jr(e){return e.members.get("__index")}function Jr(e,t){var n=1===t?133:136,r=jr(e);if(r)for(var a=0,i=r.declarations;a1&&(t+=":"+i),r+=i;}return t}function Wr(e,t){for(var n=0,r=0,a=e;ra.length)?(l(t,o===a.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,qe(r,void 0,1),o,a.length),ah):Hr(r,e.concatenate(r.outerTypeParameters,Dr(e.map(t.typeArguments,wi),a,o,t)))}return t.typeArguments?(l(t,e.Diagnostics.Type_0_is_not_generic,qe(r)),ah):r}function Zr(e,t){var n=fn(e),r=b(e),a=r.typeParameters,i=Gr(t),o=r.instantiations.get(i);return o||r.instantiations.set(i,o=no(n,Bi(a,Dr(t,a,Er(a))))),o}function ea(t,n){var r=fn(n),a=b(n).typeParameters;if(a){var i=e.length(t.typeArguments),o=Er(a);return ia.length?(l(t,o===a.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Ue(n),o,a.length),ah):Zr(n,e.map(t.typeArguments,wi))}return t.typeArguments?(l(t,e.Diagnostics.Type_0_is_not_generic,Ue(n)),ah):r}function ta(t,n){return t.typeArguments?(l(t,e.Diagnostics.Type_0_is_not_generic,Ue(n)),ah):fn(n)}function na(t){switch(t.kind){case 159:return t.typeName;case 277:return t.name;case 201:var n=t.expression;if(e.isEntityNameExpression(n))return n}}function ra(e){return e?ae(e,793064)||eh:eh}function aa(e,t){return t===eh?ah:96&t.flags?Qr(e,t):524288&t.flags?ea(e,t):107455&t.flags&&277===e.kind?Lt(t):ta(e,t)}function ia(t){if(e.isIdentifier(t.name))switch(t.name.text){case"String":return uh;case"Number":return lh;case"Boolean":return ph;case"Void":return mh;case"Undefined":return ih;case"Null":return sh;case"Object":return nh;case"Function":return Sh;case"Array":case"array":return t.typeArguments&&t.typeArguments.length?void 0:Ra(nh);case"Promise":case"promise":return t.typeArguments&&t.typeArguments.length?void 0:j_(nh)}}function oa(e){var t=wi(e.type);return Ky?Xa([t,sh]):t}function sa(t){var n=x(t);if(!n.resolvedType){var r=void 0,a=void 0;if(277===t.kind)(a=ia(t))||(a=aa(t,r=ra(na(t))));else{var i=159===t.kind?t.typeName:e.isEntityNameExpression(t.expression)?t.expression:void 0;a=(r=i&&ae(i,793064)||eh)===eh?ah:96&r.flags?Qr(t,r):524288&r.flags?ea(t,r):ta(t,r);}n.resolvedSymbol=r,n.resolvedType=a;}return n.resolvedType}function ca(e){var t=x(e);return t.resolvedType||(t.resolvedType=ms(jd(e.exprName))),t.resolvedType}function ua(t,n){function r(e){for(var t=0,n=e.declarations;t>1),o=e[i].id;if(o===a)return i;o>a?r=i-1:n=i+1;}return~n}function za(e,t){return Ja(e,t)>=0}function Ua(e,t){var n=t.flags;if(65536&n)Va(e,t.types);else if(1&n)e.containsAny=!0;else if(!Ky&&6144&n)2048&n&&(e.containsUndefined=!0),4096&n&&(e.containsNull=!0),2097152&n||(e.containsNonWideningType=!0);else if(!(8192&n)){2&n&&(e.containsString=!0),4&n&&(e.containsNumber=!0),96&n&&(e.containsStringOrNumberLiteral=!0);var r=e.length,a=r&&t.id>e[r-1].id?~r:Ja(e,t);a<0&&(32768&n&&16&t.objectFlags&&t.symbol&&8208&t.symbol.flags&&qa(e,t)||e.splice(~a,0,t));}}function Va(e,t){for(var n=0,r=t;n0;)$a(t[--n],t)&&e.orderedRemoveItemAt(t,n);}function Ha(t){for(var n=t.length;n>0;){var r=t[--n];(32&r.flags&&t.containsString||64&r.flags&&t.containsNumber||96&r.flags&&1048576&r.flags&&za(t,r.regularType))&&e.orderedRemoveItemAt(t,n);}}function Xa(e,t,n,r){if(0===e.length)return gh;if(1===e.length)return e[0];var a=[];return Va(a,e),a.containsAny?nh:(t?Wa(a):a.containsStringOrNumberLiteral&&Ha(a),0===a.length?a.containsNull?a.containsNonWideningType?sh:ch:a.containsUndefined?a.containsNonWideningType?ih:oh:gh:Ya(a,n,r))}function Ya(e,t,n){if(0===e.length)return gh;if(1===e.length)return e[0];var r=Gr(e),a=Wy.get(r);return a||(a=Te(65536|Wr(e,6144)),Wy.set(r,a),a.types=e,a.aliasSymbol=t,a.aliasTypeArguments=n),a}function Qa(t){var n=x(t);return n.resolvedType||(n.resolvedType=Xa(e.map(t.types,wi),!1,gi(t),yi(t))),n.resolvedType}function Za(t,n){131072&n.flags?ei(t,n.types):1&n.flags?t.containsAny=!0:16&k(n)&&Do(n)?t.containsEmptyObject=!0:8192&n.flags||!Ky&&6144&n.flags||e.contains(t,n)||(32768&n.flags&&(t.containsObjectType=!0),65536&n.flags&&void 0===t.unionIndex&&(t.unionIndex=t.length),32768&n.flags&&16&n.objectFlags&&n.symbol&&8208&n.symbol.flags&&qa(t,n)||t.push(n));}function ei(e,t){for(var n=0,r=t;n=n?vh:r};return r.mappedTypes=t,r}function Ji(e){if(!e.mapper){var t=function(t){for(var n=e.signature.typeParameters,r=0;rn.parameters.length)return 0;t=Br(t),n=Br(n);var s=-1,c=Fr(t);if(c&&c!==mh){var u=Fr(n);if(u){if(!(h=o(c,u,!1)||o(u,c,a)))return a&&i(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;s&=h;}}for(var l=To(t),_=To(n),d=Co(t,l,n,_),p=t.parameters,f=n.parameters,m=0;m0){for(var s=0;s=5&&32768&e.flags){var r=e.symbol;if(r)for(var a=0,i=0;i=5)return!0}}return!1}function Ko(e,t){return 0!==jo(e,t,uo)}function jo(e,t,n){if(e===t)return-1;var r=24&Nl(e);if(r!==(24&Nl(t)))return 0;if(r){if(Kf(e)!==Kf(t))return 0}else if((67108864&e.flags)!=(67108864&t.flags))return 0;return Y_(e)!==Y_(t)?0:n(Lt(e),Lt(t))}function Jo(e,t,n){if(e.parameters.length===t.parameters.length&&e.minArgumentCount===t.minArgumentCount&&e.hasRestParameter===t.hasRestParameter)return!0;var r=e.hasRestParameter?1:0,a=t.hasRestParameter?1:0;return!!(n&&e.minArgumentCount<=t.minArgumentCount&&(r>a||r===a&&e.parameters.length>=t.parameters.length))}function zo(t,n,r,a,i,o){if(t===n)return-1;if(!Jo(t,n,r))return 0;if(e.length(t.typeParameters)!==e.length(n.typeParameters))return 0;t=Br(t),n=Br(n);var s=-1;if(!a){var c=Fr(t);if(c){var u=Fr(n);if(u){if(!(d=o(c,u)))return 0;s&=d;}}}for(var l=n.parameters.length,_=0;_=e.parameters.length-1}function Vo(e,t){for(var n=0,r=t;no&&(a=t[s],i=u,o=c),o===t.length-1)break}yo(i,a,n,e.Diagnostics.Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0,r);}function Ho(e){return 4&k(e)&&e.target===Dh}function Xo(e){return 4&k(e)&&(e.target===Dh||e.target===Nh)||!(6144&e.flags)&&po(e,Mh)}function Yo(e){return!!_r(e,"0")}function Qo(e){return 0!=(6624&e.flags)}function Zo(t){return!!(8&t.flags)||(65536&t.flags?!!(16&t.flags)||!e.forEach(t.types,function(e){return!Qo(e)}):Qo(t))}function es(t){return 32&t.flags?uh:64&t.flags?lh:128&t.flags?ph:256&t.flags?t.baseType:65536&t.flags&&!(16&t.flags)?Xa(e.sameMap(t.types,es)):t}function ts(t){return 32&t.flags&&1048576&t.flags?uh:64&t.flags&&1048576&t.flags?lh:128&t.flags?ph:256&t.flags?t.baseType:65536&t.flags&&!(16&t.flags)?Xa(e.sameMap(t.types,ts)):t}function ns(e){return!!(4&k(e)&&8&e.target.objectFlags)}function rs(e){for(var t=0,n=0,r=e;n=0&&!n[s].isFixed){var l=Cs(r,a);l&&(g++,o(l,t[s]),g--);}return}if(16384&i.flags)return o(oi(r),i),void o(Xa(e.map(Qn(r),Lt)),qn(a))}c(r,a),u(r,a,0),u(r,a,1),d(r,a);}function c(e,t){for(var n=0,r=Hn(t);nn)&&(t.failedTypeParameterIndex=n);}return a}function Fs(e){for(var t=0;t=2||0==(34&n.flags)||260===n.valueDeclaration.parent.kind)){for(var r=e.getEnclosingBlockScopeContainer(n.valueDeclaration),a=Xc(t.parent,r),i=r,o=!1;i&&!e.nodeStartsNewLexicalEnvironment(i);){if(e.isIterationStatement(i,!1)){o=!0;break}i=i.parent;}o&&(a&&(x(i).flags|=65536),214===r.kind&&e.getAncestor(n.valueDeclaration,227).parent===r&&Qc(t,r)&&(x(n.valueDeclaration).flags|=2097152),x(n.valueDeclaration).flags|=262144),a&&(x(n.valueDeclaration).flags|=131072);}}function Qc(t,n){for(var r=t;185===r.parent.kind;)r=r.parent;var a=!1;if(e.isAssignmentTarget(r))a=!0;else if(192===r.parent.kind||193===r.parent.kind){var i=r.parent;a=43===i.operator||44===i.operator;}return!!a&&!!e.findAncestor(r,function(e){return e===n?"quit":e===n.statement})}function Zc(e,t){x(e).flags|=2,149===t.kind||152===t.kind?x(t.parent).flags|=4:x(t).flags|=4;}function eu(t){if(e.isSuperCall(t))return t;if(!e.isFunctionLike(t))return e.forEachChild(t,eu)}function tu(e){var t=x(e);return void 0===t.hasSuperCall&&(t.superCall=eu(e.body),t.hasSuperCall=!!t.superCall),t.superCall}function nu(e){return Yt(fn(ve(e)))===ch}function ru(t,n,r){var a=n.parent;if(e.getClassExtendsHeritageClauseElement(a)&&!nu(a)){var i=tu(n);(!i||i.end>t.pos)&&l(t,r);}}function au(t){var n=e.getThisContainer(t,!0),r=!1;switch(152===n.kind&&ru(t,n,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),187===n.kind&&(n=e.getThisContainer(n,!1),r=Ry<2),n.kind){case 233:l(t,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 232:l(t,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 152:ou(t,n)&&l(t,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 149:case 148:32&e.getModifierFlags(n)&&l(t,e.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer);break;case 144:l(t,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);}if(r&&Zc(t,n),e.isFunctionLike(n)&&(!gu(t)||e.getThisParameter(n))){if(186===n.kind&&194===n.parent.kind&&3===e.getSpecialPropertyAssignmentKind(n.parent)){var a=jd(n.parent.left.expression.expression).symbol;if(a&&a.members&&16&a.flags)return E_(a)}var i=At(n)||_u(n);if(i)return i}if(e.isClassLike(n.parent)){var o=ve(n.parent);return Jc(t,s=e.hasModifier(n,32)?Lt(o):fn(o).thisType)}if(e.isInJavaScriptFile(t)){var s=iu(n);if(s&&s!==ah)return s}return Jy&&l(t,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation),nh}function iu(t){var n=e.getJSDocType(t);if(n&&279===n.kind){var r=n;if(r.parameters.length>0&&282===r.parameters[0].type.kind)return wi(r.parameters[0].type)}}function ou(t,n){return!!e.findAncestor(t,function(e){return e===n?"quit":146===e.kind})}function su(t){var n=181===t.parent.kind&&t.parent.expression===t,r=e.getSuperContainer(t,!0),a=!1;if(!n)for(;r&&187===r.kind;)r=e.getSuperContainer(r,!0),a=Ry<2;var i=0;if(!function(t){return!!t&&(n?152===t.kind:!(!e.isClassLike(t.parent)&&178!==t.parent.kind)&&(32&e.getModifierFlags(t)?151===t.kind||150===t.kind||153===t.kind||154===t.kind:151===t.kind||150===t.kind||153===t.kind||154===t.kind||149===t.kind||148===t.kind||152===t.kind))}(r)){var o=e.findAncestor(t,function(e){return e===r?"quit":144===e.kind});return o&&144===o.kind?l(t,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):n?l(t,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):r&&r.parent&&(e.isClassLike(r.parent)||178===r.parent.kind)?l(t,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):l(t,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),ah}if(n||152!==r.kind||ru(t,r,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),i=32&e.getModifierFlags(r)||n?512:256,x(t).flags|=i,151===r.kind&&256&e.getModifierFlags(r)&&(e.isSuperProperty(t.parent)&&e.isAssignmentTarget(t.parent)?x(r).flags|=4096:x(r).flags|=2048),a&&Zc(t.parent,r),178===r.parent.kind)return Ry<2?(l(t,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),ah):nh;var s=r.parent,c=fn(ve(s)),u=c&&Qt(c)[0];return u?152===r.kind&&ou(t,r)?(l(t,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),ah):512===i?Yt(c):Tn(u,c.thisType):(e.getClassExtendsHeritageClauseElement(s)||l(t,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),ah)}function cu(e){return 151!==e.kind&&153!==e.kind&&154!==e.kind||178!==e.parent.kind?186===e.kind&&261===e.parent.kind?e.parent.parent:void 0:e.parent}function uu(e){return 4&k(e)&&e.target===Fh?e.typeArguments[0]:void 0}function lu(t){return Sc(t,function(t){return 131072&t.flags?e.forEach(t.types,uu):uu(t)})}function _u(e){if(187!==e.kind){if(oo(e)){var t=Bu(e);if(t){var n=t.thisParameter;if(n)return Lt(n)}}if(Jy){var r=cu(e);if(r){for(var a=wu(r),i=r,o=a;o;){var s=lu(o);if(s)return to(s,Pu(r));if(261!==i.parent.kind)break;o=wu(i=i.parent.parent);}return a?ss(a):wd(r)}if(194===e.parent.kind&&58===e.parent.operatorToken.kind){var c=e.parent.left;if(179===c.kind||180===c.kind)return wd(c.expression)}}}}function du(t){var n=t.parent;if(oo(n)){var r=e.getImmediatelyInvokedFunctionExpression(n);if(r&&r.arguments){var a=e.indexOf(n.parameters,t);if(t.dotDotDotToken){for(var i=[],o=a;o=0)return I_(C_(t),a)}function vu(e,t){if(183===e.parent.kind)return hu(e.parent,t)}function bu(t){var n=t.parent,r=n.operatorToken.kind;if(r>=58&&r<=70){if(0!==e.getSpecialPropertyAssignmentKind(n))return;if(t===n.right)return Bd(n.left)}else{if(54===r){var a=Ou(n);return a||t!==n.right||(a=Bd(n.left)),a}if((53===r||26===r)&&t===n.right)return Ou(n)}}function xu(e,t){return Sc(e,function(e){var n=229376&e.flags?_r(e,t):void 0;return n?Lt(n):void 0})}function ku(e,t){return Sc(e,function(e){return mr(e,t)})}function Su(t){return!!(65536&t.flags?e.forEach(t.types,Yo):Yo(t))}function Tu(t){if(e.Debug.assert(e.isObjectLiteralMethod(t)),!bm(t))return Cu(t)}function Cu(t){var n=wu(t.parent);if(n){if(!e.hasDynamicName(t)){var r=xu(n,ve(t).name);if(r)return r}return zu(t.name)&&ku(n,1)||ku(n,0)}}function Eu(t){var n=t.parent,r=wu(n);if(r)return xu(r,""+e.indexOf(n.elements,t))||ku(r,1)||gf(r,void 0,!1,!1,!1)}function Du(e){var t=e.parent;return e===t.whenTrue||e===t.whenFalse?Ou(t):void 0}function Nu(t){var n=Ou(e.isJsxAttributeLike(t.parent)?t.parent.parent:t.parent.openingElement.attributes);if(n&&!ut(n)){if(e.isJsxAttribute(t.parent))return ct(n,t.parent.name.text);if(249===t.parent.kind){var r=cl();return r&&""!==r?ct(n,r):nh}return n}}function Au(t){var n=Ou(t.parent);if(e.isJsxAttribute(t)){if(!n||ut(n))return;return ct(n,t.name.text)}return n}function wu(e){var t=Ou(e);return t&&sr(t)}function Ou(t){if(!bm(t)){if(t.contextualType)return t.contextualType;var n=t.parent;switch(n.kind){case 226:case 146:case 149:case 148:case 176:return pu(t);case 187:case 219:return fu(t);case 197:return mu(n);case 181:case 182:return hu(n,t);case 184:case 202:return wi(n.type);case 194:return bu(t);case 261:case 262:return Cu(n);case 177:return Eu(t);case 195:return Du(t);case 205:return e.Debug.assert(196===n.parent.kind),vu(n.parent,t);case 185:return Ou(n);case 256:return Nu(n);case 253:case 255:return Au(n);case 251:case 250:return gl(n)}}}function Pu(t){return t=e.findAncestor(t,function(e){return!!e.contextualMapper}),t?t.contextualMapper:zi}function Fu(e,t){var n=dr(e,0);if(1===n.length){var r=n[0];if(!r.typeParameters&&!Iu(r,t))return r}}function Iu(t,n){for(var r=0;r0&&(s=hi(s,r()),o=[],i=e.createMap(),g=!1,y=!1,f=0),!Xu(S=jd(b.expression)))return l(b,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),ah;s=hi(s,S),h=v+1;continue}e.Debug.assert(153===b.kind||154===b.kind),dm(b);}e.hasDynamicName(b)?zu(b.name)?y=!0:g=!0:i.set(x.name,x),o.push(x);}if(d)for(var C=0,E=Qn(u);C0&&(s=hi(s,r())),32768&s.flags&&(s.flags|=c,s.symbol=t.symbol),s):r()}function Xu(t){return!!(16783361&t.flags||32768&t.flags&&!Gn(t)||196608&t.flags&&!e.forEach(t.types,function(e){return!Xu(e)}))}function Yu(e){return Sl(e),vl()||nh}function Qu(e){return Sl(e.openingElement),el(e.closingElement.tagName)?al(e.closingElement):jd(e.closingElement.tagName),vl()||nh}function Zu(e){return e.indexOf("-")<0}function el(t){return 179!==t.kind&&99!==t.kind&&e.isIntrinsicJsxName(t.text)}function tl(t,n,r){function a(e,t){var n=we(e,t,Py,Py,void 0,void 0);return n.flags|=37748736,n.objectFlags|=128,n}for(var i,o=t.attributes,s=e.createMap(),c=vh,u=[],d=!1,p=!1,f=cl(),m=0,g=o.properties;m0&&(c=hi(c,a(o.symbol,s)),u=[],s=e.createMap()),ut(v=jd(y.expression))&&(d=!0),Xu(v)?c=hi(c,v):i=i?ti([i,v]):v;}d||(c!==vh&&(u.length>0&&(c=hi(c,a(o.symbol,s)),u=[],s=e.createMap()),u=Qn(c)),s=e.createMap(),u&&e.forEach(u,function(e){n&&!n(e)||s.set(e.name,e);}));var x=249===t.parent.kind?t.parent:void 0;if(x&&x.openingElement===t&&x.children.length>0){for(var k=[],S=0,T=x.children;S1&&l(r.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,t);}}function sl(){return zv||(zv=!0,Iv=ol(qv.ElementAttributesPropertyNameContainer)),Iv}function cl(){return Uv||(Uv=!0,Rv=ol(qv.ElementChildrenAttributeNameContainer)),Rv}function ul(e){if(e){if(131072&e.flags){for(var t=[],n=0,r=e.types;n0))l(t,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,sl());else if(ho(r,n,t.attributes.properties.length>0?t.attributes:t)&&!ut(r)&&!ut(n))for(var a=0,i=t.attributes.properties;a=m&&o.length<=f))return!1;if(c>=0)return Uo(r,c);if(!r.hasRestParameter&&i>r.parameters.length)return!1;var g=i>=r.minArgumentCount;return s||g}function Yl(e){if(32768&e.flags){var t=Wn(e);if(1===t.callSignatures.length&&0===t.constructSignatures.length&&0===t.properties.length&&!t.stringIndexInfo&&!t.numberIndexInfo)return t.callSignatures[0]}}function Ql(e,t,n){var r=bs(e,!0,!1);return vs(t,e,function(e,t){Es(r,to(e,n),t);}),Mr(e,Fs(r))}function Zl(e,t,n,r,a){for(var i=t.typeParameters,o=Ji(a),s=0;s0?[t.attributes]:Py:t.arguments||Py;}return n}function i_(e,t,n){if(147!==e.kind)return t.length;switch(e.parent.kind){case 229:case 199:return 1;case 149:return 2;case 151:case 153:case 154:return 0===Ry?2:n.parameters.length>=3?3:2;case 146:return 3}}function o_(t){if(229===t.kind)return Lt(n=ve(t));if(146===t.kind&&152===(t=t.parent).kind){var n=ve(t);return Lt(n)}return 149===t.kind||151===t.kind||153===t.kind||154===t.kind?Km(t):(e.Debug.fail("Unsupported decorator target."),ah)}function s_(t){if(229===t.kind)return e.Debug.fail("Class decorators should not have a second synthetic argument."),ah;if(146===t.kind&&152===(t=t.parent).kind)return nh;if(149===t.kind||151===t.kind||153===t.kind||154===t.kind){var n=t;switch(n.name.kind){case 71:case 8:case 9:return Ti(32,n.name.text);case 144:var r=Gu(n.name);return cd(r,512)?r:uh;default:return e.Debug.fail("Unsupported property name."),ah}}return e.Debug.fail("Unsupported decorator target."),ah}function c_(t){return 229===t.kind?(e.Debug.fail("Class decorators should not have a third synthetic argument."),ah):146===t.kind?lh:149===t.kind?(e.Debug.fail("Property decorators should not have a third synthetic argument."),ah):151===t.kind||153===t.kind||154===t.kind?wa(Rm(t)):(e.Debug.fail("Unsupported decorator target."),ah)}function u_(t,n){return 0===n?o_(t.parent):1===n?s_(t.parent):2===n?c_(t.parent):(e.Debug.fail("Decorators should not have a fourth synthetic argument."),ah)}function l_(e,t){return 147===e.kind?u_(e,t):0===t&&183===e.kind?ma():void 0}function __(e,t,n){if(147!==e.kind&&(0!==n||183!==e.kind))return t[n]}function d_(e,t,n){return 147===e.kind?e.expression:0===t&&183===e.kind?e.template:n}function p_(t,n,r,a){function o(n,r,i,o){var s;s=e.chainDiagnosticMessages(s,n,r,i,o),a&&(s=e.chainDiagnosticMessages(s,a)),Ov.add(e.createDiagnosticForNodeFromMessageChain(t,s));}function s(n,r,a){void 0===a&&(a=!1);for(var i=0,o=n;i1&&(S=s(g,$v,T)),S||(b=void 0,x=void 0,k=void 0,S=s(g,Gv,T)),S)return S;if(b){if(d)return b;n_(t,h,b,Gv,void 0,!0);}else if(x)if(u||l||!c){e.Debug.assert(k.failedTypeParameterIndex>=0);var C=x.typeParameters[k.failedTypeParameterIndex],E=ws(k,k.failedTypeParameterIndex),D=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly,qe(C));a&&(D=e.chainDiagnosticMessages(D,a)),Wo(E,t.tagName||t.expression||t.tag,D);}else{var N=t.typeArguments;e_(x,N,e.map(N,wi),!0,a);}else o(e.Diagnostics.Supplied_parameters_do_not_match_any_signature_of_call_target);if(!i)for(var A=0,w=g;A=0&&l(t.arguments[r],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher);}var a=Pl(t.expression);if(a===yh)return sv;if((a=sr(a))===ah)return Gl(t);var i=a.symbol&&jf(a.symbol);if(i&&128&e.getModifierFlags(i))return l(t,e.Diagnostics.Cannot_create_an_instance_of_the_abstract_class_0,e.declarationNameToString(e.getNameOfDeclaration(i))),Gl(t);if(ut(a))return t.typeArguments&&l(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),$l(t);var o=pr(a,1);if(o.length)return y_(t,o[0])?p_(t,o,n):Gl(t);var s=pr(a,0);if(s.length){var c=p_(t,s,n);return Ir(c)!==mh&&l(t,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),Fr(c)===mh&&l(t,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void),c}return l(t,e.Diagnostics.Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature),Gl(t)}function y_(t,n){if(!n||!n.declaration)return!0;var r=n.declaration,a=e.getModifierFlags(r);if(!(24&a))return!0;var i=jf(r.parent.symbol),o=fn(r.parent.symbol);if(!Dm(t,i)){var s=e.getContainingClass(t);if(s)for(var c=Qt(Rm(s));c.length;){var u=c[0];if(16&a&&u.symbol===r.parent.symbol)return!0;c=Qt(u);}return 8&a&&l(t,e.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,qe(o)),16&a&&l(t,e.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,qe(o)),!1}return!0}function h_(t,n){var r=jd(t.tag),a=sr(r);if(a===ah)return Gl(t);var i=pr(a,0),o=pr(a,1);return m_(r,a,i.length,o.length)?$l(t):i.length?p_(t,i,n):(l(t,e.Diagnostics.Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures,qe(a)),Gl(t))}function v_(t){switch(t.parent.kind){case 229:case 199:return e.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 146:return e.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 149:return e.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 151:case 153:case 154:return e.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression}}function b_(t,n){var r=jd(t.expression),a=sr(r);if(a===ah)return Gl(t);var i=pr(a,0),o=pr(a,1);if(m_(r,a,i.length,o.length))return $l(t);var s=v_(t);if(!i.length){var c=void 0;return c=e.chainDiagnosticMessages(c,e.Diagnostics.Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures,qe(a)),c=e.chainDiagnosticMessages(c,s),Ov.add(e.createDiagnosticForNodeFromMessageChain(t,c)),Gl(t)}return p_(t,i,n,s)}function x_(t,n,r){return e.Debug.assert(!(65536&n.flags)),k_(t,n,r)}function k_(e,t,n){if(65536&t.flags){for(var r=void 0,a=0,i=t.types;a0){return p_(e,s,n)}}function S_(t,n){switch(t.kind){case 181:return f_(t,n);case 182:return g_(t,n);case 183:return h_(t,n);case 147:return b_(t,n);case 251:case 250:return k_(t,jd(t.tagName),n)}e.Debug.fail("Branch in 'resolveSignature' should be unreachable.");}function T_(e,t){var n=x(e),r=n.resolvedSignature;if(r&&r!==ov&&!t)return r;n.resolvedSignature=ov;var a=S_(e,t);return n.resolvedSignature=_v===dv?a:r,a}function C_(e){return x(e).resolvedSignature===ov?ov:T_(e)}function E_(e){var t=b(e);return t.inferredClassType||(t.inferredClassType=we(e,e.members,Py,Py,void 0,void 0)),t.inferredClassType}function D_(t){Mg(t,t.typeArguments)||Bg(t,t.arguments);var n=T_(t);if(97===t.expression.kind)return mh;if(182===t.kind){var r=n.declaration;if(r&&152!==r.kind&&156!==r.kind&&161!==r.kind&&!e.isJSDocConstructSignature(r)){var a=71===t.expression.kind?Is(t.expression):jd(t.expression).symbol;return a&&e.isDeclarationOfFunctionOrClassExpression(a)&&(a=ve(a.valueDeclaration.initializer)),a&&a.members&&16&a.flags?E_(a):(jy&&l(t,e.Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),nh)}}return e.isInJavaScriptFile(t)&&N_(t)?Pr(t.arguments[0]):Ir(n)}function N_(t){if(!e.isRequireCall(t,!0))return!1;var n=N(t.expression,t.expression.text,107455,void 0,void 0);if(!n)return!0;if(8388608&n.flags)return!1;var r=16&n.flags?228:3&n.flags?226:0;if(0!==r){var a=e.getDeclarationOfKind(n,r);return e.isInAmbientContext(a)}return!1}function A_(e){return Ir(T_(e))}function w_(t){var n=_s(es(jd(t.expression)));_m(t.type);var r=wi(t.type);return i&&r!==ah&&(mo(r,ms(n))||vo(n,r,t,e.Diagnostics.Type_0_cannot_be_converted_to_type_1)),r}function O_(e){return ss(jd(e.expression))}function P_(t){cy(t);var n=e.getNewTargetContainer(t);if(n){if(152===n.kind)return Lt(r=ve(n.parent));var r=ve(n);return Lt(r)}return l(t,e.Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),ah}function F_(e){var t=Lt(e);if(Ky){var n=e.valueDeclaration;if(n&&n.initializer)return is(t,2048)}return t}function I_(e,t){return e.hasRestParameter?t0?I_(e,0):gh}function M_(t,n,r,a){var i=t.parameters.length-(t.hasRestParameter?1:0);if(2===a)for(s=0;s=58&&_<=70&&ed(t,e.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access)&&ho(n,d,t,void 0);}function u(){l(o||n,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2,e.tokenToString(n.kind),qe(d),qe(p));}var _=n.kind;if(58===_&&(178===t.kind||177===t.kind))return yd(t,jd(r,a),a);var d=jd(t,a),p=jd(r,a);switch(_){case 39:case 40:case 61:case 62:case 41:case 63:case 42:case 64:case 38:case 60:case 45:case 65:case 46:case 66:case 47:case 67:case 49:case 69:case 50:case 70:case 48:case 68:if(d===yh||p===yh)return yh;d=Fl(d,t),p=Fl(p,r);var f=void 0;if(136&d.flags&&136&p.flags&&void 0!==(f=function(e){switch(e){case 49:case 69:return 54;case 50:case 70:return 35;case 48:case 68:return 53;default:return}}(n.kind)))l(o||n,e.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,e.tokenToString(n.kind),e.tokenToString(f));else{var m=X_(t,d,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type),g=X_(r,p,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type);m&&g&&c(lh);}return lh;case 37:case 59:if(d===yh||p===yh)return yh;cd(d,262179)||cd(p,262179)||(d=Fl(d,t),p=Fl(p,r));var y=void 0;if(cd(d,340)&&cd(p,340))y=lh;else if(cd(d,262178)||cd(p,262178)?y=uh:(ut(d)||ut(p))&&(y=d===ah||p===ah?ah:nh),y&&!s(_))return y;return y?(59===_&&c(y),y):(u(),nh);case 27:case 29:case 30:case 31:return s(_)&&(d=es(Fl(d,t)),p=es(Fl(p,r)),mo(d,p)||mo(p,d)||u()),ph;case 32:case 33:case 34:case 35:var h=Zo(d),v=Zo(p);return h&&v||(d=h?es(d):d,p=v?es(p):p),bd(d,p)||bd(p,d)||u(),ph;case 93:return _d(t,r,d,p);case 92:return dd(t,r,d,p);case 53:return 1048576&Hs(d)?is(p,as(Ky?d:es(p))):d;case 54:return 2097152&Hs(d)?xd(os$$1(d),p):d;case 58:return c(p),_s(p);case 26:return Iy.allowUnreachableCode||!vd(t)||function(e){return 71===e.kind&&"eval"===e.text}(r)||l(t,e.Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects),p}}function Td(t){for(var n=t,r=t.parent;r;){if(e.isFunctionLike(r)&&n===r.body)return!1;if(e.isClassLike(n))return!0;n=r,r=r.parent;}return!1}function Cd(t){if(i&&(4096&t.flags&&!Td(t)||ly(t,e.Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body),gu(t)&&l(t,e.Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer)),t.expression){var n=e.getContainingFunction(t),r=n&&e.getFunctionFlags(n);if(t.asteriskToken&&(3==(3&r)&&Ry<5&&hg(t,26624),1==(3&r)&&Ry<2&&Iy.downlevelIteration&&hg(t,256)),1&r){var a=wd(t.expression,void 0),o=void 0,s=!!t.asteriskToken;if(s&&(o=mf(a,t.expression,!1,0!=(2&r))),n.type){var c=vf(wi(n.type),0!=(2&r))||nh;s?ho(2&r?kp(o,t.expression,e.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):o,c,t.expression,void 0):ho(2&r?kp(a,t.expression,e.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):a,c,t.expression,void 0);}}}return nh}function Ed(e,t){return jd(e.condition),xd(jd(e.whenTrue,t),jd(e.whenFalse,t))}function Dd(e){switch(8===e.kind&&by(e),e.kind){case 9:return ki(Ti(32,e.text));case 8:return ki(Ti(64,e.text));case 101:return _h;case 86:return dh}}function Nd(t){return e.forEach(t.templateSpans,function(e){jd(e.expression);}),uh}function Ad(e,t,n){var r=e.contextualType,a=e.contextualMapper;e.contextualType=t,e.contextualMapper=n;var i=jd(e,n===zi?1:n?2:0);return e.contextualType=r,e.contextualMapper=a,i}function wd(e,t){var n=x(e);if(!n.resolvedType){var r=_v;_v=dv,n.resolvedType=jd(e,t),_v=r;}return n.resolvedType}function Od(t){return 184===(t=e.skipParentheses(t)).kind||202===t.kind}function Pd(t){var n=Bd(t.initializer,!0);return 2&e.getCombinedNodeFlags(t)||64&e.getCombinedModifierFlags(t)&&!e.isParameterPropertyDeclaration(t)||Od(t.initializer)?n:ts(n)}function Fd(e){if(e){if(540672&e.flags){var t=nr(e)||vh;if(30&t.flags)return!0;e=t;}return sd(e,262624)}return!1}function Id(e,t){var n=jd(e,t);return Od(e)||Fd(Ou(e))?n:ts(n)}function Rd(e,t){return 144===e.name.kind&&Gu(e.name),Id(e.initializer,t)}function Md(e,t){return Qg(e),144===e.name.kind&&Gu(e.name),Ld(e,W_(e,t),t)}function Ld(e,t,n){if(2===n){var r=Yl(t);if(r&&r.typeParameters){var a=wu(e);if(a){var i=Yl(a);if(i&&!i.typeParameters)return Kr(Ql(r,i,Pu(e)))}}}return t}function Bd(t,n){if(181===t.kind&&97!==t.expression.kind&&!e.isRequireCall(t,!0)){var r=Yl(Pl(t.expression));if(r&&!r.typeParameters)return Ir(r)}return n?wd(t):jd(t)}function Kd(e){var t=e.contextualType;e.contextualType=nh;var n=Bd(e);return e.contextualType=t,n}function jd(t,n){var r;return r=143===t.kind?Rl(t):Ld(t,Jd(t,n),n),ud(r)&&(179===t.parent.kind&&t.parent.expression===t||180===t.parent.kind&&t.parent.expression===t||(71===t.kind||143===t.kind)&&Am(t)||l(t,e.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)),r}function Jd(t,n){switch(t.kind){case 71:return Hc(t);case 99:return au(t);case 97:return su(t);case 95:return ch;case 9:case 8:case 101:case 86:return Dd(t);case 196:return Nd(t);case 13:return uh;case 12:return Ph;case 177:return Ju(t,n);case 178:return Hu(t,n);case 179:return Il(t);case 180:return Vl(t);case 181:case 182:return D_(t);case 183:return A_(t);case 185:return jd(t.expression,n);case 199:return If(t);case 186:case 187:return W_(t,n);case 189:return nd(t);case 184:case 202:return w_(t);case 203:return O_(t);case 204:return P_(t);case 188:return td(t);case 190:return rd(t);case 191:return ad(t);case 192:return id(t);case 193:return od(t);case 194:return kd(t,n);case 195:return Ed(t,n);case 198:return Ku(t,n);case 200:return oh;case 197:return Cd(t);case 256:return El(t,n);case 249:return Qu(t);case 250:return Yu(t);case 254:return nl(t,n);case 251:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement");}return ah}function zd(t){t.expression&&ly(t.expression,e.Diagnostics.Type_expected),_m(t.constraint),_m(t.default);var n=dn(ve(t));rr(n)||l(t.constraint,e.Diagnostics.Type_parameter_0_has_a_circular_constraint,qe(n));var r=er(n),a=or(n);r&&a&&ho(a,Tn(r,a),t.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),i&&wf(t.name,e.Diagnostics.Type_parameter_name_cannot_be_0);}function Ud(t){xg(t)||kg(t),Zp(t);var n=e.getContainingFunction(t);92&e.getModifierFlags(t)&&(152===(n=e.getContainingFunction(t)).kind&&e.nodeIsPresent(n.body)||l(t,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)),t.questionToken&&e.isBindingPattern(t.name)&&n.body&&l(t,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),"this"===t.name.text&&(0!==e.indexOf(n.parameters,t)&&l(t,e.Diagnostics.A_this_parameter_must_be_the_first_parameter),152!==n.kind&&156!==n.kind&&161!==n.kind||l(t,e.Diagnostics.A_constructor_cannot_have_a_this_parameter)),!t.dotDotDotToken||e.isBindingPattern(t.name)||Ho(Lt(t.symbol))||l(t,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type);}function Vd(e,t){if(e)for(var n=0;n=0)if(n.parameters[r.parameterIndex].dotDotDotToken)l(a,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else{var i=e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type);ho(r.type,Rm(n.parameters[r.parameterIndex]),t.type,void 0,i);}else if(a){for(var o=!1,s=0,c=n.parameters;s0&&n.declarations[0]!==t)return}var r=jr(ve(t));if(r)for(var a=!1,i=!1,o=0,s=r.declarations;o=0)return void(n&&l(n,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));wv.push(t.id);var _=kp(u,n,r);if(wv.pop(),!_)return;return a.awaitedTypeOfType=_}var d=ct(t,"then");if(!(d&&pr(d,0).length>0))return a.awaitedTypeOfType=t;n&&(e.Debug.assert(!!r),l(n,r));}function Sp(t){var n=wi(t.type);if(Ry>=2){if(n===ah)return ah;var r=ha(!0);if(r!==kh&&!Bt(n,r))return l(t.type,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type),ah}else{if(Cp(t.type),n===ah)return ah;var a=e.getEntityNameFromTypeNode(t.type);if(void 0===a)return l(t.type,e.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,qe(n)),ah;var i=ae(a,107455,!0),o=i?Lt(i):ah;if(o===ah)return 71===a.kind&&"Promise"===a.text&&Kt(n)===ha(!1)?l(t.type,e.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):l(t.type,e.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,e.entityNameToString(a)),ah;var s=ba(!0);if(s===vh)return l(t.type,e.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,e.entityNameToString(a)),ah;if(!ho(o,s,t.type,e.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))return ah;var c=a&&Zf(a),u=C(t.locals,c.text,107455);if(u)return l(u.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,c.text,e.entityNameToString(a)),ah}return xp(n,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function Tp(t){var n=Ir(T_(t));if(!(1&n.flags)){var r,a,i=v_(t);switch(t.parent.kind){case 229:r=Xa([Lt(ve(t.parent)),mh]);break;case 146:r=mh,a=e.chainDiagnosticMessages(a,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 149:r=mh,a=e.chainDiagnosticMessages(a,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 151:case 153:case 154:r=Xa([wa(Rm(t.parent)),mh]);}ho(n,r,t,i,a);}}function Cp(t){var n=t&&e.getEntityNameFromTypeNode(t),r=n&&Zf(n),a=r&&N(r,r.text,8388608|(71===n.kind?793064:1920),void 0,void 0);a&&8388608&a.flags&&ke(a)&&!Zm(Z(a))&&te(a);}function Ep(t){return t.dotDotDotToken?e.getRestParameterElementType(t.type):t.type}function Dp(t){if(t.decorators&&e.nodeCanBeDecorated(t)){Iy.experimentalDecorators||l(t,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_to_remove_this_warning);var n=t.decorators[0];if(hg(n,8),146===t.kind&&hg(n,32),Iy.emitDecoratorMetadata)switch(hg(n,16),t.kind){case 229:var r=e.getFirstConstructorWithBody(t);if(r)for(var a=0,i=r.parameters;a=e.ModuleKind.ES2015)&&(zp(t,n,"require")||zp(t,n,"exports"))&&(233!==t.kind||1===e.getModuleInstanceState(t))){var r=ot(t);265===r.kind&&e.isExternalOrCommonJsModule(r)&&l(n,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(n),e.declarationNameToString(n));}}function Hp(t,n){if(!(Ry>=4)&&zp(t,n,"Promise")&&(233!==t.kind||1===e.getModuleInstanceState(t))){var r=ot(t);265===r.kind&&e.isExternalOrCommonJsModule(r)&&1024&r.flags&&l(n,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(n),e.declarationNameToString(n));}}function Xp(t){if(0==(3&e.getCombinedNodeFlags(t))&&!e.isParameterDeclaration(t)&&(226!==t.kind||t.initializer)){var n=ve(t);if(1&n.flags){var r=N(t,t.name.text,3,void 0,void 0);if(r&&r!==n&&2&r.flags&&3&Al(r)){var a=e.getAncestor(r.valueDeclaration,227),i=208===a.parent.kind&&a.parent.parent?a.parent.parent:void 0;if(!(i&&(207===i.kind&&e.isFunctionLike(i.parent)||234===i.kind||233===i.kind||265===i.kind))){var o=Ue(r);l(t,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,o,o);}}}}}function Yp(t){function n(a){if(!e.isTypeNode(a)&&!e.isDeclarationName(a)){if(179===a.kind)return n(a.expression);if(71!==a.kind)return e.forEachChild(a,n);var i=N(a,a.text,8496063,void 0,void 0);if(i&&i!==eh&&i.valueDeclaration)if(i.valueDeclaration!==t){if(e.getEnclosingBlockScopeContainer(i.valueDeclaration)===r){if(146===i.valueDeclaration.kind||176===i.valueDeclaration.kind){if(i.valueDeclaration.pos1)return ly(t,e.Diagnostics.Modifiers_cannot_appear_here)}}function of(e){vy(e),jd(e.expression);}function sf(t){vy(t),jd(t.expression),_m(t.thenStatement),209===t.thenStatement.kind&&l(t.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),_m(t.elseStatement);}function cf(e){vy(e),_m(e.statement),jd(e.expression);}function uf(e){vy(e),jd(e.expression),_m(e.statement);}function lf(t){vy(t)||t.initializer&&227===t.initializer.kind&&iy(t.initializer),t.initializer&&(227===t.initializer.kind?e.forEach(t.initializer.declarations,tf):jd(t.initializer)),t.condition&&jd(t.condition),t.incrementor&&jd(t.incrementor),_m(t.statement),t.locals&&wp(t);}function _f(t){if(Gg(t),216===t.kind&&(t.awaitModifier?2==(6&e.getFunctionFlags(e.getContainingFunction(t)))&&Ry<5&&hg(t,16384):Iy.downlevelIteration&&Ry<2&&hg(t,256)),227===t.initializer.kind)pf(t);else{var n=t.initializer,r=ff(t.expression,t.awaitModifier);if(177===n.kind||178===n.kind)yd(n,r||ah);else{var a=jd(n);ed(n,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access),r&&ho(r,a,n,void 0);}}_m(t.statement),t.locals&&wp(t);}function df(t){Gg(t);var n=Pl(t.expression);if(227===t.initializer.kind){var r=t.initializer.declarations[0];r&&e.isBindingPattern(r.name)&&l(r.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),pf(t);}else{var a=t.initializer,i=jd(a);177===a.kind||178===a.kind?l(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):po(si(n),i)?ed(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access):l(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any);}Vu(n,17350656)||l(t.expression,e.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter),_m(t.statement),t.locals&&wp(t);}function pf(e){var t=e.initializer;t.declarations.length>=1&&tf(t.declarations[0]);}function ff(e,t){return mf(Pl(e),e,!0,void 0!==t)}function mf(e,t,n,r){return ut(e)?e:gf(e,t,n,r,!0)||nh}function gf(t,n,r,a,i){var o=Ry>=2,s=!o&&Iy.downlevelIteration;if(o||s||a){var c=yf(t,o?n:void 0,a,a,i);if(c||o)return c}var u=t,_=!1,d=!1;if(r){if(65536&u.flags){var p=t.types,f=e.filter(p,function(e){return!(262178&e.flags)});f!==p&&(u=Xa(f,!0));}else 262178&u.flags&&(u=gh);if((d=u!==t)&&(Ry<1&&n&&(l(n,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),_=!0),8192&u.flags))return uh}if(!Xo(u))return n&&!_&&l(n,!r||d?s?e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:e.Diagnostics.Type_0_is_not_an_array_type:s?e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,qe(u)),d?uh:void 0;var m=yr(u,1);return d&&m?262178&m.flags?uh:Xa([m,uh],!0):m}function yf(t,n,r,a,i){if(!ut(t)){var o=t;if(r?o.iteratedTypeOfAsyncIterable:o.iteratedTypeOfIterable)return r?o.iteratedTypeOfAsyncIterable:o.iteratedTypeOfIterable;if(r&&(Bt(t,xa(!1))||Bt(t,Sa(!1))))return o.iteratedTypeOfAsyncIterable=t.typeArguments[0];if((!r||a)&&(Bt(t,Ta(!1))||Bt(t,Ea(!1))))return r?o.iteratedTypeOfAsyncIterable=t.typeArguments[0]:o.iteratedTypeOfIterable=t.typeArguments[0];var s,c=!1;if(r){if(ut(u=ct(t,e.getPropertyNameForKnownSymbolName("asyncIterator"))))return;s=u&&pr(u,0);}if(!r||a&&!e.some(s)){var u=ct(t,e.getPropertyNameForKnownSymbolName("iterator"));if(ut(u))return;s=u&&pr(u,0),c=!0;}if(e.some(s)){var _=hf(Xa(e.map(s,Ir),!0),n,!c);return i&&n&&_&&ho(t,c?Fa(_):Oa(_),n),r?o.iteratedTypeOfAsyncIterable=_:o.iteratedTypeOfIterable=_}n&&l(n,r?e.Diagnostics.Type_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:e.Diagnostics.Type_must_have_a_Symbol_iterator_method_that_returns_an_iterator);}}function hf(t,n,r){if(!ut(t)){var a=t;if(r?a.iteratedTypeOfAsyncIterator:a.iteratedTypeOfIterator)return r?a.iteratedTypeOfAsyncIterator:a.iteratedTypeOfIterator;if(Bt(t,(r?ka:Ca)(!1)))return r?a.iteratedTypeOfAsyncIterator=t.typeArguments[0]:a.iteratedTypeOfIterator=t.typeArguments[0];var i=ct(t,"next");if(!ut(i)){var o=i?pr(i,0):Py;if(0!==o.length){var s=Xa(e.map(o,Ir),!0);if(!(ut(s)||r&&(s=vp(s,n,e.Diagnostics.The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property),ut(s)))){var c=s&&ct(s,"value");if(c)return r?a.iteratedTypeOfAsyncIterator=c:a.iteratedTypeOfIterator=c;n&&l(n,r?e.Diagnostics.The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:e.Diagnostics.The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property);}}else n&&l(n,r?e.Diagnostics.An_async_iterator_must_have_a_next_method:e.Diagnostics.An_iterator_must_have_a_next_method);}}}function vf(e,t){if(!ut(e))return yf(e,void 0,t,!1,!1)||hf(e,void 0,t)}function bf(e){vy(e)||Zg(e);}function xf(t){return!(153!==t.kind||!e.getSetAccessorTypeAnnotationNode(e.getDeclarationOfKind(t.symbol,154)))}function kf(t,n){var r=2==(3&e.getFunctionFlags(t))?bp(n):n;return r&&sd(r,1025)}function Sf(t){vy(t)||e.getContainingFunction(t)||ly(t,e.Diagnostics.A_return_statement_can_only_be_used_within_a_function_body);var n=e.getContainingFunction(t);if(n){var r=Ir(Nr(n));if(Ky||t.expression||8192&r.flags){var a=t.expression?wd(t.expression):ih,i=e.getFunctionFlags(n);if(1&i)return;if(154===n.kind)t.expression&&l(t,e.Diagnostics.Setters_cannot_return_a_value);else if(152===n.kind)t.expression&&!ho(a,r,t)&&l(t,e.Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(n.type||xf(n))if(2&i){var o=bp(r),s=xp(a,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);o&&ho(s,o,t);}else ho(a,r,t);}else 152!==n.kind&&Iy.noImplicitReturns&&!kf(n,r)&&l(t,e.Diagnostics.Not_all_code_paths_return_a_value);}}function Tf(t){vy(t)||16384&t.flags&&ly(t,e.Diagnostics.with_statements_are_not_allowed_in_an_async_function_block),jd(t.expression);var n=e.getSourceFileOfNode(t);if(!uy(n)){var r=e.getSpanOfTokenAtPosition(n,t.pos).start;_y(n,r,t.statement.pos-r,e.Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any);}}function Cf(t){vy(t);var n,r=!1,a=jd(t.expression),o=Zo(a);e.forEach(t.caseBlock.clauses,function(s){if(258===s.kind&&!r)if(void 0===n)n=s;else{var c=e.getSourceFileOfNode(t),u=e.skipTrivia(c.text,s.pos);_y(c,u,(s.statements.length>0?s.statements[0].pos:s.end)-u,e.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),r=!0;}if(i&&257===s.kind){var l=s,_=jd(l.expression),d=Zo(_),p=a;d&&o||(_=d?es(_):_,p=es(a)),bd(p,_)||vo(_,p,l.expression,void 0);}e.forEach(s.statements,_m);}),t.caseBlock.locals&&wp(t.caseBlock);}function Ef(t){vy(t)||e.findAncestor(t.parent,function(n){if(e.isFunctionLike(n))return"quit";if(222===n.kind&&n.label.text===t.label.text){var r=e.getSourceFileOfNode(t);return dy(t.label,e.Diagnostics.Duplicate_label_0,e.getTextOfNodeFromSourceText(r.text,t.label)),!0}}),_m(t.statement);}function Df(t){vy(t)||void 0===t.expression&&xy(t,e.Diagnostics.Line_break_not_permitted_here),t.expression&&jd(t.expression);}function Nf(t){vy(t),jp(t.tryBlock);var n=t.catchClause;if(n){if(n.variableDeclaration)if(n.variableDeclaration.type)ly(n.variableDeclaration.type,e.Diagnostics.Catch_clause_variable_cannot_have_a_type_annotation);else if(n.variableDeclaration.initializer)ly(n.variableDeclaration.initializer,e.Diagnostics.Catch_clause_variable_cannot_have_an_initializer);else{var r=n.block.locals;r&&e.forEachKey(n.locals,function(t){var n=r.get(t);n&&0!=(2&n.flags)&&dy(n.valueDeclaration,e.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause,t);});}jp(n.block);}t.finallyBlock&&jp(t.finallyBlock);}function Af(t){function n(t,n,r,a,i,o){if(i){var s=t.valueDeclaration;if(1!==o||(s?zu(e.getNameOfDeclaration(s)):$u(t.name))){var c;!s||194!==s.kind&&144!==e.getNameOfDeclaration(s).kind&&t.parent!==r.symbol?a?c=a:2&k(r)&&(c=e.forEach(Qt(r),function(e){return Xn(e,t.name)&&yr(e,o)})?void 0:r.symbol.declarations[0]):c=s,c&&!po(n,i)&&l(c,0===o?e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_string_index_type_2:e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2,Ue(t),qe(n),qe(i));}}}var r=Jr(t.symbol,1),a=Jr(t.symbol,0),i=yr(t,0),o=yr(t,1);if((i||o)&&(e.forEach(Hn(t),function(e){var s=Lt(e);n(e,s,t,a,i,0),n(e,s,t,r,o,1);}),1&k(t)&&e.isClassLike(t.symbol.valueDeclaration)))for(var s=0,c=t.symbol.valueDeclaration.members;sr)return!1;for(var u=0;u>s;case 47:return a>>>s;case 45:return a<1&&e.forEach(r.declarations,function(t){e.isConstEnumDeclaration(t)!==n&&l(e.getNameOfDeclaration(t),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const);});var a=!1;e.forEach(r.declarations,function(t){if(232!==t.kind)return!1;var n=t;if(!n.members.length)return!1;var r=n.members[0];r.initializer||(a?l(r.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):a=!0);});}}}function Hf(t){for(var n=0,r=t.declarations;n1&&!r&&e.isInstantiatedModule(t,Iy.preserveConstEnums||Iy.isolatedModules)){var s=Hf(o);s&&(e.getSourceFileOfNode(t)!==e.getSourceFileOfNode(s)?l(t.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):t.pos1)for(var s=0,c=a;s0?e.concatenate(o,i):i}return e.forEach(r.getSourceFiles(),fm),Ov.getDiagnostics()}function hm(){return vm(),Ov.getGlobalDiagnostics()}function vm(){if(!i)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function bm(e){if(e)for(;e.parent;){if(220===e.parent.kind&&e.parent.statement===e)return!0;e=e.parent;}return!1}function xm(t,n){function r(e,t){if(e.flags&t){var n=e.name;i.has(n)||i.set(n,e);}}function a(e,t){t&&e.forEach(function(e){r(e,t);});}if(bm(t))return[];var i=e.createMap(),o=0;return function(){for(;t;){switch(t.locals&&!T(t)&&a(t.locals,n),t.kind){case 265:if(!e.isExternalOrCommonJsModule(t))break;case 233:a(ve(t).exports,8914931&n);break;case 232:a(ve(t).exports,8&n);break;case 199:t.name&&r(t.symbol,n);case 229:case 230:32&o||a(ve(t).members,793064&n);break;case 186:t.name&&r(t.symbol,n);}e.introducesArgumentsExoticObject(t)&&r(qy,n),o=e.getModifierFlags(t),t=t.parent;}a(lv,n);}(),xr(i)}function km(e){return 71===e.kind&&Sm(e.parent)&&e.parent.name===e}function Sm(e){switch(e.kind){case 145:case 229:case 230:case 231:case 232:return!0}}function Tm(e){for(var t=e;t.parent&&143===t.parent.kind;)t=t.parent;return t.parent&&(159===t.parent.kind||277===t.parent.kind)}function Cm(e){for(var t=e;t.parent&&179===t.parent.kind;)t=t.parent;return t.parent&&201===t.parent.kind}function Em(t,n){for(var r;;){if(!(t=e.getContainingClass(t)))break;if(r=n(t))break}return r}function Dm(e,t){return!!Em(e,function(e){return e===t})}function Nm(e){for(;143===e.parent.kind;)e=e.parent;return 237===e.parent.kind?e.parent.moduleReference===e&&e.parent:243===e.parent.kind?e.parent.expression===e&&e.parent:void 0}function Am(e){return void 0!==Nm(e)}function wm(t){switch(e.getSpecialPropertyAssignmentKind(t.parent.parent)){case 1:case 3:return ve(t.parent);case 4:case 2:case 5:return ve(t.parent.parent)}}function Om(t){if(e.isDeclarationName(t))return ve(t.parent);if(e.isInJavaScriptFile(t)&&179===t.parent.kind&&t.parent===t.parent.parent.left){var n=wm(t);if(n)return n}if(243===t.parent.kind&&e.isEntityNameExpression(t))return ae(t,9289727);if(179!==t.kind&&Am(t)){var r=e.getAncestor(t,237);return e.Debug.assert(void 0!==r),ne(t,!0)}if(e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),Cm(t)){var a=0;201===t.parent.kind?(a=793064,e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)&&(a|=107455)):a=1920;var i=ae(t,a|=8388608);if(i)return i}if(e.isPartOfExpression(t)){if(e.nodeIsMissing(t))return;if(71===t.kind)return e.isJSXTagName(t)&&el(t)?al(t.parent):ae(t,107455,!1,!0);if(179===t.kind)return(o=x(t).resolvedSymbol)||Il(t),x(t).resolvedSymbol;if(143===t.kind){var o=x(t).resolvedSymbol;return o||Rl(t),x(t).resolvedSymbol}}else{if(Tm(t))return ae(t,a=159===t.parent.kind||277===t.parent.kind?793064:1920,!1,!0);if(253===t.parent.kind)return yl(t.parent)}return 158===t.parent.kind?ae(t,1):void 0}function Pm(t){if(265===t.kind)return e.isExternalModule(t)?he(t.symbol):void 0;if(!bm(t)){if(e.isDeclarationName(t))return ve(t.parent);if(e.isLiteralComputedPropertyDeclarationName(t))return ve(t.parent.parent);if(71===t.kind){if(Am(t))return Om(t);if(176===t.parent.kind&&174===t.parent.parent.kind&&t===t.parent.propertyName){var n=Rm(t.parent.parent),r=n&&_r(n,t.text);if(r)return r}}switch(t.kind){case 71:case 179:case 143:return Om(t);case 99:var a=e.getThisContainer(t,!1);if(e.isFunctionLike(a)){var i=Nr(a);if(i.thisParameter)return i.thisParameter}case 97:return(e.isPartOfExpression(t)?Bd(t):wi(t)).symbol;case 169:return wi(t).symbol;case 123:var o=t.parent;if(o&&152===o.kind)return o.parent.symbol;return;case 9:if(e.isExternalModuleImportEqualsDeclaration(t.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(t.parent.parent)===t||(238===t.parent.kind||244===t.parent.kind)&&t.parent.moduleSpecifier===t)return ie(t,t);if(e.isInJavaScriptFile(t)&&e.isRequireCall(t.parent,!1))return ie(t,t);case 8:if(180===t.parent.kind&&t.parent.argumentExpression===t){var s=Bd(t.parent.expression);if(s===ah)return;var c=sr(s);if(c===ah)return;return _r(c,t.text)}}}}function Fm(e){if(e&&262===e.kind)return ae(e.name,8496063)}function Im(e){return e.parent.parent.moduleSpecifier?$(e.parent.parent,e):ae(e.propertyName||e.name,9289727)}function Rm(t){if(bm(t))return ah;if(e.isPartOfTypeNode(t)){var n=wi(t);return n&&e.isExpressionWithTypeArgumentsInClassImplementsClause(t)&&(n=Tn(n,(r=Rm(e.getContainingClass(t))).thisType)),n}if(e.isPartOfExpression(t))return Bm(t);if(e.isExpressionWithTypeArgumentsInClassExtendsClause(t)){var r=fn(ve(e.getContainingClass(t))),a=Qt(r)[0];return a&&Tn(a,r.thisType)}if(Sm(t))return fn(i=ve(t));if(km(t))return(i=Pm(t))&&fn(i);if(e.isDeclaration(t))return Lt(i=ve(t));if(e.isDeclarationName(t))return(i=Pm(t))&&Lt(i);if(e.isBindingPattern(t))return ht(t.parent,!0);if(Am(t)){var i=Pm(t),o=i&&fn(i);return o!==ah?o:Lt(i)}return ah}function Mm(t){if(e.Debug.assert(178===t.kind||177===t.kind),216===t.parent.kind)return yd(t,(n=ff(t.parent.expression,t.parent.awaitModifier))||ah);if(194===t.parent.kind){var n=Bd(t.parent.right);return yd(t,n||ah)}if(261===t.parent.kind)return fd(Mm(t.parent.parent)||ah,t.parent);e.Debug.assert(177===t.parent.kind);var r=Mm(t.parent),a=mf(r||ah,t.parent,!1,!1)||ah;return gd(t.parent,r,e.indexOf(t.parent.elements,t),a||ah)}function Lm(e){var t=Mm(e.parent.parent);return t&&_r(t,e.text)}function Bm(t){return e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),Si(Bd(t))}function Km(t){var n=ve(t.parent);return 32&e.getModifierFlags(t)?Lt(n):fn(n)}function jm(t){var n=bn(Qn(t=sr(t)));return(pr(t,0).length||pr(t,1).length)&&e.forEach(Qn(Eh),function(e){n.has(e.name)||n.set(e.name,e);}),Ne(n)}function Jm(t){if(6&S(t)){var n=[],r=t.name;return e.forEach(b(t).containingType.types,function(e){var t=_r(e,r);t&&n.push(t);}),n}if(134217728&t.flags){if(t.leftSpread){var a=t;return Jm(a.leftSpread).concat(Jm(a.rightSpread))}if(t.syntheticOrigin)return Jm(t.syntheticOrigin);for(var i=void 0,o=t;o=b(o).target;)i=o;if(i)return[i]}return[t]}function zm(t){return!(e.isGeneratedIdentifier(t)||!(t=e.getParseTreeNode(t,e.isIdentifier)))&&(!(179===t.parent.kind&&t.parent.name===t)&&pg(t)===qy)}function Um(t){function n(e){return(e=Q(e))&&!!(107455&e.flags)}var r=ie(t.parent,t);if(!r||e.isShorthandAmbientModuleSymbol(r))return!0;var a=le(r),i=b(r=ce(r));return void 0===i.exportsSomeValue&&(i.exportsSomeValue=a?!!(107455&r.flags):e.forEachEntry(me(r),n)),i.exportsSomeValue}function Vm(t){var n=t.parent;return n&&e.isModuleOrEnumDeclaration(n)&&t===n.name}function qm(t,n){if(t=e.getParseTreeNode(t,e.isIdentifier)){var r=pg(t,Vm(t));if(r){if(1048576&r.flags){var a=he(r.exportSymbol);if(!n&&944&a.flags)return;r=a;}var i=be(r);if(i){if(512&i.flags&&265===i.valueDeclaration.kind){var o=i.valueDeclaration;return o!==e.getSourceFileOfNode(t)?void 0:o}return e.findAncestor(t.parent,function(t){return e.isModuleOrEnumDeclaration(t)&&ve(t)===i})}}}}function $m(t){if(t=e.getParseTreeNode(t,e.isIdentifier)){var n=pg(t);if(n&&8388608&n.flags)return K(n)}}function Gm(t){if(418&t.flags){var n=b(t);if(void 0===n.isDeclarationWithCollidingName){var r=e.getEnclosingBlockScopeContainer(t.valueDeclaration);if(e.isStatementWithLocals(r)){var a=x(t.valueDeclaration);if(N(r.parent,t.name,107455,void 0,void 0))n.isDeclarationWithCollidingName=!0;else if(131072&a.flags){var i=262144&a.flags,o=e.isIterationStatement(r,!1),s=207===r.kind&&e.isIterationStatement(r.parent,!1);n.isDeclarationWithCollidingName=!(e.isBlockScopedContainerTopLevel(r)||i&&(o||s));}else n.isDeclarationWithCollidingName=!1;}}return n.isDeclarationWithCollidingName}return!1}function Wm(t){if(!e.isGeneratedIdentifier(t)&&(t=e.getParseTreeNode(t,e.isIdentifier))){var n=pg(t);if(n&&Gm(n))return n.valueDeclaration}}function Hm(t){if(t=e.getParseTreeNode(t,e.isDeclaration)){var n=ve(t);if(n)return Gm(n)}return!1}function Xm(t){switch(t.kind){case 237:case 239:case 240:case 242:case 246:return Qm(ve(t)||eh);case 244:var n=t.exportClause;return n&&e.forEach(n.elements,Xm);case 243:return!t.expression||71!==t.expression.kind||Qm(ve(t)||eh)}return!1}function Ym(t){return!(void 0===(t=e.getParseTreeNode(t,e.isImportEqualsDeclaration))||265!==t.parent.kind||!e.isInternalModuleImportEqualsDeclaration(t))&&(Qm(ve(t))&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference))}function Qm(e){var t=Z(e);return t===eh||107455&t.flags&&(Iy.preserveConstEnums||!Zm(t))}function Zm(e){return ld(e)||e.constEnumOnlyModule}function eg(t,n){if(e.isAliasSymbolDeclaration(t)){var r=ve(t);if(r&&b(r).referenced)return!0}return!!n&&e.forEachChild(t,function(e){return eg(e,n)})}function tg(t){if(e.nodeIsPresent(t.body)){var n=Or(ve(t));return n.length>1||1===n.length&&n[0].declaration!==t}return!1}function ng(t){return Ky&&!Tr(t)&&t.initializer&&!(92&e.getModifierFlags(t))}function rg(e){return x(e).flags}function ag(e){return Gf(e.parent),x(e).enumMemberValue}function ig(e){switch(e.kind){case 264:case 179:case 180:return!0}return!1}function og(t){if(264===t.kind)return ag(t);var n=x(t).resolvedSymbol;return n&&8&n.flags&&e.isConstEnumDeclaration(n.valueDeclaration.parent)?ag(n.valueDeclaration):void 0}function sg(e){return 32768&e.flags&&pr(e,0).length>0}function cg(t,n){var r=ae(t,107455,!0,!1,n),a=ae(t,793064,!0,!1,n);if(r&&r===a){var i=va(!1);if(i&&r===i)return e.TypeReferenceSerializationKind.Promise;var o=Lt(r);if(o&&Gt(o))return e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!a)return e.TypeReferenceSerializationKind.ObjectType;var s=fn(a);return s===ah?e.TypeReferenceSerializationKind.Unknown:1&s.flags?e.TypeReferenceSerializationKind.ObjectType:cd(s,15360)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:cd(s,136)?e.TypeReferenceSerializationKind.BooleanType:cd(s,340)?e.TypeReferenceSerializationKind.NumberLikeType:cd(s,262178)?e.TypeReferenceSerializationKind.StringLikeType:ns(s)?e.TypeReferenceSerializationKind.ArrayLikeType:cd(s,512)?e.TypeReferenceSerializationKind.ESSymbolType:sg(s)?e.TypeReferenceSerializationKind.TypeWithCallSignature:Ho(s)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function ug(e,t,n,r){var a=ve(e),i=!a||133120&a.flags?ah:ts(Lt(a));4096&n&&(i=is(i,2048)),Ze().buildTypeDisplay(i,r,t,n);}function lg(e,t,n,r){var a=Nr(e);Ze().buildTypeDisplay(Ir(a),r,t,n);}function _g(e,t,n,r){var a=ms(Bm(e));Ze().buildTypeDisplay(a,r,t,n);}function dg(e){return lv.has(e)}function pg(t,n){var r=x(t).resolvedSymbol;if(r)return r;var a=t;if(n){var i=t.parent;e.isDeclaration(i)&&t===i.name&&(a=ot(i));}return N(a,t.text,9544639,void 0,void 0)}function fg(t){if(!e.isGeneratedIdentifier(t)&&(t=e.getParseTreeNode(t,e.isIdentifier))){var n=pg(t);if(n)return xe(n).valueDeclaration}}function mg(t){if(e.isConst(t)){var n=Lt(ve(t));return!!(96&n.flags&&1048576&n.flags)}return!1}function gg(e,t){var n=Lt(ve(e));t.writeStringLiteral(Ye(n));}function yg(t){var n=e.getExternalModuleName(t),r=oe(n,n,void 0);if(r)return e.getDeclarationOfKind(r,265)}function hg(t,n){if((Ty&n)!==n&&Iy.importHelpers){var r=e.getSourceFileOfNode(t);if(e.isEffectiveExternalModule(r,Iy)&&!e.isInAmbientContext(t)){var a=bg(r,t);if(a!==eh)for(var i=n&~Ty,o=1;o<=16384;o<<=1)if(i&o){var s=vg(o);C(a.exports,e.escapeIdentifier(s),107455)||l(t,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1,e.externalHelpersModuleNameText,s);}Ty|=n;}}}function vg(t){switch(t){case 1:return"__extends";case 2:return"__assign";case 4:return"__rest";case 8:return"__decorate";case 16:return"__metadata";case 32:return"__param";case 64:return"__awaiter";case 128:return"__generator";case 256:return"__values";case 512:return"__read";case 1024:return"__spread";case 2048:return"__await";case 4096:return"__asyncGenerator";case 8192:return"__asyncDelegator";case 16384:return"__asyncValues";default:e.Debug.fail("Unrecognized helper.");}}function bg(t,n){return Cy||(Cy=se(t,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,n)||eh),Cy}function xg(t){if(!t.decorators)return!1;if(!e.nodeCanBeDecorated(t))return 151!==t.kind||e.nodeIsPresent(t.body)?ly(t,e.Diagnostics.Decorators_are_not_valid_here):ly(t,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(153===t.kind||154===t.kind){var n=e.getAllAccessorDeclarations(t.parent.members,t);if(n.firstAccessor.decorators&&t===n.secondAccessor)return ly(t,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}return!1}function kg(t){var n=Sg(t);if(void 0!==n)return n;for(var r,a,i,o,s=0,c=0,u=t.modifiers;c1||e.modifiers[0].kind!==t}function Eg(t,n){switch(t.kind){case 151:case 228:case 186:case 187:return!1}return dy(n,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}function Dg(t){if(t&&t.hasTrailingComma){var n=t.end-",".length,r=t.end;return _y(e.getSourceFileOfNode(t[0]),n,r-n,e.Diagnostics.Trailing_comma_not_allowed)}}function Ng(t,n){if(Dg(t))return!0;if(t&&0===t.length){var r=t.pos-"<".length;return _y(n,r,e.skipTrivia(n.text,t.end)+">".length-r,e.Diagnostics.Type_parameter_list_cannot_be_empty)}}function Ag(t){for(var n=!1,r=t.length,a=0;a".length-a,e.Diagnostics.Type_argument_list_cannot_be_empty)}}function Mg(e,t){return Dg(t)||Rg(e,t)}function Lg(t,n){if(n)for(var r=e.getSourceFileOfNode(t),a=0,i=n;a1)return ly(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);n=!0;}else{if(e.Debug.assert(108===o.token),r)return ly(o,e.Diagnostics.implements_clause_already_seen);r=!0;}Kg(o);}}function Jg(t){var n=!1;if(t.heritageClauses)for(var r=0,a=t.heritageClauses;r1){i=215===t.kind?e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return ly(n.declarations[1],i)}var a=r[0];if(a.initializer){var i=215===t.kind?e.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:e.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return dy(a.name,i)}if(a.type)return dy(a,i=215===t.kind?e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:e.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation)}}return!1}function Wg(t){var n=t.kind;if(Ry<1)return dy(t.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(e.isInAmbientContext(t))return dy(t.name,e.Diagnostics.An_accessor_cannot_be_declared_in_an_ambient_context);if(!(void 0!==t.body||128&e.getModifierFlags(t)))return _y(e.getSourceFileOfNode(t),t.end-1,";".length,e.Diagnostics._0_expected,"{");if(t.body&&128&e.getModifierFlags(t))return dy(t,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(t.typeParameters)return dy(t.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!Hg(t))return dy(t.name,153===n?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(154===n){if(t.type)return dy(t.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var r=t.parameters[0];if(r.dotDotDotToken)return dy(r.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(r.questionToken)return dy(r.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(r.initializer)return dy(t.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}}function Hg(e){return Xg(e)||e.parameters.length===(153===e.kind?0:1)}function Xg(t){if(t.parameters.length===(153===t.kind?1:2))return e.getThisParameter(t)}function Yg(t,n){if(e.isDynamicName(t))return dy(t,n)}function Qg(t){if(af(t)||wg(t)||Ug(t))return!0;if(178===t.parent.kind){if(Vg(t.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(void 0===t.body)return _y(e.getSourceFileOfNode(t),t.end-1,";".length,e.Diagnostics._0_expected,"{")}if(e.isClassLike(t.parent)){if(e.isInAmbientContext(t))return Yg(t.name,e.Diagnostics.A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol);if(!t.body)return Yg(t.name,e.Diagnostics.A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol)}else{if(230===t.parent.kind)return Yg(t.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol);if(163===t.parent.kind)return Yg(t.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol)}}function Zg(t){for(var n=t;n;){if(e.isFunctionLike(n))return dy(t,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(n.kind){case 222:if(t.label&&n.label.text===t.label.text)return!(217!==t.kind||e.isIterationStatement(n.statement,!0))&&dy(t,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement);break;case 221:if(218===t.kind&&!t.label)return!1;break;default:if(e.isIterationStatement(n,!1)&&!t.label)return!1}n=n.parent;}if(t.label)return dy(t,r=218===t.kind?e.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement);var r=218===t.kind?e.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:e.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return dy(t,r)}function ey(t){if(t.dotDotDotToken){var n=t.parent.elements;if(t!==e.lastOrUndefined(n))return dy(t,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(175===t.name.kind||174===t.name.kind)return dy(t.name,e.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern);if(t.initializer)return _y(e.getSourceFileOfNode(t),t.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}}function ty(e){return 9===e.kind||8===e.kind||192===e.kind&&38===e.operator&&8===e.operand.kind}function ny(t){if(215!==t.parent.parent.kind&&216!==t.parent.parent.kind)if(e.isInAmbientContext(t)){if(t.initializer){if(!e.isConst(t)||t.type){n="=".length;return _y(e.getSourceFileOfNode(t),t.initializer.pos-n,n,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}if(!ty(t.initializer))return dy(t.initializer,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal)}if(t.initializer&&(!e.isConst(t)||!ty(t.initializer))){var n="=".length;return _y(e.getSourceFileOfNode(t),t.initializer.pos-n,n,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}else if(!t.initializer){if(e.isBindingPattern(t.name)&&!e.isBindingPattern(t.parent))return dy(t,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isConst(t))return dy(t,e.Diagnostics.const_declarations_must_be_initialized)}return Iy.module===e.ModuleKind.ES2015||Iy.module===e.ModuleKind.System||Iy.noEmit||e.isInAmbientContext(t.parent.parent)||!e.hasModifier(t.parent.parent,1)||ry(t.name),(e.isLet(t)||e.isConst(t))&&ay(t.name)}function ry(t){if(71===t.kind){if("__esModule"===e.unescapeIdentifier(t.text))return dy(t,e.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else for(var n=0,r=t.elements;n0}function ly(t,n,r,a,i){var o=e.getSourceFileOfNode(t);if(!uy(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return Ov.add(e.createFileDiagnostic(o,s.start,s.length,n,r,a,i)),!0}}function _y(t,n,r,a,i,o,s){if(!uy(t))return Ov.add(e.createFileDiagnostic(t,n,r,a,i,o,s)),!0}function dy(t,n,r,a,i){if(!uy(e.getSourceFileOfNode(t)))return Ov.add(e.createDiagnosticForNode(t,n,r,a,i)),!0}function py(t){if(t.typeParameters)return _y(e.getSourceFileOfNode(t),t.typeParameters.pos,t.typeParameters.end-t.typeParameters.pos,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}function fy(t){if(t.type)return dy(t.type,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}function my(t){if(e.isClassLike(t.parent)){if(Yg(t.name,e.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol))return!0}else if(230===t.parent.kind){if(Yg(t.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol))return!0;if(t.initializer)return dy(t.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(163===t.parent.kind){if(Yg(t.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol))return!0;if(t.initializer)return dy(t.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}if(e.isInAmbientContext(t)&&t.initializer)return ly(t.initializer,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}function gy(t){return!(230===t.kind||231===t.kind||238===t.kind||237===t.kind||244===t.kind||243===t.kind||236===t.kind||515&e.getModifierFlags(t))&&ly(t,e.Diagnostics.A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file)}function yy(t){for(var n=0,r=t.statements;n=1?n=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(t,173)?n=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(t,264)&&(n=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),n){var r=e.isPrefixUnaryExpression(t.parent)&&38===t.parent.operator,a=(r?"-":"")+"0o"+t.text;return dy(r?t.parent:t,n,a)}}}function xy(t,n,r,a,i){var o=e.getSourceFileOfNode(t);if(!uy(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return Ov.add(e.createFileDiagnostic(o,e.textSpanEnd(s),0,n,r,a,i)),!0}}function ky(){var e=[];return lv.forEach(function(t,n){a.test(n)&&e.push(t);}),e}var Sy,Ty,Cy,Ey=e.objectAllocator.getSymbolConstructor(),Dy=e.objectAllocator.getTypeConstructor(),Ny=e.objectAllocator.getSignatureConstructor(),Ay=0,wy=0,Oy=0,Py=[],Fy=e.createMap(),Iy=r.getCompilerOptions(),Ry=e.getEmitScriptTarget(Iy),My=e.getEmitModuleKind(Iy),Ly=!!Iy.noUnusedLocals||!!Iy.noUnusedParameters,By=void 0!==Iy.allowSyntheticDefaultImports?Iy.allowSyntheticDefaultImports:My===e.ModuleKind.System,Ky=void 0===Iy.strictNullChecks?Iy.strict:Iy.strictNullChecks,jy=void 0===Iy.noImplicitAny?Iy.strict:Iy.noImplicitAny,Jy=void 0===Iy.noImplicitThis?Iy.strict:Iy.noImplicitThis,zy=function(){function t(e){if(i){var t=179===e.kind||71===e.kind&&Rs(e)?1156031:794600,r=ae(e,t,!0);return r&&r!==eh?n(r,t):void 0}}function n(t,n){if(i&&a(t)){for(var r,o=0,s=t.declarations;o0){var v=o(r.slice(0,Yr(t)));if(v&&v.length>0)return e.createTupleTypeNode(v)}c.encounteredError||c.flags&e.NodeBuilderFlags.allowEmptyTuple||(c.encounteredError=!0);}(t);if(3&p){e.Debug.assert(!!(32768&t.flags));f=s(t.symbol,!1);return e.createTypeReferenceNode(f,void 0)}if(16384&t.flags){f=s(t.symbol,!1);return e.createTypeReferenceNode(f,void 0)}if(c.checkAlias&&t.aliasSymbol){var f=s(t.aliasSymbol,!1),m=t.aliasTypeArguments&&o(t.aliasTypeArguments);return e.createTypeReferenceNode(f,m)}if(c.checkAlias=!1,65536&t.flags){var g=Ge(t.types),y=g&&o(g);return y&&y.length>0?e.createUnionOrIntersectionTypeNode(166,y):void(c.encounteredError||c.flags&e.NodeBuilderFlags.allowEmptyUnionOrIntersection||(c.encounteredError=!0))}if(131072&t.flags)return e.createUnionOrIntersectionTypeNode(167,o(t.types));if(48&p)return e.Debug.assert(!!(32768&t.flags)),function(t){var n=t.symbol;if(n){if(32&n.flags&&!Ot(n)||896&n.flags||function(){var t=!!(8192&n.flags&&e.forEach(n.declarations,function(t){return 32&e.getModifierFlags(t)})),r=!!(16&n.flags)&&(n.parent||e.forEach(n.declarations,function(e){return 265===e.parent.kind||234===e.parent.kind}));if(t||r)return e.contains(c.symbolStack,n)}())return _(n);if(e.contains(c.symbolStack,n)){var r=He(t);if(r){var a=s(r,!1);return e.createTypeReferenceNode(a,void 0)}return e.createKeywordTypeNode(119)}c.symbolStack||(c.symbolStack=[]),c.symbolStack.push(n);var i=l(t);return c.symbolStack.pop(),i}return l(t)}(t);if(262144&t.flags){v=n(t.type);return e.createTypeOperatorNode(v)}if(524288&t.flags){var h=n(t.objectType),v=n(t.indexType);return e.createIndexedAccessTypeNode(h,v)}e.Debug.fail("Should be unreachable.");}else c.encounteredError=!0;}function r(t,r){var a=e.createKeywordTypeNode(0===r?136:133),i=e.getNameFromIndexInfo(t),o=e.createParameter(void 0,void 0,void 0,i,void 0,a,void 0),s=n(t.type);return e.createIndexSignatureDeclaration(void 0,t.isReadonly?[e.createToken(131)]:void 0,[o],s)}function a(t,r){var a,s=t.typeParameters&&t.typeParameters.map(function(e){return i(e)}),c=t.parameters.map(function(e){return o(e)});if(t.typePredicate){var u=t.typePredicate,l=1===u.kind?e.createIdentifier(u.parameterName):e.createThisTypeNode(),_=n(u.type);a=e.createTypePredicateNode(l,_);}else{var d=Ir(t);a=d&&n(d);}var p=a&&119!==a.kind?a:void 0;return e.createSignatureDeclaration(r,s,c,p)}function i(t){var r=qr(t),a=r&&n(r),i=or(t),o=i&&n(i),c=s(t.symbol,!0);return e.createTypeParameterDeclaration(c,a,o)}function o(t){var r=e.getDeclarationOfKind(t,146),a=n(Lt(t));return e.createParameter(r.decorators,r.modifiers,r.dotDotDotToken&&e.createToken(24),e.getSynthesizedClone(r.name),r.questionToken&&e.createToken(55),a,r.initializer)}function s(t,n){function r(t,n){e.Debug.assert(t&&0<=n&&n0){var s=t[n-1],u=void 0;if(1&S(a)?u=qt(s):524384&Kf(s).flags&&(u=Vt(a)),u&&u.length>0){c.encounteredError||c.flags&e.NodeBuilderFlags.allowTypeParameterInQualifiedName||(c.encounteredError=!0);var l=e.getSingleLineStringWriter();Ze().buildDisplayForTypeParametersAndDelimiters(u,l,c.enclosingDeclaration,0),o=l.string(),e.releaseStringWriter(l);}}var _=i(a),d=o.length>0?_+"<"+o+">":_,p=e.createIdentifier(d);return n>0?e.createQualifiedName(r(t,n-1),p):p}function a(t,n,r){var i,o=Fe(t,c.enclosingDeclaration,n,!1);if(!o||Ie(o[0],c.enclosingDeclaration,1===o.length?n:Pe(n))){var s=be(o?o[0]:t);if(s){var u=a(s,Pe(n),!1);u&&(i=s,o=u.concat(o||[t]));}}return o||(!r&&(!i&&e.forEach(t.declarations,Le)||6144&t.flags)?void 0:[t])}function i(t){var n=e.firstOrUndefined(t.declarations);if(n){var r=e.getNameOfDeclaration(n);if(r)return e.declarationNameToString(r);if(n.parent&&226===n.parent.kind)return e.declarationNameToString(n.parent.name);switch(c.encounteredError||c.flags&e.NodeBuilderFlags.allowAnonymousIdentifier||(c.encounteredError=!0),n.kind){case 199:return"(Anonymous class)";case 186:case 187:return"(Anonymous function)"}}return t.name}var o;return!(262144&t.flags)&&c.enclosingDeclaration?(o=a(t,0,!0),e.Debug.assert(o&&o.length>0)):o=[t],!n||1===o.length||c.encounteredError||c.flags&e.NodeBuilderFlags.allowQualifedNameInPlaceOfIdentifier||(c.encounteredError=!0),r(o,o.length-1)}var c;return{typeToTypeNode:function(e,r,a){c=t(r,a);var i=n(e);return c.encounteredError?void 0:i},indexInfoToIndexSignatureDeclaration:function(e,n,a,i){c=t(a,i);var o=r(e,n);return c.encounteredError?void 0:o},signatureToSignatureDeclaration:function(e,n,r,i){c=t(r,i);var o=a(e,n);return c.encounteredError?void 0:o}}}(),Vy=_(4,"undefined");Vy.declarations=[];var qy=_(4,"arguments"),$y={getNodeCount:function(){return e.sum(r.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return e.sum(r.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return e.sum(r.getSourceFiles(),"symbolCount")+wy},getTypeCount:function(){return Ay},isUndefinedSymbol:function(e){return e===Vy},isArgumentsSymbol:function(e){return e===qy},isUnknownSymbol:function(e){return e===eh},getMergedSymbol:he,getDiagnostics:gm,getGlobalDiagnostics:hm,getTypeOfSymbolAtLocation:function(t,n){return n=e.getParseTreeNode(n),n?zc(t,n):ah},getSymbolsOfParameterPropertyDeclaration:function(t,n){return t=e.getParseTreeNode(t,e.isParameter),e.Debug.assert(void 0!==t,"Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."),E(t,n)},getDeclaredTypeOfSymbol:fn,getPropertiesOfType:Qn,getPropertyOfType:_r,getIndexInfoOfType:gr,getSignaturesOfType:pr,getIndexTypeOfType:yr,getBaseTypes:Qt,getBaseTypeOfLiteralType:es,getWidenedType:ms,getTypeFromTypeNode:function(t){return t=e.getParseTreeNode(t,e.isTypeNode),t?wi(t):ah},getParameterType:I_,getReturnTypeOfSignature:Ir,getNonNullableType:ss,typeToTypeNode:Uy.typeToTypeNode,indexInfoToIndexSignatureDeclaration:Uy.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:Uy.signatureToSignatureDeclaration,getSymbolsInScope:function(t,n){return t=e.getParseTreeNode(t),t?xm(t,n):[]},getSymbolAtLocation:function(t){return t=e.getParseTreeNode(t),t?Pm(t):void 0},getShorthandAssignmentValueSymbol:function(t){return t=e.getParseTreeNode(t),t?Fm(t):void 0},getExportSpecifierLocalTargetSymbol:function(t){return t=e.getParseTreeNode(t,e.isExportSpecifier),t?Im(t):void 0},getTypeAtLocation:function(t){return t=e.getParseTreeNode(t),t?Rm(t):ah},getPropertySymbolOfDestructuringAssignment:function(t){return t=e.getParseTreeNode(t,e.isIdentifier),t?Lm(t):void 0},signatureToString:function(t,n,r,a){return Ve(t,e.getParseTreeNode(n),r,a)},typeToString:function(t,n,r){return qe(t,e.getParseTreeNode(n),r)},getSymbolDisplayBuilder:Ze,symbolToString:function(t,n,r){return Ue(t,e.getParseTreeNode(n),r)},getAugmentedPropertiesOfType:jm,getRootSymbols:Jm,getContextualType:function(t){return t=e.getParseTreeNode(t,e.isExpression),t?Ou(t):void 0},getFullyQualifiedName:re,getResolvedSignature:function(t,n){return t=e.getParseTreeNode(t,e.isCallLikeExpression),t?T_(t,n):void 0},getConstantValue:function(t){return t=e.getParseTreeNode(t,ig),t?og(t):void 0},isValidPropertyAccess:function(t,n){return!!(t=e.getParseTreeNode(t,e.isPropertyAccessOrQualifiedName))&&jl(t,n)},getSignatureFromDeclaration:function(t){return t=e.getParseTreeNode(t,e.isFunctionLike),t?Nr(t):void 0},isImplementationOfOverload:function(t){return t=e.getParseTreeNode(t,e.isFunctionLike),t?tg(t):void 0},getImmediateAliasedSymbol:function(t){e.Debug.assert(0!=(8388608&t.flags),"Should only get Alias here.");var n=b(t);if(!n.immediateTarget){var r=K(t);e.Debug.assert(!!r),n.immediateTarget=Y(r,!0);}return n.immediateTarget},getAliasedSymbol:Z,getEmitResolver:u,getExportsOfModule:_e,getExportsAndPropertiesOfModule:de,getAmbientModules:ky,getAllAttributesTypeFromJsxOpeningLikeElement:function(t){return t=e.getParseTreeNode(t,e.isJsxOpeningLikeElement),t?ml(t):void 0},getJsxIntrinsicTagNames:xl,isOptionalParameter:function(t){return!!(t=e.getParseTreeNode(t,e.isParameter))&&Tr(t)},tryGetMemberInModuleExports:pe,tryFindAmbientModuleWithoutAugmentations:function(e){return Sr(e,!1)},getApparentType:sr},Gy=[],Wy=e.createMap(),Hy=e.createMap(),Xy=e.createMap(),Yy=e.createMap(),Qy=e.createMap(),Zy=[],eh=_(4,"unknown"),th=_(0,"__resolving__"),nh=Ce(1,"any"),rh=Ce(1,"any"),ah=Ce(1,"unknown"),ih=Ce(2048,"undefined"),oh=Ky?ih:Ce(2099200,"undefined"),sh=Ce(4096,"null"),ch=Ky?sh:Ce(2101248,"null"),uh=Ce(2,"string"),lh=Ce(4,"number"),_h=Ce(128,"true"),dh=Ce(128,"false"),ph=function(e){var t=Xa(e);return t.flags|=8,t.intrinsicName="boolean",t}([_h,dh]),fh=Ce(512,"symbol"),mh=Ce(1024,"void"),gh=Ce(8192,"never"),yh=Ce(8192,"never"),hh=Ce(16777216,"object"),vh=we(void 0,Fy,Py,Py,void 0,void 0),bh=_(2048,"__type");bh.members=e.createMap();var xh=we(bh,Fy,Py,Py,void 0,void 0),kh=we(void 0,Fy,Py,Py,void 0,void 0);kh.instantiations=e.createMap();var Sh=we(void 0,Fy,Py,Py,void 0,void 0);Sh.flags|=8388608;var Th,Ch,Eh,Dh,Nh,Ah,wh,Oh,Ph,Fh,Ih,Rh,Mh,Lh,Bh,Kh,jh,Jh,zh,Uh,Vh,qh,$h,Gh,Wh,Hh,Xh,Yh,Qh,Zh,ev,tv,nv=we(void 0,Fy,Py,Py,void 0,void 0),rv=we(void 0,Fy,Py,Py,void 0,void 0),av=Nn(void 0,void 0,void 0,Py,nh,void 0,0,!1,!1),iv=Nn(void 0,void 0,void 0,Py,ah,void 0,0,!1,!1),ov=Nn(void 0,void 0,void 0,Py,nh,void 0,0,!1,!1),sv=Nn(void 0,void 0,void 0,Py,yh,void 0,0,!1,!1),cv=zr(uh,!0),uv=zr(nh,!1),lv=e.createMap(),_v=0,dv=0,pv=0,fv=Ti(32,""),mv=Ti(64,"0"),gv=[],yv=[],hv=[],vv=[],bv=[],xv=[],kv=[],Sv=[],Tv=[],Cv=[],Ev=[],Dv=[],Nv=[],Av=[],wv=[],Ov=e.createDiagnosticCollection();!function(e){e[e.None=0]="None",e[e.TypeofEQString=1]="TypeofEQString",e[e.TypeofEQNumber=2]="TypeofEQNumber",e[e.TypeofEQBoolean=4]="TypeofEQBoolean",e[e.TypeofEQSymbol=8]="TypeofEQSymbol",e[e.TypeofEQObject=16]="TypeofEQObject",e[e.TypeofEQFunction=32]="TypeofEQFunction",e[e.TypeofEQHostObject=64]="TypeofEQHostObject",e[e.TypeofNEString=128]="TypeofNEString",e[e.TypeofNENumber=256]="TypeofNENumber",e[e.TypeofNEBoolean=512]="TypeofNEBoolean",e[e.TypeofNESymbol=1024]="TypeofNESymbol",e[e.TypeofNEObject=2048]="TypeofNEObject",e[e.TypeofNEFunction=4096]="TypeofNEFunction",e[e.TypeofNEHostObject=8192]="TypeofNEHostObject",e[e.EQUndefined=16384]="EQUndefined",e[e.EQNull=32768]="EQNull",e[e.EQUndefinedOrNull=65536]="EQUndefinedOrNull",e[e.NEUndefined=131072]="NEUndefined",e[e.NENull=262144]="NENull",e[e.NEUndefinedOrNull=524288]="NEUndefinedOrNull",e[e.Truthy=1048576]="Truthy",e[e.Falsy=2097152]="Falsy",e[e.Discriminatable=4194304]="Discriminatable",e[e.All=8388607]="All",e[e.BaseStringStrictFacts=933633]="BaseStringStrictFacts",e[e.BaseStringFacts=3145473]="BaseStringFacts",e[e.StringStrictFacts=4079361]="StringStrictFacts",e[e.StringFacts=4194049]="StringFacts",e[e.EmptyStringStrictFacts=3030785]="EmptyStringStrictFacts",e[e.EmptyStringFacts=3145473]="EmptyStringFacts",e[e.NonEmptyStringStrictFacts=1982209]="NonEmptyStringStrictFacts",e[e.NonEmptyStringFacts=4194049]="NonEmptyStringFacts",e[e.BaseNumberStrictFacts=933506]="BaseNumberStrictFacts",e[e.BaseNumberFacts=3145346]="BaseNumberFacts",e[e.NumberStrictFacts=4079234]="NumberStrictFacts",e[e.NumberFacts=4193922]="NumberFacts",e[e.ZeroStrictFacts=3030658]="ZeroStrictFacts",e[e.ZeroFacts=3145346]="ZeroFacts",e[e.NonZeroStrictFacts=1982082]="NonZeroStrictFacts",e[e.NonZeroFacts=4193922]="NonZeroFacts",e[e.BaseBooleanStrictFacts=933252]="BaseBooleanStrictFacts",e[e.BaseBooleanFacts=3145092]="BaseBooleanFacts",e[e.BooleanStrictFacts=4078980]="BooleanStrictFacts",e[e.BooleanFacts=4193668]="BooleanFacts",e[e.FalseStrictFacts=3030404]="FalseStrictFacts",e[e.FalseFacts=3145092]="FalseFacts",e[e.TrueStrictFacts=1981828]="TrueStrictFacts",e[e.TrueFacts=4193668]="TrueFacts",e[e.SymbolStrictFacts=1981320]="SymbolStrictFacts",e[e.SymbolFacts=4193160]="SymbolFacts",e[e.ObjectStrictFacts=6166480]="ObjectStrictFacts",e[e.ObjectFacts=8378320]="ObjectFacts",e[e.FunctionStrictFacts=6164448]="FunctionStrictFacts",e[e.FunctionFacts=8376288]="FunctionFacts",e[e.UndefinedFacts=2457472]="UndefinedFacts",e[e.NullFacts=2340752]="NullFacts";}(tv||(tv={}));var Pv,Fv,Iv,Rv,Mv,Lv,Bv=e.createMapFromTemplate({string:1,number:2,boolean:4,symbol:8,undefined:16384,object:16,function:32}),Kv=e.createMapFromTemplate({string:128,number:256,boolean:512,symbol:1024,undefined:131072,object:2048,function:4096}),jv=e.createMapFromTemplate({string:uh,number:lh,boolean:ph,symbol:fh,undefined:ih}),Jv=function(){return Xa(e.convertToArray(Bv.keys(),function(e){return Ti(32,e)}))}(),zv=!1,Uv=!1,Vv=e.createMap(),qv={JSX:"JSX",IntrinsicElements:"IntrinsicElements",ElementClass:"ElementClass",ElementAttributesPropertyNameContainer:"ElementAttributesProperty",ElementChildrenAttributeNameContainer:"ElementChildrenAttribute",Element:"Element",IntrinsicAttributes:"IntrinsicAttributes",IntrinsicClassAttributes:"IntrinsicClassAttributes"},$v=e.createMap(),Gv=e.createMap(),Wv=e.createMap(),Hv=e.createMap(),Xv=e.createMap();!function(e){e[e.Type=0]="Type",e[e.ResolvedBaseConstructorType=1]="ResolvedBaseConstructorType",e[e.DeclaredType=2]="DeclaredType",e[e.ResolvedReturnType=3]="ResolvedReturnType";}(Lv||(Lv={}));var Yv;!function(e){e[e.Normal=0]="Normal",e[e.SkipContextSensitive=1]="SkipContextSensitive",e[e.Inferential=2]="Inferential";}(Yv||(Yv={}));var Qv=e.createMap();return Qv.set(Vy.name,Vy),function(){for(var t=0,n=r.getSourceFiles();ts-a)&&(i=s-a),(a>0||i0&&_<=142||169===_)return o;switch(o.kind){case 206:case 209:case 200:case 225:case 298:case 247:return o;case 143:return e.updateQualifiedName(o,t(o.left,s,e.isEntityName),t(o.right,s,e.isIdentifier));case 144:return e.updateComputedPropertyName(o,t(o.expression,s,e.isExpression));case 160:return e.updateFunctionTypeNode(o,u(o.typeParameters,s,e.isTypeParameter),a(o.parameters,s,c,u),t(o.type,s,e.isTypeNode));case 161:return e.updateConstructorTypeNode(o,u(o.typeParameters,s,e.isTypeParameter),a(o.parameters,s,c,u),t(o.type,s,e.isTypeNode));case 155:return e.updateCallSignatureDeclaration(o,u(o.typeParameters,s,e.isTypeParameter),a(o.parameters,s,c,u),t(o.type,s,e.isTypeNode));case 156:return e.updateConstructSignatureDeclaration(o,u(o.typeParameters,s,e.isTypeParameter),a(o.parameters,s,c,u),t(o.type,s,e.isTypeNode));case 150:return e.updateMethodSignature(o,u(o.typeParameters,s,e.isTypeParameter),a(o.parameters,s,c,u),t(o.type,s,e.isTypeNode),t(o.name,s,e.isPropertyName),t(o.questionToken,l,e.isToken));case 157:return e.updateIndexSignatureDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),a(o.parameters,s,c,u),t(o.type,s,e.isTypeNode));case 146:return e.updateParameter(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.dotDotDotToken,l,e.isToken),t(o.name,s,e.isBindingName),t(o.questionToken,l,e.isToken),t(o.type,s,e.isTypeNode),t(o.initializer,s,e.isExpression));case 147:return e.updateDecorator(o,t(o.expression,s,e.isExpression));case 159:return e.updateTypeReferenceNode(o,t(o.typeName,s,e.isEntityName),u(o.typeArguments,s,e.isTypeNode));case 158:return e.updateTypePredicateNode(o,t(o.parameterName,s),t(o.type,s,e.isTypeNode));case 162:return e.updateTypeQueryNode(o,t(o.exprName,s,e.isEntityName));case 163:return e.updateTypeLiteralNode(o,u(o.members,s));case 164:return e.updateArrayTypeNode(o,t(o.elementType,s,e.isTypeNode));case 165:return e.updateTypleTypeNode(o,u(o.elementTypes,s,e.isTypeNode));case 166:case 167:return e.updateUnionOrIntersectionTypeNode(o,u(o.types,s,e.isTypeNode));case 168:throw e.Debug.fail("not implemented.");case 170:return e.updateTypeOperatorNode(o,t(o.type,s,e.isTypeNode));case 171:return e.updateIndexedAccessTypeNode(o,t(o.objectType,s,e.isTypeNode),t(o.indexType,s,e.isTypeNode));case 172:return e.updateMappedTypeNode(o,t(o.readonlyToken,l,e.isToken),t(o.typeParameter,s,e.isTypeParameter),t(o.questionToken,l,e.isToken),t(o.type,s,e.isTypeNode));case 173:return e.updateLiteralTypeNode(o,t(o.literal,s,e.isExpression));case 145:return e.updateTypeParameterDeclaration(o,t(o.name,s,e.isIdentifier),t(o.constraint,s,e.isTypeNode),t(o.default,s,e.isTypeNode));case 148:return e.updatePropertySignature(o,t(o.name,s,e.isPropertyName),t(o.questionToken,l,e.isToken),t(o.type,s,e.isTypeNode),t(o.initializer,s,e.isExpression));case 149:return e.updateProperty(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isPropertyName),t(o.type,s,e.isTypeNode),t(o.initializer,s,e.isExpression));case 151:return e.updateMethod(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.asteriskToken,l,e.isToken),t(o.name,s,e.isPropertyName),t(o.questionToken,l,e.isToken),u(o.typeParameters,s,e.isTypeParameter),a(o.parameters,s,c,u),t(o.type,s,e.isTypeNode),i(o.body,s,c));case 152:return e.updateConstructor(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),a(o.parameters,s,c,u),i(o.body,s,c));case 153:return e.updateGetAccessor(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isPropertyName),a(o.parameters,s,c,u),t(o.type,s,e.isTypeNode),i(o.body,s,c));case 154:return e.updateSetAccessor(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isPropertyName),a(o.parameters,s,c,u),i(o.body,s,c));case 174:return e.updateObjectBindingPattern(o,u(o.elements,s,e.isBindingElement));case 175:return e.updateArrayBindingPattern(o,u(o.elements,s,e.isArrayBindingElement));case 176:return e.updateBindingElement(o,t(o.dotDotDotToken,l,e.isToken),t(o.propertyName,s,e.isPropertyName),t(o.name,s,e.isBindingName),t(o.initializer,s,e.isExpression));case 177:return e.updateArrayLiteral(o,u(o.elements,s,e.isExpression));case 178:return e.updateObjectLiteral(o,u(o.properties,s,e.isObjectLiteralElementLike));case 179:return e.updatePropertyAccess(o,t(o.expression,s,e.isExpression),t(o.name,s,e.isIdentifier));case 180:return e.updateElementAccess(o,t(o.expression,s,e.isExpression),t(o.argumentExpression,s,e.isExpression));case 181:return e.updateCall(o,t(o.expression,s,e.isExpression),u(o.typeArguments,s,e.isTypeNode),u(o.arguments,s,e.isExpression));case 182:return e.updateNew(o,t(o.expression,s,e.isExpression),u(o.typeArguments,s,e.isTypeNode),u(o.arguments,s,e.isExpression));case 183:return e.updateTaggedTemplate(o,t(o.tag,s,e.isExpression),t(o.template,s,e.isTemplateLiteral));case 184:return e.updateTypeAssertion(o,t(o.type,s,e.isTypeNode),t(o.expression,s,e.isExpression));case 185:return e.updateParen(o,t(o.expression,s,e.isExpression));case 186:return e.updateFunctionExpression(o,u(o.modifiers,s,e.isModifier),t(o.asteriskToken,l,e.isToken),t(o.name,s,e.isIdentifier),u(o.typeParameters,s,e.isTypeParameter),a(o.parameters,s,c,u),t(o.type,s,e.isTypeNode),i(o.body,s,c));case 187:return e.updateArrowFunction(o,u(o.modifiers,s,e.isModifier),u(o.typeParameters,s,e.isTypeParameter),a(o.parameters,s,c,u),t(o.type,s,e.isTypeNode),i(o.body,s,c));case 188:return e.updateDelete(o,t(o.expression,s,e.isExpression));case 189:return e.updateTypeOf(o,t(o.expression,s,e.isExpression));case 190:return e.updateVoid(o,t(o.expression,s,e.isExpression));case 191:return e.updateAwait(o,t(o.expression,s,e.isExpression));case 194:return e.updateBinary(o,t(o.left,s,e.isExpression),t(o.right,s,e.isExpression));case 192:return e.updatePrefix(o,t(o.operand,s,e.isExpression));case 193:return e.updatePostfix(o,t(o.operand,s,e.isExpression));case 195:return e.updateConditional(o,t(o.condition,s,e.isExpression),t(o.whenTrue,s,e.isExpression),t(o.whenFalse,s,e.isExpression));case 196:return e.updateTemplateExpression(o,t(o.head,s,e.isTemplateHead),u(o.templateSpans,s,e.isTemplateSpan));case 197:return e.updateYield(o,t(o.asteriskToken,l,e.isToken),t(o.expression,s,e.isExpression));case 198:return e.updateSpread(o,t(o.expression,s,e.isExpression));case 199:return e.updateClassExpression(o,u(o.modifiers,s,e.isModifier),t(o.name,s,e.isIdentifier),u(o.typeParameters,s,e.isTypeParameter),u(o.heritageClauses,s,e.isHeritageClause),u(o.members,s,e.isClassElement));case 201:return e.updateExpressionWithTypeArguments(o,u(o.typeArguments,s,e.isTypeNode),t(o.expression,s,e.isExpression));case 202:return e.updateAsExpression(o,t(o.expression,s,e.isExpression),t(o.type,s,e.isTypeNode));case 203:return e.updateNonNullExpression(o,t(o.expression,s,e.isExpression));case 205:return e.updateTemplateSpan(o,t(o.expression,s,e.isExpression),t(o.literal,s,e.isTemplateMiddleOrTemplateTail));case 207:return e.updateBlock(o,u(o.statements,s,e.isStatement));case 208:return e.updateVariableStatement(o,u(o.modifiers,s,e.isModifier),t(o.declarationList,s,e.isVariableDeclarationList));case 210:return e.updateStatement(o,t(o.expression,s,e.isExpression));case 211:return e.updateIf(o,t(o.expression,s,e.isExpression),t(o.thenStatement,s,e.isStatement,e.liftToBlock),t(o.elseStatement,s,e.isStatement,e.liftToBlock));case 212:return e.updateDo(o,t(o.statement,s,e.isStatement,e.liftToBlock),t(o.expression,s,e.isExpression));case 213:return e.updateWhile(o,t(o.expression,s,e.isExpression),t(o.statement,s,e.isStatement,e.liftToBlock));case 214:return e.updateFor(o,t(o.initializer,s,e.isForInitializer),t(o.condition,s,e.isExpression),t(o.incrementor,s,e.isExpression),t(o.statement,s,e.isStatement,e.liftToBlock));case 215:return e.updateForIn(o,t(o.initializer,s,e.isForInitializer),t(o.expression,s,e.isExpression),t(o.statement,s,e.isStatement,e.liftToBlock));case 216:return e.updateForOf(o,o.awaitModifier,t(o.initializer,s,e.isForInitializer),t(o.expression,s,e.isExpression),t(o.statement,s,e.isStatement,e.liftToBlock));case 217:return e.updateContinue(o,t(o.label,s,e.isIdentifier));case 218:return e.updateBreak(o,t(o.label,s,e.isIdentifier));case 219:return e.updateReturn(o,t(o.expression,s,e.isExpression));case 220:return e.updateWith(o,t(o.expression,s,e.isExpression),t(o.statement,s,e.isStatement,e.liftToBlock));case 221:return e.updateSwitch(o,t(o.expression,s,e.isExpression),t(o.caseBlock,s,e.isCaseBlock));case 222:return e.updateLabel(o,t(o.label,s,e.isIdentifier),t(o.statement,s,e.isStatement,e.liftToBlock));case 223:return e.updateThrow(o,t(o.expression,s,e.isExpression));case 224:return e.updateTry(o,t(o.tryBlock,s,e.isBlock),t(o.catchClause,s,e.isCatchClause),t(o.finallyBlock,s,e.isBlock));case 226:return e.updateVariableDeclaration(o,t(o.name,s,e.isBindingName),t(o.type,s,e.isTypeNode),t(o.initializer,s,e.isExpression));case 227:return e.updateVariableDeclarationList(o,u(o.declarations,s,e.isVariableDeclaration));case 228:return e.updateFunctionDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.asteriskToken,l,e.isToken),t(o.name,s,e.isIdentifier),u(o.typeParameters,s,e.isTypeParameter),a(o.parameters,s,c,u),t(o.type,s,e.isTypeNode),i(o.body,s,c));case 229:return e.updateClassDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isIdentifier),u(o.typeParameters,s,e.isTypeParameter),u(o.heritageClauses,s,e.isHeritageClause),u(o.members,s,e.isClassElement));case 232:return e.updateEnumDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isIdentifier),u(o.members,s,e.isEnumMember));case 233:return e.updateModuleDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isIdentifier),t(o.body,s,e.isModuleBody));case 234:return e.updateModuleBlock(o,u(o.statements,s,e.isStatement));case 235:return e.updateCaseBlock(o,u(o.clauses,s,e.isCaseOrDefaultClause));case 237:return e.updateImportEqualsDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isIdentifier),t(o.moduleReference,s,e.isModuleReference));case 238:return e.updateImportDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.importClause,s,e.isImportClause),t(o.moduleSpecifier,s,e.isExpression));case 239:return e.updateImportClause(o,t(o.name,s,e.isIdentifier),t(o.namedBindings,s,e.isNamedImportBindings));case 240:return e.updateNamespaceImport(o,t(o.name,s,e.isIdentifier));case 241:return e.updateNamedImports(o,u(o.elements,s,e.isImportSpecifier));case 242:return e.updateImportSpecifier(o,t(o.propertyName,s,e.isIdentifier),t(o.name,s,e.isIdentifier));case 243:return e.updateExportAssignment(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.expression,s,e.isExpression));case 244:return e.updateExportDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.exportClause,s,e.isNamedExports),t(o.moduleSpecifier,s,e.isExpression));case 245:return e.updateNamedExports(o,u(o.elements,s,e.isExportSpecifier));case 246:return e.updateExportSpecifier(o,t(o.propertyName,s,e.isIdentifier),t(o.name,s,e.isIdentifier));case 248:return e.updateExternalModuleReference(o,t(o.expression,s,e.isExpression));case 249:return e.updateJsxElement(o,t(o.openingElement,s,e.isJsxOpeningElement),u(o.children,s,e.isJsxChild),t(o.closingElement,s,e.isJsxClosingElement));case 254:return e.updateJsxAttributes(o,u(o.properties,s,e.isJsxAttributeLike));case 250:return e.updateJsxSelfClosingElement(o,t(o.tagName,s,e.isJsxTagNameExpression),t(o.attributes,s,e.isJsxAttributes));case 251:return e.updateJsxOpeningElement(o,t(o.tagName,s,e.isJsxTagNameExpression),t(o.attributes,s,e.isJsxAttributes));case 252:return e.updateJsxClosingElement(o,t(o.tagName,s,e.isJsxTagNameExpression));case 253:return e.updateJsxAttribute(o,t(o.name,s,e.isIdentifier),t(o.initializer,s,e.isStringLiteralOrJsxExpression));case 255:return e.updateJsxSpreadAttribute(o,t(o.expression,s,e.isExpression));case 256:return e.updateJsxExpression(o,t(o.expression,s,e.isExpression));case 257:return e.updateCaseClause(o,t(o.expression,s,e.isExpression),u(o.statements,s,e.isStatement));case 258:return e.updateDefaultClause(o,u(o.statements,s,e.isStatement));case 259:return e.updateHeritageClause(o,u(o.types,s,e.isExpressionWithTypeArguments));case 260:return e.updateCatchClause(o,t(o.variableDeclaration,s,e.isVariableDeclaration),t(o.block,s,e.isBlock));case 261:return e.updatePropertyAssignment(o,t(o.name,s,e.isPropertyName),t(o.initializer,s,e.isExpression));case 262:return e.updateShorthandPropertyAssignment(o,t(o.name,s,e.isIdentifier),t(o.objectAssignmentInitializer,s,e.isExpression));case 263:return e.updateSpreadAssignment(o,t(o.expression,s,e.isExpression));case 264:return e.updateEnumMember(o,t(o.name,s,e.isPropertyName),t(o.initializer,s,e.isExpression));case 265:return e.updateSourceFileNode(o,r(o.statements,s,c));case 296:return e.updatePartiallyEmittedExpression(o,t(o.expression,s,e.isExpression));default:return o}}}function s(t){return e.Debug.assert(t.length<=1,"Too many nodes written to output."),e.singleOrUndefined(t)}e.visitNode=t,e.visitNodes=n,e.visitLexicalEnvironment=r,e.visitParameterList=a,e.visitFunctionBody=i,e.visitEachChild=o;}(r||(r={})),function(e){function t(e,t,n){return e?t(n,e):n}function n(e,t,n){return e?t(n,e):n}function r(r,a,i,o){if(void 0===r)return a;var s=o?n:e.reduceLeft,c=o||i,u=r.kind;if(u>0&&u<=142)return a;if(u>=158&&u<=173)return a;var l=a;switch(r.kind){case 206:case 209:case 200:case 225:case 295:break;case 143:l=t(r.left,i,l),l=t(r.right,i,l);break;case 144:l=t(r.expression,i,l);break;case 146:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,i,l),l=t(r.type,i,l),l=t(r.initializer,i,l);break;case 147:l=t(r.expression,i,l);break;case 149:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,i,l),l=t(r.type,i,l),l=t(r.initializer,i,l);break;case 151:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,i,l),l=s(r.typeParameters,c,l),l=s(r.parameters,c,l),l=t(r.type,i,l),l=t(r.body,i,l);break;case 152:l=s(r.modifiers,c,l),l=s(r.parameters,c,l),l=t(r.body,i,l);break;case 153:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,i,l),l=s(r.parameters,c,l),l=t(r.type,i,l),l=t(r.body,i,l);break;case 154:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,i,l),l=s(r.parameters,c,l),l=t(r.body,i,l);break;case 174:case 175:l=s(r.elements,c,l);break;case 176:l=t(r.propertyName,i,l),l=t(r.name,i,l),l=t(r.initializer,i,l);break;case 177:l=s(r.elements,c,l);break;case 178:l=s(r.properties,c,l);break;case 179:l=t(r.expression,i,l),l=t(r.name,i,l);break;case 180:l=t(r.expression,i,l),l=t(r.argumentExpression,i,l);break;case 181:case 182:l=t(r.expression,i,l),l=s(r.typeArguments,c,l),l=s(r.arguments,c,l);break;case 183:l=t(r.tag,i,l),l=t(r.template,i,l);break;case 184:l=t(r.type,i,l),l=t(r.expression,i,l);break;case 186:l=s(r.modifiers,c,l),l=t(r.name,i,l),l=s(r.typeParameters,c,l),l=s(r.parameters,c,l),l=t(r.type,i,l),l=t(r.body,i,l);break;case 187:l=s(r.modifiers,c,l),l=s(r.typeParameters,c,l),l=s(r.parameters,c,l),l=t(r.type,i,l),l=t(r.body,i,l);break;case 185:case 188:case 189:case 190:case 191:case 197:case 198:case 203:l=t(r.expression,i,l);break;case 192:case 193:l=t(r.operand,i,l);break;case 194:l=t(r.left,i,l),l=t(r.right,i,l);break;case 195:l=t(r.condition,i,l),l=t(r.whenTrue,i,l),l=t(r.whenFalse,i,l);break;case 196:l=t(r.head,i,l),l=s(r.templateSpans,c,l);break;case 199:l=s(r.modifiers,c,l),l=t(r.name,i,l),l=s(r.typeParameters,c,l),l=s(r.heritageClauses,c,l),l=s(r.members,c,l);break;case 201:l=t(r.expression,i,l),l=s(r.typeArguments,c,l);break;case 202:l=t(r.expression,i,l),l=t(r.type,i,l);break;case 203:l=t(r.expression,i,l);break;case 205:l=t(r.expression,i,l),l=t(r.literal,i,l);break;case 207:l=s(r.statements,c,l);break;case 208:l=s(r.modifiers,c,l),l=t(r.declarationList,i,l);break;case 210:l=t(r.expression,i,l);break;case 211:l=t(r.expression,i,l),l=t(r.thenStatement,i,l),l=t(r.elseStatement,i,l);break;case 212:l=t(r.statement,i,l),l=t(r.expression,i,l);break;case 213:case 220:l=t(r.expression,i,l),l=t(r.statement,i,l);break;case 214:l=t(r.initializer,i,l),l=t(r.condition,i,l),l=t(r.incrementor,i,l),l=t(r.statement,i,l);break;case 215:case 216:l=t(r.initializer,i,l),l=t(r.expression,i,l),l=t(r.statement,i,l);break;case 219:case 223:l=t(r.expression,i,l);break;case 221:l=t(r.expression,i,l),l=t(r.caseBlock,i,l);break;case 222:l=t(r.label,i,l),l=t(r.statement,i,l);break;case 224:l=t(r.tryBlock,i,l),l=t(r.catchClause,i,l),l=t(r.finallyBlock,i,l);break;case 226:l=t(r.name,i,l),l=t(r.type,i,l),l=t(r.initializer,i,l);break;case 227:l=s(r.declarations,c,l);break;case 228:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,i,l),l=s(r.typeParameters,c,l),l=s(r.parameters,c,l),l=t(r.type,i,l),l=t(r.body,i,l);break;case 229:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,i,l),l=s(r.typeParameters,c,l),l=s(r.heritageClauses,c,l),l=s(r.members,c,l);break;case 232:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,i,l),l=s(r.members,c,l);break;case 233:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,i,l),l=t(r.body,i,l);break;case 234:l=s(r.statements,c,l);break;case 235:l=s(r.clauses,c,l);break;case 237:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,i,l),l=t(r.moduleReference,i,l);break;case 238:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.importClause,i,l),l=t(r.moduleSpecifier,i,l);break;case 239:l=t(r.name,i,l),l=t(r.namedBindings,i,l);break;case 240:l=t(r.name,i,l);break;case 241:case 245:l=s(r.elements,c,l);break;case 242:case 246:l=t(r.propertyName,i,l),l=t(r.name,i,l);break;case 243:l=e.reduceLeft(r.decorators,i,l),l=e.reduceLeft(r.modifiers,i,l),l=t(r.expression,i,l);break;case 244:l=e.reduceLeft(r.decorators,i,l),l=e.reduceLeft(r.modifiers,i,l),l=t(r.exportClause,i,l),l=t(r.moduleSpecifier,i,l);break;case 248:l=t(r.expression,i,l);break;case 249:l=t(r.openingElement,i,l),l=e.reduceLeft(r.children,i,l),l=t(r.closingElement,i,l);break;case 250:case 251:l=t(r.tagName,i,l),l=t(r.attributes,i,l);break;case 254:l=s(r.properties,c,l);break;case 252:l=t(r.tagName,i,l);break;case 253:l=t(r.name,i,l),l=t(r.initializer,i,l);break;case 255:case 256:l=t(r.expression,i,l);break;case 257:l=t(r.expression,i,l);case 258:l=s(r.statements,c,l);break;case 259:l=s(r.types,c,l);break;case 260:l=t(r.variableDeclaration,i,l),l=t(r.block,i,l);break;case 261:l=t(r.name,i,l),l=t(r.initializer,i,l);break;case 262:l=t(r.name,i,l),l=t(r.objectAssignmentInitializer,i,l);break;case 263:l=t(r.expression,i,l);break;case 264:l=t(r.name,i,l),l=t(r.initializer,i,l);break;case 265:l=s(r.statements,c,l);break;case 296:l=t(r.expression,i,l);}return l}function a(t,n){return e.some(n)?e.isNodeArray(t)?e.setTextRange(e.createNodeArray(e.concatenate(t,n)),t):e.addRange(t,n):t}function i(t){return d.assert(e.every(t,e.isStatement),"Cannot lift nodes to a Block."),e.singleOrUndefined(t)||e.createBlock(t)}function o(e){return s(e),e}function s(t){if(void 0===t)return 0;if(536870912&t.transformFlags)return t.transformFlags&~e.getTransformFlagsSubtreeExclusions(t.kind);var n=u(t);return e.computeTransformFlagsForNode(t,n)}function c(e){if(void 0===e)return 0;for(var t=0,n=0,r=0,a=e;r=1)||1572864&f.transformFlags||1572864&e.getTargetOfBindingOrAssignmentElement(f).transformFlags||e.isComputedPropertyName(g)){_&&(t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(_),i,o,a),_=void 0);var y=s(t,i,g);e.isComputedPropertyName(g)&&(d=e.append(d,y.argumentExpression)),r(t,f,y,f);}else _=e.append(_,f);}}_&&t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(_),i,o,a);}function i(t,n,a,i,o){var s=e.getElementsOfBindingOrAssignmentPattern(a),u=s.length;t.level<1&&t.downlevelIteration?i=c(t,e.createReadHelper(t.context,i,u>0&&e.getRestIndicatorOfBindingOrAssignmentElement(s[u-1])?void 0:u,o),!1,o):1!==u&&(t.level<1||0===u)&&(i=c(t,i,!e.isDeclarationBindingElement(n)||0!==u,o));for(var l,_,d=0;d=1)if(1048576&p.transformFlags){var f=e.createTempVariable(void 0);t.hoistTempVariables&&t.context.hoistVariableDeclaration(f),_=e.append(_,[f,p]),l=e.append(l,t.createArrayBindingOrAssignmentElement(f));}else l=e.append(l,p);else{if(e.isOmittedExpression(p))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(p)){if(d===u-1){var m=e.createArraySlice(i,d);r(t,p,m,p);}}else r(t,p,m=e.createElementAccess(i,d),p);}}if(l&&t.emitBindingOrAssignment(t.createArrayBindingOrAssignmentPattern(l),i,o,a),_)for(var g=0,y=_;g0)return!0;var n=e.getFirstConstructorWithBody(t);return!!n&&e.forEach(n.parameters,x)}function x(e){return void 0!==e.decorators&&e.decorators.length>0}function k(t){var n=I(t,!0),r=void 0!==e.getClassExtendsHeritageClauseElement(t),a=b(t),i=t.name;!i&&(n.length>0||e.childIsDecorated(t))&&(i=e.getGeneratedNameForNode(t));var o=a?T(t,i,r):S(t,i,r,n.length>0),s=[o];return n.length&&B(s,n,e.getLocalName(t)),Q(s,t,!1),Q(s,t,!0),te(s,t),dt(t)?yt(s,t):a&&(mt(t)?s.push(e.createExportDefault(e.getLocalName(t,!1,!0))):ft(t)&&s.push(e.createExternalModuleExport(e.getLocalName(t,!1,!0)))),s.length>1&&(s.push(e.createEndOfDeclarationMarker(t)),e.setEmitFlags(o,4194304|e.getEmitFlags(o))),e.singleOrMany(s)}function S(t,n,r,a){var i=e.createClassDeclaration(void 0,e.visitNodes(t.modifiers,y,e.isModifier),n,void 0,e.visitNodes(t.heritageClauses,u,e.isHeritageClause),E(t,r)),o=e.getEmitFlags(t);return a&&(o|=32),e.setTextRange(i,t),e.setOriginalNode(i,t),e.setEmitFlags(i,o),i}function T(t,n,r){var a=e.moveRangePastDecorators(t),i=St(t),o=e.getLocalName(t,!1,!0),s=e.visitNodes(t.heritageClauses,u,e.isHeritageClause),c=E(t,r),l=e.createClassExpression(void 0,n,void 0,s,c);e.setOriginalNode(l,t),e.setTextRange(l,a);var _=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(o,void 0,i?e.createAssignment(i,l):l)],1));return e.setOriginalNode(_,t),e.setTextRange(_,a),e.setCommentRange(_,t),_}function C(t){var n=I(t,!0),r=e.visitNodes(t.heritageClauses,u,e.isHeritageClause),a=E(t,e.some(r,function(e){return 85===e.token})),i=e.createClassExpression(void 0,t.name,void 0,r,a);if(e.setOriginalNode(i,t),e.setTextRange(i,t),n.length>0){var o=[],s=e.createTempVariable(qt);return 8388608&$t.getNodeCheckFlags(t)&&(Dt(),an[e.getOriginalNodeId(t)]=e.getSynthesizedClone(s)),e.setEmitFlags(i,65536|e.getEmitFlags(i)),o.push(e.startOnNewLine(e.createAssignment(s,i))),e.addRange(o,K(n,s)),o.push(e.startOnNewLine(s)),e.inlineExpressions(o)}return i}function E(t,n){var r=[],a=D(t,n);return a&&r.push(a),e.addRange(r,e.visitNodes(t.members,m,e.isClassElement)),e.setTextRange(e.createNodeArray(r),t.members)}function D(n,r){var a=e.forEach(n.members,M),i=262144&n.transformFlags,o=e.getFirstConstructorWithBody(n);if(!a&&!i)return e.visitEachChild(o,u,t);var s=N(o),c=A(n,o,r);return e.startOnNewLine(e.setOriginalNode(e.setTextRange(e.createConstructor(void 0,void 0,s,c),o||n),o))}function N(n){return e.visitParameterList(n&&n.parameters,u,t)||[]}function A(t,n,r){var a=[],i=0;if(Ut(),n){i=w(n,a);var o=O(n);e.addRange(a,e.map(o,F));}else r&&a.push(e.createStatement(e.createCall(e.createSuper(),void 0,[e.createSpread(e.createIdentifier("arguments"))])));return B(a,I(t,!1),e.createThis()),n&&e.addRange(a,e.visitNodes(n.body.statements,u,e.isStatement,i)),a=e.mergeLexicalEnvironment(a,Vt()),e.setTextRange(e.createBlock(e.setTextRange(e.createNodeArray(a),n?n.body.statements:t.members),!0),n?n.body:void 0)}function w(t,n){if(t.body){var r=t.body.statements,a=e.addPrologue(n,r,!1,u);if(a===r.length)return a;var i=r[a];return 210===i.kind&&e.isSuperCall(i.expression)?(n.push(e.visitNode(i,u,e.isStatement)),a+1):a}return 0}function O(t){return e.filter(t.parameters,P)}function P(t){return e.hasModifier(t,92)&&e.isIdentifier(t.name)}function F(t){e.Debug.assert(e.isIdentifier(t.name));var n=t.name,r=e.getMutableClone(n);e.setEmitFlags(r,1584);var a=e.getMutableClone(n);return e.setEmitFlags(a,1536),e.startOnNewLine(e.setTextRange(e.createStatement(e.createAssignment(e.setTextRange(e.createPropertyAccess(e.createThis(),r),t.name),a)),e.moveRangePos(t,-1)))}function I(t,n){return e.filter(t.members,n?R:M)}function R(e){return L(e,!0)}function M(e){return L(e,!1)}function L(t,n){return 149===t.kind&&n===e.hasModifier(t,32)&&void 0!==t.initializer}function B(t,n,r){for(var a=0,i=n;a0?149===a.kind?e.createVoidZero():e.createNull():void 0,u=n(t,i,o,s,c,e.moveRangePastDecorators(a));return e.setEmitFlags(u,1536),u}}function te(t,n){var r=ne(n);r&&t.push(e.setOriginalNode(e.createStatement(r),n));}function ne(r){var a=Y(r,r,$(r));if(a){var i=an&&an[e.getOriginalNodeId(r)],o=e.getLocalName(r,!1,!0),s=n(t,a,o),c=e.createAssignment(o,i?e.createAssignment(i,s):s);return e.setEmitFlags(c,1536),e.setSourceMapRange(c,e.moveRangePastDecorators(r)),c}}function re(t){return e.visitNode(t.expression,u,e.isExpression)}function ae(n,r){var i;if(n){i=[];for(var o=0,s=n;o= 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 };'},c={name:"typescript:metadata",scoped:!1,priority:3,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 };'},u={name:"typescript:param",scoped:!1,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"};}(r||(r={}));!function(e){function t(t){function r(n){if(e.isDeclarationFile(n))return n;k=n;var r=e.visitEachChild(n,a,t);return e.addEmitHelpers(r,t.readEmitHelpers()),k=void 0,r}function a(n){if(0==(16&n.transformFlags))return n;switch(n.kind){case 120:return;case 191:return i(n);case 151:return o(n);case 228:return s(n);case 186:return c(n);case 187:return u(n);default:return e.visitEachChild(n,a,t)}}function i(t){return e.setOriginalNode(e.setTextRange(e.createYield(void 0,e.visitNode(t.expression,a,e.isExpression)),t),t)}function o(n){return e.updateMethod(n,void 0,e.visitNodes(n.modifiers,a,e.isModifier),n.asteriskToken,n.name,void 0,void 0,e.visitParameterList(n.parameters,a,t),void 0,2&e.getFunctionFlags(n)?l(n):e.visitFunctionBody(n.body,a,t))}function s(n){return e.updateFunctionDeclaration(n,void 0,e.visitNodes(n.modifiers,a,e.isModifier),n.asteriskToken,n.name,void 0,e.visitParameterList(n.parameters,a,t),void 0,2&e.getFunctionFlags(n)?l(n):e.visitFunctionBody(n.body,a,t))}function c(n){return e.updateFunctionExpression(n,e.visitNodes(n.modifiers,a,e.isModifier),n.asteriskToken,n.name,void 0,e.visitParameterList(n.parameters,a,t),void 0,2&e.getFunctionFlags(n)?l(n):e.visitFunctionBody(n.body,a,t))}function u(n){return e.updateArrowFunction(n,e.visitNodes(n.modifiers,a,e.isModifier),void 0,e.visitParameterList(n.parameters,a,t),void 0,2&e.getFunctionFlags(n)?l(n):e.visitFunctionBody(n.body,a,t))}function l(r){C();var i=e.getOriginalNode(r,e.isFunctionLike).type,o=A<2?d(i):void 0,s=187===r.kind,c=0!=(8192&D.getNodeCheckFlags(r));if(s){var u=n(t,c,o,_(r.body)),l=E();if(e.some(l)){g=e.convertToFunctionBody(u);return e.updateBlock(g,e.setTextRange(e.createNodeArray(e.concatenate(g.statements,l)),g.statements))}return u}var f=[],m=e.addPrologue(f,r.body.statements,!1,a);f.push(e.createReturn(n(t,c,o,_(r.body,m)))),e.addRange(f,E());var g=e.createBlock(f,!0);return e.setTextRange(g,r.body),A>=2&&(4096&D.getNodeCheckFlags(r)?(p(),e.addEmitHelper(g,e.advancedAsyncSuperHelper)):2048&D.getNodeCheckFlags(r)&&(p(),e.addEmitHelper(g,e.asyncSuperHelper))),g}function _(n,r){if(e.isBlock(n))return e.updateBlock(n,e.visitLexicalEnvironment(n.statements,a,t,r));T();var i=e.convertToFunctionBody(e.visitNode(n,a,e.isConciseBody)),o=E();return e.updateBlock(i,e.setTextRange(e.createNodeArray(e.concatenate(i.statements,o)),i.statements))}function d(t){var n=t&&e.getEntityNameFromTypeNode(t);if(n&&e.isEntityName(n)){var r=D.getTypeReferenceSerializationKind(n);if(r===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||r===e.TypeReferenceSerializationKind.Unknown)return n}}function p(){0==(1&S)&&(S|=1,t.enableSubstitution(181),t.enableSubstitution(179),t.enableSubstitution(180),t.enableEmitNotification(229),t.enableEmitNotification(151),t.enableEmitNotification(153),t.enableEmitNotification(154),t.enableEmitNotification(152));}function f(e,t,n){if(1&S&&b(t)){var r=6144&D.getNodeCheckFlags(t);if(r!==w){var a=w;return w=r,O(e,t,n),void(w=a)}}O(e,t,n);}function m(e,t){return t=P(e,t),1===e&&w?g(t):t}function g(e){switch(e.kind){case 179:return y(e);case 180:return h(e);case 181:return v(e)}return e}function y(t){return 97===t.expression.kind?x(e.createLiteral(t.name.text),t):t}function h(e){return 97===e.expression.kind?x(e.argumentExpression,e):e}function v(t){var n=t.expression;if(e.isSuperProperty(n)){var r=e.isPropertyAccessExpression(n)?y(n):h(n);return e.createCall(e.createPropertyAccess(r,"call"),void 0,[e.createThis()].concat(t.arguments))}return t}function b(e){var t=e.kind;return 229===t||152===t||151===t||153===t||154===t}function x(t,n){return 4096&w?e.setTextRange(e.createPropertyAccess(e.createCall(e.createIdentifier("_super"),void 0,[t]),"value"),n):e.setTextRange(e.createCall(e.createIdentifier("_super"),void 0,[t]),n)}var k,S,T=t.startLexicalEnvironment,C=t.resumeLexicalEnvironment,E=t.endLexicalEnvironment,D=t.getEmitResolver(),N=t.getCompilerOptions(),A=e.getEmitScriptTarget(N),w=0,O=t.onEmitNode,P=t.onSubstituteNode;return t.onEmitNode=f,t.onSubstituteNode=m,r}function n(t,n,r,i){t.requestEmitHelper(a);var o=e.createFunctionExpression(void 0,e.createToken(39),void 0,void 0,[],void 0,i);return(o.emitNode||(o.emitNode={})).flags|=262144,e.createCall(e.getHelperName("__awaiter"),void 0,[e.createThis(),n?e.createIdentifier("arguments"):e.createVoidZero(),r?e.createExpressionFromEntityName(r):e.createVoidZero(),o])}var r;!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper";}(r||(r={})),e.transformES2017=t;var a={name:"typescript:awaiter",scoped:!1,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\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) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'};e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:"\n const _super = name => super[name];\n "},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:"\n const _super = (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 "};}(r||(r={}));!function(e){function t(t){function s(n){if(e.isDeclarationFile(n))return n;var r=e.visitEachChild(n,c,t);return e.addEmitHelpers(r,t.readEmitHelpers()),r}function c(e){return _(e,!1)}function u(e){return _(e,!0)}function l(e){if(120!==e.kind)return e}function _(n,r){if(0==(8&n.transformFlags))return n;switch(n.kind){case 191:return d(n);case 197:return p(n);case 222:return f(n);case 178:return g(n);case 194:return v(n,r);case 226:return b(n);case 216:return S(n,void 0);case 214:return x(n);case 190:return k(n);case 152:return A(n);case 151:return P(n);case 153:return w(n);case 154:return O(n);case 228:return F(n);case 186:return R(n);case 187:return I(n);case 146:return N(n);case 210:return y(n);case 185:return h(n,r);default:return e.visitEachChild(n,c,t)}}function d(n){return 2&re&&1&re?e.setOriginalNode(e.setTextRange(e.createYield(r(t,e.visitNode(n.expression,c,e.isExpression))),n),n):e.visitEachChild(n,c,t)}function p(n){if(2&re&&1&re&&n.asteriskToken){var a=e.visitNode(n.expression,c,e.isExpression);return e.setOriginalNode(e.setTextRange(e.createYield(r(t,e.updateYield(n,n.asteriskToken,i(t,o(t,a,a),a)))),n),n)}return e.visitEachChild(n,c,t)}function f(n){if(2&re&&1&re){var r=e.unwrapInnermostStatementOfLabel(n);return 216===r.kind&&r.awaitModifier?S(r,n):e.restoreEnclosingLabel(e.visitEachChild(n,c,t),n)}return e.visitEachChild(n,c,t)}function m(t){for(var n,r=[],a=0,i=t;a=2&&(4096&Y.getNodeCheckFlags(n)?(K(),e.addEmitHelper(o,e.advancedAsyncSuperHelper)):2048&Y.getNodeCheckFlags(n)&&(K(),e.addEmitHelper(o,e.asyncSuperHelper))),o}function L(t){W();var n=0,r=[],a=e.visitNode(t.body,c,e.isConciseBody);e.isBlock(a)&&(n=e.addPrologue(r,a.statements,!1,c)),e.addRange(r,B(void 0,t));var i=H();if(n>0||e.some(r)||e.some(i)){var o=e.convertToFunctionBody(a,!0);return e.addRange(r,o.statements.slice(n)),e.addRange(r,i),e.updateBlock(o,e.setTextRange(e.createNodeArray(r),o.statements))}return a}function B(n,r){for(var a=0,i=r.parameters;a=2?e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"assign"),void 0,n):(t.requestEmitHelper(c),e.createCall(e.getHelperName("__assign"),void 0,n))}function r(t,n){return t.requestEmitHelper(u),e.createCall(e.getHelperName("__await"),void 0,[n])}function a(t,n){return t.requestEmitHelper(u),t.requestEmitHelper(l),(n.emitNode||(n.emitNode={})).flags|=262144,e.createCall(e.getHelperName("__asyncGenerator"),void 0,[e.createThis(),e.createIdentifier("arguments"),n])}function i(t,n,r){return t.requestEmitHelper(u),t.requestEmitHelper(_),e.setTextRange(e.createCall(e.getHelperName("__asyncDelegator"),void 0,[n]),r)}function o(t,n,r){return t.requestEmitHelper(d),e.setTextRange(e.createCall(e.getHelperName("__asyncValues"),void 0,[n]),r)}var s;!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper";}(s||(s={})),e.transformESNext=t;var c={name:"typescript:assign",scoped:!1,priority:1,text:"\n var __assign = (this && this.__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 };"};e.createAssignHelper=n;var u={name:"typescript:await",scoped:!1,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }\n "},l={name:"typescript:asyncGenerator",scoped:!1,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 '},_={name:"typescript:asyncDelegator",scoped:!1,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) { if (o[n]) i[n] = function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; }; }\n };\n '},d={name:"typescript:asyncValues",scoped:!1,text:'\n var __asyncValues = (this && this.__asyncIterator) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator];\n return m ? m.call(o) : typeof __values === "function" ? __values(o) : o[Symbol.iterator]();\n };\n '};}(r||(r={}));!function(e){function t(t){function r(n){if(e.isDeclarationFile(n))return n;var r=e.visitEachChild(n,a,t);return e.addEmitHelpers(r,t.readEmitHelpers()),r}function a(e){return 4&e.transformFlags?i(e):e}function i(n){switch(n.kind){case 249:return s(n,!1);case 250:return c(n,!1);case 256:return b(n);default:return e.visitEachChild(n,a,t)}}function o(t){switch(t.kind){case 10:return p(t);case 256:return b(t);case 249:return s(t,!0);case 250:return c(t,!0);default:return void e.Debug.failBadSyntaxKind(t)}}function s(e,t){return u(e.openingElement,e.children,t,e)}function c(e,t){return u(e,void 0,t,e)}function u(n,r,a,i){var s,c=h(n),u=n.attributes.properties;if(0===u.length)s=e.createNull();else{var d=e.flatten(e.spanMap(u,e.isJsxSpreadAttribute,function(t,n){return n?e.map(t,l):e.createObjectLiteral(e.map(t,_))}));e.isJsxSpreadAttribute(u[0])&&d.unshift(e.createObjectLiteral()),(s=e.singleOrUndefined(d))||(s=e.createAssignHelper(t,d));}var p=e.createExpressionForJsxElement(t.getEmitResolver().getJsxFactoryEntity(),x.reactNamespace,c,s,e.filter(e.map(r,o),e.isDefined),n,i);return a&&e.startOnNewLine(p),p}function l(t){return e.visitNode(t.expression,a,e.isExpression)}function _(t){var n=v(t),r=d(t.initializer);return e.createPropertyAssignment(n,r)}function d(t){if(void 0===t)return e.createTrue();if(9===t.kind){var n=y(t.text);return n?e.setTextRange(e.createLiteral(n),t):t}if(256===t.kind)return void 0===t.expression?e.createTrue():b(t);e.Debug.failBadSyntaxKind(t);}function p(t){var n=f(e.getTextOfNode(t,!0));return void 0===n?void 0:e.createLiteral(n)}function f(t){for(var n,r=0,a=-1,i=0;i=0,"statementOffset not initialized correctly!"));var s=r&&95!==e.skipOuterExpressions(r.expression).kind,u=A(i,t,s,a,o);1!==u&&2!==u||o++,t&&(1===u&&(Ot|=4096),e.addRange(i,e.visitNodes(t.body.statements,c,e.isStatement,o))),!s||2===u||t&&N(t.body)||i.push(e.createReturn(e.createIdentifier("_this"))),e.addRange(i,St()),t&&J(i,t,!1);var l=e.createBlock(e.setTextRange(e.createNodeArray(i),t?t.body.statements:n.members),!0);return e.setTextRange(l,t?t.body:n),t||e.setEmitFlags(l,1536),l}function N(t){if(219===t.kind)return!0;if(211===t.kind){var n=t;if(n.elseStatement)return N(n.thenStatement)&&N(n.elseStatement)}else if(207===t.kind){var r=e.lastOrUndefined(t.statements);if(r&&N(r))return!0}return!1}function A(t,n,r,a,i){if(!r)return n&&K(t,n),0;if(!n)return t.push(e.createReturn(O())),2;if(a)return j(t,n,O()),_t(),1;var o,s,c=n.body.statements;if(i0?n.push(e.setEmitFlags(e.createVariableStatement(void 0,e.createVariableDeclarationList(e.flattenDestructuringBinding(r,c,t,0,o))),1048576)):i&&n.push(e.setEmitFlags(e.createStatement(e.createAssignment(o,e.visitNode(i,c,e.isExpression))),1048576));}function M(t,n,r,a){a=e.visitNode(a,c,e.isExpression);var i=e.createIf(e.createTypeCheck(e.getSynthesizedClone(r),"undefined"),e.setEmitFlags(e.setTextRange(e.createBlock([e.createStatement(e.setTextRange(e.createAssignment(e.setEmitFlags(e.getMutableClone(r),48),e.setEmitFlags(a,48|e.getEmitFlags(a))),n))]),n),417));i.startsOnNewLine=!0,e.setTextRange(i,n),e.setEmitFlags(i,1048992),t.push(i);}function L(e,t){return e&&e.dotDotDotToken&&71===e.name.kind&&!t}function B(t,n,r){var a=e.lastOrUndefined(n.parameters);if(L(a,r)){var i=e.getMutableClone(a.name);e.setEmitFlags(i,48);var o=e.getSynthesizedClone(a.name),s=n.parameters.length-1,c=e.createLoopVariable();t.push(e.setEmitFlags(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(i,void 0,e.createArrayLiteral([]))])),a),1048576));var u=e.createFor(e.setTextRange(e.createVariableDeclarationList([e.createVariableDeclaration(c,void 0,e.createLiteral(s))]),a),e.setTextRange(e.createLessThan(c,e.createPropertyAccess(e.createIdentifier("arguments"),"length")),a),e.setTextRange(e.createPostfixIncrement(c),a),e.createBlock([e.startOnNewLine(e.setTextRange(e.createStatement(e.createAssignment(e.createElementAccess(o,0===s?c:e.createSubtract(c,e.createLiteral(s))),e.createElementAccess(e.createIdentifier("arguments"),c))),a))]));e.setEmitFlags(u,1048576),e.startOnNewLine(u),t.push(u);}}function K(t,n){32768&n.transformFlags&&187!==n.kind&&j(t,n,e.createThis());}function j(t,n,r,a){_t();var i=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration("_this",void 0,r)]));e.setEmitFlags(i,1050112),e.setTextRange(i,a),e.setSourceMapRange(i,n),t.push(i);}function J(t,n,r){if(16384&Ot){var a=void 0;switch(n.kind){case 187:return t;case 151:case 153:case 154:a=e.createVoidZero();break;case 152:a=e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor");break;case 228:case 186:a=e.createConditional(e.createLogicalAnd(e.setEmitFlags(e.createThis(),4),e.createBinary(e.setEmitFlags(e.createThis(),4),93,e.getLocalName(n))),e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor"),e.createVoidZero());break;default:e.Debug.failBadSyntaxKind(n);}var i=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration("_newTarget",void 0,a)]));if(r)return[i].concat(t);t.unshift(i);}return t}function z(t,n){for(var r=0,a=n.members;r0&&(o=!0),e.isBlock(l))i=e.addCustomPrologue(u,l.statements,i,c),r=l.statements,e.addRange(u,e.visitNodes(l.statements,c,e.isStatement,i)),!o&&l.multiLine&&(o=!0);else{e.Debug.assert(187===n.kind),r=e.moveRangeEnd(l,-1);var _=n.equalsGreaterThanToken;e.nodeIsSynthesized(_)||e.nodeIsSynthesized(l)||(e.rangeEndIsOnSameLineAsRangeStart(_,l,At)?s=!0:o=!0);var d=e.visitNode(l,c,e.isExpression),p=e.createReturn(d);e.setTextRange(p,l),e.setEmitFlags(p,1440),u.push(p),a=l;}var f=t.endLexicalEnvironment();e.addRange(u,f),J(u,n,!1),!o&&f&&f.length&&(o=!0);var m=e.createBlock(e.setTextRange(e.createNodeArray(u),r),o);return e.setTextRange(m,n.body),!o&&s&&e.setEmitFlags(m,1),a&&e.setTokenSourceMapRange(m,18,a),e.setOriginalNode(m,n.body),m}function Q(n){var r=e.visitFunctionBody(n.body,u,t);return e.updateBlock(r,e.setTextRange(e.createNodeArray(J(r.statements,n,!0)),r.statements))}function Z(n,r){if(r)return e.visitEachChild(n,c,t);var o=256&Ot?a(4032,512):a(3904,128),s=e.visitEachChild(n,c,t);return i(o,0,0),s}function ee(n){switch(n.expression.kind){case 185:return e.updateStatement(n,te(n.expression,!1));case 194:return e.updateStatement(n,ne(n.expression,!1))}return e.visitEachChild(n,c,t)}function te(n,r){if(!r)switch(n.expression.kind){case 185:return e.updateParen(n,te(n.expression,!1));case 194:return e.updateParen(n,ne(n.expression,!1))}return e.visitEachChild(n,c,t)}function ne(n,r){return e.isDestructuringAssignment(n)?e.flattenDestructuringAssignment(n,c,t,0,r):e.visitEachChild(n,c,t)}function re(n){var r,o=a(0,e.hasModifier(n,1)?32:0);if(Pt&&0==(3&n.declarationList.flags)){for(var s=void 0,u=0,l=n.declarationList.declarations;u=t.end)return!1;for(var a=e.getEnclosingBlockScopeContainer(t);r;){if(r===a||r===t)return!1;if(e.isClassElement(r)&&r.parent===t)return 149!==r.kind||0==(32&e.getModifierFlags(r));r=r.parent;}return!1}function ht(t){return 1&Ft&&16&Ot?e.setTextRange(e.createIdentifier("_this"),t):t}function vt(t,n){return e.hasModifier(n,32)?e.getInternalName(t):e.createPropertyAccess(e.getInternalName(t),"prototype")}function bt(t,n){if(!t||!n)return!1;if(e.some(t.parameters))return!1;var r=e.firstOrUndefined(t.body.statements);if(!r||!e.nodeIsSynthesized(r)||210!==r.kind)return!1;var a=r.expression;if(!e.nodeIsSynthesized(a)||181!==a.kind)return!1;var i=a.expression;if(!e.nodeIsSynthesized(i)||97!==i.kind)return!1;var o=e.singleOrUndefined(a.arguments);if(!o||!e.nodeIsSynthesized(o)||198!==o.kind)return!1;var s=o.expression;return e.isIdentifier(s)&&"arguments"===s.text}var xt=t.startLexicalEnvironment,kt=t.resumeLexicalEnvironment,St=t.endLexicalEnvironment,Tt=t.hoistVariableDeclaration,Ct=t.getCompilerOptions(),Et=t.getEmitResolver(),Dt=t.onSubstituteNode,Nt=t.onEmitNode;t.onEmitNode=ut,t.onSubstituteNode=dt;var At,wt,Ot,Pt,Ft;return r}function n(t,n){return t.requestEmitHelper(c),e.createCall(e.getHelperName("__extends"),void 0,[n,e.createIdentifier("_super")])}var r;!function(e){e[e.CapturedThis=1]="CapturedThis",e[e.BlockScopedBindings=2]="BlockScopedBindings";}(r||(r={}));var a;!function(e){e[e.ToOriginal=0]="ToOriginal",e[e.ToOutParameter=1]="ToOutParameter";}(a||(a={}));var i;!function(e){e[e.Break=2]="Break",e[e.Continue=4]="Continue",e[e.Return=8]="Return";}(i||(i={}));var o;!function(e){e[e.NoReplacement=0]="NoReplacement",e[e.ReplaceSuperCapture=1]="ReplaceSuperCapture",e[e.ReplaceWithReturn=2]="ReplaceWithReturn";}(o||(o={}));var s;!function(e){e[e.None=0]="None",e[e.Function=1]="Function",e[e.ArrowFunction=2]="ArrowFunction",e[e.AsyncFunctionBody=4]="AsyncFunctionBody",e[e.NonStaticClassElement=8]="NonStaticClassElement",e[e.CapturesThis=16]="CapturesThis",e[e.ExportedVariableStatement=32]="ExportedVariableStatement",e[e.TopLevel=64]="TopLevel",e[e.Block=128]="Block",e[e.IterationStatement=256]="IterationStatement",e[e.IterationStatementBlock=512]="IterationStatementBlock",e[e.ForStatement=1024]="ForStatement",e[e.ForInOrForOfStatement=2048]="ForInOrForOfStatement",e[e.ConstructorWithCapturedSuper=4096]="ConstructorWithCapturedSuper",e[e.ComputedPropertyName=8192]="ComputedPropertyName",e[e.AncestorFactsMask=16383]="AncestorFactsMask",e[e.BlockScopeIncludes=0]="BlockScopeIncludes",e[e.BlockScopeExcludes=4032]="BlockScopeExcludes",e[e.SourceFileIncludes=64]="SourceFileIncludes",e[e.SourceFileExcludes=3968]="SourceFileExcludes",e[e.FunctionIncludes=65]="FunctionIncludes",e[e.FunctionExcludes=16286]="FunctionExcludes",e[e.AsyncFunctionBodyIncludes=69]="AsyncFunctionBodyIncludes",e[e.AsyncFunctionBodyExcludes=16278]="AsyncFunctionBodyExcludes",e[e.ArrowFunctionIncludes=66]="ArrowFunctionIncludes",e[e.ArrowFunctionExcludes=16256]="ArrowFunctionExcludes",e[e.ConstructorIncludes=73]="ConstructorIncludes",e[e.ConstructorExcludes=16278]="ConstructorExcludes",e[e.DoOrWhileStatementIncludes=256]="DoOrWhileStatementIncludes",e[e.DoOrWhileStatementExcludes=0]="DoOrWhileStatementExcludes",e[e.ForStatementIncludes=1280]="ForStatementIncludes",e[e.ForStatementExcludes=3008]="ForStatementExcludes",e[e.ForInOrForOfStatementIncludes=2304]="ForInOrForOfStatementIncludes",e[e.ForInOrForOfStatementExcludes=1984]="ForInOrForOfStatementExcludes",e[e.BlockIncludes=128]="BlockIncludes",e[e.BlockExcludes=3904]="BlockExcludes",e[e.IterationStatementBlockIncludes=512]="IterationStatementBlockIncludes",e[e.IterationStatementBlockExcludes=4032]="IterationStatementBlockExcludes",e[e.ComputedPropertyNameIncludes=8192]="ComputedPropertyNameIncludes",e[e.ComputedPropertyNameExcludes=0]="ComputedPropertyNameExcludes",e[e.NewTarget=16384]="NewTarget",e[e.NewTargetInComputedPropertyName=32768]="NewTargetInComputedPropertyName",e[e.SubtreeFactsMask=-16384]="SubtreeFactsMask",e[e.PropagateNewTargetMask=49152]="PropagateNewTargetMask";}(s||(s={})),e.transformES2015=t;var c={name:"typescript:extends",scoped:!1,priority:0,text:"\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();"};}(r||(r={}));!function(e){function t(t){function n(e){return e}function r(t,n,r){switch(n.kind){case 251:case 252:case 250:var a=n.tagName;u[e.getOriginalNodeId(a)]=!0;}c(t,n,r);}function a(t,n){return n.id&&u&&u[n.id]?_(t,n):(n=_(t,n),e.isPropertyAccessExpression(n)?i(n):e.isPropertyAssignment(n)?o(n):n)}function i(t){var n=s(t.name);return n?e.setTextRange(e.createElementAccess(t.expression,n),t):t}function o(t){var n=e.isIdentifier(t.name)&&s(t.name);return n?e.updatePropertyAssignment(t,n,t.initializer):t}function s(t){var n=t.originalKeywordKind||(e.nodeIsSynthesized(t)?e.stringToToken(t.text):void 0);if(n>=72&&n<=107)return e.setTextRange(e.createLiteral(t),t)}var c,u,l=t.getCompilerOptions();1!==l.jsx&&3!==l.jsx||(c=t.onEmitNode,t.onEmitNode=r,t.enableEmitNotification(251),t.enableEmitNotification(252),t.enableEmitNotification(250),u=[]);var _=t.onSubstituteNode;return t.onSubstituteNode=a,t.enableSubstitution(179),t.enableSubstitution(261),n}e.transformES5=t;}(r||(r={}));!function(e){function t(e){switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally"}}function n(n){function a(t){if(e.isDeclarationFile(t)||0==(512&t.transformFlags))return t;Ft=t;var r=e.visitEachChild(t,i,n);return e.addEmitHelpers(r,n.readEmitHelpers()),Ft=void 0,r}function i(t){var r=t.transformFlags;return Lt?o(t):Mt?s(t):256&r?u(t):512&r?e.visitEachChild(t,i,n):t}function o(e){switch(e.kind){case 212:return j(e);case 213:return z(e);case 221:return te(e);case 222:return re(e);default:return s(e)}}function s(t){switch(t.kind){case 228:return l(t);case 186:return _(t);case 153:case 154:return d(t);case 208:return f(t);case 214:return V(t);case 215:return $(t);case 218:return X(t);case 217:return W(t);case 219:return Q(t);default:return 16777216&t.transformFlags?c(t):33554944&t.transformFlags?e.visitEachChild(t,i,n):t}}function c(t){switch(t.kind){case 194:return m(t);case 195:return k(t);case 197:return S(t);case 177:return T(t);case 178:return E(t);case 180:return D(t);case 181:return N(t);case 182:return A(t);default:return e.visitEachChild(t,i,n)}}function u(t){switch(t.kind){case 228:return l(t);case 186:return _(t);default:return e.Debug.failBadSyntaxKind(t),e.visitEachChild(t,i,n)}}function l(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(e.createFunctionDeclaration(void 0,t.modifiers,void 0,t.name,void 0,e.visitParameterList(t.parameters,i,n),void 0,p(t.body)),t),t);else{var r=Mt,a=Lt;Mt=!1,Lt=!1,t=e.visitEachChild(t,i,n),Mt=r,Lt=a;}return Mt?void Dt(t):t}function _(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(e.createFunctionExpression(void 0,void 0,t.name,void 0,e.visitParameterList(t.parameters,i,n),void 0,p(t.body)),t),t);else{var r=Mt,a=Lt;Mt=!1,Lt=!1,t=e.visitEachChild(t,i,n),Mt=r,Lt=a;}return t}function d(t){var r=Mt,a=Lt;return Mt=!1,Lt=!1,t=e.visitEachChild(t,i,n),Mt=r,Lt=a,t}function p(t){var n=[],r=Mt,a=Lt,o=Bt,s=Kt,c=jt,u=Jt,l=zt,_=Ut,d=nn,p=Vt,f=qt,m=$t,g=Gt;Mt=!0,Lt=!1,Bt=void 0,Kt=void 0,jt=void 0,Jt=void 0,zt=void 0,Ut=void 0,nn=1,Vt=void 0,qt=void 0,$t=void 0,Gt=e.createTempVariable(void 0),Ct();var y=e.addPrologue(n,t.statements,!1,i);w(t.statements,y);var h=it();return e.addRange(n,Et()),n.push(e.createReturn(h)),Mt=r,Lt=a,Bt=o,Kt=s,jt=c,Jt=u,zt=l,Ut=_,nn=d,Vt=p,qt=f,$t=m,Gt=g,e.setTextRange(e.createBlock(n,t.multiLine),t)}function f(t){if(16777216&t.transformFlags)M(t.declarationList);else{if(1048576&e.getEmitFlags(t))return t;for(var n=0,r=t.declarationList.declarations;n=59&&e<=70}function y(e){switch(e){case 59:return 37;case 60:return 38;case 61:return 39;case 62:return 40;case 63:return 41;case 64:return 42;case 65:return 45;case 66:return 46;case 67:return 47;case 68:return 48;case 69:return 49;case 70:return 50}}function h(t){var r=t.left,a=t.right;if(oe(a)){var o=void 0;switch(r.kind){case 179:o=e.updatePropertyAccess(r,_e(e.visitNode(r.expression,i,e.isLeftHandSideExpression)),r.name);break;case 180:o=e.updateElementAccess(r,_e(e.visitNode(r.expression,i,e.isLeftHandSideExpression)),_e(e.visitNode(r.argumentExpression,i,e.isExpression)));break;default:o=e.visitNode(r,i,e.isExpression);}var s=t.operatorToken.kind;return g(s)?e.setTextRange(e.createAssignment(o,e.setTextRange(e.createBinary(_e(o),y(s),e.visitNode(a,i,e.isExpression)),t)),t):e.updateBinary(t,o,e.visitNode(a,i,e.isExpression))}return e.visitEachChild(t,i,n)}function v(t){if(oe(t.right)){if(e.isLogicalOperator(t.operatorToken.kind))return b(t);if(26===t.operatorToken.kind)return x(t);var r=e.getMutableClone(t);return r.left=_e(e.visitNode(t.left,i,e.isExpression)),r.right=e.visitNode(t.right,i,e.isExpression),r}return e.visitEachChild(t,i,n)}function b(t){var n=pe(),r=de();return He(r,e.visitNode(t.left,i,e.isExpression),t.left),53===t.operatorToken.kind?Qe(n,r,t.left):Ye(n,r,t.left),He(r,e.visitNode(t.right,i,e.isExpression),t.right),fe(n),r}function x(t){function n(t){e.isBinaryExpression(t)&&26===t.operatorToken.kind?(n(t.left),n(t.right)):(oe(t)&&r.length>0&&(at(1,[e.createStatement(e.inlineExpressions(r))]),r=[]),r.push(e.visitNode(t,i,e.isExpression)));}var r=[];return n(t.left),n(t.right),e.inlineExpressions(r)}function k(t){if(oe(t.whenTrue)||oe(t.whenFalse)){var r=pe(),a=pe(),o=de();return Qe(r,e.visitNode(t.condition,i,e.isExpression),t.condition),He(o,e.visitNode(t.whenTrue,i,e.isExpression),t.whenTrue),Xe(a),fe(r),He(o,e.visitNode(t.whenFalse,i,e.isExpression),t.whenFalse),fe(a),o}return e.visitEachChild(t,i,n)}function S(t){var r=pe(),a=e.visitNode(t.expression,i,e.isExpression);return t.asteriskToken?Ze(0==(8388608&e.getEmitFlags(t.expression))?e.createValuesHelper(n,a,t):a,t):et(a,t),fe(r),$e(t)}function T(e){return C(e.elements,void 0,void 0,e.multiLine)}function C(t,n,r,a){function o(t,r){if(oe(r)&&t.length>0){var o=void 0!==s;s||(s=de()),He(s,o?e.createArrayConcat(s,[e.createArrayLiteral(t,a)]):e.createArrayLiteral(n?[n].concat(t):t,a)),n=void 0,t=[];}return t.push(e.visitNode(r,i,e.isExpression)),t}var s,c=se(t);if(c>0){s=de();var u=e.visitNodes(t,i,e.isExpression,0,c);He(s,e.createArrayLiteral(n?[n].concat(u):u)),n=void 0;}var l=e.reduceLeft(t,o,[],c);return s?e.createArrayConcat(s,[e.createArrayLiteral(l,a)]):e.setTextRange(e.createArrayLiteral(n?[n].concat(l):l,a),r)}function E(t){function n(n,r){oe(r)&&n.length>0&&(We(e.createStatement(e.inlineExpressions(n))),n=[]);var o=e.createExpressionForObjectLiteralElementLike(t,r,s),c=e.visitNode(o,i,e.isExpression);return c&&(a&&(c.startsOnNewLine=!0),n.push(c)),n}var r=t.properties,a=t.multiLine,o=se(r),s=de();He(s,e.createObjectLiteral(e.visitNodes(r,i,e.isObjectLiteralElementLike,0,o),a));var c=e.reduceLeft(r,n,[],o);return c.push(a?e.startOnNewLine(e.getMutableClone(s)):s),e.inlineExpressions(c)}function D(t){if(oe(t.argumentExpression)){var r=e.getMutableClone(t);return r.expression=_e(e.visitNode(t.expression,i,e.isLeftHandSideExpression)),r.argumentExpression=e.visitNode(t.argumentExpression,i,e.isExpression),r}return e.visitEachChild(t,i,n)}function N(t){if(e.forEach(t.arguments,oe)){var r=e.createCallBinding(t.expression,Nt,wt,!0),a=r.target,o=r.thisArg;return e.setOriginalNode(e.createFunctionApply(_e(e.visitNode(a,i,e.isLeftHandSideExpression)),o,C(t.arguments),t),t)}return e.visitEachChild(t,i,n)}function A(t){if(e.forEach(t.arguments,oe)){var r=e.createCallBinding(e.createPropertyAccess(t.expression,"bind"),Nt),a=r.target,o=r.thisArg;return e.setOriginalNode(e.setTextRange(e.createNew(e.createFunctionApply(_e(e.visitNode(a,i,e.isExpression)),o,C(t.arguments,e.createVoidZero())),void 0,[]),t),t)}return e.visitEachChild(t,i,n)}function w(e,t){void 0===t&&(t=0);for(var n=e.length,r=t;r0);l++)u.push(L(a));u.length&&(We(e.createStatement(e.inlineExpressions(u))),c+=u.length,u=[]);}}function L(t){return e.createAssignment(e.getSynthesizedClone(t.name),e.visitNode(t.initializer,i,e.isExpression))}function B(t){if(oe(t))if(oe(t.thenStatement)||oe(t.elseStatement)){var n=pe(),r=t.elseStatement?pe():void 0;Qe(t.elseStatement?r:n,e.visitNode(t.expression,i,e.isExpression),t.expression),O(t.thenStatement),t.elseStatement&&(Xe(n),fe(r),O(t.elseStatement)),fe(n);}else We(e.visitNode(t,i,e.isStatement));else We(e.visitNode(t,i,e.isStatement));}function K(t){if(oe(t)){var n=pe(),r=pe();Ne(n),fe(r),O(t.statement),fe(n),Ye(r,e.visitNode(t.expression,i,e.isExpression)),Ae();}else We(e.visitNode(t,i,e.isStatement));}function j(t){return Lt?(De(),t=e.visitEachChild(t,i,n),Ae(),t):e.visitEachChild(t,i,n)}function J(t){if(oe(t)){var n=pe(),r=Ne(n);fe(n),Qe(r,e.visitNode(t.expression,i,e.isExpression)),O(t.statement),Xe(n),Ae();}else We(e.visitNode(t,i,e.isStatement));}function z(t){return Lt?(De(),t=e.visitEachChild(t,i,n),Ae(),t):e.visitEachChild(t,i,n)}function U(t){if(oe(t)){var n=pe(),r=pe(),a=Ne(r);if(t.initializer){var o=t.initializer;e.isVariableDeclarationList(o)?M(o):We(e.setTextRange(e.createStatement(e.visitNode(o,i,e.isExpression)),o));}fe(n),t.condition&&Qe(a,e.visitNode(t.condition,i,e.isExpression)),O(t.statement),fe(r),t.incrementor&&We(e.setTextRange(e.createStatement(e.visitNode(t.incrementor,i,e.isExpression)),t.incrementor)),Xe(n),Ae();}else We(e.visitNode(t,i,e.isStatement));}function V(t){Lt&&De();var r=t.initializer;if(r&&e.isVariableDeclarationList(r)){for(var a=0,o=r.declarations;a0?e.inlineExpressions(e.map(c,L)):void 0,e.visitNode(t.condition,i,e.isExpression),e.visitNode(t.incrementor,i,e.isExpression),e.visitNode(t.statement,i,e.isStatement,e.liftToBlock));}else t=e.visitEachChild(t,i,n);return Lt&&Ae(),t}function q(t){if(oe(t)){var n=de(),r=de(),a=e.createLoopVariable(),o=t.initializer;Nt(a),He(n,e.createArrayLiteral()),We(e.createForIn(r,e.visitNode(t.expression,i,e.isExpression),e.createStatement(e.createCall(e.createPropertyAccess(n,"push"),void 0,[r])))),He(a,e.createLiteral(0));var s=pe(),c=pe(),u=Ne(c);fe(s),Qe(u,e.createLessThan(a,e.createPropertyAccess(n,"length")));var l=void 0;if(e.isVariableDeclarationList(o)){for(var _=0,d=o.declarations;_0,"Expected continue statment to point to a valid Label."),Xe(n,t);}function W(t){if(Lt){var r=Je(t.label&&t.label.text);if(r>0)return Ve(r,t)}return e.visitEachChild(t,i,n)}function H(t){var n=je(t.label?t.label.text:void 0);e.Debug.assert(n>0,"Expected break statment to point to a valid Label."),Xe(n,t);}function X(t){if(Lt){var r=je(t.label&&t.label.text);if(r>0)return Ve(r,t)}return e.visitEachChild(t,i,n)}function Y(t){tt(e.visitNode(t.expression,i,e.isExpression),t);}function Q(t){return qe(e.visitNode(t.expression,i,e.isExpression),t)}function Z(t){oe(t)?(ve(_e(e.visitNode(t.expression,i,e.isExpression))),O(t.statement),be()):We(e.visitNode(t,i,e.isStatement));}function ee(t){if(oe(t.caseBlock)){for(var n=t.caseBlock,r=n.clauses.length,a=Oe(),o=_e(e.visitNode(t.expression,i,e.isExpression)),s=[],c=-1,u=0;u0)break;d.push(e.createCaseClause(e.visitNode(f.expression,i,e.isExpression),[Ve(s[u],f.expression)]));}else p++;d.length&&(We(e.createSwitch(o,e.createCaseBlock(d))),_+=d.length,d=[]),p>0&&(_+=p,p=0);}Xe(c>=0?s[c]:a);for(u=0;u=0;n--){var r=Jt[n];if(!Le(r))break;if(r.labelText===e)return!0}return!1}function je(t){if(e.Debug.assert(void 0!==Bt),t)for(n=Jt.length-1;n>=0;n--){if(Le(r=Jt[n])&&r.labelText===t)return r.breakLabel;if(Me(r)&&Ke(t,n-1))return r.breakLabel}else for(var n=Jt.length-1;n>=0;n--){var r=Jt[n];if(Me(r))return r.breakLabel}return 0}function Je(t){if(e.Debug.assert(void 0!==Bt),t){for(n=Jt.length-1;n>=0;n--)if(Be(r=Jt[n])&&Ke(t,n-1))return r.continueLabel}else for(var n=Jt.length-1;n>=0;n--){var r=Jt[n];if(Be(r))return r.continueLabel}return 0}function ze(t){if(t>0){void 0===Ut&&(Ut=[]);var n=e.createLiteral(-1);return void 0===Ut[t]?Ut[t]=[n]:Ut[t].push(n),n}return e.createOmittedExpression()}function Ue(n){var r=e.createLiteral(n);return e.addSyntheticTrailingComment(r,3,t(n)),r}function Ve(t,n){return e.Debug.assert(t>0,"Invalid label: "+t),e.setTextRange(e.createReturn(e.createArrayLiteral([Ue(3),ze(t)])),n)}function qe(t,n){return e.setTextRange(e.createReturn(e.createArrayLiteral(t?[Ue(2),t]:[Ue(2)])),n)}function $e(t){return e.setTextRange(e.createCall(e.createPropertyAccess(Gt,"sent"),void 0,[]),t)}function Ge(){at(0);}function We(e){e?at(1,[e]):Ge();}function He(e,t,n){at(2,[e,t],n);}function Xe(e,t){at(3,[e],t);}function Ye(e,t,n){at(4,[e,t],n);}function Qe(e,t,n){at(5,[e,t],n);}function Ze(e,t){at(7,[e],t);}function et(e,t){at(6,[e],t);}function tt(e,t){at(8,[e],t);}function nt(e,t){at(9,[e],t);}function rt(){at(10);}function at(e,t,n){void 0===Vt&&(Vt=[],qt=[],$t=[]),void 0===zt&&fe(pe());var r=Vt.length;Vt[r]=e,qt[r]=t,$t[r]=n;}function it(){rn=0,an=0,Wt=void 0,Ht=!1,Xt=!1,Yt=void 0,Qt=void 0,Zt=void 0,en=void 0,tn=void 0;var t=ot();return r(n,e.setEmitFlags(e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,Gt)],void 0,e.createBlock(t,t.length>0)),524288))}function ot(){if(Vt){for(var t=0;t=0;n--){var r=tn[n];Qt=[e.createWith(r.expression,e.createBlock(Qt))];}if(en){var a=en.startLabel,i=en.catchLabel,o=en.finallyLabel,s=en.endLabel;Qt.unshift(e.createStatement(e.createCall(e.createPropertyAccess(e.createPropertyAccess(Gt,"trys"),"push"),void 0,[e.createArrayLiteral([ze(a),ze(i),ze(o),ze(s)])]))),en=void 0;}t&&Qt.push(e.createStatement(e.createAssignment(e.createPropertyAccess(Gt,"label"),e.createLiteral(an+1))));}Yt.push(e.createCaseClause(e.createLiteral(an),Qt||[])),Qt=void 0;}function _t(e){if(zt)for(var t=0;t 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 };'};}(r||(r={}));!function(e){function t(t){function r(t){switch(t){case e.ModuleKind.AMD:return s;case e.ModuleKind.UMD:return c;default:return o}}function a(t){if(e.isDeclarationFile(t)||!e.isExternalModule(t)&&!$.isolatedModules)return t;Z=t,ee=e.collectExternalModuleInfo(t,G,$),ne[e.getOriginalNodeId(t)]=ee;var n=r(X)(t);return Z=void 0,ee=void 0,e.aggregateTransformFlags(n)}function i(){return!(ee.exportEquals||!e.isExternalModule(Z))}function o(t){V();var r=[],a=$.alwaysStrict||!$.noImplicitUseStrict&&e.isExternalModule(Z),o=e.addPrologue(r,t.statements,a,d);i()&&e.append(r,P()),e.append(r,e.visitNode(ee.externalHelpersImportDeclaration,d,e.isStatement)),e.addRange(r,e.visitNodes(t.statements,d,e.isStatement,o)),_(r,!1),e.addRange(r,q());var s=e.updateSourceFileNode(t,e.setTextRange(e.createNodeArray(r),t.statements));return ee.hasExportStarsToExportValues&&e.addEmitHelper(s,n),s}function s(t){var n=e.createIdentifier("define"),r=e.tryGetModuleNameFromFile(t,W,$),a=u(t,!0),i=a.aliasedModuleNames,o=a.unaliasedModuleNames,s=a.importAliasNames;return e.updateSourceFileNode(t,e.setTextRange(e.createNodeArray([e.createStatement(e.createCall(n,void 0,(r?[r]:[]).concat([e.createArrayLiteral([e.createLiteral("require"),e.createLiteral("exports")].concat(i,o)),e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,"require"),e.createParameter(void 0,void 0,void 0,"exports")].concat(s),void 0,l(t))])))]),t.statements))}function c(t){var n=u(t,!1),r=n.aliasedModuleNames,a=n.unaliasedModuleNames,i=n.importAliasNames,o=e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,"factory")],void 0,e.setTextRange(e.createBlock([e.createIf(e.createLogicalAnd(e.createTypeCheck(e.createIdentifier("module"),"object"),e.createTypeCheck(e.createPropertyAccess(e.createIdentifier("module"),"exports"),"object")),e.createBlock([e.createVariableStatement(void 0,[e.createVariableDeclaration("v",void 0,e.createCall(e.createIdentifier("factory"),void 0,[e.createIdentifier("require"),e.createIdentifier("exports")]))]),e.setEmitFlags(e.createIf(e.createStrictInequality(e.createIdentifier("v"),e.createIdentifier("undefined")),e.createStatement(e.createAssignment(e.createPropertyAccess(e.createIdentifier("module"),"exports"),e.createIdentifier("v")))),1)]),e.createIf(e.createLogicalAnd(e.createTypeCheck(e.createIdentifier("define"),"function"),e.createPropertyAccess(e.createIdentifier("define"),"amd")),e.createBlock([e.createStatement(e.createCall(e.createIdentifier("define"),void 0,[e.createArrayLiteral([e.createLiteral("require"),e.createLiteral("exports")].concat(r,a)),e.createIdentifier("factory")]))])))],!0),void 0));return e.updateSourceFileNode(t,e.setTextRange(e.createNodeArray([e.createStatement(e.createCall(o,void 0,[e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,"require"),e.createParameter(void 0,void 0,void 0,"exports")].concat(i),void 0,l(t))]))]),t.statements))}function u(t,n){for(var r=[],a=[],i=[],o=0,s=t.amdDependencies;o=2?2:0)),t));}else r&&e.isDefaultImport(t)&&(n=e.append(n,e.createVariableStatement(void 0,e.createVariableDeclarationList([e.setTextRange(e.createVariableDeclaration(e.getSynthesizedClone(r.name),void 0,e.getGeneratedNameForNode(t)),t)],H>=2?2:0))));if(S(t)){var i=e.getOriginalNodeId(t);re[i]=C(re[i],t);}else n=C(n,t);return e.singleOrMany(n)}function f(t){var n=e.getExternalModuleNameLiteral(t,Z,W,G,$),r=[];return n&&r.push(n),e.createCall(e.createIdentifier("require"),void 0,r)}function m(t){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(t),"import= for internal module references should be handled in an earlier transformer.");var n;if(X!==e.ModuleKind.AMD?n=e.hasModifier(t,1)?e.append(n,e.setTextRange(e.createStatement(I(t.name,f(t))),t)):e.append(n,e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedClone(t.name),void 0,f(t))],H>=2?2:0)),t)):e.hasModifier(t,1)&&(n=e.append(n,e.setTextRange(e.createStatement(I(e.getExportName(t),e.getLocalName(t))),t))),S(t)){var r=e.getOriginalNodeId(t);re[r]=E(re[r],t);}else n=E(n,t);return e.singleOrMany(n)}function g(t){if(t.moduleSpecifier){var n=e.getGeneratedNameForNode(t);if(t.exportClause){var r=[];X!==e.ModuleKind.AMD&&r.push(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(n,void 0,f(t))])),t));for(var a=0,i=t.exportClause.elements;a0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(F<2,"Cannot modify the lexical environment after transformation has completed.");var n=e.createVariableDeclaration(t);S?S.push(n):S=[n];}function m(t){e.Debug.assert(F>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(F<2,"Cannot modify the lexical environment after transformation has completed."),T?T.push(t):T=[t];}function g(){e.Debug.assert(F>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(F<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!w,"Lexical environment is suspended."),D[A]=S,N[A]=T,A++,S=void 0,T=void 0;}function y(){e.Debug.assert(F>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(F<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!w,"Lexical environment is already suspended."),w=!0;}function h(){e.Debug.assert(F>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(F<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(w,"Lexical environment is not suspended."),w=!1;}function v(){e.Debug.assert(F>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(F<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!w,"Lexical environment is suspended.");var t;if((S||T)&&(T&&(t=T.slice()),S)){var n=e.createVariableStatement(void 0,e.createVariableDeclarationList(S));t?t.push(n):t=[n];}return A--,S=D[A],T=N[A],0===A&&(D=[],N=[]),t}function b(t){e.Debug.assert(F>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(F<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!t.scoped,"Cannot request a scoped emit helper."),C=e.append(C,t);}function x(){e.Debug.assert(F>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(F<2,"Cannot modify the transformation context after transformation has completed.");var t=C;return C=void 0,t}function k(){if(F<3){for(var t=0,n=a;t=0&&(e.Debug.assert(!1,"We do not support name index right now, Make sure to update updateLastEncodedAndRecordedSpans when we start using this"),x.sourceMapMappings+=r(h.nameIndex-b),b=h.nameIndex),v=h,x.sourceMapDecodedMappings.push(v);}}function c(t){if(!T&&!e.positionIsSynthesized(t)){S&&e.performance.mark("beforeSourcemap");var r=e.getLineAndCharacterOfPosition(f,t);r.line++,r.character++;var a=n.getLine(),i=n.getColumn();!h||h.emittedLine!==a||h.emittedColumn!==i||h.sourceIndex===y&&(h.sourceLine>r.line||h.sourceLine===r.line&&h.sourceColumn>r.character)?(s(),h={emittedLine:a,emittedColumn:i,sourceLine:r.line,sourceColumn:r.character,sourceIndex:y}):(h.sourceLine=r.line,h.sourceColumn=r.character,h.sourceIndex=y),S&&(e.performance.mark("afterSourcemap"),e.performance.measure("Source Map","beforeSourcemap","afterSourcemap"));}}function u(t,n,r){if(T)return r(t,n);if(n){var a=n.emitNode,i=a&&a.flags,o=a&&a.sourceMapRange||n,s=o.pos,u=o.end;295!==n.kind&&0==(16&i)&&s>=0&&c(e.skipTrivia(m,s)),64&i?(T=!0,r(t,n),T=!1):r(t,n),295!==n.kind&&0==(32&i)&&u>=0&&c(u);}}function l(t,n,r,a){if(T)return a(n,r);var i=t&&t.emitNode,o=i&&i.flags,s=i&&i.tokenSourceMapRanges&&i.tokenSourceMapRanges[n];return r=e.skipTrivia(m,s?s.pos:r),0==(128&o)&&r>=0&&c(r),r=a(n,r),s&&(r=s.end),0==(256&o)&&r>=0&&c(r),r}function _(n){if(!T){m=(f=n).text;var r=k.sourceRoot?t.getCommonSourceDirectory():g,a=e.getRelativePathToDirectoryOrUrl(r,f.fileName,t.getCurrentDirectory(),t.getCanonicalFileName,!0);-1===(y=e.indexOf(x.sourceMapSources,a))&&(y=x.sourceMapSources.length,x.sourceMapSources.push(a),x.inputSourceFileNames.push(f.fileName),k.inlineSources&&x.sourceMapSourcesContent.push(f.text));}}function d(){if(!T)return s(),JSON.stringify({version:3,file:x.sourceMapFile,sourceRoot:x.sourceMapSourceRoot,sources:x.sourceMapSources,names:x.sourceMapNames,mappings:x.sourceMapMappings,sourcesContent:x.sourceMapSourcesContent})}function p(){if(!T){if(k.inlineSourceMap){var t=e.convertToBase64(d());return x.jsSourceMappingURL="data:application/json;base64,"+t}return x.jsSourceMappingURL}}var f,m,g,y,h,v,b,x,k=t.getCompilerOptions(),S=k.extendedDiagnostics,T=!(k.sourceMap||k.inlineSourceMap);return{initialize:i,reset:o,getSourceMapData:function(){return x},setSourceFile:_,emitPos:c,emitNodeWithSourceMap:u,emitTokenWithSourceMap:l,getText:d,getSourceMappingURL:p}}function n(e){if(e<64)return i.charAt(e);throw TypeError(e+": not a 64 based value")}function r(e){e<0?e=1+(-e<<1):e<<=1;var t="";do{var r=31&e;(e>>=5)>0&&(r|=32),t+=n(r);}while(e>0);return t}var a={emittedLine:1,emittedColumn:1,sourceLine:1,sourceColumn:1,sourceIndex:0};e.createSourceMapWriter=t;var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";}(r||(r={}));!function(e){function t(t,n){function r(t,n,r){if(j)r(t,n);else if(n){K=!1;var i=n.emitNode,o=i&&i.flags,s=i&&i.commentRange||n,c=s.pos,u=s.end;if(c<0&&u<0||c===u)a(t,n,i,o,r);else{I&&e.performance.mark("preEmitNodeWithComment");var l=295!==n.kind,d=c<0||0!=(512&o),p=u<0||0!=(1024&o);d||_(c,l);var f=M,g=L,y=B;d||(M=c),p||(L=u,227===n.kind&&(B=u)),I&&e.performance.measure("commentTime","preEmitNodeWithComment"),a(t,n,i,o,r),I&&e.performance.mark("postEmitNodeWithComment"),M=f,L=g,B=y,!p&&l&&m(u),I&&e.performance.measure("commentTime","postEmitNodeWithComment");}}}function a(t,n,r,a,s){var c=r&&r.leadingComments;e.some(c)&&(I&&e.performance.mark("preEmitNodeWithSynthesizedComments"),e.forEach(c,i),I&&e.performance.measure("commentTime","preEmitNodeWithSynthesizedComments")),u(t,n,a,s);var l=r&&r.trailingComments;e.some(l)&&(I&&e.performance.mark("postEmitNodeWithSynthesizedComments"),e.forEach(l,o),I&&e.performance.measure("commentTime","postEmitNodeWithSynthesizedComments"));}function i(e){2===e.kind&&A.writeLine(),s(e),e.hasTrailingNewLine||2===e.kind?A.writeLine():A.write(" ");}function o(e){A.isAtStartOfLine()||A.write(" "),s(e),e.hasTrailingNewLine&&A.writeLine();}function s(t){var n=c(t),r=3===t.kind?e.computeLineStarts(n):void 0;e.writeCommentRange(n,r,A,0,n.length,R);}function c(e){return 3===e.kind?"/*"+e.text+"*/":"//"+e.text}function u(e,t,n,r){2048&n?(j=!0,r(e,t),j=!1):r(e,t);}function l(t,n,r){I&&e.performance.mark("preEmitBodyWithDetachedComments");var a=n.pos,i=n.end,o=e.getEmitFlags(t),s=a<0||0!=(512&o),c=j||i<0||0!=(1024&o);s||E(n),I&&e.performance.measure("commentTime","preEmitBodyWithDetachedComments"),2048&o&&!j?(j=!0,r(t),j=!1):r(t),I&&e.performance.mark("beginEmitBodyWithDetachedCommetns"),c||(_(n.end,!0),K&&!A.isAtStartOfLine()&&A.writeLine()),I&&e.performance.measure("commentTime","beginEmitBodyWithDetachedCommetns");}function _(e,t){K=!1,t?v(e,p):0===e&&v(e,d);}function d(e,t,n,r,a){N(e,t)&&p(e,t,n,r,a);}function p(t,r,a,i,o){K||(e.emitNewLineBeforeLeadingCommentOfPosition(P,A,o,t),K=!0),n&&n(t),e.writeCommentRange(O,P,A,t,r,R),n&&n(r),i?A.writeLine():A.write(" ");}function f(e){j||-1===e||_(e,!0);}function m(e){b(e,g);}function g(t,r,a,i){A.isAtStartOfLine()||A.write(" "),n&&n(t),e.writeCommentRange(O,P,A,t,r,R),n&&n(r),i&&A.writeLine();}function y(t){j||(I&&e.performance.mark("beforeEmitTrailingCommentsOfPosition"),b(t,h),I&&e.performance.measure("commentTime","beforeEmitTrailingCommentsOfPosition"));}function h(t,r,a,i){n&&n(t),e.writeCommentRange(O,P,A,t,r,R),n&&n(r),i?A.writeLine():A.write(" ");}function v(t,n){-1!==M&&t===M||(T(t)?C(n):e.forEachLeadingCommentRange(O,t,n,t));}function b(t,n){(-1===L||t!==L&&t!==B)&&e.forEachTrailingCommentRange(O,t,n);}function x(){w=void 0,O=void 0,P=void 0,F=void 0;}function k(e){A=e;}function S(t){O=(w=t).text,P=e.getLineStarts(w),F=void 0;}function T(t){return void 0!==F&&e.lastOrUndefined(F).nodePos===t}function C(t){var n=e.lastOrUndefined(F).detachedCommentEndPos;F.length-1?F.pop():F=void 0,e.forEachLeadingCommentRange(O,n,t,n);}function E(t){var n=e.emitDetachedComments(O,P,A,D,t,R,j);n&&(F?F.push(n):F=[n]);}function D(t,r,a,i,o,s){n&&n(i),e.writeCommentRange(t,r,a,i,o,s),n&&n(o);}function N(t,n){if(47===O.charCodeAt(t+1)&&t+2=0}function c(t){if(t){var n=e.getLeadingCommentRanges(be,t.pos);if(e.forEach(n,s))return;oe(t);}}function u(){var t=e.createTextWriter(ge);t.trackSymbol=f,t.reportInaccessibleThisError=g,t.reportIllegalExtends=m,t.writeKeyword=t.write,t.writeOperator=t.write,t.writePunctuation=t.write,t.writeSpace=t.write,t.writeStringLiteral=t.writeLiteral,t.writeParameter=t.write,t.writeProperty=t.write,t.writeSymbol=t.write,l(t);}function l(e){pe=e,ce=e.write,de=e.writeTextOfNode,ue=e.writeLine,le=e.increaseIndent,_e=e.decreaseIndent;}function _(t){var n=pe;e.forEach(t,function(t){var n;226===t.kind?n=t.parent.parent:241===t.kind||242===t.kind||239===t.kind?e.Debug.fail("We should be getting ImportDeclaration instead to write"):n=t;var r=e.forEach(Oe,function(e){return e.node===n?e:void 0});if(!r&&Ce&&(r=e.forEach(Ce,function(e){return e.node===n?e:void 0})),r)if(238===r.node.kind)r.isVisible=!0;else{u();for(var a=r.indent;a;a--)le();233===n.kind&&(e.Debug.assert(void 0===Ce),Ce=[]),O(n),233===n.kind&&(r.subModuleElementDeclarationEmitInfo=Ce,Ce=void 0),r.asynchronousOutput=pe.getText();}}),l(n);}function d(t){if(t){Ee||(Ee=e.createMap());for(var n=0,r=t;n")));}(t);case 159:return function(e){a(e.typeName),e.typeArguments&&(ce("<"),x(e.typeArguments,T),ce(">"));}(t);case 162:return function(e){ce("typeof "),a(e.exprName);}(t);case 164:return function(e){T(e.elementType),ce("[]");}(t);case 165:return function(e){ce("["),x(e.elementTypes,T),ce("]");}(t);case 166:return function(e){b(e.types," | ",T);}(t);case 167:return function(e){b(e.types," & ",T);}(t);case 168:return function(e){ce("("),T(e.type),ce(")");}(t);case 170:return function(t){ce(e.tokenToString(t.operator)),ce(" "),T(t.type);}(t);case 171:return function(e){T(e.objectType),ce("["),T(e.indexType),ce("]");}(t);case 172:return function(e){var t=he;he=e,ce("{"),ue(),le(),e.readonlyToken&&ce("readonly "),ce("["),r(e.typeParameter.name),ce(" in "),T(e.typeParameter.constraint),ce("]"),e.questionToken&&ce("?"),ce(": "),T(e.type),ce(";"),ue(),_e(),ce("}"),he=t;}(t);case 160:case 161:return re(t);case 163:return function(e){ce("{"),e.members.length&&(ue(),le(),v(e.members),_e()),ce("}");}(t);case 71:case 143:return a(t);case 158:return function(e){de(be,e.parameterName),ce(" is "),T(e.type);}(t)}}function C(t){be=t.text,xe=e.getLineStarts(t),ke=t.identifiers,Se=e.isExternalModule(t),he=t,e.emitDetachedComments(be,xe,pe,e.writeCommentRange,t,ge,!0),v(t.statements);}function E(e){if(!ke.has(e))return e;for(var t=0;;){var n=e+"_"+ ++t;if(!ke.has(n))return n}}function D(e,t,r,a){var i=E(t);return a&&ce("declare "),ce("const "),ce(i),ce(": "),pe.getSymbolAccessibilityDiagnostic=function(){return r},n.writeTypeOfExpression(e,he,1026,pe),ce(";"),ue(),i}function N(t){if(71===t.expression.kind)ce(t.isExportEquals?"export = ":"export default "),de(be,t.expression);else{var r=D(t.expression,"_default",{diagnosticMessage:e.Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:t},we);ce(t.isExportEquals?"export = ":"export default "),ce(r);}ce(";"),ue(),71===t.expression.kind&&_(n.collectLinkedAliases(t.expression));}function A(e){return n.isDeclarationVisible(e)}function w(e,t){if(t)O(e);else if(237===e.kind||265===e.parent.kind&&Se){var r=void 0;if(Ce&&265!==e.parent.kind)Ce.push({node:e,outputPos:pe.getTextPos(),indent:pe.getIndent(),isVisible:r});else{if(238===e.kind){var a=e;a.importClause&&(r=a.importClause.name&&n.isDeclarationVisible(a.importClause)||R(a.importClause.namedBindings));}Oe.push({node:e,outputPos:pe.getTextPos(),indent:pe.getIndent(),isVisible:r});}}}function O(t){switch(t.kind){case 228:return ne(t);case 208:return ee(t);case 230:return H(t);case 229:return W(t);case 231:return z(t);case 232:return U(t);case 233:return J(t);case 237:return I(t);case 238:return M(t);default:e.Debug.fail("Unknown symbol kind");}}function P(t){if(265===t.parent.kind){var n=e.getModifierFlags(t);1&n&&ce("export "),512&n?ce("default "):230!==t.kind&&we&&ce("declare ");}}function F(e){8&e?ce("private "):16&e&&ce("protected "),32&e&&ce("static "),64&e&&ce("readonly "),128&e&&ce("abstract ");}function I(t){function n(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:t,typeName:t.name}}Ne(t),e.hasModifier(t,1)&&ce("export "),ce("import "),de(be,t.name),ce(" = "),e.isInternalModuleImportEqualsDeclaration(t)?(S(t.moduleReference,n),ce(";")):(ce("require("),L(t),ce(");")),pe.writeLine();}function R(t){if(t)return 240===t.kind?n.isDeclarationVisible(t):e.forEach(t.elements,function(e){return n.isDeclarationVisible(e)})}function M(t){if(Ne(t),e.hasModifier(t,1)&&ce("export "),ce("import "),t.importClause){var r=pe.getTextPos();t.importClause.name&&n.isDeclarationVisible(t.importClause)&&de(be,t.importClause.name),t.importClause.namedBindings&&R(t.importClause.namedBindings)&&(r!==pe.getTextPos()&&ce(", "),240===t.importClause.namedBindings.kind?(ce("* as "),de(be,t.importClause.namedBindings.name)):(ce("{ "),x(t.importClause.namedBindings.elements,B,n.isDeclarationVisible),ce(" }"))),ce(" from ");}L(t),ce(";"),pe.writeLine();}function L(r){ve=ve||233!==r.kind;var a;if(237===r.kind){var i=r;a=e.getExternalModuleImportEqualsDeclarationExpression(i);}else a=233===r.kind?r.name:(i=r).moduleSpecifier;if(9===a.kind&&me&&(ye.out||ye.outFile)){var o=e.getExternalModuleNameFromDeclaration(t,n,r);if(o)return ce('"'),ce(o),void ce('"')}de(be,a);}function B(e){e.propertyName&&(de(be,e.propertyName),ce(" as ")),de(be,e.name);}function K(e){B(e),_(n.collectLinkedAliases(e.propertyName||e.name));}function j(e){Ne(e),ce("export "),e.exportClause?(ce("{ "),x(e.exportClause.elements,K),ce(" }")):ce("*"),e.moduleSpecifier&&(ce(" from "),L(e)),ce(";"),pe.writeLine();}function J(t){for(Ne(t),P(t),e.isGlobalScopeAugmentation(t)?ce("global "):(ce(16&t.flags?"namespace ":"module "),e.isExternalModuleAugmentation(t)?L(t):de(be,t.name));t.body&&234!==t.body.kind;)t=t.body,ce("."),de(be,t.name);var n=he;t.body?(he=t,ce(" {"),ue(),le(),v(t.body.statements),_e(),ce("}"),ue(),he=n):ce(";");}function z(t){function n(){return{diagnosticMessage:e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:t.type,typeName:t.name}}var r=he;he=t,Ne(t),P(t),ce("type "),de(be,t.name),$(t.typeParameters),ce(" = "),S(t.type,n),ce(";"),ue(),he=r;}function U(t){Ne(t),P(t),e.isConst(t)&&ce("const "),ce("enum "),de(be,t.name),ce(" {"),ue(),le(),v(t.members),_e(),ce("}"),ue();}function V(e){Ne(e),de(be,e.name);var t=n.getConstantValue(e);void 0!==t&&(ce(" = "),ce(t.toString())),ce(","),ue();}function q(t){return 151===t.parent.kind&&e.hasModifier(t.parent,8)}function $(t){function n(t){function n(){var n;switch(t.parent.kind){case 229:n=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 230:n=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 156:n=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 155:n=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 151:case 150:n=e.hasModifier(t.parent,32)?e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:229===t.parent.parent.kind?e.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:e.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 228:n=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 231:n=e.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:e.Debug.fail("This is unknown parent for type parameter: "+t.parent.kind);}return{diagnosticMessage:n,errorNode:t,typeName:t.name}}le(),Ne(t),_e(),de(be,t.name),t.constraint&&!q(t)&&(ce(" extends "),160===t.parent.kind||161===t.parent.kind||t.parent.parent&&163===t.parent.parent.kind?(e.Debug.assert(151===t.parent.kind||150===t.parent.kind||160===t.parent.kind||161===t.parent.kind||155===t.parent.kind||156===t.parent.kind),T(t.constraint)):S(t.constraint,n)),t.default&&!q(t)&&(ce(" = "),160===t.parent.kind||161===t.parent.kind||t.parent.parent&&163===t.parent.parent.kind?(e.Debug.assert(151===t.parent.kind||150===t.parent.kind||160===t.parent.kind||161===t.parent.kind||155===t.parent.kind||156===t.parent.kind),T(t.default)):S(t.default,n));}t&&(ce("<"),x(t,n),ce(">"));}function G(t,n){function r(t){function r(){var r;return r=229===t.parent.parent.kind?n?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:r,errorNode:t,typeName:e.getNameOfDeclaration(t.parent.parent)}}e.isEntityNameExpression(t.expression)?S(t,r):n||95!==t.expression.kind||ce("null");}t&&(ce(n?" implements ":" extends "),x(t,r));}function W(t){var n=he;he=t;var r,a=e.getClassExtendsHeritageClauseElement(t);a&&!e.isEntityNameExpression(a.expression)&&(r=95===a.expression.kind?"null":D(a.expression,t.name.text+"_base",{diagnosticMessage:e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:a,typeName:t.name},!e.findAncestor(t,function(e){return 233===e.kind}))),Ne(t),P(t),e.hasModifier(t,128)&&ce("abstract "),ce("class "),de(be,t.name),$(t.typeParameters),a&&(e.isEntityNameExpression(a.expression)?G([a],!1):(ce(" extends "),ce(r),a.typeArguments&&(ce("<"),x(a.typeArguments,T),ce(">")))),G(e.getClassImplementsHeritageClauseElements(t),!0),ce(" {"),ue(),le(),function(t){t&&e.forEach(t.parameters,function(t){e.hasModifier(t,92)&&X(t);});}(e.getFirstConstructorWithBody(t)),v(t.members),_e(),ce("}"),ue(),he=n;}function H(t){Ne(t),P(t),ce("interface "),de(be,t.name);var n=he;he=t,$(t.typeParameters);var r=e.filter(e.getInterfaceBaseTypeNodes(t),function(t){return e.isEntityNameExpression(t.expression)});r&&r.length&&G(r,!1),ce(" {"),ue(),le(),v(t.members),_e(),ce("}"),ue(),he=n;}function X(t){e.hasDynamicName(t)||(Ne(t),F(e.getModifierFlags(t)),Y(t),ce(";"),ue());}function Y(t){function r(n){return 226===t.kind?n.errorModuleName?2===n.accessibility?e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1:149===t.kind||148===t.kind?e.hasModifier(t,32)?n.errorModuleName?2===n.accessibility?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:229===t.parent.kind?n.errorModuleName?2===n.accessibility?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:n.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1:void 0}function a(e){var n=r(e);return void 0!==n?{diagnosticMessage:n,errorNode:t,typeName:t.name}:void 0}function i(e){for(var t=[],n=0,r=e.elements;n0?e.parameters[0].type:void 0}function r(t){var n;return 154===a.kind?(n=e.hasModifier(a.parent,32)?t.errorModuleName?e.Diagnostics.Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?e.Diagnostics.Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:n,errorNode:a.parameters[0],typeName:a.name}):(n=e.hasModifier(a,32)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_private_name_0:t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_property_getter_from_exported_class_has_or_is_using_private_name_0,{diagnosticMessage:n,errorNode:a.name,typeName:void 0})}if(!e.hasDynamicName(t)){var a,i=e.getAllAccessorDeclarations(t.parent.members,t);if(t===i.firstAccessor){if(Ne(i.getAccessor),Ne(i.setAccessor),F(e.getModifierFlags(t)|(i.setAccessor?0:64)),de(be,t.name),!e.hasModifier(t,8)){a=t;var o=n(t);if(!o){var s=153===t.kind?i.setAccessor:i.getAccessor;(o=n(s))&&(a=s);}y(t,o,r);}ce(";"),ue();}}}function ne(t){e.hasDynamicName(t)||n.isImplementationOfOverload(t)||(Ne(t),228===t.kind?P(t):151!==t.kind&&152!==t.kind||F(e.getModifierFlags(t)),228===t.kind?(ce("function "),de(be,t.name)):152===t.kind?ce("constructor"):(de(be,t.name),e.hasQuestionToken(t)&&ce("?")),ae(t));}function re(e){Ne(e),ae(e);}function ae(t){function n(n){var r;switch(t.kind){case 156:r=n.errorModuleName?e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 155:r=n.errorModuleName?e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 157:r=n.errorModuleName?e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 151:case 150:r=e.hasModifier(t,32)?n.errorModuleName?2===n.accessibility?e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:229===t.parent.kind?n.errorModuleName?2===n.accessibility?e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:n.errorModuleName?e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 228:r=n.errorModuleName?2===n.accessibility?e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:e.Debug.fail("This is unknown kind for signature: "+t.kind);}return{diagnosticMessage:r,errorNode:t.name||t}}var r=he;he=t;var a=!1;if(157===t.kind)F(e.getModifierFlags(t)),ce("[");else{if(156===t.kind||161===t.kind)ce("new ");else if(160===t.kind){var i=pe.getText();t.typeParameters&&"<"===i.charAt(i.length-1)&&(a=!0,ce("("));}$(t.typeParameters),ce("(");}x(t.parameters,ie),ce(157===t.kind?"]":")");var o=160===t.kind||161===t.kind;o||163===t.parent.kind?t.type&&(ce(o?" => ":": "),T(t.type)):152===t.kind||e.hasModifier(t,8)||h(t,n),he=r,o?a&&ce(")"):(ce(";"),ue());}function ie(t){function r(e){var n=a(e);return void 0!==n?{diagnosticMessage:n,errorNode:t,typeName:t.name}:void 0}function a(n){switch(t.parent.kind){case 152:return n.errorModuleName?2===n.accessibility?e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 156:return n.errorModuleName?e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 155:return n.errorModuleName?e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 157:return n.errorModuleName?e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 151:case 150:return e.hasModifier(t.parent,32)?n.errorModuleName?2===n.accessibility?e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:229===t.parent.parent.kind?n.errorModuleName?2===n.accessibility?e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n.errorModuleName?e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 228:return n.errorModuleName?2===n.accessibility?e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;default:e.Debug.fail("This is unknown parent for parameter: "+t.parent.kind);}}function i(e){if(174===e.kind)ce("{"),x(e.elements,o),ce("}");else if(175===e.kind){ce("[");var t=e.elements;x(t,o),t&&t.hasTrailingComma&&ce(", "),ce("]");}}function o(t){200===t.kind?ce(" "):176===t.kind&&(t.propertyName&&(de(be,t.propertyName),ce(": ")),t.name&&(e.isBindingPattern(t.name)?i(t.name):(e.Debug.assert(71===t.name.kind),t.dotDotDotToken&&ce("..."),de(be,t.name))));}le(),Ne(t),t.dotDotDotToken&&ce("..."),e.isBindingPattern(t.name)?i(t.name):de(be,t.name),n.isOptionalParameter(t)&&ce("?"),_e(),160===t.parent.kind||161===t.parent.kind||163===t.parent.parent.kind?Q(t):e.hasModifier(t.parent,8)||y(t,t.type,r);}function oe(e){switch(e.kind){case 228:case 233:case 237:case 230:case 229:case 231:case 232:return w(e,A(e));case 208:return w(e,Z(e));case 238:return w(e,!e.importClause);case 244:return j(e);case 152:case 151:case 150:return ne(e);case 156:case 155:case 157:return re(e);case 153:case 154:return te(e);case 149:case 148:return X(e);case 264:return V(e);case 243:return N(e);case 265:return C(e)}}function se(n,r,i){function o(t,a){var i=266===a.kind;i&&!r||(e.Debug.assert(!!t.declarationFilePath||e.isSourceFileJavaScript(n),"Declaration file is not present only for javascript files"),s=t.declarationFilePath||t.jsFilePath,c=i);}var s,c=!1;return e.isDeclarationFile(n)?s=n.fileName:e.forEachEmittedFile(t,o,n,i),s&&(s=e.getRelativePathToDirectoryOrUrl(e.getDirectoryPath(e.normalizeSlashes(a)),s,t.getCurrentDirectory(),t.getCanonicalFileName,!1),Pe+='/// '+ge),c}var ce,ue,le,_e,de,pe,fe=266===i.kind?i.sourceFiles:[i],me=266===i.kind,ge=t.getNewLine(),ye=t.getCompilerOptions();u();var he,ve,be,xe,ke,Se,Te,Ce,Ee,De=!1,Ne=ye.removeComments?e.noop:k,Ae=ye.stripInternal?c:oe,we=!0,Oe=[],Pe="",Fe=[],Ie=!1,Re=[];return e.forEach(fe,function(n){if(!e.isSourceFileJavaScript(n)){if(ye.noResolve||e.forEach(n.referencedFiles,function(r){var a=e.tryResolveScriptReference(t,n,r);a&&!e.contains(Fe,a)&&(se(a,!me&&!Ie,o)&&(Ie=!0),Fe.push(a));}),ve=!1,me&&e.isExternalModule(n)?e.isExternalModule(n)&&(we=!1,ce('declare module "'+e.getResolvedExternalModuleName(t,n)+'" {'),ue(),le(),C(n),_e(),ce("}"),ue()):(we=!0,C(n)),Oe.length){var r=pe;e.forEach(Oe,function(t){if(t.isVisible&&!t.asynchronousOutput){e.Debug.assert(238===t.node.kind),u(),e.Debug.assert(0===t.indent||1===t.indent&&me);for(n=0;n'+ge;}),{reportedDeclarationError:De,moduleElementDeclarationEmitInfo:Re,synchronousDeclarationOutput:pe.getText(),referencesOutput:Pe}}function r(t,r,a,i,o,s){function c(t,n){var r=0,a="";return e.forEach(n,function(e){e.asynchronousOutput&&(a+=t.substring(r,e.outputPos),a+=c(e.asynchronousOutput,e.subModuleElementDeclarationEmitInfo),r=e.outputPos);}),a+=t.substring(r)}var u=n(a,i,o,t,r,s),l=u.reportedDeclarationError||a.isEmitBlocked(t)||a.getCompilerOptions().noEmit;if(!l){var _=266===r.kind?r.sourceFiles:[r],d=u.referencesOutput+c(u.synchronousDeclarationOutput,u.moduleElementDeclarationEmitInfo);e.writeFile(a,o,t,d,a.getCompilerOptions().emitBOM,_);}return l}e.getDeclarationDiagnostics=t,e.writeDeclarationFile=r;}(r||(r={}));!function(e){function t(t,r,a,i,o){function s(n,a){var o=n.jsFilePath,s=n.sourceMapFilePath,u=n.declarationFilePath;r.isEmitBlocked(o)||f.noEmit?k=!0:i||c(o,s,a),u&&(k=e.writeDeclarationFile(u,e.getOriginalSourceFileOrBundle(a),r,t,h,i)||k),!k&&y&&(i||y.push(o),s&&y.push(s),u&&y.push(u));}function c(t,n,a){var i=266===a.kind?a:void 0,o=265===a.kind?a:void 0,s=i?i.sourceFiles:[o];x.initialize(t,n,a),i?(d=e.createMap(),p=!1,C.writeBundle(i,b)):(p=!0,C.writeFile(o,b)),b.writeLine();var c=x.getSourceMappingURL();c&&b.write("//# sourceMappingURL="+c),f.sourceMap&&!f.inlineSourceMap&&e.writeFile(r,h,n,x.getText(),!1,s),g&&g.push(x.getSourceMapData()),e.writeFile(r,h,t,b.getText(),f.emitBOM,s),x.reset(),b.reset(),_=void 0,d=void 0,p=!1;}function u(e){_=e,x.setSourceFile(e);}function l(t,n){var r=!1,a=266===t.kind?t:void 0;if(!a||m!==e.ModuleKind.None){for(var i=a?a.sourceFiles.length:1,o=0;o "),h(e.type);}function Z(e){Fn("new "),En(e,e.typeParameters),Nn(e,e.parameters),Fn(" => "),h(e.type);}function ee(e){Fn("typeof "),h(e.exprName);}function te(e){Fn("{"),wn(e,e.members,65),Fn("}");}function ne(e){h(e.elementType),Fn("[]");}function re(e){Fn("["),wn(e,e.elementTypes,336),Fn("]");}function ae(e){wn(e,e.types,260);}function ie(e){wn(e,e.types,264);}function oe(e){Fn("("),h(e.type),Fn(")");}function se(){Fn("this");}function ce(e){jn(e.operator),Fn(" "),h(e.type);}function ue(e){h(e.objectType),Fn("["),h(e.indexType),Fn("]");}function le(e){Fn("{"),In(),Rn(),Bn(e.readonlyToken,"readonly "),Fn("["),h(e.typeParameter.name),Fn(" in "),h(e.typeParameter.constraint),Fn("]"),Bn(e.questionToken,"?"),Fn(": "),h(e.type),Fn(";"),In(),Mn(),Fn("}");}function _e(e){b(e.literal);}function de(e){var t=e.elements;0===t.length?Fn("{}"):(Fn("{"),wn(e,t,432),Fn("}"));}function pe(e){0===e.elements.length?Fn("[]"):(Fn("["),wn(e,e.elements,304),Fn("]"));}function fe(e){kn(e.propertyName,": "),Bn(e.dotDotDotToken,"..."),h(e.name),bn(" = ",e.initializer);}function me(e){var t=e.elements;0===t.length?Fn("[]"):On(e,t,4466|(e.multiLine?32768:0));}function ge(t){var n=t.properties;if(0===n.length)Fn("{}");else{var r=65536&e.getEmitFlags(t);r&&Rn();var a=t.multiLine?32768:0;wn(t,n,978|(hr.languageVersion>=1?32:0)|a),r&&Mn();}}function ye(t){var n=!1,r=!1;if(!(131072&e.getEmitFlags(t))){var a={kind:23,pos:t.expression.end,end:e.skipTrivia(hr.text,t.expression.end)+1};n=Xn(t,t.expression,a),r=Xn(t,a,t.name);}b(t.expression),Vn(n),Fn(!n&&he(t.expression)?"..":"."),Vn(r),h(t.name),qn(n,r);}function he(n){if(n=e.skipPartiallyEmittedExpressions(n),e.isNumericLiteral(n)){var r=tr(n);return!n.numericLiteralFlags&&r.indexOf(e.tokenToString(23))<0}if(e.isPropertyAccessExpression(n)||e.isElementAccessExpression(n)){var a=e.getConstantValue(n);return isFinite(a)&&Math.floor(a)===a&&t.removeComments}}function ve(e){b(e.expression),Fn("["),b(e.argumentExpression),Fn("]");}function be(e){b(e.expression),Cn(e,e.typeArguments),On(e,e.arguments,1296);}function xe(e){Fn("new "),b(e.expression),Cn(e,e.typeArguments),On(e,e.arguments,9488);}function ke(e){b(e.tag),Fn(" "),b(e.template);}function Se(e){Fn("<"),h(e.type),Fn(">"),b(e.expression);}function Te(e){Fn("("),b(e.expression),Fn(")");}function Ce(e){gt(e);}function Ee(e){Tn(e,e.decorators),hn(e,e.modifiers),ht(e,De);}function De(e){En(e,e.typeParameters),Nn(e,e.parameters),vn(": ",e.type),Fn(" =>");}function Ne(e){Fn("delete "),b(e.expression);}function Ae(e){Fn("typeof "),b(e.expression);}function we(e){Fn("void "),b(e.expression);}function Oe(e){Fn("await "),b(e.expression);}function Pe(e){jn(e.operator),Fe(e)&&Fn(" "),b(e.operand);}function Fe(e){var t=e.operand;return 192===t.kind&&(37===e.operator&&(37===t.operator||43===t.operator)||38===e.operator&&(38===t.operator||44===t.operator))}function Ie(e){b(e.operand),jn(e.operator);}function Re(e){var t=26!==e.operatorToken.kind,n=Xn(e,e.left,e.operatorToken),r=Xn(e,e.operatorToken,e.right);b(e.left),Vn(n,t?" ":void 0),jn(e.operatorToken.kind),Vn(r," "),b(e.right),qn(n,r);}function Me(e){var t=Xn(e,e.condition,e.questionToken),n=Xn(e,e.questionToken,e.whenTrue),r=Xn(e,e.whenTrue,e.colonToken),a=Xn(e,e.colonToken,e.whenFalse);b(e.condition),Vn(t," "),Fn("?"),Vn(n," "),b(e.whenTrue),qn(t,n),Vn(r," "),Fn(":"),Vn(a," "),b(e.whenFalse),qn(r,a);}function Le(e){h(e.head),wn(e,e.templateSpans,131072);}function Be(e){Fn(e.asteriskToken?"yield*":"yield"),bn(" ",e.expression);}function Ke(e){Fn("..."),b(e.expression);}function je(e){Ct(e);}function Je(e){b(e.expression),Cn(e,e.typeArguments);}function ze(e){b(e.expression),e.type&&(Fn(" as "),h(e.type));}function Ue(e){b(e.expression),Fn("!");}function Ve(e){Kn(e.keywordToken,e.pos),Fn("."),h(e.name);}function qe(e){b(e.expression),h(e.literal);}function $e(e){Yn(e)?(Kn(17,e.pos,e),Fn(" "),Kn(18,e.statements.end,e)):(Kn(17,e.pos,e),Ge(e),Rn(),Jr(e.statements.end),Mn(),Kn(18,e.statements.end,e));}function Ge(t){1&e.getEmitFlags(t)?wn(t,t.statements,384):wn(t,t.statements,65);}function We(e){hn(e,e.modifiers),h(e.declarationList),Fn(";");}function He(){Fn(";");}function Xe(e){b(e.expression),Fn(";");}function Ye(e){var t=Kn(90,e.pos,e);Fn(" "),Kn(19,t,e),b(e.expression),Kn(20,e.expression.end,e),Sn(e,e.thenStatement),e.elseStatement&&(Jn(e),Kn(82,e.thenStatement.end,e),211===e.elseStatement.kind?(Fn(" "),h(e.elseStatement)):Sn(e,e.elseStatement));}function Qe(t){Fn("do"),Sn(t,t.statement),e.isBlock(t.statement)?Fn(" "):Jn(t),Fn("while ("),b(t.expression),Fn(");");}function Ze(e){Fn("while ("),b(e.expression),Fn(")"),Sn(e,e.statement);}function et(e){var t=Kn(88,e.pos);Fn(" "),Kn(19,t,e),rt(e.initializer),Fn(";"),bn(" ",e.condition),Fn(";"),bn(" ",e.incrementor),Fn(")"),Sn(e,e.statement);}function tt(e){var t=Kn(88,e.pos);Fn(" "),Kn(19,t),rt(e.initializer),Fn(" in "),b(e.expression),Kn(20,e.expression.end),Sn(e,e.statement);}function nt(e){var t=Kn(88,e.pos);Fn(" "),kn(e.awaitModifier," "),Kn(19,t),rt(e.initializer),Fn(" of "),b(e.expression),Kn(20,e.expression.end),Sn(e,e.statement);}function rt(e){void 0!==e&&(227===e.kind?h(e):b(e));}function at(e){Kn(77,e.pos),vn(" ",e.label),Fn(";");}function it(e){Kn(72,e.pos),vn(" ",e.label),Fn(";");}function ot(e){Kn(96,e.pos,e),bn(" ",e.expression),Fn(";");}function st(e){Fn("with ("),b(e.expression),Fn(")"),Sn(e,e.statement);}function ct(e){var t=Kn(98,e.pos);Fn(" "),Kn(19,t),b(e.expression),Kn(20,e.expression.end),Fn(" "),h(e.caseBlock);}function ut(e){h(e.label),Fn(": "),h(e.statement);}function lt(e){Fn("throw"),bn(" ",e.expression),Fn(";");}function _t(e){Fn("try "),h(e.tryBlock),e.catchClause&&(Jn(e),h(e.catchClause)),e.finallyBlock&&(Jn(e),Fn("finally "),h(e.finallyBlock));}function dt(e){Kn(78,e.pos),Fn(";");}function pt(e){h(e.name),vn(": ",e.type),bn(" = ",e.initializer);}function ft(t){Fn(e.isLet(t)?"let ":e.isConst(t)?"const ":"var "),wn(t,t.declarations,272);}function mt(e){gt(e);}function gt(e){Tn(e,e.decorators),hn(e,e.modifiers),Fn(e.asteriskToken?"function* ":"function "),v(e.name),ht(e,vt);}function yt(e,t){xt(t);}function ht(t,n){var r=t.body;if(r)if(e.isBlock(r)){var a=65536&e.getEmitFlags(t);a&&Rn(),524288&e.getEmitFlags(t)?(n(t),wr?wr(3,r,yt):xt(r)):(nr(),n(t),wr?wr(3,r,yt):xt(r),rr()),a&&Mn();}else n(t),Fn(" "),b(r);else n(t),Fn(";");}function vt(e){En(e,e.typeParameters),Dn(e,e.parameters),vn(": ",e.type);}function bt(t){if(1&e.getEmitFlags(t))return!0;if(t.multiLine)return!1;if(!e.nodeIsSynthesized(t)&&!e.rangeIsOnSingleLine(t,hr))return!1;if($n(t,t.statements,2)||Wn(t,t.statements,2))return!1;for(var n,r=0,a=t.statements;r0&&h(e.attributes),Fn("/>");}function Wt(e){Fn("<"),tn(e.tagName),Ln(e.attributes.properties," "),e.attributes.properties&&e.attributes.properties.length>0&&h(e.attributes),Fn(">");}function Ht(e){Tr.writeLiteral(er(e,!0));}function Xt(e){Fn(""),tn(e.tagName),Fn(">");}function Yt(e){wn(e,e.properties,131328);}function Qt(e){h(e.name),vn("=",e.initializer);}function Zt(e){Fn("{..."),b(e.expression),Fn("}");}function en(e){e.expression&&(Fn("{"),e.dotDotDotToken&&Fn("..."),b(e.expression),Fn("}"));}function tn(e){71===e.kind?b(e):h(e);}function nn(e){Fn("case "),b(e.expression),Fn(":"),an(e,e.statements);}function rn(e){Fn("default:"),an(e,e.statements);}function an(t,n){1===n.length&&(e.nodeIsSynthesized(t)||e.nodeIsSynthesized(n[0])||e.rangeStartPositionsAreOnSameLine(t,n[0],hr))?(Fn(" "),h(n[0])):wn(t,n,81985);}function on$$1(e){Fn(" "),jn(e.token),Fn(" "),wn(e,e.types,272);}function sn(e){var t=Kn(74,e.pos);Fn(" "),Kn(19,t),h(e.variableDeclaration),Kn(20,e.variableDeclaration?e.variableDeclaration.end:t),Fn(" "),h(e.block);}function cn(t){h(t.name),Fn(": ");var n=t.initializer;if(jr&&0==(512&e.getEmitFlags(n))){var r=e.getCommentRange(n);jr(r.pos);}b(n);}function un(e){h(e.name),e.objectAssignmentInitializer&&(Fn(" = "),b(e.objectAssignmentInitializer));}function ln(e){e.expression&&(Fn("..."),b(e.expression));}function _n(e){h(e.name),bn(" = ",e.initializer);}function dn(t){In();var n=t.statements;!Kr||0!==n.length&&e.isPrologueDirective(n[0])&&!e.nodeIsSynthesized(n[0])?pn(t):Kr(t,n,pn);}function pn(t){var n=t.statements;nr(),w(t);var r=e.findIndex(n,function(t){return!e.isPrologueDirective(t)});wn(t,n,1,-1===r?n.length:r),rr();}function fn(e){b(e.expression);}function mn(t,n,r){for(var a=0;a0)&&In(),h(i),r&&r.set(i.expression.text,i.expression.text));}return t.length}function gn(t){if(e.isSourceFile(t))m(t),mn(t.statements);else for(var n=e.createMap(),r=0,a=t.sourceFiles;r=o.length||0===u;if(!(_&&16384&s)){if(7680&s&&Fn(a(s)),Ir&&Ir(o),_)1&s?In():128&s&&Fn(" ");else{var d=0==(131072&s),p=d;$n(n,o,s)?(In(),p=!1):128&s&&Fn(" "),64&s&&Rn();for(var f=void 0,m=void 0,g=r(s),y=0;y"],e[4096]=["[","]"],e}();e.emitFiles=t,e.createPrinter=n;var c;!function(e){e[e.Auto=0]="Auto",e[e.CountMask=268435455]="CountMask",e[e._i=268435456]="_i";}(c||(c={}));var u;!function(e){e[e.None=0]="None",e[e.SingleLine=0]="SingleLine",e[e.MultiLine=1]="MultiLine",e[e.PreserveLines=2]="PreserveLines",e[e.LinesMask=3]="LinesMask",e[e.NotDelimited=0]="NotDelimited",e[e.BarDelimited=4]="BarDelimited",e[e.AmpersandDelimited=8]="AmpersandDelimited",e[e.CommaDelimited=16]="CommaDelimited",e[e.DelimitersMask=28]="DelimitersMask",e[e.AllowTrailingComma=32]="AllowTrailingComma",e[e.Indented=64]="Indented",e[e.SpaceBetweenBraces=128]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=256]="SpaceBetweenSiblings",e[e.Braces=512]="Braces",e[e.Parenthesis=1024]="Parenthesis",e[e.AngleBrackets=2048]="AngleBrackets",e[e.SquareBrackets=4096]="SquareBrackets",e[e.BracketsMask=7680]="BracketsMask",e[e.OptionalIfUndefined=8192]="OptionalIfUndefined",e[e.OptionalIfEmpty=16384]="OptionalIfEmpty",e[e.Optional=24576]="Optional",e[e.PreferNewLine=32768]="PreferNewLine",e[e.NoTrailingNewLine=65536]="NoTrailingNewLine",e[e.NoInterveningComments=131072]="NoInterveningComments",e[e.Modifiers=256]="Modifiers",e[e.HeritageClauses=256]="HeritageClauses",e[e.TypeLiteralMembers=65]="TypeLiteralMembers",e[e.TupleTypeElements=336]="TupleTypeElements",e[e.UnionTypeConstituents=260]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=264]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=432]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=304]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=978]="ObjectLiteralExpressionProperties",e[e.ArrayLiteralExpressionElements=4466]="ArrayLiteralExpressionElements",e[e.CallExpressionArguments=1296]="CallExpressionArguments",e[e.NewExpressionArguments=9488]="NewExpressionArguments",e[e.TemplateExpressionSpans=131072]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=384]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=65]="MultiLineBlockStatements",e[e.VariableDeclarationList=272]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=384]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=256]="ClassHeritageClauses",e[e.ClassMembers=65]="ClassMembers",e[e.InterfaceMembers=65]="InterfaceMembers",e[e.EnumMembers=81]="EnumMembers",e[e.CaseBlockClauses=65]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=432]="NamedImportsOrExportsElements",e[e.JsxElementChildren=131072]="JsxElementChildren",e[e.JsxElementAttributes=131328]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=81985]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=272]="HeritageClauseTypes",e[e.SourceFileStatements=65537]="SourceFileStatements",e[e.Decorators=24577]="Decorators",e[e.TypeArguments=26960]="TypeArguments",e[e.TypeParameters=26960]="TypeParameters",e[e.Parameters=1360]="Parameters",e[e.IndexSignatureParameters=4432]="IndexSignatureParameters";}(u||(u={}));}(r||(r={}));!function(e){function t(t,n,r){for(void 0===r&&(r="tsconfig.json");;){var a=e.combinePaths(t,r);if(n(a))return a;var i=e.getDirectoryPath(t);if(i===t)break;t=i;}}function n(t,n){var r=e.getDirectoryPath(n),a=e.isRootedDiskPath(t)?t:e.combinePaths(r,t);return e.normalizePath(a)}function r(t,n,r){var a;return e.forEach(t,function(t){var i=e.getNormalizedPathComponents(t,n);if(i.pop(),a){for(var o=Math.min(a.length,i.length),s=0;se.getRootLength(t)&&!i(t)&&(o(e.getDirectoryPath(t)),e.sys.createDirectory(t));}function s(t,n,r){l||(l=e.createMap());var a=e.sys.createHash(n),i=e.sys.getModifiedTime(t);if(i){var o=l.get(t);if(o&&o.byteOrderMark===r&&o.hash===a&&o.mtime.getTime()===i.getTime())return}e.sys.writeFile(t,n,r);var s=e.sys.getModifiedTime(t);l.set(t,{hash:a,byteOrderMark:r,mtime:s});}function c(n,r,a,i){try{e.performance.mark("beforeIOWrite"),o(e.getDirectoryPath(e.normalizePath(n))),e.isWatchSet(t)&&e.sys.createHash&&e.sys.getModifiedTime?s(n,r,a):e.sys.writeFile(n,r,a),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite");}catch(e){i&&i(e.message);}}function u(){return e.getDirectoryPath(e.normalizePath(e.sys.getExecutingFilePath()))}var l,_=e.createMap(),d=e.getNewLineCharacter(t),p=e.sys.realpath&&function(t){return e.sys.realpath(t)};return{getSourceFile:a,getDefaultLibLocation:u,getDefaultLibFileName:function(t){return e.combinePaths(u(),e.getDefaultLibFileName(t))},writeFile:c,getCurrentDirectory:e.memoize(function(){return e.sys.getCurrentDirectory()}),useCaseSensitiveFileNames:function(){return e.sys.useCaseSensitiveFileNames},getCanonicalFileName:r,getNewLine:function(){return d},fileExists:function(t){return e.sys.fileExists(t)},readFile:function(t){return e.sys.readFile(t)},trace:function(t){return e.sys.write(t+d)},directoryExists:function(t){return e.sys.directoryExists(t)},getEnvironmentVariable:function(t){return e.sys.getEnvironmentVariable?e.sys.getEnvironmentVariable(t):""},getDirectories:function(t){return e.sys.getDirectories(t)},realpath:p}}function i(t,n,r){var a=t.getOptionsDiagnostics(r).concat(t.getSyntacticDiagnostics(n,r),t.getGlobalDiagnostics(r),t.getSemanticDiagnostics(n,r));return t.getCompilerOptions().declaration&&(a=a.concat(t.getDeclarationDiagnostics(n,r))),e.sortAndDeduplicateDiagnostics(a)}function o(t,n){for(var r="",a=0,i=t;a0||c.length>0)return{diagnostics:e.concatenate(u,c),sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}var l=y().getEmitResolver(i.outFile||i.out?void 0:n);e.performance.mark("beforeEmit");var _=o?[]:e.getTransformers(i,s),d=e.emitFiles(l,m(r),n,o,_);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),d}function S(t){return T(e.toPath(t,ke,Z))}function T(e){return Ne.get(e)}function C(t,n,r){if(t)return n(t,r);var a=[];return e.forEach(ae.getSourceFiles(),function(t){r&&r.throwIfCancellationRequested(),e.addRange(a,n(t,r));}),e.sortAndDeduplicateDiagnostics(a)}function E(e,t){return C(e,A,t)}function D(e,t){return C(e,O,t)}function N(e,t){var n=ae.getCompilerOptions();return!e||n.out||n.outFile?R(e,t):C(e,B,t)}function A(t){return e.isSourceFileJavaScript(t)?(t.additionalSyntacticDiagnostics||(t.additionalSyntacticDiagnostics=I(t)),e.concatenate(t.additionalSyntacticDiagnostics,t.parseDiagnostics)):t.parseDiagnostics}function w(t){try{return t()}catch(t){throw t instanceof e.OperationCanceledException&&(se=void 0,oe=void 0),t}}function O(e,t){return L(e,t,le,P)}function P(t,n){return w(function(){if(i.skipLibCheck&&t.isDeclarationFile||i.skipDefaultLibCheck&&t.hasNoDefaultLib)return _;var r=y();e.Debug.assert(!!t.bindDiagnostics);var a=t.bindDiagnostics,o=!e.isSourceFileJavaScript(t)||e.isCheckJsEnabledForFile(t,i)?r.getDiagnostics(t,n):[],s=pe.getDiagnostics(t.fileName),c=xe.getDiagnostics(t.fileName),u=a.concat(o,s,c);return e.isSourceFileJavaScript(t)?e.filter(u,F):u})}function F(t){var n=t.file,r=t.start;if(n)for(var a=e.getLineStarts(n),i=e.computeLineAndCharacterOfPosition(a,r).line;i>0;){var o=n.text.slice(a[i-1],a[i]),s=d.exec(o);if(!s)return!0;if(s[3])return!1;i--;}return!0}function I(t){return w(function(){function n(t){switch(u.kind){case 146:case 149:if(u.questionToken===t)return void c.push(s(t,e.Diagnostics._0_can_only_be_used_in_a_ts_file,"?"));case 151:case 150:case 152:case 153:case 154:case 186:case 228:case 187:case 228:case 226:if(u.type===t)return void c.push(s(t,e.Diagnostics.types_can_only_be_used_in_a_ts_file))}switch(t.kind){case 237:return void c.push(s(t,e.Diagnostics.import_can_only_be_used_in_a_ts_file));case 243:if(t.isExportEquals)return void c.push(s(t,e.Diagnostics.export_can_only_be_used_in_a_ts_file));break;case 259:if(108===t.token)return void c.push(s(t,e.Diagnostics.implements_clauses_can_only_be_used_in_a_ts_file));break;case 230:return void c.push(s(t,e.Diagnostics.interface_declarations_can_only_be_used_in_a_ts_file));case 233:return void c.push(s(t,e.Diagnostics.module_declarations_can_only_be_used_in_a_ts_file));case 231:return void c.push(s(t,e.Diagnostics.type_aliases_can_only_be_used_in_a_ts_file));case 232:return void c.push(s(t,e.Diagnostics.enum_declarations_can_only_be_used_in_a_ts_file));case 184:var a=t;return void c.push(s(a.type,e.Diagnostics.type_assertion_expressions_can_only_be_used_in_a_ts_file))}var i=u;u=t,e.forEachChild(t,n,r),u=i;}function r(t){switch(u.decorators!==t||i.experimentalDecorators||c.push(s(u,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_to_remove_this_warning)),u.kind){case 229:case 151:case 150:case 152:case 153:case 154:case 186:case 228:case 187:case 228:if(t===u.typeParameters)return void c.push(o(t,e.Diagnostics.type_parameter_declarations_can_only_be_used_in_a_ts_file));case 208:if(t===u.modifiers)return a(t,208===u.kind);break;case 149:if(t===u.modifiers){for(var r=0,l=t;r0),l.path=n,o.useCaseSensitiveFileNames()){var _=Ae.get(n);_?G(t,_.fileName,a,s,c):Ae.set(n,l);}be=be||l.hasNoDefaultLib,i.noResolve||(H(l,r),X(l)),ee(l),r?ue.unshift(l):ue.push(l);}return l}function H(t,r){e.forEach(t.referencedFiles,function(e){$(n(e.fileName,t.fileName),r,t,e.pos,e.end);});}function X(t){for(var n=e.map(t.typeReferenceDirectives,function(e){return e.fileName.toLocaleLowerCase()}),r=Ee(n,t.fileName),a=0;afe,p=_&&!l(i,s)&&!i.noResolve&&o1})&&xe.add(e.createCompilerDiagnostic(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files));}if(!i.noEmit&&i.allowJs&&i.declaration&&xe.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"allowJs","declaration")),i.checkJs&&!i.allowJs&&xe.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),i.emitDecoratorMetadata&&!i.experimentalDecorators&&xe.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators")),i.jsxFactory?(i.reactNamespace&&xe.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory")),e.parseIsolatedEntityName(i.jsxFactory,l)||xe.add(e.createCompilerDiagnostic(e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,i.jsxFactory))):i.reactNamespace&&!e.isIdentifierText(i.reactNamespace,l)&&xe.add(e.createCompilerDiagnostic(e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,i.reactNamespace)),!i.noEmit&&!i.suppressOutputPathCheck){var v=m(),b=e.createFileMap(o.useCaseSensitiveFileNames()?void 0:function(e){return e.toLocaleLowerCase()});e.forEachEmittedFile(v,function(e){t(e.jsFilePath,b),t(e.declarationFilePath,b);});}}(),e.performance.mark("afterProgram"),e.performance.measure("Program","beforeProgram","afterProgram"),ae}function l(t,n){function r(){return t.jsx?void 0:e.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set}function a(){return t.allowJs?void 0:e.Diagnostics.Module_0_was_resolved_to_1_but_allowJs_is_not_set}switch(n.extension){case e.Extension.Ts:case e.Extension.Dts:return;case e.Extension.Tsx:return r();case e.Extension.Jsx:return r()||a();case e.Extension.Js:return a()}}var _=[],d=/(^\s*$)|(^\s*\/\/\/?\s*(@ts-ignore)?)/;e.findConfigFile=t,e.resolveTripleslashReference=n,e.computeCommonSourceDirectoryOfFilenames=r,e.createCompilerHost=a,e.getPreEmitDiagnostics=i,e.formatDiagnostics=o,e.flattenDiagnosticMessageText=s,e.createProgram=u,e.getResolutionDiagnostic=l;}(r||(r={}));!function(e){function t(e){return e&&void 0!==e.enableAutoDiscovery&&void 0===e.enable?{enable:e.enableAutoDiscovery,include:e.include||[],exclude:e.exclude||[]}:e}function n(){if(F)return F;var t=e.createMap(),n=e.createMap();return e.forEach(e.optionDeclarations,function(e){t.set(e.name.toLowerCase(),e),e.shortName&&n.set(e.shortName,e.name);}),F={optionNameMap:t,shortOptionNames:n}}function r(t){var n=e.arrayFrom(t.type.keys()).map(function(e){return"'"+e+"'"}).join(", ");return e.createCompilerDiagnostic(e.Diagnostics.Argument_for_0_option_must_be_Colon_1,"--"+t.name,n)}function a(e,t,n){return b(e,k(t||""),n)}function i(t,n,r){if(void 0===n&&(n=""),n=k(n),!e.startsWith(n,"-")){if(""===n)return[];var i=n.split(",");switch(t.element.type){case"number":return e.map(i,parseInt);case"string":return e.map(i,function(e){return e||""});default:return e.filter(e.map(i,function(e){return a(t.element,e,r)}),function(e){return!!e})}}}function o(t,n){function r(t){for(var n=0;n=a.length)break;var s=o;if(34===a.charCodeAt(s)){for(o++;o32;)o++;i.push(a.substring(s,o));}}r(i);}else l.push(e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,t));}var c={},u=[],l=[];return r(t),{options:c,fileNames:u,errors:l}}function s(e,t){void 0===t&&(t=!1),e=e.toLowerCase();var r=n(),a=r.optionNameMap,i=r.shortOptionNames;if(t){var o=i.get(e);void 0!==o&&(e=o);}return a.get(e)}function c(t,n){var r="";try{r=n(t);}catch(n){return{error:e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,t,n.message)}}return u(t,r)}function u(t,n,r){void 0===r&&(r=!0);try{var a=r?_(n):n;return{config:/\S/.test(a)?JSON.parse(a):{}}}catch(n){return{error:e.createCompilerDiagnostic(e.Diagnostics.Failed_to_parse_file_0_Colon_1,t,n.message)}}}function l(t,r,a){function i(e){return"string"===e.type||"number"===e.type||"boolean"===e.type?void 0:"list"===e.type?i(e.element):e.type}function o(t,n){return e.forEachEntry(n,function(e,n){if(e===t)return n})}function s(t){switch(t.type){case"number":return 1;case"boolean":return!0;case"string":return t.isFilePath?"./":"";case"list":return[];case"object":return{};default:return e.arrayFrom(t.type.keys())[0]}}function c(e){return Array(e+1).join(" ")}var u={compilerOptions:function(t){var r={},a=n().optionNameMap;for(var s in t)if(e.hasProperty(t,s)){if(a.has(s)&&a.get(s).category===e.Diagnostics.Command_line_Options)continue;var c=t[s],u=a.get(s.toLowerCase());if(u){var l=i(u);if(l)if("list"===u.type){for(var _=[],d=0,p=c;d=0)return{options:{},fileNames:[],typeAcquisition:{},raw:t,errors:[e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,o.concat([_]).join(" -> "))],wildcardDirectories:{}};var f,m=g(t.compilerOptions,r,u,i),h=y(t.typeAcquisition||t.typingOptions,r,u,i);if(t.extends){var v=[void 0,void 0,void 0,{}],b=v[0],x=v[1],k=v[2],T=v[3];"string"==typeof t.extends?(b=(A=function(a){if(e.isRootedDiskPath(a)||e.startsWith(e.normalizeSlashes(a),"./")||e.startsWith(e.normalizeSlashes(a),"../")){var i=e.toPath(a,r,l);if(n.fileExists(i)||e.endsWith(i,".json")||(i+=".json",n.fileExists(i))){var s=c(i,function(e){return n.readFile(e)});if(!s.error){var p=e.getDirectoryPath(i),f=e.convertToRelativePath(p,r,l),m=function(t){return e.isRootedDiskPath(t)?t:e.combinePaths(f,t)},g=d(s.config,n,p,void 0,e.getBaseFileName(i),o.concat([_]));u.push.apply(u,g.errors);var y=e.map(["include","exclude","files"],function(n){if(!t[n]&&s.config[n])return e.map(s.config[n],m)});return[y[0],y[1],y[2],g.compileOnSave,g.options]}u.push(s.error);}else u.push(e.createCompilerDiagnostic(e.Diagnostics.File_0_does_not_exist,a));}else u.push(e.createCompilerDiagnostic(e.Diagnostics.A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not,a));}(t.extends)||[b,x,k,f,T])[0],x=A[1],k=A[2],f=A[3],T=A[4]):u.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string")),b&&!t.include&&(t.include=b),x&&!t.exclude&&(t.exclude=x),k&&!t.files&&(t.files=k),m=e.assign({},T,m);}(m=e.extend(a,m)).configFilePath=i;var C=function(a){var c;e.hasProperty(t,"files")&&(e.isArray(t.files)?0===(c=t.files).length&&a.push(e.createCompilerDiagnostic(e.Diagnostics.The_files_list_in_config_file_0_is_empty,i||"tsconfig.json")):a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"files","Array")));var u;e.hasProperty(t,"include")&&(e.isArray(t.include)?u=t.include:a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"include","Array")));var l;if(e.hasProperty(t,"exclude"))e.isArray(t.exclude)?l=t.exclude:a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"exclude","Array"));else if(e.hasProperty(t,"excludes"))a.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));else{l=u?[]:["node_modules","bower_components","jspm_packages"];var _=t.compilerOptions&&t.compilerOptions.outDir;_&&l.push(_);}void 0===c&&void 0===u&&(u=["**/*"]);var d=S(c,u,l,r,m,n,a,s);return 0!==d.fileNames.length||e.hasProperty(t,"files")||0!==o.length||a.push(e.createCompilerDiagnostic(e.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,i||"tsconfig.json",JSON.stringify(u||[]),JSON.stringify(l||[]))),d}(u),E=C.fileNames,D=C.wildcardDirectories,N=p(t,r,u);return f&&void 0===t[e.compileOnSaveCommandLineOption.name]&&(N=f),{options:m,fileNames:E,typeAcquisition:h,raw:t,errors:u,wildcardDirectories:D,compileOnSave:N};var A;}function p(t,n,r){if(!e.hasProperty(t,e.compileOnSaveCommandLineOption.name))return!1;var a=v(e.compileOnSaveCommandLineOption,t.compileOnSave,n,r);return!("boolean"!=typeof a||!a)&&a}function f(e,t,n){var r=[];return{options:g(e,t,r,n),errors:r}}function m(e,t,n){var r=[];return{options:y(e,t,r,n),errors:r}}function g(t,n,r,a){var i="jsconfig.json"===e.getBaseFileName(a)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0}:{};return h(e.optionDeclarations,t,n,i,e.Diagnostics.Unknown_compiler_option_0,r),i}function y(n,r,a,i){var o={enable:"jsconfig.json"===e.getBaseFileName(i),include:[],exclude:[]},s=t(n);return h(e.typeAcquisitionDeclarations,s,r,o,e.Diagnostics.Unknown_type_acquisition_option_0,a),o}function h(t,n,r,a,i,o){if(n){var s=e.arrayToMap(t,function(e){return e.name});for(var c in n){var u=s.get(c);u?a[u.name]=v(u,n[c],r,o):o.push(e.createCompilerDiagnostic(i,c));}}}function v(t,n,r,a){var i=t.type,o="string"==typeof i?i:"string";return"list"===i&&e.isArray(n)?x(t,n,r,a):typeof n===o?"string"!=typeof i?b(t,n,a):(t.isFilePath&&""===(n=e.normalizePath(e.combinePaths(r,n)))&&(n="."),n):void a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,t.name,o))}function b(e,t,n){var a=t.toLowerCase(),i=e.type.get(a);if(void 0!==i)return i;n.push(r(e));}function x(t,n,r,a){return e.filter(e.map(n,function(e){return v(t.element,e,r,a)}),function(e){return!!e})}function k(e){return"function"==typeof e.trim?e.trim():e.replace(/^[\s]+|[\s]+$/g,"")}function S(t,n,r,a,i,o,s,c){a=e.normalizePath(a);var u=o.useCaseSensitiveFileNames?A:w,l=e.createMap(),_=e.createMap();n&&(n=T(n,s,!1)),r&&(r=T(r,s,!0));var d=C(n,r,a,o.useCaseSensitiveFileNames),p=e.getSupportedExtensions(i,c);if(t)for(var f=0,m=t;f0)for(var h=0,v=o.readDirectory(a,p,r,n);h=n.end}function w(e,t,n){return e.pos<=t&&e.end>=n}function O(e,t,n){return P(e.pos,e.end,t,n)}function P(e,t,n,r){return Math.max(e,n)t||!I(e,n)}function I(t,n){if(e.nodeIsMissing(t))return!1;switch(t.kind){case 229:case 230:case 232:case 178:case 174:case 163:case 207:case 234:case 235:case 241:case 245:return R(t,18,n);case 260:return I(t.block,n);case 182:if(!t.arguments)return!0;case 181:case 185:case 168:return R(t,20,n);case 160:case 161:return I(t.type,n);case 152:case 153:case 154:case 228:case 186:case 151:case 150:case 156:case 155:case 187:return t.body?I(t.body,n):t.type?I(t.type,n):L(t,20,n);case 233:return t.body&&I(t.body,n);case 211:return t.elseStatement?I(t.elseStatement,n):I(t.thenStatement,n);case 210:return I(t.expression,n)||L(t,25);case 177:case 175:case 180:case 144:case 165:return R(t,22,n);case 157:return t.type?I(t.type,n):L(t,22,n);case 257:case 258:return!1;case 214:case 215:case 216:case 213:return I(t.statement,n);case 212:return B(t,106,n)?R(t,20,n):I(t.statement,n);case 162:return I(t.exprName,n);case 189:case 188:case 190:case 197:case 198:return I(t.expression,n);case 183:return I(t.template,n);case 196:return I(e.lastOrUndefined(t.templateSpans),n);case 205:return e.nodeIsPresent(t.literal);case 244:case 238:return e.nodeIsPresent(t.moduleSpecifier);case 192:return I(t.operand,n);case 194:return I(t.right,n);case 195:return I(t.whenFalse,n);default:return!0}}function R(t,n,r){var a=t.getChildren(r);if(a.length){var i=e.lastOrUndefined(a);if(i.kind===n)return!0;if(25===i.kind&&1!==a.length)return a[a.length-2].kind===n}return!1}function M(t){var n=K(t);if(n){var r=n.getChildren();return{listItemIndex:e.indexOf(r,t),list:n}}}function L(e,t,n){return!!B(e,t,n)}function B(t,n,r){return e.forEach(t.getChildren(r),function(e){return e.kind===n&&e})}function K(t){var n=e.forEach(t.parent.getChildren(),function(e){if(294===e.kind&&e.pos<=t.pos&&e.end>=t.end)return e});return e.Debug.assert(!n||e.contains(n.getChildren(),t)),n}function j(e,t,n){return void 0===n&&(n=!1),z(e,t,function(e){return ae(e.kind)},n)}function J(e,t,n){return void 0===n&&(n=!1),z(e,t,function(e){return ie(e.kind)},n)}function z(e,t,n,r){return void 0===r&&(r=!1),V(e,t,!1,n,r)}function U(e,t,n){return void 0===n&&(n=!1),V(e,t,!0,void 0,n)}function V(t,n,r,a,i){void 0===i&&(i=!1);var o=t;e:for(;;){if(e.isToken(o))return o;if(i)for(var s=0,c=e.filter(o.getChildren(),e.isJSDocNode);sr.getStart(t)&&nt.end||o.pos===t.end)&&te(o))return r(o)}}return r(n)}function G(t,n,r){function a(t){if(e.isToken(t))return t;var n=t.getChildren(),r=o(n,n.length);return r&&a(r)}function i(s){if(e.isToken(s))return s;for(var c=s.getChildren(),u=0;u=t||10===l.kind&&_===l.end?(d=o(c,u))&&a(d):i(l)}}if(e.Debug.assert(void 0!==r||265===s.kind),c.length){var d=o(c,c.length);return d&&a(d)}}function o(e,t){for(var n=t-1;n>=0;n--)if(te(e[n]))return e[n]}return i(r||n)}function W(e,t){var n=G(t,e);if(n&&9===n.kind){var r=n.getStart(),a=n.getEnd();if(rr.getStart(t)}function Q(t,n,r){var a=U(t,n);if(a&&n<=a.getStart(t)){var i=e.getLeadingCommentRanges(t.text,a.pos);return r?e.forEach(i,function(e){return e.pos=e.pos+3&&"/"===n[e.pos]&&"*"===n[e.pos+1]&&"*"===n[e.pos+2]}var a=U(t,n),i=e.getLeadingCommentRanges(t.text,a.pos);return e.forEach(i,r)}function ee(t,n){var r=e.getTokenAtPosition(t,n);if(e.isToken(r))switch(r.kind){case 104:case 110:case 76:r=void 0===r.parent?void 0:r.parent.parent;break;default:r=r.parent;}if(r&&r.jsDoc)for(var a=0,i=r.jsDoc;a0?r.join(","):e.ScriptElementKindModifier.none}function re(t){return 159===t.kind||181===t.kind?t.typeArguments:e.isFunctionLike(t)||229===t.kind||230===t.kind?t.typeParameters:void 0}function ae(t){return 71===t||e.isKeyword(t)}function ie(e){return 9===e||8===e||ae(e)}function oe(e){return 2===e||3===e}function se(t){return!(9!==t&&12!==t&&!e.isTemplateLiteralKind(t))}function ce(e){return 17<=e&&e<=70}function ue(t,n){return e.isTemplateLiteralKind(t.kind)&&t.getStart()0&&146===e.declarations[0].kind}function n(n,a){return r(n,function(n){var r=n.flags;return 3&r?t(n)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName:4&r?e.SymbolDisplayPartKind.propertyName:32768&r?e.SymbolDisplayPartKind.propertyName:65536&r?e.SymbolDisplayPartKind.propertyName:8&r?e.SymbolDisplayPartKind.enumMemberName:16&r?e.SymbolDisplayPartKind.functionName:32&r?e.SymbolDisplayPartKind.className:64&r?e.SymbolDisplayPartKind.interfaceName:384&r?e.SymbolDisplayPartKind.enumName:1536&r?e.SymbolDisplayPartKind.moduleName:8192&r?e.SymbolDisplayPartKind.methodName:262144&r?e.SymbolDisplayPartKind.typeParameterName:524288&r?e.SymbolDisplayPartKind.aliasName:8388608&r?e.SymbolDisplayPartKind.aliasName:e.SymbolDisplayPartKind.text}(a))}function r(t,n){return{text:t,kind:e.SymbolDisplayPartKind[n]}}function a(){return r(" ",e.SymbolDisplayPartKind.space)}function i(t){return r(e.tokenToString(t),e.SymbolDisplayPartKind.keyword)}function o(t){return r(e.tokenToString(t),e.SymbolDisplayPartKind.punctuation)}function s(t){return r(e.tokenToString(t),e.SymbolDisplayPartKind.operator)}function c(t){var n=e.stringToToken(t);return void 0===n?u(t):i(n)}function u(t){return r(t,e.SymbolDisplayPartKind.text)}function l(e){return e.getNewLine?e.getNewLine():E}function _(){return r("\n",e.SymbolDisplayPartKind.lineBreak)}function d(e){e(C);var t=C.displayParts();return C.clear(),t}function p(e,t,n,r){return d(function(a){e.getSymbolDisplayBuilder().buildTypeDisplay(t,a,n,r);})}function f(e,t,n,r,a){return d(function(i){e.getSymbolDisplayBuilder().buildSymbolDisplay(t,i,n,r,a);})}function m(e,t,n,r){return d(function(a){e.getSymbolDisplayBuilder().buildSignatureDisplay(t,a,n,r);})}function g(t,n,r){if(y(r)||e.isStringOrNumericLiteral(r)&&144===r.parent.kind)return r.text;var a=e.getLocalSymbolForExportDefault(n);return t.symbolToString(a||n)}function y(e){return e.parent&&(242===e.parent.kind||246===e.parent.kind)&&e.parent.propertyName===e}function h(e){var t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&(34===e.charCodeAt(0)||39===e.charCodeAt(0))?e.substring(1,t-1):e}function v(t,n){for(var r=[],a=2;a=0){var _=c-o;_>0&&a.push({length:_,classification:e.TokenClass.Whitespace});}a.push({length:u,classification:r(l)}),o=c+u;}var d=n.length-o;return d>0&&a.push({length:d,classification:e.TokenClass.Whitespace}),{entries:a,finalLexState:t.endOfLineState}}function r(t){switch(t){case 1:return e.TokenClass.Comment;case 3:return e.TokenClass.Keyword;case 4:return e.TokenClass.NumberLiteral;case 5:return e.TokenClass.Operator;case 6:return e.TokenClass.StringLiteral;case 8:return e.TokenClass.Whitespace;case 10:return e.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:default:return e.TokenClass.Identifier}}function a(e,t,r){return n(i(e,t,r),e)}function i(n,r,a){function i(e,t,n){if(8!==n){0===e&&o>0&&(e+=o);var r=(t-=o)-(e-=o);r>0&&(f.spans.push(e),f.spans.push(r),f.spans.push(n));}}for(var o=0,s=0,p=0;d.length>0;)d.pop();switch(r){case 3:n='"\\\n'+n,o=3;break;case 2:n="'\\\n"+n,o=3;break;case 1:n="/*\n"+n,o=3;break;case 4:n="`\n"+n,o=2;break;case 5:n="}\n"+n,o=2;case 6:d.push(14);}l.setText(n);var f={endOfLineState:0,spans:[]},m=0;do{if(s=l.scan(),!e.isTrivia(s)){if(41!==s&&63!==s||_[p]){if(23===p&&c(s))s=71;else if(c(p)&&c(s)&&!t(p,s))s=71;else if(71===p&&27===s)m++;else if(29===s&&m>0)m--;else if(119===s||136===s||133===s||122===s||137===s)m>0&&!a&&(s=71);else if(14===s)d.push(s);else if(17===s)d.length>0&&d.push(s);else if(18===s&&d.length>0){var g=e.lastOrUndefined(d);14===g?16===(s=l.reScanTemplateToken())?d.pop():e.Debug.assert(15===s,"Should have been a template middle. Was "+s):(e.Debug.assert(17===g,"Should have been an open brace. Was: "+s),d.pop());}}else 12===l.reScanSlashToken()&&(s=12);p=s;}!function(){var t=l.getTokenPos(),r=l.getTextPos();if(i(t,r,u(s)),r>=n.length)if(9===s){var a=l.getTokenText();if(l.isUnterminated()){for(var o=a.length-1,c=0;92===a.charCodeAt(o-c);)c++;if(1&c){var _=a.charCodeAt(0);f.endOfLineState=34===_?3:2;}}}else 3===s?l.isUnterminated()&&(f.endOfLineState=1):e.isTemplateLiteralKind(s)?l.isUnterminated()&&(16===s?f.endOfLineState=5:13===s?f.endOfLineState=4:e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+s)):d.length>0&&14===e.lastOrUndefined(d)&&(f.endOfLineState=6);}();}while(1!==s);return f}function o(e){switch(e){case 39:case 41:case 42:case 37:case 38:case 45:case 46:case 47:case 27:case 29:case 30:case 31:case 93:case 92:case 118:case 32:case 33:case 34:case 35:case 48:case 50:case 49:case 53:case 54:case 69:case 68:case 70:case 65:case 66:case 67:case 59:case 60:case 61:case 63:case 64:case 58:case 26:return!0;default:return!1}}function s(e){switch(e){case 37:case 38:case 52:case 51:case 43:case 44:return!0;default:return!1}}function c(e){return e>=72&&e<=142}function u(t){if(c(t))return 3;if(o(t)||s(t))return 5;if(t>=17&&t<=70)return 10;switch(t){case 8:return 4;case 9:return 6;case 12:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 71:default:return e.isTemplateLiteralKind(t)?6:2}}var l=e.createScanner(5,!1),_=[];_[71]=!0,_[9]=!0,_[8]=!0,_[12]=!0,_[99]=!0,_[43]=!0,_[44]=!0,_[20]=!0,_[22]=!0,_[18]=!0,_[101]=!0,_[86]=!0;var d=[];return{getClassificationsForLine:a,getEncodedLexicalClassifications:i}}function n(e,t,n,r,i){return o(a(e,t,n,r,i))}function r(e,t){switch(t){case 233:case 229:case 230:case 228:e.throwIfCancellationRequested();}}function a(t,n,a,i,o){function s(e,t,n){l.push(e),l.push(t),l.push(n);}function c(t,n){var r=t.getFlags();if(0!=(788448&r)){if(32&r)return 11;if(384&r)return 12;if(524288&r)return 16;if(2&n){if(64&r)return 13;if(262144&r)return 15}else if(1536&r&&(4&n||1&n&&function(t){return e.forEach(t.declarations,function(t){return 233===t.kind&&1===e.getModuleInstanceState(t)})}(t)))return 14}}function u(a){if(a&&e.textSpanIntersectsWith(o,a.getFullStart(),a.getFullWidth())){var l=a.kind;if(r(n,l),71===l&&!e.nodeIsMissing(a)){var _=a;if(i.get(_.text)){var d=t.getSymbolAtLocation(a);if(d){var p=c(d,e.getMeaningFromLocation(a));p&&s(a.getStart(),a.getWidth(),p);}}}e.forEachChild(a,u);}}var l=[];return u(a),{spans:l,endOfLineState:0}}function i(t){switch(t){case 1:return e.ClassificationTypeNames.comment;case 2:return e.ClassificationTypeNames.identifier;case 3:return e.ClassificationTypeNames.keyword;case 4:return e.ClassificationTypeNames.numericLiteral;case 5:return e.ClassificationTypeNames.operator;case 6:return e.ClassificationTypeNames.stringLiteral;case 8:return e.ClassificationTypeNames.whiteSpace;case 9:return e.ClassificationTypeNames.text;case 10:return e.ClassificationTypeNames.punctuation;case 11:return e.ClassificationTypeNames.className;case 12:return e.ClassificationTypeNames.enumName;case 13:return e.ClassificationTypeNames.interfaceName;case 14:return e.ClassificationTypeNames.moduleName;case 15:return e.ClassificationTypeNames.typeParameterName;case 16:return e.ClassificationTypeNames.typeAliasName;case 17:return e.ClassificationTypeNames.parameterName;case 18:return e.ClassificationTypeNames.docCommentTagName;case 19:return e.ClassificationTypeNames.jsxOpenTagName;case 20:return e.ClassificationTypeNames.jsxCloseTagName;case 21:return e.ClassificationTypeNames.jsxSelfClosingTagName;case 22:return e.ClassificationTypeNames.jsxAttribute;case 23:return e.ClassificationTypeNames.jsxText;case 24:return e.ClassificationTypeNames.jsxAttributeStringLiteralValue}}function o(t){e.Debug.assert(t.spans.length%3==0);for(var n=t.spans,r=[],a=0;a=0),a>0){var s=n||m(t.kind,t);s&&i(r,a,s);}return!0}function f(e){switch(e.parent&&e.parent.kind){case 251:if(e.parent.tagName===e)return 19;break;case 252:if(e.parent.tagName===e)return 20;break;case 250:if(e.parent.tagName===e)return 21;break;case 253:if(e.parent.name===e)return 22}}function m(t,n){if(e.isKeyword(t))return 3;if((27===t||29===t)&&n&&e.getTypeArgumentOrTypeParameterList(n.parent))return 10;if(e.isPunctuation(t)){if(n){if(58===t&&(226===n.parent.kind||149===n.parent.kind||146===n.parent.kind||253===n.parent.kind))return 5;if(194===n.parent.kind||192===n.parent.kind||193===n.parent.kind||195===n.parent.kind)return 5}return 10}if(8===t)return 4;if(9===t)return 253===n.parent.kind?24:6;if(12===t)return 6;if(e.isTemplateLiteralKind(t))return 6;if(10===t)return 23;if(71===t){if(n)switch(n.parent.kind){case 229:if(n.parent.name===n)return 11;return;case 145:if(n.parent.name===n)return 15;return;case 230:if(n.parent.name===n)return 13;return;case 232:if(n.parent.name===n)return 12;return;case 233:if(n.parent.name===n)return 14;return;case 146:if(n.parent.name===n)return e.isThisIdentifier(n)?3:17;return}return 2}}function g(a){if(a&&e.decodedTextSpanIntersectsWith(y,h,a.pos,a.getFullWidth())){r(t,a.kind);for(var i=0,o=a.getChildren(n);i=e.pos&&n<=e.end&&e});if(c){var u={isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:[]},_=t.text.substr(c.pos,n-c.pos),d=T.exec(_);if(d){var p=d[1],f=d[2],g=d[3],y=e.getDirectoryPath(t.path);if("path"===f){var h=m(g,c.pos+p.length);u.entries=i(g,y,e.getSupportedExtensions(r),!0,h,a,t.path);}else{var v={start:c.pos+p.length,length:d[0].length-p.length};u.entries=l(a,r,y,v);}}return u}}}}function l(t,n,r,a,i){if(void 0===i&&(i=[]),n.types)for(var o=0,s=n.types;o=2&&46===e.charCodeAt(0)){var t=e.length>=3&&46===e.charCodeAt(1)?2:1,n=e.charCodeAt(t);return 47===n||92===n}return!1}function y(t){return e.hasTrailingDirectorySeparator(t)?e.ensureTrailingDirectorySeparator(e.normalizePath(t)):e.normalizePath(t)}function h(e,t){return S(e,e.getDirectories)}function v(e,t,n,r,a){return S(e,e.readDirectory)}function b(e,t){return S(e,e.readFile)}function x(e,t){return S(e,e.fileExists)}function k(t,n){try{return e.directoryProbablyExists(n,t)}catch(e){}}function S(e,t){for(var n=[],r=2;r0&&(q=b(s,a)),!0}function d(n){var r=241===n.kind?238:244,a=e.getAncestor(n,r).moduleSpecifier;if(!a)return!1;J=!0,z=!1;var i=t.getSymbolAtLocation(a);if(!i)return q=e.emptyArray,!0;var o=t.getExportsAndPropertiesOfModule(i);return q=v(o,n.elements),!0}function p(e){if(e)switch(e.kind){case 17:case 26:var t=e.parent;if(t&&(178===t.kind||174===t.kind))return t}}function f(e){if(e)switch(e.kind){case 17:case 26:switch(e.parent.kind){case 241:case 245:return e.parent}}}function m(e){if(e){var t=e.parent;switch(e.kind){case 28:case 41:case 71:case 179:case 254:case 253:case 255:if(t&&(250===t.kind||251===t.kind))return t;if(253===t.kind)return t.parent.parent;break;case 9:if(t&&(253===t.kind||255===t.kind))return t.parent.parent;break;case 18:if(t&&256===t.kind&&t.parent&&253===t.parent.kind)return t.parent.parent.parent;if(t&&255===t.kind)return t.parent.parent}}}function g(t){if(!e.isFunctionLikeKind(t))return!1;switch(t){case 152:case 161:case 160:return!1;default:return!0}}function y(e){var t=e.parent.kind;switch(e.kind){case 26:return 226===t||227===t||208===t||232===t||g(t)||229===t||199===t||230===t||175===t||231===t;case 23:return 175===t;case 56:return 176===t;case 21:return 175===t;case 19:return 260===t||g(t);case 17:return 232===t||230===t||163===t;case 25:return 148===t&&e.parent&&e.parent.parent&&(230===e.parent.parent.kind||163===e.parent.parent.kind);case 27:return 229===t||199===t||230===t||231===t||g(t);case 115:return 149===t;case 24:return 146===t||e.parent&&e.parent.parent&&175===e.parent.parent.kind;case 114:case 112:case 113:return 146===t;case 118:return 242===t||246===t||240===t;case 75:case 83:case 109:case 89:case 104:case 125:case 135:case 91:case 110:case 76:case 116:case 138:return!0}switch(e.getText()){case"abstract":case"async":case"class":case"const":case"declare":case"enum":case"function":case"interface":case"let":case"private":case"protected":case"public":case"static":case"var":case"yield":return!0}return!1}function h(e){if(8===e.kind){var t=e.getFullText();return"."===t.charAt(t.length-1)}return!1}function v(t,n){for(var r=e.createMap(),i=0,o=n;i=0&&!g(n,r[a],106);a--);var i=d(t.statement);return e.forEach(i,function(e){p(t,e)&&g(n,e.getFirstToken(),72,77);}),n}function b(e){var t=f(e);if(t)switch(t.kind){case 214:case 215:case 216:case 212:case 213:return v(t);case 221:return x(t)}}function x(t){var n=[];return g(n,t.getFirstToken(),98),e.forEach(t.caseBlock.clauses,function(r){g(n,r.getFirstToken(),73,79);var a=d(r);e.forEach(a,function(e){p(t,e)&&g(n,e.getFirstToken(),72);});}),n}function k(t,n){var r=[];return g(r,t.getFirstToken(),102),t.catchClause&&g(r,t.catchClause.getFirstToken(),74),t.finallyBlock&&g(r,e.findChildOfKind(t,87,n),87),r}function S(t){var n=_(t);if(n){var r=[];return e.forEach(l(n),function(e){g(r,e.getFirstToken(),100);}),e.isFunctionBlock(n)&&e.forEachReturnStatement(n,function(e){g(r,e.getFirstToken(),96);}),r}}function T(t){var n=e.getContainingFunction(t);if(n&&s(n.body,207)){var r=[];return e.forEachReturnStatement(n.body,function(e){g(r,e.getFirstToken(),96);}),e.forEach(l(n.body),function(e){g(r,e.getFirstToken(),100);}),r}}function C(t,n){for(var a=[];s(t.parent,211)&&t.parent.elseStatement===t;)t=t.parent;for(;t;){var i=t.getChildren();g(a,i[0],90);for(c=i.length-1;c>=0&&!g(a,i[c],82);c--);if(!s(t.elseStatement,211))break;t=t.elseStatement;}for(var o=[],c=0;c=u.end;d--)if(!e.isWhiteSpaceSingleLine(n.text.charCodeAt(d))){_=!1;break}if(_){o.push({fileName:n.fileName,textSpan:e.createTextSpanFromBounds(u.getStart(),l.end),kind:e.HighlightSpanKind.reference}),c++;continue}}o.push(r(a[c],n));}return o}function E(e,t){for(var n=e.parent;222===n.kind;n=n.parent)if(n.label.text===t)return!0;return!1}t.getDocumentHighlights=n;}(e.DocumentHighlights||(e.DocumentHighlights={}));}(r||(r={}));!function(e){function t(t,n){function r(e){return"_"+e.target+"|"+e.module+"|"+e.noResolve+"|"+e.jsx+"|"+e.allowJs+"|"+e.baseUrl+"|"+JSON.stringify(e.typeRoots)+"|"+JSON.stringify(e.rootDirs)+"|"+JSON.stringify(e.paths)}function a(t,n){var r=p.get(t);return!r&&n&&p.set(t,r=e.createFileMap()),r}function i(){var t=e.arrayFrom(p.keys()).filter(function(e){return e&&"_"===e.charAt(0)}).map(function(e){var t=[];return p.get(e).forEachValue(function(e,n){t.push({name:e,refCount:n.languageServiceRefCount,references:n.owners.slice(0)});}),t.sort(function(e,t){return t.refCount-e.refCount}),{bucket:e,sourceFiles:t}});return JSON.stringify(t,void 0,2)}function o(t,a,i,o,c){return s(t,e.toPath(t,n,f),a,r(a),i,o,c)}function s(e,t,n,r,a,i,o){return l(e,t,n,r,a,i,!0,o)}function c(t,a,i,o,s){return u(t,e.toPath(t,n,f),a,r(a),i,o,s)}function u(e,t,n,r,a,i,o){return l(e,t,n,r,a,i,!1,o)}function l(t,n,r,i,o,s,c,u){var l=a(i,!0),_=l.get(n);return _?_.sourceFile.version!==s&&(_.sourceFile=e.updateLanguageServiceSourceFile(_.sourceFile,o,s,o.getChangeRange(_.sourceFile.scriptSnapshot))):(e.Debug.assert(c,"How could we be trying to update a document that the registry doesn't have?"),_={sourceFile:e.createLanguageServiceSourceFile(t,o,r.target,s,!1,u),languageServiceRefCount:0,owners:[]},l.set(n,_)),c&&_.languageServiceRefCount++,_.sourceFile}function _(t,a){return d(e.toPath(t,n,f),r(a))}function d(t,n){var r=a(n,!1);e.Debug.assert(void 0!==r);var i=r.get(t);i.languageServiceRefCount--,e.Debug.assert(i.languageServiceRefCount>=0),0===i.languageServiceRefCount&&r.remove(t);}void 0===n&&(n="");var p=e.createMap(),f=e.createGetCanonicalFileName(!!t);return{acquireDocument:o,acquireDocumentWithKey:s,updateDocument:c,updateDocumentWithKey:u,releaseDocument:_,releaseDocumentWithKey:d,reportStats:i,getKeyForCompilationSettings:r}}e.createDocumentRegistry=t;}(r||(r={}));!function(e){!function(n){function r(e,n,r){var o=s(e,n,r);return function(s,c,u){var l=a(e,o,c,n,r),_=l.directImports,d=l.indirectUsers;return t({indirectUsers:d},i(_,s,c.exportKind,n,u))}}function a(t,n,r,a,i){function s(t){var n=_(t);if(n)for(var r=0,o=n;r=0&&!(u>a);){var l=u+c;0!==u&&e.isIdentifierPart(o.charCodeAt(u-1),5)||l!==s&&e.isIdentifierPart(o.charCodeAt(l),5)||i.push(u),u=o.indexOf(n,u+c+1);}return i}function y(t,r){for(var a=[],i=t.getSourceFile(),o=r.text,s=0,c=g(i,o,t.getStart(),t.getEnd());s0);for(var n=0,r=t;n0);for(var n=e.PatternMatchKind.camelCase,r=0,a=t;r0)return r}switch(t.kind){case 265:var a=t;return e.isExternalModule(a)?'"'+e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(a.fileName))))+'"':"";case 187:case 228:case 186:case 229:case 199:return 512&e.getModifierFlags(t)?"default":w(t);case 152:return"constructor";case 156:return"new()";case 155:return"()";case 157:return"[]";case 290:return b(t);default:return""}}function b(e){if(e.name)return e.name.text;var t=e.parent&&e.parent.parent;if(t&&208===t.kind&&t.declarationList.declarations.length>0){var n=t.declarationList.declarations[0].name;if(71===n.kind)return n.text}return""}function x(t){function n(e){if(r(e)&&(a.push(e),e.children))for(var t=0,i=e.children;t