(function(e){var n={};function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)t.d(r,a,function(n){return e[n]}.bind(null,a));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s="d0c7")})({"30db":function(e,n,t){"use strict";(function(e,r){t.d(n,"c",(function(){return _})),t.d(n,"b",(function(){return g})),t.d(n,"a",(function(){return v}));var a="en",i=!1,o=!1,s=!1,c=!1,l=void 0,u=void 0,d="undefined"!==typeof e&&"undefined"!==typeof e.versions&&"undefined"!==typeof e.versions.electron&&"renderer"===e.type;if("object"!==typeof navigator||d){if("object"===typeof e){i="win32"===e.platform,o="darwin"===e.platform,s="linux"===e.platform,l=a,a;var p=Object({VUE_APP_BASE_API:"",NODE_ENV:"production",BASE_URL:"/"})["VSCODE_NLS_CONFIG"];if(p)try{var m=JSON.parse(p),f=m.availableLanguages["*"];l=m.locale,f||a,m._translationsConfigFile}catch(h){}!0}}else u=navigator.userAgent,i=u.indexOf("Windows")>=0,o=u.indexOf("Macintosh")>=0,u.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=u.indexOf("Linux")>=0,c=!0,l=navigator.language,l;var _=i,g=c,y="object"===typeof self?self:"object"===typeof r?r:{},v=y;(function(){if(v.setImmediate)return v.setImmediate.bind(v);if("function"===typeof v.postMessage&&!v.importScripts){var n=[];v.addEventListener("message",(function(e){if(e.data&&e.data.vscodeSetImmediateId)for(var t=0,r=n.length;t0&&a[a.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]=0;t--){var r=n(e[t],t);if(r)return r}}function c(e,n){if(void 0!==e)for(var t=0;t=0;t--){var r=e[t];if(n(r,t))return r}}function g(e,n,t){for(var r=t||0;r=0;r--)if(n(e[r],r))return r;return-1}function v(n,t){for(var r=0;r0;for(var t=0,r=e;t0&&e.Debug.assertGreaterThanOrEqual(r(t[o],t[o-1]),0);n:for(var s=i;is&&e.Debug.assertGreaterThanOrEqual(r(n[i],n[i-1]),0),r(t[o],n[i])){case-1:a.push(t[o]);continue e;case 0:continue e;case 1:continue n}}return a}function Z(e,n){for(var t=0,r=0,a=e;r>1),c=t(e[s]);switch(r(c,n)){case-1:i=s+1;break;case 0:return s;case 1:o=s-1;break}}return~i}function be(e,n,t,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;arguments.length<=2?(c=e[o],o++):c=t;while(o<=s)c=n(c,e[o],o),o++;return c}}return t}e.emptyArray=[],e.Map=e.tryGetNativeMap()||function(){if("function"===typeof e.createMapShim)return e.createMapShim();throw new Error("TypeScript requires an environment that provides a compatible native Map implementation.")}(),e.createMap=n,e.createMapFromEntries=t,e.createMapFromTemplate=r,e.length=a,e.forEach=o,e.forEachRight=s,e.firstDefined=c,e.firstDefinedIterator=l,e.zipWith=u,e.zipToIterator=d,e.zipToMap=p,e.every=m,e.find=f,e.findLast=_,e.findIndex=g,e.findLastIndex=y,e.findMap=v,e.contains=h,e.arraysEqual=b,e.indexOfAnyCharCode=E,e.countWhere=T,e.filter=S,e.filterMutate=x,e.clear=L,e.map=C,e.mapIterator=A,e.sameMap=D,e.flatten=k,e.flatMap=N,e.flatMapToMutable=I,e.flatMapIterator=O,e.sameFlatMap=M,e.mapAllOrFail=w,e.mapDefined=R,e.mapDefinedIterator=P,e.emptyIterator={next:function(){return{value:void 0,done:!0}}},e.singleIterator=F,e.spanMap=G,e.mapEntries=B,e.some=V,e.getRangesWhere=U,e.concatenate=j,e.deduplicate=W,e.insertSorted=z,e.sortAndDeduplicate=J,e.arrayIsEqualTo=X,e.compact=Y,e.relativeComplement=Q,e.sum=Z,e.append=$,e.addRange=ne,e.pushIfUnique=te,e.appendIfUnique=re,e.sort=ie,e.arrayIterator=oe,e.arrayReverseIterator=se,e.stableSort=ce,e.rangeEquals=le,e.elementAt=ue,e.firstOrUndefined=de,e.first=pe,e.lastOrUndefined=me,e.last=fe,e.singleOrUndefined=_e,e.singleOrMany=ge,e.replaceElement=ye,e.binarySearch=ve,e.binarySearchKey=he,e.reduceLeft=be;var Ee=Object.prototype.hasOwnProperty;function Te(e,n){return Ee.call(e,n)}function Se(e,n){return Ee.call(e,n)?e[n]:void 0}function xe(e){var n=[];for(var t in e)Ee.call(e,t)&&n.push(t);return n}function Le(e){var n=[];do{for(var t=Object.getOwnPropertyNames(e),r=0,a=t;rn?1:0)}function dn(e,n){return sn(e,n)}function pn(e){return e?un:dn}e.hasProperty=Te,e.getProperty=Se,e.getOwnKeys=xe,e.getAllKeys=Le,e.getOwnValues=Ce,e.arrayFrom=Ae,e.assign=De,e.equalOwnProperties=ke,e.arrayToMap=Ne,e.arrayToNumericMap=Ie,e.arrayToMultiMap=Oe,e.group=Me,e.clone=we,e.extend=Re,e.copyProperties=Pe,e.maybeBind=Fe,e.mapMap=Ge,e.createMultiMap=Be,e.isArray=je,e.toArray=Ke,e.isString=He,e.isNumber=We,e.tryCast=qe,e.cast=ze,e.noop=Je,e.returnFalse=Xe,e.returnTrue=Ye,e.returnUndefined=Qe,e.identity=Ze,e.toLowerCase=$e,e.notImplemented=en,e.memoize=nn,e.compose=tn,function(e){e[e["None"]=0]="None",e[e["Normal"]=1]="Normal",e[e["Aggressive"]=2]="Aggressive",e[e["VeryAggressive"]=3]="VeryAggressive"}(e.AssertionLevel||(e.AssertionLevel={})),e.equateValues=rn,e.equateStringsCaseInsensitive=an,e.equateStringsCaseSensitive=on,e.compareValues=cn,e.min=ln,e.compareStringsCaseInsensitive=un,e.compareStringsCaseSensitive=dn,e.getStringComparer=pn;var mn,fn,_n=function(){var e,n,t=s();return c;function r(e,n,t){if(e===n)return 0;if(void 0===e)return-1;if(void 0===n)return 1;var r=t(e,n);return r<0?-1:r>0?1:0}function a(e){var n=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return function(e,t){return r(e,t,n)}}function i(e){return void 0!==e?o():function(e,t){return r(e,t,n)};function n(e,n){return e.localeCompare(n)}}function o(){return function(n,t){return r(n,t,e)};function e(e,t){return n(e.toUpperCase(),t.toUpperCase())||n(e,t)}function n(e,n){return en?1:0}}function s(){return"object"===typeof Intl&&"function"===typeof Intl.Collator?a:"function"===typeof String.prototype.localeCompare&&"function"===typeof String.prototype.toLocaleUpperCase&&"a".localeCompare("B")<0?i:o}function c(r){return void 0===r?e||(e=t(r)):"en-US"===r?n||(n=t(r)):t(r)}}();function gn(){return fn}function yn(e){fn!==e&&(fn=e,mn=void 0)}function vn(e,n){var t=mn||(mn=_n(fn));return t(e,n)}function hn(e,n,t,r){return e===n?0:void 0===e?-1:void 0===n?1:r(e[t],n[t])}function bn(e,n){return cn(e?1:0,n?1:0)}function En(n,t,r){for(var a,i=Math.min(2,Math.floor(.34*n.length)),o=Math.floor(.4*n.length)+1,s=!1,c=n.toLowerCase(),l=0,u=t;lt?o-t:1,l=n.length>t+o?t+o:n.length;a[0]=o;for(var u=o,d=1;dt)return;var m=r;r=a,a=m}var f=r[n.length];return f>t?void 0:f}function Sn(e,n){var t=e.length-n.length;return t>=0&&e.indexOf(n,t)===t}function xn(e,n){return Sn(e,n)?e.slice(0,e.length-n.length):e}function Ln(e,n){return Sn(e,n)?e.slice(0,e.length-n.length):void 0}function Cn(e,n){return-1!==e.indexOf(n)}function An(e){var n=/[.-]((min)|(\d+(\.\d+)*))$/;return e.replace(n,"").replace(n,"")}function Dn(e,n){for(var t=0;ta&&(a=c.prefix.length,r=s)}return r}function Fn(e,n){return 0===e.lastIndexOf(n,0)}function Gn(e,n){return Fn(e,n)?e.substr(n.length):e}function Bn(e,n,t){return void 0===t&&(t=Ze),Fn(t(e),t(n))?e.substring(n.length):void 0}function Vn(e,n){var t=e.prefix,r=e.suffix;return n.length>=t.length+r.length&&Fn(n,t)&&Sn(n,r)}function Un(e,n){return function(t){return e(t)&&n(t)}}function jn(){for(var e=[],n=0;n=e}function r(e,n,t,a){e||(t&&(n+="\r\nVerbose Debug Information: "+("string"===typeof t?t:t())),c(n?"False expression: "+n:"False expression.",a||r))}function a(e,n,t,r){if(e!==n){var a=t?r?t+" "+r:t:"";c("Expected "+e+" === "+n+". "+a)}}function i(e,n,t){e>=n&&c("Expected "+e+" < "+n+". "+(t||""))}function o(e,n){e>n&&c("Expected "+e+" <= "+n)}function s(e,n){e= "+n)}function c(e,n){var t=new Error(e?"Debug Failure. "+e:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(t,n||c),t}function l(e,n){return void 0===e||null===e?c(n):e}function u(e,n){for(var t=0,r=e;t0&&0===r[0][0]?r[0][1]:"0";if(t){for(var a="",i=e,o=r.length-1;o>=0&&0!==i;o--){var s=r[o],c=s[0],l=s[1];0!==c&&(i&c)===c&&(i&=~c,a=l+(a?"|":"")+a)}if(0===i)return a}else for(var u=0,d=r;u=0,"Invalid argument: major"),e.Debug.assert(a>=0,"Invalid argument: minor"),e.Debug.assert(i>=0,"Invalid argument: patch"),e.Debug.assert(!s||t.test(s),"Invalid argument: prerelease"),e.Debug.assert(!c||r.test(c),"Invalid argument: build"),this.major=n,this.minor=a,this.patch=i,this.prerelease=s?s.split("."):e.emptyArray,this.build=c?c.split("."):e.emptyArray}return n.tryParse=function(e){var t=o(e);if(t){var r=t.major,a=t.minor,i=t.patch,s=t.prerelease,c=t.build;return new n(r,a,i,s,c)}},n.prototype.compareTo=function(n){return this===n?0:void 0===n?1:e.compareValues(this.major,n.major)||e.compareValues(this.minor,n.minor)||e.compareValues(this.patch,n.patch)||s(this.prerelease,n.prerelease)},n.prototype.increment=function(t){switch(t){case"major":return new n(this.major+1,0,0);case"minor":return new n(this.major,this.minor+1,0);case"patch":return new n(this.major,this.minor,this.patch+1);default:return e.Debug.assertNever(t)}},n.prototype.toString=function(){var n=this.major+"."+this.minor+"."+this.patch;return e.some(this.prerelease)&&(n+="-"+this.prerelease.join(".")),e.some(this.build)&&(n+="+"+this.build.join(".")),n},n.zero=new n(0,0,0),n}();function o(e){var a=n.exec(e);if(a){var i=a[1],o=a[2],s=void 0===o?"0":o,c=a[3],l=void 0===c?"0":c,u=a[4],d=void 0===u?"":u,p=a[5],m=void 0===p?"":p;if((!d||t.test(d))&&(!m||r.test(m)))return{major:parseInt(i,10),minor:parseInt(s,10),patch:parseInt(l,10),prerelease:d,build:m}}}function s(n,t){if(n===t)return 0;if(0===n.length)return 0===t.length?0:1;if(0===t.length)return-1;for(var r=Math.min(n.length,t.length),i=0;i|>=|=)?\s*([a-z0-9-+.*]+)$/i;function f(e){for(var n=[],t=0,r=e.trim().split(l);t=",r.version)),v(a.major)||t.push(v(a.minor)?h("<",a.version.increment("major")):v(a.patch)?h("<",a.version.increment("minor")):h("<=",a.version)),!0)}function y(e,n,t){var r=_(n);if(!r)return!1;var a=r.version,o=r.major,s=r.minor,c=r.patch;if(v(o))"<"!==e&&">"!==e||t.push(h("<",i.zero));else switch(e){case"~":t.push(h(">=",a)),t.push(h("<",a.increment(v(s)?"major":"minor")));break;case"^":t.push(h(">=",a)),t.push(h("<",a.increment(a.major>0||v(s)?"major":a.minor>0||v(c)?"minor":"patch")));break;case"<":case">=":t.push(h(e,a));break;case"<=":case">":t.push(v(s)?h("<="===e?"<":">=",a.increment("major")):v(c)?h("<="===e?"<":">=",a.increment("minor")):h(e,a));break;case"=":case void 0:v(s)||v(c)?(t.push(h(">=",a)),t.push(h("<",a.increment(v(s)?"major":"minor")))):t.push(h("=",a));break;default:return!1}return!0}function v(e){return"*"===e||"x"===e||"X"===e}function h(e,n){return{operator:e,operand:n}}function b(e,n){if(0===n.length)return!0;for(var t=0,r=n;t":return a>0;case">=":return a>=0;case"=":return 0===a;default:return e.Debug.assertNever(t)}}function S(n){return e.map(n,x).join(" || ")||"*"}function x(n){return e.map(n,L).join(" ")}function L(e){return""+e.operator+e.operand}}(u||(u={})),function(e){(function(e){e[e["Unknown"]=0]="Unknown",e[e["EndOfFileToken"]=1]="EndOfFileToken",e[e["SingleLineCommentTrivia"]=2]="SingleLineCommentTrivia",e[e["MultiLineCommentTrivia"]=3]="MultiLineCommentTrivia",e[e["NewLineTrivia"]=4]="NewLineTrivia",e[e["WhitespaceTrivia"]=5]="WhitespaceTrivia",e[e["ShebangTrivia"]=6]="ShebangTrivia",e[e["ConflictMarkerTrivia"]=7]="ConflictMarkerTrivia",e[e["NumericLiteral"]=8]="NumericLiteral",e[e["BigIntLiteral"]=9]="BigIntLiteral",e[e["StringLiteral"]=10]="StringLiteral",e[e["JsxText"]=11]="JsxText",e[e["JsxTextAllWhiteSpaces"]=12]="JsxTextAllWhiteSpaces",e[e["RegularExpressionLiteral"]=13]="RegularExpressionLiteral",e[e["NoSubstitutionTemplateLiteral"]=14]="NoSubstitutionTemplateLiteral",e[e["TemplateHead"]=15]="TemplateHead",e[e["TemplateMiddle"]=16]="TemplateMiddle",e[e["TemplateTail"]=17]="TemplateTail",e[e["OpenBraceToken"]=18]="OpenBraceToken",e[e["CloseBraceToken"]=19]="CloseBraceToken",e[e["OpenParenToken"]=20]="OpenParenToken",e[e["CloseParenToken"]=21]="CloseParenToken",e[e["OpenBracketToken"]=22]="OpenBracketToken",e[e["CloseBracketToken"]=23]="CloseBracketToken",e[e["DotToken"]=24]="DotToken",e[e["DotDotDotToken"]=25]="DotDotDotToken",e[e["SemicolonToken"]=26]="SemicolonToken",e[e["CommaToken"]=27]="CommaToken",e[e["QuestionDotToken"]=28]="QuestionDotToken",e[e["LessThanToken"]=29]="LessThanToken",e[e["LessThanSlashToken"]=30]="LessThanSlashToken",e[e["GreaterThanToken"]=31]="GreaterThanToken",e[e["LessThanEqualsToken"]=32]="LessThanEqualsToken",e[e["GreaterThanEqualsToken"]=33]="GreaterThanEqualsToken",e[e["EqualsEqualsToken"]=34]="EqualsEqualsToken",e[e["ExclamationEqualsToken"]=35]="ExclamationEqualsToken",e[e["EqualsEqualsEqualsToken"]=36]="EqualsEqualsEqualsToken",e[e["ExclamationEqualsEqualsToken"]=37]="ExclamationEqualsEqualsToken",e[e["EqualsGreaterThanToken"]=38]="EqualsGreaterThanToken",e[e["PlusToken"]=39]="PlusToken",e[e["MinusToken"]=40]="MinusToken",e[e["AsteriskToken"]=41]="AsteriskToken",e[e["AsteriskAsteriskToken"]=42]="AsteriskAsteriskToken",e[e["SlashToken"]=43]="SlashToken",e[e["PercentToken"]=44]="PercentToken",e[e["PlusPlusToken"]=45]="PlusPlusToken",e[e["MinusMinusToken"]=46]="MinusMinusToken",e[e["LessThanLessThanToken"]=47]="LessThanLessThanToken",e[e["GreaterThanGreaterThanToken"]=48]="GreaterThanGreaterThanToken",e[e["GreaterThanGreaterThanGreaterThanToken"]=49]="GreaterThanGreaterThanGreaterThanToken",e[e["AmpersandToken"]=50]="AmpersandToken",e[e["BarToken"]=51]="BarToken",e[e["CaretToken"]=52]="CaretToken",e[e["ExclamationToken"]=53]="ExclamationToken",e[e["TildeToken"]=54]="TildeToken",e[e["AmpersandAmpersandToken"]=55]="AmpersandAmpersandToken",e[e["BarBarToken"]=56]="BarBarToken",e[e["QuestionToken"]=57]="QuestionToken",e[e["ColonToken"]=58]="ColonToken",e[e["AtToken"]=59]="AtToken",e[e["QuestionQuestionToken"]=60]="QuestionQuestionToken",e[e["BacktickToken"]=61]="BacktickToken",e[e["EqualsToken"]=62]="EqualsToken",e[e["PlusEqualsToken"]=63]="PlusEqualsToken",e[e["MinusEqualsToken"]=64]="MinusEqualsToken",e[e["AsteriskEqualsToken"]=65]="AsteriskEqualsToken",e[e["AsteriskAsteriskEqualsToken"]=66]="AsteriskAsteriskEqualsToken",e[e["SlashEqualsToken"]=67]="SlashEqualsToken",e[e["PercentEqualsToken"]=68]="PercentEqualsToken",e[e["LessThanLessThanEqualsToken"]=69]="LessThanLessThanEqualsToken",e[e["GreaterThanGreaterThanEqualsToken"]=70]="GreaterThanGreaterThanEqualsToken",e[e["GreaterThanGreaterThanGreaterThanEqualsToken"]=71]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e["AmpersandEqualsToken"]=72]="AmpersandEqualsToken",e[e["BarEqualsToken"]=73]="BarEqualsToken",e[e["CaretEqualsToken"]=74]="CaretEqualsToken",e[e["Identifier"]=75]="Identifier",e[e["BreakKeyword"]=76]="BreakKeyword",e[e["CaseKeyword"]=77]="CaseKeyword",e[e["CatchKeyword"]=78]="CatchKeyword",e[e["ClassKeyword"]=79]="ClassKeyword",e[e["ConstKeyword"]=80]="ConstKeyword",e[e["ContinueKeyword"]=81]="ContinueKeyword",e[e["DebuggerKeyword"]=82]="DebuggerKeyword",e[e["DefaultKeyword"]=83]="DefaultKeyword",e[e["DeleteKeyword"]=84]="DeleteKeyword",e[e["DoKeyword"]=85]="DoKeyword",e[e["ElseKeyword"]=86]="ElseKeyword",e[e["EnumKeyword"]=87]="EnumKeyword",e[e["ExportKeyword"]=88]="ExportKeyword",e[e["ExtendsKeyword"]=89]="ExtendsKeyword",e[e["FalseKeyword"]=90]="FalseKeyword",e[e["FinallyKeyword"]=91]="FinallyKeyword",e[e["ForKeyword"]=92]="ForKeyword",e[e["FunctionKeyword"]=93]="FunctionKeyword",e[e["IfKeyword"]=94]="IfKeyword",e[e["ImportKeyword"]=95]="ImportKeyword",e[e["InKeyword"]=96]="InKeyword",e[e["InstanceOfKeyword"]=97]="InstanceOfKeyword",e[e["NewKeyword"]=98]="NewKeyword",e[e["NullKeyword"]=99]="NullKeyword",e[e["ReturnKeyword"]=100]="ReturnKeyword",e[e["SuperKeyword"]=101]="SuperKeyword",e[e["SwitchKeyword"]=102]="SwitchKeyword",e[e["ThisKeyword"]=103]="ThisKeyword",e[e["ThrowKeyword"]=104]="ThrowKeyword",e[e["TrueKeyword"]=105]="TrueKeyword",e[e["TryKeyword"]=106]="TryKeyword",e[e["TypeOfKeyword"]=107]="TypeOfKeyword",e[e["VarKeyword"]=108]="VarKeyword",e[e["VoidKeyword"]=109]="VoidKeyword",e[e["WhileKeyword"]=110]="WhileKeyword",e[e["WithKeyword"]=111]="WithKeyword",e[e["ImplementsKeyword"]=112]="ImplementsKeyword",e[e["InterfaceKeyword"]=113]="InterfaceKeyword",e[e["LetKeyword"]=114]="LetKeyword",e[e["PackageKeyword"]=115]="PackageKeyword",e[e["PrivateKeyword"]=116]="PrivateKeyword",e[e["ProtectedKeyword"]=117]="ProtectedKeyword",e[e["PublicKeyword"]=118]="PublicKeyword",e[e["StaticKeyword"]=119]="StaticKeyword",e[e["YieldKeyword"]=120]="YieldKeyword",e[e["AbstractKeyword"]=121]="AbstractKeyword",e[e["AsKeyword"]=122]="AsKeyword",e[e["AssertsKeyword"]=123]="AssertsKeyword",e[e["AnyKeyword"]=124]="AnyKeyword",e[e["AsyncKeyword"]=125]="AsyncKeyword",e[e["AwaitKeyword"]=126]="AwaitKeyword",e[e["BooleanKeyword"]=127]="BooleanKeyword",e[e["ConstructorKeyword"]=128]="ConstructorKeyword",e[e["DeclareKeyword"]=129]="DeclareKeyword",e[e["GetKeyword"]=130]="GetKeyword",e[e["InferKeyword"]=131]="InferKeyword",e[e["IsKeyword"]=132]="IsKeyword",e[e["KeyOfKeyword"]=133]="KeyOfKeyword",e[e["ModuleKeyword"]=134]="ModuleKeyword",e[e["NamespaceKeyword"]=135]="NamespaceKeyword",e[e["NeverKeyword"]=136]="NeverKeyword",e[e["ReadonlyKeyword"]=137]="ReadonlyKeyword",e[e["RequireKeyword"]=138]="RequireKeyword",e[e["NumberKeyword"]=139]="NumberKeyword",e[e["ObjectKeyword"]=140]="ObjectKeyword",e[e["SetKeyword"]=141]="SetKeyword",e[e["StringKeyword"]=142]="StringKeyword",e[e["SymbolKeyword"]=143]="SymbolKeyword",e[e["TypeKeyword"]=144]="TypeKeyword",e[e["UndefinedKeyword"]=145]="UndefinedKeyword",e[e["UniqueKeyword"]=146]="UniqueKeyword",e[e["UnknownKeyword"]=147]="UnknownKeyword",e[e["FromKeyword"]=148]="FromKeyword",e[e["GlobalKeyword"]=149]="GlobalKeyword",e[e["BigIntKeyword"]=150]="BigIntKeyword",e[e["OfKeyword"]=151]="OfKeyword",e[e["QualifiedName"]=152]="QualifiedName",e[e["ComputedPropertyName"]=153]="ComputedPropertyName",e[e["TypeParameter"]=154]="TypeParameter",e[e["Parameter"]=155]="Parameter",e[e["Decorator"]=156]="Decorator",e[e["PropertySignature"]=157]="PropertySignature",e[e["PropertyDeclaration"]=158]="PropertyDeclaration",e[e["MethodSignature"]=159]="MethodSignature",e[e["MethodDeclaration"]=160]="MethodDeclaration",e[e["Constructor"]=161]="Constructor",e[e["GetAccessor"]=162]="GetAccessor",e[e["SetAccessor"]=163]="SetAccessor",e[e["CallSignature"]=164]="CallSignature",e[e["ConstructSignature"]=165]="ConstructSignature",e[e["IndexSignature"]=166]="IndexSignature",e[e["TypePredicate"]=167]="TypePredicate",e[e["TypeReference"]=168]="TypeReference",e[e["FunctionType"]=169]="FunctionType",e[e["ConstructorType"]=170]="ConstructorType",e[e["TypeQuery"]=171]="TypeQuery",e[e["TypeLiteral"]=172]="TypeLiteral",e[e["ArrayType"]=173]="ArrayType",e[e["TupleType"]=174]="TupleType",e[e["OptionalType"]=175]="OptionalType",e[e["RestType"]=176]="RestType",e[e["UnionType"]=177]="UnionType",e[e["IntersectionType"]=178]="IntersectionType",e[e["ConditionalType"]=179]="ConditionalType",e[e["InferType"]=180]="InferType",e[e["ParenthesizedType"]=181]="ParenthesizedType",e[e["ThisType"]=182]="ThisType",e[e["TypeOperator"]=183]="TypeOperator",e[e["IndexedAccessType"]=184]="IndexedAccessType",e[e["MappedType"]=185]="MappedType",e[e["LiteralType"]=186]="LiteralType",e[e["ImportType"]=187]="ImportType",e[e["ObjectBindingPattern"]=188]="ObjectBindingPattern",e[e["ArrayBindingPattern"]=189]="ArrayBindingPattern",e[e["BindingElement"]=190]="BindingElement",e[e["ArrayLiteralExpression"]=191]="ArrayLiteralExpression",e[e["ObjectLiteralExpression"]=192]="ObjectLiteralExpression",e[e["PropertyAccessExpression"]=193]="PropertyAccessExpression",e[e["ElementAccessExpression"]=194]="ElementAccessExpression",e[e["CallExpression"]=195]="CallExpression",e[e["NewExpression"]=196]="NewExpression",e[e["TaggedTemplateExpression"]=197]="TaggedTemplateExpression",e[e["TypeAssertionExpression"]=198]="TypeAssertionExpression",e[e["ParenthesizedExpression"]=199]="ParenthesizedExpression",e[e["FunctionExpression"]=200]="FunctionExpression",e[e["ArrowFunction"]=201]="ArrowFunction",e[e["DeleteExpression"]=202]="DeleteExpression",e[e["TypeOfExpression"]=203]="TypeOfExpression",e[e["VoidExpression"]=204]="VoidExpression",e[e["AwaitExpression"]=205]="AwaitExpression",e[e["PrefixUnaryExpression"]=206]="PrefixUnaryExpression",e[e["PostfixUnaryExpression"]=207]="PostfixUnaryExpression",e[e["BinaryExpression"]=208]="BinaryExpression",e[e["ConditionalExpression"]=209]="ConditionalExpression",e[e["TemplateExpression"]=210]="TemplateExpression",e[e["YieldExpression"]=211]="YieldExpression",e[e["SpreadElement"]=212]="SpreadElement",e[e["ClassExpression"]=213]="ClassExpression",e[e["OmittedExpression"]=214]="OmittedExpression",e[e["ExpressionWithTypeArguments"]=215]="ExpressionWithTypeArguments",e[e["AsExpression"]=216]="AsExpression",e[e["NonNullExpression"]=217]="NonNullExpression",e[e["MetaProperty"]=218]="MetaProperty",e[e["SyntheticExpression"]=219]="SyntheticExpression",e[e["TemplateSpan"]=220]="TemplateSpan",e[e["SemicolonClassElement"]=221]="SemicolonClassElement",e[e["Block"]=222]="Block",e[e["EmptyStatement"]=223]="EmptyStatement",e[e["VariableStatement"]=224]="VariableStatement",e[e["ExpressionStatement"]=225]="ExpressionStatement",e[e["IfStatement"]=226]="IfStatement",e[e["DoStatement"]=227]="DoStatement",e[e["WhileStatement"]=228]="WhileStatement",e[e["ForStatement"]=229]="ForStatement",e[e["ForInStatement"]=230]="ForInStatement",e[e["ForOfStatement"]=231]="ForOfStatement",e[e["ContinueStatement"]=232]="ContinueStatement",e[e["BreakStatement"]=233]="BreakStatement",e[e["ReturnStatement"]=234]="ReturnStatement",e[e["WithStatement"]=235]="WithStatement",e[e["SwitchStatement"]=236]="SwitchStatement",e[e["LabeledStatement"]=237]="LabeledStatement",e[e["ThrowStatement"]=238]="ThrowStatement",e[e["TryStatement"]=239]="TryStatement",e[e["DebuggerStatement"]=240]="DebuggerStatement",e[e["VariableDeclaration"]=241]="VariableDeclaration",e[e["VariableDeclarationList"]=242]="VariableDeclarationList",e[e["FunctionDeclaration"]=243]="FunctionDeclaration",e[e["ClassDeclaration"]=244]="ClassDeclaration",e[e["InterfaceDeclaration"]=245]="InterfaceDeclaration",e[e["TypeAliasDeclaration"]=246]="TypeAliasDeclaration",e[e["EnumDeclaration"]=247]="EnumDeclaration",e[e["ModuleDeclaration"]=248]="ModuleDeclaration",e[e["ModuleBlock"]=249]="ModuleBlock",e[e["CaseBlock"]=250]="CaseBlock",e[e["NamespaceExportDeclaration"]=251]="NamespaceExportDeclaration",e[e["ImportEqualsDeclaration"]=252]="ImportEqualsDeclaration",e[e["ImportDeclaration"]=253]="ImportDeclaration",e[e["ImportClause"]=254]="ImportClause",e[e["NamespaceImport"]=255]="NamespaceImport",e[e["NamedImports"]=256]="NamedImports",e[e["ImportSpecifier"]=257]="ImportSpecifier",e[e["ExportAssignment"]=258]="ExportAssignment",e[e["ExportDeclaration"]=259]="ExportDeclaration",e[e["NamedExports"]=260]="NamedExports",e[e["ExportSpecifier"]=261]="ExportSpecifier",e[e["MissingDeclaration"]=262]="MissingDeclaration",e[e["ExternalModuleReference"]=263]="ExternalModuleReference",e[e["JsxElement"]=264]="JsxElement",e[e["JsxSelfClosingElement"]=265]="JsxSelfClosingElement",e[e["JsxOpeningElement"]=266]="JsxOpeningElement",e[e["JsxClosingElement"]=267]="JsxClosingElement",e[e["JsxFragment"]=268]="JsxFragment",e[e["JsxOpeningFragment"]=269]="JsxOpeningFragment",e[e["JsxClosingFragment"]=270]="JsxClosingFragment",e[e["JsxAttribute"]=271]="JsxAttribute",e[e["JsxAttributes"]=272]="JsxAttributes",e[e["JsxSpreadAttribute"]=273]="JsxSpreadAttribute",e[e["JsxExpression"]=274]="JsxExpression",e[e["CaseClause"]=275]="CaseClause",e[e["DefaultClause"]=276]="DefaultClause",e[e["HeritageClause"]=277]="HeritageClause",e[e["CatchClause"]=278]="CatchClause",e[e["PropertyAssignment"]=279]="PropertyAssignment",e[e["ShorthandPropertyAssignment"]=280]="ShorthandPropertyAssignment",e[e["SpreadAssignment"]=281]="SpreadAssignment",e[e["EnumMember"]=282]="EnumMember",e[e["UnparsedPrologue"]=283]="UnparsedPrologue",e[e["UnparsedPrepend"]=284]="UnparsedPrepend",e[e["UnparsedText"]=285]="UnparsedText",e[e["UnparsedInternalText"]=286]="UnparsedInternalText",e[e["UnparsedSyntheticReference"]=287]="UnparsedSyntheticReference",e[e["SourceFile"]=288]="SourceFile",e[e["Bundle"]=289]="Bundle",e[e["UnparsedSource"]=290]="UnparsedSource",e[e["InputFiles"]=291]="InputFiles",e[e["JSDocTypeExpression"]=292]="JSDocTypeExpression",e[e["JSDocAllType"]=293]="JSDocAllType",e[e["JSDocUnknownType"]=294]="JSDocUnknownType",e[e["JSDocNullableType"]=295]="JSDocNullableType",e[e["JSDocNonNullableType"]=296]="JSDocNonNullableType",e[e["JSDocOptionalType"]=297]="JSDocOptionalType",e[e["JSDocFunctionType"]=298]="JSDocFunctionType",e[e["JSDocVariadicType"]=299]="JSDocVariadicType",e[e["JSDocNamepathType"]=300]="JSDocNamepathType",e[e["JSDocComment"]=301]="JSDocComment",e[e["JSDocTypeLiteral"]=302]="JSDocTypeLiteral",e[e["JSDocSignature"]=303]="JSDocSignature",e[e["JSDocTag"]=304]="JSDocTag",e[e["JSDocAugmentsTag"]=305]="JSDocAugmentsTag",e[e["JSDocAuthorTag"]=306]="JSDocAuthorTag",e[e["JSDocClassTag"]=307]="JSDocClassTag",e[e["JSDocCallbackTag"]=308]="JSDocCallbackTag",e[e["JSDocEnumTag"]=309]="JSDocEnumTag",e[e["JSDocParameterTag"]=310]="JSDocParameterTag",e[e["JSDocReturnTag"]=311]="JSDocReturnTag",e[e["JSDocThisTag"]=312]="JSDocThisTag",e[e["JSDocTypeTag"]=313]="JSDocTypeTag",e[e["JSDocTemplateTag"]=314]="JSDocTemplateTag",e[e["JSDocTypedefTag"]=315]="JSDocTypedefTag",e[e["JSDocPropertyTag"]=316]="JSDocPropertyTag",e[e["SyntaxList"]=317]="SyntaxList",e[e["NotEmittedStatement"]=318]="NotEmittedStatement",e[e["PartiallyEmittedExpression"]=319]="PartiallyEmittedExpression",e[e["CommaListExpression"]=320]="CommaListExpression",e[e["MergeDeclarationMarker"]=321]="MergeDeclarationMarker",e[e["EndOfDeclarationMarker"]=322]="EndOfDeclarationMarker",e[e["SyntheticReferenceExpression"]=323]="SyntheticReferenceExpression",e[e["Count"]=324]="Count",e[e["FirstAssignment"]=62]="FirstAssignment",e[e["LastAssignment"]=74]="LastAssignment",e[e["FirstCompoundAssignment"]=63]="FirstCompoundAssignment",e[e["LastCompoundAssignment"]=74]="LastCompoundAssignment",e[e["FirstReservedWord"]=76]="FirstReservedWord",e[e["LastReservedWord"]=111]="LastReservedWord",e[e["FirstKeyword"]=76]="FirstKeyword",e[e["LastKeyword"]=151]="LastKeyword",e[e["FirstFutureReservedWord"]=112]="FirstFutureReservedWord",e[e["LastFutureReservedWord"]=120]="LastFutureReservedWord",e[e["FirstTypeNode"]=167]="FirstTypeNode",e[e["LastTypeNode"]=187]="LastTypeNode",e[e["FirstPunctuation"]=18]="FirstPunctuation",e[e["LastPunctuation"]=74]="LastPunctuation",e[e["FirstToken"]=0]="FirstToken",e[e["LastToken"]=151]="LastToken",e[e["FirstTriviaToken"]=2]="FirstTriviaToken",e[e["LastTriviaToken"]=7]="LastTriviaToken",e[e["FirstLiteralToken"]=8]="FirstLiteralToken",e[e["LastLiteralToken"]=14]="LastLiteralToken",e[e["FirstTemplateToken"]=14]="FirstTemplateToken",e[e["LastTemplateToken"]=17]="LastTemplateToken",e[e["FirstBinaryOperator"]=29]="FirstBinaryOperator",e[e["LastBinaryOperator"]=74]="LastBinaryOperator",e[e["FirstStatement"]=224]="FirstStatement",e[e["LastStatement"]=240]="LastStatement",e[e["FirstNode"]=152]="FirstNode",e[e["FirstJSDocNode"]=292]="FirstJSDocNode",e[e["LastJSDocNode"]=316]="LastJSDocNode",e[e["FirstJSDocTagNode"]=304]="FirstJSDocTagNode",e[e["LastJSDocTagNode"]=316]="LastJSDocTagNode",e[e["FirstContextualKeyword"]=121]="FirstContextualKeyword",e[e["LastContextualKeyword"]=151]="LastContextualKeyword"})(e.SyntaxKind||(e.SyntaxKind={})),function(e){e[e["None"]=0]="None",e[e["Let"]=1]="Let",e[e["Const"]=2]="Const",e[e["NestedNamespace"]=4]="NestedNamespace",e[e["Synthesized"]=8]="Synthesized",e[e["Namespace"]=16]="Namespace",e[e["OptionalChain"]=32]="OptionalChain",e[e["ExportContext"]=64]="ExportContext",e[e["ContainsThis"]=128]="ContainsThis",e[e["HasImplicitReturn"]=256]="HasImplicitReturn",e[e["HasExplicitReturn"]=512]="HasExplicitReturn",e[e["GlobalAugmentation"]=1024]="GlobalAugmentation",e[e["HasAsyncFunctions"]=2048]="HasAsyncFunctions",e[e["DisallowInContext"]=4096]="DisallowInContext",e[e["YieldContext"]=8192]="YieldContext",e[e["DecoratorContext"]=16384]="DecoratorContext",e[e["AwaitContext"]=32768]="AwaitContext",e[e["ThisNodeHasError"]=65536]="ThisNodeHasError",e[e["JavaScriptFile"]=131072]="JavaScriptFile",e[e["ThisNodeOrAnySubNodesHasError"]=262144]="ThisNodeOrAnySubNodesHasError",e[e["HasAggregatedChildData"]=524288]="HasAggregatedChildData",e[e["PossiblyContainsDynamicImport"]=1048576]="PossiblyContainsDynamicImport",e[e["PossiblyContainsImportMeta"]=2097152]="PossiblyContainsImportMeta",e[e["JSDoc"]=4194304]="JSDoc",e[e["Ambient"]=8388608]="Ambient",e[e["InWithStatement"]=16777216]="InWithStatement",e[e["JsonFile"]=33554432]="JsonFile",e[e["BlockScoped"]=3]="BlockScoped",e[e["ReachabilityCheckFlags"]=768]="ReachabilityCheckFlags",e[e["ReachabilityAndEmitFlags"]=2816]="ReachabilityAndEmitFlags",e[e["ContextFlags"]=25358336]="ContextFlags",e[e["TypeExcludesFlags"]=40960]="TypeExcludesFlags",e[e["PermanentlySetIncrementalFlags"]=3145728]="PermanentlySetIncrementalFlags"}(e.NodeFlags||(e.NodeFlags={})),function(e){e[e["None"]=0]="None",e[e["Export"]=1]="Export",e[e["Ambient"]=2]="Ambient",e[e["Public"]=4]="Public",e[e["Private"]=8]="Private",e[e["Protected"]=16]="Protected",e[e["Static"]=32]="Static",e[e["Readonly"]=64]="Readonly",e[e["Abstract"]=128]="Abstract",e[e["Async"]=256]="Async",e[e["Default"]=512]="Default",e[e["Const"]=2048]="Const",e[e["HasComputedFlags"]=536870912]="HasComputedFlags",e[e["AccessibilityModifier"]=28]="AccessibilityModifier",e[e["ParameterPropertyModifier"]=92]="ParameterPropertyModifier",e[e["NonPublicAccessibilityModifier"]=24]="NonPublicAccessibilityModifier",e[e["TypeScriptModifier"]=2270]="TypeScriptModifier",e[e["ExportDefault"]=513]="ExportDefault",e[e["All"]=3071]="All"}(e.ModifierFlags||(e.ModifierFlags={})),function(e){e[e["None"]=0]="None",e[e["IntrinsicNamedElement"]=1]="IntrinsicNamedElement",e[e["IntrinsicIndexedElement"]=2]="IntrinsicIndexedElement",e[e["IntrinsicElement"]=3]="IntrinsicElement"}(e.JsxFlags||(e.JsxFlags={})),function(e){e[e["Succeeded"]=1]="Succeeded",e[e["Failed"]=2]="Failed",e[e["Reported"]=4]="Reported",e[e["ReportsUnmeasurable"]=8]="ReportsUnmeasurable",e[e["ReportsUnreliable"]=16]="ReportsUnreliable",e[e["ReportsMask"]=24]="ReportsMask"}(e.RelationComparisonResult||(e.RelationComparisonResult={})),function(e){e[e["None"]=0]="None",e[e["Auto"]=1]="Auto",e[e["Loop"]=2]="Loop",e[e["Unique"]=3]="Unique",e[e["Node"]=4]="Node",e[e["KindMask"]=7]="KindMask",e[e["ReservedInNestedScopes"]=8]="ReservedInNestedScopes",e[e["Optimistic"]=16]="Optimistic",e[e["FileLevel"]=32]="FileLevel"}(e.GeneratedIdentifierFlags||(e.GeneratedIdentifierFlags={})),function(e){e[e["None"]=0]="None",e[e["PrecedingLineBreak"]=1]="PrecedingLineBreak",e[e["PrecedingJSDocComment"]=2]="PrecedingJSDocComment",e[e["Unterminated"]=4]="Unterminated",e[e["ExtendedUnicodeEscape"]=8]="ExtendedUnicodeEscape",e[e["Scientific"]=16]="Scientific",e[e["Octal"]=32]="Octal",e[e["HexSpecifier"]=64]="HexSpecifier",e[e["BinarySpecifier"]=128]="BinarySpecifier",e[e["OctalSpecifier"]=256]="OctalSpecifier",e[e["ContainsSeparator"]=512]="ContainsSeparator",e[e["UnicodeEscape"]=1024]="UnicodeEscape",e[e["BinaryOrOctalSpecifier"]=384]="BinaryOrOctalSpecifier",e[e["NumericLiteralFlags"]=1008]="NumericLiteralFlags"}(e.TokenFlags||(e.TokenFlags={})),function(e){e[e["Unreachable"]=1]="Unreachable",e[e["Start"]=2]="Start",e[e["BranchLabel"]=4]="BranchLabel",e[e["LoopLabel"]=8]="LoopLabel",e[e["Assignment"]=16]="Assignment",e[e["TrueCondition"]=32]="TrueCondition",e[e["FalseCondition"]=64]="FalseCondition",e[e["SwitchClause"]=128]="SwitchClause",e[e["ArrayMutation"]=256]="ArrayMutation",e[e["Call"]=512]="Call",e[e["Referenced"]=1024]="Referenced",e[e["Shared"]=2048]="Shared",e[e["PreFinally"]=4096]="PreFinally",e[e["AfterFinally"]=8192]="AfterFinally",e[e["Cached"]=16384]="Cached",e[e["Label"]=12]="Label",e[e["Condition"]=96]="Condition"}(e.FlowFlags||(e.FlowFlags={}));var n,t=function(){function e(){}return e}();function r(e,t){void 0===t&&(t=!0);var r=n[e.category];return t?r.toLowerCase():r}e.OperationCanceledException=t,function(e){e[e["Import"]=0]="Import",e[e["ReferenceFile"]=1]="ReferenceFile",e[e["TypeReferenceDirective"]=2]="TypeReferenceDirective"}(e.RefFileKind||(e.RefFileKind={})),function(e){e[e["Not"]=0]="Not",e[e["SafeModules"]=1]="SafeModules",e[e["Completely"]=2]="Completely"}(e.StructureIsReused||(e.StructureIsReused={})),function(e){e[e["Success"]=0]="Success",e[e["DiagnosticsPresent_OutputsSkipped"]=1]="DiagnosticsPresent_OutputsSkipped",e[e["DiagnosticsPresent_OutputsGenerated"]=2]="DiagnosticsPresent_OutputsGenerated",e[e["InvalidProject_OutputsSkipped"]=3]="InvalidProject_OutputsSkipped",e[e["ProjectReferenceCycle_OutputsSkipped"]=4]="ProjectReferenceCycle_OutputsSkipped",e[e["ProjectReferenceCycle_OutputsSkupped"]=4]="ProjectReferenceCycle_OutputsSkupped"}(e.ExitStatus||(e.ExitStatus={})),function(e){e[e["None"]=0]="None",e[e["Literal"]=1]="Literal",e[e["Subtype"]=2]="Subtype"}(e.UnionReduction||(e.UnionReduction={})),function(e){e[e["None"]=0]="None",e[e["Signature"]=1]="Signature",e[e["NoConstraints"]=2]="NoConstraints",e[e["Completion"]=4]="Completion"}(e.ContextFlags||(e.ContextFlags={})),function(e){e[e["None"]=0]="None",e[e["NoTruncation"]=1]="NoTruncation",e[e["WriteArrayAsGenericType"]=2]="WriteArrayAsGenericType",e[e["GenerateNamesForShadowedTypeParams"]=4]="GenerateNamesForShadowedTypeParams",e[e["UseStructuralFallback"]=8]="UseStructuralFallback",e[e["ForbidIndexedAccessSymbolReferences"]=16]="ForbidIndexedAccessSymbolReferences",e[e["WriteTypeArgumentsOfSignature"]=32]="WriteTypeArgumentsOfSignature",e[e["UseFullyQualifiedType"]=64]="UseFullyQualifiedType",e[e["UseOnlyExternalAliasing"]=128]="UseOnlyExternalAliasing",e[e["SuppressAnyReturnType"]=256]="SuppressAnyReturnType",e[e["WriteTypeParametersInQualifiedName"]=512]="WriteTypeParametersInQualifiedName",e[e["MultilineObjectLiterals"]=1024]="MultilineObjectLiterals",e[e["WriteClassExpressionAsTypeLiteral"]=2048]="WriteClassExpressionAsTypeLiteral",e[e["UseTypeOfFunction"]=4096]="UseTypeOfFunction",e[e["OmitParameterModifiers"]=8192]="OmitParameterModifiers",e[e["UseAliasDefinedOutsideCurrentScope"]=16384]="UseAliasDefinedOutsideCurrentScope",e[e["AllowThisInObjectLiteral"]=32768]="AllowThisInObjectLiteral",e[e["AllowQualifedNameInPlaceOfIdentifier"]=65536]="AllowQualifedNameInPlaceOfIdentifier",e[e["AllowAnonymousIdentifier"]=131072]="AllowAnonymousIdentifier",e[e["AllowEmptyUnionOrIntersection"]=262144]="AllowEmptyUnionOrIntersection",e[e["AllowEmptyTuple"]=524288]="AllowEmptyTuple",e[e["AllowUniqueESSymbolType"]=1048576]="AllowUniqueESSymbolType",e[e["AllowEmptyIndexInfoType"]=2097152]="AllowEmptyIndexInfoType",e[e["AllowNodeModulesRelativePaths"]=67108864]="AllowNodeModulesRelativePaths",e[e["DoNotIncludeSymbolChain"]=134217728]="DoNotIncludeSymbolChain",e[e["IgnoreErrors"]=70221824]="IgnoreErrors",e[e["InObjectTypeLiteral"]=4194304]="InObjectTypeLiteral",e[e["InTypeAlias"]=8388608]="InTypeAlias",e[e["InInitialEntityName"]=16777216]="InInitialEntityName",e[e["InReverseMappedType"]=33554432]="InReverseMappedType"}(e.NodeBuilderFlags||(e.NodeBuilderFlags={})),function(e){e[e["None"]=0]="None",e[e["NoTruncation"]=1]="NoTruncation",e[e["WriteArrayAsGenericType"]=2]="WriteArrayAsGenericType",e[e["UseStructuralFallback"]=8]="UseStructuralFallback",e[e["WriteTypeArgumentsOfSignature"]=32]="WriteTypeArgumentsOfSignature",e[e["UseFullyQualifiedType"]=64]="UseFullyQualifiedType",e[e["SuppressAnyReturnType"]=256]="SuppressAnyReturnType",e[e["MultilineObjectLiterals"]=1024]="MultilineObjectLiterals",e[e["WriteClassExpressionAsTypeLiteral"]=2048]="WriteClassExpressionAsTypeLiteral",e[e["UseTypeOfFunction"]=4096]="UseTypeOfFunction",e[e["OmitParameterModifiers"]=8192]="OmitParameterModifiers",e[e["UseAliasDefinedOutsideCurrentScope"]=16384]="UseAliasDefinedOutsideCurrentScope",e[e["AllowUniqueESSymbolType"]=1048576]="AllowUniqueESSymbolType",e[e["AddUndefined"]=131072]="AddUndefined",e[e["WriteArrowStyleSignature"]=262144]="WriteArrowStyleSignature",e[e["InArrayType"]=524288]="InArrayType",e[e["InElementType"]=2097152]="InElementType",e[e["InFirstTypeArgument"]=4194304]="InFirstTypeArgument",e[e["InTypeAlias"]=8388608]="InTypeAlias",e[e["WriteOwnNameForAnyLike"]=0]="WriteOwnNameForAnyLike",e[e["NodeBuilderFlagsMask"]=9469291]="NodeBuilderFlagsMask"}(e.TypeFormatFlags||(e.TypeFormatFlags={})),function(e){e[e["None"]=0]="None",e[e["WriteTypeParametersOrArguments"]=1]="WriteTypeParametersOrArguments",e[e["UseOnlyExternalAliasing"]=2]="UseOnlyExternalAliasing",e[e["AllowAnyNodeKind"]=4]="AllowAnyNodeKind",e[e["UseAliasDefinedOutsideCurrentScope"]=8]="UseAliasDefinedOutsideCurrentScope",e[e["DoNotIncludeSymbolChain"]=16]="DoNotIncludeSymbolChain"}(e.SymbolFormatFlags||(e.SymbolFormatFlags={})),function(e){e[e["Accessible"]=0]="Accessible",e[e["NotAccessible"]=1]="NotAccessible",e[e["CannotBeNamed"]=2]="CannotBeNamed"}(e.SymbolAccessibility||(e.SymbolAccessibility={})),function(e){e[e["UnionOrIntersection"]=0]="UnionOrIntersection",e[e["Spread"]=1]="Spread"}(e.SyntheticSymbolKind||(e.SyntheticSymbolKind={})),function(e){e[e["This"]=0]="This",e[e["Identifier"]=1]="Identifier",e[e["AssertsThis"]=2]="AssertsThis",e[e["AssertsIdentifier"]=3]="AssertsIdentifier"}(e.TypePredicateKind||(e.TypePredicateKind={})),function(e){e[e["Unknown"]=0]="Unknown",e[e["TypeWithConstructSignatureAndValue"]=1]="TypeWithConstructSignatureAndValue",e[e["VoidNullableOrNeverType"]=2]="VoidNullableOrNeverType",e[e["NumberLikeType"]=3]="NumberLikeType",e[e["BigIntLikeType"]=4]="BigIntLikeType",e[e["StringLikeType"]=5]="StringLikeType",e[e["BooleanType"]=6]="BooleanType",e[e["ArrayLikeType"]=7]="ArrayLikeType",e[e["ESSymbolType"]=8]="ESSymbolType",e[e["Promise"]=9]="Promise",e[e["TypeWithCallSignature"]=10]="TypeWithCallSignature",e[e["ObjectType"]=11]="ObjectType"}(e.TypeReferenceSerializationKind||(e.TypeReferenceSerializationKind={})),function(e){e[e["None"]=0]="None",e[e["FunctionScopedVariable"]=1]="FunctionScopedVariable",e[e["BlockScopedVariable"]=2]="BlockScopedVariable",e[e["Property"]=4]="Property",e[e["EnumMember"]=8]="EnumMember",e[e["Function"]=16]="Function",e[e["Class"]=32]="Class",e[e["Interface"]=64]="Interface",e[e["ConstEnum"]=128]="ConstEnum",e[e["RegularEnum"]=256]="RegularEnum",e[e["ValueModule"]=512]="ValueModule",e[e["NamespaceModule"]=1024]="NamespaceModule",e[e["TypeLiteral"]=2048]="TypeLiteral",e[e["ObjectLiteral"]=4096]="ObjectLiteral",e[e["Method"]=8192]="Method",e[e["Constructor"]=16384]="Constructor",e[e["GetAccessor"]=32768]="GetAccessor",e[e["SetAccessor"]=65536]="SetAccessor",e[e["Signature"]=131072]="Signature",e[e["TypeParameter"]=262144]="TypeParameter",e[e["TypeAlias"]=524288]="TypeAlias",e[e["ExportValue"]=1048576]="ExportValue",e[e["Alias"]=2097152]="Alias",e[e["Prototype"]=4194304]="Prototype",e[e["ExportStar"]=8388608]="ExportStar",e[e["Optional"]=16777216]="Optional",e[e["Transient"]=33554432]="Transient",e[e["Assignment"]=67108864]="Assignment",e[e["ModuleExports"]=134217728]="ModuleExports",e[e["All"]=67108863]="All",e[e["Enum"]=384]="Enum",e[e["Variable"]=3]="Variable",e[e["Value"]=111551]="Value",e[e["Type"]=788968]="Type",e[e["Namespace"]=1920]="Namespace",e[e["Module"]=1536]="Module",e[e["Accessor"]=98304]="Accessor",e[e["FunctionScopedVariableExcludes"]=111550]="FunctionScopedVariableExcludes",e[e["BlockScopedVariableExcludes"]=111551]="BlockScopedVariableExcludes",e[e["ParameterExcludes"]=111551]="ParameterExcludes",e[e["PropertyExcludes"]=0]="PropertyExcludes",e[e["EnumMemberExcludes"]=900095]="EnumMemberExcludes",e[e["FunctionExcludes"]=110991]="FunctionExcludes",e[e["ClassExcludes"]=899503]="ClassExcludes",e[e["InterfaceExcludes"]=788872]="InterfaceExcludes",e[e["RegularEnumExcludes"]=899327]="RegularEnumExcludes",e[e["ConstEnumExcludes"]=899967]="ConstEnumExcludes",e[e["ValueModuleExcludes"]=110735]="ValueModuleExcludes",e[e["NamespaceModuleExcludes"]=0]="NamespaceModuleExcludes",e[e["MethodExcludes"]=103359]="MethodExcludes",e[e["GetAccessorExcludes"]=46015]="GetAccessorExcludes",e[e["SetAccessorExcludes"]=78783]="SetAccessorExcludes",e[e["TypeParameterExcludes"]=526824]="TypeParameterExcludes",e[e["TypeAliasExcludes"]=788968]="TypeAliasExcludes",e[e["AliasExcludes"]=2097152]="AliasExcludes",e[e["ModuleMember"]=2623475]="ModuleMember",e[e["ExportHasLocal"]=944]="ExportHasLocal",e[e["BlockScoped"]=418]="BlockScoped",e[e["PropertyOrAccessor"]=98308]="PropertyOrAccessor",e[e["ClassMember"]=106500]="ClassMember",e[e["ExportSupportsDefaultModifier"]=112]="ExportSupportsDefaultModifier",e[e["ExportDoesNotSupportDefaultModifier"]=-113]="ExportDoesNotSupportDefaultModifier",e[e["Classifiable"]=2885600]="Classifiable",e[e["LateBindingContainer"]=6256]="LateBindingContainer"}(e.SymbolFlags||(e.SymbolFlags={})),function(e){e[e["Numeric"]=0]="Numeric",e[e["Literal"]=1]="Literal"}(e.EnumKind||(e.EnumKind={})),function(e){e[e["Instantiated"]=1]="Instantiated",e[e["SyntheticProperty"]=2]="SyntheticProperty",e[e["SyntheticMethod"]=4]="SyntheticMethod",e[e["Readonly"]=8]="Readonly",e[e["ReadPartial"]=16]="ReadPartial",e[e["WritePartial"]=32]="WritePartial",e[e["HasNonUniformType"]=64]="HasNonUniformType",e[e["HasLiteralType"]=128]="HasLiteralType",e[e["ContainsPublic"]=256]="ContainsPublic",e[e["ContainsProtected"]=512]="ContainsProtected",e[e["ContainsPrivate"]=1024]="ContainsPrivate",e[e["ContainsStatic"]=2048]="ContainsStatic",e[e["Late"]=4096]="Late",e[e["ReverseMapped"]=8192]="ReverseMapped",e[e["OptionalParameter"]=16384]="OptionalParameter",e[e["RestParameter"]=32768]="RestParameter",e[e["DeferredType"]=65536]="DeferredType",e[e["Synthetic"]=6]="Synthetic",e[e["Discriminant"]=192]="Discriminant",e[e["Partial"]=48]="Partial"}(e.CheckFlags||(e.CheckFlags={})),function(e){e["Call"]="__call",e["Constructor"]="__constructor",e["New"]="__new",e["Index"]="__index",e["ExportStar"]="__export",e["Global"]="__global",e["Missing"]="__missing",e["Type"]="__type",e["Object"]="__object",e["JSXAttributes"]="__jsxAttributes",e["Class"]="__class",e["Function"]="__function",e["Computed"]="__computed",e["Resolving"]="__resolving__",e["ExportEquals"]="export=",e["Default"]="default",e["This"]="this"}(e.InternalSymbolName||(e.InternalSymbolName={})),function(e){e[e["TypeChecked"]=1]="TypeChecked",e[e["LexicalThis"]=2]="LexicalThis",e[e["CaptureThis"]=4]="CaptureThis",e[e["CaptureNewTarget"]=8]="CaptureNewTarget",e[e["SuperInstance"]=256]="SuperInstance",e[e["SuperStatic"]=512]="SuperStatic",e[e["ContextChecked"]=1024]="ContextChecked",e[e["AsyncMethodWithSuper"]=2048]="AsyncMethodWithSuper",e[e["AsyncMethodWithSuperBinding"]=4096]="AsyncMethodWithSuperBinding",e[e["CaptureArguments"]=8192]="CaptureArguments",e[e["EnumValuesComputed"]=16384]="EnumValuesComputed",e[e["LexicalModuleMergesWithClass"]=32768]="LexicalModuleMergesWithClass",e[e["LoopWithCapturedBlockScopedBinding"]=65536]="LoopWithCapturedBlockScopedBinding",e[e["ContainsCapturedBlockScopeBinding"]=131072]="ContainsCapturedBlockScopeBinding",e[e["CapturedBlockScopedBinding"]=262144]="CapturedBlockScopedBinding",e[e["BlockScopedBindingInLoop"]=524288]="BlockScopedBindingInLoop",e[e["ClassWithBodyScopedClassBinding"]=1048576]="ClassWithBodyScopedClassBinding",e[e["BodyScopedClassBinding"]=2097152]="BodyScopedClassBinding",e[e["NeedsLoopOutParameter"]=4194304]="NeedsLoopOutParameter",e[e["AssignmentsMarked"]=8388608]="AssignmentsMarked",e[e["ClassWithConstructorReference"]=16777216]="ClassWithConstructorReference",e[e["ConstructorReferenceInClass"]=33554432]="ConstructorReferenceInClass"}(e.NodeCheckFlags||(e.NodeCheckFlags={})),function(e){e[e["Any"]=1]="Any",e[e["Unknown"]=2]="Unknown",e[e["String"]=4]="String",e[e["Number"]=8]="Number",e[e["Boolean"]=16]="Boolean",e[e["Enum"]=32]="Enum",e[e["BigInt"]=64]="BigInt",e[e["StringLiteral"]=128]="StringLiteral",e[e["NumberLiteral"]=256]="NumberLiteral",e[e["BooleanLiteral"]=512]="BooleanLiteral",e[e["EnumLiteral"]=1024]="EnumLiteral",e[e["BigIntLiteral"]=2048]="BigIntLiteral",e[e["ESSymbol"]=4096]="ESSymbol",e[e["UniqueESSymbol"]=8192]="UniqueESSymbol",e[e["Void"]=16384]="Void",e[e["Undefined"]=32768]="Undefined",e[e["Null"]=65536]="Null",e[e["Never"]=131072]="Never",e[e["TypeParameter"]=262144]="TypeParameter",e[e["Object"]=524288]="Object",e[e["Union"]=1048576]="Union",e[e["Intersection"]=2097152]="Intersection",e[e["Index"]=4194304]="Index",e[e["IndexedAccess"]=8388608]="IndexedAccess",e[e["Conditional"]=16777216]="Conditional",e[e["Substitution"]=33554432]="Substitution",e[e["NonPrimitive"]=67108864]="NonPrimitive",e[e["AnyOrUnknown"]=3]="AnyOrUnknown",e[e["Nullable"]=98304]="Nullable",e[e["Literal"]=2944]="Literal",e[e["Unit"]=109440]="Unit",e[e["StringOrNumberLiteral"]=384]="StringOrNumberLiteral",e[e["StringOrNumberLiteralOrUnique"]=8576]="StringOrNumberLiteralOrUnique",e[e["DefinitelyFalsy"]=117632]="DefinitelyFalsy",e[e["PossiblyFalsy"]=117724]="PossiblyFalsy",e[e["Intrinsic"]=67359327]="Intrinsic",e[e["Primitive"]=131068]="Primitive",e[e["StringLike"]=132]="StringLike",e[e["NumberLike"]=296]="NumberLike",e[e["BigIntLike"]=2112]="BigIntLike",e[e["BooleanLike"]=528]="BooleanLike",e[e["EnumLike"]=1056]="EnumLike",e[e["ESSymbolLike"]=12288]="ESSymbolLike",e[e["VoidLike"]=49152]="VoidLike",e[e["DisjointDomains"]=67238908]="DisjointDomains",e[e["UnionOrIntersection"]=3145728]="UnionOrIntersection",e[e["StructuredType"]=3670016]="StructuredType",e[e["TypeVariable"]=8650752]="TypeVariable",e[e["InstantiableNonPrimitive"]=58982400]="InstantiableNonPrimitive",e[e["InstantiablePrimitive"]=4194304]="InstantiablePrimitive",e[e["Instantiable"]=63176704]="Instantiable",e[e["StructuredOrInstantiable"]=66846720]="StructuredOrInstantiable",e[e["ObjectFlagsType"]=3899392]="ObjectFlagsType",e[e["Simplifiable"]=25165824]="Simplifiable",e[e["Narrowable"]=133970943]="Narrowable",e[e["NotUnionOrUnit"]=67637251]="NotUnionOrUnit",e[e["NotPrimitiveUnion"]=66994211]="NotPrimitiveUnion",e[e["IncludesMask"]=68943871]="IncludesMask",e[e["IncludesStructuredOrInstantiable"]=262144]="IncludesStructuredOrInstantiable",e[e["IncludesNonWideningType"]=2097152]="IncludesNonWideningType",e[e["IncludesWildcard"]=4194304]="IncludesWildcard",e[e["IncludesEmptyObject"]=8388608]="IncludesEmptyObject",e[e["GenericMappedType"]=131072]="GenericMappedType"}(e.TypeFlags||(e.TypeFlags={})),function(e){e[e["Class"]=1]="Class",e[e["Interface"]=2]="Interface",e[e["Reference"]=4]="Reference",e[e["Tuple"]=8]="Tuple",e[e["Anonymous"]=16]="Anonymous",e[e["Mapped"]=32]="Mapped",e[e["Instantiated"]=64]="Instantiated",e[e["ObjectLiteral"]=128]="ObjectLiteral",e[e["EvolvingArray"]=256]="EvolvingArray",e[e["ObjectLiteralPatternWithComputedProperties"]=512]="ObjectLiteralPatternWithComputedProperties",e[e["ContainsSpread"]=1024]="ContainsSpread",e[e["ReverseMapped"]=2048]="ReverseMapped",e[e["JsxAttributes"]=4096]="JsxAttributes",e[e["MarkerType"]=8192]="MarkerType",e[e["JSLiteral"]=16384]="JSLiteral",e[e["FreshLiteral"]=32768]="FreshLiteral",e[e["ArrayLiteral"]=65536]="ArrayLiteral",e[e["PrimitiveUnion"]=131072]="PrimitiveUnion",e[e["ContainsWideningType"]=262144]="ContainsWideningType",e[e["ContainsObjectOrArrayLiteral"]=524288]="ContainsObjectOrArrayLiteral",e[e["NonInferrableType"]=1048576]="NonInferrableType",e[e["ClassOrInterface"]=3]="ClassOrInterface",e[e["RequiresWidening"]=786432]="RequiresWidening",e[e["PropagatingFlags"]=1835008]="PropagatingFlags"}(e.ObjectFlags||(e.ObjectFlags={})),function(e){e[e["Invariant"]=0]="Invariant",e[e["Covariant"]=1]="Covariant",e[e["Contravariant"]=2]="Contravariant",e[e["Bivariant"]=3]="Bivariant",e[e["Independent"]=4]="Independent",e[e["VarianceMask"]=7]="VarianceMask",e[e["Unmeasurable"]=8]="Unmeasurable",e[e["Unreliable"]=16]="Unreliable",e[e["AllowsStructuralFallback"]=24]="AllowsStructuralFallback"}(e.VarianceFlags||(e.VarianceFlags={})),function(e){e[e["Component"]=0]="Component",e[e["Function"]=1]="Function",e[e["Mixed"]=2]="Mixed"}(e.JsxReferenceKind||(e.JsxReferenceKind={})),function(e){e[e["Call"]=0]="Call",e[e["Construct"]=1]="Construct"}(e.SignatureKind||(e.SignatureKind={})),function(e){e[e["None"]=0]="None",e[e["HasRestParameter"]=1]="HasRestParameter",e[e["HasLiteralTypes"]=2]="HasLiteralTypes",e[e["IsInnerCallChain"]=4]="IsInnerCallChain",e[e["IsOuterCallChain"]=8]="IsOuterCallChain",e[e["PropagatingFlags"]=3]="PropagatingFlags",e[e["CallChainFlags"]=12]="CallChainFlags"}(e.SignatureFlags||(e.SignatureFlags={})),function(e){e[e["String"]=0]="String",e[e["Number"]=1]="Number"}(e.IndexKind||(e.IndexKind={})),function(e){e[e["NakedTypeVariable"]=1]="NakedTypeVariable",e[e["HomomorphicMappedType"]=2]="HomomorphicMappedType",e[e["PartialHomomorphicMappedType"]=4]="PartialHomomorphicMappedType",e[e["MappedTypeConstraint"]=8]="MappedTypeConstraint",e[e["ReturnType"]=16]="ReturnType",e[e["LiteralKeyof"]=32]="LiteralKeyof",e[e["NoConstraints"]=64]="NoConstraints",e[e["AlwaysStrict"]=128]="AlwaysStrict",e[e["MaxValue"]=256]="MaxValue",e[e["PriorityImpliesCombination"]=56]="PriorityImpliesCombination",e[e["Circularity"]=-1]="Circularity"}(e.InferencePriority||(e.InferencePriority={})),function(e){e[e["None"]=0]="None",e[e["NoDefault"]=1]="NoDefault",e[e["AnyDefault"]=2]="AnyDefault",e[e["SkippedGenericFunction"]=4]="SkippedGenericFunction"}(e.InferenceFlags||(e.InferenceFlags={})),function(e){e[e["False"]=0]="False",e[e["Maybe"]=1]="Maybe",e[e["True"]=-1]="True"}(e.Ternary||(e.Ternary={})),function(e){e[e["None"]=0]="None",e[e["ExportsProperty"]=1]="ExportsProperty",e[e["ModuleExports"]=2]="ModuleExports",e[e["PrototypeProperty"]=3]="PrototypeProperty",e[e["ThisProperty"]=4]="ThisProperty",e[e["Property"]=5]="Property",e[e["Prototype"]=6]="Prototype",e[e["ObjectDefinePropertyValue"]=7]="ObjectDefinePropertyValue",e[e["ObjectDefinePropertyExports"]=8]="ObjectDefinePropertyExports",e[e["ObjectDefinePrototypeProperty"]=9]="ObjectDefinePrototypeProperty"}(e.AssignmentDeclarationKind||(e.AssignmentDeclarationKind={})),function(e){e[e["Warning"]=0]="Warning",e[e["Error"]=1]="Error",e[e["Suggestion"]=2]="Suggestion",e[e["Message"]=3]="Message"}(n=e.DiagnosticCategory||(e.DiagnosticCategory={})),e.diagnosticCategoryName=r,function(e){e[e["Classic"]=1]="Classic",e[e["NodeJs"]=2]="NodeJs"}(e.ModuleResolutionKind||(e.ModuleResolutionKind={})),function(e){e[e["None"]=0]="None",e[e["CommonJS"]=1]="CommonJS",e[e["AMD"]=2]="AMD",e[e["UMD"]=3]="UMD",e[e["System"]=4]="System",e[e["ES2015"]=5]="ES2015",e[e["ESNext"]=99]="ESNext"}(e.ModuleKind||(e.ModuleKind={})),function(e){e[e["None"]=0]="None",e[e["Preserve"]=1]="Preserve",e[e["React"]=2]="React",e[e["ReactNative"]=3]="ReactNative"}(e.JsxEmit||(e.JsxEmit={})),function(e){e[e["CarriageReturnLineFeed"]=0]="CarriageReturnLineFeed",e[e["LineFeed"]=1]="LineFeed"}(e.NewLineKind||(e.NewLineKind={})),function(e){e[e["Unknown"]=0]="Unknown",e[e["JS"]=1]="JS",e[e["JSX"]=2]="JSX",e[e["TS"]=3]="TS",e[e["TSX"]=4]="TSX",e[e["External"]=5]="External",e[e["JSON"]=6]="JSON",e[e["Deferred"]=7]="Deferred"}(e.ScriptKind||(e.ScriptKind={})),function(e){e[e["ES3"]=0]="ES3",e[e["ES5"]=1]="ES5",e[e["ES2015"]=2]="ES2015",e[e["ES2016"]=3]="ES2016",e[e["ES2017"]=4]="ES2017",e[e["ES2018"]=5]="ES2018",e[e["ES2019"]=6]="ES2019",e[e["ES2020"]=7]="ES2020",e[e["ESNext"]=99]="ESNext",e[e["JSON"]=100]="JSON",e[e["Latest"]=99]="Latest"}(e.ScriptTarget||(e.ScriptTarget={})),function(e){e[e["Standard"]=0]="Standard",e[e["JSX"]=1]="JSX"}(e.LanguageVariant||(e.LanguageVariant={})),function(e){e[e["None"]=0]="None",e[e["Recursive"]=1]="Recursive"}(e.WatchDirectoryFlags||(e.WatchDirectoryFlags={})),function(e){e[e["nullCharacter"]=0]="nullCharacter",e[e["maxAsciiCharacter"]=127]="maxAsciiCharacter",e[e["lineFeed"]=10]="lineFeed",e[e["carriageReturn"]=13]="carriageReturn",e[e["lineSeparator"]=8232]="lineSeparator",e[e["paragraphSeparator"]=8233]="paragraphSeparator",e[e["nextLine"]=133]="nextLine",e[e["space"]=32]="space",e[e["nonBreakingSpace"]=160]="nonBreakingSpace",e[e["enQuad"]=8192]="enQuad",e[e["emQuad"]=8193]="emQuad",e[e["enSpace"]=8194]="enSpace",e[e["emSpace"]=8195]="emSpace",e[e["threePerEmSpace"]=8196]="threePerEmSpace",e[e["fourPerEmSpace"]=8197]="fourPerEmSpace",e[e["sixPerEmSpace"]=8198]="sixPerEmSpace",e[e["figureSpace"]=8199]="figureSpace",e[e["punctuationSpace"]=8200]="punctuationSpace",e[e["thinSpace"]=8201]="thinSpace",e[e["hairSpace"]=8202]="hairSpace",e[e["zeroWidthSpace"]=8203]="zeroWidthSpace",e[e["narrowNoBreakSpace"]=8239]="narrowNoBreakSpace",e[e["ideographicSpace"]=12288]="ideographicSpace",e[e["mathematicalSpace"]=8287]="mathematicalSpace",e[e["ogham"]=5760]="ogham",e[e["_"]=95]="_",e[e["$"]=36]="$",e[e["_0"]=48]="_0",e[e["_1"]=49]="_1",e[e["_2"]=50]="_2",e[e["_3"]=51]="_3",e[e["_4"]=52]="_4",e[e["_5"]=53]="_5",e[e["_6"]=54]="_6",e[e["_7"]=55]="_7",e[e["_8"]=56]="_8",e[e["_9"]=57]="_9",e[e["a"]=97]="a",e[e["b"]=98]="b",e[e["c"]=99]="c",e[e["d"]=100]="d",e[e["e"]=101]="e",e[e["f"]=102]="f",e[e["g"]=103]="g",e[e["h"]=104]="h",e[e["i"]=105]="i",e[e["j"]=106]="j",e[e["k"]=107]="k",e[e["l"]=108]="l",e[e["m"]=109]="m",e[e["n"]=110]="n",e[e["o"]=111]="o",e[e["p"]=112]="p",e[e["q"]=113]="q",e[e["r"]=114]="r",e[e["s"]=115]="s",e[e["t"]=116]="t",e[e["u"]=117]="u",e[e["v"]=118]="v",e[e["w"]=119]="w",e[e["x"]=120]="x",e[e["y"]=121]="y",e[e["z"]=122]="z",e[e["A"]=65]="A",e[e["B"]=66]="B",e[e["C"]=67]="C",e[e["D"]=68]="D",e[e["E"]=69]="E",e[e["F"]=70]="F",e[e["G"]=71]="G",e[e["H"]=72]="H",e[e["I"]=73]="I",e[e["J"]=74]="J",e[e["K"]=75]="K",e[e["L"]=76]="L",e[e["M"]=77]="M",e[e["N"]=78]="N",e[e["O"]=79]="O",e[e["P"]=80]="P",e[e["Q"]=81]="Q",e[e["R"]=82]="R",e[e["S"]=83]="S",e[e["T"]=84]="T",e[e["U"]=85]="U",e[e["V"]=86]="V",e[e["W"]=87]="W",e[e["X"]=88]="X",e[e["Y"]=89]="Y",e[e["Z"]=90]="Z",e[e["ampersand"]=38]="ampersand",e[e["asterisk"]=42]="asterisk",e[e["at"]=64]="at",e[e["backslash"]=92]="backslash",e[e["backtick"]=96]="backtick",e[e["bar"]=124]="bar",e[e["caret"]=94]="caret",e[e["closeBrace"]=125]="closeBrace",e[e["closeBracket"]=93]="closeBracket",e[e["closeParen"]=41]="closeParen",e[e["colon"]=58]="colon",e[e["comma"]=44]="comma",e[e["dot"]=46]="dot",e[e["doubleQuote"]=34]="doubleQuote",e[e["equals"]=61]="equals",e[e["exclamation"]=33]="exclamation",e[e["greaterThan"]=62]="greaterThan",e[e["hash"]=35]="hash",e[e["lessThan"]=60]="lessThan",e[e["minus"]=45]="minus",e[e["openBrace"]=123]="openBrace",e[e["openBracket"]=91]="openBracket",e[e["openParen"]=40]="openParen",e[e["percent"]=37]="percent",e[e["plus"]=43]="plus",e[e["question"]=63]="question",e[e["semicolon"]=59]="semicolon",e[e["singleQuote"]=39]="singleQuote",e[e["slash"]=47]="slash",e[e["tilde"]=126]="tilde",e[e["backspace"]=8]="backspace",e[e["formFeed"]=12]="formFeed",e[e["byteOrderMark"]=65279]="byteOrderMark",e[e["tab"]=9]="tab",e[e["verticalTab"]=11]="verticalTab"}(e.CharacterCodes||(e.CharacterCodes={})),function(e){e["Ts"]=".ts",e["Tsx"]=".tsx",e["Dts"]=".d.ts",e["Js"]=".js",e["Jsx"]=".jsx",e["Json"]=".json",e["TsBuildInfo"]=".tsbuildinfo"}(e.Extension||(e.Extension={})),function(e){e[e["None"]=0]="None",e[e["ContainsTypeScript"]=1]="ContainsTypeScript",e[e["ContainsJsx"]=2]="ContainsJsx",e[e["ContainsESNext"]=4]="ContainsESNext",e[e["ContainsES2019"]=8]="ContainsES2019",e[e["ContainsES2018"]=16]="ContainsES2018",e[e["ContainsES2017"]=32]="ContainsES2017",e[e["ContainsES2016"]=64]="ContainsES2016",e[e["ContainsES2015"]=128]="ContainsES2015",e[e["ContainsGenerator"]=256]="ContainsGenerator",e[e["ContainsDestructuringAssignment"]=512]="ContainsDestructuringAssignment",e[e["ContainsTypeScriptClassSyntax"]=1024]="ContainsTypeScriptClassSyntax",e[e["ContainsLexicalThis"]=2048]="ContainsLexicalThis",e[e["ContainsRestOrSpread"]=4096]="ContainsRestOrSpread",e[e["ContainsObjectRestOrSpread"]=8192]="ContainsObjectRestOrSpread",e[e["ContainsComputedPropertyName"]=16384]="ContainsComputedPropertyName",e[e["ContainsBlockScopedBinding"]=32768]="ContainsBlockScopedBinding",e[e["ContainsBindingPattern"]=65536]="ContainsBindingPattern",e[e["ContainsYield"]=131072]="ContainsYield",e[e["ContainsHoistedDeclarationOrCompletion"]=262144]="ContainsHoistedDeclarationOrCompletion",e[e["ContainsDynamicImport"]=524288]="ContainsDynamicImport",e[e["ContainsClassFields"]=1048576]="ContainsClassFields",e[e["HasComputedFlags"]=536870912]="HasComputedFlags",e[e["AssertTypeScript"]=1]="AssertTypeScript",e[e["AssertJsx"]=2]="AssertJsx",e[e["AssertESNext"]=4]="AssertESNext",e[e["AssertES2019"]=8]="AssertES2019",e[e["AssertES2018"]=16]="AssertES2018",e[e["AssertES2017"]=32]="AssertES2017",e[e["AssertES2016"]=64]="AssertES2016",e[e["AssertES2015"]=128]="AssertES2015",e[e["AssertGenerator"]=256]="AssertGenerator",e[e["AssertDestructuringAssignment"]=512]="AssertDestructuringAssignment",e[e["OuterExpressionExcludes"]=536870912]="OuterExpressionExcludes",e[e["PropertyAccessExcludes"]=536870912]="PropertyAccessExcludes",e[e["NodeExcludes"]=536870912]="NodeExcludes",e[e["ArrowFunctionExcludes"]=537371648]="ArrowFunctionExcludes",e[e["FunctionExcludes"]=537373696]="FunctionExcludes",e[e["ConstructorExcludes"]=537372672]="ConstructorExcludes",e[e["MethodOrAccessorExcludes"]=537372672]="MethodOrAccessorExcludes",e[e["PropertyExcludes"]=536872960]="PropertyExcludes",e[e["ClassExcludes"]=536888320]="ClassExcludes",e[e["ModuleExcludes"]=537168896]="ModuleExcludes",e[e["TypeExcludes"]=-2]="TypeExcludes",e[e["ObjectLiteralExcludes"]=536896512]="ObjectLiteralExcludes",e[e["ArrayLiteralOrCallOrNewExcludes"]=536875008]="ArrayLiteralOrCallOrNewExcludes",e[e["VariableDeclarationListExcludes"]=536944640]="VariableDeclarationListExcludes",e[e["ParameterExcludes"]=536870912]="ParameterExcludes",e[e["CatchClauseExcludes"]=536879104]="CatchClauseExcludes",e[e["BindingPatternExcludes"]=536875008]="BindingPatternExcludes",e[e["PropertyNamePropagatingFlags"]=2048]="PropertyNamePropagatingFlags"}(e.TransformFlags||(e.TransformFlags={})),function(e){e[e["None"]=0]="None",e[e["SingleLine"]=1]="SingleLine",e[e["AdviseOnEmitNode"]=2]="AdviseOnEmitNode",e[e["NoSubstitution"]=4]="NoSubstitution",e[e["CapturesThis"]=8]="CapturesThis",e[e["NoLeadingSourceMap"]=16]="NoLeadingSourceMap",e[e["NoTrailingSourceMap"]=32]="NoTrailingSourceMap",e[e["NoSourceMap"]=48]="NoSourceMap",e[e["NoNestedSourceMaps"]=64]="NoNestedSourceMaps",e[e["NoTokenLeadingSourceMaps"]=128]="NoTokenLeadingSourceMaps",e[e["NoTokenTrailingSourceMaps"]=256]="NoTokenTrailingSourceMaps",e[e["NoTokenSourceMaps"]=384]="NoTokenSourceMaps",e[e["NoLeadingComments"]=512]="NoLeadingComments",e[e["NoTrailingComments"]=1024]="NoTrailingComments",e[e["NoComments"]=1536]="NoComments",e[e["NoNestedComments"]=2048]="NoNestedComments",e[e["HelperName"]=4096]="HelperName",e[e["ExportName"]=8192]="ExportName",e[e["LocalName"]=16384]="LocalName",e[e["InternalName"]=32768]="InternalName",e[e["Indented"]=65536]="Indented",e[e["NoIndentation"]=131072]="NoIndentation",e[e["AsyncFunctionBody"]=262144]="AsyncFunctionBody",e[e["ReuseTempVariableScope"]=524288]="ReuseTempVariableScope",e[e["CustomPrologue"]=1048576]="CustomPrologue",e[e["NoHoisting"]=2097152]="NoHoisting",e[e["HasEndOfDeclarationMarker"]=4194304]="HasEndOfDeclarationMarker",e[e["Iterator"]=8388608]="Iterator",e[e["NoAsciiEscaping"]=16777216]="NoAsciiEscaping",e[e["TypeScriptClassWrapper"]=33554432]="TypeScriptClassWrapper",e[e["NeverApplyImportHelper"]=67108864]="NeverApplyImportHelper"}(e.EmitFlags||(e.EmitFlags={})),function(e){e[e["Extends"]=1]="Extends",e[e["Assign"]=2]="Assign",e[e["Rest"]=4]="Rest",e[e["Decorate"]=8]="Decorate",e[e["Metadata"]=16]="Metadata",e[e["Param"]=32]="Param",e[e["Awaiter"]=64]="Awaiter",e[e["Generator"]=128]="Generator",e[e["Values"]=256]="Values",e[e["Read"]=512]="Read",e[e["Spread"]=1024]="Spread",e[e["SpreadArrays"]=2048]="SpreadArrays",e[e["Await"]=4096]="Await",e[e["AsyncGenerator"]=8192]="AsyncGenerator",e[e["AsyncDelegator"]=16384]="AsyncDelegator",e[e["AsyncValues"]=32768]="AsyncValues",e[e["ExportStar"]=65536]="ExportStar",e[e["MakeTemplateObject"]=131072]="MakeTemplateObject",e[e["FirstEmitHelper"]=1]="FirstEmitHelper",e[e["LastEmitHelper"]=131072]="LastEmitHelper",e[e["ForOfIncludes"]=256]="ForOfIncludes",e[e["ForAwaitOfIncludes"]=32768]="ForAwaitOfIncludes",e[e["AsyncGeneratorIncludes"]=12288]="AsyncGeneratorIncludes",e[e["AsyncDelegatorIncludes"]=53248]="AsyncDelegatorIncludes",e[e["SpreadIncludes"]=1536]="SpreadIncludes"}(e.ExternalEmitHelpers||(e.ExternalEmitHelpers={})),function(e){e[e["SourceFile"]=0]="SourceFile",e[e["Expression"]=1]="Expression",e[e["IdentifierName"]=2]="IdentifierName",e[e["MappedTypeParameter"]=3]="MappedTypeParameter",e[e["Unspecified"]=4]="Unspecified",e[e["EmbeddedStatement"]=5]="EmbeddedStatement"}(e.EmitHint||(e.EmitHint={})),function(e){e["Prologue"]="prologue",e["EmitHelpers"]="emitHelpers",e["NoDefaultLib"]="no-default-lib",e["Reference"]="reference",e["Type"]="type",e["Lib"]="lib",e["Prepend"]="prepend",e["Text"]="text",e["Internal"]="internal"}(e.BundleFileSectionKind||(e.BundleFileSectionKind={})),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["AsteriskDelimited"]=32]="AsteriskDelimited",e[e["DelimitersMask"]=60]="DelimitersMask",e[e["AllowTrailingComma"]=64]="AllowTrailingComma",e[e["Indented"]=128]="Indented",e[e["SpaceBetweenBraces"]=256]="SpaceBetweenBraces",e[e["SpaceBetweenSiblings"]=512]="SpaceBetweenSiblings",e[e["Braces"]=1024]="Braces",e[e["Parenthesis"]=2048]="Parenthesis",e[e["AngleBrackets"]=4096]="AngleBrackets",e[e["SquareBrackets"]=8192]="SquareBrackets",e[e["BracketsMask"]=15360]="BracketsMask",e[e["OptionalIfUndefined"]=16384]="OptionalIfUndefined",e[e["OptionalIfEmpty"]=32768]="OptionalIfEmpty",e[e["Optional"]=49152]="Optional",e[e["PreferNewLine"]=65536]="PreferNewLine",e[e["NoTrailingNewLine"]=131072]="NoTrailingNewLine",e[e["NoInterveningComments"]=262144]="NoInterveningComments",e[e["NoSpaceIfEmpty"]=524288]="NoSpaceIfEmpty",e[e["SingleElement"]=1048576]="SingleElement",e[e["Modifiers"]=262656]="Modifiers",e[e["HeritageClauses"]=512]="HeritageClauses",e[e["SingleLineTypeLiteralMembers"]=768]="SingleLineTypeLiteralMembers",e[e["MultiLineTypeLiteralMembers"]=32897]="MultiLineTypeLiteralMembers",e[e["TupleTypeElements"]=528]="TupleTypeElements",e[e["UnionTypeConstituents"]=516]="UnionTypeConstituents",e[e["IntersectionTypeConstituents"]=520]="IntersectionTypeConstituents",e[e["ObjectBindingPatternElements"]=525136]="ObjectBindingPatternElements",e[e["ArrayBindingPatternElements"]=524880]="ArrayBindingPatternElements",e[e["ObjectLiteralExpressionProperties"]=526226]="ObjectLiteralExpressionProperties",e[e["ArrayLiteralExpressionElements"]=8914]="ArrayLiteralExpressionElements",e[e["CommaListElements"]=528]="CommaListElements",e[e["CallExpressionArguments"]=2576]="CallExpressionArguments",e[e["NewExpressionArguments"]=18960]="NewExpressionArguments",e[e["TemplateExpressionSpans"]=262144]="TemplateExpressionSpans",e[e["SingleLineBlockStatements"]=768]="SingleLineBlockStatements",e[e["MultiLineBlockStatements"]=129]="MultiLineBlockStatements",e[e["VariableDeclarationList"]=528]="VariableDeclarationList",e[e["SingleLineFunctionBodyStatements"]=768]="SingleLineFunctionBodyStatements",e[e["MultiLineFunctionBodyStatements"]=1]="MultiLineFunctionBodyStatements",e[e["ClassHeritageClauses"]=0]="ClassHeritageClauses",e[e["ClassMembers"]=129]="ClassMembers",e[e["InterfaceMembers"]=129]="InterfaceMembers",e[e["EnumMembers"]=145]="EnumMembers",e[e["CaseBlockClauses"]=129]="CaseBlockClauses",e[e["NamedImportsOrExportsElements"]=525136]="NamedImportsOrExportsElements",e[e["JsxElementOrFragmentChildren"]=262144]="JsxElementOrFragmentChildren",e[e["JsxElementAttributes"]=262656]="JsxElementAttributes",e[e["CaseOrDefaultClauseStatements"]=163969]="CaseOrDefaultClauseStatements",e[e["HeritageClauseTypes"]=528]="HeritageClauseTypes",e[e["SourceFileStatements"]=131073]="SourceFileStatements",e[e["Decorators"]=49153]="Decorators",e[e["TypeArguments"]=53776]="TypeArguments",e[e["TypeParameters"]=53776]="TypeParameters",e[e["Parameters"]=2576]="Parameters",e[e["IndexSignatureParameters"]=8848]="IndexSignatureParameters",e[e["JSDocComment"]=33]="JSDocComment"}(e.ListFormat||(e.ListFormat={})),function(e){e[e["None"]=0]="None",e[e["TripleSlashXML"]=1]="TripleSlashXML",e[e["SingleLine"]=2]="SingleLine",e[e["MultiLine"]=4]="MultiLine",e[e["All"]=7]="All",e[e["Default"]=7]="Default"}(e.PragmaKindFlags||(e.PragmaKindFlags={})),e.commentPragmas={reference:{args:[{name:"types",optional:!0,captureSpan:!0},{name:"lib",optional:!0,captureSpan:!0},{name:"path",optional:!0,captureSpan:!0},{name:"no-default-lib",optional:!0}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:!0}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4}}}(u||(u={})),function(n){function t(e){for(var n=5381,t=0;t0;p(),s--){var u=e[a];if(u)if(u.isClosed)e[a]=void 0;else{l++;var d=m(u,b(u.fileName));u.isClosed?e[a]=void 0:d?(u.unchangedPolls=0,e!==r&&(e[a]=void 0,y(u))):u.unchangedPolls!==n.unchangedPollThresholds[t]?u.unchangedPolls++:e===r?(u.unchangedPolls=1,e[a]=void 0,g(u,i.Low)):t!==i.High&&(u.unchangedPolls++,e[a]=void 0,g(u,t===i.Low?i.Medium:i.High)),e[a]&&(c0}function c(e){var n=y(e);return n>0&&n===e.length}function l(e){return 0!==y(e)}function u(e){return/^\.\.?($|[\\/])/.test(e)}function d(n){return e.stringContains(b(n),".")}function p(n,t){return n.length>t.length&&e.endsWith(n,t)}function m(e,n){for(var t=0,r=n;t0&&a(e.charCodeAt(e.length-1))}function _(e){return e>=97&&e<=122||e>=65&&e<=90}function g(e,n){var t=e.charCodeAt(n);if(58===t)return n+1;if(37===t&&51===e.charCodeAt(n+1)){var r=e.charCodeAt(n+2);if(97===r||65===r)return n+3}return-1}function y(r){if(!r)return 0;var a=r.charCodeAt(0);if(47===a||92===a){if(r.charCodeAt(1)!==a)return 1;var i=r.indexOf(47===a?e.directorySeparator:n,2);return i<0?r.length:i+1}if(_(a)&&58===r.charCodeAt(1)){var o=r.charCodeAt(2);if(47===o||92===o)return 3;if(2===r.length)return 2}var s=r.indexOf(t);if(-1!==s){var c=s+t.length,l=r.indexOf(e.directorySeparator,c);if(-1!==l){var u=r.slice(0,s),d=r.slice(c,l);if("file"===u&&(""===d||"localhost"===d)&&_(r.charCodeAt(l+1))){var p=g(r,l+2);if(-1!==p){if(47===r.charCodeAt(p))return~(p+1);if(p===r.length)return~p}}return~(l+1)}return~r.length}return 0}function v(e){var n=y(e);return n<0?~n:n}function h(n){n=A(n);var t=v(n);return t===n.length?n:(n=G(n),n.slice(0,Math.max(t,n.lastIndexOf(e.directorySeparator))))}function b(n,t,r){n=A(n);var a=v(n);if(a===n.length)return"";n=G(n);var i=n.slice(Math.max(v(n),n.lastIndexOf(e.directorySeparator)+1)),o=void 0!==t&&void 0!==r?S(i,t,r):void 0;return o?i.slice(0,i.length-o.length):i}function E(n,t,r){if(e.startsWith(t,".")||(t="."+t),n.length>=t.length&&46===n.charCodeAt(n.length-t.length)){var a=n.slice(n.length-t.length);if(r(a,t))return a}}function T(e,n,t){if("string"===typeof n)return E(e,n,t)||"";for(var r=0,a=n;r=0?a.substring(i):""}function x(n,t){var r=n.substring(0,t),a=n.substring(t).split(e.directorySeparator);return a.length&&!e.lastOrUndefined(a)&&a.pop(),i([r],a)}function L(e,n){return void 0===n&&(n=""),e=k(n,e),x(e,v(e))}function C(n){if(0===n.length)return"";var t=n[0]&&B(n[0]);return t+n.slice(1).join(e.directorySeparator)}function A(n){return n.replace(r,e.directorySeparator)}function D(n){if(!e.some(n))return[];for(var t=[n[0]],r=1;r1){if(".."!==t[t.length-1]){t.pop();continue}}else if(t[0])continue;t.push(a)}}return t}function k(e){for(var n=[],t=1;t0===v(t)>0,"Paths must either both be absolute or both be relative");var a="function"===typeof r?r:e.identity,i="boolean"===typeof r&&r,o=X(n,t,i?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,a);return C(o)}function Q(e,n,t){return s(e)?$(n,e,n,t,!1):e}function Z(e,n,t){return V(Y(h(e),n,t))}function $(n,t,r,a,i){var o=X(N(r,n),N(r,t),e.equateStringsCaseSensitive,a),c=o[0];if(i&&s(c)){var l=c.charAt(0)===e.directorySeparator?"file://":"file:///";o[0]=l+c}return C(o)}function ee(e,n){while(1){var t=n(e);if(void 0!==t)return t;var r=h(e);if(r===e)return;e=r}}e.comparePathsCaseSensitive=H,e.comparePathsCaseInsensitive=W,e.comparePaths=q,e.containsPath=z,e.startsWithDirectory=J,e.getPathComponentsRelativeTo=X,e.getRelativePathFromDirectory=Y,e.convertToRelativePath=Q,e.getRelativePathFromFile=Z,e.getRelativePathToDirectoryOrUrl=$,e.forEachAncestorDirectory=ee}(u||(u={})),function(e){function n(e,n,t,r,a,i){return{code:e,category:n,key:t,message:r,reportsUnnecessary:a,elidedInCompatabilityPyramid:i}}e.Diagnostics={Unterminated_string_literal:n(1002,e.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:n(1003,e.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:n(1005,e.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:n(1006,e.DiagnosticCategory.Error,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),Trailing_comma_not_allowed:n(1009,e.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:n(1010,e.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:n(1011,e.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:n(1012,e.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:n(1013,e.DiagnosticCategory.Error,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:n(1014,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:n(1015,e.DiagnosticCategory.Error,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:n(1016,e.DiagnosticCategory.Error,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:n(1017,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:n(1018,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:n(1019,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:n(1020,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:n(1021,e.DiagnosticCategory.Error,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:n(1022,e.DiagnosticCategory.Error,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),An_index_signature_parameter_type_must_be_either_string_or_number:n(1023,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_either_string_or_number_1023","An index signature parameter type must be either 'string' or 'number'."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:n(1024,e.DiagnosticCategory.Error,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),Accessibility_modifier_already_seen:n(1028,e.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:n(1029,e.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:n(1030,e.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_a_class_element:n(1031,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_class_element_1031","'{0}' modifier cannot appear on a class element."),super_must_be_followed_by_an_argument_list_or_member_access:n(1034,e.DiagnosticCategory.Error,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:n(1035,e.DiagnosticCategory.Error,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:n(1036,e.DiagnosticCategory.Error,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:n(1038,e.DiagnosticCategory.Error,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:n(1039,e.DiagnosticCategory.Error,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:n(1040,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_with_a_class_declaration:n(1041,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_class_declaration_1041","'{0}' modifier cannot be used with a class declaration."),_0_modifier_cannot_be_used_here:n(1042,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_data_property:n(1043,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_data_property_1043","'{0}' modifier cannot appear on a data property."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:n(1044,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),A_0_modifier_cannot_be_used_with_an_interface_declaration:n(1045,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_interface_declaration_1045","A '{0}' modifier cannot be used with an interface declaration."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:n(1046,e.DiagnosticCategory.Error,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:n(1047,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:n(1048,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:n(1049,e.DiagnosticCategory.Error,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:n(1051,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:n(1052,e.DiagnosticCategory.Error,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:n(1053,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:n(1054,e.DiagnosticCategory.Error,"A_get_accessor_cannot_have_parameters_1054","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:n(1055,e.DiagnosticCategory.Error,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:n(1056,e.DiagnosticCategory.Error,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),An_async_function_or_method_must_have_a_valid_awaitable_return_type:n(1057,e.DiagnosticCategory.Error,"An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057","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:n(1058,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:n(1059,e.DiagnosticCategory.Error,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:n(1060,e.DiagnosticCategory.Error,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:n(1061,e.DiagnosticCategory.Error,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:n(1062,e.DiagnosticCategory.Error,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:n(1063,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_namespace_1063","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:n(1064,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1064","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:n(1066,e.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:n(1068,e.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:n(1069,e.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:n(1070,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:n(1071,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:n(1079,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:n(1084,e.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:n(1085,e.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:n(1089,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:n(1090,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:n(1091,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:n(1092,e.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:n(1093,e.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:n(1094,e.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:n(1095,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:n(1096,e.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:n(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:n(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:n(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:n(1100,e.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:n(1101,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:n(1102,e.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'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:n(1103,e.DiagnosticCategory.Error,"A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator_1103","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:n(1104,e.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:n(1105,e.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),Jump_target_cannot_cross_function_boundary:n(1107,e.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:n(1108,e.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:n(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:n(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:n(1113,e.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:n(1114,e.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:n(1115,e.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:n(1116,e.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:n(1117,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","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:n(1118,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:n(1119,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:n(1120,e.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:n(1121,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:n(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:n(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:n(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:n(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:n(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:n(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:n(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:n(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:n(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:n(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:n(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:n(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:n(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:n(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:n(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:n(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:n(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:n(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:n(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:n(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:n(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:n(1147,e.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:n(1148,e.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:n(1149,e.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:n(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:n(1156,e.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:n(1157,e.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:n(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:n(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:n(1162,e.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:n(1163,e.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:n(1164,e.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1165,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_1166","A computed property name in a class property declaration must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1168,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1169,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1170,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:n(1171,e.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:n(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:n(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:n(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:n(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:n(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:n(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:n(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:n(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:n(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:n(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:n(1182,e.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:n(1183,e.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:n(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:n(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:n(1186,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:n(1187,e.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:n(1188,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:n(1189,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:n(1190,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:n(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:n(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:n(1193,e.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:n(1194,e.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),Catch_clause_variable_cannot_have_a_type_annotation:n(1196,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_a_type_annotation_1196","Catch clause variable cannot have a type annotation."),Catch_clause_variable_cannot_have_an_initializer:n(1197,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:n(1198,e.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:n(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:n(1200,e.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:n(1202,e.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:n(1203,e.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided:n(1205,e.DiagnosticCategory.Error,"Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided_1205","Cannot re-export a type when the '--isolatedModules' flag is provided."),Decorators_are_not_valid_here:n(1206,e.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:n(1207,e.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),All_files_must_be_modules_when_the_isolatedModules_flag_is_provided:n(1208,e.DiagnosticCategory.Error,"All_files_must_be_modules_when_the_isolatedModules_flag_is_provided_1208","All files must be modules when the '--isolatedModules' flag is provided."),Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:n(1210,e.DiagnosticCategory.Error,"Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210","Invalid use of '{0}'. Class definitions are automatically in strict mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:n(1211,e.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:n(1212,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","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:n(1213,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:n(1214,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:n(1215,e.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:n(1216,e.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:n(1218,e.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","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_in_your_tsconfig_or_jsconfig_to_remove_this_warning:n(1219,e.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:n(1220,e.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context:n(1221,e.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:n(1222,e.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:n(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:n(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:n(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:n(1226,e.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:n(1227,e.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","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:n(1228,e.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:n(1229,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:n(1230,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_can_only_be_used_in_a_module:n(1231,e.DiagnosticCategory.Error,"An_export_assignment_can_only_be_used_in_a_module_1231","An export assignment can only be used in a module."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:n(1232,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:n(1233,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:n(1234,e.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:n(1235,e.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","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:n(1236,e.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:n(1237,e.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:n(1238,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:n(1239,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:n(1240,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:n(1241,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:n(1242,e.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:n(1243,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:n(1244,e.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:n(1245,e.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:n(1246,e.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:n(1247,e.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:n(1248,e.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:n(1249,e.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","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:n(1250,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:n(1251,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:n(1252,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:n(1253,e.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{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_or_literal_enum_reference:n(1254,e.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:n(1255,e.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_rest_element_must_be_last_in_a_tuple_type:n(1256,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_tuple_type_1256","A rest element must be last in a tuple type."),A_required_element_cannot_follow_an_optional_element:n(1257,e.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation:n(1258,e.DiagnosticCategory.Error,"Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation_1258","Definite assignment assertions can only be used along with a type annotation."),Module_0_can_only_be_default_imported_using_the_1_flag:n(1259,e.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:n(1260,e.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),with_statements_are_not_allowed_in_an_async_function_block:n(1300,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expression_is_only_allowed_within_an_async_function:n(1308,e.DiagnosticCategory.Error,"await_expression_is_only_allowed_within_an_async_function_1308","'await' expression is only allowed within an async function."),can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment:n(1312,e.DiagnosticCategory.Error,"can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment_1312","'=' can only be used in an object literal property inside a destructuring assignment."),The_body_of_an_if_statement_cannot_be_the_empty_statement:n(1313,e.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:n(1314,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:n(1315,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:n(1316,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:n(1317,e.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:n(1318,e.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:n(1319,e.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1320,e.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1321,e.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1322,e.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_commonjs_amd_system_or_umd:n(1323,e.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_commonjs_amd_system_or_umd_1323","Dynamic imports are only supported when the '--module' flag is set to 'esnext', 'commonjs', 'amd', 'system', or 'umd'."),Dynamic_import_must_have_one_specifier_as_an_argument:n(1324,e.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:n(1325,e.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:n(1326,e.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments"),String_literal_with_double_quotes_expected:n(1327,e.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:n(1328,e.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:n(1329,e.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:n(1330,e.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:n(1331,e.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:n(1332,e.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:n(1333,e.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:n(1334,e.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:n(1335,e.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead:n(1336,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead_1336","An index signature parameter type cannot be a type alias. Consider writing '[{0}: {1}]: {2}' instead."),An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead:n(1337,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead_1337","An index signature parameter type cannot be a union type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:n(1338,e.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:n(1339,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:n(1340,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Type_arguments_cannot_be_used_here:n(1342,e.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system:n(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system_1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'esnext' or 'system'."),A_label_is_not_allowed_here:n(1344,e.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:n(1345,e.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness"),This_parameter_is_not_allowed_with_use_strict_directive:n(1346,e.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:n(1347,e.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:n(1348,e.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:n(1349,e.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:n(1350,e.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:n(1351,e.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:n(1352,e.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:n(1353,e.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:n(1354,e.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:n(1355,e.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:n(1356,e.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:n(1357,e.DiagnosticCategory.Error,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:n(1358,e.DiagnosticCategory.Error,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:n(1359,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),The_types_of_0_are_incompatible_between_these_types:n(2200,e.DiagnosticCategory.Error,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:n(2201,e.DiagnosticCategory.Error,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:n(2202,e.DiagnosticCategory.Error,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:n(2203,e.DiagnosticCategory.Error,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:n(2204,e.DiagnosticCategory.Error,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:n(2205,e.DiagnosticCategory.Error,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Duplicate_identifier_0:n(2300,e.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:n(2301,e.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:n(2302,e.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:n(2303,e.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:n(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:n(2305,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:n(2306,e.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0:n(2307,e.DiagnosticCategory.Error,"Cannot_find_module_0_2307","Cannot find module '{0}'."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:n(2308,e.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:n(2309,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:n(2310,e.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),A_class_may_only_extend_another_class:n(2311,e.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2312,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:n(2313,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:n(2314,e.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:n(2315,e.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:n(2316,e.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:n(2317,e.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:n(2318,e.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:n(2319,e.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:n(2320,e.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:n(2321,e.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:n(2322,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:n(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:n(2324,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:n(2325,e.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:n(2326,e.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:n(2327,e.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:n(2328,e.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_is_missing_in_type_0:n(2329,e.DiagnosticCategory.Error,"Index_signature_is_missing_in_type_0_2329","Index signature is missing in type '{0}'."),Index_signatures_are_incompatible:n(2330,e.DiagnosticCategory.Error,"Index_signatures_are_incompatible_2330","Index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:n(2331,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:n(2332,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:n(2333,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:n(2334,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:n(2335,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:n(2336,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:n(2337,e.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:n(2338,e.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:n(2339,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:n(2340,e.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:n(2341,e.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:n(2342,e.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:n(2343,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:n(2344,e.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:n(2345,e.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:n(2346,e.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:n(2347,e.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:n(2348,e.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:n(2349,e.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:n(2350,e.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:n(2351,e.DiagnosticCategory.Error,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:n(2352,e.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:n(2353,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:n(2354,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:n(2355,e.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:n(2356,e.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:n(2357,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:n(2358,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:n(2359,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:n(2360,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","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:n(2361,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter_2361","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_bigint_or_an_enum_type:n(2362,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:n(2363,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:n(2364,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:n(2365,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:n(2366,e.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:n(2367,e.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367","This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap."),Type_parameter_name_cannot_be_0:n(2368,e.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:n(2369,e.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:n(2370,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:n(2371,e.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_be_referenced_in_its_initializer:n(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_be_referenced_in_its_initializer_2372","Parameter '{0}' cannot be referenced in its initializer."),Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it:n(2373,e.DiagnosticCategory.Error,"Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Initializer of parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_string_index_signature:n(2374,e.DiagnosticCategory.Error,"Duplicate_string_index_signature_2374","Duplicate string index signature."),Duplicate_number_index_signature:n(2375,e.DiagnosticCategory.Error,"Duplicate_number_index_signature_2375","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:n(2376,e.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","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:n(2377,e.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:n(2378,e.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Getter_and_setter_accessors_do_not_agree_in_visibility:n(2379,e.DiagnosticCategory.Error,"Getter_and_setter_accessors_do_not_agree_in_visibility_2379","Getter and setter accessors do not agree in visibility."),get_and_set_accessor_must_have_the_same_type:n(2380,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_type_2380","'get' and 'set' accessor must have the same type."),A_signature_with_an_implementation_cannot_use_a_string_literal_type:n(2381,e.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:n(2382,e.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported:n(2383,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:n(2384,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:n(2385,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:n(2386,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:n(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:n(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:n(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:n(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:n(2391,e.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:n(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:n(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:n(2394,e.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:n(2395,e.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:n(2396,e.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:n(2397,e.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:n(2399,e.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:n(2400,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:n(2401,e.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:n(2402,e.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:n(2403,e.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:n(2404,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:n(2405,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:n(2406,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:n(2407,e.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:n(2408,e.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:n(2409,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:n(2410,e.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Property_0_of_type_1_is_not_assignable_to_string_index_type_2:n(2411,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411","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:n(2412,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412","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:n(2413,e.DiagnosticCategory.Error,"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413","Numeric index type '{0}' is not assignable to string index type '{1}'."),Class_name_cannot_be_0:n(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:n(2415,e.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:n(2416,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:n(2417,e.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:n(2418,e.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Class_0_incorrectly_implements_interface_1:n(2420,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2422,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:n(2423,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:n(2425,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:n(2426,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:n(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:n(2428,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:n(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:n(2431,e.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:n(2432,e.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:n(2433,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:n(2434,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:n(2435,e.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:n(2436,e.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:n(2437,e.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:n(2438,e.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:n(2439,e.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:n(2440,e.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:n(2441,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:n(2442,e.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:n(2443,e.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:n(2444,e.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:n(2445,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1:n(2446,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_2446","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:n(2447,e.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:n(2448,e.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:n(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:n(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:n(2451,e.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:n(2452,e.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","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:n(2453,e.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","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:n(2454,e.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","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:n(2455,e.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","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:n(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:n(2457,e.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:n(2458,e.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Type_0_is_not_an_array_type:n(2461,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:n(2462,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:n(2463,e.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:n(2464,e.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:n(2465,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:n(2466,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:n(2467,e.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:n(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:n(2469,e.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:n(2470,e.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:n(2471,e.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","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:n(2472,e.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:n(2473,e.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:n(2474,e.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:n(2475,e.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:n(2476,e.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:n(2477,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:n(2478,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),Property_0_does_not_exist_on_const_enum_1:n(2479,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:n(2480,e.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:n(2481,e.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:n(2483,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:n(2484,e.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","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:n(2487,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2488,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:n(2489,e.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:n(2490,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:n(2491,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:n(2492,e.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:n(2493,e.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:n(2494,e.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:n(2495,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","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:n(2496,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:n(2497,e.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:n(2498,e.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:n(2499,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:n(2500,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:n(2501,e.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:n(2502,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:n(2503,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:n(2504,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:n(2505,e.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:n(2506,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:n(2507,e.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:n(2508,e.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2509,e.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:n(2510,e.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:n(2511,e.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:n(2512,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:n(2513,e.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Classes_containing_abstract_methods_must_be_marked_abstract:n(2514,e.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:n(2515,e.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:n(2516,e.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:n(2517,e.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:n(2518,e.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:n(2519,e.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:n(2520,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:n(2521,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","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:n(2522,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:n(2523,e.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:n(2524,e.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'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:n(2525,e.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:n(2526,e.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:n(2527,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:n(2528,e.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:n(2529,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:n(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:n(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:n(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:n(2533,e.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:n(2534,e.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:n(2535,e.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:n(2536,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:n(2537,e.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:n(2538,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:n(2539,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:n(2540,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:n(2541,e.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading:n(2542,e.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:n(2543,e.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:n(2544,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:n(2545,e.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1:n(2546,e.DiagnosticCategory.Error,"Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1_2546","Property '{0}' has conflicting declarations and is inaccessible in type '{1}'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:n(2547,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2548,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2549,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:n(2551,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:n(2552,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:n(2553,e.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:n(2554,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:n(2555,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),Expected_0_arguments_but_got_1_or_more:n(2556,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_or_more_2556","Expected {0} arguments, but got {1} or more."),Expected_at_least_0_arguments_but_got_1_or_more:n(2557,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_or_more_2557","Expected at least {0} arguments, but got {1} or more."),Expected_0_type_arguments_but_got_1:n(2558,e.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:n(2559,e.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:n(2560,e.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:n(2561,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:n(2562,e.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:n(2563,e.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:n(2564,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:n(2565,e.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:n(2566,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:n(2567,e.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:n(2569,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Object_is_of_type_unknown:n(2571,e.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:n(2572,e.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:n(2573,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_rest_element_type_2573","Property '{0}' is incompatible with rest element type."),A_rest_element_type_must_be_an_array_type:n(2574,e.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:n(2575,e.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_is_a_static_member_of_type_1:n(2576,e.DiagnosticCategory.Error,"Property_0_is_a_static_member_of_type_1_2576","Property '{0}' is a static member of type '{1}'"),Return_type_annotation_circularly_references_itself:n(2577,e.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode:n(2580,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery:n(2581,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha:n(2582,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:n(2583,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:n(2584,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:n(2585,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later."),Enum_type_0_circularly_references_itself:n(2586,e.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:n(2587,e.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:n(2588,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:n(2589,e.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:n(2590,e.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:n(2591,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_th_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:n(2592,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_an_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery` and then add `jquery` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:n(2593,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:n(2594,e.DiagnosticCategory.Error,"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594","This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag."),JSX_element_attributes_type_0_may_not_be_a_union_type:n(2600,e.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:n(2601,e.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","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:n(2602,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:n(2603,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:n(2604,e.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:n(2605,e.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:n(2606,e.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:n(2607,e.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:n(2608,e.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:n(2609,e.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_property:n(2610,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_proper_2610","Class '{0}' defines instance member accessor '{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_accessor:n(2611,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_access_2611","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:n(2612,e.DiagnosticCategory.Error,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:n(2613,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:n(2614,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:n(2649,e.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:n(2651,e.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:n(2652,e.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:n(2653,e.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:n(2654,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","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:n(2656,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","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:n(2657,e.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:n(2658,e.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","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:n(2659,e.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:n(2660,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:n(2661,e.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:n(2662,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:n(2663,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:n(2664,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","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:n(2665,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:n(2666,e.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","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:n(2667,e.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:n(2668,e.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:n(2669,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:n(2670,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:n(2671,e.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:n(2672,e.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:n(2673,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:n(2674,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:n(2675,e.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:n(2676,e.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:n(2677,e.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:n(2678,e.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","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:n(2679,e.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:n(2680,e.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:n(2681,e.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),get_and_set_accessor_must_have_the_same_this_type:n(2682,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:n(2683,e.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:n(2684,e.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:n(2685,e.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","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:n(2686,e.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:n(2687,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:n(2688,e.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:n(2689,e.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:n(2691,e.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:n(2692,e.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:n(2693,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:n(2694,e.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:n(2695,e.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:n(2696,e.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:n(2697,e.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),Spread_types_may_only_be_created_from_object_types:n(2698,e.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:n(2699,e.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:n(2700,e.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:n(2701,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:n(2702,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:n(2703,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a delete operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:n(2704,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a delete operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:n(2705,e.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Required_type_parameters_may_not_follow_optional_type_parameters:n(2706,e.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:n(2707,e.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:n(2708,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:n(2709,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:n(2710,e.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:n(2711,e.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:n(2712,e.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:n(2713,e.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:n(2714,e.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:n(2715,e.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:n(2716,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:n(2717,e.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:n(2718,e.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:n(2719,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:n(2720,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:n(2721,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:n(2722,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:n(2723,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),Module_0_has_no_exported_member_1_Did_you_mean_2:n(2724,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_2_2724","Module '{0}' has no exported member '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:n(2725,e.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:n(2726,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:n(2727,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:n(2728,e.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:n(2729,e.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:n(2730,e.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:n(2731,e.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:n(2732,e.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension"),Property_0_was_also_declared_here:n(2733,e.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),It_is_highly_likely_that_you_are_missing_a_semicolon:n(2734,e.DiagnosticCategory.Error,"It_is_highly_likely_that_you_are_missing_a_semicolon_2734","It is highly likely that you are missing a semicolon."),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:n(2735,e.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:n(2736,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ESNext:n(2737,e.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ESNext_2737","BigInt literals are not available when targeting lower than ESNext."),An_outer_value_of_this_is_shadowed_by_this_container:n(2738,e.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:n(2739,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:n(2740,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:n(2741,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:n(2742,e.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:n(2743,e.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:n(2744,e.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:n(2745,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:n(2746,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:n(2747,e.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:n(2748,e.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here:n(2749,e.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_2749","'{0}' refers to a value, but is being used as a type here."),The_implementation_signature_is_declared_here:n(2750,e.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:n(2751,e.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:n(2752,e.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:n(2753,e.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:n(2754,e.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:n(2755,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:n(2756,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:n(2757,e.DiagnosticCategory.Error,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:n(2758,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:n(2759,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:n(2760,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:n(2761,e.DiagnosticCategory.Error,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:n(2762,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:n(2763,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:n(2764,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:n(2765,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:n(2766,e.DiagnosticCategory.Error,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:n(2767,e.DiagnosticCategory.Error,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:n(2768,e.DiagnosticCategory.Error,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:n(2769,e.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:n(2770,e.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:n(2771,e.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:n(2772,e.DiagnosticCategory.Error,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:n(2773,e.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead:n(2774,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it__2774","This condition will always return true since the function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:n(2775,e.DiagnosticCategory.Error,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:n(2776,e.DiagnosticCategory.Error,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:n(2777,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:n(2778,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:n(2779,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:n(2780,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:n(2781,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),Import_declaration_0_is_using_private_name_1:n(4e3,e.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:n(4002,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:n(4004,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:n(4006,e.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:n(4008,e.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:n(4010,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n(4012,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:n(4014,e.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:n(4016,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:n(4019,e.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:n(4020,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:n(4022,e.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4023,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:n(4024,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:n(4025,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","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:n(4026,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4027,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:n(4028,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4029,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4030,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:n(4031,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4032,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:n(4033,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4034,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4035,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4036,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4037,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4038,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4039,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4040,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4041,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4042,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4043,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4044,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:n(4045,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4046,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:n(4047,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4048,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:n(4049,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4050,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n(4051,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:n(4052,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4053,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n(4054,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:n(4055,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4056,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:n(4057,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4058,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:n(4059,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:n(4060,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4061,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4062,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:n(4063,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4064,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:n(4065,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4066,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:n(4067,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4068,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4069,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:n(4070,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4071,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4072,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n(4073,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4074,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:n(4075,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4076,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:n(4077,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:n(4078,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:n(4081,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:n(4082,e.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:n(4083,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:n(4090,e.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4091,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:n(4092,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:n(4094,e.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4095,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4096,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:n(4097,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4098,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4099,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:n(4100,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4101,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:n(4102,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:n(4103,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:n(4104,e.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:n(4105,e.DiagnosticCategory.Error,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:n(4106,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:n(4107,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4108,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:n(4109,e.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:n(4110,e.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),The_current_host_does_not_support_the_0_option:n(5001,e.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:n(5009,e.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:n(5010,e.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:n(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:n(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:n(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:n(5024,e.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Could_not_write_file_0_Colon_1:n(5033,e.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:n(5042,e.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:n(5047,e.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:n(5048,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:n(5051,e.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:n(5052,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:n(5053,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:n(5054,e.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:n(5055,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:n(5056,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:n(5057,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:n(5058,e.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:n(5059,e.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Option_paths_cannot_be_used_without_specifying_baseUrl_option:n(5060,e.DiagnosticCategory.Error,"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060","Option 'paths' cannot be used without specifying '--baseUrl' option."),Pattern_0_can_have_at_most_one_Asterisk_character:n(5061,e.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:n(5062,e.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:n(5063,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:n(5064,e.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:n(5065,e.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:n(5066,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:n(5067,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:n(5068,e.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:n(5069,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:n(5070,e.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:n(5071,e.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:n(5072,e.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:n(5073,e.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:n(5074,e.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option `--tsBuildInfoFile` is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:n(5075,e.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:n(5076,e.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:n(6e3,e.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:n(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:n(6002,e.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:n(6003,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003","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:n(6004,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:n(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:n(6006,e.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:n(6007,e.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:n(6008,e.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:n(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:n(6010,e.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:n(6011,e.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:n(6012,e.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:n(6013,e.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:n(6014,e.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_or_ESNEXT:n(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_or_ESNEXT_6015","Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'."),Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext:n(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext_6016","Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'."),Print_this_message:n(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:n(6019,e.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:n(6020,e.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:n(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:n(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:n(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:n(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:n(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:n(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:n(6030,e.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:n(6031,e.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:n(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:n(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:n(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:n(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:n(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:n(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:n(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:n(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:n(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:n(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:n(6045,e.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:n(6046,e.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:n(6048,e.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unsupported_locale_0:n(6049,e.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:n(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:n(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:n(6052,e.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:n(6053,e.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_unsupported_extension_The_only_supported_extensions_are_1:n(6054,e.DiagnosticCategory.Error,"File_0_has_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:n(6055,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:n(6056,e.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","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:n(6058,e.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:n(6059,e.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:n(6060,e.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:n(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file:n(6064,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_6064","Option '{0}' can only be specified in 'tsconfig.json' file."),Enables_experimental_support_for_ES7_decorators:n(6065,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:n(6066,e.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Enables_experimental_support_for_ES7_async_functions:n(6068,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:n(6069,e.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:n(6070,e.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:n(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:n(6072,e.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:n(6073,e.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:n(6074,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:n(6075,e.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:n(6076,e.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:n(6077,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:n(6078,e.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:n(6079,e.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation_Colon_preserve_react_native_or_react:n(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_Colon_preserve_react_native_or_react_6080","Specify JSX code generation: 'preserve', 'react-native', or 'react'."),File_0_has_an_unsupported_extension_so_skipping_it:n(6081,e.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:n(6082,e.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:n(6083,e.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:n(6084,e.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:n(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:n(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:n(6087,e.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:n(6088,e.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:n(6089,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:n(6090,e.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:n(6091,e.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:n(6092,e.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:n(6093,e.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:n(6094,e.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:n(6095,e.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:n(6096,e.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:n(6097,e.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:n(6098,e.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:n(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:n(6100,e.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:n(6101,e.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:n(6102,e.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Option_0_should_have_array_of_strings_as_a_value:n(6103,e.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:n(6104,e.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:n(6105,e.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:n(6106,e.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:n(6107,e.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:n(6108,e.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:n(6109,e.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:n(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:n(6111,e.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:n(6112,e.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:n(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:n(6114,e.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:n(6115,e.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:n(6116,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Resolving_using_primary_search_paths:n(6117,e.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:n(6118,e.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:n(6119,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:n(6120,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:n(6121,e.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:n(6122,e.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:n(6123,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:n(6124,e.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:n(6125,e.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","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:n(6126,e.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:n(6127,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:n(6128,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:n(6130,e.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:n(6131,e.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:n(6132,e.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:n(6133,e.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:n(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:n(6135,e.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:n(6136,e.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:n(6137,e.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:n(6138,e.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:n(6139,e.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","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:n(6140,e.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:n(6141,e.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:n(6142,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:n(6144,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:n(6145,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:n(6146,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:n(6147,e.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:n(6148,e.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:n(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:n(6150,e.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:n(6151,e.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:n(6152,e.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:n(6153,e.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:n(6154,e.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:n(6155,e.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:n(6156,e.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:n(6157,e.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:n(6158,e.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","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:n(6159,e.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:n(6160,e.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:n(6161,e.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:n(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:n(6163,e.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:n(6164,e.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6164","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages:n(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:n(6166,e.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:n(6167,e.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:n(6168,e.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:n(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:n(6170,e.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:n(6171,e.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Basic_Options:n(6172,e.DiagnosticCategory.Message,"Basic_Options_6172","Basic Options"),Strict_Type_Checking_Options:n(6173,e.DiagnosticCategory.Message,"Strict_Type_Checking_Options_6173","Strict Type-Checking Options"),Module_Resolution_Options:n(6174,e.DiagnosticCategory.Message,"Module_Resolution_Options_6174","Module Resolution Options"),Source_Map_Options:n(6175,e.DiagnosticCategory.Message,"Source_Map_Options_6175","Source Map Options"),Additional_Checks:n(6176,e.DiagnosticCategory.Message,"Additional_Checks_6176","Additional Checks"),Experimental_Options:n(6177,e.DiagnosticCategory.Message,"Experimental_Options_6177","Experimental Options"),Advanced_Options:n(6178,e.DiagnosticCategory.Message,"Advanced_Options_6178","Advanced Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:n(6179,e.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:n(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:n(6181,e.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:n(6182,e.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_to_file_1_from_old_program:n(6183,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_to_file_1_from_old_program_6183","Reusing resolution of module '{0}' to file '{1}' from old program."),Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program:n(6184,e.DiagnosticCategory.Message,"Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program_6184","Reusing module resolutions originating in '{0}' since resolutions are unchanged from old program."),Disable_strict_checking_of_generic_signatures_in_function_types:n(6185,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6185","Disable strict checking of generic signatures in function types."),Enable_strict_checking_of_function_types:n(6186,e.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:n(6187,e.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:n(6188,e.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:n(6189,e.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:n(6191,e.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:n(6192,e.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:n(6193,e.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:n(6194,e.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:n(6195,e.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:n(6196,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:n(6197,e.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:n(6198,e.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:n(6199,e.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:n(6200,e.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:n(6201,e.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:n(6202,e.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:n(6203,e.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:n(6204,e.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:n(6205,e.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused"),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:n(6206,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:n(6207,e.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:n(6208,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:n(6209,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:n(6210,e.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:n(6211,e.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:n(6212,e.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:n(6213,e.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:n(6214,e.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:n(6215,e.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:n(6216,e.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:n(6217,e.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:n(6218,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:n(6219,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:n(6220,e.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:n(6221,e.DiagnosticCategory.Message,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:n(6222,e.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:n(6223,e.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Projects_to_reference:n(6300,e.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:n(6302,e.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:n(6304,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:n(6305,e.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:n(6306,e.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:n(6307,e.DiagnosticCategory.Error,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:n(6308,e.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:n(6309,e.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:n(6350,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350","Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:n(6351,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:n(6352,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:n(6353,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:n(6354,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:n(6355,e.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:n(6356,e.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:n(6357,e.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:n(6358,e.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:n(6359,e.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),delete_this_Project_0_is_up_to_date_because_it_was_previously_built:n(6360,e.DiagnosticCategory.Message,"delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360","delete this - Project '{0}' is up to date because it was previously built"),Project_0_is_up_to_date:n(6361,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:n(6362,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:n(6363,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:n(6364,e.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:n(6365,e.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Enable_verbose_logging:n(6366,e.DiagnosticCategory.Message,"Enable_verbose_logging_6366","Enable verbose logging"),Show_what_would_be_built_or_deleted_if_specified_with_clean:n(6367,e.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Build_all_projects_including_those_that_appear_to_be_up_to_date:n(6368,e.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6368","Build all projects, including those that appear to be up to date"),Option_build_must_be_the_first_command_line_argument:n(6369,e.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:n(6370,e.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:n(6371,e.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:n(6372,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:n(6373,e.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:n(6374,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:n(6375,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:n(6376,e.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:n(6377,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Enable_incremental_compilation:n(6378,e.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:n(6379,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:n(6380,e.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:n(6381,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:n(6382,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:n(6383,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:n(6500,e.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:n(6501,e.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:n(6502,e.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:n(6503,e.DiagnosticCategory.Message,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),Variable_0_implicitly_has_an_1_type:n(7005,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:n(7006,e.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:n(7008,e.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:n(7009,e.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:n(7010,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:n(7011,e.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:n(7013,e.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:n(7014,e.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:n(7015,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:n(7016,e.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:n(7017,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:n(7018,e.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:n(7019,e.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:n(7020,e.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:n(7022,e.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:n(7023,e.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:n(7024,e.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:n(7025,e.DiagnosticCategory.Error,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:n(7026,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:n(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:n(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:n(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:n(7030,e.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:n(7031,e.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:n(7032,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:n(7033,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:n(7034,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:n(7035,e.DiagnosticCategory.Error,"Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_mod_7035","Try `npm install @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:n(7036,e.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:n(7037,e.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:n(7038,e.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:n(7039,e.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:n(7040,e.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}`"),The_containing_arrow_function_captures_the_global_value_of_this:n(7041,e.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:n(7042,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7043,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7044,e.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7045,e.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:n(7046,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:n(7047,e.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:n(7048,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:n(7049,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:n(7050,e.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:n(7051,e.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:n(7052,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}' ?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:n(7053,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:n(7054,e.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:n(7055,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),You_cannot_rename_this_element:n(8e3,e.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:n(8001,e.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_a_ts_file:n(8002,e.DiagnosticCategory.Error,"import_can_only_be_used_in_a_ts_file_8002","'import ... =' can only be used in a .ts file."),export_can_only_be_used_in_a_ts_file:n(8003,e.DiagnosticCategory.Error,"export_can_only_be_used_in_a_ts_file_8003","'export=' can only be used in a .ts file."),type_parameter_declarations_can_only_be_used_in_a_ts_file:n(8004,e.DiagnosticCategory.Error,"type_parameter_declarations_can_only_be_used_in_a_ts_file_8004","'type parameter declarations' can only be used in a .ts file."),implements_clauses_can_only_be_used_in_a_ts_file:n(8005,e.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_a_ts_file_8005","'implements clauses' can only be used in a .ts file."),interface_declarations_can_only_be_used_in_a_ts_file:n(8006,e.DiagnosticCategory.Error,"interface_declarations_can_only_be_used_in_a_ts_file_8006","'interface declarations' can only be used in a .ts file."),module_declarations_can_only_be_used_in_a_ts_file:n(8007,e.DiagnosticCategory.Error,"module_declarations_can_only_be_used_in_a_ts_file_8007","'module declarations' can only be used in a .ts file."),type_aliases_can_only_be_used_in_a_ts_file:n(8008,e.DiagnosticCategory.Error,"type_aliases_can_only_be_used_in_a_ts_file_8008","'type aliases' can only be used in a .ts file."),_0_can_only_be_used_in_a_ts_file:n(8009,e.DiagnosticCategory.Error,"_0_can_only_be_used_in_a_ts_file_8009","'{0}' can only be used in a .ts file."),types_can_only_be_used_in_a_ts_file:n(8010,e.DiagnosticCategory.Error,"types_can_only_be_used_in_a_ts_file_8010","'types' can only be used in a .ts file."),type_arguments_can_only_be_used_in_a_ts_file:n(8011,e.DiagnosticCategory.Error,"type_arguments_can_only_be_used_in_a_ts_file_8011","'type arguments' can only be used in a .ts file."),parameter_modifiers_can_only_be_used_in_a_ts_file:n(8012,e.DiagnosticCategory.Error,"parameter_modifiers_can_only_be_used_in_a_ts_file_8012","'parameter modifiers' can only be used in a .ts file."),non_null_assertions_can_only_be_used_in_a_ts_file:n(8013,e.DiagnosticCategory.Error,"non_null_assertions_can_only_be_used_in_a_ts_file_8013","'non-null assertions' can only be used in a .ts file."),enum_declarations_can_only_be_used_in_a_ts_file:n(8015,e.DiagnosticCategory.Error,"enum_declarations_can_only_be_used_in_a_ts_file_8015","'enum declarations' can only be used in a .ts file."),type_assertion_expressions_can_only_be_used_in_a_ts_file:n(8016,e.DiagnosticCategory.Error,"type_assertion_expressions_can_only_be_used_in_a_ts_file_8016","'type assertion expressions' can only be used in a .ts file."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:n(8017,e.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:n(8018,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:n(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:n(8020,e.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:n(8021,e.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:n(8022,e.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:n(8023,e.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:n(8024,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:n(8025,e.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one `@augments` or `@extends` tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:n(8026,e.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:n(8027,e.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:n(8028,e.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:n(8029,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:n(8030,e.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:n(8031,e.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:n(8032,e.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:n(9002,e.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:n(9003,e.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:n(9004,e.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:n(9005,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:n(9006,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:n(17e3,e.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:n(17001,e.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:n(17002,e.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:n(17003,e.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:n(17004,e.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:n(17005,e.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:n(17006,e.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:n(17007,e.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:n(17008,e.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:n(17009,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:n(17010,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:n(17011,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:n(17012,e.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:n(17013,e.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:n(17014,e.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:n(17015,e.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),JSX_fragment_is_not_supported_when_using_jsxFactory:n(17016,e.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_jsxFactory_17016","JSX fragment is not supported when using --jsxFactory"),JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma:n(17017,e.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma_17017","JSX fragment is not supported when using an inline JSX factory pragma"),Circularity_detected_while_resolving_configuration_Colon_0:n(18e3,e.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:n(18001,e.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty:n(18002,e.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","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:n(18003,e.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module:n(80001,e.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration:n(80002,e.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:n(80003,e.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:n(80004,e.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:n(80005,e.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:n(80006,e.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:n(80007,e.DiagnosticCategory.Suggestion,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:n(80008,e.DiagnosticCategory.Suggestion,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:n(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:n(90002,e.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:n(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_declaration_for_Colon_0:n(90004,e.DiagnosticCategory.Message,"Remove_declaration_for_Colon_0_90004","Remove declaration for: '{0}'"),Remove_import_from_0:n(90005,e.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:n(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:n(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:n(90008,e.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_destructuring:n(90009,e.DiagnosticCategory.Message,"Remove_destructuring_90009","Remove destructuring"),Remove_variable_statement:n(90010,e.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:n(90011,e.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:n(90012,e.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:n(90013,e.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:n(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:n(90015,e.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:n(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:n(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:n(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:n(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:n(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:n(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:n(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:n(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:n(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:n(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:n(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:n(90027,e.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:n(90028,e.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:n(90029,e.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:n(90030,e.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:n(90031,e.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:n(90032,e.DiagnosticCategory.Message,"Import_default_0_from_module_1_90032","Import default '{0}' from module \"{1}\""),Add_default_import_0_to_existing_import_declaration_from_1:n(90033,e.DiagnosticCategory.Message,"Add_default_import_0_to_existing_import_declaration_from_1_90033","Add default import '{0}' to existing import declaration from \"{1}\""),Add_parameter_name:n(90034,e.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Convert_function_to_an_ES2015_class:n(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:n(95002,e.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Extract_to_0_in_1:n(95004,e.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:n(95005,e.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:n(95006,e.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:n(95007,e.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:n(95008,e.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:n(95009,e.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:n(95010,e.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:n(95011,e.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:n(95012,e.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:n(95013,e.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:n(95014,e.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:n(95015,e.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:n(95016,e.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:n(95017,e.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:n(95018,e.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:n(95019,e.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:n(95020,e.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Add_all_missing_members:n(95022,e.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:n(95023,e.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:n(95024,e.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:n(95025,e.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:n(95026,e.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:n(95027,e.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:n(95028,e.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:n(95029,e.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:n(95030,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:n(95031,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:n(95032,e.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:n(95033,e.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:n(95034,e.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:n(95035,e.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:n(95036,e.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:n(95037,e.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:n(95038,e.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:n(95039,e.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:n(95040,e.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:n(95041,e.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:n(95042,e.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:n(95043,e.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:n(95044,e.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:n(95045,e.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:n(95046,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:n(95047,e.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:n(95048,e.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:n(95049,e.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:n(95050,e.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:n(95051,e.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:n(95052,e.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:n(95053,e.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:n(95054,e.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:n(95055,e.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:n(95056,e.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:n(95057,e.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:n(95058,e.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:n(95059,e.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:n(95060,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:n(95061,e.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:n(95062,e.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:n(95063,e.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:n(95064,e.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:n(95065,e.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:n(95066,e.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_unknown_conversion_for_non_overlapping_types:n(95069,e.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:n(95070,e.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:n(95071,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:n(95072,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:n(95073,e.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:n(95074,e.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:n(95075,e.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Allow_accessing_UMD_globals_from_modules:n(95076,e.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_95076","Allow accessing UMD globals from modules."),Extract_type:n(95077,e.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:n(95078,e.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:n(95079,e.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:n(95080,e.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:n(95081,e.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:n(95082,e.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:n(95083,e.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:n(95084,e.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:n(95085,e.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:n(95086,e.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:n(95087,e.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:n(95088,e.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:n(95089,e.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:n(95090,e.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:n(95091,e.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:n(95092,e.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:n(95093,e.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:n(95094,e.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:n(95095,e.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:n(18004,e.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:n(18006,e.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:n(18007,e.DiagnosticCategory.Error,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?")}}(u||(u={})),function(e){var n;function t(e){return e>=75}function r(e){return 31===e||t(e)}e.tokenIsIdentifierOrKeyword=t,e.tokenIsIdentifierOrKeywordOrGreaterThan=r;var a=(n={abstract:121,any:124,as:122,asserts:123,bigint:150,boolean:127,break:76,case:77,catch:78,class:79,continue:81,const:80},n["constructor"]=128,n.debugger=82,n.declare=129,n.default=83,n.delete=84,n.do=85,n.else=86,n.enum=87,n.export=88,n.extends=89,n.false=90,n.finally=91,n.for=92,n.from=148,n.function=93,n.get=130,n.if=94,n.implements=112,n.import=95,n.in=96,n.infer=131,n.instanceof=97,n.interface=113,n.is=132,n.keyof=133,n.let=114,n.module=134,n.namespace=135,n.never=136,n.new=98,n.null=99,n.number=139,n.object=140,n.package=115,n.private=116,n.protected=117,n.public=118,n.readonly=137,n.require=138,n.global=149,n.return=100,n.set=141,n.static=119,n.string=142,n.super=101,n.switch=102,n.symbol=143,n.this=103,n.throw=104,n.true=105,n.try=106,n.type=144,n.typeof=107,n.undefined=145,n.unique=146,n.unknown=147,n.var=108,n.void=109,n.while=110,n.with=111,n.yield=120,n.async=125,n.await=126,n.of=151,n),i=e.createMapFromTemplate(a),s=e.createMapFromTemplate(o(o({},a),{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,">":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":62,"+=":63,"-=":64,"*=":65,"**=":66,"/=":67,"%=":68,"<<=":69,">>=":70,">>>=":71,"&=":72,"|=":73,"^=":74,"@":59,"`":61})),c=[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],l=[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],u=[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],d=[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],p=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101],m=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999];function f(e,n){if(e=2?p:1===n?u:c)}function g(e,n){return f(e,n>=2?m:1===n?d:l)}function y(e){var n=[];return e.forEach((function(e,t){n[e]=t})),n}e.isUnicodeIdentifierStart=_;var v=y(s);function h(e){return v[e]}function b(e){return s.get(e)}function E(e){var n=new Array,t=0,r=0;while(t127&&k(a)&&(n.push(r),r=t);break}}return n.push(r),n}function T(e,n,t,r){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(n,t,r):S(x(e),n,t,e.text,r)}function S(n,t,r,a,i){(t<0||t>=n.length)&&(i?t=t<0?0:t>=n.length?n.length-1:t:e.Debug.fail("Bad line number. Line: "+t+", lineStarts.length: "+n.length+" , line map is correct? "+(void 0!==a?e.arraysEqual(n,E(a)):"unknown")));var o=n[t]+r;return i?o>n[t+1]?n[t+1]:"string"===typeof a&&o>a.length?a.length:o:(t=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function k(e){return 10===e||13===e||8232===e||8233===e}function N(e){return e>=48&&e<=57}function I(e){return e>=48&&e<=55}function O(e,n){var t=e.charCodeAt(n);switch(t){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return 0===n;default:return t>127}}function M(n,t,r,a){if(void 0===a&&(a=!1),e.positionIsSynthesized(t))return t;while(1){var i=n.charCodeAt(t);switch(i){case 13:10===n.charCodeAt(t+1)&&t++;case 10:if(t++,r)return t;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(a)break;if(47===n.charCodeAt(t+1)){t+=2;while(t127&&A(i)){t++;continue}break}return t}}e.tokenToString=h,e.stringToToken=b,e.computeLineStarts=E,e.getPositionOfLineAndCharacter=T,e.computePositionOfLineAndCharacter=S,e.getLineStarts=x,e.computeLineAndCharacterOfPosition=L,e.getLineAndCharacterOfPosition=C,e.isWhiteSpaceLike=A,e.isWhiteSpaceSingleLine=D,e.isLineBreak=k,e.isOctalDigit=I,e.couldStartTrivia=O,e.skipTrivia=M;var w="<<<<<<<".length;function R(n,t){if(e.Debug.assert(t>=0),0===t||k(n.charCodeAt(t-1))){var r=n.charCodeAt(t);if(t+w=0&&t127&&A(_)){d&&k(_)&&(u=!0),t++;continue}break e}}return d&&(m=a(s,c,l,u,i,m)),m}function U(e,n,t,r){return V(!1,e,n,!1,t,r)}function j(e,n,t,r){return V(!1,e,n,!0,t,r)}function K(e,n,t,r,a){return V(!0,e,n,!1,t,r,a)}function H(e,n,t,r,a){return V(!0,e,n,!0,t,r,a)}function W(e,n,t,r,a,i){return i||(i=[]),i.push({kind:t,pos:e,end:n,hasTrailingNewLine:r}),i}function q(e,n){return K(e,n,W,void 0,void 0)}function z(e,n){return H(e,n,W,void 0,void 0)}function J(e){var n=F.exec(e);if(n)return n[0]}function X(e,n){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&_(e,n)}function Y(e,n){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||e>127&&g(e,n)}function Q(e,n){var t=$(e,0);if(!X(t,n))return!1;for(var r=ee(t);r111},isReservedWord:function(){return f>=76&&f<=111},isUnterminated:function(){return 0!==(4&g)},getTokenFlags:function(){return g},reScanGreaterToken:Z,reScanSlashToken:ne,reScanTemplateToken:te,scanJsxIdentifier:se,scanJsxAttributeValue:ce,reScanJsxToken:re,reScanLessThanToken:ae,reScanQuestionToken:ie,scanJsxToken:oe,scanJsDocToken:le,scan:Q,getText:fe,setText:_e,setScriptTarget:ye,setLanguageVariant:ve,setOnError:ge,setTextPos:he,setInJSDocType:be,tryScan:me,lookAhead:pe,scanRange:de};return e.Debug.isDebugging&&Object.defineProperty(h,"__debugShowCurrentPositionInText",{get:function(){var e=h.getText();return e.slice(0,h.getStartPos())+"║"+e.slice(h.getStartPos())}}),h;function b(e,n,t){if(void 0===n&&(n=u),s){var r=u;u=n,s(e,t||0),u=r}}function E(){var n=u,t=!1,r=!1,a="";while(1){var i=y.charCodeAt(u);if(95!==i){if(!N(i))break;t=!0,r=!1,u++}else g|=512,t?(t=!1,r=!0,a+=y.substring(n,u)):b(r?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1),u++,n=u}return 95===y.charCodeAt(u-1)&&b(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1),a+y.substring(n,u)}function T(){var n,t,r=u,a=E();46===y.charCodeAt(u)&&(u++,n=E());var i,o=u;if(69===y.charCodeAt(u)||101===y.charCodeAt(u)){u++,g|=16,43!==y.charCodeAt(u)&&45!==y.charCodeAt(u)||u++;var s=u,c=E();c?(t=y.substring(o,s)+c,o=u):b(e.Diagnostics.Digit_expected)}if(512&g?(i=a,n&&(i+="."+n),t&&(i+=t)):i=y.substring(r,o),void 0!==n||16&g)return S(r,void 0===n&&!!(16&g)),{type:8,value:""+ +i};_=i;var l=J();return S(r),{type:l,value:_}}function S(t,r){if(X($(y,u),n)){var a=u,i=W().length;1===i&&"n"===y[a]?b(r?e.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:e.Diagnostics.A_bigint_literal_must_be_an_integer,t,a-t+1):(b(e.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,a,i),u=a)}}function x(){var e=u;while(I(y.charCodeAt(u)))u++;return+y.substring(e,u)}function L(e,n){var t=O(e,!1,n);return t?parseInt(t,16):-1}function C(e,n){return O(e,!0,n)}function O(n,t,r){var a=[],i=!1,o=!1;while(a.length=65&&s<=70)s+=32;else if(!(s>=48&&s<=57||s>=97&&s<=102))break;a.push(s),u++,o=!1}}return a.length=d){r+=y.substring(a,u),g|=4,b(e.Diagnostics.Unterminated_string_literal);break}var i=y.charCodeAt(u);if(i===t){r+=y.substring(a,u),u++;break}if(92!==i||n){if(k(i)&&!n){r+=y.substring(a,u),g|=4,b(e.Diagnostics.Unterminated_string_literal);break}u++}else r+=y.substring(a,u),r+=F(),a=u}return r}function w(){var n=96===y.charCodeAt(u);u++;var t,r=u,a="";while(1){if(u>=d){a+=y.substring(r,u),g|=4,b(e.Diagnostics.Unterminated_template_literal),t=n?14:17;break}var i=y.charCodeAt(u);if(96===i){a+=y.substring(r,u),u++,t=n?14:17;break}if(36===i&&u+1=d)return b(e.Diagnostics.Unexpected_end_of_text),"";var n=y.charCodeAt(u);switch(u++,n){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 u=0?String.fromCharCode(t):(b(e.Diagnostics.Hexadecimal_digit_expected),"")}function U(){var n=C(1,!1),t=n?parseInt(n,16):-1,r=!1;return t<0?(b(e.Diagnostics.Hexadecimal_digit_expected),r=!0):t>1114111&&(b(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),r=!0),u>=d?(b(e.Diagnostics.Unexpected_end_of_text),r=!0):125===y.charCodeAt(u)?u++:(b(e.Diagnostics.Unterminated_Unicode_escape_sequence),r=!0),r?"":j(t)}function j(n){if(e.Debug.assert(0<=n&&n<=1114111),n<=65535)return String.fromCharCode(n);var t=Math.floor((n-65536)/1024)+55296,r=(n-65536)%1024+56320;return String.fromCharCode(t,r)}function K(){if(u+5=2&&117===$(y,u+1)&&123===$(y,u+2)){var e=u;u+=3;var t=C(1,!1),r=t?parseInt(t,16):-1;return u=e,r}return-1}function W(){var e="",t=u;while(u=0&&Y(r,n)){u+=3,g|=8,e+=U(),t=u;continue}if(r=K(),!(r>=0&&Y(r,n)))break;g|=1024,e+=y.substring(t,u),e+=j(r),u+=6,t=u}}return e+=y.substring(t,u),e}function q(){var e=_.length;if(e>=2&&e<=11){var n=_.charCodeAt(0);if(n>=97&&n<=122){var t=i.get(_);if(void 0!==t)return f=t}}return f=75}function z(n){var t="",r=!1,a=!1;while(1){var i=y.charCodeAt(u);if(95!==i){if(r=!0,!N(i)||i-48>=n)break;t+=y[u],u++,a=!1}else g|=512,r?(r=!1,a=!0):b(a?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1),u++}return 95===y.charCodeAt(u-1)&&b(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1),t}function J(){if(110===y.charCodeAt(u))return _+="n",384&g&&(_=e.parsePseudoBigInt(_)+"n"),u++,9;var n=128&g?parseInt(_.slice(2),2):256&g?parseInt(_.slice(2),8):+_;return _=""+n,8}function Q(){var t;p=u,g=0;var i=!1;while(1){if(m=u,u>=d)return f=1;var o=$(y,u);if(35===o&&0===u&&G(y,u)){if(u=B(y,u),r)continue;return f=6}switch(o){case 10:case 13:if(g|=1,r){u++;continue}return 13===o&&u+1=0&&X(l,n))return u+=3,g|=8,_=U()+W(),f=q();var h=K();return h>=0&&X(h,n)?(u+=6,g|=1024,_=String.fromCharCode(h)+W(),f=q()):(b(e.Diagnostics.Invalid_character),u++,f=0);default:if(X(o,n)){u+=ee(o);while(u=d){g|=4,b(e.Diagnostics.Unterminated_regular_expression_literal);break}var i=y.charCodeAt(t);if(k(i)){g|=4,b(e.Diagnostics.Unterminated_regular_expression_literal);break}if(r)r=!1;else{if(47===i&&!a){t++;break}91===i?a=!0:92===i?r=!0:93===i&&(a=!1)}t++}while(t=d)return f=1;var e=y.charCodeAt(u);if(60===e)return 47===y.charCodeAt(u+1)?(u+=2,f=30):(u++,f=29);if(123===e)return u++,f=18;var n=0;while(u=d)return f=1;var e=$(y,u);switch(u+=ee(e),e){case 9:case 11:case 12:case 32:while(u=0&&X(t,n))return u+=3,g|=8,_=U()+W(),f=q();var r=K();return r>=0&&X(r,n)?(u+=6,g|=1024,_=String.fromCharCode(r)+W(),f=q()):(u++,f=0)}if(X(e,n)){var a=e;while(u=0),u=n,p=n,m=n,f=0,_=void 0,g=0}function be(e){v+=e?1:-1}}e.isShebangTrivia=G,e.scanShebangTrivia=B,e.forEachLeadingCommentRange=U,e.forEachTrailingCommentRange=j,e.reduceEachLeadingCommentRange=K,e.reduceEachTrailingCommentRange=H,e.getLeadingCommentRanges=q,e.getTrailingCommentRanges=z,e.getShebang=J,e.isIdentifierStart=X,e.isIdentifierPart=Y,e.isIdentifierText=Q,e.createScanner=Z;var $=String.prototype.codePointAt?function(e,n){return e.codePointAt(n)}:function(e,n){var t=e.length;if(!(n<0||n>=t)){var r=e.charCodeAt(n);if(r>=55296&&r<=56319&&t>n+1){var a=e.charCodeAt(n+1);if(a>=56320&&a<=57343)return 1024*(r-55296)+a-56320+65536}return r}};function ee(e){return e>=65536?2:1}}(u||(u={})),function(e){function n(n){return e.pathIsRelative(n)||e.isRootedDiskPath(n)}function t(n){return e.sortAndDeduplicate(n,e.compareDiagnostics)}e.isExternalModuleNameRelative=n,e.sortAndDeduplicateDiagnostics=t}(u||(u={})),function(e){function n(e,n){var t=e.declarations;if(t)for(var r=0,a=t;r=0),e.getLineStarts(t)[n]}function w(n){var t=I(n),r=e.getLineAndCharacterOfPosition(t,n.pos);return t.fileName+"("+(r.line+1)+","+(r.character+1)+")"}function R(n,t){e.Debug.assert(n>=0);var r=e.getLineStarts(t),a=n,i=t.text;if(a+1===r.length)return i.length-1;var o=r[a],s=r[a+1]-1;e.Debug.assert(e.isLineBreak(i.charCodeAt(s)));while(o<=s&&e.isLineBreak(i.charCodeAt(s)))s--;return s}function P(e,n,t){return!(t&&t(n))&&!e.identifiers.has(n)}function F(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function G(e){return!F(e)}function B(e,n,t){if(void 0===n||0===n.length)return e;for(var r=0;r0?J(n._children[0],t,r):e.skipTrivia((t||I(n)).text,n.pos)}function X(n,t){return F(n)||!n.decorators?J(n,t):e.skipTrivia((t||I(n)).text,n.decorators.end)}function Y(e,n,t){return void 0===t&&(t=!1),Z(e.text,n,t)}function Q(e){return 292===e.kind||e.parent&&Q(e.parent)}function Z(n,t,r){if(void 0===r&&(r=!1),F(t))return"";var a=n.substring(r?t.pos:e.skipTrivia(n,t.pos),t.end);return Q(t)&&(a=a.replace(/(^|\r?\n|\r)\s*\*\s*/g,"$1")),a}function $(e,n){return void 0===n&&(n=!1),Y(I(e),e,n)}function ee(e){return e.pos}function ne(n,t){return e.binarySearch(n,t,ee,e.compareValues)}function te(e){var n=e.emitNode;return n&&n.flags||0}function re(n,t,r){if(!Zr(n)&&n.parent&&!(e.isNumericLiteral(n)&&512&n.numericLiteralFlags||e.isBigIntLiteral(n)))return Y(t,n);var a=r||16777216&te(n)?ma:ba;switch(n.kind){case 10:return n.singleQuote?"'"+a(n.text,39)+"'":'"'+a(n.text,34)+'"';case 14:case 15:case 16:case 17:var i=n.rawText||ca(a(n.text,96));switch(n.kind){case 14:return"`"+i+"`";case 15:return"`"+i+"${";case 16:return"}"+i+"${";case 17:return"}"+i+"`"}break;case 8:case 9:case 13:return n.text}return e.Debug.fail("Literal kind '"+n.kind+"' not accounted for.")}function ae(n){return e.isString(n)?'"'+ba(n)+'"':""+n}function ie(n){return e.getBaseFileName(n).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function oe(n){return 0!==(3&e.getCombinedNodeFlags(n))||se(n)}function se(e){var n=Yr(e);return 241===n.kind&&278===n.parent.kind}function ce(n){return e.isModuleDeclaration(n)&&(10===n.name.kind||_e(n))}function le(n){return e.isModuleDeclaration(n)&&10===n.name.kind}function ue(n){return e.isModuleDeclaration(n)&&e.isStringLiteral(n.name)}function de(n){return e.isModuleDeclaration(n)||e.isIdentifier(n)}function pe(e){return me(e.valueDeclaration)}function me(e){return e&&248===e.kind&&!e.body}function fe(n){return 288===n.kind||248===n.kind||e.isFunctionLike(n)}function _e(e){return!!(1024&e.flags)}function ge(e){return ce(e)&&ye(e)}function ye(n){switch(n.parent.kind){case 288:return e.isExternalModule(n.parent);case 249:return ce(n.parent.parent)&&e.isSourceFile(n.parent.parent.parent)&&!e.isExternalModule(n.parent.parent.parent)}return!1}function ve(n){return e.find(n.declarations,(function(n){return!ge(n)&&!(e.isModuleDeclaration(n)&&_e(n))}))}function he(n,t){return e.isExternalModule(n)||t.isolatedModules||e.getEmitModuleKind(t)===e.ModuleKind.CommonJS&&!!n.commonJsModuleIndicator}function be(n,t){switch(n.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return!n.isDeclarationFile&&(!!e.getStrictOptionValue(t,"alwaysStrict")||(!!e.startsWithUseStrict(n.statements)||!(!e.isExternalModule(n)&&!t.isolatedModules)&&(e.getEmitModuleKind(t)>=e.ModuleKind.ES2015||!t.noImplicitUseStrict)))}function Ee(n,t){switch(n.kind){case 288:case 250:case 278:case 248:case 229:case 230:case 231:case 161:case 160:case 162:case 163:case 243:case 200:case 201:return!0;case 222:return!e.isFunctionLike(t)}return!1}function Te(n){switch(n.kind){case 308:case 315:case 303:return!0;default:return e.assertType(n),Se(n)}}function Se(n){switch(n.kind){case 164:case 165:case 159:case 166:case 169:case 170:case 298:case 244:case 213:case 245:case 246:case 314:case 243:case 160:case 161:case 162:case 163:case 200:case 201:return!0;default:return e.assertType(n),!1}}function xe(e){switch(e.kind){case 253:case 252:return!0;default:return!1}}function Le(e){switch(e.kind){case 253:case 252:case 224:case 244:case 243:case 248:case 246:case 245:case 247:return!0;default:return!1}}function Ce(n){return xe(n)||e.isExportDeclaration(n)}function Ae(e){return d(e.parent,(function(e){return Ee(e,e.parent)}))}function De(e){return e&&0!==h(e)?$(e):"(Missing)"}function ke(e){return e.declaration?De(e.declaration.parameters[0].name):void 0}function Ne(n){switch(n.kind){case 75:return n.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(n.text);case 153:return Pr(n.expression)?e.escapeLeadingUnderscores(n.expression.text):e.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return e.Debug.assertNever(n)}}function Ie(n){switch(n.kind){case 75:return 0===h(n)?e.idText(n):$(n);case 152:return Ie(n.left)+"."+Ie(n.right);case 193:return Ie(n.expression)+"."+Ie(n.name);default:throw e.Debug.assertNever(n)}}function Oe(e,n,t,r,a,i){var o=I(e);return we(o,e,n,t,r,a,i)}function Me(n,t,r,a,i,o,s){var c=e.skipTrivia(n.text,t.pos);return e.createFileDiagnostic(n,c,t.end-c,r,a,i,o,s)}function we(n,t,r,a,i,o,s){var c=Ge(n,t);return e.createFileDiagnostic(n,c.start,c.length,r,a,i,o,s)}function Re(e,n,t){var r=I(e),a=Ge(r,e);return{file:r,start:a.start,length:a.length,code:n.code,category:n.category,messageText:n.next?n:n.messageText,relatedInformation:t}}function Pe(n,t){var r=e.createScanner(n.languageVersion,!0,n.languageVariant,n.text,void 0,t);r.scan();var a=r.getTokenPos();return e.createTextSpanFromBounds(a,r.getTextPos())}function Fe(n,t){var r=e.skipTrivia(n.text,t.pos);if(t.body&&222===t.body.kind){var a=e.getLineAndCharacterOfPosition(n,t.body.pos).line,i=e.getLineAndCharacterOfPosition(n,t.body.end).line;if(a0?t.statements[0].pos:t.end;return e.createTextSpanFromBounds(i,o)}if(void 0===r)return Pe(n,t.pos);e.Debug.assert(!e.isJSDoc(r));var s=F(r),c=s||e.isJsxText(t)?r.pos:e.skipTrivia(n.text,r.pos);return s?(e.Debug.assert(c===r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c===r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(e.Debug.assert(c>=r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c<=r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(c,r.end)}function Be(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)}function Ve(e){return 6===e.scriptKind}function Ue(n){return!!(2048&e.getCombinedModifierFlags(n))}function je(n){return!(!(64&e.getCombinedModifierFlags(n))||e.isParameterPropertyDeclaration(n,n.parent))}function Ke(n){return!!(2&e.getCombinedNodeFlags(n))}function He(n){return!!(1&e.getCombinedNodeFlags(n))}function We(e){return 195===e.kind&&101===e.expression.kind}function qe(e){return 195===e.kind&&95===e.expression.kind}function ze(n){return e.isMetaProperty(n)&&95===n.keywordToken&&"meta"===n.name.escapedText}function Je(n){return e.isImportTypeNode(n)&&e.isLiteralTypeNode(n.argument)&&e.isStringLiteral(n.argument.literal)}function Xe(e){return 225===e.kind&&10===e.expression.kind}function Ye(n,t){return 11!==n.kind?e.getLeadingCommentRanges(t.text,n.pos):void 0}function Qe(n,t){var r=155===n.kind||154===n.kind||200===n.kind||201===n.kind||199===n.kind?e.concatenate(e.getTrailingCommentRanges(t,n.pos),e.getLeadingCommentRanges(t,n.pos)):e.getLeadingCommentRanges(t,n.pos);return e.filter(r,(function(e){return 42===t.charCodeAt(e.pos+1)&&42===t.charCodeAt(e.pos+2)&&47!==t.charCodeAt(e.pos+3)}))}e.changesAffectModuleResolution=l,e.optionsHaveModuleResolutionChanges=u,e.findAncestor=d,e.forEachAncestor=p,e.forEachEntry=m,e.forEachKey=f,e.copyEntries=_,e.arrayToSet=g,e.cloneMap=y,e.usingSingleLineStringWriter=v,e.getFullWidth=h,e.getResolvedModule=b,e.setResolvedModule=E,e.setResolvedTypeReferenceDirective=T,e.projectReferenceIsEqualTo=S,e.moduleResolutionIsEqualTo=x,e.packageIdToString=C,e.typeDirectiveIsEqualTo=A,e.hasChangesInResolutions=D,e.containsParseError=k,e.getSourceFileOfNode=I,e.isStatementWithLocals=O,e.getStartPositionOfLine=M,e.nodePosToString=w,e.getEndLinePosition=R,e.isFileLevelUniqueName=P,e.nodeIsMissing=F,e.nodeIsPresent=G,e.insertStatementsAfterStandardPrologue=j,e.insertStatementsAfterCustomPrologue=K,e.insertStatementAfterStandardPrologue=H,e.insertStatementAfterCustomPrologue=W,e.isRecognizedTripleSlashComment=q,e.isPinnedComment=z,e.getTokenPosOfNode=J,e.getNonDecoratorTokenPosOfNode=X,e.getSourceTextOfNodeFromSourceFile=Y,e.getTextOfNodeFromSourceText=Z,e.getTextOfNode=$,e.indexOfNode=ne,e.getEmitFlags=te,e.getLiteralText=re,e.getTextOfConstantValue=ae,e.makeIdentifierFromModuleName=ie,e.isBlockOrCatchScoped=oe,e.isCatchClauseVariableDeclarationOrBindingElement=se,e.isAmbientModule=ce,e.isModuleWithStringLiteralName=le,e.isNonGlobalAmbientModule=ue,e.isEffectiveModuleDeclaration=de,e.isShorthandAmbientModuleSymbol=pe,e.isBlockScopedContainerTopLevel=fe,e.isGlobalScopeAugmentation=_e,e.isExternalModuleAugmentation=ge,e.isModuleAugmentationExternal=ye,e.getNonAugmentationDeclaration=ve,e.isEffectiveExternalModule=he,e.isEffectiveStrictModeSourceFile=be,e.isBlockScope=Ee,e.isDeclarationWithTypeParameters=Te,e.isDeclarationWithTypeParameterChildren=Se,e.isAnyImportSyntax=xe,e.isLateVisibilityPaintedStatement=Le,e.isAnyImportOrReExport=Ce,e.getEnclosingBlockScopeContainer=Ae,e.declarationNameToString=De,e.getNameFromIndexInfo=ke,e.getTextOfPropertyName=Ne,e.entityNameToString=Ie,e.createDiagnosticForNode=Oe,e.createDiagnosticForNodeArray=Me,e.createDiagnosticForNodeInSourceFile=we,e.createDiagnosticForNodeFromMessageChain=Re,e.getSpanOfTokenAtPosition=Pe,e.getErrorSpanForNode=Ge,e.isExternalOrCommonJsModule=Be,e.isJsonSourceFile=Ve,e.isEnumConst=Ue,e.isDeclarationReadonly=je,e.isVarConst=Ke,e.isLet=He,e.isSuperCall=We,e.isImportCall=qe,e.isImportMeta=ze,e.isLiteralImportTypeNode=Je,e.isPrologueDirective=Xe,e.getLeadingCommentRangesOfNode=Ye,e.getJSDocCommentRanges=Qe,e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var Ze=/^(\/\/\/\s*/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var $e=/^(\/\/\/\s*/;function en(n){if(167<=n.kind&&n.kind<=187)return!0;switch(n.kind){case 124:case 147:case 139:case 150:case 142:case 127:case 143:case 140:case 145:case 136:return!0;case 109:return 204!==n.parent.kind;case 215:return!Ei(n);case 154:return 185===n.parent.kind||180===n.parent.kind;case 75:(152===n.parent.kind&&n.parent.right===n||193===n.parent.kind&&n.parent.name===n)&&(n=n.parent),e.Debug.assert(75===n.kind||152===n.kind||193===n.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 152:case 193:case 103:var t=n.parent;if(171===t.kind)return!1;if(187===t.kind)return!t.isTypeOf;if(167<=t.kind&&t.kind<=187)return!0;switch(t.kind){case 215:return!Ei(t);case 154:return n===t.constraint;case 314:return n===t.constraint;case 158:case 157:case 155:case 241:return n===t.type;case 243:case 200:case 201:case 161:case 160:case 159:case 162:case 163:return n===t.type;case 164:case 165:case 166:return n===t.type;case 198:return n===t.type;case 195:case 196:return e.contains(t.typeArguments,n);case 197:return!1}}return!1}function nn(e,n){while(e){if(e.kind===n)return!0;e=e.parent}return!1}function tn(n,t){return r(n);function r(n){switch(n.kind){case 234:return t(n);case 250:case 222:case 226:case 227:case 228:case 229:case 230:case 231:case 235:case 236:case 275:case 276:case 237:case 239:case 278:return e.forEachChild(n,r)}}}function rn(n,t){return r(n);function r(n){switch(n.kind){case 211:t(n);var a=n.expression;return void(a&&r(a));case 247:case 245:case 248:case 246:case 244:case 213:return;default:if(e.isFunctionLike(n)){if(n.name&&153===n.name.kind)return void r(n.name.expression)}else en(n)||e.forEachChild(n,r)}}}function an(n){return n&&173===n.kind?n.elementType:n&&168===n.kind?e.singleOrUndefined(n.typeArguments):void 0}function on(e){switch(e.kind){case 245:case 244:case 213:case 172:return e.members;case 192:return e.properties}}function sn(e){if(e)switch(e.kind){case 190:case 282:case 155:case 279:case 158:case 157:case 280:case 241:return!0}return!1}function cn(n){return sn(n)||e.isAccessor(n)}function ln(e){return 242===e.parent.kind&&224===e.parent.parent.kind}function un(n){return e.isVariableDeclaration(n)?Ke(n)&&e.isIdentifier(n.name)&&ln(n):e.isPropertyDeclaration(n)?ui(n)&&li(n):e.isPropertySignature(n)&&ui(n)}function dn(e){switch(e.kind){case 160:case 159:case 161:case 162:case 163:case 243:case 200:return!0}return!1}function pn(e,n){while(1){if(n&&n(e),237!==e.statement.kind)return e.statement;e=e.statement}}function mn(n){return n&&222===n.kind&&e.isFunctionLike(n.parent)}function fn(e){return e&&160===e.kind&&192===e.parent.kind}function _n(e){return 160===e.kind&&(192===e.parent.kind||213===e.parent.kind)}function gn(e){return e&&1===e.kind}function yn(e){return e&&0===e.kind}function vn(e,n,t){return e.properties.filter((function(e){if(279===e.kind){var r=Ne(e.name);return n===r||!!t&&t===r}return!1}))}function hn(n){if(n&&n.statements.length){var t=n.statements[0].expression;return e.tryCast(t,e.isObjectLiteralExpression)}}function bn(n,t,r){return e.firstDefined(En(n,t),(function(n){return e.isArrayLiteralExpression(n.initializer)?e.find(n.initializer.elements,(function(n){return e.isStringLiteral(n)&&n.text===r})):void 0}))}function En(n,t){var r=hn(n);return r?vn(r,t):e.emptyArray}function Tn(n){return d(n.parent,e.isFunctionLike)}function Sn(n){return d(n.parent,e.isFunctionLikeDeclaration)}function xn(n){return d(n.parent,e.isClassLike)}function Ln(n,t){e.Debug.assert(288!==n.kind);while(1){if(n=n.parent,!n)return e.Debug.fail();switch(n.kind){case 153:if(e.isClassLike(n.parent.parent))return n;n=n.parent;break;case 156:155===n.parent.kind&&e.isClassElement(n.parent.parent)?n=n.parent.parent:e.isClassElement(n.parent)&&(n=n.parent);break;case 201:if(!t)continue;case 243:case 200:case 248:case 158:case 157:case 160:case 159:case 161:case 162:case 163:case 164:case 165:case 166:case 247:case 288:return n}}}function Cn(e){var n=Ln(e,!1);if(n)switch(n.kind){case 161:case 243:case 200:return n}}function An(n,t){while(1){if(n=n.parent,!n)return n;switch(n.kind){case 153:n=n.parent;break;case 243:case 200:case 201:if(!t)continue;case 158:case 157:case 160:case 159:case 161:case 162:case 163:return n;case 156:155===n.parent.kind&&e.isClassElement(n.parent.parent)?n=n.parent.parent:e.isClassElement(n.parent)&&(n=n.parent);break}}}function Dn(e){if(200===e.kind||201===e.kind){var n=e,t=e.parent;while(199===t.kind)n=t,t=t.parent;if(195===t.kind&&t.expression===n)return t}}function kn(e){return 101===e.kind||Nn(e)}function Nn(e){var n=e.kind;return(193===n||194===n)&&101===e.expression.kind}function In(e){var n=e.kind;return(193===n||194===n)&&103===e.expression.kind}function On(e){switch(e.kind){case 168:return e.typeName;case 215:return Ti(e.expression)?e.expression:void 0;case 75:case 152:return e}}function Mn(e){switch(e.kind){case 197:return e.tag;case 266:case 265:return e.tagName;default:return e.expression}}function wn(e,n,t){switch(e.kind){case 244:return!0;case 158:return 244===n.kind;case 162:case 163:case 160:return void 0!==e.body&&244===n.kind;case 155:return void 0!==n.body&&(161===n.kind||160===n.kind||163===n.kind)&&244===t.kind}return!1}function Rn(e,n,t){return void 0!==e.decorators&&wn(e,n,t)}function Pn(e,n,t){return Rn(e,n,t)||Fn(e,n)}function Fn(n,t){switch(n.kind){case 244:return e.some(n.members,(function(e){return Pn(e,n,t)}));case 160:case 163:return e.some(n.parameters,(function(e){return Rn(e,n,t)}));default:return!1}}function Gn(e){var n=e.parent;return(266===n.kind||265===n.kind||267===n.kind)&&n.tagName===e}function Bn(e){switch(e.kind){case 101:case 99:case 105:case 90:case 13:case 191:case 192:case 193:case 194:case 195:case 196:case 197:case 216:case 198:case 217:case 199:case 200:case 213:case 201:case 204:case 202:case 203:case 206:case 207:case 208:case 209:case 212:case 210:case 214:case 264:case 265:case 268:case 211:case 205:case 218:return!0;case 152:while(152===e.parent.kind)e=e.parent;return 171===e.parent.kind||Gn(e);case 75:if(171===e.parent.kind||Gn(e))return!0;case 8:case 9:case 10:case 14:case 103:return Vn(e);default:return!1}}function Vn(e){var n=e.parent;switch(n.kind){case 241:case 155:case 158:case 157:case 282:case 279:case 190:return n.initializer===e;case 225:case 226:case 227:case 228:case 234:case 235:case 236:case 275:case 238:return n.expression===e;case 229:var t=n;return t.initializer===e&&242!==t.initializer.kind||t.condition===e||t.incrementor===e;case 230:case 231:var r=n;return r.initializer===e&&242!==r.initializer.kind||r.expression===e;case 198:case 216:return e===n.expression;case 220:return e===n.expression;case 153:return e===n.expression;case 156:case 274:case 273:case 281:return!0;case 215:return n.expression===e&&Ei(n);case 280:return n.objectAssignmentInitializer===e;default:return Bn(n)}}function Un(e){return 252===e.kind&&263===e.moduleReference.kind}function jn(n){return e.Debug.assert(Un(n)),n.moduleReference.expression}function Kn(e){return 252===e.kind&&263!==e.moduleReference.kind}function Hn(e){return qn(e)}function Wn(e){return!qn(e)}function qn(e){return!!e&&!!(131072&e.flags)}function zn(e){return!!e&&!!(33554432&e.flags)}function Jn(e){return!Ve(e)}function Xn(e){return!!e&&!!(4194304&e.flags)}function Yn(n){return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)&&"Object"===n.typeName.escapedText&&n.typeArguments&&2===n.typeArguments.length&&(142===n.typeArguments[0].kind||139===n.typeArguments[0].kind)}function Qn(n,t){if(195!==n.kind)return!1;var r=n,a=r.expression,i=r.arguments;if(75!==a.kind||"require"!==a.escapedText)return!1;if(1!==i.length)return!1;var o=i[0];return!t||e.isStringLiteralLike(o)}function Zn(e){return 39===e||34===e}function $n(e,n){return 34===Y(n,e).charCodeAt(0)}function et(n){if(n.parent){var t,r;if(e.isVariableDeclaration(n.parent)&&n.parent.initializer===n){if(!qn(n)&&!Ke(n.parent))return;t=n.parent.name,r=n.parent}else if(e.isBinaryExpression(n.parent)){var a=n.parent,i=n.parent.operatorToken.kind;if(62===i&&a.right===n)t=a.left,r=t;else if((56===i||60===i)&&(e.isVariableDeclaration(a.parent)&&a.parent.initializer===a?(t=a.parent.name,r=a.parent):e.isBinaryExpression(a.parent)&&62===a.parent.operatorToken.kind&&a.parent.right===a&&(t=a.parent.left,r=t),!t||!bt(t)||!ut(t,a.left)))return}if(t&&ot(n,Ai(t)))return r}}function nt(n){return e.isBinaryExpression(n)||Fo(n)||e.isIdentifier(n)||e.isCallExpression(n)}function tt(n){return qn(n)&&n.initializer&&e.isBinaryExpression(n.initializer)&&(56===n.initializer.operatorToken.kind||60===n.initializer.operatorToken.kind)&&n.name&&Ti(n.name)&&ut(n.name,n.initializer.left)?n.initializer.right:n.initializer}function rt(e){var n=tt(e);return n&&ot(n,Ai(e.name))}function at(n,t){return e.forEach(n.properties,(function(n){return e.isPropertyAssignment(n)&&e.isIdentifier(n.name)&&"value"===n.name.escapedText&&n.initializer&&ot(n.initializer,t)}))}function it(n){if(n&&n.parent&&e.isBinaryExpression(n.parent)&&62===n.parent.operatorToken.kind){var t=Ai(n.parent.left);return ot(n.parent.right,t)||st(n.parent.left,n.parent.right,t)}if(n&&e.isCallExpression(n)&&_t(n)){var r=at(n.arguments[2],"prototype"===n.arguments[1].text);if(r)return r}}function ot(n,t){if(e.isCallExpression(n)){var r=or(n.expression);return 200===r.kind||201===r.kind?n:void 0}return 200===n.kind||213===n.kind||201===n.kind||e.isObjectLiteralExpression(n)&&(0===n.properties.length||t)?n:void 0}function st(n,t,r){var a=e.isBinaryExpression(t)&&(56===t.operatorToken.kind||60===t.operatorToken.kind)&&ot(t.right,r);if(a&&ut(n,t.left))return a}function ct(n){var t=e.isVariableDeclaration(n.parent)?n.parent.name:e.isBinaryExpression(n.parent)&&62===n.parent.operatorToken.kind?n.parent.left:void 0;return t&&ot(n.right,Ai(t))&&Ti(t)&&ut(t,n.left)}function lt(n){if(e.isBinaryExpression(n.parent)){var t=56!==n.parent.operatorToken.kind&&60!==n.parent.operatorToken.kind||!e.isBinaryExpression(n.parent.parent)?n.parent:n.parent.parent;if(62===t.operatorToken.kind&&e.isIdentifier(t.left))return t.left}else if(e.isVariableDeclaration(n.parent))return n.parent.name}function ut(n,t){return jr(n)&&jr(t)?Kr(n)===Kr(n):e.isIdentifier(n)&>(t)?(103===t.expression.kind||e.isIdentifier(t.expression)&&("window"===t.expression.escapedText||"self"===t.expression.escapedText||"global"===t.expression.escapedText))&&ut(n,Et(t)):!(!gt(n)||!gt(t))&&(xt(n)===xt(t)&&ut(n.expression,t.expression))}function dt(e){while(hi(e,!0))e=e.right;return e}function pt(n){return e.isIdentifier(n)&&"exports"===n.escapedText}function mt(n){return(e.isPropertyAccessExpression(n)||yt(n))&&e.isIdentifier(n.expression)&&"module"===n.expression.escapedText&&"exports"===xt(n)}function ft(e){var n=Tt(e);return 5===n||qn(e)?n:0}function _t(n){return 3===e.length(n.arguments)&&e.isPropertyAccessExpression(n.expression)&&e.isIdentifier(n.expression.expression)&&"Object"===e.idText(n.expression.expression)&&"defineProperty"===e.idText(n.expression.name)&&Pr(n.arguments[1])&&bt(n.arguments[0],!0)}function gt(n){return e.isPropertyAccessExpression(n)||yt(n)}function yt(n){return e.isElementAccessExpression(n)&&(Pr(n.argumentExpression)||Vr(n.argumentExpression))}function vt(n,t){return e.isPropertyAccessExpression(n)&&(!t&&103===n.expression.kind||bt(n.expression,!0))||ht(n,t)}function ht(e,n){return yt(e)&&(!n&&103===e.expression.kind||Ti(e.expression)||vt(e.expression,!0))}function bt(e,n){return Ti(e)||vt(e,n)}function Et(n){return e.isPropertyAccessExpression(n)?n.name:n.argumentExpression}function Tt(n){if(e.isCallExpression(n)){if(!_t(n))return 0;var t=n.arguments[0];return pt(t)||mt(t)?8:vt(t)&&"prototype"===xt(t)?9:7}return 62===n.operatorToken.kind&&Fo(n.left)?bt(n.left.expression,!0)&&"prototype"===xt(n.left)&&e.isObjectLiteralExpression(Ct(n))?6:Lt(n.left):0}function St(n){if(e.isPropertyAccessExpression(n))return n.name;var t=or(n.argumentExpression);return e.isNumericLiteral(t)||e.isStringLiteralLike(t)?t:n}function xt(n){var t=St(n);if(t){if(e.isIdentifier(t))return t.escapedText;if(e.isStringLiteralLike(t)||e.isNumericLiteral(t))return e.escapeLeadingUnderscores(t.text)}if(e.isElementAccessExpression(n)&&Vr(n.argumentExpression))return Wr(e.idText(n.argumentExpression.name))}function Lt(n){if(103===n.expression.kind)return 4;if(mt(n))return 2;if(bt(n.expression,!0)){if(Ai(n.expression))return 3;var t=n;while(!e.isIdentifier(t.expression))t=t.expression;var r=t.expression;if(("exports"===r.escapedText||"module"===r.escapedText&&"exports"===xt(t))&&vt(n))return 1;if(bt(n,!0)||e.isElementAccessExpression(n)&&Br(n)&&103!==n.expression.kind)return 5}return 0}function Ct(n){while(e.isBinaryExpression(n.right))n=n.right;return n.right}function At(n){return e.isBinaryExpression(n)&&3===ft(n)}function Dt(n){return qn(n)&&n.parent&&225===n.parent.kind&&(!e.isElementAccessExpression(n)||yt(n))&&!!e.getJSDocTypeTag(n.parent)}function kt(n){if(!n||!n.valueDeclaration)return!1;var t=n.valueDeclaration;return 243===t.kind||e.isVariableDeclaration(t)&&t.initializer&&e.isFunctionLike(t.initializer)}function Nt(n){return It(n)||e.Debug.failBadSyntaxKind(n.parent)}function It(n){switch(n.parent.kind){case 253:case 259:return n.parent;case 263:return n.parent.parent;case 195:return qe(n.parent)||Qn(n.parent,!1)?n.parent:void 0;case 186:return e.Debug.assert(e.isStringLiteral(n)),e.tryCast(n.parent.parent,e.isImportTypeNode);default:return}}function Ot(n){switch(n.kind){case 253:case 259:return n.moduleSpecifier;case 252:return 263===n.moduleReference.kind?n.moduleReference.expression:void 0;case 187:return Je(n)?n.argument.literal:void 0;default:return e.Debug.assertNever(n)}}function Mt(n){switch(n.kind){case 253:return n.importClause&&e.tryCast(n.importClause.namedBindings,e.isNamespaceImport);case 252:return n;case 259:return;default:return e.Debug.assertNever(n)}}function wt(e){return 253===e.kind&&!!e.importClause&&!!e.importClause.name}function Rt(e){if(e)switch(e.kind){case 155:case 160:case 159:case 280:case 279:case 158:case 157:return void 0!==e.questionToken}return!1}function Pt(n){var t=e.isJSDocFunctionType(n)?e.firstOrUndefined(n.parameters):void 0,r=e.tryCast(t&&t.name,e.isIdentifier);return!!r&&"new"===r.escapedText}function Ft(e){return 315===e.kind||308===e.kind||309===e.kind}function Gt(n){return Ft(n)||e.isTypeAliasDeclaration(n)}function Bt(n){return e.isExpressionStatement(n)&&n.expression&&e.isBinaryExpression(n.expression)&&62===n.expression.operatorToken.kind?n.expression.right:void 0}function Vt(n){return e.isExpressionStatement(n)&&e.isBinaryExpression(n.expression)&&0!==ft(n.expression)&&e.isBinaryExpression(n.expression.right)&&(56===n.expression.right.operatorToken.kind||60===n.expression.right.operatorToken.kind)?n.expression.right.right:void 0}function Ut(e){switch(e.kind){case 224:var n=jt(e);return n&&n.initializer;case 158:return e.initializer;case 279:return e.initializer}}function jt(n){return e.isVariableStatement(n)?e.firstOrUndefined(n.declarationList.declarations):void 0}function Kt(n){return e.isModuleDeclaration(n)&&n.body&&248===n.body.kind?n.body:void 0}function Ht(n){var t;sn(n)&&e.hasInitializer(n)&&e.hasJSDocNodes(n.initializer)&&(t=e.append(t,e.last(n.initializer.jsDoc)));var r=n;while(r&&r.parent){if(e.hasJSDocNodes(r)&&(t=e.append(t,e.last(r.jsDoc))),155===r.kind){t=e.addRange(t,e.getJSDocParameterTags(r));break}if(154===r.kind){t=e.addRange(t,e.getJSDocTypeParameterTags(r));break}r=Wt(r)}return t||e.emptyArray}function Wt(n){var t=n.parent;return 279===t.kind||258===t.kind||158===t.kind||225===t.kind&&193===n.kind||Kt(t)||e.isBinaryExpression(n)&&62===n.operatorToken.kind?t:t.parent&&(jt(t.parent)===n||e.isBinaryExpression(t)&&62===t.operatorToken.kind)?t.parent:t.parent&&t.parent.parent&&(jt(t.parent.parent)||Ut(t.parent.parent)===n||Vt(t.parent.parent))?t.parent.parent:void 0}function qt(n){if(n.symbol)return n.symbol;if(e.isIdentifier(n.name)){var t=n.name.escapedText,r=zt(n);if(r){var a=e.find(r.parameters,(function(e){return 75===e.name.kind&&e.name.escapedText===t}));return a&&a.symbol}}}function zt(e){return Jt(Xt(e))}function Jt(n){var t=Vt(n)||Bt(n)||Ut(n)||jt(n)||Kt(n)||n;return t&&e.isFunctionLike(t)?t:void 0}function Xt(n){return e.Debug.assertDefined(d(n.parent,e.isJSDoc)).parent}function Yt(n){var t=n.name.escapedText,r=n.parent.parent.parent.typeParameters;return r&&e.find(r,(function(e){return e.name.escapedText===t}))}function Qt(n){var t=e.lastOrUndefined(n.parameters);return!!t&&Zt(t)}function Zt(n){var t=e.isJSDocParameterTag(n)?n.typeExpression&&n.typeExpression.type:n.type;return void 0!==n.dotDotDotToken||!!t&&299===t.kind}function $t(e){var n=e.parent;while(1){switch(n.kind){case 208:var t=n.operatorToken.kind;return gi(t)&&n.left===e?62===t?1:2:0;case 206:case 207:var r=n.operator;return 45===r||46===r?2:0;case 230:case 231:return n.initializer===e?1:0;case 199:case 191:case 212:case 217:e=n;break;case 280:if(n.name!==e)return 0;e=n.parent;break;case 279:if(n.name===e)return 0;e=n.parent;break;default:return 0}n=e.parent}}function er(e){return 0!==$t(e)}function nr(e){switch(e.kind){case 222:case 224:case 235:case 226:case 236:case 250:case 275:case 276:case 237:case 229:case 230:case 231:case 227:case 228:case 239:case 278:return!0}return!1}function tr(n){return e.isFunctionExpression(n)||e.isArrowFunction(n)||e.isMethodOrAccessor(n)||e.isFunctionDeclaration(n)||e.isConstructorDeclaration(n)}function rr(e,n){while(e&&e.kind===n)e=e.parent;return e}function ar(e){return rr(e,181)}function ir(e){return rr(e,199)}function or(e){while(199===e.kind)e=e.expression;return e}function sr(e){while(199===e.kind)e=e.parent;return e}function cr(e){return(193===e.kind||194===e.kind)&&(e=ir(e.parent),e&&202===e.kind)}function lr(e,n){while(e){if(e===n)return!0;e=e.parent}return!1}function ur(n){return!e.isSourceFile(n)&&!e.isBindingPattern(n)&&e.isDeclaration(n.parent)&&n.parent.name===n}function dr(n){var t=n.parent;switch(n.kind){case 10:case 14:case 8:if(e.isComputedPropertyName(t))return t.parent;case 75:if(e.isDeclaration(t))return t.name===n?t:void 0;if(e.isQualifiedName(t)){var r=t.parent;return e.isJSDocParameterTag(r)&&r.name===t?r:void 0}var a=t.parent;return e.isBinaryExpression(a)&&0!==ft(a)&&(a.left.symbol||a.symbol)&&e.getNameOfDeclaration(a)===n?a:void 0;default:return}}function pr(n){return Pr(n)&&153===n.parent.kind&&e.isDeclaration(n.parent.parent)}function mr(e){var n=e.parent;switch(n.kind){case 158:case 157:case 160:case 159:case 162:case 163:case 282:case 279:case 193:return n.name===e;case 152:if(n.right===e){while(152===n.kind)n=n.parent;return 171===n.kind||168===n.kind}return!1;case 190:case 257:return n.propertyName===e;case 261:case 271:return!0}return!1}function fr(n){return 252===n.kind||251===n.kind||254===n.kind&&!!n.name||255===n.kind||257===n.kind||261===n.kind||258===n.kind&&gr(n)||e.isBinaryExpression(n)&&2===ft(n)&&gr(n)||e.isPropertyAccessExpression(n)&&e.isBinaryExpression(n.parent)&&n.parent.left===n&&62===n.parent.operatorToken.kind&&_r(n.parent.right)||280===n.kind||279===n.kind&&_r(n.initializer)}function _r(n){return Ti(n)||e.isClassExpression(n)}function gr(e){var n=yr(e);return _r(n)}function yr(n){return e.isExportAssignment(n)?n.expression:n.right}function vr(e){return 280===e.kind?e.name:279===e.kind?e.initializer:e.parent.right}function hr(n){var t=br(n);if(t&&qn(n)){var r=e.getJSDocAugmentsTag(n);if(r)return r.class}return t}function br(e){var n=xr(e.heritageClauses,89);return n&&n.types.length>0?n.types[0]:void 0}function Er(e){var n=xr(e.heritageClauses,112);return n?n.types:void 0}function Tr(n){return e.isInterfaceDeclaration(n)?Sr(n)||e.emptyArray:e.isClassLike(n)&&e.concatenate(e.singleElementArray(hr(n)),Er(n))||e.emptyArray}function Sr(e){var n=xr(e.heritageClauses,89);return n?n.types:void 0}function xr(e,n){if(e)for(var t=0,r=e;t=0?a[i]:void 0}}function s(i){var o;i.file?(o=r.get(i.file.fileName),o||(o=[],r.set(i.file.fileName,o),e.insertSorted(t,i.file.fileName,e.compareStringsCaseSensitive))):(a&&(a=!1,n=n.slice()),o=n),e.insertSorted(o,i,e.compareDiagnostics)}function c(){return a=!0,n}function l(a){if(a)return r.get(a)||[];var i=e.flatMapToMutable(t,(function(e){return r.get(e)}));return n.length?(i.unshift.apply(i,n),i):i}}e.isPartOfTypeNode=en,e.isChildOfNodeWithKind=nn,e.forEachReturnStatement=tn,e.forEachYieldExpression=rn,e.getRestParameterElementType=an,e.getMembersOfDeclaration=on,e.isVariableLike=sn,e.isVariableLikeOrAccessor=cn,e.isVariableDeclarationInVariableStatement=ln,e.isValidESSymbolDeclaration=un,e.introducesArgumentsExoticObject=dn,e.unwrapInnermostStatementOfLabel=pn,e.isFunctionBlock=mn,e.isObjectLiteralMethod=fn,e.isObjectLiteralOrClassExpressionMethod=_n,e.isIdentifierTypePredicate=gn,e.isThisTypePredicate=yn,e.getPropertyAssignment=vn,e.getTsConfigObjectLiteralExpression=hn,e.getTsConfigPropArrayElementValue=bn,e.getTsConfigPropArray=En,e.getContainingFunction=Tn,e.getContainingFunctionDeclaration=Sn,e.getContainingClass=xn,e.getThisContainer=Ln,e.getNewTargetContainer=Cn,e.getSuperContainer=An,e.getImmediatelyInvokedFunctionExpression=Dn,e.isSuperOrSuperProperty=kn,e.isSuperProperty=Nn,e.isThisProperty=In,e.getEntityNameFromTypeNode=On,e.getInvokedExpression=Mn,e.nodeCanBeDecorated=wn,e.nodeIsDecorated=Rn,e.nodeOrChildIsDecorated=Pn,e.childIsDecorated=Fn,e.isJSXTagName=Gn,e.isExpressionNode=Bn,e.isInExpressionContext=Vn,e.isExternalModuleImportEqualsDeclaration=Un,e.getExternalModuleImportEqualsDeclarationExpression=jn,e.isInternalModuleImportEqualsDeclaration=Kn,e.isSourceFileJS=Hn,e.isSourceFileNotJS=Wn,e.isInJSFile=qn,e.isInJsonFile=zn,e.isSourceFileNotJson=Jn,e.isInJSDoc=Xn,e.isJSDocIndexSignature=Yn,e.isRequireCall=Qn,e.isSingleOrDoubleQuote=Zn,e.isStringDoubleQuoted=$n,e.getDeclarationOfExpando=et,e.isAssignmentDeclaration=nt,e.getEffectiveInitializer=tt,e.getDeclaredExpandoInitializer=rt,e.getAssignedExpandoInitializer=it,e.getExpandoInitializer=ot,e.isDefaultedExpandoInitializer=ct,e.getNameOfExpando=lt,e.getRightMostAssignedExpression=dt,e.isExportsIdentifier=pt,e.isModuleExportsAccessExpression=mt,e.getAssignmentDeclarationKind=ft,e.isBindableObjectDefinePropertyCall=_t,e.isLiteralLikeAccess=gt,e.isLiteralLikeElementAccess=yt,e.isBindableStaticAccessExpression=vt,e.isBindableStaticElementAccessExpression=ht,e.isBindableStaticNameExpression=bt,e.getNameOrArgument=Et,e.getElementOrPropertyAccessArgumentExpressionOrName=St,e.getElementOrPropertyAccessName=xt,e.getAssignmentDeclarationPropertyAccessKind=Lt,e.getInitializerOfBinaryExpression=Ct,e.isPrototypePropertyAssignment=At,e.isSpecialPropertyDeclaration=Dt,e.isFunctionSymbol=kt,e.importFromModuleSpecifier=Nt,e.tryGetImportFromModuleSpecifier=It,e.getExternalModuleName=Ot,e.getNamespaceDeclarationNode=Mt,e.isDefaultImport=wt,e.hasQuestionToken=Rt,e.isJSDocConstructSignature=Pt,e.isJSDocTypeAlias=Ft,e.isTypeAlias=Gt,e.getSingleInitializerOfVariableStatementOrPropertyDeclaration=Ut,e.getJSDocCommentsAndTags=Ht,e.getParameterSymbolFromJSDoc=qt,e.getHostSignatureFromJSDoc=zt,e.getHostSignatureFromJSDocHost=Jt,e.getJSDocHost=Xt,e.getTypeParameterFromJsDoc=Yt,e.hasRestParameter=Qt,e.isRestParameter=Zt,function(e){e[e["None"]=0]="None",e[e["Definite"]=1]="Definite",e[e["Compound"]=2]="Compound"}(e.AssignmentKind||(e.AssignmentKind={})),e.getAssignmentTargetKind=$t,e.isAssignmentTarget=er,e.isNodeWithPossibleHoistedDeclaration=nr,e.isValueSignatureDeclaration=tr,e.walkUpParenthesizedTypes=ar,e.walkUpParenthesizedExpressions=ir,e.skipParentheses=or,e.isDeleteTarget=cr,e.isNodeDescendantOf=lr,e.isDeclarationName=ur,e.getDeclarationFromName=dr,e.isLiteralComputedPropertyDeclarationName=pr,e.isIdentifierName=mr,e.isAliasSymbolDeclaration=fr,e.exportAssignmentIsAlias=gr,e.getExportAssignmentExpression=yr,e.getPropertyAssignmentAliasLikeExpression=vr,e.getEffectiveBaseTypeNode=hr,e.getClassExtendsHeritageElement=br,e.getClassImplementsHeritageClauseElements=Er,e.getAllSuperTypeNodes=Tr,e.getInterfaceBaseTypeNodes=Sr,e.getHeritageClause=xr,e.getAncestor=Lr,e.isKeyword=Cr,e.isContextualKeyword=Ar,e.isNonContextualKeyword=Dr,e.isFutureReservedKeyword=kr,e.isStringANonContextualKeyword=Nr,e.isStringAKeyword=Ir,e.isIdentifierANonContextualKeyword=Or,e.isTrivia=Mr,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=wr,e.isAsyncFunction=Rr,e.isStringOrNumericLiteralLike=Pr,e.isSignedNumericLiteral=Fr,e.hasDynamicName=Gr,e.isDynamicName=Br,e.isWellKnownSymbolSyntactically=Vr,e.getPropertyNameForPropertyNameNode=Ur,e.isPropertyNameLiteral=jr,e.getTextOfIdentifierOrLiteral=Kr,e.getEscapedTextOfIdentifierOrLiteral=Hr,e.getPropertyNameForKnownSymbolName=Wr,e.isKnownSymbol=qr,e.isESSymbolIdentifier=zr,e.isPushOrUnshiftIdentifier=Jr,e.isParameterDeclaration=Xr,e.getRootDeclaration=Yr,e.nodeStartsNewLexicalEnvironment=Qr,e.nodeIsSynthesized=Zr,e.getOriginalSourceFile=$r,function(e){e[e["Left"]=0]="Left",e[e["Right"]=1]="Right"}(e.Associativity||(e.Associativity={})),e.getExpressionAssociativity=ea,e.getOperatorAssociativity=na,e.getExpressionPrecedence=ta,e.getOperator=ra,e.getOperatorPrecedence=aa,e.getBinaryOperatorPrecedence=ia,e.createDiagnosticCollection=oa;var sa=/\$\{/g;function ca(e){return e.replace(sa,"\\${")}var la=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,ua=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,da=/[\\\`]/g,pa=e.createMapFromTemplate({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085"});function ma(e,n){var t=96===n?da:39===n?ua:la;return e.replace(t,ga)}function fa(e){var n=e.length;return n>=2&&e.charCodeAt(0)===e.charCodeAt(n-1)&&_a(e.charCodeAt(0))?e.substring(1,n-1):e}function _a(e){return 39===e||34===e||96===e}function ga(e,n,t){if(0===e.charCodeAt(0)){var r=t.charCodeAt(n+e.length);return r>=48&&r<=57?"\\x00":"\\0"}return pa.get(e)||va(e.charCodeAt(0))}function ya(n){var t=n.charCodeAt(0);return t>=97&&t<=122||e.stringContains(n,"-")}function va(e){var n=e.toString(16).toUpperCase(),t=("0000"+n).slice(-4);return"\\u"+t}e.escapeString=ma,e.stripQuotes=fa,e.isIntrinsicJsxName=ya;var ha=/[^\u0000-\u007F]/g;function ba(e,n){return e=ma(e,n),ha.test(e)?e.replace(ha,(function(e){return va(e.charCodeAt(0))})):e}e.escapeNonAsciiString=ba;var Ea=[""," "];function Ta(e){return void 0===Ea[e]&&(Ea[e]=Ta(e-1)+Ea[1]),Ea[e]}function Sa(){return Ea[1].length}function xa(n){var t,r,a,i,o,s=!1;function c(n){var r=e.computeLineStarts(n);r.length>1?(i=i+r.length-1,o=t.length-n.length+e.last(r),a=o-t.length===0):a=!1}function l(e){e&&e.length&&(a&&(e=Ta(r)+e,a=!1),t+=e,c(e))}function u(e){e&&(s=!1),l(e)}function d(e){e&&(s=!0),l(e)}function p(){t="",r=0,a=!0,i=0,o=0,s=!1}function m(e){void 0!==e&&(t+=e,c(e),s=!1)}function f(e){e&&e.length&&u(e)}function _(){a||(t+=n,i++,o=t.length,a=!0,s=!1)}function g(){return a?t.length:t.length+n.length}return p(),{write:u,rawWrite:m,writeLiteral:f,writeLine:_,increaseIndent:function(){r++},decreaseIndent:function(){r--},getIndent:function(){return r},getTextPos:function(){return t.length},getLine:function(){return i},getColumn:function(){return a?r*Sa():t.length-o},getText:function(){return t},isAtStartOfLine:function(){return a},hasTrailingComment:function(){return s},hasTrailingWhitespace:function(){return!!t.length&&e.isWhiteSpaceLike(t.charCodeAt(t.length-1))},clear:p,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:e.noop,writeKeyword:u,writeOperator:u,writeParameter:u,writeProperty:u,writePunctuation:u,writeSpace:u,writeStringLiteral:u,writeSymbol:function(e,n){return u(e)},writeTrailingSemicolon:u,writeComment:d,getTextPosWithWriteLine:g}}function La(e){var n=!1;function t(){n&&(e.writeTrailingSemicolon(";"),n=!1)}return o(o({},e),{writeTrailingSemicolon:function(){n=!0},writeLiteral:function(n){t(),e.writeLiteral(n)},writeStringLiteral:function(n){t(),e.writeStringLiteral(n)},writeSymbol:function(n,r){t(),e.writeSymbol(n,r)},writePunctuation:function(n){t(),e.writePunctuation(n)},writeKeyword:function(n){t(),e.writeKeyword(n)},writeOperator:function(n){t(),e.writeOperator(n)},writeParameter:function(n){t(),e.writeParameter(n)},writeSpace:function(n){t(),e.writeSpace(n)},writeProperty:function(n){t(),e.writeProperty(n)},writeComment:function(n){t(),e.writeComment(n)},writeLine:function(){t(),e.writeLine()},increaseIndent:function(){t(),e.increaseIndent()},decreaseIndent:function(){t(),e.decreaseIndent()}})}function Ca(e,n,t){return n.moduleName||Da(e,n.fileName,t&&t.fileName)}function Aa(e,n,t){var r=n.getExternalModuleFileFromDeclaration(t);if(r&&!r.isDeclarationFile)return Ca(e,r)}function Da(n,t,r){var a=function(e){return n.getCanonicalFileName(e)},i=e.toPath(r?e.getDirectoryPath(r):n.getCommonSourceDirectory(),n.getCurrentDirectory(),a),o=e.getNormalizedAbsolutePath(t,n.getCurrentDirectory()),s=e.getRelativePathToDirectoryOrUrl(i,o,i,a,!1),c=e.removeFileExtension(s);return r?e.ensurePathIsNonModuleName(c):c}function ka(n,t,r){var a,i=t.getCompilerOptions();return a=i.outDir?e.removeFileExtension(wa(n,t,i.outDir)):e.removeFileExtension(n),a+r}function Na(e,n){return Ia(e,n.getCompilerOptions(),n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))}function Ia(n,t,r,a,i){var o=t.declarationDir||t.outDir,s=o?Ra(n,o,r,a,i):n;return e.removeFileExtension(s)+".d.ts"}function Oa(n,t,r){var a=n.getCompilerOptions();if(a.outFile||a.out){var i=e.getEmitModuleKind(a),o=a.emitDeclarationOnly||i===e.ModuleKind.AMD||i===e.ModuleKind.System;return e.filter(n.getSourceFiles(),(function(t){return(o||!e.isExternalModule(t))&&Ma(t,n,r)}))}var s=void 0===t?n.getSourceFiles():[t];return e.filter(s,(function(e){return Ma(e,n,r)}))}function Ma(e,n,t){var r=n.getCompilerOptions();return!(r.noEmitForJsFiles&&Hn(e))&&!e.isDeclarationFile&&!n.isSourceFileFromExternalLibrary(e)&&!(Ve(e)&&n.getResolvedProjectReferenceToRedirect(e.fileName))&&(t||!n.isSourceOfProjectReferenceRedirect(e.fileName))}function wa(e,n,t){return Ra(e,t,n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))}function Ra(n,t,r,a,i){var o=e.getNormalizedAbsolutePath(n,r),s=0===i(o).indexOf(i(a));return o=s?o.substring(a.length):o,e.combinePaths(t,o)}function Pa(n,t,r,a,i,o){n.writeFile(r,a,i,(function(n){t.add(e.createCompilerDiagnostic(e.Diagnostics.Could_not_write_file_0_Colon_1,r,n))}),o)}function Fa(n,t){return e.getLineAndCharacterOfPosition(n,t).line}function Ga(n,t){return e.computeLineAndCharacterOfPosition(n,t).line}function Ba(n){return e.find(n.members,(function(n){return e.isConstructorDeclaration(n)&&G(n.body)}))}function Va(e){if(e&&e.parameters.length>0){var n=2===e.parameters.length&&Ka(e.parameters[0]);return e.parameters[n?1:0]}}function Ua(e){var n=Va(e);return n&&n.type}function ja(n){if(n.parameters.length&&!e.isJSDocSignature(n)){var t=n.parameters[0];if(Ka(t))return t}}function Ka(e){return Ha(e.name)}function Ha(e){return!!e&&75===e.kind&&Wa(e)}function Wa(e){return 103===e.originalKeywordKind}function qa(n,t){var r,a,i,o;return Gr(t)?(r=t,162===t.kind?i=t:163===t.kind?o=t:e.Debug.fail("Accessor has wrong kind")):e.forEach(n,(function(n){if(e.isAccessor(n)&&ci(n,32)===ci(t,32)){var s=Ur(n.name),c=Ur(t.name);s===c&&(r?a||(a=n):r=n,162!==n.kind||i||(i=n),163!==n.kind||o||(o=n))}})),{firstAccessor:r,secondAccessor:a,getAccessor:i,setAccessor:o}}function za(n){var t=n.type;return t||!qn(n)?t:e.isJSDocPropertyLikeTag(n)?n.typeExpression&&n.typeExpression.type:e.getJSDocType(n)}function Ja(e){return e.type}function Xa(n){return e.isJSDocSignature(n)?n.type&&n.type.typeExpression&&n.type.typeExpression.type:n.type||(qn(n)?e.getJSDocReturnType(n):void 0)}function Ya(n){return e.flatMap(e.getJSDocTags(n),(function(e){return Qa(e)?e.typeParameters:void 0}))}function Qa(n){return e.isJSDocTemplateTag(n)&&!(301===n.parent.kind&&n.parent.tags.some(Ft))}function Za(e){var n=Va(e);return n&&za(n)}function $a(e,n,t,r){ei(e,n,t.pos,r)}function ei(e,n,t,r){r&&r.length&&t!==r[0].pos&&Ga(e,t)!==Ga(e,r[0].pos)&&n.writeLine()}function ni(e,n,t,r){t!==r&&Ga(e,t)!==Ga(e,r)&&n.writeLine()}function ti(e,n,t,r,a,i,o,s){if(r&&r.length>0){a&&t.writeSpace(" ");for(var c=!1,l=0,u=r;l=_+2)break}u.push(f),d=f}if(u.length){_=Ga(t,e.last(u).end);var y=Ga(t,e.skipTrivia(n,i.pos));y>=_+2&&($a(t,r,i,c),ti(n,t,r,u,!1,!0,o,a),l={nodePos:i.pos,detachedCommentEndPos:e.last(u).end})}}return l;function v(e){return z(n,e.pos)}}function ai(n,t,r,a,i,o){if(42===n.charCodeAt(a+1))for(var s=e.computeLineAndCharacterOfPosition(t,a),c=t.length,l=void 0,u=a,d=s.line;u0){var _=f%Sa(),g=Ta((f-_)/Sa());r.rawWrite(g);while(_)r.rawWrite(" "),_--}else r.rawWrite("")}ii(n,i,r,o,u,p),u=p}else r.writeComment(n.substring(a,i))}function ii(e,n,t,r,a,i){var o=Math.min(n,i-1),s=e.substring(a,o).replace(/^\s+|\s+$/g,"");s?(t.writeComment(s),o!==n&&t.writeLine()):t.rawWrite(r)}function oi(n,t,r){for(var a=0;t=62&&e<=74}function yi(e){var n=vi(e);return n&&!n.isImplements?n.class:void 0}function vi(n){return e.isExpressionWithTypeArguments(n)&&e.isHeritageClause(n.parent)&&e.isClassLike(n.parent.parent)?{class:n.parent.parent,isImplements:112===n.parent.token}:void 0}function hi(n,t){return e.isBinaryExpression(n)&&(t?62===n.operatorToken.kind:gi(n.operatorToken.kind))&&e.isLeftHandSideExpression(n.left)}function bi(e){if(hi(e,!0)){var n=e.left.kind;return 192===n||191===n}return!1}function Ei(e){return void 0!==yi(e)}function Ti(e){return 75===e.kind||Li(e)}function Si(e){switch(e.kind){case 75:return e;case 152:do{e=e.left}while(75!==e.kind);return e;case 193:do{e=e.expression}while(75!==e.kind);return e}}function xi(e){return 75===e.kind||103===e.kind||193===e.kind&&xi(e.expression)||199===e.kind&&xi(e.expression)}function Li(n){return e.isPropertyAccessExpression(n)&&Ti(n.expression)}function Ci(n){return e.isPropertyAccessExpression(n)?Ci(n.expression)+"."+n.name:e.isIdentifier(n)?e.unescapeLeadingUnderscores(n.escapedText):void 0}function Ai(e){return vt(e)&&"prototype"===xt(e)}function Di(e){return 152===e.parent.kind&&e.parent.right===e||193===e.parent.kind&&e.parent.name===e}function ki(e){return 192===e.kind&&0===e.properties.length}function Ni(e){return 191===e.kind&&0===e.elements.length}function Ii(e){return Oi(e)?e.declarations[0].localSymbol:void 0}function Oi(n){return n&&e.length(n.declarations)>0&&ci(n.declarations[0],512)}function Mi(n){return e.find(e.supportedTSExtensionsForExtractExtension,(function(t){return e.fileExtensionIs(n,t)}))}function wi(n){for(var t=[],r=n.length,a=0;a>6|192),t.push(63&i|128)):i<65536?(t.push(i>>12|224),t.push(i>>6&63|128),t.push(63&i|128)):i<131072?(t.push(i>>18|240),t.push(i>>12&63|128),t.push(i>>6&63|128),t.push(63&i|128)):e.Debug.assert(!1,"Unexpected code point")}return t}e.getIndentString=Ta,e.getIndentSize=Sa,e.createTextWriter=xa,e.getTrailingSemicolonDeferringWriter=La,e.getResolvedExternalModuleName=Ca,e.getExternalModuleNameFromDeclaration=Aa,e.getExternalModuleNameFromPath=Da,e.getOwnEmitOutputFilePath=ka,e.getDeclarationEmitOutputFilePath=Na,e.getDeclarationEmitOutputFilePathWorker=Ia,e.getSourceFilesToEmit=Oa,e.sourceFileMayBeEmitted=Ma,e.getSourceFilePathInNewDir=wa,e.getSourceFilePathInNewDirWorker=Ra,e.writeFile=Pa,e.getLineOfLocalPosition=Fa,e.getLineOfLocalPositionFromLineMap=Ga,e.getFirstConstructorWithBody=Ba,e.getSetAccessorValueParameter=Va,e.getSetAccessorTypeAnnotationNode=Ua,e.getThisParameter=ja,e.parameterIsThisKeyword=Ka,e.isThisIdentifier=Ha,e.identifierIsThisKeyword=Wa,e.getAllAccessorDeclarations=qa,e.getEffectiveTypeAnnotationNode=za,e.getTypeAnnotationNode=Ja,e.getEffectiveReturnTypeNode=Xa,e.getJSDocTypeParameterDeclarations=Ya,e.getEffectiveSetAccessorTypeAnnotationNode=Za,e.emitNewLineBeforeLeadingComments=$a,e.emitNewLineBeforeLeadingCommentsOfPosition=ei,e.emitNewLineBeforeLeadingCommentOfPosition=ni,e.emitComments=ti,e.emitDetachedComments=ri,e.writeCommentRange=ai,e.hasModifiers=si,e.hasModifier=ci,e.hasStaticModifier=li,e.hasReadonlyModifier=ui,e.getSelectedModifierFlags=di,e.getModifierFlags=pi,e.getModifierFlagsNoCache=mi,e.modifierToFlag=fi,e.isLogicalOperator=_i,e.isAssignmentOperator=gi,e.tryGetClassExtendingExpressionWithTypeArguments=yi,e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=vi,e.isAssignmentExpression=hi,e.isDestructuringAssignment=bi,e.isExpressionWithTypeArgumentsInClassExtendsClause=Ei,e.isEntityNameExpression=Ti,e.getFirstIdentifier=Si,e.isDottedName=xi,e.isPropertyAccessEntityNameExpression=Li,e.tryGetPropertyAccessOrIdentifierToString=Ci,e.isPrototypeAccess=Ai,e.isRightSideOfQualifiedNameOrPropertyAccess=Di,e.isEmptyObjectLiteral=ki,e.isEmptyArrayLiteral=Ni,e.getLocalSymbolForExportDefault=Ii,e.tryExtractTSExtension=Mi;var Ri="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Pi(e){var n,t,r,a,i="",o=wi(e),s=0,c=o.length;while(s>2,t=(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+=Ri.charAt(n)+Ri.charAt(t)+Ri.charAt(r)+Ri.charAt(a),s+=3;return i}function Fi(e){var n="",t=0,r=e.length;while(t>4&3,u=(15&o)<<4|s>>2&15,d=(3&s)<<6|63&c;0===u&&0!==s?r.push(l):0===d&&0!==c?r.push(l,u):r.push(l,u,d),a+=4}return Fi(r)}function Vi(n,t){try{var r=t.readFile(n);if(!r)return{};var a=e.parseConfigFileTextToJson(n,r);return a.error?{}:a.config}catch(i){return{}}}function Ui(e,n){return!n.directoryExists||n.directoryExists(e)}e.convertToBase64=Pi,e.base64encode=Gi,e.base64decode=Bi,e.readJson=Vi,e.directoryProbablyExists=Ui;var ji,Ki="\r\n",Hi="\n";function Wi(n,t){switch(n.newLine){case 0:return Ki;case 1:return Hi}return t?t():e.sys?e.sys.newLine:Ki}function qi(n,t){return void 0===t&&(t=n),e.Debug.assert(t>=n||-1===t),{pos:n,end:t}}function zi(e,n){return qi(e.pos,n)}function Ji(e,n){return qi(n,e.end)}function Xi(e){return e.decorators&&e.decorators.length>0?Ji(e,e.decorators.end):e}function Yi(e){return e.modifiers&&e.modifiers.length>0?Ji(e,e.modifiers.end):Xi(e)}function Qi(e){return e.pos===e.end}function Zi(n,t){return qi(n,n+e.tokenToString(t).length)}function $i(e,n){return to(e,e,n)}function eo(e,n,t){return io(oo(e,t),oo(n,t),t)}function no(e,n,t){return io(e.end,n.end,t)}function to(e,n,t){return io(oo(e,t),n.end,t)}function ro(e,n,t){return io(e.end,oo(n,t),t)}function ao(e,n){return!io(e.pos,e.end,n)}function io(e,n,t){return e===n||Fa(t,e)===Fa(t,n)}function oo(n,t){return e.positionIsSynthesized(n.pos)?-1:e.skipTrivia(t.text,n.pos)}function so(n){var t=e.getParseTreeNode(n);if(t)switch(t.parent.kind){case 247:case 248:return t===t.parent.name}return!1}function co(n){return e.filter(n.declarations,lo)}function lo(e){return void 0!==e.initializer}function uo(e){return e.watch&&e.hasOwnProperty("watch")}function po(e){e.close()}function mo(e){return 33554432&e.flags?e.checkFlags:0}function fo(n){if(n.valueDeclaration){var t=e.getCombinedModifierFlags(n.valueDeclaration);return n.parent&&32&n.parent.flags?t:-29&t}if(6&mo(n)){var r=n.checkFlags,a=1024&r?8:256&r?4:16,i=2048&r?32:0;return a|i}return 4194304&n.flags?36:0}function _o(e,n){return 2097152&e.flags?n.getAliasedSymbol(e):e}function go(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function yo(e){return 1===ho(e)}function vo(e){return 0!==ho(e)}function ho(e){var n=e.parent;if(!n)return 0;switch(n.kind){case 199:return ho(n);case 207:case 206:var t=n.operator;return 45===t||46===t?s():0;case 208:var r=n,a=r.left,i=r.operatorToken;return a===e&&gi(i.kind)?62===i.kind?1:s():0;case 193:return n.name!==e?0:ho(n);case 279:var o=ho(n.parent);return e===n.name?bo(o):o;case 280:return e===n.objectAssignmentInitializer?0:ho(n.parent);case 191:return ho(n);default:return 0}function s(){return n.parent&&225===sr(n.parent).kind?1:2}}function bo(n){switch(n){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(n)}}function Eo(e,n){if(!e||!n||Object.keys(e).length!==Object.keys(n).length)return!1;for(var t in e)if("object"===typeof e[t]){if(!Eo(e[t],n[t]))return!1}else if("function"!==typeof e[t]&&e[t]!==n[t])return!1;return!0}function To(e,n){e.forEach(n),e.clear()}function So(e,n,t){var r=t.onDeleteValue,a=t.onExistingValue;e.forEach((function(t,i){var o=n.get(i);void 0===o?(e.delete(i),r(t,i)):a&&a(t,o,i)}))}function xo(e,n,t){So(e,n,t);var r=t.createNewValue;n.forEach((function(n,t){e.has(t)||e.set(t,r(t,n))}))}function Lo(e){return!!(16&Do(e))&&!!e.symbol&&Co(e.symbol)}function Co(e){if(32&e.flags){var n=Ao(e);return!!n&&ci(n,128)}return!1}function Ao(n){return e.find(n.declarations,e.isClassLike)}function Do(e){return 3899392&e.flags?e.objectFlags:0}function ko(e,n){return 0!==n.getSignaturesOfType(e,0).length||0!==n.getSignaturesOfType(e,1).length}function No(n,t){return!!e.forEachAncestorDirectory(n,(function(e){return!!t(e)||void 0}))}function Io(n){return!!n&&!!n.declarations&&!!n.declarations[0]&&e.isNamespaceExportDeclaration(n.declarations[0])}function Oo(n){var t=n.moduleSpecifier;return e.isStringLiteral(t)?t.text:$(t)}function Mo(n){var t;return e.forEachChild(n,(function(e){G(e)&&(t=e)}),(function(e){for(var n=e.length-1;n>=0;n--)if(G(e[n])){t=e[n];break}})),t}function wo(e,n,t){return void 0===t&&(t=!0),n=String(n),!e.has(n)&&(e.set(n,t),!0)}function Ro(n){return e.isClassLike(n)||e.isInterfaceDeclaration(n)||e.isTypeLiteralNode(n)}function Po(e){return e>=167&&e<=187||124===e||147===e||139===e||150===e||140===e||127===e||142===e||143===e||103===e||109===e||145===e||99===e||136===e||215===e||293===e||294===e||295===e||296===e||297===e||298===e||299===e}function Fo(e){return 193===e.kind||194===e.kind}function Go(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}}function Bo(n){return n.questionDotToken||e.createNode(24,n.expression.end,n.name.pos)}e.getNewLineCharacter=Wi,e.createRange=qi,e.moveRangeEnd=zi,e.moveRangePos=Ji,e.moveRangePastDecorators=Xi,e.moveRangePastModifiers=Yi,e.isCollapsedRange=Qi,e.createTokenRange=Zi,e.rangeIsOnSingleLine=$i,e.rangeStartPositionsAreOnSameLine=eo,e.rangeEndPositionsAreOnSameLine=no,e.rangeStartIsOnSameLineAsRangeEnd=to,e.rangeEndIsOnSameLineAsRangeStart=ro,e.isNodeArrayMultiLine=ao,e.positionsAreOnSameLine=io,e.getStartPositionOfRange=oo,e.isDeclarationNameOfEnumOrNamespace=so,e.getInitializedVariables=co,e.isWatchSet=uo,e.closeFileWatcher=po,e.getCheckFlags=mo,e.getDeclarationModifierFlagsFromSymbol=fo,e.skipAlias=_o,e.getCombinedLocalAndExportSymbolFlags=go,e.isWriteOnlyAccess=yo,e.isWriteAccess=vo,function(e){e[e["Read"]=0]="Read",e[e["Write"]=1]="Write",e[e["ReadWrite"]=2]="ReadWrite"}(ji||(ji={})),e.compareDataObjects=Eo,e.clearMap=To,e.mutateMapSkippingNewValues=So,e.mutateMap=xo,e.isAbstractConstructorType=Lo,e.isAbstractConstructorSymbol=Co,e.getClassLikeDeclarationOfSymbol=Ao,e.getObjectFlags=Do,e.typeHasCallOrConstructSignatures=ko,e.forSomeAncestorDirectory=No,e.isUMDExportSymbol=Io,e.showModuleSpecifier=Oo,e.getLastChild=Mo,e.addToSeen=wo,e.isObjectTypeDeclaration=Ro,e.isTypeNodeKind=Po,e.isAccessExpression=Fo,e.isBundleFileTextLike=Go,e.getDotOrQuestionDotToken=Bo}(u||(u={})),function(e){function n(e){switch(e.target){case 99:return"lib.esnext.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.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 t(e){return e.start+e.length}function r(e){return 0===e.length}function a(e,n){return n>=e.start&&n=e.pos&&n<=e.end}function o(e,n){return n.start>=e.start&&t(n)<=t(e)}function s(e,n){return void 0!==c(e,n)}function c(e,n){var t=m(e,n);return t&&0===t.length?void 0:t}function l(e,n){return d(e.start,e.length,n.start,n.length)}function u(e,n,t){return d(e.start,e.length,n,t)}function d(e,n,t,r){var a=e+n,i=t+r;return t<=a&&i>=e}function p(e,n){return n<=t(e)&&n>=e.start}function m(e,n){var r=Math.max(e.start,n.start),a=Math.min(t(e),t(n));return r<=a?_(r,a):void 0}function f(e,n){if(e<0)throw new Error("start < 0");if(n<0)throw new Error("length < 0");return{start:e,length:n}}function _(e,n){return f(e,n-e)}function g(e){return f(e.span.start,e.newLength)}function y(e){return r(e.span)&&0===e.newLength}function v(e,n){if(n<0)throw new Error("newLength < 0");return{span:e,newLength:n}}function h(n){if(0===n.length)return e.unchangedTextChangeRange;if(1===n.length)return n[0];for(var r=n[0],a=r.span.start,i=t(r.span),o=a+r.newLength,s=1;s=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e}function M(e){var n=e;return n.length>=3&&95===n.charCodeAt(0)&&95===n.charCodeAt(1)&&95===n.charCodeAt(2)?n.substr(1):n}function w(e){return M(e.escapedText)}function R(e){return M(e.escapedName)}function P(n){var t=n.parent.parent;if(t){if(e.isDeclaration(t))return F(t);switch(t.kind){case 224:if(t.declarationList&&t.declarationList.declarations[0])return F(t.declarationList.declarations[0]);break;case 225:var r=t.expression;switch(208===r.kind&&62===r.operatorToken.kind&&(r=r.left),r.kind){case 193:return r.name;case 194:var a=r.argumentExpression;if(e.isIdentifier(a))return a}break;case 199:return F(t.expression);case 237:if(e.isDeclaration(t.statement)||e.isExpression(t.statement))return F(t.statement);break}}}function F(n){var t=j(n);return t&&e.isIdentifier(t)?t:void 0}function G(n,t){return!(!V(n)||!e.isIdentifier(n.name)||w(n.name)!==w(t))||!(!e.isVariableStatement(n)||!e.some(n.declarationList.declarations,(function(e){return G(e,t)})))}function B(e){return e.name||P(e)}function V(e){return!!e.name}function U(n){switch(n.kind){case 75:return n;case 316:case 310:var t=n.name;if(152===t.kind)return t.right;break;case 195:case 208:var r=n;switch(e.getAssignmentDeclarationKind(r)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(r.left);case 7:case 8:case 9:return r.arguments[1];default:return}case 315:return B(n);case 309:return P(n);case 258:var a=n.expression;return e.isIdentifier(a)?a:void 0;case 194:var i=n;if(e.isBindableStaticElementAccessExpression(i))return i.argumentExpression}return n.name}function j(n){if(void 0!==n)return U(n)||(e.isFunctionExpression(n)||e.isClassExpression(n)?K(n):void 0)}function K(n){if(n.parent){if(e.isPropertyAssignment(n.parent)||e.isBindingElement(n.parent))return n.parent.name;if(e.isBinaryExpression(n.parent)&&n===n.parent.right){if(e.isIdentifier(n.parent.left))return n.parent.left;if(e.isAccessExpression(n.parent.left))return e.getElementOrPropertyAccessArgumentExpressionOrName(n.parent.left)}else if(e.isVariableDeclaration(n.parent)&&e.isIdentifier(n.parent.name))return n.parent.name}}function H(n){if(n.name){if(e.isIdentifier(n.name)){var t=n.name.escapedText;return te(n.parent).filter((function(n){return e.isJSDocParameterTag(n)&&e.isIdentifier(n.name)&&n.name.escapedText===t}))}var r=n.parent.parameters.indexOf(n);e.Debug.assert(r>-1,"Parameters should always be in their parents' parameter list");var a=te(n.parent).filter(e.isJSDocParameterTag);if(r=152}function a(e){return e.kind>=0&&e.kind<=151}function i(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")}function o(e){return 8<=e&&e<=14}function s(e){return o(e.kind)}function c(e){return 14<=e&&e<=17}function l(e){return c(e.kind)}function u(e){var n=e.kind;return 16===n||17===n}function d(n){return e.isImportSpecifier(n)||e.isExportSpecifier(n)}function p(e){return 10===e.kind||c(e.kind)}function m(n){return e.isIdentifier(n)&&(7&n.autoGenerateFlags)>0}function f(e){switch(e){case 121:case 125:case 80:case 129:case 83:case 88:case 118:case 116:case 117:case 137:case 119:return!0}return!1}function _(n){return!!(92&e.modifierToFlag(n))}function g(e){return _(e)||119===e}function y(e){return f(e.kind)}function v(e){var n=e.kind;return 152===n||75===n}function h(e){var n=e.kind;return 75===n||10===n||8===n||153===n}function b(e){var n=e.kind;return 75===n||188===n||189===n}function E(e){return e&&x(e.kind)}function T(e){return e&&S(e.kind)}function S(e){switch(e){case 243:case 160:case 161:case 162:case 163:case 200:case 201:return!0;default:return!1}}function x(e){switch(e){case 159:case 164:case 303:case 165:case 166:case 169:case 298:case 170:return!0;default:return S(e)}}function L(n){return e.isSourceFile(n)||e.isModuleBlock(n)||e.isBlock(n)&&E(n.parent)}function C(e){var n=e.kind;return 161===n||158===n||160===n||162===n||163===n||166===n||221===n}function A(e){return e&&(244===e.kind||213===e.kind)}function D(e){return e&&(162===e.kind||163===e.kind)}function k(e){switch(e.kind){case 160:case 162:case 163:return!0;default:return!1}}function N(e){var n=e.kind;return 165===n||164===n||157===n||159===n||166===n}function I(e){return N(e)||C(e)}function O(e){var n=e.kind;return 279===n||280===n||281===n||160===n||162===n||163===n}function M(n){return e.isTypeNodeKind(n.kind)}function w(e){switch(e.kind){case 169:case 170:return!0}return!1}function R(e){if(e){var n=e.kind;return 189===n||188===n}return!1}function P(e){var n=e.kind;return 191===n||192===n}function F(e){var n=e.kind;return 190===n||214===n}function G(e){switch(e.kind){case 241:case 155:case 190:return!0}return!1}function B(e){return V(e)||U(e)}function V(e){switch(e.kind){case 188:case 192:return!0}return!1}function U(e){switch(e.kind){case 189:case 191:return!0}return!1}function j(e){var n=e.kind;return 193===n||152===n||187===n}function K(e){var n=e.kind;return 193===n||152===n}function H(e){switch(e.kind){case 266:case 265:case 195:case 196:case 197:case 156:return!0;default:return!1}}function W(e){return 195===e.kind||196===e.kind}function q(e){var n=e.kind;return 210===n||14===n}function z(n){return J(e.skipPartiallyEmittedExpressions(n).kind)}function J(e){switch(e){case 193:case 194:case 196:case 195:case 264:case 265:case 268:case 197:case 191:case 199:case 192:case 213:case 200:case 75:case 13:case 8:case 9:case 10:case 14:case 210:case 90:case 99:case 103:case 105:case 101:case 217:case 218:case 95:return!0;default:return!1}}function X(n){return Y(e.skipPartiallyEmittedExpressions(n).kind)}function Y(e){switch(e){case 206:case 207:case 202:case 203:case 204:case 205:case 198:return!0;default:return J(e)}}function Q(e){switch(e.kind){case 207:return!0;case 206:return 45===e.operator||46===e.operator;default:return!1}}function Z(n){return $(e.skipPartiallyEmittedExpressions(n).kind)}function $(e){switch(e){case 209:case 211:case 201:case 208:case 212:case 216:case 214:case 320:case 319:return!0;default:return Y(e)}}function ee(e){var n=e.kind;return 198===n||216===n}function ne(e){return 319===e.kind}function te(e){return 318===e.kind}function re(e){return 323===e.kind}function ae(e){return te(e)||ne(e)}function ie(e,n){switch(e.kind){case 229:case 230:case 231:case 227:case 228:return!0;case 237:return n&&ie(e.statement,n)}return!1}function oe(n){return e.isExportAssignment(n)||e.isExportDeclaration(n)}function se(n){return e.some(n,oe)}function ce(n){return!e.isAnyImportOrReExport(n)&&!e.isExportAssignment(n)&&!e.hasModifier(n,1)&&!e.isAmbientModule(n)}function le(n){return e.isAnyImportOrReExport(n)||e.isExportAssignment(n)||e.hasModifier(n,1)}function ue(e){return 230===e.kind||231===e.kind}function de(n){return e.isBlock(n)||Z(n)}function pe(n){return e.isBlock(n)}function me(n){return e.isVariableDeclarationList(n)||Z(n)}function fe(e){var n=e.kind;return 249===n||248===n||75===n}function _e(e){var n=e.kind;return 249===n||248===n}function ge(e){var n=e.kind;return 75===n||248===n}function ye(e){var n=e.kind;return 256===n||255===n}function ve(e){return 248===e.kind||247===e.kind}function he(e){return 201===e||190===e||244===e||213===e||161===e||247===e||282===e||261===e||243===e||200===e||162===e||254===e||252===e||257===e||245===e||271===e||160===e||159===e||248===e||251===e||255===e||155===e||279===e||158===e||157===e||163===e||280===e||246===e||154===e||241===e||315===e||308===e||316===e}function be(e){return 243===e||262===e||244===e||245===e||246===e||247===e||248===e||253===e||252===e||259===e||258===e||251===e}function Ee(e){return 233===e||232===e||240===e||227===e||225===e||223===e||230===e||231===e||229===e||226===e||237===e||234===e||236===e||238===e||239===e||224===e||228===e||235===e||318===e||322===e||321===e}function Te(n){return 154===n.kind?n.parent&&314!==n.parent.kind||e.isInJSFile(n):he(n.kind)}function Se(e){return be(e.kind)}function xe(e){return Ee(e.kind)}function Le(e){var n=e.kind;return Ee(n)||be(n)||Ce(e)}function Ce(n){return 222===n.kind&&((void 0===n.parent||239!==n.parent.kind&&278!==n.parent.kind)&&!e.isFunctionBlock(n))}function Ae(e){var n=e.kind;return 263===n||152===n||75===n}function De(e){var n=e.kind;return 103===n||75===n||193===n}function ke(e){var n=e.kind;return 264===n||274===n||265===n||11===n||268===n}function Ne(e){var n=e.kind;return 271===n||273===n}function Ie(e){var n=e.kind;return 10===n||274===n}function Oe(e){var n=e.kind;return 266===n||265===n}function Me(e){var n=e.kind;return 275===n||276===n}function we(e){return e.kind>=292&&e.kind<=316}function Re(n){return 301===n.kind||Pe(n)||e.isJSDocTypeLiteral(n)||e.isJSDocSignature(n)}function Pe(e){return e.kind>=304&&e.kind<=316}function Fe(e){return 163===e.kind}function Ge(e){return 162===e.kind}function Be(e){var n=e.jsDoc;return!!n&&n.length>0}function Ve(e){return!!e.type}function Ue(e){return!!e.initializer}function je(n){return Ue(n)&&!e.isForStatement(n)&&!e.isForInStatement(n)&&!e.isForOfStatement(n)&&!e.isJsxAttribute(n)}function Ke(e){return 271===e.kind||273===e.kind||O(e)}function He(e){return 168===e.kind||215===e.kind}e.isSyntaxList=n,e.isNode=t,e.isNodeKind=r,e.isToken=a,e.isNodeArray=i,e.isLiteralKind=o,e.isLiteralExpression=s,e.isTemplateLiteralKind=c,e.isTemplateLiteralToken=l,e.isTemplateMiddleOrTemplateTail=u,e.isImportOrExportSpecifier=d,e.isStringTextContainingNode=p,e.isGeneratedIdentifier=m,e.isModifierKind=f,e.isParameterPropertyModifier=_,e.isClassMemberModifier=g,e.isModifier=y,e.isEntityName=v,e.isPropertyName=h,e.isBindingName=b,e.isFunctionLike=E,e.isFunctionLikeDeclaration=T,e.isFunctionLikeKind=x,e.isFunctionOrModuleBlock=L,e.isClassElement=C,e.isClassLike=A,e.isAccessor=D,e.isMethodOrAccessor=k,e.isTypeElement=N,e.isClassOrTypeElement=I,e.isObjectLiteralElementLike=O,e.isTypeNode=M,e.isFunctionOrConstructorTypeNode=w,e.isBindingPattern=R,e.isAssignmentPattern=P,e.isArrayBindingElement=F,e.isDeclarationBindingElement=G,e.isBindingOrAssignmentPattern=B,e.isObjectBindingOrAssignmentPattern=V,e.isArrayBindingOrAssignmentPattern=U,e.isPropertyAccessOrQualifiedNameOrImportTypeNode=j,e.isPropertyAccessOrQualifiedName=K,e.isCallLikeExpression=H,e.isCallOrNewExpression=W,e.isTemplateLiteral=q,e.isLeftHandSideExpression=z,e.isUnaryExpression=X,e.isUnaryExpressionWithWrite=Q,e.isExpression=Z,e.isAssertionExpression=ee,e.isPartiallyEmittedExpression=ne,e.isNotEmittedStatement=te,e.isSyntheticReference=re,e.isNotEmittedOrPartiallyEmittedNode=ae,e.isIterationStatement=ie,e.isScopeMarker=oe,e.hasScopeMarker=se,e.needsScopeMarker=ce,e.isExternalModuleIndicator=le,e.isForInOrOfStatement=ue,e.isConciseBody=de,e.isFunctionBody=pe,e.isForInitializer=me,e.isModuleBody=fe,e.isNamespaceBody=_e,e.isJSDocNamespaceBody=ge,e.isNamedImportBindings=ye,e.isModuleOrEnumDeclaration=ve,e.isDeclaration=Te,e.isDeclarationStatement=Se,e.isStatementButNotDeclaration=xe,e.isStatement=Le,e.isModuleReference=Ae,e.isJsxTagNameExpression=De,e.isJsxChild=ke,e.isJsxAttributeLike=Ne,e.isStringLiteralOrJsxExpression=Ie,e.isJsxOpeningLikeElement=Oe,e.isCaseOrDefaultClause=Me,e.isJSDocNode=we,e.isJSDocCommentContainingNode=Re,e.isJSDocTag=Pe,e.isSetAccessor=Fe,e.isGetAccessor=Ge,e.hasJSDocNodes=Be,e.hasType=Ve,e.hasInitializer=Ue,e.hasOnlyExpressionInitializer=je,e.isObjectLiteralElement=Ke,e.isTypeReferenceType=He;var We=1073741823;function qe(n){for(var t=We,r=0,a=n;r4&&(i=s(i,arguments,4)),{file:n,start:t,length:r,messageText:i,category:a.category,code:a.code,reportsUnnecessary:a.reportsUnnecessary}}function u(e,n){var t=c(n);return arguments.length>2&&(t=s(t,arguments,2)),t}function d(e){var n=c(e);return arguments.length>1&&(n=s(n,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:n,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary}}function p(e){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText}}function m(e,n){var t=c(n);return arguments.length>2&&(t=s(t,arguments,2)),{messageText:t,category:n.category,code:n.code,next:void 0===e||Array.isArray(e)?e:[e]}}function f(e,n){var t=e;while(t.next)t=t.next[0];t.next=[n]}function _(e){return e.file?e.file.path:void 0}function g(e,n){return y(e,n)||v(e,n)||0}function y(n,t){return e.compareStringsCaseSensitive(_(n),_(t))||e.compareValues(n.start,t.start)||e.compareValues(n.length,t.length)||e.compareValues(n.code,t.code)||h(n.messageText,t.messageText)||0}function v(n,t){return n.relatedInformation||t.relatedInformation?n.relatedInformation&&t.relatedInformation?e.compareValues(n.relatedInformation.length,t.relatedInformation.length)||e.forEach(n.relatedInformation,(function(e,n){var r=t.relatedInformation[n];return g(e,r)}))||0:n.relatedInformation?-1:1:0}function h(n,t){if("string"===typeof n&&"string"===typeof t)return e.compareStringsCaseSensitive(n,t);if("string"===typeof n)return-1;if("string"===typeof t)return 1;var r=e.compareStringsCaseSensitive(n.messageText,t.messageText);if(r)return r;if(!n.next&&!t.next)return 0;if(!n.next)return-1;if(!t.next)return 1;for(var a=Math.min(n.next.length,t.next.length),i=0;it.next.length?1:0}function b(e){return e.target||0}function E(n){return"number"===typeof n.module?n.module:b(n)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function T(n){var t=n.moduleResolution;return void 0===t&&(t=E(n)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),t}function S(n){switch(E(n)){case e.ModuleKind.CommonJS:case e.ModuleKind.AMD:case e.ModuleKind.ES2015:case e.ModuleKind.ESNext:return!0;default:return!1}}function x(e){return!1===e.allowUnreachableCode}function L(e){return!1===e.allowUnusedLabels}function C(e){return!(!D(e)||!e.declarationMap)}function A(n){var t=E(n);return void 0!==n.allowSyntheticDefaultImports?n.allowSyntheticDefaultImports:n.esModuleInterop||t===e.ModuleKind.System}function D(e){return!(!e.declaration&&!e.composite)}function k(e){return!(!e.incremental&&!e.composite)}function N(e,n){return void 0===e[n]?!!e.strict:!!e[n]}function I(n,t){return t!==n&&e.semanticDiagnosticsOptionDeclarations.some((function(r){return!e.isJsonEqual(M(t,r),M(n,r))}))}function O(n,t){return t!==n&&e.affectsEmitOptionDeclarations.some((function(r){return!e.isJsonEqual(M(t,r),M(n,r))}))}function M(e,n){return n.strictFlag?N(e,n.name):e[n.name]}function w(e){for(var n=!1,t=0;t0)u+=")?",f--;return u}}function y(e,n){return"*"===e?n:"?"===e?"[^/]":"\\"+e}function v(n,t,r,a,i){n=e.normalizePath(n),i=e.normalizePath(i);var o=e.combinePaths(i,n);return{includeFilePatterns:e.map(f(r,o,"files"),(function(e){return"^"+e+"$"})),includeFilePattern:m(r,o,"files"),includeDirectoryPattern:m(r,o,"directories"),excludePattern:m(t,o,"exclude"),basePaths:E(n,r,a)}}function h(e,n){return new RegExp(e,n?"":"i")}function b(n,t,r,a,i,o,s,c,l){n=e.normalizePath(n),o=e.normalizePath(o);for(var u=v(n,r,a,i,o),d=u.includeFilePatterns&&u.includeFilePatterns.map((function(e){return h(e,i)})),p=u.includeDirectoryPattern&&h(u.includeDirectoryPattern,i),m=u.excludePattern&&h(u.excludePattern,i),f=d?d.map((function(){return[]})):[[]],_=e.createMap(),g=e.createGetCanonicalFileName(i),y=0,b=u.basePaths;y=0;r--)if(e.fileExtensionIs(n,t[r]))return R(r,t);return 0}function R(e,n){return e<2?0:e=0)}function H(e){return".ts"===e||".tsx"===e||".d.ts"===e}function W(e){return H(e)||".json"===e}function q(n){var t=J(n);return void 0!==t?t:e.Debug.fail("File "+n+" has unknown extension.")}function z(e){return void 0!==J(e)}function J(n){return e.find(F,(function(t){return e.fileExtensionIs(n,t)}))}function X(e,n){return e.checkJsDirective?e.checkJsDirective.enabled:n.checkJs}function Y(n,t){for(var r=[],a=0,i=n;aa&&(a=o)}return{min:r,max:a}}e.removeFileExtension=G,e.tryRemoveExtension=B,e.removeExtension=V,e.changeExtension=U,e.tryParsePattern=j,e.positionIsSynthesized=K,e.extensionIsTS=H,e.resolutionExtensionIsTSOrJson=W,e.extensionFromPath=q,e.isAnySupportedFileExtension=z,e.tryGetExtensionFromPath=J,e.isCheckJsEnabledForFile=X,e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray},e.matchPatternOrExact=Y,e.sliceAfter=Q,e.addRelatedInfo=Z,e.minAndMax=$;var ee=function(){function n(){this.map=e.createMap()}return n.prototype.add=function(n){this.map.set(String(e.getNodeId(n)),n)},n.prototype.tryAdd=function(e){return!this.has(e)&&(this.add(e),!0)},n.prototype.has=function(n){return this.map.has(String(e.getNodeId(n)))},n.prototype.forEach=function(e){this.map.forEach(e)},n.prototype.some=function(n){return e.forEachEntry(this.map,n)||!1},n}();e.NodeSet=ee;var ne=function(){function n(){this.map=e.createMap()}return n.prototype.get=function(n){var t=this.map.get(String(e.getNodeId(n)));return t&&t.value},n.prototype.getOrUpdate=function(e,n){var t=this.get(e);if(t)return t;var r=n();return this.set(e,r),r},n.prototype.set=function(n,t){this.map.set(String(e.getNodeId(n)),{node:n,value:t})},n.prototype.has=function(n){return this.map.has(String(e.getNodeId(n)))},n.prototype.forEach=function(e){this.map.forEach((function(n){var t=n.node,r=n.value;return e(r,t)}))},n}();function te(n){return{pos:e.getTokenPosOfNode(n),end:n.end}}function re(e){return{pos:e.pos-1,end:e.end+1}}function ae(e,n,t){return n.skipLibCheck&&e.isDeclarationFile||n.skipDefaultLibCheck&&e.hasNoDefaultLib||t.isSourceOfProjectReferenceRedirect(e.fileName)}function ie(n,t){return n===t||"object"===typeof n&&null!==n&&"object"===typeof t&&null!==t&&e.equalOwnProperties(n,t,ie)}function oe(e,n,t){var r=e.get(n);if(void 0===r){var a=t();return e.set(n,a),a}return r}function se(e){var n;switch(e.charCodeAt(1)){case 98:case 66:n=1;break;case 111:case 79:n=3;break;case 120:case 88:n=4;break;default:var t=e.length-1,r=0;while(48===e.charCodeAt(r))r++;return e.slice(r,t)||"0"}for(var a=2,i=e.length-1,o=(i-a)*n,s=new Uint16Array((o>>>4)+(15&o?1:0)),c=i-1,l=0;c>=a;c--,l+=n){var u=l>>>4,d=e.charCodeAt(c),p=d<=57?d-48:10+d-(d<=70?65:97),m=p<<(15&l);s[u]|=m;var f=m>>>16;f&&(s[u+1]|=f)}var _="",g=s.length-1,y=!0;while(y){var v=0;y=!1;for(u=g;u>=0;u--){var h=v<<16|s[u],b=h/10|0;s[u]=b,v=h-10*b,b&&!y&&(g=u,y=!0)}_=v+_}return _}function ce(e){var n=e.negative,t=e.base10Value;return(n&&"0"!==t?"-":"")+t}e.NodeMap=ne,e.rangeOfNode=te,e.rangeOfTypeParameters=re,e.skipTypeChecking=ae,e.isJsonEqual=ie,e.getOrUpdate=oe,e.parsePseudoBigInt=se,e.pseudoBigIntToString=ce}(u||(u={})),function(e){var n,t,r,a,i,o,s;function c(n,o,s){return 288===n?new(i||(i=e.objectAllocator.getSourceFileConstructor()))(n,o,s):75===n?new(a||(a=e.objectAllocator.getIdentifierConstructor()))(n,o,s):e.isNodeKind(n)?new(t||(t=e.objectAllocator.getNodeConstructor()))(n,o,s):new(r||(r=e.objectAllocator.getTokenConstructor()))(n,o,s)}function l(e,n){return n&&e(n)}function u(e,n,t){if(t){if(n)return n(t);for(var r=0,a=t;rn.checkJsDirective.pos)&&(n.checkJsDirective={enabled:"ts-check"===a,end:e.range.end,pos:e.range.pos})}));break;case"jsx":return;default:e.Debug.fail("Unhandled pragma kind")}}))}(function(e){e[e["None"]=0]="None",e[e["Yield"]=1]="Yield",e[e["Await"]=2]="Await",e[e["Type"]=4]="Type",e[e["IgnoreMissingOpenBrace"]=16]="IgnoreMissingOpenBrace",e[e["JSDoc"]=32]="JSDoc"})(n||(n={})),e.createNode=c,e.isJSDocLikeText=d,e.forEachChild=p,e.createSourceFile=m,e.parseIsolatedEntityName=f,e.parseJsonText=_,e.isExternalModule=g,e.updateSourceFile=y,e.parseIsolatedJSDocComment=v,e.parseJSDocTypeExpressionForTests=h,function(n){var t,r,a,i,o,s,c,l,u,m,f,_,g,y,v,h,S,x,L=e.createScanner(99,!0),C=20480,A=!1;function D(n,t,r,a,i,o){if(void 0===i&&(i=!1),o=e.ensureScriptKind(n,o),6===o){var s=I(n,t,r,a,i);return e.convertToObjectWorker(s,s.parseDiagnostics,!1,void 0,void 0),s.referencedFiles=e.emptyArray,s.typeReferenceDirectives=e.emptyArray,s.libReferenceDirectives=e.emptyArray,s.amdDependencies=e.emptyArray,s.hasNoDefaultLib=!1,s.pragmas=e.emptyMap,s}M(t,r,a,o);var c=R(n,r,i,o);return w(),c}function k(e,n){M(e,n,void 0,1),pe();var t=Mn(!0),r=1===ue()&&!s.length;return w(),r?t:void 0}function I(n,t,r,a,i){void 0===r&&(r=2),M(t,r,a,6),o=G(n,2,6,!1),o.flags=v,pe();var c=le();if(1===ue())o.statements=Ge([],c,c),o.endOfFileToken=Oe();else{var l=Pe(225);switch(ue()){case 22:l.expression=da();break;case 105:case 90:case 99:l.expression=Oe();break;case 40:Te((function(){return 8===pe()&&58!==pe()}))?l.expression=Sr():l.expression=ma();break;case 8:case 10:if(Te((function(){return 58!==pe()}))){l.expression=Gn();break}default:l.expression=ma();break}Be(l),o.statements=Ge([l],c),o.endOfFileToken=Ne(1,e.Diagnostics.Unexpected_token)}i&&F(o),o.nodeCount=m,o.identifierCount=_,o.identifiers=f,o.parseDiagnostics=s;var u=o;return w(),u}function O(e){return 4===e||2===e||1===e||6===e?1:0}function M(n,o,l,d){switch(t=e.objectAllocator.getNodeConstructor(),r=e.objectAllocator.getTokenConstructor(),a=e.objectAllocator.getIdentifierConstructor(),i=e.objectAllocator.getSourceFileConstructor(),u=n,c=l,s=[],g=0,f=e.createMap(),_=0,m=0,d){case 1:case 2:v=131072;break;case 6:v=33685504;break;default:v=0;break}A=!1,L.setText(u),L.setOnError(ce),L.setScriptTarget(o),L.setLanguageVariant(O(d))}function w(){L.setText(""),L.setOnError(void 0),s=void 0,o=void 0,f=void 0,c=void 0,u=void 0,y=void 0}function R(n,t,r,a){var i=b(n);return i&&(v|=8388608),o=G(n,t,a,i),o.flags=v,pe(),E(o,u),T(o,c),o.statements=mn(0,Wa),e.Debug.assert(1===ue()),o.endOfFileToken=P(Oe()),ro(o),o.nodeCount=m,o.identifierCount=_,o.identifiers=f,o.parseDiagnostics=s,r&&F(o),o;function c(n,t,r){s.push(e.createFileDiagnostic(o,n,t,r))}}function P(n){e.Debug.assert(!n.jsDoc);var t=e.mapDefined(e.getJSDocCommentRanges(n,o.text),(function(e){return x.parseJSDocComment(n,e.pos,e.end-e.pos)}));return t.length&&(n.jsDoc=t),n}function F(n){var t=n;return void p(n,r);function r(n){if(n.parent!==t){n.parent=t;var a=t;if(t=n,p(n,r),e.hasJSDocNodes(n))for(var i=0,o=n.jsDoc;i111)}function Le(n,t,r){return void 0===r&&(r=!0),ue()===n?(r&&pe(),!0):(t?ae(t):ae(e.Diagnostics._0_expected,e.tokenToString(n)),!1)}function Ce(n){return ue()===n?(me(),!0):(ae(e.Diagnostics._0_expected,e.tokenToString(n)),!1)}function Ae(e){return ue()===e&&(pe(),!0)}function De(e){if(ue()===e)return Oe()}function ke(e){if(ue()===e)return Me()}function Ne(n,t,r){return De(n)||Ve(n,!1,t||e.Diagnostics._0_expected,r||e.tokenToString(n))}function Ie(n){return ke(n)||Ve(n,!1,e.Diagnostics._0_expected,e.tokenToString(n))}function Oe(){var e=Pe(ue());return pe(),Be(e)}function Me(){var e=Pe(ue());return me(),Be(e)}function we(){return 26===ue()||(19===ue()||1===ue()||L.hasPrecedingLineBreak())}function Re(){return we()?(26===ue()&&pe(),!0):Le(26)}function Pe(n,i){m++;var o=i>=0?i:L.getStartPos();return e.isNodeKind(n)||0===n?new t(n,o,o):75===n?new a(n,o,o):new r(n,o,o)}function Fe(e,n){var t=Pe(e,n);return 2&L.getTokenFlags()&&P(t),t}function Ge(e,n,t){var r=e.length,a=r>=1&&r<=4?e.slice():e;return a.pos=n,a.end=void 0===t?L.getStartPos():t,a}function Be(e,n){return e.end=void 0===n?L.getStartPos():n,v&&(e.flags|=v),A&&(A=!1,e.flags|=65536),e}function Ve(n,t,r,a){t?ie(L.getStartPos(),0,r,a):r&&ae(r,a);var i=Pe(n);return 75===n?i.escapedText="":(e.isLiteralKind(n)||e.isTemplateLiteralKind(n))&&(i.text=""),Be(i)}function Ue(e){var n=f.get(e);return void 0===n&&f.set(e,n=e),n}function je(n,t){if(_++,n){var r=Pe(75);return 75!==ue()&&(r.originalKeywordKind=ue()),r.escapedText=e.escapeLeadingUnderscores(Ue(L.getTokenValue())),de(),Be(r)}var a=1===ue(),i=L.isReservedWord(),o=L.getTokenText(),s=i?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return Ve(75,a,t||s,o)}function Ke(e){return je(xe(),e)}function He(n){return je(e.tokenIsIdentifierOrKeyword(ue()),n)}function We(){return e.tokenIsIdentifierOrKeyword(ue())||10===ue()||8===ue()}function qe(e){if(10===ue()||8===ue()){var n=Gn();return n.text=Ue(n.text),n}return e&&22===ue()?Je():He()}function ze(){return qe(!0)}function Je(){var e=Pe(153);return Le(22),e.expression=q(nr),Le(23),Be(e)}function Xe(e){return ue()===e&&Se(Qe)}function Ye(){return pe(),!L.hasPrecedingLineBreak()&&$e()}function Qe(){switch(ue()){case 80:return 87===pe();case 88:return pe(),83===ue()?Te(en):41!==ue()&&122!==ue()&&18!==ue()&&$e();case 83:return en();case 119:case 130:case 141:return pe(),$e();default:return Ye()}}function Ze(){return e.isModifierKind(ue())&&Se(Qe)}function $e(){return 22===ue()||18===ue()||41===ue()||25===ue()||We()}function en(){return pe(),79===ue()||93===ue()||113===ue()||121===ue()&&Te(Fa)||125===ue()&&Te(Ga)}function nn(n,t){var r=_n(n);if(r)return!0;switch(n){case 0:case 1:case 3:return!(26===ue()&&t)&&ja();case 2:return 77===ue()||83===ue();case 4:return Te(mt);case 5:return Te(gi)||26===ue()&&!t;case 6:return 22===ue()||We();case 12:switch(ue()){case 22:case 41:case 25:case 24:return!0;default:return We()}case 18:return We();case 9:return 22===ue()||25===ue()||We();case 7:return 18===ue()?Te(tn):t?xe()&&!sn():Zt()&&!sn();case 8:return ti();case 10:return 27===ue()||25===ue()||ti();case 19:return xe();case 15:switch(ue()){case 27:case 24:return!0}case 11:return 25===ue()||$t();case 16:return tt(!1);case 17:return tt(!0);case 20:case 21:return 27===ue()||Mt();case 22:return Ni();case 23:return e.tokenIsIdentifierOrKeyword(ue());case 13:return e.tokenIsIdentifierOrKeyword(ue())||18===ue();case 14:return!0}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function tn(){if(e.Debug.assert(18===ue()),19===pe()){var n=pe();return 27===n||18===n||89===n||112===n}return!0}function rn(){return pe(),xe()}function an(){return pe(),e.tokenIsIdentifierOrKeyword(ue())}function on(){return pe(),e.tokenIsIdentifierOrKeywordOrGreaterThan(ue())}function sn(){return(112===ue()||89===ue())&&Te(cn)}function cn(){return pe(),$t()}function ln(){return pe(),Mt()}function un(e){if(1===ue())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return 19===ue();case 3:return 19===ue()||77===ue()||83===ue();case 7:return 18===ue()||89===ue()||112===ue();case 8:return dn();case 19:return 31===ue()||20===ue()||18===ue()||89===ue()||112===ue();case 11:return 21===ue()||26===ue();case 15:case 21:case 10:return 23===ue();case 17:case 16:case 18:return 21===ue()||23===ue();case 20:return 27!==ue();case 22:return 18===ue()||19===ue();case 13:return 31===ue()||43===ue();case 14:return 29===ue()&&Te(ji);default:return!1}}function dn(){return!!we()||(!!vr(ue())||38===ue())}function pn(){for(var e=0;e<24;e++)if(g&1<=0&&(c.hasTrailingComma=!0),c}function kn(n){return 6===n?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function Nn(){var e=Ge([],le());return e.isMissingList=!0,e}function In(e){return!!e.isMissingList}function On(e,n,t,r){if(Le(t)){var a=Dn(e,n);return Le(r),a}return Nn()}function Mn(e,n){var t=e?He(n):Ke(n),r=L.getStartPos();while(Ae(24)){if(29===ue()){t.jsdocDotPos=r;break}r=L.getStartPos(),t=wn(t,Rn(e))}return t}function wn(e,n){var t=Pe(152,e.pos);return t.left=e,t.right=n,Be(t)}function Rn(n){if(L.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(ue())){var t=Te(Pa);if(t)return Ve(75,!0,e.Diagnostics.Identifier_expected)}return n?He():Ke()}function Pn(){var n=Pe(210);n.head=Bn(),e.Debug.assert(15===n.head.kind,"Template head has wrong token kind");var t=[],r=le();do{t.push(Fn())}while(16===e.last(t).literal.kind);return n.templateSpans=Ge(t,r),Be(n)}function Fn(){var n,t=Pe(220);return t.expression=q(nr),19===ue()?(ge(),n=Vn()):n=Ne(17,e.Diagnostics._0_expected,e.tokenToString(19)),t.literal=n,Be(t)}function Gn(){return Un(ue())}function Bn(){var n=Un(ue());return e.Debug.assert(15===n.kind,"Template head has wrong token kind"),n}function Vn(){var n=Un(ue());return e.Debug.assert(16===n.kind||17===n.kind,"Template fragment has wrong token kind"),n}function Un(e){var n=Pe(e);switch(n.text=L.getTokenValue(),e){case 14:case 15:case 16:case 17:var t=14===e||17===e,r=L.getTokenText();n.rawText=r.substring(1,r.length-(L.isUnterminated()?0:t?1:2));break}return L.hasExtendedUnicodeEscape()&&(n.hasExtendedUnicodeEscape=!0),L.isUnterminated()&&(n.isUnterminated=!0),8===n.kind&&(n.numericLiteralFlags=1008&L.getTokenFlags()),pe(),Be(n),n}function jn(){var n=Pe(168);return n.typeName=Mn(!0,e.Diagnostics.Type_expected),L.hasPrecedingLineBreak()||29!==ye()||(n.typeArguments=On(20,Xt,29,31)),Be(n)}function Kn(n){switch(n.kind){case 168:return e.nodeIsMissing(n.typeName);case 169:case 170:var t=n,r=t.parameters,a=t.type;return In(r)||Kn(a);case 181:return Kn(n.type);default:return!1}}function Hn(e){pe();var n=Pe(167,e.pos);return n.parameterName=e,n.type=Xt(),Be(n)}function Wn(){var e=Pe(182);return pe(),Be(e)}function qn(e){var n=Pe(293);return e?Pt(297,n):(pe(),Be(n))}function zn(){var e=Pe(296);return pe(),e.type=Ot(),Be(e)}function Jn(){var e=L.getStartPos();if(pe(),27===ue()||19===ue()||21===ue()||31===ue()||62===ue()||51===ue()){var n=Pe(294,e);return Be(n)}n=Pe(295,e);return n.type=Xt(),Be(n)}function Xn(){if(Te(Ui)){var e=Fe(298);return pe(),at(58,36,e),Be(e)}var n=Pe(168);return n.typeName=He(),Be(n)}function Yn(){var e=Pe(155);return 103!==ue()&&98!==ue()||(e.name=He(),Le(58)),e.type=Qn(),Be(e)}function Qn(){L.setInJSDocType(!0);var e=De(134);if(e){var n=Pe(300,e.pos);e:while(1)switch(ue()){case 19:case 1:case 27:case 5:break e;default:me()}return L.setInJSDocType(!1),Be(n)}var t=De(25),r=qt();if(L.setInJSDocType(!1),t){var a=Pe(299,t.pos);a.type=r,r=Be(a)}return 62===ue()?Pt(297,r):r}function Zn(){var e=Pe(171);return Le(107),e.exprName=Mn(!0),Be(e)}function $n(){var e=Pe(154);return e.name=Ke(),Ae(89)&&(Mt()||!$t()?e.constraint=Xt():e.expression=kr()),Ae(62)&&(e.default=Xt()),Be(e)}function et(){if(29===ue())return On(19,$n,29,31)}function nt(){if(Ae(58))return Xt()}function tt(n){return 25===ue()||ti()||e.isModifierKind(ue())||59===ue()||Mt(!n)}function rt(){var n=Fe(155);return 103===ue()?(n.name=je(!0),n.type=nt(),Be(n)):(n.decorators=yi(),n.modifiers=vi(),n.dotDotDotToken=De(25),n.name=ri(),0===e.getFullWidth(n.name)&&!e.hasModifiers(n)&&e.isModifierKind(ue())&&pe(),n.questionToken=De(57),n.type=nt(),n.initializer=tr(),Be(n))}function at(e,n,t){32&n||(t.typeParameters=et());var r=ot(t,n);return(!it(e,!!(4&n))||(t.type=qt(),!Kn(t.type)))&&r}function it(n,t){return 38===n?(Le(n),!0):!!Ae(58)||!(!t||38!==ue())&&(ae(e.Diagnostics._0_expected,e.tokenToString(58)),pe(),!0)}function ot(e,n){if(!Le(20))return e.parameters=Nn(),!1;var t=ee(),r=re();return U(!!(1&n)),K(!!(2&n)),e.parameters=32&n?Dn(17,Yn):Dn(16,rt),U(t),K(r),Le(21)}function st(){Ae(27)||Re()}function ct(e){var n=Fe(e);return 165===e&&Le(98),at(58,4,n),st(),Be(n)}function lt(){return 22===ue()&&Te(ut)}function ut(){if(pe(),25===ue()||23===ue())return!0;if(e.isModifierKind(ue())){if(pe(),xe())return!0}else{if(!xe())return!1;pe()}return 58===ue()||27===ue()||57===ue()&&(pe(),58===ue()||27===ue()||23===ue())}function dt(e){return e.kind=166,e.parameters=On(16,rt,22,23),e.type=Qt(),st(),Be(e)}function pt(e){return e.name=ze(),e.questionToken=De(57),20===ue()||29===ue()?(e.kind=159,at(58,4,e)):(e.kind=157,e.type=Qt(),62===ue()&&(e.initializer=tr())),st(),Be(e)}function mt(){if(20===ue()||29===ue())return!0;var n=!1;while(e.isModifierKind(ue()))n=!0,pe();return 22===ue()||(We()&&(n=!0,pe()),!!n&&(20===ue()||29===ue()||57===ue()||58===ue()||27===ue()||we()))}function ft(){if(20===ue()||29===ue())return ct(164);if(98===ue()&&Te(_t))return ct(165);var e=Fe(0);return e.modifiers=vi(),lt()?dt(e):pt(e)}function _t(){return pe(),20===ue()||29===ue()}function gt(){return 24===pe()}function yt(){switch(pe()){case 20:case 29:case 24:return!0}return!1}function vt(){var e=Pe(172);return e.members=ht(),Be(e)}function ht(){var e;return Le(18)?(e=mn(4,ft),Le(19)):e=Nn(),e}function bt(){return pe(),39===ue()||40===ue()?137===pe():(137===ue()&&pe(),22===ue()&&rn()&&96===pe())}function Et(){var e=Pe(154);return e.name=Ke(),Le(96),e.constraint=Xt(),Be(e)}function Tt(){var e=Pe(185);return Le(18),137!==ue()&&39!==ue()&&40!==ue()||(e.readonlyToken=Oe(),137!==e.readonlyToken.kind&&Ne(137)),Le(22),e.typeParameter=Et(),Le(23),57!==ue()&&39!==ue()&&40!==ue()||(e.questionToken=Oe(),57!==e.questionToken.kind&&Ne(57)),e.type=Qt(),Re(),Le(19),Be(e)}function St(){var e=le();if(Ae(25)){var n=Pe(176,e);return n.type=Xt(),Be(n)}var t=Xt();return 4194304&v||295!==t.kind||t.pos!==t.type.pos||(t.kind=175),t}function xt(){var e=Pe(174);return e.elementTypes=On(21,St,22,23),Be(e)}function Lt(){var e=Pe(181);return Le(20),e.type=Xt(),Le(21),Be(e)}function Ct(){var e=le(),n=Ae(98)?170:169,t=Fe(n,e);return at(38,4,t),Be(t)}function At(){var e=Oe();return 24===ue()?void 0:e}function Dt(e){var n,t=Pe(186);e&&(n=Pe(206),n.operator=40,pe());var r=105===ue()||90===ue()?Oe():Un(ue());return e&&(n.operand=r,Be(n),r=n),t.literal=r,Be(t)}function kt(){return pe(),95===ue()}function Nt(){o.flags|=1048576;var n=Pe(187);return Ae(107)&&(n.isTypeOf=!0),Le(95),Le(20),n.argument=Xt(),Le(21),Ae(24)&&(n.qualifier=Mn(!0,e.Diagnostics.Type_expected)),L.hasPrecedingLineBreak()||29!==ye()||(n.typeArguments=On(20,Xt,29,31)),Be(n)}function It(){return pe(),8===ue()||9===ue()}function Ot(){switch(ue()){case 124:case 147:case 142:case 139:case 150:case 143:case 127:case 145:case 136:case 140:return Se(At)||jn();case 41:return qn(!1);case 65:return qn(!0);case 60:L.reScanQuestionToken();case 57:return Jn();case 93:return Xn();case 53:return zn();case 14:case 10:case 8:case 9:case 105:case 90:return Dt();case 40:return Te(It)?Dt(!0):jn();case 109:case 99:return Oe();case 103:var e=Wn();return 132!==ue()||L.hasPrecedingLineBreak()?e:Hn(e);case 107:return Te(kt)?Nt():Zn();case 18:return Te(bt)?Tt():vt();case 22:return xt();case 20:return Lt();case 95:return Nt();case 123:return Te(Pa)?Jt():jn();default:return jn()}}function Mt(e){switch(ue()){case 124:case 147:case 142:case 139:case 150:case 127:case 137:case 143:case 146:case 109:case 145:case 99:case 103:case 107:case 136:case 18:case 22:case 29:case 51:case 50:case 98:case 10:case 8:case 9:case 105:case 90:case 140:case 41:case 57:case 53:case 25:case 131:case 95:case 123:return!0;case 93:return!e;case 40:return!e&&Te(It);case 20:return!e&&Te(wt);default:return xe()}}function wt(){return pe(),21===ue()||tt(!1)||Mt()}function Rt(){var e=Ot();while(!L.hasPrecedingLineBreak())switch(ue()){case 53:e=Pt(296,e);break;case 57:if(!(4194304&v)&&Te(ln))return e;e=Pt(295,e);break;case 22:if(Le(22),Mt()){var n=Pe(184,e.pos);n.objectType=e,n.indexType=Xt(),Le(23),e=Be(n)}else{n=Pe(173,e.pos);n.elementType=e,Le(23),e=Be(n)}break;default:return e}return e}function Pt(e,n){pe();var t=Pe(e,n.pos);return t.type=n,Be(t)}function Ft(e){var n=Pe(183);return Le(e),n.operator=e,n.type=Bt(),Be(n)}function Gt(){var e=Pe(180);Le(131);var n=Pe(154);return n.name=Ke(),e.typeParameter=Be(n),Be(e)}function Bt(){var e=ue();switch(e){case 133:case 146:case 137:return Ft(e);case 131:return Gt()}return Rt()}function Vt(e,n,t){var r=L.getStartPos(),a=Ae(t),i=n();if(ue()===t||a){var o=[i];while(Ae(t))o.push(n());var s=Pe(e,r);s.types=Ge(o,r),i=Be(s)}return i}function Ut(){return Vt(178,Bt,50)}function jt(){return Vt(177,Ut,51)}function Kt(){return 29===ue()||20===ue()&&Te(Wt)}function Ht(){if(e.isModifierKind(ue())&&vi(),xe()||103===ue())return pe(),!0;if(22===ue()||18===ue()){var n=s.length;return ri(),n===s.length}return!1}function Wt(){if(pe(),21===ue()||25===ue())return!0;if(Ht()){if(58===ue()||27===ue()||57===ue()||62===ue())return!0;if(21===ue()&&(pe(),38===ue()))return!0}return!1}function qt(){var e=xe()&&Se(zt),n=Xt();if(e){var t=Pe(167,e.pos);return t.assertsModifier=void 0,t.parameterName=e,t.type=n,Be(t)}return n}function zt(){var e=Ke();if(132===ue()&&!L.hasPrecedingLineBreak())return pe(),e}function Jt(){var e=Pe(167);return e.assertsModifier=Ne(123),e.parameterName=103===ue()?Wn():Ke(),e.type=Ae(132)?Xt():void 0,Be(e)}function Xt(){return H(40960,Yt)}function Yt(e){if(Kt()||98===ue())return Ct();var n=jt();if(!e&&!L.hasPrecedingLineBreak()&&Ae(89)){var t=Pe(179,n.pos);return t.checkType=n,t.extendsType=Yt(!0),Le(57),t.trueType=Yt(),Le(58),t.falseType=Yt(),Be(t)}return n}function Qt(){return Ae(58)?Xt():void 0}function Zt(){switch(ue()){case 103:case 101:case 99:case 105:case 90:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 93:case 79:case 98:case 43:case 67:case 75:return!0;case 95:return Te(yt);default:return xe()}}function $t(){if(Zt())return!0;switch(ue()){case 39:case 40:case 54:case 53:case 84:case 107:case 109:case 45:case 46:case 29:case 126:case 120:return!0;default:return!!br()||xe()}}function er(){return 18!==ue()&&93!==ue()&&79!==ue()&&59!==ue()&&$t()}function nr(){var e=te();e&&j(!1);var n,t=rr();while(n=De(27))t=Er(t,n,rr());return e&&j(!0),t}function tr(){return Ae(62)?rr():void 0}function rr(){if(ar())return or();var n=cr()||pr();if(n)return n;var t=yr(0);return 75===t.kind&&38===ue()?sr(t):e.isLeftHandSideExpression(t)&&e.isAssignmentOperator(fe())?Er(t,Oe(),rr()):gr(t)}function ar(){return 120===ue()&&(!!ee()||Te(Ba))}function ir(){return pe(),!L.hasPrecedingLineBreak()&&xe()}function or(){var e=Pe(211);return pe(),L.hasPrecedingLineBreak()||41!==ue()&&!$t()||(e.asteriskToken=De(41),e.expression=rr()),Be(e)}function sr(n,t){var r;e.Debug.assert(38===ue(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>"),t?(r=Pe(201,t.pos),r.modifiers=t):r=Pe(201,n.pos);var a=Pe(155,n.pos);return a.name=n,Be(a),r.parameters=Ge([a],a.pos,a.end),r.equalsGreaterThanToken=Ne(38),r.body=_r(!!t),P(Be(r))}function cr(){var n=lr();if(0!==n){var t=1===n?fr(!0):Se(dr);if(t){var r=e.hasModifier(t,256),a=ue();return t.equalsGreaterThanToken=Ne(38),t.body=38===a||18===a?_r(r):Ke(),Be(t)}}}function lr(){return 20===ue()||29===ue()||125===ue()?Te(ur):38===ue()?1:0}function ur(){if(125===ue()){if(pe(),L.hasPrecedingLineBreak())return 0;if(20!==ue()&&29!==ue())return 0}var n=ue(),t=pe();if(20===n){if(21===t){var r=pe();switch(r){case 38:case 58:case 18:return 1;default:return 0}}if(22===t||18===t)return 2;if(25===t)return 1;if(e.isModifierKind(t)&&125!==t&&Te(rn))return 1;if(!xe()&&103!==t)return 0;switch(pe()){case 58:return 1;case 57:return pe(),58===ue()||27===ue()||62===ue()||21===ue()?1:0;case 27:case 62:case 21:return 2}return 0}if(e.Debug.assert(29===n),!xe())return 0;if(1===o.languageVariant){var a=Te((function(){var e=pe();if(89===e){var n=pe();switch(n){case 62:case 31:return!1;default:return!0}}else if(27===e)return!0;return!1}));return a?1:0}return 2}function dr(){var n=L.getTokenPos();if(!y||!y.has(n.toString())){var t=fr(!1);return t||(y||(y=e.createMap())).set(n.toString(),!0),t}}function pr(){if(125===ue()&&1===Te(mr)){var e=hi(),n=yr(0);return sr(n,e)}}function mr(){if(125===ue()){if(pe(),L.hasPrecedingLineBreak()||38===ue())return 0;var e=yr(0);if(!L.hasPrecedingLineBreak()&&75===e.kind&&38===ue())return 1}return 0}function fr(n){var t=Fe(201);t.modifiers=hi();var r=e.hasModifier(t,256)?2:0;if(at(58,r,t)||n){var a=t.type&&e.isJSDocFunctionType(t.type);if(n||38===ue()||!a&&18===ue())return t}}function _r(e){return 18===ue()?va(e?2:0):26!==ue()&&93!==ue()&&79!==ue()&&ja()&&!er()?va(16|(e?2:0)):e?Y(rr):Q(rr)}function gr(n){var t=De(57);if(!t)return n;var r=Pe(209,n.pos);return r.condition=n,r.questionToken=t,r.whenTrue=H(C,rr),r.colonToken=Ne(58),r.whenFalse=e.nodeIsPresent(r.colonToken)?rr():Ve(75,!1,e.Diagnostics._0_expected,e.tokenToString(58)),Be(r)}function yr(e){var n=kr();return hr(e,n)}function vr(e){return 96===e||151===e}function hr(n,t){while(1){fe();var r=e.getBinaryOperatorPrecedence(ue()),a=42===ue()?r>=n:r>n;if(!a)break;if(96===ue()&&ne())break;if(122===ue()){if(L.hasPrecedingLineBreak())break;pe(),t=Tr(t,Xt())}else t=Er(t,Oe(),yr(r))}return t}function br(){return(!ne()||96!==ue())&&e.getBinaryOperatorPrecedence(ue())>0}function Er(e,n,t){var r=Pe(208,e.pos);return r.left=e,r.operatorToken=n,r.right=t,Be(r)}function Tr(e,n){var t=Pe(216,e.pos);return t.expression=e,t.type=n,Be(t)}function Sr(){var e=Pe(206);return e.operator=ue(),pe(),e.operand=Nr(),Be(e)}function xr(){var e=Pe(202);return pe(),e.expression=Nr(),Be(e)}function Lr(){var e=Pe(203);return pe(),e.expression=Nr(),Be(e)}function Cr(){var e=Pe(204);return pe(),e.expression=Nr(),Be(e)}function Ar(){return 126===ue()&&(!!re()||Te(Ba))}function Dr(){var e=Pe(205);return pe(),e.expression=Nr(),Be(e)}function kr(){if(Ir()){var n=Or();return 42===ue()?hr(e.getBinaryOperatorPrecedence(ue()),n):n}var t=ue(),r=Nr();if(42===ue()){var a=e.skipTrivia(u,r.pos),i=r.end;198===r.kind?oe(a,i,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):oe(a,i,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(t))}return r}function Nr(){switch(ue()){case 39:case 40:case 54:case 53:return Sr();case 84:return xr();case 107:return Lr();case 109:return Cr();case 29:return Jr();case 126:if(Ar())return Dr();default:return Or()}}function Ir(){switch(ue()){case 39:case 40:case 54:case 53:case 84:case 107:case 109:case 126:return!1;case 29:if(1!==o.languageVariant)return!1;default:return!0}}function Or(){if(45===ue()||46===ue()){var n=Pe(206);return n.operator=ue(),pe(),n.operand=Mr(),Be(n)}if(1===o.languageVariant&&29===ue()&&Te(on))return Pr(!0);var t=Mr();if(e.Debug.assert(e.isLeftHandSideExpression(t)),(45===ue()||46===ue())&&!L.hasPrecedingLineBreak()){n=Pe(207,t.pos);return n.operand=t,n.operator=ue(),pe(),Be(n)}return t}function Mr(){var e;if(95===ue())if(Te(_t))o.flags|=1048576,e=Oe();else if(Te(gt)){var n=L.getStartPos();pe(),pe();var t=Pe(218,n);t.keywordToken=95,t.name=He(),e=Be(t),o.flags|=2097152}else e=wr();else e=101===ue()?Rr():wr();return ta(e)}function wr(){var e=oa();return $r(e,!0)}function Rr(){var n=Oe();if(29===ue()){var t=le(),r=Se(aa);void 0!==r&&oe(t,le(),e.Diagnostics.super_may_not_use_type_arguments)}if(20===ue()||24===ue()||22===ue())return n;var a=Pe(193,n.pos);return a.expression=n,Ne(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),a.name=Rn(!0),Be(a)}function Pr(n){var t,r=Ur(n);if(266===r.kind){var a=Pe(264,r.pos);a.openingElement=r,a.children=Br(a.openingElement),a.closingElement=qr(n),N(a.openingElement.tagName,a.closingElement.tagName)||se(a.closingElement,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(u,a.openingElement.tagName)),t=Be(a)}else if(269===r.kind){a=Pe(268,r.pos);a.openingFragment=r,a.children=Br(a.openingFragment),a.closingFragment=zr(n),t=Be(a)}else e.Debug.assert(265===r.kind),t=r;if(n&&29===ue()){var i=Se((function(){return Pr(!0)}));if(i){ae(e.Diagnostics.JSX_expressions_must_have_one_parent_element);var o=Pe(208,t.pos);return o.end=i.end,o.left=t,o.right=i,o.operatorToken=Ve(27,!1),o.operatorToken.pos=o.operatorToken.end=o.right.pos,o}}return t}function Fr(){var e=Pe(11);return e.text=L.getTokenValue(),e.containsOnlyTriviaWhiteSpaces=12===l,l=L.scanJsxToken(),Be(e)}function Gr(n,t){switch(t){case 1:return void(e.isJsxOpeningFragment(n)?se(n,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag):se(n.tagName,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(u,n.tagName)));case 30:case 7:return;case 11:case 12:return Fr();case 18:return Kr(!1);case 29:return Pr(!1);default:return e.Debug.assertNever(t)}}function Br(e){var n=[],t=le(),r=g;g|=16384;while(1){var a=Gr(e,l=L.reScanJsxToken());if(!a)break;n.push(a)}return g=r,Ge(n,t)}function Vr(){var e=Pe(272);return e.properties=mn(13,Hr),Be(e)}function Ur(e){var n=L.getStartPos();if(Le(29),31===ue()){var t=Pe(269,n);return he(),Be(t)}var r,a=jr(),i=ki(),o=Vr();return 31===ue()?(r=Pe(266,n),he()):(Le(43),e?Le(31):(Le(31,void 0,!1),he()),r=Pe(265,n)),r.tagName=a,r.typeArguments=i,r.attributes=o,Be(r)}function jr(){ve();var e=103===ue()?Oe():He();while(Ae(24)){var n=Pe(193,e.pos);n.expression=e,n.name=Rn(!0),e=Be(n)}return e}function Kr(e){var n=Pe(274);if(Le(18))return 19!==ue()&&(n.dotDotDotToken=De(25),n.expression=nr()),e?Le(19):Le(19,void 0,!1)&&he(),Be(n)}function Hr(){if(18===ue())return Wr();ve();var e=Pe(271);if(e.name=He(),62===ue())switch(be()){case 10:e.initializer=Gn();break;default:e.initializer=Kr(!0);break}return Be(e)}function Wr(){var e=Pe(273);return Le(18),Le(25),e.expression=nr(),Le(19),Be(e)}function qr(e){var n=Pe(267);return Le(30),n.tagName=jr(),e?Le(31):(Le(31,void 0,!1),he()),Be(n)}function zr(n){var t=Pe(270);return Le(30),e.tokenIsIdentifierOrKeyword(ue())&&se(jr(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment),n?Le(31):(Le(31,void 0,!1),he()),Be(t)}function Jr(){var e=Pe(198);return Le(29),e.type=Xt(),Le(31),e.expression=Nr(),Be(e)}function Xr(){return pe(),e.tokenIsIdentifierOrKeyword(ue())||22===ue()||ea()}function Yr(){return 28===ue()&&Te(Xr)}function Qr(e,n){var t=Pe(193,e.pos);return t.expression=e,t.questionDotToken=n,t.name=Rn(!0),(n||32&e.flags)&&(t.flags|=32),Be(t)}function Zr(n,t){var r=Pe(194,n.pos);if(r.expression=n,r.questionDotToken=t,23===ue())r.argumentExpression=Ve(75,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var a=q(nr);e.isStringOrNumericLiteralLike(a)&&(a.text=Ue(a.text)),r.argumentExpression=a}return Le(23),(t||32&n.flags)&&(r.flags|=32),Be(r)}function $r(n,t){while(1){var r=void 0,a=!1;if(t&&Yr()?(r=Ne(28),a=e.tokenIsIdentifierOrKeyword(ue())):a=Ae(24),a)n=Qr(n,r);else if(r||53!==ue()||L.hasPrecedingLineBreak())if(!r&&te()||!Ae(22)){if(!ea())return n;n=na(n,r,void 0)}else n=Zr(n,r);else{pe();var i=Pe(217,n.pos);i.expression=n,n=Be(i)}}}function ea(){return 14===ue()||15===ue()}function na(e,n,t){var r=Pe(197,e.pos);return r.tag=e,r.questionDotToken=n,r.typeArguments=t,r.template=14===ue()?Gn():Pn(),(n||32&e.flags)&&(r.flags|=32),Be(r)}function ta(n){while(1){n=$r(n,!0);var t=De(28);if(29===ue()||47===ue()){var r=Se(aa);if(r){if(ea()){n=na(n,t,r);continue}var a=Pe(195,n.pos);a.expression=n,a.questionDotToken=t,a.typeArguments=r,a.arguments=ra(),(t||32&n.flags)&&(a.flags|=32),n=Be(a);continue}}else if(20===ue()){a=Pe(195,n.pos);a.expression=n,a.questionDotToken=t,a.arguments=ra(),(t||32&n.flags)&&(a.flags|=32),n=Be(a);continue}if(t){var i=Pe(193,n.pos);i.expression=n,i.questionDotToken=t,i.name=Ve(75,!1,e.Diagnostics.Identifier_expected),i.flags|=32,n=Be(i)}break}return n}function ra(){Le(20);var e=Dn(11,ua);return Le(21),e}function aa(){if(29===ye()){pe();var e=Dn(20,Xt);if(Le(31))return e&&ia()?e:void 0}}function ia(){switch(ue()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return!0;case 27:case 18:default:return!1}}function oa(){switch(ue()){case 8:case 9:case 10:case 14:return Gn();case 103:case 101:case 99:case 105:case 90:return Oe();case 20:return sa();case 22:return da();case 18:return ma();case 125:if(!Te(Ga))break;return fa();case 79:return Ei();case 93:return fa();case 98:return ga();case 43:case 67:if(13===_e())return Gn();break;case 15:return Pn()}return Ke(e.Diagnostics.Expression_expected)}function sa(){var e=Fe(199);return Le(20),e.expression=q(nr),Le(21),Be(e)}function ca(){var e=Pe(212);return Le(25),e.expression=rr(),Be(e)}function la(){return 25===ue()?ca():27===ue()?Pe(214):rr()}function ua(){return H(C,la)}function da(){var e=Pe(191);return Le(22),L.hasPrecedingLineBreak()&&(e.multiLine=!0),e.elements=Dn(15,la),Le(23),Be(e)}function pa(){var e=Fe(0);if(De(25))return e.kind=281,e.expression=rr(),Be(e);if(e.decorators=yi(),e.modifiers=vi(),Xe(130))return _i(e,162);if(Xe(141))return _i(e,163);var n=De(41),t=xe();if(e.name=ze(),e.questionToken=De(57),e.exclamationToken=De(53),n||20===ue()||29===ue())return pi(e,n);var r=t&&58!==ue();if(r){e.kind=280;var a=De(62);a&&(e.equalsToken=a,e.objectAssignmentInitializer=q(rr))}else e.kind=279,Le(58),e.initializer=q(rr);return Be(e)}function ma(){var e=Pe(192);return Le(18),L.hasPrecedingLineBreak()&&(e.multiLine=!0),e.properties=Dn(12,pa,!0),Le(19),Be(e)}function fa(){var n=te();n&&j(!1);var t=Fe(200);t.modifiers=vi(),Le(93),t.asteriskToken=De(41);var r=t.asteriskToken?1:0,a=e.hasModifier(t,256)?2:0;return t.name=r&&a?Z(_a):r?J(_a):a?Y(_a):_a(),at(58,r|a,t),t.body=va(r|a),n&&j(!0),Be(t)}function _a(){return xe()?Ke():void 0}function ga(){var n=L.getStartPos();if(Le(98),Ae(24)){var t=Pe(218,n);return t.keywordToken=98,t.name=He(),Be(t)}var r,a=oa();while(1){a=$r(a,!1),r=Se(aa),ea()&&(e.Debug.assert(!!r,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),a=na(a,void 0,r),r=void 0);break}var i=Pe(196,n);return i.expression=a,i.typeArguments=r,(i.typeArguments||20===ue())&&(i.arguments=ra()),Be(i)}function ya(e,n){var t=Pe(222);return Le(18,n)||e?(L.hasPrecedingLineBreak()&&(t.multiLine=!0),t.statements=mn(1,Wa),Le(19)):t.statements=Nn(),Be(t)}function va(e,n){var t=ee();U(!!(1&e));var r=re();K(!!(2&e));var a=te();a&&j(!1);var i=ya(!!(16&e),n);return a&&j(!0),U(t),K(r),i}function ha(){var e=Pe(223);return Le(26),Be(e)}function ba(){var e=Pe(226);return Le(94),Le(20),e.expression=q(nr),Le(21),e.thenStatement=Wa(),e.elseStatement=Ae(86)?Wa():void 0,Be(e)}function Ea(){var e=Pe(227);return Le(85),e.statement=Wa(),Le(110),Le(20),e.expression=q(nr),Le(21),Ae(26),Be(e)}function Ta(){var e=Pe(228);return Le(110),Le(20),e.expression=q(nr),Le(21),e.statement=Wa(),Be(e)}function Sa(){var e=le();Le(92);var n,t,r=De(126);if(Le(20),26!==ue()&&(n=108===ue()||114===ue()||80===ue()?oi(!0):z(nr)),r?Le(151):Ae(151)){var a=Pe(231,e);a.awaitModifier=r,a.initializer=n,a.expression=q(rr),Le(21),t=a}else if(Ae(96)){var i=Pe(230,e);i.initializer=n,i.expression=q(nr),Le(21),t=i}else{var o=Pe(229,e);o.initializer=n,Le(26),26!==ue()&&21!==ue()&&(o.condition=q(nr)),Le(26),21!==ue()&&(o.incrementor=q(nr)),Le(21),t=o}return t.statement=Wa(),Be(t)}function xa(e){var n=Pe(e);return Le(233===e?76:81),we()||(n.label=Ke()),Re(),Be(n)}function La(){var e=Pe(234);return Le(100),we()||(e.expression=q(nr)),Re(),Be(e)}function Ca(){var e=Pe(235);return Le(111),Le(20),e.expression=q(nr),Le(21),e.statement=W(16777216,Wa),Be(e)}function Aa(){var e=Pe(275);return Le(77),e.expression=q(nr),Le(58),e.statements=mn(3,Wa),Be(e)}function Da(){var e=Pe(276);return Le(83),Le(58),e.statements=mn(3,Wa),Be(e)}function ka(){return 77===ue()?Aa():Da()}function Na(){var e=Pe(236);Le(102),Le(20),e.expression=q(nr),Le(21);var n=Pe(250);return Le(18),n.clauses=mn(2,ka),Le(19),e.caseBlock=Be(n),Be(e)}function Ia(){var e=Pe(238);return Le(104),e.expression=L.hasPrecedingLineBreak()?void 0:q(nr),Re(),Be(e)}function Oa(){var e=Pe(239);return Le(106),e.tryBlock=ya(!1),e.catchClause=78===ue()?Ma():void 0,e.catchClause&&91!==ue()||(Le(91),e.finallyBlock=ya(!1)),Be(e)}function Ma(){var e=Pe(278);return Le(78),Ae(20)?(e.variableDeclaration=ii(),Le(21)):e.variableDeclaration=void 0,e.block=ya(!1),Be(e)}function wa(){var e=Pe(240);return Le(82),Re(),Be(e)}function Ra(){var e=Fe(0),n=q(nr);return 75===n.kind&&Ae(58)?(e.kind=237,e.label=n,e.statement=Wa()):(e.kind=225,e.expression=n,Re()),Be(e)}function Pa(){return pe(),e.tokenIsIdentifierOrKeyword(ue())&&!L.hasPrecedingLineBreak()}function Fa(){return pe(),79===ue()&&!L.hasPrecedingLineBreak()}function Ga(){return pe(),93===ue()&&!L.hasPrecedingLineBreak()}function Ba(){return pe(),(e.tokenIsIdentifierOrKeyword(ue())||8===ue()||9===ue()||10===ue())&&!L.hasPrecedingLineBreak()}function Va(){while(1)switch(ue()){case 108:case 114:case 80:case 93:case 79:case 87:return!0;case 113:case 144:return ir();case 134:case 135:return Ya();case 121:case 125:case 129:case 116:case 117:case 118:case 137:if(pe(),L.hasPrecedingLineBreak())return!1;continue;case 149:return pe(),18===ue()||75===ue()||88===ue();case 95:return pe(),10===ue()||41===ue()||18===ue()||e.tokenIsIdentifierOrKeyword(ue());case 88:if(pe(),62===ue()||41===ue()||18===ue()||83===ue()||122===ue())return!0;continue;case 119:pe();continue;default:return!1}}function Ua(){return Te(Va)}function ja(){switch(ue()){case 59:case 26:case 18:case 108:case 114:case 93:case 79:case 87:case 94:case 85:case 110:case 92:case 81:case 76:case 100:case 111:case 102:case 104:case 106:case 82:case 78:case 91:return!0;case 95:return Ua()||Te(yt);case 80:case 88:return Ua();case 125:case 129:case 113:case 134:case 135:case 144:case 149:return!0;case 118:case 116:case 117:case 119:case 137:return Ua()||!Te(Pa);default:return $t()}}function Ka(){return pe(),xe()||18===ue()||22===ue()}function Ha(){return Te(Ka)}function Wa(){switch(ue()){case 26:return ha();case 18:return ya(!1);case 108:return ci(Fe(241));case 114:if(Ha())return ci(Fe(241));break;case 93:return li(Fe(243));case 79:return Ti(Fe(244));case 94:return ba();case 85:return Ea();case 110:return Ta();case 92:return Sa();case 81:return xa(232);case 76:return xa(233);case 100:return La();case 111:return Ca();case 102:return Na();case 104:return Ia();case 106:case 78:case 91:return Oa();case 82:return wa();case 59:return za();case 125:case 113:case 144:case 134:case 135:case 129:case 80:case 87:case 88:case 95:case 116:case 117:case 118:case 121:case 119:case 137:case 149:if(Ua())return za();break}return Ra()}function qa(e){return 129===e.kind}function za(){var n=Te((function(){return yi(),vi()})),t=e.some(n,qa);if(t){var r=Ja();if(r)return r}var a=Fe(0);if(a.decorators=yi(),a.modifiers=vi(),t){for(var i=0,o=a.modifiers;i=0),e.Debug.assert(n<=i),e.Debug.assert(i<=a.length),d(a,n)){var o,s,c,l=[];return L.scanRange(n+3,t-5,(function(){var e,t=1,r=n-Math.max(a.lastIndexOf("\n",n),0)+4;function i(n){e||(e=r),l.push(n),r+=n.length}me();while(J(5));J(4)&&(t=0,r=0);e:while(1){switch(ue()){case 59:0===t||1===t?(m(l),T(h(r)),t=0,e=void 0):i(L.getTokenText());break;case 4:l.push(L.getTokenText()),t=0,r=0;break;case 41:var o=L.getTokenText();1===t||2===t?(t=2,i(o)):(t=1,r+=o.length);break;case 5:var s=L.getTokenText();2===t?l.push(s):void 0!==e&&r+s.length>e&&l.push(s.slice(e-r-1)),r+=s.length;break;case 1:break e;default:t=2,i(L.getTokenText());break}me()}return p(l),m(l),f()}))}function p(e){while(e.length&&("\n"===e[0]||"\r"===e[0]))e.shift()}function m(e){while(e.length&&""===e[e.length-1].trim())e.pop()}function f(){var e=Pe(301,n);return e.tags=o&&Ge(o,s,c),e.comment=l.length?l.join(""):void 0,Be(e,i)}function g(){while(1){if(me(),1===ue())return!0;if(5!==ue()&&4!==ue())return!1}}function y(){if(5!==ue()&&4!==ue()||!Te(g))while(5===ue()||4===ue())me()}function v(){if((5===ue()||4===ue())&&Te(g))return"";var e=L.hasPrecedingLineBreak(),n=!1,t="";while(e&&41===ue()||5===ue()||4===ue())t+=L.getTokenText(),4===ue()?(e=!0,n=!0,t=""):41===ue()&&(e=!1),me();return n?t:""}function h(n){e.Debug.assert(59===ue());var t=L.getTokenPos();me();var r,a=Y(void 0),i=v();switch(a.escapedText){case"author":r=I(t,a,n);break;case"augments":case"extends":r=M(t,a);break;case"class":case"constructor":r=P(t,a);break;case"this":r=F(t,a);break;case"enum":r=G(t,a);break;case"arg":case"argument":case"param":return A(t,a,2,n);case"return":case"returns":r=k(t,a);break;case"template":r=z(t,a);break;case"type":r=N(t,a);break;case"typedef":r=B(t,a,n);break;case"callback":r=U(t,a,n);break;default:r=E(t,a);break}return r.comment||(i||(n+=r.end-r.pos),r.comment=b(n,i.slice(n))),r}function b(n,t){var r,a=[],i=0;function o(e){r||(r=n),a.push(e),n+=e.length}t&&(o(t),i=2);var s=ue();e:while(1){switch(s){case 4:i>=1&&(i=0,a.push(L.getTokenText())),n=0;break;case 59:if(3===i){a.push(L.getTokenText());break}L.setTextPos(L.getTextPos()-1);case 1:break e;case 5:if(2===i||3===i)o(L.getTokenText());else{var c=L.getTokenText();void 0!==r&&n+c.length>r&&a.push(c.slice(r-n)),n+=c.length}break;case 18:i=2,Te((function(){return 59===me()&&e.tokenIsIdentifierOrKeyword(me())&&"link"===L.getTokenText()}))&&(o(L.getTokenText()),me(),o(L.getTokenText()),me()),o(L.getTokenText());break;case 61:i=3===i?2:3,o(L.getTokenText());break;case 41:if(0===i){i=1,n+=1;break}default:3!==i&&(i=2),o(L.getTokenText());break}s=me()}return p(a),m(a),0===a.length?void 0:a.join("")}function E(e,n){var t=Pe(304,e);return t.tagName=n,Be(t)}function T(e){e&&(o?o.push(e):(o=[e],s=e.pos),c=e.end)}function S(){return v(),18===ue()?r():void 0}function x(){var e=J(22);e&&y();var n=J(61),t=X();return n&&Ie(61),e&&(y(),De(62)&&nr(),Le(23)),{name:t,isBracketed:e}}function C(n){switch(n.kind){case 140:return!0;case 173:return C(n.elementType);default:return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)&&"Object"===n.typeName.escapedText}}function A(e,n,t,r){var a=S(),i=!a;v();var o=x(),s=o.name,c=o.isBracketed;y(),i&&(a=S());var l=Pe(1===t?316:310,e),u=b(r+L.getStartPos()-e),d=4!==t&&D(a,s,t,r);return d&&(a=d,i=!0),l.tagName=n,l.typeExpression=a,l.name=s,l.isNameFirst=i,l.isBracketed=c,l.comment=u,Be(l)}function D(n,t,r,a){if(n&&C(n.type)){var i=Pe(292,L.getTokenPos()),o=void 0,s=void 0,c=L.getStartPos(),l=void 0;while(o=Se((function(){return W(r,a,t)})))310!==o.kind&&316!==o.kind||(l=e.append(l,o));if(l)return s=Pe(302,c),s.jsDocPropertyTags=l,173===n.type.kind&&(s.isArrayType=!0),i.type=Be(s),Be(i)}}function k(n,t){e.some(o,e.isJSDocReturnTag)&&oe(t.pos,L.getTokenPos(),e.Diagnostics._0_tag_already_specified,t.escapedText);var r=Pe(311,n);return r.tagName=t,r.typeExpression=S(),Be(r)}function N(n,t){e.some(o,e.isJSDocTypeTag)&&oe(t.pos,L.getTokenPos(),e.Diagnostics._0_tag_already_specified,t.escapedText);var a=Pe(313,n);return a.tagName=t,a.typeExpression=r(!0),Be(a)}function I(e,n,t){var r=Pe(306,e);r.tagName=n;var a=Se((function(){return O()}));if(!a)return Be(r);if(r.comment=a,Te((function(){return 4!==pe()}))){var i=b(t);i&&(r.comment+=i)}return Be(r)}function O(){var e=[],n=!1,t=!1,r=L.getToken();e:while(1){switch(r){case 75:case 5:case 24:case 59:e.push(L.getTokenText());break;case 29:if(n||t)return;n=!0,e.push(L.getTokenText());break;case 31:if(!n||t)return;t=!0,e.push(L.getTokenText()),L.setTextPos(L.getTokenPos()+1);break e;case 4:case 1:break e}r=me()}if(n&&t)return 0===e.length?void 0:e.join("")}function M(e,n){var t=Pe(305,e);return t.tagName=n,t.class=w(),Be(t)}function w(){var e=Ae(18),n=Pe(215);n.expression=R(),n.typeArguments=ki();var t=Be(n);return e&&Le(19),t}function R(){var e=Y();while(Ae(24)){var n=Pe(193,e.pos);n.expression=e,n.name=Y(),e=Be(n)}return e}function P(e,n){var t=Pe(307,e);return t.tagName=n,Be(t)}function F(e,n){var t=Pe(312,e);return t.tagName=n,t.typeExpression=r(!0),y(),Be(t)}function G(e,n){var t=Pe(309,e);return t.tagName=n,t.typeExpression=r(!0),y(),Be(t)}function B(n,t,r){var a=S();v();var i,o=Pe(315,n);if(o.tagName=t,o.fullName=V(),o.name=j(o.fullName),y(),o.comment=b(r),o.typeExpression=a,!a||C(a.type)){var s=void 0,c=void 0,l=void 0;while(s=Se((function(){return H(r)})))if(c||(c=Pe(302,n)),313===s.kind){if(l)break;l=s}else c.jsDocPropertyTags=e.append(c.jsDocPropertyTags,s);c&&(a&&173===a.type.kind&&(c.isArrayType=!0),o.typeExpression=l&&l.typeExpression&&!C(l.typeExpression.type)?l.typeExpression:Be(c),i=o.typeExpression.end)}return Be(o,i||void 0!==o.comment?L.getStartPos():(o.fullName||o.typeExpression||o.tagName).end)}function V(n){var t=L.getTokenPos();if(e.tokenIsIdentifierOrKeyword(ue())){var r=Y();if(Ae(24)){var a=Pe(248,t);return n&&(a.flags|=4),a.name=r,a.body=V(!0),Be(a)}return n&&(r.isInJSDocNamespace=!0),r}}function U(n,t,r){var a,i=Pe(308,n);i.tagName=t,i.fullName=V(),i.name=j(i.fullName),y(),i.comment=b(r);var o=Pe(303,n);o.parameters=[];while(a=Se((function(){return W(4,r)})))o.parameters=e.append(o.parameters,a);var s=Se((function(){if(J(59)){var e=h(r);if(e&&311===e.kind)return e}}));return s&&(o.type=s),i.typeExpression=Be(o),Be(i)}function j(n){if(n){var t=n;while(1){if(e.isIdentifier(t)||!t.body)return e.isIdentifier(t)?t:t.name;t=t.body}}}function K(n,t){while(!e.isIdentifier(n)||!e.isIdentifier(t)){if(e.isIdentifier(n)||e.isIdentifier(t)||n.right.escapedText!==t.right.escapedText)return!1;n=n.left,t=t.left}return n.escapedText===t.escapedText}function H(e){return W(1,e)}function W(n,t,r){var a=!0,i=!1;while(1)switch(me()){case 59:if(a){var o=q(n,t);return!(o&&(310===o.kind||316===o.kind)&&4!==n&&r&&(e.isIdentifier(o.name)||!K(r,o.name.left)))&&o}i=!1;break;case 4:a=!0,i=!1;break;case 41:i&&(a=!1),i=!0;break;case 75:a=!1;break;case 1:return!1}}function q(n,t){e.Debug.assert(59===ue());var r=L.getStartPos();me();var a,i=Y();switch(y(),i.escapedText){case"type":return 1===n&&N(r,i);case"prop":case"property":a=1;break;case"arg":case"argument":case"param":a=6;break;default:return!1}return!!(n&a)&&A(r,i,n,t)}function z(n,t){var a;18===ue()&&(a=r());var i=[],o=le();do{y();var s=Pe(154);s.name=Y(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),Be(s),y(),i.push(s)}while(J(27));var c=Pe(314,n);return c.tagName=t,c.constraint=a,c.typeParameters=Ge(i,o),Be(c),c}function J(e){return ue()===e&&(me(),!0)}function X(){var e=Y();Ae(22)&&Le(23);while(Ae(24)){var n=Y();Ae(22)&&Le(23),e=wn(e,n)}return e}function Y(n){if(!e.tokenIsIdentifierOrKeyword(ue()))return Ve(75,!n,n||e.Diagnostics.Identifier_expected);_++;var t=L.getTokenPos(),r=L.getTextPos(),a=Pe(75,t);return 75!==ue()&&(a.originalKeywordKind=ue()),a.escapedText=e.escapeLeadingUnderscores(Ue(L.getTokenValue())),Be(a,r),me(),a}}n.parseJSDocTypeExpressionForTests=t,n.parseJSDocTypeExpression=r,n.parseIsolatedJSDocComment=a,n.parseJSDocComment=i,function(e){e[e["BeginningOfLine"]=0]="BeginningOfLine",e[e["SawAsterisk"]=1]="SawAsterisk",e[e["SavingComments"]=2]="SavingComments",e[e["SavingBackticks"]=3]="SavingBackticks"}(c||(c={})),function(e){e[e["Property"]=1]="Property",e[e["Parameter"]=2]="Parameter",e[e["CallbackParameter"]=4]="CallbackParameter"}(p||(p={}))}(x=n.JSDocParser||(n.JSDocParser={}))}(o||(o={})),function(n){function t(n,t,r,a){if(a=a||e.Debug.shouldAssert(2),d(n,t,r,a),e.textChangeRangeIsUnchanged(r))return n;if(0===n.statements.length)return o.parseSourceFile(n.fileName,t,n.languageVersion,void 0,!0,n.scriptKind);var i=n;e.Debug.assert(!i.hasBeenIncrementallyParsed),i.hasBeenIncrementallyParsed=!0;var s=n.text,u=m(n),p=l(n,r);d(n,t,p,a),e.Debug.assert(p.span.start<=r.span.start),e.Debug.assert(e.textSpanEnd(p.span)===e.textSpanEnd(r.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(p))===e.textSpanEnd(e.textChangeRangeNewSpan(r)));var f=e.textChangeRangeNewSpan(p).length-p.span.length;c(i,p.span.start,e.textSpanEnd(p.span),e.textSpanEnd(e.textChangeRangeNewSpan(p)),f,s,t,a);var _=o.parseSourceFile(n.fileName,t,n.languageVersion,u,!0,n.scriptKind);return _}function r(n,t,r,i,o,c){return void(t?u(n):l(n));function l(n){var t="";if(c&&a(n)&&(t=i.substring(n.pos,n.end)),n._children&&(n._children=void 0),n.pos+=r,n.end+=r,c&&a(n)&&e.Debug.assert(t===o.substring(n.pos,n.end)),p(n,l,u),e.hasJSDocNodes(n))for(var d=0,m=n.jsDoc;d=t,"Adjusting an element that was entirely before the change range"),e.Debug.assert(n.pos<=r,"Adjusting an element that was entirely after the change range"),e.Debug.assert(n.pos<=n.end),n.pos=Math.min(n.pos,a),n.end>=r?n.end+=i:n.end=Math.min(n.end,a),e.Debug.assert(n.pos<=n.end),n.parent&&(e.Debug.assert(n.pos>=n.parent.pos),e.Debug.assert(n.end<=n.parent.end))}function s(n,t){if(t){var r=n.pos,a=function(n){e.Debug.assert(n.pos>=r),r=n.end};if(e.hasJSDocNodes(n))for(var i=0,o=n.jsDoc;ia)r(n,!1,c,l,u,d);else{var _=n.end;if(_>=t){if(n.intersectsChange=!0,n._children=void 0,i(n,t,a,o,c),p(n,m,f),e.hasJSDocNodes(n))for(var g=0,y=n.jsDoc;ga)r(n,!0,c,l,u,d);else{var s=n.end;if(s>=t){n.intersectsChange=!0,n._children=void 0,i(n,t,a,o,c);for(var p=0,f=n;p0&&i<=r;i++){var o=u(n,a);e.Debug.assert(o.pos<=a);var s=o.pos;a=Math.max(0,s-1)}var c=e.createTextSpanFromBounds(a,e.textSpanEnd(t.span)),l=t.newLength+(t.span.start-a);return e.createTextChangeRange(c,l)}function u(n,t){var r,a=n;if(p(n,s),r){var i=o(r);i.pos>a.pos&&(a=i)}return a;function o(n){while(1){var t=e.getLastChild(n);if(!t)return n;n=t}}function s(n){if(!e.nodeIsMissing(n))return n.pos<=t?(n.pos>=a.pos&&(a=n),tt),!0)}}function d(n,t,r,a){var i=n.text;if(r&&(e.Debug.assert(i.length-r.span.length+r.newLength===t.length),a||e.Debug.shouldAssert(3))){var o=i.substr(0,r.span.start),s=t.substr(0,r.span.start);e.Debug.assert(o===s);var c=i.substring(e.textSpanEnd(r.span),i.length),l=t.substring(e.textSpanEnd(e.textChangeRangeNewSpan(r)),t.length);e.Debug.assert(c===l)}}function m(n){var t=n.statements,r=0;e.Debug.assert(r=n.pos&&e=n.pos&&e/im,C=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function A(n,t,r){var a=2===t.kind&&L.exec(r);if(a){var i=a[1].toLowerCase(),o=e.commentPragmas[i];if(!o||!(1&o.kind))return;if(o.args){for(var s={},c=0,l=o.args;c=t.length)break;var o=i;if(34===t.charCodeAt(o)){i++;while(i32)i++;r.push(t.substring(o,i))}}u(r)}else l.push(e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,n))}}function f(n,t){return m(s,[e.Diagnostics.Unknown_compiler_option_0,e.Diagnostics.Compiler_option_0_expects_an_argument],n,t)}function _(e,n){return g(s,e,n)}function g(e,n,t){void 0===t&&(t=!1),n=n.toLowerCase();var r=e(),a=r.optionNameMap,i=r.shortOptionNames;if(t){var o=i.get(n);void 0!==o&&(n=o)}return a.get(n)}function y(n){var t,r=function(){return t||(t=c(e.buildOpts))},a=m(r,[e.Diagnostics.Unknown_build_option_0,e.Diagnostics.Build_option_0_requires_a_value_of_type_1],n),i=a.options,o=a.fileNames,s=a.errors,l=i;return 0===o.length&&o.push("."),l.clean&&l.force&&s.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force")),l.clean&&l.verbose&&s.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose")),l.clean&&l.watch&&s.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch")),l.watch&&l.dry&&s.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:l,projects:o,errors:s}}function v(n){for(var t=[],r=1;r=0)return c.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,i(s,[u]).join(" -> "))),{raw:n||C(t,c)};var d=n?Z(n,r,a,o,c):$(t,r,a,o,c);if(d.extendedConfigPath){s=s.concat([u]);var p=ne(t,d.extendedConfigPath,r,a,s,c,l);if(p&&Y(p)){var m=p.raw,f=d.raw,_=function(e){var n=f[e]||m[e];n&&(f[e]=n)};_("include"),_("exclude"),_("files"),void 0===f.compileOnSave&&(f.compileOnSave=m.compileOnSave),d.options=e.assign({},p.options,d.options)}}return d}function Z(n,t,r,a,i){e.hasProperty(n,"excludes")&&i.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var o,s=oe(n.compilerOptions,r,i,a),c=ce(n.typeAcquisition||n.typingOptions,r,i,a);if(n.compileOnSave=te(n,r,i),n.extends)if(e.isString(n.extends)){var l=a?K(a,r):r;o=ee(n.extends,t,l,i,e.createCompilerDiagnostic)}else i.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));return{raw:n,options:s,typeAcquisition:c,extendedConfigPath:o}}function $(n,t,r,a,i){var o,s,c,l=ie(a),u={onSetValidOptionKeyValueInParent:function(n,t,i){e.Debug.assert("compilerOptions"===n||"typeAcquisition"===n||"typingOptions"===n);var c="compilerOptions"===n?l:"typeAcquisition"===n?o||(o=se(a)):s||(s=se(a));c[t.name]=de(t,r,i)},onSetValidOptionKeyValueInRoot:function(o,s,l,u){switch(o){case"extends":var d=a?K(a,r):r;return void(c=ee(l,t,d,i,(function(t,r){return e.createDiagnosticForNodeInSourceFile(n,u,t,r)})))}},onSetUnknownOptionKeyValueInRoot:function(t,r,a,o){"excludes"===t&&i.push(e.createDiagnosticForNodeInSourceFile(n,r,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}},d=A(n,i,!0,L(),u);return o||(o=s?void 0!==s.enableAutoDiscovery?{enable:s.enableAutoDiscovery,include:s.include,exclude:s.exclude}:s:se(a)),{raw:d,options:l,typeAcquisition:o,extendedConfigPath:c}}function ee(n,t,r,a,i){if(n=e.normalizeSlashes(n),e.isRootedDiskPath(n)||e.startsWith(n,"./")||e.startsWith(n,"../")){var o=e.getNormalizedAbsolutePath(n,r);return t.fileExists(o)||e.endsWith(o,".json")||(o+=".json",t.fileExists(o))?o:void a.push(i(e.Diagnostics.File_0_not_found,n))}var s=e.nodeModuleNameResolver(n,e.combinePaths(r,"tsconfig.json"),{moduleResolution:e.ModuleResolutionKind.NodeJs},t,void 0,void 0,!0);if(s.resolvedModule)return s.resolvedModule.resolvedFileName;a.push(i(e.Diagnostics.File_0_not_found,n))}function ne(n,t,r,a,i,o,s){var c,l,u,d,p=r.useCaseSensitiveFileNames?t:e.toLowerCase(t);if(s&&(l=s.get(p)))u=l.extendedResult,d=l.extendedConfig;else{if(u=T(t,(function(e){return r.readFile(e)})),!u.parseDiagnostics.length){var m=e.getDirectoryPath(t);if(d=Q(void 0,u,r,m,e.getBaseFileName(t),i,o,s),Y(d)){var f=e.convertToRelativePath(m,a,e.identity),_=function(n){return e.isRootedDiskPath(n)?n:e.combinePaths(f,n)},g=function(n){y[n]&&(y[n]=e.map(y[n],_))},y=d.raw;g("include"),g("exclude"),g("files")}}s&&s.set(p,{extendedResult:u,extendedConfig:d})}if(n&&(n.extendedSourceFiles=[u.fileName],u.extendedSourceFiles&&(c=n.extendedSourceFiles).push.apply(c,u.extendedSourceFiles)),!u.parseDiagnostics.length)return d;o.push.apply(o,u.parseDiagnostics)}function te(n,t,r){if(!e.hasProperty(n,e.compileOnSaveCommandLineOption.name))return!1;var a=ue(e.compileOnSaveCommandLineOption,n.compileOnSave,t,r);return"boolean"===typeof a&&a}function re(e,n,t){var r=[],a=oe(e,n,r,t);return{options:a,errors:r}}function ae(e,n,t){var r=[],a=ce(e,n,r,t);return{options:a,errors:r}}function ie(n){var t=n&&"jsconfig.json"===e.getBaseFileName(n)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{};return t}function oe(n,t,r,a){var i=ie(a);return le(e.optionDeclarations,n,t,i,e.Diagnostics.Unknown_compiler_option_0,r),a&&(i.configFilePath=e.normalizeSlashes(a)),i}function se(n){return{enable:!!n&&"jsconfig.json"===e.getBaseFileName(n),include:[],exclude:[]}}function ce(n,t,r,i){var o=se(i),s=a(n);return le(e.typeAcquisitionDeclarations,s,t,o,e.Diagnostics.Unknown_type_acquisition_option_0,r),o}function le(n,t,r,a,i,o){if(t){var s=x(n);for(var c in t){var l=s.get(c);l?a[l.name]=ue(l,t[c],r,o):o.push(e.createCompilerDiagnostic(i,c))}}}function ue(n,t,r,a){if(k(n,t)){var i=n.type;return"list"===i&&e.isArray(t)?fe(n,t,r,a):e.isString(i)?pe(n,r,t):me(n,t,a)}a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,n.name,D(n)))}function de(n,t,r){if(!j(r)){if("list"===n.type){var a=n;return a.element.isFilePath||!e.isString(a.element.type)?e.filter(e.map(r,(function(e){return de(a.element,t,e)})),(function(e){return!!e})):r}return e.isString(n.type)?pe(n,t,r):n.type.get(e.isString(r)?r.toLowerCase():r)}}function pe(n,t,r){return n.isFilePath&&(r=e.getNormalizedAbsolutePath(r,t),""===r&&(r=".")),r}function me(e,n,t){if(!j(n)){var r=n.toLowerCase(),a=e.type.get(r);if(void 0!==a)return a;t.push(l(e))}}function fe(n,t,r,a){return e.filter(e.map(t,(function(e){return ue(n.element,e,r,a)})),(function(e){return!!e}))}function _e(e){return"function"===typeof e.trim?e.trim():e.replace(/^[\s]+|[\s]+$/g,"")}e.libs=r.map((function(e){return e[0]})),e.libMap=e.createMapFromEntries(r),e.commonOptionsWithBuild=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_this_message},{name:"help",shortName:"?",type:"boolean"},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Watch_input_files},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen},{name:"listFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_files_part_of_the_compilation},{name:"listEmittedFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_generated_files_part_of_the_compilation},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Stylize_errors_and_messages_using_color_and_context_experimental},{name:"traceResolution",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Enable_tracing_of_the_name_resolution_process},{name:"diagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_diagnostic_information},{name:"extendedDiagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_verbose_diagnostic_information},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:e.Diagnostics.FILE_OR_DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Generates_a_CPU_profile},{name:"incremental",shortName:"i",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_incremental_compilation,transpileOptionValue:void 0},{name:"locale",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_locale_used_when_displaying_messages_to_the_user_e_g_en_us}],e.optionDeclarations=i(e.commonOptionsWithBuild,[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_all_compiler_options},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_the_compiler_s_version},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,paramType:e.Diagnostics.FILE_OR_DIRECTORY,description:e.Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date},{name:"showConfig",type:"boolean",category:e.Diagnostics.Command_line_Options,isCommandLineOnly:!0,description:e.Diagnostics.Print_the_final_configuration_instead_of_building},{name:"listFilesOnly",type:"boolean",category:e.Diagnostics.Command_line_Options,affectsSemanticDiagnostics:!0,affectsEmit:!0,isCommandLineOnly:!0,description:e.Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing},{name:"target",shortName:"t",type:e.createMapFromTemplate({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,esnext:99}),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.VERSION,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_or_ESNEXT},{name:"module",shortName:"m",type:e.createMapFromTemplate({none:e.ModuleKind.None,commonjs:e.ModuleKind.CommonJS,amd:e.ModuleKind.AMD,system:e.ModuleKind.System,umd:e.ModuleKind.UMD,es6:e.ModuleKind.ES2015,es2015:e.ModuleKind.ES2015,esnext:e.ModuleKind.ESNext}),affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext},{name:"lib",type:"list",element:{name:"lib",type:e.libMap},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_library_files_to_be_included_in_the_compilation,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Allow_javascript_files_to_be_compiled},{name:"checkJs",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Report_errors_in_js_files},{name:"jsx",type:e.createMapFromTemplate({preserve:1,"react-native":3,react:2}),affectsSourceFile:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_JSX_code_generation_Colon_preserve_react_native_or_react},{name:"declaration",shortName:"d",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_d_ts_file,transpileOptionValue:void 0},{name:"declarationMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_a_sourcemap_for_each_corresponding_d_ts_file,transpileOptionValue:void 0},{name:"emitDeclarationOnly",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Only_emit_d_ts_declaration_files,transpileOptionValue:void 0},{name:"sourceMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_map_file},{name:"outFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Concatenate_and_emit_output_to_single_file,transpileOptionValue:void 0},{name:"outDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Redirect_output_structure_to_the_directory},{name:"rootDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir},{name:"composite",type:"boolean",affectsEmit:!0,isTSConfigOnly:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_project_compilation,transpileOptionValue:void 0},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_file_to_store_incremental_compilation_information,transpileOptionValue:void 0},{name:"removeComments",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_comments_to_output},{name:"noEmit",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_outputs,transpileOptionValue:void 0},{name:"importHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Import_emit_helpers_from_tslib},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3},{name:"isolatedModules",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule,transpileOptionValue:!0},{name:"strict",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_all_strict_type_checking_options},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_expressions_and_declarations_with_an_implied_any_type},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_null_checks},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_function_types},{name:"strictBindCallApply",type:"boolean",strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_bind_call_and_apply_methods_on_functions},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_property_initialization_in_classes},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_this_expressions_with_an_implied_any_type},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Parse_in_strict_mode_and_emit_use_strict_for_each_source_file},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_locals},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_parameters},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_error_when_not_all_code_paths_in_function_return_a_value},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_for_fallthrough_cases_in_switch_statement},{name:"moduleResolution",type:e.createMapFromTemplate({node:e.ModuleResolutionKind.NodeJs,classic:e.ModuleResolutionKind.Classic}),affectsModuleResolution:!0,paramType:e.Diagnostics.STRATEGY,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Base_directory_to_resolve_non_absolute_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime,transpileOptionValue:void 0},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_folders_to_include_type_definitions_from},{name:"types",type:"list",element:{name:"types",type:"string"},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Type_declaration_files_to_be_included_in_compilation,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports},{name:"preserveSymlinks",type:"boolean",category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Do_not_resolve_the_real_path_of_symlinks},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_accessing_UMD_globals_from_modules},{name:"sourceRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations},{name:"mapRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSourceMap",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file},{name:"inlineSources",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set},{name:"experimentalDecorators",type:"boolean",category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_ES7_decorators},{name:"emitDecoratorMetadata",type:"boolean",category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_emitting_type_metadata_for_decorators},{name:"jsxFactory",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h},{name:"resolveJsonModule",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Include_modules_imported_with_json_extension},{name:"out",type:"string",affectsEmit:!0,isFilePath:!1,category:e.Diagnostics.Advanced_Options,paramType:e.Diagnostics.FILE,description:e.Diagnostics.Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file,transpileOptionValue:void 0},{name:"reactNamespace",type:"string",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit},{name:"skipDefaultLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files},{name:"charset",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_character_set_of_the_input_files},{name:"emitBOM",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files},{name:"newLine",type:e.createMapFromTemplate({crlf:0,lf:1}),affectsEmit:!0,paramType:e.Diagnostics.NEWLINE,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix},{name:"noErrorTruncation",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_truncate_error_messages},{name:"noLib",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_include_the_default_library_file_lib_d_ts,transpileOptionValue:!0},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files,transpileOptionValue:!0},{name:"stripInternal",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_declarations_for_code_that_has_an_internal_annotation},{name:"disableSizeLimit",type:"boolean",affectsSourceFile:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_size_limitations_on_JavaScript_projects},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_use_strict_directives_in_module_output},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_generate_custom_helper_functions_like_extends_in_compiled_output},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_outputs_if_any_errors_were_reported,transpileOptionValue:void 0},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_erase_const_enum_declarations_in_generated_code},{name:"declarationDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Output_directory_for_generated_declaration_files,transpileOptionValue:void 0},{name:"skipLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Skip_type_checking_of_declaration_files},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unused_labels},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unreachable_code},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_excess_property_checks_for_object_literals},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures},{name:"forceConsistentCasingInFileNames",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disallow_inconsistently_cased_references_to_the_same_file},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_class_fields_with_Define_instead_of_Set},{name:"keyofStringsOnly",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:e.Diagnostics.List_of_language_service_plugins}]),e.semanticDiagnosticsOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsSemanticDiagnostics})),e.affectsEmitOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsEmit})),e.moduleResolutionOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsModuleResolution})),e.sourceFileAffectingCompilerOptions=e.optionDeclarations.filter((function(e){return!!e.affectsSourceFile||!!e.affectsModuleResolution||!!e.affectsBindDiagnostics})),e.transpileOptionValueCompilerOptions=e.optionDeclarations.filter((function(n){return e.hasProperty(n,"transpileOptionValue")})),e.buildOpts=i(e.commonOptionsWithBuild,[{name:"verbose",shortName:"v",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Enable_verbose_logging,type:"boolean"},{name:"dry",shortName:"d",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean"},{name:"force",shortName:"f",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean"},{name:"clean",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Delete_the_outputs_of_all_projects,type:"boolean"}]),e.typeAcquisitionDeclarations=[{name:"enableAutoDiscovery",type:"boolean"},{name:"enable",type:"boolean"},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}}],e.defaultInitCompilerOptions={module:e.ModuleKind.CommonJS,target:1,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0},e.convertEnableAutoDiscoveryToEnable=a,e.getOptionNameMap=s,e.createOptionNameMap=c,e.createCompilerDiagnosticForInvalidCustomType=l,e.parseCustomTypeOption=d,e.parseListTypeOption=p,e.parseCommandLine=f,e.getOptionFromName=_,e.parseBuildCommand=y,e.getDiagnosticText=v,e.getParsedCommandLineOfConfigFile=h,e.readConfigFile=b,e.parseConfigFileTextToJson=E,e.readJsonConfigFile=T,e.convertToObject=C,e.convertToObjectWorker=A,e.convertToTSConfig=N,e.generateTSConfig=P,e.convertToOptionsWithAbsolutePaths=F,e.parseJsonConfigFileContent=B,e.parseJsonSourceFileConfigFileContent=V,e.setConfigFileInOptions=U,e.canJsonReportNoInutFiles=J,e.updateErrorForNoInputFiles=X,e.convertCompilerOptionsFromJson=re,e.convertTypeAcquisitionFromJson=ae;var ge=/(^|\/)\*\*\/?$/,ye=/(^|\/)\*\*\/(.*\/)?\.\.($|\/)/,ve=/\/[^/]*?[*?][^/]*\//,he=/^[^*?]*(?=\/[^/]*[*?])/;function be(n,t,r,a,i,o,s,c,l){var u,d;a=e.normalizePath(a),t&&(u=Te(t,s,!1,l,"include")),r&&(d=Te(r,s,!0,l,"exclude"));var p=xe(u,d,a,o.useCaseSensitiveFileNames),m={filesSpecs:n,includeSpecs:t,excludeSpecs:r,validatedIncludeSpecs:u,validatedExcludeSpecs:d,wildcardDirectories:p};return Ee(m,a,i,o,c)}function Ee(n,t,r,a,i){void 0===i&&(i=[]),t=e.normalizePath(t);var o,s=a.useCaseSensitiveFileNames?e.identity:e.toLowerCase,c=e.createMap(),l=e.createMap(),u=e.createMap(),d=n.filesSpecs,p=n.validatedIncludeSpecs,m=n.validatedExcludeSpecs,f=n.wildcardDirectories,_=e.getSupportedExtensions(r,i),g=e.getSuppoertedExtensionsWithJsonIfResolveJsonModule(r,_);if(d)for(var y=0,v=d;y0)for(var E=function(n){if(e.fileExtensionIs(n,".json")){if(!o){var r=p.filter((function(n){return e.endsWith(n,".json")})),i=e.map(e.getRegularExpressionsForWildcards(r,t,"files"),(function(e){return"^"+e+"$"}));o=i?i.map((function(n){return e.getRegexFromPattern(n,a.useCaseSensitiveFileNames)})):e.emptyArray}var d=e.findIndex(o,(function(e){return e.test(n)}));if(-1!==d){var m=s(n);c.has(m)||u.has(m)||u.set(m,n)}return"continue"}if(Ce(n,c,l,_,s))return"continue";Ae(n,l,_,s);var f=s(n);c.has(f)||l.has(f)||l.set(f,n)},T=0,S=a.readDirectory(t,g,m,p,void 0);Ti&&(i=u),1===i)return i}return i}break;case 249:var d=0;return e.forEachChild(n,(function(n){var t=r(n,a);switch(t){case 0:return;case 2:return void(d=2);case 1:return d=1,!0;default:e.Debug.assertNever(t)}})),d;case 248:return t(n,a);case 75:if(n.isInJSDocNamespace)return 0}return 1}function s(n,t){var a=n.propertyName||n.name,i=n.parent;while(i){if(e.isBlock(i)||e.isModuleBlock(i)||e.isSourceFile(i)){for(var o=i.statements,s=void 0,c=0,l=o;cs)&&(s=d),1===s)return s}}if(void 0!==s)return s}i=i.parent}return 1}function c(n){return e.Debug.attachFlowNodeDebugInfo(n),n}(function(e){e[e["NonInstantiated"]=0]="NonInstantiated",e[e["Instantiated"]=1]="Instantiated",e[e["ConstEnumOnly"]=2]="ConstEnumOnly"})(e.ModuleInstanceState||(e.ModuleInstanceState={})),e.getModuleInstanceState=t,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"}(n||(n={}));var l=c,u=p();function d(n,t){e.performance.mark("beforeBind"),e.perfLogger.logStartBindFile(""+n.fileName),u(n,t),e.perfLogger.logStopBindFile(),e.performance.mark("afterBind"),e.performance.measure("Bind","beforeBind","afterBind")}function p(){var n,r,a,s,u,d,p,f,_,h,b,E,T,S,x,L,C,A,D,k,N,I,O,M,w=0,R={flags:1},P={flags:1},F=0;function G(t,r,a,i,o){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(t)||n,t,r,a,i,o)}function B(t,i){n=t,r=i,a=e.getEmitScriptTarget(r),N=V(n,i),O=e.createUnderscoreEscapedMap(),w=0,M=n.isDeclarationFile,I=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(R),e.Debug.attachFlowNodeDebugInfo(P),n.locals||(Kn(n),n.symbolCount=w,n.classifiableNames=O,Tn()),n=void 0,r=void 0,a=void 0,s=void 0,u=void 0,d=void 0,p=void 0,f=void 0,_=void 0,h=!1,b=void 0,E=void 0,T=void 0,S=void 0,x=void 0,L=void 0,A=void 0,D=!1,k=0,F=0}return B;function V(n,t){return!(!e.getStrictOptionValue(t,"alwaysStrict")||n.isDeclarationFile)||!!n.externalModuleIndicator}function U(e,n){return w++,new I(e,n)}function j(n,t,r){n.flags|=r,t.symbol=n,n.declarations=e.appendIfUnique(n.declarations,t),1955&r&&!n.exports&&(n.exports=e.createSymbolTable()),6240&r&&!n.members&&(n.members=e.createSymbolTable()),n.constEnumOnlyModule&&304&n.flags&&(n.constEnumOnlyModule=!1),111551&r&&K(n,t)}function K(n,t){var r=n.valueDeclaration;(!r||e.isAssignmentDeclaration(r)&&!e.isAssignmentDeclaration(t)||r.kind!==t.kind&&e.isEffectiveModuleDeclaration(r))&&(n.valueDeclaration=t)}function H(n){if(258===n.kind)return n.isExportEquals?"export=":"default";var t=e.getNameOfDeclaration(n);if(t){if(e.isAmbientModule(n)){var r=e.getTextOfIdentifierOrLiteral(t);return e.isGlobalScopeAugmentation(n)?"__global":'"'+r+'"'}if(153===t.kind){var a=t.expression;return e.isStringOrNumericLiteralLike(a)?e.escapeLeadingUnderscores(a.text):e.isSignedNumericLiteral(a)?e.tokenToString(a.operator)+a.operand.text:(e.Debug.assert(e.isWellKnownSymbolSyntactically(a)),e.getPropertyNameForKnownSymbolName(e.idText(a.name)))}return e.isWellKnownSymbolSyntactically(t)?e.getPropertyNameForKnownSymbolName(e.idText(t.name)):e.isPropertyNameLiteral(t)?e.getEscapedTextOfIdentifierOrLiteral(t):void 0}switch(n.kind){case 161:return"__constructor";case 169:case 164:case 303:return"__call";case 170:case 165:return"__new";case 166:return"__index";case 259:return"__export";case 288:return"export=";case 208:if(2===e.getAssignmentDeclarationKind(n))return"export=";e.Debug.fail("Unknown binary declaration kind");break;case 298:return e.isJSDocConstructSignature(n)?"__new":"__call";case 155:e.Debug.assert(298===n.parent.kind,"Impossible parameter parent kind",(function(){return"parent is: "+(e.SyntaxKind?e.SyntaxKind[n.parent.kind]:n.parent.kind)+", expected JSDocFunctionType"}));var i=n.parent,o=i.parameters.indexOf(n);return"arg"+o}}function W(n){return e.isNamedDeclaration(n)?e.declarationNameToString(n.name):e.unescapeLeadingUnderscores(e.Debug.assertDefined(H(n)))}function q(t,r,a,o,s,c){e.Debug.assert(!e.hasDynamicName(a));var l,u=e.hasModifier(a,512),d=u&&r?"default":H(a);if(void 0===d)l=U(0,"__missing");else if(l=t.get(d),2885600&o&&O.set(d,!0),l){if(c&&!l.isReplaceableByMethod)return l;if(l.flags&s)if(l.isReplaceableByMethod)t.set(d,l=U(0,d));else if(!(3&o&&67108864&l.flags)){e.isNamedDeclaration(a)&&(a.name.parent=a);var p=2&l.flags?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,m=!0;(384&l.flags||384&o)&&(p=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,m=!1);var f=!1;e.length(l.declarations)&&(u||l.declarations&&l.declarations.length&&258===a.kind&&!a.isExportEquals)&&(p=e.Diagnostics.A_module_cannot_have_multiple_default_exports,m=!1,f=!0);var _=e.getNameOfDeclaration(a)||a,g=[];e.forEach(l.declarations,(function(t,r){var a=e.getNameOfDeclaration(t)||t,i=G(a,p,m?W(t):void 0);n.bindDiagnostics.push(f?e.addRelatedInfo(i,G(_,0===r?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):i),f&&g.push(G(a,e.Diagnostics.The_first_export_default_is_here))}));var y=G(_,p,m?W(a):void 0);n.bindDiagnostics.push(f?e.addRelatedInfo.apply(void 0,i([y],g)):y),l=U(0,d)}}else t.set(d,l=U(0,d)),c&&(l.isReplaceableByMethod=!0);return j(l,a,o),l.parent?e.Debug.assert(l.parent===r,"Existing symbol parent should match new one"):l.parent=r,l}function X(n,t,r){var a=1&e.getCombinedModifierFlags(n);if(2097152&t)return 261===n.kind||252===n.kind&&a?q(u.symbol.exports,u.symbol,n,t,r):q(u.locals,void 0,n,t,r);if(e.isJSDocTypeAlias(n)&&e.Debug.assert(e.isInJSFile(n)),!e.isAmbientModule(n)&&(a||64&u.flags)||e.isJSDocTypeAlias(n)){if(!u.locals||e.hasModifier(n,512)&&!H(n))return q(u.symbol.exports,u.symbol,n,t,r);var i=111551&t?1048576:0,o=q(u.locals,void 0,n,i,r);return o.exportSymbol=q(u.symbol.exports,u.symbol,n,t,r),n.localSymbol=o,o}return q(u.locals,void 0,n,t,r)}function Y(n,t){var r=u,a=d,i=p;if(1&t?(201!==n.kind&&(d=u),u=p=n,32&t&&(u.locals=e.createSymbolTable()),cn(u)):2&t&&(p=n,p.locals=void 0),4&t){var o=l,s=b,m=E,f=T,_=S,g=A,y=D,v=16&t&&!e.hasModifier(n,256)&&!n.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(n);v||(b=c({flags:2}),144&t&&(b.node=n)),S=v||161===n.kind?le():void 0,E=void 0,T=void 0,A=void 0,D=!1,l=c,Q(n),n.flags&=-2817,!(1&b.flags)&&8&t&&e.nodeIsPresent(n.body)&&(n.flags|=256,D&&(n.flags|=512),n.endFlowNode=b),288===n.kind&&(n.flags|=k),S&&(pe(S,b),b=ve(S),161===n.kind&&(n.returnFlowNode=b)),v||(b=s),E=m,T=f,S=_,A=g,D=y,l=o}else 64&t?(h=!1,Q(n),n.flags=h?128|n.flags:-129&n.flags):Q(n);u=r,d=a,p=i}function Q(e){if(M)ne(e);else if(536870912&e.transformFlags)M=!0,ne(e),M=!1,F|=e.transformFlags&~z(e.kind);else{var n=F;F=0,ne(e),F=n|v(e,F)}}function Z(e){$(e,(function(e){return 243===e.kind?Kn(e):void 0})),$(e,(function(e){return 243!==e.kind?Kn(e):void 0}))}function $(n,t){if(void 0===t&&(t=Kn),void 0!==n)if(M)e.forEach(n,t);else{var r=F;F=0;for(var a=0,i=0,o=n;i=224&&e.kind<=240&&!r.allowUnreachableCode&&(e.flowNode=b),e.kind){case 228:Le(e);break;case 227:Ce(e);break;case 229:Ae(e);break;case 230:case 231:De(e);break;case 226:ke(e);break;case 234:case 238:Ne(e);break;case 233:case 232:Me(e);break;case 239:we(e);break;case 236:Re(e);break;case 250:Pe(e);break;case 275:Fe(e);break;case 225:Ve(e);break;case 237:Ue(e);break;case 206:We(e);break;case 207:qe(e);break;case 208:ze(e);break;case 202:Je(e);break;case 209:Xe(e);break;case 241:Qe(e);break;case 193:case 194:an(e);break;case 195:on(e);break;case 315:case 308:case 309:Ze(e);break;case 288:Z(e.statements),Kn(e.endOfFileToken);break;case 222:case 249:Z(e.statements);break;default:ee(e);break}Hn(e)}function te(e){switch(e.kind){case 75:case 103:case 193:case 194:return re(e);case 195:return ae(e);case 199:return te(e.expression);case 208:return se(e);case 206:return 53===e.operator&&te(e.operand);case 203:return te(e.expression)}return!1}function re(n){return 75===n.kind||103===n.kind||101===n.kind||(e.isPropertyAccessExpression(n)||e.isNonNullExpression(n)||e.isParenthesizedExpression(n))&&re(n.expression)||e.isElementAccessExpression(n)&&e.isStringOrNumericLiteralLike(n.argumentExpression)&&re(n.expression)||e.isOptionalChain(n)}function ae(e){if(e.arguments)for(var n=0,t=e.arguments;n=112&&t.originalKeywordKind<=120)||e.isIdentifierName(t)||8388608&t.flags||4194304&t.flags||n.parseDiagnostics.length||n.bindDiagnostics.push(G(t,xn(t),e.declarationNameToString(t)))}function xn(t){return e.getContainingClass(t)?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:n.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 Ln(n){N&&e.isLeftHandSideExpression(n.left)&&e.isAssignmentOperator(n.operatorToken.kind)&&kn(n,n.left)}function Cn(e){N&&e.variableDeclaration&&kn(e,e.variableDeclaration.name)}function An(t){if(N&&75===t.expression.kind){var r=e.getErrorSpanForNode(n,t.expression);n.bindDiagnostics.push(e.createFileDiagnostic(n,r.start,r.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function Dn(n){return e.isIdentifier(n)&&("eval"===n.escapedText||"arguments"===n.escapedText)}function kn(t,r){if(r&&75===r.kind){var a=r;if(Dn(a)){var i=e.getErrorSpanForNode(n,r);n.bindDiagnostics.push(e.createFileDiagnostic(n,i.start,i.length,Nn(t),e.idText(a)))}}}function Nn(t){return e.getContainingClass(t)?e.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:n.externalModuleIndicator?e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:e.Diagnostics.Invalid_use_of_0_in_strict_mode}function In(e){N&&kn(e,e.name)}function On(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:n.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 Mn(t){if(a<2&&288!==p.kind&&248!==p.kind&&!e.isFunctionLike(p)){var r=e.getErrorSpanForNode(n,t);n.bindDiagnostics.push(e.createFileDiagnostic(n,r.start,r.length,On(t)))}}function wn(t){N&&32&t.numericLiteralFlags&&n.bindDiagnostics.push(G(t,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}function Rn(e){N&&kn(e,e.operand)}function Pn(e){N&&(45!==e.operator&&46!==e.operator||kn(e,e.operand))}function Fn(n){N&&Bn(n,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}function Gn(n){N&&r.target>=2&&(e.isDeclarationStatement(n.statement)||e.isVariableStatement(n.statement))&&Bn(n.label,e.Diagnostics.A_label_is_not_allowed_here)}function Bn(t,r,a,i,o){var s=e.getSpanOfTokenAtPosition(n,t.pos);n.bindDiagnostics.push(e.createFileDiagnostic(n,s.start,s.length,r,a,i,o))}function Vn(e,n,t){Un(e,n,n,t)}function Un(t,r,a,i){jn(t,{pos:e.getTokenPosOfNode(r,n),end:a.end},i)}function jn(t,r,a){var i=e.createFileDiagnostic(n,r.pos,r.end-r.pos,a);t?n.bindDiagnostics.push(i):n.bindSuggestionDiagnostics=e.append(n.bindSuggestionDiagnostics,o(o({},i),{category:e.DiagnosticCategory.Suggestion}))}function Kn(e){if(e){e.parent=s;var n=N;if(zn(e),e.kind>151){var t=s;s=e;var r=sn(e);0===r?Q(e):Y(e,r),s=t}else if(!M&&0===(536870912&e.transformFlags)){F|=v(e,0);t=s;1===e.kind&&(s=e),Hn(e),s=t}N=n}}function Hn(n){if(e.hasJSDocNodes(n))if(e.isInJSFile(n))for(var t=0,r=n.jsDoc;t=167&&e<=187)return-2;switch(e){case 195:case 196:case 191:return 536875008;case 248:return 537168896;case 155:return 536870912;case 201:return 537371648;case 200:case 243:return 537373696;case 242:return 536944640;case 244:case 213:return 536888320;case 161:return 537372672;case 160:case 162:case 163:return 537372672;case 124:case 139:case 150:case 136:case 142:case 140:case 127:case 143:case 109:case 154:case 157:case 159:case 164:case 165:case 166:case 245:case 246:return-2;case 192:return 536896512;case 278:return 536879104;case 188:case 189:return 536875008;case 198:case 216:case 319:case 199:case 101:return 536870912;case 193:case 194:return 536870912;default:return 536870912}}function J(n,t){t.parent=n,e.forEachChild(t,(function(e){return J(t,e)}))}e.bindSourceFile=d,e.isExportsOrModuleExportsOrAlias=g,e.computeTransformFlagsForNode=v,e.getTransformFlagsSubtreeExclusions=z}(u||(u={})),function(e){function n(n,t,r,a,i,o,s,c,l,u,d){return p;function p(p){void 0===p&&(p=function(){return!0});var m=[],f=[];return{walkType:function(n){try{return _(n),{visitedTypes:e.getOwnValues(m),visitedSymbols:e.getOwnValues(f)}}finally{e.clear(m),e.clear(f)}},walkSymbol:function(n){try{return L(n),{visitedTypes:e.getOwnValues(m),visitedSymbols:e.getOwnValues(f)}}finally{e.clear(m),e.clear(f)}}};function _(e){if(e&&!m[e.id]){m[e.id]=e;var n=L(e.symbol);if(!n){if(524288&e.flags){var t=e,r=t.objectFlags;4&r&&g(e),32&r&&E(e),3&r&&S(e),24&r&&x(t)}262144&e.flags&&y(e),3145728&e.flags&&v(e),4194304&e.flags&&h(e),8388608&e.flags&&b(e)}}}function g(n){_(n.target),e.forEach(d(n),_)}function y(e){_(l(e))}function v(n){e.forEach(n.types,_)}function h(e){_(e.type)}function b(e){_(e.objectType),_(e.indexType),_(e.constraint)}function E(e){_(e.typeParameter),_(e.constraintType),_(e.templateType),_(e.modifiersType)}function T(a){var i=t(a);i&&_(i.type),e.forEach(a.typeParameters,_);for(var o=0,s=a.parameters;o>",0,ge),Qn=Ms(void 0,void 0,void 0,e.emptyArray,ge,void 0,0,0),Zn=Ms(void 0,void 0,void 0,e.emptyArray,he,void 0,0,0),$n=Ms(void 0,void 0,void 0,e.emptyArray,ge,void 0,0,0),et=Ms(void 0,void 0,void 0,e.emptyArray,Fe,void 0,0,0),nt=Bl(Ce,!0),tt=e.createMap(),rt={get yieldType(){throw new Error("Not supported")},get returnType(){throw new Error("Not supported")},get nextType(){throw new Error("Not supported")}},at=XL(ge,ge,ge),it=XL(ge,ge,be),ot=XL(Pe,ge,Ee),st={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:Iu,getGlobalIterableType:Nu,getGlobalIterableIteratorType:Ou,getGlobalGeneratorType:Mu,resolveIterationType:Ux,mustHaveANextMethodDiagnostic:e.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},ct={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:Ru,getGlobalIterableType:wu,getGlobalIterableIteratorType:Pu,getGlobalGeneratorType:Fu,resolveIterationType:function(e,n){return e},mustHaveANextMethodDiagnostic:e.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},lt=e.createMap(),ut=e.createMap(),dt=0,pt=0,mt=0,ft=!1,_t=0,gt=xp(""),yt=xp(0),vt=xp({negative:!1,base10Value:"0"}),ht=[],bt=[],Et=[],Tt=0,St=10,xt=[],Lt=[],Ct=[],At=[],Dt=[],kt=[],Nt=[],It=[],Ot=[],Mt=[],wt=[],Rt=[],Pt=[],Ft=[],Gt=e.createDiagnosticCollection(),Bt=e.createDiagnosticCollection(),Vt=e.createMapFromTemplate({string:Ce,number:Ae,bigint:De,boolean:Me,symbol:we,undefined:Ee}),Ut=Ha(),jt=e.createMap(),Kt=e.createMap(),Ht=e.createMap(),Wt=e.createMap(),qt=e.createMap(),zt=e.createSymbolTable();return zt.set($.escapedName,$),BD(),ae;function Jt(n){if(n){var t=e.getSourceFileOfNode(n);if(t){if(t.localJsxNamespace)return t.localJsxNamespace;var r=t.pragmas.get("jsx");if(r){var a=e.isArray(r)?r[0]:r;if(t.localJsxFactory=e.parseIsolatedEntityName(a.arguments.factory,B),t.localJsxFactory)return t.localJsxNamespace=e.getFirstIdentifier(t.localJsxFactory).escapedText}}}return qn||(qn="React",G.jsxFactory?(zn=e.parseIsolatedEntityName(G.jsxFactory,B),zn&&(qn=e.getFirstIdentifier(zn).escapedText)):G.reactNamespace&&(qn=e.escapeLeadingUnderscores(G.reactNamespace))),qn}function Xt(e,n){return CA(e,n),Y}function Yt(n,t,r,a,i,o){var s=n?e.createDiagnosticForNode(n,t,r,a,i,o):e.createCompilerDiagnostic(t,r,a,i,o),c=Gt.lookup(s);return c||(Gt.add(s),s)}function Qt(n,t,r,a,i,o){var s=n?e.createDiagnosticForNode(n,t,r,a,i,o):e.createCompilerDiagnostic(t,r,a,i,o);return Gt.add(s),s}function Zt(n,t){n?Gt.add(t):Bt.add(o(o({},t),{category:e.DiagnosticCategory.Suggestion}))}function $t(n,t,r,a,i,o,s){Zt(n,"message"in r?e.createDiagnosticForNode(t,r,a,i,o,s):e.createDiagnosticForNodeFromMessageChain(t,r))}function er(n,t,r,a,i,o,s){var c=Qt(n,r,a,i,o,s);if(t){var l=e.createDiagnosticForNode(n,e.Diagnostics.Did_you_forget_to_use_await);e.addRelatedInfo(c,l)}return c}function nr(e,n,t){v++;var r=new f(33554432|e,n);return r.checkFlags=t||0,r}function tr(e){return 0!==(33554432&e.flags)}function rr(e){var n=0;return 2&e&&(n|=111551),1&e&&(n|=111550),4&e&&(n|=0),8&e&&(n|=900095),16&e&&(n|=110991),32&e&&(n|=899503),64&e&&(n|=788872),256&e&&(n|=899327),128&e&&(n|=899967),512&e&&(n|=110735),8192&e&&(n|=103359),32768&e&&(n|=46015),65536&e&&(n|=78783),262144&e&&(n|=526824),524288&e&&(n|=788968),2097152&e&&(n|=2097152),n}function ar(e,n){n.mergeId||(n.mergeId=d,d++),xt[n.mergeId]=e}function ir(n){var t=nr(n.flags,n.escapedName);return t.declarations=n.declarations?n.declarations.slice():[],t.parent=n.parent,n.valueDeclaration&&(t.valueDeclaration=n.valueDeclaration),n.constEnumOnlyModule&&(t.constEnumOnlyModule=!0),n.members&&(t.members=e.cloneMap(n.members)),n.exports&&(t.exports=e.cloneMap(n.exports)),ar(t,n),t}function or(n,t,r){if(void 0===r&&(r=!1),!(n.flags&rr(t.flags))||67108864&(t.flags|n.flags)){if(t===n)return n;if(!(33554432&n.flags)){var a=ta(n);if(a===fe)return t;n=ir(a)}512&t.flags&&512&n.flags&&n.constEnumOnlyModule&&!t.constEnumOnlyModule&&(n.constEnumOnlyModule=!1),n.flags|=t.flags,t.valueDeclaration&&(!n.valueDeclaration||e.isAssignmentDeclaration(n.valueDeclaration)&&!e.isAssignmentDeclaration(t.valueDeclaration)||e.isEffectiveModuleDeclaration(n.valueDeclaration)&&!e.isEffectiveModuleDeclaration(t.valueDeclaration))&&(n.valueDeclaration=t.valueDeclaration),e.addRange(n.declarations,t.declarations),t.members&&(n.members||(n.members=e.createSymbolTable()),ur(n.members,t.members,r)),t.exports&&(n.exports||(n.exports=e.createSymbolTable()),ur(n.exports,t.exports,r)),r||ar(n,t)}else if(1024&n.flags)n!==ee&&Qt(e.getNameOfDeclaration(t.declarations[0]),e.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,ui(n));else{var i=!!(384&n.flags||384&t.flags),o=!!(2&n.flags||2&t.flags),s=i?e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:o?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,c=t.declarations&&e.getSourceFileOfNode(t.declarations[0]),l=n.declarations&&e.getSourceFileOfNode(n.declarations[0]),u=ui(t);if(c&&l&&tn&&!i&&c!==l){var d=-1===e.comparePaths(c.path,l.path)?c:l,p=d===c?l:c,m=e.getOrUpdate(tn,d.path+"|"+p.path,(function(){return{firstFile:d,secondFile:p,conflictingSymbols:e.createMap()}})),f=e.getOrUpdate(m.conflictingSymbols,u,(function(){return{isBlockScoped:o,firstFileLocations:[],secondFileLocations:[]}}));_(f.firstFileLocations,t),_(f.secondFileLocations,n)}else sr(t,s,u,n),sr(n,s,u,t)}return n;function _(n,t){for(var r=0,a=t.declarations;r=5||e.addRelatedInfo(i,e.length(i.relatedInformation)?e.createDiagnosticForNode(c,e.Diagnostics.and_here):e.createDiagnosticForNode(c,e.Diagnostics._0_was_also_declared_here,r))}}function lr(n,t){if(!e.hasEntries(n))return t;if(!e.hasEntries(t))return n;var r=e.createSymbolTable();return ur(r,n),ur(r,t),r}function ur(e,n,t){void 0===t&&(t=!1),n.forEach((function(n,r){var a=e.get(r);e.set(r,a?or(a,n,t):n)}))}function dr(n){var t=n.parent;if(t.symbol.declarations[0]===t)if(e.isGlobalScopeAugmentation(t))ur(Z,t.symbol.exports);else{var r=8388608&n.parent.parent.flags?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,a=fa(n,n,r,!0);if(!a)return;if(a=va(a),1920&a.flags)if(e.some(an,(function(e){return a===e.symbol}))){var i=or(t.symbol,a,!0);on||(on=e.createMap()),on.set(n.text,i)}else or(a,t.symbol);else Qt(n,e.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,n.text)}else e.Debug.assert(t.symbol.declarations.length>1)}function pr(n,t,r){function a(n,t){return function(r){return Gt.add(e.createDiagnosticForNode(r,t,n))}}t.forEach((function(t,i){var o=n.get(i);o?e.forEach(o.declarations,a(e.unescapeLeadingUnderscores(i),r)):n.set(i,t)}))}function mr(e){if(33554432&e.flags)return e;var n=D(e);return Lt[n]||(Lt[n]={})}function fr(e){var n=A(e);return Ct[n]||(Ct[n]={flags:0})}function _r(n){return 288===n.kind&&!e.isExternalOrCommonJsModule(n)}function gr(n,t,r){if(r){var a=n.get(t);if(a){if(e.Debug.assert(0===(1&e.getCheckFlags(a)),"Should never get an instantiated symbol here."),a.flags&r)return a;if(2097152&a.flags){var i=ra(a);if(i===fe||i.flags&r)return a}}}}function yr(n,t){var r=n.parent,a=n.parent.parent,i=gr(r.locals,t,111551),o=gr(As(a.symbol),t,111551);return i&&o?[i,o]:e.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}function vr(t,r){var a=e.getSourceFileOfNode(t),i=e.getSourceFileOfNode(r);if(a!==i){if(V&&(a.externalModuleIndicator||i.externalModuleIndicator)||!G.outFile&&!G.out||yg(r)||8388608&t.flags)return!0;if(u(r,t))return!0;var o=n.getSourceFiles();return o.indexOf(a)<=o.indexOf(i)}if(t.pos<=r.pos){if(190===t.kind){var s=e.getAncestor(r,190);return s?e.findAncestor(s,e.isBindingElement)!==e.findAncestor(t,e.isBindingElement)||t.posn.end)return!1;var r=e.findAncestor(t,(function(e){if(e===n)return"quit";switch(e.kind){case 201:case 158:return!0;case 222:switch(e.parent.kind){case 162:case 160:case 163:return!0;default:return!1}default:return!1}}));return void 0===r}}function hr(e,n,t,r,a,i,o,s){return void 0===o&&(o=!1),br(e,n,t,r,a,i,o,gr,s)}function br(n,t,r,a,i,o,s,c,l){var u,d,p,m,f,_,g=n,y=!1,v=n,h=!1;e:while(n){if(n.locals&&!_r(n)&&(u=c(n.locals,t,r))){var b=!0;if(e.isFunctionLike(n)&&d&&d!==n.body){if(r&u.flags&788968&&301!==d.kind&&(b=!!(262144&u.flags)&&(d===n.type||155===d.kind||154===d.kind)),r&u.flags&3){var E=n;G.target&&G.target>=2&&e.isParameter(d)&&E.body&&u.valueDeclaration.pos>=E.body.pos&&u.valueDeclaration.end<=E.body.end?b=!1:1&u.flags&&(b=155===d.kind||d===n.type&&!!e.findAncestor(u.valueDeclaration,e.isParameter))}}else 179===n.kind&&(b=d===n.trueType);if(b)break e;u=void 0}switch(y=y||Er(n,d),n.kind){case 288:if(!e.isExternalOrCommonJsModule(n))break;h=!0;case 248:var T=Ia(n).exports||N;if(288===n.kind||e.isModuleDeclaration(n)&&8388608&n.flags&&!e.isGlobalScopeAugmentation(n)){if(u=T.get("default")){var S=e.getLocalSymbolForExportDefault(u);if(S&&u.flags&r&&S.escapedName===t)break e;u=void 0}var x=T.get(t);if(x&&2097152===x.flags&&e.getDeclarationOfKind(x,261))break}if("default"!==t&&(u=c(T,t,2623475&r))){if(!e.isSourceFile(n)||!n.commonJsModuleIndicator||u.declarations.some(e.isJSDocTypeAlias))break e;u=void 0}break;case 247:if(u=c(Ia(n).exports,t,8&r))break e;break;case 158:if(!e.hasModifier(n,32)){var L=Ba(n.parent);L&&L.locals&&c(L.locals,t,111551&r)&&(m=n)}break;case 244:case 213:case 245:if(u=c(Ia(n).members||N,t,788968&r)){if(!xr(u,n)){u=void 0;break}if(d&&e.hasModifier(d,32))return void Qt(v,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);break e}if(213===n.kind&&32&r){var C=n.name;if(C&&t===C.escapedText){u=n.symbol;break e}}break;case 215:if(d===n.expression&&89===n.parent.token){var A=n.parent.parent;if(e.isClassLike(A)&&(u=c(Ia(A).members,t,788968&r)))return void(a&&Qt(v,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters))}break;case 153:if(_=n.parent.parent,(e.isClassLike(_)||245===_.kind)&&(u=c(Ia(_).members,t,788968&r)))return void Qt(v,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);break;case 201:if(G.target>=2)break;case 160:case 161:case 162:case 163:case 243:if(3&r&&"arguments"===t){u=te;break e}break;case 200:if(3&r&&"arguments"===t){u=te;break e}if(16&r){var D=n.name;if(D&&t===D.escapedText){u=n.symbol;break e}}break;case 156:n.parent&&155===n.parent.kind&&(n=n.parent),n.parent&&(e.isClassElement(n.parent)||244===n.parent.kind)&&(n=n.parent);break;case 315:case 308:case 309:n=e.getJSDocHost(n);break;case 155:d&&d===n.initializer&&(f=n);break;case 190:if(d&&d===n.initializer){var k=e.getRootDeclaration(n);155===k.kind&&(f=n)}break}Tr(n)&&(p=n),d=n,n=n.parent}if(!o||!u||p&&u===p.symbol||(u.isReferenced|=r),!u){if(d&&(e.Debug.assert(288===d.kind),d.commonJsModuleIndicator&&"exports"===t&&r&d.symbol.flags))return d.symbol;s||(u=c(Z,t,r))}if(!u&&g&&e.isInJSFile(g)&&g.parent&&e.isRequireCall(g.parent,!1))return re;if(u){if(a){if(m){var I=m.name;return void Qt(v,e.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,e.declarationNameToString(I),Sr(i))}if(v&&(2&r||(32&r||384&r)&&111551===(111551&r))){var O=Fa(u);(2&O.flags||32&O.flags||384&O.flags)&&Mr(O,v)}if(u&&h&&111551===(111551&r)&&!(4194304&g.flags)){var M=Na(u);e.length(M.declarations)&&e.every(M.declarations,(function(n){return e.isNamespaceExportDeclaration(n)||e.isSourceFile(n)&&!!n.symbol.globalExports}))&&$t(!G.allowUmdGlobalAccess,v,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,e.unescapeLeadingUnderscores(t))}if(u&&f&&!y&&111551===(111551&r)){var w=Na(Ds(u));k=e.getRootDeclaration(f);w===Ia(f)?Qt(v,e.Diagnostics.Parameter_0_cannot_be_referenced_in_its_initializer,e.declarationNameToString(f.name)):w.valueDeclaration&&w.valueDeclaration.pos>f.pos&&k.parent.locals&&c(k.parent.locals,w.escapedName,r)===w&&Qt(v,e.Diagnostics.Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(f.name),e.declarationNameToString(v))}}return u}if(a&&(!v||!Lr(v,t,i)&&!Cr(v)&&!Dr(v,t,r)&&!Nr(v,t,r)&&!Or(v,t,r)&&!kr(v,t,r))){var R=void 0;if(l&&Tt=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",c=r.exports.get("export="),l=c.valueDeclaration,u=Qt(n.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,ui(r),s);e.addRelatedInfo(u,e.createDiagnosticForNode(l,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,s))}else r.exports&&r.exports.has(n.symbol.escapedName)?Qt(n.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,ui(r),ui(n.symbol)):Qt(n.name,e.Diagnostics.Module_0_has_no_default_export,ui(r));return a}}function jr(e,n){var t=e.parent.parent.moduleSpecifier;return ba(ma(e,t),t,n,!1)}function Kr(n,t){if(n===fe&&t===fe)return fe;if(790504&n.flags)return n;var r=nr(n.flags|t.flags,n.escapedName);return r.declarations=e.deduplicate(e.concatenate(n.declarations,t.declarations),e.equateValues),r.parent=n.parent||t.parent,n.valueDeclaration&&(r.valueDeclaration=n.valueDeclaration),t.members&&(r.members=t.members),n.exports&&(r.exports=n.exports),r}function Hr(e,n,t){if(1536&e.flags)return ta(Ca(e).get(n),t)}function Wr(e,n){if(3&e.flags){var t=e.valueDeclaration.type;if(t)return ta(Xc(Np(t),n))}}function qr(n,t,r){void 0===r&&(r=!1);var a=ma(n,n.moduleSpecifier),i=t.propertyName||t.name,o="default"===i.escapedText&&!(!G.allowSyntheticDefaultImports&&!G.esModuleInterop),s=ba(a,n.moduleSpecifier,r,o);if(s&&i.escapedText){if(e.isShorthandAmbientModuleSymbol(a))return a;var c=void 0;c=a&&a.exports&&a.exports.get("export=")?Xc(No(s),i.escapedText):Wr(s,i.escapedText),c=ta(c,r);var l=Hr(s,i.escapedText,r);!l&&U&&"default"===i.escapedText&&(l=va(a,r)||ta(a,r));var u=l&&c&&l!==c?Kr(c,l):l||c;if(!u){var d=sa(a,n),p=e.declarationNameToString(i),m=Nb(i,s);if(void 0!==m){var f=ui(m),_=Qt(i,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_2,d,p,f);m.valueDeclaration&&e.addRelatedInfo(_,e.createDiagnosticForNode(m.valueDeclaration,e.Diagnostics._0_is_declared_here,f))}else a.exports&&a.exports.has("default")?Qt(i,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,d,p):Qt(i,e.Diagnostics.Module_0_has_no_exported_member_1,d,p)}return u}}function zr(e,n){return qr(e.parent.parent.parent,e,n)}function Jr(e,n){return va(e.parent.symbol,n)}function Xr(e,n,t){return e.parent.parent.moduleSpecifier?qr(e.parent.parent,e,t):ca(e.propertyName||e.name,n,!1,t)}function Yr(n,t){var r=e.isExportAssignment(n)?n.expression:n.right;return Qr(r,t)}function Qr(n,t){if(e.isClassExpression(n))return kS(n).symbol;if(e.isEntityName(n)||e.isEntityNameExpression(n)){var r=ca(n,901119,!0,t);return r||(kS(n),fr(n).resolvedSymbol)}}function Zr(e,n){var t=e.initializer;return Qr(t,n)}function $r(n,t){if(e.isBinaryExpression(n.parent)&&n.parent.left===n&&62===n.parent.operatorToken.kind)return Qr(n.parent.right,t)}function ea(n,t){switch(void 0===t&&(t=!1),n.kind){case 252:return Fr(n,t);case 254:return Ur(n,t);case 255:return jr(n,t);case 257:return zr(n,t);case 261:return Xr(n,901119,t);case 258:case 208:return Yr(n,t);case 251:return Jr(n,t);case 280:return ca(n.name,901119,!0,t);case 279:return Zr(n,t);case 193:return $r(n,t);default:return e.Debug.fail()}}function na(e,n){return void 0===n&&(n=901119),!!e&&(2097152===(e.flags&(2097152|n))||!!(2097152&e.flags&&67108864&e.flags))}function ta(e,n){return!n&&na(e)?ra(e):e}function ra(n){e.Debug.assert(0!==(2097152&n.flags),"Should only get Alias here.");var t=mr(n);if(t.target)t.target===_e&&(t.target=fe);else{t.target=_e;var r=Pr(n);if(!r)return e.Debug.fail();var a=ea(r);t.target===_e?t.target=a||fe:Qt(r,e.Diagnostics.Circular_definition_of_import_alias_0,ui(n))}return t.target}function aa(e){var n=Ia(e),t=ra(n);if(t){var r=t===fe||111551&t.flags&&!_D(t);r&&ia(n)}}function ia(n){var t=mr(n);if(!t.referenced){t.referenced=!0;var r=Pr(n);if(!r)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(r)){var a=ta(n);(a===fe||111551&a.flags)&&kS(r.moduleReference)}}}function oa(n,t){return 75===n.kind&&e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),75===n.kind||152===n.parent.kind?ca(n,1920,!1,t):(e.Debug.assert(252===n.parent.kind),ca(n,901119,!1,t))}function sa(e,n){return e.parent?sa(e.parent,n)+"."+ui(e):ui(e,n,void 0,20)}function ca(n,t,r,a,i){if(!e.nodeIsMissing(n)){var o,s=1920|(e.isInJSFile(n)?111551&t:0);if(75===n.kind){var c=t===s?e.Diagnostics.Cannot_find_namespace_0:_g(e.getFirstIdentifier(n)),l=e.isInJSFile(n)?la(n,t):void 0;if(o=hr(i||n,n.escapedText,t,r||l?void 0:c,n,!0),!o)return l}else{if(152!==n.kind&&193!==n.kind)throw e.Debug.assertNever(n,"Unknown entity name kind.");var u=152===n.kind?n.left:n.expression,d=152===n.kind?n.right:n.name,p=ca(u,s,r,!1,i);if(!p||e.nodeIsMissing(d))return;if(p===fe)return p;if(e.isInJSFile(n)&&p.valueDeclaration&&e.isVariableDeclaration(p.valueDeclaration)&&p.valueDeclaration.initializer&&tT(p.valueDeclaration.initializer)){var m=p.valueDeclaration.initializer.arguments[0],f=ma(m,m);if(f){var _=va(f);_&&(p=_)}}if(o=gr(Ca(p),d.escapedText,t),!o)return void(r||Qt(d,e.Diagnostics.Namespace_0_has_no_exported_member_1,sa(p),e.declarationNameToString(d)))}return e.Debug.assert(0===(1&e.getCheckFlags(o)),"Should never get an instantiated symbol here."),o.flags&t||a?o:ra(o)}}function la(e,n){if(lu(e.parent)){var t=ua(e.parent);if(t)return hr(t,e.escapedText,n,void 0,e,!0)}}function ua(n){var t=e.findAncestor(n,(function(n){return e.isJSDocNode(n)||4194304&n.flags?e.isJSDocTypeAlias(n):"quit"}));if(!t){var r=e.getJSDocHost(n);if(e.isExpressionStatement(r)&&e.isBinaryExpression(r.expression)&&3===e.getAssignmentDeclarationKind(r.expression)){var a=Ia(r.expression.left);if(a)return da(a)}if((e.isObjectLiteralMethod(r)||e.isPropertyAssignment(r))&&e.isBinaryExpression(r.parent.parent)&&6===e.getAssignmentDeclarationKind(r.parent.parent)){a=Ia(r.parent.parent.left);if(a)return da(a)}var i=e.getHostSignatureFromJSDocHost(r);if(i){a=Ia(i);return a&&a.valueDeclaration}}}function da(n){var t=n.parent.valueDeclaration;if(t){var r=e.isAssignmentDeclaration(t)?e.getAssignedExpandoInitializer(t):e.hasOnlyExpressionInitializer(t)?e.getDeclaredExpandoInitializer(t):void 0;return r||t}}function pa(n){var t=n.valueDeclaration;if(t&&e.isInJSFile(t)&&!(524288&n.flags)){var r=e.isVariableDeclaration(t)?e.getDeclaredExpandoInitializer(t):e.getAssignedExpandoInitializer(t);return r&&Ia(r)||void 0}}function ma(n,t,r){return fa(n,t,r?void 0:e.Diagnostics.Cannot_find_module_0)}function fa(n,t,r,a){return void 0===a&&(a=!1),e.isStringLiteralLike(t)?_a(n,t.text,r,t,a):void 0}function _a(t,r,a,i,o){if(void 0===o&&(o=!1),e.startsWith(r,"@types/")){var s=e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,c=e.removePrefix(r,"@types/");Qt(i,s,c,r)}var l=ol(r,!0);if(l)return l;var u=e.getSourceFileOfNode(t),d=e.getResolvedModule(u,r),p=d&&e.getResolutionDiagnostic(G,d),m=d&&!p&&n.getSourceFile(d.resolvedFileName);if(m)return m.symbol?(d.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(d.extension)&&ga(!1,i,d,r),Na(m.symbol)):void(a&&Qt(i,e.Diagnostics.File_0_is_not_a_module,m.fileName));if(an){var f=e.findBestPatternMatch(an,(function(e){return e.pattern}),r);if(f){var _=on&&on.get(r);return Na(_?_:f.symbol)}}if(d&&!e.resolutionExtensionIsTSOrJson(d.extension)&&void 0===p||p===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type)if(o){s=e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;Qt(i,s,r,d.resolvedFileName)}else ga(q&&!!a,i,d,r);else if(a){if(d){var g=n.getProjectReferenceRedirect(d.resolvedFileName);if(g)return void Qt(i,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,g,d.resolvedFileName)}if(p)Qt(i,p,r,d.resolvedFileName);else{var y=e.tryExtractTSExtension(r);if(y){s=e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead;Qt(i,s,y,e.removeExtension(r,y))}else!G.resolveJsonModule&&e.fileExtensionIs(r,".json")&&e.getEmitModuleResolutionKind(G)===e.ModuleResolutionKind.NodeJs&&e.hasJsonModuleEmitEnabled(G)?Qt(i,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,r):Qt(i,a,r)}}}function ga(n,t,r,a){var i=r.packageId,o=r.resolvedFileName,s=!e.isExternalModuleNameRelative(a)&&i?ya(i.name)?e.chainDiagnosticMessages(void 0,e.Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,i.name,e.mangleScopedPackageName(i.name)):e.chainDiagnosticMessages(void 0,e.Diagnostics.Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,a,e.mangleScopedPackageName(i.name)):void 0;$t(n,t,e.chainDiagnosticMessages(s,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,a,o))}function ya(n){return m().has(e.getTypesPackageName(n))}function va(e,n){if(e){var t=ta(e.exports.get("export="),n),r=ha(Na(t),Na(e));return Na(r)||e}}function ha(n,t){if(!n||n===fe||n===t||1===t.exports.size||2097152&n.flags)return n;var r=mr(n);if(r.cjsExportMerged)return r.cjsExportMerged;var a=33554432&n.flags?n:ir(n);return a.flags=512|a.flags,void 0===a.exports&&(a.exports=e.createSymbolTable()),t.exports.forEach((function(e,n){"export="!==n&&a.exports.set(n,a.exports.has(n)?or(a.exports.get(n),e):e)})),mr(a).cjsExportMerged=a,r.cjsExportMerged=a}function ba(n,t,r,a){var i=va(n,r);if(!r&&i){if(!a&&!(1539&i.flags)&&!e.getDeclarationOfKind(i,288)){var o=V>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return Qt(t,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,o),i}if(G.esModuleInterop){var s=t.parent;if(e.isImportDeclaration(s)&&e.getNamespaceDeclarationNode(s)||e.isImportCall(s)){var c=No(i),l=Yc(c,0);if(l&&l.length||(l=Yc(c,1)),l&&l.length){var u=nT(c,i,n),d=nr(i.flags,i.escapedName);d.declarations=i.declarations?i.declarations.slice():[],d.parent=i.parent,d.target=i,d.originatingImport=s,i.valueDeclaration&&(d.valueDeclaration=i.valueDeclaration),i.constEnumOnlyModule&&(d.constEnumOnlyModule=!0),i.members&&(d.members=e.cloneMap(i.members)),i.exports&&(d.exports=e.cloneMap(i.exports));var p=gc(u);return d.type=Xa(d,p.members,e.emptyArray,e.emptyArray,p.stringIndexInfo,p.numberIndexInfo),d}}}}return i}function Ea(e){return void 0!==e.exports.get("export=")}function Ta(e){return al(Aa(e))}function Sa(n){var t=Ta(n),r=va(n);return r!==n&&e.addRange(t,Ec(No(r))),t}function xa(e,n){var t=Aa(n);if(t)return t.get(e)}function La(e,n){var t=xa(e,n);if(t)return t;var r=va(n);if(r!==n){var a=No(r);return 131068&a.flags?void 0:Xc(a,e)}}function Ca(e){return 6256&e.flags?Cs(e,"resolvedExports"):1536&e.flags?Aa(e):e.exports||N}function Aa(e){var n=mr(e);return n.resolvedExports||(n.resolvedExports=ka(e))}function Da(n,t,r,a){t&&t.forEach((function(t,i){if("default"!==i){var o=n.get(i);if(o){if(r&&a&&o&&ta(o)!==ta(t)){var s=r.get(i);s.exportsWithDuplicate?s.exportsWithDuplicate.push(a):s.exportsWithDuplicate=[a]}}else n.set(i,t),r&&a&&r.set(i,{specifierText:e.getTextOfNode(a.moduleSpecifier)})}}))}function ka(n){var t=[];return n=va(n),r(n)||N;function r(n){if(n&&n.exports&&e.pushIfUnique(t,n)){var a=e.cloneMap(n.exports),i=n.exports.get("__export");if(i){for(var o=e.createSymbolTable(),s=e.createMap(),c=0,l=i.declarations;c=d?u.substr(0,d-"...".length)+"...":u}function mi(e,n){var t=fi(e.symbol)?pi(e,e.symbol.valueDeclaration):pi(e),r=fi(n.symbol)?pi(n,n.symbol.valueDeclaration):pi(n);return t===r&&(t=pi(e,void 0,64),r=pi(n,void 0,64)),[t,r]}function fi(n){return n&&n.valueDeclaration&&e.isExpression(n.valueDeclaration)&&!pm(n.valueDeclaration)}function _i(e){return void 0===e&&(e=0),9469291&e}function gi(){return{typeToTypeNode:function(e,n,r,a){return t(n,r,a,(function(n){return s(e,n)}))},indexInfoToIndexSignatureDeclaration:function(e,n,r,a,i){return t(r,a,i,(function(t){return p(e,n,t)}))},signatureToSignatureDeclaration:function(e,n,r,a,i){return t(r,a,i,(function(t){return m(e,n,t)}))},symbolToEntityName:function(e,n,r,a,i){return t(r,a,i,(function(t){return k(e,t,n,!1)}))},symbolToExpression:function(e,n,r,a,i){return t(r,a,i,(function(t){return N(e,t,n)}))},symbolToTypeParameterDeclarations:function(e,n,r,a){return t(n,r,a,(function(n){return b(e,n)}))},symbolToParameterDeclaration:function(e,n,r,a){return t(n,r,a,(function(n){return g(e,n)}))},typeParameterToDeclaration:function(e,n,r,a){return t(n,r,a,(function(n){return _(e,n)}))},symbolTableToDeclarationStatements:function(e,n,r,a,i){return t(n,r,a,(function(n){return R(e,n,i)}))}};function t(t,r,a,i){e.Debug.assert(void 0===t||0===(8&t.flags));var o={enclosingDeclaration:t,flags:r||0,tracker:a&&a.trackSymbol?a:{trackSymbol:e.noop,moduleResolverHost:134217728&r?{getCommonSourceDirectory:n.getCommonSourceDirectory?function(){return n.getCommonSourceDirectory()}:function(){return""},getSourceFiles:function(){return n.getSourceFiles()},getCurrentDirectory:e.maybeBind(n,n.getCurrentDirectory),getProbableSymlinks:e.maybeBind(n,n.getProbableSymlinks)}:void 0},encounteredError:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0},s=i(o);return o.encounteredError?void 0:s}function a(n){return n.truncating?n.truncating:n.truncating=!(1&n.flags)&&n.approximateLength>e.defaultMaximumTruncationLength}function s(n,t){r&&r.throwIfCancellationRequested&&r.throwIfCancellationRequested();var i=8388608&t.flags;if(t.flags&=-8388609,n){if(1&n.flags)return t.approximateLength+=3,e.createKeywordTypeNode(124);if(2&n.flags)return e.createKeywordTypeNode(147);if(4&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(142);if(8&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(139);if(64&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(150);if(16&n.flags)return t.approximateLength+=7,e.createKeywordTypeNode(127);if(1024&n.flags&&!(1048576&n.flags)){var o=Oa(n.symbol),c=x(o,t,788968),_=ss(o)===n?c:V(c,e.createTypeReferenceNode(e.symbolName(n.symbol),void 0));return _}if(1056&n.flags)return x(n.symbol,t,788968);if(128&n.flags)return t.approximateLength+=n.value.length+2,e.createLiteralTypeNode(e.setEmitFlags(e.createLiteral(n.value),16777216));if(256&n.flags){var g=n.value;return t.approximateLength+=(""+g).length,e.createLiteralTypeNode(g<0?e.createPrefix(40,e.createLiteral(-g)):e.createLiteral(g))}if(2048&n.flags)return t.approximateLength+=e.pseudoBigIntToString(n.value).length+1,e.createLiteralTypeNode(e.createLiteral(n.value));if(512&n.flags)return t.approximateLength+=n.intrinsicName.length,"true"===n.intrinsicName?e.createTrue():e.createFalse();if(8192&n.flags){if(!(1048576&t.flags)){if(ti(n.symbol,t.enclosingDeclaration))return t.approximateLength+=6,x(n.symbol,t,111551);t.tracker.reportInaccessibleUniqueSymbolError&&t.tracker.reportInaccessibleUniqueSymbolError()}return t.approximateLength+=13,e.createTypeOperatorNode(146,e.createKeywordTypeNode(143))}if(16384&n.flags)return t.approximateLength+=4,e.createKeywordTypeNode(109);if(32768&n.flags)return t.approximateLength+=9,e.createKeywordTypeNode(145);if(65536&n.flags)return t.approximateLength+=4,e.createKeywordTypeNode(99);if(131072&n.flags)return t.approximateLength+=5,e.createKeywordTypeNode(136);if(4096&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(143);if(67108864&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(140);if(Kd(n))return 4194304&t.flags&&(t.encounteredError||32768&t.flags||(t.encounteredError=!0),t.tracker.reportInaccessibleThisError&&t.tracker.reportInaccessibleThisError()),t.approximateLength+=4,e.createThis();if(!i&&n.aliasSymbol&&(16384&t.flags||ni(n.aliasSymbol,t.enclosingDeclaration))){var y=d(n.aliasTypeArguments,t);return!qa(n.aliasSymbol.escapedName)||32&n.aliasSymbol.flags?x(n.aliasSymbol,t,788968,y):e.createTypeReferenceNode(e.createIdentifier(""),y)}var v=e.getObjectFlags(n);if(4&v)return e.Debug.assert(!!(524288&n.flags)),n.node?F(n,B):B(n);if(262144&n.flags||3&v){if(262144&n.flags&&e.contains(t.inferTypeParameters,n))return t.approximateLength+=e.symbolName(n.symbol).length+6,e.createInferTypeNode(f(n,t,void 0));if(4&t.flags&&262144&n.flags&&!ni(n.symbol,t.enclosingDeclaration)){var h=C(n,t);return t.approximateLength+=e.idText(h).length,e.createTypeReferenceNode(e.createIdentifier(e.idText(h)),void 0)}return n.symbol?x(n.symbol,t,788968):e.createTypeReferenceNode(e.createIdentifier("?"),void 0)}if(!(3145728&n.flags)){if(48&v)return e.Debug.assert(!!(524288&n.flags)),P(n);if(4194304&n.flags){var b=n.type;t.approximateLength+=6;var E=s(b,t);return e.createTypeOperatorNode(E)}if(8388608&n.flags){var T=s(n.objectType,t);E=s(n.indexType,t);return t.approximateLength+=2,e.createIndexedAccessTypeNode(T,E)}if(16777216&n.flags){var S=s(n.checkType,t),L=t.inferTypeParameters;t.inferTypeParameters=n.root.inferTypeParameters;var k=s(n.extendsType,t);t.inferTypeParameters=L;var N=s(rp(n),t),I=s(ap(n),t);return t.approximateLength+=15,e.createConditionalTypeNode(S,k,N,I)}return 33554432&n.flags?s(n.typeVariable,t):e.Debug.fail("Should be unreachable.")}var O=1048576&n.flags?vi(n.types):n.types;if(1===e.length(O))return s(O[0],t);var M=d(O,t,!0);if(M&&M.length>0){var w=e.createUnionOrIntersectionTypeNode(1048576&n.flags?177:178,M);return w}t.encounteredError||262144&t.flags||(t.encounteredError=!0)}else t.encounteredError=!0;function R(n){e.Debug.assert(!!(524288&n.flags));var r,a=n.declaration.readonlyToken?e.createToken(n.declaration.readonlyToken.kind):void 0,i=n.declaration.questionToken?e.createToken(n.declaration.questionToken.kind):void 0;r=lc(n)?e.createTypeOperatorNode(s(uc(n),t)):s(oc(n),t);var o=f(ic(n),t,r),c=s(sc(n),t),l=e.createMappedTypeNode(a,o,i,c);return t.approximateLength+=10,e.setEmitFlags(l,1)}function P(n){var r=""+n.id,a=n.symbol;if(a){if(JE(a.valueDeclaration)){var i=n===Qo(a)?788968:111551;return x(a,t,i)}if(32&a.flags&&!To(a)&&!(213===a.valueDeclaration.kind&&2048&t.flags)||896&a.flags||s())return x(a,t,111551);if(t.visitedTypes&&t.visitedTypes.has(r)){var o=bi(n);return o?x(o,t,788968):l(t)}return F(n,G)}return G(n);function s(){var n=!!(8192&a.flags)&&e.some(a.declarations,(function(n){return e.hasModifier(n,32)})),i=!!(16&a.flags)&&(a.parent||e.forEach(a.declarations,(function(e){return 288===e.parent.kind||249===e.parent.kind})));if(n||i)return(!!(4096&t.flags)||t.visitedTypes&&t.visitedTypes.has(r))&&(!(8&t.flags)||ti(a,t.enclosingDeclaration))}}function F(n,r){var a,i=""+n.id,o=16&e.getObjectFlags(n)&&n.symbol&&32&n.symbol.flags,s=4&e.getObjectFlags(n)&&n.node?"N"+A(n.node):n.symbol?(o?"+":"")+D(n.symbol):void 0;if(t.visitedTypes||(t.visitedTypes=e.createMap()),s&&!t.symbolDepth&&(t.symbolDepth=e.createMap()),s){if(a=t.symbolDepth.get(s)||0,a>10)return l(t);t.symbolDepth.set(s,a+1)}t.visitedTypes.set(i,!0);var c=r(n);return t.visitedTypes.delete(i),s&&t.symbolDepth.set(s,a),c}function G(n){if(_c(n))return R(n);var r=gc(n);if(!r.properties.length&&!r.stringIndexInfo&&!r.numberIndexInfo){if(!r.callSignatures.length&&!r.constructSignatures.length)return t.approximateLength+=2,e.setEmitFlags(e.createTypeLiteralNode(void 0),1);if(1===r.callSignatures.length&&!r.constructSignatures.length){var a=r.callSignatures[0],i=m(a,169,t);return i}if(1===r.constructSignatures.length&&!r.callSignatures.length){a=r.constructSignatures[0],i=m(a,170,t);return i}}var o=t.flags;t.flags|=4194304;var s=j(r);t.flags=o;var c=e.createTypeLiteralNode(s);return t.approximateLength+=2,e.setEmitFlags(c,1024&t.flags?0:1)}function B(n){var r=Yl(n);if(n.target===dn||n.target===pn){if(2&t.flags){var a=s(r[0],t);return e.createTypeReferenceNode(n.target===dn?"Array":"ReadonlyArray",[a])}var i=s(r[0],t),o=e.createArrayTypeNode(i);return n.target===dn?o:e.createTypeOperatorNode(137,o)}if(!(8&n.target.objectFlags)){if(2048&t.flags&&n.symbol.valueDeclaration&&e.isClassLike(n.symbol.valueDeclaration)&&!ti(n.symbol,t.enclosingDeclaration))return P(n);var c=n.target.outerTypeParameters,l=(L=0,void 0);if(c){var u=c.length;while(L0){var v=(n.target.typeParameters||e.emptyArray).length;y=d(r.slice(L,v),t)}var h=t.flags;t.flags|=16;var b=x(n.symbol,t,788968,y);return t.flags=h,l?V(l,b):b}if(r.length>0){var E=Ql(n),T=d(r.slice(0,E),t),S=n.target.hasRestElement;if(T){for(var L=n.target.minLength;L2)return[s(n[0],t),e.createTypeReferenceNode("... "+(n.length-2)+" more ...",void 0),s(n[n.length-1],t)]}for(var i=[],o=0,c=0,l=n;c0)),i;function s(n,r,i){var o,c=Za(n,t.enclosingDeclaration,r,!!(128&t.flags));if(!c||$a(c[0],t.enclosingDeclaration,1===c.length?r:Qa(r))){var l=wa(c?c[0]:n,t.enclosingDeclaration);if(e.length(l)){o=l.map((function(n){return e.some(n.declarations,si)?S(n,t):void 0}));var u=l.map((function(e,n){return n}));u.sort(g);for(var d=u.map((function(e){return l[e]})),p=0,m=d;p1?g(i,i.length-1,1):void 0,c=a||E(i,0,t),l=S(i[0],t);!(67108864&t.flags)&&e.getEmitModuleResolutionKind(G)===e.ModuleResolutionKind.NodeJs&&l.indexOf("/node_modules/")>=0&&(t.encounteredError=!0,t.tracker.reportLikelyUnsafeImportRequiredError&&t.tracker.reportLikelyUnsafeImportRequiredError(l));var u=e.createLiteralTypeNode(e.createLiteral(l));if(t.tracker.trackExternalModuleSymbolOfImportTypeNode&&t.tracker.trackExternalModuleSymbolOfImportTypeNode(i[0]),t.approximateLength+=l.length+10,!s||e.isEntityName(s)){if(s){var d=e.isIdentifier(s)?s:s.right;d.typeArguments=void 0}return e.createImportTypeNode(u,s,c,o)}var p=T(s),m=p.objectType.typeName;return e.createIndexedAccessTypeNode(e.createImportTypeNode(u,m,c,o),p.indexType)}var f=g(i,i.length-1,0);if(e.isIndexedAccessTypeNode(f))return f;if(o)return e.createTypeQueryNode(f);d=e.isIdentifier(f)?f:f.right;var _=d.typeArguments;return d.typeArguments=void 0,e.createTypeReferenceNode(f,_);function g(n,r,i){var o,s=r===n.length-1?a:E(n,r,t),c=n[r],l=n[r-1];if(0===r)t.flags|=16777216,o=xi(c,t),t.approximateLength+=(o?o.length:0)+1,t.flags^=16777216;else if(l&&Ca(l)){var u=Ca(l);e.forEachEntry(u,(function(n,t){if(Pa(n,c)&&!hs(t)&&"export="!==t)return o=e.unescapeLeadingUnderscores(t),!0}))}if(o||(o=xi(c,t)),t.approximateLength+=o.length+1,!(16&t.flags)&&l&&As(l)&&As(l).get(c.escapedName)&&Pa(As(l).get(c.escapedName),c)){var d=g(n,r-1,i);return e.isIndexedAccessTypeNode(d)?e.createIndexedAccessTypeNode(d,e.createLiteralTypeNode(e.createLiteral(o))):e.createIndexedAccessTypeNode(e.createTypeReferenceNode(d,s),e.createLiteralTypeNode(e.createLiteral(o)))}var p=e.setEmitFlags(e.createIdentifier(o,s),16777216);if(p.symbol=c,r>i){d=g(n,r-1,i);return e.isEntityName(d)?e.createQualifiedName(d,p):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return p}}function L(e,n){return!!hr(n.enclosingDeclaration,e,788968,void 0,e,!1)}function C(n,t){if(4&t.flags&&t.typeParameterNames){var r=t.typeParameterNames.get(""+rd(n));if(r)return r}var a=k(n.symbol,t,788968,!0);if(!(75&a.kind))return e.createIdentifier("(Missing type parameter)");if(4&t.flags){var i=a.escapedText,o=0,s=i;while(t.typeParameterNamesByText&&t.typeParameterNamesByText.get(s)||L(s,t))o++,s=i+"_"+o;s!==i&&(a=e.createIdentifier(s,a.typeArguments)),(t.typeParameterNames||(t.typeParameterNames=e.createMap())).set(""+rd(n),a),(t.typeParameterNamesByText||(t.typeParameterNamesByText=e.createMap())).set(a.escapedText,!0)}return a}function k(n,t,r,a){var i=v(n,t,r);return!a||1===i.length||t.encounteredError||65536&t.flags||(t.encounteredError=!0),o(i,i.length-1);function o(n,r){var a=E(n,r,t),i=n[r];0===r&&(t.flags|=16777216);var s=xi(i,t);0===r&&(t.flags^=16777216);var c=e.setEmitFlags(e.createIdentifier(s,a),16777216);return c.symbol=i,r>0?e.createQualifiedName(o(n,r-1),c):c}}function N(n,t,r){var a=v(n,t,r);return i(a,a.length-1);function i(n,r){var a=E(n,r,t),o=n[r];0===r&&(t.flags|=16777216);var s=xi(o,t);0===r&&(t.flags^=16777216);var c=s.charCodeAt(0);if(e.isSingleOrDoubleQuote(c)&&e.some(o.declarations,si))return e.createLiteral(S(o,t));var l=e.isIdentifierStart(c,B);if(0===r||l){var u=e.setEmitFlags(e.createIdentifier(s,a),16777216);return u.symbol=o,r>0?e.createPropertyAccess(i(n,r-1),u):u}91===c&&(s=s.substring(1,s.length-1),c=s.charCodeAt(0));var d=void 0;return e.isSingleOrDoubleQuote(c)?(d=e.createLiteral(s.substring(1,s.length-1).replace(/\\./g,(function(e){return e.substring(1)}))),d.singleQuote=39===c):""+ +s===s&&(d=e.createLiteral(+s)),d||(d=e.setEmitFlags(e.createIdentifier(s,a),16777216),d.symbol=o),e.createElementAccess(i(n,r-1),d)}}function I(n,t){var r=O(n,t);if(r)return r;var a=e.unescapeLeadingUnderscores(n.escapedName);return M(a)}function O(n,t){var r=n.nameType;if(r){if(384&r.flags){var a=""+r.value;return e.isIdentifierText(a,G.target)||vh(a)?vh(a)&&e.startsWith(a,"-")?e.createComputedPropertyName(e.createLiteral(+a)):M(a):e.createLiteral(a)}if(8192&r.flags)return e.createComputedPropertyName(N(r.symbol,t,111551))}}function M(n){return e.isIdentifierText(n,G.target)?e.createIdentifier(n):e.createLiteral(vh(n)?+n:n)}function w(n){var t=o({},n);return t.typeParameterNames&&(t.typeParameterNames=e.cloneMap(t.typeParameterNames)),t.typeParameterNamesByText&&(t.typeParameterNamesByText=e.cloneMap(t.typeParameterNamesByText)),t.typeParameterSymbolList&&(t.typeParameterSymbolList=e.cloneMap(t.typeParameterSymbolList)),t}function R(t,r,a){var c,l=ae(e.createProperty,160,!0),u=ae((function(n,t,r,a,i,o){return e.createPropertySignature(t,r,a,i,o)}),159,!1),d=r.enclosingDeclaration,f=[],g=e.createMap(),y=r;r=o(o({},y),{usedSymbolNames:e.createMap(),remappedSymbolNames:e.createMap(),tracker:o(o({},y.tracker),{trackSymbol:function(e,n,t){var a=ai(e,n,t,!1);if(0===a.accessibility){var i=h(e,r,t);4&e.flags||U(i[0])}else y.tracker&&y.tracker.trackSymbol&&y.tracker.trackSymbol(e,n,t)}})}),y.usedSymbolNames&&y.usedSymbolNames.forEach((function(e,n){r.usedSymbolNames.set(n,!0)})),e.forEachEntry(t,(function(n,t){var r=e.unescapeLeadingUnderscores(t);fe(n,r)}));var v=!a,b=t.get("export=");return b&&t.size>1&&2097152&b.flags&&(t=e.createSymbolTable(),t.set("export=",b)),P(t),O(f);function E(e){return!!e&&75===e.kind}function T(n){return e.isVariableStatement(n)?e.filter(e.map(n.declarationList.declarations,e.getNameOfDeclaration),E):e.filter([e.getNameOfDeclaration(n)],E)}function x(n){var t=e.find(n,e.isExportAssignment),r=e.find(n,e.isModuleDeclaration);if(r&&t&&t.isExportEquals&&e.isIdentifier(t.expression)&&e.isIdentifier(r.name)&&e.idText(r.name)===e.idText(t.expression)&&r.body&&e.isModuleBlock(r.body)){var a=e.filter(n,(function(n){return!!(1&e.getModifierFlags(n))}));e.length(a)&&(r.body.statements=e.createNodeArray(i(r.body.statements,[e.createExportDeclaration(void 0,void 0,e.createNamedExports(e.map(e.flatMap(a,(function(e){return T(e)})),(function(n){return e.createExportSpecifier(void 0,n)}))),void 0)]))),e.find(n,(function(n){return n!==r&&e.nodeHasName(n,r.name)}))||(f=[],e.forEach(r.body.statements,(function(e){K(e,0)})),n=i(e.filter(n,(function(e){return e!==r&&e!==t})),f))}return n}function L(n){var t=e.filter(n,(function(n){return e.isExportDeclaration(n)&&!n.moduleSpecifier&&!!n.exportClause}));if(e.length(t)>1){var r=e.filter(n,(function(n){return!e.isExportDeclaration(n)||!!n.moduleSpecifier||!n.exportClause}));n=i(r,[e.createExportDeclaration(void 0,void 0,e.createNamedExports(e.flatMap(t,(function(e){return e.exportClause.elements}))),void 0)])}var a=e.filter(n,(function(n){return e.isExportDeclaration(n)&&!!n.moduleSpecifier&&!!n.exportClause}));if(e.length(a)>1){var o=e.group(a,(function(n){return e.isStringLiteral(n.moduleSpecifier)?">"+n.moduleSpecifier.text:">"}));if(o.length!==a.length)for(var s=function(t){t.length>1&&(n=i(e.filter(n,(function(e){return-1===t.indexOf(e)})),[e.createExportDeclaration(void 0,void 0,e.createNamedExports(e.flatMap(t,(function(e){return e.exportClause.elements}))),t[0].moduleSpecifier)]))},c=0,l=o;c0&&e.isSingleOrDoubleQuote(i.charCodeAt(0))?e.stripQuotes(i):i}return"default"===t?t="_default":"export="===t&&(t="_exports"),t=e.isIdentifierText(t,B)&&!e.isStringANonContextualKeyword(t)?t:"_"+t.replace(/[^a-zA-Z0-9]/g,"_"),t}function fe(e,n){return r.remappedSymbolNames.has(""+D(e))?r.remappedSymbolNames.get(""+D(e)):(n=me(e,n),r.remappedSymbolNames.set(""+D(e),n),n)}}}function yi(n,t,r,a){return void 0===r&&(r=16384),a?i(a).getText():e.usingSingleLineStringWriter(i);function i(a){var i=e.createTypePredicateNodeWithModifier(2===n.kind||3===n.kind?e.createToken(123):void 0,1===n.kind||3===n.kind?e.createIdentifier(n.parameterName):e.createThisTypeNode(),n.type&&Q.typeToTypeNode(n.type,t,70222336|_i(r))),o=e.createPrinter({removeComments:!0}),s=t&&e.getSourceFileOfNode(t);return o.writeNode(4,i,s,a),a}}function vi(e){for(var n=[],t=0,r=0;r=0){for(var r=ht.length,a=t;a=0;t--){if(ki(ht[t],Et[t]))return-1;if(ht[t]===e&&Et[t]===n)return t}return-1}function ki(n,t){switch(t){case 0:return!!mr(n).type;case 5:return!!fr(n).resolvedEnumType;case 2:return!!mr(n).declaredType;case 1:return!!n.resolvedBaseConstructorType;case 3:return!!n.resolvedReturnType;case 4:return!!n.immediateBaseConstraint;case 6:return!!mr(n).resolvedJSDocType;case 7:return!!n.resolvedTypeArguments}return e.Debug.assertNever(t)}function Ni(){return ht.pop(),Et.pop(),bt.pop()}function Ii(n){return e.findAncestor(e.getRootDeclaration(n),(function(e){switch(e.kind){case 241:case 242:case 257:case 256:case 255:case 254:return!1;default:return!0}})).parent}function Oi(n){var t=ss(Oa(n));return t.typeParameters?zl(t,e.map(t.typeParameters,(function(e){return ge}))):t}function Mi(e,n){var t=Xc(e,n);return t?No(t):void 0}function wi(e,n){return Mi(e,n)||vh(n)&&nl(e,1)||nl(e,0)||be}function Ri(e){return e&&0!==(1&e.flags)}function Pi(e){var n=Ia(e);return n&&mr(n).type||Yi(e,!1)}function Fi(n){return 153===n.kind&&!e.isStringOrNumericLiteralLike(n.expression)}function Gi(n,t,r){if(n=uy(n,(function(e){return!(98304&e.flags)})),131072&n.flags)return We;if(1048576&n.flags)return py(n,(function(e){return Gi(e,t,r)}));var a=dd(e.map(t,Ad));if(Ud(n)||jd(a)){if(131072&a.flags)return n;var i=ju();return i?$l(i,[n,a]):he}for(var o=e.createSymbolTable(),s=0,c=Ec(n);s=2?qu(ge):vn;var s=e.map(a,(function(n){return e.isOmittedExpression(n)?ge:ao(n,t,r)})),c=e.findLastIndex(a,(function(n){return!e.isOmittedExpression(n)&&!dh(n)}),a.length-(o?2:1))+1,l=ed(s,c,o);return t&&(l=Jl(l),l.pattern=n),l}function so(e,n,t){return void 0===n&&(n=!1),void 0===t&&(t=!1),188===e.kind?io(e,n,t):oo(e,n,t)}function co(e,n){return lo(Yi(e,!0),e,n)}function lo(n,t,r){return n?(r&&I_(t,n),8192&n.flags&&(e.isBindingElement(t)||!t.type)&&n.symbol!==Ia(t)&&(n=we),A_(n)):(n=e.isParameter(t)&&t.dotDotDotToken?vn:ge,r&&(uo(t)||N_(t,n)),n)}function uo(n){var t=e.getRootDeclaration(n),r=155===t.kind?t.parent:t;return wx(r)}function po(n){var t=e.getEffectiveTypeAnnotationNode(n);if(t)return Np(t)}function mo(e){var n=mr(e);if(!n.type){var t=fo(e);n.type||(n.type=t)}return n.type}function fo(n){if(4194304&n.flags)return Oi(n);if(n===re)return ge;if(134217728&n.flags){var t=Ia(e.getSourceFileOfNode(n.valueDeclaration)),r=e.createSymbolTable();return r.set("exports",t),Xa(n,r,e.emptyArray,e.emptyArray,void 0,void 0)}var a,i=n.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(i))return ge;if(e.isSourceFile(i)&&e.isJsonSourceFile(i)){if(!i.statements.length)return We;var o=qf(YS(i.statements[0].expression));return 524288&o.flags?b_(o):o}if(!Ai(n,0))return 512&n.flags&&!(67108864&n.flags)?So(n):Do(n);if(258===i.kind)a=lo(kS(i.expression),i);else if(e.isBinaryExpression(i)||e.isInJSFile(i)&&(e.isCallExpression(i)||(e.isPropertyAccessExpression(i)||e.isBindableStaticElementAccessExpression(i))&&e.isBinaryExpression(i.parent)))a=Qi(n);else if(e.isJSDocPropertyLikeTag(i)||e.isPropertyAccessExpression(i)||e.isElementAccessExpression(i)||e.isIdentifier(i)||e.isStringLiteralLike(i)||e.isNumericLiteral(i)||e.isClassDeclaration(i)||e.isFunctionDeclaration(i)||e.isMethodDeclaration(i)&&!e.isObjectLiteralMethod(i)||e.isMethodSignature(i)||e.isSourceFile(i)){if(9136&n.flags)return So(n);a=e.isBinaryExpression(i.parent)?Qi(n):po(i)||ge}else if(e.isPropertyAssignment(i))a=po(i)||PS(i);else if(e.isJsxAttribute(i))a=po(i)||Ih(i);else if(e.isShorthandPropertyAssignment(i))a=po(i)||RS(i.name,0);else if(e.isObjectLiteralMethod(i))a=po(i)||FS(i,0);else if(e.isParameter(i)||e.isPropertyDeclaration(i)||e.isPropertySignature(i)||e.isVariableDeclaration(i)||e.isBindingElement(i))a=co(i,!0);else if(e.isEnumDeclaration(i))a=So(n);else if(e.isEnumMember(i))a=Lo(n);else{if(!e.isAccessor(i))return e.Debug.fail("Unhandled declaration kind! "+e.Debug.formatSyntaxKind(i.kind)+" for "+e.Debug.formatSymbol(n));a=Eo(n)}return Ni()?a:512&n.flags&&!(67108864&n.flags)?So(n):Do(n)}function _o(n){if(n){if(162===n.kind){var t=e.getEffectiveReturnTypeNode(n);return t}var r=e.getEffectiveSetAccessorTypeAnnotationNode(n);return r}}function go(e){var n=_o(e);return n&&Np(n)}function yo(e){var n=Lk(e);return n&&n.symbol}function vo(e){return hl(pl(e))}function ho(e){var n=mr(e);return n.type||(n.type=bo(e))}function bo(n){if(!Ai(n,0))return he;var t=Eo(n);if(!Ni()&&(t=ge,q)){var r=e.getDeclarationOfKind(n,162);Qt(r,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,ui(n))}return t}function Eo(n){var t=e.getDeclarationOfKind(n,162),r=e.getDeclarationOfKind(n,163);if(t&&e.isInJSFile(t)){var a=Wi(t);if(a)return a}var i=go(t);if(i)return i;var o=go(r);return o||(t&&t.body?NT(t):(r?wx(r)||$t(q,r,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,ui(n)):(e.Debug.assert(!!t,"there must exist a getter as we are current checking either setter or getter in this function"),wx(t)||$t(q,t,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,ui(n))),ge))}function To(n){var t=Ho(Qo(n));return 8650752&t.flags?t:2097152&t.flags?e.find(t.types,(function(e){return!!(8650752&e.flags)})):void 0}function So(n){var t=mr(n),r=t;if(!t.type){var a=e.getDeclarationOfExpando(n.valueDeclaration);if(a){var i=XE(n,Ia(a));i&&(n=t=i)}r.type=t.type=xo(n)}return t.type}function xo(n){var t=n.valueDeclaration;if(1536&n.flags&&e.isShorthandAmbientModuleSymbol(n))return ge;if(208===t.kind||(193===t.kind||194===t.kind)&&208===t.parent.kind)return Qi(n);if(512&n.flags&&t&&e.isSourceFile(t)&&t.commonJsModuleIndicator){var r=va(n);if(r!==n){if(!Ai(n,0))return he;var a=Na(n.exports.get("export=")),i=Qi(a,a===r?void 0:r);return Ni()?i:Do(n)}}var o=Ka(16,n);if(32&n.flags){var s=To(n);return s?Sd([o,s]):o}return j&&16777216&n.flags?c_(o):o}function Lo(e){var n=mr(e);return n.type||(n.type=as(e))}function Co(e){var n=mr(e);if(!n.type){var t=ra(e);n.type=111551&t.flags?No(t):he}return n.type}function Ao(e){var n=mr(e);if(!n.type){if(!Ai(e,0))return n.type=he;var t=sm(No(n.target),n.mapper);Ni()||(t=Do(e)),n.type=t}return n.type}function Do(n){var t=n.valueDeclaration;return e.getEffectiveTypeAnnotationNode(t)?(Qt(n.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,ui(n)),he):(q&&(155!==t.kind||t.initializer)&&Qt(n.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,ui(n)),ge)}function ko(n){var t=mr(n);return t.type||(e.Debug.assertDefined(t.deferralParent),e.Debug.assertDefined(t.deferralConstituents),t.type=1048576&t.deferralParent.flags?dd(t.deferralConstituents):Sd(t.deferralConstituents)),t.type}function No(n){return 65536&e.getCheckFlags(n)?ko(n):1&e.getCheckFlags(n)?Ao(n):8192&e.getCheckFlags(n)?Y_(n):7&n.flags?mo(n):9136&n.flags?So(n):8&n.flags?Lo(n):98304&n.flags?ho(n):2097152&n.flags?Co(n):he}function Io(n,t){return void 0!==n&&void 0!==t&&0!==(4&e.getObjectFlags(n))&&n.target===t}function Oo(n){return 4&e.getObjectFlags(n)?n.target:n}function Mo(n,t){return r(n);function r(n){if(7&e.getObjectFlags(n)){var a=Oo(n);return a===t||e.some(Wo(a),r)}return!!(2097152&n.flags)&&e.some(n.types,r)}}function wo(n,t){for(var r=0,a=t;r0)return!0;if(8650752&e.flags){var n=wc(e);return!!n&&Bo(n)}return!1}function Uo(n){return e.getEffectiveBaseTypeNode(n.symbol.valueDeclaration)}function jo(n,t,r){var a=e.length(t),i=e.isInJSFile(r);return e.filter(Qc(n,1),(function(n){return(i||a>=ul(n.typeParameters))&&a<=e.length(n.typeParameters)}))}function Ko(n,t,r){var a=jo(n,t,r),i=e.map(t,Np);return e.sameMap(a,(function(n){return e.some(n.typeParameters)?Al(n,i,e.isInJSFile(r)):n}))}function Ho(n){if(!n.resolvedBaseConstructorType){var t=n.symbol.valueDeclaration,r=e.getEffectiveBaseTypeNode(t),a=Uo(n);if(!a)return n.resolvedBaseConstructorType=Ee;if(!Ai(n,1))return he;var i=YS(a.expression);if(r&&a!==r&&(e.Debug.assert(!r.typeArguments),YS(r.expression)),2621440&i.flags&&gc(i),!Ni())return Qt(n.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,ui(n.symbol)),n.resolvedBaseConstructorType=he;if(!(1&i.flags)&&i!==Le&&!Vo(i)){var o=Qt(a.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,pi(i));if(262144&i.flags){var s=Kl(i),c=be;if(s){var l=Qc(s,1);l[0]&&(c=Tl(l[0]))}e.addRelatedInfo(o,e.createDiagnosticForNode(i.symbol.declarations[0],e.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,ui(i.symbol),pi(c)))}return n.resolvedBaseConstructorType=he}n.resolvedBaseConstructorType=i}return n.resolvedBaseConstructorType}function Wo(n){return n.resolvedBaseTypes||(8&n.objectFlags?n.resolvedBaseTypes=[zu(dd(n.typeParameters||e.emptyArray),n.readonly)]:96&n.symbol.flags?(32&n.symbol.flags&&qo(n),64&n.symbol.flags&&Xo(n)):e.Debug.fail("type must be class or interface")),n.resolvedBaseTypes}function qo(n){n.resolvedBaseTypes=e.resolvingEmptyArray;var t=Wc(Ho(n));if(!(2621441&t.flags))return n.resolvedBaseTypes=e.emptyArray;var r,a=Uo(n),i=t.symbol?ss(t.symbol):void 0;if(t.symbol&&32&t.symbol.flags&&zo(i))r=Zl(a,t.symbol);else if(1&t.flags)r=t;else{var o=Ko(t,a.typeArguments,a);if(!o.length)return Qt(a.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments),n.resolvedBaseTypes=e.emptyArray;r=Tl(o[0])}return r===he?n.resolvedBaseTypes=e.emptyArray:Jo(r)?n===r||Mo(r,n)?(Qt(n.symbol.valueDeclaration,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,pi(n,void 0,2)),n.resolvedBaseTypes=e.emptyArray):(n.resolvedBaseTypes===e.resolvingEmptyArray&&(n.members=void 0),n.resolvedBaseTypes=[r]):(Qt(a.expression,e.Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,pi(r)),n.resolvedBaseTypes=e.emptyArray)}function zo(e){var n=e.outerTypeParameters;if(n){var t=n.length-1,r=Yl(e);return n[t].symbol!==r[t].symbol}return!0}function Jo(n){if(262144&n.flags){var t=wc(n);if(t)return Jo(t)}return!!(67633153&n.flags)&&!_c(n)||!!(2097152&n.flags)&&e.every(n.types,Jo)}function Xo(n){n.resolvedBaseTypes=n.resolvedBaseTypes||e.emptyArray;for(var t=0,r=n.symbol.declarations;t=o?16384:0,c=nr(1,a,i);return c.type=r===s?zu(e):e,c}));return e.concatenate(n.parameters.slice(0,t),c)}}return n.parameters}function Bs(n){var t=Ho(n),r=Qc(t,1);if(0===r.length)return[Ms(void 0,n.localTypeParameters,void 0,e.emptyArray,n,void 0,0,0)];for(var a=Uo(n),i=e.isInJSFile(a),o=fu(a),s=e.length(o),c=[],l=0,u=r;l=p&&s<=m){var f=m?kl(d,dl(o,d.typeParameters,p,i)):ws(d);f.typeParameters=n.localTypeParameters,f.resolvedReturnType=n,c.push(f)}}return c}function Vs(e,n,t,r,a){for(var i=0,o=e;i0)return;for(var a=1;a1&&(r=void 0===r?a:-1);for(var i=0,o=n[a];i1){var u=s.thisParameter,d=e.forEach(c,(function(e){return e.thisParameter}));if(d){var p=Sd(e.mapDefined(c,(function(e){return e.thisParameter&&No(e.thisParameter)})));u=v_(d,p)}l=Rs(s,c),l.thisParameter=u}(t||(t=[])).push(l)}}}}if(!e.length(t)&&-1!==r){for(var m=n[void 0!==r?r:0],f=m.slice(),_=function(n){if(n!==m){var t=n[0];if(e.Debug.assert(!!t,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),f=t.typeParameters&&e.some(f,(function(e){return!!e.typeParameters}))?void 0:e.map(f,(function(e){return Ws(e,t)})),!f)return"break"}},g=0,y=n;g=r?e:n,i=a===e?n:e,o=a===e?t:r,s=vT(e)||vT(n),c=s&&!vT(a),l=new Array(o+(c?1:0)),u=0;u=yT(a)&&u>=yT(i),g=u>=t?void 0:pT(e,u),y=u>=r?void 0:pT(n,u),v=g===y?g:g?y?void 0:g:y,h=nr(1|(_&&!f?16777216:0),v||"arg"+u);h.type=f?zu(m):m,l[u]=h}if(c){var b=nr(1,"args");b.type=zu(mT(i,o)),l[o]=b}return l}function Ws(n,t){var r=n.declaration,a=Hs(n,t),i=Ks(n.thisParameter,t.thisParameter),o=Math.max(n.minArgumentCount,t.minArgumentCount),s=Ms(r,n.typeParameters||t.typeParameters,i,a,void 0,void 0,o,3&(n.flags|t.flags));return s.unionSignatures=e.concatenate(n.unionSignatures||[n],[t]),s}function qs(e,n){for(var t=[],r=!1,a=0,i=e;a0})),r=e.map(n,Bo);if(t>0&&t===e.countWhere(r,(function(e){return e}))){var a=r.indexOf(!0);r[a]=!1}return r}function Zs(e,n,t,r){for(var a=[],i=0;i0&&(d=e.map(d,(function(e){var n=ws(e);return n.resolvedReturnType=Zs(Tl(e),o,s,l),n}))),r=ec(r,d)}t=ec(t,Qc(u,0)),a=Xs(a,el(u,0)),i=Xs(i,el(u,1))},u=0;u=50)return Qt(u,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),t=!0,n.immediateBaseConstraint=Qe;x++;var r=i(Hd(n,!1));if(x--,!Ni()){if(262144&n.flags){var a=Ul(n);if(a){var o=Qt(a,e.Diagnostics.Type_parameter_0_has_a_circular_constraint,pi(n));!u||e.isNodeDescendantOf(a,u)||e.isNodeDescendantOf(u,a)||e.addRelatedInfo(o,e.createDiagnosticForNode(u,e.Diagnostics.Circularity_originates_in_type_at_this_location))}}r=Ze}t&&(r=Ze),n.immediateBaseConstraint=r||Qe}return n.immediateBaseConstraint}function a(e){var n=r(e);return n!==Qe&&n!==Ze?n:void 0}function i(e){if(262144&e.flags){var n=Kl(e);return e.isThisType||!n?n:a(n)}if(3145728&e.flags){for(var t=e.types,r=[],i=0,o=t;i=99):528&t.flags?_n:12288&t.flags?Lu(B>=2):67108864&t.flags?We:4194304&t.flags?Ke:2&t.flags&&!j?We:t}function qc(n,t){for(var r,a=e.createMap(),i=1048576&n.flags,o=i?24:0,s=i?0:16777216,c=4,l=0,u=0,d=n.types;u2?(A.checkFlags|=65536,A.deferralParent=n,A.deferralConstituents=S):A.type=i?dd(S):Sd(S),A}}function zc(n,t){var r=n.propertyCache||(n.propertyCache=e.createSymbolTable()),a=r.get(t);return a||(a=qc(n,t),a&&r.set(t,a)),a}function Jc(n,t){var r=zc(n,t);return!r||16&e.getCheckFlags(r)?void 0:r}function Xc(e,n){if(e=Wc(e),524288&e.flags){var t=gc(e),r=t.members.get(n);if(r&&Ga(r))return r;var a=t===Ye?cn:t.callSignatures.length?ln:t.constructSignatures.length?un:void 0;if(a){var i=vc(a,n);if(i)return i}return vc(sn,n)}if(3145728&e.flags)return Jc(e,n)}function Yc(n,t){if(3670016&n.flags){var r=gc(n);return 0===t?r.callSignatures:r.constructSignatures}return e.emptyArray}function Qc(e,n){return Yc(Wc(e),n)}function Zc(e,n){if(3670016&e.flags){var t=gc(e);return 0===n?t.stringIndexInfo:t.numberIndexInfo}}function $c(e,n){var t=Zc(e,n);return t&&t.type}function el(e,n){return Zc(Wc(e),n)}function nl(e,n){return $c(Wc(e),n)}function tl(n,t){if(y_(n)){for(var r=[],a=0,i=Ec(n);a=0),r>=yT(t)}var a=e.getImmediatelyInvokedFunctionExpression(n.parent);return!!a&&(!n.type&&!n.dotDotDotToken&&n.parent.parameters.indexOf(n)>=a.arguments.length)}function cl(n){if(!e.isJSDocParameterTag(n))return!1;var t=n.isBracketed,r=n.typeExpression;return t||!!r&&297===r.type.kind}function ll(e,n,t,r){return{kind:e,parameterName:n,parameterIndex:t,type:r}}function ul(e){var n=0;if(e)for(var t=0;t=r&&o<=i){for(var s=n?n.slice():[],c=o;cc.arguments.length&&!f||u||il(p);g||(i=r.length)}if((162===n.kind||163===n.kind)&&!Es(n)&&(!s||!o)){var y=162===n.kind?163:162,v=e.getDeclarationOfKind(Ia(n),y);v&&(o=yo(v))}var h=161===n.kind?Qo(Na(n.parent.symbol)):void 0,b=h?h.localTypeParameters:rl(n);(e.hasRestParameter(n)||e.isInJSFile(n)&&ml(n,r))&&(a|=1),t.resolvedSignature=Ms(n,b,o,r,void 0,void 0,i,a)}return t.resolvedSignature}function ml(n,t){if(e.isJSDocSignature(n)||!gl(n))return!1;var r=e.lastOrUndefined(n.parameters),a=r?e.getJSDocParameterTags(r):e.getJSDocTags(n).filter(e.isJSDocParameterTag),i=e.firstDefined(a,(function(n){return n.typeExpression&&e.isJSDocVariadicType(n.typeExpression.type)?n.typeExpression.type:void 0})),o=nr(3,"args",32768);return o.type=i?zu(Np(i.type)):vn,i&&t.pop(),t.push(o),!0}function fl(n){var t=e.isInJSFile(n)?e.getJSDocTypeTag(n):void 0,r=t&&t.typeExpression&&eE(Np(t.typeExpression));return r&&Il(r)}function _l(e){var n=fl(e);return n&&Tl(n)}function gl(n){var t=fr(n);return void 0===t.containsArgumentsReference&&(8192&t.flags?t.containsArgumentsReference=!0:t.containsArgumentsReference=r(n.body)),t.containsArgumentsReference;function r(n){if(!n)return!1;switch(n.kind){case 75:return"arguments"===n.escapedText&&e.isExpressionNode(n);case 158:case 160:case 162:case 163:return 153===n.name.kind&&r(n.name);default:return!e.nodeStartsNewLexicalEnvironment(n)&&!e.isPartOfTypeNode(n)&&!!e.forEachChild(n,r)}}}function yl(n){if(!n)return e.emptyArray;for(var t=[],r=0;r0&&a.body){var i=n.declarations[r-1];if(a.parent===i.parent&&a.kind===i.kind&&a.pos===i.end)continue}t.push(pl(a))}}return t}function vl(e){var n=ma(e,e);if(n){var t=va(n);if(t)return No(t)}return ge}function hl(e){if(e.thisParameter)return No(e.thisParameter)}function bl(n){if(!n.resolvedTypePredicate){if(n.target){var t=bl(n.target);n.resolvedTypePredicate=t?qp(t,n.mapper):Yn}else if(n.unionSignatures)n.resolvedTypePredicate=pd(n.unionSignatures)||Yn;else{var r=n.declaration&&e.getEffectiveReturnTypeNode(n.declaration),a=void 0;if(!r&&e.isInJSFile(n.declaration)){var i=fl(n.declaration);i&&n!==i&&(a=bl(i))}n.resolvedTypePredicate=r&&e.isTypePredicateNode(r)?El(r,n):a||Yn}e.Debug.assert(!!n.resolvedTypePredicate)}return n.resolvedTypePredicate===Yn?void 0:n.resolvedTypePredicate}function El(n,t){var r=n.parameterName,a=n.type&&Np(n.type);return 182===r.kind?ll(n.assertsModifier?2:0,void 0,void 0,a):ll(n.assertsModifier?3:1,r.escapedText,e.findIndex(t.parameters,(function(e){return e.escapedName===r.escapedText})),a)}function Tl(n){if(!n.resolvedReturnType){if(!Ai(n,3))return he;var t=n.target?sm(Tl(n.target),n.mapper):n.unionSignatures?dd(e.map(n.unionSignatures,Tl),2):Sl(n.declaration)||(e.nodeIsMissing(n.declaration.body)?ge:NT(n.declaration));if(4&n.flags?t=d_(t):8&n.flags&&(t=c_(t)),!Ni()){if(n.declaration){var r=e.getEffectiveReturnTypeNode(n.declaration);if(r)Qt(r,e.Diagnostics.Return_type_annotation_circularly_references_itself);else if(q){var a=n.declaration,i=e.getNameOfDeclaration(a);i?Qt(i,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(i)):Qt(a,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=ge}n.resolvedReturnType=t}return n.resolvedReturnType}function Sl(n){if(161===n.kind)return Qo(Na(n.parent.symbol));if(e.isJSDocConstructSignature(n))return Np(n.parameters[0].type);var t=e.getEffectiveReturnTypeNode(n);if(t)return Np(t);if(162===n.kind&&!Es(n)){var r=e.isInJSFile(n)&&Wi(n);if(r)return r;var a=e.getDeclarationOfKind(Ia(n),163),i=go(a);if(i)return i}return _l(n)}function xl(e){return!e.resolvedReturnType&&Di(e,3)>=0}function Ll(e){return Cl(e)||ge}function Cl(e){if(P(e)){var n=No(e.parameters[e.parameters.length-1]),t=Qf(n)?Zf(n):n;return t&&nl(t,1)}}function Al(e,n,t,r){var a=Dl(e,dl(n,e.typeParameters,ul(e.typeParameters),t));if(r){var i=nE(Tl(a));if(i){var o=ws(i);o.typeParameters=r;var s=ws(a);return s.resolvedReturnType=Pl(o),s}}return a}function Dl(n,t){var r=n.instantiations||(n.instantiations=e.createMap()),a=Wl(t),i=r.get(a);return i||r.set(a,i=kl(n,t)),i}function kl(e,n){return zp(e,Nl(e,n),!0)}function Nl(e,n){return Fp(e.typeParameters,n)}function Il(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=Ol(e)):e}function Ol(e){return zp(e,Gp(e.typeParameters),!0)}function Ml(e){return e.typeParameters?e.canonicalSignatureCache||(e.canonicalSignatureCache=wl(e)):e}function wl(n){return Al(n,e.map(n.typeParameters,(function(e){return e.target&&!Lc(e.target)?e.target:e})),e.isInJSFile(n.declaration))}function Rl(n){var t=n.typeParameters;if(t){var r=Gp(t),a=e.map(t,(function(e){return sm(wc(e),r)||be}));return zp(n,Fp(t,a),!0)}return n}function Pl(n){if(!n.isolatedSignatureType){var t=n.declaration?n.declaration.kind:0,r=161===t||165===t||170===t,a=Ka(16);a.members=N,a.properties=e.emptyArray,a.callSignatures=r?e.emptyArray:[n],a.constructSignatures=r?[n]:e.emptyArray,n.isolatedSignatureType=a}return n.isolatedSignatureType}function Fl(e){return e.members.get("__index")}function Gl(n,t){var r=1===t?139:142,a=Fl(n);if(a)for(var i=0,o=a.declarations;i1&&(n+=":"+i),r+=i}}return n}function ql(n,t){for(var r=0,a=0,i=n;aa.length)){var l=s&&e.isExpressionWithTypeArguments(n)&&!e.isJSDocAugmentsTag(n.parent),u=o===a.length?l?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:l?e.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,d=pi(r,void 0,2);if(Qt(n,u,d,o,a.length),!s)return he}if(168===n.kind&&Xu(n))return Xl(r,n,void 0);var p=e.concatenate(r.outerTypeParameters,dl(fu(n),a,o,s));return zl(r,p)}return uu(n,t)?r:he}function $l(n,t){var r=ss(n),a=mr(n),i=a.typeParameters,o=Wl(t),s=a.instantiations.get(o);return s||a.instantiations.set(o,s=sm(r,Fp(i,dl(t,i,ul(i),e.isInJSFile(n.valueDeclaration))))),s}function eu(n,t){var r=ss(t),a=mr(t).typeParameters;if(a){var i=e.length(n.typeArguments),o=ul(a);return ia.length?(Qt(n,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,ui(t),o,a.length),he):$l(t,fu(n))}return uu(n,t)?r:he}function nu(n){switch(n.kind){case 168:return n.typeName;case 215:var t=n.expression;if(e.isEntityNameExpression(t))return t}}function tu(e,n,t){return e&&ca(e,n,t)||fe}function ru(e,n){if(n===fe)return he;if(n=pa(n)||n,96&n.flags)return Zl(e,n);if(524288&n.flags)return eu(e,n);var t=cs(n);if(t)return uu(e,n)?262144&t.flags?cu(t,e):Tp(t):he;if(111551&n.flags&&lu(e)){var r=au(e,n);return r||(tu(nu(e),788968),No(n))}return he}function au(n,t){var r=No(t),a=r;if(t.valueDeclaration){var i=e.getRootDeclaration(t.valueDeclaration),o=!1;if(e.isVariableDeclaration(i)&&i.initializer){var s=i.initializer;while(e.isPropertyAccessExpression(s))s=s.expression;o=e.isCallExpression(s)&&e.isRequireCall(s,!0)&&!!r.symbol}var c=t!==r.symbol&&Na(t)===r.symbol,l=187===n.kind&&n.qualifier;r.symbol&&(o||l||c)&&(a=ru(n,r.symbol))}return mr(t).resolvedJSDocType=a}function iu(e,n){if(3&n.flags||n===e)return e;var t=rd(e)+">"+rd(n),r=de.get(t);if(r)return r;var a=Va(33554432);return a.typeVariable=e,a.substitute=n,de.set(t,a),a}function ou(e){return 174===e.kind&&1===e.elementTypes.length}function su(e,n,t){return ou(n)&&ou(t)?su(e,n.elementTypes[0],t.elementTypes[0]):np(Np(n))===e?Np(t):void 0}function cu(n,t){var r;while(t&&!e.isStatement(t)&&301!==t.kind){var a=t.parent;if(179===a.kind&&t===a.trueType){var i=su(n,a.checkType,a.extendsType);i&&(r=e.append(r,i))}t=a}return r?iu(n,Sd(e.append(r,n))):n}function lu(e){return!!(4194304&e.flags)&&(168===e.kind||187===e.kind)}function uu(n,t){return!n.typeArguments||(Qt(n,e.Diagnostics.Type_0_is_not_generic,t?ui(t):n.typeName?e.declarationNameToString(n.typeName):"(anonymous)"),!1)}function du(n){if(e.isIdentifier(n.typeName)){var t=n.typeArguments;switch(n.typeName.escapedText){case"String":return uu(n),Ce;case"Number":return uu(n),Ae;case"Boolean":return uu(n),Me;case"Void":return uu(n),Re;case"Undefined":return uu(n),Ee;case"Null":return uu(n),xe;case"Function":case"function":return uu(n),cn;case"Array":case"array":return t&&t.length||q?void 0:vn;case"Promise":case"promise":return t&&t.length||q?void 0:AT(ge);case"Object":if(t&&2===t.length){if(e.isJSDocIndexSignature(n)){var r=Np(t[0]),a=Np(t[1]),i=Bl(a,!1);return Xa(void 0,N,e.emptyArray,e.emptyArray,r===Ce?i:void 0,r===Ae?i:void 0)}return ge}return uu(n),q?void 0:ge}}}function pu(e){var n=Np(e.type);return j?s_(n,65536):n}function mu(e){var n=fr(e);if(!n.resolvedType){var t=void 0,r=void 0,a=788968;lu(e)&&(r=du(e),r||(t=tu(nu(e),a,!0),t===fe?t=tu(nu(e),111551|a):tu(nu(e),a),r=ru(e,t))),r||(t=tu(nu(e),a),r=ru(e,t)),n.resolvedSymbol=t,n.resolvedType=r}return n.resolvedType}function fu(n){return e.map(n.typeArguments,Np)}function _u(e){var n=fr(e);return n.resolvedType||(n.resolvedType=Tp(A_(YS(e.exprName)))),n.resolvedType}function gu(n,t){function r(e){for(var n=e.declarations,t=0,r=n;t=t?16777216:0),""+l,a?8:0);d.type=u,s.push(d)}}}var p=[];for(l=t;l<=c;l++)p.push(xp(l));var m=nr(4,"length");m.type=r?Ae:dd(p),s.push(m);var f=Ka(12);return f.typeParameters=o,f.outerTypeParameters=void 0,f.localTypeParameters=o,f.instantiations=e.createMap(),f.instantiations.set(Wl(f.typeParameters),f),f.target=f,f.resolvedTypeArguments=f.typeParameters,f.thisType=Wa(),f.thisType.isThisType=!0,f.thisType.constraint=f,f.declaredProperties=s,f.declaredCallSignatures=e.emptyArray,f.declaredConstructSignatures=e.emptyArray,f.declaredStringIndexInfo=void 0,f.declaredNumberIndexInfo=void 0,f.minLength=t,f.hasRestElement=r,f.readonly=a,f.associatedNames=i,f}function $u(e,n,t,r,a){var i=e+(t?"+":",")+n+(r?"R":"")+(a&&a.length?","+a.join(","):""),o=oe.get(i);return o||oe.set(i,o=Zu(e,n,t,r,a)),o}function ed(e,n,t,r,a){void 0===n&&(n=e.length),void 0===t&&(t=!1),void 0===r&&(r=!1);var i=e.length;if(1===i&&t)return zu(e[0],r);var o=$u(i,n,i>0&&t,r,a);return e.length?zl(o,e):o}function nd(e,n){var t=e.target;return t.hasRestElement&&(n=Math.min(n,Ql(e)-1)),ed(Yl(e).slice(n),Math.max(0,t.minLength-n),t.hasRestElement,t.readonly,t.associatedNames&&t.associatedNames.slice(n))}function td(e){var n=Np(e.type);return j?c_(n):n}function rd(e){return e.id}function ad(n,t){return e.binarySearch(n,t,rd,e.compareValues)>=0}function id(n,t){var r=e.binarySearch(n,t,rd,e.compareValues);return r<0&&(n.splice(~r,0,t),!0)}function od(n,t,r){var a=r.flags;if(1048576&a)return sd(n,t,r.types);if(!(131072&a))if(t|=68943871&a,66846720&a&&(t|=262144),r===ve&&(t|=4194304),!j&&98304&a)262144&e.getObjectFlags(r)||(t|=2097152);else{var i=n.length,o=i&&r.id>n[i-1].id?~i:e.binarySearch(n,r,rd,e.compareValues);o<0&&n.splice(~o,0,r)}return t}function sd(e,n,t){for(var r=0,a=t;r0){a--;for(var o=n[a],s=0,c=n;s(t?25e6:1e6))return Qt(u,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1}if(i++,Em(o,l)&&(!(1&e.getObjectFlags(Oo(o)))||!(1&e.getObjectFlags(Oo(l)))||Sm(o,l))){e.orderedRemoveItemAt(n,a);break}}}}return!0}function ud(n,t){var r=n.length;while(r>0){r--;var a=n[r],i=128&a.flags&&4&t||256&a.flags&&8&t||2048&a.flags&&64&t||8192&a.flags&&4096&t||Sp(a)&&ad(n,a.regularType);i&&e.orderedRemoveItemAt(n,r)}}function dd(e,n,t,r){if(void 0===n&&(n=1),0===e.length)return Pe;if(1===e.length)return e[0];var a=[],i=sd(a,0,e);if(0!==n){if(3&i)return 1&i?4194304&i?ve:ge:be;switch(n){case 1:11136&i&&ud(a,i);break;case 2:if(!ld(a,!(262144&i)))return he;break}if(0===a.length)return 65536&i?2097152&i?xe:Le:32768&i?2097152&i?Ee:Te:Pe}return fd(a,66994211&i?0:131072,t,r)}function pd(e){for(var n,t=[],r=0,a=e;r0){r--;var a=n[r],i=4&a.flags&&128&t||8&a.flags&&256&t||64&a.flags&&2048&t||4096&a.flags&&8192&t;i&&e.orderedRemoveItemAt(n,r)}}function hd(e,n){for(var t=0,r=e;t=1e5)return Qt(u,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),he;var d=e.findIndex(o,(function(e){return 0!==(1048576&e.flags)})),p=o[d];c=dd(e.map(p.types,(function(n){return Sd(e.replaceElement(o,d,n))})),1,t,r)}else c=Td(o,t,r);ce.set(s,c)}return c}function xd(n){var t=fr(n);if(!t.resolvedType){var r=mp(n);t.resolvedType=Sd(e.map(n.types,Np),r,fp(r))}return t.resolvedType}function Ld(e,n){var t=Va(4194304);return t.type=e,t.stringsOnly=n,t}function Cd(e,n){return n?e.resolvedStringIndexType||(e.resolvedStringIndexType=Ld(e,!0)):e.resolvedIndexType||(e.resolvedIndexType=Ld(e,!1))}function Ad(n){return e.isIdentifier(n)?xp(e.unescapeLeadingUnderscores(n.escapedText)):Tp(e.isComputedPropertyName(n)?hh(n):YS(n))}function Dd(n){return xp({negative:!1,base10Value:e.parsePseudoBigInt(n.text)})}function kd(n,t){if(!(24&e.getDeclarationModifierFlagsFromSymbol(n))){var r=Ds(n).nameType;if(!r&&!e.isKnownSymbol(n))if("default"===n.escapedName)r=xp("default");else{var a=n.valueDeclaration&&e.getNameOfDeclaration(n.valueDeclaration);r=a&&Ad(a)||xp(e.symbolName(n))}if(r&&r.flags&t)return r}return Pe}function Nd(n,t){return dd(e.map(Ec(n),(function(e){return kd(e,t)})))}function Id(e){var n=el(e,1);return n!==nt?n:void 0}function Od(n,t,r){return void 0===t&&(t=J),1048576&n.flags?Sd(e.map(n.types,(function(e){return Od(e,t,r)}))):2097152&n.flags?dd(e.map(n.types,(function(e){return Od(e,t,r)}))):aS(n,58982400)?Cd(n,t):32&e.getObjectFlags(n)?uy(oc(n),(function(e){return!(r&&5&e.flags)})):n===ve?ve:2&n.flags?Pe:131073&n.flags?Ke:t?!r&&el(n,0)?Ce:Nd(n,128):!r&&el(n,0)?dd([Ce,Ae,Nd(n,8192)]):Id(n)?dd([Ae,Nd(n,8320)]):Nd(n,8576)}function Md(e){if(J)return e;var n=Uu();return n?$l(n,[e,Ce]):Ce}function wd(e){var n=Md(Od(e));return 131072&n.flags?Ce:n}function Rd(n){var t=fr(n);if(!t.resolvedType)switch(n.operator){case 133:t.resolvedType=Od(Np(n.type));break;case 146:t.resolvedType=143===n.type.kind?Ap(e.walkUpParenthesizedTypes(n.parent)):he;break;case 137:t.resolvedType=Np(n.type);break;default:throw e.Debug.assertNever(n.operator)}return t.resolvedType}function Pd(e,n){var t=Va(8388608);return t.objectType=e,t.indexType=n,t}function Fd(n){return!q&&(!!(16384&e.getObjectFlags(n))||(1048576&n.flags?e.every(n.types,Fd):2097152&n.flags?e.some(n.types,Fd):!!(63176704&n.flags)&&Fd(Fc(n))))}function Gd(n,t){var r=t&&194===t.kind?t:void 0;return ys(n)?Ss(n):r&&Hb(r.argumentExpression,n,!1)?e.getPropertyNameForKnownSymbolName(e.idText(r.argumentExpression.name)):t&&e.isPropertyName(t)?e.getPropertyNameForPropertyNameNode(t):void 0}function Bd(n,t,r,a,i,o,s){var c=o&&194===o.kind?o:void 0,l=Gd(r,o);if(void 0!==l){var u=Xc(t,l);if(u){if(c){if(wb(u,c,103===c.expression.kind),e.isAssignmentTarget(c)&&(JT(c,u)||XT(c)))return void Qt(c.argumentExpression,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,ui(u));4&s&&(fr(o).resolvedSymbol=u)}var d=No(u);return c&&1!==e.getAssignmentTargetKind(c)?By(c,d):d}if(ly(t,Qf)&&vh(l)&&+l>=0){if(o&&ly(t,(function(e){return!e.target.hasRestElement}))&&!(8&s)){var p=Vd(o);Qf(t)?Qt(p,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,pi(t),Ql(t),e.unescapeLeadingUnderscores(l)):Qt(p,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(l),pi(t))}return h(el(t,1)),py(t,(function(e){return Zf(e)||Ee}))}}if(!(98304&r.flags)&&iS(r,12716)){if(131073&t.flags)return t;var m=el(t,0),f=iS(r,296)&&el(t,1)||m;if(f){if(1&s&&f===m)return void(c&&Qt(c,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,pi(r),pi(n)));if(o&&!iS(r,12)){p=Vd(o);return Qt(p,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,pi(r)),f.type}return h(f),f.type}if(131072&r.flags)return Pe;if(Fd(t))return ge;if(c&&!sS(t)){if(t.symbol===ee&&void 0!==l&&ee.exports.has(l)&&418&ee.exports.get(l).flags)Qt(c,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(l),pi(t));else if(q&&!G.suppressImplicitAnyIndexErrors&&!i)if(void 0!==l&&Lb(l,t))Qt(c,e.Diagnostics.Property_0_is_a_static_member_of_type_1,l,pi(t));else if(nl(t,1))Qt(c.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var _=void 0;if(void 0!==l&&(_=Ab(l,t)))void 0!==_&&Qt(c.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,l,pi(t),_);else{var g=Ob(t,c);if(void 0!==g)Qt(c,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,pi(t),g);else{var y=void 0;if(1024&r.flags)y=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+pi(r)+"]",pi(t));else if(8192&r.flags){var v=sa(r.symbol,c);y=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+v+"]",pi(t))}else 128&r.flags||256&r.flags?y=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,r.value,pi(t)):12&r.flags&&(y=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,pi(r),pi(t)));y=e.chainDiagnosticMessages(y,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,pi(a),pi(t)),Gt.add(e.createDiagnosticForNodeFromMessageChain(c,y))}}}return}}if(Fd(t))return ge;if(o){p=Vd(o);384&r.flags?Qt(p,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+r.value,pi(t)):12&r.flags?Qt(p,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,pi(t),pi(r)):Qt(p,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,pi(r))}return Ri(r)?r:void 0;function h(n){n&&n.isReadonly&&c&&(e.isAssignmentTarget(c)||e.isDeleteTarget(c))&&Qt(c,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,pi(t))}}function Vd(e){return 194===e.kind?e.argumentExpression:184===e.kind?e.indexType:153===e.kind?e.expression:e}function Ud(e){return aS(e,59113472)}function jd(e){return aS(e,63176704)}function Kd(e){return!!(262144&e.flags&&e.isThisType)}function Hd(e,n){return 8388608&e.flags?zd(e,n):16777216&e.flags?Jd(e,n):e}function Wd(n,t,r){if(3145728&n.flags){var a=e.map(n.types,(function(e){return Hd(Qd(e,t),r)}));return 2097152&n.flags||r?Sd(a):dd(a)}}function qd(n,t,r){if(1048576&t.flags){var a=e.map(t.types,(function(e){return Hd(Qd(n,e),r)}));return r?Sd(a):dd(a)}}function zd(e,n){var t=n?"simplifiedForWriting":"simplifiedForReading";if(e[t])return e[t]===Ze?e:e[t];e[t]=Ze;var r=Hd(e.objectType,n),a=Hd(e.indexType,n),i=qd(r,a,n);if(i)return e[t]=i;if(!(63176704&a.flags)){var o=Wd(r,a,n);if(o)return e[t]=o}return _c(r)?e[t]=py(Yd(r,e.indexType),(function(e){return Hd(e,n)})):e[t]=e}function Jd(e,n){var t=e.checkType,r=e.extendsType,a=rp(e),i=ap(e);if(131072&i.flags&&np(a)===np(t)){if(1&t.flags||Tm(um(t),um(r)))return Hd(a,n);if(Xd(t,r))return Pe}else if(131072&a.flags&&np(i)===np(t)){if(!(1&t.flags)&&Tm(um(t),um(r)))return Pe;if(1&t.flags||Xd(t,r))return Hd(i,n)}return e}function Xd(e,n){return!!(131072&dd([Js(e,n),Pe]).flags)}function Yd(e,n){var t=Fp([ic(e)],[n]),r=Vp(e.mapper,t);return sm(sc(e),r)}function Qd(e,n,t){return Zd(e,n,t,0)||(t?he:be)}function Zd(e,n,t,r){if(void 0===r&&(r=0),e===ve||n===ve)return ve;if(!Zm(e)||98304&n.flags||!iS(n,12)||(n=Ce),jd(n)||(!t||184===t.kind)&&Ud(e)){if(3&e.flags)return e;var a=e.id+","+n.id,i=ue.get(a);return i||ue.set(a,i=Pd(e,n)),i}var o=Wc(e);if(1048576&n.flags&&!(16&n.flags)){for(var s=[],c=!1,l=0,u=n.types;l=t?be:r}}function Vp(e,n){return e?n?function(t){return sm(e(t),n)}:e:n}function Up(e,n,t){return function(r){return r===e?n:t(r)}}function jp(e){return 262144&e.flags?ve:e}function Kp(e){return e.constraint===be?e:e.restrictiveInstantiation||(e.restrictiveInstantiation=Wa(e.symbol),e.restrictiveInstantiation.constraint=be,e.restrictiveInstantiation)}function Hp(e){return 262144&e.flags?Kp(e):e}function Wp(e){var n=Wa(e.symbol);return n.target=e,n}function qp(e,n){return ll(e.kind,e.parameterName,e.parameterIndex,sm(e.type,n))}function zp(n,t,r){var a;if(n.typeParameters&&!r){a=e.map(n.typeParameters,Wp),t=Vp(Fp(n.typeParameters,a),t);for(var i=0,o=a;i=a,r)})),o=dc(t),s=4&o?0:8&o?Ql(n)-(n.target.hasRestElement?1:0):a,c=em(n.target.readonly,o);return e.contains(i,he)?he:ed(i,s,n.target.hasRestElement,c,n.target.associatedNames)}function rm(e,n,t,r){var a=Vp(r,Fp([ic(e)],[n])),i=sm(sc(e.target||e),a),o=dc(e);return j&&4&o&&!Tm(Ee,i)?c_(i):j&&8&o&&t?Fg(i,524288):i}function am(e,n){var t=Ka(64|e.objectFlags,e.symbol);if(32&e.objectFlags){t.declaration=e.declaration;var r=ic(e),a=Wp(r);t.typeParameter=a,n=Vp(wp(r,a),n),a.mapper=n}return t.target=e,t.mapper=n,t.aliasSymbol=e.aliasSymbol,t.aliasTypeArguments=Op(e.aliasTypeArguments,n),t}function im(n,t){var r=n.root;if(r.outerTypeParameters){var a=e.map(r.outerTypeParameters,t),i=Wl(a),o=r.instantiations.get(i);if(!o){var s=Fp(r.outerTypeParameters,a);o=om(r,s),r.instantiations.set(i,o)}return o}return n}function om(e,n){if(e.isDistributive){var t=e.checkType,r=n(t);if(t!==r&&1179648&r.flags)return py(r,(function(r){return tp(e,Up(t,r,n))}))}return tp(e,n)}function sm(n,t){if(!n||!t||t===I)return n;if(50===S||b>=5e6)return Qt(u,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),he;b++,S++;var r=cm(n,t);return S--,r}function cm(e,n){var t=e.flags;if(262144&t)return n(e);if(524288&t){var r=e.objectFlags;if(16&r)return K_(e)?Xp(e,n):e;if(32&r)return Xp(e,n);if(4&r){if(e.node)return Xp(e,n);var a=e.resolvedTypeArguments,i=Op(a,n);return i!==a?zl(e.target,i):e}return e}if(1048576&t&&!(131068&t)){var o=e.types,s=Op(o,n);return s!==o?dd(s,1,e.aliasSymbol,Op(e.aliasTypeArguments,n)):e}if(2097152&t){o=e.types,s=Op(o,n);return s!==o?Sd(s,e.aliasSymbol,Op(e.aliasTypeArguments,n)):e}if(4194304&t)return Od(sm(e.type,n));if(8388608&t)return Qd(sm(e.objectType,n),sm(e.indexType,n));if(16777216&t)return im(e,Vp(e.mapper,n));if(33554432&t){var c=sm(e.typeVariable,n);if(8650752&c.flags)return iu(c,sm(e.substitute,n));var l=sm(e.substitute,n);return 3&l.flags||Tm(um(c),um(l))?c:l}return e}function lm(e){return 262143&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=sm(e,jp))}function um(e){return 262143&e.flags?e:(e.restrictiveInstantiation||(e.restrictiveInstantiation=sm(e,Hp),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation),e.restrictiveInstantiation)}function dm(e,n){return e&&Bl(sm(e.type,n),e.isReadonly,e.declaration)}function pm(n){switch(e.Debug.assert(160!==n.kind||e.isObjectLiteralMethod(n)),n.kind){case 200:case 201:case 160:case 243:return mm(n);case 192:return e.some(n.properties,pm);case 191:return e.some(n.elements,pm);case 209:return pm(n.whenTrue)||pm(n.whenFalse);case 208:return(56===n.operatorToken.kind||60===n.operatorToken.kind)&&(pm(n.left)||pm(n.right));case 279:return pm(n.initializer);case 199:return pm(n.expression);case 272:return e.some(n.properties,pm)||e.isJsxOpeningElement(n.parent)&&e.some(n.parent.parent.children,pm);case 271:var t=n.initializer;return!!t&&pm(t);case 274:var r=n.expression;return!!r&&pm(r)}return!1}function mm(n){if(e.isFunctionDeclaration(n)&&(!e.isInJSFile(n)||!Wi(n)))return!1;if(n.typeParameters)return!1;if(e.some(n.parameters,(function(n){return!e.getEffectiveTypeAnnotationNode(n)})))return!0;if(201!==n.kind){var t=e.firstOrUndefined(n.parameters);if(!t||!e.parameterIsThisKeyword(t))return!0}return fm(n)}function fm(e){return!!e.body&&222!==e.body.kind&&pm(e.body)}function _m(n){return(e.isInJSFile(n)&&e.isFunctionDeclaration(n)||sh(n)||e.isObjectLiteralMethod(n))&&mm(n)}function gm(n){if(524288&n.flags){var t=gc(n);if(t.constructSignatures.length||t.callSignatures.length){var r=Ka(16,n.symbol);return r.members=t.members,r.properties=t.properties,r.callSignatures=e.emptyArray,r.constructSignatures=e.emptyArray,r}}else if(2097152&n.flags)return Sd(e.map(n.types,gm));return n}function ym(e,n){return nf(e,n,Wt)}function vm(e,n){return nf(e,n,Wt)?-1:0}function hm(e,n){return nf(e,n,Kt)?-1:0}function bm(e,n){return nf(e,n,jt)?-1:0}function Em(e,n){return nf(e,n,jt)}function Tm(e,n){return nf(e,n,Kt)}function Sm(n,t){return 1048576&n.flags?e.every(n.types,(function(e){return Sm(e,t)})):1048576&t.flags?e.some(t.types,(function(e){return Sm(n,e)})):58982400&n.flags?Sm(wc(n)||be,t):t===sn?!!(67633152&n.flags):t===cn?!!(524288&n.flags)&&Rg(n):Mo(n,Oo(t))}function xm(e,n){return nf(e,n,Ht)}function Lm(e,n){return xm(e,n)||xm(n,e)}function Cm(e,n,t,r,a,i){return rf(e,n,Kt,t,r,a,i)}function Am(e,n,t,r,a,i){return Dm(e,n,Kt,t,r,a,i,void 0)}function Dm(e,n,t,r,a,i,o,s){return!!nf(e,n,t)||(!r||!Nm(a,e,n,t,i,o,s))&&rf(e,n,t,r,i,o,s)}function km(n){return!!(16777216&n.flags||2097152&n.flags&&e.some(n.types,km))}function Nm(e,n,t,r,a,i,o){if(!e||km(t))return!1;if(!rf(n,t,r,void 0)&&Im(e,n,t,r,a,i,o))return!0;switch(e.kind){case 274:case 199:return Nm(e.expression,n,t,r,a,i,o);case 208:switch(e.operatorToken.kind){case 62:case 27:return Nm(e.right,n,t,r,a,i,o)}break;case 192:return jm(e,n,t,r,i,o);case 191:return Vm(e,n,t,r,i,o);case 272:return Gm(e,n,t,r,i,o);case 201:return Om(e,n,t,r,i,o)}return!1}function Im(n,t,r,a,i,o,s){for(var c=Qc(t,0),l=Qc(t,1),u=0,d=[l,c];u1,v=uy(_,Vf),h=uy(_,(function(e){return!Vf(e)}));if(y){if(v!==Pe){var b=ed(Mh(d,0)),E=Rm(d,L);u=Mm(E,b,v,a,i,c)||u}else if(!nf(Qd(t,f),_,a)){u=!0;var T=Qt(d.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,m,pi(_));c&&c.skipLogging&&(c.errors||(c.errors=[])).push(T)}}else if(h!==Pe){var S=g[0],x=Pm(S,f,L);x&&(u=Mm(function(){return s(this,(function(e){switch(e.label){case 0:return[4,x];case 1:return e.sent(),[2]}}))}(),t,r,a,i,c)||u)}else if(!nf(Qd(t,f),_,a)){u=!0;T=Qt(d.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,m,pi(_));c&&c.skipLogging&&(c.errors||(c.errors=[])).push(T)}}return u;function L(){if(!l){var t=e.getTextOfNode(n.parent.tagName),a=Uh(Fh(n)),i=void 0===a?"children":e.unescapeLeadingUnderscores(a),s=Qd(r,xp(i)),c=e.Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;l=o(o({},c),{key:"!!ALREADY FORMATTED!!",message:e.formatMessage(void 0,c,t,i,pi(s))})}return l}}function Bm(n,t){var r,a,i,o;return s(this,(function(s){switch(s.label){case 0:if(r=e.length(n.elements),!r)return[2];a=0,s.label=1;case 1:return al)return 0;n.typeParameters&&n.typeParameters!==t.typeParameters&&(t=Ml(t),n=rE(n,t,void 0,c));var u=gT(n),d=bT(n),p=bT(t);if(d&&p&&u!==l)return 0;var m=t.declaration?t.declaration.kind:0,f=!r&&K&&160!==m&&159!==m&&161!==m,_=-1,g=hl(n);if(g&&g!==Re){var y=hl(t);if(y){var v=!f&&c(g,y,!1)||c(y,g,i);if(!v)return i&&o(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;_&=v}}for(var h=d||p?Math.min(u,l):Math.max(u,l),b=d||p?h-1:-1,E=0;E0||$A(n));if(m&&!sf(n,t,u)){if(i){var _=Qc(n,0),g=Qc(n,1);_.length>0&&B(Tl(_[0]),t,!1)||g.length>0&&B(Tl(g[0]),t,!1)?M(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,pi(n),pi(t)):M(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,pi(n),pi(t))}return 0}var y=0,v=N(),b=!!s;if(1048576&n.flags)y=r===Ht?ee(n,t,i&&!(131068&n.flags)):ne(n,t,i&&!(131068&n.flags));else{if(1048576&t.flags){if(y=W(b_(n),t,i&&!(131068&n.flags)&&!(131068&t.flags)),y&&(d||m)){p=Z(n,t)||Q(t);if(!pe(n,p,i,void 0,b))return 0}}else if(2097152&t.flags){if(b=!0,y=$(b_(n),t,i),y&&(d||m)&&!pe(n,t,i,void 0,!1))return 0}else 2097152&n.flags&&(y=ee(n,t,!1));!y&&(66846720&n.flags||66846720&t.flags)&&(y=re(n,t,i,b))&&k(v)}if(!y&&2359296&n.flags){var E=Mc(2097152&n.flags?n.types:[n],!!(1048576&t.flags));E&&(2097152&n.flags||1048576&t.flags)&&ly(E,(function(e){return e!==n}))&&(y=B(E,t,!1,void 0,b))&&k(v)}if(!y&&i){var T=h>0;if(T&&h--,524288&n.flags&&524288&t.flags){var S=l;F(n,t,i),l!==S&&(T=!!l)}if(524288&n.flags&&131068&t.flags)P(n,t);else if(n.symbol&&524288&n.flags&&sn===n)M(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(u&&2097152&t.flags){var x=t.types,C=Rh(L.IntrinsicAttributes,a),A=Rh(L.IntrinsicClassAttributes,a);if(C!==he&&A!==he&&(e.contains(x,C)||e.contains(x,A)))return y}if(!o&&T)return f=[n,t],y;R(o,n,t)}return y}function V(e,n){var t,r=e.flags&n.flags;return 524288&r||8388608&r||16777216&r||4194304&r||33554432&r?re(e,n,!1,!1):3145728&r&&(t=H(e,n))&&(t&=H(n,e))?t:0}function U(n,t,i,o){if(!q&&16384&e.getObjectFlags(t))return!1;if($h(t)){var s=!!(4096&e.getObjectFlags(n));if((r===Kt||r===Ht)&&(oy(sn,t)||!s&&Ym(t)))return!1;if(i)return U(n,i,void 0,o);for(var c=function(r){if(K(r,n.symbol)&&!Zh(t,r.escapedName,s)){if(o){var i=uy(t,$h);if(!a)return{value:e.Debug.fail()};if(e.isJsxAttributes(a)||e.isJsxOpeningLikeElement(a)||e.isJsxOpeningLikeElement(a.parent))r.valueDeclaration&&e.isJsxAttribute(r.valueDeclaration)&&(a=r.valueDeclaration.name),M(e.Diagnostics.Property_0_does_not_exist_on_type_1,ui(r),pi(i));else{var c=n.symbol&&e.firstOrUndefined(n.symbol.declarations),l=void 0;if(r.valueDeclaration&&e.findAncestor(r.valueDeclaration,(function(e){return e===c}))){var u=r.valueDeclaration;e.Debug.assertNode(u,e.isObjectLiteralElementLike),a=u;var d=u.name;e.isIdentifier(d)&&(l=Ab(d,i))}void 0!==l?M(e.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,ui(r),pi(i),l):M(e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,ui(r),pi(i))}}return{value:!0}}},l=0,u=Ec(n);l0||(r=1,Qc(n,r).length>0);if(a)return e.find(t.types,(function(e){return Qc(e,r).length>0}))}function Y(n,t){for(var r,a=0,i=0,o=t.types;i=a&&(r=s,a=l)}else Kf(c)&&1>=a&&(r=s,a=1)}return r}function Q(e){if(aS(e,67108864)){var n=uy(e,(function(e){return!(131068&e.flags)}));if(!(131072&n.flags))return n}return e}function Z(n,t){if(1048576&t.flags&&2621440&n.flags){var r=Ec(n);if(r){var a=Dg(r,t);if(a)return af(t,e.map(a,(function(e){return[function(){return No(e)},e.escapedName]})),B)}}}function $(e,n,t){for(var r=-1,a=n.types,i=0,o=a;i25)return 0}for(var l=new Array(a.length),u=e.createUnderscoreEscapedMap(),d=0;d5?M(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,pi(n),pi(t),e.map(p.slice(0,4),(function(e){return ui(e)})).join(", "),p.length-4):M(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,pi(n),pi(t),e.map(p,(function(e){return ui(e)})).join(", ")),m&&l&&h++)}return 0}if(sg(t))for(var _=0,g=le(Ec(n),s);_0&&e.every(t.properties,(function(e){return!!(16777216&e.flags)}))}return!!(2097152&n.flags)&&e.every(n.types,of)}function sf(e,n,t){for(var r=0,a=Ec(e);r":r+="-"+o.id}return r}function yf(e,n,t,r){if(r===Wt&&e.id>n.id){var a=e;e=n,n=a}var i=t?"&":"";if(_f(e)&&_f(n)){var o=[];return gf(e,o)+","+gf(n,o)+i}return e.id+","+n.id+i}function vf(n,t){if(!(6&e.getCheckFlags(n)))return t(n);for(var r=0,a=n.containingType.types;r=5&&524288&e.flags){var r=e.symbol;if(r)for(var a=0,i=0;i=5))return!0}}if(t>=5&&8388608&e.flags){var s=xf(e);for(a=0,i=0;i=5))return!0}}return!1}function xf(e){var n=e;while(8388608&n.flags)n=n.objectType;return n}function Lf(e,n){return 0!==Cf(e,n,vm)}function Cf(n,t,r){if(n===t)return-1;var a=24&e.getDeclarationModifierFlagsFromSymbol(n),i=24&e.getDeclarationModifierFlagsFromSymbol(t);if(a!==i)return 0;if(a){if(GC(n)!==GC(t))return 0}else if((16777216&n.flags)!==(16777216&t.flags))return 0;return zT(n)!==zT(t)?0:r(No(n),No(t))}function Af(e,n,t){var r=gT(e),a=gT(n),i=yT(e),o=yT(n),s=vT(e),c=vT(n);return r===a&&i===o&&s===c||!!(t&&i<=o)}function Df(n,t,r,a,i,o){if(n===t)return-1;if(!Af(n,t,r))return 0;if(e.length(n.typeParameters)!==e.length(t.typeParameters))return 0;if(t.typeParameters){for(var s=Fp(n.typeParameters,t.typeParameters),c=0;c-1&&(hr(o,o.name.escapedText,788968,void 0,o.name.escapedText,!0)||o.name.originalKeywordKind&&e.isTypeNodeKind(o.name.originalKeywordKind))){var s="arg"+o.parent.parameters.indexOf(o);return void $t(q,n,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,s,e.declarationNameToString(o.name))}i=n.dotDotDotToken?q?e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:q?e.Diagnostics.Parameter_0_implicitly_has_an_1_type:e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 190:if(i=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!q)return;break;case 298:return void Qt(n,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);case 243:case 160:case 159:case 162:case 163:case 200:case 201:if(q&&!n.name)return void Qt(n,1===r?e.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:e.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);i=q?1===r?e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 185:return void(q&&Qt(n,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type));default:i=q?e.Diagnostics.Variable_0_implicitly_has_an_1_type:e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}$t(q,n,i,e.declarationNameToString(e.getNameOfDeclaration(n)),a)}}function I_(n,r,a){t&&q&&262144&e.getObjectFlags(r)&&(k_(r)||N_(n,r,a))}function O_(e,n,t){var r=gT(e),a=gT(n),i=hT(e),o=hT(n),s=o?a-1:a,c=i?s:Math.min(r,s),l=hl(e);if(l){var u=hl(n);u&&t(l,u)}for(var d=0;de.target.minLength||!Zf(n)&&(!!Zf(e)||e_(n)0)for(var x=0,L=t;x1){var t=e.filter(n,cg);if(t.length){var r=dd(t,2);return e.concatenate(e.filter(n,(function(e){return!cg(e)})),[r])}}return n}function ug(e){return 56&e.priority?Sd(e.contraCandidates):Mf(e.contraCandidates)}function dg(n,t){var r=lg(n.candidates),a=og(n.typeParameter),i=!a&&n.topLevel&&(n.isFixed||!W_(Tl(t),n.typeParameter)),o=a?e.sameMap(r,Tp):i?e.sameMap(r,qf):r,s=56&n.priority?dd(o,2):Of(o);return A_(s)}function pg(e,n){var t=e.inferences[n];if(!t.inferredType){var r=void 0,a=e.signature;if(a){var i=t.candidates?dg(t,a):void 0;if(t.contraCandidates){var o=ug(t);r=!i||131072&i.flags||!Em(i,o)?o:i}else if(i)r=i;else if(1&e.flags)r=Fe;else{var s=Vc(t.typeParameter);s&&(r=sm(s,Vp(Bp(e,n),e.nonFixingMapper)))}}else r=tg(t);t.inferredType=r||mg(!!(2&e.flags));var c=Lc(t.typeParameter);if(c){var l=sm(c,e.nonFixingMapper);r&&e.compareTypes(r,ks(l,r))||(t.inferredType=r=l)}}return t.inferredType}function mg(e){return e?ge:be}function fg(e){for(var n=[],t=0;t=0&&t.parameterIndex=r&&c-1){var u=i.filter((function(e){return void 0!==e})),d=c=2||0===(34&t.flags)||e.isSourceFile(t.valueDeclaration)||278===t.valueDeclaration.parent.kind)){var r=e.getEnclosingBlockScopeContainer(t.valueDeclaration),a=$y(n.parent,r),i=r,o=!1;while(i&&!e.nodeStartsNewLexicalEnvironment(i)){if(e.isIterationStatement(i,!1)){o=!0;break}i=i.parent}if(o){if(a){var s=!0;if(e.isForStatement(r)&&e.getAncestor(t.valueDeclaration,242).parent===r){var c=ev(n.parent,r);if(c){var l=fr(c);l.flags|=131072;var u=l.capturedBlockScopeBindings||(l.capturedBlockScopeBindings=[]);e.pushIfUnique(u,t),c===r.initializer&&(s=!1)}}s&&(fr(i).flags|=65536)}229===r.kind&&e.getAncestor(t.valueDeclaration,242).parent===r&&rv(n,r)&&(fr(t.valueDeclaration).flags|=4194304),fr(t.valueDeclaration).flags|=524288}a&&(fr(t.valueDeclaration).flags|=262144)}}function tv(n,t){var r=fr(n);return!!r&&e.contains(r.capturedBlockScopeBindings,Ia(t))}function rv(n,t){var r=n;while(199===r.parent.kind)r=r.parent;var a=!1;if(e.isAssignmentTarget(r))a=!0;else if(206===r.parent.kind||207===r.parent.kind){var i=r.parent;a=45===i.operator||46===i.operator}return!!a&&!!e.findAncestor(r,(function(e){return e===t?"quit":e===t.statement}))}function av(e,n){if(fr(e).flags|=2,158===n.kind||161===n.kind){var t=n.parent;fr(t).flags|=4}else fr(n).flags|=4}function iv(n){return e.isSuperCall(n)?n:e.isFunctionLike(n)?void 0:e.forEachChild(n,iv)}function ov(e){var n=fr(e);return void 0===n.hasSuperCall&&(n.superCall=iv(e.body),n.hasSuperCall=!!n.superCall),n.superCall}function sv(e){var n=Ia(e),t=ss(n),r=Ho(t);return r===Le}function cv(n,t,r){var a=t.parent,i=e.getClassExtendsHeritageElement(a);if(i&&!sv(a)){var o=ov(t);(!o||o.end>n.pos)&&Qt(n,r)}}function lv(n){var t=e.getThisContainer(n,!0),r=!1;switch(161===t.kind&&cv(n,t,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),201===t.kind&&(t=e.getThisContainer(t,!1),r=!0),t.kind){case 248:Qt(n,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 247:Qt(n,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 161:fv(n,t)&&Qt(n,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 158:case 157:e.hasModifier(t,32)&&Qt(n,e.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer);break;case 153:Qt(n,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);break}r&&B<2&&av(n,t);var a=uv(n,!0,t);if(z){var i=No(ee);if(a===i&&r)Qt(n,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!a){var o=Qt(n,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(t)){var s=uv(t);s&&s!==i&&e.addRelatedInfo(o,e.createDiagnosticForNode(t,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return a||ge}function uv(n,t,r){void 0===t&&(t=!0),void 0===r&&(r=e.getThisContainer(n,!1));var a=e.isInJSFile(n);if(e.isFunctionLike(r)&&(!Av(n)||e.getThisParameter(r))){var i=pv(r);if(a&&i){var o=YS(i).symbol;if(o&&o.members&&16&o.flags){var s=ss(o).thisType;return By(n,s)}}else if(a&&(200===r.kind||243===r.kind)&&e.getJSDocClassTag(r)){s=ss(Na(r.symbol)).thisType;return By(n,s)}var c=vo(r)||hv(r);if(c)return By(n,c)}if(e.isClassLike(r.parent)){var l=Ia(r.parent),u=e.hasModifier(r,32)?No(l):ss(l).thisType;return By(n,u)}if(a){u=mv(r);if(u&&u!==he)return By(n,u)}if(e.isSourceFile(r)){if(r.commonJsModuleIndicator){var d=Ia(r);return d&&No(d)}if(t)return No(ee)}}function dv(n){var t=e.getThisContainer(n,!1);if(e.isFunctionLike(t)){var r=pl(t);if(r.thisParameter)return ky(r.thisParameter)}if(e.isClassLike(t.parent)){var a=Ia(t.parent);return e.hasModifier(t,32)?No(a):ss(a).thisType}}function pv(n){return 200===n.kind&&e.isBinaryExpression(n.parent)&&3===e.getAssignmentDeclarationKind(n.parent)?n.parent.left.expression.expression:160===n.kind&&192===n.parent.kind&&e.isBinaryExpression(n.parent.parent)&&6===e.getAssignmentDeclarationKind(n.parent.parent)?n.parent.parent.left.expression:200===n.kind&&279===n.parent.kind&&192===n.parent.parent.kind&&e.isBinaryExpression(n.parent.parent.parent)&&6===e.getAssignmentDeclarationKind(n.parent.parent.parent)?n.parent.parent.parent.left.expression:200===n.kind&&e.isPropertyAssignment(n.parent)&&e.isIdentifier(n.parent.name)&&("value"===n.parent.name.escapedText||"get"===n.parent.name.escapedText||"set"===n.parent.name.escapedText)&&e.isObjectLiteralExpression(n.parent.parent)&&e.isCallExpression(n.parent.parent.parent)&&n.parent.parent.parent.arguments[2]===n.parent.parent&&9===e.getAssignmentDeclarationKind(n.parent.parent.parent)?n.parent.parent.parent.arguments[0].expression:e.isMethodDeclaration(n)&&e.isIdentifier(n.name)&&("value"===n.name.escapedText||"get"===n.name.escapedText||"set"===n.name.escapedText)&&e.isObjectLiteralExpression(n.parent)&&e.isCallExpression(n.parent.parent)&&n.parent.parent.arguments[2]===n.parent&&9===e.getAssignmentDeclarationKind(n.parent.parent)?n.parent.parent.arguments[0].expression:void 0}function mv(n){var t=e.getJSDocType(n);if(t&&298===t.kind){var r=t;if(r.parameters.length>0&&r.parameters[0].name&&"this"===r.parameters[0].name.escapedText)return Np(r.parameters[0].type)}var a=e.getJSDocThisTag(n);if(a&&a.typeExpression)return Np(a.typeExpression)}function fv(n,t){return!!e.findAncestor(n,(function(n){return e.isFunctionLikeDeclaration(n)?"quit":155===n.kind&&n.parent===t}))}function _v(n){var t=195===n.parent.kind&&n.parent.expression===n,r=e.getSuperContainer(n,!0),a=!1;if(!t)while(r&&201===r.kind)r=e.getSuperContainer(r,!0),a=B<2;var i=d(r),o=0;if(!i){var s=e.findAncestor(n,(function(e){return e===r?"quit":153===e.kind}));return s&&153===s.kind?Qt(n,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):t?Qt(n,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):r&&r.parent&&(e.isClassLike(r.parent)||192===r.parent.kind)?Qt(n,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):Qt(n,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),he}if(t||161!==r.kind||cv(n,r,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),o=e.hasModifier(r,32)||t?512:256,fr(n).flags|=o,160===r.kind&&e.hasModifier(r,256)&&(e.isSuperProperty(n.parent)&&e.isAssignmentTarget(n.parent)?fr(r).flags|=4096:fr(r).flags|=2048),a&&av(n.parent,r),192===r.parent.kind)return B<2?(Qt(n,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),he):ge;var c=r.parent;if(!e.getClassExtendsHeritageElement(c))return Qt(n,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),he;var l=ss(Ia(c)),u=l&&Wo(l)[0];return u?161===r.kind&&fv(n,r)?(Qt(n,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),he):512===o?Ho(l):ks(u,l.thisType):he;function d(n){return!!n&&(t?161===n.kind:!(!e.isClassLike(n.parent)&&192!==n.parent.kind)&&(e.hasModifier(n,32)?160===n.kind||159===n.kind||162===n.kind||163===n.kind:160===n.kind||159===n.kind||162===n.kind||163===n.kind||158===n.kind||157===n.kind||161===n.kind))}}function gv(e){return 160!==e.kind&&162!==e.kind&&163!==e.kind||192!==e.parent.kind?200===e.kind&&279===e.parent.kind?e.parent.parent:void 0:e.parent}function yv(n){return 4&e.getObjectFlags(n)&&n.target===yn?Yl(n)[0]:void 0}function vv(n){return py(n,(function(n){return 2097152&n.flags?e.forEach(n.types,yv):yv(n)}))}function hv(n){if(201!==n.kind){if(_m(n)){var t=lh(n);if(t){var r=t.thisParameter;if(r)return No(r)}}var a=e.isInJSFile(n);if(z||a){var i=gv(n);if(i){var o=zv(i),s=i,c=o;while(c){var l=vv(c);if(l)return sm(l,j_(Qv(i)));if(279!==s.parent.kind)break;s=s.parent.parent,c=zv(s)}return A_(o?u_(o):kS(i))}var u=n.parent;if(208===u.kind&&62===u.operatorToken.kind){var d=u.left;if(193===d.kind||194===d.kind){var p=d.expression;if(a&&e.isIdentifier(p)){var m=e.getSourceFileOfNode(u);if(m.commonJsModuleIndicator&&gg(p)===m.symbol)return}return A_(kS(p))}}}}}function bv(n,t){var r=n.parent;if(_m(r)){var a=e.getImmediatelyInvokedFunctionExpression(r);if(a&&a.arguments){var i=fE(a),o=r.parameters.indexOf(n);if(n.dotDotDotToken)return sE(i,o,i.length,ge,void 0);var s=fr(a),c=s.resolvedSignature;s.resolvedSignature=Qn;var l=o=0)return s}return vh(t)&&Pv(n,1)||Pv(n,0)}}),!0)}function Pv(e,n){return py(e,(function(e){return $c(e,n)}),!0)}function Fv(n,t){if(e.Debug.assert(e.isObjectLiteralMethod(n)),!(16777216&n.flags))return Gv(n,t)}function Gv(e,n){var t=e.parent,r=zv(t,n);if(r){if(!Es(e)){var a=Ia(e).escapedName,i=Rv(r,a);if(i)return i}return _h(e.name)&&Pv(r,1)||Pv(r,0)}}function Bv(e,n){return e&&(Rv(e,""+n)||zL(1,e,Ee,void 0,!1))}function Vv(e,n){var t=e.parent;return e===t.whenTrue||e===t.whenFalse?Yv(t,n):void 0}function Uv(e,n){var t=zv(e.openingElement.tagName),r=Uh(Fh(e));if(t&&!Ri(t)&&r&&""!==r){var a=Fm(e.children),i=a.indexOf(n),o=Rv(t,r);return o&&(1===a.length?o:py(o,(function(e){return Ff(e)?Qd(e,xp(i)):e}),!0))}}function jv(n){var t=n.parent;return e.isJsxAttributeLike(t)?Yv(n):e.isJsxElement(t)?Uv(t,n):void 0}function Kv(n){if(e.isJsxAttribute(n)){var t=zv(n.parent);if(!t||Ri(t))return;return Rv(t,n.name.escapedText)}return Yv(n.parent)}function Hv(e){switch(e.kind){case 10:case 8:case 9:case 14:case 105:case 90:case 99:case 75:case 145:return!0;case 193:case 199:return Hv(e.expression);case 274:return!e.expression||Hv(e.expression)}return!1}function Wv(n,t){return af(t,e.map(e.filter(n.properties,(function(e){return!!e.symbol&&279===e.kind&&Hv(e.initializer)&&Cg(t,e.symbol.escapedName)})),(function(e){return[function(){return YS(e.initializer)},e.symbol.escapedName]})),Tm,t)}function qv(n,t){return af(t,e.map(e.filter(n.properties,(function(e){return!!e.symbol&&271===e.kind&&Cg(t,e.symbol.escapedName)&&(!e.initializer||Hv(e.initializer))})),(function(e){return[e.initializer?function(){return YS(e.initializer)}:function(){return Ie},e.symbol.escapedName]})),Tm,t)}function zv(n,t){var r=e.isObjectLiteralMethod(n)?Fv(n,t):Yv(n,t),a=Jv(r,n,t);if(a&&!(t&&2&t&&8650752&a.flags)){var i=py(a,Wc,!0);if(1048576&i.flags){if(e.isObjectLiteralExpression(n))return Wv(n,i);if(e.isJsxAttributes(n))return qv(n,i)}return i}}function Jv(n,t,r){if(n&&aS(n,63176704)){var a=Qv(t);if(a&&e.some(a.inferences,VS)){if(r&&1&r)return Xv(n,a.nonFixingMapper);if(a.returnMapper)return Xv(n,a.returnMapper)}}return n}function Xv(n,t){return 63176704&n.flags?sm(n,t):1048576&n.flags?dd(e.map(n.types,(function(e){return Xv(e,t)})),0):2097152&n.flags?Sd(e.map(n.types,(function(e){return Xv(e,t)}))):n}function Yv(n,t){if(!(16777216&n.flags)){if(n.contextualType)return n.contextualType;var r=n.parent;switch(r.kind){case 241:case 155:case 158:case 157:case 190:return Sv(n);case 201:case 234:return xv(n);case 211:return Cv(r);case 205:return Lv(r);case 195:if(95===r.expression.kind)return Ce;case 196:return Nv(r,n,t);case 198:case 216:return e.isConstTypeReference(r.type)?void 0:Np(r.type);case 208:return Mv(n,t);case 279:case 280:return Gv(r,t);case 281:return zv(r.parent,t);case 191:var a=r,i=zv(a,t);return Bv(i,e.indexOfNode(a.elements,n));case 209:return Vv(n,t);case 220:return e.Debug.assert(210===r.parent.kind),Ov(r.parent,n);case 199:var o=e.isInJSFile(r)?e.getJSDocTypeTag(r):void 0;return o?Np(o.typeExpression.type):Yv(r,t);case 274:return jv(r);case 271:case 273:return Kv(r);case 266:case 265:return Zv(r)}}}function Qv(n){var t=e.findAncestor(n,(function(e){return!!e.inferenceContext}));return t&&t.inferenceContext}function Zv(n){return e.isJsxOpeningElement(n)&&n.parent.contextualType?n.parent.contextualType:Iv(n,0)}function $v(e,n){return 0!==lE(n)?eh(e,n):ah(e,n)}function eh(e,n){var t=TT(e,be);t=rh(n,Fh(n),t);var r=Rh(L.IntrinsicAttributes,n);return r!==he&&(t=Js(r,t)),t}function nh(e,n){if(e.unionSignatures){for(var t=[],r=0,a=e.unionSignatures;r=2){var s=dl([o,r],i.typeParameters,2,e.isInJSFile(n));return zl(i,s)}if(e.length(i.aliasTypeArguments)>=2){s=dl([o,r],i.aliasTypeArguments,2,e.isInJSFile(n));return $l(i.aliasSymbol,s)}}return r}function ah(n,t){var r=Fh(t),a=Vh(r),i=void 0===a?TT(n,be):""===a?Tl(n):nh(n,a);if(!i)return a&&e.length(t.attributes.properties)&&Qt(t,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(a)),be;if(i=rh(t,r,i),Ri(i))return i;var o=i,s=Rh(L.IntrinsicClassAttributes,t);if(s!==he){var c=Fo(s.symbol),l=Tl(n);o=Js(c?zl(s,dl([l],c,ul(c),e.isInJSFile(t))):s,o)}var u=Rh(L.IntrinsicAttributes,t);return u!==he&&(o=Js(u,o)),o}function ih(e,n){var t=Qc(e,0);if(1===t.length){var r=t[0];if(!oh(r,n))return r}}function oh(n,t){for(var r=0;r0&&212===a[i-1].kind,v=i-(y?1:0),h=void 0;if(c&&v>0){g=Jl(ed(s,v,y));return g.pattern=n,g}if(h=fh(s,l,y,i,u))return mh(h);if(r)return mh(ed(s,v,y))}return mh(zu(s.length?dd(s,2):j?Be:Te,u))}function mh(n){if(!(4&e.getObjectFlags(n)))return n;var t=n.literalType;return t||(t=n.literalType=Jl(n),t.objectFlags|=589824),t}function fh(e,n,t,r,a){if(void 0===r&&(r=e.length),void 0===a&&(a=!1),a||n&&cy(n,Bf))return ed(e,r-(t?1:0),t,a)}function _h(e){switch(e.kind){case 153:return gh(e);case 75:return vh(e.escapedText);case 8:case 10:return vh(e.text);default:return!1}}function gh(e){return iS(hh(e),296)}function yh(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e}function vh(e){return(+e).toString()===e}function hh(n){var t=fr(n.expression);return t.resolvedType||(t.resolvedType=YS(n.expression),98304&t.resolvedType.flags||!iS(t.resolvedType,12716)&&!Tm(t.resolvedType,je)?Qt(n,e.Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any):Hb(n.expression,t.resolvedType,!0)),t.resolvedType}function bh(e,n,t,r){for(var a=[],i=0;i0&&(o=gp(o,I(),n.symbol,f,l),i=[],r=e.createSymbolTable(),g=!1,y=!1);S=YS(b.expression);if(!Sh(S))return Qt(b,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),he;o=gp(o,S,n.symbol,f,l),v=h+1;continue}e.Debug.assert(162===b.kind||163===b.kind),hA(b)}!T||8576&T.flags?r.set(E.escapedName,E):Tm(T,je)&&(Tm(T,Ae)?y=!0:g=!0,a&&(_=!0)),i.push(E)}if(c)for(var k=0,N=Ec(s);k0&&(o=gp(o,I(),n.symbol,f,l)),o):I();function I(){var t=g?bh(n,v,i,0):void 0,o=y?bh(n,v,i,1):void 0,s=Xa(n.symbol,r,e.emptyArray,e.emptyArray,t,o);return s.objectFlags|=524416|f,m&&(s.objectFlags|=16384),_&&(s.objectFlags|=512),a&&(s.pattern=n),s}}function Sh(n){if(63176704&n.flags){var t=wc(n);if(void 0!==t)return Sh(t)}return!!(126615553&n.flags||117632&r_(n)&&Sh(a_(n))||3145728&n.flags&&e.every(n.types,Sh))}function xh(e){Qh(e)}function Lh(e,n){return hA(e),zh(e)||ge}function Ch(e){Qh(e.openingElement),Nh(e.closingElement.tagName)?Ph(e.closingElement):YS(e.closingElement.tagName),Mh(e)}function Ah(e,n){return hA(e),zh(e)||ge}function Dh(n){return Qh(n.openingFragment),2===G.jsx&&(G.jsxFactory||e.getSourceFileOfNode(n).pragmas.has("jsx"))&&Qt(n,G.jsxFactory?e.Diagnostics.JSX_fragment_is_not_supported_when_using_jsxFactory:e.Diagnostics.JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma),Mh(n),zh(n)||ge}function kh(n){return!e.stringContains(n,"-")}function Nh(n){return 75===n.kind&&e.isIntrinsicJsxName(n.escapedText)}function Ih(e,n){return e.initializer?RS(e.initializer,n):Ie}function Oh(n,t){for(var r,a=n.attributes,i=e.createSymbolTable(),o=qe,s=!1,c=!1,l=4096,u=Uh(Fh(n)),d=0,p=a.properties;d0&&(o=gp(o,S(),a.symbol,l,!1),i=e.createSymbolTable());_=kS(m.expression,t);Ri(_)&&(s=!0),Sh(_)?o=gp(o,_,a.symbol,l,!1):r=r?Sd([r,_]):_}}s||i.size>0&&(o=gp(o,S(),a.symbol,l,!1));var y=264===n.parent.kind?n.parent:void 0;if(y&&y.openingElement===n&&y.children.length>0){var v=Mh(y,t);if(!s&&u&&""!==u){c&&Qt(a,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(u));var h=zv(n.attributes),b=h&&Rv(h,u),E=nr(33554436,u);E.type=1===v.length?v[0]:fh(v,b,!1)||zu(dd(v)),E.valueDeclaration=e.createPropertySignature(void 0,e.unescapeLeadingUnderscores(u),void 0,void 0,void 0),E.valueDeclaration.parent=a,E.valueDeclaration.symbol=E;var T=e.createSymbolTable();T.set(u,E),o=gp(o,Xa(a.symbol,T,e.emptyArray,e.emptyArray,void 0,void 0),a.symbol,l,!1)}}return s?ge:r&&o!==qe?Sd([r,o]):r||(o===qe?S():o);function S(){l|=X;var n=Xa(a.symbol,i,e.emptyArray,e.emptyArray,void 0,void 0);return n.objectFlags|=524416|l,n}}function Mh(e,n){for(var t=[],r=0,a=e.children;r1&&Qt(r.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(n))}}function Bh(e){return e&&gr(e.exports,L.LibraryManagedAttributes,788968)}function Vh(e){return Gh(L.ElementAttributesPropertyNameContainer,e)}function Uh(e){return Gh(L.ElementChildrenAttributeNameContainer,e)}function jh(n,t){if(4&n.flags)return[Qn];if(128&n.flags){var r=Kh(n,t);if(r){var a=KE(t,r);return[a]}return Qt(t,e.Diagnostics.Property_0_does_not_exist_on_type_1,n.value,"JSX."+L.IntrinsicElements),e.emptyArray}var i=Wc(n),o=Qc(i,1);return 0===o.length&&(o=Qc(i,0)),0===o.length&&1048576&i.flags&&(o=js(e.map(i.types,(function(e){return jh(e,t)})))),o}function Kh(n,t){var r=Rh(L.IntrinsicElements,t);if(r!==he){var a=n.value,i=Xc(r,e.escapeLeadingUnderscores(a));if(i)return No(i);var o=nl(r,0);return o||void 0}return ge}function Hh(n,t,r){if(1===n){var a=Jh(r);a&&rf(t,a,Kt,r,e.Diagnostics.JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements)}else if(0===n){var i=qh(r);i&&rf(t,i,Kt,r,e.Diagnostics.JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements)}else{a=Jh(r),i=qh(r);if(!a||!i)return;var o=dd([a,i]);rf(t,o,Kt,r,e.Diagnostics.JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements)}}function Wh(n){e.Debug.assert(Nh(n.tagName));var t=fr(n);if(!t.resolvedJsxElementAttributesType){var r=Ph(n);return 1&t.jsxFlags?t.resolvedJsxElementAttributesType=No(r):2&t.jsxFlags?t.resolvedJsxElementAttributesType=Vl(r,0).type:t.resolvedJsxElementAttributesType=he}return t.resolvedJsxElementAttributesType}function qh(e){var n=Rh(L.ElementClass,e);if(n!==he)return n}function zh(e){return Rh(L.Element,e)}function Jh(e){var n=zh(e);if(n)return dd([n,xe])}function Xh(n){var t=Rh(L.IntrinsicElements,n);return t?Ec(t):e.emptyArray}function Yh(n){0===(G.jsx||0)&&Qt(n,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),void 0===zh(n)&&q&&Qt(n,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function Qh(n){var t=e.isJsxOpeningLikeElement(n);t&&bk(n),Yh(n);var r=Gt&&2===G.jsx?e.Diagnostics.Cannot_find_name_0:void 0,a=Jt(n),i=t?n.tagName:n,o=hr(i,a,111551,r,a,!0);if(o&&(o.isReferenced=67108863,2097152&o.flags&&ia(o)),t){var s=zE(n);Hh(lE(n),Tl(s),n)}}function Zh(e,n,t){if(524288&e.flags){var r=gc(e);if(r.stringIndexInfo||r.numberIndexInfo&&vh(n)||vc(e,n)||t&&!kh(n))return!0}else if(3145728&e.flags&&$h(e))for(var a=0,i=e.types;a=0)return d>=yT(r)&&(vT(r)||ds)return!1;if(o||i>=c)return!0;for(var p=i;p=a&&t.length<=r}function eE(e){return tE(e,0,!1)}function nE(e){return tE(e,0,!1)||tE(e,1,!1)}function tE(e,n,t){if(524288&e.flags){var r=gc(e);if(t||0===r.properties.length&&!r.stringIndexInfo&&!r.numberIndexInfo){if(0===n&&1===r.callSignatures.length&&0===r.constructSignatures.length)return r.callSignatures[0];if(1===n&&1===r.constructSignatures.length&&0===r.callSignatures.length)return r.constructSignatures[0]}}}function rE(n,t,r,a){var i=w_(n.typeParameters,n,0,a),o=hT(t),s=r&&(o&&262144&o.flags?r.nonFixingMapper:r.mapper),c=s?zp(t,s):t;return O_(c,n,(function(e,n){rg(i.inferences,e,n)})),r||M_(t,n,(function(e,n){rg(i.inferences,e,n,16)})),Al(n,fg(i),e.isInJSFile(t.declaration))}function aE(e,n,t,r){var a=$v(n,e),i=DS(e.attributes,a,r,t);return rg(r.inferences,i,a),fg(r)}function iE(n,t,r,a,i){if(e.isJsxOpeningLikeElement(n))return aE(n,t,a,i);if(156!==n.kind){var o=Yv(n);if(o){var s=Qv(n),c=j_(R_(s,1)),l=sm(o,c),u=eE(l),d=u&&u.typeParameters?Pl(Dl(u,u.typeParameters)):l,p=Tl(t);rg(i.inferences,d,p,16);var m=w_(t.typeParameters,t,i.flags),f=sm(o,s&&s.returnMapper);rg(m.inferences,f,p),i.returnMapper=e.some(m.inferences,VS)?j_(U_(m)):void 0}}var _=hl(t);if(_){var g=pE(n),y=g?YS(g):Re;rg(i.inferences,y,_)}for(var v=bT(t),h=v?Math.min(gT(t)-1,r.length):r.length,b=0;b=r-1){var o=n[r-1];if(Xb(o))return 219===o.kind?zu(o.type):oE(DS(o.expression,a,i,0))}for(var s=[],c=-1,l=t;l0||e.isJsxOpeningElement(n)&&n.parent.children.length>0?[n.attributes]:e.emptyArray;var a=n.arguments||e.emptyArray,i=a.length;if(i&&Xb(a[i-1])&&Yb(a)===i-1){var o=a[i-1],s=pt?YS(o.expression):kS(o.expression);if(Qf(s)){var c=Yl(s),l=s.target.hasRestElement?c.length-1:-1,u=e.map(c,(function(e,n){return mE(o,e,n===l)}));return e.concatenate(a.slice(0,i-1),u)}}return a}function _E(n){var t=n.parent,r=n.expression;switch(t.kind){case 244:case 213:return[mE(r,No(Ia(t)))];case 155:var a=t.parent;return[mE(r,161===t.parent.kind?No(Ia(a)):he),mE(r,ge),mE(r,Ae)];case 158:case 160:case 162:case 163:var i=158!==t.kind&&0!==B;return[mE(r,YA(t)),mE(r,QA(t)),mE(r,i?Wu(qA(t)):ge)]}return e.Debug.fail()}function gE(n,t){switch(n.parent.kind){case 244:case 213:return 1;case 158:return 2;case 160:case 162:case 163:return 0===B||t.parameters.length<=2?2:3;case 155:return 3;default:return e.Debug.fail()}}function yE(n,t){var r,a,i=e.getSourceFileOfNode(n);if(e.isPropertyAccessExpression(n.expression)){var o=e.getErrorSpanForNode(i,n.expression.name);r=o.start,a=t?o.length:n.end-r}else{var s=e.getErrorSpanForNode(i,n.expression);r=s.start,a=t?s.length:n.end-r}return{start:r,length:a,sourceFile:i}}function vE(n,t,r,a,i,o){if(e.isCallExpression(n)){var s=yE(n),c=s.sourceFile,l=s.start,u=s.length;return e.createFileDiagnostic(c,l,u,t,r,a,i,o)}return e.createDiagnosticForNode(n,t,r,a,i,o)}function hE(n,t,r){for(var a,i=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY,c=Number.POSITIVE_INFINITY,l=r.length,u=0,d=t;us&&(s=m),l-1;l<=o&&h&&l--;var b=y||h?y&&h?e.Diagnostics.Expected_at_least_0_arguments_but_got_1_or_more:y?e.Diagnostics.Expected_at_least_0_arguments_but_got_1:e.Diagnostics.Expected_0_arguments_but_got_1_or_more:e.Diagnostics.Expected_0_arguments_but_got_1;if(a&&yT(a)>l&&a.declaration){var E=a.declaration.parameters[a.thisParameter?l+1:l];E&&(g=e.createDiagnosticForNode(E,e.isBindingPattern(E.name)?e.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:e.Diagnostics.An_argument_for_0_was_not_provided,E.name?e.isBindingPattern(E.name)?void 0:e.idText(e.getFirstIdentifier(E.name)):l))}if(il&&S?r.indexOf(S):Math.min(o,r.length-1)))}}else _=e.createNodeArray(r.slice(o));_.pos=e.first(_).pos,_.end=e.last(_).end,_.end===_.pos&&_.end++;var x=e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),_,b,v,l);return g?e.addRelatedInfo(x,g):x}function bE(n,t,r){var a=r.length;if(1===t.length){var i=t[0],o=ul(i.typeParameters),s=e.length(i.typeParameters);return e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),r,e.Diagnostics.Expected_0_type_arguments_but_got_1,oa?l=Math.min(l,p):s1&&(y=W(m,jt,E)),y||(y=W(m,Kt,E)),y)return y;if(p)if(f)if(1===f.length||f.length>3){var T,S=f[f.length-1];f.length>3&&(T=e.chainDiagnosticMessages(T,e.Diagnostics.The_last_overload_gave_the_following_error),T=e.chainDiagnosticMessages(T,e.Diagnostics.No_overload_matches_this_call));var x=dE(n,v,S,Kt,0,!0,(function(){return T}));if(x)for(var L=0,C=x;L3&&e.addRelatedInfo(A,e.createDiagnosticForNode(S.declaration,e.Diagnostics.The_last_overload_is_declared_here)),Gt.add(A)}else e.Debug.fail("No error for last overload signature")}else{for(var D=[],k=0,N=Number.MAX_VALUE,I=0,O=0,M=function(t){var r=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,O+1,m.length,di(t))},a=dE(n,v,t,Kt,0,!0,r);a?(a.length<=N&&(N=a.length,I=O),k=Math.max(k,a.length),D.push(a)):e.Debug.fail("No error for 3 or fewer overload signatures"),O++},w=0,R=f;w1?D[I]:e.flatten(D);e.Debug.assert(F.length>0,"No errors reported for 3 or fewer overload signatures");var G=e.chainDiagnosticMessages(e.map(F,(function(e){return"string"===typeof e.messageText?e:e.messageText})),e.Diagnostics.No_overload_matches_this_call),B=e.flatMap(F,(function(e){return e.relatedInformation}));if(e.every(F,(function(e){return e.start===F[0].start&&e.length===F[0].length&&e.file===F[0].file}))){var V=F[0],U=V.file,j=V.start,K=V.length;Gt.add({file:U,start:j,length:K,code:G.code,category:G.category,messageText:G,relatedInformation:B})}else Gt.add(e.createDiagnosticForNodeFromMessageChain(n,G,B))}else if(_)Gt.add(hE(n,[_],v));else if(g)cE(g,n.typeArguments,!0,s);else{var H=e.filter(r,(function(e){return $b(e,c)}));0===H.length?Gt.add(bE(n,r,c)):u?s&&Gt.add(vE(n,s)):Gt.add(hE(n,H,v))}return t||!v?zb(n):TE(n,m,v,!!a);function W(t,r,a){if(void 0===a&&(a=!1),f=void 0,_=void 0,g=void 0,h){var i=t[0];if(c||!Zb(n,v,i,a))return;return dE(n,v,i,r,0,!1,void 0)?void(f=[i]):i}for(var o=0;o0),a||1===t.length||t.some((function(e){return!!e.typeParameters}))?AE(n,t,r):SE(t)}function SE(n){var t,r=e.mapDefined(n,(function(e){return e.thisParameter}));r.length&&(t=LE(r,r.map(dT)));for(var a=e.minAndMax(n,xE),i=a.min,o=a.max,s=[],c=function(t){var r=e.mapDefined(n,(function(n){return P(n)?tn.length)r.pop();while(r.length=n)return a;o>r&&(r=o,t=a)}return t}function IE(n,t,r){if(101===n.expression.kind){var a=_v(n.expression);if(Ri(a)){for(var i=0,o=n.arguments;i=0&&Qt(n.arguments[a],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var i=ob(n.expression);if(i===Fe)return et;if(i=Wc(i),i===he)return zb(n);if(Ri(i))return n.typeArguments&&Qt(n,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),qb(n);var o=Qc(i,1);if(o.length){if(!PE(n,o[0]))return zb(n);var s=i.symbol&&e.getClassLikeDeclarationOfSymbol(i.symbol);return s&&e.hasModifier(s,128)?(Qt(n,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),zb(n)):EE(n,o,t,r,0)}var c=Qc(i,0);if(c.length){var l=EE(n,c,t,r,0);return q||(l.declaration&&!JE(l.declaration)&&Tl(l)!==Re&&Qt(n,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),hl(l)===Re&&Qt(n,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),l}return GE(n.expression,i,1),zb(n)}function RE(n,t){var r=Wo(t);if(!e.length(r))return!1;var a=r[0];if(2097152&a.flags){for(var i=a.types,o=Qs(i),s=0,c=0,l=a.types;c0;if(1048576&n.flags){for(var s=n.types,c=!1,l=0,u=s;l0)return e.parameters.length-1+t}}return e.minArgumentCount}function vT(e){if(P(e)){var n=No(e.parameters[e.parameters.length-1]);return!Qf(n)||n.target.hasRestElement}return!1}function hT(e){if(P(e)){var n=No(e.parameters[e.parameters.length-1]);return Qf(n)?$f(n):n}}function bT(e){var n=hT(e);return!n||wf(n)||Ri(n)?void 0:n}function ET(e){return TT(e,Pe)}function TT(e,n){return e.parameters.length>0?mT(e,0):n}function ST(n,t,r){for(var a=n.parameters.length-(P(n)?1:0),i=0;i0&&(r=dd(u,2)):l=Pe;var d=OT(n,t),p=d.yieldTypes,m=d.nextTypes;a=e.some(p)?dd(p,2):void 0,i=e.some(m)?Sd(m):void 0}else{var f=GT(n,t);if(!f)return 2&o?kT(n,Pe):Pe;if(0===f.length)return 2&o?kT(n,Re):Re;r=dd(f,2)}if(r||a||i){var _=ch(n);if(_||(a&&I_(n,a,1),r&&I_(n,r),i&&I_(n,i)),r&&Kf(r)||a&&Kf(a)||i&&Kf(i)){var g=_?_===pl(n)?c?void 0:r:Jv(Tl(_),n):void 0;c?(a=Yf(a,g,0,s),r=Yf(r,g,1,s),i=Yf(i,g,2,s)):r=Xf(r,g,s)}a&&(a=A_(a)),r&&(r=A_(r)),i&&(i=A_(i))}return c?IT(a||Pe,r||l,i||Dv(2,n)||be,s):s?AT(r||l):r||l}function IT(e,n,t,r){var a=r?st:ct,i=a.getGlobalGeneratorType(!1);if(e=a.resolveIterationType(e,void 0)||be,n=a.resolveIterationType(n,void 0)||be,t=a.resolveIterationType(t,void 0)||be,i===Xe){var o=a.getGlobalIterableIteratorType(!1),s=o!==Xe?nC(o,a):void 0,c=s?s.returnType:ge,l=s?s.nextType:Ee;return Tm(n,c)&&Tm(l,t)?o!==Xe?Hu(o,[e]):(a.getGlobalIterableIteratorType(!0),We):(a.getGlobalGeneratorType(!0),We)}return Hu(i,[e,n,t])}function OT(n,t){var r=[],a=[],i=0!==(2&e.getFunctionFlags(n));return e.forEachYieldExpression(n.body,(function(n){var o,s=n.expression?YS(n.expression,t):Te;if(e.pushIfUnique(r,MT(n,s,ge,i)),n.asteriskToken){var c=QL(s,i?19:17,n.expression);o=c&&c.nextType}else o=Yv(n);o&&e.pushIfUnique(a,o)})),{yieldTypes:r,nextTypes:a}}function MT(n,t,r,a){var i=n.expression||n,o=n.asteriskToken?qL(a?19:17,t,r,i):t;return a?Ux(o,i,n.asteriskToken?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:e.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):o}function wT(e,n,t,r){var a=0;if(r){for(var i=n;i1&&n.charCodeAt(t-1)>=48&&n.charCodeAt(t-1)<=57)t--;for(var r=n.slice(0,t),a=1;1;a++){var i=r+a;if(!HS(e,i))return i}}function qS(e){var n=eE(e);if(n&&!n.typeParameters)return Tl(n)}function zS(e){var n=YS(e.expression),t=__(n,e.expression),r=qS(n);return r&&f_(r,e,t!==n)}function JS(n,t){var r=e.skipParentheses(n);if(!e.isCallExpression(r)||101===r.expression.kind||e.isRequireCall(r,!0)||$E(r)){if(e.isAssertionExpression(r)&&!e.isConstTypeReference(r.type))return Np(r.type)}else{var a=e.isCallChain(r)?zS(r):qS(ob(r.expression));if(a)return a}return t?kS(n):YS(n)}function XS(e){var n=fr(e);if(n.contextFreeType)return n.contextFreeType;var t=e.contextualType;e.contextualType=ge;var r=n.contextFreeType=YS(e,4);return e.contextualType=t,r}function YS(e,n,t){var r=u;u=e,b=0;var a=$S(e,n,t),i=GS(e,a,n);return sS(i)&&QS(e,i),u=r,i}function QS(n,t){var r=193===n.parent.kind&&n.parent.expression===n||194===n.parent.kind&&n.parent.expression===n||(75===n.kind||152===n.kind)&&BA(n)||171===n.parent.kind&&n.parent.exprName===n||261===n.parent.kind;if(r||Qt(n,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_or_type_query),G.isolatedModules){e.Debug.assert(!!(128&t.symbol.flags));var a=t.symbol.valueDeclaration;8388608&a.flags&&Qt(n,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}function ZS(n,t){var r=e.isInJSFile(n)?e.getJSDocTypeTag(n):void 0;return r?oT(r,r.typeExpression.type,n.expression,t):YS(n.expression,t)}function $S(n,t,a){var i=n.kind;if(r)switch(i){case 213:case 200:case 201:r.throwIfCancellationRequested()}switch(i){case 75:return Zy(n);case 103:return lv(n);case 101:return _v(n);case 99:return Le;case 14:case 10:return Ep(xp(n.text));case 8:return $k(n),Ep(xp(+n.text));case 9:return nN(n),Ep(Dd(n));case 105:return Ie;case 90:return ke;case 210:return CS(n);case 13:return gn;case 191:return ph(n,t,a);case 192:return Th(n,t);case 193:return fb(n);case 152:return gb(n);case 194:return Ub(n);case 195:if(95===n.expression.kind)return eT(n);case 196:return ZE(n,t);case 197:return rT(n);case 199:return ZS(n,t);case 213:return OC(n);case 200:case 201:return UT(n,t);case 203:return ZT(n);case 198:case 216:return aT(n);case 217:return sT(n);case 218:return cT(n);case 202:return QT(n);case 204:return $T(n);case 205:return eS(n);case 206:return nS(n);case 207:return tS(n);case 208:return hS(n,t);case 209:return LS(n,t);case 212:return uh(n,t);case 214:return Te;case 211:return xS(n);case 219:return n.type;case 274:return eb(n,t);case 264:return Ah(n,t);case 265:return Lh(n,t);case 268:return Dh(n);case 272:return wh(n,t);case 266:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return he}function ex(n){n.expression&&Kk(n.expression,e.Diagnostics.Type_expected),fA(n.constraint),fA(n.default);var r=is(Ia(n));wc(r),Uc(r)||Qt(n.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,pi(r));var a=Lc(r),i=Vc(r);a&&i&&Cm(i,ks(sm(a,wp(r,i)),i),n.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),t&&CC(n.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function nx(n){KD(n),kL(n);var t=e.getContainingFunction(n);e.hasModifier(n,92)&&(161===t.kind&&e.nodeIsPresent(t.body)||Qt(n,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)),n.questionToken&&e.isBindingPattern(n.name)&&t.body&&Qt(n,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),n.name&&e.isIdentifier(n.name)&&("this"===n.name.escapedText||"new"===n.name.escapedText)&&(0!==t.parameters.indexOf(n)&&Qt(n,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,n.name.escapedText),161!==t.kind&&165!==t.kind&&170!==t.kind||Qt(n,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),201===t.kind&&Qt(n,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter)),!n.dotDotDotToken||e.isBindingPattern(n.name)||Tm(No(n.symbol),bn)||Qt(n,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function tx(n){var t=rx(n);if(t){var r=pl(t),a=bl(r);if(a){fA(n.type);var i=n.parameterName;if(0===a.kind||2===a.kind)kp(i);else if(a.parameterIndex>=0){if(P(r)&&a.parameterIndex===r.parameters.length-1)Qt(i,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else if(a.type){var o=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)};Cm(a.type,No(r.parameters[a.parameterIndex]),n.type,void 0,o)}}else if(i){for(var s=!1,c=0,l=t.parameters;c0&&t.declarations[0]!==n)return}var r=Fl(Ia(n));if(r)for(var a=!1,i=!1,o=0,s=r.declarations;o=0)return void(t&&Qt(t,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));Ft.push(n.id);var d=Ux(u,t,r,a);if(Ft.pop(),!d)return;return i.awaitedTypeOfType=d}var p=Mi(n,"then");if(!(p&&Qc(p,0).length>0))return i.awaitedTypeOfType=n;if(t){if(!r)return e.Debug.fail();Qt(t,r,a)}}function jx(n,t){var r=Np(t);if(B>=2){if(r===he)return;var a=Cu(!0);if(a!==Xe&&!Io(r,a))return void Qt(t,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type)}else{if(Hx(t),r===he)return;var i=e.getEntityNameFromTypeNode(t);if(void 0===i)return void Qt(t,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,pi(r));var o=ca(i,111551,!0),s=o?No(o):he;if(s===he)return void(75===i.kind&&"Promise"===i.escapedText&&Oo(r)===Cu(!1)?Qt(t,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):Qt(t,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(i)));var c=ku(!0);if(c===We)return void Qt(t,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(i));if(!Cm(s,c,t,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;var l=i&&e.getFirstIdentifier(i),u=gr(n.locals,l.escapedText,111551);if(u)return void Qt(u.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(l),e.entityNameToString(i))}Vx(r,n,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function Kx(n){var t=zE(n),r=Tl(t);if(!(1&r.flags)){var a,i,o=UE(n);switch(n.parent.kind){case 244:var s=Ia(n.parent),c=No(s);a=dd([c,Re]);break;case 155:a=Re,i=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 158:a=Re,i=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 160:case 162:case 163:var l=qA(n.parent),u=Wu(l);a=dd([u,Re]);break;default:return e.Debug.fail()}Cm(r,a,n,o,(function(){return i}))}}function Hx(n){Wx(n&&e.getEntityNameFromTypeNode(n))}function Wx(n){if(n){var t=e.getFirstIdentifier(n),r=2097152|(75===n.kind?788968:1920),a=hr(t,t.escapedText,r,void 0,void 0,!0);a&&2097152&a.flags&&Ga(a)&&!_D(ra(a))&&ia(a)}}function qx(n){var t=zx(n);t&&e.isEntityName(t)&&Wx(t)}function zx(e){if(e)switch(e.kind){case 178:case 177:return Jx(e.types);case 179:return Jx([e.trueType,e.falseType]);case 181:return zx(e.type);case 168:return e.typeName}}function Jx(n){for(var t,r=0,a=n;r-1&&r0),r.length>1&&Qt(r[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var a=aL(n.class.expression),i=e.getClassExtendsHeritageElement(t);if(i){var o=aL(i.expression);o&&a.escapedText!==o.escapedText&&Qt(a,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(n.tagName),e.idText(a),e.idText(o))}}else Qt(t,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(n.tagName))}function aL(e){switch(e.kind){case 75:return e;case 193:return e.name;default:return}}function iL(n){Yx(n),ix(n);var r=e.getFunctionFlags(n);if(n.name&&153===n.name.kind&&hh(n.name),!Es(n)){var a=Ia(n),i=n.localSymbol||a,o=e.find(i.declarations,(function(e){return e.kind===n.kind&&!(131072&e.flags)}));n===o&&Px(i),a.parent&&e.getDeclarationOfKind(a,n.kind)===n&&Px(a)}var s=159===n.kind?void 0:n.body;if(fA(s),VT(n,Sl(n)),t&&!e.getEffectiveReturnTypeNode(n)&&(e.nodeIsMissing(s)&&!wx(n)&&N_(n,ge),1&r&&e.nodeIsPresent(s)&&Tl(pl(n))),e.isInJSFile(n)){var c=e.getJSDocTypeTag(n);c&&c.typeExpression&&!ih(Np(c.typeExpression),n)&&Qt(c,e.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}function oL(n){if(t&&!(8388608&n.flags)){var r=e.getSourceFileOfNode(n),a=ut.get(r.path);a||(a=[],ut.set(r.path,a)),a.push(n)}}function sL(n,t){for(var r=0,a=n;r=2||G.noEmit||!e.hasRestParameter(n)||8388608&n.flags||e.nodeIsMissing(n.body)||e.forEach(n.parameters,(function(n){n.name&&!e.isBindingPattern(n.name)&&n.name.escapedText===te.escapedName&&Qt(n,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}))}function TL(n,t,r){if(!t||t.escapedText!==r)return!1;if(158===n.kind||157===n.kind||160===n.kind||159===n.kind||162===n.kind||163===n.kind)return!1;if(8388608&n.flags)return!1;var a=e.getRootDeclaration(n);return 155!==a.kind||!e.nodeIsMissing(a.parent.body)}function SL(n){e.findAncestor(n,(function(t){if(4&TD(t)){var r=75!==n.kind;return r?Qt(e.getNameOfDeclaration(n),e.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):Qt(n,e.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0}return!1}))}function xL(n){e.findAncestor(n,(function(t){if(8&TD(t)){var r=75!==n.kind;return r?Qt(e.getNameOfDeclaration(n),e.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):Qt(n,e.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0}return!1}))}function LL(n,t){if(!(V>=e.ModuleKind.ES2015||G.noEmit)&&(TL(n,t,"require")||TL(n,t,"exports"))&&(!e.isModuleDeclaration(n)||1===e.getModuleInstanceState(n))){var r=Ii(n);288===r.kind&&e.isExternalOrCommonJsModule(r)&&Qt(t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(t),e.declarationNameToString(t))}}function CL(n,t){if(!(B>=4||G.noEmit)&&TL(n,t,"Promise")&&(!e.isModuleDeclaration(n)||1===e.getModuleInstanceState(n))){var r=Ii(n);288===r.kind&&e.isExternalOrCommonJsModule(r)&&2048&r.flags&&Qt(t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(t),e.declarationNameToString(t))}}function AL(n){if(0===(3&e.getCombinedNodeFlags(n))&&!e.isParameterDeclaration(n)&&(241!==n.kind||n.initializer)){var t=Ia(n);if(1&t.flags){if(!e.isIdentifier(n.name))return e.Debug.fail();var r=hr(n,n.name.escapedText,3,void 0,void 0,!1);if(r&&r!==t&&2&r.flags&&3&nb(r)){var a=e.getAncestor(r.valueDeclaration,242),i=224===a.parent.kind&&a.parent.parent?a.parent.parent:void 0,o=i&&(222===i.kind&&e.isFunctionLike(i.parent)||249===i.kind||248===i.kind||288===i.kind);if(!o){var s=ui(r);Qt(n,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,s,s)}}}}}function DL(e){return e===ye?ge:e===hn?vn:e}function kL(n){if(Yx(n),e.isBindingElement(n)||fA(n.type),n.name){if(153===n.name.kind&&(hh(n.name),n.initializer&&kS(n.initializer)),190===n.kind){188===n.parent.kind&&B<99&&VD(n,4),n.propertyName&&153===n.propertyName.kind&&hh(n.propertyName);var t=n.parent.parent,r=Pi(t),a=n.propertyName||n.name;if(r&&!e.isBindingPattern(a)){var i=Ad(a);if(ys(i)){var o=Ss(i),s=Xc(r,o);s&&(wb(s,void 0,!1),rb(t,!!t.initializer&&101===t.initializer.kind,r,s))}}}if(e.isBindingPattern(n.name)&&(189===n.name.kind&&B<2&&G.downlevelIteration&&VD(n,512),e.forEach(n.name.elements,fA)),n.initializer&&155===e.getRootDeclaration(n).kind&&e.nodeIsMissing(e.getContainingFunction(n).body))Qt(n,e.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);else if(e.isBindingPattern(n.name)){var c=n.initializer&&230!==n.parent.parent.kind,l=0===n.name.elements.length;if(c||l){var u=co(n);if(c){var d=kS(n.initializer);j&&l?mb(d,n):Am(d,co(n),n,n.initializer)}l&&(e.isArrayBindingPattern(n.name)?qL(65,u,Ee,n):j&&mb(u,n))}}else{var p=Ia(n),m=DL(No(p));if(n===p.valueDeclaration){var f=e.getEffectiveInitializer(n);if(f){var _=e.isInJSFile(n)&&e.isObjectLiteralExpression(f)&&(0===f.properties.length||e.isPrototypeAccess(n.name))&&e.hasEntries(p.exports);_||230===n.parent.parent.kind||Am(kS(f),m,n,f,void 0)}p.declarations.length>1&&e.some(p.declarations,(function(t){return t!==n&&e.isVariableLike(t)&&!IL(t,n)}))&&Qt(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}else{var g=DL(co(n));m===he||g===he||ym(m,g)||67108864&p.flags||NL(p.valueDeclaration,m,n,g),n.initializer&&Am(kS(n.initializer),g,n,n.initializer,void 0),IL(n,p.valueDeclaration)||Qt(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}158!==n.kind&&157!==n.kind&&(Fx(n),241!==n.kind&&190!==n.kind||AL(n),LL(n,n.name),CL(n,n.name))}}}function NL(n,t,r,a){var i=e.getNameOfDeclaration(r),o=158===r.kind||157===r.kind?e.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:e.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,s=e.declarationNameToString(i),c=Qt(i,o,s,pi(t),pi(a));n&&e.addRelatedInfo(c,e.createDiagnosticForNode(n,e.Diagnostics._0_was_also_declared_here,s))}function IL(n,t){if(155===n.kind&&241===t.kind||241===n.kind&&155===t.kind)return!0;if(e.hasQuestionToken(n)!==e.hasQuestionToken(t))return!1;var r=504;return e.getSelectedModifierFlags(n,r)===e.getSelectedModifierFlags(t,r)}function OL(e){return Rk(e),kL(e)}function ML(e){return Nk(e),kL(e)}function wL(n){KD(n)||Gk(n.declarationList)||Vk(n),e.forEach(n.declarationList.declarations,fA)}function RL(e){Zk(e),YS(e.expression)}function PL(n){Zk(n);var t=VL(n.expression);FL(n,t),fA(n.thenStatement),223===n.thenStatement.kind&&Qt(n.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),fA(n.elseStatement)}function FL(n,t){if(j){var r=e.isIdentifier(n.expression)?n.expression:e.isPropertyAccessExpression(n.expression)?n.expression.name:void 0;if(r){var a=r_(t);if(!a){var i=Qc(t,0);if(0!==i.length){var o=KA(r);if(o){var s=e.forEachChild(n.thenStatement,(function n(t){if(e.isIdentifier(t)){var r=KA(t);if(r&&r.id===o.id)return!0}return e.forEachChild(t,n)}));s||Qt(n.expression,e.Diagnostics.This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead)}}}}}}function GL(e){Zk(e),fA(e.statement),VL(e.expression)}function BL(e){Zk(e),VL(e.expression),fA(e.statement)}function VL(n,t){var r=YS(n,t);return 16384&r.flags&&Qt(n,e.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness),r}function UL(n){Zk(n)||n.initializer&&242===n.initializer.kind&&Gk(n.initializer),n.initializer&&(242===n.initializer.kind?e.forEach(n.initializer.declarations,OL):YS(n.initializer)),n.condition&&VL(n.condition),n.incrementor&&YS(n.incrementor),fA(n.statement),n.locals&&oL(n)}function jL(n){if(Tk(n),n.awaitModifier){var t=e.getFunctionFlags(e.getContainingFunction(n));2===(6&t)&&B<99&&VD(n,32768)}else G.downlevelIteration&&B<2&&VD(n,256);if(242===n.initializer.kind)HL(n);else{var r=n.initializer,a=WL(n.expression,n.awaitModifier);if(191===r.kind||192===r.kind)_S(r,a||he);else{var i=YS(r);YT(r,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),a&&Am(a,i,r,n.expression)}}fA(n.statement),n.locals&&oL(n)}function KL(n){Tk(n);var t=cb(YS(n.expression));if(242===n.initializer.kind){var r=n.initializer.declarations[0];r&&e.isBindingPattern(r.name)&&Qt(r.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),HL(n)}else{var a=n.initializer,i=YS(a);191===a.kind||192===a.kind?Qt(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):Tm(wd(t),i)?YT(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):Qt(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}t!==Pe&&iS(t,126091264)||Qt(n.expression,e.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,pi(t)),fA(n.statement),n.locals&&oL(n)}function HL(e){var n=e.initializer;if(n.declarations.length>=1){var t=n.declarations[0];OL(t)}}function WL(e,n){var t=ob(e),r=n?15:13;return qL(r,t,Ee,e)}function qL(e,n,t,r){return Ri(n)?n:zL(e,n,t,r,!0)||ge}function zL(n,t,r,a,i){var o=0!==(2&n);if(t!==Pe){var s=B>=2,c=!s&&G.downlevelIteration;if(s||c||o){var l=QL(t,n,s?a:void 0);if(i&&l){var u=8&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:32&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:64&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:16&n?e.Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:void 0;u&&Cm(r,l.nextType,a,u)}if(l||s)return l&&l.yieldType}var d=t,p=!1,m=!1;if(4&n){if(1048576&d.flags){var f=t.types,_=e.filter(f,(function(e){return!(132&e.flags)}));_!==f&&(d=dd(_,2))}else 132&d.flags&&(d=Pe);if(m=d!==t,m&&(B<1&&a&&(Qt(a,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),p=!0),131072&d.flags))return Ce}if(!Ff(d)){if(a&&!p){var g=JL(n,0,t,void 0),y=4&n&&!m?c?[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,!0]:g?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,!0]:c?[e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:g?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:[e.Diagnostics.Type_0_is_not_an_array_type,!0],v=y[0],h=y[1];er(a,h&&!!Gx(d),v,pi(d))}return m?Ce:void 0}var b=nl(d,1);return m&&b?132&b.flags?Ce:dd([b,Ce],2):b}aC(a,t,o)}function JL(e,n,t,r){if(!Ri(t)){var a=QL(t,e,r);return a&&a[R(n)]}}function XL(e,n,t){if(void 0===e&&(e=Pe),void 0===n&&(n=Pe),void 0===t&&(t=be),67359327&e.flags&&180227&n.flags&&180227&t.flags){var r=Wl([e,n,t]),a=tt.get(r);return a||(a={yieldType:e,returnType:n,nextType:t},tt.set(r,a)),a}return{yieldType:e,returnType:n,nextType:t}}function YL(n){for(var t,r,a,i=0,o=n;ir)return!1;for(var u=0;u>i;case 49:return a>>>i;case 47:return a<1){var i=e.isEnumConst(n);e.forEach(r.declarations,(function(n){e.isEnumDeclaration(n)&&e.isEnumConst(n)!==i&&Qt(e.getNameOfDeclaration(n),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}))}var o=!1;e.forEach(r.declarations,(function(n){if(247!==n.kind)return!1;var t=n;if(!t.members.length)return!1;var r=t.members[0];r.initializer||(o?Qt(r.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):o=!0)}))}}}function ZC(n){for(var t=n.declarations,r=0,a=t;r1&&k(n,!!G.preserveConstEnums||!!G.isolatedModules)){var c=ZC(s);c&&(e.getSourceFileOfNode(n)!==e.getSourceFileOfNode(c)?Qt(n.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):n.pos=e.ModuleKind.ES2015&&!(8388608&n.flags)&&Wk(n,e.Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}function cA(n){if(!lA(n,e.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)&&(!KD(n)&&e.hasModifiers(n)&&Kk(n,e.Diagnostics.An_export_declaration_cannot_have_modifiers),!n.moduleSpecifier||rA(n)))if(n.exportClause){e.forEach(n.exportClause.elements,uA);var t=249===n.parent.kind&&e.isAmbientModule(n.parent.parent),r=!t&&249===n.parent.kind&&!n.moduleSpecifier&&8388608&n.flags;288===n.parent.kind||t||r||Qt(n,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var a=ma(n,n.moduleSpecifier);a&&Ea(a)&&Qt(n.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,ui(a)),V!==e.ModuleKind.System&&V!==e.ModuleKind.ES2015&&V!==e.ModuleKind.ESNext&&VD(n,65536)}}function lA(e,n){var t=288===e.parent.kind||249===e.parent.kind||248===e.parent.kind;return t||Kk(e,n),!t}function uA(n){if(aA(n),e.getEmitDeclarations(G)&&Ci(n.propertyName||n.name,!0),!n.parent.parent.moduleSpecifier){var t=n.propertyName||n.name,r=hr(t,t.escapedText,2998271,void 0,void 0,!0);if(r&&(r===$||r===ee||_r(Ii(r.declarations[0]))))Qt(t,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,e.idText(t));else{aa(n);var a=r&&(2097152&r.flags?ra(r):r);(!a||a===fe||111551&a.flags)&&kS(n.propertyName||n.name)}}}function dA(n){if(!lA(n,e.Diagnostics.An_export_assignment_can_only_be_used_in_a_module)){var t=288===n.parent.kind?n.parent:n.parent.parent;if(248!==t.kind||e.isAmbientModule(t)){if(!KD(n)&&e.hasModifiers(n)&&Kk(n,e.Diagnostics.An_export_assignment_cannot_have_modifiers),75===n.expression.kind){var r=n.expression,a=ca(r,67108863,!0,!0,n);if(a){Qy(a,r);var i=2097152&a.flags?ra(a):a;(i===fe||111551&i.flags)&&kS(n.expression)}e.getEmitDeclarations(G)&&Ci(n.expression,!0)}else kS(n.expression);mA(t),8388608&n.flags&&!e.isEntityNameExpression(n.expression)&&Wk(n.expression,e.Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),!n.isExportEquals||8388608&n.flags||(V>=e.ModuleKind.ES2015?Wk(n,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):V===e.ModuleKind.System&&Wk(n,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}else n.isExportEquals?Qt(n,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace):Qt(n,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module)}}function pA(n){return e.forEachEntry(n.exports,(function(e,n){return"export="!==n}))}function mA(n){var t=Ia(n),r=mr(t);if(!r.exportsChecked){var a=t.exports.get("export=");if(a&&pA(t)){var i=Pr(a)||a.valueDeclaration;Ei(i)||e.isInJSFile(i)||Qt(i,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}var o=Aa(t);o&&o.forEach((function(n,t){var r=n.declarations,a=n.flags;if("__export"!==t&&!(1984&a)){var i=e.countWhere(r,C);if(!(524288&a&&i<=2)&&i>1)for(var o=0,s=r;o=224&&t<=240&&n.flowNode&&!Ry(n.flowNode)&&$t(!1===G.allowUnreachableCode,n,e.Diagnostics.Unreachable_code_detected),t){case 154:return ex(n);case 155:return nx(n);case 158:case 157:return ux(n);case 169:case 170:case 164:case 165:case 166:return ix(n);case 160:case 159:return dx(n);case 161:return px(n);case 162:case 163:return mx(n);case 168:return hx(n);case 167:return tx(n);case 171:return Ex(n);case 172:return Tx(n);case 173:return Sx(n);case 174:return xx(n);case 177:case 178:return Lx(n);case 181:case 175:case 176:return fA(n.type);case 182:return kx(n);case 183:return Nx(n);case 179:return Ix(n);case 180:return Ox(n);case 187:return Mx(n);case 305:return rL(n);case 315:case 308:case 309:return Zx(n);case 314:return $x(n);case 313:return eL(n);case 310:return nL(n);case 298:tL(n);case 296:case 295:case 293:case 294:case 302:return gA(n),void e.forEachChild(n,fA);case 299:return void yA(n);case 292:return fA(n.type);case 184:return Ax(n);case 185:return Dx(n);case 243:return Qx(n);case 222:case 249:return bL(n);case 224:return wL(n);case 225:return RL(n);case 226:return PL(n);case 227:return GL(n);case 228:return BL(n);case 229:return UL(n);case 230:return KL(n);case 231:return jL(n);case 232:case 233:return gC(n);case 234:return hC(n);case 235:return bC(n);case 236:return EC(n);case 237:return TC(n);case 238:return SC(n);case 239:return xC(n);case 241:return OL(n);case 190:return ML(n);case 244:return wC(n);case 245:return WC(n);case 246:return qC(n);case 247:return QC(n);case 248:return eA(n);case 253:return oA(n);case 252:return sA(n);case 259:return cA(n);case 258:return dA(n);case 223:case 240:return void Zk(n);case 262:return _x(n)}}function gA(n){e.isInJSFile(n)||Wk(n,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function yA(n){gA(n),fA(n.type);var t=n.parent;if(e.isParameter(t)&&e.isJSDocFunctionType(t.parent))e.last(t.parent.parameters)!==t&&Qt(n,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);else{e.isJSDocTypeExpression(t)||Qt(n,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var r=n.parent.parent;if(e.isJSDocParameterTag(r)){var a=e.getParameterSymbolFromJSDoc(r);if(a){var i=e.getHostSignatureFromJSDoc(r);i&&e.last(i.parameters).symbol===a||Qt(n,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}else Qt(n,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature)}}function vA(n){var t=Np(n.type),r=n.parent,a=n.parent.parent;if(e.isJSDocTypeExpression(n.parent)&&e.isJSDocParameterTag(a)){var i=e.getHostSignatureFromJSDoc(a);if(i){var o=e.lastOrUndefined(i.parameters),s=e.getParameterSymbolFromJSDoc(a);if(!o||s&&o.symbol===s&&e.isRestParameter(o))return zu(t)}}return e.isParameter(r)&&e.isJSDocFunctionType(r.parent)?zu(t):Ji(t)}function hA(n){var t=e.getSourceFileOfNode(n),r=fr(t);if(!(1&r.flags)){r.deferredNodes=r.deferredNodes||e.createMap();var a=""+A(n);r.deferredNodes.set(a,n)}}function bA(e){var n=fr(e);n.deferredNodes&&n.deferredNodes.forEach(EA)}function EA(e){var n=u;switch(u=e,b=0,e.kind){case 200:case 201:case 160:case 159:HT(e);break;case 162:case 163:mx(e);break;case 213:MC(e);break;case 265:xh(e);break;case 264:Ch(e);break}u=n}function TA(n){e.performance.mark("beforeCheck"),LA(n),e.performance.mark("afterCheck"),e.performance.measure("Check","beforeCheck","afterCheck")}function SA(n){switch(n){case 0:return!!G.noUnusedLocals;case 1:return!!G.noUnusedParameters;default:return e.Debug.assertNever(n)}}function xA(n){return ut.get(n.path)||e.emptyArray}function LA(t){var r=fr(t);if(!(1&r.flags)){if(e.skipTypeChecking(t,G,n))return;Qk(t),e.clear(Rt),e.clear(Pt),e.forEach(t.statements,fA),fA(t.endOfFileToken),bA(t),e.isExternalOrCommonJsModule(t)&&oL(t),t.isDeclarationFile||!G.noUnusedLocals&&!G.noUnusedParameters||sL(xA(t),(function(n,t,r){!e.containsParseError(n)&&SA(t)&&Gt.add(r)})),e.isExternalOrCommonJsModule(t)&&mA(t),Rt.length&&(e.forEach(Rt,SL),e.clear(Rt)),Pt.length&&(e.forEach(Pt,xL),e.clear(Pt)),r.flags|=1}}function CA(e,n){try{return r=n,AA(e)}finally{r=void 0}}function AA(t){if(kA(),t){var r=Gt.getGlobalDiagnostics(),a=r.length;TA(t);var i=Gt.getDiagnostics(t.fileName),o=Gt.getGlobalDiagnostics();if(o!==r){var s=e.relativeComplement(r,o,e.compareDiagnostics);return e.concatenate(s,i)}return 0===a&&o.length>0?e.concatenate(o,i):i}return e.forEach(n.getSourceFiles(),TA),Gt.getDiagnostics()}function DA(){return kA(),Gt.getGlobalDiagnostics()}function kA(){if(!t)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function NA(n,t){if(16777216&n.flags)return[];var r=e.createSymbolTable(),a=!1;return i(),r.delete("this"),al(r);function i(){while(n){switch(n.locals&&!_r(n)&&s(n.locals,t),n.kind){case 288:if(!e.isExternalOrCommonJsModule(n))break;case 248:s(Ia(n).exports,2623475&t);break;case 247:s(Ia(n).exports,8&t);break;case 213:var r=n.name;r&&o(n.symbol,t);case 244:case 245:a||s(As(Ia(n)),788968&t);break;case 200:var i=n.name;i&&o(n.symbol,t);break}e.introducesArgumentsExoticObject(n)&&o(te,t),a=e.hasModifier(n,32),n=n.parent}s(Z,t)}function o(n,t){if(e.getCombinedLocalAndExportSymbolFlags(n)&t){var a=n.escapedName;r.has(a)||r.set(a,n)}}function s(e,n){n&&e.forEach((function(e){o(e,n)}))}}function IA(e){return 75===e.kind&&OA(e.parent)&&e.parent.name===e}function OA(e){switch(e.kind){case 154:case 244:case 245:case 246:case 247:return!0;default:return!1}}function MA(e){while(152===e.parent.kind)e=e.parent;return 168===e.parent.kind}function wA(e){while(193===e.parent.kind)e=e.parent;return 215===e.parent.kind}function RA(n,t){var r;while(1){if(n=e.getContainingClass(n),!n)break;if(r=t(n))break}return r}function PA(n){return!!e.findAncestor(n,(function(n){return!!(e.isConstructorDeclaration(n)&&e.nodeIsPresent(n.body)||e.isPropertyDeclaration(n))||!(!e.isClassLike(n)&&!e.isFunctionLikeDeclaration(n))&&"quit"}))}function FA(e,n){return!!RA(e,(function(e){return e===n}))}function GA(e){while(152===e.parent.kind)e=e.parent;return 252===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:258===e.parent.kind&&e.parent.expression===e?e.parent:void 0}function BA(e){return void 0!==GA(e)}function VA(n){var t=e.getAssignmentDeclarationKind(n.parent.parent);switch(t){case 1:case 3:return Ia(n.parent);case 4:case 2:case 5:return Ia(n.parent.parent)}}function UA(n){var t=n.parent;while(e.isQualifiedName(t))n=t,t=t.parent;if(t&&187===t.kind&&t.qualifier===n)return t}function jA(n){if(e.isDeclarationName(n))return Ia(n.parent);if(e.isInJSFile(n)&&193===n.parent.kind&&n.parent===n.parent.parent.left){var t=VA(n);if(t)return t}if(258===n.parent.kind&&e.isEntityNameExpression(n)){var r=ca(n,2998271,!0);if(r&&r!==fe)return r}else if(!e.isPropertyAccessExpression(n)&&BA(n)){var a=e.getAncestor(n,252);return e.Debug.assert(void 0!==a),oa(n,!0)}if(!e.isPropertyAccessExpression(n)){var i=UA(n);if(i){Np(i);var o=fr(n).resolvedSymbol;return o===fe?void 0:o}}while(e.isRightSideOfQualifiedNameOrPropertyAccess(n))n=n.parent;if(wA(n)){var s=0;215===n.parent.kind?(s=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)&&(s|=111551)):s=1920,s|=2097152;var c=e.isEntityNameExpression(n)?ca(n,s):void 0;if(c)return c}if(310===n.parent.kind)return e.getParameterSymbolFromJSDoc(n.parent);if(154===n.parent.kind&&314===n.parent.parent.kind){e.Debug.assert(!e.isInJSFile(n));var l=e.getTypeParameterFromJsDoc(n.parent);return l&&l.symbol}if(e.isExpressionNode(n)){if(e.nodeIsMissing(n))return;if(75===n.kind){if(e.isJSXTagName(n)&&Nh(n)){var u=Ph(n.parent);return u===fe?void 0:u}return ca(n,111551,!1,!0)}if(193===n.kind||152===n.kind){var d=fr(n);return d.resolvedSymbol||(193===n.kind?fb(n):gb(n)),d.resolvedSymbol}}else if(MA(n)){s=168===n.parent.kind?788968:1920;return ca(n,s,!1,!0)}return 167===n.parent.kind?ca(n,1):void 0}function KA(n){if(288===n.kind)return e.isExternalModule(n)?Na(n.symbol):void 0;var t=n.parent,r=t.parent;if(!(16777216&n.flags)){if(M(n)){var a=Ia(t);return e.isImportOrExportSpecifier(n.parent)&&n.parent.propertyName===n?Eh(a):a}if(e.isLiteralComputedPropertyDeclarationName(n))return Ia(t.parent);if(75===n.kind){if(BA(n))return jA(n);if(190===t.kind&&188===r.kind&&n===t.propertyName){var i=qA(r),o=Xc(i,n.escapedText);if(o)return o}}switch(n.kind){case 75:case 193:case 152:return jA(n);case 103:var s=e.getThisContainer(n,!1);if(e.isFunctionLike(s)){var c=pl(s);if(c.thisParameter)return c.thisParameter}if(e.isInExpressionContext(n))return YS(n).symbol;case 182:return kp(n).symbol;case 101:return YS(n).symbol;case 128:var l=n.parent;return l&&161===l.kind?l.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(n.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(n.parent.parent)===n||(253===n.parent.kind||259===n.parent.kind)&&n.parent.moduleSpecifier===n||e.isInJSFile(n)&&e.isRequireCall(n.parent,!1)||e.isImportCall(n.parent)||e.isLiteralTypeNode(n.parent)&&e.isLiteralImportTypeNode(n.parent.parent)&&n.parent.parent.argument===n.parent)return ma(n,n);if(e.isCallExpression(t)&&e.isBindableObjectDefinePropertyCall(t)&&t.arguments[1]===n)return Ia(t);case 8:var u=e.isElementAccessExpression(t)?t.argumentExpression===n?JS(t.expression):void 0:e.isLiteralTypeNode(t)&&e.isIndexedAccessTypeNode(r)?Np(r.objectType):void 0;return u&&Xc(u,e.escapeLeadingUnderscores(n.text));case 83:case 93:case 38:case 79:return Ia(n.parent);case 187:return e.isLiteralImportTypeNode(n)?KA(n.argument.literal):void 0;case 88:return e.isExportAssignment(n.parent)?e.Debug.assertDefined(n.parent.symbol):void 0;default:return}}}function HA(e){if(e&&280===e.kind)return ca(e.name,2208703)}function WA(e){return e.parent.parent.moduleSpecifier?qr(e.parent.parent,e):ca(e.propertyName||e.name,2998271)}function qA(n){if(16777216&n.flags)return he;var t=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(n),r=t&&Qo(Ia(t.class));if(e.isPartOfTypeNode(n)){var a=Np(n);return r?ks(a,r.thisType):a}if(e.isExpressionNode(n))return XA(n);if(r&&!t.isImplements){var i=e.firstOrUndefined(Wo(r));return i?ks(i,r.thisType):he}if(OA(n)){var o=Ia(n);return ss(o)}if(IA(n)){o=KA(n);return o?ss(o):he}if(e.isDeclaration(n)){o=Ia(n);return No(o)}if(M(n)){o=KA(n);return o?No(o):he}if(e.isBindingPattern(n))return Yi(n.parent,!0)||he;if(BA(n)){o=KA(n);if(o){var s=ss(o);return s!==he?s:No(o)}}return he}function zA(n){if(e.Debug.assert(192===n.kind||191===n.kind),231===n.parent.kind){var t=WL(n.parent.expression,n.parent.awaitModifier);return _S(n,t||he)}if(208===n.parent.kind){t=JS(n.parent.right);return _S(n,t||he)}if(279===n.parent.kind){var r=e.cast(n.parent.parent,e.isObjectLiteralExpression),a=zA(r)||he,i=e.indexOfNode(r.properties,n.parent);return pS(r,a,i)}var o=e.cast(n.parent,e.isArrayLiteralExpression),s=zA(o)||he,c=qL(65,s,Ee,n.parent)||he;return fS(o,s,o.elements.indexOf(n),c)}function JA(n){var t=zA(e.cast(n.parent.parent,e.isAssignmentPattern));return t&&Xc(t,n.escapedText)}function XA(n){return e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),Tp(JS(n))}function YA(n){var t=Ia(n.parent);return e.hasModifier(n,32)?No(t):ss(t)}function QA(n){var t=n.name;switch(t.kind){case 75:return xp(e.idText(t));case 8:case 10:return xp(t.text);case 153:var r=hh(t);return iS(r,12288)?r:Ce;default:return e.Debug.fail("Unsupported property name.")}}function ZA(n){n=Wc(n);var t=e.createSymbolTable(Ec(n)),r=Qc(n,0).length?ln:Qc(n,1).length?un:void 0;return r&&e.forEach(Ec(r),(function(e){t.has(e.escapedName)||t.set(e.escapedName,e)})),za(t)}function $A(n){return e.typeHasCallOrConstructSignatures(n,ae)}function eD(n){var t=nD(n);return t?e.flatMap(t,eD):[n]}function nD(n){if(6&e.getCheckFlags(n))return e.mapDefined(mr(n).containingType.types,(function(e){return Xc(e,n.escapedName)}));if(33554432&n.flags){var t=n,r=t.leftSpread,a=t.rightSpread,i=t.syntheticOrigin;return r?[r,a]:i?[i]:e.singleElementArray(tD(n))}}function tD(e){var n,t=e;while(t=mr(t).target)n=t;return n}function rD(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=193===t.parent.kind&&t.parent.name===t;return!r&&OD(t)===te}}return!1}function aD(n){var t=ma(n.parent,n);if(!t||e.isShorthandAmbientModuleSymbol(t))return!0;var r=Ea(t);t=va(t);var a=mr(t);return void 0===a.exportsSomeValue&&(a.exportsSomeValue=r?!!(111551&t.flags):e.forEachEntry(Aa(t),i)),a.exportsSomeValue;function i(e){return e=ta(e),e&&!!(111551&e.flags)}}function iD(n){return e.isModuleOrEnumDeclaration(n.parent)&&n===n.parent.name}function oD(n,t){var r=e.getParseTreeNode(n,e.isIdentifier);if(r){var a=OD(r,iD(r));if(a){if(1048576&a.flags){var i=Na(a.exportSymbol);if(!t&&944&i.flags&&!(3&i.flags))return;a=i}var o=Oa(a);if(o){if(512&o.flags&&288===o.valueDeclaration.kind){var s=o.valueDeclaration,c=e.getSourceFileOfNode(r),l=s!==c;return l?void 0:s}return e.findAncestor(r.parent,(function(n){return e.isModuleOrEnumDeclaration(n)&&Ia(n)===o}))}}}}function sD(n){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=OD(t);if(na(r,111551))return Pr(r)}}function cD(n){return e.isBindingElement(n.valueDeclaration)&&278===e.walkUpBindingElementsAndPatterns(n.valueDeclaration).parent.kind}function lD(n){if(418&n.flags&&!e.isSourceFile(n.valueDeclaration)){var t=mr(n);if(void 0===t.isDeclarationWithCollidingName){var r=e.getEnclosingBlockScopeContainer(n.valueDeclaration);if(e.isStatementWithLocals(r)||cD(n)){var a=fr(n.valueDeclaration);if(hr(r.parent,n.escapedName,111551,void 0,void 0,!1))t.isDeclarationWithCollidingName=!0;else if(262144&a.flags){var i=524288&a.flags,o=e.isIterationStatement(r,!1),s=222===r.kind&&e.isIterationStatement(r.parent,!1);t.isDeclarationWithCollidingName=!e.isBlockScopedContainerTopLevel(r)&&(!i||!o&&!s)}else t.isDeclarationWithCollidingName=!1}}return t.isDeclarationWithCollidingName}return!1}function uD(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=OD(t);if(r&&lD(r))return r.valueDeclaration}}}function dD(n){var t=e.getParseTreeNode(n,e.isDeclaration);if(t){var r=Ia(t);if(r)return lD(r)}return!1}function pD(n){switch(n.kind){case 252:case 254:case 255:case 257:case 261:return fD(Ia(n)||fe);case 259:var t=n.exportClause;return!!t&&e.some(t.elements,pD);case 258:return!n.expression||75!==n.expression.kind||fD(Ia(n)||fe)}return!1}function mD(n){var t=e.getParseTreeNode(n,e.isImportEqualsDeclaration);if(void 0===t||288!==t.parent.kind||!e.isInternalModuleImportEqualsDeclaration(t))return!1;var r=fD(Ia(t));return r&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference)}function fD(e){var n=ra(e);return n===fe||!!(111551&n.flags)&&(G.preserveConstEnums||!_D(n))}function _D(e){return cS(e)||!!e.constEnumOnlyModule}function gD(n,t){if(e.isAliasSymbolDeclaration(n)){var r=Ia(n);if(r&&mr(r).referenced)return!0;var a=mr(r).target;if(a&&1&e.getModifierFlags(n)&&111551&a.flags&&(G.preserveConstEnums||!_D(a)))return!0}return!!t&&!!e.forEachChild(n,(function(e){return gD(e,t)}))}function yD(n){if(e.nodeIsPresent(n.body)){if(e.isGetAccessor(n)||e.isSetAccessor(n))return!1;var t=Ia(n),r=yl(t);return r.length>1||1===r.length&&r[0].declaration!==n}return!1}function vD(n){return!!j&&!sl(n)&&!e.isJSDocParameterTag(n)&&!!n.initializer&&!e.hasModifier(n,92)}function hD(n){return j&&sl(n)&&!n.initializer&&e.hasModifier(n,92)}function bD(n){var t=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!t)return!1;var r=Ia(t);return!!(r&&16&r.flags)&&!!e.forEachEntry(Ca(r),(function(n){return 111551&n.flags&&n.valueDeclaration&&e.isPropertyAccessExpression(n.valueDeclaration)}))}function ED(n){var t=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!t)return e.emptyArray;var r=Ia(t);return r&&Ec(No(r))||e.emptyArray}function TD(e){return fr(e).flags||0}function SD(e){return zC(e.parent),fr(e).enumMemberValue}function xD(e){switch(e.kind){case 282:case 193:case 194:return!0}return!1}function LD(n){if(282===n.kind)return SD(n);var t=fr(n).resolvedSymbol;if(t&&8&t.flags){var r=t.valueDeclaration;if(e.isEnumConst(r.parent))return SD(r)}}function CD(e){return!!(524288&e.flags)&&Qc(e,0).length>0}function AD(n,t){var r=e.getParseTreeNode(n,e.isEntityName);if(!r)return e.TypeReferenceSerializationKind.Unknown;if(t&&(t=e.getParseTreeNode(t),!t))return e.TypeReferenceSerializationKind.Unknown;var a=ca(r,111551,!0,!1,t),i=ca(r,788968,!0,!1,t);if(a&&a===i){var o=Du(!1);if(o&&a===o)return e.TypeReferenceSerializationKind.Promise;var s=No(a);if(s&&Vo(s))return e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!i)return e.TypeReferenceSerializationKind.Unknown;var c=ss(i);return c===he?e.TypeReferenceSerializationKind.Unknown:3&c.flags?e.TypeReferenceSerializationKind.ObjectType:iS(c,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:iS(c,528)?e.TypeReferenceSerializationKind.BooleanType:iS(c,296)?e.TypeReferenceSerializationKind.NumberLikeType:iS(c,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:iS(c,132)?e.TypeReferenceSerializationKind.StringLikeType:Qf(c)?e.TypeReferenceSerializationKind.ArrayLikeType:iS(c,12288)?e.TypeReferenceSerializationKind.ESSymbolType:CD(c)?e.TypeReferenceSerializationKind.TypeWithCallSignature:wf(c)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function DD(n,t,r,a,i){var o=e.getParseTreeNode(n,e.isVariableLikeOrAccessor);if(!o)return e.createToken(124);var s=Ia(o),c=!s||133120&s.flags?he:qf(No(s));return 8192&c.flags&&c.symbol===s&&(r|=1048576),i&&(c=c_(c)),Q.typeToTypeNode(c,t,1024|r,a)}function kD(n,t,r,a){var i=e.getParseTreeNode(n,e.isFunctionLike);if(!i)return e.createToken(124);var o=pl(i);return Q.typeToTypeNode(Tl(o),t,1024|r,a)}function ND(n,t,r,a){var i=e.getParseTreeNode(n,e.isExpression);if(!i)return e.createToken(124);var o=A_(XA(i));return Q.typeToTypeNode(o,t,1024|r,a)}function ID(n){return Z.has(e.escapeLeadingUnderscores(n))}function OD(n,t){var r=fr(n).resolvedSymbol;if(r)return r;var a=n;if(t){var i=n.parent;e.isDeclaration(i)&&n===i.name&&(a=Ii(i))}return hr(a,n.escapedText,3257279,void 0,void 0,!0)}function MD(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=OD(t);if(r)return Fa(r).valueDeclaration}}}function wD(n){return!!(e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n))&&Sp(No(Ia(n)))}function RD(n,t,r){var a=1024&n.flags?Q.symbolToExpression(n.symbol,111551,t,void 0,r):n===Ie?e.createTrue():n===ke&&e.createFalse();return a||e.createLiteral(n.value)}function PD(e,n){var t=No(Ia(e));return RD(t,e,n)}function FD(){var t,r=n.getResolvedTypeReferenceDirectives();return r&&(t=e.createMap(),r.forEach((function(e,t){if(e&&e.resolvedFileName){var r=n.getSourceFile(e.resolvedFileName);c(r,t)}}))),{getReferencedExportContainer:oD,getReferencedImportDeclaration:sD,getReferencedDeclarationWithCollidingName:uD,isDeclarationWithCollidingName:dD,isValueAliasDeclaration:function(n){return n=e.getParseTreeNode(n),!n||pD(n)},hasGlobalName:ID,isReferencedAliasDeclaration:function(n,t){return n=e.getParseTreeNode(n),!n||gD(n,t)},getNodeCheckFlags:function(n){return n=e.getParseTreeNode(n),n?TD(n):0},isTopLevelValueImportEqualsWithEntityName:mD,isDeclarationVisible:Li,isImplementationOfOverload:yD,isRequiredInitializedParameter:vD,isOptionalUninitializedParameterProperty:hD,isExpandoFunctionDeclaration:bD,getPropertiesOfContainerFunction:ED,createTypeOfDeclaration:DD,createReturnTypeOfSignatureDeclaration:kD,createTypeOfExpression:ND,createLiteralConstValue:PD,isSymbolAccessible:ai,isEntityNameVisible:li,getConstantValue:function(n){var t=e.getParseTreeNode(n,xD);return t?LD(t):void 0},collectLinkedAliases:Ci,getReferencedValueDeclaration:MD,getTypeReferenceSerializationKind:AD,isOptionalParameter:sl,moduleExportsSomeValue:aD,isArgumentsLocalBinding:rD,getExternalModuleFileFromDeclaration:GD,getTypeReferenceDirectivesForEntityName:i,getTypeReferenceDirectivesForSymbol:o,isLiteralConstDeclaration:wD,isLateBound:function(n){var t=e.getParseTreeNode(n,e.isDeclaration),r=t&&Ia(t);return!!(r&&4096&e.getCheckFlags(r))},getJsxFactoryEntity:function(n){return n?(Jt(n),e.getSourceFileOfNode(n).localJsxFactory||zn):zn},getAllAccessorDeclarations:function(n){n=e.getParseTreeNode(n,e.isGetOrSetAccessorDeclaration);var t=163===n.kind?162:163,r=e.getDeclarationOfKind(Ia(n),t),a=r&&r.pos1||e.modifiers[0].kind!==n}function XD(n,t){switch(n.kind){case 160:case 243:case 200:case 201:return!1}return Wk(t,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}function YD(n,t){return void 0===t&&(t=e.Diagnostics.Trailing_comma_not_allowed),!(!n||!n.hasTrailingComma)&&Hk(n[0],n.end-",".length,",".length,t)}function QD(n,t){if(n&&0===n.length){var r=n.pos-"<".length,a=e.skipTrivia(t.text,n.end)+">".length;return Hk(t,r,a-r,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function ZD(n){for(var t=!1,r=n.length,a=0;a=3){var t=n.body&&e.isBlock(n.body)&&e.findUseStrictPrologue(n.body.statements);if(t){var r=$D(n.parameters);if(e.length(r)){e.forEach(r,(function(n){e.addRelatedInfo(Qt(n,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(t,e.Diagnostics.use_strict_directive_used_here))}));var a=r.map((function(n,t){return 0===t?e.createDiagnosticForNode(n,e.Diagnostics.Non_simple_parameter_declared_here):e.createDiagnosticForNode(n,e.Diagnostics.and_here)}));return e.addRelatedInfo.apply(void 0,i([Qt(t,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],a)),!0}}}return!1}function nk(n){var t=e.getSourceFileOfNode(n);return KD(n)||QD(n.typeParameters,t)||ZD(n.parameters)||rk(n,t)||e.isFunctionLikeDeclaration(n)&&ek(n)}function tk(n){var t=e.getSourceFileOfNode(n);return mk(n)||QD(n.typeParameters,t)}function rk(n,t){if(!e.isArrowFunction(n))return!1;var r=n.equalsGreaterThanToken,a=e.getLineAndCharacterOfPosition(t,r.pos).line,i=e.getLineAndCharacterOfPosition(t,r.end).line;return a!==i&&Wk(r,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}function ak(n){var t=n.parameters[0];if(1!==n.parameters.length)return Wk(t?t.name:n,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter);if(t.dotDotDotToken)return Wk(t.dotDotDotToken,e.Diagnostics.An_index_signature_cannot_have_a_rest_parameter);if(e.hasModifiers(t))return Wk(t.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(t.questionToken)return Wk(t.questionToken,e.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);if(t.initializer)return Wk(t.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);if(!t.type)return Wk(t.name,e.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);if(142!==t.type.kind&&139!==t.type.kind){var r=Np(t.type);return 4&r.flags||8&r.flags?Wk(t.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead,e.getTextOfNode(t.name),pi(r),pi(n.type?Np(n.type):ge)):1048576&r.flags&&oS(r,384,!0)?Wk(t.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead):Wk(t.name,e.Diagnostics.An_index_signature_parameter_type_must_be_either_string_or_number)}return!n.type&&Wk(n,e.Diagnostics.An_index_signature_must_have_a_type_annotation)}function ik(e){return KD(e)||ak(e)}function ok(n,t){if(t&&0===t.length){var r=e.getSourceFileOfNode(n),a=t.pos-"<".length,i=e.skipTrivia(r.text,t.end)+">".length;return Hk(r,a,i-a,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}function sk(e,n){return YD(n)||ok(e,n)}function ck(n){return!!(n.questionDotToken||32&n.flags)&&Wk(n.template,e.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain)}function lk(n){if(n)for(var t=0,r=n;t1)return Kk(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);t=!0}else{if(e.Debug.assert(112===o.token),r)return Kk(o,e.Diagnostics.implements_clause_already_seen);r=!0}dk(o)}}function fk(n){var t=!1;if(n.heritageClauses)for(var r=0,a=n.heritageClauses;r1){r=230===n.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 Kk(o.declarations[1],r)}var c=s[0];if(c.initializer){r=230===n.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 Wk(c.name,r)}if(c.type){r=230===n.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 Wk(c,r)}}}return!1}function Sk(n){if(!(8388608&n.flags)){if(B<1)return Wk(n.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(void 0===n.body&&!e.hasModifier(n,128))return Hk(n,n.end-1,";".length,e.Diagnostics._0_expected,"{")}if(n.body&&e.hasModifier(n,128))return Wk(n,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(n.typeParameters)return Wk(n.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!xk(n))return Wk(n.name,162===n.kind?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(163===n.kind){if(n.type)return Wk(n.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var t=e.Debug.assertDefined(e.getSetAccessorValueParameter(n),"Return value does not match parameter count assertion.");if(t.dotDotDotToken)return Wk(t.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(t.questionToken)return Wk(t.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(t.initializer)return Wk(n.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}function xk(e){return Lk(e)||e.parameters.length===(162===e.kind?0:1)}function Lk(n){if(n.parameters.length===(162===n.kind?1:2))return e.getThisParameter(n)}function Ck(n){if(146===n.operator){if(143!==n.type.kind)return Wk(n.type,e.Diagnostics._0_expected,e.tokenToString(143));var t=e.walkUpParenthesizedTypes(n.parent);switch(t.kind){case 241:var r=t;if(75!==r.name.kind)return Wk(n,e.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!e.isVariableDeclarationInVariableStatement(r))return Wk(n,e.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(2&r.parent.flags))return Wk(t.name,e.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 158:if(!e.hasModifier(t,32)||!e.hasModifier(t,64))return Wk(t.name,e.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 157:if(!e.hasModifier(t,64))return Wk(t.name,e.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:return Wk(n,e.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(137===n.operator&&173!==n.type.kind&&174!==n.type.kind)return Kk(n,e.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,e.tokenToString(143))}function Ak(e,n){if(Ts(e))return Wk(e,n)}function Dk(n){if(nk(n))return!0;if(160===n.kind){if(192===n.parent.kind){if(n.modifiers&&(1!==n.modifiers.length||125!==e.first(n.modifiers).kind))return Kk(n,e.Diagnostics.Modifiers_cannot_appear_here);if(yk(n.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(vk(n.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(void 0===n.body)return Hk(n,n.end-1,";".length,e.Diagnostics._0_expected,"{")}if(gk(n))return!0}if(e.isClassLike(n.parent)){if(8388608&n.flags)return Ak(n.name,e.Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(160===n.kind&&!n.body)return Ak(n.name,e.Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(245===n.parent.kind)return Ak(n.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(172===n.parent.kind)return Ak(n.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function kk(n){var t=n;while(t){if(e.isFunctionLike(t))return Wk(n,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(t.kind){case 237:if(n.label&&t.label.escapedText===n.label.escapedText){var r=232===n.kind&&!e.isIterationStatement(t.statement,!0);return!!r&&Wk(n,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement)}break;case 236:if(233===n.kind&&!n.label)return!1;break;default:if(e.isIterationStatement(t,!1)&&!n.label)return!1;break}t=t.parent}if(n.label){var a=233===n.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;return Wk(n,a)}a=233===n.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 Wk(n,a)}function Nk(n){if(n.dotDotDotToken){var t=n.parent.elements;if(n!==e.last(t))return Wk(n,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(YD(t,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),n.propertyName)return Wk(n.name,e.Diagnostics.A_rest_element_cannot_have_a_property_name);if(n.initializer)return Hk(n,n.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}}function Ik(n){return e.isStringOrNumericLiteralLike(n)||206===n.kind&&40===n.operator&&8===n.operand.kind}function Ok(e){return 9===e.kind||206===e.kind&&40===e.operator&&9===e.operand.kind}function Mk(n){if((e.isPropertyAccessExpression(n)||e.isElementAccessExpression(n)&&Ik(n.argumentExpression))&&e.isEntityNameExpression(n.expression))return!!(1024&kS(n).flags)}function wk(n){var t=n.initializer;if(t){var r=!(Ik(t)||Mk(t)||105===t.kind||90===t.kind||Ok(t)),a=e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n);if(!a||n.type)return Wk(t,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(r)return Wk(t,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference);if(!a||r)return Wk(t,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function Rk(n){if(230!==n.parent.parent.kind&&231!==n.parent.parent.kind)if(8388608&n.flags)wk(n);else if(!n.initializer){if(e.isBindingPattern(n.name)&&!e.isBindingPattern(n.parent))return Wk(n,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(n))return Wk(n,e.Diagnostics.const_declarations_must_be_initialized)}if(n.exclamationToken&&(224!==n.parent.parent.kind||!n.type||n.initializer||8388608&n.flags))return Wk(n.exclamationToken,e.Diagnostics.Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation);G.module===e.ModuleKind.ES2015||G.module===e.ModuleKind.ESNext||G.module===e.ModuleKind.System||G.noEmit||8388608&n.parent.parent.flags||!e.hasModifier(n.parent.parent,1)||Pk(n.name);var t=e.isLet(n)||e.isVarConst(n);return t&&Fk(n.name)}function Pk(n){if(75===n.kind){if("__esModule"===e.idText(n))return Wk(n,e.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else for(var t=n.elements,r=0,a=t;r0}function Kk(n,t,r,a,i){var o=e.getSourceFileOfNode(n);if(!jk(o)){var s=e.getSpanOfTokenAtPosition(o,n.pos);return Gt.add(e.createFileDiagnostic(o,s.start,s.length,t,r,a,i)),!0}return!1}function Hk(n,t,r,a,i,o,s){var c=e.getSourceFileOfNode(n);return!jk(c)&&(Gt.add(e.createFileDiagnostic(c,t,r,a,i,o,s)),!0)}function Wk(n,t,r,a,i){var o=e.getSourceFileOfNode(n);return!jk(o)&&(Gt.add(e.createDiagnosticForNode(n,t,r,a,i)),!0)}function qk(n){var t=e.isInJSFile(n)?e.getJSDocTypeParameterDeclarations(n):void 0,r=n.typeParameters||t&&e.firstOrUndefined(t);if(r){var a=r.pos===r.end?r.pos:e.skipTrivia(e.getSourceFileOfNode(n).text,r.pos);return Hk(n,a,r.end-a,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function zk(n){var t=e.getEffectiveReturnTypeNode(n);if(t)return Wk(t,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}function Jk(n){if(e.isClassLike(n.parent)){if(e.isStringLiteral(n.name)&&"constructor"===n.name.text)return Wk(n.name,e.Diagnostics.Classes_may_not_have_a_field_named_constructor);if(Ak(n.name,e.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0}else if(245===n.parent.kind){if(Ak(n.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(n.initializer)return Wk(n.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(172===n.parent.kind){if(Ak(n.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(n.initializer)return Wk(n.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}if(8388608&n.flags&&wk(n),e.isPropertyDeclaration(n)&&n.exclamationToken&&(!e.isClassLike(n.parent)||!n.type||n.initializer||8388608&n.flags||e.hasModifier(n,160)))return Wk(n.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)}function Xk(n){return 245!==n.kind&&246!==n.kind&&253!==n.kind&&252!==n.kind&&259!==n.kind&&258!==n.kind&&251!==n.kind&&!e.hasModifier(n,515)&&Kk(n,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function Yk(n){for(var t=0,r=n.statements;t=1?t=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(n,186)?t=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(n,282)&&(t=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),t){var r=e.isPrefixUnaryExpression(n.parent)&&40===n.parent.operator,a=(r?"-":"")+"0o"+n.text;return Wk(r?n.parent:n,t,a)}}return eN(n),!1}function eN(n){if(!(16&n.numericLiteralFlags||n.text.length<=15||-1!==n.text.indexOf("."))){var t=+e.getTextOfNode(n);t<=Math.pow(2,53)-1&&t+1>t||Zt(!1,e.createDiagnosticForNode(n,e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}}function nN(n){var t=e.isLiteralTypeNode(n.parent)||e.isPrefixUnaryExpression(n.parent)&&e.isLiteralTypeNode(n.parent.parent);return!!(!t&&B<99&&Wk(n,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ESNext))}function tN(n,t,r,a,i){var o=e.getSourceFileOfNode(n);if(!jk(o)){var s=e.getSpanOfTokenAtPosition(o,n.pos);return Gt.add(e.createFileDiagnostic(o,e.textSpanEnd(s),0,t,r,a,i)),!0}return!1}function rN(){return rn||(rn=[],Z.forEach((function(e,n){c.test(n)&&rn.push(e)}))),rn}function aN(n){if(V===e.ModuleKind.ES2015)return Wk(n,e.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_commonjs_amd_system_or_umd);if(n.typeArguments)return Wk(n,e.Diagnostics.Dynamic_import_cannot_have_type_arguments);var t=n.arguments;return 1!==t.length?Wk(n,e.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument):(YD(t),!!e.isSpreadElement(t[0])&&Wk(t[0],e.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element))}}function I(n){return!e.isAccessor(n)}function O(e){return 243!==e.kind&&160!==e.kind||!!e.body}function M(n){switch(n.parent.kind){case 257:case 261:return e.isIdentifier(n);default:return e.isDeclarationName(n)}}function w(e){switch(e.kind){case 254:case 252:case 255:case 257:return!0;case 75:return 257===e.parent.kind;default:return!1}}function R(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function P(e){return!!(1&e.flags)}function F(e){return!!(2&e.flags)}(function(e){e[e["GetAccessor"]=1]="GetAccessor",e[e["SetAccessor"]=2]="SetAccessor",e[e["PropertyAssignment"]=4]="PropertyAssignment",e[e["Method"]=8]="Method",e[e["GetOrSetAccessor"]=3]="GetOrSetAccessor",e[e["PropertyAssignmentOrMethod"]=12]="PropertyAssignmentOrMethod"})(S||(S={})),function(e){e[e["None"]=0]="None",e[e["ExportValue"]=1]="ExportValue",e[e["ExportType"]=2]="ExportType",e[e["ExportNamespace"]=4]="ExportNamespace"}(x||(x={})),e.getNodeId=A,e.getSymbolId=D,e.isInstantiatedModule=k,e.createTypeChecker=N,function(e){e.JSX="JSX",e.IntrinsicElements="IntrinsicElements",e.ElementClass="ElementClass",e.ElementAttributesPropertyNameContainer="ElementAttributesProperty",e.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",e.Element="Element",e.IntrinsicAttributes="IntrinsicAttributes",e.IntrinsicClassAttributes="IntrinsicClassAttributes",e.LibraryManagedAttributes="LibraryManagedAttributes"}(L||(L={})),e.signatureHasRestParameter=P,e.signatureHasLiteralTypes=F}(u||(u={})),function(e){function n(n){var t=e.createNode(n,-1,-1);return t.flags|=8,t}function t(n,t){return n!==t&&(yo(n,t),Ki(n,t),e.aggregateTransformFlags(n)),n}function r(n,t){if(n&&n!==e.emptyArray){if(e.isNodeArray(n))return n}else n=[];var r=n;return r.pos=-1,r.end=-1,r.hasTrailingComma=t,r}function a(e){if(void 0===e)return e;var t=n(e.kind);for(var r in t.flags|=e.flags,yo(t,e),e)!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function i(n,t){if("number"===typeof n)return o(n+"");if("object"===typeof n&&"base10Value"in n)return s(e.pseudoBigIntToString(n)+"n");if("boolean"===typeof n)return n?L():C();if(e.isString(n)){var r=c(n);return t&&(r.singleQuote=!0),r}return u(n)}function o(e,t){void 0===t&&(t=0);var r=n(8);return r.text=e,r.numericLiteralFlags=t,r}function s(e){var t=n(9);return t.text=e,t}function c(e){var t=n(10);return t.text=e,t}function l(e){var t=n(13);return t.text=e,t}function u(n){var t=c(e.getTextOfIdentifierOrLiteral(n));return t.textSourceNode=n,t}function d(t,a){var i=n(75);return i.escapedText=e.escapeLeadingUnderscores(t),i.originalKeywordKind=t?e.stringToToken(t):0,i.autoGenerateFlags=0,i.autoGenerateId=0,a&&(i.typeArguments=r(a)),i}function p(n,r){return n.typeArguments!==r?t(d(e.idText(n),r),n):n}e.updateNode=t,e.createNodeArray=r,e.getSynthesizedClone=a,e.createLiteral=i,e.createNumericLiteral=o,e.createBigIntLiteral=s,e.createStringLiteral=c,e.createRegularExpressionLiteral=l,e.createIdentifier=d,e.updateIdentifier=p;var m,f=0;function _(e,n){var t=d("");return t.autoGenerateFlags=1,t.autoGenerateId=f,f++,e&&e(t),n&&(t.autoGenerateFlags|=8),t}function g(){var e=d("");return e.autoGenerateFlags=2,e.autoGenerateId=f,f++,e}function y(e){var n=d(e);return n.autoGenerateFlags=3,n.autoGenerateId=f,f++,n}function v(e){var n=d(e);return n.autoGenerateFlags=19,n.autoGenerateId=f,f++,n}function h(e){var n=v(e);return n.autoGenerateFlags|=32,n}function b(n,t){var r=d(n&&e.isIdentifier(n)?e.idText(n):"");return r.autoGenerateFlags=4|t,r.autoGenerateId=f,r.original=n,f++,r}function E(e){return n(e)}function T(){return n(101)}function S(){return n(103)}function x(){return n(99)}function L(){return n(105)}function C(){return n(90)}function A(e){return E(e)}function D(e){var n=[];return 1&e&&n.push(A(88)),2&e&&n.push(A(129)),512&e&&n.push(A(83)),2048&e&&n.push(A(80)),4&e&&n.push(A(118)),8&e&&n.push(A(116)),16&e&&n.push(A(117)),128&e&&n.push(A(121)),32&e&&n.push(A(119)),64&e&&n.push(A(137)),256&e&&n.push(A(125)),n}function k(e,t){var r=n(152);return r.left=e,r.right=Ri(t),r}function N(e,n,r){return e.left!==n||e.right!==r?t(k(n,r),e):e}function I(n){return e.isCommaSequence(n)?wn(n):n}function O(e){var t=n(153);return t.expression=I(e),t}function M(e,n){return e.expression!==n?t(O(n),e):e}function w(e,t,r){var a=n(154);return a.name=Ri(e),a.constraint=t,a.default=r,a}function R(e,n,r,a){return e.name!==n||e.constraint!==r||e.default!==a?t(w(n,r,a),e):e}function P(t,r,a,i,o,s,c){var l=n(155);return l.decorators=Fi(t),l.modifiers=Fi(r),l.dotDotDotToken=a,l.name=Ri(i),l.questionToken=o,l.type=s,l.initializer=c?e.parenthesizeExpressionForList(c):void 0,l}function F(e,n,r,a,i,o,s,c){return e.decorators!==n||e.modifiers!==r||e.dotDotDotToken!==a||e.name!==i||e.questionToken!==o||e.type!==s||e.initializer!==c?t(P(n,r,a,i,o,s,c),e):e}function G(t){var r=n(156);return r.expression=e.parenthesizeForAccess(t),r}function B(e,n){return e.expression!==n?t(G(n),e):e}function V(e,t,r,a,i){var o=n(157);return o.modifiers=Fi(e),o.name=Ri(t),o.questionToken=r,o.type=a,o.initializer=i,o}function U(e,n,r,a,i,o){return e.modifiers!==n||e.name!==r||e.questionToken!==a||e.type!==i||e.initializer!==o?t(V(n,r,a,i,o),e):e}function j(e,t,r,a,i,o){var s=n(158);return s.decorators=Fi(e),s.modifiers=Fi(t),s.name=Ri(r),s.questionToken=void 0!==a&&57===a.kind?a:void 0,s.exclamationToken=void 0!==a&&53===a.kind?a:void 0,s.type=i,s.initializer=o,s}function K(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.questionToken!==(void 0!==i&&57===i.kind?i:void 0)||e.exclamationToken!==(void 0!==i&&53===i.kind?i:void 0)||e.type!==o||e.initializer!==s?t(j(n,r,a,i,o,s),e):e}function H(e,n,t,r,a){var i=de(159,e,n,t);return i.name=Ri(r),i.questionToken=a,i}function W(e,n,r,a,i,o){return e.typeParameters!==n||e.parameters!==r||e.type!==a||e.name!==i||e.questionToken!==o?t(H(n,r,a,i,o),e):e}function q(e,t,a,i,o,s,c,l,u){var d=n(160);return d.decorators=Fi(e),d.modifiers=Fi(t),d.asteriskToken=a,d.name=Ri(i),d.questionToken=o,d.typeParameters=Fi(s),d.parameters=r(c),d.type=l,d.body=u,d}function z(e,n,t){return xn(gn(e,Ri(n)),void 0,t)}function J(e,n,t){return z(d(e),n,t)}function X(e,n,t){return J("Object","defineProperty",[e,Pi(n),t])}function Y(e,n,t){return!!t&&(e.push(Ua(n,t)),!0)}function Q(n,t){var r=[];Y(r,"enumerable",Pi(n.enumerable)),Y(r,"configurable",Pi(n.configurable));var a=Y(r,"writable",Pi(n.writable));a=Y(r,"value",n.value)||a;var i=Y(r,"get",n.get);return i=Y(r,"set",n.set)||i,e.Debug.assert(!(a&&i),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),fn(r,!t)}function Z(e,n,r,a,i,o,s,c,l,u){return e.decorators!==n||e.modifiers!==r||e.asteriskToken!==a||e.name!==i||e.questionToken!==o||e.typeParameters!==s||e.parameters!==c||e.type!==l||e.body!==u?t(q(n,r,a,i,o,s,c,l,u),e):e}function $(e,t,a,i){var o=n(161);return o.decorators=Fi(e),o.modifiers=Fi(t),o.typeParameters=void 0,o.parameters=r(a),o.type=void 0,o.body=i,o}function ee(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.parameters!==a||e.body!==i?t($(n,r,a,i),e):e}function ne(e,t,a,i,o,s){var c=n(162);return c.decorators=Fi(e),c.modifiers=Fi(t),c.name=Ri(a),c.typeParameters=void 0,c.parameters=r(i),c.type=o,c.body=s,c}function te(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.parameters!==i||e.type!==o||e.body!==s?t(ne(n,r,a,i,o,s),e):e}function re(e,t,a,i,o){var s=n(163);return s.decorators=Fi(e),s.modifiers=Fi(t),s.name=Ri(a),s.typeParameters=void 0,s.parameters=r(i),s.body=o,s}function ae(e,n,r,a,i,o){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.parameters!==i||e.body!==o?t(re(n,r,a,i,o),e):e}function ie(e,n,t){return de(164,e,n,t)}function oe(e,n,t,r){return pe(e,n,t,r)}function se(e,n,t){return de(165,e,n,t)}function ce(e,n,t,r){return pe(e,n,t,r)}function le(e,t,a,i){var o=n(166);return o.decorators=Fi(e),o.modifiers=Fi(t),o.parameters=r(a),o.type=i,o}function ue(e,n,r,a,i){return e.parameters!==a||e.type!==i||e.decorators!==n||e.modifiers!==r?t(le(n,r,a,i),e):e}function de(e,t,r,a,i){var o=n(e);return o.typeParameters=Fi(t),o.parameters=Fi(r),o.type=a,o.typeArguments=Fi(i),o}function pe(e,n,r,a){return e.typeParameters!==n||e.parameters!==r||e.type!==a?t(de(e.kind,n,r,a),e):e}function me(e){return n(e)}function fe(e,n){return _e(void 0,e,n)}function _e(e,t,r){var a=n(167);return a.assertsModifier=e,a.parameterName=Ri(t),a.type=r,a}function ge(e,n,t){return ye(e,e.assertsModifier,n,t)}function ye(e,n,r,a){return e.assertsModifier!==n||e.parameterName!==r||e.type!==a?t(_e(n,r,a),e):e}function ve(t,r){var a=n(168);return a.typeName=Ri(t),a.typeArguments=r&&e.parenthesizeTypeParameters(r),a}function he(e,n,r){return e.typeName!==n||e.typeArguments!==r?t(ve(n,r),e):e}function be(e,n,t){return de(169,e,n,t)}function Ee(e,n,t,r){return pe(e,n,t,r)}function Te(e,n,t){return de(170,e,n,t)}function Se(e,n,t,r){return pe(e,n,t,r)}function xe(e){var t=n(171);return t.exprName=e,t}function Le(e,n){return e.exprName!==n?t(xe(n),e):e}function Ce(e){var t=n(172);return t.members=r(e),t}function Ae(e,n){return e.members!==n?t(Ce(n),e):e}function De(t){var r=n(173);return r.elementType=e.parenthesizeArrayTypeMember(t),r}function ke(e,n){return e.elementType!==n?t(De(n),e):e}function Ne(e){var t=n(174);return t.elementTypes=r(e),t}function Ie(e,n){return e.elementTypes!==n?t(Ne(n),e):e}function Oe(t){var r=n(175);return r.type=e.parenthesizeArrayTypeMember(t),r}function Me(e,n){return e.type!==n?t(Oe(n),e):e}function we(e){var t=n(176);return t.type=e,t}function Re(e,n){return e.type!==n?t(we(n),e):e}function Pe(e){return Ve(177,e)}function Fe(e,n){return Ue(e,n)}function Ge(e){return Ve(178,e)}function Be(e,n){return Ue(e,n)}function Ve(t,r){var a=n(t);return a.types=e.parenthesizeElementTypeMembers(r),a}function Ue(e,n){return e.types!==n?t(Ve(e.kind,n),e):e}function je(t,r,a,i){var o=n(179);return o.checkType=e.parenthesizeConditionalTypeMember(t),o.extendsType=e.parenthesizeConditionalTypeMember(r),o.trueType=a,o.falseType=i,o}function Ke(e,n,r,a,i){return e.checkType!==n||e.extendsType!==r||e.trueType!==a||e.falseType!==i?t(je(n,r,a,i),e):e}function He(e){var t=n(180);return t.typeParameter=e,t}function We(e,n){return e.typeParameter!==n?t(He(n),e):e}function qe(t,r,a,i){var o=n(187);return o.argument=t,o.qualifier=r,o.typeArguments=e.parenthesizeTypeParameters(a),o.isTypeOf=i,o}function ze(e,n,r,a,i){return e.argument!==n||e.qualifier!==r||e.typeArguments!==a||e.isTypeOf!==i?t(qe(n,r,a,i),e):e}function Je(e){var t=n(181);return t.type=e,t}function Xe(e,n){return e.type!==n?t(Je(n),e):e}function Ye(){return n(182)}function Qe(t,r){var a=n(183);return a.operator="number"===typeof t?t:133,a.type=e.parenthesizeElementTypeMember("number"===typeof t?r:t),a}function Ze(e,n){return e.type!==n?t(Qe(e.operator,n),e):e}function $e(t,r){var a=n(184);return a.objectType=e.parenthesizeElementTypeMember(t),a.indexType=r,a}function en(e,n,r){return e.objectType!==n||e.indexType!==r?t($e(n,r),e):e}function nn(e,t,r,a){var i=n(185);return i.readonlyToken=e,i.typeParameter=t,i.questionToken=r,i.type=a,i}function tn(e,n,r,a,i){return e.readonlyToken!==n||e.typeParameter!==r||e.questionToken!==a||e.type!==i?t(nn(n,r,a,i),e):e}function rn(e){var t=n(186);return t.literal=e,t}function an(e,n){return e.literal!==n?t(rn(n),e):e}function on(e){var t=n(188);return t.elements=r(e),t}function sn(e,n){return e.elements!==n?t(on(n),e):e}function cn(e){var t=n(189);return t.elements=r(e),t}function ln(e,n){return e.elements!==n?t(cn(n),e):e}function un(e,t,r,a){var i=n(190);return i.dotDotDotToken=e,i.propertyName=Ri(t),i.name=Ri(r),i.initializer=a,i}function dn(e,n,r,a,i){return e.propertyName!==r||e.dotDotDotToken!==n||e.name!==a||e.initializer!==i?t(un(n,r,a,i),e):e}function pn(t,a){var i=n(191);return i.elements=e.parenthesizeListElements(r(t)),a&&(i.multiLine=!0),i}function mn(e,n){return e.elements!==n?t(pn(n,e.multiLine),e):e}function fn(e,t){var a=n(192);return a.properties=r(e),t&&(a.multiLine=!0),a}function _n(e,n){return e.properties!==n?t(fn(n,e.multiLine),e):e}function gn(t,r){var a=n(193);return a.expression=e.parenthesizeForAccess(t),a.name=Ri(r),Hi(a,131072),a}function yn(n,r,a){return e.isOptionalChain(n)?hn(n,r,n.questionDotToken,a):n.expression!==r||n.name!==a?t(Hi(gn(r,a),e.getEmitFlags(n)),n):n}function vn(t,r,a){var i=n(193);return i.flags|=32,i.expression=e.parenthesizeForAccess(t),i.questionDotToken=r,i.name=Ri(a),Hi(i,131072),i}function hn(n,r,a,i){return e.Debug.assert(!!(32&n.flags),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),n.expression!==r||n.questionDotToken!==a||n.name!==i?t(Hi(vn(r,a,i),e.getEmitFlags(n)),n):n}function bn(t,r){var a=n(194);return a.expression=e.parenthesizeForAccess(t),a.argumentExpression=Pi(r),a}function En(n,r,a){return e.isOptionalChain(n)?Sn(n,r,n.questionDotToken,a):n.expression!==r||n.argumentExpression!==a?t(bn(r,a),n):n}function Tn(t,r,a){var i=n(194);return i.flags|=32,i.expression=e.parenthesizeForAccess(t),i.questionDotToken=r,i.argumentExpression=Pi(a),i}function Sn(n,r,a,i){return e.Debug.assert(!!(32&n.flags),"Cannot update an ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),n.expression!==r||n.questionDotToken!==a||n.argumentExpression!==i?t(Tn(r,a,i),n):n}function xn(t,a,i){var o=n(195);return o.expression=e.parenthesizeForAccess(t),o.typeArguments=Fi(a),o.arguments=e.parenthesizeListElements(r(i)),o}function Ln(n,r,a,i){return e.isOptionalChain(n)?An(n,r,n.questionDotToken,a,i):n.expression!==r||n.typeArguments!==a||n.arguments!==i?t(xn(r,a,i),n):n}function Cn(t,a,i,o){var s=n(195);return s.flags|=32,s.expression=e.parenthesizeForAccess(t),s.questionDotToken=a,s.typeArguments=Fi(i),s.arguments=e.parenthesizeListElements(r(o)),s}function An(n,r,a,i,o){return e.Debug.assert(!!(32&n.flags),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),n.expression!==r||n.questionDotToken!==a||n.typeArguments!==i||n.arguments!==o?t(Cn(r,a,i,o),n):n}function Dn(t,a,i){var o=n(196);return o.expression=e.parenthesizeForNew(t),o.typeArguments=Fi(a),o.arguments=i?e.parenthesizeListElements(r(i)):void 0,o}function kn(e,n,r,a){return e.expression!==n||e.typeArguments!==r||e.arguments!==a?t(Dn(n,r,a),e):e}function Nn(t,r,a){var i=n(197);return i.tag=e.parenthesizeForAccess(t),a?(i.typeArguments=Fi(r),i.template=a):(i.typeArguments=void 0,i.template=r),i}function In(e,n,r,a){return e.tag!==n||(a?e.typeArguments!==r||e.template!==a:void 0!==e.typeArguments||e.template!==r)?t(Nn(n,r,a),e):e}function On(t,r){var a=n(198);return a.type=t,a.expression=e.parenthesizePrefixOperand(r),a}function Mn(e,n,r){return e.type!==n||e.expression!==r?t(On(n,r),e):e}function wn(e){var t=n(199);return t.expression=e,t}function Rn(e,n){return e.expression!==n?t(wn(n),e):e}function Pn(e,t,a,i,o,s,c){var l=n(200);return l.modifiers=Fi(e),l.asteriskToken=t,l.name=Ri(a),l.typeParameters=Fi(i),l.parameters=r(o),l.type=s,l.body=c,l}function Fn(e,n,r,a,i,o,s,c){return e.name!==a||e.modifiers!==n||e.asteriskToken!==r||e.typeParameters!==i||e.parameters!==o||e.type!==s||e.body!==c?t(Pn(n,r,a,i,o,s,c),e):e}function Gn(t,a,i,o,s,c){var l=n(201);return l.modifiers=Fi(t),l.typeParameters=Fi(a),l.parameters=r(i),l.type=o,l.equalsGreaterThanToken=s||E(38),l.body=e.parenthesizeConciseBody(c),l}function Bn(e,n,r,a,i,o,s){return e.modifiers!==n||e.typeParameters!==r||e.parameters!==a||e.type!==i||e.equalsGreaterThanToken!==o||e.body!==s?t(Gn(n,r,a,i,o,s),e):e}function Vn(t){var r=n(202);return r.expression=e.parenthesizePrefixOperand(t),r}function Un(e,n){return e.expression!==n?t(Vn(n),e):e}function jn(t){var r=n(203);return r.expression=e.parenthesizePrefixOperand(t),r}function Kn(e,n){return e.expression!==n?t(jn(n),e):e}function Hn(t){var r=n(204);return r.expression=e.parenthesizePrefixOperand(t),r}function Wn(e,n){return e.expression!==n?t(Hn(n),e):e}function qn(t){var r=n(205);return r.expression=e.parenthesizePrefixOperand(t),r}function zn(e,n){return e.expression!==n?t(qn(n),e):e}function Jn(t,r){var a=n(206);return a.operator=t,a.operand=e.parenthesizePrefixOperand(r),a}function Xn(e,n){return e.operand!==n?t(Jn(e.operator,n),e):e}function Yn(t,r){var a=n(207);return a.operand=e.parenthesizePostfixOperand(t),a.operator=r,a}function Qn(e,n){return e.operand!==n?t(Yn(n,e.operator),e):e}function Zn(t,r,a){var i=n(208),o=Gi(r),s=o.kind;return i.left=e.parenthesizeBinaryOperand(s,t,!0,void 0),i.operatorToken=o,i.right=e.parenthesizeBinaryOperand(s,a,!1,i.left),i}function $n(e,n,r,a){return e.left!==n||e.right!==r?t(Zn(n,a||e.operatorToken,r),e):e}function et(t,r,a,i,o){var s=n(209);return s.condition=e.parenthesizeForConditionalHead(t),s.questionToken=o?r:E(57),s.whenTrue=e.parenthesizeSubexpressionOfConditionalExpression(o?a:r),s.colonToken=o?i:E(58),s.whenFalse=e.parenthesizeSubexpressionOfConditionalExpression(o||a),s}function nt(e,n,r,a,i,o){return e.condition!==n||e.questionToken!==r||e.whenTrue!==a||e.colonToken!==i||e.whenFalse!==o?t(et(n,r,a,i,o),e):e}function tt(e,t){var a=n(210);return a.head=e,a.templateSpans=r(t),a}function rt(e,n,r){return e.head!==n||e.templateSpans!==r?t(tt(n,r),e):e}e.createTempVariable=_,e.createLoopVariable=g,e.createUniqueName=y,e.createOptimisticUniqueName=v,e.createFileLevelUniqueName=h,e.getGeneratedNameForNode=b,e.createToken=E,e.createSuper=T,e.createThis=S,e.createNull=x,e.createTrue=L,e.createFalse=C,e.createModifier=A,e.createModifiersFromModifierFlags=D,e.createQualifiedName=k,e.updateQualifiedName=N,e.createComputedPropertyName=O,e.updateComputedPropertyName=M,e.createTypeParameterDeclaration=w,e.updateTypeParameterDeclaration=R,e.createParameter=P,e.updateParameter=F,e.createDecorator=G,e.updateDecorator=B,e.createPropertySignature=V,e.updatePropertySignature=U,e.createProperty=j,e.updateProperty=K,e.createMethodSignature=H,e.updateMethodSignature=W,e.createMethod=q,e.createObjectDefinePropertyCall=X,e.createPropertyDescriptor=Q,e.updateMethod=Z,e.createConstructor=$,e.updateConstructor=ee,e.createGetAccessor=ne,e.updateGetAccessor=te,e.createSetAccessor=re,e.updateSetAccessor=ae,e.createCallSignature=ie,e.updateCallSignature=oe,e.createConstructSignature=se,e.updateConstructSignature=ce,e.createIndexSignature=le,e.updateIndexSignature=ue,e.createSignatureDeclaration=de,e.createKeywordTypeNode=me,e.createTypePredicateNode=fe,e.createTypePredicateNodeWithModifier=_e,e.updateTypePredicateNode=ge,e.updateTypePredicateNodeWithModifier=ye,e.createTypeReferenceNode=ve,e.updateTypeReferenceNode=he,e.createFunctionTypeNode=be,e.updateFunctionTypeNode=Ee,e.createConstructorTypeNode=Te,e.updateConstructorTypeNode=Se,e.createTypeQueryNode=xe,e.updateTypeQueryNode=Le,e.createTypeLiteralNode=Ce,e.updateTypeLiteralNode=Ae,e.createArrayTypeNode=De,e.updateArrayTypeNode=ke,e.createTupleTypeNode=Ne,e.updateTupleTypeNode=Ie,e.createOptionalTypeNode=Oe,e.updateOptionalTypeNode=Me,e.createRestTypeNode=we,e.updateRestTypeNode=Re,e.createUnionTypeNode=Pe,e.updateUnionTypeNode=Fe,e.createIntersectionTypeNode=Ge,e.updateIntersectionTypeNode=Be,e.createUnionOrIntersectionTypeNode=Ve,e.createConditionalTypeNode=je,e.updateConditionalTypeNode=Ke,e.createInferTypeNode=He,e.updateInferTypeNode=We,e.createImportTypeNode=qe,e.updateImportTypeNode=ze,e.createParenthesizedType=Je,e.updateParenthesizedType=Xe,e.createThisTypeNode=Ye,e.createTypeOperatorNode=Qe,e.updateTypeOperatorNode=Ze,e.createIndexedAccessTypeNode=$e,e.updateIndexedAccessTypeNode=en,e.createMappedTypeNode=nn,e.updateMappedTypeNode=tn,e.createLiteralTypeNode=rn,e.updateLiteralTypeNode=an,e.createObjectBindingPattern=on,e.updateObjectBindingPattern=sn,e.createArrayBindingPattern=cn,e.updateArrayBindingPattern=ln,e.createBindingElement=un,e.updateBindingElement=dn,e.createArrayLiteral=pn,e.updateArrayLiteral=mn,e.createObjectLiteral=fn,e.updateObjectLiteral=_n,e.createPropertyAccess=gn,e.updatePropertyAccess=yn,e.createPropertyAccessChain=vn,e.updatePropertyAccessChain=hn,e.createElementAccess=bn,e.updateElementAccess=En,e.createElementAccessChain=Tn,e.updateElementAccessChain=Sn,e.createCall=xn,e.updateCall=Ln,e.createCallChain=Cn,e.updateCallChain=An,e.createNew=Dn,e.updateNew=kn,e.createTaggedTemplate=Nn,e.updateTaggedTemplate=In,e.createTypeAssertion=On,e.updateTypeAssertion=Mn,e.createParen=wn,e.updateParen=Rn,e.createFunctionExpression=Pn,e.updateFunctionExpression=Fn,e.createArrowFunction=Gn,e.updateArrowFunction=Bn,e.createDelete=Vn,e.updateDelete=Un,e.createTypeOf=jn,e.updateTypeOf=Kn,e.createVoid=Hn,e.updateVoid=Wn,e.createAwait=qn,e.updateAwait=zn,e.createPrefix=Jn,e.updatePrefix=Xn,e.createPostfix=Yn,e.updatePostfix=Qn,e.createBinary=Zn,e.updateBinary=$n,e.createConditional=et,e.updateConditional=nt,e.createTemplateExpression=tt,e.updateTemplateExpression=rt;var at,it,ot={};function st(n,t){switch(m||(m=e.createScanner(99,!1,0)),n){case 14:m.setText("`"+t+"`");break;case 15:m.setText("`"+t+"${");break;case 16:m.setText("}"+t+"${");break;case 17:m.setText("}"+t+"`");break}var r,a=m.scan();if(23===a&&(a=m.reScanTemplateToken()),m.isUnterminated())return m.setText(void 0),ot;switch(a){case 14:case 15:case 16:case 17:r=m.getTokenValue();break}return 1!==m.scan()?(m.setText(void 0),ot):(m.setText(void 0),r)}function ct(t,r,a){var i=n(t);if(i.text=r,void 0===a||r===a)i.rawText=a;else{var o=st(t,a);if("object"===typeof o)return e.Debug.fail("Invalid raw text");e.Debug.assert(r===o,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'."),i.rawText=a}return i}function lt(e,n){var t=ct(15,e,n);return t.text=e,t}function ut(e,n){var t=ct(16,e,n);return t.text=e,t}function dt(e,n){var t=ct(17,e,n);return t.text=e,t}function pt(e,n){var t=ct(14,e,n);return t}function mt(e,t){var r=n(211);return r.asteriskToken=e&&41===e.kind?e:void 0,r.expression=e&&41!==e.kind?e:t,r}function ft(e,n,r){return e.expression!==r||e.asteriskToken!==n?t(mt(n,r),e):e}function _t(t){var r=n(212);return r.expression=e.parenthesizeExpressionForList(t),r}function gt(e,n){return e.expression!==n?t(_t(n),e):e}function yt(e,t,a,i,o){var s=n(213);return s.decorators=void 0,s.modifiers=Fi(e),s.name=Ri(t),s.typeParameters=Fi(a),s.heritageClauses=Fi(i),s.members=r(o),s}function vt(e,n,r,a,i,o){return e.modifiers!==n||e.name!==r||e.typeParameters!==a||e.heritageClauses!==i||e.members!==o?t(yt(n,r,a,i,o),e):e}function ht(){return n(214)}function bt(t,r){var a=n(215);return a.expression=e.parenthesizeForAccess(r),a.typeArguments=Fi(t),a}function Et(e,n,r){return e.typeArguments!==n||e.expression!==r?t(bt(n,r),e):e}function Tt(e,t){var r=n(216);return r.expression=e,r.type=t,r}function St(e,n,r){return e.expression!==n||e.type!==r?t(Tt(n,r),e):e}function xt(t){var r=n(217);return r.expression=e.parenthesizeForAccess(t),r}function Lt(e,n){return e.expression!==n?t(xt(n),e):e}function Ct(e,t){var r=n(218);return r.keywordToken=e,r.name=t,r}function At(e,n){return e.name!==n?t(Ct(e.keywordToken,n),e):e}function Dt(e,t){var r=n(220);return r.expression=e,r.literal=t,r}function kt(e,n,r){return e.expression!==n||e.literal!==r?t(Dt(n,r),e):e}function Nt(){return n(221)}function It(e,t){var a=n(222);return a.statements=r(e),t&&(a.multiLine=t),a}function Ot(e,n){return e.statements!==n?t(It(n,e.multiLine),e):e}function Mt(t,r){var a=n(224);return a.decorators=void 0,a.modifiers=Fi(t),a.declarationList=e.isArray(r)?_r(r):r,a}function wt(e,n,r){return e.modifiers!==n||e.declarationList!==r?t(Mt(n,r),e):e}function Rt(){return n(223)}function Pt(t){var r=n(225);return r.expression=e.parenthesizeExpressionForExpressionStatement(t),r}function Ft(e,n){return e.expression!==n?t(Pt(n),e):e}function Gt(e,t,r){var a=n(226);return a.expression=e,a.thenStatement=Bi(t),a.elseStatement=Bi(r),a}function Bt(e,n,r,a){return e.expression!==n||e.thenStatement!==r||e.elseStatement!==a?t(Gt(n,r,a),e):e}function Vt(e,t){var r=n(227);return r.statement=Bi(e),r.expression=t,r}function Ut(e,n,r){return e.statement!==n||e.expression!==r?t(Vt(n,r),e):e}function jt(e,t){var r=n(228);return r.expression=e,r.statement=Bi(t),r}function Kt(e,n,r){return e.expression!==n||e.statement!==r?t(jt(n,r),e):e}function Ht(e,t,r,a){var i=n(229);return i.initializer=e,i.condition=t,i.incrementor=r,i.statement=Bi(a),i}function Wt(e,n,r,a,i){return e.initializer!==n||e.condition!==r||e.incrementor!==a||e.statement!==i?t(Ht(n,r,a,i),e):e}function qt(e,t,r){var a=n(230);return a.initializer=e,a.expression=t,a.statement=Bi(r),a}function zt(e,n,r,a){return e.initializer!==n||e.expression!==r||e.statement!==a?t(qt(n,r,a),e):e}function Jt(t,r,a,i){var o=n(231);return o.awaitModifier=t,o.initializer=r,o.expression=e.isCommaSequence(a)?wn(a):a,o.statement=Bi(i),o}function Xt(e,n,r,a,i){return e.awaitModifier!==n||e.initializer!==r||e.expression!==a||e.statement!==i?t(Jt(n,r,a,i),e):e}function Yt(e){var t=n(232);return t.label=Ri(e),t}function Qt(e,n){return e.label!==n?t(Yt(n),e):e}function Zt(e){var t=n(233);return t.label=Ri(e),t}function $t(e,n){return e.label!==n?t(Zt(n),e):e}function er(e){var t=n(234);return t.expression=e,t}function nr(e,n){return e.expression!==n?t(er(n),e):e}function tr(e,t){var r=n(235);return r.expression=e,r.statement=Bi(t),r}function rr(e,n,r){return e.expression!==n||e.statement!==r?t(tr(n,r),e):e}function ar(t,r){var a=n(236);return a.expression=e.parenthesizeExpressionForList(t),a.caseBlock=r,a}function ir(e,n,r){return e.expression!==n||e.caseBlock!==r?t(ar(n,r),e):e}function or(e,t){var r=n(237);return r.label=Ri(e),r.statement=Bi(t),r}function sr(e,n,r){return e.label!==n||e.statement!==r?t(or(n,r),e):e}function cr(e){var t=n(238);return t.expression=e,t}function lr(e,n){return e.expression!==n?t(cr(n),e):e}function ur(e,t,r){var a=n(239);return a.tryBlock=e,a.catchClause=t,a.finallyBlock=r,a}function dr(e,n,r,a){return e.tryBlock!==n||e.catchClause!==r||e.finallyBlock!==a?t(ur(n,r,a),e):e}function pr(){return n(240)}function mr(t,r,a){var i=n(241);return i.name=Ri(t),i.type=r,i.initializer=void 0!==a?e.parenthesizeExpressionForList(a):void 0,i}function fr(e,n,r,a){return e.name!==n||e.type!==r||e.initializer!==a?t(mr(n,r,a),e):e}function _r(e,t){void 0===t&&(t=0);var a=n(242);return a.flags|=3&t,a.declarations=r(e),a}function gr(e,n){return e.declarations!==n?t(_r(n,e.flags),e):e}function yr(e,t,a,i,o,s,c,l){var u=n(243);return u.decorators=Fi(e),u.modifiers=Fi(t),u.asteriskToken=a,u.name=Ri(i),u.typeParameters=Fi(o),u.parameters=r(s),u.type=c,u.body=l,u}function vr(e,n,r,a,i,o,s,c,l){return e.decorators!==n||e.modifiers!==r||e.asteriskToken!==a||e.name!==i||e.typeParameters!==o||e.parameters!==s||e.type!==c||e.body!==l?t(yr(n,r,a,i,o,s,c,l),e):e}function hr(e,t,a,i,o,s){var c=n(244);return c.decorators=Fi(e),c.modifiers=Fi(t),c.name=Ri(a),c.typeParameters=Fi(i),c.heritageClauses=Fi(o),c.members=r(s),c}function br(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.heritageClauses!==o||e.members!==s?t(hr(n,r,a,i,o,s),e):e}function Er(e,t,a,i,o,s){var c=n(245);return c.decorators=Fi(e),c.modifiers=Fi(t),c.name=Ri(a),c.typeParameters=Fi(i),c.heritageClauses=Fi(o),c.members=r(s),c}function Tr(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.heritageClauses!==o||e.members!==s?t(Er(n,r,a,i,o,s),e):e}function Sr(e,t,r,a,i){var o=n(246);return o.decorators=Fi(e),o.modifiers=Fi(t),o.name=Ri(r),o.typeParameters=Fi(a),o.type=i,o}function xr(e,n,r,a,i,o){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.type!==o?t(Sr(n,r,a,i,o),e):e}function Lr(e,t,a,i){var o=n(247);return o.decorators=Fi(e),o.modifiers=Fi(t),o.name=Ri(a),o.members=r(i),o}function Cr(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.members!==i?t(Lr(n,r,a,i),e):e}function Ar(e,t,r,a,i){void 0===i&&(i=0);var o=n(248);return o.flags|=1044&i,o.decorators=Fi(e),o.modifiers=Fi(t),o.name=r,o.body=a,o}function Dr(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.body!==i?t(Ar(n,r,a,i,e.flags),e):e}function kr(e){var t=n(249);return t.statements=r(e),t}function Nr(e,n){return e.statements!==n?t(kr(n),e):e}function Ir(e){var t=n(250);return t.clauses=r(e),t}function Or(e,n){return e.clauses!==n?t(Ir(n),e):e}function Mr(e){var t=n(251);return t.name=Ri(e),t}function wr(e,n){return e.name!==n?t(Mr(n),e):e}function Rr(e,t,r,a){var i=n(252);return i.decorators=Fi(e),i.modifiers=Fi(t),i.name=Ri(r),i.moduleReference=a,i}function Pr(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.moduleReference!==i?t(Rr(n,r,a,i),e):e}function Fr(e,t,r,a){var i=n(253);return i.decorators=Fi(e),i.modifiers=Fi(t),i.importClause=r,i.moduleSpecifier=a,i}function Gr(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.importClause!==a||e.moduleSpecifier!==i?t(Fr(n,r,a,i),e):e}function Br(e,t){var r=n(254);return r.name=e,r.namedBindings=t,r}function Vr(e,n,r){return e.name!==n||e.namedBindings!==r?t(Br(n,r),e):e}function Ur(e){var t=n(255);return t.name=e,t}function jr(e,n){return e.name!==n?t(Ur(n),e):e}function Kr(e){var t=n(256);return t.elements=r(e),t}function Hr(e,n){return e.elements!==n?t(Kr(n),e):e}function Wr(e,t){var r=n(257);return r.propertyName=e,r.name=t,r}function qr(e,n,r){return e.propertyName!==n||e.name!==r?t(Wr(n,r),e):e}function zr(t,r,a,i){var o=n(258);return o.decorators=Fi(t),o.modifiers=Fi(r),o.isExportEquals=a,o.expression=a?e.parenthesizeBinaryOperand(62,i,!1,void 0):e.parenthesizeDefaultExpression(i),o}function Jr(e,n,r,a){return e.decorators!==n||e.modifiers!==r||e.expression!==a?t(zr(n,r,e.isExportEquals,a),e):e}function Xr(e,t,r,a){var i=n(259);return i.decorators=Fi(e),i.modifiers=Fi(t),i.exportClause=r,i.moduleSpecifier=a,i}function Yr(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.exportClause!==a||e.moduleSpecifier!==i?t(Xr(n,r,a,i),e):e}function Qr(){return Xr(void 0,void 0,Zr([]),void 0)}function Zr(e){var t=n(260);return t.elements=r(e),t}function $r(e,n){return e.elements!==n?t(Zr(n),e):e}function ea(e,t){var r=n(261);return r.propertyName=Ri(e),r.name=Ri(t),r}function na(e,n,r){return e.propertyName!==n||e.name!==r?t(ea(n,r),e):e}function ta(e){var t=n(263);return t.expression=e,t}function ra(e,n){return e.expression!==n?t(ta(n),e):e}function aa(e){var t=n(292);return t.type=e,t}function ia(e,n){var t=ua(313,"type");return t.typeExpression=e,t.comment=n,t}function oa(e,n){var t=ua(311,"returns");return t.typeExpression=e,t.comment=n,t}function sa(e){var n=ua(312,"this");return n.typeExpression=e,n}function ca(e,n,t,r){var a=ua(310,"param");return a.typeExpression=t,a.name=e,a.isBracketed=n,a.comment=r,a}function la(e,t){var r=n(301);return r.comment=e,r.tags=t,r}function ua(e,t){var r=n(e);return r.tagName=d(t),r}function da(e,t,a){var i=n(264);return i.openingElement=e,i.children=r(t),i.closingElement=a,i}function pa(e,n,r,a){return e.openingElement!==n||e.children!==r||e.closingElement!==a?t(da(n,r,a),e):e}function ma(e,t,r){var a=n(265);return a.tagName=e,a.typeArguments=Fi(t),a.attributes=r,a}function fa(e,n,r,a){return e.tagName!==n||e.typeArguments!==r||e.attributes!==a?t(ma(n,r,a),e):e}function _a(e,t,r){var a=n(266);return a.tagName=e,a.typeArguments=Fi(t),a.attributes=r,a}function ga(e,n,r,a){return e.tagName!==n||e.typeArguments!==r||e.attributes!==a?t(_a(n,r,a),e):e}function ya(e){var t=n(267);return t.tagName=e,t}function va(e,n){return e.tagName!==n?t(ya(n),e):e}function ha(e,t,a){var i=n(268);return i.openingFragment=e,i.children=r(t),i.closingFragment=a,i}function ba(e,t){var r=n(11);return r.text=e,r.containsOnlyTriviaWhiteSpaces=!!t,r}function Ea(e,n,r){return e.text!==n||e.containsOnlyTriviaWhiteSpaces!==r?t(ba(n,r),e):e}function Ta(){return n(269)}function Sa(){return n(270)}function xa(e,n,r,a){return e.openingFragment!==n||e.children!==r||e.closingFragment!==a?t(ha(n,r,a),e):e}function La(e,t){var r=n(271);return r.name=e,r.initializer=t,r}function Ca(e,n,r){return e.name!==n||e.initializer!==r?t(La(n,r),e):e}function Aa(e){var t=n(272);return t.properties=r(e),t}function Da(e,n){return e.properties!==n?t(Aa(n),e):e}function ka(e){var t=n(273);return t.expression=e,t}function Na(e,n){return e.expression!==n?t(ka(n),e):e}function Ia(e,t){var r=n(274);return r.dotDotDotToken=e,r.expression=t,r}function Oa(e,n){return e.expression!==n?t(Ia(e.dotDotDotToken,n),e):e}function Ma(t,a){var i=n(275);return i.expression=e.parenthesizeExpressionForList(t),i.statements=r(a),i}function wa(e,n,r){return e.expression!==n||e.statements!==r?t(Ma(n,r),e):e}function Ra(e){var t=n(276);return t.statements=r(e),t}function Pa(e,n){return e.statements!==n?t(Ra(n),e):e}function Fa(e,t){var a=n(277);return a.token=e,a.types=r(t),a}function Ga(e,n){return e.types!==n?t(Fa(e.token,n),e):e}function Ba(t,r){var a=n(278);return a.variableDeclaration=e.isString(t)?mr(t):t,a.block=r,a}function Va(e,n,r){return e.variableDeclaration!==n||e.block!==r?t(Ba(n,r),e):e}function Ua(t,r){var a=n(279);return a.name=Ri(t),a.questionToken=void 0,a.initializer=e.parenthesizeExpressionForList(r),a}function ja(e,n,r){return e.name!==n||e.initializer!==r?t(Ua(n,r),e):e}function Ka(t,r){var a=n(280);return a.name=Ri(t),a.objectAssignmentInitializer=void 0!==r?e.parenthesizeExpressionForList(r):void 0,a}function Ha(e,n,r){return e.name!==n||e.objectAssignmentInitializer!==r?t(Ka(n,r),e):e}function Wa(t){var r=n(281);return r.expression=e.parenthesizeExpressionForList(t),r}function qa(e,n){return e.expression!==n?t(Wa(n),e):e}function za(t,r){var a=n(282);return a.name=Ri(t),a.initializer=r&&e.parenthesizeExpressionForList(r),a}function Ja(e,n,r){return e.name!==n||e.initializer!==r?t(za(n,r),e):e}function Xa(e,a,i,o,s,c,l){if(e.statements!==a||void 0!==i&&e.isDeclarationFile!==i||void 0!==o&&e.referencedFiles!==o||void 0!==s&&e.typeReferenceDirectives!==s||void 0!==l&&e.libReferenceDirectives!==l||void 0!==c&&e.hasNoDefaultLib!==c){var u=n(288);return u.flags|=e.flags,u.statements=r(a),u.endOfFileToken=e.endOfFileToken,u.fileName=e.fileName,u.path=e.path,u.text=e.text,u.isDeclarationFile=void 0===i?e.isDeclarationFile:i,u.referencedFiles=void 0===o?e.referencedFiles:o,u.typeReferenceDirectives=void 0===s?e.typeReferenceDirectives:s,u.hasNoDefaultLib=void 0===c?e.hasNoDefaultLib:c,u.libReferenceDirectives=void 0===l?e.libReferenceDirectives:l,void 0!==e.amdDependencies&&(u.amdDependencies=e.amdDependencies),void 0!==e.moduleName&&(u.moduleName=e.moduleName),void 0!==e.languageVariant&&(u.languageVariant=e.languageVariant),void 0!==e.renamedDependencies&&(u.renamedDependencies=e.renamedDependencies),void 0!==e.languageVersion&&(u.languageVersion=e.languageVersion),void 0!==e.scriptKind&&(u.scriptKind=e.scriptKind),void 0!==e.externalModuleIndicator&&(u.externalModuleIndicator=e.externalModuleIndicator),void 0!==e.commonJsModuleIndicator&&(u.commonJsModuleIndicator=e.commonJsModuleIndicator),void 0!==e.identifiers&&(u.identifiers=e.identifiers),void 0!==e.nodeCount&&(u.nodeCount=e.nodeCount),void 0!==e.identifierCount&&(u.identifierCount=e.identifierCount),void 0!==e.symbolCount&&(u.symbolCount=e.symbolCount),void 0!==e.parseDiagnostics&&(u.parseDiagnostics=e.parseDiagnostics),void 0!==e.bindDiagnostics&&(u.bindDiagnostics=e.bindDiagnostics),void 0!==e.bindSuggestionDiagnostics&&(u.bindSuggestionDiagnostics=e.bindSuggestionDiagnostics),void 0!==e.lineMap&&(u.lineMap=e.lineMap),void 0!==e.classifiableNames&&(u.classifiableNames=e.classifiableNames),void 0!==e.resolvedModules&&(u.resolvedModules=e.resolvedModules),void 0!==e.resolvedTypeReferenceDirectiveNames&&(u.resolvedTypeReferenceDirectiveNames=e.resolvedTypeReferenceDirectiveNames),void 0!==e.imports&&(u.imports=e.imports),void 0!==e.moduleAugmentations&&(u.moduleAugmentations=e.moduleAugmentations),void 0!==e.pragmas&&(u.pragmas=e.pragmas),void 0!==e.localJsxFactory&&(u.localJsxFactory=e.localJsxFactory),void 0!==e.localJsxNamespace&&(u.localJsxNamespace=e.localJsxNamespace),t(u,e)}return e}function Ya(e){var n=a(e);return n.pos=e.pos,n.end=e.end,n.parent=e.parent,n}function Qa(e){var t=n(318);return t.original=e,Ki(t,e),t}function Za(e){var t=n(322);return t.emitNode={},t.original=e,t}function $a(e){var t=n(321);return t.emitNode={},t.original=e,t}function ei(e,t){var r=n(319);return r.expression=e,r.original=t,Ki(r,t),r}function ni(e,n){return e.expression!==n?t(ei(n,e.original),e):e}function ti(n){if(e.nodeIsSynthesized(n)&&!e.isParseTreeNode(n)&&!n.original&&!n.emitNode&&!n.id){if(320===n.kind)return n.elements;if(e.isBinaryExpression(n)&&27===n.operatorToken.kind)return[n.left,n.right]}return n}function ri(t){var a=n(320);return a.elements=r(e.sameFlatMap(t,ti)),a}function ai(e,n){return e.elements!==n?t(ri(n),e):e}function ii(e,t){var r=n(323);return r.expression=e,r.thisArg=t,r}function oi(e,n,r){return e.expression!==n||e.thisArg!==r?t(ii(n,r),e):e}function si(n,t){void 0===t&&(t=e.emptyArray);var r=e.createNode(289);return r.prepends=t,r.sourceFiles=n,r}function ci(){return at||(at=e.arrayToMap([e.valuesHelper,e.readHelper,e.spreadHelper,e.spreadArraysHelper,e.restHelper,e.decorateHelper,e.metadataHelper,e.paramHelper,e.awaiterHelper,e.assignHelper,e.awaitHelper,e.asyncGeneratorHelper,e.asyncDelegator,e.asyncValues,e.extendsHelper,e.templateObjectHelper,e.generatorHelper,e.importStarHelper,e.importDefaultHelper],(function(e){return e.name})))}function li(){var n=e.createNode(290);return n.prologues=e.emptyArray,n.referencedFiles=e.emptyArray,n.libReferenceDirectives=e.emptyArray,n.getLineAndCharacterOfPosition=function(t){return e.getLineAndCharacterOfPosition(n,t)},n}function ui(n,t,r){var a,i,o=li();if(e.isString(n))o.fileName="",o.text=n,o.sourceMapPath=t,o.sourceMapText=r;else if(e.Debug.assert("js"===t||"dts"===t),o.fileName=("js"===t?n.javascriptPath:n.declarationPath)||"",o.sourceMapPath="js"===t?n.javascriptMapPath:n.declarationMapPath,Object.defineProperties(o,{text:{get:function(){return"js"===t?n.javascriptText:n.declarationText}},sourceMapText:{get:function(){return"js"===t?n.javascriptMapText:n.declarationMapText}}}),n.buildInfo&&n.buildInfo.bundle&&(o.oldFileOfCurrentEmit=n.oldFileOfCurrentEmit,e.Debug.assert(void 0===r||"boolean"===typeof r),a=r,i="js"===t?n.buildInfo.bundle.js:n.buildInfo.bundle.dts,o.oldFileOfCurrentEmit))return pi(o,e.Debug.assertDefined(i)),o;return e.Debug.assert(!o.oldFileOfCurrentEmit),di(o,i,a),o}function di(n,t,r){for(var a,i,o,s,c,l,u=0,d=t?t.sections:e.emptyArray;u0&&(i[c-s]=l)}s>0&&(i.length-=s)}}function go(n,t){return n===t||n.priority===t.priority?0:void 0===n.priority?1:void 0===t.priority?-1:e.compareValues(n.priority,t.priority)}function yo(e,n){if(e.original=n,n){var t=n.emitNode;t&&(e.emitNode=vo(t,e.emitNode))}return e}function vo(n,t){var r=n.flags,a=n.leadingComments,i=n.trailingComments,o=n.commentRange,s=n.sourceMapRange,c=n.tokenSourceMapRanges,l=n.constantValue,u=n.helpers,d=n.startsOnNewLine;return t||(t={}),a&&(t.leadingComments=e.addRange(a.slice(),t.leadingComments)),i&&(t.trailingComments=e.addRange(i.slice(),t.trailingComments)),r&&(t.flags=r),o&&(t.commentRange=o),s&&(t.sourceMapRange=s),c&&(t.tokenSourceMapRanges=ho(c,t.tokenSourceMapRanges)),void 0!==l&&(t.constantValue=l),u&&(t.helpers=e.addRange(t.helpers,u)),void 0!==d&&(t.startsOnNewLine=d),t}function ho(e,n){for(var t in n||(n=[]),e)n[t]=e[t];return n}e.createTemplateHead=lt,e.createTemplateMiddle=ut,e.createTemplateTail=dt,e.createNoSubstitutionTemplateLiteral=pt,e.createYield=mt,e.updateYield=ft,e.createSpread=_t,e.updateSpread=gt,e.createClassExpression=yt,e.updateClassExpression=vt,e.createOmittedExpression=ht,e.createExpressionWithTypeArguments=bt,e.updateExpressionWithTypeArguments=Et,e.createAsExpression=Tt,e.updateAsExpression=St,e.createNonNullExpression=xt,e.updateNonNullExpression=Lt,e.createMetaProperty=Ct,e.updateMetaProperty=At,e.createTemplateSpan=Dt,e.updateTemplateSpan=kt,e.createSemicolonClassElement=Nt,e.createBlock=It,e.updateBlock=Ot,e.createVariableStatement=Mt,e.updateVariableStatement=wt,e.createEmptyStatement=Rt,e.createExpressionStatement=Pt,e.updateExpressionStatement=Ft,e.createStatement=Pt,e.updateStatement=Ft,e.createIf=Gt,e.updateIf=Bt,e.createDo=Vt,e.updateDo=Ut,e.createWhile=jt,e.updateWhile=Kt,e.createFor=Ht,e.updateFor=Wt,e.createForIn=qt,e.updateForIn=zt,e.createForOf=Jt,e.updateForOf=Xt,e.createContinue=Yt,e.updateContinue=Qt,e.createBreak=Zt,e.updateBreak=$t,e.createReturn=er,e.updateReturn=nr,e.createWith=tr,e.updateWith=rr,e.createSwitch=ar,e.updateSwitch=ir,e.createLabel=or,e.updateLabel=sr,e.createThrow=cr,e.updateThrow=lr,e.createTry=ur,e.updateTry=dr,e.createDebuggerStatement=pr,e.createVariableDeclaration=mr,e.updateVariableDeclaration=fr,e.createVariableDeclarationList=_r,e.updateVariableDeclarationList=gr,e.createFunctionDeclaration=yr,e.updateFunctionDeclaration=vr,e.createClassDeclaration=hr,e.updateClassDeclaration=br,e.createInterfaceDeclaration=Er,e.updateInterfaceDeclaration=Tr,e.createTypeAliasDeclaration=Sr,e.updateTypeAliasDeclaration=xr,e.createEnumDeclaration=Lr,e.updateEnumDeclaration=Cr,e.createModuleDeclaration=Ar,e.updateModuleDeclaration=Dr,e.createModuleBlock=kr,e.updateModuleBlock=Nr,e.createCaseBlock=Ir,e.updateCaseBlock=Or,e.createNamespaceExportDeclaration=Mr,e.updateNamespaceExportDeclaration=wr,e.createImportEqualsDeclaration=Rr,e.updateImportEqualsDeclaration=Pr,e.createImportDeclaration=Fr,e.updateImportDeclaration=Gr,e.createImportClause=Br,e.updateImportClause=Vr,e.createNamespaceImport=Ur,e.updateNamespaceImport=jr,e.createNamedImports=Kr,e.updateNamedImports=Hr,e.createImportSpecifier=Wr,e.updateImportSpecifier=qr,e.createExportAssignment=zr,e.updateExportAssignment=Jr,e.createExportDeclaration=Xr,e.updateExportDeclaration=Yr,e.createEmptyExports=Qr,e.createNamedExports=Zr,e.updateNamedExports=$r,e.createExportSpecifier=ea,e.updateExportSpecifier=na,e.createExternalModuleReference=ta,e.updateExternalModuleReference=ra,e.createJSDocTypeExpression=aa,e.createJSDocTypeTag=ia,e.createJSDocReturnTag=oa,e.createJSDocThisTag=sa,e.createJSDocParamTag=ca,e.createJSDocComment=la,e.createJsxElement=da,e.updateJsxElement=pa,e.createJsxSelfClosingElement=ma,e.updateJsxSelfClosingElement=fa,e.createJsxOpeningElement=_a,e.updateJsxOpeningElement=ga,e.createJsxClosingElement=ya,e.updateJsxClosingElement=va,e.createJsxFragment=ha,e.createJsxText=ba,e.updateJsxText=Ea,e.createJsxOpeningFragment=Ta,e.createJsxJsxClosingFragment=Sa,e.updateJsxFragment=xa,e.createJsxAttribute=La,e.updateJsxAttribute=Ca,e.createJsxAttributes=Aa,e.updateJsxAttributes=Da,e.createJsxSpreadAttribute=ka,e.updateJsxSpreadAttribute=Na,e.createJsxExpression=Ia,e.updateJsxExpression=Oa,e.createCaseClause=Ma,e.updateCaseClause=wa,e.createDefaultClause=Ra,e.updateDefaultClause=Pa,e.createHeritageClause=Fa,e.updateHeritageClause=Ga,e.createCatchClause=Ba,e.updateCatchClause=Va,e.createPropertyAssignment=Ua,e.updatePropertyAssignment=ja,e.createShorthandPropertyAssignment=Ka,e.updateShorthandPropertyAssignment=Ha,e.createSpreadAssignment=Wa,e.updateSpreadAssignment=qa,e.createEnumMember=za,e.updateEnumMember=Ja,e.updateSourceFileNode=Xa,e.getMutableClone=Ya,e.createNotEmittedStatement=Qa,e.createEndOfDeclarationMarker=Za,e.createMergeDeclarationMarker=$a,e.createPartiallyEmittedExpression=ei,e.updatePartiallyEmittedExpression=ni,e.createCommaList=ri,e.updateCommaList=ai,e.createSyntheticReferenceExpression=ii,e.updateSyntheticReferenceExpression=oi,e.createBundle=si,e.createUnparsedSourceFile=ui,e.createInputFiles=gi,e.updateBundle=yi,e.createImmediatelyInvokedFunctionExpression=vi,e.createImmediatelyInvokedArrowFunction=hi,e.createComma=bi,e.createLessThan=Ei,e.createAssignment=Ti,e.createStrictEquality=Si,e.createStrictInequality=xi,e.createAdd=Li,e.createSubtract=Ci,e.createPostfixIncrement=Ai,e.createLogicalAnd=Di,e.createLogicalOr=ki,e.createNullishCoalesce=Ni,e.createLogicalNot=Ii,e.createVoidZero=Oi,e.createExportDefault=Mi,e.createExternalModuleExport=wi,e.disposeEmitNodes=Vi,e.getOrCreateEmitNode=Ui,e.removeAllComments=ji,e.setTextRange=Ki,e.setEmitFlags=Hi,e.addEmitFlags=Wi,e.getSourceMapRange=qi,e.setSourceMapRange=zi,e.createSourceMapSource=Ji,e.getTokenSourceMapRange=Xi,e.setTokenSourceMapRange=Yi,e.getStartsOnNewLine=Qi,e.setStartsOnNewLine=Zi,e.getCommentRange=$i,e.setCommentRange=eo,e.getSyntheticLeadingComments=no,e.setSyntheticLeadingComments=to,e.addSyntheticLeadingComment=ro,e.getSyntheticTrailingComments=ao,e.setSyntheticTrailingComments=io,e.addSyntheticTrailingComment=oo,e.moveSyntheticComments=so,e.getConstantValue=co,e.setConstantValue=lo,e.addEmitHelper=uo,e.addEmitHelpers=po,e.removeEmitHelper=mo,e.getEmitHelpers=fo,e.moveEmitHelpers=_o,e.compareEmitHelpers=go,e.setOriginalNode=yo}(u||(u={})),function(e){function n(n,t){return"undefined"===t?e.createStrictEquality(n,e.createVoidZero()):e.createStrictEquality(e.createTypeOf(n),e.createLiteral(t))}function t(n,t,r){if(e.isComputedPropertyName(t))return e.setTextRange(e.createElementAccess(n,t.expression),r);var a=e.setTextRange(e.isIdentifier(t)?e.createPropertyAccess(n,t):e.createElementAccess(n,t),t);return e.getOrCreateEmitNode(a).flags|=64,a}function r(n,t,r,a){return e.setTextRange(e.createCall(e.createPropertyAccess(n,"call"),void 0,i([t],r)),a)}function a(n,t,r,a){return e.setTextRange(e.createCall(e.createPropertyAccess(n,"apply"),void 0,[t,r]),a)}function o(n,t){var r=[];return void 0!==t&&r.push("number"===typeof t?e.createLiteral(t):t),e.createCall(e.createPropertyAccess(n,"slice"),void 0,r)}function s(n,t){return e.createCall(e.createPropertyAccess(n,"concat"),void 0,t)}function c(n,t,r){return e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Math"),"pow"),void 0,[n,t]),r)}function l(n,t){var r=e.createIdentifier(n||"React");return r.flags&=-9,r.parent=e.getParseTreeNode(t),r}function u(n,t){if(e.isQualifiedName(n)){var r=u(n.left,t),a=e.createIdentifier(e.idText(n.right));return a.escapedText=n.right.escapedText,e.createPropertyAccess(r,a)}return l(e.idText(n),t)}function d(n,t,r){return n?u(n,r):e.createPropertyAccess(l(t,r),"createElement")}function p(n,t,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 l=0,u=i;l0)if(r.length>1)for(var c=0,u=r;c0;default:return!0}}function S(n,t,r,a){void 0===a&&(a=!1);var i,o,s=be(n,7);if(e.isSuperProperty(s))i=e.createThis(),o=s;else if(101===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=ie(s);else switch(s.kind){case 193:T(s.expression,a)?(i=e.createTempVariable(t),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 194:T(s.expression,a)?(i=e.createTempVariable(t),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=ie(n);break}return{target:o,thisArg:i}}function x(n){return n.length>10?e.createCommaList(n):e.reduceLeft(n,e.createComma)}function L(n){if(e.isQualifiedName(n)){var t=L(n.left),r=e.getMutableClone(n.right);return e.setTextRange(e.createPropertyAccess(t,r),n)}return e.getMutableClone(n)}function C(n){return e.isIdentifier(n)?e.createLiteral(n):e.isComputedPropertyName(n)?e.getMutableClone(n.expression):e.getMutableClone(n)}function A(e,n,t){switch(n.kind){case 162:case 163:return D(e.properties,n,t,!!e.multiLine);case 279:return k(n,t);case 280:return N(n,t);case 160:return I(n,t)}}function D(n,t,r,a){var i=e.getAllAccessorDeclarations(n,t),o=i.firstAccessor,s=i.getAccessor,c=i.setAccessor;if(t===o){var l=[];if(s){var u=e.createFunctionExpression(s.modifiers,void 0,void 0,void 0,s.parameters,void 0,s.body);e.setTextRange(u,s),e.setOriginalNode(u,s);var d=e.createPropertyAssignment("get",u);l.push(d)}if(c){var p=e.createFunctionExpression(c.modifiers,void 0,void 0,void 0,c.parameters,void 0,c.body);e.setTextRange(p,c),e.setOriginalNode(p,c);var m=e.createPropertyAssignment("set",p);l.push(m)}l.push(e.createPropertyAssignment("enumerable",e.createTrue())),l.push(e.createPropertyAssignment("configurable",e.createTrue()));var f=e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"defineProperty"),void 0,[r,C(t.name),e.createObjectLiteral(l,a)]),o);return e.aggregateTransformFlags(f)}}function k(n,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(t(r,n.name,n.name),n.initializer),n),n))}function N(n,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(t(r,n.name,n.name),e.getSynthesizedClone(n.name)),n),n))}function I(n,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(t(r,n.name,n.name),e.setOriginalNode(e.setTextRange(e.createFunctionExpression(n.modifiers,n.asteriskToken,void 0,void 0,n.parameters,void 0,n.body),n),n)),n),n))}function O(e,n,t){return B(e,n,t,49152)}function M(n){return 0!==(32768&e.getEmitFlags(n))}function w(e,n,t){return B(e,n,t,16384)}function R(n){return 0!==(16384&e.getEmitFlags(n))}function P(e,n,t){return B(e,n,t,8192)}function F(n){return 0!==(8192&e.getEmitFlags(n))}function G(e,n,t){return B(e,n,t)}function B(n,t,r,a){void 0===a&&(a=0);var i=e.getNameOfDeclaration(n);if(i&&e.isIdentifier(i)&&!e.isGeneratedIdentifier(i)){var o=e.getMutableClone(i);return a|=e.getEmitFlags(i),r||(a|=48),t||(a|=1536),a&&e.setEmitFlags(o,a),o}return e.getGeneratedNameForNode(n)}function V(n,t,r,a){return n&&e.hasModifier(t,1)?U(n,B(t),r,a):P(t,r,a)}function U(n,t,r,a){var i=e.createPropertyAccess(n,e.nodeIsSynthesized(t)?t:e.getSynthesizedClone(t));e.setTextRange(i,t);var o=0;return a||(o|=48),r||(o|=1536),o&&e.setEmitFlags(i,o),i}function j(n,t){return e.isBlock(n)?n:e.setTextRange(e.createBlock([e.setTextRange(e.createReturn(n),n)],t),n)}function K(n){if(!n.body)return e.Debug.fail();var t=e.createFunctionExpression(n.modifiers,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body);return e.setOriginalNode(t,n),e.setTextRange(t,n),e.getStartsOnNewLine(n)&&e.setStartsOnNewLine(t,!0),e.aggregateTransformFlags(t),t}function H(n){return e.isStringLiteral(n.expression)&&"use strict"===n.expression.text}function W(e,n,t,r){var a=q(e,n,t);return z(e,n,a,r)}function q(n,t,r){e.Debug.assert(0===n.length,"Prologue directives should be at the first statement in the target statements array");var a=!1,i=0,o=t.length;while(i3)return!0;var c=e.getExpressionPrecedence(s);switch(e.compareValues(c,i)){case-1:return!(!r&&1===o&&211===t.kind);case 1:return!1;case 0:if(r)return 1===o;if(e.isBinaryExpression(s)&&s.operatorToken.kind===n){if($(n))return!1;if(39===n){var l=a?ee(a):0;if(e.isLiteralKind(l)&&l===ee(s))return!1}}var u=e.getExpressionAssociativity(s);return 0===u}}function $(e){return 41===e||51===e||50===e||52===e}function ee(n){if(n=e.skipPartiallyEmittedExpressions(n),e.isLiteralKind(n.kind))return n.kind;if(208===n.kind&&39===n.operatorToken.kind){if(void 0!==n.cachedLiteralKind)return n.cachedLiteralKind;var t=ee(n.left),r=e.isLiteralKind(t)&&t===ee(n.right)?t:0;return n.cachedLiteralKind=r,r}return 0}function ne(n){var t=e.getOperatorPrecedence(209,57),r=e.skipPartiallyEmittedExpressions(n),a=e.getExpressionPrecedence(r);return 1!==e.compareValues(a,t)?e.createParen(n):n}function te(n){var t=e.skipPartiallyEmittedExpressions(n);return ve(t)?e.createParen(n):n}function re(n){var t=e.skipPartiallyEmittedExpressions(n),r=ve(t);if(!r)switch(ge(t,!1).kind){case 213:case 200:r=!0}return r?e.createParen(n):n}function ae(n){var t=ge(n,!0);switch(t.kind){case 195:return e.createParen(n);case 196:return t.arguments?n:e.createParen(n)}return ie(n)}function ie(n){var t=e.skipPartiallyEmittedExpressions(n);return e.isLeftHandSideExpression(t)&&(196!==t.kind||t.arguments)?n:e.setTextRange(e.createParen(n),n)}function oe(n){return e.isLeftHandSideExpression(n)?n:e.setTextRange(e.createParen(n),n)}function se(n){return e.isUnaryExpression(n)?n:e.setTextRange(e.createParen(n),n)}function ce(n){for(var t,r=0;ra?n:e.setTextRange(e.createParen(n),n)}function ue(n){var t=e.skipPartiallyEmittedExpressions(n);if(e.isCallExpression(t)){var r=t.expression,a=e.skipPartiallyEmittedExpressions(r).kind;if(200===a||201===a){var i=e.getMutableClone(t);return i.expression=e.setTextRange(e.createParen(r),r),xe(n,i,4)}}var o=ge(t,!1).kind;return 192===o||200===o?e.setTextRange(e.createParen(n),n):n}function de(n){return 179===n.kind?e.createParenthesizedType(n):n}function pe(n){switch(n.kind){case 177:case 178:case 169:case 170:return e.createParenthesizedType(n)}return de(n)}function me(n){switch(n.kind){case 171:case 183:case 180:return e.createParenthesizedType(n)}return pe(n)}function fe(n){return e.createNodeArray(e.sameMap(n,pe))}function _e(n){if(e.some(n)){for(var t=[],r=0;r=e.ModuleKind.ES2015&&s<=e.ModuleKind.ESNext){var c=e.getEmitHelpers(n);if(c){for(var l=[],u=0,d=c;u= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'},e.createValuesHelper=_,e.readHelper={name:"typescript:read",importName:"__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 };'},e.createReadHelper=g,e.spreadHelper={name:"typescript:spread",importName:"__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=y,e.spreadArraysHelper={name:"typescript:spreadArrays",importName:"__spreadArrays",scoped:!1,text:"\n var __spreadArrays = (this && this.__spreadArrays) || function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n };"},e.createSpreadArraysHelper=v,e.createForOfBindingStatement=h,e.insertLeadingStatement=b,e.restoreEnclosingLabel=E,e.createCallBinding=S,e.inlineExpressions=x,e.createExpressionFromEntityName=L,e.createExpressionForPropertyName=C,e.createExpressionForObjectLiteralElementLike=A,e.getInternalName=O,e.isInternalName=M,e.getLocalName=w,e.isLocalName=R,e.getExportName=P,e.isExportName=F,e.getDeclarationName=G,e.getExternalModuleOrNamespaceExportName=V,e.getNamespaceMemberName=U,e.convertToFunctionBody=j,e.convertFunctionDeclarationToExpression=K,e.addPrologue=W,e.addStandardPrologue=q,e.addCustomPrologue=z,e.findUseStrictPrologue=J,e.startsWithUseStrict=X,e.ensureUseStrict=Y,e.parenthesizeBinaryOperand=Q,e.parenthesizeForConditionalHead=ne,e.parenthesizeSubexpressionOfConditionalExpression=te,e.parenthesizeDefaultExpression=re,e.parenthesizeForNew=ae,e.parenthesizeForAccess=ie,e.parenthesizePostfixOperand=oe,e.parenthesizePrefixOperand=se,e.parenthesizeListElements=ce,e.parenthesizeExpressionForList=le,e.parenthesizeExpressionForExpressionStatement=ue,e.parenthesizeConditionalTypeMember=de,e.parenthesizeElementTypeMember=pe,e.parenthesizeArrayTypeMember=me,e.parenthesizeElementTypeMembers=fe,e.parenthesizeTypeParameters=_e,e.getLeftmostExpression=ge,e.parenthesizeConciseBody=ye,e.isCommaSequence=ve,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.isOuterExpression=he,e.skipOuterExpressions=be,e.skipAssertions=Ee,e.recreateOuterExpressions=xe,e.startOnNewLine=Le,e.getExternalHelpersModuleName=Ce,e.hasRecordedExternalHelpers=Ae,e.createExternalHelpersImportDeclarationIfNeeded=De,e.getOrCreateExternalHelpersModuleNameIfNeeded=ke,e.getLocalNameForExternalImport=Ne,e.getExternalModuleNameLiteral=Ie,e.tryGetModuleNameFromFile=Me,e.getInitializerOfBindingOrAssignmentElement=Re,e.getTargetOfBindingOrAssignmentElement=Pe,e.getRestIndicatorOfBindingOrAssignmentElement=Fe,e.getPropertyNameOfBindingOrAssignmentElement=Ge,e.getElementsOfBindingOrAssignmentPattern=Ve,e.convertToArrayAssignmentElement=Ue,e.convertToObjectAssignmentElement=je,e.convertToAssignmentPattern=Ke,e.convertToObjectAssignmentPattern=He,e.convertToArrayAssignmentPattern=We,e.convertToAssignmentElementTarget=qe}(u||(u={})),function(e){var n=e.or(e.isTypeNode,e.isTypeParameterDeclaration);function t(n,t,r,a){if(void 0===n||void 0===t)return n;e.aggregateTransformFlags(n);var i,o=t(n);return o===n?n:void 0!==o?(i=e.isArray(o)?(a||c)(o):o,e.Debug.assertNode(i,r),e.aggregateTransformFlags(i),i):void 0}function r(n,t,r,a,i){if(void 0===n||void 0===t)return n;var o,s=n.length;(void 0===a||a<0)&&(a=0),(void 0===i||i>s-a)&&(i=s-a),(a>0||i0&&p<=151||182===p)return s;switch(p){case 75:return e.updateIdentifier(s,u(s.typeArguments,c,n));case 152:return e.updateQualifiedName(s,t(s.left,c,e.isEntityName),t(s.right,c,e.isIdentifier));case 153:return e.updateComputedPropertyName(s,t(s.expression,c,e.isExpression));case 154:return e.updateTypeParameterDeclaration(s,t(s.name,c,e.isIdentifier),t(s.constraint,c,e.isTypeNode),t(s.default,c,e.isTypeNode));case 155:return e.updateParameter(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.dotDotDotToken,d,e.isToken),t(s.name,c,e.isBindingName),t(s.questionToken,d,e.isToken),t(s.type,c,e.isTypeNode),t(s.initializer,c,e.isExpression));case 156:return e.updateDecorator(s,t(s.expression,c,e.isExpression));case 157:return e.updatePropertySignature(s,u(s.modifiers,c,e.isToken),t(s.name,c,e.isPropertyName),t(s.questionToken,d,e.isToken),t(s.type,c,e.isTypeNode),t(s.initializer,c,e.isExpression));case 158:return e.updateProperty(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.name,c,e.isPropertyName),t(s.questionToken||s.exclamationToken,d,e.isToken),t(s.type,c,e.isTypeNode),t(s.initializer,c,e.isExpression));case 159:return e.updateMethodSignature(s,u(s.typeParameters,c,e.isTypeParameterDeclaration),u(s.parameters,c,e.isParameterDeclaration),t(s.type,c,e.isTypeNode),t(s.name,c,e.isPropertyName),t(s.questionToken,d,e.isToken));case 160:return e.updateMethod(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.asteriskToken,d,e.isToken),t(s.name,c,e.isPropertyName),t(s.questionToken,d,e.isToken),u(s.typeParameters,c,e.isTypeParameterDeclaration),i(s.parameters,c,l,u),t(s.type,c,e.isTypeNode),o(s.body,c,l));case 161:return e.updateConstructor(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),i(s.parameters,c,l,u),o(s.body,c,l));case 162:return e.updateGetAccessor(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.name,c,e.isPropertyName),i(s.parameters,c,l,u),t(s.type,c,e.isTypeNode),o(s.body,c,l));case 163:return e.updateSetAccessor(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.name,c,e.isPropertyName),i(s.parameters,c,l,u),o(s.body,c,l));case 164:return e.updateCallSignature(s,u(s.typeParameters,c,e.isTypeParameterDeclaration),u(s.parameters,c,e.isParameterDeclaration),t(s.type,c,e.isTypeNode));case 165:return e.updateConstructSignature(s,u(s.typeParameters,c,e.isTypeParameterDeclaration),u(s.parameters,c,e.isParameterDeclaration),t(s.type,c,e.isTypeNode));case 166:return e.updateIndexSignature(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),u(s.parameters,c,e.isParameterDeclaration),t(s.type,c,e.isTypeNode));case 167:return e.updateTypePredicateNodeWithModifier(s,t(s.assertsModifier,c),t(s.parameterName,c),t(s.type,c,e.isTypeNode));case 168:return e.updateTypeReferenceNode(s,t(s.typeName,c,e.isEntityName),u(s.typeArguments,c,e.isTypeNode));case 169:return e.updateFunctionTypeNode(s,u(s.typeParameters,c,e.isTypeParameterDeclaration),u(s.parameters,c,e.isParameterDeclaration),t(s.type,c,e.isTypeNode));case 170:return e.updateConstructorTypeNode(s,u(s.typeParameters,c,e.isTypeParameterDeclaration),u(s.parameters,c,e.isParameterDeclaration),t(s.type,c,e.isTypeNode));case 171:return e.updateTypeQueryNode(s,t(s.exprName,c,e.isEntityName));case 172:return e.updateTypeLiteralNode(s,u(s.members,c,e.isTypeElement));case 173:return e.updateArrayTypeNode(s,t(s.elementType,c,e.isTypeNode));case 174:return e.updateTupleTypeNode(s,u(s.elementTypes,c,e.isTypeNode));case 175:return e.updateOptionalTypeNode(s,t(s.type,c,e.isTypeNode));case 176:return e.updateRestTypeNode(s,t(s.type,c,e.isTypeNode));case 177:return e.updateUnionTypeNode(s,u(s.types,c,e.isTypeNode));case 178:return e.updateIntersectionTypeNode(s,u(s.types,c,e.isTypeNode));case 179:return e.updateConditionalTypeNode(s,t(s.checkType,c,e.isTypeNode),t(s.extendsType,c,e.isTypeNode),t(s.trueType,c,e.isTypeNode),t(s.falseType,c,e.isTypeNode));case 180:return e.updateInferTypeNode(s,t(s.typeParameter,c,e.isTypeParameterDeclaration));case 187:return e.updateImportTypeNode(s,t(s.argument,c,e.isTypeNode),t(s.qualifier,c,e.isEntityName),r(s.typeArguments,c,e.isTypeNode),s.isTypeOf);case 181:return e.updateParenthesizedType(s,t(s.type,c,e.isTypeNode));case 183:return e.updateTypeOperatorNode(s,t(s.type,c,e.isTypeNode));case 184:return e.updateIndexedAccessTypeNode(s,t(s.objectType,c,e.isTypeNode),t(s.indexType,c,e.isTypeNode));case 185:return e.updateMappedTypeNode(s,t(s.readonlyToken,d,e.isToken),t(s.typeParameter,c,e.isTypeParameterDeclaration),t(s.questionToken,d,e.isToken),t(s.type,c,e.isTypeNode));case 186:return e.updateLiteralTypeNode(s,t(s.literal,c,e.isExpression));case 188:return e.updateObjectBindingPattern(s,u(s.elements,c,e.isBindingElement));case 189:return e.updateArrayBindingPattern(s,u(s.elements,c,e.isArrayBindingElement));case 190:return e.updateBindingElement(s,t(s.dotDotDotToken,d,e.isToken),t(s.propertyName,c,e.isPropertyName),t(s.name,c,e.isBindingName),t(s.initializer,c,e.isExpression));case 191:return e.updateArrayLiteral(s,u(s.elements,c,e.isExpression));case 192:return e.updateObjectLiteral(s,u(s.properties,c,e.isObjectLiteralElementLike));case 193:return 32&s.flags?e.updatePropertyAccessChain(s,t(s.expression,c,e.isExpression),t(s.questionDotToken,c,e.isToken),t(s.name,c,e.isIdentifier)):e.updatePropertyAccess(s,t(s.expression,c,e.isExpression),t(s.name,c,e.isIdentifier));case 194:return 32&s.flags?e.updateElementAccessChain(s,t(s.expression,c,e.isExpression),t(s.questionDotToken,c,e.isToken),t(s.argumentExpression,c,e.isExpression)):e.updateElementAccess(s,t(s.expression,c,e.isExpression),t(s.argumentExpression,c,e.isExpression));case 195:return 32&s.flags?e.updateCallChain(s,t(s.expression,c,e.isExpression),t(s.questionDotToken,c,e.isToken),u(s.typeArguments,c,e.isTypeNode),u(s.arguments,c,e.isExpression)):e.updateCall(s,t(s.expression,c,e.isExpression),u(s.typeArguments,c,e.isTypeNode),u(s.arguments,c,e.isExpression));case 196:return e.updateNew(s,t(s.expression,c,e.isExpression),u(s.typeArguments,c,e.isTypeNode),u(s.arguments,c,e.isExpression));case 197:return e.updateTaggedTemplate(s,t(s.tag,c,e.isExpression),r(s.typeArguments,c,e.isExpression),t(s.template,c,e.isTemplateLiteral));case 198:return e.updateTypeAssertion(s,t(s.type,c,e.isTypeNode),t(s.expression,c,e.isExpression));case 199:return e.updateParen(s,t(s.expression,c,e.isExpression));case 200:return e.updateFunctionExpression(s,u(s.modifiers,c,e.isModifier),t(s.asteriskToken,d,e.isToken),t(s.name,c,e.isIdentifier),u(s.typeParameters,c,e.isTypeParameterDeclaration),i(s.parameters,c,l,u),t(s.type,c,e.isTypeNode),o(s.body,c,l));case 201:return e.updateArrowFunction(s,u(s.modifiers,c,e.isModifier),u(s.typeParameters,c,e.isTypeParameterDeclaration),i(s.parameters,c,l,u),t(s.type,c,e.isTypeNode),t(s.equalsGreaterThanToken,c,e.isToken),o(s.body,c,l));case 202:return e.updateDelete(s,t(s.expression,c,e.isExpression));case 203:return e.updateTypeOf(s,t(s.expression,c,e.isExpression));case 204:return e.updateVoid(s,t(s.expression,c,e.isExpression));case 205:return e.updateAwait(s,t(s.expression,c,e.isExpression));case 206:return e.updatePrefix(s,t(s.operand,c,e.isExpression));case 207:return e.updatePostfix(s,t(s.operand,c,e.isExpression));case 208:return e.updateBinary(s,t(s.left,c,e.isExpression),t(s.right,c,e.isExpression),t(s.operatorToken,c,e.isToken));case 209:return e.updateConditional(s,t(s.condition,c,e.isExpression),t(s.questionToken,c,e.isToken),t(s.whenTrue,c,e.isExpression),t(s.colonToken,c,e.isToken),t(s.whenFalse,c,e.isExpression));case 210:return e.updateTemplateExpression(s,t(s.head,c,e.isTemplateHead),u(s.templateSpans,c,e.isTemplateSpan));case 211:return e.updateYield(s,t(s.asteriskToken,d,e.isToken),t(s.expression,c,e.isExpression));case 212:return e.updateSpread(s,t(s.expression,c,e.isExpression));case 213:return e.updateClassExpression(s,u(s.modifiers,c,e.isModifier),t(s.name,c,e.isIdentifier),u(s.typeParameters,c,e.isTypeParameterDeclaration),u(s.heritageClauses,c,e.isHeritageClause),u(s.members,c,e.isClassElement));case 215:return e.updateExpressionWithTypeArguments(s,u(s.typeArguments,c,e.isTypeNode),t(s.expression,c,e.isExpression));case 216:return e.updateAsExpression(s,t(s.expression,c,e.isExpression),t(s.type,c,e.isTypeNode));case 217:return e.updateNonNullExpression(s,t(s.expression,c,e.isExpression));case 218:return e.updateMetaProperty(s,t(s.name,c,e.isIdentifier));case 220:return e.updateTemplateSpan(s,t(s.expression,c,e.isExpression),t(s.literal,c,e.isTemplateMiddleOrTemplateTail));case 222:return e.updateBlock(s,u(s.statements,c,e.isStatement));case 224:return e.updateVariableStatement(s,u(s.modifiers,c,e.isModifier),t(s.declarationList,c,e.isVariableDeclarationList));case 225:return e.updateExpressionStatement(s,t(s.expression,c,e.isExpression));case 226:return e.updateIf(s,t(s.expression,c,e.isExpression),t(s.thenStatement,c,e.isStatement,e.liftToBlock),t(s.elseStatement,c,e.isStatement,e.liftToBlock));case 227:return e.updateDo(s,t(s.statement,c,e.isStatement,e.liftToBlock),t(s.expression,c,e.isExpression));case 228:return e.updateWhile(s,t(s.expression,c,e.isExpression),t(s.statement,c,e.isStatement,e.liftToBlock));case 229:return e.updateFor(s,t(s.initializer,c,e.isForInitializer),t(s.condition,c,e.isExpression),t(s.incrementor,c,e.isExpression),t(s.statement,c,e.isStatement,e.liftToBlock));case 230:return e.updateForIn(s,t(s.initializer,c,e.isForInitializer),t(s.expression,c,e.isExpression),t(s.statement,c,e.isStatement,e.liftToBlock));case 231:return e.updateForOf(s,t(s.awaitModifier,c,e.isToken),t(s.initializer,c,e.isForInitializer),t(s.expression,c,e.isExpression),t(s.statement,c,e.isStatement,e.liftToBlock));case 232:return e.updateContinue(s,t(s.label,c,e.isIdentifier));case 233:return e.updateBreak(s,t(s.label,c,e.isIdentifier));case 234:return e.updateReturn(s,t(s.expression,c,e.isExpression));case 235:return e.updateWith(s,t(s.expression,c,e.isExpression),t(s.statement,c,e.isStatement,e.liftToBlock));case 236:return e.updateSwitch(s,t(s.expression,c,e.isExpression),t(s.caseBlock,c,e.isCaseBlock));case 237:return e.updateLabel(s,t(s.label,c,e.isIdentifier),t(s.statement,c,e.isStatement,e.liftToBlock));case 238:return e.updateThrow(s,t(s.expression,c,e.isExpression));case 239:return e.updateTry(s,t(s.tryBlock,c,e.isBlock),t(s.catchClause,c,e.isCatchClause),t(s.finallyBlock,c,e.isBlock));case 241:return e.updateVariableDeclaration(s,t(s.name,c,e.isBindingName),t(s.type,c,e.isTypeNode),t(s.initializer,c,e.isExpression));case 242:return e.updateVariableDeclarationList(s,u(s.declarations,c,e.isVariableDeclaration));case 243:return e.updateFunctionDeclaration(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.asteriskToken,d,e.isToken),t(s.name,c,e.isIdentifier),u(s.typeParameters,c,e.isTypeParameterDeclaration),i(s.parameters,c,l,u),t(s.type,c,e.isTypeNode),o(s.body,c,l));case 244:return e.updateClassDeclaration(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.name,c,e.isIdentifier),u(s.typeParameters,c,e.isTypeParameterDeclaration),u(s.heritageClauses,c,e.isHeritageClause),u(s.members,c,e.isClassElement));case 245:return e.updateInterfaceDeclaration(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.name,c,e.isIdentifier),u(s.typeParameters,c,e.isTypeParameterDeclaration),u(s.heritageClauses,c,e.isHeritageClause),u(s.members,c,e.isTypeElement));case 246:return e.updateTypeAliasDeclaration(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.name,c,e.isIdentifier),u(s.typeParameters,c,e.isTypeParameterDeclaration),t(s.type,c,e.isTypeNode));case 247:return e.updateEnumDeclaration(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.name,c,e.isIdentifier),u(s.members,c,e.isEnumMember));case 248:return e.updateModuleDeclaration(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.name,c,e.isIdentifier),t(s.body,c,e.isModuleBody));case 249:return e.updateModuleBlock(s,u(s.statements,c,e.isStatement));case 250:return e.updateCaseBlock(s,u(s.clauses,c,e.isCaseOrDefaultClause));case 251:return e.updateNamespaceExportDeclaration(s,t(s.name,c,e.isIdentifier));case 252:return e.updateImportEqualsDeclaration(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.name,c,e.isIdentifier),t(s.moduleReference,c,e.isModuleReference));case 253:return e.updateImportDeclaration(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.importClause,c,e.isImportClause),t(s.moduleSpecifier,c,e.isExpression));case 254:return e.updateImportClause(s,t(s.name,c,e.isIdentifier),t(s.namedBindings,c,e.isNamedImportBindings));case 255:return e.updateNamespaceImport(s,t(s.name,c,e.isIdentifier));case 256:return e.updateNamedImports(s,u(s.elements,c,e.isImportSpecifier));case 257:return e.updateImportSpecifier(s,t(s.propertyName,c,e.isIdentifier),t(s.name,c,e.isIdentifier));case 258:return e.updateExportAssignment(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.expression,c,e.isExpression));case 259:return e.updateExportDeclaration(s,u(s.decorators,c,e.isDecorator),u(s.modifiers,c,e.isModifier),t(s.exportClause,c,e.isNamedExports),t(s.moduleSpecifier,c,e.isExpression));case 260:return e.updateNamedExports(s,u(s.elements,c,e.isExportSpecifier));case 261:return e.updateExportSpecifier(s,t(s.propertyName,c,e.isIdentifier),t(s.name,c,e.isIdentifier));case 263:return e.updateExternalModuleReference(s,t(s.expression,c,e.isExpression));case 264:return e.updateJsxElement(s,t(s.openingElement,c,e.isJsxOpeningElement),u(s.children,c,e.isJsxChild),t(s.closingElement,c,e.isJsxClosingElement));case 265:return e.updateJsxSelfClosingElement(s,t(s.tagName,c,e.isJsxTagNameExpression),u(s.typeArguments,c,e.isTypeNode),t(s.attributes,c,e.isJsxAttributes));case 266:return e.updateJsxOpeningElement(s,t(s.tagName,c,e.isJsxTagNameExpression),u(s.typeArguments,c,e.isTypeNode),t(s.attributes,c,e.isJsxAttributes));case 267:return e.updateJsxClosingElement(s,t(s.tagName,c,e.isJsxTagNameExpression));case 268:return e.updateJsxFragment(s,t(s.openingFragment,c,e.isJsxOpeningFragment),u(s.children,c,e.isJsxChild),t(s.closingFragment,c,e.isJsxClosingFragment));case 271:return e.updateJsxAttribute(s,t(s.name,c,e.isIdentifier),t(s.initializer,c,e.isStringLiteralOrJsxExpression));case 272:return e.updateJsxAttributes(s,u(s.properties,c,e.isJsxAttributeLike));case 273:return e.updateJsxSpreadAttribute(s,t(s.expression,c,e.isExpression));case 274:return e.updateJsxExpression(s,t(s.expression,c,e.isExpression));case 275:return e.updateCaseClause(s,t(s.expression,c,e.isExpression),u(s.statements,c,e.isStatement));case 276:return e.updateDefaultClause(s,u(s.statements,c,e.isStatement));case 277:return e.updateHeritageClause(s,u(s.types,c,e.isExpressionWithTypeArguments));case 278:return e.updateCatchClause(s,t(s.variableDeclaration,c,e.isVariableDeclaration),t(s.block,c,e.isBlock));case 279:return e.updatePropertyAssignment(s,t(s.name,c,e.isPropertyName),t(s.initializer,c,e.isExpression));case 280:return e.updateShorthandPropertyAssignment(s,t(s.name,c,e.isIdentifier),t(s.objectAssignmentInitializer,c,e.isExpression));case 281:return e.updateSpreadAssignment(s,t(s.expression,c,e.isExpression));case 282:return e.updateEnumMember(s,t(s.name,c,e.isPropertyName),t(s.initializer,c,e.isExpression));case 288:return e.updateSourceFileNode(s,a(s.statements,c,l));case 319:return e.updatePartiallyEmittedExpression(s,t(s.expression,c,e.isExpression));case 320:return e.updateCommaList(s,u(s.elements,c,e.isExpression));default:return s}}}function c(n){return e.Debug.assert(n.length<=1,"Too many nodes written to output."),e.singleOrUndefined(n)}e.visitNode=t,e.visitNodes=r,e.visitLexicalEnvironment=a,e.visitParameterList=i,e.visitFunctionBody=o,e.visitEachChild=s}(u||(u={})),function(e){function n(e,n,t){return e?n(t,e):t}function t(e,n,t){return e?n(t,e):t}function r(r,a,i,o){if(void 0===r)return a;var s=o?t:e.reduceLeft,c=o||i,l=r.kind;if(l>0&&l<=151)return a;if(l>=167&&l<=186)return a;var u=a;switch(r.kind){case 221:case 223:case 214:case 240:case 318:break;case 152:u=n(r.left,i,u),u=n(r.right,i,u);break;case 153:u=n(r.expression,i,u);break;case 155:u=s(r.decorators,c,u),u=s(r.modifiers,c,u),u=n(r.name,i,u),u=n(r.type,i,u),u=n(r.initializer,i,u);break;case 156:u=n(r.expression,i,u);break;case 157:u=s(r.modifiers,c,u),u=n(r.name,i,u),u=n(r.questionToken,i,u),u=n(r.type,i,u),u=n(r.initializer,i,u);break;case 158:u=s(r.decorators,c,u),u=s(r.modifiers,c,u),u=n(r.name,i,u),u=n(r.type,i,u),u=n(r.initializer,i,u);break;case 160:u=s(r.decorators,c,u),u=s(r.modifiers,c,u),u=n(r.name,i,u),u=s(r.typeParameters,c,u),u=s(r.parameters,c,u),u=n(r.type,i,u),u=n(r.body,i,u);break;case 161:u=s(r.modifiers,c,u),u=s(r.parameters,c,u),u=n(r.body,i,u);break;case 162:u=s(r.decorators,c,u),u=s(r.modifiers,c,u),u=n(r.name,i,u),u=s(r.parameters,c,u),u=n(r.type,i,u),u=n(r.body,i,u);break;case 163:u=s(r.decorators,c,u),u=s(r.modifiers,c,u),u=n(r.name,i,u),u=s(r.parameters,c,u),u=n(r.body,i,u);break;case 188:case 189:u=s(r.elements,c,u);break;case 190:u=n(r.propertyName,i,u),u=n(r.name,i,u),u=n(r.initializer,i,u);break;case 191:u=s(r.elements,c,u);break;case 192:u=s(r.properties,c,u);break;case 193:u=n(r.expression,i,u),u=n(r.name,i,u);break;case 194:u=n(r.expression,i,u),u=n(r.argumentExpression,i,u);break;case 195:u=n(r.expression,i,u),u=s(r.typeArguments,c,u),u=s(r.arguments,c,u);break;case 196:u=n(r.expression,i,u),u=s(r.typeArguments,c,u),u=s(r.arguments,c,u);break;case 197:u=n(r.tag,i,u),u=s(r.typeArguments,c,u),u=n(r.template,i,u);break;case 198:u=n(r.type,i,u),u=n(r.expression,i,u);break;case 200:u=s(r.modifiers,c,u),u=n(r.name,i,u),u=s(r.typeParameters,c,u),u=s(r.parameters,c,u),u=n(r.type,i,u),u=n(r.body,i,u);break;case 201:u=s(r.modifiers,c,u),u=s(r.typeParameters,c,u),u=s(r.parameters,c,u),u=n(r.type,i,u),u=n(r.body,i,u);break;case 199:case 202:case 203:case 204:case 205:case 211:case 212:case 217:u=n(r.expression,i,u);break;case 206:case 207:u=n(r.operand,i,u);break;case 208:u=n(r.left,i,u),u=n(r.right,i,u);break;case 209:u=n(r.condition,i,u),u=n(r.whenTrue,i,u),u=n(r.whenFalse,i,u);break;case 210:u=n(r.head,i,u),u=s(r.templateSpans,c,u);break;case 213:u=s(r.modifiers,c,u),u=n(r.name,i,u),u=s(r.typeParameters,c,u),u=s(r.heritageClauses,c,u),u=s(r.members,c,u);break;case 215:u=n(r.expression,i,u),u=s(r.typeArguments,c,u);break;case 216:u=n(r.expression,i,u),u=n(r.type,i,u);break;case 220:u=n(r.expression,i,u),u=n(r.literal,i,u);break;case 222:u=s(r.statements,c,u);break;case 224:u=s(r.modifiers,c,u),u=n(r.declarationList,i,u);break;case 225:u=n(r.expression,i,u);break;case 226:u=n(r.expression,i,u),u=n(r.thenStatement,i,u),u=n(r.elseStatement,i,u);break;case 227:u=n(r.statement,i,u),u=n(r.expression,i,u);break;case 228:case 235:u=n(r.expression,i,u),u=n(r.statement,i,u);break;case 229:u=n(r.initializer,i,u),u=n(r.condition,i,u),u=n(r.incrementor,i,u),u=n(r.statement,i,u);break;case 230:case 231:u=n(r.initializer,i,u),u=n(r.expression,i,u),u=n(r.statement,i,u);break;case 234:case 238:u=n(r.expression,i,u);break;case 236:u=n(r.expression,i,u),u=n(r.caseBlock,i,u);break;case 237:u=n(r.label,i,u),u=n(r.statement,i,u);break;case 239:u=n(r.tryBlock,i,u),u=n(r.catchClause,i,u),u=n(r.finallyBlock,i,u);break;case 241:u=n(r.name,i,u),u=n(r.type,i,u),u=n(r.initializer,i,u);break;case 242:u=s(r.declarations,c,u);break;case 243:u=s(r.decorators,c,u),u=s(r.modifiers,c,u),u=n(r.name,i,u),u=s(r.typeParameters,c,u),u=s(r.parameters,c,u),u=n(r.type,i,u),u=n(r.body,i,u);break;case 244:u=s(r.decorators,c,u),u=s(r.modifiers,c,u),u=n(r.name,i,u),u=s(r.typeParameters,c,u),u=s(r.heritageClauses,c,u),u=s(r.members,c,u);break;case 247:u=s(r.decorators,c,u),u=s(r.modifiers,c,u),u=n(r.name,i,u),u=s(r.members,c,u);break;case 248:u=s(r.decorators,c,u),u=s(r.modifiers,c,u),u=n(r.name,i,u),u=n(r.body,i,u);break;case 249:u=s(r.statements,c,u);break;case 250:u=s(r.clauses,c,u);break;case 252:u=s(r.decorators,c,u),u=s(r.modifiers,c,u),u=n(r.name,i,u),u=n(r.moduleReference,i,u);break;case 253:u=s(r.decorators,c,u),u=s(r.modifiers,c,u),u=n(r.importClause,i,u),u=n(r.moduleSpecifier,i,u);break;case 254:u=n(r.name,i,u),u=n(r.namedBindings,i,u);break;case 255:u=n(r.name,i,u);break;case 256:case 260:u=s(r.elements,c,u);break;case 257:case 261:u=n(r.propertyName,i,u),u=n(r.name,i,u);break;case 258:u=e.reduceLeft(r.decorators,i,u),u=e.reduceLeft(r.modifiers,i,u),u=n(r.expression,i,u);break;case 259:u=e.reduceLeft(r.decorators,i,u),u=e.reduceLeft(r.modifiers,i,u),u=n(r.exportClause,i,u),u=n(r.moduleSpecifier,i,u);break;case 263:u=n(r.expression,i,u);break;case 264:u=n(r.openingElement,i,u),u=e.reduceLeft(r.children,i,u),u=n(r.closingElement,i,u);break;case 268:u=n(r.openingFragment,i,u),u=e.reduceLeft(r.children,i,u),u=n(r.closingFragment,i,u);break;case 265:case 266:u=n(r.tagName,i,u),u=s(r.typeArguments,i,u),u=n(r.attributes,i,u);break;case 272:u=s(r.properties,c,u);break;case 267:u=n(r.tagName,i,u);break;case 271:u=n(r.name,i,u),u=n(r.initializer,i,u);break;case 273:u=n(r.expression,i,u);break;case 274:u=n(r.expression,i,u);break;case 275:u=n(r.expression,i,u);case 276:u=s(r.statements,c,u);break;case 277:u=s(r.types,c,u);break;case 278:u=n(r.variableDeclaration,i,u),u=n(r.block,i,u);break;case 279:u=n(r.name,i,u),u=n(r.initializer,i,u);break;case 280:u=n(r.name,i,u),u=n(r.objectAssignmentInitializer,i,u);break;case 281:u=n(r.expression,i,u);break;case 282:u=n(r.name,i,u),u=n(r.initializer,i,u);break;case 288:u=s(r.statements,c,u);break;case 319:u=n(r.expression,i,u);break;case 320:u=s(r.elements,c,u);break;default:break}return u}function a(n,t){return e.some(t)?e.isNodeArray(n)?e.setTextRange(e.createNodeArray(e.insertStatementsAfterStandardPrologue(n.slice(),t)),n):e.insertStatementsAfterStandardPrologue(n,t):n}function i(n){return e.Debug.assert(e.every(n,e.isStatement),"Cannot lift nodes to a Block."),e.singleOrUndefined(n)||e.createBlock(n)}function o(e){return s(e),e}function s(n){if(void 0===n)return 0;if(536870912&n.transformFlags)return n.transformFlags&~e.getTransformFlagsSubtreeExclusions(n.kind);var t=l(n);return e.computeTransformFlagsForNode(n,t)}function c(e){if(void 0===e)return 0;for(var n=0,t=0,r=0,a=e;rn||D===n&&k>t)}function B(n,t,r,a,i,o){e.Debug.assert(n>=L,"generatedLine cannot backtrack"),e.Debug.assert(t>=0,"generatedCharacter cannot be negative"),e.Debug.assert(void 0===r||r>=0,"sourceIndex cannot be negative"),e.Debug.assert(void 0===a||a>=0,"sourceLine cannot be negative"),e.Debug.assert(void 0===i||i>=0,"sourceCharacter cannot be negative"),u(),(F(n,t)||G(r,a,i))&&(j(),L=n,C=t,O=!1,M=!1,I=!0),void 0!==r&&void 0!==a&&void 0!==i&&(A=r,D=a,k=i,O=!0,void 0!==o&&(N=o,M=!0)),d()}function V(n,t,r,a,i,o){e.Debug.assert(n>=L,"generatedLine cannot backtrack"),e.Debug.assert(t>=0,"generatedCharacter cannot be negative"),u();for(var s,c=[],p=l(r.mappings),m=p.next();!m.done;m=p.next()){var f=m.value;if(o&&(f.generatedLine>o.line||f.generatedLine===o.line&&f.generatedCharacter>o.character))break;if(!i||!(f.generatedLine=0;n--){var a=e.getLineText(n),i=t.exec(a);if(i)return i[1];if(!a.match(r))break}}function o(e){return"string"===typeof e||null===e}function s(n){return null!==n&&"object"===typeof n&&3===n.version&&"string"===typeof n.file&&"string"===typeof n.mappings&&e.isArray(n.sources)&&e.every(n.sources,e.isString)&&(void 0===n.sourceRoot||null===n.sourceRoot||"string"===typeof n.sourceRoot)&&(void 0===n.sourcesContent||null===n.sourcesContent||e.isArray(n.sourcesContent)&&e.every(n.sourcesContent,o))&&(void 0===n.names||null===n.names||e.isArray(n.names)&&e.every(n.names,e.isString))}function c(e){try{var n=JSON.parse(e);if(s(n))return n}catch(t){}}function l(e){var n,t=!1,r=0,a=0,i=0,o=0,s=0,c=0,l=0;return{get pos(){return r},get error(){return n},get state(){return u(!0,!0)},next:function(){while(!t&&r=e.length)return p("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var i=m(e.charCodeAt(r));if(-1===i)return p("Invalid character in VLQ"),-1;n=0!==(32&i),a|=(31&i)<>=1:(a>>=1,a=-a),a}}function u(e,n){return e===n||e.generatedLine===n.generatedLine&&e.generatedCharacter===n.generatedCharacter&&e.sourceIndex===n.sourceIndex&&e.sourceLine===n.sourceLine&&e.sourceCharacter===n.sourceCharacter&&e.nameIndex===n.nameIndex}function d(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function p(n){return n>=0&&n<26?65+n:n>=26&&n<52?97+n-26:n>=52&&n<62?48+n-52:62===n?43:63===n?47:e.Debug.fail(n+": not a base64 value")}function m(e){return e>=65&&e<=90?e-65:e>=97&&e<=122?e-97+26:e>=48&&e<=57?e-48+52:43===e?62:47===e?63:-1}function f(e){e<0?e=1+(-e<<1):e<<=1;var n="";do{var t=31&e;e>>=5,e>0&&(t|=32),n+=String.fromCharCode(p(t))}while(e>0);return n}function _(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function g(e,n){return e.generatedPosition===n.generatedPosition&&e.sourceIndex===n.sourceIndex&&e.sourcePosition===n.sourcePosition}function y(n,t){return e.Debug.assert(n.sourceIndex===t.sourceIndex),e.compareValues(n.sourcePosition,t.sourcePosition)}function v(n,t){return e.compareValues(n.generatedPosition,t.generatedPosition)}function h(e){return e.sourcePosition}function b(e){return e.generatedPosition}function E(n,t,r){var a,i,o,s=e.getDirectoryPath(r),c=t.sourceRoot?e.getNormalizedAbsolutePath(t.sourceRoot,s):s,u=e.getNormalizedAbsolutePath(t.file,s),p=n.getSourceFileLike(u),m=t.sources.map((function(n){return e.getNormalizedAbsolutePath(n,c)})),f=e.createMapFromEntries(m.map((function(e,t){return[n.getCanonicalFileName(e),t]})));return{getSourcePosition:C,getGeneratedPosition:L};function E(r){var a,i,o=void 0!==p?e.getPositionOfLineAndCharacter(p,r.generatedLine,r.generatedCharacter,!0):-1;if(d(r)){var s=n.getSourceFileLike(m[r.sourceIndex]);a=t.sources[r.sourceIndex],i=void 0!==s?e.getPositionOfLineAndCharacter(s,r.sourceLine,r.sourceCharacter,!0):-1}return{generatedPosition:o,source:a,sourceIndex:r.sourceIndex,sourcePosition:i,nameIndex:r.nameIndex}}function T(){if(void 0===a){var r=l(t.mappings),i=e.arrayFrom(r,E);void 0!==r.error?(n.log&&n.log("Encountered error while decoding sourcemap: "+r.error),a=e.emptyArray):a=i}return a}function S(n){if(void 0===o){for(var t=[],r=0,a=T();r0&&a!==t.elements.length||!!(t.elements.length-a)&&e.isDefaultImport(n)}function o(n){return!i(n)&&(e.isDefaultImport(n)||!!n.importClause&&e.isNamedImports(n.importClause.namedBindings)&&t(n.importClause.namedBindings))}function s(t,r,a){for(var s,u,d=[],p=e.createMultiMap(),m=[],f=e.createMap(),_=!1,g=!1,y=!1,v=!1,h=0,b=t.statements;h=1)||12288&_.transformFlags||12288&e.getTargetOfBindingOrAssignmentElement(_).transformFlags||e.isComputedPropertyName(g)){s&&(n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(s),a,o,r),s=void 0);var v=l(n,a,g);e.isComputedPropertyName(g)&&(c=e.append(c,v.argumentExpression)),i(n,_,v,_)}else s=e.append(s,_)}}s&&n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(s),a,o,r)}function s(n,t,r,a,o){var s,c,l=e.getElementsOfBindingOrAssignmentPattern(r),d=l.length;if(n.level<1&&n.downlevelIteration)a=u(n,e.createReadHelper(n.context,a,d>0&&e.getRestIndicatorOfBindingOrAssignmentElement(l[d-1])?void 0:d,o),!1,o);else if(1!==d&&(n.level<1||0===d)||e.every(l,e.isOmittedExpression)){var p=!e.isDeclarationBindingElement(t)||0!==d;a=u(n,a,p,o)}for(var m=0;m=1)if(8192&f.transformFlags){var _=e.createTempVariable(void 0);n.hoistTempVariables&&n.context.hoistVariableDeclaration(_),c=e.append(c,[_,f]),s=e.append(s,n.createArrayBindingOrAssignmentElement(_))}else s=e.append(s,f);else{if(e.isOmittedExpression(f))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(f)){if(m===d-1){g=e.createArraySlice(a,m);i(n,f,g,f)}}else{var g=e.createElementAccess(a,m);i(n,f,g,f)}}}if(s&&n.emitBindingOrAssignment(n.createArrayBindingOrAssignmentPattern(s),a,o,r),c)for(var y=0,v=c;y=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(t);return e.updateSourceFileNode(t,e.visitLexicalEnvironment(t.statements,w,n,0,r))}function H(n){if(n.decorators&&n.decorators.length>0)return!0;var t=e.getFirstConstructorWithBody(n);return!!t&&e.forEach(t.parameters,W)}function W(e){return void 0!==e.decorators&&e.decorators.length>0}function q(n,t){var r=0;e.some(t)&&(r|=1);var a=e.getEffectiveBaseTypeNode(n);return a&&99!==e.skipOuterExpressions(a.expression).kind&&(r|=64),H(n)&&(r|=2),e.childIsDecorated(n)&&(r|=4),Rn(n)?r|=8:Gn(n)?r|=32:Fn(n)&&(r|=16),S<=1&&7&r&&(r|=128),r}function z(e){return!!(1024&e.transformFlags)}function J(n){return e.some(n.decorators)||e.some(n.typeParameters)||e.some(n.heritageClauses,z)||e.some(n.members,z)}function X(r){if(!J(r)&&(!a||!e.hasModifier(r,1)))return e.visitEachChild(r,O,n);var i=e.getProperties(r,!0,!0),o=q(r,i);128&o&&n.startLexicalEnvironment();var s=r.name||(5&o?e.getGeneratedNameForNode(r):void 0),c=2&o?Q(r,s):Y(r,s,o),l=[c];if(de(l,r,!1),de(l,r,!0),fe(l,r),128&o){var u=e.createTokenRange(e.skipTrivia(t.text,r.members.end),19),d=e.getInternalName(r),p=e.createPartiallyEmittedExpression(d);p.end=u.end,e.setEmitFlags(p,1536);var m=e.createReturn(p);m.pos=u.pos,e.setEmitFlags(m,1920),l.push(m),e.insertStatementsAfterStandardPrologue(l,n.endLexicalEnvironment());var f=e.createImmediatelyInvokedArrowFunction(l);e.setEmitFlags(f,33554432);var _=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getLocalName(r,!1,!1),void 0,f)]));e.setOriginalNode(_,r),e.setCommentRange(_,r),e.setSourceMapRange(_,e.moveRangePastDecorators(r)),e.startOnNewLine(_),l=[_]}return 8&o?Vn(l,r):(128&o||2&o)&&(32&o?l.push(e.createExportDefault(e.getLocalName(r,!1,!0))):16&o&&l.push(e.createExternalModuleExport(e.getLocalName(r,!1,!0)))),l.length>1&&(l.push(e.createEndOfDeclarationMarker(r)),e.setEmitFlags(c,4194304|e.getEmitFlags(c))),e.singleOrMany(l)}function Y(n,t,r){var a=128&r?void 0:e.visitNodes(n.modifiers,U,e.isModifier),i=e.createClassDeclaration(void 0,a,t,void 0,e.visitNodes(n.heritageClauses,O,e.isHeritageClause),$(n)),o=e.getEmitFlags(n);return 1&r&&(o|=32),e.aggregateTransformFlags(i),e.setTextRange(i,n),e.setOriginalNode(i,n),e.setEmitFlags(i,o),i}function Q(n,t){var r=e.moveRangePastDecorators(n),a=qn(n),i=e.getLocalName(n,!1,!0),o=e.visitNodes(n.heritageClauses,O,e.isHeritageClause),s=$(n),c=e.createClassExpression(void 0,t,void 0,o,s);e.aggregateTransformFlags(c),e.setOriginalNode(c,n),e.setTextRange(c,r);var l=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(i,void 0,a?e.createAssignment(a,c):c)],1));return e.setOriginalNode(l,n),e.setTextRange(l,r),e.setCommentRange(l,n),l}function Z(t){if(!J(t))return e.visitEachChild(t,O,n);var r=e.createClassExpression(void 0,t.name,void 0,e.visitNodes(t.heritageClauses,O,e.isHeritageClause),$(t));return e.aggregateTransformFlags(r),e.setOriginalNode(r,t),e.setTextRange(r,t),r}function $(n){var t=[],r=e.getFirstConstructorWithBody(n),a=r&&e.filter(r.parameters,(function(n){return e.isParameterPropertyDeclaration(n,r)}));if(a)for(var i=0,o=a;i0&&e.parameterIsThisKeyword(r[0]),i=a?1:0,o=a?r.length-1:r.length,s=0;s0?158===r.kind?e.createVoidZero():e.createNull():void 0,u=i(n,o,s,c,l,e.moveRangePastDecorators(r));return e.setEmitFlags(u,1536),u}}function fe(n,t){var r=_e(t);r&&n.push(e.setOriginalNode(e.createExpressionStatement(r),t))}function _e(t){var r=ie(t),a=ue(t,t,r);if(a){var o=f&&f[e.getOriginalNodeId(t)],s=e.getLocalName(t,!1,!0),c=i(n,a,s),l=e.createAssignment(s,o?e.createAssignment(o,c):c);return e.setEmitFlags(l,1536),e.setSourceMapRange(l,e.moveRangePastDecorators(t)),l}}function ge(n){return e.visitNode(n.expression,O,e.isExpression)}function ye(t,r){var a;if(t){a=[];for(var i=0,o=t;i= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'},e.metadataHelper={name:"typescript:metadata",importName:"__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 };'},e.paramHelper={name:"typescript:param",importName:"__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 };"}}(u||(u={})),function(e){var n;function t(n){var t,r,a,o,s=n.hoistVariableDeclaration,c=n.endLexicalEnvironment,l=n.resumeLexicalEnvironment,u=n.getEmitResolver(),d=n.onSubstituteNode;return n.onSubstituteNode=A,e.chainBundle(p);function p(t){var r=n.getCompilerOptions();if(t.isDeclarationFile||r.useDefineForClassFields&&99===r.target)return t;var a=e.visitEachChild(t,m,n);return e.addEmitHelpers(a,n.readEmitHelpers()),a}function m(t){if(!(1048576&t.transformFlags))return t;switch(t.kind){case 213:return h(t);case 244:return v(t);case 224:return _(t)}return e.visitEachChild(t,m,n)}function f(t){switch(t.kind){case 161:return;case 162:case 163:case 160:return e.visitEachChild(t,f,n);case 158:return y(t);case 153:return g(t);case 221:return t;default:return m(t)}}function _(t){var r=o;o=[];var a=e.visitEachChild(t,m,n),s=e.some(o)?i([a],o):a;return o=r,s}function g(t){var r=e.visitEachChild(t,m,n);if(e.some(a)){var i=a;i.push(t.expression),a=[],r=e.updateComputedPropertyName(r,e.inlineExpressions(i))}return r}function y(t){e.Debug.assert(!e.some(t.decorators));var r=I(t.name,!!t.initializer||!!n.getCompilerOptions().useDefineForClassFields);r&&!e.isSimpleInlineableExpression(r)&&(a||(a=[])).push(r)}function v(t){if(!e.forEach(t.members,e.isPropertyDeclaration))return e.visitEachChild(t,m,n);var r=a;a=void 0;var i=e.getEffectiveBaseTypeNode(t),o=!(!i||99===e.skipOuterExpressions(i.expression).kind),s=[e.updateClassDeclaration(t,void 0,t.modifiers,t.name,void 0,e.visitNodes(t.heritageClauses,m,e.isHeritageClause),b(t,o))];e.some(a)&&s.push(e.createExpressionStatement(e.inlineExpressions(a))),a=r;var c=e.getProperties(t,!0,!0);return e.some(c)&&S(s,c,e.getInternalName(t)),s}function h(t){if(!e.forEach(t.members,e.isPropertyDeclaration))return e.visitEachChild(t,m,n);var i=a;a=void 0;var c=e.isClassDeclaration(e.getOriginalNode(t)),l=e.getProperties(t,!0,!0),d=e.getEffectiveBaseTypeNode(t),p=!(!d||99===e.skipOuterExpressions(d.expression).kind),f=e.updateClassExpression(t,t.modifiers,t.name,void 0,e.visitNodes(t.heritageClauses,m,e.isHeritageClause),b(t,p));if(e.some(l)||e.some(a)){if(c)return e.Debug.assertDefined(o,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),o&&a&&e.some(a)&&o.push(e.createExpressionStatement(e.inlineExpressions(a))),a=i,o&&e.some(l)&&S(o,l,e.getInternalName(t)),f;var _=[],g=16777216&u.getNodeCheckFlags(t),y=e.createTempVariable(s,!!g);if(g){C();var v=e.getSynthesizedClone(y);v.autoGenerateFlags&=-9,r[e.getOriginalNodeId(t)]=v}return e.setEmitFlags(f,65536|e.getEmitFlags(f)),_.push(e.startOnNewLine(e.createAssignment(y,f))),e.addRange(_,e.map(a,e.startOnNewLine)),e.addRange(_,x(l,y)),_.push(e.startOnNewLine(y)),a=i,e.inlineExpressions(_)}return a=i,f}function b(n,t){var r=[],a=E(n,t);return a&&r.push(a),e.addRange(r,e.visitNodes(n.members,f,e.isClassElement)),e.setTextRange(e.createNodeArray(r),n.members)}function E(t,r){var a=e.visitNode(e.getFirstConstructorWithBody(t),m,e.isConstructorDeclaration),i=e.forEach(t.members,(function(t){return e.isInitializedProperty(t,!n.getCompilerOptions().useDefineForClassFields)}));if(!i)return a;var o=e.visitParameterList(a?a.parameters:void 0,m,n),s=T(t,a,r);return s?e.startOnNewLine(e.setOriginalNode(e.setTextRange(e.createConstructor(void 0,void 0,o,s),a||t),a)):void 0}function T(t,r,a){var i,o=n.getCompilerOptions().useDefineForClassFields,s=e.getProperties(t,!o,!1);if(!r&&!e.some(s))return e.visitFunctionBody(void 0,m,n);l();var u=0,d=[];if(!r&&a&&d.push(e.createExpressionStatement(e.createCall(e.createSuper(),void 0,[e.createSpread(e.createIdentifier("arguments"))]))),r&&(u=e.addPrologueDirectivesAndInitialSuperCall(r,d,m)),null===(i=r)||void 0===i?void 0:i.body){var p=e.findIndex(r.body.statements,(function(n){return!e.isParameterPropertyDeclaration(e.getOriginalNode(n),r)}),u);-1===p&&(p=r.body.statements.length),p>u&&(o||e.addRange(d,e.visitNodes(r.body.statements,m,e.isStatement,u,p-u)),u=p)}return S(d,s,e.createThis()),r&&e.addRange(d,e.visitNodes(r.body.statements,m,e.isStatement,u)),d=e.mergeLexicalEnvironment(d,c()),e.setTextRange(e.createBlock(e.setTextRange(e.createNodeArray(d),r?r.body.statements:t.members),!0),r?r.body:void 0)}function S(n,t,r){for(var a=0,i=t;a=2&&6144&m.getNodeCheckFlags(t);if(I&&(W(),e.hasEntries(s))){var O=r(m,t,s);y[e.getNodeId(O)]=!0,e.insertStatementsAfterStandardPrologue(k,[O])}var M=e.createBlock(k,!0);e.setTextRange(M,t.body),I&&c&&(4096&m.getNodeCheckFlags(t)?e.addEmitHelper(M,e.advancedAsyncSuperHelper):2048&m.getNodeCheckFlags(t)&&e.addEmitHelper(M,e.asyncSuperHelper)),x=M}return o=h,g||(s=L,c=C),x}function K(n,t){return e.isBlock(n)?e.updateBlock(n,e.visitNodes(n.statements,x,e.isStatement,t)):e.convertToFunctionBody(e.visitNode(n,x,e.isConciseBody))}function H(n){var t=n&&e.getEntityNameFromTypeNode(n);if(t&&e.isEntityName(t)){var r=m.getTypeReferenceSerializationKind(t);if(r===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||r===e.TypeReferenceSerializationKind.Unknown)return t}}function W(){0===(1&t)&&(t|=1,n.enableSubstitution(195),n.enableSubstitution(193),n.enableSubstitution(194),n.enableEmitNotification(244),n.enableEmitNotification(160),n.enableEmitNotification(162),n.enableEmitNotification(163),n.enableEmitNotification(161),n.enableEmitNotification(224))}function q(n,r,a){if(1&t&&Z(r)){var i=6144&m.getNodeCheckFlags(r);if(i!==g){var o=g;return g=i,v(n,r,a),void(g=o)}}else if(t&&y[e.getNodeId(r)]){o=g;return g=0,v(n,r,a),void(g=o)}v(n,r,a)}function z(e,n){return n=h(e,n),1===e&&g?J(n):n}function J(e){switch(e.kind){case 193:return X(e);case 194:return Y(e);case 195:return Q(e)}return e}function X(n){return 101===n.expression.kind?e.setTextRange(e.createPropertyAccess(e.createFileLevelUniqueName("_super"),n.name),n):n}function Y(e){return 101===e.expression.kind?$(e.argumentExpression,e):e}function Q(n){var t=n.expression;if(e.isSuperProperty(t)){var r=e.isPropertyAccessExpression(t)?X(t):Y(t);return e.createCall(e.createPropertyAccess(r,"call"),void 0,i([e.createThis()],n.arguments))}return n}function Z(e){var n=e.kind;return 244===n||161===n||160===n||162===n||163===n}function $(n,t){return 4096&g?e.setTextRange(e.createPropertyAccess(e.createCall(e.createFileLevelUniqueName("_superIndex"),void 0,[n]),"value"),t):e.setTextRange(e.createCall(e.createFileLevelUniqueName("_superIndex"),void 0,[n]),t)}}function r(n,t,r){var a=0!==(4096&n.getNodeCheckFlags(t)),i=[];return r.forEach((function(n,t){var r=e.unescapeLeadingUnderscores(t),o=[];o.push(e.createPropertyAssignment("get",e.createArrowFunction(void 0,void 0,[],void 0,void 0,e.setEmitFlags(e.createPropertyAccess(e.setEmitFlags(e.createSuper(),4),r),4)))),a&&o.push(e.createPropertyAssignment("set",e.createArrowFunction(void 0,void 0,[e.createParameter(void 0,void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,e.createAssignment(e.setEmitFlags(e.createPropertyAccess(e.setEmitFlags(e.createSuper(),4),r),4),e.createIdentifier("v"))))),i.push(e.createPropertyAssignment(r,e.createObjectLiteral(o)))})),e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_super"),void 0,e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"create"),void 0,[e.createNull(),e.createObjectLiteral(i,!0)]))],2))}function a(n,t,r,a,i){n.requestEmitHelper(e.awaiterHelper);var o=e.createFunctionExpression(void 0,e.createToken(41),void 0,void 0,[],void 0,i);return(o.emitNode||(o.emitNode={})).flags|=786432,e.createCall(e.getUnscopedHelperName("__awaiter"),void 0,[t?e.createThis():e.createVoidZero(),r?e.createIdentifier("arguments"):e.createVoidZero(),a?e.createExpressionFromEntityName(a):e.createVoidZero(),o])}(function(e){e[e["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(n||(n={})),e.transformES2017=t,e.createSuperAccessVariableStatement=r,e.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:!1,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'},e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:e.helperString(c(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:e.helperString(c(["\n const "," = (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 const "," = (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);"]),"_superIndex")}}(u||(u={})),function(e){var n;function t(n){var t=n.resumeLexicalEnvironment,l=n.endLexicalEnvironment,u=n.hoistVariableDeclaration,d=n.getEmitResolver(),p=n.getCompilerOptions(),m=e.getEmitScriptTarget(p),f=n.onEmitNode;n.onEmitNode=le;var _=n.onSubstituteNode;n.onSubstituteNode=ue;var g,y,v,h,b,E=!1,T=0,S=[];return e.chainBundle(x);function x(t){if(t.isDeclarationFile)return t;E=!1,v=e.isEffectiveStrictModeSourceFile(t,p);var r=e.visitEachChild(t,L,n);return e.addEmitHelpers(r,n.readEmitHelpers()),r}function L(e){return N(e,!1)}function C(e){return N(e,!0)}function A(e){if(125!==e.kind)return e}function D(e,n){if(v){v=!1;var t=e(n);return v=!0,t}return e(n)}function k(t){return e.visitEachChild(t,L,n)}function N(t,r){if(0===(16&t.transformFlags))return t;switch(t.kind){case 205:return I(t);case 211:return O(t);case 234:return M(t);case 237:return w(t);case 192:return P(t);case 208:return B(t,r);case 278:return V(t);case 224:return U(t);case 241:return j(t);case 231:return q(t,void 0);case 229:return H(t);case 204:return W(t);case 161:return D(Z,t);case 160:return D(ne,t);case 162:return D($,t);case 163:return D(ee,t);case 243:return D(te,t);case 200:return D(ae,t);case 201:return re(t);case 155:return Q(t);case 225:return F(t);case 199:return G(t,r);case 193:return h&&e.isPropertyAccessExpression(t)&&101===t.expression.kind&&h.set(t.name.escapedText,!0),e.visitEachChild(t,L,n);case 194:return h&&101===t.expression.kind&&(b=!0),e.visitEachChild(t,L,n);case 244:case 213:return D(k,t);default:return e.visitEachChild(t,L,n)}}function I(t){return 2&y&&1&y?e.setOriginalNode(e.setTextRange(e.createYield(a(n,e.visitNode(t.expression,L,e.isExpression))),t),t):e.visitEachChild(t,L,n)}function O(t){if(2&y&&1&y){if(t.asteriskToken){var r=e.visitNode(t.expression,L,e.isExpression);return e.setOriginalNode(e.setTextRange(e.createYield(a(n,e.updateYield(t,t.asteriskToken,s(n,c(n,r,r),r)))),t),t)}return e.setOriginalNode(e.setTextRange(e.createYield(X(t.expression?e.visitNode(t.expression,L,e.isExpression):e.createVoidZero())),t),t)}return e.visitEachChild(t,L,n)}function M(t){return 2&y&&1&y?e.updateReturn(t,X(t.expression?e.visitNode(t.expression,L,e.isExpression):e.createVoidZero())):e.visitEachChild(t,L,n)}function w(t){if(2&y){var r=e.unwrapInnermostStatementOfLabel(t);return 231===r.kind&&r.awaitModifier?q(r,t):e.restoreEnclosingLabel(e.visitEachChild(r,L,n),t)}return e.visitEachChild(t,L,n)}function R(n){for(var t,r=[],a=0,i=n;a1){for(var o=1;o=2&&6144&d.getNodeCheckFlags(r);if(p){ce();var f=e.createSuperAccessVariableStatement(d,r,h);S[e.getNodeId(f)]=!0,e.insertStatementsAfterStandardPrologue(a,[f])}a.push(u),e.insertStatementsAfterStandardPrologue(a,l());var _=e.updateBlock(r.body,a);return p&&b&&(4096&d.getNodeCheckFlags(r)?e.addEmitHelper(_,e.advancedAsyncSuperHelper):2048&d.getNodeCheckFlags(r)&&e.addEmitHelper(_,e.asyncSuperHelper)),h=s,b=c,_}function oe(n){t();var r=0,a=[],i=e.visitNode(n.body,L,e.isConciseBody);e.isBlock(i)&&(r=e.addPrologue(a,i.statements,!1,L)),e.addRange(a,se(void 0,n));var o=l();if(r>0||e.some(a)||e.some(o)){var s=e.convertToFunctionBody(i,!0);return e.insertStatementsAfterStandardPrologue(a,o),e.addRange(a,s.statements.slice(r)),e.updateBlock(s,e.setTextRange(e.createNodeArray(a),s.statements))}return i}function se(t,r){for(var a=0,i=r.parameters;a=2?e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"assign"),void 0,t):(n.requestEmitHelper(e.assignHelper),e.createCall(e.getUnscopedHelperName("__assign"),void 0,t))}function a(n,t){return n.requestEmitHelper(e.awaitHelper),e.createCall(e.getUnscopedHelperName("__await"),void 0,[t])}function o(n,t,r){return n.requestEmitHelper(e.awaitHelper),n.requestEmitHelper(e.asyncGeneratorHelper),(t.emitNode||(t.emitNode={})).flags|=262144,e.createCall(e.getUnscopedHelperName("__asyncGenerator"),void 0,[r?e.createThis():e.createVoidZero(),e.createIdentifier("arguments"),t])}function s(n,t,r){return n.requestEmitHelper(e.awaitHelper),n.requestEmitHelper(e.asyncDelegator),e.setTextRange(e.createCall(e.getUnscopedHelperName("__asyncDelegator"),void 0,[t]),r)}function c(n,t,r){return n.requestEmitHelper(e.asyncValues),e.setTextRange(e.createCall(e.getUnscopedHelperName("__asyncValues"),void 0,[t]),r)}(function(e){e[e["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(n||(n={})),e.transformES2018=t,e.assignHelper={name:"typescript:assign",importName:"__assign",scoped:!1,priority:1,text:"\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"},e.createAssignHelper=r,e.awaitHelper={name:"typescript:await",importName:"__await",scoped:!1,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"},e.asyncGeneratorHelper={name:"typescript:asyncGenerator",importName:"__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 };'},e.asyncDelegator={name:"typescript:asyncDelegator",importName:"__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) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }\n };'},e.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!1,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'}}(u||(u={})),function(e){function n(n){return e.chainBundle(t);function t(t){return t.isDeclarationFile?t:e.visitEachChild(t,r,n)}function r(t){if(0===(8&t.transformFlags))return t;switch(t.kind){case 278:return a(t);default:return e.visitEachChild(t,r,n)}}function a(t){return t.variableDeclaration?e.visitEachChild(t,r,n):e.updateCatchClause(t,e.createVariableDeclaration(e.createTempVariable(void 0)),e.visitNode(t.block,r,e.isBlock))}}e.transformES2019=n}(u||(u={})),function(e){function n(n){var t=n.hoistVariableDeclaration;return e.chainBundle(r);function r(t){return t.isDeclarationFile?t:e.visitEachChild(t,a,n)}function a(t){if(0===(4&t.transformFlags))return t;switch(t.kind){case 193:case 194:case 195:if(32&t.flags){var r=d(t,!1);return e.Debug.assertNotNode(r,e.isSyntheticReference),r}return e.visitEachChild(t,a,n);case 208:return 60===t.operatorToken.kind?m(t):e.visitEachChild(t,a,n);default:return e.visitEachChild(t,a,n)}}function i(n){var t=[n];while(!n.questionDotToken&&!e.isTaggedTemplateExpression(n))n=e.cast(n.expression,e.isOptionalChain),t.unshift(n);return{expression:n.expression,chain:t}}function o(n,t){var r=u(n.expression,t);return e.isSyntheticReference(r)?e.createSyntheticReferenceExpression(e.updateParen(n,r.expression),r.thisArg):e.updateParen(n,r)}function s(n,r){if(e.isOptionalChain(n))return d(n,r);var i,o=e.visitNode(n.expression,a,e.isExpression);return e.Debug.assertNotNode(o,e.isSyntheticReference),r&&(i=e.createTempVariable(t),o=e.createParen(e.createAssignment(i,o))),o=e.updatePropertyAccess(n,o,e.visitNode(n.name,a,e.isIdentifier)),i?e.createSyntheticReferenceExpression(o,i):o}function c(n,r){if(e.isOptionalChain(n))return d(n,r);var i,o=e.visitNode(n.expression,a,e.isExpression);return e.Debug.assertNotNode(o,e.isSyntheticReference),r&&(i=e.createTempVariable(t),o=e.createParen(e.createAssignment(i,o))),o=e.updateElementAccess(n,o,e.visitNode(n.argumentExpression,a,e.isExpression)),i?e.createSyntheticReferenceExpression(o,i):o}function l(t,r){return e.isOptionalChain(t)?d(t,r):e.visitEachChild(t,a,n)}function u(n,t){switch(n.kind){case 199:return o(n,t);case 193:return s(n,t);case 194:return c(n,t);case 195:return l(n,t);default:return e.visitNode(n,a,e.isExpression)}}function d(n,r){for(var o,s=i(n),c=s.expression,l=s.chain,d=u(c,e.isCallChain(l[0])),p=e.createTempVariable(t),m=e.isSyntheticReference(d)?d.thisArg:void 0,f=e.isSyntheticReference(d)?d.expression:d,_=p,g=0;g0?(e.insertStatementAfterCustomPrologue(t,e.setEmitFlags(e.createVariableStatement(void 0,e.createVariableDeclarationList(e.flattenDestructuringBinding(r,L,n,0,e.getGeneratedNameForNode(r)))),1048576)),!0):!!i&&(e.insertStatementAfterCustomPrologue(t,e.setEmitFlags(e.createExpressionStatement(e.createAssignment(e.getGeneratedNameForNode(r),e.visitNode(i,L,e.isExpression))),1048576)),!0)}function Z(n,t,r,a){a=e.visitNode(a,L,e.isExpression);var i=e.createIf(e.createTypeCheck(e.getSynthesizedClone(r),"undefined"),e.setEmitFlags(e.setTextRange(e.createBlock([e.createExpressionStatement(e.setEmitFlags(e.setTextRange(e.createAssignment(e.setEmitFlags(e.getMutableClone(r),48),e.setEmitFlags(a,1584|e.getEmitFlags(a))),t),1536))]),t),1953));e.startOnNewLine(i),e.setTextRange(i,t),e.setEmitFlags(i,1050528),e.insertStatementAfterCustomPrologue(n,i)}function $(e,n){return!(!e||!e.dotDotDotToken||n)}function ee(t,r,a){var i=[],o=e.lastOrUndefined(r.parameters);if(!$(o,a))return!1;var s=75===o.name.kind?e.getMutableClone(o.name):e.createTempVariable(void 0);e.setEmitFlags(s,48);var c=75===o.name.kind?e.getSynthesizedClone(o.name):s,l=r.parameters.length-1,u=e.createLoopVariable();i.push(e.setEmitFlags(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(s,void 0,e.createArrayLiteral([]))])),o),1048576));var d=e.createFor(e.setTextRange(e.createVariableDeclarationList([e.createVariableDeclaration(u,void 0,e.createLiteral(l))]),o),e.setTextRange(e.createLessThan(u,e.createPropertyAccess(e.createIdentifier("arguments"),"length")),o),e.setTextRange(e.createPostfixIncrement(u),o),e.createBlock([e.startOnNewLine(e.setTextRange(e.createExpressionStatement(e.createAssignment(e.createElementAccess(c,0===l?u:e.createSubtract(u,e.createLiteral(l))),e.createElementAccess(e.createIdentifier("arguments"),u))),o))]));return e.setEmitFlags(d,1048576),e.startOnNewLine(d),i.push(d),75!==o.name.kind&&i.push(e.setEmitFlags(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList(e.flattenDestructuringBinding(o,L,n,0,c))),o),1048576)),e.insertStatementsAfterCustomPrologue(t,i),!0}function ne(n,t){return!!(32768&a&&201!==t.kind)&&(te(n,t,e.createThis()),!0)}function te(n,t,r){Yn();var a=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_this"),void 0,r)]));e.setEmitFlags(a,1050112),e.setSourceMapRange(a,t),e.insertStatementAfterCustomPrologue(n,a)}function re(n,t,r){if(16384&a){var i=void 0;switch(t.kind){case 201:return n;case 160:case 162:case 163:i=e.createVoidZero();break;case 161:i=e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor");break;case 243:case 200:i=e.createConditional(e.createLogicalAnd(e.setEmitFlags(e.createThis(),4),e.createBinary(e.setEmitFlags(e.createThis(),4),97,e.getLocalName(t))),e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor"),e.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(t)}var o=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_newTarget"),void 0,i)]));e.setEmitFlags(o,1050112),r&&(n=n.slice()),e.insertStatementAfterCustomPrologue(n,o)}return n}function ae(n,r){for(var a=0,i=r.members;a=n.end)return!1;var a=e.getEnclosingBlockScopeContainer(n);while(r){if(r===a||r===n)return!1;if(e.isClassElement(r)&&r.parent===n)return!0;r=r.parent}return!1}function rt(n){return 1&u&&16&a?e.setTextRange(e.createFileLevelUniqueName("_this"),n):n}function at(n,t){return e.hasModifier(t,32)?e.getInternalName(n):e.createPropertyAccess(e.getInternalName(n),"prototype")}function it(n,t){if(!n||!t)return!1;if(e.some(n.parameters))return!1;var r=e.firstOrUndefined(n.body.statements);if(!r||!e.nodeIsSynthesized(r)||225!==r.kind)return!1;var a=r.expression;if(!e.nodeIsSynthesized(a)||195!==a.kind)return!1;var i=a.expression;if(!e.nodeIsSynthesized(i)||101!==i.kind)return!1;var o=e.singleOrUndefined(a.arguments);if(!o||!e.nodeIsSynthesized(o)||212!==o.kind)return!1;var s=o.expression;return e.isIdentifier(s)&&"arguments"===s.escapedText}}function c(n,t){return n.requestEmitHelper(e.extendsHelper),e.createCall(e.getUnscopedHelperName("__extends"),void 0,[t,e.createFileLevelUniqueName("_super")])}function l(n,t,r){return n.requestEmitHelper(e.templateObjectHelper),e.createCall(e.getUnscopedHelperName("__makeTemplateObject"),void 0,[t,r])}(function(e){e[e["CapturedThis"]=1]="CapturedThis",e[e["BlockScopedBindings"]=2]="BlockScopedBindings"})(n||(n={})),function(e){e[e["Body"]=1]="Body",e[e["Initializer"]=2]="Initializer"}(t||(t={})),function(e){e[e["ToOriginal"]=0]="ToOriginal",e[e["ToOutParameter"]=1]="ToOutParameter"}(r||(r={})),function(e){e[e["Break"]=2]="Break",e[e["Continue"]=4]="Continue",e[e["Return"]=8]="Return"}(a||(a={})),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["IterationContainer"]=1024]="IterationContainer",e[e["ForStatement"]=2048]="ForStatement",e[e["ForInOrForOfStatement"]=4096]="ForInOrForOfStatement",e[e["ConstructorWithCapturedSuper"]=8192]="ConstructorWithCapturedSuper",e[e["AncestorFactsMask"]=16383]="AncestorFactsMask",e[e["BlockScopeIncludes"]=0]="BlockScopeIncludes",e[e["BlockScopeExcludes"]=7104]="BlockScopeExcludes",e[e["SourceFileIncludes"]=64]="SourceFileIncludes",e[e["SourceFileExcludes"]=8064]="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"]=15232]="ArrowFunctionExcludes",e[e["ConstructorIncludes"]=73]="ConstructorIncludes",e[e["ConstructorExcludes"]=16278]="ConstructorExcludes",e[e["DoOrWhileStatementIncludes"]=1280]="DoOrWhileStatementIncludes",e[e["DoOrWhileStatementExcludes"]=0]="DoOrWhileStatementExcludes",e[e["ForStatementIncludes"]=3328]="ForStatementIncludes",e[e["ForStatementExcludes"]=5056]="ForStatementExcludes",e[e["ForInOrForOfStatementIncludes"]=5376]="ForInOrForOfStatementIncludes",e[e["ForInOrForOfStatementExcludes"]=3008]="ForInOrForOfStatementExcludes",e[e["BlockIncludes"]=128]="BlockIncludes",e[e["BlockExcludes"]=6976]="BlockExcludes",e[e["IterationStatementBlockIncludes"]=512]="IterationStatementBlockIncludes",e[e["IterationStatementBlockExcludes"]=7104]="IterationStatementBlockExcludes",e[e["NewTarget"]=16384]="NewTarget",e[e["CapturedLexicalThis"]=32768]="CapturedLexicalThis",e[e["SubtreeFactsMask"]=-16384]="SubtreeFactsMask",e[e["ArrowFunctionSubtreeExcludes"]=0]="ArrowFunctionSubtreeExcludes",e[e["FunctionSubtreeExcludes"]=49152]="FunctionSubtreeExcludes"}(o||(o={})),e.transformES2015=s,e.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:!1,priority:0,text:"\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\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 })();"},e.templateObjectHelper={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!1,priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'}}(u||(u={})),function(e){function n(n){var t,r,a=n.getCompilerOptions();1!==a.jsx&&3!==a.jsx||(t=n.onEmitNode,n.onEmitNode=s,n.enableEmitNotification(266),n.enableEmitNotification(267),n.enableEmitNotification(265),r=[]);var i=n.onSubstituteNode;return n.onSubstituteNode=c,n.enableSubstitution(193),n.enableSubstitution(279),e.chainBundle(o);function o(e){return e}function s(n,a,i){switch(a.kind){case 266:case 267:case 265:var o=a.tagName;r[e.getOriginalNodeId(o)]=!0;break}t(n,a,i)}function c(n,t){return t.id&&r&&r[t.id]?i(n,t):(t=i(n,t),e.isPropertyAccessExpression(t)?l(t):e.isPropertyAssignment(t)?u(t):t)}function l(n){var t=d(n.name);return t?e.setTextRange(e.createElementAccess(n.expression,t),n):n}function u(n){var t=e.isIdentifier(n.name)&&d(n.name);return t?e.updatePropertyAssignment(n,t,n.initializer):n}function d(n){var t=n.originalKeywordKind||(e.nodeIsSynthesized(n)?e.stringToToken(e.idText(n)):void 0);if(void 0!==t&&t>=76&&t<=111)return e.setTextRange(e.createLiteral(n),n)}}e.transformES5=n}(u||(u={})),function(e){var n,t,r,a,o;function s(e){switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}function c(n){var t,r,a,o,c,u,d,p,m,f,_=n.resumeLexicalEnvironment,g=n.endLexicalEnvironment,y=n.hoistFunctionDeclaration,v=n.hoistVariableDeclaration,h=n.getCompilerOptions(),b=e.getEmitScriptTarget(h),E=n.getEmitResolver(),T=n.onSubstituteNode;n.onSubstituteNode=je;var S,x,L,C,A,D,k,N,I,O,M,w,R=1,P=0,F=0;return e.chainBundle(G);function G(t){if(t.isDeclarationFile||0===(256&t.transformFlags))return t;var r=e.visitEachChild(t,B,n);return e.addEmitHelpers(r,n.readEmitHelpers()),r}function B(t){var r=t.transformFlags;return o?V(t):a?U(t):e.isFunctionLikeDeclaration(t)&&t.asteriskToken?K(t):256&r?e.visitEachChild(t,B,n):t}function V(e){switch(e.kind){case 227:return be(e);case 228:return Te(e);case 236:return Re(e);case 237:return Fe(e);default:return U(e)}}function U(t){switch(t.kind){case 243:return H(t);case 200:return W(t);case 162:case 163:return q(t);case 224:return J(t);case 229:return xe(t);case 230:return Ce(t);case 233:return Ne(t);case 232:return De(t);case 234:return Oe(t);default:return 131072&t.transformFlags?j(t):262400&t.transformFlags?e.visitEachChild(t,B,n):t}}function j(t){switch(t.kind){case 208:return X(t);case 209:return te(t);case 211:return re(t);case 191:return ae(t);case 192:return oe(t);case 194:return se(t);case 195:return ce(t);case 196:return le(t);default:return e.visitEachChild(t,B,n)}}function K(n){switch(n.kind){case 243:return H(n);case 200:return W(n);default:return e.Debug.failBadSyntaxKind(n)}}function H(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,B,n),void 0,z(t.body)),t),t);else{var r=a,i=o;a=!1,o=!1,t=e.visitEachChild(t,B,n),a=r,o=i}return a?void y(t):t}function W(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(e.createFunctionExpression(void 0,void 0,t.name,void 0,e.visitParameterList(t.parameters,B,n),void 0,z(t.body)),t),t);else{var r=a,i=o;a=!1,o=!1,t=e.visitEachChild(t,B,n),a=r,o=i}return t}function q(t){var r=a,i=o;return a=!1,o=!1,t=e.visitEachChild(t,B,n),a=r,o=i,t}function z(n){var t=[],r=a,i=o,s=c,l=u,y=d,v=p,h=m,b=f,E=R,T=S,A=x,D=L,k=C;a=!0,o=!1,c=void 0,u=void 0,d=void 0,p=void 0,m=void 0,f=void 0,R=1,S=void 0,x=void 0,L=void 0,C=e.createTempVariable(void 0),_();var N=e.addPrologue(t,n.statements,!1,B);ue(n.statements,N);var I=Gn();return e.insertStatementsAfterStandardPrologue(t,g()),t.push(e.createReturn(I)),a=r,o=i,c=s,u=l,d=y,p=v,m=h,f=b,R=E,S=T,x=A,L=D,C=k,e.setTextRange(e.createBlock(t,n.multiLine),n)}function J(n){if(131072&n.transformFlags)ge(n.declarationList);else{if(1048576&e.getEmitFlags(n))return n;for(var t=0,r=n.declarationList.declarations;t=63&&e<=74}function Q(e){switch(e){case 63:return 39;case 64:return 40;case 65:return 41;case 66:return 42;case 67:return 43;case 68:return 44;case 69:return 47;case 70:return 48;case 71:return 49;case 72:return 50;case 73:return 51;case 74:return 52}}function Z(t){var r=t.left,a=t.right;if(Ve(a)){var i=void 0;switch(r.kind){case 193:i=e.updatePropertyAccess(r,We(e.visitNode(r.expression,B,e.isLeftHandSideExpression)),r.name);break;case 194:i=e.updateElementAccess(r,We(e.visitNode(r.expression,B,e.isLeftHandSideExpression)),We(e.visitNode(r.argumentExpression,B,e.isExpression)));break;default:i=e.visitNode(r,B,e.isExpression);break}var o=t.operatorToken.kind;return Y(o)?e.setTextRange(e.createAssignment(i,e.setTextRange(e.createBinary(We(i),Q(o),e.visitNode(a,B,e.isExpression)),t)),t):e.updateBinary(t,i,e.visitNode(a,B,e.isExpression))}return e.visitEachChild(t,B,n)}function $(t){if(Ve(t.right)){if(e.isLogicalOperator(t.operatorToken.kind))return ee(t);if(27===t.operatorToken.kind)return ne(t);var r=e.getMutableClone(t);return r.left=We(e.visitNode(t.left,B,e.isExpression)),r.right=e.visitNode(t.right,B,e.isExpression),r}return e.visitEachChild(t,B,n)}function ee(n){var t=ze(),r=qe();return Dn(r,e.visitNode(n.left,B,e.isExpression),n.left),55===n.operatorToken.kind?In(t,r,n.left):Nn(t,r,n.left),Dn(r,e.visitNode(n.right,B,e.isExpression),n.right),Je(t),r}function ne(n){var t=[];return r(n.left),r(n.right),e.inlineExpressions(t);function r(n){e.isBinaryExpression(n)&&27===n.operatorToken.kind?(r(n.left),r(n.right)):(Ve(n)&&t.length>0&&(Fn(1,[e.createExpressionStatement(e.inlineExpressions(t))]),t=[]),t.push(e.visitNode(n,B,e.isExpression)))}}function te(t){if(Ve(t.whenTrue)||Ve(t.whenFalse)){var r=ze(),a=ze(),i=qe();return In(r,e.visitNode(t.condition,B,e.isExpression),t.condition),Dn(i,e.visitNode(t.whenTrue,B,e.isExpression),t.whenTrue),kn(a),Je(r),Dn(i,e.visitNode(t.whenFalse,B,e.isExpression),t.whenFalse),Je(a),i}return e.visitEachChild(t,B,n)}function re(t){var r=ze(),a=e.visitNode(t.expression,B,e.isExpression);if(t.asteriskToken){var i=0===(8388608&e.getEmitFlags(t.expression))?e.createValuesHelper(n,a,t):a;On(i,t)}else Mn(a,t);return Je(r),Ln(t)}function ae(e){return ie(e.elements,void 0,void 0,e.multiLine)}function ie(n,t,r,a){var o,s=Ue(n);if(s>0){o=qe();var c=e.visitNodes(n,B,e.isExpression,0,s);Dn(o,e.createArrayLiteral(t?i([t],c):c)),t=void 0}var l=e.reduceLeft(n,u,[],s);return o?e.createArrayConcat(o,[e.createArrayLiteral(l,a)]):e.setTextRange(e.createArrayLiteral(t?i([t],l):l,a),r);function u(n,r){if(Ve(r)&&n.length>0){var s=void 0!==o;o||(o=qe()),Dn(o,s?e.createArrayConcat(o,[e.createArrayLiteral(n,a)]):e.createArrayLiteral(t?i([t],n):n,a)),t=void 0,n=[]}return n.push(e.visitNode(r,B,e.isExpression)),n}}function oe(n){var t=n.properties,r=n.multiLine,a=Ue(t),i=qe();Dn(i,e.createObjectLiteral(e.visitNodes(t,B,e.isObjectLiteralElementLike,0,a),r));var o=e.reduceLeft(t,s,[],a);return o.push(r?e.startOnNewLine(e.getMutableClone(i)):i),e.inlineExpressions(o);function s(t,a){Ve(a)&&t.length>0&&(An(e.createExpressionStatement(e.inlineExpressions(t))),t=[]);var o=e.createExpressionForObjectLiteralElementLike(n,a,i),s=e.visitNode(o,B,e.isExpression);return s&&(r&&e.startOnNewLine(s),t.push(s)),t}}function se(t){if(Ve(t.argumentExpression)){var r=e.getMutableClone(t);return r.expression=We(e.visitNode(t.expression,B,e.isLeftHandSideExpression)),r.argumentExpression=e.visitNode(t.argumentExpression,B,e.isExpression),r}return e.visitEachChild(t,B,n)}function ce(t){if(!e.isImportCall(t)&&e.forEach(t.arguments,Ve)){var r=e.createCallBinding(t.expression,v,b,!0),a=r.target,i=r.thisArg;return e.setOriginalNode(e.createFunctionApply(We(e.visitNode(a,B,e.isLeftHandSideExpression)),i,ie(t.arguments),t),t)}return e.visitEachChild(t,B,n)}function le(t){if(e.forEach(t.arguments,Ve)){var r=e.createCallBinding(e.createPropertyAccess(t.expression,"bind"),v),a=r.target,i=r.thisArg;return e.setOriginalNode(e.setTextRange(e.createNew(e.createFunctionApply(We(e.visitNode(a,B,e.isExpression)),i,ie(t.arguments,e.createVoidZero())),void 0,[]),t),t)}return e.visitEachChild(t,B,n)}function ue(e,n){void 0===n&&(n=0);for(var t=e.length,r=n;r0)break;l.push(ye(a))}l.length&&(An(e.createExpressionStatement(e.inlineExpressions(l))),c+=l.length,l=[])}}function ye(n){return e.setSourceMapRange(e.createAssignment(e.setSourceMapRange(e.getSynthesizedClone(n.name),n.name),e.visitNode(n.initializer,B,e.isExpression)),n)}function ve(n){if(Ve(n))if(Ve(n.thenStatement)||Ve(n.elseStatement)){var t=ze(),r=n.elseStatement?ze():void 0;In(n.elseStatement?r:t,e.visitNode(n.expression,B,e.isExpression),n.expression),de(n.thenStatement),n.elseStatement&&(kn(t),Je(r),de(n.elseStatement)),Je(t)}else An(e.visitNode(n,B,e.isStatement));else An(e.visitNode(n,B,e.isStatement))}function he(n){if(Ve(n)){var t=ze(),r=ze();sn(t),Je(r),de(n.statement),Je(t),Nn(r,e.visitNode(n.expression,B,e.isExpression)),cn()}else An(e.visitNode(n,B,e.isStatement))}function be(t){return o?(on(),t=e.visitEachChild(t,B,n),cn(),t):e.visitEachChild(t,B,n)}function Ee(n){if(Ve(n)){var t=ze(),r=sn(t);Je(t),In(r,e.visitNode(n.expression,B,e.isExpression)),de(n.statement),kn(t),cn()}else An(e.visitNode(n,B,e.isStatement))}function Te(t){return o?(on(),t=e.visitEachChild(t,B,n),cn(),t):e.visitEachChild(t,B,n)}function Se(n){if(Ve(n)){var t=ze(),r=ze(),a=sn(r);if(n.initializer){var i=n.initializer;e.isVariableDeclarationList(i)?ge(i):An(e.setTextRange(e.createExpressionStatement(e.visitNode(i,B,e.isExpression)),i))}Je(t),n.condition&&In(a,e.visitNode(n.condition,B,e.isExpression)),de(n.statement),Je(r),n.incrementor&&An(e.setTextRange(e.createExpressionStatement(e.visitNode(n.incrementor,B,e.isExpression)),n.incrementor)),kn(t),cn()}else An(e.visitNode(n,B,e.isStatement))}function xe(t){o&&on();var r=t.initializer;if(r&&e.isVariableDeclarationList(r)){for(var a=0,i=r.declarations;a0?e.inlineExpressions(e.map(c,ye)):void 0,e.visitNode(t.condition,B,e.isExpression),e.visitNode(t.incrementor,B,e.isExpression),e.visitNode(t.statement,B,e.isStatement,e.liftToBlock))}else t=e.visitEachChild(t,B,n);return o&&cn(),t}function Le(n){if(Ve(n)){var t=qe(),r=qe(),a=e.createLoopVariable(),i=n.initializer;v(a),Dn(t,e.createArrayLiteral()),An(e.createForIn(r,e.visitNode(n.expression,B,e.isExpression),e.createExpressionStatement(e.createCall(e.createPropertyAccess(t,"push"),void 0,[r])))),Dn(a,e.createLiteral(0));var o=ze(),s=ze(),c=sn(s);Je(o),In(c,e.createLessThan(a,e.createPropertyAccess(t,"length")));var l=void 0;if(e.isVariableDeclarationList(i)){for(var u=0,d=i.declarations;u0?kn(t,n):An(n)}function De(t){if(o){var r=bn(t.label&&e.idText(t.label));if(r>0)return Sn(r,t)}return e.visitEachChild(t,B,n)}function ke(n){var t=hn(n.label?e.idText(n.label):void 0);t>0?kn(t,n):An(n)}function Ne(t){if(o){var r=hn(t.label&&e.idText(t.label));if(r>0)return Sn(r,t)}return e.visitEachChild(t,B,n)}function Ie(n){wn(e.visitNode(n.expression,B,e.isExpression),n)}function Oe(n){return xn(e.visitNode(n.expression,B,e.isExpression),n)}function Me(n){Ve(n)?($e(We(e.visitNode(n.expression,B,e.isExpression))),de(n.statement),en()):An(e.visitNode(n,B,e.isStatement))}function we(n){if(Ve(n.caseBlock)){for(var t=n.caseBlock,r=t.clauses.length,a=un(),i=We(e.visitNode(n.expression,B,e.isExpression)),o=[],s=-1,c=0;c0)break;d.push(e.createCaseClause(e.visitNode(l.expression,B,e.isExpression),[Sn(o[c],l.expression)]))}else p++}d.length&&(An(e.createSwitch(i,e.createCaseBlock(d))),u+=d.length,d=[]),p>0&&(u+=p,p=0)}kn(s>=0?o[s]:a);for(c=0;c=0;t--){var r=p[t];if(!gn(r))break;if(r.labelText===e)return!0}return!1}function hn(e){if(p)if(e)for(var n=p.length-1;n>=0;n--){var t=p[n];if(gn(t)&&t.labelText===e)return t.breakLabel;if(_n(t)&&vn(e,n-1))return t.breakLabel}else for(n=p.length-1;n>=0;n--){t=p[n];if(_n(t))return t.breakLabel}return 0}function bn(e){if(p)if(e)for(var n=p.length-1;n>=0;n--){var t=p[n];if(yn(t)&&vn(e,n-1))return t.continueLabel}else for(n=p.length-1;n>=0;n--){t=p[n];if(yn(t))return t.continueLabel}return 0}function En(n){if(void 0!==n&&n>0){void 0===f&&(f=[]);var t=e.createLiteral(-1);return void 0===f[n]?f[n]=[t]:f[n].push(t),t}return e.createOmittedExpression()}function Tn(n){var t=e.createLiteral(n);return e.addSyntheticTrailingComment(t,3,s(n)),t}function Sn(n,t){return e.Debug.assertLessThan(0,n,"Invalid label"),e.setTextRange(e.createReturn(e.createArrayLiteral([Tn(3),En(n)])),t)}function xn(n,t){return e.setTextRange(e.createReturn(e.createArrayLiteral(n?[Tn(2),n]:[Tn(2)])),t)}function Ln(n){return e.setTextRange(e.createCall(e.createPropertyAccess(C,"sent"),void 0,[]),n)}function Cn(){Fn(0)}function An(e){e?Fn(1,[e]):Cn()}function Dn(e,n,t){Fn(2,[e,n],t)}function kn(e,n){Fn(3,[e],n)}function Nn(e,n,t){Fn(4,[e,n],t)}function In(e,n,t){Fn(5,[e,n],t)}function On(e,n){Fn(7,[e],n)}function Mn(e,n){Fn(6,[e],n)}function wn(e,n){Fn(8,[e],n)}function Rn(e,n){Fn(9,[e],n)}function Pn(){Fn(10)}function Fn(e,n,t){void 0===S&&(S=[],x=[],L=[]),void 0===m&&Je(ze());var r=S.length;S[r]=e,x[r]=n,L[r]=t}function Gn(){P=0,F=0,A=void 0,D=!1,k=!1,N=void 0,I=void 0,O=void 0,M=void 0,w=void 0;var t=Bn();return l(n,e.setEmitFlags(e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,C)],void 0,e.createBlock(t,t.length>0)),524288))}function Bn(){if(S){for(var n=0;n=0;t--){var r=w[t];I=[e.createWith(r.expression,e.createBlock(I))]}if(M){var a=M.startLabel,i=M.catchLabel,o=M.finallyLabel,s=M.endLabel;I.unshift(e.createExpressionStatement(e.createCall(e.createPropertyAccess(e.createPropertyAccess(C,"trys"),"push"),void 0,[e.createArrayLiteral([En(a),En(i),En(o),En(s)])]))),M=void 0}n&&I.push(e.createExpressionStatement(e.createAssignment(e.createPropertyAccess(C,"label"),e.createLiteral(F+1))))}N.push(e.createCaseClause(e.createLiteral(F),I||[])),I=void 0}function Hn(e){if(m)for(var n=0;n 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 };'}}(u||(u={})),function(e){function n(n){function o(n){switch(n){case e.ModuleKind.AMD:return C;case e.ModuleKind.UMD:return A;default:return L}}var s=n.startLexicalEnvironment,c=n.endLexicalEnvironment,l=n.hoistVariableDeclaration,u=n.getCompilerOptions(),d=n.getEmitResolver(),p=n.getEmitHost(),m=e.getEmitScriptTarget(u),f=e.getEmitModuleKind(u),_=n.onSubstituteNode,g=n.onEmitNode;n.onSubstituteNode=pe,n.onEmitNode=de,n.enableSubstitution(75),n.enableSubstitution(208),n.enableSubstitution(206),n.enableSubstitution(207),n.enableSubstitution(280),n.enableEmitNotification(288);var y,v,h,b,E=[],T=[];return e.chainBundle(S);function S(n){if(n.isDeclarationFile||!(e.isEffectiveExternalModule(n,u)||524288&n.transformFlags||e.isJsonSourceFile(n)&&e.hasJsonModuleEmitEnabled(u)&&(u.out||u.outFile)))return n;y=n,v=e.collectExternalModuleInfo(n,d,u),E[e.getOriginalNodeId(n)]=v;var t=o(f),r=t(n);return y=void 0,v=void 0,b=!1,e.aggregateTransformFlags(r)}function x(){return!(v.exportEquals||!e.isExternalModule(y))}function L(r){s();var a=[],i=e.getStrictOptionValue(u,"alwaysStrict")||!u.noImplicitUseStrict&&e.isExternalModule(y),o=e.addPrologue(a,r.statements,i,O);x()&&e.append(a,se()),e.append(a,e.visitNode(v.externalHelpersImportDeclaration,O,e.isStatement)),e.addRange(a,e.visitNodes(r.statements,O,e.isStatement,o)),I(a,!1),e.insertStatementsAfterStandardPrologue(a,c());var l=e.updateSourceFileNode(r,e.setTextRange(e.createNodeArray(a),r.statements));return v.hasExportStarsToExportValues&&!u.importHelpers&&e.addEmitHelper(l,t),e.addEmitHelpers(l,n.readEmitHelpers()),l}function C(t){var r=e.createIdentifier("define"),a=e.tryGetModuleNameFromFile(t,p,u),o=e.isJsonSourceFile(t)&&t,s=D(t,!0),c=s.aliasedModuleNames,l=s.unaliasedModuleNames,d=s.importAliasNames,m=e.updateSourceFileNode(t,e.setTextRange(e.createNodeArray([e.createExpressionStatement(e.createCall(r,void 0,i(a?[a]:[],[e.createArrayLiteral(o?e.emptyArray:i([e.createLiteral("require"),e.createLiteral("exports")],c,l)),o?o.statements.length?o.statements[0].expression:e.createObjectLiteral():e.createFunctionExpression(void 0,void 0,void 0,void 0,i([e.createParameter(void 0,void 0,void 0,"require"),e.createParameter(void 0,void 0,void 0,"exports")],d),void 0,N(t))])))]),t.statements));return e.addEmitHelpers(m,n.readEmitHelpers()),m}function A(t){var r=D(t,!1),a=r.aliasedModuleNames,o=r.unaliasedModuleNames,s=r.importAliasNames,c=e.tryGetModuleNameFromFile(t,p,u),l=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.createExpressionStatement(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.createExpressionStatement(e.createCall(e.createIdentifier("define"),void 0,i(c?[c]:[],[e.createArrayLiteral(i([e.createLiteral("require"),e.createLiteral("exports")],a,o)),e.createIdentifier("factory")])))])))],!0),void 0)),d=e.updateSourceFileNode(t,e.setTextRange(e.createNodeArray([e.createExpressionStatement(e.createCall(l,void 0,[e.createFunctionExpression(void 0,void 0,void 0,void 0,i([e.createParameter(void 0,void 0,void 0,"require"),e.createParameter(void 0,void 0,void 0,"exports")],s),void 0,N(t))]))]),t.statements));return e.addEmitHelpers(d,n.readEmitHelpers()),d}function D(n,t){for(var r=[],a=[],i=[],o=0,s=n.amdDependencies;o(e.isExportName(n)?1:0);return!1}function R(t){return w(t.left)?e.flattenDestructuringAssignment(t,M,n,0,!1,X):e.visitEachChild(t,M,n)}function P(n){var t=e.visitNode(e.firstOrUndefined(n.arguments),M),r=!!(2048&n.transformFlags);switch(u.module){case e.ModuleKind.AMD:return G(t,r);case e.ModuleKind.UMD:return F(t,r);case e.ModuleKind.CommonJS:default:return B(t,r)}}function F(n,t){if(b=!0,e.isSimpleCopiableExpression(n)){var r=e.isGeneratedIdentifier(n)?n:e.isStringLiteral(n)?e.createLiteral(n):e.setEmitFlags(e.setTextRange(e.getSynthesizedClone(n),n),1536);return e.createConditional(e.createIdentifier("__syncRequire"),B(n,t),G(r,t))}var a=e.createTempVariable(l);return e.createComma(e.createAssignment(a,n),e.createConditional(e.createIdentifier("__syncRequire"),B(a,t),G(a,t)))}function G(t,r){var a,i=e.createUniqueName("resolve"),o=e.createUniqueName("reject"),s=[e.createParameter(void 0,void 0,void 0,i),e.createParameter(void 0,void 0,void 0,o)],c=e.createBlock([e.createExpressionStatement(e.createCall(e.createIdentifier("require"),void 0,[e.createArrayLiteral([t||e.createOmittedExpression()]),i,o]))]);m>=2?a=e.createArrowFunction(void 0,void 0,s,void 0,void 0,c):(a=e.createFunctionExpression(void 0,void 0,void 0,void 0,s,void 0,c),r&&e.setEmitFlags(a,8));var l=e.createNew(e.createIdentifier("Promise"),void 0,[a]);return u.esModuleInterop?(n.requestEmitHelper(e.importStarHelper),e.createCall(e.createPropertyAccess(l,e.createIdentifier("then")),void 0,[e.getUnscopedHelperName("__importStar")])):l}function B(t,r){var a,i=e.createCall(e.createPropertyAccess(e.createIdentifier("Promise"),"resolve"),void 0,[]),o=e.createCall(e.createIdentifier("require"),void 0,t?[t]:[]);return u.esModuleInterop&&(n.requestEmitHelper(e.importStarHelper),o=e.createCall(e.getUnscopedHelperName("__importStar"),void 0,[o])),m>=2?a=e.createArrowFunction(void 0,void 0,[],void 0,void 0,o):(a=e.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,e.createBlock([e.createReturn(o)])),r&&e.setEmitFlags(a,8)),e.createCall(e.createPropertyAccess(i,"then"),void 0,[a])}function V(t,r){return!u.esModuleInterop||67108864&e.getEmitFlags(t)?r:e.getImportNeedsImportStarHelper(t)?(n.requestEmitHelper(e.importStarHelper),e.createCall(e.getUnscopedHelperName("__importStar"),void 0,[r])):e.getImportNeedsImportDefaultHelper(t)?(n.requestEmitHelper(e.importDefaultHelper),e.createCall(e.getUnscopedHelperName("__importDefault"),void 0,[r])):r}function U(n){var t,r=e.getNamespaceDeclarationNode(n);if(f!==e.ModuleKind.AMD){if(!n.importClause)return e.setOriginalNode(e.setTextRange(e.createExpressionStatement(j(n)),n),n);var a=[];r&&!e.isDefaultImport(n)?a.push(e.createVariableDeclaration(e.getSynthesizedClone(r.name),void 0,V(n,j(n)))):(a.push(e.createVariableDeclaration(e.getGeneratedNameForNode(n),void 0,V(n,j(n)))),r&&e.isDefaultImport(n)&&a.push(e.createVariableDeclaration(e.getSynthesizedClone(r.name),void 0,e.getGeneratedNameForNode(n)))),t=e.append(t,e.setOriginalNode(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList(a,m>=2?2:0)),n),n))}else r&&e.isDefaultImport(n)&&(t=e.append(t,e.createVariableStatement(void 0,e.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(e.createVariableDeclaration(e.getSynthesizedClone(r.name),void 0,e.getGeneratedNameForNode(n)),n),n)],m>=2?2:0))));if(Z(n)){var i=e.getOriginalNodeId(n);T[i]=ee(T[i],n)}else t=ee(t,n);return e.singleOrMany(t)}function j(n){var t=e.getExternalModuleNameLiteral(n,y,p,d,u),r=[];return t&&r.push(t),e.createCall(e.createIdentifier("require"),void 0,r)}function K(n){var t;if(e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(n),"import= for internal module references should be handled in an earlier transformer."),f!==e.ModuleKind.AMD?t=e.hasModifier(n,1)?e.append(t,e.setOriginalNode(e.setTextRange(e.createExpressionStatement(le(n.name,j(n))),n),n)):e.append(t,e.setOriginalNode(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedClone(n.name),void 0,j(n))],m>=2?2:0)),n),n)):e.hasModifier(n,1)&&(t=e.append(t,e.setOriginalNode(e.setTextRange(e.createExpressionStatement(le(e.getExportName(n),e.getLocalName(n))),n),n))),Z(n)){var r=e.getOriginalNodeId(n);T[r]=ne(T[r],n)}else t=ne(t,n);return e.singleOrMany(t)}function H(t){if(t.moduleSpecifier){var a=e.getGeneratedNameForNode(t);if(t.exportClause){var i=[];f!==e.ModuleKind.AMD&&i.push(e.setOriginalNode(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(a,void 0,j(t))])),t),t));for(var o=0,s=t.exportClause.elements;o0?a.parent.parameters[i-1]:void 0,s=r.text,c=o?e.concatenate(e.getTrailingCommentRanges(s,e.skipTrivia(s,o.end+1,!1,!0)),e.getLeadingCommentRanges(s,n.pos)):e.getTrailingCommentRanges(s,e.skipTrivia(s,n.pos,!1,!0));return c&&c.length&&t(e.last(c),r)}var l=a&&e.getLeadingCommentRangesOfNode(a,r);return!!e.forEach(l,(function(e){return t(e,r)}))}e.getDeclarationDiagnostics=n,e.isInternalDeclaration=r;var a=531469;function s(n){var t,s,_,g,y,v,h,b,E,T,S,x=function(){return e.Debug.fail("Diagnostic emitted without context")},L=x,C=!0,A=!1,D=!1,k=!1,N=!1,I=n.getEmitHost(),O={trackSymbol:U,reportInaccessibleThisError:H,reportInaccessibleUniqueSymbolError:K,reportPrivateInBaseOfClassExpression:j,reportLikelyUnsafeImportRequiredError:W,moduleResolverHost:I,trackReferencedAmbientModule:G,trackExternalModuleSymbolOfImportTypeNode:V},M=n.getEmitResolver(),w=n.getCompilerOptions(),R=w.noResolve,P=w.stripInternal;return z;function F(n){if(n){s=s||e.createMap();for(var t=0,r=n;t0?e.parameters[0].type:void 0}function p(n){switch(n.kind){case 158:case 157:return!e.hasModifier(n,8);case 155:case 241:return!0}return!1}function m(e){switch(e.kind){case 243:case 248:case 252:case 245:case 244:case 246:case 247:case 224:case 253:case 259:case 258:return!0}return!1}function f(e){switch(e.kind){case 165:case 161:case 160:case 162:case 163:case 158:case 157:case 159:case 164:case 166:case 241:case 154:case 215:case 168:case 179:case 169:case 170:case 187:return!0}return!1}e.transformDeclarations=s}(u||(u={})),function(e){function n(n){switch(n){case e.ModuleKind.ESNext:case e.ModuleKind.ES2015:return e.transformES2015Module;case e.ModuleKind.System:return e.transformSystemModule;default:return e.transformModule}}var t,r;function a(e,n,t){return{scriptTransformers:o(e,n,t),declarationTransformers:s(n)}}function o(t,r,a){if(a)return e.emptyArray;var i=t.jsx,o=e.getEmitScriptTarget(t),s=e.getEmitModuleKind(t),c=[];return e.addRange(c,r&&e.map(r.before,u)),c.push(e.transformTypeScript),c.push(e.transformClassFields),2===i&&c.push(e.transformJsx),o<99&&c.push(e.transformESNext),o<6&&c.push(e.transformES2019),o<5&&c.push(e.transformES2018),o<4&&c.push(e.transformES2017),o<3&&c.push(e.transformES2016),o<2&&(c.push(e.transformES2015),c.push(e.transformGenerators)),c.push(n(s)),o<1&&c.push(e.transformES5),e.addRange(c,r&&e.map(r.after,u)),c}function s(n){var t=[];return t.push(e.transformDeclarations),e.addRange(t,n&&e.map(n.afterDeclarations,d)),t}function c(n){return function(t){return e.isBundle(t)?n.transformBundle(t):n.transformSourceFile(t)}}function l(e,n){return function(t){var r=e(t);return"function"===typeof r?n(r):c(r)}}function u(n){return l(n,e.chainBundle)}function d(n){return l(n,e.identity)}function p(e,n){return n}function m(e,n,t){t(e,n)}function f(n,t,r,a,o,s){for(var c,l,u,d=new Array(324),f=[],_=[],g=0,y=!1,v=p,h=m,b=0,E=[],T={getCompilerOptions:function(){return r},getEmitResolver:function(){return n},getEmitHost:function(){return t},startLexicalEnvironment:G,suspendLexicalEnvironment:B,resumeLexicalEnvironment:V,endLexicalEnvironment:U,hoistVariableDeclaration:P,hoistFunctionDeclaration:F,requestEmitHelper:j,readEmitHelpers:K,enableSubstitution:N,enableEmitNotification:M,isSubstitutionEnabled:I,isEmitNotificationEnabled:w,get onSubstituteNode(){return v},set onSubstituteNode(n){e.Debug.assert(b<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==n,"Value must not be 'undefined'"),v=n},get onEmitNode(){return h},set onEmitNode(n){e.Debug.assert(b<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==n,"Value must not be 'undefined'"),h=n},addDiagnostic:function(e){E.push(e)}},S=0,x=a;S0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed.");var t=e.setEmitFlags(e.createVariableDeclaration(n),64);c?c.push(t):c=[t]}function F(n){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),l?l.push(n):l=[n]}function G(){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!y,"Lexical environment is suspended."),f[g]=c,_[g]=l,g++,c=void 0,l=void 0}function B(){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!y,"Lexical environment is already suspended."),y=!0}function V(){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(y,"Lexical environment is not suspended."),y=!1}function U(){var n;if(e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!y,"Lexical environment is suspended."),(c||l)&&(l&&(n=i(l)),c)){var t=e.createVariableStatement(void 0,e.createVariableDeclarationList(c));e.setEmitFlags(t,1048576),n?n.push(t):n=[t]}return g--,c=f[g],l=_[g],0===g&&(f=[],_=[]),n}function j(n){e.Debug.assert(b>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(b<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!n.scoped,"Cannot request a scoped emit helper."),u=e.append(u,n)}function K(){e.Debug.assert(b>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(b<2,"Cannot modify the transformation context after transformation has completed.");var n=u;return u=void 0,n}function H(){if(b<3){for(var n=0,t=a;n"),Oa(),be(e.type),ei(e)}function on(e){Da("function"),fa(e,e.parameters),Ca(":"),be(e.type)}function sn(e){Ca("?"),be(e.type)}function cn(e){Ca("!"),be(e.type)}function ln(e){be(e.type),Ca("=")}function un(e){$a(e),Da("new"),Oa(),ma(e,e.typeParameters),fa(e,e.parameters),Oa(),Ca("=>"),Oa(),be(e.type),ei(e)}function dn(e){Da("typeof"),Oa(),be(e.exprName)}function pn(n){Ca("{");var t=1&e.getEmitFlags(n)?768:32897;va(n,n.members,524288|t),Ca("}")}function mn(e){be(e.elementType),Ca("["),Ca("]")}function fn(e){Ca("..."),be(e.type)}function _n(e){Ca("["),va(e,e.elementTypes,528),Ca("]")}function gn(e){be(e.type),Ca("?")}function yn(e){va(e,e.types,516)}function vn(e){va(e,e.types,520)}function hn(e){be(e.checkType),Oa(),Da("extends"),Oa(),be(e.extendsType),Oa(),Ca("?"),Oa(),be(e.trueType),Oa(),Ca(":"),Oa(),be(e.falseType)}function bn(e){Da("infer"),Oa(),be(e.typeParameter)}function En(e){Ca("("),be(e.type),Ca(")")}function Tn(){Da("this")}function Sn(e){Ba(e.operator,Da),Oa(),be(e.type)}function xn(e){be(e.objectType),Ca("["),be(e.indexType),Ca("]")}function Ln(n){var t=e.getEmitFlags(n);Ca("{"),1&t?Oa():(wa(),Ra()),n.readonlyToken&&(be(n.readonlyToken),137!==n.readonlyToken.kind&&Da("readonly"),Oa()),Ca("["),Se(3,n.typeParameter),Ca("]"),n.questionToken&&(be(n.questionToken),57!==n.questionToken.kind&&Ca("?")),Ca(":"),Oa(),be(n.type),Aa(),1&t?Oa():(wa(),Pa()),Ca("}")}function Cn(e){Te(e.literal)}function An(e){e.isTypeOf&&(Da("typeof"),Oa()),Da("import"),Ca("("),be(e.argument),Ca(")"),e.qualifier&&(Ca("."),be(e.qualifier)),pa(e,e.typeArguments)}function Dn(e){Ca("{"),va(e,e.elements,525136),Ca("}")}function kn(e){Ca("["),va(e,e.elements,524880),Ca("]")}function Nn(e){be(e.dotDotDotToken),e.propertyName&&(be(e.propertyName),Ca(":"),Oa()),be(e.name),ia(e.initializer,e.name.end,e)}function In(e){var n=e.elements,t=e.multiLine?65536:0;ha(e,n,8914|t)}function On(n){e.forEach(n.properties,ri);var t=65536&e.getEmitFlags(n);t&&Ra();var a=n.multiLine?65536:0,i=r.languageVersion>=1&&!e.isJsonSourceFile(r)?64:0;va(n,n.properties,526226|i|a),t&&Pa()}function Mn(n){var t=e.cast(Te(n.expression),e.isExpression),r=e.getDotOrQuestionDotToken(n),a=Ja(n,n.expression,r),i=Ja(n,r,n.name);ja(a,!1);var o=28!==r.kind&&wn(t)&&!p.hasTrailingComment()&&!p.hasTrailingWhitespace();o&&Ca("."),St(r.kind,n.expression.end,Ca,n),ja(i,!1),be(n.name),Ka(a,i)}function wn(n){if(n=e.skipPartiallyEmittedExpressions(n),e.isNumericLiteral(n)){var t=Za(n,!0);return!n.numericLiteralFlags&&!e.stringContains(t,e.tokenToString(24))}if(e.isAccessExpression(n)){var r=e.getConstantValue(n);return"number"===typeof r&&isFinite(r)&&Math.floor(r)===r}}function Rn(e){Te(e.expression),be(e.questionDotToken),St(22,e.expression.end,Ca,e),Te(e.argumentExpression),St(23,e.argumentExpression.end,Ca,e)}function Pn(e){Te(e.expression),be(e.questionDotToken),pa(e,e.typeArguments),ha(e,e.arguments,2576)}function Fn(e){St(98,e.pos,Da,e),Oa(),Te(e.expression),pa(e,e.typeArguments),ha(e,e.arguments,18960)}function Gn(e){Te(e.tag),pa(e,e.typeArguments),Oa(),Te(e.template)}function Bn(e){Ca("<"),be(e.type),Ca(">"),Te(e.expression)}function Vn(e){var n=St(20,e.pos,Ca,e);Te(e.expression),St(21,e.expression?e.expression.end:n,Ca,e)}function Un(e){ai(e.name),wt(e)}function jn(e){da(e,e.decorators),ra(e,e.modifiers),Pt(e,Kn)}function Kn(e){ma(e,e.typeParameters),ga(e,e.parameters),aa(e.type),Oa(),be(e.equalsGreaterThanToken)}function Hn(e){St(84,e.pos,Da,e),Oa(),Te(e.expression)}function Wn(e){St(107,e.pos,Da,e),Oa(),Te(e.expression)}function qn(e){St(109,e.pos,Da,e),Oa(),Te(e.expression)}function zn(e){St(126,e.pos,Da,e),Oa(),Te(e.expression)}function Jn(e){Ba(e.operator,ka),Xn(e)&&Oa(),Te(e.operand)}function Xn(e){var n=e.operand;return 206===n.kind&&(39===e.operator&&(39===n.operator||45===n.operator)||40===e.operator&&(40===n.operator||46===n.operator))}function Yn(e){Te(e.operand),Ba(e.operator,ka)}function Qn(e){var n=27!==e.operatorToken.kind,t=Ja(e,e.left,e.operatorToken),r=Ja(e,e.operatorToken,e.right);Te(e.left),ja(t,n),Ii(e.operatorToken.pos),Ga(e.operatorToken,96===e.operatorToken.kind?Da:ka),wi(e.operatorToken.end,!0),ja(r,!0),Te(e.right),Ka(t,r)}function Zn(e){var n=Ja(e,e.condition,e.questionToken),t=Ja(e,e.questionToken,e.whenTrue),r=Ja(e,e.whenTrue,e.colonToken),a=Ja(e,e.colonToken,e.whenFalse);Te(e.condition),ja(n,!0),be(e.questionToken),ja(t,!0),Te(e.whenTrue),Ka(n,t),ja(r,!0),be(e.colonToken),ja(a,!0),Te(e.whenFalse),Ka(r,a)}function $n(e){be(e.head),va(e,e.templateSpans,262144)}function et(e){St(120,e.pos,Da,e),be(e.asteriskToken),ca(e.expression)}function nt(e){St(25,e.pos,Ca,e),Te(e.expression)}function tt(e){ai(e.name),Kt(e)}function rt(e){Te(e.expression),pa(e,e.typeArguments)}function at(e){Te(e.expression),e.type&&(Oa(),Da("as"),Oa(),be(e.type))}function it(e){Te(e.expression),ka("!")}function ot(e){Fa(e.keywordToken,e.pos,Ca),Ca("."),be(e.name)}function st(e){Te(e.expression),be(e.literal)}function ct(e){lt(e,!e.multiLine&&Xa(e))}function lt(n,t){St(18,n.pos,Ca,n);var r=t||1&e.getEmitFlags(n)?768:129;va(n,n.statements,r),St(19,n.statements.end,Ca,n,!!(1&r))}function ut(e){ra(e,e.modifiers),be(e.declarationList),Aa()}function dt(e){e?Ca(";"):Aa()}function pt(n){Te(n.expression),e.isJsonSourceFile(r)&&!e.nodeIsSynthesized(n.expression)||Aa()}function mt(e){var n=St(94,e.pos,Da,e);Oa(),St(20,n,Ca,e),Te(e.expression),St(21,e.expression.end,Ca,e),ua(e,e.thenStatement),e.elseStatement&&(Va(e),St(86,e.thenStatement.end,Da,e),226===e.elseStatement.kind?(Oa(),be(e.elseStatement)):ua(e,e.elseStatement))}function ft(e,n){var t=St(110,n,Da,e);Oa(),St(20,t,Ca,e),Te(e.expression),St(21,e.expression.end,Ca,e)}function _t(n){St(85,n.pos,Da,n),ua(n,n.statement),e.isBlock(n.statement)?Oa():Va(n),ft(n,n.statement.end),Aa()}function gt(e){ft(e,e.pos),ua(e,e.statement)}function yt(e){var n=St(92,e.pos,Da,e);Oa();var t=St(20,n,Ca,e);bt(e.initializer),t=St(26,e.initializer?e.initializer.end:t,Ca,e),ca(e.condition),t=St(26,e.condition?e.condition.end:t,Ca,e),ca(e.incrementor),St(21,e.incrementor?e.incrementor.end:t,Ca,e),ua(e,e.statement)}function vt(e){var n=St(92,e.pos,Da,e);Oa(),St(20,n,Ca,e),bt(e.initializer),Oa(),St(96,e.initializer.end,Da,e),Oa(),Te(e.expression),St(21,e.expression.end,Ca,e),ua(e,e.statement)}function ht(e){var n=St(92,e.pos,Da,e);Oa(),la(e.awaitModifier),St(20,n,Ca,e),bt(e.initializer),Oa(),St(151,e.initializer.end,Da,e),Oa(),Te(e.expression),St(21,e.expression.end,Ca,e),ua(e,e.statement)}function bt(e){void 0!==e&&(242===e.kind?be(e):Te(e))}function Et(e){St(81,e.pos,Da,e),sa(e.label),Aa()}function Tt(e){St(76,e.pos,Da,e),sa(e.label),Aa()}function St(n,t,a,i,o){var s=e.getParseTreeNode(i),c=s&&s.kind===i.kind,l=t;if(c&&(t=e.skipTrivia(r.text,t)),Ii&&c&&i.pos!==l){var u=o&&!e.positionsAreOnSameLine(l,t,r);u&&Ra(),Ii(l),u&&Pa()}return t=Ba(n,a,t),wi&&c&&i.end!==t&&wi(t,!0),t}function xt(e){St(100,e.pos,Da,e),ca(e.expression),Aa()}function Lt(e){var n=St(111,e.pos,Da,e);Oa(),St(20,n,Ca,e),Te(e.expression),St(21,e.expression.end,Ca,e),ua(e,e.statement)}function Ct(e){var n=St(102,e.pos,Da,e);Oa(),St(20,n,Ca,e),Te(e.expression),St(21,e.expression.end,Ca,e),Oa(),be(e.caseBlock)}function At(e){be(e.label),St(58,e.label.end,Ca,e),Oa(),be(e.statement)}function Dt(e){St(104,e.pos,Da,e),ca(e.expression),Aa()}function kt(e){St(106,e.pos,Da,e),Oa(),be(e.tryBlock),e.catchClause&&(Va(e),be(e.catchClause)),e.finallyBlock&&(Va(e),St(91,(e.catchClause||e.tryBlock).end,Da,e),Oa(),be(e.finallyBlock))}function Nt(e){Fa(82,e.pos,Da),Aa()}function It(e){be(e.name),aa(e.type),ia(e.initializer,e.type?e.type.end:e.name.end,e)}function Ot(n){Da(e.isLet(n)?"let":e.isVarConst(n)?"const":"var"),Oa(),va(n,n.declarations,528)}function Mt(e){wt(e)}function wt(e){da(e,e.decorators),ra(e,e.modifiers),Da("function"),be(e.asteriskToken),Oa(),Ee(e.name),Pt(e,Ft)}function Rt(e,n){Bt(n)}function Pt(n,t){var r=n.body;if(r)if(e.isBlock(r)){var a=65536&e.getEmitFlags(n);a&&Ra(),$a(n),e.forEach(n.parameters,ti),ti(n.body),t(n),S?S(4,r,Rt):Bt(r),ei(n),a&&Pa()}else t(n),Oa(),Te(r);else t(n),Aa()}function Ft(e){ma(e,e.typeParameters),fa(e,e.parameters),aa(e.type)}function Gt(n){if(1&e.getEmitFlags(n))return!0;if(n.multiLine)return!1;if(!e.nodeIsSynthesized(n)&&!e.rangeIsOnSingleLine(n,r))return!1;if(Ha(n,n.statements,2)||qa(n,n.statements,2))return!1;for(var t,a=0,i=n.statements;a")}function mr(e){be(e.openingFragment),va(e,e.children,262144),be(e.closingFragment)}function fr(n){Ca("<"),e.isJsxOpeningElement(n)&&(Er(n.tagName),pa(n,n.typeArguments),n.attributes.properties&&n.attributes.properties.length>0&&Oa(),be(n.attributes)),Ca(">")}function _r(e){p.writeLiteral(e.text)}function gr(n){Ca("")}function yr(e){va(e,e.properties,262656)}function vr(e){be(e.name),oa("=",Ca,e.initializer,be)}function hr(e){Ca("{..."),Te(e.expression),Ca("}")}function br(e){e.expression&&(Ca("{"),be(e.dotDotDotToken),Te(e.expression),Ca("}"))}function Er(e){75===e.kind?Te(e):be(e)}function Tr(e){St(77,e.pos,Da,e),Oa(),Te(e.expression),xr(e,e.statements,e.expression.end)}function Sr(e){var n=St(83,e.pos,Da,e);xr(e,e.statements,n)}function xr(n,t,a){var i=1===t.length&&(e.nodeIsSynthesized(n)||e.nodeIsSynthesized(t[0])||e.rangeStartPositionsAreOnSameLine(n,t[0],r)),o=163969;i?(Fa(58,a,Ca,n),Oa(),o&=-130):St(58,a,Ca,n),va(n,t,o)}function Lr(e){Oa(),Ba(e.token,Da),Oa(),va(e,e.types,528)}function Cr(e){var n=St(78,e.pos,Da,e);Oa(),e.variableDeclaration&&(St(20,n,Ca,e),be(e.variableDeclaration),St(21,e.variableDeclaration.end,Ca,e),Oa()),be(e.block)}function Ar(n){be(n.name),Ca(":"),Oa();var t=n.initializer;if(wi&&0===(512&e.getEmitFlags(t))){var r=e.getCommentRange(t);wi(r.pos)}Te(t)}function Dr(e){be(e.name),e.objectAssignmentInitializer&&(Oa(),Ca("="),Oa(),Te(e.objectAssignmentInitializer))}function kr(e){e.expression&&(St(25,e.pos,Ca,e),Te(e.expression))}function Nr(e){be(e.name),ia(e.initializer,e.name.end,e)}function Ir(e){if(P("/**"),e.comment)for(var n=e.comment.split(/\r\n?|\n/g),t=0,r=n;t'),F&&F.sections.push({pos:i,end:p.getTextPos(),kind:"no-default-lib"}),wa()}if(r&&r.moduleName&&(Ia('/// '),wa()),r&&r.amdDependencies)for(var o=0,s=r.amdDependencies;o'):Ia('/// '),wa()}for(var l=0,u=n;l'),F&&F.sections.push({pos:i,end:p.getTextPos(),kind:"reference",data:d.fileName}),wa()}for(var m=0,f=t;m'),F&&F.sections.push({pos:i,end:p.getTextPos(),kind:"type",data:d.fileName}),wa()}for(var _=0,g=a;_'),F&&F.sections.push({pos:i,end:p.getTextPos(),kind:"lib",data:d.fileName}),wa()}}function Jr(n){var t=n.statements;$a(n),e.forEach(n.statements,ti),Ie(n);var r=e.findIndex(t,(function(n){return!e.isPrologueDirective(n)}));qr(n),va(n,t,1,-1===r?t.length:r),ei(n)}function Xr(e){Te(e.expression)}function Yr(e){ha(e,e.elements,528)}function Qr(n,t,r,a){for(var i=!!t,o=0;o=r.length||0===o;if(c&&32768&a)return C&&C(r),void(A&&A(r));if(15360&a&&(Ca(N(a)),c&&!s&&wi(r.pos,!0)),C&&C(r),c)1&a?wa():256&a&&!(524288&a)&&Oa();else{var l=0===(262144&a),u=l;Ha(t,r,a)?(wa(),u=!1):256&a&&Oa(),128&a&&Ra();for(var d=void 0,p=void 0,m=!1,f=0;f0||o>0)&&i!==o&&(c||Ai(i,s),(!c||i>=0&&0!==(512&r))&&(H=i),(!l||o>=0&&0!==(1024&r))&&(W=o,242===t.kind&&(q=o))),e.forEach(e.getSyntheticLeadingComments(t),Ti),Q();var m=Le(2,t);2048&r?(J=!0,m(n,t),J=!1):m(n,t),Y(),e.forEach(e.getSyntheticTrailingComments(t),Si),(i>0||o>0)&&i!==o&&(H=u,W=d,q=p,!l&&s&&Oi(o)),Q(),e.Debug.assert(h===t||b===t)}function Ti(e){2===e.kind&&p.writeLine(),xi(e),e.hasTrailingNewLine||2===e.kind?p.writeLine():p.writeSpace(" ")}function Si(e){p.isAtStartOfLine()||p.writeSpace(" "),xi(e),e.hasTrailingNewLine&&p.writeLine()}function xi(n){var t=Li(n),r=3===n.kind?e.computeLineStarts(t):void 0;e.writeCommentRange(t,r,p,0,t.length,M)}function Li(e){return 3===e.kind?"/*"+e.text+"*/":"//"+e.text}function Ci(n,t,r){Y();var a=t.pos,i=t.end,o=e.getEmitFlags(n),s=a<0||0!==(512&o),c=J||i<0||0!==(1024&o);s||Vi(t),Q(),2048&o&&!J?(J=!0,r(n),J=!1):r(n),Y(),c||(Ai(t.end,!0),z&&!p.isAtStartOfLine()&&p.writeLine()),Q()}function Ai(e,n){z=!1,n?Pi(e,Ni):0===e&&Pi(e,Di)}function Di(e,n,t,r,a){ji(e,n)&&Ni(e,n,t,r,a)}function ki(t,r){return!n.onlyPrintJsDocStyle||(e.isJSDocLikeText(t,r)||e.isPinnedComment(t,r))}function Ni(n,t,a,i,o){ki(r.text,n)&&(z||(e.emitNewLineBeforeLeadingCommentOfPosition(he(),p,o,n),z=!0),qi(n),e.writeCommentRange(r.text,he(),p,n,t,M),qi(t),i?p.writeLine():3===a&&p.writeSpace(" "))}function Ii(e){J||-1===e||Ai(e,!0)}function Oi(e){Fi(e,Mi)}function Mi(n,t,a,i){ki(r.text,n)&&(p.isAtStartOfLine()||p.writeSpace(" "),qi(n),e.writeCommentRange(r.text,he(),p,n,t,M),qi(t),i&&p.writeLine())}function wi(e,n){J||(Y(),Fi(e,n?Mi:Ri),Q())}function Ri(n,t,a,i){qi(n),e.writeCommentRange(r.text,he(),p,n,t,M),qi(t),i?p.writeLine():p.writeSpace(" ")}function Pi(n,t){!r||-1!==H&&n===H||(Gi(n)?Bi(t):e.forEachLeadingCommentRange(r.text,n,t,n))}function Fi(n,t){r&&(-1===W||n!==W&&n!==q)&&e.forEachTrailingCommentRange(r.text,n,t)}function Gi(n){return void 0!==v&&e.last(v).nodePos===n}function Bi(n){var t=e.last(v).detachedCommentEndPos;v.length-1?v.pop():v=void 0,e.forEachLeadingCommentRange(r.text,t,n,t)}function Vi(n){var t=e.emitDetachedComments(r.text,he(),p,Ui,n,M,J);t&&(v?v.push(t):v=[t])}function Ui(n,t,a,i,o,s){ki(r.text,i)&&(qi(i),e.writeCommentRange(n,t,a,i,o,s),qi(o))}function ji(n,t){return e.isRecognizedTripleSlashComment(r.text,n,t)}function Ki(n){return void 0===n.parsedSourceMap&&void 0!==n.sourceMapText&&(n.parsedSourceMap=e.tryParseRawSourceMap(n.sourceMapText)||!1),n.parsedSourceMap||void 0}function Hi(n,t){e.Debug.assert(h===t||b===t);var r=Le(3,t);if(e.isUnparsedSource(t)||e.isUnparsedPrepend(t))r(n,t);else if(e.isUnparsedNode(t)){var a=Ki(t.parent);a&&_&&_.appendSourceMap(p.getLine(),p.getColumn(),a,t.parent.sourceMapPath,t.parent.getLineAndCharacterOfPosition(t.pos),t.parent.getLineAndCharacterOfPosition(t.end)),r(n,t)}else{var i=e.getSourceMapRange(t),o=i.pos,s=i.end,c=i.source,l=void 0===c?g:c,u=e.getEmitFlags(t);318!==t.kind&&0===(16&u)&&o>=0&&zi(l,Wi(l,o)),64&u?(j=!0,r(n,t),j=!1):r(n,t),318!==t.kind&&0===(32&u)&&s>=0&&zi(l,s)}e.Debug.assert(h===t||b===t)}function Wi(n,t){return n.skipTrivia?n.skipTrivia(t):e.skipTrivia(n.text,t)}function qi(n){if(!(j||e.positionIsSynthesized(n)||Yi(g))){var t=e.getLineAndCharacterOfPosition(g,n),r=t.line,a=t.character;_.addMapping(p.getLine(),p.getColumn(),K,r,a,void 0)}}function zi(e,n){if(e!==g){var t=g;Xi(e),qi(n),Xi(t)}else qi(n)}function Ji(n,t,r,a,i){if(j||n&&e.isInJsonFile(n))return i(t,r,a);var o=n&&n.emitNode,s=o&&o.flags||0,c=o&&o.tokenSourceMapRanges&&o.tokenSourceMapRanges[t],l=c&&c.source||g;return a=Wi(l,c?c.pos:a),0===(128&s)&&a>=0&&zi(l,a),a=i(t,r,a),c&&(a=c.end),0===(256&s)&&a>=0&&zi(l,a),a}function Xi(e){j||(g=e,Yi(e)||(K=_.addSource(e.fileName),n.inlineSources&&_.setSourceContent(K,e.text)))}function Yi(n){return e.fileExtensionIs(n.fileName,".json")}}function k(){var e=[];return e[1024]=["{","}"],e[2048]=["(",")"],e[4096]=["<",">"],e[8192]=["[","]"],e}function N(e){return r[15360&e][0]}function I(e){return r[15360&e][1]}e.isBuildInfoFile=o,e.forEachEmittedFile=s,e.getTsBuildInfoEmitOutputFilePath=c,e.getOutputPathsForBundle=l,e.getOutputPathsFor=u,e.getOutputExtension=p,e.getOutputDeclarationFileName=_,e.getAllProjectOutputs=b,e.getOutputFileNames=E,e.getFirstProjectOutput=T,e.emitFiles=S,e.getBuildInfoText=x,e.getBuildInfo=L,e.notImplementedResolver={hasGlobalName:e.notImplemented,getReferencedExportContainer:e.notImplemented,getReferencedImportDeclaration:e.notImplemented,getReferencedDeclarationWithCollidingName:e.notImplemented,isDeclarationWithCollidingName:e.notImplemented,isValueAliasDeclaration:e.notImplemented,isReferencedAliasDeclaration:e.notImplemented,isTopLevelValueImportEqualsWithEntityName:e.notImplemented,getNodeCheckFlags:e.notImplemented,isDeclarationVisible:e.notImplemented,isLateBound:function(e){return!1},collectLinkedAliases:e.notImplemented,isImplementationOfOverload:e.notImplemented,isRequiredInitializedParameter:e.notImplemented,isOptionalUninitializedParameterProperty:e.notImplemented,isExpandoFunctionDeclaration:e.notImplemented,getPropertiesOfContainerFunction:e.notImplemented,createTypeOfDeclaration:e.notImplemented,createReturnTypeOfSignatureDeclaration:e.notImplemented,createTypeOfExpression:e.notImplemented,createLiteralConstValue:e.notImplemented,isSymbolAccessible:e.notImplemented,isEntityNameVisible:e.notImplemented,getConstantValue:e.notImplemented,getReferencedValueDeclaration:e.notImplemented,getTypeReferenceSerializationKind:e.notImplemented,isOptionalParameter:e.notImplemented,moduleExportsSomeValue:e.notImplemented,isArgumentsLocalBinding:e.notImplemented,getExternalModuleFileFromDeclaration:e.notImplemented,getTypeReferenceDirectivesForEntityName:e.notImplemented,getTypeReferenceDirectivesForSymbol:e.notImplemented,isLiteralConstDeclaration:e.notImplemented,getJsxFactoryEntity:e.notImplemented,getAllAccessorDeclarations:e.notImplemented,getSymbolOfExternalModuleSpecifier:e.notImplemented,isBindingCapturedByNode:e.notImplemented,getDeclarationStatementsForSourceFile:e.notImplemented},e.emitUsingBuildInfo=A,function(e){e[e["Notification"]=0]="Notification",e[e["Substitution"]=1]="Substitution",e[e["Comments"]=2]="Comments",e[e["SourceMaps"]=3]="SourceMaps",e[e["Emit"]=4]="Emit"}(n||(n={})),e.createPrinter=D,function(e){e[e["Auto"]=0]="Auto",e[e["CountMask"]=268435455]="CountMask",e[e["_i"]=268435456]="_i"}(t||(t={}))}(u||(u={})),function(e){function n(n,t,r){if(n.getDirectories&&n.readDirectory){var a=e.createMap(),i=e.createGetCanonicalFileName(r);return{useCaseSensitiveFileNames:r,fileExists:g,readFile:function(e,t){return n.readFile(e,t)},directoryExists:n.directoryExists&&y,getDirectories:h,readDirectory:b,createDirectory:n.createDirectory&&v,writeFile:n.writeFile&&_,addOrDeleteFileOrDirectory:T,addOrDeleteFile:S,clearCache:L,realpath:n.realpath&&E}}function o(n){return e.toPath(n,t,i)}function s(n){return a.get(e.ensureTrailingDirectorySeparator(n))}function c(n){return s(e.getDirectoryPath(n))}function l(n){return e.getBaseFileName(e.normalizePath(n))}function u(t,r){var i={files:e.map(n.readDirectory(t,void 0,void 0,["*.*"]),l)||[],directories:n.getDirectories(t)||[]};return a.set(e.ensureTrailingDirectorySeparator(r),i),i}function d(n,t){t=e.ensureTrailingDirectorySeparator(t);var r=s(t);if(r)return r;try{return u(n,t)}catch(i){return void e.Debug.assert(!a.has(e.ensureTrailingDirectorySeparator(t)))}}function p(e,n){return i(e)===i(n)}function m(n,t){return e.some(n,(function(e){return p(e,t)}))}function f(n,t,r){if(m(n,t)){if(!r)return e.filterMutate(n,(function(e){return!p(e,t)}))}else if(r)return n.push(t)}function _(e,t,r){var a=o(e),i=c(a);return i&&x(i,l(e),!0),n.writeFile(e,t,r)}function g(e){var t=o(e),r=c(t);return r&&m(r.files,l(e))||n.fileExists(e)}function y(t){var r=o(t);return a.has(e.ensureTrailingDirectorySeparator(r))||n.directoryExists(t)}function v(e){var t=o(e),r=c(t),a=l(e);r&&f(r.directories,a,!0),n.createDirectory(e)}function h(e){var t=o(e),r=d(e,t);return r?r.directories.slice():n.getDirectories(e)}function b(a,i,s,c,l){var u=o(a),p=d(a,u);return p?e.matchFiles(a,i,s,c,r,t,l,m,E):n.readDirectory(a,i,s,c,l);function m(n){var t=o(n);return t===u?p:d(n,t)||e.emptyFileSystemEntries}}function E(e){return n.realpath?n.realpath(e):e}function T(e,t){var r=s(t);if(r)L();else{var a=c(t);if(a){if(n.directoryExists){var i=l(e),o={fileExists:n.fileExists(t),directoryExists:n.directoryExists(t)};return o.directoryExists||m(a.directories,i)?L():x(a,i,o.fileExists),o}L()}}}function S(n,t,r){if(r!==e.FileWatcherEventKind.Changed){var a=c(t);a&&x(a,l(n),r===e.FileWatcherEventKind.Created)}}function x(e,n,t){f(e.files,n,t)}function L(){a.clear()}}var t;function r(n,t,r){var a=n.getMissingFilePaths(),i=e.arrayToSet(a);e.mutateMap(t,i,{createNewValue:r,onDeleteValue:e.closeFileWatcher})}function a(n,t,r){function a(e,n){return{watcher:r(e,n),flags:n}}function i(e,t,r){e.flags!==t&&(e.watcher.close(),n.set(r,a(r,t)))}e.mutateMap(n,t,{createNewValue:a,onDeleteValue:_,onExistingValue:i})}function i(e,n){return!!e&&e.isEmittedFile(n)}function o(e,n,t){return s(e,n,t,c,l)}function s(n,r,a,i,o){var s=u(n,i),c=n===t.None?d:s,l=u(n,o);return n===t.Verbose&&e.sysLog===e.noop&&(e.sysLog=function(e){return r(e)}),{watchFile:function(e,n,t,o,c,l){return s(e,n,t,o,void 0,c,l,i,r,"FileWatcher",a)},watchFilePath:function(e,n,t,o,s,l,u){return c(e,n,t,o,s,l,u,i,r,"FileWatcher",a)},watchDirectory:function(e,n,t,i,s,c){return l(e,n,t,i,void 0,s,c,o,r,"DirectoryWatcher",a)}};function d(e,n,t,r,a){return i(e,n,(function(e,n){return t(e,n,a)}),r)}}function c(e,n,t,r){return e.watchFile(n,t,r)}function l(e,n,t,r){return e.watchDirectory(n,t,0!==(1&r))}function u(e,n){switch(e){case t.None:return n;case t.TriggerOnly:return m;case t.Verbose:return n===l?p:d}}function d(e,n,t,r,a,i,o,s,c,l,u){c(l+":: Added:: "+f(n,r,i,o,u));var d=m(e,n,t,r,a,i,o,s,c,l,u);return{close:function(){c(l+":: Close:: "+f(n,r,i,o,u)),d.close()}}}function p(n,t,r,a,i,o,s,c,l,u,d){var p=u+":: Added:: "+f(t,a,o,s,d);l(p);var _=e.timestamp(),g=m(n,t,r,a,i,o,s,c,l,u,d),y=e.timestamp()-_;return l("Elapsed:: "+y+"ms "+p),{close:function(){var n=u+":: Close:: "+f(t,a,o,s,d);l(n);var r=e.timestamp();g.close();var i=e.timestamp()-r;l("Elapsed:: "+i+"ms "+n)}}}function m(n,t,r,a,i,o,s,c,l,u,d){return c(n,t,(function(n,c){var p=u+":: Triggered with "+n+" "+(void 0!==c?c:"")+":: "+f(t,a,o,s,d);l(p);var m=e.timestamp();r(n,c,i);var _=e.timestamp()-m;l("Elapsed:: "+_+"ms "+p)}),a)}function f(e,n,t,r,a){return"WatchInfo: "+e+" "+n+" "+(a?a(t,r):void 0===r?t:t+" "+r)}function _(e){e.watcher.close()}e.createCachedDirectoryStructureHost=n,function(e){e[e["None"]=0]="None",e[e["Partial"]=1]="Partial",e[e["Full"]=2]="Full"}(e.ConfigFileProgramReloadLevel||(e.ConfigFileProgramReloadLevel={})),e.updateMissingFilePathsWatch=r,e.updateWatchingWildcardDirectories=a,e.isEmittedFileOfProgram=i,function(e){e[e["None"]=0]="None",e[e["TriggerOnly"]=1]="TriggerOnly",e[e["Verbose"]=2]="Verbose"}(t=e.WatchLogLevel||(e.WatchLogLevel={})),e.getWatchFactory=o,e.closeFileWatcherOf=_}(u||(u={})),function(e){var n,t=/(^\s*$)|(^\s*\/\/\/?\s*(@ts-ignore)?)/;function r(n,t,r){return void 0===r&&(r="tsconfig.json"),e.forEachAncestorDirectory(n,(function(n){var a=e.combinePaths(n,r);return t(a)?a:void 0}))}function a(n,t){var r=e.getDirectoryPath(t),a=e.isRootedDiskPath(n)?n:e.combinePaths(r,n);return e.normalizePath(a)}function s(n,t,r){var a,i=e.forEach(n,(function(n){var i=e.getNormalizedPathComponents(n,t);if(i.pop(),a){for(var o=Math.min(a.length,i.length),s=0;se.getRootLength(n)&&!c(n)){var t=e.getDirectoryPath(n);l(t),_.createDirectory?_.createDirectory(n):r.createDirectory(n)}}function u(n,t,i){a||(a=e.createMap());var o=r.createHash(t),s=r.getModifiedTime(n);if(s){var c=a.get(n);if(c&&c.byteOrderMark===i&&c.hash===o&&c.mtime.getTime()===s.getTime())return}r.writeFile(n,t,i);var l=r.getModifiedTime(n)||e.missingFileModifiedTime;a.set(n,{hash:o,byteOrderMark:i,mtime:l})}function d(t,a,i,o){try{e.performance.mark("beforeIOWrite"),l(e.getDirectoryPath(e.normalizePath(t))),e.isWatchSet(n)&&r.createHash&&r.getModifiedTime?u(t,a,i):r.writeFile(t,a,i),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(s){o&&o(s.message)}}function p(){return e.getDirectoryPath(e.normalizePath(r.getExecutingFilePath()))}var m=e.getNewLineCharacter(n,(function(){return r.newLine})),f=r.realpath&&function(e){return r.realpath(e)},_={getSourceFile:s,getDefaultLibLocation:p,getDefaultLibFileName:function(n){return e.combinePaths(p(),e.getDefaultLibFileName(n))},writeFile:d,getCurrentDirectory:e.memoize((function(){return r.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return r.useCaseSensitiveFileNames},getCanonicalFileName:o,getNewLine:function(){return m},fileExists:function(e){return r.fileExists(e)},readFile:function(e){return r.readFile(e)},trace:function(e){return r.write(e+m)},directoryExists:function(e){return r.directoryExists(e)},getEnvironmentVariable:function(e){return r.getEnvironmentVariable?r.getEnvironmentVariable(e):""},getDirectories:function(e){return r.getDirectories(e)},realpath:f,readDirectory:function(e,n,t,a,i){return r.readDirectory(e,n,t,a,i)},createDirectory:function(e){return r.createDirectory(e)},createHash:e.maybeBind(r,r.createHash)};return _}function u(n,t,r){var a=n.readFile,i=n.fileExists,o=n.directoryExists,s=n.createDirectory,c=n.writeFile,l=e.createMap(),u=e.createMap(),d=e.createMap(),p=e.createMap(),m=function(e){var n=t(e),r=l.get(n);return void 0!==r?!1!==r?r:void 0:f(n,e)},f=function(e,t){var r=a.call(n,t);return l.set(e,void 0!==r&&r),r};n.readFile=function(r){var i=t(r),o=l.get(i);return void 0!==o?!1!==o?o:void 0:e.fileExtensionIs(r,".json")||e.isBuildInfoFile(r)?f(i,r):a.call(n,r)};var _=r?function(n,a,i,o){var s=t(n),c=p.get(s);if(c)return c;var l=r(n,a,i,o);return l&&(e.isDeclarationFileName(n)||e.fileExtensionIs(n,".json"))&&p.set(s,l),l}:void 0;return n.fileExists=function(e){var r=t(e),a=u.get(r);if(void 0!==a)return a;var o=i.call(n,e);return u.set(r,!!o),o},c&&(n.writeFile=function(e,r,a,i,o){var s=t(e);u.delete(s);var d=l.get(s);if(void 0!==d&&d!==r)l.delete(s),p.delete(s);else if(_){var m=p.get(s);m&&m.text!==r&&p.delete(s)}c.call(n,e,r,a,i,o)}),o&&s&&(n.directoryExists=function(e){var r=t(e),a=d.get(r);if(void 0!==a)return a;var i=o.call(n,e);return d.set(r,!!i),i},n.createDirectory=function(e){var r=t(e);d.delete(r),s.call(n,e)}),{originalReadFile:a,originalFileExists:i,originalDirectoryExists:o,originalCreateDirectory:s,originalWriteFile:c,getSourceFileWithCache:_,readFileWithCache:m}}function d(n,t,r){var a=i(n.getConfigFileParsingDiagnostics(),n.getOptionsDiagnostics(r),n.getSyntacticDiagnostics(t,r),n.getGlobalDiagnostics(r),n.getSemanticDiagnostics(t,r));return e.getEmitDeclarations(n.getCompilerOptions())&&e.addRange(a,n.getDeclarationDiagnostics(t,r)),e.sortAndDeduplicateDiagnostics(a)}function p(e,n){for(var t="",r=0,a=e;r=4,h=(d+1+"").length;v&&(h=Math.max(y.length,h));for(var b="",S=c;S<=d;S++){b+=o.getNewLine(),v&&c+10||l.length>0)return{diagnostics:e.concatenate(u,l),sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}}var d=rn().getEmitResolver(S.outFile||S.out?void 0:t,a);e.performance.mark("beforeEmit");var p=e.emitFiles(d,Ye(r),t,e.getTransformers(S,s,o),o,!1,c);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),p}function un(e){return dn(He(e))}function dn(e){return ge.get(e)||void 0}function pn(n,t,r){return n?t(n,r):e.sortAndDeduplicateDiagnostics(e.flatMap(Ve.getSourceFiles(),(function(e){return r&&r.throwIfCancellationRequested(),t(e,r)})))}function mn(e,n){return pn(e,gn,n)}function fn(e,n){return pn(e,vn,n)}function _n(e,n){var t=Ve.getCompilerOptions();return!e||t.out||t.outFile?Sn(e,n):pn(e,Cn,n)}function gn(n){return e.isSourceFileJS(n)?(n.additionalSyntacticDiagnostics||(n.additionalSyntacticDiagnostics=Tn(n)),e.concatenate(n.additionalSyntacticDiagnostics,n.parseDiagnostics)):n.parseDiagnostics}function yn(n){try{return n()}catch(t){throw t instanceof e.OperationCanceledException&&(v=void 0,y=void 0),t}}function vn(e,n){return Ln(e,n,k,hn)}function hn(n,t){return yn((function(){if(e.skipTypeChecking(n,S,Ve))return e.emptyArray;var r=rn();e.Debug.assert(!!n.bindDiagnostics);for(var a,i=e.isCheckJsEnabledForFile(n,S),o=!!n.checkJsDirective&&!1===n.checkJsDirective.enabled,s=!o&&(3===n.scriptKind||4===n.scriptKind||5===n.scriptKind||i||7===n.scriptKind),c=s?n.bindDiagnostics:e.emptyArray,l=s?r.getDiagnostics(n,t):e.emptyArray,u=B.getDiagnostics(n.fileName),d=$.getDiagnostics(n.fileName),p=0,m=[c,l,u,d,i?n.jsDocDiagnostics:void 0];p0){var s=r.text.slice(i[o-1],i[o]),c=t.exec(s);if(!c)return!0;if(c[3])return!1;o--}}return!0}function Tn(n){return yn((function(){var t=[],r=n;return a(n),t;function a(n){switch(r.kind){case 155:case 158:case 160:if(r.questionToken===n)return void t.push(c(n,e.Diagnostics._0_can_only_be_used_in_a_ts_file,"?"));case 159:case 161:case 162:case 163:case 200:case 243:case 201:case 241:if(r.type===n)return void t.push(c(n,e.Diagnostics.types_can_only_be_used_in_a_ts_file))}switch(n.kind){case 252:return void t.push(c(n,e.Diagnostics.import_can_only_be_used_in_a_ts_file));case 258:if(n.isExportEquals)return void t.push(c(n,e.Diagnostics.export_can_only_be_used_in_a_ts_file));break;case 277:var o=n;if(112===o.token)return void t.push(c(n,e.Diagnostics.implements_clauses_can_only_be_used_in_a_ts_file));break;case 245:return void t.push(c(n,e.Diagnostics.interface_declarations_can_only_be_used_in_a_ts_file));case 248:return void t.push(c(n,e.Diagnostics.module_declarations_can_only_be_used_in_a_ts_file));case 246:return void t.push(c(n,e.Diagnostics.type_aliases_can_only_be_used_in_a_ts_file));case 247:return void t.push(c(n,e.Diagnostics.enum_declarations_can_only_be_used_in_a_ts_file));case 217:return void t.push(c(n,e.Diagnostics.non_null_assertions_can_only_be_used_in_a_ts_file));case 216:return void t.push(c(n.type,e.Diagnostics.type_assertion_expressions_can_only_be_used_in_a_ts_file));case 198:e.Debug.fail()}var s=r;r=n,e.forEachChild(n,a,i),r=s}function i(n){switch(r.decorators!==n||S.experimentalDecorators||t.push(c(r,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning)),r.kind){case 244:case 213:case 160:case 161:case 162:case 163:case 200:case 243:case 201:if(n===r.typeParameters)return void t.push(s(n,e.Diagnostics.type_parameter_declarations_can_only_be_used_in_a_ts_file));case 224:if(n===r.modifiers)return o(r.modifiers,224===r.kind);break;case 158:if(n===r.modifiers){for(var i=0,l=n;i0),Object.defineProperties(o,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(e){this.redirectInfo.redirectTarget.symbol=e}}}),o}function Un(n,t,r,a,i,o){if(ve){var s=Xn(n);if(!s&&J.realpath&&S.preserveSymlinks&&e.isDeclarationFileName(n)&&e.stringContains(n,e.nodeModulesPathPart)){var c=J.realpath(n);c!==n&&(s=Xn(c))}if(s){var l=e.isString(s)?Un(s,He(s),r,a,i,o):void 0;return l&&Kn(l,t,void 0),l}}var u,d=n;if(ge.has(t)){var f=ge.get(t);if(f&&S.forceConsistentCasingInFileNames){var _=n,g=f.fileName,y=He(g)!==He(_);y&&(_=Hn(n)||n);var v=e.getNormalizedAbsolutePathWithoutRoot(g,ee),h=e.getNormalizedAbsolutePathWithoutRoot(_,ee);v!==h&&Bn(_,g,i)}return f&&K.get(f.path)&&0===U?(K.set(f.path,!1),S.noResolve||($n(f,r),et(f)),S.noLib||tt(f),j.set(f.path,!1),it(f)):f&&j.get(f.path)&&U0),T.path=t,T.resolvedPath=He(n),T.originalFileName=d,J.useCaseSensitiveFileNames()){var A=t.toLowerCase(),D=ye.get(A);D?Bn(n,D.fileName,i):ye.set(A,T)}Y=Y||T.hasNoDefaultLib&&!a,S.noResolve||($n(T,r),et(T)),S.noLib||tt(T),it(T),r?p.push(T):m.push(T)}return jn(T,i),T}function jn(n,t){t&&n&&(b||(b=e.createMultiMap())).add(n.path,{kind:t.kind,index:t.index,file:t.file.path})}function Kn(e,n,t){t?(ge.set(t,e),ge.set(n,e||!1)):ge.set(n,e)}function Hn(e){var n=Wn(e);return n&&qn(n,e)}function Wn(n){if(ce&&ce.length&&!e.fileExtensionIs(n,".d.ts")&&!e.fileExtensionIs(n,".json"))return zn(n)}function qn(n,t){var r=n.commandLine.options.outFile||n.commandLine.options.out;return r?e.changeExtension(r,".d.ts"):e.getOutputDeclarationFileName(t,n.commandLine,!J.useCaseSensitiveFileNames())}function zn(n){void 0===ue&&(ue=e.createMap(),Jn((function(e,n){e&&He(S.configFilePath)!==n&&e.commandLine.fileNames.forEach((function(e){return ue.set(He(e),n)}))})));var t=ue.get(He(n));return t&&Zn(t)}function Jn(e){return Qn(L,ce,(function(n,t,r){var a=(r?r.commandLine.projectReferences:L)[t],i=He(R(a));return e(n,i)}))}function Xn(n){if(e.isDeclarationFileName(n))return void 0===de&&(de=e.createMap(),Jn((function(n){if(n){var t=n.commandLine.options.outFile||n.commandLine.options.out;if(t){var r=e.changeExtension(t,".d.ts");de.set(He(r),!0)}else e.forEach(n.commandLine.fileNames,(function(t){if(!e.fileExtensionIs(t,".d.ts")&&!e.fileExtensionIs(t,".json")){var r=e.getOutputDeclarationFileName(t,n.commandLine,J.useCaseSensitiveFileNames());de.set(He(r),t)}}))}}))),de.get(He(n))}function Yn(e){return ve&&!!zn(e)}function Qn(n,t,r,a){var i;return o(n,t,void 0,r,a);function o(n,t,r,a,s){if(s){var c=s(n,r);if(c)return c}return e.forEach(t,(function(n,t){if(!e.contains(i,n)){var c=a(n,t,r);if(c)return c;if(n)return(i||(i=[])).push(n),o(n.commandLine.projectReferences,n.references,n,a,s)}}))}}function Zn(e){if(le)return le.get(e)||void 0}function $n(n,t){e.forEach(n.referencedFiles,(function(r,i){var o=a(r.fileName,n.originalFileName);Gn(o,t,!1,void 0,{kind:e.RefFileKind.ReferenceFile,index:i,file:n,pos:r.pos,end:r.end})}))}function et(n){var t=e.map(n.typeReferenceDirectives,(function(e){return e.fileName.toLocaleLowerCase()}));if(t)for(var r=z(t,n.originalFileName,zn(n.originalFileName)),a=0;aV,d=l&&!P(S,i)&&!S.noResolve&&a1}))&>(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}if(S.useDefineForClassFields&&0===u&>(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),S.checkJs&&!S.allowJs&&$.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),S.emitDeclarationOnly&&(e.getEmitDeclarations(S)||gt(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),S.noEmit&>(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),S.emitDecoratorMetadata&&!S.experimentalDecorators&>(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),S.jsxFactory?(S.reactNamespace&>(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),e.parseIsolatedEntityName(S.jsxFactory,u)||yt("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,S.jsxFactory)):S.reactNamespace&&!e.isIdentifierText(S.reactNamespace,u)&&yt("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,S.reactNamespace),!S.noEmit&&!S.suppressOutputPathCheck){var y=Ye(),v=e.createMap();e.forEachEmittedFile(y,(function(e){S.emitDeclarationOnly||h(e.jsFilePath,v),h(e.declarationFilePath,v)}))}function h(n,t){if(n){var r=He(n);if(ge.has(r)){var a=void 0;S.configFilePath||(a=e.chainDiagnosticMessages(void 0,e.Diagnostics.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)),a=e.chainDiagnosticMessages(a,e.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,n),Tt(n,e.createCompilerDiagnosticFromMessageChain(a))}var i=J.useCaseSensitiveFileNames()?r:r.toLocaleLowerCase();t.has(i)?Tt(n,e.createCompilerDiagnostic(e.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,n)):t.set(i,!0)}}}function ut(n,t,r){for(var a,o,s=[],c=3;ct&&($.add(e.createDiagnosticForNodeInSourceFile(S.configFile,_.elements[t],r,a,i,o)),s=!1)}}s&&$.add(e.createCompilerDiagnostic(r,a,i,o))}function mt(n,t,r,a){for(var i=!0,o=_t(),s=0,c=o;st?$.add(e.createDiagnosticForNodeInSourceFile(n||S.configFile,o.elements[t],r,a,i)):$.add(e.createCompilerDiagnostic(r,a,i))}function ht(n,t,r,a,i,o,s){var c=bt(),l=!c||!Et(c,n,t,r,a,i,o,s);l&&$.add(e.createCompilerDiagnostic(a,i,o,s))}function bt(){if(void 0===H){H=null;var n=e.getTsConfigObjectLiteralExpression(S.configFile);if(n)for(var t=0,r=e.getPropertyAssignment(n,"compilerOptions");t0)for(var s=n.getTypeChecker(),c=0,l=t.imports;c0)for(var m=0,f=t.referencedFiles;m1&&x(S)}return o;function x(n){for(var r=0,a=n.declarations;r1?p.outputFiles[1]:void 0:p.outputFiles.length>0?p.outputFiles[0]:void 0;m?(e.Debug.assert(e.fileExtensionIs(m.name,".d.ts"),"File extension for signature expected to be dts",(function(){return"Found: "+e.getAnyExtensionFromPath(m.name)+" for "+m.name+":: All output files: "+JSON.stringify(p.outputFiles.map((function(e){return e.name})))})),l=o(m.text),s&&l!==u&&f(r,p.exportedModulesFromDeclarationEmit,s)):l=u}return a.set(r.path,l),!u||l!==u}function f(n,r,a){var i;r?(r.forEach((function(e){return o(t(e))})),a.set(n.path,i||!1)):a.set(n.path,!1);function o(n){n&&(i||(i=e.createMap()),i.set(n,!0))}}function _(n,t){t&&(e.Debug.assert(!!n.exportedModulesMap),t.forEach((function(e,t){e?n.exportedModulesMap.set(t,e):n.exportedModulesMap.delete(t)})))}function g(n,t,r){var a=t.getCompilerOptions();if(a.outFile||a.out)return y(n,t);if(!n.referencedMap||E(r))return y(n,t);var i=e.createMap(),o=[r.path];while(o.length){var s=o.pop();if(!i.has(s)){i.set(s,!0);var c=n.referencedMap.get(s);if(c)for(var l=c.keys(),u=l.next();!u.done;u=l.next())o.push(u.value)}}return e.arrayFrom(e.mapDefinedIterator(i.keys(),(function(e){var n=t.getSourceFileByPath(e);return n?n.fileName:e})))}function y(n,t){if(!n.allFileNames){var r=t.getSourceFiles();n.allFileNames=r===e.emptyArray?e.emptyArray:r.map((function(e){return e.fileName}))}return n.allFileNames}function v(n,t){return e.arrayFrom(e.mapDefinedIterator(n.referencedMap.entries(),(function(e){var n=e[0],r=e[1];return r.has(t)?n:void 0})))}function h(n){for(var t=0,r=n.statements;t0){var d=u.pop();if(!l.has(d)){var p=t.getSourceFileByPath(d);l.set(d,p),p&&m(n,t,p,a,i,o,s)&&u.push.apply(u,v(n,p.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(l.values(),(function(e){return e})))}n.canReuseOldState=s,n.create=c,n.releaseCache=l,n.clone=u,n.getFilesAffectedBy=d,n.updateSignaturesFromCache=p,n.updateShapeSignature=m,n.updateExportedFilesMapFromCache=_,n.getAllDependencies=g,n.getReferencedByPaths=v})(e.BuilderState||(e.BuilderState={}))}(u||(u={})),function(e){var n;function t(n,t){return n===t||void 0!==n&&void 0!==t&&n.size===t.size&&!e.forEachKey(n,(function(e){return!t.has(e)}))}function r(n,r,i){var o=e.BuilderState.create(n,r,i);o.program=n;var s=n.getCompilerOptions();o.compilerOptions=s,s.outFile||s.out||(o.semanticDiagnosticsPerFile=e.createMap()),o.changedFilesSet=e.createMap();var c=e.BuilderState.canReuseOldState(o.referencedMap,i),l=c?i.compilerOptions:void 0,u=c&&i.semanticDiagnosticsPerFile&&!!o.semanticDiagnosticsPerFile&&!e.compilerOptionsAffectSemanticDiagnostics(s,l);if(c){if(!i.currentChangedFilePath){var d=i.currentAffectedFilesSignatures;e.Debug.assert(!i.affectedFiles&&(!d||!d.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var p=i.changedFilesSet;u&&e.Debug.assert(!p||!e.forEachKey(p,(function(e){return i.semanticDiagnosticsPerFile.has(e)})),"Semantic diagnostics shouldnt be available for changed files"),p&&e.copyEntries(p,o.changedFilesSet),s.outFile||s.out||!i.affectedFilesPendingEmit||(o.affectedFilesPendingEmit=i.affectedFilesPendingEmit.slice(),o.affectedFilesPendingEmitKind=e.cloneMapOrUndefined(i.affectedFilesPendingEmitKind),o.affectedFilesPendingEmitIndex=i.affectedFilesPendingEmitIndex)}var m=o.referencedMap,f=c?i.referencedMap:void 0,_=u&&!s.skipLibCheck===!l.skipLibCheck,g=_&&!s.skipDefaultLibCheck===!l.skipDefaultLibCheck;return o.fileInfos.forEach((function(s,l){var d,p;if(!c||!(d=i.fileInfos.get(l))||d.version!==s.version||!t(p=m&&m.get(l),f&&f.get(l))||p&&e.forEachKey(p,(function(e){return!o.fileInfos.has(e)&&i.fileInfos.has(e)})))o.changedFilesSet.set(l,!0);else if(u){var y=n.getSourceFileByPath(l);if(y.isDeclarationFile&&!_)return;if(y.hasNoDefaultLib&&!g)return;var v=i.semanticDiagnosticsPerFile.get(l);v&&(o.semanticDiagnosticsPerFile.set(l,i.hasReusableDiagnostic?a(v,n,r):v),o.semanticDiagnosticsFromOldState||(o.semanticDiagnosticsFromOldState=e.createMap()),o.semanticDiagnosticsFromOldState.set(l,!0))}})),l&&e.compilerOptionsAffectEmit(s,l)&&(n.getSourceFiles().forEach((function(e){return N(o,e.path,1)})),e.Debug.assert(void 0===o.seenAffectedFiles),o.seenAffectedFiles=e.createMap()),o.emittedBuildInfo=!o.changedFilesSet.size&&!o.affectedFilesPendingEmit,o}function a(n,t,r){if(!n.length)return e.emptyArray;var a=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(t.getCompilerOptions()),t.getCurrentDirectory()));return n.map((function(n){var r=i(n,t,o);r.reportsUnnecessary=n.reportsUnnecessary,r.source=n.source;var a=n.relatedInformation;return r.relatedInformation=a?a.length?a.map((function(e){return i(e,t,o)})):e.emptyArray:void 0,r}));function o(n){return e.toPath(n,a,r)}}function i(e,n,t){var r=e.file;return o(o({},e),{file:r?n.getSourceFileByPath(t(r)):void 0})}function s(n){e.BuilderState.releaseCache(n),n.program=void 0}function c(n){var t=e.BuilderState.clone(n);return t.semanticDiagnosticsPerFile=e.cloneMapOrUndefined(n.semanticDiagnosticsPerFile),t.changedFilesSet=e.cloneMap(n.changedFilesSet),t.affectedFiles=n.affectedFiles,t.affectedFilesIndex=n.affectedFilesIndex,t.currentChangedFilePath=n.currentChangedFilePath,t.currentAffectedFilesSignatures=e.cloneMapOrUndefined(n.currentAffectedFilesSignatures),t.currentAffectedFilesExportedModulesMap=e.cloneMapOrUndefined(n.currentAffectedFilesExportedModulesMap),t.seenAffectedFiles=e.cloneMapOrUndefined(n.seenAffectedFiles),t.cleanedDiagnosticsOfLibFiles=n.cleanedDiagnosticsOfLibFiles,t.semanticDiagnosticsFromOldState=e.cloneMapOrUndefined(n.semanticDiagnosticsFromOldState),t.program=n.program,t.compilerOptions=n.compilerOptions,t.affectedFilesPendingEmit=n.affectedFilesPendingEmit&&n.affectedFilesPendingEmit.slice(),t.affectedFilesPendingEmitKind=e.cloneMapOrUndefined(n.affectedFilesPendingEmitKind),t.affectedFilesPendingEmitIndex=n.affectedFilesPendingEmitIndex,t.seenEmittedFiles=e.cloneMapOrUndefined(n.seenEmittedFiles),t.programEmitComplete=n.programEmitComplete,t}function l(n,t){e.Debug.assert(!t||!n.affectedFiles||n.affectedFiles[n.affectedFilesIndex-1]!==t||!n.semanticDiagnosticsPerFile.has(t.path))}function u(n,t,r){while(1){var a=n.affectedFiles;if(a){var i=n.seenAffectedFiles,o=n.affectedFilesIndex;while(o0){var o=i.pop();if(!a.has(o)){a.set(o,!0);var s=r(n,o);if(s&&_(n,o)){var c=e.Debug.assertDefined(n.program).getSourceFileByPath(o);i.push.apply(i,e.BuilderState.getReferencedByPaths(n,c.resolvedPath))}}}}e.Debug.assert(!!n.currentAffectedFilesExportedModulesMap);var l=e.createMap();e.forEachEntry(n.currentAffectedFilesExportedModulesMap,(function(e,a){return e&&e.has(t.path)&&y(n,a,l,r)}))||e.forEachEntry(n.exportedModulesMap,(function(e,a){return!n.currentAffectedFilesExportedModulesMap.has(a)&&e.has(t.path)&&y(n,a,l,r)}))}}function y(n,t,r,a){return e.forEachEntry(n.referencedMap,(function(e,i){return e.has(t)&&v(n,i,r,a)}))}function v(n,t,r,a){return!!e.addToSeen(r,t)&&(!!a(n,t)||(e.Debug.assert(!!n.currentAffectedFilesExportedModulesMap),!!e.forEachEntry(n.currentAffectedFilesExportedModulesMap,(function(e,i){return e&&e.has(t)&&v(n,i,r,a)}))||(!!e.forEachEntry(n.exportedModulesMap,(function(e,i){return!n.currentAffectedFilesExportedModulesMap.has(i)&&e.has(t)&&v(n,i,r,a)}))||!!e.forEachEntry(n.referencedMap,(function(e,i){return e.has(t)&&!r.has(i)&&a(n,i)})))))}function h(n,t,r,a,i){i?n.emittedBuildInfo=!0:t===n.program?(n.changedFilesSet.clear(),n.programEmitComplete=!0):(n.seenAffectedFiles.set(t.path,!0),void 0!==r&&(n.seenEmittedFiles||(n.seenEmittedFiles=e.createMap())).set(t.path,r),a?n.affectedFilesPendingEmitIndex++:n.affectedFilesIndex++)}function b(e,n,t){return h(e,t),{result:n,affected:t}}function E(e,n,t,r,a,i){return h(e,t,r,a,i),{result:n,affected:t}}function T(n,t,r){var a=t.path;if(n.semanticDiagnosticsPerFile){var i=n.semanticDiagnosticsPerFile.get(a);if(i)return i}var o=e.Debug.assertDefined(n.program).getSemanticDiagnostics(t,r);return n.semanticDiagnosticsPerFile&&n.semanticDiagnosticsPerFile.set(a,o),o}function S(n,t){if(!n.compilerOptions.outFile&&!n.compilerOptions.out){var r=e.Debug.assertDefined(n.program).getCurrentDirectory(),a=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(n.compilerOptions),r)),i={};n.fileInfos.forEach((function(e,t){var r=n.currentAffectedFilesSignatures&&n.currentAffectedFilesSignatures.get(t);i[d(t)]=void 0===r?e:{version:e.version,signature:r}}));var o={fileInfos:i,options:x(n.compilerOptions,u)};if(n.referencedMap){var s={};n.referencedMap.forEach((function(n,t){s[d(t)]=e.arrayFrom(n.keys(),d)})),o.referencedMap=s}if(n.exportedModulesMap){var c={};n.exportedModulesMap.forEach((function(t,r){var a=n.currentAffectedFilesExportedModulesMap&&n.currentAffectedFilesExportedModulesMap.get(r);void 0===a?c[d(r)]=e.arrayFrom(t.keys(),d):a&&(c[d(r)]=e.arrayFrom(a.keys(),d))})),o.exportedModulesMap=c}if(n.semanticDiagnosticsPerFile){var l=[];n.semanticDiagnosticsPerFile.forEach((function(e,t){return l.push(e.length?[d(t),n.hasReusableDiagnostic?e:C(e,d)]:d(t))})),o.semanticDiagnosticsPerFile=l}return o}function u(n){return d(e.getNormalizedAbsolutePath(n,r))}function d(n){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(a,n,t))}}function x(n,t){var r={},a=e.getOptionNameMap().optionNameMap;for(var i in n)e.hasProperty(n,i)&&(r[i]=L(a.get(i.toLowerCase()),n[i],t));return r.configFilePath&&(r.configFilePath=t(r.configFilePath)),r}function L(e,n,t){if(e)if("list"===e.type){var r=n;if(e.element.isFilePath&&r.length)return r.map(t)}else if(e.isFilePath)return t(n);return n}function C(n,t){return e.Debug.assert(!!n.length),n.map((function(n){var r=A(n,t);r.reportsUnnecessary=n.reportsUnnecessary,r.source=n.source;var a=n.relatedInformation;return r.relatedInformation=a?a.length?a.map((function(e){return A(e,t)})):e.emptyArray:void 0,r}))}function A(e,n){var t=e.file;return o(o({},e),{file:t?n(t.path):void 0})}function D(n,t,r,a,i,o){var s,c,l;return void 0===n?(e.Debug.assert(void 0===t),s=r,l=a,e.Debug.assert(!!l),c=l.getProgram()):e.isArray(n)?(l=a,c=e.createProgram({rootNames:n,options:t,host:r,oldProgram:l&&l.getProgramOrUndefined(),configFileParsingDiagnostics:i,projectReferences:o}),s=r):(c=n,s=t,l=r,i=a),{host:s,newProgram:c,oldProgram:l,configFileParsingDiagnostics:i||e.emptyArray}}function k(t,a){var i=a.newProgram,o=a.host,p=a.oldProgram,m=a.configFileParsingDiagnostics,f=p&&p.getState();if(f&&i===f.program&&m===i.getConfigFileParsingDiagnostics())return i=void 0,f=void 0,p;var _,g=e.createGetCanonicalFileName(o.useCaseSensitiveFileNames()),y=o.createHash||e.generateDjb2Hash,v=r(i,g,f);i.getProgramBuildInfo=function(){return S(v,g)},i=void 0,p=void 0,f=void 0;var x=M(v,m);return x.getState=function(){return v},x.backupState=function(){e.Debug.assert(void 0===_),_=c(v)},x.restoreState=function(){v=e.Debug.assertDefined(_),_=void 0},x.getAllDependencies=function(n){return e.BuilderState.getAllDependencies(v,e.Debug.assertDefined(v.program),n)},x.getSemanticDiagnostics=D,x.emit=C,x.releaseProgram=function(){s(v),_=void 0},t===n.SemanticDiagnosticsBuilderProgram?x.getSemanticDiagnosticsOfNextAffectedFile=A:t===n.EmitAndSemanticDiagnosticsBuilderProgram?(x.getSemanticDiagnosticsOfNextAffectedFile=A,x.emitNextAffectedFile=L):e.notImplemented(),x;function L(n,t,r,a){var i=u(v,t,y),s=1,c=!1;if(!i)if(v.compilerOptions.out||v.compilerOptions.outFile){var l=e.Debug.assertDefined(v.program);if(v.programEmitComplete||!e.some(l.getProjectReferences(),(function(e){return!!e.prepend})))return void(v.programEmitComplete=!0);i=l}else{var p=d(v);if(!p){if(v.emittedBuildInfo)return;var m=e.Debug.assertDefined(v.program);return E(v,m.emitBuildInfo(n||e.maybeBind(o,o.writeFile),t),m,1,!1,!0)}i=p.affectedFile,s=p.emitKind,c=!0}return E(v,e.Debug.assertDefined(v.program).emit(i===v.program?void 0:i,n||e.maybeBind(o,o.writeFile),t,r||0===s,a),i,s,c)}function C(r,a,i,s,c){if(t===n.EmitAndSemanticDiagnosticsBuilderProgram&&(l(v,r),!r)){var u=[],d=!1,p=void 0,m=[],f=void 0;while(f=L(a,i,s,c))d=d||f.result.emitSkipped,p=e.addRange(p,f.result.diagnostics),m=e.addRange(m,f.result.emittedFiles),u=e.addRange(u,f.result.sourceMaps);return{emitSkipped:d,diagnostics:p||e.emptyArray,emittedFiles:m,sourceMaps:u}}return e.Debug.assertDefined(v.program).emit(r,a||e.maybeBind(o,o.writeFile),i,s,c)}function A(e,r){while(1){var a=u(v,e,y);if(!a)return;if(a===v.program)return b(v,v.program.getSemanticDiagnostics(void 0,e),a);if(t===n.EmitAndSemanticDiagnosticsBuilderProgram&&N(v,a.path,1),!r||!r(a))return b(v,T(v,a,e),a);h(v,a)}}function D(n,t){l(v,n);var r,a=e.Debug.assertDefined(v.program).getCompilerOptions();if(a.outFile||a.out)return e.Debug.assert(!v.semanticDiagnosticsPerFile),e.Debug.assertDefined(v.program).getSemanticDiagnostics(n,t);if(n)return T(v,n,t);while(A(t));for(var i=0,o=e.Debug.assertDefined(v.program).getSourceFiles();i1||47!==n.charCodeAt(0);if(i&&0!==n.search(/[a-zA-Z]:/)&&0===a.search(/[a-zA-z]\$\//)){if(r=n.indexOf(e.directorySeparator,r+1),-1===r)return!1;a=n.substring(t+a.length,r+1)}if(i&&0!==a.search(/users\//i))return!0;for(var o=r+1,s=2;s>0;s--)if(o=n.indexOf(e.directorySeparator,o)+1,0===o)return!1;return!0}function r(r,a,i){var o,s,c,l=!1,u=e.createMultiMap(),d=e.memoize((function(){return r.getCurrentDirectory()})),p=r.getCachedDirectoryStructureHost(),m=e.createMap(),f=e.createCacheWithRedirects(),_=e.createCacheWithRedirects(),g=e.createModuleResolutionCacheWithMaps(f,_,d(),r.getCanonicalFileName),y=e.createMap(),v=e.createCacheWithRedirects(),h=[".ts",".tsx",".js",".jsx",".json"],b=e.createMap(),E=e.createMap(),T=a&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(a,d())),S=T&&r.toPath(T),x=e.createMap();return{startRecordingFilesWithChangedResolutions:k,finishRecordingFilesWithChangedResolutions:N,startCachingPerDirectoryResolution:M,finishCachingPerDirectoryResolution:w,resolveModuleNames:G,getResolvedModuleWithFailedLookupLocationsFromCache:B,resolveTypeReferenceDirectives:F,removeResolutionsFromProjectReferenceRedirects:ee,removeResolutionsOfFile:ne,invalidateResolutionOfFile:ie,setFilesWithInvalidatedNonRelativeUnresolvedImports:oe,createHasInvalidatedResolution:O,updateTypeRootsWatch:de,closeTypeRootsWatch:ce,clear:D};function L(e){return e.resolvedModule}function C(e){return e.resolvedTypeReferenceDirective}function A(n,t){return!(void 0===n||t.length<=n.length)&&(e.startsWith(t,n)&&t[n.length]===e.directorySeparator)}function D(){e.clearMap(E,e.closeFileWatcherOf),b.clear(),u.clear(),ce(),m.clear(),y.clear(),l=!1,M()}function k(){o=[]}function N(){var e=o;return o=void 0,e}function I(e){if(!c)return!1;var n=c.get(e);return!!n&&!!n.length}function O(n){if(l||n)return s=void 0,e.returnTrue;var t=s;return s=void 0,function(e){return!!t&&t.has(e)||I(e)}}function M(){f.clear(),_.clear(),v.clear(),u.forEach(J),u.clear()}function w(){l=!1,c=void 0,M(),E.forEach((function(e,n){0===e.refCount&&(E.delete(n),e.watcher.close())}))}function R(n,t,a,i,o){var s=e.resolveModuleName(n,t,a,i,g,o);if(!r.getGlobalCache)return s;var c=r.getGlobalCache();if(void 0!==c&&!e.isExternalModuleNameRelative(n)&&(!s.resolvedModule||!e.extensionIsTS(s.resolvedModule.extension))){var l=e.loadModuleFromGlobalCache(e.Debug.assertDefined(r.globalCacheResolutionModuleName)(n),r.projectName,a,i,c),u=l.resolvedModule,d=l.failedLookupLocations;if(u)return{resolvedModule:u,failedLookupLocations:e.addRange(s.failedLookupLocations,d)}}return s}function P(n,t,a,i,s,c,u,d,p,m){var f=r.toPath(t),_=i.get(f)||i.set(f,e.createMap()).get(f),g=e.getDirectoryPath(f),y=s.getOrCreateMapOfCacheRedirects(a),v=y.get(g);v||(v=e.createMap(),y.set(g,v));for(var h=[],b=r.getCompilationSettings(),E=m&&I(f),T=r.getCurrentProgram(),S=T&&T.getResolvedProjectReferenceToRedirect(t),x=S?!a||a.sourceFile.path!==S.sourceFile.path:!!a,L=e.createMap(),C=0,A=n;C1),b.set(c,d-1))),u===S?a=!0:Q(u)}}a&&Q(S)}}function Q(e){var n=E.get(e);n.refCount--}function Z(e,n,t){return r.watchDirectoryOfFailedLookupLocation(e,(function(e){var t=r.toPath(e);p&&p.addOrDeleteFileOrDirectory(e,t),!l&&se(t,n===t)&&r.onInvalidatedResolution()}),t?0:1)}function $(e,n){var t=e.get(n);t&&(t.forEach(Y),e.delete(n))}function ee(n){if(e.fileExtensionIs(n,".json")){var t=r.getCurrentProgram();if(t){var a=t.getResolvedProjectReferenceByPath(n);a&&a.commandLine.fileNames.forEach((function(e){return ne(r.toPath(e))}))}}}function ne(e){$(m,e),$(y,e)}function te(n,t,a){var i=e.createMap();n.forEach((function(n,o){var c=e.getDirectoryPath(o),l=i.get(c);l||(l=e.createMap(),i.set(c,l)),n.forEach((function(n,i){l.has(i)||(l.set(i,!0),!n.isInvalidated&&t(n,a)&&(n.isInvalidated=!0,(s||(s=e.createMap())).set(o,!0),o.endsWith(e.inferredTypesContainingFile)&&r.onChangedAutomaticTypeDirectiveNames()))}))}))}function re(){var n=r.maxNumberOfFilesToIterateForInvalidation||e.maxNumberOfFilesToIterateForInvalidation;return m.size>n||y.size>n}function ae(e){re()?l=!0:(te(m,e,L),te(y,e,C))}function ie(e){ne(e),ae((function(n,t){var a=t(n);return!!a&&r.toPath(a.resolvedFileName)===e}))}function oe(n){e.Debug.assert(c===n||void 0===c),c=n}function se(t,a){var i;if(a)i=function(e){return A(t,r.toPath(e))};else{if(n(t))return!1;if(r.fileIsOpen(t))return!1;var o=e.getDirectoryPath(t);if(U(t)||V(t)||U(o)||V(o))i=function(n){var a=r.toPath(n);return a===t||e.startsWith(r.toPath(n),t)};else{if(!H(t)&&!b.has(t))return!1;if(e.isEmittedFileOfProgram(r.getCurrentProgram(),t))return!1;i=function(e){return r.toPath(e)===t}}}var c=function(n){return e.some(n.failedLookupLocations,i)},u=s&&s.size;return ae(c),l||s&&s.size!==u}function ce(){e.clearMap(x,e.closeFileWatcher)}function le(e,n){if(!l){if(A(S,n))return S;var t=K(e,n);return t&&E.has(t.dirPath)?t.dirPath:void 0}}function ue(e,n){return r.watchTypeRootsDirectory(n,(function(t){var a=r.toPath(t);p&&p.addOrDeleteFileOrDirectory(t,a),r.onChangedAutomaticTypeDirectiveNames();var i=le(n,e);i&&se(a,i===a)&&r.onInvalidatedResolution()}),1)}function de(){var n=r.getCompilationSettings();if(n.types)ce();else{var t=e.getEffectiveTypeRoots(n,{directoryExists:pe,getCurrentDirectory:d});t?e.mutateMap(x,e.arrayToMap(t,(function(e){return r.toPath(e)})),{createNewValue:ue,onDeleteValue:e.closeFileWatcher}):ce()}}function pe(n){var a=e.getDirectoryPath(e.getDirectoryPath(n)),i=r.toPath(a);return i===S||t(i)}}e.isPathIgnored=n,e.canWatchDirectory=t,e.maxNumberOfFilesToIterateForInvalidation=256,e.createResolutionCache=r}(u||(u={})),function(e){(function(n){var t,r;function a(n,t,r){var a=n.importModuleSpecifierPreference,i=n.importModuleSpecifierEnding;return{relativePreference:"relative"===a?0:"non-relative"===a?1:2,ending:o()};function o(){switch(i){case"minimal":return 0;case"index":return 1;case"js":return 2;default:return _(r)?2:e.getEmitModuleResolutionKind(t)!==e.ModuleResolutionKind.NodeJs?1:0}}}function o(n,t){return{relativePreference:e.isExternalModuleNameRelative(t)?0:1,ending:e.hasJSOrJsonFileExtension(t)?2:e.getEmitModuleResolutionKind(n)!==e.ModuleResolutionKind.NodeJs||e.endsWith(t,"index")?1:0}}function s(e,n,t,r,a,i,s){var c=u(e,n,t,r,a,i,o(e,s));if(c!==s)return c}function c(e,n,t,r,i,o,s,c){return void 0===s&&(s={}),u(e,t,r,i,o,c,a(s,e,n))}function l(n,t,r,a,i,o){var s=p(t,a),c=v(i,t,r,s.getCanonicalFileName,a,o);return e.firstDefined(c,(function(e){return T(e,s,a,n,!0)}))}function u(n,t,r,a,i,o,s){var c=p(t,a),l=v(i,t,r,c.getCanonicalFileName,a,o);return e.firstDefined(l,(function(e){return T(e,c,a,n)}))||m(r,c,n,s)}function d(n,t,r,i,o,s,c){var l=h(n);if(l)return[l];var u=p(r.path,i),d=e.getSourceFileOfNode(n.valueDeclaration||e.getNonAugmentationDeclaration(n)),f=v(o,r.path,d.originalFileName,u.getCanonicalFileName,i,c),_=a(s,t,r),g=e.mapDefined(f,(function(e){return T(e,u,i,t)}));return g.length?g:f.map((function(e){return m(e,u,t,_)}))}function p(n,t){var r=e.createGetCanonicalFileName(!t.useCaseSensitiveFileNames||t.useCaseSensitiveFileNames()),a=e.getDirectoryPath(n);return{getCanonicalFileName:r,sourceDirectory:a}}function m(n,t,r,a){var i=t.getCanonicalFileName,o=t.sourceDirectory,s=a.ending,c=a.relativePreference,l=r.baseUrl,u=r.paths,d=r.rootDirs,p=d&&E(d,n,o,i,s,r)||C(e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(o,n,i)),s,r);if(!l||0===c)return p;var m=D(n,l,i);if(!m)return p;var _=C(m,s,r),g=u&&b(e.removeFileExtension(m),_,u),y=void 0===g?_:g;return 1===c?y:(2!==c&&e.Debug.assertNever(c),k(y)||f(p)1&&t.sort(y),v.push.apply(v,t));var a=e.getDirectoryPath(n);if(a===n)return _=n,"break";n=a,_=n},b=e.getDirectoryPath(e.toPath(t,u,a));0!==g.size;){var E=h(b);if(b=_,"break"===E)break}if(g.size){var T=e.arrayFrom(g.values());T.length>1&&T.sort(y),v.push.apply(v,T)}return v}function h(n){var t=e.find(n.declarations,(function(n){return e.isNonGlobalAmbientModule(n)&&(!e.isExternalModuleAugmentation(n)||!e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(n.name)))}));if(t)return t.name.text}function b(n,t,r){for(var a in r)for(var i=0,o=r[a];i=u.length+d.length&&e.startsWith(t,u)&&e.endsWith(t,d)||!d&&t===e.removeTrailingDirectorySeparator(u)){var p=t.substr(u.length,t.length-d.length);return a.replace("*",p)}}else if(c===t||c===n)return a}}function E(n,t,r,a,i,o){var s=L(t,n,a);if(void 0!==s){var c=L(r,n,a),l=void 0!==c?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(c,s,a)):s;return e.getEmitModuleResolutionKind(o)===e.ModuleResolutionKind.NodeJs?C(l,i,o):e.removeFileExtension(l)}}function T(n,t,r,a,i){var o=t.getCanonicalFileName,s=t.sourceDirectory;if(r.fileExists&&r.readFile){var c=x(n);if(c){var l,u=n.substring(0,c.packageRootIndex);if(!i){var d=e.combinePaths(u,"package.json");l=r.fileExists(d)?JSON.parse(r.readFile(d)):void 0;var p=l&&l.typesVersions?e.getPackageJsonTypesVersionsPaths(l.typesVersions):void 0;if(p){var m=n.slice(c.packageRootIndex+1),f=b(e.removeFileExtension(m),C(m,0,a),p.paths);void 0!==f&&(n=e.combinePaths(n.slice(0,c.packageRootIndex),f))}}var _=i?n:E(n),g=r.getGlobalTypingsCacheLocation&&r.getGlobalTypingsCacheLocation(),y=o(_.substring(0,c.topLevelNodeModulesIndex));if(e.startsWith(s,y)||g&&e.startsWith(o(g),y)){var v=_.substring(c.topLevelPackageNameIndex+1),h=e.getPackageNameFromTypesPackageName(v);return e.getEmitModuleResolutionKind(a)!==e.ModuleResolutionKind.NodeJs&&h===v?void 0:h}}}function E(n){if(l){var t=l.typings||l.types||l.main;if(t){var a=e.toPath(t,u,o);if(e.removeFileExtension(a)===e.removeFileExtension(o(n)))return u}}var i=e.removeFileExtension(n);return"/index"!==o(i.substring(c.fileNameIndex))||S(r,i.substring(0,c.fileNameIndex))?i:i.substring(0,c.fileNameIndex)}}function S(n,t){if(n.fileExists)for(var r=e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]),a=0,i=r;a=0)switch(s=c,c=n.indexOf("/",s+1),l){case 0:n.indexOf(e.nodeModulesPathPart,s)===s&&(r=s,a=c,l=1);break;case 1:case 2:1===l&&"@"===n.charAt(s+1)?l=2:(i=c,l=3);break;case 3:l=n.indexOf(e.nodeModulesPathPart,s)===s?1:3;break}return o=s,l>1?{topLevelNodeModulesIndex:r,topLevelPackageNameIndex:a,packageRootIndex:i,fileNameIndex:o}:void 0}function L(n,t,r){return e.firstDefined(t,(function(e){var t=D(n,e,r);return k(t)?void 0:t}))}function C(n,t,r){if(e.fileExtensionIs(n,".json"))return n;var a=e.removeFileExtension(n);switch(t){case 0:return e.removeSuffix(a,"/index");case 1:return a;case 2:return a+A(n,r);default:return e.Debug.assertNever(t)}}function A(n,t){var r=e.extensionFromPath(n);switch(r){case".ts":case".d.ts":return".js";case".tsx":return 1===t.jsx?".jsx":".js";case".js":case".jsx":case".json":return r;case".tsbuildinfo":return e.Debug.fail("Extension .tsbuildinfo is unsupported:: FileName:: "+n);default:return e.Debug.assertNever(r)}}function D(n,t,r){var a=e.getRelativePathToDirectoryOrUrl(t,n,t,r,!1);return e.isRootedDiskPath(a)?void 0:a}function k(n){return e.startsWith(n,"..")}(function(e){e[e["Relative"]=0]="Relative",e[e["NonRelative"]=1]="NonRelative",e[e["Auto"]=2]="Auto"})(t||(t={})),function(e){e[e["Minimal"]=0]="Minimal",e[e["Index"]=1]="Index",e[e["JsExtension"]=2]="JsExtension"}(r||(r={})),n.updateModuleSpecifier=s,n.getModuleSpecifier=c,n.getNodeModulesPackageName=l,n.getModuleSpecifiers=d,n.countPathComponents=f})(e.moduleSpecifiers||(e.moduleSpecifiers={}))}(u||(u={})),function(e){var n=e.sys?{getCurrentDirectory:function(){return e.sys.getCurrentDirectory()},getNewLine:function(){return e.sys.newLine},getCanonicalFileName:e.createGetCanonicalFileName(e.sys.useCaseSensitiveFileNames)}:void 0;function t(t,r){var a=t===e.sys?n:{getCurrentDirectory:function(){return t.getCurrentDirectory()},getNewLine:function(){return t.newLine},getCanonicalFileName:e.createGetCanonicalFileName(t.useCaseSensitiveFileNames)};if(!r)return function(n){return t.write(e.formatDiagnostic(n,a))};var i=new Array(1);return function(n){i[0]=n,t.write(e.formatDiagnosticsWithColorAndContext(i,a)+a.getNewLine()),i[0]=void 0}}function r(n,t,r){return!(!n.clearScreen||r.preserveWatchOutput||r.extendedDiagnostics||r.diagnostics||!e.contains(e.screenStartingMessageCodes,t.code))&&(n.clearScreen(),!0)}function a(n,t){return e.contains(e.screenStartingMessageCodes,n.code)?t+t:t}function o(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}):(new Date).toLocaleTimeString()}function s(n,t){return t?function(t,a,i){r(n,t,i);var s="["+e.formatColorAndReset(o(n),e.ForegroundColorEscapeSequences.Grey)+"] ";s+=""+e.flattenDiagnosticMessageText(t.messageText,n.newLine)+(a+a),n.write(s)}:function(t,i,s){var c="";r(n,t,s)||(c+=i),c+=o(n)+" - ",c+=""+e.flattenDiagnosticMessageText(t.messageText,n.newLine)+a(t,i),n.write(c)}}function c(n,t,r,a){var i=r;i.onUnRecoverableConfigFileDiagnostic=function(e){return E(r,a,e)};var o=e.getParsedCommandLineOfConfigFile(n,t,i);return i.onUnRecoverableConfigFileDiagnostic=void 0,o}function l(n){return e.countWhere(n,(function(n){return n.category===e.DiagnosticCategory.Error}))}function u(n){return 1===n?e.Diagnostics.Found_1_error_Watching_for_file_changes:e.Diagnostics.Found_0_errors_Watching_for_file_changes}function d(n,t){if(0===n)return"";var r=e.createCompilerDiagnostic(1===n?e.Diagnostics.Found_1_error:e.Diagnostics.Found_0_errors,n);return""+t+e.flattenDiagnosticMessageText(r.messageText,t)+t+t}function p(n,t){(n.getCompilerOptions().listFiles||n.getCompilerOptions().listFilesOnly)&&e.forEach(n.getSourceFiles(),(function(e){t(e.fileName)}))}function m(n,t,r,a,i,o,s,c){var u=!!n.getCompilerOptions().listFilesOnly,d=n.getConfigFileParsingDiagnostics().slice(),m=d.length;e.addRange(d,n.getSyntacticDiagnostics(void 0,o)),d.length===m&&(e.addRange(d,n.getOptionsDiagnostics(o)),u||(e.addRange(d,n.getGlobalDiagnostics(o)),d.length===m&&e.addRange(d,n.getSemanticDiagnostics(void 0,o))));var f=u?{emitSkipped:!0,diagnostics:e.emptyArray}:n.emit(void 0,i,o,s,c),_=f.emittedFiles,g=f.diagnostics;if(e.addRange(d,g),e.sortAndDeduplicateDiagnostics(d).forEach(t),r){var y=n.getCurrentDirectory();e.forEach(_,(function(n){var t=e.getNormalizedAbsolutePath(n,y);r("TSFILE: "+t)})),p(n,r)}return a&&a(l(d)),{emitResult:f,diagnostics:d}}function f(n,t,r,a,i,o,s,c){var l=m(n,t,r,a,i,o,s,c),u=l.emitResult,d=l.diagnostics;return u.emitSkipped&&d.length>0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:d.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}function _(n,t){void 0===n&&(n=e.sys);var r=t||s(n);return{onWatchStatusChange:r,watchFile:e.maybeBind(n,n.watchFile)||function(){return e.noopFileWatcher},watchDirectory:e.maybeBind(n,n.watchDirectory)||function(){return e.noopFileWatcher},setTimeout:e.maybeBind(n,n.setTimeout)||e.noop,clearTimeout:e.maybeBind(n,n.clearTimeout)||e.noop}}function g(n,t){var r=n.trace?t.extendedDiagnostics?e.WatchLogLevel.Verbose:t.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,a=r!==e.WatchLogLevel.None?function(e){return n.trace(e)}:e.noop,i=e.getWatchFactory(r,a);return i.writeLog=a,i}function y(n,t,r){void 0===r&&(r=n);var a=n.useCaseSensitiveFileNames(),i=e.memoize((function(){return n.getNewLine()}));return{getSourceFile:function(r,a,i){var o;try{e.performance.mark("beforeIORead"),o=n.readFile(r,t().charset),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(s){i&&i(s.message),o=""}return void 0!==o?e.createSourceFile(r,o,a):void 0},getDefaultLibLocation:e.maybeBind(n,n.getDefaultLibLocation),getDefaultLibFileName:function(e){return n.getDefaultLibFileName(e)},writeFile:s,getCurrentDirectory:e.memoize((function(){return n.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return a},getCanonicalFileName:e.createGetCanonicalFileName(a),getNewLine:function(){return e.getNewLineCharacter(t(),i)},fileExists:function(e){return n.fileExists(e)},readFile:function(e){return n.readFile(e)},trace:e.maybeBind(n,n.trace),directoryExists:e.maybeBind(r,r.directoryExists),getDirectories:e.maybeBind(r,r.getDirectories),realpath:e.maybeBind(n,n.realpath),getEnvironmentVariable:e.maybeBind(n,n.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(n,n.createHash),readDirectory:e.maybeBind(n,n.readDirectory)};function o(t){if(t.length>e.getRootLength(t)&&!n.directoryExists(t)){var r=e.getDirectoryPath(t);o(r),n.createDirectory&&n.createDirectory(t)}}function s(t,r,a,i){try{e.performance.mark("beforeIOWrite"),o(e.getDirectoryPath(e.normalizePath(t))),n.writeFile(t,r,a),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(s){i&&i(s.message)}}}function v(n,t){var r=n.getSourceFile,a=t.createHash||e.generateDjb2Hash;n.getSourceFile=function(){for(var e=[],o=0;oe?n:e}function u(n){return e.fileExtensionIs(n,".d.ts")}function d(e){return!!e&&!!e.buildOrder}function p(e){return d(e)?e.buildOrder:e}function m(n,t){return function(r){var a=t?"["+e.formatColorAndReset(e.getLocaleTimeString(n),e.ForegroundColorEscapeSequences.Grey)+"] ":e.getLocaleTimeString(n)+" - ";a+=""+e.flattenDiagnosticMessageText(r.messageText,n.newLine)+(n.newLine+n.newLine),n.write(a)}}function f(n,t,r,a){var i=e.createProgramHost(n,t);return i.getModifiedTime=n.getModifiedTime?function(e){return n.getModifiedTime(e)}:e.returnUndefined,i.setModifiedTime=n.setModifiedTime?function(e,t){return n.setModifiedTime(e,t)}:e.noop,i.deleteFile=n.deleteFile?function(e){return n.deleteFile(e)}:e.noop,i.reportDiagnostic=r||e.createDiagnosticReporter(n),i.reportSolutionBuilderStatus=a||m(n),i}function _(n,t,r,a,i){void 0===n&&(n=e.sys);var o=f(n,t,r,a);return o.reportErrorSummary=i,o}function g(n,t,r,a,i){void 0===n&&(n=e.sys);var o=f(n,t,r,a),s=e.createWatchHost(n,i);return e.copyProperties(o,s),o}function y(n){var t={};return e.commonOptionsWithBuild.forEach((function(r){e.hasProperty(n,r.name)&&(t[r.name]=n[r.name])})),t}function v(e,n,t){return le(!1,e,n,t)}function h(e,n,t){return le(!0,e,n,t)}function b(n,t,r,a){var i=t,s=t,c=i.getCurrentDirectory(),l=e.createGetCanonicalFileName(i.useCaseSensitiveFileNames()),u=y(a),d=e.createCompilerHostFromProgramHost(i,(function(){return b.projectCompilerOptions}));e.setGetSourceFileAsHashVersioned(d,i),d.getParsedCommandLine=function(e){return x(b,e,T(b,e))},d.resolveModuleNames=e.maybeBind(i,i.resolveModuleNames),d.resolveTypeReferenceDirectives=e.maybeBind(i,i.resolveTypeReferenceDirectives);var p=d.resolveModuleNames?void 0:e.createModuleResolutionCache(c,l);if(!d.resolveModuleNames){var m=function(n,t,r){return e.resolveModuleName(n,t,b.projectCompilerOptions,d,p,r).resolvedModule};d.resolveModuleNames=function(n,t,r,a){return e.loadWithLocalCache(e.Debug.assertEachDefined(n),t,a,m)}}var f=e.createWatchFactory(s,a),_=f.watchFile,g=f.watchFilePath,v=f.watchDirectory,h=f.writeLog,b={host:i,hostWithWatch:s,currentDirectory:c,getCanonicalFileName:l,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(i),writeFileName:i.trace?function(e){return i.trace(e)}:void 0,options:a,baseCompilerOptions:u,rootNames:r,resolvedConfigFilePaths:e.createMap(),configFileCache:o(),projectStatus:o(),buildInfoChecked:o(),extendedConfigCache:e.createMap(),builderPrograms:o(),diagnostics:o(),projectPendingBuild:o(),projectErrorsReported:o(),compilerHost:d,moduleResolutionCache:p,buildOrder:void 0,readFileWithCache:function(e){return i.readFile(e)},projectCompilerOptions:u,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:n,currentInvalidatedProject:void 0,watch:n,allWatchedWildcardDirectories:o(),allWatchedInputFiles:o(),allWatchedConfigFiles:o(),timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:_,watchFilePath:g,watchDirectory:v,writeLog:h};return b}function E(n,t){return e.toPath(t,n.currentDirectory,n.getCanonicalFileName)}function T(e,n){var t=e.resolvedConfigFilePaths,r=t.get(n);if(void 0!==r)return r;var a=E(e,n);return t.set(n,a),a}function S(e){return!!e.options}function x(n,t,r){var a,i=n.configFileCache,o=i.get(r);if(o)return S(o)?o:void 0;var s,c=n.parseConfigFileHost,l=n.baseCompilerOptions,u=n.extendedConfigCache,d=n.host;return d.getParsedCommandLine?(s=d.getParsedCommandLine(t),s||(a=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,t))):(c.onUnRecoverableConfigFileDiagnostic=function(e){return a=e},s=e.getParsedCommandLineOfConfigFile(t,l,c,u),c.onUnRecoverableConfigFileDiagnostic=e.noop),i.set(r,s||a),s}function L(n,t){return e.resolveConfigFileProjectName(e.resolvePath(n.currentDirectory,t))}function C(n,t){for(var r,a,i=e.createMap(),o=e.createMap(),s=[],c=0,l=t;ci)}}}function G(n,t,r){var a=n.options;return!(t.type===e.UpToDateStatusType.OutOfDateWithPrepend&&!a.force)||(0===r.fileNames.length||!!r.errors.length||!e.isIncrementalCompilation(r.options))}function B(n,r,a){if(n.projectPendingBuild.size&&!d(r)){if(n.currentInvalidatedProject)return e.arrayIsEqualTo(n.currentInvalidatedProject.buildOrder,r)?n.currentInvalidatedProject:void 0;for(var i=n.options,o=n.projectPendingBuild,s=0;s0);var o={sourceFile:r.options.configFile,commandLine:r};a.directoryToModuleNameMap.setOwnMap(a.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(o)),a.moduleNameToDirectoryMap.setOwnMap(a.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(o))}a.directoryToModuleNameMap.setOwnOptions(r.options),a.moduleNameToDirectoryMap.setOwnOptions(r.options)}}function W(n,t,r,a){var i=n.host.getModifiedTime(t)||e.missingFileModifiedTime;if(rs&&(o=m,s=f)}if(!t.fileNames.length&&!e.canJsonReportNoInutFiles(t.raw))return{type:e.UpToDateStatusType.ContainerOnly};for(var _,g=e.getAllProjectOutputs(t,!c.useCaseSensitiveFileNames()),y="(none)",v=a,h="(none)",b=r,E=r,S=!1,L=0,C=g;Lb&&(b=D,h=A),u(A)){var k=c.getModifiedTime(A)||e.missingFileModifiedTime;E=l(E,k)}}var N,I=!1,O=!1;if(t.projectReferences){n.projectStatus.set(i,{type:e.UpToDateStatusType.ComputingUpstream});for(var M=0,w=t.projectReferences;M=0}function r(n){var t=e.sys.args.indexOf(n);return t>=0&&ts)return 2;if(46===e.charCodeAt(0))return 3;if(95===e.charCodeAt(0))return 4;if(n){var t=/^@([^/]+)\/([^/]+)$/.exec(e);if(t){var r=l(t[1],!1);if(0!==r)return{name:t[1],isScopeName:!0,result:r};var a=l(t[2],!1);return 0!==a?{name:t[2],isScopeName:!1,result:a}:0}}return encodeURIComponent(e)!==e?5:0}function u(e,n){return"object"===typeof e?d(n,e.result,e.name,e.isScopeName):d(n,e,n,!1)}function d(n,t,r,a){var i=a?"Scope":"Package";switch(t){case 1:return"'"+n+"':: "+i+" name '"+r+"' cannot be empty";case 2:return"'"+n+"':: "+i+" name '"+r+"' should be less than "+s+" characters";case 3:return"'"+n+"':: "+i+" name '"+r+"' cannot start with '.'";case 4:return"'"+n+"':: "+i+" name '"+r+"' cannot start with '_'";case 5:return"'"+n+"':: "+i+" name '"+r+"' contains non URI safe characters";case 0:return e.Debug.fail();default:throw e.Debug.assertNever(t)}}n.validatePackageName=c,n.renderPackageNameValidationFailure=u})(e.JsTyping||(e.JsTyping={}))}(u||(u={})),function(e){var n,t;function r(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:n.Smart,insertSpaceAfterConstructor:!1,insertSpaceAfterCommaDelimiter:!0,insertSpaceAfterSemicolonInForStatements:!0,insertSpaceBeforeAndAfterBinaryOperators:!0,insertSpaceAfterKeywordsInControlFlowStatements:!0,insertSpaceAfterFunctionKeywordForAnonymousFunctions:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:!0,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:!1,insertSpaceBeforeFunctionParenthesis:!1,placeOpenBraceOnNewLineForFunctions:!1,placeOpenBraceOnNewLineForControlBlocks:!1,semicolons:t.Ignore}}(function(e){var n=function(){function e(e){this.text=e}return e.prototype.getText=function(e,n){return 0===e&&n===this.text.length?this.text:this.text.substring(e,n)},e.prototype.getLength=function(){return this.text.length},e.prototype.getChangeRange=function(){},e}();function t(e){return new n(e)}e.fromString=t})(e.ScriptSnapshot||(e.ScriptSnapshot={})),function(e){e[e["Dependencies"]=1]="Dependencies",e[e["DevDependencies"]=2]="DevDependencies",e[e["PeerDependencies"]=4]="PeerDependencies",e[e["OptionalDependencies"]=8]="OptionalDependencies",e[e["All"]=15]="All"}(e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={})),e.emptyOptions={},function(e){e["none"]="none",e["definition"]="definition",e["reference"]="reference",e["writtenReference"]="writtenReference"}(e.HighlightSpanKind||(e.HighlightSpanKind={})),function(e){e[e["None"]=0]="None",e[e["Block"]=1]="Block",e[e["Smart"]=2]="Smart"}(n=e.IndentStyle||(e.IndentStyle={})),function(e){e["Ignore"]="ignore",e["Insert"]="insert",e["Remove"]="remove"}(t=e.SemicolonPreference||(e.SemicolonPreference={})),e.getDefaultFormatCodeSettings=r,e.testFormatSettings=r("\n"),function(e){e[e["aliasName"]=0]="aliasName",e[e["className"]=1]="className",e[e["enumName"]=2]="enumName",e[e["fieldName"]=3]="fieldName",e[e["interfaceName"]=4]="interfaceName",e[e["keyword"]=5]="keyword",e[e["lineBreak"]=6]="lineBreak",e[e["numericLiteral"]=7]="numericLiteral",e[e["stringLiteral"]=8]="stringLiteral",e[e["localName"]=9]="localName",e[e["methodName"]=10]="methodName",e[e["moduleName"]=11]="moduleName",e[e["operator"]=12]="operator",e[e["parameterName"]=13]="parameterName",e[e["propertyName"]=14]="propertyName",e[e["punctuation"]=15]="punctuation",e[e["space"]=16]="space",e[e["text"]=17]="text",e[e["typeParameterName"]=18]="typeParameterName",e[e["enumMemberName"]=19]="enumMemberName",e[e["functionName"]=20]="functionName",e[e["regularExpressionLiteral"]=21]="regularExpressionLiteral"}(e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={})),function(e){e["Comment"]="comment",e["Region"]="region",e["Code"]="code",e["Imports"]="imports"}(e.OutliningSpanKind||(e.OutliningSpanKind={})),function(e){e[e["JavaScript"]=0]="JavaScript",e[e["SourceMap"]=1]="SourceMap",e[e["Declaration"]=2]="Declaration"}(e.OutputFileType||(e.OutputFileType={})),function(e){e[e["None"]=0]="None",e[e["InMultiLineCommentTrivia"]=1]="InMultiLineCommentTrivia",e[e["InSingleQuoteStringLiteral"]=2]="InSingleQuoteStringLiteral",e[e["InDoubleQuoteStringLiteral"]=3]="InDoubleQuoteStringLiteral",e[e["InTemplateHeadOrNoSubstitutionTemplate"]=4]="InTemplateHeadOrNoSubstitutionTemplate",e[e["InTemplateMiddleOrTail"]=5]="InTemplateMiddleOrTail",e[e["InTemplateSubstitutionPosition"]=6]="InTemplateSubstitutionPosition"}(e.EndOfLineState||(e.EndOfLineState={})),function(e){e[e["Punctuation"]=0]="Punctuation",e[e["Keyword"]=1]="Keyword",e[e["Operator"]=2]="Operator",e[e["Comment"]=3]="Comment",e[e["Whitespace"]=4]="Whitespace",e[e["Identifier"]=5]="Identifier",e[e["NumberLiteral"]=6]="NumberLiteral",e[e["BigIntLiteral"]=7]="BigIntLiteral",e[e["StringLiteral"]=8]="StringLiteral",e[e["RegExpLiteral"]=9]="RegExpLiteral"}(e.TokenClass||(e.TokenClass={})),function(e){e["unknown"]="",e["warning"]="warning",e["keyword"]="keyword",e["scriptElement"]="script",e["moduleElement"]="module",e["classElement"]="class",e["localClassElement"]="local class",e["interfaceElement"]="interface",e["typeElement"]="type",e["enumElement"]="enum",e["enumMemberElement"]="enum member",e["variableElement"]="var",e["localVariableElement"]="local var",e["functionElement"]="function",e["localFunctionElement"]="local function",e["memberFunctionElement"]="method",e["memberGetAccessorElement"]="getter",e["memberSetAccessorElement"]="setter",e["memberVariableElement"]="property",e["constructorImplementationElement"]="constructor",e["callSignatureElement"]="call",e["indexSignatureElement"]="index",e["constructSignatureElement"]="construct",e["parameterElement"]="parameter",e["typeParameterElement"]="type parameter",e["primitiveType"]="primitive type",e["label"]="label",e["alias"]="alias",e["constElement"]="const",e["letElement"]="let",e["directory"]="directory",e["externalModuleName"]="external module name",e["jsxAttribute"]="JSX attribute",e["string"]="string"}(e.ScriptElementKind||(e.ScriptElementKind={})),function(e){e["none"]="",e["publicMemberModifier"]="public",e["privateMemberModifier"]="private",e["protectedMemberModifier"]="protected",e["exportedModifier"]="export",e["ambientModifier"]="declare",e["staticModifier"]="static",e["abstractModifier"]="abstract",e["optionalModifier"]="optional",e["dtsModifier"]=".d.ts",e["tsModifier"]=".ts",e["tsxModifier"]=".tsx",e["jsModifier"]=".js",e["jsxModifier"]=".jsx",e["jsonModifier"]=".json"}(e.ScriptElementKindModifier||(e.ScriptElementKindModifier={})),function(e){e["comment"]="comment",e["identifier"]="identifier",e["keyword"]="keyword",e["numericLiteral"]="number",e["bigintLiteral"]="bigint",e["operator"]="operator",e["stringLiteral"]="string",e["whiteSpace"]="whitespace",e["text"]="text",e["punctuation"]="punctuation",e["className"]="class name",e["enumName"]="enum name",e["interfaceName"]="interface name",e["moduleName"]="module name",e["typeParameterName"]="type parameter name",e["typeAliasName"]="type alias name",e["parameterName"]="parameter name",e["docCommentTagName"]="doc comment tag name",e["jsxOpenTagName"]="jsx open tag name",e["jsxCloseTagName"]="jsx close tag name",e["jsxSelfClosingTagName"]="jsx self closing tag name",e["jsxAttribute"]="jsx attribute",e["jsxText"]="jsx text",e["jsxAttributeStringLiteralValue"]="jsx attribute string literal value"}(e.ClassificationTypeNames||(e.ClassificationTypeNames={})),function(e){e[e["comment"]=1]="comment",e[e["identifier"]=2]="identifier",e[e["keyword"]=3]="keyword",e[e["numericLiteral"]=4]="numericLiteral",e[e["operator"]=5]="operator",e[e["stringLiteral"]=6]="stringLiteral",e[e["regularExpressionLiteral"]=7]="regularExpressionLiteral",e[e["whiteSpace"]=8]="whiteSpace",e[e["text"]=9]="text",e[e["punctuation"]=10]="punctuation",e[e["className"]=11]="className",e[e["enumName"]=12]="enumName",e[e["interfaceName"]=13]="interfaceName",e[e["moduleName"]=14]="moduleName",e[e["typeParameterName"]=15]="typeParameterName",e[e["typeAliasName"]=16]="typeAliasName",e[e["parameterName"]=17]="parameterName",e[e["docCommentTagName"]=18]="docCommentTagName",e[e["jsxOpenTagName"]=19]="jsxOpenTagName",e[e["jsxCloseTagName"]=20]="jsxCloseTagName",e[e["jsxSelfClosingTagName"]=21]="jsxSelfClosingTagName",e[e["jsxAttribute"]=22]="jsxAttribute",e[e["jsxText"]=23]="jsxText",e[e["jsxAttributeStringLiteralValue"]=24]="jsxAttributeStringLiteralValue",e[e["bigintLiteral"]=25]="bigintLiteral"}(e.ClassificationType||(e.ClassificationType={}))}(u||(u={})),function(e){function n(n){switch(n.kind){case 241:return e.isInJSFile(n)&&e.getJSDocEnumTag(n)?7:1;case 155:case 190:case 158:case 157:case 279:case 280:case 160:case 159:case 161:case 162:case 163:case 243:case 200:case 201:case 278:case 271:return 1;case 154:case 245:case 246:case 172:return 2;case 315:return void 0===n.name?3:2;case 282:case 244:return 3;case 248:return e.isAmbientModule(n)||1===e.getModuleInstanceState(n)?5:4;case 247:case 256:case 257:case 252:case 253:case 258:case 259:return 7;case 288:return 5}return 7}function t(t){return 288===t.kind?1:258===t.parent.kind||263===t.parent.kind?7:a(t)?r(t):e.isDeclarationName(t)?n(t.parent):c(t)?2:i(t)?4:e.isTypeParameterDeclaration(t.parent)?(e.Debug.assert(e.isJSDocTemplateTag(t.parent.parent)),2):e.isLiteralTypeNode(t.parent)?3:1}function r(n){var t=152===n.kind?n:e.isQualifiedName(n.parent)&&n.parent.right===n?n.parent:void 0;return t&&252===t.parent.kind?7:4}function a(n){while(152===n.parent.kind)n=n.parent;return e.isInternalModuleImportEqualsDeclaration(n.parent)&&n.parent.moduleReference===n}function i(e){return o(e)||s(e)}function o(e){var n=e,t=!0;if(152===n.parent.kind){while(n.parent&&152===n.parent.kind)n=n.parent;t=n.right===e}return 168===n.parent.kind&&!t}function s(e){var n=e,t=!0;if(193===n.parent.kind){while(n.parent&&193===n.parent.kind)n=n.parent;t=n.name===e}if(!t&&215===n.parent.kind&&277===n.parent.parent.kind){var r=n.parent.parent.parent;return 244===r.kind&&112===n.parent.parent.token||245===r.kind&&89===n.parent.parent.token}return!1}function c(n){switch(e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),n.kind){case 103:return!e.isExpressionNode(n);case 182:return!0}switch(n.parent.kind){case 168:return!0;case 187:return!n.parent.isTypeOf;case 215:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)}return!1}function l(n){return p(n,e.isCallExpression)}function u(n){return p(n,e.isNewExpression)}function d(n){return p(n,e.isCallOrNewExpression)}function p(e,n){var t=m(e);return!!t&&!!t.parent&&n(t.parent)&&t.parent.expression===t}function m(e){return E(e)?e.parent:e}function f(e,n){while(e){if(237===e.kind&&e.label.escapedText===n)return e.label;e=e.parent}}function _(n,t){return!!e.isPropertyAccessExpression(n.expression)&&n.expression.name.text===t}function g(n){return 75===n.kind&&e.isBreakOrContinueStatement(n.parent)&&n.parent.label===n}function y(n){return 75===n.kind&&e.isLabeledStatement(n.parent)&&n.parent.label===n}function v(e){return y(e)||g(e)}function h(n){return e.isJSDocTag(n.parent)&&n.parent.tagName===n}function b(e){return 152===e.parent.kind&&e.parent.right===e}function E(e){return e&&e.parent&&193===e.parent.kind&&e.parent.name===e}function T(e){return 248===e.parent.kind&&e.parent.name===e}function S(n){return 75===n.kind&&e.isFunctionLike(n.parent)&&n.parent.name===n}function x(n){switch(n.parent.kind){case 158:case 157:case 279:case 282:case 160:case 159:case 162:case 163:case 248:return e.getNameOfDeclaration(n.parent)===n;case 194:return n.parent.argumentExpression===n;case 153:return!0;case 186:return 184===n.parent.parent.kind;default:return!1}}function L(n){return e.isExternalModuleImportEqualsDeclaration(n.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(n.parent.parent)===n}function C(n){e.isJSDocTypeAlias(n)&&(n=n.parent.parent);while(1){if(n=n.parent,!n)return;switch(n.kind){case 288:case 160:case 159:case 243:case 200:case 162:case 163:case 244:case 245:case 247:case 248:return n}}}function A(n){switch(n.kind){case 288:return e.isExternalModule(n)?"module":"script";case 248:return"module";case 244:case 213:return"class";case 245:return"interface";case 246:case 308:case 315:return"type";case 247:return"enum";case 241:return o(n);case 190:return o(e.getRootDeclaration(n));case 201:case 243:case 200:return"function";case 162:return"getter";case 163:return"setter";case 160:case 159:return"method";case 279:var t=n.initializer;return e.isFunctionLike(t)?"method":"property";case 158:case 157:case 280:case 281:return"property";case 166:return"index";case 165:return"construct";case 164:return"call";case 161:return"constructor";case 154:return"type parameter";case 282:return"enum member";case 155:return e.hasModifier(n,92)?"property":"parameter";case 252:case 257:case 261:case 255:return"alias";case 208:var r=e.getAssignmentDeclarationKind(n),a=n.right;switch(r){case 7:case 8:case 9:case 0:return"";case 1:case 2:var i=A(a);return""===i?"const":i;case 3:return e.isFunctionExpression(a)?"method":"property";case 4:return"property";case 5:return e.isFunctionExpression(a)?"method":"property";case 6:return"local class";default:return e.assertType(r),""}case 75:return e.isImportClause(n.parent)?"alias":"";default:return""}function o(n){return e.isVarConst(n)?"const":e.isLet(n)?"let":"var"}}function D(n){switch(n.kind){case 103:return!0;case 75:return e.identifierIsThisKeyword(n)&&155===n.parent.kind;default:return!1}}e.scanner=e.createScanner(99,!0),function(e){e[e["None"]=0]="None",e[e["Value"]=1]="Value",e[e["Type"]=2]="Type",e[e["Namespace"]=4]="Namespace",e[e["All"]=7]="All"}(e.SemanticMeaning||(e.SemanticMeaning={})),e.getMeaningFromDeclaration=n,e.getMeaningFromLocation=t,e.isInRightSideOfInternalImportEqualsDeclaration=a,e.isCallExpressionTarget=l,e.isNewExpressionTarget=u,e.isCallOrNewExpressionTarget=d,e.climbPastPropertyAccess=m,e.getTargetLabel=f,e.hasPropertyAccessExpressionWithName=_,e.isJumpStatementTarget=g,e.isLabelOfLabeledStatement=y,e.isLabelName=v,e.isTagName=h,e.isRightSideOfQualifiedName=b,e.isRightSideOfPropertyAccess=E,e.isNameOfModuleDeclaration=T,e.isNameOfFunctionDeclaration=S,e.isLiteralNameOfPropertyDeclarationOrIndexAccess=x,e.isExpressionOfExternalModuleImportEqualsDeclaration=L,e.getContainerNode=C,e.getNodeKind=A,e.isThis=D;var k=/^\/\/\/\s*=t.end}function P(e,n,t){return e.pos<=n&&e.end>=t}function F(e,n,t){return B(e.pos,e.end,n,t)}function G(e,n,t,r){return B(e.getStart(n),e.end,t,r)}function B(e,n,t,r){var a=Math.max(e,t),i=Math.min(n,r);return an)break;var u=c.getEnd();if(nr.getStart(n)&&tn.end||e.pos===n.end;return t&&_e(e,r)?a(e):void 0}))}}function $(n,t,r,a){var i=o(r||t);return e.Debug.assert(!(i&&ie(i))),i;function o(i){if(ee(i)&&1!==i.kind)return i;for(var s=i.getChildren(t),c=0;c=n||!_e(l,t)||ie(l);if(d){var p=te(s,c,t);return p&&ne(p,t)}return o(l)}}e.Debug.assert(void 0!==r||288===i.kind||1===i.kind||e.isJSDocCommentContainingNode(i));var m=te(s,s.length,t);return m&&ne(m,t)}}function ee(n){return e.isToken(n)&&!ie(n)}function ne(e,n){if(ee(e))return e;var t=e.getChildren(n),r=te(t,t.length,n);return r&&ne(r,n)}function te(n,t,r){for(var a=t-1;a>=0;a--){var i=n[a];if(ie(i))e.Debug.assert(a>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(_e(n[a],r))return n[a]}}function re(n,t,r){if(void 0===r&&(r=$(t,n)),r&&e.isStringTextContainingNode(r)){var a=r.getStart(n),i=r.getEnd();if(ar.getStart(n)}function se(n,t){var r=X(n,t);return!!e.isJsxText(r)||(!(18!==r.kind||!e.isJsxExpression(r.parent)||!e.isJsxElement(r.parent.parent))||!(29!==r.kind||!e.isJsxOpeningLikeElement(r.parent)||!e.isJsxElement(r.parent.parent)))}function ce(e,n,t){var r=e.kind,a=0;while(1){var i=$(e.getFullStart(),t);if(!i)return;if(e=i,e.kind===n){if(0===a)return e;a--}else e.kind===r&&a++}}function le(e,n,t){return n?e.getNonNullableType():t?e.getNonOptionalType():e}function ue(n,t,r){var a=pe(n,t);return void 0!==a&&(e.isPartOfTypeNode(a.called)||0!==de(a.called,a.nTypeArguments,r).length||ue(a.called,t,r))}function de(n,t,r){var a=r.getTypeAtLocation(n);e.isOptionalChain(n.parent)&&(a=le(a,!!n.parent.questionDotToken,!0));var i=e.isNewExpression(n.parent)?a.getConstructSignatures():a.getCallSignatures();return i.filter((function(e){return!!e.typeParameters&&e.typeParameters.length>=t}))}function pe(n,t){var r=n,a=0,i=0;while(r){switch(r.kind){case 29:if(r=$(r.getFullStart(),t),r&&28===r.kind&&(r=$(r.getFullStart(),t)),!r||!e.isIdentifier(r))return;if(!a)return e.isDeclarationName(r)?void 0:{called:r,nTypeArguments:i};a--;break;case 49:a=3;break;case 48:a=2;break;case 31:a++;break;case 19:if(r=ce(r,18,t),!r)return;break;case 21:if(r=ce(r,20,t),!r)return;break;case 23:if(r=ce(r,22,t),!r)return;break;case 27:i++;break;case 38:case 75:case 10:case 8:case 9:case 105:case 90:case 107:case 89:case 133:case 24:case 51:case 57:case 58:break;default:if(e.isTypeNode(r))break;return}r=$(r.getFullStart(),t)}}function me(n,t,r){return e.formatting.getRangeOfEnclosingComment(n,t,void 0,r)}function fe(n,t){var r=X(n,t);return!!e.findAncestor(r,e.isJSDoc)}function _e(e,n){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(n)}function ge(n){var t=e.isDeclaration(n)?e.getCombinedModifierFlags(n):0,r=[];return 8&t&&r.push("private"),16&t&&r.push("protected"),4&t&&r.push("public"),32&t&&r.push("static"),128&t&&r.push("abstract"),1&t&&r.push("export"),8388608&n.flags&&r.push("declare"),r.length>0?r.join(","):""}function ye(n){return 168===n.kind||195===n.kind?n.typeArguments:e.isFunctionLike(n)||244===n.kind||245===n.kind?n.typeParameters:void 0}function ve(e){return 2===e||3===e}function he(n){return!(10!==n&&13!==n&&!e.isTemplateLiteralKind(n))}function be(e){return 18<=e&&e<=74}function Ee(n,t,r){return e.isTemplateLiteralKind(n.kind)&&n.getStart(r)=2||!!e.noEmit}function Ke(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function He(n){return e.createGetCanonicalFileName(Ke(n))}function We(e,n,t,r){return e||n&&n.length?qe(e,n,t,r):void 0}function qe(n,t,r,a){return e.createImportDeclaration(void 0,void 0,n||t?e.createImportClause(n,t&&t.length?e.createNamedImports(t):void 0):void 0,"string"===typeof r?ze(r,a):r)}function ze(n,t){return e.createLiteral(n,0===t)}function Je(n,t){return e.isStringDoubleQuoted(n,t)?1:0}function Xe(n,t){if(t.quotePreference&&"auto"!==t.quotePreference)return"single"===t.quotePreference?0:1;var r=n.imports&&e.find(n.imports,e.isStringLiteral);return r?Je(r,n):1}function Ye(n){switch(n){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(n)}}function Qe(n){var t=Ze(n);return void 0===t?void 0:e.unescapeLeadingUnderscores(t)}function Ze(n){return"default"!==n.escapedName?n.escapedName:e.firstDefined(n.declarations,(function(n){var t=e.getNameOfDeclaration(n);return t&&75===t.kind?t.escapedText:void 0}))}function $e(n){return e.isBindingElement(n)&&e.isObjectBindingPattern(n.parent)&&e.isIdentifier(n.name)&&!n.propertyName}function en(e,n){var t=e.getTypeAtLocation(n.parent);return t&&e.getPropertyOfType(t,n.name.text)}function nn(n,t,r,a){var i=e.createMap();return o(n);function o(n){if(96&n.flags&&e.addToSeen(i,e.getSymbolId(n)))return e.firstDefined(n.declarations,(function(n){return e.firstDefined(e.getAllSuperTypeNodes(n),(function(n){var i=r.getTypeAtLocation(n),s=i&&i.symbol&&r.getPropertyOfType(i,t);return i&&s&&(e.firstDefined(r.getRootSymbols(s),a)||o(i.symbol))}))}))}}function tn(e,n){return nn(e.parent,e.name,n,(function(e){return!0}))||!1}function rn(n,t,r){if(n)while(n.parent){if(e.isSourceFile(n.parent)||!an(r,n.parent,t))return n;n=n.parent}}function an(n,t,r){return e.textSpanContainsPosition(n,t.getStart(r))&&t.getEnd()<=e.textSpanEnd(n)}function on(n,t){return n.modifiers&&e.find(n.modifiers,(function(e){return e.kind===t}))}function sn(n,t,r){var a=e.findLast(t.statements,e.isAnyImportSyntax);a?n.insertNodeAfter(t,a,r):n.insertNodeAtTopOfFile(t,r,!0)}function cn(e,n){return!!e&&!!n&&e.start===n.start&&e.length===n.length}function ln(e,n){return e.fileName===n.fileName&&cn(e.textSpan,n.textSpan)}function un(e,n){if(e)for(var t=0;t0&&155===e.declarations[0].kind}e.isFirstDeclarationOfSymbolParameter=n;var t=r();function r(){var n,t,r,o,s=10*e.defaultMaximumTruncationLength;m();var c=function(n){return u(n,e.SymbolDisplayPartKind.text)};return{displayParts:function(){var t=n.length&&n[n.length-1].text;return o>s&&t&&"..."!==t&&(e.isWhiteSpaceLike(t.charCodeAt(t.length-1))||n.push(i(" ",e.SymbolDisplayPartKind.space)),n.push(i("...",e.SymbolDisplayPartKind.punctuation))),n},writeKeyword:function(n){return u(n,e.SymbolDisplayPartKind.keyword)},writeOperator:function(n){return u(n,e.SymbolDisplayPartKind.operator)},writePunctuation:function(n){return u(n,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(n){return u(n,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(n){return u(n,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(n){return u(n,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(n){return u(n,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(n){return u(n,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(n){return u(n,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:d,writeLine:p,write:c,writeComment:c,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingWhitespace:function(){return!1},hasTrailingComment:function(){return!1},rawWrite:e.notImplemented,getIndent:function(){return r},increaseIndent:function(){r++},decreaseIndent:function(){r--},clear:m,trackSymbol:e.noop,reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function l(){if(!(o>s)&&t){var a=e.getIndentString(r);a&&(o+=a.length,n.push(i(a,e.SymbolDisplayPartKind.space))),t=!1}}function u(e,t){o>s||(l(),o+=e.length,n.push(i(e,t)))}function d(e,t){o>s||(l(),o+=e.length,n.push(a(e,t)))}function p(){o>s||(o+=1,n.push(_()),t=!0)}function m(){n=[],t=!0,r=0,o=0}}function a(t,r){return i(t,a(r));function a(t){var r=t.flags;return 3&r?n(t)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName:4&r||32768&r||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||2097152&r?e.SymbolDisplayPartKind.aliasName:e.SymbolDisplayPartKind.text}}function i(n,t){return{text:n,kind:e.SymbolDisplayPartKind[t]}}function s(){return i(" ",e.SymbolDisplayPartKind.space)}function c(n){return i(e.tokenToString(n),e.SymbolDisplayPartKind.keyword)}function l(n){return i(e.tokenToString(n),e.SymbolDisplayPartKind.punctuation)}function u(n){return i(e.tokenToString(n),e.SymbolDisplayPartKind.operator)}function d(n){var t=e.stringToToken(n);return void 0===t?p(n):c(t)}function p(n){return i(n,e.SymbolDisplayPartKind.text)}e.symbolPart=a,e.displayPart=i,e.spacePart=s,e.keywordPart=c,e.punctuationPart=l,e.operatorPart=u,e.textOrKeywordPart=d,e.textPart=p;var m="\r\n";function f(e,n){return n&&n.newLineCharacter||e.getNewLine&&e.getNewLine()||m}function _(){return i("\n",e.SymbolDisplayPartKind.lineBreak)}function g(e){try{return e(t),t.displayParts()}finally{t.clear()}}function y(e,n,t,r){return void 0===r&&(r=0),g((function(a){e.writeType(n,t,17408|r,a)}))}function v(e,n,t,r,a){return void 0===a&&(a=0),g((function(i){e.writeSymbol(n,t,r,8|a,i)}))}function h(e,n,t,r){return void 0===r&&(r=0),r|=25632,g((function(a){e.writeSignature(n,t,r,void 0,a)}))}function b(n){return!!n.parent&&e.isImportOrExportSpecifier(n.parent)&&n.parent.propertyName===n}function E(n,t){for(var r=[],a=2;a-1&&e.isWhiteSpaceSingleLine(n.charCodeAt(t)))t-=1;return t+1}function k(e,n){void 0===n&&(n=!0);var t=e&&I(e);return t&&!n&&M(t),t}function N(n,t,r,a,i){var o;if(void 0===t&&(t=!0),r&&a&&e.isBindingElement(n)&&e.isIdentifier(n.name)&&e.isObjectBindingPattern(n.parent)){var s=a.getSymbolAtLocation(n.name),c=s&&r.get(String(e.getSymbolId(s)));c&&c.text!==(n.name||n.propertyName).getText()&&(o=e.createBindingElement(n.dotDotDotToken,n.propertyName||n.name,c,n.initializer))}else if(r&&a&&e.isIdentifier(n)){s=a.getSymbolAtLocation(n),c=s&&r.get(String(e.getSymbolId(s)));c&&(o=e.createIdentifier(c.text))}return o||(o=I(n,r,a,i)),o&&!t&&M(o),i&&o&&i(n,o),o}function I(n,t,r,a){var i=t||r||a?e.visitEachChild(n,s,e.nullTransformationContext):e.visitEachChild(n,k,e.nullTransformationContext);if(i===n){var o=e.getSynthesizedClone(n);return e.isStringLiteral(o)?o.textSourceNode=n:e.isNumericLiteral(o)&&(o.numericLiteralFlags=n.numericLiteralFlags),e.setTextRange(o,n)}return i.parent=void 0,i;function s(e){return N(e,!0,t,r,a)}}function O(n,t){return void 0===t&&(t=!0),n&&e.createNodeArray(n.map((function(e){return k(e,t)})),n.hasTrailingComma)}function M(e){w(e),R(e)}function w(e){P(e,512,F)}function R(n){P(n,1024,e.getLastChild)}function P(n,t,r){e.addEmitFlags(n,t);var a=r(n);a&&P(a,t,r)}function F(e){return e.forEachChild((function(e){return e}))}function G(n,t){for(var r=n,a=1;!e.isFileLevelUniqueName(t,r);a++)r=n+"_"+a;return r}function B(n,t,r,a){for(var i=0,o=-1,s=0,c=n;s=0),o}function V(n,t,r,a,i){e.forEachLeadingCommentRange(r.text,n.pos,K(t,r,a,i,e.addSyntheticLeadingComment))}function U(n,t,r,a,i){e.forEachTrailingCommentRange(r.text,n.end,K(t,r,a,i,e.addSyntheticTrailingComment))}function j(n,t,r,a,i){e.forEachTrailingCommentRange(r.text,n.pos,K(t,r,a,i,e.addSyntheticLeadingComment))}function K(e,n,t,r,a){return function(i,o,s,c){3===s?(i+=2,o-=2):i+=2,a(e,t||s,n.text.slice(i,o),void 0!==r?r:c)}}function H(n,t){if(e.startsWith(n,t))return 0;var r=n.indexOf(" "+t);return-1===r&&(r=n.indexOf("."+t)),-1===r&&(r=n.indexOf('"'+t)),-1===r?-1:r+1}function W(e,n){var t=e.parent;switch(t.kind){case 196:return n.getContextualType(t);case 208:var r=t,a=r.left,i=r.operatorToken,o=r.right;return z(i.kind)?n.getTypeAtLocation(e===o?a:o):n.getContextualType(e);case 275:return t.expression===e?Y(t,n):void 0;default:return n.getContextualType(e)}}function q(n,t){if(/^\d+$/.test(n))return n;var r=t.quotePreference||"auto",a=JSON.stringify(n);switch(r){case"auto":case"double":return a;case"single":return"'"+e.stripQuotes(a).replace("'","\\'").replace('\\"','"')+"'";default:return e.Debug.assertNever(r)}}function z(e){switch(e){case 36:case 34:case 37:case 35:return!0;default:return!1}}function J(e){switch(e.kind){case 10:case 14:case 210:case 197:return!0;default:return!1}}function X(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()}function Y(e,n){return n.getTypeAtLocation(e.parent.parent.expression)}function Q(e,n,t,r){var a=t.getTypeChecker(),i=!0,o=function(){i=!1},s=a.typeToTypeNode(e,n,void 0,{trackSymbol:function(e,n,t){i=i&&0===a.isSymbolAccessible(e,n,t,!1).accessibility},reportInaccessibleThisError:o,reportPrivateInBaseOfClassExpression:o,reportInaccessibleUniqueSymbolError:o,moduleResolverHost:{readFile:r.readFile,fileExists:r.fileExists,directoryExists:r.directoryExists,getSourceFiles:t.getSourceFiles,getCurrentDirectory:t.getCurrentDirectory,getCommonSourceDirectory:t.getCommonSourceDirectory}});return i?s:void 0}function Z(e){return 164===e||165===e||166===e||157===e||159===e}function $(e){return 243===e||161===e||160===e||162===e||163===e}function ee(e){return 248===e}function ne(e){return 224===e||225===e||227===e||232===e||233===e||234===e||238===e||240===e||158===e||246===e||253===e||252===e||259===e||251===e||258===e}function te(n,t){var r=n.getLastToken(t);if(r&&26===r.kind)return!1;if(Z(n.kind)){if(r&&27===r.kind)return!1}else if(ee(n.kind)){var a=e.last(n.getChildren(t));if(a&&e.isModuleBlock(a))return!1}else if($(n.kind)){a=e.last(n.getChildren(t));if(a&&e.isFunctionBlock(a))return!1}else if(!ne(n.kind))return!1;if(227===n.kind)return!0;var i=e.findAncestor(n,(function(e){return!e.parent})),o=e.findNextToken(n,i,t);if(!o||19===o.kind)return!0;var s=t.getLineAndCharacterOfPosition(n.getEnd()).line,c=t.getLineAndCharacterOfPosition(o.getStart(t)).line;return s!==c}function re(n){var t=0,r=0,a=5;return e.forEachChild(n,(function i(o){if(ne(o.kind)){var s=o.getLastToken(n);s&&26===s.kind?t++:r++}return t+r>=a||e.forEachChild(o,i)})),0===t&&r<=1||t/r>1/a}function ae(e,n){return le(e,e.getDirectories,n)||[]}function ie(n,t,r,a,i){return le(n,n.readDirectory,t,r,a,i)||e.emptyArray}function oe(e,n){return le(e,e.fileExists,n)}function se(n,t){return ce((function(){return e.directoryProbablyExists(t,n)}))||!1}function ce(e){try{return e()}catch(n){return}}function le(e,n){for(var t=[],r=2;r=i.length){var T=r(n,u,e.lastOrUndefined(m));void 0!==T&&(v=T)}}while(1!==u);function S(){switch(u){case 43:case 67:t[p]||13!==n.reScanSlashToken()||(u=13);break;case 29:75===p&&b++;break;case 31:b>0&&b--;break;case 124:case 142:case 139:case 127:case 143:b>0&&!l&&(u=75);break;case 15:m.push(u);break;case 18:m.length>0&&m.push(u);break;case 19:if(m.length>0){var r=e.lastOrUndefined(m);15===r?(u=n.reScanTemplateToken(),17===u?m.pop():e.Debug.assertEqual(u,16,"Should have been a template middle.")):(e.Debug.assertEqual(r,18,"Should have been an open brace"),m.pop())}break;default:if(!e.isKeyword(u))break;(24===p||e.isKeyword(p)&&e.isKeyword(u)&&!s(p,u))&&(u=75)}}return{endOfLineState:v,spans:h}}return{getClassificationsForLine:o,getEncodedLexicalClassifications:l}}e.createClassifier=n;var t=e.arrayToNumericMap([75,10,8,9,13,103,45,46,21,23,19,105,90],(function(e){return e}),(function(){return!0}));function r(n,t,r){switch(t){case 10:if(!n.isUnterminated())return;var a=n.getTokenText(),i=a.length-1,o=0;while(92===a.charCodeAt(i-o))o++;if(0===(1&o))return;return 34===a.charCodeAt(0)?3:2;case 3:return n.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(t)){if(!n.isUnterminated())return;switch(t){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return 15===r?6:void 0}}function a(e,n,t,r,a){if(8!==r){0===e&&t>0&&(e+=t);var i=n-e;i>0&&a.push(e-t,i,r)}}function i(n,t){for(var r=[],a=n.spans,i=0,s=0;s=0){var d=c-i;d>0&&r.push({length:d,classification:e.TokenClass.Whitespace})}r.push({length:l,classification:o(u)}),i=c+l}var p=t.length-i;return p>0&&r.push({length:p,classification:e.TokenClass.Whitespace}),{entries:r,finalLexState:n.endOfLineState}}function o(n){switch(n){case 1:return e.TokenClass.Comment;case 3:return e.TokenClass.Keyword;case 4:return e.TokenClass.NumberLiteral;case 25:return e.TokenClass.BigIntLiteral;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:return e.TokenClass.Identifier;default:return}}function s(n,t){if(!e.isAccessibilityModifier(n))return!0;switch(t){case 130:case 141:case 128:case 119:return!0;default:return!1}}function c(n){switch(n){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return e.Debug.assertNever(n)}}function l(e){switch(e){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 97:case 96:case 122:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 73:case 72:case 74:case 69:case 70:case 71:case 63:case 64:case 65:case 67:case 68:case 62:case 27:case 60:return!0;default:return!1}}function u(e){switch(e){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}function d(n){if(e.isKeyword(n))return 3;if(l(n)||u(n))return 5;if(n>=18&&n<=74)return 10;switch(n){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 75:default:return e.isTemplateLiteralKind(n)?6:2}}function p(e,n,t,r,a){return v(f(e,n,t,r,a))}function m(e,n){switch(n){case 248:case 244:case 245:case 243:e.throwIfCancellationRequested()}}function f(n,t,r,a,i){var o=[];return r.forEachChild((function o(c){if(c&&e.textSpanIntersectsWith(i,c.pos,c.getFullWidth())){if(m(t,c.kind),e.isIdentifier(c)&&!e.nodeIsMissing(c)&&a.has(c.escapedText)){var l=n.getSymbolAtLocation(c),u=l&&_(l,e.getMeaningFromLocation(c),n);u&&s(c.getStart(r),c.getEnd(),u)}c.forEachChild(o)}})),{spans:o,endOfLineState:0};function s(n,t,r){var a=t-n;e.Debug.assert(a>0,"Classification had non-positive length of "+a),o.push(n),o.push(a),o.push(r)}}function _(e,n,t){var r=e.getFlags();return 0===(2885600&r)?void 0:32&r?11:384&r?12:524288&r?16:1536&r?4&n||1&n&&g(e)?14:void 0:2097152&r?_(t.getAliasedSymbol(e),n,t):2&n?64&r?13:262144&r?15:void 0:void 0}function g(n){return e.some(n.declarations,(function(n){return e.isModuleDeclaration(n)&&1===e.getModuleInstanceState(n)}))}function y(e){switch(e){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return}}function v(n){e.Debug.assert(n.spans.length%3===0);for(var t=n.spans,r=[],a=0;a])*)(\/>)?)?/im,i=/(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim,o=t.text.substr(n,r),s=a.exec(o);if(!s)return!1;if(!s[3]||!(s[3]in e.commentPragmas))return!1;var c=n;p(c,s[1].length),c+=s[1].length,l(c,s[2].length,10),c+=s[2].length,l(c,s[3].length,21),c+=s[3].length;var u=s[4],d=c;while(1){var m=i.exec(u);if(!m)break;var f=c+m.index;f>d&&(p(d,f-d),d=f),l(d,m[1].length,22),d+=m[1].length,m[2].length&&(p(d,m[2].length),d+=m[2].length),l(d,m[3].length,5),d+=m[3].length,m[4].length&&(p(d,m[4].length),d+=m[4].length),l(d,m[5].length,24),d+=m[5].length}c+=s[4].length,c>d&&p(d,c-d),s[5]&&(l(c,s[5].length,10),c+=s[5].length);var _=n+r;return c<_&&p(c,_-c),!0}function g(e){for(var n=0,t=e.getChildren();n=0),a>0){var i=t||E(n.kind,n);i&&l(r,a,i)}return!0}function b(e){switch(e.parent&&e.parent.kind){case 266:if(e.parent.tagName===e)return 19;break;case 267:if(e.parent.tagName===e)return 20;break;case 265:if(e.parent.tagName===e)return 21;break;case 271:if(e.parent.name===e)return 22;break}}function E(n,t){if(e.isKeyword(n))return 3;if((29===n||31===n)&&t&&e.getTypeArgumentOrTypeParameterList(t.parent))return 10;if(e.isPunctuation(n)){if(t){var r=t.parent;if(62===n&&(241===r.kind||158===r.kind||155===r.kind||271===r.kind))return 5;if(208===r.kind||206===r.kind||207===r.kind||209===r.kind)return 5}return 10}if(8===n)return 4;if(9===n)return 25;if(10===n)return t&&271===t.parent.kind?24:6;if(13===n)return 6;if(e.isTemplateLiteralKind(n))return 6;if(11===n)return 23;if(75===n){if(t)switch(t.parent.kind){case 244:return t.parent.name===t?11:void 0;case 154:return t.parent.name===t?15:void 0;case 245:return t.parent.name===t?13:void 0;case 247:return t.parent.name===t?12:void 0;case 248:return t.parent.name===t?14:void 0;case 155:return t.parent.name===t?e.isThisIdentifier(t)?3:17:void 0}return 2}}function T(r){if(r&&e.decodedTextSpanIntersectsWith(a,i,r.pos,r.getFullWidth())){m(n,r.kind);for(var o=0,s=r.getChildren(t);oi.parameters.length)){var o=t.getParameterType(i,n.argumentIndex);return r=r||!!(4&o.flags),_(o,a)}}));return{kind:2,types:o,isNewIdentifier:r}}function f(n){return n&&{kind:1,symbols:n.getApparentProperties(),hasIndexSignature:e.hasIndexSignature(n)}}function _(n,t){return void 0===t&&(t=e.createMap()),n?(n=e.skipConstraint(n),n.isUnion()?e.flatMap(n.types,(function(e){return _(e,t)})):!n.isStringLiteral()||1024&n.flags||!e.addToSeen(t,n.value)?e.emptyArray:[n]):e.emptyArray}function g(e,n,t){return{name:e,kind:n,extension:t}}function y(e){return g(e,"directory",void 0)}function v(e,n,t){var r=G(e,n);return t.map((function(e){var n=e.name,t=e.kind,a=e.extension;return{name:n,kind:t,extension:a,span:r}}))}function h(e,n,t,r,a){return v(n.text,n.getStart(e)+1,b(e,n,t,r,a))}function b(n,t,r,a,i){var o=e.normalizeSlashes(t.text),s=n.path,c=e.getDirectoryPath(s);return B(o)||!r.baseUrl&&(e.isRootedDiskPath(o)||e.isUrl(o))?T(o,c,r,a,s):D(o,c,r,a,i)}function E(e,n){return void 0===n&&(n=!1),{extensions:S(e),includeExtensions:n}}function T(e,n,t,r,a){var i=E(t);return t.rootDirs?L(t.rootDirs,e,n,i,t,r,a):C(e,n,i,r,a)}function S(n){var t=e.getSupportedExtensions(n);return n.resolveJsonModule&&e.getEmitModuleResolutionKind(n)===e.ModuleResolutionKind.NodeJs?t.concat(".json"):t}function x(n,t,r,a){n=n.map((function(n){return e.normalizePath(e.isRootedDiskPath(n)?n:e.combinePaths(t,n))}));var o=e.firstDefined(n,(function(n){return e.containsPath(n,r,t,a)?r.substr(n.length):void 0}));return e.deduplicate(i(n.map((function(n){return e.combinePaths(n,o)})),[r]),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}function L(n,t,r,a,i,o,s){var c=i.project||o.getCurrentDirectory(),l=!(o.useCaseSensitiveFileNames&&o.useCaseSensitiveFileNames()),u=x(n,c,r,l);return e.flatMap(u,(function(e){return C(t,e,a,o,s)}))}function C(n,t,r,a,i,o){var s=r.extensions,c=r.includeExtensions;void 0===o&&(o=[]),void 0===n&&(n=""),n=e.normalizeSlashes(n),e.hasTrailingDirectorySeparator(n)||(n=e.getDirectoryPath(n)),""===n&&(n="."+e.directorySeparator),n=e.ensureTrailingDirectorySeparator(n);var l=e.resolvePath(t,n),u=e.hasTrailingDirectorySeparator(l)?l:e.getDirectoryPath(l),d=!(a.useCaseSensitiveFileNames&&a.useCaseSensitiveFileNames());if(!e.tryDirectoryExists(a,u))return o;var p=e.tryReadDirectory(a,u,s,void 0,["./*"]);if(p){for(var m=e.createMap(),f=0,_=p;f<_.length;f++){var v=_[f];if(v=e.normalizePath(v),!i||0!==e.comparePaths(v,i,t,d)){var h=c||e.fileExtensionIs(v,".json")?e.getBaseFileName(v):e.removeFileExtension(e.getBaseFileName(v));m.set(h,e.tryGetExtensionFromPath(v))}}m.forEach((function(e,n){o.push(g(n,"script",e))}))}var b=e.tryGetDirectories(a,u);if(b)for(var E=0,T=b;E=e.pos&&t<=e.end}));if(s){var c=n.text.slice(s.pos,t),l=V.exec(c);if(l){var u=l[1],d=l[2],p=l[3],m=e.getDirectoryPath(n.path),f="path"===d?C(p,m,E(r,!0),a,n.path):"types"===d?P(a,r,m,k(p),E(r)):e.Debug.fail();return v(p,s.pos+u.length,f)}}}function P(n,t,r,a,i,o){void 0===o&&(o=[]);for(var s=e.createMap(),c=e.tryAndIgnoreErrors((function(){return e.getEffectiveTypeRoots(t,n)}))||e.emptyArray,l=0,u=c;l=2&&46===e.charCodeAt(0)){var n=e.length>=3&&46===e.charCodeAt(1)?2:1,t=e.charCodeAt(n);return 47===t||92===t}return!1}t.getStringLiteralCompletions=r,t.getStringLiteralCompletionDetails=o,function(e){e[e["Paths"]=0]="Paths",e[e["Properties"]=1]="Properties",e[e["Types"]=2]="Types"}(u||(u={}));var V=/^(\/\/\/\s*"),kind:"class",kindModifiers:void 0,sortText:t.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,entries:[D]}}var k=[];if(_(n,a)){var N=L(c,k,p,n,r,a.target,i,l,s,m,T,E,h,x);y(n,p.pos,N,a.target,k)}else{if(!d&&(!c||0===c.length)&&0===f)return;L(c,k,p,n,r,a.target,i,l,s,m,T,E,h,x)}if(0!==f)for(var I=e.arrayToSet(k,(function(e){return e.name})),O=0,M=H(f,!S&&e.isSourceFileJS(n));O0&&(R=Be(n,e.Debug.assertDefined(t))),Ue(),1}function ke(){var n=!h||18!==h.kind&&27!==h.kind?void 0:e.tryCast(h.parent,e.isNamedImportsOrExports);if(!n)return 0;var t=(256===n.kind?n.parent.parent:n.parent).moduleSpecifier,r=u.getSymbolAtLocation(t);if(!r)return 2;O=3,M=!1;var a=u.getExportsAndPropertiesOfModule(r),i=e.arrayToSet(n.elements,(function(e){return We(e)?void 0:(e.propertyName||e.name).escapedText}));return R=a.filter((function(e){return"default"!==e.escapedName&&!i.get(e.escapedName)})),1}function Ne(){var n=ee(a,h,D,o);if(!n)return 0;if(O=3,M=!0,w=41===h.kind?0:e.isClassLike(n)?2:3,!e.isClassLike(n))return 1;var t=26===h.kind?h.parent.parent:h.parent,r=e.isClassElement(t)?e.getModifierFlags(t):0;if(75===h.kind&&!We(h))switch(h.getText()){case"private":r|=8;break;case"static":r|=32;break}if(!(8&r)){var i=e.flatMap(e.getAllSuperTypeNodes(n),(function(e){var t=u.getTypeAtLocation(e);return t&&u.getPropertiesOfType(32&r?u.getTypeOfSymbolAtLocation(t.symbol,n):t)}));R=Ke(i,n.members,r)}return 1}function Ie(n){if(n){var t=n.parent;switch(n.kind){case 18:case 27:if(e.isObjectLiteralExpression(t)||e.isObjectBindingPattern(t))return t;break;case 41:return e.isMethodDeclaration(t)?e.tryCast(t.parent,e.isObjectLiteralExpression):void 0;case 75:return"async"===n.text&&e.isShorthandPropertyAssignment(n.parent)?n.parent.parent:void 0}}}function Oe(n){return!!n.parent&&e.isParameter(n.parent)&&e.isConstructorDeclaration(n.parent.parent)&&(e.isParameterPropertyModifier(n.kind)||e.isDeclarationName(n))}function Me(n){if(n){var t=n.parent;switch(n.kind){case 20:case 27:return e.isConstructorDeclaration(n.parent)?n.parent:void 0;default:if(Oe(n))return t.parent}}}function we(n){if(n){var t,r=e.findAncestor(n.parent,(function(n){return e.isClassLike(n)?"quit":!(!e.isFunctionLikeDeclaration(n)||t!==n.body)||(t=n,!1)}));return r&&r}}function Re(n){if(n){var t=n.parent;switch(n.kind){case 31:case 30:case 43:case 75:case 193:case 272:case 271:case 273:if(t&&(265===t.kind||266===t.kind)){if(31===n.kind){var r=e.findPrecedingToken(n.pos,a,void 0);if(!t.typeArguments||r&&43===r.kind)break}return t}if(271===t.kind)return t.parent.parent;break;case 10:if(t&&(271===t.kind||273===t.kind))return t.parent.parent;break;case 19:if(t&&274===t.kind&&t.parent&&271===t.parent.kind)return t.parent.parent.parent;if(t&&273===t.kind)return t.parent.parent;break}}}function Pe(n){var t=n.parent,r=t.kind;switch(n.kind){case 27:return 241===r||242===r||224===r||247===r||Fe(r)||245===r||189===r||246===r||e.isClassLike(t)&&!!t.typeParameters&&t.typeParameters.end>=n.pos;case 24:return 189===r;case 58:return 190===r;case 22:return 189===r;case 20:return 278===r||Fe(r);case 18:return 247===r;case 29:return 244===r||213===r||245===r||246===r||e.isFunctionLikeKind(r);case 119:return 158===r&&!e.isClassLike(t.parent);case 25:return 155===r||!!t.parent&&189===t.parent.kind;case 118:case 116:case 117:return 155===r&&!e.isConstructorDeclaration(t.parent);case 122:return 257===r||261===r||255===r;case 130:case 141:return!ne(n);case 79:case 87:case 113:case 93:case 108:case 95:case 114:case 80:case 120:case 144:return!0;case 41:return e.isFunctionLike(n.parent)&&!e.isMethodDeclaration(n.parent)}if(J(Y(n))&&ne(n))return!1;if(Oe(n)&&(!e.isIdentifier(n)||e.isParameterPropertyModifier(Y(n))||We(n)))return!1;switch(Y(n)){case 121:case 79:case 80:case 129:case 87:case 93:case 113:case 114:case 116:case 117:case 118:case 119:case 108:case 120:return!0;case 125:return e.isPropertyDeclaration(n.parent)}return e.isDeclarationName(n)&&!e.isJsxAttribute(n.parent)&&!(e.isClassLike(n.parent)&&(n!==v||o>v.end))}function Fe(n){return e.isFunctionLikeKind(n)&&161!==n}function Ge(e){if(8===e.kind){var n=e.getFullText();return"."===n.charAt(n.length-1)}return!1}function Be(n,t){if(0===t.length)return n;for(var r=e.createMap(),a=e.createUnderscoreEscapedMap(),i=0,o=t;i=0;a--)if(g(t,r[a],110))break;return e.forEach(u(n.statement),(function(e){p(n,e)&&g(t,e.getFirstToken(),76,81)})),t}function v(e){var n=m(e);if(n)switch(n.kind){case 229:case 230:case 231:case 227:case 228:return y(n);case 236:return h(n)}}function h(n){var t=[];return g(t,n.getFirstToken(),102),e.forEach(n.caseBlock.clauses,(function(r){g(t,r.getFirstToken(),77,83),e.forEach(u(r),(function(e){p(n,e)&&g(t,e.getFirstToken(),76)}))})),t}function b(n,t){var r=[];if(g(r,n.getFirstToken(),106),n.catchClause&&g(r,n.catchClause.getFirstToken(),78),n.finallyBlock){var a=e.findChildOfKind(n,91,t);g(r,a,91)}return r}function E(n,t){var r=l(n);if(r){var a=[];return e.forEach(c(r),(function(n){a.push(e.findChildOfKind(n,104,t))})),e.isFunctionBlock(r)&&e.forEachReturnStatement(r,(function(n){a.push(e.findChildOfKind(n,100,t))})),a}}function T(n,t){var r=e.getContainingFunction(n);if(r){var a=[];return e.forEachReturnStatement(e.cast(r.body,e.isBlock),(function(n){a.push(e.findChildOfKind(n,100,t))})),e.forEach(c(r.body),(function(n){a.push(e.findChildOfKind(n,104,t))})),a}}function S(n){var t=e.getContainingFunction(n);if(t){var r=[];return t.modifiers&&t.modifiers.forEach((function(e){g(r,e,125)})),e.forEachChild(t,(function(n){L(n,(function(n){e.isAwaitExpression(n)&&g(r,n.getFirstToken(),126)}))})),r}}function x(n){var t=e.getContainingFunction(n);if(t){var r=[];return e.forEachChild(t,(function(n){L(n,(function(n){e.isYieldExpression(n)&&g(r,n.getFirstToken(),120)}))})),r}}function L(n,t){t(n),e.isFunctionLike(n)||e.isClassLike(n)||e.isInterfaceDeclaration(n)||e.isModuleDeclaration(n)||e.isTypeAliasDeclaration(n)||e.isTypeNode(n)||e.forEachChild(n,(function(e){return L(e,t)}))}function C(n,t){for(var a=A(n,t),i=[],o=0;o=s.end;u--)if(!e.isWhiteSpaceSingleLine(t.text.charCodeAt(u))){l=!1;break}if(l){i.push({fileName:t.fileName,textSpan:e.createTextSpanFromBounds(s.getStart(),c.end),kind:"reference"}),o++;continue}}i.push(r(a[o],t))}return i}function A(n,t){var r=[];while(e.isIfStatement(n.parent)&&n.parent.elseStatement===n)n=n.parent;while(1){var a=n.getChildren(t);g(r,a[0],94);for(var i=a.length-1;i>=0;i--)if(g(r,a[i],86))break;if(!n.elseStatement||!e.isIfStatement(n.elseStatement))break;n=n.elseStatement}return r}function D(n,t){return!!e.findAncestor(n.parent,(function(n){return e.isLabeledStatement(n)?n.label.escapedText===t:"quit"}))}n.getDocumentHighlights=t})(e.DocumentHighlights||(e.DocumentHighlights={}))}(u||(u={})),function(e){function n(e,n){return t(e,n)}function t(n,t,a){void 0===t&&(t="");var i=e.createMap(),o=e.createGetCanonicalFileName(!!n);function s(){var n=e.arrayFrom(i.keys()).filter((function(e){return e&&"_"===e.charAt(0)})).map((function(e){var n=i.get(e),t=[];return n.forEach((function(e,n){t.push({name:n,refCount:e.languageServiceRefCount})})),t.sort((function(e,n){return n.refCount-e.refCount})),{bucket:e,sourceFiles:t}}));return JSON.stringify(n,void 0,2)}function c(n,a,i,s,c){var u=e.toPath(n,t,o),d=r(a);return l(n,u,a,d,i,s,c)}function l(e,n,t,r,a,i,o){return p(e,n,t,r,a,i,!0,o)}function u(n,a,i,s,c){var l=e.toPath(n,t,o),u=r(a);return d(n,l,a,u,i,s,c)}function d(e,n,t,r,a,i,o){return p(e,n,t,r,a,i,!1,o)}function p(n,t,r,o,s,c,l,u){var d=e.getOrUpdate(i,o,e.createMap),p=d.get(t),m=6===u?100:r.target||1;if(!p&&a){var f=a.getDocument(o,t);f&&(e.Debug.assert(l),p={sourceFile:f,languageServiceRefCount:0},d.set(t,p))}if(p)p.sourceFile.version!==c&&(p.sourceFile=e.updateLanguageServiceSourceFile(p.sourceFile,s,c,s.getChangeRange(p.sourceFile.scriptSnapshot)),a&&a.setDocument(o,t,p.sourceFile)),l&&p.languageServiceRefCount++;else{f=e.createLanguageServiceSourceFile(n,s,m,c,!1,u);a&&a.setDocument(o,t,f),p={sourceFile:f,languageServiceRefCount:1},d.set(t,p)}return e.Debug.assert(0!==p.languageServiceRefCount),p.sourceFile}function m(n,a){var i=e.toPath(n,t,o),s=r(a);return f(i,s)}function f(n,t){var r=e.Debug.assertDefined(i.get(t)),a=r.get(n);a.languageServiceRefCount--,e.Debug.assert(a.languageServiceRefCount>=0),0===a.languageServiceRefCount&&r.delete(n)}function _(n){return e.arrayFrom(i.entries(),(function(e){var t=e[0],r=e[1],a=r.get(n);return[t,a&&a.languageServiceRefCount]}))}return{acquireDocument:c,acquireDocumentWithKey:l,updateDocument:u,updateDocumentWithKey:d,releaseDocument:m,releaseDocumentWithKey:f,getLanguageServiceRefCounts:_,reportStats:s,getKeyForCompilationSettings:r}}function r(n){return e.sourceFileAffectingCompilerOptions.map((function(t){return e.getCompilerOptionValue(n,t)})).join("|")}e.createDocumentRegistry=n,e.createDocumentRegistryInternal=t}(u||(u={})),function(e){(function(n){function t(e,n,t,i){var s=c(e,t,i);return function(c,l,u){var d=r(e,n,s,l,t,i),p=d.directImports,m=d.indirectUsers;return o({indirectUsers:m},a(p,c,l.exportKind,t,u))}}function r(n,t,r,a,o,s){var c=a.exportingModuleSymbol,l=a.exportKind,u=e.nodeSeenTracker(),d=e.nodeSeenTracker(),p=[],m=!!c.globalExports,f=m?void 0:[];return g(c),{directImports:p,indirectUsers:_()};function _(){if(m)return n;for(var r=0,a=c.declarations;r=0){if(c>r.end)break;var l=c+s;0!==c&&e.isIdentifierPart(i.charCodeAt(c-1),99)||l!==o&&e.isIdentifierPart(i.charCodeAt(l),99)||a.push(c),c=i.indexOf(t,c+s+1)}return a}function N(t,r){var a=t.getSourceFile(),i=r.text,o=e.mapDefined(D(a,i,t),(function(t){return t===r||e.isJumpStatementTarget(t)&&e.getTargetLabel(t,i)===r?n.nodeEntry(t):void 0}));return[{definition:{type:1,node:r},references:o}]}function I(n,t){switch(n.kind){case 75:return n.text.length===t.length;case 14:case 10:var r=n;return(e.isLiteralNameOfPropertyDeclarationOrIndexAccess(r)||e.isNameOfModuleDeclaration(n)||e.isExpressionOfExternalModuleImportEqualsDeclaration(n)||e.isCallExpression(n.parent)&&e.isBindableObjectDefinePropertyCall(n.parent)&&n.parent.arguments[1]===n)&&r.text.length===t.length;case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(n)&&n.text.length===t.length;case 83:return"default".length===t.length;default:return!1}}function O(t,r,a,i){var o=e.flatMap(t,(function(t){return a.throwIfCancellationRequested(),e.mapDefined(D(t,e.tokenToString(r),t),(function(e){if(e.kind===r&&(!i||i(e)))return n.nodeEntry(e)}))}));return o.length?[{definition:{type:2,node:o[0].node},references:o}]:void 0}function M(e,n,t,r){return void 0===r&&(r=!0),t.cancellationToken.throwIfCancellationRequested(),w(e,e,n,t,r)}function w(e,n,t,r,a){if(r.markSearchedSymbols(n,t.allSearchSymbols))for(var i=0,o=k(n,t.text,e);i0;o--){a=r[o];x(n,a)}return[r.length-1,r[0]]}function x(e,n){var t=b(e,n);y(i,t),l.push(i),u.push(o),i=t}function L(){i.children&&(D(i.children,i),P(i.children)),i=l.pop(),o=u.pop()}function C(e,n,t){x(e,t),A(n),L()}function A(n){var t;if(r.throwIfCancellationRequested(),n&&!e.isToken(n))switch(n.kind){case 161:var a=n;C(a,a.body);for(var i=0,s=a.parameters;i0&&(x(M,F),e.forEachChild(M.right,A),L()):e.isFunctionExpression(M.right)||e.isArrowFunction(M.right)?C(n,M.right,F):(x(M,F),C(n,M.right,w.name),L()),void T(P);case 7:case 9:var G=n,B=(F=7===O?G.arguments[0]:G.arguments[0].expression,G.arguments[1]),V=S(n,F),U=(P=V[0],V[1]);return x(n,U),x(n,e.setTextRange(e.createIdentifier(B.text),B)),A(n.arguments[2]),L(),L(),void T(P);case 5:M=n,w=M.left;var j=w.expression;if(e.isIdentifier(j)&&"prototype"!==e.getElementOrPropertyAccessName(w)&&o&&o.has(j.text))return void(e.isFunctionExpression(M.right)||e.isArrowFunction(M.right)?C(n,M.right,j):e.isBindableStaticAccessExpression(w)&&(x(M,j),C(M.left,M.right,e.getNameOrArgument(w)),L()));break;case 4:case 0:case 8:break;default:e.Debug.assertNever(O)}default:e.hasJSDocNodes(n)&&e.forEach(n.jsDoc,(function(n){e.forEach(n.tags,(function(n){e.isJSDocTypeAlias(n)&&h(n)}))})),e.forEachChild(n,A)}}function D(n,t){var r=e.createMap();e.filterMutate(n,(function(n,a){var i=n.name||e.getNameOfDeclaration(n.node),o=i&&_(i);if(!o)return!0;var s=r.get(o);if(!s)return r.set(o,n),!0;if(s instanceof Array){for(var c=0,l=s;c0)return Z(r)}switch(n.kind){case 288:var a=n;return e.isExternalModule(a)?'"'+e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(a.fileName))))+'"':"";case 201:case 243:case 200:case 244:case 213:return 512&e.getModifierFlags(n)?"default":X(n);case 161:return"constructor";case 165:return"new()";case 164:return"()";case 166:return"[]";default:return""}}function V(e){var n=[];function t(e){if(r(e)&&(n.push(e),e.children))for(var a=0,i=e.children;a0)return Z(e.declarationNameToString(n.name));if(e.isVariableDeclaration(t))return Z(e.declarationNameToString(t.name));if(e.isBinaryExpression(t)&&62===t.operatorToken.kind)return _(t.left).replace(s,"");if(e.isPropertyAssignment(t))return _(t.name);if(512&e.getModifierFlags(n))return"default";if(e.isClassLike(n))return"";if(e.isCallExpression(t)){var r=Y(t.expression);if(void 0!==r){if(r=Z(r),r.length>c)return r+" callback";var i=Z(e.mapDefined(t.arguments,(function(n){return e.isStringLiteralLike(n)?n.getText(a):void 0})).join(", "));return r+"("+i+") callback"}}return""}function Y(n){if(e.isIdentifier(n))return n.text;if(e.isPropertyAccessExpression(n)){var t=Y(n.expression),r=n.name.text;return void 0===t?r:t+"."+r}}function Q(e){switch(e.kind){case 201:case 200:case 213:return!0;default:return!1}}function Z(e){return e=e.length>c?e.substring(0,c)+"...":e,e.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}})(e.NavigationBar||(e.NavigationBar={}))}(u||(u={})),function(e){(function(n){function t(n,t,a,c,l){var d=e.textChanges.ChangeTracker.fromContext({host:a,formatContext:t,preferences:l}),p=function(e){return o(r(e,n,c))},m=n.statements.filter(e.isImportDeclaration);b(m,p);var f=n.statements.filter(e.isExportDeclaration);b(f,s);for(var _=0,g=n.statements.filter(e.isAmbientModule);_0?a[0]:o[0],T=0===b.length?p?void 0:e.createNamedImports(e.emptyArray):0===o.length?e.createNamedImports(b):e.updateNamedImports(o[0].importClause.namedBindings,b);return s.push(c(E,p,T)),s;function S(n){for(var t,r=[],a=[],i=[],o=0,s=n;o1&&a.push(c(s,l,"comment"))}}function c(n,t,r){return p(e.createTextSpanFromBounds(n,t),r)}function l(n,t){switch(n.kind){case 222:if(e.isFunctionLike(n.parent))return u(n.parent,n,t);switch(n.parent.kind){case 227:case 230:case 231:case 229:case 226:case 228:case 235:case 278:return l(n.parent);case 239:var r=n.parent;if(r.tryBlock===n)return l(n.parent);if(r.finallyBlock===n)return l(e.findChildOfKind(r,91,t));default:return p(e.createTextSpanFromNode(n,t),"code")}case 249:return l(n.parent);case 244:case 213:case 245:case 247:case 250:return l(n);case 192:return s(n);case 191:return s(n,22);case 264:return a(n);case 268:return i(n);case 265:case 266:return o(n.attributes)}function a(n){var r=e.createTextSpanFromBounds(n.openingElement.getStart(t),n.closingElement.getEnd()),a=n.openingElement.tagName.getText(t),i="<"+a+">...";return p(r,"code",r,!1,i)}function i(n){var r=e.createTextSpanFromBounds(n.openingFragment.getStart(t),n.closingFragment.getEnd()),a="<>...";return p(r,"code",r,!1,a)}function o(e){if(0!==e.properties.length)return c(e.getStart(t),e.getEnd(),"code")}function s(n,t){return void 0===t&&(t=18),l(n,!1,!e.isArrayLiteralExpression(n.parent)&&!e.isCallExpression(n.parent),t)}function l(r,a,i,o,s){void 0===a&&(a=!1),void 0===i&&(i=!0),void 0===o&&(o=18),void 0===s&&(s=18===o?19:23);var c=e.findChildOfKind(n,o,t),l=e.findChildOfKind(n,s,t);return c&&l&&d(c,l,r,t,a,i)}}function u(n,t,r){var a=e.isNodeArrayMultiLine(n.parameters,r)?e.findChildOfKind(n,20,r):e.findChildOfKind(t,18,r),i=e.findChildOfKind(t,19,r);return a&&i&&d(a,i,n,r,201!==n.kind)}function d(n,t,r,a,i,o){void 0===i&&(i=!1),void 0===o&&(o=!0);var s=e.createTextSpanFromBounds(o?n.getFullStart():n.getStart(a),t.getEnd());return p(s,"code",e.createTextSpanFromNode(r,a),i)}function p(e,n,t,r,a){return void 0===t&&(t=e),void 0===r&&(r=!1),void 0===a&&(a="..."),{textSpan:e,kind:n,hintSpan:t,bannerText:a,autoCollapse:r}}})(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))}(u||(u={})),function(e){var n;function t(e,n){return{kind:e,isCaseSensitive:n}}function r(n){var t=e.createMap(),r=n.trim().split(".").map((function(e){return m(e.trim())}));if(!r.some((function(e){return!e.subWordTextChunks.length})))return{getFullMatch:function(e,n){return a(e,n,r,t)},getMatchForLastSegmentOfPattern:function(n){return s(n,e.last(r),t)},patternContainsDots:r.length>1}}function a(n,t,r,a){var i=s(t,e.last(r),a);if(i&&!(r.length-1>n.length)){for(var o,l=r.length-2,u=n.length-1;l>=0;l-=1,u-=1)o=c(o,s(n[u],r[l],a));return o}}function i(e,n){var t=n.get(e);return t||n.set(e,t=S(e)),t}function o(r,a,o){var s=g(r,a.textLowerCase);if(0===s)return t(a.text.length===r.length?n.exact:n.prefix,e.startsWith(r,a.text));if(a.isLowerCase){if(-1===s)return;for(var c=i(r,o),l=0,d=c;l0)return t(n.substring,!0);if(a.characterSpans.length>0){var _=i(r,o),y=!!p(r,_,a,!1)||!p(r,_,a,!0)&&void 0;if(void 0!==y)return t(n.camelCase,y)}}}function s(e,n,t){if(N(n.totalTextChunk.text,(function(e){return 32!==e&&42!==e}))){var r=o(e,n.totalTextChunk,t);if(r)return r}for(var a,i=n.subWordTextChunks,s=0,l=i;s=65&&n<=90)return!0;if(n<127||!e.isUnicodeIdentifierStart(n,99))return!1;var t=String.fromCharCode(n);return t===t.toUpperCase()}function _(n){if(n>=97&&n<=122)return!0;if(n<127||!e.isUnicodeIdentifierStart(n,99))return!1;var t=String.fromCharCode(n);return t===t.toLowerCase()}function g(e,n){for(var t=e.length-n.length,r=function(t){if(N(n,(function(n,r){return y(e.charCodeAt(r+t))===n})))return{value:t}},a=0;a<=t;a++){var i=r(a);if("object"===typeof i)return i.value}return-1}function y(e){return e>=65&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function v(e){return e>=48&&e<=57}function h(e){return f(e)||_(e)||v(e)||95===e||36===e}function b(e){for(var n=[],t=0,r=0,a=0;a0&&(n.push(E(e.substr(t,r))),r=0)}return r>0&&n.push(E(e.substr(t,r))),n}function E(e){var n=e.toLowerCase();return{text:e,textLowerCase:n,isLowerCase:e===n,characterSpans:T(e)}}function T(e){return x(e,!1)}function S(e){return x(e,!0)}function x(n,t){for(var r=[],a=0,i=1;in)break e;if(r(t,n,m)){if(e.isBlock(m)||e.isTemplateSpan(m)||e.isTemplateHead(m)||e.isTemplateTail(m)||p&&e.isTemplateHead(p)||e.isVariableDeclarationList(m)&&e.isVariableStatement(s)||e.isSyntaxList(m)&&e.isVariableDeclarationList(s)||e.isVariableDeclaration(m)&&e.isSyntaxList(s)&&1===c.length){s=m;break}if(e.isTemplateSpan(s)&&f&&e.isTemplateMiddleOrTemplateTail(f)){var _=m.getFullStart()-"${".length,g=f.getStart()+"}".length;E(_,g)}var y=e.isSyntaxList(m)&&u(p)&&d(f)&&!e.positionsAreOnSameLine(p.getStart(),f.getStart(),t),v=e.hasJSDocNodes(m)&&m.jsDoc[0].getStart(),h=y?p.getEnd():m.getStart(),b=y?f.getStart():m.getEnd();e.isNumber(v)&&E(v,b),E(h,b),(e.isStringLiteral(m)||e.isTemplateLiteral(m))&&E(h+1,b-1),s=m;break}if(l===c.length-1)break e}}return a;function E(t,r){if(t!==r){var i=e.createTextSpanFromBounds(t,r);(!a||!e.textSpansEqual(i,a.textSpan)&&e.textSpanIntersectsWithPosition(i,n))&&(a=o({textSpan:i},a&&{parent:a}))}}}function r(n,t,r){if(e.Debug.assert(r.pos<=t),t0&&27===e.last(t).kind&&r++,r}function T(n,t,r,a){return e.Debug.assert(r>=t.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(t)?e.isInsideTemplateLiteral(t,r,a)?0:n+2:n+1}function S(n,t,r){var a=e.isNoSubstitutionTemplateLiteral(n.template)?1:n.template.templateSpans.length+1;return 0!==t&&e.Debug.assertLessThan(t,a),{isTypeParameterList:!1,invocation:{kind:0,node:n},argumentsSpan:L(n,r),argumentIndex:t,argumentCount:a}}function x(n,t){var r=n.getFullStart(),a=e.skipTrivia(t.text,n.getEnd(),!1);return e.createTextSpan(r,a-r)}function L(n,t){var r=n.template,a=r.getStart(),i=r.getEnd();if(210===r.kind){var o=e.last(r.templateSpans);0===o.literal.getFullWidth()&&(i=e.skipTrivia(t.text,i,!1))}return e.createTextSpan(a,i-a)}function C(n,t,r,a,i){for(var o=function(n){e.Debug.assert(e.rangeContainsRange(n.parent,n),"Not a subspan",(function(){return"Child: "+e.Debug.formatSyntaxKind(n.kind)+", parent: "+e.Debug.formatSyntaxKind(n.parent.kind)}));var i=f(n,t,r,a);if(i)return{value:i}},s=n;!e.isSourceFile(s)&&(i||!e.isBlock(s));s=s.parent){var c=o(s);if("object"===typeof c)return c.value}}function A(n,t,r){var a=n.getChildren(r),i=a.indexOf(t);return e.Debug.assert(i>=0&&a.length>i+1),a[i+1]}function D(n){return 0===n.kind?e.getInvokedExpression(n.node):n.called}function k(e){return 0===e.kind?e.node:1===e.kind?e.called:e.node}(function(e){e[e["Call"]=0]="Call",e[e["TypeArgs"]=1]="TypeArgs",e[e["Contextual"]=2]="Contextual"})(t||(t={})),n.getSignatureHelpItems=a,function(e){e[e["Candidate"]=0]="Candidate",e[e["Type"]=1]="Type"}(r||(r={})),n.getArgumentInfoForCompletions=u;var N=70246400;function I(n,t,r,a,i){var o=r.isTypeParameterList,s=r.argumentCount,c=r.argumentsSpan,l=r.invocation,u=r.argumentIndex,d=k(l),p=2===l.kind?l.symbol:i.getSymbolAtLocation(D(l)),m=p?e.symbolToDisplayParts(i,p,void 0,void 0):e.emptyArray,f=n.map((function(e){return R(e,m,o,i,d,a)}));0!==u&&e.Debug.assertLessThan(u,s);var _=n.indexOf(t);return e.Debug.assert(-1!==_),{items:f,applicableSpan:c,selectedItemIndex:_,argumentIndex:u,argumentCount:s}}function O(e,n,t,r){var a=n.argumentCount,i=n.argumentsSpan,o=n.invocation,s=n.argumentIndex,c=r.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);if(c){var l=[M(e,c,r,k(o),t)];return{items:l,applicableSpan:i,selectedItemIndex:0,argumentIndex:s,argumentCount:a}}}function M(n,t,r,a,o){var s=e.symbolToDisplayParts(r,n),c=e.createPrinter({removeComments:!0}),l=t.map((function(e){return V(e,r,a,o,c)})),u=n.getDocumentationComment(r),d=n.getJsDocTags(),p=i(s,[e.punctuationPart(29)]);return{isVariadic:!1,prefixDisplayParts:p,suffixDisplayParts:[e.punctuationPart(31)],separatorDisplayParts:w,parameters:l,documentation:u,tags:d}}var w=[e.punctuationPart(27),e.spacePart()];function R(e,n,t,r,a,o){var s=(t?F:G)(e,r,a,o),c=s.isVariadic,l=s.parameters,u=s.prefix,d=s.suffix,p=i(n,u),m=i(d,P(e,a,r)),f=e.getDocumentationComment(r),_=e.getJsDocTags();return{isVariadic:c,prefixDisplayParts:p,suffixDisplayParts:m,separatorDisplayParts:w,parameters:l,documentation:f,tags:_}}function P(n,t,r){return e.mapToDisplayParts((function(e){e.writePunctuation(":"),e.writeSpace(" ");var a=r.getTypePredicateOfSignature(n);a?r.writeTypePredicate(a,t,void 0,e):r.writeType(r.getReturnTypeOfSignature(n),t,void 0,e)}))}function F(n,t,r,a){var o=(n.target||n).typeParameters,s=e.createPrinter({removeComments:!0}),c=(o||e.emptyArray).map((function(e){return V(e,t,r,a,s)})),l=e.mapToDisplayParts((function(o){var c=n.thisParameter?[t.symbolToParameterDeclaration(n.thisParameter,r,N)]:[],l=e.createNodeArray(i(c,t.getExpandedParameters(n).map((function(e){return t.symbolToParameterDeclaration(e,r,N)}))));s.writeList(2576,l,a,o)}));return{isVariadic:!1,parameters:c,prefix:[e.punctuationPart(29)],suffix:i([e.punctuationPart(31)],l)}}function G(n,t,r,a){var o=t.hasEffectiveRestParameter(n),s=e.createPrinter({removeComments:!0}),c=e.mapToDisplayParts((function(i){if(n.typeParameters&&n.typeParameters.length){var o=e.createNodeArray(n.typeParameters.map((function(e){return t.typeParameterToDeclaration(e,r)})));s.writeList(53776,o,a,i)}})),l=t.getExpandedParameters(n).map((function(e){return B(e,t,r,a,s)}));return{isVariadic:o,parameters:l,prefix:i(c,[e.punctuationPart(20)]),suffix:[e.punctuationPart(21)]}}function B(n,t,r,a,i){var o=e.mapToDisplayParts((function(e){var o=t.symbolToParameterDeclaration(n,r,N);i.writeNode(4,o,a,e)})),s=t.isOptionalParameter(n.valueDeclaration);return{name:n.name,documentation:n.getDocumentationComment(t),displayParts:o,isOptional:s}}function V(n,t,r,a,i){var o=e.mapToDisplayParts((function(e){var o=t.typeParameterToDeclaration(n,r);i.writeNode(4,o,a,e)}));return{name:n.symbol.name,documentation:n.symbol.getDocumentationComment(t),displayParts:o,isOptional:!1}}})(e.SignatureHelp||(e.SignatureHelp={}))}(u||(u={})),function(e){var n=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function t(n){var t=e.createGetCanonicalFileName(n.useCaseSensitiveFileNames()),r=n.getCurrentDirectory(),a=e.createMap(),o=e.createMap();return{tryGetSourcePosition:l,tryGetGeneratedPosition:u,toLineColumnOffset:f,clearCache:_};function s(n){return e.toPath(n,r,t)}function c(r,a){var i,c=s(r),l=o.get(c);if(l)return l;if(n.getDocumentPositionMapper)i=n.getDocumentPositionMapper(r,a);else if(n.readFile){var u=m(r);i=u&&e.getDocumentPositionMapper({getSourceFileLike:m,getCanonicalFileName:t,log:function(e){return n.log(e)}},r,e.getLineInfo(u.text,e.getLineStarts(u)),(function(e){return!n.fileExists||n.fileExists(e)?n.readFile(e):void 0}))}return o.set(c,i||e.identitySourceMapConsumer),i||e.identitySourceMapConsumer}function l(n){if(e.isDeclarationFileName(n.fileName)){var t=d(n.fileName);if(t){var r=c(n.fileName).getSourcePosition(n);return r&&r!==n?l(r)||r:void 0}}}function u(a){if(!e.isDeclarationFileName(a.fileName)){var i=d(a.fileName);if(i){var o=n.getProgram();if(!o.isSourceOfProjectReferenceRedirect(i.fileName)){var s=o.getCompilerOptions(),l=s.outFile||s.out,u=l?e.removeFileExtension(l)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(a.fileName,o.getCompilerOptions(),r,o.getCommonSourceDirectory(),t);if(void 0!==u){var p=c(u,a.fileName).getGeneratedPosition(a);return p===a?void 0:p}}}}}function d(e){var t=n.getProgram();if(t){var r=s(e),a=t.getSourceFileByPath(r);return a&&a.resolvedPath===r?a:void 0}}function p(e){var t=s(e),r=a.get(t);if(void 0!==r)return r||void 0;if(n.readFile&&(!n.fileExists||n.fileExists(t))){var o=n.readFile(t),c=!!o&&i(o);return a.set(t,c),c||void 0}a.set(t,!1)}function m(e){return n.getSourceFileLike?n.getSourceFileLike(e):d(e)||p(e)}function f(e,n){var t=m(e);return t.getLineAndCharacterOfPosition(n)}function _(){a.clear(),o.clear()}}function r(t,r,i,o){var s=e.tryGetSourceMappingURL(i);if(s){var c=n.exec(s);if(c){if(c[1]){var l=c[1];return a(t,e.base64decode(e.sys,l),r)}s=void 0}}var u=[];s&&u.push(s),u.push(r+".map");for(var d=s&&e.getNormalizedAbsolutePath(s,e.getDirectoryPath(r)),p=0,m=u;p0&&c.push(e.createDiagnosticForNode(e.isVariableDeclaration(n.parent)?n.parent.name:n,e.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration));break}else{if(e.isVariableStatement(n)&&n.parent===t&&2&n.declarationList.flags&&1===n.declarationList.declarations.length){var s=n.declarationList.declarations[0].initializer;s&&e.isRequireCall(s,!0)&&c.push(e.createDiagnosticForNode(s,e.Diagnostics.require_call_may_be_converted_to_an_import))}e.codefix.parameterShouldGetTypeFromJSDoc(n)&&c.push(e.createDiagnosticForNode(n.name||n,e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types))}e.isFunctionLikeDeclaration(n)&&o(n,u,c),n.forEachChild(h)}}function r(n){return n.statements.some((function(n){switch(n.kind){case 224:return n.declarationList.declarations.some((function(n){return!!n.initializer&&e.isRequireCall(a(n.initializer),!0)}));case 225:var t=n.expression;if(!e.isBinaryExpression(t))return e.isRequireCall(t,!0);var r=e.getAssignmentDeclarationKind(t);return 1===r||2===r;default:return!1}}))}function a(n){return e.isPropertyAccessExpression(n)?a(n.expression):n}function i(n){switch(n.kind){case 253:var t=n.importClause,r=n.moduleSpecifier;return t&&!t.name&&t.namedBindings&&255===t.namedBindings.kind&&e.isStringLiteral(r)?t.namedBindings.name:void 0;case 252:return n.name;default:return}}function o(t,r,a){s(t,r)&&!n.has(_(t))&&a.push(e.createDiagnosticForNode(!t.name&&e.isVariableDeclaration(t.parent)&&e.isIdentifier(t.parent.name)?t.parent.name:t,e.Diagnostics.This_may_be_converted_to_an_async_function))}function s(n,t){return!e.isAsyncFunction(n)&&n.body&&e.isBlock(n.body)&&u(n.body)&&c(n,t)}function c(e,n){var t=n.getTypeAtLocation(e),r=n.getSignaturesOfType(t,0),a=r.length?n.getReturnTypeOfSignature(r[0]):void 0;return!!a&&!!n.getPromisedTypeOfPromise(a)}function l(n){return e.isBinaryExpression(n)?n.left:n}function u(n){return!!e.forEachReturnStatement(n,d)}function d(n){return e.isReturnStatement(n)&&!!n.expression&&p(n.expression)}function p(n){if(!m(n)||!n.arguments.every(f))return!1;var t=n.expression;while(m(t)||e.isPropertyAccessExpression(t)){if(e.isCallExpression(t)&&!t.arguments.every(f))return!1;t=t.expression}return!0}function m(n){return e.isCallExpression(n)&&(e.hasPropertyAccessExpressionWithName(n,"then")||e.hasPropertyAccessExpressionWithName(n,"catch"))}function f(e){switch(e.kind){case 243:case 200:case 201:n.set(_(e),!0);case 99:case 75:return!0;default:return!1}}function _(e){return e.pos.toString()+":"+e.end.toString()}e.computeSuggestionDiagnostics=t,e.isReturnStatementWithFixablePromiseHandler=d,e.isFixablePromiseHandler=p}(u||(u={})),function(e){(function(n){function t(n,t,a){var i=r(n,t,a);if(""!==i)return i;var o=e.getCombinedLocalAndExportSymbolFlags(t);return 32&o?e.getDeclarationOfKind(t,213)?"local class":"class":384&o?"enum":524288&o?"type":64&o?"interface":262144&o||262144&o?"type parameter":8&o?"enum member":2097152&o?"alias":1536&o?"module":i}function r(n,t,r){var a=n.getRootSymbols(t);if(1===a.length&&8192&e.first(a).flags&&0!==n.getTypeOfSymbolAtLocation(t,r).getNonNullableType().getCallSignatures().length)return"method";if(n.isUndefinedSymbol(t))return"var";if(n.isArgumentsSymbol(t))return"local var";if(103===r.kind&&e.isExpression(r))return"parameter";var i=e.getCombinedLocalAndExportSymbolFlags(t);if(3&i)return e.isFirstDeclarationOfSymbolParameter(t)?"parameter":t.valueDeclaration&&e.isVarConst(t.valueDeclaration)?"const":e.forEach(t.declarations,e.isLet)?"let":o(t)?"local var":"var";if(16&i)return o(t)?"local function":"function";if(32768&i)return"getter";if(65536&i)return"setter";if(8192&i)return"method";if(16384&i)return"constructor";if(4&i){if(33554432&i&&6&t.checkFlags){var s=e.forEach(n.getRootSymbols(t),(function(n){var t=n.getFlags();if(98311&t)return"property";e.Debug.assert(!!(8208&t))}));if(!s){var c=n.getTypeOfSymbolAtLocation(t,r);return c.getCallSignatures().length?"method":"property"}return s}switch(r.parent&&r.parent.kind){case 266:case 264:case 265:return 75===r.kind?"property":"JSX attribute";case 271:return"JSX attribute";default:return"property"}}return""}function a(n){var t=n&&n.declarations&&n.declarations.length>0?e.getNodeModifiers(n.declarations[0]):"",r=n&&16777216&n.flags?"optional":"";return t&&r?t+","+r:t||r}function i(n,a,o,s,c,l,u){void 0===l&&(l=e.getMeaningFromLocation(c));var d,p,m,f,_,g,y=[],v=e.getCombinedLocalAndExportSymbolFlags(a),h=1&l?r(n,a,c):"",b=!1,E=103===c.kind&&e.isInExpressionContext(c);if(103===c.kind&&!E)return{displayParts:[e.keywordPart(103)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==h||32&v||2097152&v){"getter"!==h&&"setter"!==h||(h="property");var T=void 0;if(m=E?n.getTypeAtLocation(c):n.getTypeOfSymbolAtLocation(a.exportSymbol||a,c),c.parent&&193===c.parent.kind){var S=c.parent.name;(S===c||S&&0===S.getFullWidth())&&(c=c.parent)}var x=void 0;if(e.isCallOrNewExpression(c)?x=c:(e.isCallExpressionTarget(c)||e.isNewExpressionTarget(c)||c.parent&&e.isJsxOpeningLikeElement(c.parent)&&e.isFunctionLike(a.valueDeclaration))&&(x=c.parent),x){T=n.getResolvedSignature(x);var L=196===x.kind||e.isCallExpression(x)&&101===x.expression.kind,C=L?m.getConstructSignatures():m.getCallSignatures();if(e.contains(C,T.target)||e.contains(C,T)||(T=C.length?C[0]:void 0),T){switch(L&&32&v?(h="constructor",J(m.symbol,h)):2097152&v?(h="alias",X(h),y.push(e.spacePart()),L&&(y.push(e.keywordPart(98)),y.push(e.spacePart())),z(a)):J(a,h),h){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":y.push(e.punctuationPart(58)),y.push(e.spacePart()),16&e.getObjectFlags(m)||!m.symbol||(e.addRange(y,e.symbolToDisplayParts(n,m.symbol,s,void 0,5)),y.push(e.lineBreakPart())),L&&(y.push(e.keywordPart(98)),y.push(e.spacePart())),Y(T,C,262144);break;default:Y(T,C)}b=!0}}else if(e.isNameOfFunctionDeclaration(c)&&!(98304&v)||128===c.kind&&161===c.parent.kind){var A=c.parent,D=a.declarations&&e.find(a.declarations,(function(e){return e===(128===c.kind?A.parent:A)}));if(D){C=161===A.kind?m.getNonNullableType().getConstructSignatures():m.getNonNullableType().getCallSignatures();T=n.isImplementationOfOverload(A)?C[0]:n.getSignatureFromDeclaration(A),161===A.kind?(h="constructor",J(m.symbol,h)):J(164!==A.kind||2048&m.symbol.flags||4096&m.symbol.flags?a:m.symbol,h),Y(T,C),b=!0}}}if(32&v&&!b&&!E&&(W(),e.getDeclarationOfKind(a,213)?X("local class"):y.push(e.keywordPart(79)),y.push(e.spacePart()),z(a),Q(a,o)),64&v&&2&l&&(H(),y.push(e.keywordPart(113)),y.push(e.spacePart()),z(a),Q(a,o)),524288&v&&2&l&&(H(),y.push(e.keywordPart(144)),y.push(e.spacePart()),z(a),Q(a,o),y.push(e.spacePart()),y.push(e.operatorPart(62)),y.push(e.spacePart()),e.addRange(y,e.typeToDisplayParts(n,n.getDeclaredTypeOfSymbol(a),s,8388608))),384&v&&(H(),e.some(a.declarations,(function(n){return e.isEnumDeclaration(n)&&e.isEnumConst(n)}))&&(y.push(e.keywordPart(80)),y.push(e.spacePart())),y.push(e.keywordPart(87)),y.push(e.spacePart()),z(a)),1536&v&&!E){H();var k=e.getDeclarationOfKind(a,248),N=k&&k.name&&75===k.name.kind;y.push(e.keywordPart(N?135:134)),y.push(e.spacePart()),z(a)}if(262144&v&&2&l)if(H(),y.push(e.punctuationPart(20)),y.push(e.textPart("type parameter")),y.push(e.punctuationPart(21)),y.push(e.spacePart()),z(a),a.parent)q(),z(a.parent,s),Q(a.parent,s);else{var I=e.getDeclarationOfKind(a,154);if(void 0===I)return e.Debug.fail();k=I.parent;if(k)if(e.isFunctionLikeKind(k.kind)){q();T=n.getSignatureFromDeclaration(k);165===k.kind?(y.push(e.keywordPart(98)),y.push(e.spacePart())):164!==k.kind&&k.name&&z(k.symbol),e.addRange(y,e.signatureToDisplayParts(n,T,o,32))}else 246===k.kind&&(q(),y.push(e.keywordPart(144)),y.push(e.spacePart()),z(k.symbol),Q(k.symbol,o))}if(8&v){h="enum member",J(a,"enum member");k=a.declarations[0];if(282===k.kind){var O=n.getConstantValue(k);void 0!==O&&(y.push(e.spacePart()),y.push(e.operatorPart(62)),y.push(e.spacePart()),y.push(e.displayPart(e.getTextOfConstantValue(O),"number"===typeof O?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}}if(2097152&v){if(H(),!b){var M=n.getAliasedSymbol(a);if(M!==a&&M.declarations&&M.declarations.length>0){var w=M.declarations[0],R=e.getNameOfDeclaration(w);if(R){var P=e.isModuleWithStringLiteralName(w)&&e.hasModifier(w,2),F="default"!==a.name&&!P,G=i(n,M,e.getSourceFileOfNode(w),w,R,l,F?a:M);y.push.apply(y,G.displayParts),y.push(e.lineBreakPart()),_=G.documentation,g=G.tags}}}switch(a.declarations[0].kind){case 251:y.push(e.keywordPart(88)),y.push(e.spacePart()),y.push(e.keywordPart(135));break;case 258:y.push(e.keywordPart(88)),y.push(e.spacePart()),y.push(e.keywordPart(a.declarations[0].isExportEquals?62:83));break;case 261:y.push(e.keywordPart(88));break;default:y.push(e.keywordPart(95))}y.push(e.spacePart()),z(a),e.forEach(a.declarations,(function(t){if(252===t.kind){var r=t;if(e.isExternalModuleImportEqualsDeclaration(r))y.push(e.spacePart()),y.push(e.operatorPart(62)),y.push(e.spacePart()),y.push(e.keywordPart(138)),y.push(e.punctuationPart(20)),y.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(r)),e.SymbolDisplayPartKind.stringLiteral)),y.push(e.punctuationPart(21));else{var a=n.getSymbolAtLocation(r.moduleReference);a&&(y.push(e.spacePart()),y.push(e.operatorPart(62)),y.push(e.spacePart()),z(a,s))}return!0}}))}if(!b)if(""!==h){if(m)if(E?(H(),y.push(e.keywordPart(103))):J(a,h),"property"===h||"JSX attribute"===h||3&v||"local var"===h||E)if(y.push(e.punctuationPart(58)),y.push(e.spacePart()),m.symbol&&262144&m.symbol.flags){var B=e.mapToDisplayParts((function(t){var r=n.typeParameterToDeclaration(m,s);K().writeNode(4,r,e.getSourceFileOfNode(e.getParseTreeNode(s)),t)}));e.addRange(y,B)}else e.addRange(y,e.typeToDisplayParts(n,m,s));else if(16&v||8192&v||16384&v||131072&v||98304&v||"method"===h){C=m.getNonNullableType().getCallSignatures();C.length&&Y(C[0],C)}}else h=t(n,a,c);if(!d&&(d=a.getDocumentationComment(n),p=a.getJsDocTags(),0===d.length&&4&v&&a.parent&&e.forEach(a.parent.declarations,(function(e){return 288===e.kind}))))for(var V=0,U=a.declarations;V0))break}}return 0===d.length&&_&&(d=_),0===p.length&&g&&(p=g),{displayParts:y,documentation:d,symbolKind:h,tags:0===p.length?void 0:p};function K(){return f||(f=e.createPrinter({removeComments:!0})),f}function H(){y.length&&y.push(e.lineBreakPart()),W()}function W(){u&&(X("alias"),y.push(e.spacePart()))}function q(){y.push(e.spacePart()),y.push(e.keywordPart(96)),y.push(e.spacePart())}function z(t,r){u&&t===a&&(t=u);var i=e.symbolToDisplayParts(n,t,r||o,void 0,7);e.addRange(y,i),16777216&a.flags&&y.push(e.punctuationPart(57))}function J(n,t){H(),t&&(X(t),n&&!e.some(n.declarations,(function(n){return e.isArrowFunction(n)||(e.isFunctionExpression(n)||e.isClassExpression(n))&&!n.name}))&&(y.push(e.spacePart()),z(n)))}function X(n){switch(n){case"var":case"function":case"let":case"const":case"constructor":return void y.push(e.textOrKeywordPart(n));default:return y.push(e.punctuationPart(20)),y.push(e.textOrKeywordPart(n)),void y.push(e.punctuationPart(21))}}function Y(t,r,a){void 0===a&&(a=0),e.addRange(y,e.signatureToDisplayParts(n,t,s,32|a)),r.length>1&&(y.push(e.spacePart()),y.push(e.punctuationPart(20)),y.push(e.operatorPart(39)),y.push(e.displayPart((r.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),y.push(e.spacePart()),y.push(e.textPart(2===r.length?"overload":"overloads")),y.push(e.punctuationPart(21)));var i=t.getDocumentationComment(n);d=0===i.length?void 0:i,p=t.getJsDocTags()}function Q(t,r){var a=e.mapToDisplayParts((function(a){var i=n.symbolToTypeParameterDeclarations(t,r);K().writeList(53776,i,e.getSourceFileOfNode(e.getParseTreeNode(r)),a)}));e.addRange(y,a)}}function o(n){return!n.parent&&e.forEach(n.declarations,(function(n){if(200===n.kind)return!0;if(241!==n.kind&&243!==n.kind)return!1;for(var t=n.parent;!e.isFunctionBlock(t);t=t.parent)if(288===t.kind||249===t.kind)return!1;return!0}))}n.getSymbolKind=t,n.getSymbolModifiers=a,n.getSymbolDisplayPartsDocumentationAndSymbolKind=i})(e.SymbolDisplay||(e.SymbolDisplay={}))}(u||(u={})),function(e){function n(n,t){var r=[],i=t.compilerOptions?a(t.compilerOptions,r):{},o=e.getDefaultCompilerOptions();for(var s in o)e.hasProperty(o,s)&&void 0===i[s]&&(i[s]=o[s]);for(var c=0,l=e.transpileOptionValueCompilerOptions;c>=u;return t}function _(n,t){var r=1+(n>>t&d);return e.Debug.assert((r&d)===r,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),n&~(d<=r.length)return!1;var t=r[a];if(n.end<=t.start)return!1;if(e.startEndOverlapsWithStartEnd(n.pos,n.end,t.start,t.start+t.length))return!0;a++}};function i(){return!1}}function h(n,t,r){var a=n.getStart(r);if(a===t.pos&&n.end===t.end)return a;var i=e.findPrecedingToken(t.pos,r);return i?i.end>=t.pos?n.pos:i.end:n.pos}function b(e,t,r){var a,i=-1;while(e){var o=r.getLineAndCharacterOfPosition(e.getStart(r)).line;if(-1!==i&&o!==i)break;if(n.SmartIndenter.shouldIndentChildNode(t,e,a,r))return t.indentSize;i=o,a=e,e=e.parent}return 0}function E(e,t,r,a,i,o){var s={pos:0,end:t.text.length};return n.getFormattingScanner(t.text,r,s.pos,s.end,(function(n){return x(s,e,a,i,n,o,1,(function(e){return!1}),t)}))}function T(n,t,r,a){if(!n)return[];var i={pos:e.getLineStartPositionForPosition(n.getStart(t),t),end:n.end};return S(i,t,r,a)}function S(e,t,r,a){var i=y(e,t);return n.getFormattingScanner(t.text,t.languageVariant,h(i,e,t),e.end,(function(o){return x(e,i,n.SmartIndenter.getIndentationForNode(i,e,t,r.options),b(i,r.options,t),o,r,a,v(t.parseDiagnostics,e),t)}))}function x(t,r,a,i,o,s,c,l,u){var d,p,m,f,_=s.options,g=s.getRules,y=new n.FormattingContext(u,c,_),v=-1,h=[];if(o.advance(),o.isOnToken()){var b=u.getLineAndCharacterOfPosition(r.getStart(u)).line,E=b;r.decorators&&(E=u.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(r,u)).line),N(r,r,b,E,a,i)}if(!o.isOnToken()){var T=o.getCurrentLeadingTrivia();T&&(I(T,a,!1,(function(e){return M(e,u.getLineAndCharacterOfPosition(e.pos),r,r,void 0)})),U())}return h;function S(t,r,a,i,o){if(e.rangeOverlapsWithStartEnd(i,t,r)||e.rangeContainsStartEnd(i,t,r)){if(-1!==o)return o}else{var s=u.getLineAndCharacterOfPosition(t).line,c=e.getLineStartPositionForPosition(t,u),l=n.SmartIndenter.findFirstNonWhitespaceColumn(c,t,u,_);if(s!==a||t===l){var d=n.SmartIndenter.getBaseIndentation(_);return d>l?d:l}}return-1}function x(e,t,r,a,i,o){var s=n.SmartIndenter.shouldIndentChildNode(_,e)?_.indentSize:0;return o===t?{indentation:t===f?v:i.getIndentation(),delta:Math.min(_.indentSize,i.getDelta(e)+s)}:-1===r?20===e.kind&&t===f?{indentation:v,delta:i.getDelta(e)}:n.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(a,e,t,u)||n.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(a,e,t,u)?{indentation:i.getIndentation(),delta:s}:{indentation:i.getIndentation()+i.getDelta(e),delta:s}:{indentation:r,delta:s}}function L(n){if(n.modifiers&&n.modifiers.length)return n.modifiers[0].kind;switch(n.kind){case 244:return 79;case 245:return 113;case 243:return 93;case 247:return 247;case 162:return 130;case 163:return 141;case 160:if(n.asteriskToken)return 41;case 158:case 155:var t=e.getNameOfDeclaration(n);if(t)return t.kind}}function k(e,t,r,a){return{getIndentationForComment:function(e,n,t){switch(e){case 19:case 23:case 21:return r+o(t)}return-1!==n?n:r},getIndentationForToken:function(e,n,t,a){return!a&&i(e,n,t)?r+o(t):r},getIndentation:function(){return r},getDelta:o,recomputeIndentation:function(t){e.parent&&n.SmartIndenter.shouldIndentChildNode(_,e.parent,e,u)&&(r+=t?_.indentSize:-_.indentSize,a=n.SmartIndenter.shouldIndentChildNode(_,e)?_.indentSize:0)}};function i(n,r,a){switch(r){case 18:case 19:case 21:case 86:case 110:case 59:return!1;case 43:case 31:switch(a.kind){case 266:case 267:case 265:return!1}break;case 22:case 23:if(185!==a.kind)return!1;break}return t!==n&&!(e.decorators&&r===L(e))}function o(t){return n.SmartIndenter.nodeWillIndentChild(_,e,t,u,!0)?a:0}}function N(r,a,i,s,c,g){if(e.rangeOverlapsWithStartEnd(t,r.getStart(u),r.getEnd())){var y=k(r,i,c,g),h=a;e.forEachChild(r,(function(e){T(e,-1,r,y,i,s,!1)}),(function(e){L(e,r,i,y)}));while(o.isOnToken()){var b=o.readTokenInfo(r);if(b.token.end>r.end)break;D(b,r,y,r)}if(!r.parent&&o.isOnEOF()){var E=o.readEOFTokenRange();E.end<=r.end&&d&&w(E,u.getLineAndCharacterOfPosition(E.pos).line,r,d,m,p,a,y)}}function T(n,a,i,s,c,l,d,p){var m=n.getStart(u),f=u.getLineAndCharacterOfPosition(m).line,_=f;n.decorators&&(_=u.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(n,u)).line);var g=-1;if(d&&e.rangeContainsRange(t,i)&&(g=S(m,n.end,c,t,a),-1!==g&&(a=g)),!e.rangeOverlapsWithStartEnd(t,n.pos,n.end))return n.endm)break;D(y,r,s,r)}if(!o.isOnToken())return a;if(e.isToken(n)&&11!==n.kind){y=o.readTokenInfo(n);return e.Debug.assert(y.token.end===n.end,"Token end is child end"),D(y,r,s,n),a}var v=156===n.kind?f:l,b=x(n,f,g,r,s,v);if(N(n,h,f,_,b.indentation,b.delta),11===n.kind){var E={pos:n.getStart(),end:n.getEnd()};G(E,b.indentation,!0,!1)}return h=r,p&&191===i.kind&&-1===a&&(a=b.indentation),a}function L(t,a,i,s){e.Debug.assert(e.isNodeArray(t));var c=C(a,t),l=s,d=i;if(0!==c)while(o.isOnToken()){var p=o.readTokenInfo(a);if(p.token.end>t.pos)break;if(p.token.kind===c){d=u.getLineAndCharacterOfPosition(p.token.pos).line,D(p,a,s,a);var m=void 0;if(-1!==v)m=v;else{var f=e.getLineStartPositionForPosition(p.token.pos,u);m=n.SmartIndenter.findFirstNonWhitespaceColumn(f,p.token.pos,u,_)}l=k(a,i,m,_.indentSize)}else D(p,a,s,a)}for(var g=-1,y=0;y0){var T=D(E,_);K(h,b.character,T)}else j(h,b.character)}}}}else a||R(t.pos,r,!1)}function B(n,t,r){for(var a=n;ao)){var s=V(i,o);-1!==s&&(e.Debug.assert(s===i||!e.isWhiteSpaceSingleLine(u.text.charCodeAt(s-1))),j(s,o+1-s))}}}function V(n,t){var r=t;while(r>=n&&e.isWhiteSpaceSingleLine(u.text.charCodeAt(r)))r--;return r!==t?r+1:-1}function U(){var e=d?d.end:t.pos,n=u.getLineAndCharacterOfPosition(e).line,r=u.getLineAndCharacterOfPosition(t.end).line;B(n,r+1,d)}function j(n,t){t&&h.push(e.createTextChangeFromStartLength(n,t,""))}function K(n,t,r){(t||r)&&h.push(e.createTextChangeFromStartLength(n,t,r))}function H(n,t){t&&h.push(e.createTextChangeFromStartLength(n,0,t))}function W(e,n,t,r,a){var i=a!==t;switch(e.action){case 1:return 0;case 16:if(n.end!==r.pos)return j(n.end,r.pos-n.end),i?2:0;break;case 32:j(n.pos,n.end-n.pos);break;case 8:if(1!==e.flags&&t!==a)return 0;var o=a-t;if(1!==o)return K(n.end,r.pos-n.end,_.newLineCharacter),i?0:1;break;case 4:if(1!==e.flags&&t!==a)return 0;var s=r.pos-n.end;if(1!==s||32!==u.text.charCodeAt(n.end))return K(n.end,r.pos-n.end," "),i?2:0;break;case 64:H(n.end,";")}return 0}}function L(n,t,r,a){void 0===a&&(a=e.getTokenAtPosition(n,t));var i=e.findAncestor(a,e.isJSDoc);i&&(a=i.parent);var o=a.getStart(n);if(!(o<=t&&tr.text.length)return u(a);if(a.indentStyle===e.IndentStyle.None)return 0;var l=e.findPrecedingToken(t,r,void 0,!0),d=n.getRangeOfEnclosingComment(r,t,l||null);if(d&&3===d.kind)return o(r,t,a,d);if(!l)return u(a);var p=e.isStringOrRegularExpressionOrTemplateLiteral(l.kind);if(p&&l.getStart(r)<=t&&t=0),i<=o)return k(e.getStartPositionOfLine(o,n),t,n,r);var s=e.getStartPositionOfLine(i,n),c=D(s,t,n,r),l=c.column,u=c.character;if(0===l)return l;var d=n.text.charCodeAt(s+u);return 42===d?l-1:l}function s(n,t,r){var a=t;while(a>0){var i=n.text.charCodeAt(a);if(!e.isWhiteSpaceLike(i))break;a--}var o=e.getLineStartPositionForPosition(a,n);return k(o,a,n,r)}function c(n,t,r,a,i,o){var s,c=r;while(c){if(e.positionBelongsToNode(c,t,n)&&O(o,c,s,n,!0)){var l=g(c,n),p=_(r,c,a,n),m=0!==p?i&&2===p?o.indentSize:0:a!==l.line?o.indentSize:0;return d(c,l,void 0,m,n,!0,o)}var f=L(c,n,o,!0);if(-1!==f)return f;s=c,c=c.parent}return u(o)}function l(e,n,t,r){var a=t.getLineAndCharacterOfPosition(e.getStart(t));return d(e,a,n,0,t,!1,r)}function u(e){return e.baseIndentSize||0}function d(e,n,t,r,a,i,o){var s=e.parent;while(s){var c=!0;if(t){var l=e.getStart(a);c=lt.end}var d=p(s,e,a),m=d.line===n.line||v(s,e,n.line,a);if(c){var _=L(e,a,o,!m);if(-1!==_)return _+r;if(_=f(e,s,n,m,a,o),-1!==_)return _+r}O(o,s,e,a,i)&&!m&&(r+=o.indentSize);var g=y(s,e,n.line,a);e=s,s=e.parent,n=g?a.getLineAndCharacterOfPosition(e.getStart(a)):d}return r+u(o)}function p(e,n,t){var r=b(n,t),a=r?r.pos:e.getStart(t);return t.getLineAndCharacterOfPosition(a)}function m(n,t,r){var a=e.findListItemInfo(n);return a&&a.listItemIndex>0?C(a.list.getChildren(),a.listItemIndex-1,t,r):-1}function f(n,t,r,a,i,o){var s=(e.isDeclaration(n)||e.isStatementButNotDeclaration(n))&&(288===t.kind||!a);return s?A(r,i,o):-1}function _(n,t,r,a){var i=e.findNextToken(n,t,a);if(!i)return 0;if(18===i.kind)return 1;if(19===i.kind){var o=g(i,a).line;return r===o?2:0}return 0}function g(e,n){return n.getLineAndCharacterOfPosition(e.getStart(n))}function y(n,t,r,a){if(!e.isCallExpression(n)||!e.contains(n.arguments,t))return!1;var i=n.expression.getEnd(),o=e.getLineAndCharacterOfPosition(a,i).line;return o===r}function v(n,t,r,a){if(226===n.kind&&n.elseStatement===t){var i=e.findChildOfKind(n,86,a);e.Debug.assert(void 0!==i);var o=g(i,a).line;return o===r}return!1}function h(n,t,r,a){if(e.isCallOrNewExpression(n)){if(!n.arguments)return!1;var i=e.find(n.arguments,(function(e){return e.pos===t.pos}));if(!i)return!1;var o=n.arguments.indexOf(i);if(0===o)return!1;var s=n.arguments[o-1],c=e.getLineAndCharacterOfPosition(a,s.getEnd()).line;if(r===c)return!0}return!1}function b(e,n){return e.parent&&T(e.getStart(n),e.getEnd(),e.parent,n)}function E(e,n,t){return n&&T(e,e,n,t)}function T(n,t,r,a){switch(r.kind){case 168:return i(r.typeArguments);case 192:return i(r.properties);case 191:return i(r.elements);case 172:return i(r.members);case 243:case 200:case 201:case 160:case 159:case 164:case 161:case 170:case 165:return i(r.typeParameters)||i(r.parameters);case 244:case 213:case 245:case 246:case 314:return i(r.typeParameters);case 196:case 195:return i(r.typeArguments)||i(r.arguments);case 242:return i(r.declarations);case 256:case 260:return i(r.elements);case 188:case 189:return i(r.elements)}function i(i){return i&&e.rangeContainsStartEnd(S(r,i,a),n,t)?i:void 0}}function S(e,n,t){for(var r=e.getChildren(t),a=1;a=0&&t=0;s--)if(27!==n[s].kind){var c=r.getLineAndCharacterOfPosition(n[s].end).line;if(c!==o.line)return A(o,r,a);o=g(n[s],r)}return-1}function A(e,n,t){var r=n.getPositionOfLineAndCharacter(e.line,0);return k(r,r+e.character,n,t)}function D(n,t,r,a){for(var i=0,o=0,s=n;s0?1:0,p=e.getStartPositionOfLine(e.getLineOfLocalPosition(n,s)+d,n);return p=u(n.text,p),e.getStartPositionOfLine(e.getLineOfLocalPosition(n,p),n)}function g(n,t,r){var a=t.end,i=r.trailingTriviaOption;if(i===l.Exclude||e.isExpression(t)&&i!==l.Include)return a;var o=e.skipTrivia(n.text,a,!0);return o===a||i!==l.Include&&!e.isLineBreak(n.text.charCodeAt(o-1))?a:o}function y(e,n){return!!n&&!!e.parent&&(27===n.kind||26===n.kind&&192===e.parent.kind)}function v(e){for(var n="",t=0;t"})},n.prototype.getOptionsForInsertNodeBefore=function(n,t){return e.isStatement(n)||e.isClassElement(n)?{suffix:t?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(n)?{suffix:", "}:e.isParameter(n)?{}:e.isStringLiteral(n)&&e.isImportDeclaration(n.parent)||e.isNamedImports(n)?{suffix:", "}:e.Debug.failBadSyntaxKind(n)},n.prototype.insertNodeAtConstructorStart=function(n,t,r){var a=e.firstOrUndefined(t.body.statements);a&&t.body.multiLine?this.insertNodeBefore(n,a,r):this.replaceConstructorBody(n,t,i([r],t.body.statements))},n.prototype.insertNodeAtConstructorEnd=function(n,t,r){var a=e.lastOrUndefined(t.body.statements);a&&t.body.multiLine?this.insertNodeAfter(n,a,r):this.replaceConstructorBody(n,t,i(t.body.statements,[r]))},n.prototype.replaceConstructorBody=function(n,t,r){this.replaceNode(n,t.body,e.createBlock(r,!0))},n.prototype.insertNodeAtEndOfScope=function(n,t,r){var a=_(n,t.getLastToken(),{});this.insertNodeAt(n,a,r,{prefix:e.isLineBreak(n.text.charCodeAt(t.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},n.prototype.insertNodeAtClassStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},n.prototype.insertNodeAtObjectStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},n.prototype.insertNodeAtStartWorker=function(n,t,r){var a=t.getStart(n),i=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(e.getLineStartPositionForPosition(a,n),a,n,this.formatContext.options)+this.formatContext.options.indentSize;this.insertNodeAt(n,L(t).pos,r,o({indentation:i},this.getInsertNodeAtStartPrefixSuffix(n,t)))},n.prototype.getInsertNodeAtStartPrefixSuffix=function(n,t){var r=e.isObjectLiteralExpression(t)?",":"";if(0===L(t).length){if(e.addToSeen(this.classesWithNodesInsertedAtStart,e.getNodeId(t),{node:t,sourceFile:n})){var a=e.positionsAreOnSameLine.apply(void 0,i(x(t,n),[n]));return{prefix:this.newLineCharacter,suffix:r+(a?this.newLineCharacter:"")}}return{prefix:"",suffix:r+this.newLineCharacter}}return{prefix:this.newLineCharacter,suffix:r}},n.prototype.insertNodeAfterComma=function(e,n,t){var r=this.insertNodeAfterWorker(e,this.nextCommaToken(e,n)||n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},n.prototype.insertNodeAfter=function(e,n,t){var r=this.insertNodeAfterWorker(e,n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},n.prototype.insertNodeAtEndOfList=function(e,n,t){this.insertNodeAt(e,n.end,t,{prefix:", "})},n.prototype.insertNodesAfter=function(n,t,r){var a=this.insertNodeAfterWorker(n,t,e.first(r));this.insertNodesAt(n,a,r,this.getInsertNodeAfterOptions(n,t))},n.prototype.insertNodeAfterWorker=function(n,t,r){w(t,r)&&59!==n.text.charCodeAt(t.end-1)&&this.replaceRange(n,e.createRange(t.end),e.createToken(26));var a=g(n,t,{});return a},n.prototype.getInsertNodeAfterOptions=function(n,t){var r=this.getInsertNodeAfterOptionsWorker(t);return o(o({},r),{prefix:t.end===n.end&&e.isStatement(t)?r.prefix?"\n"+r.prefix:"\n":r.prefix})},n.prototype.getInsertNodeAfterOptionsWorker=function(n){switch(n.kind){case 244:case 248:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 241:case 10:case 75:return{prefix:", "};case 279:return{suffix:","+this.newLineCharacter};case 88:return{prefix:" "};case 155:return{};default:return e.Debug.assert(e.isStatement(n)||e.isClassOrTypeElement(n)),{suffix:this.newLineCharacter}}},n.prototype.insertName=function(n,t,r){if(e.Debug.assert(!t.name),201===t.kind){var a=e.findChildOfKind(t,38,n),i=e.findChildOfKind(t,20,n);i?(this.insertNodesAt(n,i.getStart(n),[e.createToken(93),e.createIdentifier(r)],{joiner:" "}),R(this,n,a)):(this.insertText(n,e.first(t.parameters).getStart(n),"function "+r+"("),this.replaceRange(n,a,e.createToken(21))),222!==t.body.kind&&(this.insertNodesAt(n,t.body.getStart(n),[e.createToken(18),e.createToken(100)],{joiner:" ",suffix:" "}),this.insertNodesAt(n,t.body.end,[e.createToken(26),e.createToken(19)],{joiner:" "}))}else{var o=e.findChildOfKind(t,200===t.kind?93:79,n).end;this.insertNodeAt(n,o,e.createIdentifier(r),{prefix:" "})}},n.prototype.insertExportModifier=function(e,n){this.insertText(e,n.getStart(e),"export ")},n.prototype.insertNodeInListAfter=function(n,t,r,a){if(void 0===a&&(a=e.formatting.SmartIndenter.getContainingList(t,n)),a){var i=e.indexOfNode(a,t);if(!(i<0)){var o=t.getEnd();if(i!==a.length-1){var s=e.getTokenAtPosition(n,t.end);if(s&&y(t,s)){var c=e.getLineAndCharacterOfPosition(n,u(n.text,a[i+1].getFullStart())),l=e.getLineAndCharacterOfPosition(n,s.end),p=void 0,m=void 0;l.line===c.line?(m=s.end,p=v(c.character-l.character)):m=e.getStartPositionOfLine(c.line,n);var f=""+e.tokenToString(s.kind)+n.text.substring(s.end,a[i+1].getStart(n));this.replaceRange(n,e.createRange(m,a[i+1].getStart(n)),r,{prefix:p,suffix:f})}}else{var _=t.getStart(n),g=e.getLineStartPositionForPosition(_,n),h=void 0,b=!1;if(1===a.length)h=27;else{var E=e.findPrecedingToken(t.pos,n);h=y(t,E)?E.kind:27;var T=e.getLineStartPositionForPosition(a[i-1].getStart(n),n);b=T!==g}if(d(n.text,t.end)&&(b=!0),b){this.replaceRange(n,e.createRange(o),e.createToken(h));var S=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(g,_,n,this.formatContext.options),x=e.skipTrivia(n.text,o,!0,!1);x!==o&&e.isLineBreak(n.text.charCodeAt(x-1))&&x--,this.replaceRange(n,e.createRange(x),r,{indentation:S,prefix:this.newLineCharacter})}else this.replaceRange(n,e.createRange(o),r,{prefix:e.tokenToString(h)+" "})}}}else e.Debug.fail("node is not a list element")},n.prototype.parenthesizeExpression=function(n,t){this.replaceRange(n,e.rangeOfNode(t),e.createParen(t))},n.prototype.finishClassesWithNodesInsertedAtStart=function(){var n=this;this.classesWithNodesInsertedAtStart.forEach((function(t){var r=t.node,a=t.sourceFile,i=x(r,a),o=i[0],s=i[1];e.positionsAreOnSameLine(o,s,a)&&o!==s-1&&n.deleteRange(a,e.createRange(o,s-1))}))},n.prototype.finishDeleteDeclarations=function(){for(var n=this,t=new e.NodeSet,r=function(n,r){a.deletedNodes.some((function(t){return t.sourceFile===n&&e.rangeContainsRangeExclusive(t.node,r)}))||(e.isArray(r)?a.deleteRange(n,e.rangeOfTypeParameters(r)):E.deleteDeclaration(a,t,n,r))},a=this,i=0,o=this.deletedNodes;i=0;r--){var a=t[r],i=a.span,o=a.newText;n=""+n.substring(0,i.start)+o+n.substring(e.textSpanEnd(i))}return n}function D(n){return e.skipTrivia(n,0)===n.length}function k(n){var r=e.visitEachChild(n,k,e.nullTransformationContext,N,k),i=e.nodeIsSynthesized(r)?r:Object.create(r);return i.pos=t(n),i.end=a(n),i}function N(n,r,i,o,s){var c=e.visitNodes(n,r,i,o,s);if(!c)return c;var l=c===n?e.createNodeArray(c.slice(0)):c;return l.pos=t(n),l.end=a(n),l}function I(n){var t=0,a=e.createTextWriter(n),i=function(e,n,a){n&&r(n,t),a(e,n),n&&s(n,t)},o=function(e){e&&r(e,t)},c=function(e){e&&s(e,t)},l=function(e){e&&r(e,t)},u=function(e){e&&s(e,t)};function d(n,r){if(r||!D(n)){t=a.getTextPos();var i=0;while(e.isWhiteSpaceLike(n.charCodeAt(n.length-i-1)))i++;t-=i}}function p(e){a.write(e),d(e,!1)}function m(e){a.writeComment(e)}function f(e){a.writeKeyword(e),d(e,!1)}function _(e){a.writeOperator(e),d(e,!1)}function g(e){a.writePunctuation(e),d(e,!1)}function y(e){a.writeTrailingSemicolon(e),d(e,!1)}function v(e){a.writeParameter(e),d(e,!1)}function h(e){a.writeProperty(e),d(e,!1)}function b(e){a.writeSpace(e),d(e,!1)}function E(e){a.writeStringLiteral(e),d(e,!1)}function T(e,n){a.writeSymbol(e,n),d(e,!1)}function S(){a.writeLine()}function x(){a.increaseIndent()}function L(){a.decreaseIndent()}function C(){return a.getText()}function A(e){a.rawWrite(e),d(e,!1)}function k(e){a.writeLiteral(e),d(e,!0)}function N(){return a.getTextPos()}function I(){return a.getLine()}function O(){return a.getColumn()}function M(){return a.getIndent()}function w(){return a.isAtStartOfLine()}function R(){a.clear(),t=0}return{onEmitNode:i,onBeforeEmitNodeArray:o,onAfterEmitNodeArray:c,onBeforeEmitToken:l,onAfterEmitToken:u,write:p,writeComment:m,writeKeyword:f,writeOperator:_,writePunctuation:g,writeTrailingSemicolon:y,writeParameter:v,writeProperty:h,writeSpace:b,writeStringLiteral:E,writeSymbol:T,writeLine:S,increaseIndent:x,decreaseIndent:L,getText:C,rawWrite:A,writeLiteral:k,getTextPos:N,getLine:I,getColumn:O,getIndent:M,isAtStartOfLine:w,hasTrailingComment:function(){return a.hasTrailingComment()},hasTrailingWhitespace:function(){return a.hasTrailingWhitespace()},clear:R}}function O(n){for(var t,r=0,a=n.statements;re.textSpanEnd(r)?"quit":e.isExpression(t)&&e.textSpansEqual(r,e.createTextSpanFromNode(t,n))}));return s&&l(n,t,r,a,i)&&f(s)?s:void 0}function d(n,t,r,a,i){var o=p(n,i);if(o){for(var s,c=o.isCompleteFix,l=function(n){var o=i.getSymbolAtLocation(n);if(!o)return"continue";var l=e.tryCast(o.valueDeclaration,e.isVariableDeclaration),u=l&&e.tryCast(l.name,e.isIdentifier),d=e.getAncestor(l,224);if(!l||!d||l.type||!l.initializer||d.getSourceFile()!==t||e.hasModifier(d,1)||!u||!f(l.initializer))return c=!1,"continue";var p=a.getSemanticDiagnostics(t,r),_=e.FindAllReferences.Core.eachSymbolReferenceInFile(u,i,t,(function(e){return n!==e&&!m(e,p,t,i)}));if(_)return c=!1,"continue";(s||(s=[])).push({expression:l.initializer,declarationSymbol:o})},u=0,d=o.identifiers;u0)return[n.createCodeFixAction(t,i,e.Diagnostics.Add_const_to_unresolved_variable,t,e.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[t],getAllCodeActions:function(t){var i=new e.NodeSet;return n.codeFixAll(t,r,(function(e,n){return a(e,n.file,n.start,t.program,i)}))}})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="addMissingDeclareProperty",r=[e.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code];function a(n,t,r,a){var i=e.getTokenAtPosition(t,r);if(e.isIdentifier(i)){var o=i.parent;158!==o.kind||a&&!a.tryAdd(o)||n.insertModifierBefore(t,129,o)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Prefix_with_declare,t,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[t],getAllCodeActions:function(t){var i=new e.NodeSet;return n.codeFixAll(t,r,(function(e,n){return a(e,n.file,n.start,i)}))}})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="addMissingInvocationForDecorator",r=[e.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r),i=e.findAncestor(a,e.isDecorator);e.Debug.assert(!!i,"Expected position to be owned by a decorator.");var o=e.createCall(i.expression,void 0,void 0);n.replaceNode(t,i.expression,o)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Call_decorator_expression,t,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="addNameToNamelessParameter",r=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r);if(!e.isIdentifier(a))return e.Debug.fail("add-name-to-nameless-parameter operates on identifiers, but got a "+e.Debug.formatSyntaxKind(a.kind));var i=a.parent;if(!e.isParameter(i))return e.Debug.fail("Tried to add a parameter name to a non-parameter: "+e.Debug.formatSyntaxKind(a.kind));var o=i.parent.parameters.indexOf(i);e.Debug.assert(!i.type,"Tried to add a parameter name to a parameter that already had one."),e.Debug.assert(o>-1,"Parameter not found in parent parameter list.");var s=e.createParameter(void 0,i.modifiers,i.dotDotDotToken,"arg"+o,i.questionToken,e.createTypeReferenceNode(a,void 0),i.initializer);n.replaceNode(t,a,s)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Add_parameter_name,t,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="annotateWithTypeFromJSDoc",r=[e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];function a(n,t){var r=e.getTokenAtPosition(n,t);return e.tryCast(e.isParameter(r.parent)?r.parent.parent:r.parent,i)}function i(e){return c(e)&&o(e)}function o(n){return e.isFunctionLikeDeclaration(n)?n.parameters.some(o)||!n.type&&!!e.getJSDocReturnType(n):!n.type&&!!e.getJSDocType(n)}function s(n,t,r){if(e.isFunctionLikeDeclaration(r)&&(e.getJSDocReturnType(r)||r.parameters.some((function(n){return!!e.getJSDocType(n)})))){if(!r.typeParameters){var a=e.getJSDocTypeParameterDeclarations(r);a.length&&n.insertTypeParameters(t,r,a)}var i=e.isArrowFunction(r)&&!e.findChildOfKind(r,20,t);i&&n.insertNodeBefore(t,e.first(r.parameters),e.createToken(20));for(var o=0,s=r.parameters;o0)return b;var E=o.checker.getTypeAtLocation(n),S=x(E,o.checker).getReturnType(),A=e.getSynthesizedDeepClone(m),D=o.checker.getPromisedTypeOfPromise(S)?e.createAwait(A):A;if(s)return[e.createReturn(D)];var k=T(t,D,o);return t&&t.types.push(S),k;default:i=!1;break}return e.emptyArray}function x(n,t){var r=t.getSignaturesOfType(n,0);return e.lastOrUndefined(r)}function L(n,t,r,a){for(var i=[],o=0,s=n;o0)return}else e.isFunctionLike(i)||e.forEachChild(i,t)}))}return a}function A(n,t){var r,a=0,i=[];if(e.isFunctionLikeDeclaration(n)){if(n.parameters.length>0){var o=n.parameters[0].name;r=s(o)}}else e.isIdentifier(n)&&(r=c(n));if(r&&(!("identifier"in r)||"undefined"!==r.identifier.text))return r;function s(n){if(e.isIdentifier(n))return c(n);var t=e.flatMap(n.elements,(function(n){return e.isOmittedExpression(n)?[]:[s(n.name)]}));return I(n,t)}function c(n){var r=u(n),o=l(r);if(!o)return N(n,i,a);var s=t.synthNamesMap.get(e.getSymbolId(o).toString());return s||N(n,i,a)}function l(e){return e.symbol?e.symbol:t.checker.getSymbolAtLocation(e)}function u(e){return e.original?e.original:e}}function D(n){return!n||(O(n)?!n.identifier.text:e.every(n.elements,D))}function k(e){return O(e)?e.identifier:e.bindingPattern}function N(e,n,t){return void 0===n&&(n=[]),void 0===t&&(t=0),{kind:0,identifier:e,types:n,numberOfAssignmentsOriginal:t}}function I(n,t,r){return void 0===t&&(t=e.emptyArray),void 0===r&&(r=[]),{kind:1,bindingPattern:n,elements:t,types:r}}function O(e){return 0===e.kind}function M(e){return 1===e.kind}n.registerCodeFix({errorCodes:a,getCodeActions:function(t){i=!0;var a=e.textChanges.ChangeTracker.with(t,(function(e){return o(e,t.sourceFile,t.span.start,t.program.getTypeChecker(),t)}));return i?[n.createCodeFixAction(r,a,e.Diagnostics.Convert_to_async_function,r,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[r],getAllCodeActions:function(e){return n.codeFixAll(e,a,(function(n,t){return o(n,t.file,t.start,e.program.getTypeChecker(),e)}))}}),function(e){e[e["Identifier"]=0]="Identifier",e[e["BindingPattern"]=1]="BindingPattern"}(t||(t={}))})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){function t(n,t,r,a){for(var i=0,o=n.imports;i1?[[f(r),_(r)],!0]:[[_(r)],!0]:[[f(r)],!1]}function f(e){return k(void 0,e)}function _(n){return k([e.createExportSpecifier(void 0,"default")],n)}function g(n,t,r){var a=n.left,i=n.right,o=n.parent,s=a.name.text;if(!(e.isFunctionExpression(i)||e.isArrowFunction(i)||e.isClassExpression(i))||i.name&&i.name.text!==s)r.replaceNodeRangeWithNodes(t,a.expression,e.findChildOfKind(a,24,t),[e.createToken(88),e.createToken(80)],{joiner:" ",suffix:" "});else{r.replaceRange(t,{pos:a.getStart(t),end:i.getStart(t)},e.createToken(88),{suffix:" "}),i.name||r.insertName(t,i,s);var c=e.findChildOfKind(o,26,t);c&&r.delete(t,c)}}function y(n,t){var r=[e.createToken(88)];switch(t.kind){case 200:var a=t.name;if(a&&a.text!==n)return i();case 201:return x(n,r,t);case 213:return L(n,r,t);default:return i()}function i(){return D(r,e.createIdentifier(n),t)}}function v(t,r,a,i,o,s,c,l){switch(r.kind){case 188:var u=e.mapAllOrFail(r.elements,(function(n){return n.dotDotDotToken||n.initializer||n.propertyName&&!e.isIdentifier(n.propertyName)||!e.isIdentifier(n.name)?void 0:A(n.propertyName&&n.propertyName.text,n.name.text)}));if(u)return[e.makeImport(void 0,u,a,l)];case 189:var d=b(n.moduleSpecifierToValidIdentifier(a.text,c),s);return[e.makeImport(e.createIdentifier(d),void 0,a,l),D(void 0,e.getSynthesizedDeepClone(r),e.createIdentifier(d))];case 75:return h(t,r,a,i,o,s,l);default:return e.Debug.assertNever(r,"Convert to ES6 module got invalid name kind "+r.kind)}}function h(n,t,r,a,i,o,s){for(var c=i.getSymbolAtLocation(t),l=e.createMap(),u=!1,d=0,p=o.original.get(t.text);d=e.ModuleKind.ES2015)return 1;if(e.isInJSFile(n))return e.isExternalModule(n)?1:4;for(var a=0,i=n.statements;a0&&(!e.isIdentifier(r.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(r.name,a,t))?r.modifiers.forEach((function(e){n.deleteModifier(t,e)})):(n.delete(t,r),b(n,t,r,i,a)))}function h(n,t,r){var a=n.parent;switch(a.kind){case 160:var i=t.getSymbolAtLocation(a.name);if(e.isMemberSymbolInBaseType(i,t))return!1;case 161:case 243:return!0;case 200:case 201:var o=a.parameters,s=o.indexOf(n);return e.Debug.assert(-1!==s,"The parameter should already be in the list"),r?o.slice(s+1).every((function(e){return 75===e.name.kind&&!e.symbol.isReferenced})):s===o.length-1;case 163:return!1;default:return e.Debug.failBadSyntaxKind(a)}}function b(n,t,r,a,i){e.FindAllReferences.Core.eachSignatureCall(r.parent,a,i,(function(e){var a=r.parent.parameters.indexOf(r);e.arguments.length>a&&n.delete(t,e.arguments[a])}))}n.registerCodeFix({errorCodes:o,getCodeActions:function(a){var o=a.errorCode,f=a.sourceFile,g=a.program,y=g.getTypeChecker(),v=g.getSourceFiles(),h=e.getTokenAtPosition(f,a.span.start);if(e.isJSDocTemplateTag(h))return[c(e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(f,h)})),e.Diagnostics.Remove_template_tag)];if(29===h.kind){var b=e.textChanges.ChangeTracker.with(a,(function(e){return l(e,f,h)}));return[c(b,e.Diagnostics.Remove_type_parameters)]}var E=u(h);if(E){b=e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(f,E)}));return[c(b,[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(E)])]}var T=e.textChanges.ChangeTracker.with(a,(function(e){return d(h,e,f,y,v,!1)}));if(T.length)return[c(T,e.Diagnostics.Remove_destructuring)];var S=e.textChanges.ChangeTracker.with(a,(function(e){return p(f,h,e)}));if(S.length)return[c(S,e.Diagnostics.Remove_variable_statement)];var x=[];if(131===h.kind){b=e.textChanges.ChangeTracker.with(a,(function(e){return s(e,f,h)}));var L=e.cast(h.parent,e.isInferTypeNode).typeParameter.name.text;x.push(n.createCodeFixAction(t,b,[e.Diagnostics.Replace_infer_0_with_unknown,L],i,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var C=e.textChanges.ChangeTracker.with(a,(function(e){return _(f,h,e,y,v,!1)}));if(C.length){L=e.isComputedPropertyName(h.parent)?h.parent:h;x.push(c(C,[e.Diagnostics.Remove_declaration_for_Colon_0,L.getText(f)]))}}var A=e.textChanges.ChangeTracker.with(a,(function(e){return m(e,o,f,h)}));return A.length&&x.push(n.createCodeFixAction(t,A,[e.Diagnostics.Prefix_0_with_an_underscore,h.getText(f)],r,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),x},fixIds:[r,a,i],getAllCodeActions:function(t){var c=t.sourceFile,f=t.program,g=f.getTypeChecker(),y=f.getSourceFiles();return n.codeFixAll(t,o,(function(n,o){var f=e.getTokenAtPosition(c,o.start);switch(t.fixId){case r:m(n,o.code,c,f);break;case a:if(131===f.kind)break;var v=u(f);v?n.delete(c,v):e.isJSDocTemplateTag(f)?n.delete(c,f):29===f.kind?l(n,c,f):d(f,n,c,g,y,!0)||p(c,f,n)||_(c,f,n,g,y,!0);break;case i:131===f.kind&&s(n,c,f);break;default:e.Debug.fail(JSON.stringify(t.fixId))}}))}})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="fixUnreachableCode",r=[e.Diagnostics.Unreachable_code_detected.code];function a(n,t,r,a){var o=e.getTokenAtPosition(t,r),s=e.findAncestor(o,e.isStatement);e.Debug.assert(s.getStart(t)===o.getStart(t),"token and statement should start at the same point");var c=(e.isBlock(s.parent)?s.parent:s).parent;if(!e.isBlock(s.parent)||s===e.first(s.parent.statements))switch(c.kind){case 226:if(c.elseStatement){if(e.isBlock(s.parent))break;return void n.replaceNode(t,s,e.createBlock(e.emptyArray))}case 228:case 229:return void n.delete(t,c)}if(e.isBlock(s.parent)){var l=r+a,u=e.Debug.assertDefined(i(e.sliceAfter(s.parent.statements,s),(function(e){return e.posN.length){I=m.getSignatureFromDeclaration(u[u.length-1]);w(I,y,_,d(i))}else e.Debug.assert(u.length===N.length,"Declarations and signatures should match count"),s(l(N,_,h,y,i));break}}function w(e,n,a,i){var c=o(r,e,t,n,a,h,i);c&&s(c)}}function o(n,t,r,i,o,s,c){var l=n.program,u=l.getTypeChecker().signatureToSignatureDeclaration(t,160,r,257,a(n));if(u)return u.decorators=void 0,u.modifiers=i,u.name=o,u.questionToken=s?e.createToken(57):void 0,u.body=c,u}function s(n,t,r,i,o,s,l){var u=!e.isInterfaceDeclaration(l),p=t.typeArguments,m=t.arguments,f=t.parent,_=n.program.getTypeChecker(),g=a(n),y=e.map(m,(function(e){return _.typeToTypeNode(_.getBaseTypeOfLiteralType(_.getTypeAtLocation(e)),l,void 0,g)})),v=e.map(m,(function(n){return e.isIdentifier(n)?n.text:e.isPropertyAccessExpression(n)?n.name.text:void 0})),h=_.getContextualType(t),b=i||!h?void 0:_.typeToTypeNode(h,l,void 0,g);return e.createMethod(void 0,o?[e.createToken(119)]:void 0,e.isYieldExpression(f)?e.createToken(41):void 0,r,void 0,i?void 0:e.map(p,(function(n,t){return e.createTypeParameterDeclaration(84+p.length-1<=90?String.fromCharCode(84+t):"T"+t)})),c(m.length,v,y,void 0,i),b,u?d(s):void 0)}function c(n,t,r,a,i){for(var o=[],s=0;s=a?e.createToken(57):void 0,i?void 0:r&&r[s]||e.createKeywordTypeNode(124),void 0);o.push(c)}return o}function l(n,t,r,a,i){for(var o=n[0],s=n[0].minArgumentCount,l=!1,d=0,p=n;d=o.parameters.length&&(!e.signatureHasRestParameter(m)||e.signatureHasRestParameter(o))&&(o=m)}var f=o.parameters.length-(e.signatureHasRestParameter(o)?1:0),_=o.parameters.map((function(e){return e.name})),g=c(f,_,void 0,s,!1);if(l){var y=e.createArrayTypeNode(e.createKeywordTypeNode(124)),v=e.createParameter(void 0,void 0,e.createToken(25),_[f]||"rest",f>=s?e.createToken(57):void 0,y,void 0);g.push(v)}return u(a,t,r,void 0,g,void 0,i)}function u(n,t,r,a,i,o,s){return e.createMethod(void 0,n,void 0,t,r?e.createToken(57):void 0,a,i,o,d(s))}function d(n){return e.createBlock([e.createThrow(e.createNew(e.createIdentifier("Error"),void 0,[e.createLiteral("Method not implemented.","single"===n.quotePreference)]))],!0)}function p(n){return 4&n?e.createToken(118):16&n?e.createToken(117):void 0}function m(n,t,r,a){var i=e.getTsConfigObjectLiteralExpression(t);if(i){var o=_(i,"compilerOptions");if(void 0!==o){var s=o.initializer;if(e.isObjectLiteralExpression(s)){var c=_(s,r);void 0===c?n.insertNodeAtObjectStart(t,s,f(r,a)):n.replaceNode(t,c.initializer,a)}}else n.insertNodeAtObjectStart(t,i,f("compilerOptions",e.createObjectLiteral([f(r,a)])))}}function f(n,t){return e.createPropertyAssignment(e.createStringLiteral(n),t)}function _(n,t){return e.find(n.properties,(function(n){return e.isPropertyAssignment(n)&&!!n.name&&e.isStringLiteral(n.name)&&n.name.text===t}))}n.createMissingMemberNodes=t,n.getNoopSymbolTrackerWithResolver=a,n.createMethodFromCallExpression=s,n.setJsonCompilerOptionValue=m,n.createJsonPropertyAssignment=f,n.findJsonProperty=_})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="invalidImportSyntax";function r(n,t){var r=e.getSourceFileOfNode(t),i=e.getNamespaceDeclarationNode(t),o=n.program.getCompilerOptions(),s=[];return s.push(a(n,r,t,e.makeImport(i.name,void 0,t.moduleSpecifier,e.getQuotePreference(r,n.preferences)))),e.getEmitModuleKind(o)===e.ModuleKind.CommonJS&&s.push(a(n,r,t,e.createImportEqualsDeclaration(void 0,void 0,i.name,e.createExternalModuleReference(t.moduleSpecifier)))),s}function a(r,a,i,o){var s=e.textChanges.ChangeTracker.with(r,(function(e){return e.replaceNode(a,i,o)}));return n.createCodeFixActionNoFixId(t,s,[e.Diagnostics.Replace_import_with_0,s[0].textChanges[0].newText])}function i(n){var t=n.sourceFile,r=e.Diagnostics.This_expression_is_not_callable.code===n.errorCode?195:196,a=e.findAncestor(e.getTokenAtPosition(t,n.span.start),(function(e){return e.kind===r}));if(!a)return[];var i=a.expression;return s(n,i)}function o(n){var t=n.sourceFile,r=e.findAncestor(e.getTokenAtPosition(t,n.span.start),(function(e){return e.getStart()===n.span.start&&e.getEnd()===n.span.start+n.span.length}));return r?s(n,r):[]}function s(a,i){var o=a.program.getTypeChecker().getTypeAtLocation(i);if(!o.symbol||!o.symbol.originatingImport)return[];var s=[],c=o.symbol.originatingImport;if(e.isImportCall(c)||e.addRange(s,r(a,c)),e.isExpression(i)&&(!e.isNamedDeclaration(i.parent)||i.parent.name!==i)){var l=a.sourceFile,u=e.textChanges.ChangeTracker.with(a,(function(n){return n.replaceNode(l,i,e.createPropertyAccess(i,"default"),{})}));s.push(n.createCodeFixActionNoFixId(t,u,e.Diagnostics.Use_synthetic_default_member))}return s}n.registerCodeFix({errorCodes:[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],getCodeActions:i}),n.registerCodeFix({errorCodes:[e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,e.Diagnostics.Type_predicate_0_is_not_assignable_to_1.code,e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_string_index_type_2.code,e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2.code,e.Diagnostics.Numeric_index_type_0_is_not_assignable_to_string_index_type_1.code,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_type_2.code,e.Diagnostics.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,e.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:o})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="strictClassInitialization",r="addMissingPropertyDefiniteAssignmentAssertions",a="addMissingPropertyUndefinedType",i="addMissingPropertyInitializer",o=[e.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code];function s(n,t){var r=e.getTokenAtPosition(n,t);return e.isIdentifier(r)?e.cast(r.parent,e.isPropertyDeclaration):void 0}function c(a,i){var o=e.textChanges.ChangeTracker.with(a,(function(e){return l(e,a.sourceFile,i)}));return n.createCodeFixAction(t,o,[e.Diagnostics.Add_definite_assignment_assertion_to_property_0,i.getText()],r,e.Diagnostics.Add_definite_assignment_assertions_to_all_uninitialized_properties)}function l(n,t,r){var a=e.updateProperty(r,r.decorators,r.modifiers,r.name,e.createToken(53),r.type,r.initializer);n.replaceNode(t,r,a)}function u(r,i){var o=e.textChanges.ChangeTracker.with(r,(function(e){return d(e,r.sourceFile,i)}));return n.createCodeFixAction(t,o,[e.Diagnostics.Add_undefined_type_to_property_0,i.name.getText()],a,e.Diagnostics.Add_undefined_type_to_all_uninitialized_properties)}function d(n,t,r){var a=e.createKeywordTypeNode(145),i=r.type,o=e.isUnionTypeNode(i)?i.types.concat(a):[i,a];n.replaceNode(t,i,e.createUnionTypeNode(o))}function p(r,a){var o=r.program.getTypeChecker(),s=f(o,a);if(s){var c=e.textChanges.ChangeTracker.with(r,(function(e){return m(e,r.sourceFile,a,s)}));return n.createCodeFixAction(t,c,[e.Diagnostics.Add_initializer_to_property_0,a.name.getText()],i,e.Diagnostics.Add_initializers_to_all_uninitialized_properties)}}function m(n,t,r,a){var i=e.updateProperty(r,r.decorators,r.modifiers,r.name,r.questionToken,r.type,a);n.replaceNode(t,r,i)}function f(e,n){return _(e,e.getTypeFromTypeNode(n.type))}function _(n,t){if(512&t.flags)return t===n.getFalseType()||t===n.getFalseType(!0)?e.createFalse():e.createTrue();if(t.isLiteral())return e.createLiteral(t.value);if(t.isUnion())return e.firstDefined(t.types,(function(e){return _(n,e)}));if(t.isClass()){var r=e.getClassLikeDeclarationOfSymbol(t.symbol);if(!r||e.hasModifier(r,128))return;var a=e.getFirstConstructorWithBody(r);if(a&&a.parameters.length)return;return e.createNew(e.createIdentifier(t.symbol.name),void 0,void 0)}return n.isArrayLikeType(t)?e.createArrayLiteral():void 0}n.registerCodeFix({errorCodes:o,getCodeActions:function(n){var t=s(n.sourceFile,n.span.start);if(t){var r=[u(n,t),c(n,t)];return e.append(r,p(n,t)),r}},fixIds:[r,a,i],getAllCodeActions:function(t){return n.codeFixAll(t,o,(function(n,o){var c=s(o.file,o.start);if(c)switch(t.fixId){case r:l(n,o.file,c);break;case a:d(n,o.file,c);break;case i:var u=t.program.getTypeChecker(),p=f(u,c);if(!p)return;m(n,o.file,c,p);break;default:e.Debug.fail(JSON.stringify(t.fixId))}}))}})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="requireInTs",r=[e.Diagnostics.require_call_may_be_converted_to_an_import.code];function a(n,t,r,a){var o=i(t,r),s=o.statement,c=o.name,l=o.required;n.replaceNode(t,s,e.getAllowSyntheticDefaultImports(a.getCompilerOptions())?e.createImportDeclaration(void 0,void 0,e.createImportClause(c,void 0),l):e.createImportEqualsDeclaration(void 0,void 0,c,e.createExternalModuleReference(l)))}function i(n,t){var r=e.getTokenAtPosition(n,t).parent;if(!e.isRequireCall(r,!0))throw e.Debug.failBadSyntaxKind(r);var a=e.cast(r.parent,e.isVariableDeclaration);return{statement:e.cast(a.parent.parent,e.isVariableStatement),name:e.cast(a.name,e.isIdentifier),required:r.arguments[0]}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start,r.program)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Convert_require_to_import,t,e.Diagnostics.Convert_all_require_to_import)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){return a(n,t.file,t.start,e.program)}))}})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="useDefaultImport",r=[e.Diagnostics.Import_may_be_converted_to_a_default_import.code];function a(n,t){var r=e.getTokenAtPosition(n,t);if(e.isIdentifier(r)){var a=r.parent;if(e.isImportEqualsDeclaration(a)&&e.isExternalModuleReference(a.moduleReference))return{importNode:a,name:r,moduleSpecifier:a.moduleReference.expression};if(e.isNamespaceImport(a)){var i=a.parent.parent;return{importNode:i,name:r,moduleSpecifier:i.moduleSpecifier}}}}function i(n,t,r,a){n.replaceNode(t,r.importNode,e.makeImport(r.name,void 0,r.moduleSpecifier,e.getQuotePreference(t,a)))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span.start,c=a(o,s);if(c){var l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c,r.preferences)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Convert_to_default_import,t,e.Diagnostics.Convert_all_to_default_imports)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){var r=a(t.file,t.start);r&&i(n,t.file,r,e.preferences)}))}})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="useBigintLiteral",r=[e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code];function a(n,t,r){var a=e.tryCast(e.getTokenAtPosition(t,r.start),e.isNumericLiteral);if(a){var i=a.getText(t)+"n";n.replaceNode(t,a,e.createBigIntLiteral(i))}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Convert_to_a_bigint_numeric_literal,t,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n)}))}})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="fixAddModuleReferTypeMissingTypeof",r=t,a=[e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];function i(n,t){var r=e.getTokenAtPosition(n,t);return e.Debug.assert(95===r.kind,"This token should be an ImportKeyword"),e.Debug.assert(187===r.parent.kind,"Token parent should be an ImportType"),r.parent}function o(n,t,r){var a=e.updateImportTypeNode(r,r.argument,r.qualifier,r.typeArguments,!0);n.replaceNode(t,r,a)}n.registerCodeFix({errorCodes:a,getCodeActions:function(t){var a=t.sourceFile,s=t.span,c=i(a,s.start),l=e.textChanges.ChangeTracker.with(t,(function(e){return o(e,a,c)}));return[n.createCodeFixAction(r,l,e.Diagnostics.Add_missing_typeof,r,e.Diagnostics.Add_missing_typeof)]},fixIds:[r],getAllCodeActions:function(e){return n.codeFixAll(e,a,(function(n,t){return o(n,e.sourceFile,i(t.file,t.start))}))}})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="fixConvertToMappedObjectType",r=t,a=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead.code];function o(n,t){var r=e.getTokenAtPosition(n,t),a=e.cast(r.parent.parent,e.isIndexSignatureDeclaration);if(!e.isClassDeclaration(a.parent)){var i=e.isInterfaceDeclaration(a.parent)?a.parent:e.cast(a.parent.parent,e.isTypeAliasDeclaration);return{indexSignature:a,container:i}}}function s(n,t){return e.createTypeAliasDeclaration(n.decorators,n.modifiers,n.name,n.typeParameters,t)}function c(n,t,r){var a=r.indexSignature,o=r.container,c=e.isInterfaceDeclaration(o)?o.members:o.type.members,l=c.filter((function(n){return!e.isIndexSignatureDeclaration(n)})),u=e.first(a.parameters),d=e.createTypeParameterDeclaration(e.cast(u.name,e.isIdentifier),u.type),p=e.createMappedTypeNode(e.hasReadonlyModifier(a)?e.createModifier(137):void 0,d,a.questionToken,a.type),m=e.createIntersectionTypeNode(i(e.getAllSuperTypeNodes(o),[p],l.length?[e.createTypeLiteralNode(l)]:e.emptyArray));n.replaceNode(t,o,s(o,m))}n.registerCodeFix({errorCodes:a,getCodeActions:function(t){var a=t.sourceFile,i=t.span,s=o(a,i.start);if(s){var l=e.textChanges.ChangeTracker.with(t,(function(e){return c(e,a,s)})),u=e.idText(s.container.name);return[n.createCodeFixAction(r,l,[e.Diagnostics.Convert_0_to_mapped_object_type,u],r,[e.Diagnostics.Convert_0_to_mapped_object_type,u])]}},fixIds:[r],getAllCodeActions:function(e){return n.codeFixAll(e,a,(function(e,n){var t=o(n.file,n.start);t&&c(e,n.file,t)}))}})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="removeUnnecessaryAwait",r=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];function a(n,t,r){var a=e.tryCast(e.getTokenAtPosition(t,r.start),(function(e){return 126===e.kind})),i=a&&e.tryCast(a.parent,e.isAwaitExpression);if(i){var o=i,s=e.isParenthesizedExpression(i.parent);if(s){var c=e.getLeftmostExpression(i.expression,!1);if(e.isIdentifier(c)){var l=e.findPrecedingToken(i.parent.pos,t);l&&98!==l.kind&&(o=i.parent)}}n.replaceNode(t,o,i.expression)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Remove_unnecessary_await,t,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n)}))}})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="fixConvertConstToLet",r=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];function a(n,t,r){var a=e.getTokenAtPosition(n,t),i=r.getTypeChecker(),o=i.getSymbolAtLocation(a);if(o)return o.valueDeclaration.parent.parent}function i(e,n,t){if(t){var r=t.getStart();e.replaceRangeWithText(n,{pos:r,end:r+5},"let")}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=r.program,l=a(o,s.start,c),u=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,l)}));return[n.createCodeFixAction(t,u,e.Diagnostics.Convert_const_to_let,t,e.Diagnostics.Convert_const_to_let)]},fixIds:[t]})})(e.codefix||(e.codefix={}))}(u||(u={})),function(e){(function(n){var t="Convert export",r="Convert default export to named export",a="Convert named export to default export";function i(n){var t=n.file,r=e.getRefactorContextSpan(n),a=e.getTokenAtPosition(t,r.start),i=e.getParentNodeInSpan(a,t,r);if(i&&(e.isSourceFile(i.parent)||e.isModuleBlock(i.parent)&&e.isAmbientModule(i.parent.parent))){var o=e.isSourceFile(i.parent)?i.parent.symbol:i.parent.parent.symbol,s=e.getModifierFlags(i),c=!!(512&s);if(1&s&&(c||!o.exports.has("default")))switch(i.kind){case 243:case 244:case 245:case 247:case 246:case 248:var l=i;return l.name&&e.isIdentifier(l.name)?{exportNode:l,exportName:l.name,wasDefault:c,exportingModuleSymbol:o}:void 0;case 224:var u=i;if(!(2&u.declarationList.flags)||1!==u.declarationList.declarations.length)return;var d=e.first(u.declarationList.declarations);if(!d.initializer)return;return e.Debug.assert(!c,"Can't have a default flag here"),e.isIdentifier(d.name)?{exportNode:u,exportName:d.name,wasDefault:c,exportingModuleSymbol:o}:void 0;default:return}}}function o(e,n,t,r,a){s(e,t,r,n.getTypeChecker()),c(n,t,r,a)}function s(n,t,r,a){var i=t.wasDefault,o=t.exportNode,s=t.exportName;if(i)r.delete(n,e.Debug.assertDefined(e.findModifier(o,83),"Should find a default keyword in modifier list"));else{var c=e.Debug.assertDefined(e.findModifier(o,88),"Should find an export keyword in modifier list");switch(o.kind){case 243:case 244:case 245:r.insertNodeAfter(n,c,e.createToken(83));break;case 224:if(!e.FindAllReferences.Core.isSymbolReferencedInFile(s,a,n)){r.replaceNode(n,o,e.createExportDefault(e.Debug.assertDefined(e.first(o.declarationList.declarations).initializer,"Initializer was previously known to be present")));break}case 247:case 246:case 248:r.deleteModifier(n,c),r.insertNodeAfter(n,o,e.createExportDefault(e.createIdentifier(s.text)));break;default:e.Debug.assertNever(o,"Unexpected exportNode kind "+o.kind)}}}function c(n,t,r,a){var i=t.wasDefault,o=t.exportName,s=t.exportingModuleSymbol,c=n.getTypeChecker(),d=e.Debug.assertDefined(c.getSymbolAtLocation(o),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(n.getSourceFiles(),c,a,d,s,o.text,i,(function(e){var n=e.getSourceFile();i?l(n,e,r,o.text):u(n,e,r)}))}function l(n,t,r,a){var i=t.parent;switch(i.kind){case 193:r.replaceNode(n,t,e.createIdentifier(a));break;case 257:case 261:var o=i;r.replaceNode(n,o,d(a,o.name.text));break;case 254:var s=i;e.Debug.assert(s.name===t,"Import clause name should match provided ref");o=d(a,t.text);var c=s.namedBindings;if(c)if(255===c.kind){r.deleteRange(n,{pos:t.getStart(n),end:c.getStart(n)});var l=e.isStringLiteral(s.parent.moduleSpecifier)?e.quotePreferenceFromString(s.parent.moduleSpecifier,n):1,u=e.makeImport(void 0,[d(a,t.text)],s.parent.moduleSpecifier,l);r.insertNodeAfter(n,s.parent,u)}else r.delete(n,t),r.insertNodeAtEndOfList(n,c.elements,o);else r.replaceNode(n,t,e.createNamedImports([o]));break;default:e.Debug.failBadSyntaxKind(i)}}function u(n,t,r){var a=t.parent;switch(a.kind){case 193:r.replaceNode(n,t,e.createIdentifier("default"));break;case 257:var i=e.createIdentifier(a.name.text);1===a.parent.elements.length?r.replaceNode(n,a.parent,i):(r.delete(n,a),r.insertNodeBefore(n,a.parent,i));break;case 261:r.replaceNode(n,a,p("default",a.name.text));break;default:e.Debug.assertNever(a,"Unexpected parent kind "+a.kind)}}function d(n,t){return e.createImportSpecifier(n===t?void 0:e.createIdentifier(n),e.createIdentifier(t))}function p(n,t){return e.createExportSpecifier(n===t?void 0:e.createIdentifier(n),e.createIdentifier(t))}n.registerRefactor(t,{getAvailableActions:function(n){var o=i(n);if(!o)return e.emptyArray;var s=o.wasDefault?e.Diagnostics.Convert_default_export_to_named_export.message:e.Diagnostics.Convert_named_export_to_default_export.message,c=o.wasDefault?r:a;return[{name:t,description:s,actions:[{name:c,description:s}]}]},getEditsForAction:function(n,t){e.Debug.assert(t===r||t===a,"Unexpected action name");var s=e.textChanges.ChangeTracker.with(n,(function(t){return o(n.file,n.program,e.Debug.assertDefined(i(n),"context must have info"),t,n.cancellationToken)}));return{edits:s,renameFilename:void 0,renameLocation:void 0}}})})(e.refactor||(e.refactor={}))}(u||(u={})),function(e){(function(n){var t="Convert import",r="Convert namespace import to named imports",a="Convert named imports to namespace import";function i(n){var t=n.file,r=e.getRefactorContextSpan(n),a=e.getTokenAtPosition(t,r.start),i=e.getParentNodeInSpan(a,t,r);if(i&&e.isImportDeclaration(i)){var o=i.importClause;return o&&o.namedBindings}}function o(n,t,r,a){var i=t.getTypeChecker();255===a.kind?s(n,i,r,a,e.getAllowSyntheticDefaultImports(t.getCompilerOptions())):c(n,i,r,a)}function s(n,t,r,a,i){var o=!1,s=[],c=e.createMap();e.FindAllReferences.Core.eachSymbolReferenceInFile(a.name,t,n,(function(n){if(e.isPropertyAccessExpression(n.parent)){var r=e.cast(n.parent,e.isPropertyAccessExpression),a=r.name.text;t.resolveName(a,n,67108863,!0)&&c.set(a,!0),e.Debug.assert(r.expression===n,"Parent expression should match id"),s.push(r)}else o=!0}));for(var u=e.createMap(),d=0,p=s;d=t.start+t.length)return(o||(o=[])).push(e.createDiagnosticForNode(n,r.cannotExtractSuper)),!0}else l|=a.UsesThis;break}if(e.isFunctionLikeDeclaration(n)||e.isClassLike(n)){switch(n.kind){case 243:case 244:e.isSourceFile(n.parent)&&void 0===n.parent.externalModuleIndicator&&(o||(o=[])).push(e.createDiagnosticForNode(n,r.functionWillNotBeVisibleInTheNewScope));break}return!1}var m=d;switch(n.kind){case 226:d=0;break;case 239:d=0;break;case 222:n.parent&&239===n.parent.kind&&n.parent.finallyBlock===n&&(d=4);break;case 275:d|=1;break;default:e.isIterationStatement(n,!1)&&(d|=3);break}switch(n.kind){case 182:case 103:l|=a.UsesThis;break;case 237:var f=n.label;(u||(u=[])).push(f.escapedText),e.forEachChild(n,p),u.pop();break;case 233:case 232:f=n.label;f?e.contains(u,f.escapedText)||(o||(o=[])).push(e.createDiagnosticForNode(n,r.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):d&(233===n.kind?1:2)||(o||(o=[])).push(e.createDiagnosticForNode(n,r.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 205:l|=a.IsAsyncFunction;break;case 211:l|=a.IsGenerator;break;case 234:4&d?l|=a.HasReturn:(o||(o=[])).push(e.createDiagnosticForNode(n,r.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(n,p);break}d=m}}}function d(n){return e.isStatement(n)?[n]:e.isExpressionNode(n)?e.isExpressionStatement(n.parent)?[n.parent]:n:void 0}function p(n){return e.isFunctionLikeDeclaration(n)||e.isSourceFile(n)||e.isModuleBlock(n)||e.isClassLike(n)}function m(n){var t=P(n.range)?e.first(n.range):n.range;if(n.facts&a.UsesThis){var r=e.getContainingClass(t);if(r){var i=e.findAncestor(t,e.isFunctionLikeDeclaration);return i?[i,r]:[r]}}var o=[];while(1)if(t=t.parent,155===t.kind&&(t=e.findAncestor(t,(function(n){return e.isFunctionLikeDeclaration(n)})).parent),p(t)&&(o.push(t),288===t.kind))return o}function f(n,t,r){var a=y(n,t),i=a.scopes,o=a.readsAndWrites,s=o.target,c=o.usagesPerScope,l=o.functionErrorsPerScope,u=o.exposedVariableDeclarations;return e.Debug.assert(!l[r].length,"The extraction went missing? How?"),t.cancellationToken.throwIfCancellationRequested(),S(s,i[r],c[r],u,n,t)}function _(n,t,r){var a=y(n,t),i=a.scopes,o=a.readsAndWrites,s=o.target,c=o.usagesPerScope,l=o.constantErrorsPerScope,u=o.exposedVariableDeclarations;e.Debug.assert(!l[r].length,"The extraction went missing? How?"),e.Debug.assert(0===u.length,"Extract constant accepted a range containing a variable declaration?"),t.cancellationToken.throwIfCancellationRequested();var d=e.isExpression(s)?s:s.statements[0].expression;return x(d,i[r],c[r],n.facts,t)}function g(n,t){var r=y(n,t),a=r.scopes,i=r.readsAndWrites,o=i.functionErrorsPerScope,s=i.constantErrorsPerScope,c=a.map((function(n,t){var r,a,i=v(n),c=h(n),l=e.isFunctionLikeDeclaration(n)?b(n):e.isClassLike(n)?E(n):T(n);return 1===l?(r=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[i,"global"]),a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[c,"global"])):0===l?(r=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[i,"module"]),a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[c,"module"])):(r=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[i,l]),a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[c,l])),0!==t||e.isClassLike(n)||(a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_enclosing_scope),[c])),{functionExtraction:{description:r,errors:o[t]},constantExtraction:{description:a,errors:s[t]}}}));return c}function y(e,n){var t=n.file,r=m(e),a=F(e,t),i=G(e,r,a,t,n.program.getTypeChecker(),n.cancellationToken);return{scopes:r,readsAndWrites:i}}function v(n){return e.isFunctionLikeDeclaration(n)?"inner function":e.isClassLike(n)?"method":"function"}function h(n){return e.isClassLike(n)?"readonly field":"constant"}function b(n){switch(n.kind){case 161:return"constructor";case 200:case 243:return n.name?"function '"+n.name.text+"'":"anonymous function";case 201:return"arrow function";case 160:return"method '"+n.name.getText()+"'";case 162:return"'get "+n.name.getText()+"'";case 163:return"'set "+n.name.getText()+"'";default:throw e.Debug.assertNever(n,"Unexpected scope kind "+n.kind)}}function E(e){return 244===e.kind?e.name?"class '"+e.name.text+"'":"anonymous class declaration":e.name?"class expression '"+e.name.text+"'":"anonymous class expression"}function T(e){return 249===e.kind?"namespace '"+e.parent.name.getText()+"'":e.externalModuleIndicator?0:1}function S(n,t,r,i,o,s){var c,l,u=r.usages,d=r.typeParameterUsages,p=r.substitutions,m=s.program.getTypeChecker(),f=t.getSourceFile(),_=e.getUniqueName(e.isClassLike(t)?"newMethod":"newFunction",f),g=e.isInJSFile(t),y=e.createIdentifier(_),v=[],h=[];u.forEach((function(n,r){var a;if(!g){var i=m.getTypeOfSymbolAtLocation(n.symbol,n.node);i=m.getBaseTypeOfLiteralType(i),a=m.typeToTypeNode(i,t,1)}var o=e.createParameter(void 0,void 0,void 0,r,void 0,a);v.push(o),2===n.usage&&(l||(l=[])).push(n),h.push(e.createIdentifier(r))}));var b=e.arrayFrom(d.values()).map((function(e){return{type:e,declaration:C(e)}})),E=b.sort(A),T=0===E.length?void 0:E.map((function(e){return e.declaration})),S=void 0!==T?T.map((function(n){return e.createTypeReferenceNode(n.name,void 0)})):void 0;if(e.isExpression(n)&&!g){var x=m.getContextualType(n);c=m.typeToTypeNode(x,t,1)}var L,N=k(n,i,l,p,!!(o.facts&a.HasReturn)),I=N.body,M=N.returnValueProperty;if(e.suppressLeadingAndTrailingTrivia(I),e.isClassLike(t)){var w=g?[]:[e.createToken(116)];o.facts&a.InStaticRegion&&w.push(e.createToken(119)),o.facts&a.IsAsyncFunction&&w.push(e.createToken(125)),L=e.createMethod(void 0,w.length?w:void 0,o.facts&a.IsGenerator?e.createToken(41):void 0,y,void 0,T,v,c,I)}else L=e.createFunctionDeclaration(void 0,o.facts&a.IsAsyncFunction?[e.createToken(125)]:void 0,o.facts&a.IsGenerator?e.createToken(41):void 0,y,T,v,c,I);var F=e.textChanges.ChangeTracker.fromContext(s),G=(P(o.range)?e.last(o.range):o.range).end,B=O(G,t);B?F.insertNodeBefore(s.file,B,L,!0):F.insertNodeAtEndOfScope(s.file,t,L);var V=[],U=D(t,o,_),j=e.createCall(U,S,h);if(o.facts&a.IsGenerator&&(j=e.createYield(e.createToken(41),j)),o.facts&a.IsAsyncFunction&&(j=e.createAwait(j)),i.length&&!l)if(e.Debug.assert(!M,"Expected no returnValueProperty"),e.Debug.assert(!(o.facts&a.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),1===i.length){var K=i[0];V.push(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedDeepClone(K.name),e.getSynthesizedDeepClone(K.type),j)],K.parent.flags)))}else{for(var H=[],W=[],q=i[0].parent.flags,z=!1,J=0,X=i;J1)return n;r=n,n=n.parent}}function C(e){var n,t=e.symbol;if(t&&t.declarations)for(var r=0,a=t.declarations;r0;if(e.isBlock(n)&&!s&&0===a.size)return{body:e.createBlock(n.statements,!0),returnValueProperty:void 0};var c=!1,l=e.createNodeArray(e.isBlock(n)?n.statements.slice(0):[e.isStatement(n)?n:e.createReturn(n)]);if(s||a.size){var u=e.visitNodes(l,p).slice();if(s&&!i&&e.isStatement(n)){var d=R(t,r);1===d.length?u.push(e.createReturn(d[0].name)):u.push(e.createReturn(e.createObjectLiteral(d)))}return{body:e.createBlock(u,!0),returnValueProperty:o}}return{body:e.createBlock(l,!0),returnValueProperty:void 0};function p(n){if(!c&&234===n.kind&&s){var i=R(t,r);return n.expression&&(o||(o="__return"),i.unshift(e.createPropertyAssignment(o,e.visitNode(n.expression,p)))),1===i.length?e.createReturn(i[0].name):e.createReturn(e.createObjectLiteral(i))}var l=c;c=c||e.isFunctionLikeDeclaration(n)||e.isClassLike(n);var u=a.get(e.getNodeId(n).toString()),d=u?e.getSynthesizedDeepClone(u):e.visitEachChild(n,p,e.nullTransformationContext);return c=l,d}}function N(n,t){return t.size?r(n):n;function r(n){var a=t.get(e.getNodeId(n).toString());return a?e.getSynthesizedDeepClone(a):e.visitEachChild(n,r,e.nullTransformationContext)}}function I(n){if(e.isFunctionLikeDeclaration(n)){var t=n.body;if(e.isBlock(t))return t.statements}else{if(e.isModuleBlock(n)||e.isSourceFile(n))return n.statements;if(e.isClassLike(n))return n.members;e.assertType(n)}return e.emptyArray}function O(n,t){return e.find(I(t),(function(t){return t.pos>=n&&e.isFunctionLikeDeclaration(t)&&!e.isConstructorDeclaration(t)}))}function M(n,t){var r,a=t.members;e.Debug.assert(a.length>0,"Found no members");for(var i=!0,o=0,s=a;on)return r||a[0];if(i&&!e.isPropertyDeclaration(c)){if(void 0!==r)return c;i=!1}r=c}return void 0===r?e.Debug.fail():r}function w(n,t){var r;e.Debug.assert(!e.isClassLike(t));for(var a=n;a!==t;a=a.parent)p(a)&&(r=a);for(a=(r||n).parent;;a=a.parent){if(V(a)){for(var i=void 0,o=0,s=a.statements;on.pos)break;i=c}return!i&&e.isCaseClause(a)?(e.Debug.assert(e.isSwitchStatement(a.parent.parent),"Grandparent isn't a switch statement"),a.parent.parent):e.Debug.assertDefined(i,"prevStatement failed to get set")}e.Debug.assert(a!==t,"Didn't encounter a block-like before encountering scope")}}function R(n,t){var r=e.map(n,(function(n){return e.createShorthandPropertyAssignment(n.symbol.name)})),a=e.map(t,(function(n){return e.createShorthandPropertyAssignment(n.symbol.name)}));return void 0===r?a:void 0===a?r:r.concat(a)}function P(n){return e.isArray(n)}function F(n,t){return P(n.range)?{pos:e.first(n.range).getStart(t),end:e.last(n.range).getEnd()}:n.range}function G(n,t,i,o,s,c){var l,u,d=e.createMap(),p=[],m=[],f=[],_=[],g=[],y=e.createMap(),v=[],h=P(n.range)?1===n.range.length&&e.isExpressionStatement(n.range[0])?n.range[0].expression:void 0:n.range;if(void 0===h){var b=n.range,E=e.first(b).getStart(),T=e.last(b).end;u=e.createFileDiagnostic(o,E,T-E,r.expressionExpected)}else 147456&s.getTypeAtLocation(h).flags&&(u=e.createDiagnosticForNode(h,r.uselessConstantType));for(var S=0,x=t;S0){for(var O=e.createMap(),M=0,w=k;void 0!==w&&M0&&(a.usages.size>0||a.typeParameterUsages.size>0)){var i=P(n.range)?n.range[0]:n.range;_[t].push(e.createDiagnosticForNode(i,r.cannotAccessVariablesFromNestedScopes))}var o,s=!1;if(p[t].usages.forEach((function(n){2===n.usage&&(s=!0,106500&n.symbol.flags&&n.symbol.valueDeclaration&&e.hasModifier(n.symbol.valueDeclaration,64)&&(o=n.symbol.valueDeclaration))})),e.Debug.assert(P(n.range)||0===v.length,"No variable declarations expected if something was extracted"),s&&!P(n.range)){var c=e.createDiagnosticForNode(n.range,r.cannotWriteInExpression);f[t].push(c),_[t].push(c)}else if(o&&t>0){c=e.createDiagnosticForNode(o,r.cannotExtractReadonlyPropertyInitializerOutsideConstructor);f[t].push(c),_[t].push(c)}else if(l){c=e.createDiagnosticForNode(l,r.cannotExtractExportedEntity);f[t].push(c),_[t].push(c)}},j=0;j=l)return g;if(A.set(g,l),y){for(var v=0,h=p;v=0)){var r=e.isIdentifier(t)?X(t):s.getSymbolAtLocation(t);if(r){var a=e.find(g,(function(e){return e.symbol===r}));if(a)if(e.isVariableDeclaration(a)){var i=a.symbol.id.toString();y.has(i)||(v.push(a),y.set(i,!0))}else l=l||a}e.forEachChild(t,J)}}function X(n){return n.parent&&e.isShorthandPropertyAssignment(n.parent)&&n.parent.name===n?s.getShorthandAssignmentValueSymbol(n.parent):s.getSymbolAtLocation(n)}function Y(n,t,r){if(n){var a=n.getDeclarations();if(a&&a.some((function(e){return e.parent===t})))return e.createIdentifier(n.name);var i=Y(n.parent,t,r);if(void 0!==i)return r?e.createQualifiedName(i,e.createIdentifier(n.name)):e.createPropertyAccess(i,n.name)}}}function B(e){var n=e.parent;switch(n.kind){case 282:return!1}switch(e.kind){case 10:return 253!==n.kind&&257!==n.kind;case 212:case 188:case 190:return!1;case 75:return 190!==n.kind&&257!==n.kind&&261!==n.kind}return!0}function V(e){switch(e.kind){case 222:case 288:case 249:case 275:return!0;default:return!1}}n.registerRefactor(s,{getAvailableActions:c,getEditsForAction:l}),t.getAvailableActions=c,t.getEditsForAction=l,function(n){function t(n){return{message:n,code:0,category:e.DiagnosticCategory.Message,key:n}}n.cannotExtractRange=t("Cannot extract range."),n.cannotExtractImport=t("Cannot extract import statement."),n.cannotExtractSuper=t("Cannot extract super call."),n.cannotExtractJSDoc=t("Cannot extract JSDoc."),n.cannotExtractEmpty=t("Cannot extract empty range."),n.expressionExpected=t("expression expected."),n.uselessConstantType=t("No reason to extract constant of type."),n.statementOrExpressionExpected=t("Statement or expression expected."),n.cannotExtractRangeContainingConditionalBreakOrContinueStatements=t("Cannot extract range containing conditional break or continue statements."),n.cannotExtractRangeContainingConditionalReturnStatement=t("Cannot extract range containing conditional return statement."),n.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=t("Cannot extract range containing labeled break or continue with target outside of the range."),n.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=t("Cannot extract range containing writes to references located outside of the target range in generators."),n.typeWillNotBeVisibleInTheNewScope=t("Type will not visible in the new scope."),n.functionWillNotBeVisibleInTheNewScope=t("Function will not visible in the new scope."),n.cannotExtractIdentifier=t("Select more than a single identifier."),n.cannotExtractExportedEntity=t("Cannot extract exported declaration"),n.cannotWriteInExpression=t("Cannot write back side-effects when extracting an expression"),n.cannotExtractReadonlyPropertyInitializerOutsideConstructor=t("Cannot move initialization of read-only class property outside of the constructor"),n.cannotExtractAmbientBlock=t("Cannot extract code from ambient contexts"),n.cannotAccessVariablesFromNestedScopes=t("Cannot access variables from nested scopes"),n.cannotExtractToOtherFunctionLike=t("Cannot extract method to a function-like scope that is not a function"),n.cannotExtractToJSClass=t("Cannot extract constant to a class scope in JS"),n.cannotExtractToExpressionArrowFunction=t("Cannot extract constant to an arrow function without a block")}(r=t.Messages||(t.Messages={})),function(e){e[e["None"]=0]="None",e[e["HasReturn"]=1]="HasReturn",e[e["IsGenerator"]=2]="IsGenerator",e[e["IsAsyncFunction"]=4]="IsAsyncFunction",e[e["UsesThis"]=8]="UsesThis",e[e["InStaticRegion"]=16]="InStaticRegion"}(a||(a={})),t.getRangeToExtract=u,function(e){e[e["Module"]=0]="Module",e[e["Global"]=1]="Global"}(i||(i={})),function(e){e[e["Read"]=1]="Read",e[e["Write"]=2]="Write"}(o||(o={}))})(n.extractSymbol||(n.extractSymbol={}))})(e.refactor||(e.refactor={}))}(u||(u={})),function(e){(function(n){var t="Extract type",r="Extract to type alias",a="Extract to interface",i="Extract to typedef";function o(n){var t=n.file,r=n.startPosition,a=e.isSourceFileJS(t),i=e.getTokenAtPosition(t,r),o=e.createTextRangeFromSpan(e.getRefactorContextSpan(n)),u=e.findAncestor(i,(function(e){return e.parent&&c(o,e,t)&&!c(o,e.parent,t)}));if(u&&e.isTypeNode(u)){var d=n.program.getTypeChecker(),p=e.Debug.assertDefined(e.findAncestor(u,e.isStatement),"Should find a statement"),m=l(d,u,p,t);if(m){var f=s(d,u);return{isJS:a,selection:u,firstStatement:p,typeParameters:m,typeElements:f}}}}function s(n,t){if(t){if(e.isIntersectionTypeNode(t)){for(var r=[],a=e.createMap(),i=0,o=t.types;ir.pos}));if(-1!==i){var o=a[i];if(e.isNamedDeclaration(o)&&o.name&&e.rangeContainsRange(o.name,r))return{toMove:[a[i]],afterLast:a[i+1]};if(!(r.pos>o.getStart(t))){var s=e.findIndex(a,(function(e){return e.end>r.end}),i);if(-1===s||!(0===s||a[s].getStart(t)=a&&e.every(n,(function(e){return E(e,t)}))}function E(n,t){if(e.isRestParameter(n)){var r=t.getTypeAtLocation(n);if(!t.isArrayType(r)&&!t.isTupleType(r))return!1}return!n.modifiers&&!n.decorators&&e.isIdentifier(n.name)}function T(n){return e.isVariableDeclaration(n)&&e.isVarConst(n)&&e.isIdentifier(n.name)&&!n.type}function S(n){return n.length>0&&e.isThis(n[0].name)}function x(e){return S(e)?e.length-1:e.length}function L(n){return S(n)&&(n=e.createNodeArray(n.slice(1),n.hasTrailingComma)),n}function C(n,t){return e.isIdentifier(t)&&e.getTextOfIdentifierOrLiteral(t)===n?e.createShorthandPropertyAssignment(n):e.createPropertyAssignment(n,t)}function A(n,t){var r=L(n.parameters),a=e.isRestParameter(e.last(r)),i=a?t.slice(0,r.length-1):t,o=e.map(i,(function(n,t){var a=I(r[t]),i=C(a,n);return e.suppressLeadingAndTrailingTrivia(i.name),e.isPropertyAssignment(i)&&e.suppressLeadingAndTrailingTrivia(i.initializer),k(n,i),i}));if(a&&t.length>=r.length){var s=t.slice(r.length-1),c=e.createPropertyAssignment(I(e.last(r)),e.createArrayLiteral(s));o.push(c)}var l=e.createObjectLiteral(o,!1);return l}function D(n,t,r){var a,i=t.getTypeChecker(),o=L(n.parameters),s=e.map(o,m),c=e.createObjectBindingPattern(s),l=f(o);e.every(o,y)&&(a=e.createObjectLiteral());var u=e.createParameter(void 0,void 0,void 0,c,void 0,l,a);if(S(n.parameters)){var d=n.parameters[0],p=e.createParameter(void 0,void 0,void 0,d.name,void 0,d.type);return e.suppressLeadingAndTrailingTrivia(p.name),k(d.name,p.name),d.type&&(e.suppressLeadingAndTrailingTrivia(p.type),k(d.type,p.type)),e.createNodeArray([p,u])}return e.createNodeArray([u]);function m(n){var t=e.createBindingElement(void 0,void 0,I(n),e.isRestParameter(n)&&y(n)?e.createArrayLiteral():n.initializer);return e.suppressLeadingAndTrailingTrivia(t),n.initializer&&t.initializer&&k(n.initializer,t.initializer),t}function f(n){var t=e.map(n,_),r=e.addEmitFlags(e.createTypeLiteralNode(t),1);return r}function _(n){var t=n.type;t||!n.initializer&&!e.isRestParameter(n)||(t=g(n));var r=e.createPropertySignature(void 0,I(n),y(n)?e.createToken(57):n.questionToken,t,void 0);return e.suppressLeadingAndTrailingTrivia(r),k(n.name,r.name),n.type&&r.type&&k(n.type,r.type),r}function g(n){var a=i.getTypeAtLocation(n);return e.getTypeNodeIfAccessible(a,n,t,r)}function y(n){if(e.isRestParameter(n)){var t=i.getTypeAtLocation(n);return!i.isTupleType(t)}return i.isOptionalParameter(n)}}function k(n,t){var r=n.getSourceFile(),a=r.text;N(n,a)?e.copyLeadingComments(n,t,r):e.copyTrailingAsLeadingComments(n,t,r),e.copyTrailingComments(n,t,r)}function N(e,n){for(var t=e.getFullStart(),r=e.getStart(),a=t;a316}));return r.kind<152?r:r.getFirstToken(n)}},n.prototype.getLastToken=function(n){this.assertHasRealPosition();var t=this.getChildren(n),r=e.lastOrUndefined(t);if(r)return r.kind<152?r:r.getLastToken(n)},n.prototype.forEachChild=function(n,t){return e.forEachChild(this,n,t)},n}();function a(n,t){if(!e.isNodeKind(n.kind))return e.emptyArray;var r=[];if(e.isJSDocCommentContainingNode(n))return n.forEachChild((function(e){r.push(e)})),r;e.scanner.setText((t||n.getSourceFile()).text);var a=n.pos,i=function(e){s(r,a,e.pos,n),r.push(e),a=e.end},o=function(e){s(r,a,e.pos,n),r.push(c(e,n)),a=e.end};return e.forEach(n.jsDoc,i),a=n.pos,n.forEachChild(i,o),s(r,a,n.end,n),e.scanner.setText(void 0),r}function s(t,r,a,i){e.scanner.setTextPos(r);while(r=r.length&&(n=this.getEnd()),n||(n=r[t+1]-1);var a=this.getFullText();return"\n"===a[n]&&"\r"===a[n-1]?n-1:n},t.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},t.prototype.computeNamedDeclarations=function(){var n=e.createMultiMap();return this.forEachChild(i),n;function t(e){var t=a(e);t&&n.add(t,e)}function r(e){var t=n.get(e);return t||n.set(e,t=[]),t}function a(n){var t=e.getNonAssignedNameOfDeclaration(n);return t&&(e.isComputedPropertyName(t)&&e.isPropertyAccessExpression(t.expression)?t.expression.name.text:e.isPropertyName(t)?e.getNameFromPropertyName(t):void 0)}function i(n){switch(n.kind){case 243:case 200:case 160:case 159:var o=n,s=a(o);if(s){var c=r(s),l=e.lastOrUndefined(c);l&&o.parent===l.parent&&o.symbol===l.symbol?o.body&&!l.body&&(c[c.length-1]=o):c.push(o)}e.forEachChild(n,i);break;case 244:case 213:case 245:case 246:case 247:case 248:case 252:case 261:case 257:case 254:case 255:case 162:case 163:case 172:t(n),e.forEachChild(n,i);break;case 155:if(!e.hasModifier(n,92))break;case 241:case 190:var u=n;if(e.isBindingPattern(u.name)){e.forEachChild(u.name,i);break}u.initializer&&i(u.initializer);case 282:case 158:case 157:t(n);break;case 259:n.exportClause&&e.forEach(n.exportClause.elements,i);break;case 253:var d=n.importClause;d&&(d.name&&t(d.name),d.namedBindings&&(255===d.namedBindings.kind?t(d.namedBindings):e.forEach(d.namedBindings.elements,i)));break;case 208:0!==e.getAssignmentDeclarationKind(n)&&t(n);default:e.forEachChild(n,i)}}},t}(t),b=function(){function n(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t}return n.prototype.getLineAndCharacterOfPosition=function(n){return e.getLineAndCharacterOfPosition(this,n)},n}();function E(){return{getNodeConstructor:function(){return t},getTokenConstructor:function(){return p},getIdentifierConstructor:function(){return m},getSourceFileConstructor:function(){return h},getSymbolConstructor:function(){return d},getTypeConstructor:function(){return f},getSignatureConstructor:function(){return _},getSourceMapSourceConstructor:function(){return b}}}function T(n){var t=!0;for(var r in n)if(e.hasProperty(n,r)&&!S(r)){t=!1;break}if(t)return n;var a={};for(var r in n)if(e.hasProperty(n,r)){var i=S(r)?r:r.charAt(0).toLowerCase()+r.substr(1);a[i]=n[r]}return a}function S(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function x(n){return n?e.map(n,(function(e){return e.text})).join(""):""}function L(){return{target:1,jsx:1}}function C(){return e.codefix.getSupportedErrorCodes()}e.toEditorSettings=T,e.displayPartsToString=x,e.getDefaultCompilerOptions=L,e.getSupportedCodeFixes=C;var A=function(){function n(n,t){this.host=n,this.currentDirectory=n.getCurrentDirectory(),this.fileNameToEntry=e.createMap();for(var r=n.getScriptFileNames(),a=0,i=r;a=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=n,this.hostCancellationToken.isCancellationRequested())},n.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw new e.OperationCanceledException},n}();function w(n,t,r){var a;void 0===t&&(t=e.createDocumentRegistry(n.useCaseSensitiveFileNames&&n.useCaseSensitiveFileNames(),n.getCurrentDirectory())),void 0===r&&(r=!1);var s,c,l=new D(n),u=0,d=new O(n.getCancellationToken&&n.getCancellationToken()),p=n.getCurrentDirectory();function m(e){n.log&&n.log(e)}!e.localizedDiagnosticMessages&&n.getLocalizedDiagnosticMessages&&(e.localizedDiagnosticMessages=n.getLocalizedDiagnosticMessages());var f=e.hostUsesCaseSensitiveFileNames(n),_=e.createGetCanonicalFileName(f),g=e.getSourceMapper({useCaseSensitiveFileNames:function(){return f},getCurrentDirectory:function(){return p},getProgram:h,fileExists:e.maybeBind(n,n.fileExists),readFile:e.maybeBind(n,n.readFile),getDocumentPositionMapper:e.maybeBind(n,n.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(n,n.getSourceFileLike),log:m});function y(e){var n=s.getSourceFile(e);if(!n){var t=new Error("Could not find source file: '"+e+"'.");throw t.ProgramFiles=s.getSourceFiles().map((function(e){return e.fileName})),t}return n}function v(){if(e.Debug.assert(!r),n.getProjectVersion){var a=n.getProjectVersion();if(a){if(c===a&&!n.hasChangedAutomaticTypeDirectiveNames)return;c=a}}var i=n.getTypeRootsVersion?n.getTypeRootsVersion():0;u!==i&&(m("TypeRoots version has changed; provide new program"),s=void 0,u=i);var o=new A(n,_),l=o.getRootFileNames(),y=n.hasInvalidatedResolution||e.returnFalse,v=o.getProjectReferences();if(!e.isProgramUptoDate(s,l,o.compilationSettings(),(function(e){return o.getVersion(e)}),S,y,!!n.hasChangedAutomaticTypeDirectiveNames,v)){var h=o.compilationSettings(),b={getSourceFile:C,getSourceFileByPath:D,getCancellationToken:function(){return d},getCanonicalFileName:_,useCaseSensitiveFileNames:function(){return f},getNewLine:function(){return e.getNewLineCharacter(h,(function(){return e.getNewLineOrDefaultFromHost(n)}))},getDefaultLibFileName:function(e){return n.getDefaultLibFileName(e)},writeFile:e.noop,getCurrentDirectory:function(){return p},fileExists:S,readFile:x,realpath:n.realpath&&function(e){return n.realpath(e)},directoryExists:function(t){return e.directoryProbablyExists(t,n)},getDirectories:function(e){return n.getDirectories?n.getDirectories(e):[]},readDirectory:function(t,r,a,i,o){return e.Debug.assertDefined(n.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),n.readDirectory(t,r,a,i,o)},onReleaseOldSourceFile:L,hasInvalidatedResolution:y,hasChangedAutomaticTypeDirectiveNames:n.hasChangedAutomaticTypeDirectiveNames};n.trace&&(b.trace=function(e){return n.trace(e)}),n.resolveModuleNames&&(b.resolveModuleNames=function(){for(var e=[],t=0;t"}:void 0}}function Te(n){var t=n.openingElement,r=n.closingElement,a=n.parent;return!e.tagNamesAreEquivalent(t.tagName,r.tagName)||e.isJsxElement(a)&&e.tagNamesAreEquivalent(t.tagName,a.openingElement.tagName)&&Te(a)}function Se(n,t,r){var a=l.getCurrentSourceFile(n),i=e.formatting.getRangeOfEnclosingComment(a,t);return!i||r&&3!==i.kind?void 0:e.createTextSpanFromRange(i)}function xe(n,t){v();var r=y(n);d.throwIfCancellationRequested();var a=r.text,i=[];if(t.length>0&&!b(r.fileName)){var o=g(),s=void 0;while(s=o.exec(a)){d.throwIfCancellationRequested();var c=3;e.Debug.assert(s.length===t.length+c);var l=s[1],u=s.index+l.length;if(e.isInComment(r,u)){for(var p=void 0,m=0;m=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}function b(n){return e.stringContains(n,"/node_modules/")}}function Le(n,t,r){return v(),e.Rename.getRenameInfo(s,y(n),t,r)}function Ce(t,r,a,i){var o="number"===typeof r?[r,void 0]:[r.pos,r.end],s=o[0],c=o[1];return{file:t,startPosition:s,endPosition:c,program:h(),host:n,formatContext:e.formatting.getFormatContext(i),cancellationToken:d,preferences:a}}function Ae(n,t){return e.SmartSelectionRange.getSmartSelectionRange(t,l.getCurrentSourceFile(n))}function De(n,t,r){void 0===r&&(r=e.emptyOptions),v();var a=y(n);return e.refactor.getApplicableRefactors(Ce(a,t,r))}function ke(n,t,r,a,i,o){void 0===o&&(o=e.emptyOptions),v();var s=y(n);return e.refactor.getEditsForRefactor(Ce(s,r,o,t),a,i)}return se.forEach((function(e,n){return se.set(e.toString(),Number(n))})),{dispose:E,cleanupSemanticCache:b,getSyntacticDiagnostics:S,getSemanticDiagnostics:x,getSuggestionDiagnostics:L,getCompilerOptionsDiagnostics:C,getSyntacticClassifications:ae,getSemanticClassifications:te,getEncodedSyntacticClassifications:ie,getEncodedSemanticClassifications:re,getCompletionsAtPosition:k,getCompletionEntryDetails:N,getCompletionEntrySymbol:I,getSignatureHelpItems:X,getQuickInfoAtPosition:M,getDefinitionAtPosition:P,getDefinitionAndBoundSpan:F,getImplementationAtPosition:B,getTypeDefinitionAtPosition:G,getReferencesAtPosition:H,findReferences:q,getOccurrencesAtPosition:U,getDocumentHighlights:j,getNameOrDottedNameSpan:Q,getBreakpointStatementAtPosition:Z,getNavigateToItems:z,getRenameInfo:Le,getSmartSelectionRange:Ae,findRenameLocations:K,getNavigationBarItems:$,getNavigationTree:ee,getOutliningSpans:oe,getTodoComments:xe,getBraceMatchingAtPosition:ce,getIndentationAtPosition:le,getFormattingEditsForRange:ue,getFormattingEditsForDocument:de,getFormattingEditsAfterKeystroke:pe,getDocCommentTemplateAtPosition:he,isValidBraceCompletionAtPosition:be,getJsxClosingTagAtPosition:Ee,getSpanOfEnclosingComment:Se,getCodeFixesAtPosition:me,getCombinedCodeFix:fe,applyCodeActionCommand:ye,organizeImports:_e,getEditsForFileRename:ge,getEmitOutput:J,getNonBoundSourceFile:Y,getProgram:h,getApplicableRefactors:De,getEditsForRefactor:ke,toLineColumnOffset:g.toLineColumnOffset,getSourceMapper:function(){return g}}}function R(e){return e.nameTable||P(e),e.nameTable}function P(n){var t=n.nameTable=e.createUnderscoreEscapedMap();n.forEachChild((function n(r){if(e.isIdentifier(r)&&!e.isTagName(r)&&r.escapedText||e.isStringOrNumericLiteralLike(r)&&F(r)){var a=e.getEscapedTextOfIdentifierOrLiteral(r);t.set(a,void 0===t.get(a)?r.pos:-1)}if(e.forEachChild(r,n),e.hasJSDocNodes(r))for(var i=0,o=r.jsDoc;ia){var i=e.findPrecedingToken(r.pos,n);if(!i||n.getLineAndCharacterOfPosition(i.getEnd()).line!==a)return;r=i}if(!(8388608&r.flags))return p(r)}function o(t,r){var a=t.decorators?e.skipTrivia(n.text,t.decorators.end):t.getStart(n);return e.createTextSpanFromBounds(a,(r||t).getEnd())}function s(t,r){return o(t,e.findNextToken(r,r.parent,n))}function c(e,t){return e&&a===n.getLineAndCharacterOfPosition(e.getStart(n)).line?p(e):p(t)}function l(t){return e.createTextSpanFromBounds(e.skipTrivia(n.text,t.pos),t.end)}function u(t){return p(e.findPrecedingToken(t.pos,n))}function d(t){return p(e.findNextToken(t,t.parent,n))}function p(t){if(t){var r=t.parent;switch(t.kind){case 224:return v(t.declarationList.declarations[0]);case 241:case 158:case 157:return v(t);case 155:return b(t);case 243:case 160:case 159:case 162:case 163:case 161:case 200:case 201:return T(t);case 222:if(e.isFunctionBlock(t))return S(t);case 249:return x(t);case 278:return x(t.block);case 225:return o(t.expression);case 234:return o(t.getChildAt(0),t.expression);case 228:return s(t,t.expression);case 227:return p(t.statement);case 240:return o(t.getChildAt(0));case 226:return s(t,t.expression);case 237:return p(t.statement);case 233:case 232:return o(t.getChildAt(0),t.label);case 229:return C(t);case 230:return s(t,t.expression);case 231:return L(t);case 236:return s(t,t.expression);case 275:case 276:return p(t.statements[0]);case 239:return x(t.tryBlock);case 238:return o(t,t.expression);case 258:return o(t,t.expression);case 252:return o(t,t.moduleReference);case 253:return o(t,t.moduleSpecifier);case 259:return o(t,t.moduleSpecifier);case 248:if(1!==e.getModuleInstanceState(t))return;case 244:case 247:case 282:case 190:return o(t);case 235:return p(t.statement);case 156:return l(r.decorators);case 188:case 189:return A(t);case 245:case 246:return;case 26:case 1:return c(e.findPrecedingToken(t.pos,n));case 27:return u(t);case 18:return k(t);case 19:return N(t);case 23:return I(t);case 20:return O(t);case 21:return M(t);case 58:return w(t);case 31:case 29:return R(t);case 110:return P(t);case 86:case 78:case 91:return d(t);case 151:return F(t);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t))return D(t);if((75===t.kind||212===t.kind||279===t.kind||280===t.kind)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(r))return o(t);if(208===t.kind){var a=t,i=a.left,m=a.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(i))return D(i);if(62===m.kind&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent))return o(t);if(27===m.kind)return p(i)}if(e.isExpressionNode(t))switch(r.kind){case 227:return u(t);case 156:return p(t.parent);case 229:case 231:return o(t);case 208:if(27===t.parent.operatorToken.kind)return o(t);break;case 201:if(t.parent.body===t)return o(t);break}switch(t.parent.kind){case 279:if(t.parent.name===t&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent.parent))return p(t.parent.initializer);break;case 198:if(t.parent.type===t)return d(t.parent.type);break;case 241:case 155:var f=t.parent,_=f.initializer,g=f.type;if(_===t||g===t||e.isAssignmentOperator(t.kind))return u(t);break;case 208:i=t.parent.left;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(i)&&t!==i)return u(t);break;default:if(e.isFunctionLike(t.parent)&&t.parent.type===t)return u(t)}return p(t.parent)}}function y(t){return e.isVariableDeclarationList(t.parent)&&t.parent.declarations[0]===t?o(e.findPrecedingToken(t.pos,n,t.parent),t):o(t)}function v(t){if(230===t.parent.parent.kind)return p(t.parent.parent);var r=t.parent;return e.isBindingPattern(t.name)?A(t.name):t.initializer||e.hasModifier(t,1)||231===r.parent.kind?y(t):e.isVariableDeclarationList(t.parent)&&t.parent.declarations[0]!==t?p(e.findPrecedingToken(t.pos,n,t.parent)):void 0}function h(n){return!!n.initializer||void 0!==n.dotDotDotToken||e.hasModifier(n,12)}function b(n){if(e.isBindingPattern(n.name))return A(n.name);if(h(n))return o(n);var t=n.parent,r=t.parameters.indexOf(n);return e.Debug.assert(-1!==r),0!==r?b(t.parameters[r-1]):p(t.body)}function E(n){return e.hasModifier(n,1)||244===n.parent.kind&&161!==n.kind}function T(e){if(e.body)return E(e)?o(e):p(e.body)}function S(e){var n=e.statements.length?e.statements[0]:e.getLastToken();return E(e.parent)?c(e.parent,n):p(n)}function x(t){switch(t.parent.kind){case 248:if(1!==e.getModuleInstanceState(t.parent))return;case 228:case 226:case 230:return c(t.parent,t.statements[0]);case 229:case 231:return c(e.findPrecedingToken(t.pos,n,t.parent),t.statements[0])}return p(t.statements[0])}function L(e){if(242!==e.initializer.kind)return p(e.initializer);var n=e.initializer;return n.declarations.length>0?p(n.declarations[0]):void 0}function C(e){return e.initializer?L(e):e.condition?o(e.condition):e.incrementor?o(e.incrementor):void 0}function A(n){var t=e.forEach(n.elements,(function(e){return 214!==e.kind?e:void 0}));return t?p(t):190===n.parent.kind?o(n.parent):y(n.parent)}function D(n){e.Debug.assert(189!==n.kind&&188!==n.kind);var t=191===n.kind?n.elements:n.properties,r=e.forEach(t,(function(e){return 214!==e.kind?e:void 0}));return r?p(r):o(208===n.parent.kind?n.parent:n)}function k(t){switch(t.parent.kind){case 247:var r=t.parent;return c(e.findPrecedingToken(t.pos,n,t.parent),r.members.length?r.members[0]:r.getLastToken(n));case 244:var a=t.parent;return c(e.findPrecedingToken(t.pos,n,t.parent),a.members.length?a.members[0]:a.getLastToken(n));case 250:return c(t.parent.parent,t.parent.clauses[0])}return p(t.parent)}function N(n){switch(n.parent.kind){case 249:if(1!==e.getModuleInstanceState(n.parent.parent))return;case 247:case 244:return o(n);case 222:if(e.isFunctionBlock(n.parent))return o(n);case 278:return p(e.lastOrUndefined(n.parent.statements));case 250:var t=n.parent,r=e.lastOrUndefined(t.clauses);return r?p(e.lastOrUndefined(r.statements)):void 0;case 188:var a=n.parent;return p(e.lastOrUndefined(a.elements)||a);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)){var i=n.parent;return o(e.lastOrUndefined(i.properties)||i)}return p(n.parent)}}function I(n){switch(n.parent.kind){case 189:var t=n.parent;return o(e.lastOrUndefined(t.elements)||t);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)){var r=n.parent;return o(e.lastOrUndefined(r.elements)||r)}return p(n.parent)}}function O(e){return 227===e.parent.kind||195===e.parent.kind||196===e.parent.kind?u(e):199===e.parent.kind?d(e):p(e.parent)}function M(e){switch(e.parent.kind){case 200:case 243:case 201:case 160:case 159:case 162:case 163:case 161:case 228:case 227:case 229:case 231:case 195:case 196:case 199:return u(e);default:return p(e.parent)}}function w(n){return e.isFunctionLike(n.parent)||279===n.parent.kind||155===n.parent.kind?u(n):p(n.parent)}function R(e){return 198===e.parent.kind?d(e):p(e.parent)}function P(e){return 227===e.parent.kind?s(e,e.parent.expression):p(e.parent)}function F(e){return 231===e.parent.kind?d(e):p(e.parent)}}}n.spanInSourceFileAtLocation=t})(e.BreakpointResolver||(e.BreakpointResolver={}))}(u||(u={})),function(e){function n(n,t,r){var a=[];r=e.fixupCompilerOptions(r,a);var i=e.isArray(n)?n:[n],o=e.transformNodes(void 0,void 0,r,i,t,!0);return o.diagnostics=e.concatenate(o.diagnostics,a),o}e.transform=n}(u||(u={}));var u,d,p=function(){return this}();(function(e){function n(e,n){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+n.message)}var t=function(){function n(e){this.scriptSnapshotShim=e}return n.prototype.getText=function(e,n){return this.scriptSnapshotShim.getText(e,n)},n.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},n.prototype.getChangeRange=function(n){var t=n,r=this.scriptSnapshotShim.getChangeRange(t.scriptSnapshotShim);if(null===r)return null;var a=JSON.parse(r);return e.createTextChangeRange(e.createTextSpan(a.span.start,a.span.length),a.newLength)},n.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},n}(),r=function(){function n(n){var t=this;this.shimHost=n,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(n,r){var a=JSON.parse(t.shimHost.getModuleResolutionsForFile(r));return e.map(n,(function(n){var t=e.getProperty(a,n);return t?{resolvedFileName:t,extension:e.extensionFromPath(t),isExternalLibraryImport:!1}:void 0}))}),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return t.shimHost.directoryExists(e)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(n,r){var a=JSON.parse(t.shimHost.getTypeReferenceDirectiveResolutionsForFile(r));return e.map(n,(function(n){return e.getProperty(a,n)}))})}return n.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},n.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},n.prototype.error=function(e){this.shimHost.error(e)},n.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},n.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},n.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},n.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var n=JSON.parse(e);return n.allowNonTsExtensions=!0,n},n.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return JSON.parse(e)},n.prototype.getScriptSnapshot=function(e){var n=this.shimHost.getScriptSnapshot(e);return n&&new t(n)},n.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},n.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},n.prototype.getLocalizedDiagnosticMessages=function(){var e=this.shimHost.getLocalizedDiagnosticMessages();if(null===e||""===e)return null;try{return JSON.parse(e)}catch(n){return this.log(n.description||"diagnosticMessages.generated.json has invalid JSON format"),null}},n.prototype.getCancellationToken=function(){var n=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(n)},n.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},n.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},n.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},n.prototype.readDirectory=function(n,t,r,a,i){var o=e.getFileMatcherPatterns(n,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(n,JSON.stringify(t),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))},n.prototype.readFile=function(e,n){return this.shimHost.readFile(e,n)},n.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},n}();e.LanguageServiceShimHostAdapter=r;var o=function(){function n(e){var n=this;this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost?this.directoryExists=function(e){return n.shimHost.directoryExists(e)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(e){return n.shimHost.realpath(e)}:this.realpath=void 0}return n.prototype.readDirectory=function(n,t,r,a,i){var o=e.getFileMatcherPatterns(n,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(n,JSON.stringify(t),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))},n.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},n.prototype.readFile=function(e){return this.shimHost.readFile(e)},n.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},n}();function s(n,t,r,a){var i;a&&(n.log(t),i=e.timestamp());var o=r();if(a){var s=e.timestamp();if(n.log(t+" completed in "+(s-i)+" msec"),e.isString(o)){var c=o;c.length>128&&(c=c.substring(0,128)+"..."),n.log(" result.length="+c.length+", result='"+JSON.stringify(c)+"'")}}return o}function c(e,n,t,r){return u(e,n,!0,t,r)}function u(t,r,a,i,o){try{var c=s(t,r,i,o);return a?JSON.stringify({result:c}):c}catch(l){return l instanceof e.OperationCanceledException?JSON.stringify({canceled:!0}):(n(t,l),l.description=r,JSON.stringify({error:l}))}}e.CoreServicesShimHostAdapter=o;var d=function(){function e(e){this.factory=e,e.registerShim(this)}return e.prototype.dispose=function(e){this.factory.unregisterShim(this)},e}();function m(e,n){return e.map((function(e){return f(e,n)}))}function f(n,t){return{message:e.flattenDiagnosticMessageText(n.messageText,t),start:n.start,length:n.length,category:e.diagnosticCategoryName(n),code:n.code,reportsUnnecessary:n.reportsUnnecessary}}e.realizeDiagnostics=m;var _=function(n){function t(e,t,r){var a=n.call(this,e)||this;return a.host=t,a.languageService=r,a.logPerformance=!1,a.logger=a.host,a}return l(t,n),t.prototype.forwardJSONCall=function(e,n){return c(this.logger,e,n,this.logPerformance)},t.prototype.dispose=function(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,p&&p.CollectGarbage&&(p.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,n.prototype.dispose.call(this,e)},t.prototype.refresh=function(e){this.forwardJSONCall("refresh("+e+")",(function(){return null}))},t.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){return e.languageService.cleanupSemanticCache(),null}))},t.prototype.realizeDiagnostics=function(n){var t=e.getNewLineOrDefaultFromHost(this.host);return m(n,t)},t.prototype.getSyntacticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getSyntacticClassifications('"+n+"', "+t+", "+r+")",(function(){return a.languageService.getSyntacticClassifications(n,e.createTextSpan(t,r))}))},t.prototype.getSemanticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getSemanticClassifications('"+n+"', "+t+", "+r+")",(function(){return a.languageService.getSemanticClassifications(n,e.createTextSpan(t,r))}))},t.prototype.getEncodedSyntacticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+n+"', "+t+", "+r+")",(function(){return g(a.languageService.getEncodedSyntacticClassifications(n,e.createTextSpan(t,r)))}))},t.prototype.getEncodedSemanticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+n+"', "+t+", "+r+")",(function(){return g(a.languageService.getEncodedSemanticClassifications(n,e.createTextSpan(t,r)))}))},t.prototype.getSyntacticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSyntacticDiagnostics(e);return n.realizeDiagnostics(t)}))},t.prototype.getSemanticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSemanticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSemanticDiagnostics(e);return n.realizeDiagnostics(t)}))},t.prototype.getSuggestionDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+e+"')",(function(){return n.realizeDiagnostics(n.languageService.getSuggestionDiagnostics(e))}))},t.prototype.getCompilerOptionsDiagnostics=function(){var e=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var n=e.languageService.getCompilerOptionsDiagnostics();return e.realizeDiagnostics(n)}))},t.prototype.getQuickInfoAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getQuickInfoAtPosition(e,n)}))},t.prototype.getNameOrDottedNameSpan=function(e,n,t){var r=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNameOrDottedNameSpan(e,n,t)}))},t.prototype.getBreakpointStatementAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBreakpointStatementAtPosition(e,n)}))},t.prototype.getSignatureHelpItems=function(e,n,t){var r=this;return this.forwardJSONCall("getSignatureHelpItems('"+e+"', "+n+")",(function(){return r.languageService.getSignatureHelpItems(e,n,t)}))},t.prototype.getDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAtPosition(e,n)}))},t.prototype.getDefinitionAndBoundSpan=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAndBoundSpan(e,n)}))},t.prototype.getTypeDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getTypeDefinitionAtPosition(e,n)}))},t.prototype.getImplementationAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getImplementationAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getImplementationAtPosition(e,n)}))},t.prototype.getRenameInfo=function(e,n,t){var r=this;return this.forwardJSONCall("getRenameInfo('"+e+"', "+n+")",(function(){return r.languageService.getRenameInfo(e,n,t)}))},t.prototype.getSmartSelectionRange=function(e,n){var t=this;return this.forwardJSONCall("getSmartSelectionRange('"+e+"', "+n+")",(function(){return t.languageService.getSmartSelectionRange(e,n)}))},t.prototype.findRenameLocations=function(e,n,t,r,a){var i=this;return this.forwardJSONCall("findRenameLocations('"+e+"', "+n+", "+t+", "+r+", "+a+")",(function(){return i.languageService.findRenameLocations(e,n,t,r,a)}))},t.prototype.getBraceMatchingAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBraceMatchingAtPosition(e,n)}))},t.prototype.isValidBraceCompletionAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.isValidBraceCompletionAtPosition(e,n,t)}))},t.prototype.getSpanOfEnclosingComment=function(e,n,t){var r=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+e+"', "+n+")",(function(){return r.languageService.getSpanOfEnclosingComment(e,n,t)}))},t.prototype.getIndentationAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getIndentationAtPosition('"+e+"', "+n+")",(function(){var a=JSON.parse(t);return r.languageService.getIndentationAtPosition(e,n,a)}))},t.prototype.getReferencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getReferencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getReferencesAtPosition(e,n)}))},t.prototype.findReferences=function(e,n){var t=this;return this.forwardJSONCall("findReferences('"+e+"', "+n+")",(function(){return t.languageService.findReferences(e,n)}))},t.prototype.getOccurrencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getOccurrencesAtPosition(e,n)}))},t.prototype.getDocumentHighlights=function(n,t,r){var a=this;return this.forwardJSONCall("getDocumentHighlights('"+n+"', "+t+")",(function(){var i=a.languageService.getDocumentHighlights(n,t,JSON.parse(r)),o=e.normalizeSlashes(n).toLowerCase();return e.filter(i,(function(n){return e.normalizeSlashes(n.fileName).toLowerCase()===o}))}))},t.prototype.getCompletionsAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getCompletionsAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getCompletionsAtPosition(e,n,t)}))},t.prototype.getCompletionEntryDetails=function(e,n,t,r,a,i){var o=this;return this.forwardJSONCall("getCompletionEntryDetails('"+e+"', "+n+", '"+t+"')",(function(){var s=void 0===r?void 0:JSON.parse(r);return o.languageService.getCompletionEntryDetails(e,n,t,s,a,i)}))},t.prototype.getFormattingEditsForRange=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsForRange('"+e+"', "+n+", "+t+")",(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsForRange(e,n,t,i)}))},t.prototype.getFormattingEditsForDocument=function(e,n){var t=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+e+"')",(function(){var r=JSON.parse(n);return t.languageService.getFormattingEditsForDocument(e,r)}))},t.prototype.getFormattingEditsAfterKeystroke=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+e+"', "+n+", '"+t+"')",(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsAfterKeystroke(e,n,t,i)}))},t.prototype.getDocCommentTemplateAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getDocCommentTemplateAtPosition(e,n)}))},t.prototype.getNavigateToItems=function(e,n,t){var r=this;return this.forwardJSONCall("getNavigateToItems('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNavigateToItems(e,n,t)}))},t.prototype.getNavigationBarItems=function(e){var n=this;return this.forwardJSONCall("getNavigationBarItems('"+e+"')",(function(){return n.languageService.getNavigationBarItems(e)}))},t.prototype.getNavigationTree=function(e){var n=this;return this.forwardJSONCall("getNavigationTree('"+e+"')",(function(){return n.languageService.getNavigationTree(e)}))},t.prototype.getOutliningSpans=function(e){var n=this;return this.forwardJSONCall("getOutliningSpans('"+e+"')",(function(){return n.languageService.getOutliningSpans(e)}))},t.prototype.getTodoComments=function(e,n){var t=this;return this.forwardJSONCall("getTodoComments('"+e+"')",(function(){return t.languageService.getTodoComments(e,JSON.parse(n))}))},t.prototype.getEmitOutput=function(e){var n=this;return this.forwardJSONCall("getEmitOutput('"+e+"')",(function(){return n.languageService.getEmitOutput(e)}))},t.prototype.getEmitOutputObject=function(e){var n=this;return u(this.logger,"getEmitOutput('"+e+"')",!1,(function(){return n.languageService.getEmitOutput(e)}),this.logPerformance)},t}(d);function g(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var y=function(n){function t(t,r){var a=n.call(this,t)||this;return a.logger=r,a.logPerformance=!1,a.classifier=e.createClassifier(),a}return l(t,n),t.prototype.getEncodedLexicalClassifications=function(e,n,t){var r=this;return void 0===t&&(t=!1),c(this.logger,"getEncodedLexicalClassifications",(function(){return g(r.classifier.getEncodedLexicalClassifications(e,n,t))}),this.logPerformance)},t.prototype.getClassificationsForLine=function(e,n,t){void 0===t&&(t=!1);for(var r=this.classifier.getClassificationsForLine(e,n,t),a="",i=0,o=r.entries;ir?e[c]=i[s++]:s>a?e[c]=i[o++]:n(i[s],i[o])<0?e[c]=i[s++]:e[c]=i[o++]}function k(e,n,t,r,a){if(!(r<=t)){var i=t+(r-t)/2|0;k(e,n,t,i,a),k(e,n,i+1,r,a),n(e[i],e[i+1])<=0||D(e,n,t,i,r,a)}}var N=function(){function e(e,n,t,r){this.originalStart=e,this.originalLength=n,this.modifiedStart=t,this.modifiedLength=r}return e.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},e.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},e}();function I(e,n){return(n<<5)-n+e|0}function O(e,n){n=I(149417,n);for(var t=0,r=e.length;t0||this.m_modifiedCount>0)&&this.m_changes.push(new N(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824},e.prototype.AddOriginalElement=function(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),B=function(){function e(n,t,r){void 0===r&&(r=null),this.ContinueProcessingPredicate=r;var a=e._getElements(n),i=a[0],o=a[1],s=a[2],c=e._getElements(t),l=c[0],u=c[1],d=c[2];this._hasStrings=s&&d,this._originalStringElements=i,this._originalElementsOrHash=o,this._modifiedStringElements=l,this._modifiedElementsOrHash=u,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e._isStringArray=function(e){return e.length>0&&"string"===typeof e[0]},e._getElements=function(n){var t=n.getElements();if(e._isStringArray(t)){for(var r=new Int32Array(t.length),a=0,i=t.length;a=e&&r>=t&&this.ElementsAreEqual(n,r))n--,r--;if(e>n||t>r){var i=void 0;return t<=r?(P.Assert(e===n+1,"originalStart should only be one more than originalEnd"),i=[new N(e,0,t,r-t+1)]):e<=n?(P.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new N(e,n-e+1,t,0)]):(P.Assert(e===n+1,"originalStart should only be one more than originalEnd"),P.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}var o=[0],s=[0],c=this.ComputeRecursionPoint(e,n,t,r,o,s,a),l=o[0],u=s[0];if(null!==c)return c;if(!a[0]){var d=this.ComputeDiffRecursive(e,l,t,u,a),p=[];return p=a[0]?[new N(l+1,n-(l+1)+1,u+1,r-(u+1)+1)]:this.ComputeDiffRecursive(l+1,n,u+1,r,a),this.ConcatenateChanges(d,p)}return[new N(e,n-e+1,t,r-t+1)]},e.prototype.WALKTRACE=function(e,n,t,r,a,i,o,s,c,l,u,d,p,m,f,_,g,y){var v=null,h=null,b=new G,E=n,T=t,S=p[0]-_[0]-r,x=-1073741824,L=this.m_forwardHistory.length-1;do{var C=S+e;C===E||C=0&&(c=this.m_forwardHistory[L],e=c[0],E=1,T=c.length-1)}while(--L>=-1);if(v=b.getReverseChanges(),y[0]){var A=p[0]+1,D=_[0]+1;if(null!==v&&v.length>0){var k=v[v.length-1];A=Math.max(A,k.getOriginalEnd()),D=Math.max(D,k.getModifiedEnd())}h=[new N(A,d-A+1,D,f-D+1)]}else{b=new G,E=i,T=o,S=p[0]-_[0]-s,x=1073741824,L=g?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{C=S+a;C===E||C=l[C+1]?(u=l[C+1]-1,m=u-S-s,u>x&&b.MarkNextChange(),x=u+1,b.AddOriginalElement(u+1,m+1),S=C+1-a):(u=l[C-1],m=u-S-s,u>x&&b.MarkNextChange(),x=u,b.AddModifiedElement(u+1,m+1),S=C-1-a),L>=0&&(l=this.m_reverseHistory[L],a=l[0],E=1,T=l.length-1)}while(--L>=-1);h=b.getChanges()}return this.ConcatenateChanges(v,h)},e.prototype.ComputeRecursionPoint=function(e,n,t,r,a,i,o){var s=0,c=0,l=0,u=0,d=0,p=0;e--,t--,a[0]=0,i[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var m=n-e+(r-t),f=m+1,_=new Int32Array(f),g=new Int32Array(f),y=r-t,v=n-e,h=e-t,b=n-r,E=v-y,T=E%2===0;_[y]=e,g[v]=n,o[0]=!1;for(var S=1;S<=m/2+1;S++){var x=0,L=0;l=this.ClipDiagonalBound(y-S,S,y,f),u=this.ClipDiagonalBound(y+S,S,y,f);for(var C=l;C<=u;C+=2){s=C===l||Cx+L&&(x=s,L=c),!T&&Math.abs(C-v)<=S-1&&s>=g[C])return a[0]=s,i[0]=c,A<=g[C]&&S<=1448?this.WALKTRACE(y,l,u,h,v,d,p,b,_,g,s,n,a,c,r,i,T,o):null}var D=(x-e+(L-t)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(x,D))return o[0]=!0,a[0]=x,i[0]=L,D>0&&S<=1448?this.WALKTRACE(y,l,u,h,v,d,p,b,_,g,s,n,a,c,r,i,T,o):(e++,t++,[new N(e,n-e+1,t,r-t+1)]);d=this.ClipDiagonalBound(v-S,S,v,f),p=this.ClipDiagonalBound(v+S,S,v,f);for(C=d;C<=p;C+=2){s=C===d||C=g[C+1]?g[C+1]-1:g[C-1],c=s-(C-v)-b;A=s;while(s>e&&c>t&&this.ElementsAreEqual(s,c))s--,c--;if(g[C]=s,T&&Math.abs(C-y)<=S&&s<=_[C])return a[0]=s,i[0]=c,A>=_[C]&&S<=1448?this.WALKTRACE(y,l,u,h,v,d,p,b,_,g,s,n,a,c,r,i,T,o):null}if(S<=1447){var k=new Int32Array(u-l+2);k[0]=y-l+1,F.Copy2(_,l,k,1,u-l+1),this.m_forwardHistory.push(k),k=new Int32Array(p-d+2),k[0]=v-d+1,F.Copy2(g,d,k,1,p-d+1),this.m_reverseHistory.push(k)}}return this.WALKTRACE(y,l,u,h,v,d,p,b,_,g,s,n,a,c,r,i,T,o)},e.prototype.PrettifyChanges=function(e){for(var n=0;n0,o=t.modifiedLength>0;while(t.originalStart+t.originalLength=0;n--){t=e[n],r=0,a=0;if(n>0){var c=e[n-1];c.originalLength>0&&(r=c.originalStart+c.originalLength),c.modifiedLength>0&&(a=c.modifiedStart+c.modifiedLength)}i=t.originalLength>0,o=t.modifiedLength>0;for(var l=0,u=this._boundaryScore(t.originalStart,t.originalLength,t.modifiedStart,t.modifiedLength),d=1;;d++){var p=t.originalStart-d,m=t.modifiedStart-d;if(pu&&(u=f,l=d)}t.originalStart-=l,t.modifiedStart-=l}return e},e.prototype._OriginalIsBoundary=function(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])},e.prototype._OriginalRegionIsBoundary=function(e,n){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(n>0){var t=e+n;if(this._OriginalIsBoundary(t-1)||this._OriginalIsBoundary(t))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])},e.prototype._ModifiedRegionIsBoundary=function(e,n){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(n>0){var t=e+n;if(this._ModifiedIsBoundary(t-1)||this._ModifiedIsBoundary(t))return!0}return!1},e.prototype._boundaryScore=function(e,n,t,r){var a=this._OriginalRegionIsBoundary(e,n)?1:0,i=this._ModifiedRegionIsBoundary(t,r)?1:0;return a+i},e.prototype.ConcatenateChanges=function(e,n){var t=[];if(0===e.length||0===n.length)return n.length>0?n:e;if(this.ChangesOverlap(e[e.length-1],n[0],t)){var r=new Array(e.length+n.length-1);return F.Copy(e,0,r,0,e.length-1),r[e.length-1]=t[0],F.Copy(n,1,r,e.length,n.length-1),r}r=new Array(e.length+n.length);return F.Copy(e,0,r,0,e.length),F.Copy(n,0,r,e.length,n.length),r},e.prototype.ChangesOverlap=function(e,n,t){if(P.Assert(e.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),P.Assert(e.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=n.originalStart||e.modifiedStart+e.modifiedLength>=n.modifiedStart){var r=e.originalStart,a=e.originalLength,i=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=n.originalStart&&(a=n.originalStart+n.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=n.modifiedStart&&(o=n.modifiedStart+n.modifiedLength-e.modifiedStart),t[0]=new N(r,a,i,o),!0}return t[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,n,t,r){if(e>=0&&e=t?U:{done:!1,value:e[n++]}}}}function i(e){return{next:function(){var n=e.next();return n.done?U:{done:!1,value:n.value}}}}function o(n){return n?Array.isArray(n)?e.fromArray(n):n:e.empty()}function s(e,n){return{next:function(){var t=e.next();return t.done?U:{done:!1,value:n(t.value)}}}}function c(e,n){return{next:function(){while(1){var t=e.next();if(t.done)return U;if(n(t.value))return{done:!1,value:t.value}}}}}function l(e,n){for(var t=e.next();!t.done;t=e.next())n(t.value)}function u(e,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var t=[];if(0===n)return t;for(var r=0,a=e.next();!a.done;a=e.next())if(t.push(a.value),++r>=n)break;return t}function d(){for(var e=[],n=0;n=e.length)return U;var n=e[t],r=n.next();return r.done?(t++,this.next()):r}}}function p(e){return new j(e)}e.empty=t,e.single=r,e.fromArray=a,e.fromNativeIterator=i,e.from=o,e.map=s,e.filter=c,e.forEach=l,e.collect=u,e.concat=d,e.chain=p})(R||(R={}));var j=function(){function e(e){this.it=e}return e.prototype.next=function(){return this.it.next()},e}();var K,H=function(){function e(e,n,t,r){void 0===n&&(n=0),void 0===t&&(t=e.length),void 0===r&&(r=n-1),this.items=e,this.start=n,this.end=t,this.index=r}return e.prototype.first=function(){return this.index=this.start,this.current()},e.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},e.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},e}(),W=(function(e){function n(n,t,r,a){return void 0===t&&(t=0),void 0===r&&(r=n.length),void 0===a&&(a=t-1),e.call(this,n,t,r,a)||this}V(n,e),n.prototype.current=function(){return e.prototype.current.call(this)},n.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},n.prototype.first=function(){return this.index=this.start,this.current()},n.prototype.last=function(){return this.index=this.end-1,this.current()},n.prototype.parent=function(){return null}}(H),function(){function e(e,n){this.iterator=e,this.fn=n}e.prototype.next=function(){return this.fn(this.iterator.next())}}(),function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},e(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}()),q=/^\w[\w\d+.-]*$/,z=/^\//,J=/^\/\//;function X(e,n){if(!e.scheme&&n)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!q.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!z.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(J.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}function Y(e,n){return e||n?e:"file"}function Q(e,n){switch(e){case"https":case"http":case"file":n?n[0]!==$&&(n=$+n):n=$;break}return n}var Z="",$="/",ee=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,ne=function(){function e(e,n,t,r,a,i){void 0===i&&(i=!1),"object"===typeof e?(this.scheme=e.scheme||Z,this.authority=e.authority||Z,this.path=e.path||Z,this.query=e.query||Z,this.fragment=e.fragment||Z):(this.scheme=Y(e,i),this.authority=n||Z,this.path=Q(this.scheme,t||Z),this.query=r||Z,this.fragment=a||Z,X(this,i))}return e.isUri=function(n){return n instanceof e||!!n&&("string"===typeof n.authority&&"string"===typeof n.fragment&&"string"===typeof n.path&&"string"===typeof n.query&&"string"===typeof n.scheme&&"function"===typeof n.fsPath&&"function"===typeof n.with&&"function"===typeof n.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return se(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var n=e.scheme,t=e.authority,r=e.path,a=e.query,i=e.fragment;return void 0===n?n=this.scheme:null===n&&(n=Z),void 0===t?t=this.authority:null===t&&(t=Z),void 0===r?r=this.path:null===r&&(r=Z),void 0===a?a=this.query:null===a&&(a=Z),void 0===i?i=this.fragment:null===i&&(i=Z),n===this.scheme&&t===this.authority&&r===this.path&&a===this.query&&i===this.fragment?this:new re(n,t,r,a,i)},e.parse=function(e,n){void 0===n&&(n=!1);var t=ee.exec(e);return t?new re(t[2]||Z,de(t[4]||Z),de(t[5]||Z),de(t[7]||Z),de(t[9]||Z),n):new re(Z,Z,Z,Z,Z)},e.file=function(e){var n=Z;if(h["c"]&&(e=e.replace(/\\/g,$)),e[0]===$&&e[1]===$){var t=e.indexOf($,2);-1===t?(n=e.substring(2),e=$):(n=e.substring(2,t),e=e.substring(t)||$)}return new re("file",n,e,Z,Z)},e.from=function(e){return new re(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),ce(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(n){if(n){if(n instanceof e)return n;var t=new re(n);return t._formatted=n.external,t._fsPath=n._sep===te?n.fsPath:null,t}return n},e}(),te=h["c"]?1:void 0,re=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n._formatted=null,n._fsPath=null,n}return W(n,e),Object.defineProperty(n.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=se(this)),this._fsPath},enumerable:!0,configurable:!0}),n.prototype.toString=function(e){return void 0===e&&(e=!1),e?ce(this,!0):(this._formatted||(this._formatted=ce(this,!1)),this._formatted)},n.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=te),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},n}(ne),ae=(K={},K[58]="%3A",K[47]="%2F",K[63]="%3F",K[35]="%23",K[91]="%5B",K[93]="%5D",K[64]="%40",K[33]="%21",K[36]="%24",K[38]="%26",K[39]="%27",K[40]="%28",K[41]="%29",K[42]="%2A",K[43]="%2B",K[44]="%2C",K[59]="%3B",K[61]="%3D",K[32]="%20",K);function ie(e,n){for(var t=void 0,r=-1,a=0;a=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||45===i||46===i||95===i||126===i||n&&47===i)-1!==r&&(t+=encodeURIComponent(e.substring(r,a)),r=-1),void 0!==t&&(t+=e.charAt(a));else{void 0===t&&(t=e.substr(0,a));var o=ae[i];void 0!==o?(-1!==r&&(t+=encodeURIComponent(e.substring(r,a)),r=-1),t+=o):-1===r&&(r=a)}}return-1!==r&&(t+=encodeURIComponent(e.substring(r))),void 0!==t?t:e}function oe(e){for(var n=void 0,t=0;t1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,h["c"]&&(n=n.replace(/\//g,"\\")),n}function ce(e,n){var t=n?oe:ie,r="",a=e.scheme,i=e.authority,o=e.path,s=e.query,c=e.fragment;if(a&&(r+=a,r+=":"),(i||"file"===a)&&(r+=$,r+=$),i){var l=i.indexOf("@");if(-1!==l){var u=i.substr(0,l);i=i.substr(l+1),l=u.indexOf(":"),-1===l?r+=t(u,!1):(r+=t(u.substr(0,l),!1),r+=":",r+=t(u.substr(l+1),!1)),r+="@"}i=i.toLowerCase(),l=i.indexOf(":"),-1===l?r+=t(i,!1):(r+=t(i.substr(0,l),!1),r+=i.substr(l))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){var d=o.charCodeAt(1);d>=65&&d<=90&&(o="/"+String.fromCharCode(d+32)+":"+o.substr(3))}else if(o.length>=2&&58===o.charCodeAt(1)){d=o.charCodeAt(0);d>=65&&d<=90&&(o=String.fromCharCode(d+32)+":"+o.substr(2))}r+=t(o,!0)}return s&&(r+="?",r+=t(s,!1)),c&&(r+="#",r+=n?c:ie(c,!1)),r}function le(e){try{return decodeURIComponent(e)}catch(n){return e.length>3?e.substr(0,3)+le(e.substr(3)):e}}var ue=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function de(e){return e.match(ue)?e.replace(ue,(function(e){return le(e)})):e}var pe=function(){function e(e,n){this.lineNumber=e,this.column=n}return e.prototype.with=function(n,t){return void 0===n&&(n=this.lineNumber),void 0===t&&(t=this.column),n===this.lineNumber&&t===this.column?this:new e(n,t)},e.prototype.delta=function(e,n){return void 0===e&&(e=0),void 0===n&&(n=0),this.with(this.lineNumber+e,this.column+n)},e.prototype.equals=function(n){return e.equals(this,n)},e.equals=function(e,n){return!e&&!n||!!e&&!!n&&e.lineNumber===n.lineNumber&&e.column===n.column},e.prototype.isBefore=function(n){return e.isBefore(this,n)},e.isBefore=function(e,n){return e.lineNumbert||e===t&&n>r?(this.startLineNumber=t,this.startColumn=r,this.endLineNumber=e,this.endColumn=n):(this.startLineNumber=e,this.startColumn=n,this.endLineNumber=t,this.endColumn=r)}return e.prototype.isEmpty=function(){return e.isEmpty(this)},e.isEmpty=function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn},e.prototype.containsPosition=function(n){return e.containsPosition(this,n)},e.containsPosition=function(e,n){return!(n.lineNumbere.endLineNumber)&&(!(n.lineNumber===e.startLineNumber&&n.columne.endColumn))},e.prototype.containsRange=function(n){return e.containsRange(this,n)},e.containsRange=function(e,n){return!(n.startLineNumbere.endLineNumber||n.endLineNumber>e.endLineNumber)&&(!(n.startLineNumber===e.startLineNumber&&n.startColumne.endColumn)))},e.prototype.strictContainsRange=function(n){return e.strictContainsRange(this,n)},e.strictContainsRange=function(e,n){return!(n.startLineNumbere.endLineNumber||n.endLineNumber>e.endLineNumber)&&(!(n.startLineNumber===e.startLineNumber&&n.startColumn<=e.startColumn)&&!(n.endLineNumber===e.endLineNumber&&n.endColumn>=e.endColumn)))},e.prototype.plusRange=function(n){return e.plusRange(this,n)},e.plusRange=function(n,t){var r,a,i,o;return t.startLineNumbern.endLineNumber?(i=t.endLineNumber,o=t.endColumn):t.endLineNumber===n.endLineNumber?(i=t.endLineNumber,o=Math.max(t.endColumn,n.endColumn)):(i=n.endLineNumber,o=n.endColumn),new e(r,a,i,o)},e.prototype.intersectRanges=function(n){return e.intersectRanges(this,n)},e.intersectRanges=function(n,t){var r=n.startLineNumber,a=n.startColumn,i=n.endLineNumber,o=n.endColumn,s=t.startLineNumber,c=t.startColumn,l=t.endLineNumber,u=t.endColumn;return rl?(i=l,o=u):i===l&&(o=Math.min(o,u)),r>i||r===i&&a>o?null:new e(r,a,i,o)},e.prototype.equalsRange=function(n){return e.equalsRange(this,n)},e.equalsRange=function(e,n){return!!e&&!!n&&e.startLineNumber===n.startLineNumber&&e.startColumn===n.startColumn&&e.endLineNumber===n.endLineNumber&&e.endColumn===n.endColumn},e.prototype.getEndPosition=function(){return new pe(this.endLineNumber,this.endColumn)},e.prototype.getStartPosition=function(){return new pe(this.startLineNumber,this.startColumn)},e.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},e.prototype.setEndPosition=function(n,t){return new e(this.startLineNumber,this.startColumn,n,t)},e.prototype.setStartPosition=function(n,t){return new e(n,t,this.endLineNumber,this.endColumn)},e.prototype.collapseToStart=function(){return e.collapseToStart(this)},e.collapseToStart=function(n){return new e(n.startLineNumber,n.startColumn,n.startLineNumber,n.startColumn)},e.fromPositions=function(n,t){return void 0===t&&(t=n),new e(n.lineNumber,n.column,t.lineNumber,t.column)},e.lift=function(n){return n?new e(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):null},e.isIRange=function(e){return e&&"number"===typeof e.startLineNumber&&"number"===typeof e.startColumn&&"number"===typeof e.endLineNumber&&"number"===typeof e.endColumn},e.areIntersectingOrTouching=function(e,n){return!(e.endLineNumbere.startLineNumber},e}();function fe(e){for(var n=0,t=e.length;n=0;t--){var r=e.charCodeAt(t);if(32!==r&&9!==r)return t}return-1}String.fromCharCode(65279);(function(){function e(){this._data=ge()}e.getInstance=function(){return e._INSTANCE||(e._INSTANCE=new e),e._INSTANCE},e.prototype.getGraphemeBreakType=function(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;var n=this._data,t=n.length/3,r=1;while(r<=t)if(en[3*r+1]))return n[3*r+2];r=2*r+1}return 0},e._INSTANCE=null})();function ge(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}var ye=3;function ve(e,n,t,r){var a=new B(e,n,t);return a.ComputeDiff(r)}var he=function(){function e(e){for(var n=[],t=[],r=0,a=e.length;r0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){var m=r.createCharSequence(n,t.originalStart,t.originalStart+t.originalLength-1),f=a.createCharSequence(n,t.modifiedStart,t.modifiedStart+t.modifiedLength-1),_=ve(m,f,i,!0).changes;s&&(_=Te(_)),p=[];for(var g=0,y=_.length;g1&&g>1){var y=m.charCodeAt(_-2),v=f.charCodeAt(g-2);if(y!==v)break;_--,g--}(_>1||g>1)&&this._pushTrimWhitespaceCharChange(o,s+1,1,_,c+1,1,g);var h=Ce(m,1),b=Ce(f,1),E=m.length+1,T=f.length+1;while(h255?255:0|e}function ke(e){return e<0?0:e>4294967295?4294967295:0|e}var Ne=function(){function e(e,n){this.index=e,this.remainder=n}return e}(),Ie=function(){function e(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return e.prototype.insertValues=function(e,n){e=ke(e);var t=this.values,r=this.prefixSum,a=n.length;return 0!==a&&(this.values=new Uint32Array(t.length+a),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e),e+a),this.values.set(n,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.changeValue=function(e,n){return e=ke(e),n=ke(n),this.values[e]!==n&&(this.values[e]=n,e-1=t.length)return!1;var a=t.length-e;return n>=a&&(n=a),0!==n&&(this.values=new Uint32Array(t.length-n),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e+n),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},e.prototype.getAccumulatedValue=function(e){return e<0?0:(e=ke(e),this._getAccumulatedValue(e))},e.prototype._getAccumulatedValue=function(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];var n=this.prefixSumValidIndex[0]+1;0===n&&(this.prefixSum[0]=this.values[0],n++),e>=this.values.length&&(e=this.values.length-1);for(var t=n;t<=e;t++)this.prefixSum[t]=this.prefixSum[t-1]+this.values[t];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]},e.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();var n=0,t=this.values.length-1,r=0,a=0,i=0;while(n<=t)if(r=n+(t-n)/2|0,a=this.prefixSum[r],i=a-this.values[r],e=a))break;n=r+1}return new Ne(r,e-i)},e}(),Oe=function(){function e(e,n,t,r){this._uri=e,this._lines=n,this._eol=t,this._versionId=r,this._lineStarts=null}return e.prototype.dispose=function(){this._lines.length=0},e.prototype.getText=function(){return this._lines.join(this._eol)},e.prototype.onEvents=function(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);for(var n=e.changes,t=0,r=n;t/?";function we(e){void 0===e&&(e="");for(var n="(-?\\d*\\.\\d\\w*)|([^",t=0,r=Me;t=0||(n+="\\"+a)}return n+="\\s]+)",new RegExp(n,"g")}var Re=we();function Pe(e){var n=Re;if(e&&e instanceof RegExp)if(e.global)n=e;else{var t="g";e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),n=new RegExp(e.source,t)}return n.lastIndex=0,n}function Fe(e,n,t,r){var a,i=e-1-r,o=t.lastIndexOf(" ",i-1)+1;n.lastIndex=o;while(a=n.exec(t)){var s=a.index||0;if(s<=i&&n.lastIndex>=i)return{word:a[0],startColumn:r+1+s,endColumn:r+1+n.lastIndex}}return null}function Ge(e,n,t,r){var a,i=e-1-r;n.lastIndex=0;while(a=n.exec(t)){var o=a.index||0;if(o>i)return null;if(n.lastIndex>=i)return{word:a[0],startColumn:r+1+o,endColumn:r+1+n.lastIndex}}return null}function Be(e,n,t,r){n.lastIndex=0;var a=n.exec(t);if(!a)return null;var i=a[0].indexOf(" ")>=0?Ge(e,n,t,r):Fe(e,n,t,r);return n.lastIndex=0,i}var Ve=function(){function e(n){var t=De(n);this._defaultValue=t,this._asciiMap=e._createAsciiMap(t),this._map=new Map}return e._createAsciiMap=function(e){for(var n=new Uint8Array(256),t=0;t<256;t++)n[t]=e;return n},e.prototype.set=function(e,n){var t=De(n);e>=0&&e<256?this._asciiMap[e]=t:this._map.set(e,t)},e.prototype.get=function(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue},e}(),Ue=(function(){function e(){this._actual=new Ve(0)}e.prototype.add=function(e){this._actual.set(e,1)},e.prototype.has=function(e){return 1===this._actual.get(e)}}(),function(){function e(e,n,t){for(var r=new Uint8Array(e*n),a=0,i=e*n;an&&(n=s),o>t&&(t=o),c>t&&(t=c)}n++,t++;var l=new Ue(t,n,0);for(r=0,a=e.length;r=this._maxCharCode?0:this._states.get(e,n)},e}(),Ke=null;function He(){return null===Ke&&(Ke=new je([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Ke}var We=null;function qe(){if(null===We){We=new Ve(0);for(var e=" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…",n=0;nr);if(r>0){var c=n.charCodeAt(r-1),l=n.charCodeAt(i);(40===c&&41===l||91===c&&93===l||123===c&&125===l)&&i--}return{range:{startLineNumber:t,startColumn:r+1,endLineNumber:t,endColumn:i+2},url:n.substring(r,i+1)}},e.computeLinks=function(n,t){void 0===t&&(t=He());for(var r=qe(),a=[],i=1,o=n.getLineCount();i<=o;i++){var s=n.getLineContent(i),c=s.length,l=0,u=0,d=0,p=1,m=!1,f=!1,_=!1;while(l=0?(r+=t?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null},e.INSTANCE=new e,e}();t("5110");function Ye(e){var n,t=this,r=!1;return function(){return r||(r=!0,n=e.apply(t,arguments)),n}}var Qe,Ze=function(){function e(n){this.element=n,this.next=e.Undefined,this.prev=e.Undefined}return e.Undefined=new e(void 0),e}(),$e=function(){function e(){this._first=Ze.Undefined,this._last=Ze.Undefined,this._size=0}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return this._first===Ze.Undefined},e.prototype.clear=function(){this._first=Ze.Undefined,this._last=Ze.Undefined,this._size=0},e.prototype.unshift=function(e){return this._insert(e,!1)},e.prototype.push=function(e){return this._insert(e,!0)},e.prototype._insert=function(e,n){var t=this,r=new Ze(e);if(this._first===Ze.Undefined)this._first=r,this._last=r;else if(n){var a=this._last;this._last=r,r.prev=a,a.next=r}else{var i=this._first;this._first=r,r.next=i,i.prev=r}this._size+=1;var o=!1;return function(){o||(o=!0,t._remove(r))}},e.prototype.shift=function(){if(this._first!==Ze.Undefined){var e=this._first.element;return this._remove(this._first),e}},e.prototype.pop=function(){if(this._last!==Ze.Undefined){var e=this._last.element;return this._remove(this._last),e}},e.prototype._remove=function(e){if(e.prev!==Ze.Undefined&&e.next!==Ze.Undefined){var n=e.prev;n.next=e.next,e.next.prev=n}else e.prev===Ze.Undefined&&e.next===Ze.Undefined?(this._first=Ze.Undefined,this._last=Ze.Undefined):e.next===Ze.Undefined?(this._last=this._last.prev,this._last.next=Ze.Undefined):e.prev===Ze.Undefined&&(this._first=this._first.next,this._first.prev=Ze.Undefined);this._size-=1},e.prototype.iterator=function(){var e,n=this._first;return{next:function(){return n===Ze.Undefined?U:(e?e.value=n.element:e={done:!1,value:n.element},n=n.next,e)}}},e.prototype.toArray=function(){for(var e=[],n=this._first;n!==Ze.Undefined;n=n.next)e.push(n.element);return e},e}(),en=function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},e(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}();(function(e){function n(e){return function(n,t,r){void 0===t&&(t=null);var a,i=!1;return a=e((function(e){if(!i)return a?a.dispose():i=!0,n.call(t,e)}),null,r),i&&a.dispose(),a}}function t(e,n){return c((function(t,r,a){return void 0===r&&(r=null),e((function(e){return t.call(r,n(e))}),null,a)}))}function r(e,n){return c((function(t,r,a){return void 0===r&&(r=null),e((function(e){n(e),t.call(r,e)}),null,a)}))}function a(e,n){return c((function(t,r,a){return void 0===r&&(r=null),e((function(e){return n(e)&&t.call(r,e)}),null,a)}))}function i(e){return e}function o(){for(var e=[],n=0;n1)&&l.fire(e),c=0}),t)}))},onLastListenerRemove:function(){i.dispose()}});return l.event}function u(e){var r=(new Date).getTime();return t(n(e),(function(e){return(new Date).getTime()-r}))}function d(e){var n,t=!0;return a(e,(function(e){var r=t||e!==n;return t=!1,n=e,r}))}function p(e,n,t){void 0===n&&(n=!1),void 0===t&&(t=[]);var r=t.slice(),a=e((function(e){r?r.push(e):o.fire(e)})),i=function(){r&&r.forEach((function(e){return o.fire(e)})),r=null},o=new an({onFirstListenerAdd:function(){a||(a=e((function(e){return o.fire(e)})))},onFirstListenerDidAdd:function(){r&&(n?setTimeout(i):i())},onLastListenerRemove:function(){a&&a.dispose(),a=null}});return o.event}e.None=function(){return v.None},e.once=n,e.map=t,e.forEach=r,e.filter=a,e.signal=i,e.any=o,e.reduce=s,e.snapshot=c,e.debounce=l,e.stopwatch=u,e.latch=d,e.buffer=p;var m=function(){function e(e){this.event=e}return e.prototype.map=function(n){return new e(t(this.event,n))},e.prototype.forEach=function(n){return new e(r(this.event,n))},e.prototype.filter=function(n){return new e(a(this.event,n))},e.prototype.reduce=function(n,t){return new e(s(this.event,n,t))},e.prototype.latch=function(){return new e(d(this.event))},e.prototype.debounce=function(n,t,r,a){return void 0===t&&(t=100),void 0===r&&(r=!1),new e(l(this.event,n,t,r,a))},e.prototype.on=function(e,n,t){return this.event(e,n,t)},e.prototype.once=function(e,t,r){return n(this.event)(e,t,r)},e}();function f(e){return new m(e)}function g(e,n,t){void 0===t&&(t=function(e){return e});var r=function(){for(var e=[],n=0;n0?new rn(this._options&&this._options.leakWarningThreshold):void 0}return Object.defineProperty(e.prototype,"event",{get:function(){var n=this;return this._event||(this._event=function(t,r,a){n._listeners||(n._listeners=new $e);var i=n._listeners.isEmpty();i&&n._options&&n._options.onFirstListenerAdd&&n._options.onFirstListenerAdd(n);var o,s,c=n._listeners.push(r?[t,r]:t);return i&&n._options&&n._options.onFirstListenerDidAdd&&n._options.onFirstListenerDidAdd(n),n._options&&n._options.onListenerDidAdd&&n._options.onListenerDidAdd(n,t,r),n._leakageMon&&(o=n._leakageMon.check(n._listeners.size)),s={dispose:function(){if(o&&o(),s.dispose=e._noop,!n._disposed&&(c(),n._options&&n._options.onLastListenerRemove)){var t=n._listeners&&!n._listeners.isEmpty();t||n._options.onLastListenerRemove(n)}}},a instanceof y?a.add(s):Array.isArray(a)&&a.push(s),s}),this._event},enumerable:!0,configurable:!0}),e.prototype.fire=function(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new $e);for(var n=this._listeners.iterator(),t=n.next();!t.done;t=n.next())this._deliveryQueue.push([t.value,e]);while(this._deliveryQueue.size>0){var r=this._deliveryQueue.shift(),a=r[0],o=r[1];try{"function"===typeof a?a.call(void 0,o):a[0].call(a[1],o)}catch(t){i(t)}}}},e.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},e._noop=function(){},e}(),on=(function(e){function n(n){var t=e.call(this,n)||this;return t._isPaused=0,t._eventQueue=new $e,t._mergeFn=n&&n.merge,t}en(n,e),n.prototype.pause=function(){this._isPaused++},n.prototype.resume=function(){if(0!==this._isPaused&&0===--this._isPaused)if(this._mergeFn){var n=this._eventQueue.toArray();this._eventQueue.clear(),e.prototype.fire.call(this,this._mergeFn(n))}else while(!this._isPaused&&0!==this._eventQueue.size)e.prototype.fire.call(this,this._eventQueue.shift())},n.prototype.fire=function(n){this._listeners&&(0!==this._isPaused?this._eventQueue.push(n):e.prototype.fire.call(this,n))}}(an),function(){function e(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new an({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var n=this,t={event:e,listener:null};this.events.push(t),this.hasListeners&&this.hook(t);var r=function(){n.hasListeners&&n.unhook(t);var e=n.events.indexOf(t);n.events.splice(e,1)};return g(Ye(r))},e.prototype.onFirstListenerAdd=function(){var e=this;this.hasListeners=!0,this.events.forEach((function(n){return e.hook(n)}))},e.prototype.onLastListenerRemove=function(){var e=this;this.hasListeners=!1,this.events.forEach((function(n){return e.unhook(n)}))},e.prototype.hook=function(e){var n=this;e.listener=e.event((function(e){return n.emitter.fire(e)}))},e.prototype.unhook=function(e){e.listener&&e.listener.dispose(),e.listener=null},e.prototype.dispose=function(){this.emitter.dispose()}}(),function(){function e(){this.buffers=[]}e.prototype.wrapEvent=function(e){var n=this;return function(t,r,a){return e((function(e){var a=n.buffers[n.buffers.length-1];a?a.push((function(){return t.call(r,e)})):t.call(r,e)}),void 0,a)}},e.prototype.bufferEvents=function(e){var n=[];this.buffers.push(n);var t=e();return this.buffers.pop(),n.forEach((function(e){return e()})),t}}(),function(){function e(){var e=this;this.listening=!1,this.inputEvent=Qe.None,this.inputEventListener=v.None,this.emitter=new an({onFirstListenerDidAdd:function(){e.listening=!0,e.inputEventListener=e.inputEvent(e.emitter.fire,e.emitter)},onLastListenerRemove:function(){e.listening=!1,e.inputEventListener.dispose()}}),this.event=this.emitter.event}Object.defineProperty(e.prototype,"input",{set:function(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()}}(),Object.freeze((function(e,n){var t=setTimeout(e.bind(n),0);return{dispose:function(){clearTimeout(t)}}})));(function(e){function n(n){return n===e.None||n===e.Cancelled||(n instanceof cn||!(!n||"object"!==typeof n)&&("boolean"===typeof n.isCancellationRequested&&"function"===typeof n.onCancellationRequested))}e.isCancellationToken=n,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Qe.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:on})})(nn||(nn={}));var sn,cn=function(){function e(){this._isCancelled=!1,this._emitter=null}return e.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(e.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?on:(this._emitter||(this._emitter=new an),this._emitter.event)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},e}(),ln=function(){function e(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=new cn),this._token},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this._token?this._token instanceof cn&&this._token.cancel():this._token=nn.Cancelled},e.prototype.dispose=function(e){void 0===e&&(e=!1),e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof cn&&this._token.dispose():this._token=nn.None},e}(),un=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(e,n){this._keyCodeToStr[e]=n,this._strToKeyCode[n.toLowerCase()]=e},e.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},e.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},e}(),dn=new un,pn=new un,mn=new un;function fn(e,n){var t=(65535&n)<<16>>>0;return(e|t)>>>0}(function(){function e(e,n,t,r){void 0===t&&(t=n),void 0===r&&(r=t),dn.define(e,n),pn.define(e,t),mn.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")})(),function(e){function n(e){return dn.keyCodeToStr(e)}function t(e){return dn.strToKeyCode(e)}function r(e){return pn.keyCodeToStr(e)}function a(e){return mn.keyCodeToStr(e)}function i(e){return pn.strToKeyCode(e)||mn.strToKeyCode(e)}e.toString=n,e.fromString=t,e.toUserSettingsUS=r,e.toUserSettingsGeneral=a,e.fromUserSettings=i}(sn||(sn={}));(function(){function e(e,n,t,r,a){this.ctrlKey=e,this.shiftKey=n,this.altKey=t,this.metaKey=r,this.keyCode=a}e.prototype.equals=function(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode},e.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},e.prototype.toChord=function(){return new Jn([this])},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}})();var _n,gn,yn,vn,hn,bn,En,Tn,Sn,xn,Ln,Cn,An,Dn,kn,Nn,In,On,Mn,wn,Rn,Pn,Fn,Gn,Bn,Vn,Un,jn,Kn,Hn,Wn,qn,zn,Jn=function(){function e(e){if(0===e.length)throw l("parts");this.parts=e}return e.prototype.equals=function(e){if(null===e)return!1;if(this.parts.length!==e.parts.length)return!1;for(var n=0;n "+this.positionLineNumber+","+this.positionColumn+"]"},n.prototype.equalsSelection=function(e){return n.selectionsEqual(this,e)},n.selectionsEqual=function(e,n){return e.selectionStartLineNumber===n.selectionStartLineNumber&&e.selectionStartColumn===n.selectionStartColumn&&e.positionLineNumber===n.positionLineNumber&&e.positionColumn===n.positionColumn},n.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},n.prototype.setEndPosition=function(e,t){return 0===this.getDirection()?new n(this.startLineNumber,this.startColumn,e,t):new n(e,t,this.startLineNumber,this.startColumn)},n.prototype.getPosition=function(){return new pe(this.positionLineNumber,this.positionColumn)},n.prototype.setStartPosition=function(e,t){return 0===this.getDirection()?new n(e,t,this.endLineNumber,this.endColumn):new n(this.endLineNumber,this.endColumn,e,t)},n.fromPositions=function(e,t){return void 0===t&&(t=e),new n(e.lineNumber,e.column,t.lineNumber,t.column)},n.liftSelection=function(e){return new n(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)},n.selectionsArrEqual=function(e,n){if(e&&!n||!e&&n)return!1;if(!e&&!n)return!0;if(e.length!==n.length)return!1;for(var t=0,r=e.length;t0&&a[a.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]=r._lines.length?U:(t=r._lines[a],o=r._wordenize(t,e),i=0,a+=1,s())};return{next:s}},n.prototype.getLineWords=function(e,n){for(var t=this._lines[e-1],r=this._wordenize(t,n),a=[],i=0,o=r;ithis._lines.length)n=this._lines.length,t=this._lines[n-1].length+1,r=!0;else{var a=this._lines[n-1].length+1;t<1?(t=1,r=!0):t>a&&(t=a,r=!0)}return r?{lineNumber:n,column:t}:e},n}(Oe),at=function(){function e(e,n){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}return e.prototype.dispose=function(){this._models=Object.create(null)},e.prototype._getModel=function(e){return this._models[e]},e.prototype._getModels=function(){var e=this,n=[];return Object.keys(this._models).forEach((function(t){return n.push(e._models[t])})),n},e.prototype.acceptNewModel=function(e){this._models[e.url]=new rt(ne.parse(e.url),e.lines,e.EOL,e.versionId)},e.prototype.acceptModelChanged=function(e,n){if(this._models[e]){var t=this._models[e];t.onEvents(n)}},e.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},e.prototype.computeDiff=function(e,n,t,r){return nt(this,void 0,void 0,(function(){var a,i,o,s,c,l,u;return tt(this,(function(d){return a=this._getModel(e),i=this._getModel(n),a&&i?(o=a.getLinesContent(),s=i.getLinesContent(),c=new xe(o,s,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:t,shouldMakePrettyDiff:!0,maxComputationTime:r}),l=c.computeDiff(),u=!(l.changes.length>0)&&this._modelsAreIdentical(a,i),[2,{quitEarly:l.quitEarly,identical:u,changes:l.changes}]):[2,null]}))}))},e.prototype._modelsAreIdentical=function(e,n){var t=e.getLineCount(),r=n.getLineCount();if(t!==r)return!1;for(var a=1;a<=t;a++){var i=e.getLineContent(a),o=n.getLineContent(a);if(i!==o)return!1}return!0},e.prototype.computeMoreMinimalEdits=function(n,t){return nt(this,void 0,void 0,(function(){var r,a,i,o,s,c,l,u,d,p,m,f,_,g,y,v,h,b;return tt(this,(function(E){if(r=this._getModel(n),!r)return[2,t];for(a=[],i=void 0,t=A(t,(function(e,n){if(e.range&&n.range)return me.compareRangesUsingStarts(e.range,n.range);var t=e.range?0:1,r=n.range?0:1;return t-r})),o=0,s=t;oe._diffLimit)a.push({range:l,text:u});else for(m=w(p,u,!1),f=r.offsetAt(me.lift(l).getStartPosition()),_=0,g=m;_\n\n\ninterface SymbolConstructor {\n /**\n * A reference to the prototype.\n */\n readonly prototype: Symbol;\n\n /**\n * Returns a new unique Symbol value.\n * @param description Description of the new Symbol object.\n */\n (description?: string | number): symbol;\n\n /**\n * Returns a Symbol object from the global symbol registry matching the given key if found.\n * Otherwise, returns a new symbol with this key.\n * @param key key to search for.\n */\n for(key: string): symbol;\n\n /**\n * Returns a key from the global symbol registry matching the given Symbol if found.\n * Otherwise, returns a undefined.\n * @param sym Symbol to find the key for.\n */\n keyFor(sym: symbol): string | undefined;\n}\n\ndeclare var Symbol: SymbolConstructor;',lt='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n'+ct+'\ninterface SymbolConstructor {\n /**\n * A method that determines if a constructor object recognizes an object as one of the\n * constructor’s instances. Called by the semantics of the instanceof operator.\n */\n readonly hasInstance: symbol;\n\n /**\n * A Boolean value that if true indicates that an object should flatten to its array elements\n * by Array.prototype.concat.\n */\n readonly isConcatSpreadable: symbol;\n\n /**\n * A regular expression method that matches the regular expression against a string. Called\n * by the String.prototype.match method.\n */\n readonly match: symbol;\n\n /**\n * A regular expression method that replaces matched substrings of a string. Called by the\n * String.prototype.replace method.\n */\n readonly replace: symbol;\n\n /**\n * A regular expression method that returns the index within a string that matches the\n * regular expression. Called by the String.prototype.search method.\n */\n readonly search: symbol;\n\n /**\n * A function valued property that is the constructor function that is used to create\n * derived objects.\n */\n readonly species: symbol;\n\n /**\n * A regular expression method that splits a string at the indices that match the regular\n * expression. Called by the String.prototype.split method.\n */\n readonly split: symbol;\n\n /**\n * A method that converts an object to a corresponding primitive value.\n * Called by the ToPrimitive abstract operation.\n */\n readonly toPrimitive: symbol;\n\n /**\n * A String value that is used in the creation of the default string description of an object.\n * Called by the built-in method Object.prototype.toString.\n */\n readonly toStringTag: symbol;\n\n /**\n * An Object whose own property names are property names that are excluded from the \'with\'\n * environment bindings of the associated objects.\n */\n readonly unscopables: symbol;\n}\n\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Array {\n /**\n * Returns an object whose properties have the value \'true\'\n * when they will be absent when used in a \'with\' statement.\n */\n [Symbol.unscopables](): {\n copyWithin: boolean;\n entries: boolean;\n fill: boolean;\n find: boolean;\n findIndex: boolean;\n keys: boolean;\n values: boolean;\n };\n}\n\ninterface Date {\n /**\n * Converts a Date object to a string.\n */\n [Symbol.toPrimitive](hint: "default"): string;\n /**\n * Converts a Date object to a string.\n */\n [Symbol.toPrimitive](hint: "string"): string;\n /**\n * Converts a Date object to a number.\n */\n [Symbol.toPrimitive](hint: "number"): number;\n /**\n * Converts a Date object to a string or number.\n *\n * @param hint The strings "number", "string", or "default" to specify what primitive to return.\n *\n * @throws {TypeError} If \'hint\' was given something other than "number", "string", or "default".\n * @returns A number if \'hint\' was "number", a string if \'hint\' was "string" or "default".\n */\n [Symbol.toPrimitive](hint: string): string | number;\n}\n\ninterface Map {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface WeakMap {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Set {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface WeakSet {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface JSON {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Function {\n /**\n * Determines whether the given value inherits from this function if this function was used\n * as a constructor function.\n *\n * A constructor function can control which objects are recognized as its instances by\n * \'instanceof\' by overriding this method.\n */\n [Symbol.hasInstance](value: any): boolean;\n}\n\ninterface GeneratorFunction {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Math {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Promise {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface PromiseConstructor {\n readonly [Symbol.species]: PromiseConstructor;\n}\n\ninterface RegExp {\n /**\n * Matches a string with this regular expression, and returns an array containing the results of\n * that search.\n * @param string A string to search within.\n */\n [Symbol.match](string: string): RegExpMatchArray | null;\n\n /**\n * Replaces text in a string, using this regular expression.\n * @param string A String object or string literal whose contents matching against\n * this regular expression will be replaced\n * @param replaceValue A String object or string literal containing the text to replace for every\n * successful match of this regular expression.\n */\n [Symbol.replace](string: string, replaceValue: string): string;\n\n /**\n * Replaces text in a string, using this regular expression.\n * @param string A String object or string literal whose contents matching against\n * this regular expression will be replaced\n * @param replacer A function that returns the replacement text.\n */\n [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;\n\n /**\n * Finds the position beginning first substring match in a regular expression search\n * using this regular expression.\n *\n * @param string The string to search within.\n */\n [Symbol.search](string: string): number;\n\n /**\n * Returns an array of substrings that were delimited by strings in the original input that\n * match against this regular expression.\n *\n * If the regular expression contains capturing parentheses, then each time this\n * regular expression matches, the results (including any undefined results) of the\n * capturing parentheses are spliced.\n *\n * @param string string value to split\n * @param limit if not undefined, the output array is truncated so that it contains no more\n * than \'limit\' elements.\n */\n [Symbol.split](string: string, limit?: number): string[];\n}\n\ninterface RegExpConstructor {\n readonly [Symbol.species]: RegExpConstructor;\n}\n\ninterface String {\n /**\n * Matches a string an object that supports being matched against, and returns an array containing the results of that search.\n * @param matcher An object that supports being matched against.\n */\n match(matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null;\n\n /**\n * Replaces text in a string, using an object that supports replacement within a string.\n * @param searchValue A object can search for and replace matches within a string.\n * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\n */\n replace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string;\n\n /**\n * Replaces text in a string, using an object that supports replacement within a string.\n * @param searchValue A object can search for and replace matches within a string.\n * @param replacer A function that returns the replacement text.\n */\n replace(searchValue: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string; }, replacer: (substring: string, ...args: any[]) => string): string;\n\n /**\n * Finds the first substring match in a regular expression search.\n * @param searcher An object which supports searching within a string.\n */\n search(searcher: { [Symbol.search](string: string): number; }): number;\n\n /**\n * Split a string into substrings using the specified separator and return them as an array.\n * @param splitter An object that can split a string.\n * @param limit A value used to limit the number of elements returned in the array.\n */\n split(splitter: { [Symbol.split](string: string, limit?: number): string[]; }, limit?: number): string[];\n}\n\ninterface ArrayBuffer {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface DataView {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Int8Array {\n readonly [Symbol.toStringTag]: "Int8Array";\n}\n\ninterface Uint8Array {\n readonly [Symbol.toStringTag]: "UInt8Array";\n}\n\ninterface Uint8ClampedArray {\n readonly [Symbol.toStringTag]: "Uint8ClampedArray";\n}\n\ninterface Int16Array {\n readonly [Symbol.toStringTag]: "Int16Array";\n}\n\ninterface Uint16Array {\n readonly [Symbol.toStringTag]: "Uint16Array";\n}\n\ninterface Int32Array {\n readonly [Symbol.toStringTag]: "Int32Array";\n}\n\ninterface Uint32Array {\n readonly [Symbol.toStringTag]: "Uint32Array";\n}\n\ninterface Float32Array {\n readonly [Symbol.toStringTag]: "Float32Array";\n}\n\ninterface Float64Array {\n readonly [Symbol.toStringTag]: "Float64Array";\n}\n\ninterface ArrayConstructor {\n readonly [Symbol.species]: ArrayConstructor;\n}\ninterface MapConstructor {\n readonly [Symbol.species]: MapConstructor;\n}\ninterface SetConstructor {\n readonly [Symbol.species]: SetConstructor;\n}\ninterface ArrayBufferConstructor {\n readonly [Symbol.species]: ArrayBufferConstructor;\n}',ut='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\ndeclare namespace Reflect {\n function apply(target: Function, thisArgument: any, argumentsList: ArrayLike): any;\n function construct(target: Function, argumentsList: ArrayLike, newTarget?: any): any;\n function defineProperty(target: object, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;\n function deleteProperty(target: object, propertyKey: PropertyKey): boolean;\n function get(target: object, propertyKey: PropertyKey, receiver?: any): any;\n function getOwnPropertyDescriptor(target: object, propertyKey: PropertyKey): PropertyDescriptor | undefined;\n function getPrototypeOf(target: object): object;\n function has(target: object, propertyKey: PropertyKey): boolean;\n function isExtensible(target: object): boolean;\n function ownKeys(target: object): PropertyKey[];\n function preventExtensions(target: object): boolean;\n function set(target: object, propertyKey: PropertyKey, value: any, receiver?: any): boolean;\n function setPrototypeOf(target: object, proto: any): boolean;\n}\n',dt='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\ninterface ProxyHandler {\n getPrototypeOf? (target: T): object | null;\n setPrototypeOf? (target: T, v: any): boolean;\n isExtensible? (target: T): boolean;\n preventExtensions? (target: T): boolean;\n getOwnPropertyDescriptor? (target: T, p: PropertyKey): PropertyDescriptor | undefined;\n has? (target: T, p: PropertyKey): boolean;\n get? (target: T, p: PropertyKey, receiver: any): any;\n set? (target: T, p: PropertyKey, value: any, receiver: any): boolean;\n deleteProperty? (target: T, p: PropertyKey): boolean;\n defineProperty? (target: T, p: PropertyKey, attributes: PropertyDescriptor): boolean;\n enumerate? (target: T): PropertyKey[];\n ownKeys? (target: T): PropertyKey[];\n apply? (target: T, thisArg: any, argArray?: any): any;\n construct? (target: T, argArray: any, newTarget?: any): object;\n}\n\ninterface ProxyConstructor {\n revocable(target: T, handler: ProxyHandler): { proxy: T; revoke: () => void; };\n new (target: T, handler: ProxyHandler): T;\n}\ndeclare var Proxy: ProxyConstructor;\n',pt='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n'+ct+"\ninterface SymbolConstructor {\n /**\n * A method that returns the default iterator for an object. Called by the semantics of the\n * for-of statement.\n */\n readonly iterator: symbol;\n}\n\ninterface IteratorYieldResult {\n done?: false;\n value: TYield;\n}\n\ninterface IteratorReturnResult {\n done: true;\n value: TReturn;\n}\n\ntype IteratorResult = IteratorYieldResult | IteratorReturnResult;\n\ninterface Iterator {\n // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): IteratorResult;\n return?(value?: TReturn): IteratorResult;\n throw?(e?: any): IteratorResult;\n}\n\ninterface Iterable {\n [Symbol.iterator](): Iterator;\n}\n\ninterface IterableIterator extends Iterator {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface Array {\n /** Iterator */\n [Symbol.iterator](): IterableIterator;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, T]>;\n\n /**\n * Returns an iterable of keys in the array\n */\n keys(): IterableIterator;\n\n /**\n * Returns an iterable of values in the array\n */\n values(): IterableIterator;\n}\n\ninterface ArrayConstructor {\n /**\n * Creates an array from an iterable object.\n * @param iterable An iterable object to convert to an array.\n */\n from(iterable: Iterable | ArrayLike): T[];\n\n /**\n * Creates an array from an iterable object.\n * @param iterable An iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(iterable: Iterable | ArrayLike, mapfn: (v: T, k: number) => U, thisArg?: any): U[];\n}\n\ninterface ReadonlyArray {\n /** Iterator of values in the array. */\n [Symbol.iterator](): IterableIterator;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, T]>;\n\n /**\n * Returns an iterable of keys in the array\n */\n keys(): IterableIterator;\n\n /**\n * Returns an iterable of values in the array\n */\n values(): IterableIterator;\n}\n\ninterface IArguments {\n /** Iterator */\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface Map {\n /** Returns an iterable of entries in the map. */\n [Symbol.iterator](): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the map.\n */\n entries(): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of keys in the map\n */\n keys(): IterableIterator;\n\n /**\n * Returns an iterable of values in the map\n */\n values(): IterableIterator;\n}\n\ninterface ReadonlyMap {\n /** Returns an iterable of entries in the map. */\n [Symbol.iterator](): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the map.\n */\n entries(): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of keys in the map\n */\n keys(): IterableIterator;\n\n /**\n * Returns an iterable of values in the map\n */\n values(): IterableIterator;\n}\n\ninterface MapConstructor {\n new (iterable: Iterable): Map;\n}\n\ninterface WeakMap { }\n\ninterface WeakMapConstructor {\n new (iterable: Iterable<[K, V]>): WeakMap;\n}\n\ninterface Set {\n /** Iterates over values in the set. */\n [Symbol.iterator](): IterableIterator;\n /**\n * Returns an iterable of [v,v] pairs for every value `v` in the set.\n */\n entries(): IterableIterator<[T, T]>;\n /**\n * Despite its name, returns an iterable of the values in the set,\n */\n keys(): IterableIterator;\n\n /**\n * Returns an iterable of values in the set.\n */\n values(): IterableIterator;\n}\n\ninterface ReadonlySet {\n /** Iterates over values in the set. */\n [Symbol.iterator](): IterableIterator;\n\n /**\n * Returns an iterable of [v,v] pairs for every value `v` in the set.\n */\n entries(): IterableIterator<[T, T]>;\n\n /**\n * Despite its name, returns an iterable of the values in the set,\n */\n keys(): IterableIterator;\n\n /**\n * Returns an iterable of values in the set.\n */\n values(): IterableIterator;\n}\n\ninterface SetConstructor {\n new (iterable?: Iterable | null): Set;\n}\n\ninterface WeakSet { }\n\ninterface WeakSetConstructor {\n new (iterable: Iterable): WeakSet;\n}\n\ninterface Promise { }\n\ninterface PromiseConstructor {\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all(values: Iterable>): Promise;\n\n /**\n * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\n * or rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n race(values: Iterable>): Promise;\n}\n\ndeclare namespace Reflect {\n function enumerate(target: object): IterableIterator;\n}\n\ninterface String {\n /** Iterator */\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface Int8Array {\n [Symbol.iterator](): IterableIterator;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator;\n}\n\ninterface Int8ArrayConstructor {\n new (elements: Iterable): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array;\n}\n\ninterface Uint8Array {\n [Symbol.iterator](): IterableIterator;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator;\n}\n\ninterface Uint8ArrayConstructor {\n new (elements: Iterable): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array;\n}\n\ninterface Uint8ClampedArray {\n [Symbol.iterator](): IterableIterator;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator;\n\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator;\n}\n\ninterface Uint8ClampedArrayConstructor {\n new (elements: Iterable): Uint8ClampedArray;\n\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray;\n}\n\ninterface Int16Array {\n [Symbol.iterator](): IterableIterator;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator;\n\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator;\n}\n\ninterface Int16ArrayConstructor {\n new (elements: Iterable): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array;\n}\n\ninterface Uint16Array {\n [Symbol.iterator](): IterableIterator;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator;\n}\n\ninterface Uint16ArrayConstructor {\n new (elements: Iterable): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array;\n}\n\ninterface Int32Array {\n [Symbol.iterator](): IterableIterator;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator;\n}\n\ninterface Int32ArrayConstructor {\n new (elements: Iterable): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array;\n}\n\ninterface Uint32Array {\n [Symbol.iterator](): IterableIterator;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator;\n}\n\ninterface Uint32ArrayConstructor {\n new (elements: Iterable): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array;\n}\n\ninterface Float32Array {\n [Symbol.iterator](): IterableIterator;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator;\n}\n\ninterface Float32ArrayConstructor {\n new (elements: Iterable): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array;\n}\n\ninterface Float64Array {\n [Symbol.iterator](): IterableIterator;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator;\n}\n\ninterface Float64ArrayConstructor {\n new (elements: Iterable): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array;\n}\n",mt='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\ninterface PromiseConstructor {\n /**\n * A reference to the prototype.\n */\n readonly prototype: Promise;\n\n /**\n * Creates a new Promise.\n * @param executor A callback used to initialize the promise. This callback is passed two arguments:\n * a resolve callback used to resolve the promise with a value or the result of another promise,\n * and a reject callback used to reject the promise with a provided reason or error.\n */\n new (executor: (resolve: (value?: T | PromiseLike) => void, reject: (reason?: any) => void) => void): Promise;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all(values: readonly [T1 | PromiseLike, T2 | PromiseLike, T3 | PromiseLike, T4 | PromiseLike , T5 | PromiseLike, T6 | PromiseLike, T7 | PromiseLike, T8 | PromiseLike, T9 | PromiseLike, T10 | PromiseLike]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all(values: readonly [T1 | PromiseLike, T2 | PromiseLike, T3 | PromiseLike, T4 | PromiseLike , T5 | PromiseLike, T6 | PromiseLike, T7 | PromiseLike, T8 | PromiseLike, T9 | PromiseLike]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all(values: readonly [T1 | PromiseLike, T2 | PromiseLike, T3 | PromiseLike, T4 | PromiseLike , T5 | PromiseLike, T6 | PromiseLike, T7 | PromiseLike, T8 | PromiseLike]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all(values: readonly [T1 | PromiseLike, T2 | PromiseLike, T3 | PromiseLike, T4 | PromiseLike , T5 | PromiseLike, T6 | PromiseLike, T7 | PromiseLike]): Promise<[T1, T2, T3, T4, T5, T6, T7]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all(values: readonly [T1 | PromiseLike, T2 | PromiseLike, T3 | PromiseLike, T4 | PromiseLike , T5 | PromiseLike, T6 | PromiseLike]): Promise<[T1, T2, T3, T4, T5, T6]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all(values: readonly [T1 | PromiseLike, T2 | PromiseLike, T3 | PromiseLike, T4 | PromiseLike , T5 | PromiseLike]): Promise<[T1, T2, T3, T4, T5]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all(values: readonly [T1 | PromiseLike, T2 | PromiseLike, T3 | PromiseLike, T4 | PromiseLike ]): Promise<[T1, T2, T3, T4]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all(values: readonly [T1 | PromiseLike, T2 | PromiseLike, T3 | PromiseLike]): Promise<[T1, T2, T3]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all(values: readonly [T1 | PromiseLike, T2 | PromiseLike]): Promise<[T1, T2]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all(values: readonly (T | PromiseLike)[]): Promise;\n\n /**\n * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\n * or rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n race(values: readonly T[]): Promise ? U : T>;\n\n /**\n * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\n * or rejected.\n * @param values An iterable of Promises.\n * @returns A new Promise.\n */\n race(values: Iterable): Promise ? U : T>;\n\n /**\n * Creates a new rejected promise for the provided reason.\n * @param reason The reason the promise was rejected.\n * @returns A new rejected Promise.\n */\n reject(reason?: any): Promise;\n\n /**\n * Creates a new resolved promise for the provided value.\n * @param value A promise.\n * @returns A promise whose internal state matches the provided promise.\n */\n resolve(value: T | PromiseLike): Promise;\n\n /**\n * Creates a new resolved promise .\n * @returns A resolved promise.\n */\n resolve(): Promise;\n}\n\ndeclare var Promise: PromiseConstructor;\n',ft='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n'+pt+"\ninterface Generator extends Iterator {\n // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): IteratorResult;\n return(value: TReturn): IteratorResult;\n throw(e: any): IteratorResult;\n [Symbol.iterator](): Generator;\n}\n\ninterface GeneratorFunction {\n /**\n * Creates a new Generator object.\n * @param args A list of arguments the function accepts.\n */\n new (...args: any[]): Generator;\n /**\n * Creates a new Generator object.\n * @param args A list of arguments the function accepts.\n */\n (...args: any[]): Generator;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: Generator;\n}\n\ninterface GeneratorFunctionConstructor {\n /**\n * Creates a new Generator function.\n * @param args A list of arguments the function accepts.\n */\n new (...args: string[]): GeneratorFunction;\n /**\n * Creates a new Generator function.\n * @param args A list of arguments the function accepts.\n */\n (...args: string[]): GeneratorFunction;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: GeneratorFunction;\n}\n",_t='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\ninterface Map {\n clear(): void;\n delete(key: K): boolean;\n forEach(callbackfn: (value: V, key: K, map: Map) => void, thisArg?: any): void;\n get(key: K): V | undefined;\n has(key: K): boolean;\n set(key: K, value: V): this;\n readonly size: number;\n}\n\ninterface MapConstructor {\n new(): Map;\n new(entries?: readonly (readonly [K, V])[] | null): Map;\n readonly prototype: Map;\n}\ndeclare var Map: MapConstructor;\n\ninterface ReadonlyMap {\n forEach(callbackfn: (value: V, key: K, map: ReadonlyMap) => void, thisArg?: any): void;\n get(key: K): V | undefined;\n has(key: K): boolean;\n readonly size: number;\n}\n\ninterface WeakMap {\n delete(key: K): boolean;\n get(key: K): V | undefined;\n has(key: K): boolean;\n set(key: K, value: V): this;\n}\n\ninterface WeakMapConstructor {\n new (entries?: readonly [K, V][] | null): WeakMap;\n readonly prototype: WeakMap;\n}\ndeclare var WeakMap: WeakMapConstructor;\n\ninterface Set {\n add(value: T): this;\n clear(): void;\n delete(value: T): boolean;\n forEach(callbackfn: (value: T, value2: T, set: Set) => void, thisArg?: any): void;\n has(value: T): boolean;\n readonly size: number;\n}\n\ninterface SetConstructor {\n new (values?: readonly T[] | null): Set;\n readonly prototype: Set;\n}\ndeclare var Set: SetConstructor;\n\ninterface ReadonlySet {\n forEach(callbackfn: (value: T, value2: T, set: ReadonlySet) => void, thisArg?: any): void;\n has(value: T): boolean;\n readonly size: number;\n}\n\ninterface WeakSet {\n add(value: T): this;\n delete(value: T): boolean;\n has(value: T): boolean;\n}\n\ninterface WeakSetConstructor {\n new (values?: readonly T[] | null): WeakSet;\n readonly prototype: WeakSet;\n}\ndeclare var WeakSet: WeakSetConstructor;\n',gt='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\ninterface Array {\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (this: void, value: T, index: number, obj: T[]) => value is S, thisArg?: any): S | undefined;\n find(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): T | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): number;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: T, start?: number, end?: number): this;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n}\n\ninterface ArrayConstructor {\n /**\n * Creates an array from an array-like object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from(arrayLike: ArrayLike): T[];\n\n /**\n * Creates an array from an iterable object.\n * @param arrayLike An array-like object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => U, thisArg?: any): U[];\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: T[]): T[];\n}\n\ninterface DateConstructor {\n new (value: number | string | Date): Date;\n}\n\ninterface Function {\n /**\n * Returns the name of the function. Function names are read-only and can not be changed.\n */\n readonly name: string;\n}\n\ninterface Math {\n /**\n * Returns the number of leading zero bits in the 32-bit binary representation of a number.\n * @param x A numeric expression.\n */\n clz32(x: number): number;\n\n /**\n * Returns the result of 32-bit multiplication of two numbers.\n * @param x First number\n * @param y Second number\n */\n imul(x: number, y: number): number;\n\n /**\n * Returns the sign of the x, indicating whether x is positive, negative or zero.\n * @param x The numeric expression to test\n */\n sign(x: number): number;\n\n /**\n * Returns the base 10 logarithm of a number.\n * @param x A numeric expression.\n */\n log10(x: number): number;\n\n /**\n * Returns the base 2 logarithm of a number.\n * @param x A numeric expression.\n */\n log2(x: number): number;\n\n /**\n * Returns the natural logarithm of 1 + x.\n * @param x A numeric expression.\n */\n log1p(x: number): number;\n\n /**\n * Returns the result of (e^x - 1), which is an implementation-dependent approximation to\n * subtracting 1 from the exponential function of x (e raised to the power of x, where e\n * is the base of the natural logarithms).\n * @param x A numeric expression.\n */\n expm1(x: number): number;\n\n /**\n * Returns the hyperbolic cosine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n cosh(x: number): number;\n\n /**\n * Returns the hyperbolic sine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n sinh(x: number): number;\n\n /**\n * Returns the hyperbolic tangent of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n tanh(x: number): number;\n\n /**\n * Returns the inverse hyperbolic cosine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n acosh(x: number): number;\n\n /**\n * Returns the inverse hyperbolic sine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n asinh(x: number): number;\n\n /**\n * Returns the inverse hyperbolic tangent of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n atanh(x: number): number;\n\n /**\n * Returns the square root of the sum of squares of its arguments.\n * @param values Values to compute the square root for.\n * If no arguments are passed, the result is +0.\n * If there is only one argument, the result is the absolute value.\n * If any argument is +Infinity or -Infinity, the result is +Infinity.\n * If any argument is NaN, the result is NaN.\n * If all arguments are either +0 or −0, the result is +0.\n */\n hypot(...values: number[]): number;\n\n /**\n * Returns the integral part of the a numeric expression, x, removing any fractional digits.\n * If x is already an integer, the result is x.\n * @param x A numeric expression.\n */\n trunc(x: number): number;\n\n /**\n * Returns the nearest single precision float representation of a number.\n * @param x A numeric expression.\n */\n fround(x: number): number;\n\n /**\n * Returns an implementation-dependent approximation to the cube root of number.\n * @param x A numeric expression.\n */\n cbrt(x: number): number;\n}\n\ninterface NumberConstructor {\n /**\n * The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1\n * that is representable as a Number value, which is approximately:\n * 2.2204460492503130808472633361816 x 10‍−‍16.\n */\n readonly EPSILON: number;\n\n /**\n * Returns true if passed value is finite.\n * Unlike the global isFinite, Number.isFinite doesn\'t forcibly convert the parameter to a\n * number. Only finite values of the type number, result in true.\n * @param number A numeric value.\n */\n isFinite(number: number): boolean;\n\n /**\n * Returns true if the value passed is an integer, false otherwise.\n * @param number A numeric value.\n */\n isInteger(number: number): boolean;\n\n /**\n * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a\n * number). Unlike the global isNaN(), Number.isNaN() doesn\'t forcefully convert the parameter\n * to a number. Only values of the type number, that are also NaN, result in true.\n * @param number A numeric value.\n */\n isNaN(number: number): boolean;\n\n /**\n * Returns true if the value passed is a safe integer.\n * @param number A numeric value.\n */\n isSafeInteger(number: number): boolean;\n\n /**\n * The value of the largest integer n such that n and n + 1 are both exactly representable as\n * a Number value.\n * The value of Number.MAX_SAFE_INTEGER is 9007199254740991 2^53 − 1.\n */\n readonly MAX_SAFE_INTEGER: number;\n\n /**\n * The value of the smallest integer n such that n and n − 1 are both exactly representable as\n * a Number value.\n * The value of Number.MIN_SAFE_INTEGER is −9007199254740991 (−(2^53 − 1)).\n */\n readonly MIN_SAFE_INTEGER: number;\n\n /**\n * Converts a string to a floating-point number.\n * @param string A string that contains a floating-point number.\n */\n parseFloat(string: string): number;\n\n /**\n * Converts A string to an integer.\n * @param s A string to convert into a number.\n * @param radix A value between 2 and 36 that specifies the base of the number in numString.\n * If this argument is not supplied, strings with a prefix of \'0x\' are considered hexadecimal.\n * All other strings are considered decimal.\n */\n parseInt(string: string, radix?: number): number;\n}\n\ninterface ObjectConstructor {\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param source The source object from which to copy properties.\n */\n assign(target: T, source: U): T & U;\n\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param source1 The first source object from which to copy properties.\n * @param source2 The second source object from which to copy properties.\n */\n assign(target: T, source1: U, source2: V): T & U & V;\n\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param source1 The first source object from which to copy properties.\n * @param source2 The second source object from which to copy properties.\n * @param source3 The third source object from which to copy properties.\n */\n assign(target: T, source1: U, source2: V, source3: W): T & U & V & W;\n\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param sources One or more source objects from which to copy properties\n */\n assign(target: object, ...sources: any[]): any;\n\n /**\n * Returns an array of all symbol properties found directly on object o.\n * @param o Object to retrieve the symbols from.\n */\n getOwnPropertySymbols(o: any): symbol[];\n\n /**\n * Returns the names of the enumerable string properties and methods of an object.\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n keys(o: {}): string[];\n\n /**\n * Returns true if the values are the same value, false otherwise.\n * @param value1 The first value.\n * @param value2 The second value.\n */\n is(value1: any, value2: any): boolean;\n\n /**\n * Sets the prototype of a specified object o to object proto or null. Returns the object o.\n * @param o The object to change its prototype.\n * @param proto The value of the new prototype or null.\n */\n setPrototypeOf(o: any, proto: object | null): any;\n}\n\ninterface ReadonlyArray {\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (this: void, value: T, index: number, obj: readonly T[]) => value is S, thisArg?: any): S | undefined;\n find(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): T | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): number;\n}\n\ninterface RegExp {\n /**\n * Returns a string indicating the flags of the regular expression in question. This field is read-only.\n * The characters in this string are sequenced and concatenated in the following order:\n *\n * - "g" for global\n * - "i" for ignoreCase\n * - "m" for multiline\n * - "u" for unicode\n * - "y" for sticky\n *\n * If no flags are set, the value is the empty string.\n */\n readonly flags: string;\n\n /**\n * Returns a Boolean value indicating the state of the sticky flag (y) used with a regular\n * expression. Default is false. Read-only.\n */\n readonly sticky: boolean;\n\n /**\n * Returns a Boolean value indicating the state of the Unicode flag (u) used with a regular\n * expression. Default is false. Read-only.\n */\n readonly unicode: boolean;\n}\n\ninterface RegExpConstructor {\n new (pattern: RegExp | string, flags?: string): RegExp;\n (pattern: RegExp | string, flags?: string): RegExp;\n}\n\ninterface String {\n /**\n * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\n * value of the UTF-16 encoded code point starting at the string element at position pos in\n * the String resulting from converting this object to a String.\n * If there is no element at that position, the result is undefined.\n * If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.\n */\n codePointAt(pos: number): number | undefined;\n\n /**\n * Returns true if searchString appears as a substring of the result of converting this\n * object to a String, at one or more positions that are\n * greater than or equal to position; otherwise, returns false.\n * @param searchString search string\n * @param position If position is undefined, 0 is assumed, so as to search all of the String.\n */\n includes(searchString: string, position?: number): boolean;\n\n /**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * endPosition – length(this). Otherwise returns false.\n */\n endsWith(searchString: string, endPosition?: number): boolean;\n\n /**\n * Returns the String value result of normalizing the string into the normalization form\n * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n * @param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\n * is "NFC"\n */\n normalize(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;\n\n /**\n * Returns the String value result of normalizing the string into the normalization form\n * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n * @param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\n * is "NFC"\n */\n normalize(form?: string): string;\n\n /**\n * Returns a String value that is made from count copies appended together. If count is 0,\n * the empty string is returned.\n * @param count number of copies to append\n */\n repeat(count: number): string;\n\n /**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * position. Otherwise returns false.\n */\n startsWith(searchString: string, position?: number): boolean;\n\n /**\n * Returns an HTML anchor element and sets the name attribute to the text value\n * @param name\n */\n anchor(name: string): string;\n\n /** Returns a HTML element */\n big(): string;\n\n /** Returns a HTML element */\n blink(): string;\n\n /** Returns a HTML element */\n bold(): string;\n\n /** Returns a HTML element */\n fixed(): string;\n\n /** Returns a HTML element and sets the color attribute value */\n fontcolor(color: string): string;\n\n /** Returns a HTML element and sets the size attribute value */\n fontsize(size: number): string;\n\n /** Returns a HTML element and sets the size attribute value */\n fontsize(size: string): string;\n\n /** Returns an HTML element */\n italics(): string;\n\n /** Returns an HTML element and sets the href attribute value */\n link(url: string): string;\n\n /** Returns a HTML element */\n small(): string;\n\n /** Returns a HTML element */\n strike(): string;\n\n /** Returns a HTML element */\n sub(): string;\n\n /** Returns a HTML element */\n sup(): string;\n}\n\ninterface StringConstructor {\n /**\n * Return the String value whose elements are, in order, the elements in the List elements.\n * If length is 0, the empty string is returned.\n */\n fromCodePoint(...codePoints: number[]): string;\n\n /**\n * String.raw is intended for use as a tag function of a Tagged Template String. When called\n * as such the first argument will be a well formed template call site object and the rest\n * parameter will contain the substitution values.\n * @param template A well-formed template string call site representation.\n * @param substitutions A set of substitution values.\n */\n raw(template: TemplateStringsArray, ...substitutions: any[]): string;\n}\n',yt='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\n/////////////////////////////\n/// DOM Iterable APIs\n/////////////////////////////\n\ninterface AudioParam {\n setValueCurveAtTime(values: Iterable, startTime: number, duration: number): AudioParam;\n}\n\ninterface AudioParamMap extends ReadonlyMap {\n}\n\ninterface AudioTrackList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface BaseAudioContext {\n createIIRFilter(feedforward: Iterable, feedback: Iterable): IIRFilterNode;\n createPeriodicWave(real: Iterable, imag: Iterable, constraints?: PeriodicWaveConstraints): PeriodicWave;\n}\n\ninterface CSSRuleList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface CSSStyleDeclaration {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface Cache {\n addAll(requests: Iterable): Promise;\n}\n\ninterface CanvasPathDrawingStyles {\n setLineDash(segments: Iterable): void;\n}\n\ninterface ClientRectList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface DOMRectList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface DOMStringList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface DOMTokenList {\n [Symbol.iterator](): IterableIterator;\n entries(): IterableIterator<[number, string]>;\n keys(): IterableIterator;\n values(): IterableIterator;\n}\n\ninterface DataTransferItemList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface FileList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface FormData {\n [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;\n /**\n * Returns an array of key, value pairs for every entry in the list.\n */\n entries(): IterableIterator<[string, FormDataEntryValue]>;\n /**\n * Returns a list of keys in the list.\n */\n keys(): IterableIterator;\n /**\n * Returns a list of values in the list.\n */\n values(): IterableIterator;\n}\n\ninterface HTMLAllCollection {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface HTMLCollectionBase {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface HTMLCollectionOf {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface HTMLFormElement {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface HTMLSelectElement {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface Headers {\n [Symbol.iterator](): IterableIterator<[string, string]>;\n /**\n * Returns an iterator allowing to go through all key/value pairs contained in this object.\n */\n entries(): IterableIterator<[string, string]>;\n /**\n * Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.\n */\n keys(): IterableIterator;\n /**\n * Returns an iterator allowing to go through all values of the key/value pairs contained in this object.\n */\n values(): IterableIterator;\n}\n\ninterface IDBObjectStore {\n /**\n * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.\n * \n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createIndex(name: string, keyPath: string | Iterable, options?: IDBIndexParameters): IDBIndex;\n}\n\ninterface MediaKeyStatusMap {\n [Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;\n entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;\n keys(): IterableIterator;\n values(): IterableIterator;\n}\n\ninterface MediaList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface MimeTypeArray {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface NamedNodeMap {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface Navigator {\n requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable): Promise;\n}\n\ninterface NodeList {\n [Symbol.iterator](): IterableIterator;\n /**\n * Returns an array of key, value pairs for every entry in the list.\n */\n entries(): IterableIterator<[number, Node]>;\n /**\n * Returns an list of keys in the list.\n */\n keys(): IterableIterator;\n /**\n * Returns an list of values in the list.\n */\n values(): IterableIterator;\n}\n\ninterface NodeListOf {\n [Symbol.iterator](): IterableIterator;\n /**\n * Returns an array of key, value pairs for every entry in the list.\n */\n entries(): IterableIterator<[number, TNode]>;\n /**\n * Returns an list of keys in the list.\n */\n keys(): IterableIterator;\n /**\n * Returns an list of values in the list.\n */\n values(): IterableIterator;\n}\n\ninterface Plugin {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface PluginArray {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface RTCRtpTransceiver {\n setCodecPreferences(codecs: Iterable): void;\n}\n\ninterface RTCStatsReport extends ReadonlyMap {\n}\n\ninterface SVGLengthList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface SVGNumberList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface SVGPointList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface SVGStringList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface SourceBufferList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface SpeechGrammarList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface SpeechRecognitionResult {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface SpeechRecognitionResultList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface StyleSheetList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface TextTrackCueList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface TextTrackList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface TouchList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface URLSearchParams {\n [Symbol.iterator](): IterableIterator<[string, string]>;\n /**\n * Returns an array of key, value pairs for every entry in the search params.\n */\n entries(): IterableIterator<[string, string]>;\n /**\n * Returns a list of keys in the search params.\n */\n keys(): IterableIterator;\n /**\n * Returns a list of values in the search params.\n */\n values(): IterableIterator;\n}\n\ninterface VRDisplay {\n requestPresent(layers: Iterable): Promise;\n}\n\ninterface VideoTrackList {\n [Symbol.iterator](): IterableIterator;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: Iterable): void;\n}\n\ninterface WebAuthentication {\n makeCredential(accountInformation: Account, cryptoParameters: Iterable, attestationChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: ScopedCredentialOptions): Promise;\n}\n\ninterface WebGL2RenderingContextBase {\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable, srcOffset?: GLuint): void;\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable, srcOffset?: GLuint): void;\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable, srcOffset?: GLuint): void;\n drawBuffers(buffers: Iterable): void;\n getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable, pname: GLenum): any;\n getUniformIndices(program: WebGLProgram, uniformNames: Iterable): Iterable | null;\n invalidateFramebuffer(target: GLenum, attachments: Iterable): void;\n invalidateSubFramebuffer(target: GLenum, attachments: Iterable, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable, bufferMode: GLenum): void;\n uniform1uiv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2uiv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3uiv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4uiv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n vertexAttribI4iv(index: GLuint, values: Iterable): void;\n vertexAttribI4uiv(index: GLuint, values: Iterable): void;\n}\n\ninterface WebGL2RenderingContextOverloads {\n uniform1fv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform1iv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2fv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2iv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3fv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3iv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4fv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4iv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void;\n}\n\ninterface WebGLRenderingContextBase {\n vertexAttrib1fv(index: GLuint, values: Iterable): void;\n vertexAttrib2fv(index: GLuint, values: Iterable): void;\n vertexAttrib3fv(index: GLuint, values: Iterable): void;\n vertexAttrib4fv(index: GLuint, values: Iterable): void;\n}\n\ninterface WebGLRenderingContextOverloads {\n uniform1fv(location: WebGLUniformLocation | null, v: Iterable): void;\n uniform1iv(location: WebGLUniformLocation | null, v: Iterable): void;\n uniform2fv(location: WebGLUniformLocation | null, v: Iterable): void;\n uniform2iv(location: WebGLUniformLocation | null, v: Iterable): void;\n uniform3fv(location: WebGLUniformLocation | null, v: Iterable): void;\n uniform3iv(location: WebGLUniformLocation | null, v: Iterable): void;\n uniform4fv(location: WebGLUniformLocation | null, v: Iterable): void;\n uniform4iv(location: WebGLUniformLocation | null, v: Iterable): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable): void;\n}\n',vt='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\n\n\n/////////////////////////////\n/// Windows Script Host APIS\n/////////////////////////////\n\n\ninterface ActiveXObject {\n new (s: string): any;\n}\ndeclare var ActiveXObject: ActiveXObject;\n\ninterface ITextWriter {\n Write(s: string): void;\n WriteLine(s: string): void;\n Close(): void;\n}\n\ninterface TextStreamBase {\n /**\n * The column number of the current character position in an input stream.\n */\n Column: number;\n\n /**\n * The current line number in an input stream.\n */\n Line: number;\n\n /**\n * Closes a text stream.\n * It is not necessary to close standard streams; they close automatically when the process ends. If\n * you close a standard stream, be aware that any other pointers to that standard stream become invalid.\n */\n Close(): void;\n}\n\ninterface TextStreamWriter extends TextStreamBase {\n /**\n * Sends a string to an output stream.\n */\n Write(s: string): void;\n\n /**\n * Sends a specified number of blank lines (newline characters) to an output stream.\n */\n WriteBlankLines(intLines: number): void;\n\n /**\n * Sends a string followed by a newline character to an output stream.\n */\n WriteLine(s: string): void;\n}\n\ninterface TextStreamReader extends TextStreamBase {\n /**\n * Returns a specified number of characters from an input stream, starting at the current pointer position.\n * Does not return until the ENTER key is pressed.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n */\n Read(characters: number): string;\n\n /**\n * Returns all characters from an input stream.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n */\n ReadAll(): string;\n\n /**\n * Returns an entire line from an input stream.\n * Although this method extracts the newline character, it does not add it to the returned string.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n */\n ReadLine(): string;\n\n /**\n * Skips a specified number of characters when reading from an input text stream.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n * @param characters Positive number of characters to skip forward. (Backward skipping is not supported.)\n */\n Skip(characters: number): void;\n\n /**\n * Skips the next line when reading from an input text stream.\n * Can only be used on a stream in reading mode, not writing or appending mode.\n */\n SkipLine(): void;\n\n /**\n * Indicates whether the stream pointer position is at the end of a line.\n */\n AtEndOfLine: boolean;\n\n /**\n * Indicates whether the stream pointer position is at the end of a stream.\n */\n AtEndOfStream: boolean;\n}\n\ndeclare var WScript: {\n /**\n * Outputs text to either a message box (under WScript.exe) or the command console window followed by\n * a newline (under CScript.exe).\n */\n Echo(s: any): void;\n\n /**\n * Exposes the write-only error output stream for the current script.\n * Can be accessed only while using CScript.exe.\n */\n StdErr: TextStreamWriter;\n\n /**\n * Exposes the write-only output stream for the current script.\n * Can be accessed only while using CScript.exe.\n */\n StdOut: TextStreamWriter;\n Arguments: { length: number; Item(n: number): string; };\n\n /**\n * The full path of the currently running script.\n */\n ScriptFullName: string;\n\n /**\n * Forces the script to stop immediately, with an optional exit code.\n */\n Quit(exitCode?: number): number;\n\n /**\n * The Windows Script Host build version number.\n */\n BuildVersion: number;\n\n /**\n * Fully qualified path of the host executable.\n */\n FullName: string;\n\n /**\n * Gets/sets the script mode - interactive(true) or batch(false).\n */\n Interactive: boolean;\n\n /**\n * The name of the host executable (WScript.exe or CScript.exe).\n */\n Name: string;\n\n /**\n * Path of the directory containing the host executable.\n */\n Path: string;\n\n /**\n * The filename of the currently running script.\n */\n ScriptName: string;\n\n /**\n * Exposes the read-only input stream for the current script.\n * Can be accessed only while using CScript.exe.\n */\n StdIn: TextStreamReader;\n\n /**\n * Windows Script Host version\n */\n Version: string;\n\n /**\n * Connects a COM object\'s event sources to functions named with a given prefix, in the form prefix_event.\n */\n ConnectObject(objEventSource: any, strPrefix: string): void;\n\n /**\n * Creates a COM object.\n * @param strProgiID\n * @param strPrefix Function names in the form prefix_event will be bound to this object\'s COM events.\n */\n CreateObject(strProgID: string, strPrefix?: string): any;\n\n /**\n * Disconnects a COM object from its event sources.\n */\n DisconnectObject(obj: any): void;\n\n /**\n * Retrieves an existing object with the specified ProgID from memory, or creates a new one from a file.\n * @param strPathname Fully qualified path to the file containing the object persisted to disk.\n * For objects in memory, pass a zero-length string.\n * @param strProgID\n * @param strPrefix Function names in the form prefix_event will be bound to this object\'s COM events.\n */\n GetObject(strPathname: string, strProgID?: string, strPrefix?: string): any;\n\n /**\n * Suspends script execution for a specified length of time, then continues execution.\n * @param intTime Interval (in milliseconds) to suspend script execution.\n */\n Sleep(intTime: number): void;\n};\n\n/**\n * WSH is an alias for WScript under Windows Script Host\n */\ndeclare var WSH: typeof WScript;\n\n/**\n * Represents an Automation SAFEARRAY\n */\ndeclare class SafeArray {\n private constructor();\n private SafeArray_typekey: SafeArray;\n}\n\n/**\n * Allows enumerating over a COM collection, which may not have indexed item access.\n */\ninterface Enumerator {\n /**\n * Returns true if the current item is the last one in the collection, or the collection is empty,\n * or the current item is undefined.\n */\n atEnd(): boolean;\n\n /**\n * Returns the current item in the collection\n */\n item(): T;\n\n /**\n * Resets the current item in the collection to the first item. If there are no items in the collection,\n * the current item is set to undefined.\n */\n moveFirst(): void;\n\n /**\n * Moves the current item to the next item in the collection. If the enumerator is at the end of\n * the collection or the collection is empty, the current item is set to undefined.\n */\n moveNext(): void;\n}\n\ninterface EnumeratorConstructor {\n new (safearray: SafeArray): Enumerator;\n new (collection: { Item(index: any): T }): Enumerator;\n new (collection: any): Enumerator;\n}\n\ndeclare var Enumerator: EnumeratorConstructor;\n\n/**\n * Enables reading from a COM safe array, which might have an alternate lower bound, or multiple dimensions.\n */\ninterface VBArray {\n /**\n * Returns the number of dimensions (1-based).\n */\n dimensions(): number;\n\n /**\n * Takes an index for each dimension in the array, and returns the item at the corresponding location.\n */\n getItem(dimension1Index: number, ...dimensionNIndexes: number[]): T;\n\n /**\n * Returns the smallest available index for a given dimension.\n * @param dimension 1-based dimension (defaults to 1)\n */\n lbound(dimension?: number): number;\n\n /**\n * Returns the largest available index for a given dimension.\n * @param dimension 1-based dimension (defaults to 1)\n */\n ubound(dimension?: number): number;\n\n /**\n * Returns a Javascript array with all the elements in the VBArray. If there are multiple dimensions,\n * each successive dimension is appended to the end of the array.\n * Example: [[1,2,3],[4,5,6]] becomes [1,2,3,4,5,6]\n */\n toArray(): T[];\n}\n\ninterface VBArrayConstructor {\n new (safeArray: SafeArray): VBArray;\n}\n\ndeclare var VBArray: VBArrayConstructor;\n\n/**\n * Automation date (VT_DATE)\n */\ndeclare class VarDate {\n private constructor();\n private VarDate_typekey: VarDate;\n}\n\ninterface DateConstructor {\n new (vd: VarDate): Date;\n}\n\ninterface Date {\n getVarDate: () => VarDate;\n}\n',ht='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\n\n/////////////////////////////\n/// WorkerGlobalScope APIs\n/////////////////////////////\n// These are only available in a Web Worker\ndeclare function importScripts(...urls: string[]): void;\n',bt='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\n/////////////////////////////\n/// DOM APIs\n/////////////////////////////\n\ninterface Account {\n displayName: string;\n id: string;\n imageURL?: string;\n name?: string;\n rpDisplayName: string;\n}\n\ninterface AddEventListenerOptions extends EventListenerOptions {\n once?: boolean;\n passive?: boolean;\n}\n\ninterface AesCbcParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCtrParams extends Algorithm {\n counter: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n length: number;\n}\n\ninterface AesDerivedKeyParams extends Algorithm {\n length: number;\n}\n\ninterface AesGcmParams extends Algorithm {\n additionalData?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n tagLength?: number;\n}\n\ninterface AesKeyAlgorithm extends KeyAlgorithm {\n length: number;\n}\n\ninterface AesKeyGenParams extends Algorithm {\n length: number;\n}\n\ninterface Algorithm {\n name: string;\n}\n\ninterface AnalyserOptions extends AudioNodeOptions {\n fftSize?: number;\n maxDecibels?: number;\n minDecibels?: number;\n smoothingTimeConstant?: number;\n}\n\ninterface AnimationEventInit extends EventInit {\n animationName?: string;\n elapsedTime?: number;\n pseudoElement?: string;\n}\n\ninterface AnimationPlaybackEventInit extends EventInit {\n currentTime?: number | null;\n timelineTime?: number | null;\n}\n\ninterface AssertionOptions {\n allowList?: ScopedCredentialDescriptor[];\n extensions?: WebAuthnExtensions;\n rpId?: string;\n timeoutSeconds?: number;\n}\n\ninterface AssignedNodesOptions {\n flatten?: boolean;\n}\n\ninterface AudioBufferOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface AudioBufferSourceOptions {\n buffer?: AudioBuffer | null;\n detune?: number;\n loop?: boolean;\n loopEnd?: number;\n loopStart?: number;\n playbackRate?: number;\n}\n\ninterface AudioContextInfo {\n currentTime?: number;\n sampleRate?: number;\n}\n\ninterface AudioContextOptions {\n latencyHint?: AudioContextLatencyCategory | number;\n sampleRate?: number;\n}\n\ninterface AudioNodeOptions {\n channelCount?: number;\n channelCountMode?: ChannelCountMode;\n channelInterpretation?: ChannelInterpretation;\n}\n\ninterface AudioParamDescriptor {\n automationRate?: AutomationRate;\n defaultValue?: number;\n maxValue?: number;\n minValue?: number;\n name: string;\n}\n\ninterface AudioProcessingEventInit extends EventInit {\n inputBuffer: AudioBuffer;\n outputBuffer: AudioBuffer;\n playbackTime: number;\n}\n\ninterface AudioTimestamp {\n contextTime?: number;\n performanceTime?: number;\n}\n\ninterface AudioWorkletNodeOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n numberOfOutputs?: number;\n outputChannelCount?: number[];\n parameterData?: Record;\n processorOptions?: any;\n}\n\ninterface AuthenticationExtensionsClientInputs {\n appid?: string;\n authnSel?: AuthenticatorSelectionList;\n exts?: boolean;\n loc?: boolean;\n txAuthGeneric?: txAuthGenericArg;\n txAuthSimple?: string;\n uvi?: boolean;\n uvm?: boolean;\n}\n\ninterface AuthenticationExtensionsClientOutputs {\n appid?: boolean;\n authnSel?: boolean;\n exts?: AuthenticationExtensionsSupported;\n loc?: Coordinates;\n txAuthGeneric?: ArrayBuffer;\n txAuthSimple?: string;\n uvi?: ArrayBuffer;\n uvm?: UvmEntries;\n}\n\ninterface AuthenticatorSelectionCriteria {\n authenticatorAttachment?: AuthenticatorAttachment;\n requireResidentKey?: boolean;\n userVerification?: UserVerificationRequirement;\n}\n\ninterface BiquadFilterOptions extends AudioNodeOptions {\n Q?: number;\n detune?: number;\n frequency?: number;\n gain?: number;\n type?: BiquadFilterType;\n}\n\ninterface BlobPropertyBag {\n endings?: EndingType;\n type?: string;\n}\n\ninterface ByteLengthChunk {\n byteLength?: number;\n}\n\ninterface CacheQueryOptions {\n ignoreMethod?: boolean;\n ignoreSearch?: boolean;\n ignoreVary?: boolean;\n}\n\ninterface CanvasRenderingContext2DSettings {\n alpha?: boolean;\n desynchronized?: boolean;\n}\n\ninterface ChannelMergerOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n}\n\ninterface ChannelSplitterOptions extends AudioNodeOptions {\n numberOfOutputs?: number;\n}\n\ninterface ClientData {\n challenge: string;\n extensions?: WebAuthnExtensions;\n hashAlg: string | Algorithm;\n origin: string;\n rpId: string;\n tokenBinding?: string;\n}\n\ninterface ClientQueryOptions {\n includeUncontrolled?: boolean;\n type?: ClientTypes;\n}\n\ninterface ClipboardEventInit extends EventInit {\n clipboardData?: DataTransfer | null;\n}\n\ninterface CloseEventInit extends EventInit {\n code?: number;\n reason?: string;\n wasClean?: boolean;\n}\n\ninterface CompositionEventInit extends UIEventInit {\n data?: string;\n}\n\ninterface ComputedEffectTiming extends EffectTiming {\n activeDuration?: number;\n currentIteration?: number | null;\n endTime?: number;\n localTime?: number | null;\n progress?: number | null;\n}\n\ninterface ComputedKeyframe {\n composite: CompositeOperationOrAuto;\n computedOffset: number;\n easing: string;\n offset: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation {\n arrayOfDomainStrings?: string[];\n}\n\ninterface ConstantSourceOptions {\n offset?: number;\n}\n\ninterface ConstrainBooleanParameters {\n exact?: boolean;\n ideal?: boolean;\n}\n\ninterface ConstrainDOMStringParameters {\n exact?: string | string[];\n ideal?: string | string[];\n}\n\ninterface ConstrainDoubleRange extends DoubleRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConstrainULongRange extends ULongRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConstrainVideoFacingModeParameters {\n exact?: VideoFacingModeEnum | VideoFacingModeEnum[];\n ideal?: VideoFacingModeEnum | VideoFacingModeEnum[];\n}\n\ninterface ConvolverOptions extends AudioNodeOptions {\n buffer?: AudioBuffer | null;\n disableNormalization?: boolean;\n}\n\ninterface CredentialCreationOptions {\n publicKey?: PublicKeyCredentialCreationOptions;\n signal?: AbortSignal;\n}\n\ninterface CredentialRequestOptions {\n mediation?: CredentialMediationRequirement;\n publicKey?: PublicKeyCredentialRequestOptions;\n signal?: AbortSignal;\n}\n\ninterface CustomEventInit extends EventInit {\n detail?: T;\n}\n\ninterface DOMMatrix2DInit {\n a?: number;\n b?: number;\n c?: number;\n d?: number;\n e?: number;\n f?: number;\n m11?: number;\n m12?: number;\n m21?: number;\n m22?: number;\n m41?: number;\n m42?: number;\n}\n\ninterface DOMMatrixInit extends DOMMatrix2DInit {\n is2D?: boolean;\n m13?: number;\n m14?: number;\n m23?: number;\n m24?: number;\n m31?: number;\n m32?: number;\n m33?: number;\n m34?: number;\n m43?: number;\n m44?: number;\n}\n\ninterface DOMPointInit {\n w?: number;\n x?: number;\n y?: number;\n z?: number;\n}\n\ninterface DOMQuadInit {\n p1?: DOMPointInit;\n p2?: DOMPointInit;\n p3?: DOMPointInit;\n p4?: DOMPointInit;\n}\n\ninterface DOMRectInit {\n height?: number;\n width?: number;\n x?: number;\n y?: number;\n}\n\ninterface DelayOptions extends AudioNodeOptions {\n delayTime?: number;\n maxDelayTime?: number;\n}\n\ninterface DeviceLightEventInit extends EventInit {\n value?: number;\n}\n\ninterface DeviceMotionEventAccelerationInit {\n x?: number | null;\n y?: number | null;\n z?: number | null;\n}\n\ninterface DeviceMotionEventInit extends EventInit {\n acceleration?: DeviceMotionEventAccelerationInit;\n accelerationIncludingGravity?: DeviceMotionEventAccelerationInit;\n interval?: number;\n rotationRate?: DeviceMotionEventRotationRateInit;\n}\n\ninterface DeviceMotionEventRotationRateInit {\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DeviceOrientationEventInit extends EventInit {\n absolute?: boolean;\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DevicePermissionDescriptor extends PermissionDescriptor {\n deviceId?: string;\n name: "camera" | "microphone" | "speaker";\n}\n\ninterface DocumentTimelineOptions {\n originTime?: number;\n}\n\ninterface DoubleRange {\n max?: number;\n min?: number;\n}\n\ninterface DragEventInit extends MouseEventInit {\n dataTransfer?: DataTransfer | null;\n}\n\ninterface DynamicsCompressorOptions extends AudioNodeOptions {\n attack?: number;\n knee?: number;\n ratio?: number;\n release?: number;\n threshold?: number;\n}\n\ninterface EcKeyAlgorithm extends KeyAlgorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyGenParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyImportParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcdhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface EcdsaParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface EffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n}\n\ninterface ElementCreationOptions {\n is?: string;\n}\n\ninterface ElementDefinitionOptions {\n extends?: string;\n}\n\ninterface ErrorEventInit extends EventInit {\n colno?: number;\n error?: any;\n filename?: string;\n lineno?: number;\n message?: string;\n}\n\ninterface EventInit {\n bubbles?: boolean;\n cancelable?: boolean;\n composed?: boolean;\n}\n\ninterface EventListenerOptions {\n capture?: boolean;\n}\n\ninterface EventModifierInit extends UIEventInit {\n altKey?: boolean;\n ctrlKey?: boolean;\n metaKey?: boolean;\n modifierAltGraph?: boolean;\n modifierCapsLock?: boolean;\n modifierFn?: boolean;\n modifierFnLock?: boolean;\n modifierHyper?: boolean;\n modifierNumLock?: boolean;\n modifierScrollLock?: boolean;\n modifierSuper?: boolean;\n modifierSymbol?: boolean;\n modifierSymbolLock?: boolean;\n shiftKey?: boolean;\n}\n\ninterface EventSourceInit {\n withCredentials?: boolean;\n}\n\ninterface ExceptionInformation {\n domain?: string | null;\n}\n\ninterface FilePropertyBag extends BlobPropertyBag {\n lastModified?: number;\n}\n\ninterface FocusEventInit extends UIEventInit {\n relatedTarget?: EventTarget | null;\n}\n\ninterface FocusNavigationEventInit extends EventInit {\n navigationReason?: string | null;\n originHeight?: number;\n originLeft?: number;\n originTop?: number;\n originWidth?: number;\n}\n\ninterface FocusNavigationOrigin {\n originHeight?: number;\n originLeft?: number;\n originTop?: number;\n originWidth?: number;\n}\n\ninterface FocusOptions {\n preventScroll?: boolean;\n}\n\ninterface FullscreenOptions {\n navigationUI?: FullscreenNavigationUI;\n}\n\ninterface GainOptions extends AudioNodeOptions {\n gain?: number;\n}\n\ninterface GamepadEventInit extends EventInit {\n gamepad: Gamepad;\n}\n\ninterface GetNotificationOptions {\n tag?: string;\n}\n\ninterface GetRootNodeOptions {\n composed?: boolean;\n}\n\ninterface HashChangeEventInit extends EventInit {\n newURL?: string;\n oldURL?: string;\n}\n\ninterface HkdfParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n info: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface HmacImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface HmacKeyAlgorithm extends KeyAlgorithm {\n hash: KeyAlgorithm;\n length: number;\n}\n\ninterface HmacKeyGenParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface IDBIndexParameters {\n multiEntry?: boolean;\n unique?: boolean;\n}\n\ninterface IDBObjectStoreParameters {\n autoIncrement?: boolean;\n keyPath?: string | string[] | null;\n}\n\ninterface IDBVersionChangeEventInit extends EventInit {\n newVersion?: number | null;\n oldVersion?: number;\n}\n\ninterface IIRFilterOptions extends AudioNodeOptions {\n feedback: number[];\n feedforward: number[];\n}\n\ninterface ImageBitmapRenderingContextSettings {\n alpha?: boolean;\n}\n\ninterface ImageEncodeOptions {\n quality?: number;\n type?: string;\n}\n\ninterface InputEventInit extends UIEventInit {\n data?: string | null;\n inputType?: string;\n isComposing?: boolean;\n}\n\ninterface IntersectionObserverEntryInit {\n boundingClientRect: DOMRectInit;\n intersectionRatio: number;\n intersectionRect: DOMRectInit;\n isIntersecting: boolean;\n rootBounds: DOMRectInit | null;\n target: Element;\n time: number;\n}\n\ninterface IntersectionObserverInit {\n root?: Element | null;\n rootMargin?: string;\n threshold?: number | number[];\n}\n\ninterface JsonWebKey {\n alg?: string;\n crv?: string;\n d?: string;\n dp?: string;\n dq?: string;\n e?: string;\n ext?: boolean;\n k?: string;\n key_ops?: string[];\n kty?: string;\n n?: string;\n oth?: RsaOtherPrimesInfo[];\n p?: string;\n q?: string;\n qi?: string;\n use?: string;\n x?: string;\n y?: string;\n}\n\ninterface KeyAlgorithm {\n name: string;\n}\n\ninterface KeyboardEventInit extends EventModifierInit {\n code?: string;\n isComposing?: boolean;\n key?: string;\n location?: number;\n repeat?: boolean;\n}\n\ninterface Keyframe {\n composite?: CompositeOperationOrAuto;\n easing?: string;\n offset?: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface KeyframeAnimationOptions extends KeyframeEffectOptions {\n id?: string;\n}\n\ninterface KeyframeEffectOptions extends EffectTiming {\n composite?: CompositeOperation;\n iterationComposite?: IterationCompositeOperation;\n}\n\ninterface MediaElementAudioSourceOptions {\n mediaElement: HTMLMediaElement;\n}\n\ninterface MediaEncryptedEventInit extends EventInit {\n initData?: ArrayBuffer | null;\n initDataType?: string;\n}\n\ninterface MediaKeyMessageEventInit extends EventInit {\n message: ArrayBuffer;\n messageType: MediaKeyMessageType;\n}\n\ninterface MediaKeySystemConfiguration {\n audioCapabilities?: MediaKeySystemMediaCapability[];\n distinctiveIdentifier?: MediaKeysRequirement;\n initDataTypes?: string[];\n label?: string;\n persistentState?: MediaKeysRequirement;\n sessionTypes?: string[];\n videoCapabilities?: MediaKeySystemMediaCapability[];\n}\n\ninterface MediaKeySystemMediaCapability {\n contentType?: string;\n robustness?: string;\n}\n\ninterface MediaQueryListEventInit extends EventInit {\n matches?: boolean;\n media?: string;\n}\n\ninterface MediaStreamAudioSourceOptions {\n mediaStream: MediaStream;\n}\n\ninterface MediaStreamConstraints {\n audio?: boolean | MediaTrackConstraints;\n peerIdentity?: string;\n video?: boolean | MediaTrackConstraints;\n}\n\ninterface MediaStreamErrorEventInit extends EventInit {\n error?: MediaStreamError | null;\n}\n\ninterface MediaStreamEventInit extends EventInit {\n stream?: MediaStream;\n}\n\ninterface MediaStreamTrackAudioSourceOptions {\n mediaStreamTrack: MediaStreamTrack;\n}\n\ninterface MediaStreamTrackEventInit extends EventInit {\n track: MediaStreamTrack;\n}\n\ninterface MediaTrackCapabilities {\n aspectRatio?: DoubleRange;\n autoGainControl?: boolean[];\n channelCount?: ULongRange;\n deviceId?: string;\n echoCancellation?: boolean[];\n facingMode?: string[];\n frameRate?: DoubleRange;\n groupId?: string;\n height?: ULongRange;\n latency?: DoubleRange;\n noiseSuppression?: boolean[];\n resizeMode?: string[];\n sampleRate?: ULongRange;\n sampleSize?: ULongRange;\n width?: ULongRange;\n}\n\ninterface MediaTrackConstraintSet {\n aspectRatio?: ConstrainDouble;\n autoGainControl?: ConstrainBoolean;\n channelCount?: ConstrainULong;\n deviceId?: ConstrainDOMString;\n echoCancellation?: ConstrainBoolean;\n facingMode?: ConstrainDOMString;\n frameRate?: ConstrainDouble;\n groupId?: ConstrainDOMString;\n height?: ConstrainULong;\n latency?: ConstrainDouble;\n noiseSuppression?: ConstrainBoolean;\n resizeMode?: ConstrainDOMString;\n sampleRate?: ConstrainULong;\n sampleSize?: ConstrainULong;\n width?: ConstrainULong;\n}\n\ninterface MediaTrackConstraints extends MediaTrackConstraintSet {\n advanced?: MediaTrackConstraintSet[];\n}\n\ninterface MediaTrackSettings {\n aspectRatio?: number;\n autoGainControl?: boolean;\n channelCount?: number;\n deviceId?: string;\n echoCancellation?: boolean;\n facingMode?: string;\n frameRate?: number;\n groupId?: string;\n height?: number;\n latency?: number;\n noiseSuppression?: boolean;\n resizeMode?: string;\n sampleRate?: number;\n sampleSize?: number;\n width?: number;\n}\n\ninterface MediaTrackSupportedConstraints {\n aspectRatio?: boolean;\n autoGainControl?: boolean;\n channelCount?: boolean;\n deviceId?: boolean;\n echoCancellation?: boolean;\n facingMode?: boolean;\n frameRate?: boolean;\n groupId?: boolean;\n height?: boolean;\n latency?: boolean;\n noiseSuppression?: boolean;\n resizeMode?: boolean;\n sampleRate?: boolean;\n sampleSize?: boolean;\n width?: boolean;\n}\n\ninterface MessageEventInit extends EventInit {\n data?: any;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[];\n source?: MessageEventSource | null;\n}\n\ninterface MidiPermissionDescriptor extends PermissionDescriptor {\n name: "midi";\n sysex?: boolean;\n}\n\ninterface MouseEventInit extends EventModifierInit {\n button?: number;\n buttons?: number;\n clientX?: number;\n clientY?: number;\n movementX?: number;\n movementY?: number;\n relatedTarget?: EventTarget | null;\n screenX?: number;\n screenY?: number;\n}\n\ninterface MultiCacheQueryOptions extends CacheQueryOptions {\n cacheName?: string;\n}\n\ninterface MutationObserverInit {\n /**\n * Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted.\n */\n attributeFilter?: string[];\n /**\n * Set to true if attributes is true or omitted and target\'s attribute value before the mutation needs to be recorded.\n */\n attributeOldValue?: boolean;\n /**\n * Set to true if mutations to target\'s attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified.\n */\n attributes?: boolean;\n /**\n * Set to true if mutations to target\'s data are to be observed. Can be omitted if characterDataOldValue is specified.\n */\n characterData?: boolean;\n /**\n * Set to true if characterData is set to true or omitted and target\'s data before the mutation needs to be recorded.\n */\n characterDataOldValue?: boolean;\n /**\n * Set to true if mutations to target\'s children are to be observed.\n */\n childList?: boolean;\n /**\n * Set to true if mutations to not just target, but also target\'s descendants are to be observed.\n */\n subtree?: boolean;\n}\n\ninterface NavigationPreloadState {\n enabled?: boolean;\n headerValue?: string;\n}\n\ninterface NotificationAction {\n action: string;\n icon?: string;\n title: string;\n}\n\ninterface NotificationOptions {\n actions?: NotificationAction[];\n badge?: string;\n body?: string;\n data?: any;\n dir?: NotificationDirection;\n icon?: string;\n image?: string;\n lang?: string;\n renotify?: boolean;\n requireInteraction?: boolean;\n silent?: boolean;\n tag?: string;\n timestamp?: number;\n vibrate?: VibratePattern;\n}\n\ninterface OfflineAudioCompletionEventInit extends EventInit {\n renderedBuffer: AudioBuffer;\n}\n\ninterface OfflineAudioContextOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface OptionalEffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n}\n\ninterface OscillatorOptions extends AudioNodeOptions {\n detune?: number;\n frequency?: number;\n periodicWave?: PeriodicWave;\n type?: OscillatorType;\n}\n\ninterface PannerOptions extends AudioNodeOptions {\n coneInnerAngle?: number;\n coneOuterAngle?: number;\n coneOuterGain?: number;\n distanceModel?: DistanceModelType;\n maxDistance?: number;\n orientationX?: number;\n orientationY?: number;\n orientationZ?: number;\n panningModel?: PanningModelType;\n positionX?: number;\n positionY?: number;\n positionZ?: number;\n refDistance?: number;\n rolloffFactor?: number;\n}\n\ninterface PaymentCurrencyAmount {\n currency: string;\n currencySystem?: string;\n value: string;\n}\n\ninterface PaymentDetailsBase {\n displayItems?: PaymentItem[];\n modifiers?: PaymentDetailsModifier[];\n shippingOptions?: PaymentShippingOption[];\n}\n\ninterface PaymentDetailsInit extends PaymentDetailsBase {\n id?: string;\n total: PaymentItem;\n}\n\ninterface PaymentDetailsModifier {\n additionalDisplayItems?: PaymentItem[];\n data?: any;\n supportedMethods: string | string[];\n total?: PaymentItem;\n}\n\ninterface PaymentDetailsUpdate extends PaymentDetailsBase {\n error?: string;\n total?: PaymentItem;\n}\n\ninterface PaymentItem {\n amount: PaymentCurrencyAmount;\n label: string;\n pending?: boolean;\n}\n\ninterface PaymentMethodData {\n data?: any;\n supportedMethods: string | string[];\n}\n\ninterface PaymentOptions {\n requestPayerEmail?: boolean;\n requestPayerName?: boolean;\n requestPayerPhone?: boolean;\n requestShipping?: boolean;\n shippingType?: string;\n}\n\ninterface PaymentRequestUpdateEventInit extends EventInit {\n}\n\ninterface PaymentShippingOption {\n amount: PaymentCurrencyAmount;\n id: string;\n label: string;\n selected?: boolean;\n}\n\ninterface Pbkdf2Params extends Algorithm {\n hash: HashAlgorithmIdentifier;\n iterations: number;\n salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface PerformanceObserverInit {\n buffered?: boolean;\n entryTypes?: string[];\n type?: string;\n}\n\ninterface PeriodicWaveConstraints {\n disableNormalization?: boolean;\n}\n\ninterface PeriodicWaveOptions extends PeriodicWaveConstraints {\n imag?: number[] | Float32Array;\n real?: number[] | Float32Array;\n}\n\ninterface PermissionDescriptor {\n name: PermissionName;\n}\n\ninterface PipeOptions {\n preventAbort?: boolean;\n preventCancel?: boolean;\n preventClose?: boolean;\n signal?: AbortSignal;\n}\n\ninterface PointerEventInit extends MouseEventInit {\n height?: number;\n isPrimary?: boolean;\n pointerId?: number;\n pointerType?: string;\n pressure?: number;\n tangentialPressure?: number;\n tiltX?: number;\n tiltY?: number;\n twist?: number;\n width?: number;\n}\n\ninterface PopStateEventInit extends EventInit {\n state?: any;\n}\n\ninterface PositionOptions {\n enableHighAccuracy?: boolean;\n maximumAge?: number;\n timeout?: number;\n}\n\ninterface PostMessageOptions {\n transfer?: any[];\n}\n\ninterface ProgressEventInit extends EventInit {\n lengthComputable?: boolean;\n loaded?: number;\n total?: number;\n}\n\ninterface PromiseRejectionEventInit extends EventInit {\n promise: Promise;\n reason?: any;\n}\n\ninterface PropertyIndexedKeyframes {\n composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];\n easing?: string | string[];\n offset?: number | (number | null)[];\n [property: string]: string | string[] | number | null | (number | null)[] | undefined;\n}\n\ninterface PublicKeyCredentialCreationOptions {\n attestation?: AttestationConveyancePreference;\n authenticatorSelection?: AuthenticatorSelectionCriteria;\n challenge: BufferSource;\n excludeCredentials?: PublicKeyCredentialDescriptor[];\n extensions?: AuthenticationExtensionsClientInputs;\n pubKeyCredParams: PublicKeyCredentialParameters[];\n rp: PublicKeyCredentialRpEntity;\n timeout?: number;\n user: PublicKeyCredentialUserEntity;\n}\n\ninterface PublicKeyCredentialDescriptor {\n id: BufferSource;\n transports?: AuthenticatorTransport[];\n type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialEntity {\n icon?: string;\n name: string;\n}\n\ninterface PublicKeyCredentialParameters {\n alg: COSEAlgorithmIdentifier;\n type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialRequestOptions {\n allowCredentials?: PublicKeyCredentialDescriptor[];\n challenge: BufferSource;\n extensions?: AuthenticationExtensionsClientInputs;\n rpId?: string;\n timeout?: number;\n userVerification?: UserVerificationRequirement;\n}\n\ninterface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {\n id?: string;\n}\n\ninterface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {\n displayName: string;\n id: BufferSource;\n}\n\ninterface PushPermissionDescriptor extends PermissionDescriptor {\n name: "push";\n userVisibleOnly?: boolean;\n}\n\ninterface PushSubscriptionJSON {\n endpoint?: string;\n expirationTime?: number | null;\n keys?: Record;\n}\n\ninterface PushSubscriptionOptionsInit {\n applicationServerKey?: BufferSource | string | null;\n userVisibleOnly?: boolean;\n}\n\ninterface QueuingStrategy {\n highWaterMark?: number;\n size?: QueuingStrategySizeCallback;\n}\n\ninterface RTCAnswerOptions extends RTCOfferAnswerOptions {\n}\n\ninterface RTCCertificateExpiration {\n expires?: number;\n}\n\ninterface RTCConfiguration {\n bundlePolicy?: RTCBundlePolicy;\n certificates?: RTCCertificate[];\n iceCandidatePoolSize?: number;\n iceServers?: RTCIceServer[];\n iceTransportPolicy?: RTCIceTransportPolicy;\n peerIdentity?: string;\n rtcpMuxPolicy?: RTCRtcpMuxPolicy;\n}\n\ninterface RTCDTMFToneChangeEventInit extends EventInit {\n tone: string;\n}\n\ninterface RTCDataChannelEventInit extends EventInit {\n channel: RTCDataChannel;\n}\n\ninterface RTCDataChannelInit {\n id?: number;\n maxPacketLifeTime?: number;\n maxRetransmits?: number;\n negotiated?: boolean;\n ordered?: boolean;\n priority?: RTCPriorityType;\n protocol?: string;\n}\n\ninterface RTCDtlsFingerprint {\n algorithm?: string;\n value?: string;\n}\n\ninterface RTCDtlsParameters {\n fingerprints?: RTCDtlsFingerprint[];\n role?: RTCDtlsRole;\n}\n\ninterface RTCErrorEventInit extends EventInit {\n error?: RTCError | null;\n}\n\ninterface RTCIceCandidateAttributes extends RTCStats {\n addressSourceUrl?: string;\n candidateType?: RTCStatsIceCandidateType;\n ipAddress?: string;\n portNumber?: number;\n priority?: number;\n transport?: string;\n}\n\ninterface RTCIceCandidateComplete {\n}\n\ninterface RTCIceCandidateDictionary {\n foundation?: string;\n ip?: string;\n msMTurnSessionId?: string;\n port?: number;\n priority?: number;\n protocol?: RTCIceProtocol;\n relatedAddress?: string;\n relatedPort?: number;\n tcpType?: RTCIceTcpCandidateType;\n type?: RTCIceCandidateType;\n}\n\ninterface RTCIceCandidateInit {\n candidate?: string;\n sdpMLineIndex?: number | null;\n sdpMid?: string | null;\n usernameFragment?: string;\n}\n\ninterface RTCIceCandidatePair {\n local?: RTCIceCandidate;\n remote?: RTCIceCandidate;\n}\n\ninterface RTCIceCandidatePairStats extends RTCStats {\n availableIncomingBitrate?: number;\n availableOutgoingBitrate?: number;\n bytesReceived?: number;\n bytesSent?: number;\n localCandidateId?: string;\n nominated?: boolean;\n priority?: number;\n readable?: boolean;\n remoteCandidateId?: string;\n roundTripTime?: number;\n state?: RTCStatsIceCandidatePairState;\n transportId?: string;\n writable?: boolean;\n}\n\ninterface RTCIceGatherOptions {\n gatherPolicy?: RTCIceGatherPolicy;\n iceservers?: RTCIceServer[];\n}\n\ninterface RTCIceParameters {\n password?: string;\n usernameFragment?: string;\n}\n\ninterface RTCIceServer {\n credential?: string | RTCOAuthCredential;\n credentialType?: RTCIceCredentialType;\n urls: string | string[];\n username?: string;\n}\n\ninterface RTCIdentityProviderOptions {\n peerIdentity?: string;\n protocol?: string;\n usernameHint?: string;\n}\n\ninterface RTCInboundRTPStreamStats extends RTCRTPStreamStats {\n bytesReceived?: number;\n fractionLost?: number;\n jitter?: number;\n packetsLost?: number;\n packetsReceived?: number;\n}\n\ninterface RTCMediaStreamTrackStats extends RTCStats {\n audioLevel?: number;\n echoReturnLoss?: number;\n echoReturnLossEnhancement?: number;\n frameHeight?: number;\n frameWidth?: number;\n framesCorrupted?: number;\n framesDecoded?: number;\n framesDropped?: number;\n framesPerSecond?: number;\n framesReceived?: number;\n framesSent?: number;\n remoteSource?: boolean;\n ssrcIds?: string[];\n trackIdentifier?: string;\n}\n\ninterface RTCOAuthCredential {\n accessToken: string;\n macKey: string;\n}\n\ninterface RTCOfferAnswerOptions {\n voiceActivityDetection?: boolean;\n}\n\ninterface RTCOfferOptions extends RTCOfferAnswerOptions {\n iceRestart?: boolean;\n offerToReceiveAudio?: boolean;\n offerToReceiveVideo?: boolean;\n}\n\ninterface RTCOutboundRTPStreamStats extends RTCRTPStreamStats {\n bytesSent?: number;\n packetsSent?: number;\n roundTripTime?: number;\n targetBitrate?: number;\n}\n\ninterface RTCPeerConnectionIceErrorEventInit extends EventInit {\n errorCode: number;\n hostCandidate?: string;\n statusText?: string;\n url?: string;\n}\n\ninterface RTCPeerConnectionIceEventInit extends EventInit {\n candidate?: RTCIceCandidate | null;\n url?: string | null;\n}\n\ninterface RTCRTPStreamStats extends RTCStats {\n associateStatsId?: string;\n codecId?: string;\n firCount?: number;\n isRemote?: boolean;\n mediaTrackId?: string;\n mediaType?: string;\n nackCount?: number;\n pliCount?: number;\n sliCount?: number;\n ssrc?: string;\n transportId?: string;\n}\n\ninterface RTCRtcpFeedback {\n parameter?: string;\n type?: string;\n}\n\ninterface RTCRtcpParameters {\n cname?: string;\n reducedSize?: boolean;\n}\n\ninterface RTCRtpCapabilities {\n codecs: RTCRtpCodecCapability[];\n headerExtensions: RTCRtpHeaderExtensionCapability[];\n}\n\ninterface RTCRtpCodecCapability {\n channels?: number;\n clockRate: number;\n mimeType: string;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodecParameters {\n channels?: number;\n clockRate: number;\n mimeType: string;\n payloadType: number;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodingParameters {\n rid?: string;\n}\n\ninterface RTCRtpContributingSource {\n audioLevel?: number;\n source: number;\n timestamp: number;\n}\n\ninterface RTCRtpDecodingParameters extends RTCRtpCodingParameters {\n}\n\ninterface RTCRtpEncodingParameters extends RTCRtpCodingParameters {\n active?: boolean;\n codecPayloadType?: number;\n dtx?: RTCDtxStatus;\n maxBitrate?: number;\n maxFramerate?: number;\n priority?: RTCPriorityType;\n ptime?: number;\n scaleResolutionDownBy?: number;\n}\n\ninterface RTCRtpFecParameters {\n mechanism?: string;\n ssrc?: number;\n}\n\ninterface RTCRtpHeaderExtension {\n kind?: string;\n preferredEncrypt?: boolean;\n preferredId?: number;\n uri?: string;\n}\n\ninterface RTCRtpHeaderExtensionCapability {\n uri?: string;\n}\n\ninterface RTCRtpHeaderExtensionParameters {\n encrypted?: boolean;\n id: number;\n uri: string;\n}\n\ninterface RTCRtpParameters {\n codecs: RTCRtpCodecParameters[];\n headerExtensions: RTCRtpHeaderExtensionParameters[];\n rtcp: RTCRtcpParameters;\n}\n\ninterface RTCRtpReceiveParameters extends RTCRtpParameters {\n encodings: RTCRtpDecodingParameters[];\n}\n\ninterface RTCRtpRtxParameters {\n ssrc?: number;\n}\n\ninterface RTCRtpSendParameters extends RTCRtpParameters {\n degradationPreference?: RTCDegradationPreference;\n encodings: RTCRtpEncodingParameters[];\n transactionId: string;\n}\n\ninterface RTCRtpSynchronizationSource extends RTCRtpContributingSource {\n voiceActivityFlag?: boolean;\n}\n\ninterface RTCRtpTransceiverInit {\n direction?: RTCRtpTransceiverDirection;\n sendEncodings?: RTCRtpEncodingParameters[];\n streams?: MediaStream[];\n}\n\ninterface RTCRtpUnhandled {\n muxId?: string;\n payloadType?: number;\n ssrc?: number;\n}\n\ninterface RTCSessionDescriptionInit {\n sdp?: string;\n type: RTCSdpType;\n}\n\ninterface RTCSrtpKeyParam {\n keyMethod?: string;\n keySalt?: string;\n lifetime?: string;\n mkiLength?: number;\n mkiValue?: number;\n}\n\ninterface RTCSrtpSdesParameters {\n cryptoSuite?: string;\n keyParams?: RTCSrtpKeyParam[];\n sessionParams?: string[];\n tag?: number;\n}\n\ninterface RTCSsrcRange {\n max?: number;\n min?: number;\n}\n\ninterface RTCStats {\n id: string;\n timestamp: number;\n type: RTCStatsType;\n}\n\ninterface RTCStatsEventInit extends EventInit {\n report: RTCStatsReport;\n}\n\ninterface RTCStatsReport {\n}\n\ninterface RTCTrackEventInit extends EventInit {\n receiver: RTCRtpReceiver;\n streams?: MediaStream[];\n track: MediaStreamTrack;\n transceiver: RTCRtpTransceiver;\n}\n\ninterface RTCTransportStats extends RTCStats {\n activeConnection?: boolean;\n bytesReceived?: number;\n bytesSent?: number;\n localCertificateId?: string;\n remoteCertificateId?: string;\n rtcpTransportStatsId?: string;\n selectedCandidatePairId?: string;\n}\n\ninterface RegistrationOptions {\n scope?: string;\n type?: WorkerType;\n updateViaCache?: ServiceWorkerUpdateViaCache;\n}\n\ninterface RequestInit {\n /**\n * A BodyInit object or null to set request\'s body.\n */\n body?: BodyInit | null;\n /**\n * A string indicating how the request will interact with the browser\'s cache to set request\'s cache.\n */\n cache?: RequestCache;\n /**\n * A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request\'s credentials.\n */\n credentials?: RequestCredentials;\n /**\n * A Headers object, an object literal, or an array of two-item arrays to set request\'s headers.\n */\n headers?: HeadersInit;\n /**\n * A cryptographic hash of the resource to be fetched by request. Sets request\'s integrity.\n */\n integrity?: string;\n /**\n * A boolean to set request\'s keepalive.\n */\n keepalive?: boolean;\n /**\n * A string to set request\'s method.\n */\n method?: string;\n /**\n * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request\'s mode.\n */\n mode?: RequestMode;\n /**\n * A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request\'s redirect.\n */\n redirect?: RequestRedirect;\n /**\n * A string whose value is a same-origin URL, "about:client", or the empty string, to set request\'s referrer.\n */\n referrer?: string;\n /**\n * A referrer policy to set request\'s referrerPolicy.\n */\n referrerPolicy?: ReferrerPolicy;\n /**\n * An AbortSignal to set request\'s signal.\n */\n signal?: AbortSignal | null;\n /**\n * Can only be null. Used to disassociate request from any Window.\n */\n window?: any;\n}\n\ninterface ResponseInit {\n headers?: HeadersInit;\n status?: number;\n statusText?: string;\n}\n\ninterface RsaHashedImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm {\n hash: KeyAlgorithm;\n}\n\ninterface RsaHashedKeyGenParams extends RsaKeyGenParams {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaKeyAlgorithm extends KeyAlgorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaKeyGenParams extends Algorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaOaepParams extends Algorithm {\n label?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface RsaOtherPrimesInfo {\n d?: string;\n r?: string;\n t?: string;\n}\n\ninterface RsaPssParams extends Algorithm {\n saltLength: number;\n}\n\ninterface SVGBoundingBoxOptions {\n clipped?: boolean;\n fill?: boolean;\n markers?: boolean;\n stroke?: boolean;\n}\n\ninterface ScopedCredentialDescriptor {\n id: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null;\n transports?: Transport[];\n type: ScopedCredentialType;\n}\n\ninterface ScopedCredentialOptions {\n excludeList?: ScopedCredentialDescriptor[];\n extensions?: WebAuthnExtensions;\n rpId?: string;\n timeoutSeconds?: number;\n}\n\ninterface ScopedCredentialParameters {\n algorithm: string | Algorithm;\n type: ScopedCredentialType;\n}\n\ninterface ScrollIntoViewOptions extends ScrollOptions {\n block?: ScrollLogicalPosition;\n inline?: ScrollLogicalPosition;\n}\n\ninterface ScrollOptions {\n behavior?: ScrollBehavior;\n}\n\ninterface ScrollToOptions extends ScrollOptions {\n left?: number;\n top?: number;\n}\n\ninterface SecurityPolicyViolationEventInit extends EventInit {\n blockedURI?: string;\n columnNumber?: number;\n documentURI?: string;\n effectiveDirective?: string;\n lineNumber?: number;\n originalPolicy?: string;\n referrer?: string;\n sourceFile?: string;\n statusCode?: number;\n violatedDirective?: string;\n}\n\ninterface ServiceWorkerMessageEventInit extends EventInit {\n data?: any;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[] | null;\n source?: ServiceWorker | MessagePort | null;\n}\n\ninterface ShadowRootInit {\n delegatesFocus?: boolean;\n mode: ShadowRootMode;\n}\n\ninterface StereoPannerOptions extends AudioNodeOptions {\n pan?: number;\n}\n\ninterface StorageEstimate {\n quota?: number;\n usage?: number;\n}\n\ninterface StorageEventInit extends EventInit {\n key?: string | null;\n newValue?: string | null;\n oldValue?: string | null;\n storageArea?: Storage | null;\n url?: string;\n}\n\ninterface StoreExceptionsInformation extends ExceptionInformation {\n detailURI?: string | null;\n explanationString?: string | null;\n siteName?: string | null;\n}\n\ninterface StoreSiteSpecificExceptionsInformation extends StoreExceptionsInformation {\n arrayOfDomainStrings?: string[];\n}\n\ninterface TextDecodeOptions {\n stream?: boolean;\n}\n\ninterface TextDecoderOptions {\n fatal?: boolean;\n ignoreBOM?: boolean;\n}\n\ninterface TextEncoderEncodeIntoResult {\n read?: number;\n written?: number;\n}\n\ninterface TouchEventInit extends EventModifierInit {\n changedTouches?: Touch[];\n targetTouches?: Touch[];\n touches?: Touch[];\n}\n\ninterface TouchInit {\n altitudeAngle?: number;\n azimuthAngle?: number;\n clientX?: number;\n clientY?: number;\n force?: number;\n identifier: number;\n pageX?: number;\n pageY?: number;\n radiusX?: number;\n radiusY?: number;\n rotationAngle?: number;\n screenX?: number;\n screenY?: number;\n target: EventTarget;\n touchType?: TouchType;\n}\n\ninterface TrackEventInit extends EventInit {\n track?: VideoTrack | AudioTrack | TextTrack | null;\n}\n\ninterface Transformer {\n flush?: TransformStreamDefaultControllerCallback;\n readableType?: undefined;\n start?: TransformStreamDefaultControllerCallback;\n transform?: TransformStreamDefaultControllerTransformCallback;\n writableType?: undefined;\n}\n\ninterface TransitionEventInit extends EventInit {\n elapsedTime?: number;\n propertyName?: string;\n pseudoElement?: string;\n}\n\ninterface UIEventInit extends EventInit {\n detail?: number;\n view?: Window | null;\n}\n\ninterface ULongRange {\n max?: number;\n min?: number;\n}\n\ninterface UnderlyingByteSource {\n autoAllocateChunkSize?: number;\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableByteStreamControllerCallback;\n start?: ReadableByteStreamControllerCallback;\n type: "bytes";\n}\n\ninterface UnderlyingSink {\n abort?: WritableStreamErrorCallback;\n close?: WritableStreamDefaultControllerCloseCallback;\n start?: WritableStreamDefaultControllerStartCallback;\n type?: undefined;\n write?: WritableStreamDefaultControllerWriteCallback;\n}\n\ninterface UnderlyingSource {\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableStreamDefaultControllerCallback;\n start?: ReadableStreamDefaultControllerCallback;\n type?: undefined;\n}\n\ninterface VRDisplayEventInit extends EventInit {\n display: VRDisplay;\n reason?: VRDisplayEventReason;\n}\n\ninterface VRLayer {\n leftBounds?: number[] | Float32Array | null;\n rightBounds?: number[] | Float32Array | null;\n source?: HTMLCanvasElement | null;\n}\n\ninterface VRStageParameters {\n sittingToStandingTransform?: Float32Array;\n sizeX?: number;\n sizeY?: number;\n}\n\ninterface WaveShaperOptions extends AudioNodeOptions {\n curve?: number[] | Float32Array;\n oversample?: OverSampleType;\n}\n\ninterface WebAuthnExtensions {\n}\n\ninterface WebGLContextAttributes {\n alpha?: boolean;\n antialias?: boolean;\n depth?: boolean;\n desynchronized?: boolean;\n failIfMajorPerformanceCaveat?: boolean;\n powerPreference?: WebGLPowerPreference;\n premultipliedAlpha?: boolean;\n preserveDrawingBuffer?: boolean;\n stencil?: boolean;\n}\n\ninterface WebGLContextEventInit extends EventInit {\n statusMessage?: string;\n}\n\ninterface WheelEventInit extends MouseEventInit {\n deltaMode?: number;\n deltaX?: number;\n deltaY?: number;\n deltaZ?: number;\n}\n\ninterface WorkerOptions {\n credentials?: RequestCredentials;\n name?: string;\n type?: WorkerType;\n}\n\ninterface WorkletOptions {\n credentials?: RequestCredentials;\n}\n\ninterface txAuthGenericArg {\n content: ArrayBuffer;\n contentType: string;\n}\n\ninterface EventListener {\n (evt: Event): void;\n}\n\ntype XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; };\n\n/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */\ninterface ANGLE_instanced_arrays {\n drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n /**\n * Returns the AbortSignal object associated with this object.\n */\n readonly signal: AbortSignal;\n /**\n * Invoking this method will set this object\'s AbortSignal\'s aborted flag and signal to any observers that the associated activity is to be aborted.\n */\n abort(): void;\n}\n\ndeclare var AbortController: {\n prototype: AbortController;\n new(): AbortController;\n};\n\ninterface AbortSignalEventMap {\n "abort": Event;\n}\n\n/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */\ninterface AbortSignal extends EventTarget {\n /**\n * Returns true if this AbortSignal\'s AbortController has signaled to abort, and false otherwise.\n */\n readonly aborted: boolean;\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AbortSignal: {\n prototype: AbortSignal;\n new(): AbortSignal;\n};\n\ninterface AbstractRange {\n /**\n * Returns true if range is collapsed, and false otherwise.\n */\n readonly collapsed: boolean;\n /**\n * Returns range\'s end node.\n */\n readonly endContainer: Node;\n /**\n * Returns range\'s end offset.\n */\n readonly endOffset: number;\n /**\n * Returns range\'s start node.\n */\n readonly startContainer: Node;\n /**\n * Returns range\'s start offset.\n */\n readonly startOffset: number;\n}\n\ndeclare var AbstractRange: {\n prototype: AbstractRange;\n new(): AbstractRange;\n};\n\ninterface AbstractWorkerEventMap {\n "error": ErrorEvent;\n}\n\ninterface AbstractWorker {\n onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null;\n addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface AesCfbParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCmacParams extends Algorithm {\n length: number;\n}\n\n/** A node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations. */\ninterface AnalyserNode extends AudioNode {\n fftSize: number;\n readonly frequencyBinCount: number;\n maxDecibels: number;\n minDecibels: number;\n smoothingTimeConstant: number;\n getByteFrequencyData(array: Uint8Array): void;\n getByteTimeDomainData(array: Uint8Array): void;\n getFloatFrequencyData(array: Float32Array): void;\n getFloatTimeDomainData(array: Float32Array): void;\n}\n\ndeclare var AnalyserNode: {\n prototype: AnalyserNode;\n new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode;\n};\n\ninterface Animatable {\n animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;\n getAnimations(): Animation[];\n}\n\ninterface AnimationEventMap {\n "cancel": AnimationPlaybackEvent;\n "finish": AnimationPlaybackEvent;\n}\n\ninterface Animation extends EventTarget {\n currentTime: number | null;\n effect: AnimationEffect | null;\n readonly finished: Promise;\n id: string;\n oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n readonly pending: boolean;\n readonly playState: AnimationPlayState;\n playbackRate: number;\n readonly ready: Promise;\n startTime: number | null;\n timeline: AnimationTimeline | null;\n cancel(): void;\n finish(): void;\n pause(): void;\n play(): void;\n reverse(): void;\n updatePlaybackRate(playbackRate: number): void;\n addEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Animation: {\n prototype: Animation;\n new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation;\n};\n\ninterface AnimationEffect {\n getComputedTiming(): ComputedEffectTiming;\n getTiming(): EffectTiming;\n updateTiming(timing?: OptionalEffectTiming): void;\n}\n\ndeclare var AnimationEffect: {\n prototype: AnimationEffect;\n new(): AnimationEffect;\n};\n\n/** Events providing information related to animations. */\ninterface AnimationEvent extends Event {\n readonly animationName: string;\n readonly elapsedTime: number;\n readonly pseudoElement: string;\n}\n\ndeclare var AnimationEvent: {\n prototype: AnimationEvent;\n new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent;\n};\n\ninterface AnimationFrameProvider {\n cancelAnimationFrame(handle: number): void;\n requestAnimationFrame(callback: FrameRequestCallback): number;\n}\n\ninterface AnimationPlaybackEvent extends Event {\n readonly currentTime: number | null;\n readonly timelineTime: number | null;\n}\n\ndeclare var AnimationPlaybackEvent: {\n prototype: AnimationPlaybackEvent;\n new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent;\n};\n\ninterface AnimationTimeline {\n readonly currentTime: number | null;\n}\n\ndeclare var AnimationTimeline: {\n prototype: AnimationTimeline;\n new(): AnimationTimeline;\n};\n\ninterface ApplicationCacheEventMap {\n "cached": Event;\n "checking": Event;\n "downloading": Event;\n "error": Event;\n "noupdate": Event;\n "obsolete": Event;\n "progress": ProgressEvent;\n "updateready": Event;\n}\n\ninterface ApplicationCache extends EventTarget {\n /** @deprecated */\n oncached: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onchecking: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n ondownloading: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onerror: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onnoupdate: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onobsolete: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onprogress: ((this: ApplicationCache, ev: ProgressEvent) => any) | null;\n /** @deprecated */\n onupdateready: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n readonly status: number;\n /** @deprecated */\n abort(): void;\n /** @deprecated */\n swapCache(): void;\n /** @deprecated */\n update(): void;\n readonly CHECKING: number;\n readonly DOWNLOADING: number;\n readonly IDLE: number;\n readonly OBSOLETE: number;\n readonly UNCACHED: number;\n readonly UPDATEREADY: number;\n addEventListener(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ApplicationCache: {\n prototype: ApplicationCache;\n new(): ApplicationCache;\n readonly CHECKING: number;\n readonly DOWNLOADING: number;\n readonly IDLE: number;\n readonly OBSOLETE: number;\n readonly UNCACHED: number;\n readonly UPDATEREADY: number;\n};\n\n/** A DOM element\'s attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types. */\ninterface Attr extends Node {\n readonly localName: string;\n readonly name: string;\n readonly namespaceURI: string | null;\n readonly ownerElement: Element | null;\n readonly prefix: string | null;\n readonly specified: boolean;\n value: string;\n}\n\ndeclare var Attr: {\n prototype: Attr;\n new(): Attr;\n};\n\n/** A short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode. */\ninterface AudioBuffer {\n readonly duration: number;\n readonly length: number;\n readonly numberOfChannels: number;\n readonly sampleRate: number;\n copyFromChannel(destination: Float32Array, channelNumber: number, startInChannel?: number): void;\n copyToChannel(source: Float32Array, channelNumber: number, startInChannel?: number): void;\n getChannelData(channel: number): Float32Array;\n}\n\ndeclare var AudioBuffer: {\n prototype: AudioBuffer;\n new(options: AudioBufferOptions): AudioBuffer;\n};\n\n/** An AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It\'s especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network. */\ninterface AudioBufferSourceNode extends AudioScheduledSourceNode {\n buffer: AudioBuffer | null;\n readonly detune: AudioParam;\n loop: boolean;\n loopEnd: number;\n loopStart: number;\n readonly playbackRate: AudioParam;\n start(when?: number, offset?: number, duration?: number): void;\n addEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioBufferSourceNode: {\n prototype: AudioBufferSourceNode;\n new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode;\n};\n\n/** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */\ninterface AudioContext extends BaseAudioContext {\n readonly baseLatency: number;\n readonly outputLatency: number;\n close(): Promise;\n createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode;\n createMediaStreamDestination(): MediaStreamAudioDestinationNode;\n createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode;\n createMediaStreamTrackSource(mediaStreamTrack: MediaStreamTrack): MediaStreamTrackAudioSourceNode;\n getOutputTimestamp(): AudioTimestamp;\n resume(): Promise;\n suspend(): Promise;\n addEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioContext: {\n prototype: AudioContext;\n new(contextOptions?: AudioContextOptions): AudioContext;\n};\n\n/** AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised. */\ninterface AudioDestinationNode extends AudioNode {\n readonly maxChannelCount: number;\n}\n\ndeclare var AudioDestinationNode: {\n prototype: AudioDestinationNode;\n new(): AudioDestinationNode;\n};\n\n/** The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute. */\ninterface AudioListener {\n readonly forwardX: AudioParam;\n readonly forwardY: AudioParam;\n readonly forwardZ: AudioParam;\n readonly positionX: AudioParam;\n readonly positionY: AudioParam;\n readonly positionZ: AudioParam;\n readonly upX: AudioParam;\n readonly upY: AudioParam;\n readonly upZ: AudioParam;\n /** @deprecated */\n setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void;\n /** @deprecated */\n setPosition(x: number, y: number, z: number): void;\n}\n\ndeclare var AudioListener: {\n prototype: AudioListener;\n new(): AudioListener;\n};\n\n/** A generic interface for representing an audio processing module. Examples include: */\ninterface AudioNode extends EventTarget {\n channelCount: number;\n channelCountMode: ChannelCountMode;\n channelInterpretation: ChannelInterpretation;\n readonly context: BaseAudioContext;\n readonly numberOfInputs: number;\n readonly numberOfOutputs: number;\n connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode;\n connect(destinationParam: AudioParam, output?: number): void;\n disconnect(): void;\n disconnect(output: number): void;\n disconnect(destinationNode: AudioNode): void;\n disconnect(destinationNode: AudioNode, output: number): void;\n disconnect(destinationNode: AudioNode, output: number, input: number): void;\n disconnect(destinationParam: AudioParam): void;\n disconnect(destinationParam: AudioParam, output: number): void;\n}\n\ndeclare var AudioNode: {\n prototype: AudioNode;\n new(): AudioNode;\n};\n\n/** The Web Audio API\'s AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */\ninterface AudioParam {\n automationRate: AutomationRate;\n readonly defaultValue: number;\n readonly maxValue: number;\n readonly minValue: number;\n value: number;\n cancelAndHoldAtTime(cancelTime: number): AudioParam;\n cancelScheduledValues(cancelTime: number): AudioParam;\n exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;\n linearRampToValueAtTime(value: number, endTime: number): AudioParam;\n setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;\n setValueAtTime(value: number, startTime: number): AudioParam;\n setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam;\n}\n\ndeclare var AudioParam: {\n prototype: AudioParam;\n new(): AudioParam;\n};\n\ninterface AudioParamMap {\n forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void;\n}\n\ndeclare var AudioParamMap: {\n prototype: AudioParamMap;\n new(): AudioParamMap;\n};\n\n/** The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed. */\ninterface AudioProcessingEvent extends Event {\n readonly inputBuffer: AudioBuffer;\n readonly outputBuffer: AudioBuffer;\n readonly playbackTime: number;\n}\n\ndeclare var AudioProcessingEvent: {\n prototype: AudioProcessingEvent;\n new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent;\n};\n\ninterface AudioScheduledSourceNodeEventMap {\n "ended": Event;\n}\n\ninterface AudioScheduledSourceNode extends AudioNode {\n onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null;\n start(when?: number): void;\n stop(when?: number): void;\n addEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioScheduledSourceNode: {\n prototype: AudioScheduledSourceNode;\n new(): AudioScheduledSourceNode;\n};\n\n/** A single audio track from one of the HTML media elements,