solorice/vscodium/extensions/esbenp.prettier-vscode-9.5.0/dist/web-extension.js
2022-04-28 21:17:01 +03:00

2 lines
4.8 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(()=>{var e={924:(e,t,r)=>{"use strict";var n=r(210),i=r(559),a=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&a(e,".prototype.")>-1?i(r):r}},559:(e,t,r)=>{"use strict";var n=r(612),i=r(210),a=i("%Function.prototype.apply%"),o=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||n.call(o,a),c=i("%Object.getOwnPropertyDescriptor%",!0),u=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=s(n,o,arguments);if(c&&u){var r=c(t,"length");r.configurable&&u(t,"length",{value:1+l(0,e.length-(arguments.length-1))})}return t};var p=function(){return s(n,a,arguments)};u?u(e.exports,"apply",{value:p}):e.exports.apply=p},804:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,n,i){if("[object Function]"!==r.call(n))throw new TypeError("iterator must be a function");var a=e.length;if(a===+a)for(var o=0;o<a;o++)n.call(i,e[o],o,e);else for(var s in e)t.call(e,s)&&n.call(i,e[s],s,e)}},648:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,i="[object Function]";e.exports=function(e){var a=this;if("function"!=typeof a||n.call(a)!==i)throw new TypeError(t+a);for(var o,s=r.call(arguments,1),c=function(){if(this instanceof o){var t=a.apply(this,s.concat(r.call(arguments)));return Object(t)===t?t:this}return a.apply(e,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),l=[],p=0;p<u;p++)l.push("$"+p);if(o=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(c),a.prototype){var d=function(){};d.prototype=a.prototype,o.prototype=new d,d.prototype=null}return o}},612:(e,t,r)=>{"use strict";var n=r(648);e.exports=Function.prototype.bind||n},210:(e,t,r)=>{"use strict";var n,i=SyntaxError,a=Function,o=TypeError,s=function(e){try{return a('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var u=function(){throw new o},l=c?function(){try{return u}catch(e){try{return c(arguments,"callee").get}catch(e){return u}}}():u,p=r(405)(),d=Object.getPrototypeOf||function(e){return e.__proto__},f={},_="undefined"==typeof Uint8Array?n:d(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":p?d([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?d(d([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p?d((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p?d((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?d(""[Symbol.iterator]()):n,"%Symbol%":p?Symbol:n,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":_,"%TypeError%":o,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},g=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(r=d(i.prototype))}return m[t]=r,r},h={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=r(612),v=r(642),D=y.call(Function.call,Array.prototype.concat),b=y.call(Function.apply,Array.prototype.splice),x=y.call(Function.call,String.prototype.replace),E=y.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,C=/\\(\\)?/g,T=function(e){var t=E(e,0,1),r=E(e,-1);if("%"===t&&"%"!==r)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return x(e,S,(function(e,t,r,i){n[n.length]=r?x(i,C,"$1"):t||e})),n},k=function(e,t){var r,n=e;if(v(h,n)&&(n="%"+(r=h[n])[0]+"%"),v(m,n)){var a=m[n];if(a===f&&(a=g(n)),void 0===a&&!t)throw new o("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:a}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new o('"allowMissing" argument must be a boolean');var r=T(e),n=r.length>0?r[0]:"",a=k("%"+n+"%",t),s=a.name,u=a.value,l=!1,p=a.alias;p&&(n=p[0],b(r,D([0,1],p)));for(var d=1,f=!0;d<r.length;d+=1){var _=r[d],g=E(_,0,1),h=E(_,-1);if(('"'===g||"'"===g||"`"===g||'"'===h||"'"===h||"`"===h)&&g!==h)throw new i("property names with quotes must have matching quotes");if("constructor"!==_&&f||(l=!0),v(m,s="%"+(n+="."+_)+"%"))u=m[s];else if(null!=u){if(!(_ in u)){if(!t)throw new o("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&d+1>=r.length){var y=c(u,_);u=(f=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[_]}else f=v(u,_),u=u[_];f&&!l&&(m[s]=u)}}return u}},405:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(419);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},419:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},410:(e,t,r)=>{"use strict";var n=r(419);e.exports=function(){return n()&&!!Symbol.toStringTag}},642:(e,t,r)=>{"use strict";var n=r(612);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},378:(e,t,r)=>{try{var n=r(539);if("function"!=typeof n.inherits)throw"";e.exports=n.inherits}catch(t){e.exports=r(717)}},717:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},584:(e,t,r)=>{"use strict";var n=r(410)(),i=r(924)("Object.prototype.toString"),a=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},o=function(e){return!!a(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},s=function(){return a(arguments)}();a.isLegacyArguments=o,e.exports=s?a:o},662:(e,t,r)=>{"use strict";var n,i=Object.prototype.toString,a=Function.prototype.toString,o=/^\s*(?:function)?\*/,s=r(410)(),c=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(o.test(a.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(e);if(!c)return!1;if(void 0===n){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();n=!!t&&c(t)}return c(e)===n}},692:(e,t,r)=>{"use strict";var n=r(804),i=r(83),a=r(924),o=a("Object.prototype.toString"),s=r(410)(),c="undefined"==typeof globalThis?r.g:globalThis,u=i(),l=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},p=a("String.prototype.slice"),d={},f=r(196),_=Object.getPrototypeOf;s&&f&&_&&n(u,(function(e){var t=new c[e];if(Symbol.toStringTag in t){var r=_(t),n=f(r,Symbol.toStringTag);if(!n){var i=_(r);n=f(i,Symbol.toStringTag)}d[e]=n.get}})),e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s||!(Symbol.toStringTag in e)){var t=p(o(e),8,-1);return l(u,t)>-1}return!!f&&function(e){var t=!1;return n(d,(function(r,n){if(!t)try{t=r.call(e)===n}catch(e){}})),t}(e)}},470:(e,t,r)=>{"use strict";var n=r(155);function i(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function a(e,t){for(var r,n="",i=0,a=-1,o=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else{if(47===r)break;r=47}if(47===r){if(a===s-1||1===o);else if(a!==s-1&&2===o){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var c=n.lastIndexOf("/");if(c!==n.length-1){-1===c?(n="",i=0):i=(n=n.slice(0,c)).length-1-n.lastIndexOf("/"),a=s,o=0;continue}}else if(2===n.length||1===n.length){n="",i=0,a=s,o=0;continue}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(a+1,s):n=e.slice(a+1,s),i=s-a-1;a=s,o=0}else 46===r&&-1!==o?++o:o=-1}return n}var o={resolve:function(){for(var e,t="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var s;o>=0?s=arguments[o]:(void 0===e&&(e=n.cwd()),s=e),i(s),0!==s.length&&(t=s+"/"+t,r=47===s.charCodeAt(0))}return t=a(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(i(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=a(e,!t)).length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return i(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var r=arguments[t];i(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":o.normalize(e)},relative:function(e,t){if(i(e),i(t),e===t)return"";if((e=o.resolve(e))===(t=o.resolve(t)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var n=e.length,a=n-r,s=1;s<t.length&&47===t.charCodeAt(s);++s);for(var c=t.length-s,u=a<c?a:c,l=-1,p=0;p<=u;++p){if(p===u){if(c>u){if(47===t.charCodeAt(s+p))return t.slice(s+p+1);if(0===p)return t.slice(s+p)}else a>u&&(47===e.charCodeAt(r+p)?l=p:0===p&&(l=0));break}var d=e.charCodeAt(r+p);if(d!==t.charCodeAt(s+p))break;47===d&&(l=p)}var f="";for(p=r+l+1;p<=n;++p)p!==n&&47!==e.charCodeAt(p)||(0===f.length?f+="..":f+="/..");return f.length>0?f+t.slice(s+l):(s+=l,47===t.charCodeAt(s)&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(i(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,a=!0,o=e.length-1;o>=1;--o)if(47===(t=e.charCodeAt(o))){if(!a){n=o;break}}else a=!1;return-1===n?r?"/":".":r&&1===n?"//":e.slice(0,n)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');i(e);var r,n=0,a=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,c=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!o){n=r+1;break}}else-1===c&&(o=!1,c=r+1),s>=0&&(u===t.charCodeAt(s)?-1==--s&&(a=r):(s=-1,a=c))}return n===a?a=c:-1===a&&(a=e.length),e.slice(n,a)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){n=r+1;break}}else-1===a&&(o=!1,a=r+1);return-1===a?"":e.slice(n,a)},extname:function(e){i(e);for(var t=-1,r=0,n=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(47!==c)-1===n&&(a=!1,n=s+1),46===c?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!a){r=s+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+"/"+n:n}(0,e)},parse:function(e){i(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,n=e.charCodeAt(0),a=47===n;a?(t.root="/",r=1):r=0;for(var o=-1,s=0,c=-1,u=!0,l=e.length-1,p=0;l>=r;--l)if(47!==(n=e.charCodeAt(l)))-1===c&&(u=!1,c=l+1),46===n?-1===o?o=l:1!==p&&(p=1):-1!==o&&(p=-1);else if(!u){s=l+1;break}return-1===o||-1===c||0===p||1===p&&o===c-1&&o===s+1?-1!==c&&(t.base=t.name=0===s&&a?e.slice(1,c):e.slice(s,c)):(0===s&&a?(t.name=e.slice(1,o),t.base=e.slice(1,c)):(t.name=e.slice(s,o),t.base=e.slice(s,c)),t.ext=e.slice(o,c)),s>0?t.dir=e.slice(0,s-1):a&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,e.exports=o},228:e=>{e.exports=function(){"use strict";var e,t,r=(e=(e,t)=>{var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t)=>function(){return e&&(t=(0,e[i(e)[0]])(e=0)),t},s=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},c=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},u=e=>((e,t,o,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of i(t))!a.call(e,c)&&c!==o&&r(e,c,{get:()=>t[c],enumerable:!(s=n(t,c))||s.enumerable});return e})(r({},"__esModule",{value:!0}),e),l=o({"<define:process>"(){}}),p=s({"src/utils/is-non-empty-array.js"(e,t){l(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),d=s({"src/language-js/loc.js"(e,t){l();var r=p();function n(e,t){let{ignoreDecorators:i}=t||{};if(!i){let t=e.declaration&&e.declaration.decorators||e.decorators;if(r(t))return n(t[0])}return e.range?e.range[0]:e.start}function i(e){return e.range?e.range[1]:e.end}function a(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:a,hasSameLoc:function(e,t){return a(e,t)&&function(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}(e,t)}}}}),f=s({"node_modules/angular-estree-parser/node_modules/lines-and-columns/build/index.js"(e){l(),e.__esModule=!0,e.LinesAndColumns=void 0;var t="\n",r=function(){function e(e){this.string=e;for(var r=[0],n=0;n<e.length;)switch(e[n]){case t:n+=t.length,r.push(n);break;case"\r":e[n+="\r".length]===t&&(n+=t.length),r.push(n);break;default:n++}this.offsets=r}return e.prototype.locationForIndex=function(e){if(e<0||e>this.string.length)return null;for(var t=0,r=this.offsets;r[t+1]<=e;)t++;return{line:t,column:e-r[t]}},e.prototype.indexForLocation=function(e){var t=e.line,r=e.column;return t<0||t>=this.offsets.length||r<0||r>this.lengthOfLine(t)?null:this.offsets[t]+r},e.prototype.lengthOfLine=function(e){var t=this.offsets[e];return(e===this.offsets.length-1?this.string.length:this.offsets[e+1])-t},e}();e.LinesAndColumns=r,e.default=r}}),_=s({"node_modules/angular-estree-parser/lib/context.js"(e){l(),Object.defineProperty(e,"__esModule",{value:!0}),e.Context=void 0;var t=f();e.Context=class{constructor(e){this.text=e,this.locator=new r(this.text)}};var r=class{constructor(e){this._lineAndColumn=new t.default(e)}locationForIndex(e){let{line:t,column:r}=this._lineAndColumn.locationForIndex(e);return{line:t+1,column:r}}}}}),m={};c(m,{AST:()=>y,ASTWithName:()=>v,ASTWithSource:()=>z,AbsoluteSourceSpan:()=>V,AstMemoryEfficientTransformer:()=>Y,AstTransformer:()=>$,Binary:()=>R,BindingPipe:()=>w,BoundElementProperty:()=>te,Chain:()=>S,Conditional:()=>C,EmptyExpr:()=>b,ExpressionBinding:()=>H,FunctionCall:()=>q,ImplicitReceiver:()=>x,Interpolation:()=>M,KeyedRead:()=>N,KeyedWrite:()=>F,LiteralArray:()=>O,LiteralMap:()=>L,LiteralPrimitive:()=>I,MethodCall:()=>J,NonNullAssert:()=>K,ParseSpan:()=>h,ParsedEvent:()=>Z,ParsedProperty:()=>X,ParsedPropertyType:()=>Q,ParsedVariable:()=>ee,ParserError:()=>g,PrefixNot:()=>j,PropertyRead:()=>T,PropertyWrite:()=>k,Quote:()=>D,RecursiveAstVisitor:()=>G,SafeKeyedRead:()=>P,SafeMethodCall:()=>U,SafePropertyRead:()=>A,ThisReceiver:()=>E,Unary:()=>B,VariableBinding:()=>W});var g,h,y,v,D,b,x,E,S,C,T,k,A,N,P,F,w,I,O,L,M,R,B,j,K,J,U,q,V,z,W,H,G,$,Y,X,Q,Z,ee,te,re=o({"node_modules/@angular/compiler/esm2015/src/expression_parser/ast.js"(){var e;l(),g=class{constructor(e,t,r,n){this.input=t,this.errLocation=r,this.ctxLocation=n,this.message="Parser Error: ".concat(e," ").concat(r," [").concat(t,"] in ").concat(n)}},h=class{constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new V(e+this.start,e+this.end)}},y=class{constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}},v=class extends y{constructor(e,t,r){super(e,t),this.nameSpan=r}},D=class extends y{constructor(e,t,r,n,i){super(e,t),this.prefix=r,this.uninterpretedExpression=n,this.location=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitQuote(this,t)}toString(){return"Quote"}},b=class extends y{visit(e){}},x=class extends y{visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitImplicitReceiver(this,t)}},E=class extends x{visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;var r;return null===(r=e.visitThisReceiver)||void 0===r?void 0:r.call(e,this,t)}},S=class extends y{constructor(e,t,r){super(e,t),this.expressions=r}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitChain(this,t)}},C=class extends y{constructor(e,t,r,n,i){super(e,t),this.condition=r,this.trueExp=n,this.falseExp=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitConditional(this,t)}},T=class extends v{constructor(e,t,r,n,i){super(e,t,r),this.receiver=n,this.name=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitPropertyRead(this,t)}},k=class extends v{constructor(e,t,r,n,i,a){super(e,t,r),this.receiver=n,this.name=i,this.value=a}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitPropertyWrite(this,t)}},A=class extends v{constructor(e,t,r,n,i){super(e,t,r),this.receiver=n,this.name=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitSafePropertyRead(this,t)}},N=class extends y{constructor(e,t,r,n){super(e,t),this.receiver=r,this.key=n}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitKeyedRead(this,t)}},P=class extends y{constructor(e,t,r,n){super(e,t),this.receiver=r,this.key=n}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitSafeKeyedRead(this,t)}},F=class extends y{constructor(e,t,r,n,i){super(e,t),this.receiver=r,this.key=n,this.value=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitKeyedWrite(this,t)}},w=class extends v{constructor(e,t,r,n,i,a){super(e,t,a),this.exp=r,this.name=n,this.args=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitPipe(this,t)}},I=class extends y{constructor(e,t,r){super(e,t),this.value=r}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitLiteralPrimitive(this,t)}},O=class extends y{constructor(e,t,r){super(e,t),this.expressions=r}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitLiteralArray(this,t)}},L=class extends y{constructor(e,t,r,n){super(e,t),this.keys=r,this.values=n}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitLiteralMap(this,t)}},M=class extends y{constructor(e,t,r,n){super(e,t),this.strings=r,this.expressions=n}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitInterpolation(this,t)}},R=class extends y{constructor(e,t,r,n,i){super(e,t),this.operation=r,this.left=n,this.right=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitBinary(this,t)}},B=class extends R{constructor(e,t,r,n,i,a,o){super(e,t,i,a,o),this.operator=r,this.expr=n}static createMinus(e,t,r){return new B(e,t,"-",r,"-",new I(e,t,0),r)}static createPlus(e,t,r){return new B(e,t,"+",r,"-",r,new I(e,t,0))}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return void 0!==e.visitUnary?e.visitUnary(this,t):e.visitBinary(this,t)}},j=class extends y{constructor(e,t,r){super(e,t),this.expression=r}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitPrefixNot(this,t)}},K=class extends y{constructor(e,t,r){super(e,t),this.expression=r}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitNonNullAssert(this,t)}},J=class extends v{constructor(e,t,r,n,i,a,o){super(e,t,r),this.receiver=n,this.name=i,this.args=a,this.argumentSpan=o}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitMethodCall(this,t)}},U=class extends v{constructor(e,t,r,n,i,a,o){super(e,t,r),this.receiver=n,this.name=i,this.args=a,this.argumentSpan=o}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitSafeMethodCall(this,t)}},q=class extends y{constructor(e,t,r,n){super(e,t),this.target=r,this.args=n}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitFunctionCall(this,t)}},V=class{constructor(e,t){this.start=e,this.end=t}},z=class extends y{constructor(e,t,r,n,i){super(new h(0,null===t?0:t.length),new V(n,null===t?n:n+t.length)),this.ast=e,this.source=t,this.location=r,this.errors=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return"".concat(this.source," in ").concat(this.location)}},W=class{constructor(e,t,r){this.sourceSpan=e,this.key=t,this.value=r}},H=class{constructor(e,t,r){this.sourceSpan=e,this.key=t,this.value=r}},G=class{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitFunctionCall(e,t){e.target&&this.visit(e.target,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.receiver,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitPrefixNot(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitQuote(e,t){}visitAll(e,t){for(let r of e)this.visit(r,t)}},$=class{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){return new M(e.span,e.sourceSpan,e.strings,this.visitAll(e.expressions))}visitLiteralPrimitive(e,t){return new I(e.span,e.sourceSpan,e.value)}visitPropertyRead(e,t){return new T(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitPropertyWrite(e,t){return new k(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,e.value.visit(this))}visitSafePropertyRead(e,t){return new A(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitMethodCall(e,t){return new J(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args),e.argumentSpan)}visitSafeMethodCall(e,t){return new U(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args),e.argumentSpan)}visitFunctionCall(e,t){return new q(e.span,e.sourceSpan,e.target.visit(this),this.visitAll(e.args))}visitLiteralArray(e,t){return new O(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitLiteralMap(e,t){return new L(e.span,e.sourceSpan,e.keys,this.visitAll(e.values))}visitUnary(e,t){switch(e.operator){case"+":return B.createPlus(e.span,e.sourceSpan,e.expr.visit(this));case"-":return B.createMinus(e.span,e.sourceSpan,e.expr.visit(this));default:throw new Error("Unknown unary operator ".concat(e.operator))}}visitBinary(e,t){return new R(e.span,e.sourceSpan,e.operation,e.left.visit(this),e.right.visit(this))}visitPrefixNot(e,t){return new j(e.span,e.sourceSpan,e.expression.visit(this))}visitNonNullAssert(e,t){return new K(e.span,e.sourceSpan,e.expression.visit(this))}visitConditional(e,t){return new C(e.span,e.sourceSpan,e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))}visitPipe(e,t){return new w(e.span,e.sourceSpan,e.exp.visit(this),e.name,this.visitAll(e.args),e.nameSpan)}visitKeyedRead(e,t){return new N(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this))}visitKeyedWrite(e,t){return new F(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this),e.value.visit(this))}visitAll(e){let t=[];for(let r=0;r<e.length;++r)t[r]=e[r].visit(this);return t}visitChain(e,t){return new S(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitQuote(e,t){return new D(e.span,e.sourceSpan,e.prefix,e.uninterpretedExpression,e.location)}visitSafeKeyedRead(e,t){return new P(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this))}},Y=class{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){let r=this.visitAll(e.expressions);return r!==e.expressions?new M(e.span,e.sourceSpan,e.strings,r):e}visitLiteralPrimitive(e,t){return e}visitPropertyRead(e,t){let r=e.receiver.visit(this);return r!==e.receiver?new T(e.span,e.sourceSpan,e.nameSpan,r,e.name):e}visitPropertyWrite(e,t){let r=e.receiver.visit(this),n=e.value.visit(this);return r!==e.receiver||n!==e.value?new k(e.span,e.sourceSpan,e.nameSpan,r,e.name,n):e}visitSafePropertyRead(e,t){let r=e.receiver.visit(this);return r!==e.receiver?new A(e.span,e.sourceSpan,e.nameSpan,r,e.name):e}visitMethodCall(e,t){let r=e.receiver.visit(this),n=this.visitAll(e.args);return r!==e.receiver||n!==e.args?new J(e.span,e.sourceSpan,e.nameSpan,r,e.name,n,e.argumentSpan):e}visitSafeMethodCall(e,t){let r=e.receiver.visit(this),n=this.visitAll(e.args);return r!==e.receiver||n!==e.args?new U(e.span,e.sourceSpan,e.nameSpan,r,e.name,n,e.argumentSpan):e}visitFunctionCall(e,t){let r=e.target&&e.target.visit(this),n=this.visitAll(e.args);return r!==e.target||n!==e.args?new q(e.span,e.sourceSpan,r,n):e}visitLiteralArray(e,t){let r=this.visitAll(e.expressions);return r!==e.expressions?new O(e.span,e.sourceSpan,r):e}visitLiteralMap(e,t){let r=this.visitAll(e.values);return r!==e.values?new L(e.span,e.sourceSpan,e.keys,r):e}visitUnary(e,t){let r=e.expr.visit(this);if(r!==e.expr)switch(e.operator){case"+":return B.createPlus(e.span,e.sourceSpan,r);case"-":return B.createMinus(e.span,e.sourceSpan,r);default:throw new Error("Unknown unary operator ".concat(e.operator))}return e}visitBinary(e,t){let r=e.left.visit(this),n=e.right.visit(this);return r!==e.left||n!==e.right?new R(e.span,e.sourceSpan,e.operation,r,n):e}visitPrefixNot(e,t){let r=e.expression.visit(this);return r!==e.expression?new j(e.span,e.sourceSpan,r):e}visitNonNullAssert(e,t){let r=e.expression.visit(this);return r!==e.expression?new K(e.span,e.sourceSpan,r):e}visitConditional(e,t){let r=e.condition.visit(this),n=e.trueExp.visit(this),i=e.falseExp.visit(this);return r!==e.condition||n!==e.trueExp||i!==e.falseExp?new C(e.span,e.sourceSpan,r,n,i):e}visitPipe(e,t){let r=e.exp.visit(this),n=this.visitAll(e.args);return r!==e.exp||n!==e.args?new w(e.span,e.sourceSpan,r,e.name,n,e.nameSpan):e}visitKeyedRead(e,t){let r=e.receiver.visit(this),n=e.key.visit(this);return r!==e.receiver||n!==e.key?new N(e.span,e.sourceSpan,r,n):e}visitKeyedWrite(e,t){let r=e.receiver.visit(this),n=e.key.visit(this),i=e.value.visit(this);return r!==e.receiver||n!==e.key||i!==e.value?new F(e.span,e.sourceSpan,r,n,i):e}visitAll(e){let t=[],r=!1;for(let n=0;n<e.length;++n){let i=e[n],a=i.visit(this);t[n]=a,r=r||a!==i}return r?t:e}visitChain(e,t){let r=this.visitAll(e.expressions);return r!==e.expressions?new S(e.span,e.sourceSpan,r):e}visitQuote(e,t){return e}visitSafeKeyedRead(e,t){let r=e.receiver.visit(this),n=e.key.visit(this);return r!==e.receiver||n!==e.key?new P(e.span,e.sourceSpan,r,n):e}},X=class{constructor(e,t,r,n,i,a){this.name=e,this.expression=t,this.type=r,this.sourceSpan=n,this.keySpan=i,this.valueSpan=a,this.isLiteral=this.type===Q.LITERAL_ATTR,this.isAnimation=this.type===Q.ANIMATION}},(e=Q||(Q={}))[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.ANIMATION=2]="ANIMATION",Z=class{constructor(e,t,r,n,i,a,o){this.name=e,this.targetOrPhase=t,this.type=r,this.handler=n,this.sourceSpan=i,this.handlerSpan=a,this.keySpan=o}},ee=class{constructor(e,t,r,n,i){this.name=e,this.value=t,this.sourceSpan=r,this.keySpan=n,this.valueSpan=i}},te=class{constructor(e,t,r,n,i,a,o,s){this.name=e,this.type=t,this.securityContext=r,this.value=n,this.unit=i,this.sourceSpan=a,this.keySpan=o,this.valueSpan=s}}}});function ne(e){return e>=se&&e<=de||e==rt}function ie(e){return Oe<=e&&e<=Le}function ae(e){return e===ve||e===_e||e===nt}var oe,se,ce,ue,le,pe,de,fe,_e,me,ge,he,ye,ve,De,be,xe,Ee,Se,Ce,Te,ke,Ae,Ne,Pe,Fe,we,Ie,Oe,Le,Me,Re,Be,je,Ke,Je,Ue,qe,Ve,ze,We,He,Ge,$e,Ye,Xe,Qe,Ze,et,tt,rt,nt,it=o({"node_modules/@angular/compiler/esm2015/src/chars.js"(){l(),oe=0,se=9,ce=10,ue=11,le=12,pe=13,de=32,fe=33,_e=34,me=35,ge=36,he=37,ye=38,ve=39,De=40,be=41,xe=42,Ee=43,Se=44,Ce=45,Te=46,ke=47,Ae=58,Ne=59,Pe=60,Fe=61,we=62,Ie=63,Oe=48,Le=57,Me=65,Re=69,Be=90,je=91,Ke=92,Je=93,Ue=94,qe=95,Ve=97,ze=101,We=102,He=110,Ge=114,$e=116,Ye=117,Xe=118,Qe=122,Ze=123,et=124,tt=125,rt=160,nt=96}}),at={};function ot(e,t,r){return new ht(e,t,_t.Character,r,String.fromCharCode(r))}function st(e,t,r){return new ht(e,t,_t.Operator,0,r)}function ct(e){return Ve<=e&&e<=Qe||Me<=e&&e<=Be||e==qe||e==ge}function ut(e){if(0==e.length)return!1;let t=new vt(e);if(!ct(t.peek))return!1;for(t.advance();t.peek!==oe;){if(!lt(t.peek))return!1;t.advance()}return!0}function lt(e){return function(e){return e>=Ve&&e<=Qe||e>=Me&&e<=Be}(e)||ie(e)||e==qe||e==ge}function pt(e){return e==ze||e==Re}function dt(e){return e==Ce||e==Ee}function ft(e){switch(e){case He:return ce;case We:return le;case Ge:return pe;case $e:return se;case Xe:return ue;default:return e}}c(at,{EOF:()=>yt,Lexer:()=>gt,Token:()=>ht,TokenType:()=>_t,isIdentifier:()=>ut});var _t,mt,gt,ht,yt,vt,Dt,bt,xt,Et=o({"node_modules/@angular/compiler/esm2015/src/expression_parser/lexer.js"(){var e;l(),it(),(e=_t||(_t={}))[e.Character=0]="Character",e[e.Identifier=1]="Identifier",e[e.PrivateIdentifier=2]="PrivateIdentifier",e[e.Keyword=3]="Keyword",e[e.String=4]="String",e[e.Operator=5]="Operator",e[e.Number=6]="Number",e[e.Error=7]="Error",mt=["var","let","as","null","undefined","true","false","if","else","this"],gt=class{tokenize(e){let t=new vt(e),r=[],n=t.scanToken();for(;null!=n;)r.push(n),n=t.scanToken();return r}},ht=class{constructor(e,t,r,n,i){this.index=e,this.end=t,this.type=r,this.numValue=n,this.strValue=i}isCharacter(e){return this.type==_t.Character&&this.numValue==e}isNumber(){return this.type==_t.Number}isString(){return this.type==_t.String}isOperator(e){return this.type==_t.Operator&&this.strValue==e}isIdentifier(){return this.type==_t.Identifier}isPrivateIdentifier(){return this.type==_t.PrivateIdentifier}isKeyword(){return this.type==_t.Keyword}isKeywordLet(){return this.type==_t.Keyword&&"let"==this.strValue}isKeywordAs(){return this.type==_t.Keyword&&"as"==this.strValue}isKeywordNull(){return this.type==_t.Keyword&&"null"==this.strValue}isKeywordUndefined(){return this.type==_t.Keyword&&"undefined"==this.strValue}isKeywordTrue(){return this.type==_t.Keyword&&"true"==this.strValue}isKeywordFalse(){return this.type==_t.Keyword&&"false"==this.strValue}isKeywordThis(){return this.type==_t.Keyword&&"this"==this.strValue}isError(){return this.type==_t.Error}toNumber(){return this.type==_t.Number?this.numValue:-1}toString(){switch(this.type){case _t.Character:case _t.Identifier:case _t.Keyword:case _t.Operator:case _t.PrivateIdentifier:case _t.String:case _t.Error:return this.strValue;case _t.Number:return this.numValue.toString();default:return null}}},yt=new ht(-1,-1,_t.Character,0,""),vt=class{constructor(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}advance(){this.peek=++this.index>=this.length?oe:this.input.charCodeAt(this.index)}scanToken(){let e=this.input,t=this.length,r=this.peek,n=this.index;for(;r<=de;){if(++n>=t){r=oe;break}r=e.charCodeAt(n)}if(this.peek=r,this.index=n,n>=t)return null;if(ct(r))return this.scanIdentifier();if(ie(r))return this.scanNumber(n);let i=n;switch(r){case Te:return this.advance(),ie(this.peek)?this.scanNumber(i):ot(i,this.index,Te);case De:case be:case Ze:case tt:case je:case Je:case Se:case Ae:case Ne:return this.scanCharacter(i,r);case ve:case _e:return this.scanString();case me:return this.scanPrivateIdentifier();case Ee:case Ce:case xe:case ke:case he:case Ue:return this.scanOperator(i,String.fromCharCode(r));case Ie:return this.scanQuestion(i);case Pe:case we:return this.scanComplexOperator(i,String.fromCharCode(r),Fe,"=");case fe:case Fe:return this.scanComplexOperator(i,String.fromCharCode(r),Fe,"=",Fe,"=");case ye:return this.scanComplexOperator(i,"&",ye,"&");case et:return this.scanComplexOperator(i,"|",et,"|");case rt:for(;ne(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error("Unexpected character [".concat(String.fromCharCode(r),"]"),0)}scanCharacter(e,t){return this.advance(),ot(e,this.index,t)}scanOperator(e,t){return this.advance(),st(e,this.index,t)}scanComplexOperator(e,t,r,n,i,a){this.advance();let o=t;return this.peek==r&&(this.advance(),o+=n),null!=i&&this.peek==i&&(this.advance(),o+=a),st(e,this.index,o)}scanIdentifier(){let e=this.index;for(this.advance();lt(this.peek);)this.advance();let t=this.input.substring(e,this.index);return mt.indexOf(t)>-1?function(e,t,r){return new ht(e,t,_t.Keyword,0,r)}(e,this.index,t):function(e,t,r){return new ht(e,t,_t.Identifier,0,r)}(e,this.index,t)}scanPrivateIdentifier(){let e=this.index;if(this.advance(),!ct(this.peek))return this.error("Invalid character [#]",-1);for(;lt(this.peek);)this.advance();let t=this.input.substring(e,this.index);return function(e,t,r){return new ht(e,t,_t.PrivateIdentifier,0,r)}(e,this.index,t)}scanNumber(e){let t=this.index===e,r=!1;for(this.advance();;){if(!ie(this.peek))if(this.peek===qe){if(!ie(this.input.charCodeAt(this.index-1))||!ie(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);r=!0}else if(this.peek===Te)t=!1;else{if(!pt(this.peek))break;if(this.advance(),dt(this.peek)&&this.advance(),!ie(this.peek))return this.error("Invalid exponent",-1);t=!1}this.advance()}let n=this.input.substring(e,this.index);r&&(n=n.replace(/_/g,""));let i=t?function(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}(n):parseFloat(n);return function(e,t,r){return new ht(e,t,_t.Number,r,"")}(e,this.index,i)}scanString(){let e=this.index,t=this.peek;this.advance();let r="",n=this.index,i=this.input;for(;this.peek!=t;)if(this.peek==Ke){let e;if(r+=i.substring(n,this.index),this.advance(),this.peek=this.peek,this.peek==Ye){let t=i.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(t))return this.error("Invalid unicode escape [\\u".concat(t,"]"),0);e=parseInt(t,16);for(let e=0;e<5;e++)this.advance()}else e=ft(this.peek),this.advance();r+=String.fromCharCode(e),n=this.index}else{if(this.peek==oe)return this.error("Unterminated quote",0);this.advance()}let a=i.substring(n,this.index);return this.advance(),function(e,t,r){return new ht(e,t,_t.String,0,r)}(e,this.index,r+a)}scanQuestion(e){this.advance();let t="?";return(this.peek===Ie||this.peek===Te)&&(t+=this.peek===Te?".":"?",this.advance()),st(e,this.index,t)}error(e,t){let r=this.index+t;return function(e,t,r){return new ht(e,t,_t.Error,0,r)}(r,this.index,"Lexer Error: ".concat(e," at column ").concat(r," in expression [").concat(this.input,"]"))}}}}),St=o({"node_modules/@angular/compiler/esm2015/src/assertions.js"(){l(),Dt=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//]}}),Ct=o({"node_modules/@angular/compiler/esm2015/src/ml_parser/interpolation_config.js"(){l(),St(),xt=new(bt=class{constructor(e,t){this.start=e,this.end=t}static fromArray(e){return e?(function(e,t){if(null!=t&&(!Array.isArray(t)||2!=t.length))throw new Error("Expected '".concat(e,"' to be an array, [start, end]."));if(null!=t){let e=t[0],r=t[1];Dt.forEach((t=>{if(t.test(e)||t.test(r))throw new Error("['".concat(e,"', '").concat(r,"'] contains unusable interpolation symbol."))}))}}("interpolation",e),new bt(e[0],e[1])):xt}})("{{","}}")}}),Tt={};c(Tt,{IvyParser:()=>Pt,Parser:()=>Nt,SplitInterpolation:()=>kt,TemplateBindingParseResult:()=>At,_ParseAST:()=>wt});var kt,At,Nt,Pt,Ft,wt,It,Ot,Lt=o({"node_modules/@angular/compiler/esm2015/src/expression_parser/parser.js"(){var e;l(),it(),Ct(),re(),Et(),kt=class{constructor(e,t,r){this.strings=e,this.expressions=t,this.offsets=r}},At=class{constructor(e,t,r){this.templateBindings=e,this.warnings=t,this.errors=r}},Nt=class{constructor(e){this._lexer=e,this.errors=[],this.simpleExpressionChecker=It}parseAction(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xt;this._checkNoInterpolation(e,t,n);let i=this._stripComments(e),a=this._lexer.tokenize(this._stripComments(e)),o=new wt(e,t,r,a,i.length,!0,this.errors,e.length-i.length).parseChain();return new z(o,e,t,r,this.errors)}parseBinding(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xt,i=this._parseBindingAst(e,t,r,n);return new z(i,e,t,r,this.errors)}checkSimpleExpression(e){let t=new this.simpleExpressionChecker;return e.visit(t),t.errors}parseSimpleBinding(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xt,i=this._parseBindingAst(e,t,r,n),a=this.checkSimpleExpression(i);return a.length>0&&this._reportError("Host binding expression cannot contain ".concat(a.join(" ")),e,t),new z(i,e,t,r,this.errors)}_reportError(e,t,r,n){this.errors.push(new g(e,t,r,n))}_parseBindingAst(e,t,r,n){let i=this._parseQuote(e,t,r);if(null!=i)return i;this._checkNoInterpolation(e,t,n);let a=this._stripComments(e),o=this._lexer.tokenize(a);return new wt(e,t,r,o,a.length,!1,this.errors,e.length-a.length).parseChain()}_parseQuote(e,t,r){if(null==e)return null;let n=e.indexOf(":");if(-1==n)return null;let i=e.substring(0,n).trim();if(!ut(i))return null;let a=e.substring(n+1),o=new h(0,e.length);return new D(o,o.toAbsolute(r),i,a,t)}parseTemplateBindings(e,t,r,n,i){let a=this._lexer.tokenize(t);return new wt(t,r,i,a,t.length,!1,this.errors,0).parseTemplateBindings({source:e,span:new V(n,n+e.length)})}parseInterpolation(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xt,{strings:i,expressions:a,offsets:o}=this.splitInterpolation(e,t,n);if(0===a.length)return null;let s=[];for(let n=0;n<a.length;++n){let i=a[n].text,c=this._stripComments(i),u=this._lexer.tokenize(c),l=new wt(e,t,r,u,c.length,!1,this.errors,o[n]+(i.length-c.length)).parseChain();s.push(l)}return this.createInterpolationAst(i.map((e=>e.text)),s,e,t,r)}parseInterpolationExpression(e,t,r){let n=this._stripComments(e),i=this._lexer.tokenize(n),a=new wt(e,t,r,i,n.length,!1,this.errors,0).parseChain();return this.createInterpolationAst(["",""],[a],e,t,r)}createInterpolationAst(e,t,r,n,i){let a=new h(0,r.length),o=new M(a,a.toAbsolute(i),e,t);return new z(o,r,n,i,this.errors)}splitInterpolation(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt,n=[],i=[],a=[],o=0,s=!1,c=!1,{start:u,end:l}=r;for(;o<e.length;)if(s){let r=o,n=r+u.length,p=this._getInterpolationEndIndex(e,l,n);if(-1===p){s=!1,c=!0;break}let d=p+l.length,f=e.substring(n,p);0===f.trim().length&&this._reportError("Blank expressions are not allowed in interpolated strings",e,"at column ".concat(o," in"),t),i.push({text:f,start:r,end:d}),a.push(n),o=d,s=!1}else{let t=o;o=e.indexOf(u,o),-1===o&&(o=e.length);let r=e.substring(t,o);n.push({text:r,start:t,end:o}),s=!0}if(!s)if(c){let t=n[n.length-1];t.text+=e.substring(o),t.end=e.length}else n.push({text:e.substring(o),start:o,end:e.length});return new kt(n,i,a)}wrapLiteralPrimitive(e,t,r){let n=new h(0,null==e?0:e.length);return new z(new I(n,n.toAbsolute(r),e),e,t,r,this.errors)}_stripComments(e){let t=this._commentStart(e);return null!=t?e.substring(0,t).trim():e}_commentStart(e){let t=null;for(let r=0;r<e.length-1;r++){let n=e.charCodeAt(r),i=e.charCodeAt(r+1);if(n===ke&&i==ke&&null==t)return r;t===n?t=null:null==t&&ae(n)&&(t=n)}return null}_checkNoInterpolation(e,t,r){let{start:n,end:i}=r,a=-1,o=-1;for(let t of this._forEachUnquotedChar(e,0))if(-1===a)e.startsWith(n)&&(a=t);else if(o=this._getInterpolationEndIndex(e,i,t),o>-1)break;a>-1&&o>-1&&this._reportError("Got interpolation (".concat(n).concat(i,") where expression was expected"),e,"at column ".concat(a," in"),t)}_getInterpolationEndIndex(e,t,r){for(let n of this._forEachUnquotedChar(e,r)){if(e.startsWith(t,n))return n;if(e.startsWith("//",n))return e.indexOf(t,n)}return-1}*_forEachUnquotedChar(e,t){let r=null,n=0;for(let i=t;i<e.length;i++){let t=e[i];!ae(e.charCodeAt(i))||null!==r&&r!==t||n%2!=0?null===r&&(yield i):r=null===r?t:null,n="\\"===t?n+1:0}}},Pt=class extends Nt{constructor(){super(...arguments),this.simpleExpressionChecker=Ot}},(e=Ft||(Ft={}))[e.None=0]="None",e[e.Writable=1]="Writable",wt=class{constructor(e,t,r,n,i,a,o,s){this.input=e,this.location=t,this.absoluteOffset=r,this.tokens=n,this.inputLength=i,this.parseAction=a,this.errors=o,this.offset=s,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.context=Ft.None,this.sourceSpanCache=new Map,this.index=0}peek(e){let t=this.index+e;return t<this.tokens.length?this.tokens[t]:yt}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:0===this.tokens.length?this.inputLength+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let r=this.currentEndIndex;if(void 0!==t&&t>this.currentEndIndex&&(r=t),e>r){let t=r;r=e,e=t}return new h(e,r)}sourceSpan(e,t){let r="".concat(e,"@").concat(this.inputIndex,":").concat(t);return this.sourceSpanCache.has(r)||this.sourceSpanCache.set(r,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(r)}advance(){this.index++}withContext(e,t){this.context|=e;let r=t();return this.context^=e,r}consumeOptionalCharacter(e){return!!this.next.isCharacter(e)&&(this.advance(),!0)}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error("Missing expected ".concat(String.fromCharCode(e)))}consumeOptionalOperator(e){return!!this.next.isOperator(e)&&(this.advance(),!0)}expectOperator(e){this.consumeOptionalOperator(e)||this.error("Missing expected operator ".concat(e))}prettyPrintToken(e){return e===yt?"end of input":"token ".concat(e)}expectIdentifierOrKeyword(){let e=this.next;return e.isIdentifier()||e.isKeyword()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error("Unexpected ".concat(this.prettyPrintToken(e),", expected identifier or keyword")),null)}expectIdentifierOrKeywordOrString(){let e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error("Unexpected ".concat(this.prettyPrintToken(e),", expected identifier, keyword, or string")),"")}parseChain(){let e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){let t=this.parsePipe();if(e.push(t),this.consumeOptionalCharacter(Ne))for(this.parseAction||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(Ne););else this.index<this.tokens.length&&this.error("Unexpected token '".concat(this.next,"'"))}if(0==e.length){let e=this.offset,t=this.offset+this.inputLength;return new b(this.span(e,t),this.sourceSpan(e,t))}return 1==e.length?e[0]:new S(this.span(t),this.sourceSpan(t),e)}parsePipe(){let e=this.inputIndex,t=this.parseExpression();if(this.consumeOptionalOperator("|")){this.parseAction&&this.error("Cannot have a pipe in an action expression");do{let r,n,i=this.inputIndex,a=this.expectIdentifierOrKeyword();null!==a?r=this.sourceSpan(i):(a="",n=-1!==this.next.index?this.next.index:this.inputLength+this.offset,r=new h(n,n).toAbsolute(this.absoluteOffset));let o=[];for(;this.consumeOptionalCharacter(Ae);)o.push(this.parseExpression());t=new w(this.span(e),this.sourceSpan(e,n),t,a,o,r)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){let e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){let r,n=this.parsePipe();if(this.consumeOptionalCharacter(Ae))r=this.parsePipe();else{let t=this.inputIndex,n=this.input.substring(e,t);this.error("Conditional expression ".concat(n," requires all 3 expressions")),r=new b(this.span(e),this.sourceSpan(e))}return new C(this.span(e),this.sourceSpan(e),t,n,r)}return t}parseLogicalOr(){let e=this.inputIndex,t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){let r=this.parseLogicalAnd();t=new R(this.span(e),this.sourceSpan(e),"||",t,r)}return t}parseLogicalAnd(){let e=this.inputIndex,t=this.parseNullishCoalescing();for(;this.consumeOptionalOperator("&&");){let r=this.parseNullishCoalescing();t=new R(this.span(e),this.sourceSpan(e),"&&",t,r)}return t}parseNullishCoalescing(){let e=this.inputIndex,t=this.parseEquality();for(;this.consumeOptionalOperator("??");){let r=this.parseEquality();t=new R(this.span(e),this.sourceSpan(e),"??",t,r)}return t}parseEquality(){let e=this.inputIndex,t=this.parseRelational();for(;this.next.type==_t.Operator;){let r=this.next.strValue;switch(r){case"==":case"===":case"!=":case"!==":this.advance();let n=this.parseRelational();t=new R(this.span(e),this.sourceSpan(e),r,t,n);continue}break}return t}parseRelational(){let e=this.inputIndex,t=this.parseAdditive();for(;this.next.type==_t.Operator;){let r=this.next.strValue;switch(r){case"<":case">":case"<=":case">=":this.advance();let n=this.parseAdditive();t=new R(this.span(e),this.sourceSpan(e),r,t,n);continue}break}return t}parseAdditive(){let e=this.inputIndex,t=this.parseMultiplicative();for(;this.next.type==_t.Operator;){let r=this.next.strValue;switch(r){case"+":case"-":this.advance();let n=this.parseMultiplicative();t=new R(this.span(e),this.sourceSpan(e),r,t,n);continue}break}return t}parseMultiplicative(){let e=this.inputIndex,t=this.parsePrefix();for(;this.next.type==_t.Operator;){let r=this.next.strValue;switch(r){case"*":case"%":case"/":this.advance();let n=this.parsePrefix();t=new R(this.span(e),this.sourceSpan(e),r,t,n);continue}break}return t}parsePrefix(){if(this.next.type==_t.Operator){let e,t=this.inputIndex;switch(this.next.strValue){case"+":return this.advance(),e=this.parsePrefix(),B.createPlus(this.span(t),this.sourceSpan(t),e);case"-":return this.advance(),e=this.parsePrefix(),B.createMinus(this.span(t),this.sourceSpan(t),e);case"!":return this.advance(),e=this.parsePrefix(),new j(this.span(t),this.sourceSpan(t),e)}}return this.parseCallChain()}parseCallChain(){let e=this.inputIndex,t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(Te))t=this.parseAccessMemberOrMethodCall(t,e,!1);else if(this.consumeOptionalOperator("?."))t=this.consumeOptionalCharacter(je)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMemberOrMethodCall(t,e,!0);else if(this.consumeOptionalCharacter(je))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(De)){this.rparensExpected++;let r=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(be),t=new q(this.span(e),this.sourceSpan(e),t,r)}else{if(!this.consumeOptionalOperator("!"))return t;t=new K(this.span(e),this.sourceSpan(e),t)}}parsePrimary(){let e=this.inputIndex;if(this.consumeOptionalCharacter(De)){this.rparensExpected++;let e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(be),e}if(this.next.isKeywordNull())return this.advance(),new I(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new I(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new I(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new I(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new E(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(je)){this.rbracketsExpected++;let t=this.parseExpressionList(Je);return this.rbracketsExpected--,this.expectCharacter(Je),new O(this.span(e),this.sourceSpan(e),t)}if(this.next.isCharacter(Ze))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new x(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){let t=this.next.toNumber();return this.advance(),new I(this.span(e),this.sourceSpan(e),t)}if(this.next.isString()){let t=this.next.toString();return this.advance(),new I(this.span(e),this.sourceSpan(e),t)}return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new b(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error("Unexpected end of expression: ".concat(this.input)),new b(this.span(e),this.sourceSpan(e))):(this.error("Unexpected token ".concat(this.next)),new b(this.span(e),this.sourceSpan(e)))}parseExpressionList(e){let t=[];do{if(this.next.isCharacter(e))break;t.push(this.parsePipe())}while(this.consumeOptionalCharacter(Se));return t}parseLiteralMap(){let e=[],t=[],r=this.inputIndex;if(this.expectCharacter(Ze),!this.consumeOptionalCharacter(tt)){this.rbracesExpected++;do{let r=this.inputIndex,n=this.next.isString(),i=this.expectIdentifierOrKeywordOrString();if(e.push({key:i,quoted:n}),n)this.expectCharacter(Ae),t.push(this.parsePipe());else if(this.consumeOptionalCharacter(Ae))t.push(this.parsePipe());else{let e=this.span(r),n=this.sourceSpan(r);t.push(new T(e,n,n,new x(e,n),i))}}while(this.consumeOptionalCharacter(Se));this.rbracesExpected--,this.expectCharacter(tt)}return new L(this.span(r),this.sourceSpan(r),e,t)}parseAccessMemberOrMethodCall(e,t,r){let n=this.inputIndex,i=this.withContext(Ft.Writable,(()=>{var t;let r=null!==(t=this.expectIdentifierOrKeyword())&&void 0!==t?t:"";return 0===r.length&&this.error("Expected identifier for property access",e.span.end),r})),a=this.sourceSpan(n);if(this.consumeOptionalCharacter(De)){let n=this.inputIndex;this.rparensExpected++;let o=this.parseCallArguments(),s=this.span(n,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(be),this.rparensExpected--;let c=this.span(t),u=this.sourceSpan(t);return r?new U(c,u,a,e,i,o,s):new J(c,u,a,e,i,o,s)}if(r)return this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new b(this.span(t),this.sourceSpan(t))):new A(this.span(t),this.sourceSpan(t),a,e,i);if(this.consumeOptionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new b(this.span(t),this.sourceSpan(t));let r=this.parseConditional();return new k(this.span(t),this.sourceSpan(t),a,e,i,r)}return new T(this.span(t),this.sourceSpan(t),a,e,i)}parseCallArguments(){if(this.next.isCharacter(be))return[];let e=[];do{e.push(this.parsePipe())}while(this.consumeOptionalCharacter(Se));return e}expectTemplateBindingKey(){let e="",t=!1,r=this.currentAbsoluteOffset;do{e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-")}while(t);return{source:e,span:new V(r,r+e.length)}}parseTemplateBindings(e){let t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){let r=this.parseLetBinding();if(r)t.push(r);else{let r=this.expectTemplateBindingKey(),n=this.parseAsBinding(r);n?t.push(n):(r.source=e.source+r.source.charAt(0).toUpperCase()+r.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(r)))}this.consumeStatementTerminator()}return new At(t,[],this.errors)}parseKeyedReadOrWrite(e,t,r){return this.withContext(Ft.Writable,(()=>{this.rbracketsExpected++;let n=this.parsePipe();if(n instanceof b&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(Je),!this.consumeOptionalOperator("="))return r?new P(this.span(t),this.sourceSpan(t),e,n):new N(this.span(t),this.sourceSpan(t),e,n);if(!r){let r=this.parseConditional();return new F(this.span(t),this.sourceSpan(t),e,n,r)}return this.error("The '?.' operator cannot be used in the assignment"),new b(this.span(t),this.sourceSpan(t))}))}parseDirectiveKeywordBindings(e){let t=[];this.consumeOptionalCharacter(Ae);let r=this.getDirectiveBoundTarget(),n=this.currentAbsoluteOffset,i=this.parseAsBinding(e);i||(this.consumeStatementTerminator(),n=this.currentAbsoluteOffset);let a=new V(e.span.start,n);return t.push(new H(a,e,r)),i&&t.push(i),t}getDirectiveBoundTarget(){if(this.next===yt||this.peekKeywordAs()||this.peekKeywordLet())return null;let e=this.parsePipe(),{start:t,end:r}=e.span,n=this.input.substring(t,r);return new z(e,n,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();let t=this.expectTemplateBindingKey();this.consumeStatementTerminator();let r=new V(e.span.start,this.currentAbsoluteOffset);return new W(r,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;let e=this.currentAbsoluteOffset;this.advance();let t=this.expectTemplateBindingKey(),r=null;this.consumeOptionalOperator("=")&&(r=this.expectTemplateBindingKey()),this.consumeStatementTerminator();let n=new V(e,this.currentAbsoluteOffset);return new W(n,t,r)}consumeStatementTerminator(){this.consumeOptionalCharacter(Ne)||this.consumeOptionalCharacter(Se)}error(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.errors.push(new g(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null==e&&(e=this.index),e<this.tokens.length?"at column ".concat(this.tokens[e].index+1," in"):"at the end of the expression"}_reportErrorForPrivateIdentifier(e,t){let r="Private identifiers are not supported. Unexpected private identifier: ".concat(e);null!==t&&(r+=", ".concat(t)),this.error(r)}skip(){let e=this.next;for(;this.index<this.tokens.length&&!e.isCharacter(Ne)&&!e.isOperator("|")&&(this.rparensExpected<=0||!e.isCharacter(be))&&(this.rbracesExpected<=0||!e.isCharacter(tt))&&(this.rbracketsExpected<=0||!e.isCharacter(Je))&&!(this.context&Ft.Writable&&e.isOperator("="));)this.next.isError()&&this.errors.push(new g(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),e=this.next}},It=class{constructor(){this.errors=[]}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){}visitLiteralPrimitive(e,t){}visitPropertyRead(e,t){}visitPropertyWrite(e,t){}visitSafePropertyRead(e,t){}visitMethodCall(e,t){}visitSafeMethodCall(e,t){}visitFunctionCall(e,t){}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitUnary(e,t){}visitBinary(e,t){}visitPrefixNot(e,t){}visitNonNullAssert(e,t){}visitConditional(e,t){}visitPipe(e,t){this.errors.push("pipes")}visitKeyedRead(e,t){}visitKeyedWrite(e,t){}visitAll(e,t){return e.map((e=>e.visit(this,t)))}visitChain(e,t){}visitQuote(e,t){}visitSafeKeyedRead(e,t){}},Ot=class extends G{constructor(){super(...arguments),this.errors=[]}visitPipe(){this.errors.push("pipes")}}}}),Mt=s({"node_modules/angular-estree-parser/lib/utils.js"(e){l(),Object.defineProperty(e,"__esModule",{value:!0}),e.getLast=e.toLowerCamelCase=e.findBackChar=e.findFrontChar=e.fitSpans=e.getNgType=e.parseNgInterpolation=e.parseNgTemplateBindings=e.parseNgAction=e.parseNgSimpleBinding=e.parseNgBinding=e.NG_PARSE_TEMPLATE_BINDINGS_FAKE_PREFIX=void 0;var t=(re(),u(m)),r=(Et(),u(at)),n=(Lt(),u(Tt)),i="angular-estree-parser";e.NG_PARSE_TEMPLATE_BINDINGS_FAKE_PREFIX="NgEstreeParser";var a=[i,0];function o(){return new n.Parser(new r.Lexer)}function s(e,t){let r=o(),{astInput:n,comments:i}=d(e,r),{ast:a,errors:s}=t(n,r);return p(s),{ast:a,comments:i}}function c(e,t){if(e&&"object"==typeof e){if(Array.isArray(e))return e.forEach((e=>c(e,t)));for(let r of Object.keys(e)){let n=e[r];"span"===r?t(n):c(n,t)}}}function p(e){if(0!==e.length){let[{message:t}]=e;throw new SyntaxError(t.replace(/^Parser Error: | at column \d+ in [^]*$/g,""))}}function d(e,t){let r=t._commentStart(e);return null===r?{astInput:e,comments:[]}:{astInput:e.slice(0,r),comments:[{type:"Comment",value:e.slice(r+2),span:{start:r,end:e.length}}]}}function f(e,t){let{start:r,end:n}=e,i=r,a=n;for(;a!==i&&/\s/.test(t[a-1]);)a--;for(;i!==a&&/\s/.test(t[i]);)i++;return{start:i,end:a}}function _(e,t){let{start:r,end:n}=e,i=r,a=n;for(;a!==t.length&&/\s/.test(t[a]);)a++;for(;0!==i&&/\s/.test(t[i-1]);)i--;return{start:i,end:a}}function g(e,t){return"("===t[e.start-1]&&")"===t[e.end]?{start:e.start-1,end:e.end+1}:e}e.parseNgBinding=function(e){return s(e,((e,t)=>t.parseBinding(e,...a)))},e.parseNgSimpleBinding=function(e){return s(e,((e,t)=>t.parseSimpleBinding(e,...a)))},e.parseNgAction=function(e){return s(e,((e,t)=>t.parseAction(e,...a)))},e.parseNgTemplateBindings=function(t){let r=o(),{templateBindings:n,errors:a}=r.parseTemplateBindings(e.NG_PARSE_TEMPLATE_BINDINGS_FAKE_PREFIX,t,i,0,0);return p(a),n},e.parseNgInterpolation=function(e){let t=o(),{astInput:r,comments:n}=d(e,t),i="{{",{ast:s,errors:u}=t.parseInterpolation(i+r+"}}",...a);p(u);let l=s.expressions[0],f=new Set;return c(l,(e=>{f.has(e)||(e.start-=i.length,e.end-=i.length,f.add(e))})),{ast:l,comments:n}},e.getNgType=function(e){return t.Unary&&e instanceof t.Unary?"Unary":e instanceof t.Binary?"Binary":e instanceof t.BindingPipe?"BindingPipe":e instanceof t.Chain?"Chain":e instanceof t.Conditional?"Conditional":e instanceof t.EmptyExpr?"EmptyExpr":e instanceof t.FunctionCall?"FunctionCall":e instanceof t.ImplicitReceiver?"ImplicitReceiver":e instanceof t.KeyedRead?"KeyedRead":e instanceof t.KeyedWrite?"KeyedWrite":e instanceof t.LiteralArray?"LiteralArray":e instanceof t.LiteralMap?"LiteralMap":e instanceof t.LiteralPrimitive?"LiteralPrimitive":e instanceof t.MethodCall?"MethodCall":e instanceof t.NonNullAssert?"NonNullAssert":e instanceof t.PrefixNot?"PrefixNot":e instanceof t.PropertyRead?"PropertyRead":e instanceof t.PropertyWrite?"PropertyWrite":e instanceof t.Quote?"Quote":e instanceof t.SafeMethodCall?"SafeMethodCall":e instanceof t.SafePropertyRead?"SafePropertyRead":e.type},e.fitSpans=function(e,t,r){let n=0,i={start:e.start,end:e.end};for(;;){let e=_(i,t),r=g(e,t);if(e.start===r.start&&e.end===r.end)break;i.start=r.start,i.end=r.end,n++}return{hasParens:0!==(r?n-1:n),outerSpan:f(r?{start:i.start+1,end:i.end-1}:i,t),innerSpan:f(e,t)}},e.findFrontChar=function(e,t,r){let n=t;for(;!e.test(r[n]);)if(--n<0)throw new Error("Cannot find front char ".concat(e," from index ").concat(t," in ").concat(JSON.stringify(r)));return n},e.findBackChar=function(e,t,r){let n=t;for(;!e.test(r[n]);)if(++n>=r.length)throw new Error("Cannot find back char ".concat(e," from index ").concat(t," in ").concat(JSON.stringify(r)));return n},e.toLowerCamelCase=function(e){return e.slice(0,1).toLowerCase()+e.slice(1)},e.getLast=function(e){return 0===e.length?void 0:e[e.length-1]}}}),Rt=s({"node_modules/angular-estree-parser/lib/transform.js"(e){l(),Object.defineProperty(e,"__esModule",{value:!0}),e.transformSpan=e.transform=void 0;var t=Mt();function r(e,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])){let{start:t,end:n}=e;return{start:t,end:n,loc:{start:r.locator.locationForIndex(t),end:r.locator.locationForIndex(n)}}}let{outerSpan:i,innerSpan:a,hasParens:o}=t.fitSpans(e,r.text,n);return Object.assign({start:a.start,end:a.end,loc:{start:r.locator.locationForIndex(a.start),end:r.locator.locationForIndex(a.end)}},o&&{extra:{parenthesized:!0,parenStart:i.start,parenEnd:i.end}})}e.transform=function(n,i){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=t.getNgType(n);switch(o){case"Unary":{let{operator:e,expr:t}=n;return u("UnaryExpression",{prefix:!0,argument:s(t),operator:e},n.span,{hasParentParens:a})}case"Binary":{let{left:e,operation:t,right:r}=n,i=r.span.start===r.span.end,o=e.span.start===e.span.end;if(i||o){let t=e.span.start===e.span.end?s(r):s(e);return u("UnaryExpression",{prefix:!0,argument:t,operator:i?"+":"-"},{start:n.span.start,end:h(t)},{hasParentParens:a})}let c=s(e),l=s(r);return u("&&"===t||"||"===t?"LogicalExpression":"BinaryExpression",{left:c,right:l,operator:t},{start:g(c),end:h(l)},{hasParentParens:a})}case"BindingPipe":{let{exp:e,name:r,args:i}=n,o=s(e),c=d(/\S/,d(/\|/,h(o))+1),l=u("Identifier",{name:r},{start:c,end:c+r.length}),p=i.map(s);return u("NGPipeExpression",{left:o,right:l,arguments:p},{start:g(o),end:h(0===p.length?l:t.getLast(p))},{hasParentParens:a})}case"Chain":{let{expressions:e}=n;return u("NGChainedExpression",{expressions:e.map(s)},n.span,{hasParentParens:a})}case"Comment":{let{value:e}=n;return u("CommentLine",{value:e},n.span,{processSpan:!1})}case"Conditional":{let{condition:e,trueExp:t,falseExp:r}=n,i=s(e),o=s(t),c=s(r);return u("ConditionalExpression",{test:i,consequent:o,alternate:c},{start:g(i),end:h(c)},{hasParentParens:a})}case"EmptyExpr":return u("NGEmptyExpression",{},n.span,{hasParentParens:a});case"FunctionCall":{let{target:e,args:t}=n,r=1===t.length?[c(t[0])]:t.map(s),i=s(e);return u("CallExpression",{callee:i,arguments:r},{start:g(i),end:n.span.end},{hasParentParens:a})}case"ImplicitReceiver":return u("ThisExpression",{},n.span,{hasParentParens:a});case"KeyedRead":{let{key:e}=n;return l(Object.prototype.hasOwnProperty.call(n,"receiver")?n.receiver:n.obj,s(e),{computed:!0,optional:!1},{end:n.span.end,hasParentParens:a})}case"LiteralArray":{let{expressions:e}=n;return u("ArrayExpression",{elements:e.map(s)},n.span,{hasParentParens:a})}case"LiteralMap":{let{keys:e,values:t}=n,r=t.map((e=>s(e))),i=e.map(((e,t)=>{let{key:i,quoted:a}=e,o=r[t],s={start:d(/\S/,0===t?n.span.start+1:d(/,/,h(r[t-1]))+1),end:p(/\S/,p(/:/,g(o)-1)-1)+1},c=a?u("StringLiteral",{value:i},s):u("Identifier",{name:i},s);return u("ObjectProperty",{key:c,value:o,method:!1,shorthand:!1,computed:!1},{start:g(c),end:h(o)})}));return u("ObjectExpression",{properties:i},n.span,{hasParentParens:a})}case"LiteralPrimitive":{let{value:e}=n;switch(typeof e){case"boolean":return u("BooleanLiteral",{value:e},n.span,{hasParentParens:a});case"number":return u("NumericLiteral",{value:e},n.span,{hasParentParens:a});case"object":return u("NullLiteral",{},n.span,{hasParentParens:a});case"string":return u("StringLiteral",{value:e},n.span,{hasParentParens:a});case"undefined":return u("Identifier",{name:"undefined"},n.span,{hasParentParens:a});default:throw new Error("Unexpected LiteralPrimitive value type ".concat(typeof e))}}case"MethodCall":case"SafeMethodCall":{let e="SafeMethodCall"===o,{receiver:t,name:r,args:i}=n,d=1===i.length?[c(i[0])]:i.map(s),f=p(/\S/,p(/\(/,(0===d.length?p(/\)/,n.span.end-1):g(d[0]))-1)-1)+1,m=l(t,u("Identifier",{name:r},{start:f-r.length,end:f}),{computed:!1,optional:e}),h=_(m);return u(e||h?"OptionalCallExpression":"CallExpression",{callee:m,arguments:d},{start:g(m),end:n.span.end},{hasParentParens:a})}case"NonNullAssert":{let{expression:e}=n,t=s(e);return u("TSNonNullExpression",{expression:t},{start:g(t),end:n.span.end},{hasParentParens:a})}case"PrefixNot":{let{expression:e}=n,t=s(e);return u("UnaryExpression",{prefix:!0,operator:"!",argument:t},{start:n.span.start,end:h(t)},{hasParentParens:a})}case"PropertyRead":case"SafePropertyRead":{let e="SafePropertyRead"===o,{receiver:t,name:r}=n,i=p(/\S/,n.span.end-1)+1;return l(t,u("Identifier",{name:r},{start:i-r.length,end:i},f(t)?{hasParentParens:a}:{}),{computed:!1,optional:e},{hasParentParens:a})}case"KeyedWrite":{let{key:e,value:t}=n,r=Object.prototype.hasOwnProperty.call(n,"receiver")?n.receiver:n.obj,i=s(e),o=s(t),c=l(r,i,{computed:!0,optional:!1},{end:d(/\]/,h(i))+1});return u("AssignmentExpression",{left:c,operator:"=",right:o},{start:g(c),end:h(o)},{hasParentParens:a})}case"PropertyWrite":{let{receiver:e,name:t,value:r}=n,i=s(r),o=p(/\S/,p(/=/,g(i)-1)-1)+1,c=l(e,u("Identifier",{name:t},{start:o-t.length,end:o}),{computed:!1,optional:!1});return u("AssignmentExpression",{left:c,operator:"=",right:i},{start:g(c),end:h(i)},{hasParentParens:a})}case"Quote":{let{prefix:e,uninterpretedExpression:t}=n;return u("NGQuotedExpression",{prefix:e,value:t},n.span,{hasParentParens:a})}default:throw new Error("Unexpected node ".concat(o))}function s(t){return e.transform(t,i)}function c(t){return e.transform(t,i,!0)}function u(e,t,n){let{processSpan:a=!0,hasParentParens:o=!1}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=Object.assign(Object.assign({type:e},r(n,i,a,o)),t);switch(e){case"Identifier":{let e=s;e.loc.identifierName=e.name;break}case"NumericLiteral":{let e=s;e.extra=Object.assign(Object.assign({},e.extra),{raw:i.text.slice(e.start,e.end),rawValue:e.value});break}case"StringLiteral":{let e=s;e.extra=Object.assign(Object.assign({},e.extra),{raw:i.text.slice(e.start,e.end),rawValue:e.value});break}}return s}function l(e,t,r){let{end:n=h(t),hasParentParens:i=!1}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(f(e))return t;let a=s(e),o=_(a);return u(r.optional||o?"OptionalMemberExpression":"MemberExpression",Object.assign({object:a,property:t,computed:r.computed},r.optional?{optional:!0}:o?{optional:!1}:null),{start:g(a),end:n},{hasParentParens:i})}function p(e,r){return t.findFrontChar(e,r,i.text)}function d(e,r){return t.findBackChar(e,r,i.text)}function f(e){return e.span.start>=e.span.end||/^\s+$/.test(i.text.slice(e.span.start,e.span.end))}function _(e){return("OptionalCallExpression"===e.type||"OptionalMemberExpression"===e.type)&&!m(e)}function m(e){return e.extra&&e.extra.parenthesized}function g(e){return m(e)?e.extra.parenStart:e.start}function h(e){return m(e)?e.extra.parenEnd:e.end}},e.transformSpan=r}}),Bt=s({"node_modules/angular-estree-parser/lib/transform-microsyntax.js"(e){l(),Object.defineProperty(e,"__esModule",{value:!0}),e.transformTemplateBindings=void 0;var t=(re(),u(m)),r=Rt(),n=Mt();e.transformTemplateBindings=function(e,i){e.forEach((function(e){g(e.key.span),m(e)&&e.value&&g(e.value.span)}));let[a]=e,{key:o}=a,s=0===i.text.slice(a.sourceSpan.start,a.sourceSpan.end).trim().length?e.slice(1):e,c=[],u=null;for(let e=0;e<s.length;e++){let t=s[e];if(u&&_(u)&&m(t)&&t.value&&t.value.source===u.key.source){let e=d("NGMicrosyntaxKey",{name:t.key.source},t.key.span),n=(e,t)=>Object.assign(Object.assign({},e),r.transformSpan({start:e.start,end:t},i)),a=t=>Object.assign(Object.assign({},n(t,e.end)),{alias:e}),o=c.pop();if("NGMicrosyntaxExpression"===o.type)c.push(a(o));else{if("NGMicrosyntaxKeyedExpression"!==o.type)throw new Error("Unexpected type ".concat(o.type));{let e=a(o.expression);c.push(n(Object.assign(Object.assign({},o),{expression:e}),e.end))}}}else c.push(l(t,e));u=t}return d("NGMicrosyntax",{body:c},0===c.length?e[0].sourceSpan:{start:c[0].start,end:c[c.length-1].end});function l(e,t){if(_(e)){let{key:r,value:n}=e;return n?0===t?d("NGMicrosyntaxExpression",{expression:p(n.ast),alias:null},n.sourceSpan):d("NGMicrosyntaxKeyedExpression",{key:d("NGMicrosyntaxKey",{name:f(r.source)},r.span),expression:d("NGMicrosyntaxExpression",{expression:p(n.ast),alias:null},n.sourceSpan)},{start:r.span.start,end:n.sourceSpan.end}):d("NGMicrosyntaxKey",{name:f(r.source)},r.span)}{let{key:t,sourceSpan:r}=e;if(/^let\s$/.test(i.text.slice(r.start,r.start+4))){let{value:n}=e;return d("NGMicrosyntaxLet",{key:d("NGMicrosyntaxKey",{name:t.source},t.span),value:n?d("NGMicrosyntaxKey",{name:n.source},n.span):null},{start:r.start,end:n?n.span.end:t.span.end})}{let r=function(e){if(!e.value||e.value.source!==n.NG_PARSE_TEMPLATE_BINDINGS_FAKE_PREFIX)return e.value;let t=n.findBackChar(/\S/,e.sourceSpan.start,i.text);return{source:"$implicit",span:{start:t,end:t}}}(e);return d("NGMicrosyntaxAs",{key:d("NGMicrosyntaxKey",{name:r.source},r.span),alias:d("NGMicrosyntaxKey",{name:t.source},t.span)},{start:r.span.start,end:t.span.end})}}}function p(e){return r.transform(e,i)}function d(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return Object.assign(Object.assign({type:e},r.transformSpan(n,i,a)),t)}function f(e){return n.toLowerCamelCase(e.slice(o.source.length))}function _(e){return e instanceof t.ExpressionBinding}function m(e){return e instanceof t.VariableBinding}function g(e){if('"'!==i.text[e.start]&&"'"!==i.text[e.start])return;let t=i.text[e.start],r=!1;for(let n=e.start+1;n<i.text.length;n++)switch(i.text[n]){case t:if(!r)return void(e.end=n+1);default:r=!1;break;case"\\":r=!r}}}}}),jt=s({"node_modules/angular-estree-parser/lib/index.js"(e){l(),Object.defineProperty(e,"__esModule",{value:!0}),e.parseTemplateBindings=e.parseAction=e.parseInterpolation=e.parseSimpleBinding=e.parseBinding=void 0;var t=_(),r=Rt(),n=Bt(),i=Mt();function a(e,n){let{ast:i,comments:a}=n(e),o=new t.Context(e),s=e=>r.transform(e,o),c=s(i);return c.comments=a.map(s),c}e.parseBinding=function(e){return a(e,i.parseNgBinding)},e.parseSimpleBinding=function(e){return a(e,i.parseNgSimpleBinding)},e.parseInterpolation=function(e){return a(e,i.parseNgInterpolation)},e.parseAction=function(e){return a(e,i.parseNgAction)},e.parseTemplateBindings=function(e){return n.transformTemplateBindings(i.parseNgTemplateBindings(e),new t.Context(e))}}});l();var{locStart:Kt,locEnd:Jt}=d();function Ut(e){return{astFormat:"estree",parse:(t,r,n)=>{let i=jt(),a=e(t,i);return{type:"NGRoot",node:"__ng_action"===n.parser&&"NGChainedExpression"!==a.type?Object.assign(Object.assign({},a),{},{type:"NGChainedExpression",expressions:[a]}):a}},locStart:Kt,locEnd:Jt}}t.exports={parsers:{__ng_action:Ut(((e,t)=>t.parseAction(e))),__ng_binding:Ut(((e,t)=>t.parseBinding(e))),__ng_interpolation:Ut(((e,t)=>t.parseInterpolation(e))),__ng_directive:Ut(((e,t)=>t.parseTemplateBindings(e)))}}},()=>(t||e((t={exports:{}}).exports,t),t.exports));return r()}()},182:(e,t,r)=>{e.exports=function(){"use strict";var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),n=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),i=e(((e,t)=>{var r=n();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),a=e(((e,t)=>{var r=n();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),o=e(((e,t)=>{var r=a(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),s=e((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),c=e(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),u=e(((e,t)=>{var r=a(),n=Function.prototype,i=n.bind,o=n.call,s=r&&i.bind(o,o);t.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return o.apply(e,arguments)}}})),l=e(((e,t)=>{var r=u(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),p=e(((e,r)=>{var i=t(),a=u(),o=n(),s=l(),c=i.Object,p=a("".split);r.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?p(e,""):c(e)}:c})),d=e(((e,r)=>{var n=t().TypeError;r.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}})),f=e(((e,t)=>{var r=p(),n=d();t.exports=function(e){return r(n(e))}})),_=e(((e,t)=>{t.exports=function(e){return"function"==typeof e}})),m=e(((e,t)=>{var r=_();t.exports=function(e){return"object"==typeof e?null!==e:r(e)}})),g=e(((e,r)=>{var n=t(),i=_(),a=function(e){return i(e)?e:void 0};r.exports=function(e,t){return arguments.length<2?a(n[e]):n[e]&&n[e][t]}})),h=e(((e,t)=>{var r=u();t.exports=r({}.isPrototypeOf)})),y=e(((e,t)=>{var r=g();t.exports=r("navigator","userAgent")||""})),v=e(((e,r)=>{var n,i,a=t(),o=y(),s=a.process,c=a.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(i=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),r.exports=i})),D=e(((e,t)=>{var r=v(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),b=e(((e,t)=>{var r=D();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),x=e(((e,r)=>{var n=t(),i=g(),a=_(),o=h(),s=b(),c=n.Object;r.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return a(t)&&o(t.prototype,c(e))}})),E=e(((e,r)=>{var n=t().String;r.exports=function(e){try{return n(e)}catch{return"Object"}}})),S=e(((e,r)=>{var n=t(),i=_(),a=E(),o=n.TypeError;r.exports=function(e){if(i(e))return e;throw o(a(e)+" is not a function")}})),C=e(((e,t)=>{var r=S();t.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}})),T=e(((e,r)=>{var n=t(),i=o(),a=_(),s=m(),c=n.TypeError;r.exports=function(e,t){var r,n;if("string"===t&&a(r=e.toString)&&!s(n=i(r,e))||a(r=e.valueOf)&&!s(n=i(r,e))||"string"!==t&&a(r=e.toString)&&!s(n=i(r,e)))return n;throw c("Can't convert object to primitive value")}})),k=e(((e,t)=>{t.exports=!1})),A=e(((e,r)=>{var n=t(),i=Object.defineProperty;r.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),N=e(((e,r)=>{var n=t(),i=A(),a="__core-js_shared__",o=n[a]||i(a,{});r.exports=o})),P=e(((e,t)=>{var r=k(),n=N();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),F=e(((e,r)=>{var n=t(),i=d(),a=n.Object;r.exports=function(e){return a(i(e))}})),w=e(((e,t)=>{var r=u(),n=F(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),I=e(((e,t)=>{var r=u(),n=0,i=Math.random(),a=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++n+i,36)}})),O=e(((e,r)=>{var n=t(),i=P(),a=w(),o=I(),s=D(),c=b(),u=i("wks"),l=n.Symbol,p=l&&l.for,d=c?l:l&&l.withoutSetter||o;r.exports=function(e){if(!a(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&a(l,e)?u[e]=l[e]:u[e]=c&&p?p(t):d(t)}return u[e]}})),L=e(((e,r)=>{var n=t(),i=o(),a=m(),s=x(),c=C(),u=T(),l=O(),p=n.TypeError,d=l("toPrimitive");r.exports=function(e,t){if(!a(e)||s(e))return e;var r,n=c(e,d);if(n){if(void 0===t&&(t="default"),r=i(n,e,t),!a(r)||s(r))return r;throw p("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}})),M=e(((e,t)=>{var r=L(),n=x();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),R=e(((e,r)=>{var n=t(),i=m(),a=n.document,o=i(a)&&i(a.createElement);r.exports=function(e){return o?a.createElement(e):{}}})),B=e(((e,t)=>{var r=i(),a=n(),o=R();t.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))})),j=e((e=>{var t=i(),r=o(),n=s(),a=c(),u=f(),l=M(),p=w(),d=B(),_=Object.getOwnPropertyDescriptor;e.f=t?_:function(e,t){if(e=u(e),t=l(t),d)try{return _(e,t)}catch{}if(p(e,t))return a(!r(n.f,e,t),e[t])}})),K=e(((e,t)=>{var r=i(),a=n();t.exports=r&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),J=e(((e,r)=>{var n=t(),i=m(),a=n.String,o=n.TypeError;r.exports=function(e){if(i(e))return e;throw o(a(e)+" is not an object")}})),U=e((e=>{var r=t(),n=i(),a=B(),o=K(),s=J(),c=M(),u=r.TypeError,l=Object.defineProperty,p=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",_="writable";e.f=n?o?function(e,t,r){if(s(e),t=c(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&_ in r&&!r[_]){var n=p(e,t);n&&n[_]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(s(e),t=c(t),s(r),a)try{return l(e,t,r)}catch{}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),q=e(((e,t)=>{var r=i(),n=U(),a=c();t.exports=r?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}})),V=e(((e,t)=>{var r=u(),n=_(),i=N(),a=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),z=e(((e,r)=>{var n=t(),i=_(),a=V(),o=n.WeakMap;r.exports=i(o)&&/native code/.test(a(o))})),W=e(((e,t)=>{var r=P(),n=I(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),H=e(((e,t)=>{t.exports={}})),G=e(((e,r)=>{var n,i,a,o,s,c,l,p,d=z(),f=t(),_=u(),g=m(),h=q(),y=w(),v=N(),D=W(),b=H(),x="Object already initialized",E=f.TypeError,S=f.WeakMap;d||v.state?(o=v.state||(v.state=new S),s=_(o.get),c=_(o.has),l=_(o.set),n=function(e,t){if(c(o,e))throw new E(x);return t.facade=e,l(o,e,t),t},i=function(e){return s(o,e)||{}},a=function(e){return c(o,e)}):(b[p=D("state")]=!0,n=function(e,t){if(y(e,p))throw new E(x);return t.facade=e,h(e,p,t),t},i=function(e){return y(e,p)?e[p]:{}},a=function(e){return y(e,p)}),r.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!g(t)||(r=i(t)).type!==e)throw E("Incompatible receiver, "+e+" required");return r}}}})),$=e(((e,t)=>{var r=i(),n=w(),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,s=n(a,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&o(a,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}})),Y=e(((e,r)=>{var n=t(),i=_(),a=w(),o=q(),s=A(),c=V(),u=G(),l=$().CONFIGURABLE,p=u.get,d=u.enforce,f=String(String).split("String");(r.exports=function(e,t,r,c){var u,p=!!c&&!!c.unsafe,_=!!c&&!!c.enumerable,m=!!c&&!!c.noTargetGet,g=c&&void 0!==c.name?c.name:t;i(r)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(r,"name")||l&&r.name!==g)&&o(r,"name",g),(u=d(r)).source||(u.source=f.join("string"==typeof g?g:""))),e!==n?(p?!m&&e[t]&&(_=!0):delete e[t],_?e[t]=r:o(e,t,r)):_?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return i(this)&&p(this).source||c(this)}))})),X=e(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?n:r)(t)}})),Q=e(((e,t)=>{var r=X(),n=Math.max,i=Math.min;t.exports=function(e,t){var a=r(e);return a<0?n(a+t,0):i(a,t)}})),Z=e(((e,t)=>{var r=X(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),ee=e(((e,t)=>{var r=Z();t.exports=function(e){return r(e.length)}})),te=e(((e,t)=>{var r=f(),n=Q(),i=ee(),a=function(e){return function(t,a,o){var s,c=r(t),u=i(c),l=n(o,u);if(e&&a!=a){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}})),re=e(((e,t)=>{var r=u(),n=w(),i=f(),a=te().indexOf,o=H(),s=r([].push);t.exports=function(e,t){var r,c=i(e),u=0,l=[];for(r in c)!n(o,r)&&n(c,r)&&s(l,r);for(;t.length>u;)n(c,r=t[u++])&&(~a(l,r)||s(l,r));return l}})),ne=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ie=e((e=>{var t=re(),r=ne().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),ae=e((e=>{e.f=Object.getOwnPropertySymbols})),oe=e(((e,t)=>{var r=g(),n=u(),i=ie(),a=ae(),o=J(),s=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=a.f;return r?s(t,r(e)):t}})),se=e(((e,t)=>{var r=w(),n=oe(),i=j(),a=U();t.exports=function(e,t,o){for(var s=n(t),c=a.f,u=i.f,l=0;l<s.length;l++){var p=s[l];!r(e,p)&&(!o||!r(o,p))&&c(e,p,u(t,p))}}})),ce=e(((e,t)=>{var r=n(),i=_(),a=/#|\.prototype\./,o=function(e,t){var n=c[s(e)];return n==l||n!=u&&(i(t)?r(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o})),ue=e(((e,r)=>{var n=t(),i=j().f,a=q(),o=Y(),s=A(),c=se(),u=ce();r.exports=function(e,t){var r,l,p,d,f,_=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[_]||s(_,{}):(n[_]||{}).prototype)for(l in t){if(d=t[l],p=e.noTargetGet?(f=i(r,l))&&f.value:r[l],!u(m?l:_+(g?".":"#")+l,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&a(d,"sham",!0),o(r,l,d,e)}}})),le=e((()=>{ue()({global:!0},{globalThis:t()})})),pe=e((()=>{le()})),de=e(((e,t)=>{var r=l();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),fe=e(((e,t)=>{var r=u(),n=S(),i=a(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}})),_e=e(((e,r)=>{var n=t(),i=de(),a=ee(),o=fe(),s=n.TypeError,c=function(e,t,r,n,u,l,p,d){for(var f,_,m=u,g=0,h=!!p&&o(p,d);g<n;){if(g in r){if(f=h?h(r[g],g,t):r[g],l>0&&i(f))_=a(f),m=c(e,t,f,_,m,l-1)-1;else{if(m>=9007199254740991)throw s("Exceed the acceptable array length");e[m]=f}m++}g++}return m};r.exports=c})),me=e(((e,t)=>{var r={};r[O()("toStringTag")]="z",t.exports="[object z]"===String(r)})),ge=e(((e,r)=>{var n=t(),i=me(),a=_(),o=l(),s=O()("toStringTag"),c=n.Object,u="Arguments"==o(function(){return arguments}());r.exports=i?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch{}}(t=c(e),s))?r:u?o(t):"Object"==(n=o(t))&&a(t.callee)?"Arguments":n}})),he=e(((e,t)=>{var r=u(),i=n(),a=_(),o=ge(),s=g(),c=V(),l=function(){},p=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,m=r(f.exec),h=!f.exec(l),y=function(e){if(!a(e))return!1;try{return d(l,p,e),!0}catch{return!1}},v=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!m(f,c(e))}catch{return!0}};v.sham=!0,t.exports=!d||i((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?v:y})),ye=e(((e,r)=>{var n=t(),i=de(),a=he(),o=m(),s=O()("species"),c=n.Array;r.exports=function(e){var t;return i(e)&&(t=e.constructor,(a(t)&&(t===c||i(t.prototype))||o(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?c:t}})),ve=e(((e,t)=>{var r=ye();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),De=e((()=>{var e=ue(),t=_e(),r=S(),n=F(),i=ee(),a=ve();e({target:"Array",proto:!0},{flatMap:function(e){var o,s=n(this),c=i(s);return r(e),(o=a(s,0)).length=t(o,s,s,c,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),be=e(((e,t)=>{var r,n,i,a,o;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}pe(),De();var c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,d=(e,t)=>function(){return e&&(t=(0,e[l(e)[0]])(e=0)),t},f=(e,t)=>function(){return t||(0,e[l(e)[0]])((t={exports:{}}).exports,t),t.exports},_=e=>((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))!p.call(e,i)&&i!==r&&c(e,i,{get:()=>t[i],enumerable:!(n=u(t,i))||n.enumerable});return e})(c({},"__esModule",{value:!0}),e),m=d({"<define:process>"(){}}),g=f({"src/utils/try-combinations.js"(e,t){m(),t.exports=function(){let e;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(let[t,n]of r.entries())try{return{result:n()}}catch(r){0===t&&(e=r)}return{error:e}}}}),h=f({"src/language-js/utils/get-shebang.js"(e,t){m(),t.exports=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}}}),y=f({"src/utils/text/skip-inline-comment.js"(e,t){m(),t.exports=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}}}),v=f({"src/utils/text/skip-newline.js"(e,t){m(),t.exports=function(e,t,r){let n=r&&r.backwards;if(!1===t)return!1;let i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}}}),D=f({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:a}=t,o=r;for(;o>=0&&o<a;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===a)&&o}}m();var n=r(/\s/),i=r(" \t"),a=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:a,skipEverythingButNewLine:o}}}),b=f({"src/utils/text/skip-trailing-comment.js"(e,t){m();var{skipEverythingButNewLine:r}=D();t.exports=function(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?r(e,t):t)}}}),x=f({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){m();var r=y(),n=v(),i=b(),{skipSpaces:a}=D();t.exports=function(e,t){let o=null,s=t;for(;s!==o;)o=s,s=a(e,s),s=r(e,s),s=i(e,s),s=n(e,s);return s}}}),E={};function S(){if(typeof B>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])B="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");B="LE"}}return B}function C(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function T(){return[]}function k(){return 0}function A(){return Number.MAX_VALUE}function N(){return Number.MAX_VALUE}function P(){return[]}function F(){return"Browser"}function w(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function I(){}function O(){}function L(){return"javascript"}function M(){return"browser"}function R(){return"/tmp"}((e,t)=>{for(var r in t)c(e,r,{get:t[r],enumerable:!0})})(E,{EOL:()=>K,arch:()=>L,cpus:()=>P,default:()=>J,endianness:()=>S,freemem:()=>A,getNetworkInterfaces:()=>O,hostname:()=>C,loadavg:()=>T,networkInterfaces:()=>I,platform:()=>M,release:()=>w,tmpDir:()=>R,tmpdir:()=>j,totalmem:()=>N,type:()=>F,uptime:()=>k});var B,j,K,J,U=d({"node-modules-polyfills:os"(){m(),J={EOL:K="\n",tmpdir:j=R,tmpDir:R,networkInterfaces:I,getNetworkInterfaces:O,release:w,type:F,cpus:P,totalmem:N,freemem:A,uptime:k,loadavg:T,hostname:C,endianness:S}}}),q=f({"node-modules-polyfills-commonjs:os"(e,t){m();var r=(U(),_(E));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),V=f({"node_modules/detect-newline/index.js"(e,t){m();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),z=f({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=q();return t=function(){return e},e}function r(){let e=function(e){return e&&e.__esModule?e:{default:e}}(V());return r=function(){return e},e}m(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(a);return t?t[0].trimLeft():""},e.parse=function(e){return d(e).pragmas},e.parseWithComments=d,e.print=function(e){let{comments:n="",pragmas:i={}}=e,a=(0,r().default)(n)||t().EOL,o=" *",s=Object.keys(i),c=s.map((e=>f(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>" * "+e+a)).join("");if(!n){if(0===s.length)return"";if(1===s.length&&!Array.isArray(i[s[0]])){let e=i[s[0]];return"".concat("/**"," ").concat(f(s[0],e)[0]).concat(" */")}}let u=n.split(a).map((e=>"".concat(o," ").concat(e))).join(a)+a;return"/**"+a+(n?u:"")+(n&&s.length?o+a:"")+c+" */"},e.strip=function(e){let t=e.match(a);return t&&t[0]?e.substring(t[0].length):e};var n=/\*\/$/,i=/^\/\*\*/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,s=/^(\r?\n)+/,c=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,u=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,l=/(\r?\n|^) *\* ?/g,p=[];function d(e){let a=(0,r().default)(e)||t().EOL;e=e.replace(i,"").replace(n,"").replace(l,"$1");let d="";for(;d!==e;)d=e,e=e.replace(c,"".concat(a,"$1 $2").concat(a));e=e.replace(s,"").trimRight();let f,_=Object.create(null),m=e.replace(u,"").replace(s,"").trimRight();for(;f=u.exec(e);){let e=f[2].replace(o,"");"string"==typeof _[f[1]]||Array.isArray(_[f[1]])?_[f[1]]=p.concat(_[f[1]],e):_[f[1]]=e}return{comments:m,pragmas:_}}function f(e,t){return p.concat(t).map((t=>"@".concat(e," ").concat(t).trim()))}}}),W=f({"src/common/end-of-line.js"(e,t){m(),t.exports={guessEndOfLine:function(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let r;switch(t){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."))}let n=e.match(r);return n?n.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}}}}),H=f({"src/language-js/pragma.js"(e,t){m();var{parseWithComments:r,strip:n,extract:i,print:a}=z(),{normalizeEndOfLine:o}=W(),s=h();function c(e){let t=s(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:a,comments:o}=r(n);return{shebang:t,text:e,pragmas:a,comments:o}}t.exports={hasPragma:function(e){let t=Object.keys(c(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:r,pragmas:i,comments:s}=c(e),u=n(r),l=a({pragmas:Object.assign({format:""},i),comments:s.trimStart()});return(t?"".concat(t,"\n"):"")+o(l)+(u.startsWith("\n")?"\n":"\n\n")+u}}}}),G=f({"src/utils/is-non-empty-array.js"(e,t){m(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),$=f({"src/language-js/loc.js"(e,t){m();var r=G();function n(e,t){let{ignoreDecorators:i}=t||{};if(!i){let t=e.declaration&&e.declaration.decorators||e.decorators;if(r(t))return n(t[0])}return e.range?e.range[0]:e.start}function i(e){return e.range?e.range[1]:e.end}function a(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:a,hasSameLoc:function(e,t){return a(e,t)&&function(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}(e,t)}}}}),Y=f({"src/language-js/parse/utils/create-parser.js"(e,t){m();var{hasPragma:r}=H(),{locStart:n,locEnd:i}=$();t.exports=function(e){return e="function"==typeof e?{parse:e}:e,Object.assign({astFormat:"estree",hasPragma:r,locStart:n,locEnd:i},e)}}}),X=f({"src/common/parser-create-error.js"(e,t){m(),t.exports=function(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}}}),Q=f({"src/language-js/parse/utils/create-babel-parse-error.js"(e,t){m();var r=X();t.exports=function(e){let{message:t,loc:n}=e;return r(t.replace(/ \(.*\)/,""),{start:{line:n?n.line:0,column:n?n.column+1:0}})}}}),Z=f({"src/language-js/utils/is-ts-keyword-type.js"(e,t){m(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),ee=f({"src/language-js/utils/is-block-comment.js"(e,t){m(),t.exports=function(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}}}),te=f({"src/language-js/utils/is-type-cast-comment.js"(e,t){m();var r=ee();t.exports=function(e){return r(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}}}),re=f({"src/utils/get-last.js"(e,t){m();t.exports=e=>e[e.length-1]}}),ne=f({"src/language-js/parse/postprocess/visit-node.js"(e,t){m(),t.exports=function e(t,r){if(Array.isArray(t)){for(let n=0;n<t.length;n++)t[n]=e(t[n],r);return t}if(t&&"object"==typeof t&&"string"==typeof t.type){let n=Object.keys(t);for(let i=0;i<n.length;i++)t[n[i]]=e(t[n[i]],r);return r(t)||t}return t}}}),ie=f({"src/language-js/parse/postprocess/typescript.js"(e,t){m();var r=X(),n=ne();function i(e,t){let{start:n,end:i}=e.loc;throw r(t,{start:{line:n.line,column:n.column+1},end:{line:i.line,column:i.column+1}})}t.exports={throwErrorForInvalidNodes:function(e,t){let{esTreeNodeToTSNodeMap:r,tsNodeToESTreeNodeMap:a}=t.tsParseResult;n(e,(e=>{let t=r.get(e);if(!t)return;let n=a.get(t);n===e&&(function(e,t,r){let n=e.decorators;if(!Array.isArray(n))return;let a=t.decorators;(!Array.isArray(a)||a.length!==n.length||n.some((e=>{let t=r.get(e);return!t||!a.includes(t)})))&&i(t,"Leading decorators must be attached to a class declaration")}(t,n,a),function(e,t){166!==e.kind||e.modifiers&&!e.modifiers.some((e=>126===e.kind))||e.initializer&&null===t.value&&i(t,"Abstract property cannot have an initializer")}(t,n))}))}}}}),ae=f({"src/language-js/parse/postprocess/index.js"(e,t){m();var{locStart:r,locEnd:n}=$(),i=Z(),a=te(),o=re(),s=ne(),{throwErrorForInvalidNodes:c}=ie();function u(e){switch(e.type){case"CallExpression":e.type="OptionalCallExpression",e.callee=u(e.callee);break;case"MemberExpression":e.type="OptionalMemberExpression",e.object=u(e.object);break;case"TSNonNullExpression":e.expression=u(e.expression)}return e}function l(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}function p(e){return l(e)?p({type:"LogicalExpression",operator:e.operator,left:p({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[r(e.left),n(e.right.left)]}),right:e.right.right,range:[r(e),n(e)]}):e}t.exports=function(e,t){if("typescript"===t.parser&&/@|abstract/.test(t.originalText)&&c(e,t),"typescript"!==t.parser&&"flow"!==t.parser&&"acorn"!==t.parser&&"espree"!==t.parser&&"meriyah"!==t.parser){let t=new Set;e=s(e,(e=>{e.leadingComments&&e.leadingComments.some(a)&&t.add(r(e))})),e=s(e,(e=>{if("ParenthesizedExpression"===e.type){let{expression:n}=e;if("TypeCastExpression"===n.type)return n.range=e.range,n;let i=r(e);if(!t.has(i))return n.extra=Object.assign(Object.assign({},n.extra),{},{parenthesized:!0}),n}}))}return s(e,(e=>{switch(e.type){case"ChainExpression":return u(e.expression);case"LogicalExpression":if(l(e))return p(e);break;case"VariableDeclaration":{let i=o(e.declarations);i&&i.init&&function(e,i){";"!==t.originalText[n(i)]&&(e.range=[r(e),n(i)])}(e,i);break}case"TSParenthesizedType":return i(e.typeAnnotation)||"TSThisType"===e.typeAnnotation.type||(e.typeAnnotation.range=[r(e),n(e)]),e.typeAnnotation;case"TSTypeParameter":if("string"==typeof e.name){let t=r(e);e.name={type:"Identifier",name:e.name,range:[t,t+e.name.length]}}break;case"SequenceExpression":{let t=o(e.expressions);e.range=[r(e),Math.min(n(t),n(e))];break}case"TopicReference":t.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:i}=e;if("meriyah"===t.parser&&i&&"Identifier"===i.type){let a=t.originalText.slice(r(i),n(i));(a.startsWith('"')||a.startsWith("'"))&&(e.exported=Object.assign(Object.assign({},e.exported),{},{type:"Literal",value:e.exported.name,raw:a}))}break}}}))}}}),oe=f({"node_modules/@babel/parser/lib/index.js"(e){function t(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}m(),Object.defineProperty(e,"__esModule",{value:!0});var c=class{constructor(e,t,r){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=r}},u=class{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}};function l(e,t){let{line:r,column:n,index:i}=e;return new c(r,n+t,i+t)}var p=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length-1;return{get(){return e.reduce(((e,t)=>e[t]),this)},set(r){e.reduce(((e,n,i)=>i===t?e[n]=r:e[n]),this)}}},f={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},_=e=>{let{type:t,prefix:r}=e;return"UpdateExpression"===t?f.UpdateExpression[String(r)]:f[t]},g=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),h=["toMessage"];function y(e){let{toMessage:r}=e,n=t(e,h);return function e(t){let{loc:i,details:a}=t;return((e,t,r)=>Object.keys(r).map((e=>[e,r[e]])).filter((e=>{let[,t]=e;return!!t})).map((e=>{let[t,r]=e;return[t,"function"==typeof r?{value:r,enumerable:!1}:"string"==typeof r.reflect?Object.assign({},r,d(r.reflect.split("."))):r]})).reduce(((e,t)=>{let[r,n]=t;return Object.defineProperty(e,r,Object.assign({configurable:!0},n))}),Object.assign(new e,t)))(SyntaxError,Object.assign({},n,{loc:i}),{clone(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.loc||{};return e({loc:new c("line"in r?r.line:this.loc.line,"column"in r?r.column:this.loc.column,"index"in r?r.index:this.loc.index),details:Object.assign({},this.details,t.details)})},details:{value:a,enumerable:!1},message:{get(){return"".concat(r(this.details)," (").concat(this.loc.line,":").concat(this.loc.column,")")},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in a&&{reflect:"details.missingPlugin",enumerable:!0}})}}function v(e,t){return Object.assign({toMessage:"string"==typeof e?()=>e:e},t)}function D(e,t){if(Array.isArray(e))return t=>D(t,e[0]);let r=e(v),n={};for(let e of Object.keys(r))n[e]=y(Object.assign({code:p.SyntaxError,reasonCode:e},t?{syntaxPlugin:t}:{},r[e]));return n}var b=Object.assign({},D((e=>({ImportMetaOutsideModule:e("import.meta may appear only with 'sourceType: \"module\"'",{code:p.SourceTypeModuleError}),ImportOutsideModule:e("'import' and 'export' may appear only with 'sourceType: \"module\"'",{code:p.SourceTypeModuleError})}))),D((e=>({AccessorIsGenerator:e((e=>{let{kind:t}=e;return"A ".concat(t,"ter cannot be a generator.")})),ArgumentsInClass:e("'arguments' is only allowed in functions and class methods."),AsyncFunctionInSingleStatementContext:e("Async functions can only be declared at the top level or inside a block."),AwaitBindingIdentifier:e("Can not use 'await' as identifier inside an async function."),AwaitBindingIdentifierInStaticBlock:e("Can not use 'await' as identifier inside a static block."),AwaitExpressionFormalParameter:e("'await' is not allowed in async function parameters."),AwaitNotInAsyncContext:e("'await' is only allowed within async functions and at the top levels of modules."),AwaitNotInAsyncFunction:e("'await' is only allowed within async functions."),BadGetterArity:e("A 'get' accesor must not have any formal parameters."),BadSetterArity:e("A 'set' accesor must have exactly one formal parameter."),BadSetterRestParameter:e("A 'set' accesor function argument must not be a rest parameter."),ConstructorClassField:e("Classes may not have a field named 'constructor'."),ConstructorClassPrivateField:e("Classes may not have a private field named '#constructor'."),ConstructorIsAccessor:e("Class constructor may not be an accessor."),ConstructorIsAsync:e("Constructor can't be an async function."),ConstructorIsGenerator:e("Constructor can't be a generator."),DeclarationMissingInitializer:e((e=>{let{kind:t}=e;return"Missing initializer in ".concat(t," declaration.")})),DecoratorBeforeExport:e("Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax."),DecoratorConstructor:e("Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?"),DecoratorExportClass:e("Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead."),DecoratorSemicolon:e("Decorators must not be followed by a semicolon."),DecoratorStaticBlock:e("Decorators can't be used with a static block."),DeletePrivateField:e("Deleting a private field is not allowed."),DestructureNamedImport:e("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),DuplicateConstructor:e("Duplicate constructor in the same class."),DuplicateDefaultExport:e("Only one default export allowed per module."),DuplicateExport:e((e=>{let{exportName:t}=e;return"`".concat(t,"` has already been exported. Exported identifiers must be unique.")})),DuplicateProto:e("Redefinition of __proto__ property."),DuplicateRegExpFlags:e("Duplicate regular expression flag."),ElementAfterRest:e("Rest element must be last element."),EscapedCharNotAnIdentifier:e("Invalid Unicode escape."),ExportBindingIsString:e((e=>{let{localName:t,exportName:r}=e;return"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '".concat(t,"' as '").concat(r,"' } from 'some-module'`?")})),ExportDefaultFromAsIdentifier:e("'from' is not allowed as an identifier after 'export default'."),ForInOfLoopInitializer:e((e=>{let{type:t}=e;return"'".concat("ForInStatement"===t?"for-in":"for-of","' loop variable declaration may not have an initializer.")})),ForOfAsync:e("The left-hand side of a for-of loop may not be 'async'."),ForOfLet:e("The left-hand side of a for-of loop may not start with 'let'."),GeneratorInSingleStatementContext:e("Generators can only be declared at the top level or inside a block."),IllegalBreakContinue:e((e=>{let{type:t}=e;return"Unsyntactic ".concat("BreakStatement"===t?"break":"continue",".")})),IllegalLanguageModeDirective:e("Illegal 'use strict' directive in function with non-simple parameter list."),IllegalReturn:e("'return' outside of function."),ImportBindingIsString:e((e=>{let{importName:t}=e;return'A string literal cannot be used as an imported binding.\n- Did you mean `import { "'.concat(t,'" as foo }`?')})),ImportCallArgumentTrailingComma:e("Trailing comma is disallowed inside import(...) arguments."),ImportCallArity:e((e=>{let{maxArgumentCount:t}=e;return"`import()` requires exactly ".concat(1===t?"one argument":"one or two arguments",".")})),ImportCallNotNewExpression:e("Cannot use new with import(...)."),ImportCallSpreadArgument:e("`...` is not allowed in `import()`."),IncompatibleRegExpUVFlags:e("The 'u' and 'v' regular expression flags cannot be enabled at the same time."),InvalidBigIntLiteral:e("Invalid BigIntLiteral."),InvalidCodePoint:e("Code point out of bounds."),InvalidCoverInitializedName:e("Invalid shorthand property initializer."),InvalidDecimal:e("Invalid decimal."),InvalidDigit:e((e=>{let{radix:t}=e;return"Expected number in radix ".concat(t,".")})),InvalidEscapeSequence:e("Bad character escape sequence."),InvalidEscapeSequenceTemplate:e("Invalid escape sequence in template."),InvalidEscapedReservedWord:e((e=>{let{reservedWord:t}=e;return"Escape sequence in keyword ".concat(t,".")})),InvalidIdentifier:e((e=>{let{identifierName:t}=e;return"Invalid identifier ".concat(t,".")})),InvalidLhs:e((e=>{let{ancestor:t}=e;return"Invalid left-hand side in ".concat(_(t),".")})),InvalidLhsBinding:e((e=>{let{ancestor:t}=e;return"Binding invalid left-hand side in ".concat(_(t),".")})),InvalidNumber:e("Invalid number."),InvalidOrMissingExponent:e("Floating-point numbers require a valid exponent after the 'e'."),InvalidOrUnexpectedToken:e((e=>{let{unexpected:t}=e;return"Unexpected character '".concat(t,"'.")})),InvalidParenthesizedAssignment:e("Invalid parenthesized assignment pattern."),InvalidPrivateFieldResolution:e((e=>{let{identifierName:t}=e;return"Private name #".concat(t," is not defined.")})),InvalidPropertyBindingPattern:e("Binding member expression."),InvalidRecordProperty:e("Only properties and spread elements are allowed in record definitions."),InvalidRestAssignmentPattern:e("Invalid rest operator's argument."),LabelRedeclaration:e((e=>{let{labelName:t}=e;return"Label '".concat(t,"' is already declared.")})),LetInLexicalBinding:e("'let' is not allowed to be used as a name in 'let' or 'const' declarations."),LineTerminatorBeforeArrow:e("No line break is allowed before '=>'."),MalformedRegExpFlags:e("Invalid regular expression flag."),MissingClassName:e("A class name is required."),MissingEqInAssignment:e("Only '=' operator can be used for specifying default value."),MissingSemicolon:e("Missing semicolon."),MissingPlugin:e((e=>{let{missingPlugin:t}=e;return"This experimental syntax requires enabling the parser plugin: ".concat(t.map((e=>JSON.stringify(e))).join(", "),".")})),MissingOneOfPlugins:e((e=>{let{missingPlugin:t}=e;return"This experimental syntax requires enabling one of the following parser plugin(s): ".concat(t.map((e=>JSON.stringify(e))).join(", "),".")})),MissingUnicodeEscape:e("Expecting Unicode escape sequence \\uXXXX."),MixingCoalesceWithLogical:e("Nullish coalescing operator(??) requires parens when mixing with logical operators."),ModuleAttributeDifferentFromType:e("The only accepted module attribute is `type`."),ModuleAttributeInvalidValue:e("Only string literals are allowed as module attribute values."),ModuleAttributesWithDuplicateKeys:e((e=>{let{key:t}=e;return'Duplicate key "'.concat(t,'" is not allowed in module attributes.')})),ModuleExportNameHasLoneSurrogate:e((e=>{let{surrogateCharCode:t}=e;return"An export name cannot include a lone surrogate, found '\\u".concat(t.toString(16),"'.")})),ModuleExportUndefined:e((e=>{let{localName:t}=e;return"Export '".concat(t,"' is not defined.")})),MultipleDefaultsInSwitch:e("Multiple default clauses."),NewlineAfterThrow:e("Illegal newline after throw."),NoCatchOrFinally:e("Missing catch or finally clause."),NumberIdentifier:e("Identifier directly after number."),NumericSeparatorInEscapeSequence:e("Numeric separators are not allowed inside unicode escape sequences or hex escape sequences."),ObsoleteAwaitStar:e("'await*' has been removed from the async functions proposal. Use Promise.all() instead."),OptionalChainingNoNew:e("Constructors in/after an Optional Chain are not allowed."),OptionalChainingNoTemplate:e("Tagged Template Literals are not allowed in optionalChain."),OverrideOnConstructor:e("'override' modifier cannot appear on a constructor declaration."),ParamDupe:e("Argument name clash."),PatternHasAccessor:e("Object pattern can't contain getter or setter."),PatternHasMethod:e("Object pattern can't contain methods."),PrivateInExpectedIn:e((e=>{let{identifierName:t}=e;return"Private names are only allowed in property accesses (`obj.#".concat(t,"`) or in `in` expressions (`#").concat(t," in obj`).")})),PrivateNameRedeclaration:e((e=>{let{identifierName:t}=e;return"Duplicate private name #".concat(t,".")})),RecordExpressionBarIncorrectEndSyntaxType:e("Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionBarIncorrectStartSyntaxType:e("Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionHashIncorrectStartSyntaxType:e("Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),RecordNoProto:e("'__proto__' is not allowed in Record expressions."),RestTrailingComma:e("Unexpected trailing comma after rest element."),SloppyFunction:e("In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement."),StaticPrototype:e("Classes may not have static property named prototype."),SuperNotAllowed:e("`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?"),SuperPrivateField:e("Private fields can't be accessed on super."),TrailingDecorator:e("Decorators must be attached to a class element."),TupleExpressionBarIncorrectEndSyntaxType:e("Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionBarIncorrectStartSyntaxType:e("Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionHashIncorrectStartSyntaxType:e("Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),UnexpectedArgumentPlaceholder:e("Unexpected argument placeholder."),UnexpectedAwaitAfterPipelineBody:e('Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.'),UnexpectedDigitAfterHash:e("Unexpected digit after hash token."),UnexpectedImportExport:e("'import' and 'export' may only appear at the top level."),UnexpectedKeyword:e((e=>{let{keyword:t}=e;return"Unexpected keyword '".concat(t,"'.")})),UnexpectedLeadingDecorator:e("Leading decorators must be attached to a class declaration."),UnexpectedLexicalDeclaration:e("Lexical declaration cannot appear in a single-statement context."),UnexpectedNewTarget:e("`new.target` can only be used in functions or class properties."),UnexpectedNumericSeparator:e("A numeric separator is only allowed between two digits."),UnexpectedPrivateField:e("Unexpected private name."),UnexpectedReservedWord:e((e=>{let{reservedWord:t}=e;return"Unexpected reserved word '".concat(t,"'.")})),UnexpectedSuper:e("'super' is only allowed in object methods and classes."),UnexpectedToken:e((e=>{let{expected:t,unexpected:r}=e;return"Unexpected token".concat(r?" '".concat(r,"'."):"").concat(t?', expected "'.concat(t,'"'):"")})),UnexpectedTokenUnaryExponentiation:e("Illegal expression. Wrap left hand side or entire exponentiation in parentheses."),UnsupportedBind:e("Binding should be performed on object property."),UnsupportedDecoratorExport:e("A decorated export must export a class declaration."),UnsupportedDefaultExport:e("Only expressions, functions or classes are allowed as the `default` export."),UnsupportedImport:e("`import` can only be used in `import()` or `import.meta`."),UnsupportedMetaProperty:e((e=>{let{target:t,onlyValidPropertyName:r}=e;return"The only valid meta property for ".concat(t," is ").concat(t,".").concat(r,".")})),UnsupportedParameterDecorator:e("Decorators cannot be used to decorate parameters."),UnsupportedPropertyDecorator:e("Decorators cannot be used to decorate object literal properties."),UnsupportedSuper:e("'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])."),UnterminatedComment:e("Unterminated comment."),UnterminatedRegExp:e("Unterminated regular expression."),UnterminatedString:e("Unterminated string constant."),UnterminatedTemplate:e("Unterminated template."),VarRedeclaration:e((e=>{let{identifierName:t}=e;return"Identifier '".concat(t,"' has already been declared.")})),YieldBindingIdentifier:e("Can not use 'yield' as identifier inside a generator."),YieldInParameter:e("Yield expression is not allowed in formal parameters."),ZeroDigitNumericSeparator:e("Numeric separator can not be used after leading 0.")}))),D((e=>({StrictDelete:e("Deleting local variable in strict mode."),StrictEvalArguments:e((e=>{let{referenceName:t}=e;return"Assigning to '".concat(t,"' in strict mode.")})),StrictEvalArgumentsBinding:e((e=>{let{bindingName:t}=e;return"Binding '".concat(t,"' in strict mode.")})),StrictFunction:e("In strict mode code, functions can only be declared at top level or inside a block."),StrictNumericEscape:e("The only valid numeric escape in strict mode is '\\0'."),StrictOctalLiteral:e("Legacy octal literals are not allowed in strict mode."),StrictWith:e("'with' in strict mode.")}))),D(r||(r=s(["pipelineOperator"])))((e=>({PipeBodyIsTighter:e("Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence."),PipeTopicRequiresHackPipes:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'),PipeTopicUnbound:e("Topic reference is unbound; it must be inside a pipe body."),PipeTopicUnconfiguredToken:e((e=>{let{token:t}=e;return"Invalid topic token ".concat(t,". In order to use ").concat(t,' as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "').concat(t,'" }.')})),PipeTopicUnused:e("Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once."),PipeUnparenthesizedBody:e((e=>{let{type:t}=e;return"Hack-style pipe body cannot be an unparenthesized ".concat(_({type:t}),"; please wrap it in parentheses.")})),PipelineBodyNoArrow:e('Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.'),PipelineBodySequenceExpression:e("Pipeline body may not be a comma-separated sequence expression."),PipelineHeadSequenceExpression:e("Pipeline head should not be a comma-separated sequence expression."),PipelineTopicUnused:e("Pipeline is in topic style but does not use topic reference."),PrimaryTopicNotAllowed:e("Topic reference was used in a lexical context without topic binding."),PrimaryTopicRequiresSmartPipeline:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.')})))),{defineProperty:x}=Object,E=(e,t)=>x(e,t,{enumerable:!1,value:e[t]});function S(e){return E(e.loc.start,"index"),E(e.loc.end,"index"),e}var C=class{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}},T={brace:new C("{"),j_oTag:new C("<tag"),j_cTag:new C("</tag"),j_expr:new C("<tag>...</tag>",!0)};T.template=new C("`",!0);var k=!0,A=!0,N=!0,P=!0,F=!0,w=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}},I=new Map;function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.keyword=e;let r=q(e,t);return I.set(e,r),r}function L(e,t){return q(e,{beforeExpr:k,binop:t})}var M=-1,R=[],B=[],j=[],K=[],J=[],U=[];function q(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,n,i,a;return++M,B.push(e),j.push(null!=(r=t.binop)?r:-1),K.push(null!=(n=t.beforeExpr)&&n),J.push(null!=(i=t.startsExpr)&&i),U.push(null!=(a=t.prefix)&&a),R.push(new w(e,t)),M}function V(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,n,i,a;return++M,I.set(e,M),B.push(e),j.push(null!=(r=t.binop)?r:-1),K.push(null!=(n=t.beforeExpr)&&n),J.push(null!=(i=t.startsExpr)&&i),U.push(null!=(a=t.prefix)&&a),R.push(new w("name",t)),M}var z={bracketL:q("[",{beforeExpr:k,startsExpr:A}),bracketHashL:q("#[",{beforeExpr:k,startsExpr:A}),bracketBarL:q("[|",{beforeExpr:k,startsExpr:A}),bracketR:q("]"),bracketBarR:q("|]"),braceL:q("{",{beforeExpr:k,startsExpr:A}),braceBarL:q("{|",{beforeExpr:k,startsExpr:A}),braceHashL:q("#{",{beforeExpr:k,startsExpr:A}),braceR:q("}",{beforeExpr:k}),braceBarR:q("|}"),parenL:q("(",{beforeExpr:k,startsExpr:A}),parenR:q(")"),comma:q(",",{beforeExpr:k}),semi:q(";",{beforeExpr:k}),colon:q(":",{beforeExpr:k}),doubleColon:q("::",{beforeExpr:k}),dot:q("."),question:q("?",{beforeExpr:k}),questionDot:q("?."),arrow:q("=>",{beforeExpr:k}),template:q("template"),ellipsis:q("...",{beforeExpr:k}),backQuote:q("`",{startsExpr:A}),dollarBraceL:q("${",{beforeExpr:k,startsExpr:A}),templateTail:q("...`",{startsExpr:A}),templateNonTail:q("...${",{beforeExpr:k,startsExpr:A}),at:q("@"),hash:q("#",{startsExpr:A}),interpreterDirective:q("#!..."),eq:q("=",{beforeExpr:k,isAssign:P}),assign:q("_=",{beforeExpr:k,isAssign:P}),slashAssign:q("_=",{beforeExpr:k,isAssign:P}),xorAssign:q("_=",{beforeExpr:k,isAssign:P}),moduloAssign:q("_=",{beforeExpr:k,isAssign:P}),incDec:q("++/--",{prefix:F,postfix:!0,startsExpr:A}),bang:q("!",{beforeExpr:k,prefix:F,startsExpr:A}),tilde:q("~",{beforeExpr:k,prefix:F,startsExpr:A}),doubleCaret:q("^^",{startsExpr:A}),doubleAt:q("@@",{startsExpr:A}),pipeline:L("|>",0),nullishCoalescing:L("??",1),logicalOR:L("||",1),logicalAND:L("&&",2),bitwiseOR:L("|",3),bitwiseXOR:L("^",4),bitwiseAND:L("&",5),equality:L("==/!=/===/!==",6),lt:L("</>/<=/>=",7),gt:L("</>/<=/>=",7),relational:L("</>/<=/>=",7),bitShift:L("<</>>/>>>",8),bitShiftL:L("<</>>/>>>",8),bitShiftR:L("<</>>/>>>",8),plusMin:q("+/-",{beforeExpr:k,binop:9,prefix:F,startsExpr:A}),modulo:q("%",{binop:10,startsExpr:A}),star:q("*",{binop:10}),slash:L("/",10),exponent:q("**",{beforeExpr:k,binop:11,rightAssociative:!0}),_in:O("in",{beforeExpr:k,binop:7}),_instanceof:O("instanceof",{beforeExpr:k,binop:7}),_break:O("break"),_case:O("case",{beforeExpr:k}),_catch:O("catch"),_continue:O("continue"),_debugger:O("debugger"),_default:O("default",{beforeExpr:k}),_else:O("else",{beforeExpr:k}),_finally:O("finally"),_function:O("function",{startsExpr:A}),_if:O("if"),_return:O("return",{beforeExpr:k}),_switch:O("switch"),_throw:O("throw",{beforeExpr:k,prefix:F,startsExpr:A}),_try:O("try"),_var:O("var"),_const:O("const"),_with:O("with"),_new:O("new",{beforeExpr:k,startsExpr:A}),_this:O("this",{startsExpr:A}),_super:O("super",{startsExpr:A}),_class:O("class",{startsExpr:A}),_extends:O("extends",{beforeExpr:k}),_export:O("export"),_import:O("import",{startsExpr:A}),_null:O("null",{startsExpr:A}),_true:O("true",{startsExpr:A}),_false:O("false",{startsExpr:A}),_typeof:O("typeof",{beforeExpr:k,prefix:F,startsExpr:A}),_void:O("void",{beforeExpr:k,prefix:F,startsExpr:A}),_delete:O("delete",{beforeExpr:k,prefix:F,startsExpr:A}),_do:O("do",{isLoop:N,beforeExpr:k}),_for:O("for",{isLoop:N}),_while:O("while",{isLoop:N}),_as:V("as",{startsExpr:A}),_assert:V("assert",{startsExpr:A}),_async:V("async",{startsExpr:A}),_await:V("await",{startsExpr:A}),_from:V("from",{startsExpr:A}),_get:V("get",{startsExpr:A}),_let:V("let",{startsExpr:A}),_meta:V("meta",{startsExpr:A}),_of:V("of",{startsExpr:A}),_sent:V("sent",{startsExpr:A}),_set:V("set",{startsExpr:A}),_static:V("static",{startsExpr:A}),_yield:V("yield",{startsExpr:A}),_asserts:V("asserts",{startsExpr:A}),_checks:V("checks",{startsExpr:A}),_exports:V("exports",{startsExpr:A}),_global:V("global",{startsExpr:A}),_implements:V("implements",{startsExpr:A}),_intrinsic:V("intrinsic",{startsExpr:A}),_infer:V("infer",{startsExpr:A}),_is:V("is",{startsExpr:A}),_mixins:V("mixins",{startsExpr:A}),_proto:V("proto",{startsExpr:A}),_require:V("require",{startsExpr:A}),_keyof:V("keyof",{startsExpr:A}),_readonly:V("readonly",{startsExpr:A}),_unique:V("unique",{startsExpr:A}),_abstract:V("abstract",{startsExpr:A}),_declare:V("declare",{startsExpr:A}),_enum:V("enum",{startsExpr:A}),_module:V("module",{startsExpr:A}),_namespace:V("namespace",{startsExpr:A}),_interface:V("interface",{startsExpr:A}),_type:V("type",{startsExpr:A}),_opaque:V("opaque",{startsExpr:A}),name:q("name",{startsExpr:A}),string:q("string",{startsExpr:A}),num:q("num",{startsExpr:A}),bigint:q("bigint",{startsExpr:A}),decimal:q("decimal",{startsExpr:A}),regexp:q("regexp",{startsExpr:A}),privateName:q("#name",{startsExpr:A}),eof:q("eof"),jsxName:q("jsxName"),jsxText:q("jsxText",{beforeExpr:!0}),jsxTagStart:q("jsxTagStart",{startsExpr:!0}),jsxTagEnd:q("jsxTagEnd"),placeholder:q("%%",{startsExpr:!0})};function W(e){return e>=93&&e<=128}function H(e){return e>=58&&e<=128}function G(e){return e>=58&&e<=132}function $(e){return J[e]}function Y(e){return e>=125&&e<=127}function X(e){return e>=58&&e<=92}function Q(e){return 34===e}function Z(e){return B[e]}function ee(e){return j[e]}function te(e){return e>=24&&e<=25}function re(e){return R[e]}R[8].updateContext=e=>{e.pop()},R[5].updateContext=R[7].updateContext=R[23].updateContext=e=>{e.push(T.brace)},R[22].updateContext=e=>{e[e.length-1]===T.template?e.pop():e.push(T.template)},R[138].updateContext=e=>{e.push(T.j_expr,T.j_oTag)};var ne="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA--zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",ie="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍--_",ae=new RegExp("["+ne+"]"),oe=new RegExp("["+ne+ie+"]");ne=ie=null;var se=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],ce=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function ue(e,t){let r=65536;for(let n=0,i=t.length;n<i;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function le(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&ae.test(String.fromCharCode(e)):ue(e,se)))}function pe(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&oe.test(String.fromCharCode(e)):ue(e,se)||ue(e,ce))))}var de=["implements","interface","let","package","private","protected","public","static","yield"],fe=["eval","arguments"],_e=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),me=new Set(de),ge=new Set(fe);function he(e,t){return t&&"await"===e||"enum"===e}function ye(e,t){return he(e,t)||me.has(e)}function ve(e){return ge.has(e)}function De(e,t){return ye(e,t)||ve(e)}var be=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);var xe=64,Ee=256,Se=259,Ce=8,Te=128,ke=1024,Ae=2048,Ne=3|Ce|Te,Pe=1|Ce,Fe=259|Ce,we=64,Ie=512|Fe;function Oe(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function Le(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function Me(e,t,r){let n=null,i=t.length;for(;null===n&&i>0;)n=t[--i];null===n||n.start>r.start?Le(e,r.comments):Oe(n,r.comments)}var Re=/\r\n?|[\n\u2028\u2029]/,Be=new RegExp(Re.source,"g");function je(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var Ke=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Je=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Ue(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var qe=class{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.comments=[],this.commentStack=[],this.pos=0,this.type=135,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[T.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.strictErrors=new Map,this.tokensLength=0}init(e){let{strictMode:t,sourceType:r,startLine:n,startColumn:i}=e;this.strict=!1!==t&&(!0===t||"module"===r),this.curLine=n,this.lineStart=-i,this.startLoc=this.endLoc=new c(n,i,0)}curPosition(){return new c(this.curLine,this.pos-this.lineStart,this.pos)}clone(e){let t=new qe,r=Object.keys(this);for(let n=0,i=r.length;n<i;n++){let i=r[n],a=this[i];!e&&Array.isArray(a)&&(a=a.slice()),t[i]=a}return t}},Ve=["at"],ze=["at"],We=function(e){return e>=48&&e<=57},He=new Set([103,109,115,105,121,117,100,118]),Ge={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},$e={};$e.bin=new Set([48,49]),$e.oct=new Set([...$e.bin,50,51,52,53,54,55]),$e.dec=new Set([...$e.oct,56,57]),$e.hex=new Set([...$e.dec,65,66,67,68,69,70,97,98,99,100,101,102]);var Ye=class{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new u(e.startLoc,e.endLoc)}},Xe=class{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}},Qe=class{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(this.currentThisScopeFlags()&xe)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&xe)>0&&0==(2&e)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(128&t)return!0;if(323&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Xe(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(130&e.flags||!this.parser.inModule&&1&e.flags)}declareName(e,t,r){let n=this.currentScope();if(t&Ce||16&t)this.checkRedeclarationInScope(n,e,t,r),16&t?n.functions.add(e):n.lexical.add(e),t&Ce&&this.maybeExportDefined(n,e);else if(4&t)for(let i=this.scopeStack.length-1;i>=0&&(n=this.scopeStack[i],this.checkRedeclarationInScope(n,e,t,r),n.var.add(e),this.maybeExportDefined(n,e),!(n.flags&Se));--i);this.parser.inModule&&1&n.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,n){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(b.VarRedeclaration,{at:n,identifierName:t})}isRedeclaredInScope(e,t,r){return!!(1&r)&&(r&Ce?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):16&r?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(8&e.flags&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}checkLocalExport(e){let{name:t}=e,r=this.scopeStack[0];!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)&&this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&Se)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(323&t&&!(4&t))return t}}},Ze=class extends Xe{constructor(){super(...arguments),this.declareFunctions=new Set}},et=class extends Qe{createScope(e){return new Ze(e)}declareName(e,t,r){let n=this.currentScope();if(t&Ae)return this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e),void n.declareFunctions.add(e);super.declareName(...arguments)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(...arguments)||!!(r&Ae)&&!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},tt=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}},rt=class extends tt{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){let{at:r}=t,n=r.index;this.declarationErrors.set(n,[e,r])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}};function nt(){return new tt}function it(e,t){return(e?2:0)|(t?1:0)}var at=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},ot=class{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new u(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}},st=ot.prototype;function ct(e){let{type:t,start:r,end:n,loc:i,range:a,extra:o,name:s}=e,c=Object.create(st);return c.type=t,c.start=r,c.end=n,c.loc=i,c.range=a,c.extra=o,c.name=s,"Placeholder"===t&&(c.expectedNode=e.expectedNode),c}function ut(e){let{type:t,start:r,end:n,loc:i,range:a,extra:o}=e;if("Placeholder"===t)return function(e){return ct(e)}(e);let s=Object.create(st);return s.type=t,s.start=r,s.end=n,s.loc=i,s.range=a,void 0!==e.raw?s.raw=e.raw:s.extra=o,s.value=e.value,s}st.__clone=function(){let e=new ot,t=Object.keys(this);for(let r=0,n=t.length;r<n;r++){let n=t[r];"leadingComments"!==n&&"trailingComments"!==n&&"innerComments"!==n&&(e[n]=this[n])}return e};var lt=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),pt=D(n||(n=s(["flow"])))((e=>({AmbiguousConditionalArrow:e("Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),AmbiguousDeclareModuleKind:e("Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module."),AssignReservedType:e((e=>{let{reservedType:t}=e;return"Cannot overwrite reserved type ".concat(t,".")})),DeclareClassElement:e("The `declare` modifier can only appear on class fields."),DeclareClassFieldInitializer:e("Initializers are not allowed in fields with the `declare` modifier."),DuplicateDeclareModuleExports:e("Duplicate `declare module.exports` statement."),EnumBooleanMemberNotInitialized:e((e=>{let{memberName:t,enumName:r}=e;return"Boolean enum members need to be initialized. Use either `".concat(t," = true,` or `").concat(t," = false,` in enum `").concat(r,"`.")})),EnumDuplicateMemberName:e((e=>{let{memberName:t,enumName:r}=e;return"Enum member names need to be unique, but the name `".concat(t,"` has already been used before in enum `").concat(r,"`.")})),EnumInconsistentMemberValues:e((e=>{let{enumName:t}=e;return"Enum `".concat(t,"` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.")})),EnumInvalidExplicitType:e((e=>{let{invalidEnumType:t,enumName:r}=e;return"Enum type `".concat(t,"` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `").concat(r,"`.")})),EnumInvalidExplicitTypeUnknownSupplied:e((e=>{let{enumName:t}=e;return"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `".concat(t,"`.")})),EnumInvalidMemberInitializerPrimaryType:e((e=>{let{enumName:t,memberName:r,explicitType:n}=e;return"Enum `".concat(t,"` has type `").concat(n,"`, so the initializer of `").concat(r,"` needs to be a ").concat(n," literal.")})),EnumInvalidMemberInitializerSymbolType:e((e=>{let{enumName:t,memberName:r}=e;return"Symbol enum members cannot be initialized. Use `".concat(r,",` in enum `").concat(t,"`.")})),EnumInvalidMemberInitializerUnknownType:e((e=>{let{enumName:t,memberName:r}=e;return"The enum member initializer for `".concat(r,"` needs to be a literal (either a boolean, number, or string) in enum `").concat(t,"`.")})),EnumInvalidMemberName:e((e=>{let{enumName:t,memberName:r,suggestion:n}=e;return"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `".concat(r,"`, consider using `").concat(n,"`, in enum `").concat(t,"`.")})),EnumNumberMemberNotInitialized:e((e=>{let{enumName:t,memberName:r}=e;return"Number enum members need to be initialized, e.g. `".concat(r," = 1` in enum `").concat(t,"`.")})),EnumStringMemberInconsistentlyInitailized:e((e=>{let{enumName:t}=e;return"String enum members need to consistently either all use initializers, or use no initializers, in enum `".concat(t,"`.")})),GetterMayNotHaveThisParam:e("A getter cannot have a `this` parameter."),ImportTypeShorthandOnlyInPureImport:e("The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements."),InexactInsideExact:e("Explicit inexact syntax cannot appear inside an explicit exact object type."),InexactInsideNonObject:e("Explicit inexact syntax cannot appear in class or interface definitions."),InexactVariance:e("Explicit inexact syntax cannot have variance."),InvalidNonTypeImportInDeclareModule:e("Imports within a `declare module` body must always be `import type` or `import typeof`."),MissingTypeParamDefault:e("Type parameter declaration needs a default, since a preceding type parameter declaration has a default."),NestedDeclareModule:e("`declare module` cannot be used inside another `declare module`."),NestedFlowComment:e("Cannot have a flow comment inside another flow comment."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature.",{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:e("A setter cannot have a `this` parameter."),SpreadVariance:e("Spread properties cannot have variance."),ThisParamAnnotationRequired:e("A type annotation is required for the `this` parameter."),ThisParamBannedInConstructor:e("Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions."),ThisParamMayNotBeOptional:e("The `this` parameter cannot be optional."),ThisParamMustBeFirst:e("The `this` parameter must be the first function parameter."),ThisParamNoDefault:e("The `this` parameter may not have a default value."),TypeBeforeInitializer:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeCastInPattern:e("The type cast expression is expected to be wrapped with parenthesis."),UnexpectedExplicitInexactInObject:e("Explicit inexact syntax must appear at the end of an inexact object."),UnexpectedReservedType:e((e=>{let{reservedType:t}=e;return"Unexpected reserved type ".concat(t,".")})),UnexpectedReservedUnderscore:e("`_` is only allowed as a type argument to call or new."),UnexpectedSpaceBetweenModuloChecks:e("Spaces between `%` and `checks` are not allowed here."),UnexpectedSpreadType:e("Spread operator cannot appear in class or interface definitions."),UnexpectedSubtractionOperand:e('Unexpected token, expected "number" or "bigint".'),UnexpectedTokenAfterTypeParameter:e("Expected an arrow function after this type parameter declaration."),UnexpectedTypeParameterBeforeAsyncArrowFunction:e("Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`."),UnsupportedDeclareExportKind:e((e=>{let{unsupportedExportKind:t,suggestion:r}=e;return"`declare export ".concat(t,"` is not supported. Use `").concat(r,"` instead.")})),UnsupportedStatementInDeclareModule:e("Only declares and type imports are allowed inside declare module."),UnterminatedFlowComment:e("Unterminated flow-comment.")})));function dt(e){return"type"===e.importKind||"typeof"===e.importKind}function ft(e){return H(e)&&97!==e}var _t={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};var mt=/\*?\s*@((?:no)?flow)\b/,gt={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:"",emsp:"",thinsp:"",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"",mdash:"—",lsquo:"",rsquo:"",sbquo:"",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"",Prime:"″",lsaquo:"",rsaquo:"",oline:"‾",frasl:"",euro:"€",image:"",weierp:"℘",real:"",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"",lowast:"",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"",cap:"∩",cup:"",int:"∫",there4:"∴",sim:"",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},ht=D(i||(i=s(["jsx"])))((e=>({AttributeIsEmpty:e("JSX attributes must only be assigned a non-empty expression."),MissingClosingTagElement:e((e=>{let{openingTagName:t}=e;return"Expected corresponding JSX closing tag for <".concat(t,">.")})),MissingClosingTagFragment:e("Expected corresponding JSX closing tag for <>."),UnexpectedSequenceExpression:e("Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?"),UnexpectedToken:e((e=>{let{unexpected:t,HTMLEntity:r}=e;return"Unexpected token `".concat(t,"`. Did you mean `").concat(r,"` or `{'").concat(t,"'}`?")})),UnsupportedJsxValue:e("JSX value should be either an expression or a quoted JSX text."),UnterminatedJsxContent:e("Unterminated JSX contents."),UnwrappedAdjacentJSXElements:e("Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?")})));function yt(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function vt(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return vt(e.object)+"."+vt(e.property);throw new Error("Node had unexpected type: "+e.type)}var Dt=class extends Xe{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},bt=class extends Qe{createScope(e){return new Dt(e)}declareName(e,t,r){let n=this.currentScope();if(t&ke)return this.maybeExportDefined(n,e),void n.exportOnlyBindings.add(e);super.declareName(...arguments),2&t&&(1&t||(this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e)),n.types.add(e)),256&t&&n.enums.add(e),512&t&&n.constEnums.add(e),t&Te&&n.classes.add(e)}isRedeclaredInScope(e,t,r){return e.enums.has(t)?!(256&r)||!!(512&r)!==e.constEnums.has(t):r&Te&&e.classes.has(t)?!!e.lexical.has(t)&&!!(1&r):!!(2&r&&e.types.has(t))||super.isRedeclaredInScope(...arguments)}checkLocalExport(e){let t=this.scopeStack[0],{name:r}=e;!t.types.has(r)&&!t.exportOnlyBindings.has(r)&&super.checkLocalExport(e)}};function xt(e){if(!e)throw new Error("Assert fail")}var Et=D(a||(a=s(["typescript"])))((e=>({AbstractMethodHasImplementation:e((e=>{let{methodName:t}=e;return"Method '".concat(t,"' cannot have an implementation because it is marked abstract.")})),AbstractPropertyHasInitializer:e((e=>{let{propertyName:t}=e;return"Property '".concat(t,"' cannot have an initializer because it is marked abstract.")})),AccesorCannotDeclareThisParameter:e("'get' and 'set' accessors cannot declare 'this' parameters."),AccesorCannotHaveTypeParameters:e("An accessor cannot have type parameters."),CannotFindName:e((e=>{let{name:t}=e;return"Cannot find name '".concat(t,"'.")})),ClassMethodHasDeclare:e("Class methods cannot have the 'declare' modifier."),ClassMethodHasReadonly:e("Class methods cannot have the 'readonly' modifier."),ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:e("A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),ConstructorHasTypeParameters:e("Type parameters cannot appear on a constructor declaration."),DeclareAccessor:e((e=>{let{kind:t}=e;return"'declare' is not allowed in ".concat(t,"ters.")})),DeclareClassFieldHasInitializer:e("Initializers are not allowed in ambient contexts."),DeclareFunctionHasImplementation:e("An implementation cannot be declared in ambient contexts."),DuplicateAccessibilityModifier:e((e=>{let{modifier:t}=e;return"Accessibility modifier already seen."})),DuplicateModifier:e((e=>{let{modifier:t}=e;return"Duplicate modifier: '".concat(t,"'.")})),EmptyHeritageClauseType:e((e=>{let{token:t}=e;return"'".concat(t,"' list cannot be empty.")})),EmptyTypeArguments:e("Type argument list cannot be empty."),EmptyTypeParameters:e("Type parameter list cannot be empty."),ExpectedAmbientAfterExportDeclare:e("'export declare' must be followed by an ambient declaration."),ImportAliasHasImportType:e("An import alias can not use 'import type'."),IncompatibleModifiers:e((e=>{let{modifiers:t}=e;return"'".concat(t[0],"' modifier cannot be used with '").concat(t[1],"' modifier.")})),IndexSignatureHasAbstract:e("Index signatures cannot have the 'abstract' modifier."),IndexSignatureHasAccessibility:e((e=>{let{modifier:t}=e;return"Index signatures cannot have an accessibility modifier ('".concat(t,"').")})),IndexSignatureHasDeclare:e("Index signatures cannot have the 'declare' modifier."),IndexSignatureHasOverride:e("'override' modifier cannot appear on an index signature."),IndexSignatureHasStatic:e("Index signatures cannot have the 'static' modifier."),InitializerNotAllowedInAmbientContext:e("Initializers are not allowed in ambient contexts."),InvalidModifierOnTypeMember:e((e=>{let{modifier:t}=e;return"'".concat(t,"' modifier cannot appear on a type member.")})),InvalidModifiersOrder:e((e=>{let{orderedModifiers:t}=e;return"'".concat(t[0],"' modifier must precede '").concat(t[1],"' modifier.")})),InvalidTupleMemberLabel:e("Tuple members must be labeled with a simple identifier."),MissingInterfaceName:e("'interface' declarations must be followed by an identifier."),MixedLabeledAndUnlabeledElements:e("Tuple members must all have names or all not have names."),NonAbstractClassHasAbstractMethod:e("Abstract methods can only appear within an abstract class."),NonClassMethodPropertyHasAbstractModifer:e("'abstract' modifier can only appear on a class, method, or property declaration."),OptionalTypeBeforeRequired:e("A required element cannot follow an optional element."),OverrideNotInSubClass:e("This member cannot have an 'override' modifier because its containing class does not extend another class."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature."),PrivateElementHasAbstract:e("Private elements cannot have the 'abstract' modifier."),PrivateElementHasAccessibility:e((e=>{let{modifier:t}=e;return"Private elements cannot have an accessibility modifier ('".concat(t,"').")})),ReadonlyForMethodSignature:e("'readonly' modifier can only appear on a property declaration or index signature."),ReservedArrowTypeParam:e("This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`."),ReservedTypeAssertion:e("This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),SetAccesorCannotHaveOptionalParameter:e("A 'set' accessor cannot have an optional parameter."),SetAccesorCannotHaveRestParameter:e("A 'set' accessor cannot have rest parameter."),SetAccesorCannotHaveReturnType:e("A 'set' accessor cannot have a return type annotation."),SingleTypeParameterWithoutTrailingComma:e((e=>{let{typeParameterName:t}=e;return"Single type parameter ".concat(t," should have a trailing comma. Example usage: <").concat(t,",>.")})),StaticBlockCannotHaveModifier:e("Static class blocks cannot have any modifier."),TypeAnnotationAfterAssign:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeImportCannotSpecifyDefaultAndNamed:e("A type-only import can specify a default import or named bindings, but not both."),TypeModifierIsUsedInTypeExports:e("The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),TypeModifierIsUsedInTypeImports:e("The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),UnexpectedParameterModifier:e("A parameter property is only allowed in a constructor implementation."),UnexpectedReadonly:e("'readonly' type modifier is only permitted on array and tuple literal types."),UnexpectedTypeAnnotation:e("Did not expect a type annotation here."),UnexpectedTypeCastInParameter:e("Unexpected type cast in parameter position."),UnsupportedImportTypeArgument:e("Argument in a type import must be a string literal."),UnsupportedParameterPropertyKind:e("A parameter property may not be declared using a binding pattern."),UnsupportedSignatureParameterKind:e((e=>{let{type:t}=e;return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ".concat(t,".")}))})));function St(e){return"private"===e||"public"===e||"protected"===e}function Ct(e){if("MemberExpression"!==e.type)return!1;let{computed:t,property:r}=e;return(!t||"StringLiteral"===r.type||!("TemplateLiteral"!==r.type||r.expressions.length>0))&&Tt(e.object)}function Tt(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&Tt(e.object)}var kt=D(o||(o=s(["placeholders"])))((e=>({ClassNameIsRequired:e("A class name is required."),UnexpectedSpace:e("Unexpected space in placeholder.")})));function At(e,t){let[r,n]="string"==typeof t?[t,{}]:t,i=Object.keys(n),a=0===i.length;return e.some((e=>{if("string"==typeof e)return a&&e===r;{let[t,a]=e;if(t!==r)return!1;for(let e of i)if(a[e]!==n[e])return!1;return!0}}))}function Nt(e,t,r){let n=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return n&&Array.isArray(n)?n[1][r]:null}var Pt=["minimal","fsharp","hack","smart"],Ft=["^^","@@","^","%","#"],wt=["hash","bar"];var It={estree:e=>class extends e{parse(){let e=S(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(S)),e}parseRegExpLiteral(e){let{pattern:t,flags:r}=e,n=null;try{n=new RegExp(t,r)}catch{}let i=this.estreeParseLiteral(n);return i.regex={pattern:t,flags:r},i}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch{t=null}let r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){let t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){let t=e.value,r=this.startNodeAt(e.start,e.loc.start),n=this.startNodeAt(t.start,t.loc.start);return n.value=t.extra.expressionValue,n.raw=t.extra.raw,r.expression=this.finishNodeAt(n,"Literal",t.loc.end),r.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(r,"ExpressionStatement",e.loc.end)}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];super.parseBlockBody(e,...r);let i=e.directives.map((e=>this.directiveToStmt(e)));e.body=i.concat(e.body),delete e.directives}pushClassMethod(e,t,r,n,i,a){this.parseMethod(t,r,n,i,a,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let t=super.getPrivateNameSV(e);return delete(e=e).id,e.name=t,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){let r=super.parseLiteral(e,t);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];super.parseFunctionBody(e,t,r),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,r,n,i,a){let o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=this.startNode();return s.kind=e.kind,s=super.parseMethod(s,t,r,n,i,a,o),s.type="FunctionExpression",delete s.kind,e.value=s,"ClassPrivateMethod"===a&&(e.computed=!1),a="MethodDefinition",this.finishNode(e,a)}parseClassProperty(){let e=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition"),e}parseClassPrivateProperty(){let e=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition",e.computed=!1),e}parseObjectMethod(e,t,r,n,i){let a=super.parseObjectMethod(e,t,r,n,i);return a&&(a.type="Property","method"===a.kind&&(a.kind="init"),a.shorthand=!1),a}parseObjectProperty(e,t,r,n,i){let a=super.parseObjectProperty(e,t,r,n,i);return a&&(a.kind="init",a.type="Property"),a}isValidLVal(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"Property"===e?"value":super.isValidLVal(e,...r)}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null!=e&&this.isObjectProperty(e)){let{key:r,value:n}=e;return this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,t),e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e){if("get"===e.kind||"set"===e.kind)this.raise(b.PatternHasAccessor,{at:e.key});else if(e.method)this.raise(b.PatternHasMethod,{at:e.key});else{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];super.toAssignableObjectExpressionProp(e,...r)}}finishCallExpression(e,t){var r;return super.finishCallExpression(e,t),"Import"===e.callee.type&&(e.type="ImportExpression",e.source=e.arguments[0],this.hasPlugin("importAssertions")&&(e.attributes=null!=(r=e.arguments[1])?r:null),delete e.arguments,delete e.callee),e}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e){switch(super.parseExport(e),e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":1===e.specifiers.length&&"ExportNamespaceSpecifier"===e.specifiers[0].type&&(e.type="ExportAllDeclaration",e.exported=e.specifiers[0].exported,delete e.specifiers)}return e}parseSubscript(e,t,r,n,i){let a=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if(("OptionalMemberExpression"===a.type||"OptionalCallExpression"===a.type)&&(a.type=a.type.substring(8)),i.stop){let e=this.startNodeAtNode(a);return e.expression=a,this.finishNode(e,"ChainExpression")}}else("MemberExpression"===a.type||"CallExpression"===a.type)&&(a.optional=!1);return a}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return"ChainExpression"===e.type}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}finishNodeAt(e,t,r){return S(super.finishNodeAt(e,t,r))}resetEndLocation(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(e,t),S(e)}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(ht.UnterminatedJsxContent,{at:this.state.startLoc});let r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?60===r&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(138)):super.getTokenFromCode(r):(e+=this.input.slice(t,this.state.pos),this.finishToken(137,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:je(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let t,r=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===r&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,t}jsxReadString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(b.UnterminatedString,{at:this.state.startLoc});let n=this.input.charCodeAt(this.state.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):je(n)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}return t+=this.input.slice(r,this.state.pos++),this.finishToken(129,t)}jsxReadEntity(){let e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let e=10;120===this.codePointAtPos(this.state.pos)&&(e=16,++this.state.pos);let t=this.readInt(e,void 0,!1,"bail");if(null!==t&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(t)}else{let t=0,r=!1;for(;t++<10&&this.state.pos<this.length&&!(r=59==this.codePointAtPos(this.state.pos));)++this.state.pos;if(r){let t=this.input.slice(e,this.state.pos),r=gt[t];if(++this.state.pos,r)return r}}return this.state.pos=e,"&"}jsxReadWord(){let e,t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(pe(e)||45===e);return this.finishToken(136,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){let e=this.startNode();return this.match(136)?e.name=this.state.value:X(this.state.type)?e.name=Z(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){let e=this.state.start,t=this.state.startLoc,r=this.jsxParseIdentifier();if(!this.eat(14))return r;let n=this.startNodeAt(e,t);return n.namespace=r,n.name=this.jsxParseIdentifier(),this.finishNode(n,"JSXNamespacedName")}jsxParseElementName(){let e=this.state.start,t=this.state.startLoc,r=this.jsxParseNamespacedName();if("JSXNamespacedName"===r.type)return r;for(;this.eat(16);){let n=this.startNodeAt(e,t);n.object=r,n.property=this.jsxParseIdentifier(),r=this.finishNode(n,"JSXMemberExpression")}return r}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(T.brace),this.next(),e=this.jsxParseExpressionContainer(e,T.j_oTag),"JSXEmptyExpression"===e.expression.type&&this.raise(ht.AttributeIsEmpty,{at:e}),e;case 138:case 129:return this.parseExprAtom();default:throw this.raise(ht.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let e=this.startNodeAt(this.state.lastTokEndLoc.index,this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(T.j_oTag),this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{let t=this.parseExpression();e.expression=t}return this.setContext(t),this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){let e=this.startNode();return this.match(5)?(this.setContext(T.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(T.j_oTag),this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e,t){let r=this.startNodeAt(e,t);return this.match(139)?(this.expect(139),this.finishNode(r,"JSXOpeningFragment")):(r.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(r))}jsxParseOpeningElementAfterName(e){let t=[];for(;!this.match(56)&&!this.match(139);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(139),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e,t){let r=this.startNodeAt(e,t);return this.match(139)?(this.expect(139),this.finishNode(r,"JSXClosingFragment")):(r.name=this.jsxParseElementName(),this.expect(139),this.finishNode(r,"JSXClosingElement"))}jsxParseElementAt(e,t){let r=this.startNodeAt(e,t),n=[],i=this.jsxParseOpeningElementAt(e,t),a=null;if(!i.selfClosing){e:for(;;)switch(this.state.type){case 138:if(e=this.state.start,t=this.state.startLoc,this.next(),this.eat(56)){a=this.jsxParseClosingElementAt(e,t);break e}n.push(this.jsxParseElementAt(e,t));break;case 137:n.push(this.parseExprAtom());break;case 5:{let e=this.startNode();this.setContext(T.brace),this.next(),this.match(21)?n.push(this.jsxParseSpreadChild(e)):n.push(this.jsxParseExpressionContainer(e,T.j_expr));break}default:throw this.unexpected()}yt(i)&&!yt(a)&&null!==a?this.raise(ht.MissingClosingTagFragment,{at:a}):(!yt(i)&&yt(a)||!yt(i)&&!yt(a)&&vt(a.name)!==vt(i.name))&&this.raise(ht.MissingClosingTagElement,{at:a,openingTagName:vt(i.name)})}if(yt(i)?(r.openingFragment=i,r.closingFragment=a):(r.openingElement=i,r.closingElement=a),r.children=n,this.match(47))throw this.raise(ht.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return yt(i)?this.finishNode(r,"JSXFragment"):this.finishNode(r,"JSXElement")}jsxParseElement(){let e=this.state.start,t=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,t)}setContext(e){let{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(137)?this.parseLiteral(this.state.value,"JSXText"):this.match(138)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(138),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){let t=this.curContext();if(t===T.j_expr)return this.jsxReadToken();if(t===T.j_oTag||t===T.j_cTag){if(le(e))return this.jsxReadWord();if(62===e)return++this.state.pos,this.finishToken(139);if((34===e||39===e)&&t===T.j_oTag)return this.jsxReadString(e)}return 60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1)?(++this.state.pos,this.finishToken(138)):super.getTokenFromCode(e)}updateContext(e){let{context:t,type:r}=this.state;if(56===r&&138===e)t.splice(-2,2,T.j_cTag),this.state.canStartJSXElement=!1;else if(138===r)t.push(T.j_oTag);else if(139===r){let r=t[t.length-1];r===T.j_oTag&&56===e||r===T.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===T.j_expr):(this.setContext(T.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=function(e){return K[e]}(r)}},flow:e=>class extends e{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return et}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){return 129!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){let t=mt.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}return super.addComment(e)}flowParseTypeInitialiser(e){let t=this.state.inType;this.state.inType=!0,this.expect(e||14);let r=this.flowParseType();return this.state.inType=t,r}flowParsePredicate(){let e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(107),this.state.lastTokStart>t.index+1&&this.raise(pt.UnexpectedSpaceBetweenModuloChecks,{at:t}),this.eat(10)?(e.value=this.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[t,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let t=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);let i=this.flowParseFunctionTypeParams();return r.params=i.params,r.rest=i.rest,r.this=i._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(123))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(pt.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e));if(this.isContextual(126))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(127))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(125))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(129)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();let t=e.body=this.startNode(),r=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),!this.isContextual(126)&&!this.match(87)&&this.raise(pt.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),this.parseImport(e)):(this.expectContextual(121,pt.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let n=null,i=!1;return r.forEach((e=>{!function(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}(e)?"DeclareModuleExports"===e.type&&(i&&this.raise(pt.DuplicateDeclareModuleExports,{at:e}),"ES"===n&&this.raise(pt.AmbiguousDeclareModuleKind,{at:e}),n="CommonJS",i=!0):("CommonJS"===n&&this.raise(pt.AmbiguousDeclareModuleKind,{at:e}),n="ES")})),e.kind=n||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(126)||this.isContextual(125))&&!t){let e=this.state.value;throw this.raise(pt.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:_t[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(127))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(125)||this.isContextual(126)||this.isContextual(127))return"ExportNamedDeclaration"===(e=this.parseExport(e)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(108),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){return this.next(),this.flowParseTypeAlias(e),e.type="DeclareTypeAlias",e}flowParseDeclareOpaqueType(e){return this.next(),this.flowParseOpaqueType(e,!0),e.type="DeclareOpaqueType",e}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:Pe,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(this.isContextual(114)){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(110)){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(pt.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,t,r){!lt.has(e)||this.raise(r?pt.AssignReservedType:pt.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,Pe,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(126),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,Pe,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.state.startLoc,r=this.startNode(),n=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return r.name=i.name,r.variance=n,r.bound=i.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(pt.MissingTypeParamDefault,{at:t}),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(138)?this.next():this.unexpected();let r=!1;do{let e=this.flowParseTypeParameter(r);t.params.push(e),e.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);let r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(125),e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(130)||this.match(129)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,r){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){let r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType(e){let{allowStatic:t,allowExact:r,allowSpread:n,allowProto:i,allowInexact:a}=e,o=this.state.inType;this.state.inType=!0;let s=this.startNode();s.callProperties=[],s.properties=[],s.indexers=[],s.internalSlots=[];let c,u,l=!1;for(r&&this.match(6)?(this.expect(6),c=9,u=!0):(this.expect(5),c=8,u=!1),s.exact=u;!this.match(c);){let e=!1,r=null,o=null,c=this.startNode();if(i&&this.isContextual(115)){let e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),r=this.state.startLoc,t=!1)}if(t&&this.isContextual(104)){let t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),e=!0)}let p=this.flowParseVariance();if(this.eat(0))null!=r&&this.unexpected(r),this.eat(0)?(p&&this.unexpected(p.loc.start),s.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,e))):s.indexers.push(this.flowParseObjectTypeIndexer(c,e,p));else if(this.match(10)||this.match(47))null!=r&&this.unexpected(r),p&&this.unexpected(p.loc.start),s.callProperties.push(this.flowParseObjectTypeCallProperty(c,e));else{let t="init";(this.isContextual(98)||this.isContextual(103))&&G(this.lookahead().type)&&(t=this.state.value,this.next());let i=this.flowParseObjectTypeProperty(c,e,r,p,t,n,null!=a?a:!u);null===i?(l=!0,o=this.state.lastTokStartLoc):s.properties.push(i)}this.flowObjectTypeSemicolon(),o&&!this.match(8)&&!this.match(9)&&this.raise(pt.UnexpectedExplicitInexactInObject,{at:o})}this.expect(c),n&&(s.inexact=l);let p=this.finishNode(s,"ObjectTypeAnnotation");return this.state.inType=o,p}flowParseObjectTypeProperty(e,t,r,n,i,a,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(a?o||this.raise(pt.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(pt.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),n&&this.raise(pt.InexactVariance,{at:n}),null):(a||this.raise(pt.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=r&&this.unexpected(r),n&&this.raise(pt.SpreadVariance,{at:n}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=i;let o=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),n&&this.unexpected(n.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),("get"===i||"set"===i)&&this.flowCheckGetterSetterParams(e),!a&&"constructor"===e.key.name&&e.value.this&&this.raise(pt.ThisParamBannedInConstructor,{at:e.value.this})):("init"!==i&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=o,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let t="get"===e.kind?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?pt.GetterMayNotHaveThisParam:pt.SetterMayNotHaveThisParam,{at:e.value.this}),r!==t&&this.raise("get"===e.kind?b.BadGetterArity:b.BadSetterArity,{at:e}),"set"===e.kind&&e.value.rest&&this.raise(b.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start,t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let r=this.startNodeAt(e,t);r.qualification=n,r.id=this.flowParseRestrictedIdentifier(!0),n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){let n=this.startNodeAt(e,t);return n.typeParameters=null,n.id=this.flowParseQualifiedTypeIdentifier(e,t,r),this.match(47)&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let t=null,r=!1,n=null,i=this.startNode(),a=this.lookahead(),o=78===this.state.type;return 14===a.type||17===a.type?(o&&!e&&this.raise(pt.ThisParamMustBeFirst,{at:i}),t=this.parseIdentifier(o),this.eat(17)&&(r=!0,o&&this.raise(pt.ThisParamMayNotBeOptional,{at:i})),n=this.flowParseTypeInitialiser()):n=this.flowParseType(),i.name=t,i.optional=r,i.typeAnnotation=n,this.finishNode(i,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){let t=this.startNodeAt(e.start,e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=null,r=null;for(this.match(78)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:r}}flowIdentToTypeAnnotation(e,t,r,n){switch(n.name){case"any":return this.finishNode(r,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(r,"BooleanTypeAnnotation");case"mixed":return this.finishNode(r,"MixedTypeAnnotation");case"empty":return this.finishNode(r,"EmptyTypeAnnotation");case"number":return this.finishNode(r,"NumberTypeAnnotation");case"string":return this.finishNode(r,"StringTypeAnnotation");case"symbol":return this.finishNode(r,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(n.name),this.flowParseGenericType(e,t,n)}}flowParsePrimaryType(){let e,t,r=this.state.start,n=this.state.startLoc,i=this.startNode(),a=!1,o=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,t=this.flowParseTupleType(),this.state.noAnonFunctionType=o,t;case 47:return i.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),e=this.flowParseFunctionTypeParams(),i.params=e.params,i.rest=e.rest,i.this=e._this,this.expect(11),this.expect(19),i.returnType=this.flowParseType(),this.finishNode(i,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(W(this.state.type)||this.match(78)){let e=this.lookahead().type;a=17!==e&&14!==e}else a=!0;if(a){if(this.state.noAnonFunctionType=!1,t=this.flowParseType(),this.state.noAnonFunctionType=o,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),t;this.eat(12)}return e=t?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(t)]):this.flowParseFunctionTypeParams(),i.params=e.params,i.rest=e.rest,i.this=e._this,this.expect(11),this.expect(19),i.returnType=this.flowParseType(),i.typeParameters=null,this.finishNode(i,"FunctionTypeAnnotation");case 129:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return i.value=this.match(85),this.next(),this.finishNode(i,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(130))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",i);if(this.match(131))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",i);throw this.raise(pt.UnexpectedSubtractionOperand,{at:this.state.startLoc})}throw this.unexpected();case 130:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(i,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(i,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(i,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(i,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(X(this.state.type)){let e=Z(this.state.type);return this.next(),super.createIdentifier(i,e)}if(W(this.state.type))return this.isContextual(125)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,n,i,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let e=this.state.start,t=this.state.startLoc,r=this.flowParsePrimaryType(),n=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let i=this.startNodeAt(e,t),a=this.eat(18);n=n||a,this.expect(0),!a&&this.match(3)?(i.elementType=r,this.next(),r=this.finishNode(i,"ArrayTypeAnnotation")):(i.objectType=r,i.indexType=this.flowParseType(),this.expect(3),n?(i.optional=a,r=this.finishNode(i,"OptionalIndexedAccessType")):r=this.finishNode(i,"IndexedAccessType"))}return r}flowParsePrefixType(){let e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let t=this.startNodeAt(e.start,e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){let e=this.startNode();this.eat(45);let t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){let e=this.startNode();this.eat(43);let t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){let e=this.state.inType;this.state.inType=!0;let t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(128===this.state.type&&"_"===this.state.value){let e=this.state.start,t=this.state.startLoc,r=this.parseIdentifier();return this.flowParseGenericType(e,t,r)}return this.flowParseType()}flowParseTypeAnnotation(){let e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){let t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)&&(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")),e}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t?this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,!0,r))):super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.match(14)){let t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.isContextual(125)){if(H(this.lookahead().type)){let e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(122)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}let r=super.parseStatement(e,t);return void 0===this.flowPragma&&!this.isValidDirective(r)&&(this.flowPragma=null),r}parseExpressionStatement(e,t){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||W(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(W(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){let{type:e}=this.state;return Y(e)||this.shouldParseEnums()&&122===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return Y(e)||this.shouldParseEnums()&&122===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(122)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(n),e}this.expect(17);let i=this.state.clone(),a=this.state.noArrowAt,o=this.startNodeAt(t,r),{consequent:s,failed:c}=this.tryParseConditionalConsequent(),[u,l]=this.getArrowLikeExpressions(s);if(c||l.length>0){let e=[...a];if(l.length>0){this.state=i,this.state.noArrowAt=e;for(let t=0;t<l.length;t++)e.push(l[t].start);({consequent:s,failed:c}=this.tryParseConditionalConsequent()),[u,l]=this.getArrowLikeExpressions(s)}c&&u.length>1&&this.raise(pt.AmbiguousConditionalArrow,{at:i.startLoc}),c&&1===u.length&&(this.state=i,e.push(u[0].start),this.state.noArrowAt=e,({consequent:s,failed:c}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(s,!0),this.state.noArrowAt=a,this.expect(14),o.test=e,o.consequent=s,o.alternate=this.forwardNoArrowParamsConversionAt(o,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){let r=[e],n=[];for(;0!==r.length;){let e=r.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):n.push(e),r.push(e.body)):"ConditionalExpression"===e.type&&(r.push(e.consequent),r.push(e.alternate))}return t?(n.forEach((e=>this.finishArrowValidation(e))),[n,[]]):function(e,t){let r=[],n=[];for(let i=0;i<e.length;i++)(t(e[i],i,e)?r:n).push(e[i]);return[r,n]}(n,(e=>e.params.every((e=>this.isAssignable(e,!0)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(t,r);return n.expression=e,n.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExport(e){let t=super.parseExport(e);return("ExportNamedDeclaration"===t.type||"ExportAllDeclaration"===t.type)&&(t.exportKind=t.exportKind||"value"),t}parseExportDeclaration(e){if(this.isContextual(126)){e.exportKind="type";let t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(127)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(125)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(122)){e.exportKind="value";let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(...arguments)||!(!this.isContextual(126)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){let{startLoc:t}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&"type"===e.exportKind&&this.unexpected(t),r}parseClassId(e,t,r){super.parseClassId(e,t,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,r){let{startLoc:n}=this.state;if(this.isContextual(121)){if(this.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,r),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(pt.DeclareClassElement,{at:n}):t.value&&this.raise(pt.DeclareClassFieldInitializer,{at:t.value}))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){let e=super.readWord1(),t="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(b.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t}),this.finishToken(128,t)}getTokenFromCode(e){let t=this.input.charCodeAt(this.state.pos+1);return 123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):function(e,t,r){return 64===e&&64===t&&le(r)}(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?48:47,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"TypeCastExpression"===e.type?super.toAssignable(this.typeCastToParameter(e),t):super.toAssignable(e,t)}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){let r=e[t];"TypeCastExpression"===(null==r?void 0:r.type)&&(e[t]=this.typeCastToParameter(r))}return super.toAssignableList(e,t,r)}toReferencedList(e,t){for(let n=0;n<e.length;n++){var r;let i=e[n];i&&"TypeCastExpression"===i.type&&(null==(r=i.extra)||!r.parenthesized)&&(e.length>1||!t)&&this.raise(pt.TypeCastInPattern,{at:i.typeAnnotation})}return e}parseArrayLike(e,t,r,n){let i=super.parseArrayLike(e,t,r,n);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(i.elements),i}isValidLVal(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"TypeCastExpression"===e||super.isValidLVal(e,...r)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,a){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,r,n,i,a),t.params&&i){let e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(pt.ThisParamBannedInConstructor,{at:t})}else if("MethodDefinition"===t.type&&i&&t.value.params){let e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(pt.ThisParamBannedInConstructor,{at:t})}}pushClassPrivateMethod(e,t,r,n){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(110)){this.next();let t=e.implements=[];do{let e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let t=this.getObjectOrClassMethodParams(e);if(t.length>0){let r=t[0];this.isThisParam(r)&&"get"===e.kind?this.raise(pt.GetterMayNotHaveThisParam,{at:r}):this.isThisParam(r)&&this.raise(pt.SetterMayNotHaveThisParam,{at:r})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,n,i,a,o,s){let c;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!o&&(c=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),super.parseObjPropValue(e,t,r,n,i,a,o,s),c&&((e.value||e).typeParameters=c)}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(pt.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(pt.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(pt.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(pt.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,t,r){let n=super.parseMaybeDefault(e,t,r);return"AssignmentPattern"===n.type&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(pt.TypeBeforeInitializer,{at:n.typeAnnotation}),n}shouldParseDefaultImport(e){return dt(e)?ft(this.state.type):super.shouldParseDefaultImport(e)}parseImportSpecifierLocal(e,t,r){t.local=dt(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let t=null;if(this.match(87)?t="typeof":this.isContextual(126)&&(t="type"),t){let r=this.lookahead(),{type:n}=r;"type"===t&&55===n&&this.unexpected(null,r.type),(ft(n)||5===n||55===n)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,r,n){let i=e.imported,a=null;"Identifier"===i.type&&("type"===i.name?a="type":"typeof"===i.name&&(a="typeof"));let o=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let t=this.parseIdentifier(!0);null===a||H(this.state.type)?(e.imported=i,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=a,e.local=ct(t))}else{if(null!==a&&H(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=a;else{if(t)throw this.raise(b.ImportBindingIsString,{at:e,importName:i.value});e.imported=i,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(o=!0,e.local=ct(e.imported))}let s=dt(e);return r&&s&&this.raise(pt.ImportTypeShorthandOnlyInPureImport,{at:e}),(r||s)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),o&&!r&&!s&&this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,t){let r=e.kind;"get"!==r&&"set"!==r&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var r;let n,i=null;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(i=this.state.clone(),n=this.tryParse((()=>super.parseMaybeAssign(e,t)),i),!n.error)return n.node;let{context:r}=this.state,a=r[r.length-1];(a===T.j_oTag||a===T.j_expr)&&r.pop()}if(null!=(r=n)&&r.error||this.match(47)){var a,o;i=i||this.state.clone();let r,s=this.tryParse((n=>{var i;r=this.flowParseTypeParameterDeclaration();let a=this.forwardNoArrowParamsConversionAt(r,(()=>{let n=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(n,r),n}));null!=(i=a.extra)&&i.parenthesized&&n();let o=this.maybeUnwrapTypeCastExpression(a);return"ArrowFunctionExpression"!==o.type&&n(),o.typeParameters=r,this.resetStartLocationFromNode(o,r),a}),i),c=null;if(s.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(s.node).type){if(!s.error&&!s.aborted)return s.node.async&&this.raise(pt.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:r}),s.node;c=s.node}if(null!=(a=n)&&a.node)return this.state=n.failState,n.node;if(c)return this.state=s.failState,c;throw null!=(o=n)&&o.thrown?n.error:s.thrown?s.error:this.raise(pt.UnexpectedTokenAfterTypeParameter,{at:r})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse((()=>{let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r}));if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,r){if(!r||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(pt.ThisParamMustBeFirst,{at:e.params[t]});return super.checkParams(...arguments)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,r,n){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t)){this.next();let n=this.startNodeAt(t,r);n.callee=e,n.arguments=this.parseCallExpressionArguments(11,!1),e=this.finishNode(n,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){let i=this.state.clone(),a=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t,r)||e()),i);if(!a.error&&!a.aborted)return a.node;let o=this.tryParse((()=>super.parseSubscripts(e,t,r,n)),i);if(o.node&&!o.error)return o.node;if(a.node)return this.state=a.failState,a.node;if(o.node)return this.state=o.failState,o.node;throw a.error||o.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(18)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,n)return i.stop=!0,e;this.next();let a=this.startNodeAt(t,r);return a.callee=e,a.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),a.arguments=this.parseCallExpressionArguments(11,!1),a.optional=!0,this.finishCallExpression(a,!0)}if(!n&&this.shouldParseTypes()&&this.match(47)){let n=this.startNodeAt(t,r);n.callee=e;let a=this.tryParse((()=>(n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),n.arguments=this.parseCallExpressionArguments(11,!1),i.optionalChainMember&&(n.optional=!1),this.finishCallExpression(n,i.optionalChainMember))));if(a.node)return a.error&&(this.state=a.failState),a.node}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t,super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){let r=this.startNodeAt(e,t);if(this.parseFunctionParams(r),this.parseArrow(r))return this.parseArrowExpression(r,void 0,!0)}readToken_mult_modulo(e){let t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){let r=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(pt.UnterminatedFlowComment,{at:this.state.curPosition()}),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(pt.NestedFlowComment,{at:this.state.startLoc});return this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0)}if(!this.state.hasFlowComment)return super.skipBlockComment();{let e=this.input.indexOf("*-/",this.state.pos+2);if(-1===e)throw this.raise(b.UnterminatedComment,{at:this.state.curPosition()});this.state.pos=e+2+3}}skipFlowComment(){let{pos:e}=this.state,t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;let r=this.input.charCodeAt(t+e),n=this.input.charCodeAt(t+e+1);return 58===r&&58===n?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==n&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(b.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,t){let{enumName:r,memberName:n}=t;this.raise(pt.EnumBooleanMemberNotInitialized,{at:e,memberName:n,enumName:r})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?pt.EnumInvalidMemberInitializerSymbolType:pt.EnumInvalidMemberInitializerPrimaryType:pt.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,t){let{enumName:r,memberName:n}=t;this.raise(pt.EnumNumberMemberNotInitialized,{at:e,enumName:r,memberName:n})}flowEnumErrorStringMemberInconsistentlyInitailized(e,t){let{enumName:r}=t;this.raise(pt.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:r})}flowEnumMemberInit(){let e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 130:{let r=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 129:{let r=this.parseStringLiteral(this.state.value);return t()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{let r=this.parseBooleanLiteral(this.match(85));return t()?{type:"boolean",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,r){let{explicitType:n}=t;null!==n&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers(e){let{enumName:t,explicitType:r}=e,n=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}let e=this.startNode(),{id:o,init:s}=this.flowEnumMemberRaw(),c=o.name;if(""===c)continue;/^[a-z]/.test(c)&&this.raise(pt.EnumInvalidMemberName,{at:o,memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:t}),n.has(c)&&this.raise(pt.EnumDuplicateMemberName,{at:o,memberName:c,enumName:t}),n.add(c);let u={enumName:t,explicitType:r,memberName:c};switch(e.id=o,s.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(s.loc,u,"boolean"),e.init=s.value,i.booleanMembers.push(this.finishNode(e,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(s.loc,u,"number"),e.init=s.value,i.numberMembers.push(this.finishNode(e,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(s.loc,u,"string"),e.init=s.value,i.stringMembers.push(this.finishNode(e,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(s.loc,u);case"none":switch(r){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(s.loc,u);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(s.loc,u);break;default:i.defaultedMembers.push(this.finishNode(e,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:i,hasUnknownMembers:a}}flowEnumStringMembers(e,t,r){let{enumName:n}=r;if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(let t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:n});return t}for(let e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:n});return e}flowEnumParseExplicitType(e){let{enumName:t}=e;if(!this.eatContextual(101))return null;if(!W(this.state.type))throw this.raise(pt.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:t});let{value:r}=this.state;return this.next(),"boolean"!==r&&"number"!==r&&"string"!==r&&"symbol"!==r&&this.raise(pt.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:t,invalidEnumType:r}),r}flowEnumBody(e,t){let r=t.name,n=t.loc.start,i=this.flowEnumParseExplicitType({enumName:r});this.expect(5);let{members:a,hasUnknownMembers:o}=this.flowEnumMembers({enumName:r,explicitType:i});switch(e.hasUnknownMembers=o,i){case"boolean":return e.explicitType=!0,e.members=a.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=a.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=a.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let t=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let i=a.booleanMembers.length,o=a.numberMembers.length,s=a.stringMembers.length,c=a.defaultedMembers.length;if(!(i||o||s||c))return t();if(!i&&!o)return e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!o&&!s&&i>=c){for(let e of a.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=a.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!i&&!s&&o>=c){for(let e of a.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=a.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(pt.EnumInconsistentMemberValues,{at:n,enumName:r}),t()}}}flowParseEnumDeclaration(e){let t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){let e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){let t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},typescript:e=>class extends e{getScopeHandler(){return bt}tsIsIdentifier(){return W(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(134)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!W(this.state.type))return;let r=this.state.value;if(-1!==e.indexOf(r)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers(e){let{modified:t,allowedModifiers:r,disallowedModifiers:n,stopOnStartOfClassStaticBlock:i}=e,a=(e,r,n,i)=>{r===n&&t[i]&&this.raise(Et.InvalidModifiersOrder,{at:e,orderedModifiers:[n,i]})},o=(e,r,n,i)=>{(t[n]&&r===i||t[i]&&r===n)&&this.raise(Et.IncompatibleModifiers,{at:e,modifiers:[n,i]})};for(;;){let{startLoc:e}=this.state,s=this.tsParseModifier(r.concat(null!=n?n:[]),i);if(!s)break;St(s)?t.accessibility?this.raise(Et.DuplicateAccessibilityModifier,{at:e,modifier:s}):(a(e,s,s,"override"),a(e,s,s,"static"),a(e,s,s,"readonly"),t.accessibility=s):(Object.hasOwnProperty.call(t,s)?this.raise(Et.DuplicateModifier,{at:e,modifier:s}):(a(e,s,"static","readonly"),a(e,s,"static","override"),a(e,s,"override","readonly"),a(e,s,"abstract","override"),o(e,s,"declare","override"),o(e,s,"static","abstract")),t[s]=!0),null!=n&&n.includes(s)&&this.raise(Et.InvalidModifierOnTypeMember,{at:e,modifier:s})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}throw new Error("Unreachable")}tsParseList(e,t){let r=[];for(;!this.tsIsListTerminator(e);)r.push(t());return r}tsParseDelimitedList(e,t,r){return function(e){if(null==e)throw new Error("Unexpected ".concat(e," value."));return e}(this.tsParseDelimitedListWorker(e,t,!0,r))}tsParseDelimitedListWorker(e,t,r,n){let i=[],a=-1;for(;!this.tsIsListTerminator(e);){a=-1;let n=t();if(null==n)return;if(i.push(n),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(12))}a=this.state.lastTokStart}return n&&(n.value=a),i}tsParseBracketedList(e,t,r,n,i){n||(r?this.expect(0):this.expect(47));let a=this.tsParseDelimitedList(e,t,i);return r?this.expect(3):this.expect(48),a}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(129)||this.raise(Et.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.parseIdentifier(e);for(;this.eat(16);){let r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){let e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsEatThenParseType(81),e.default=this.tsEatThenParseType(29),this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.match(47))return this.tsParseTypeParameters()}tsParseTypeParameters(){let e=this.startNode();this.match(47)||this.match(138)?this.next():this.unexpected();let t={value:-1};return e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0,t),0===e.params.length&&this.raise(Et.EmptyTypeParameters,{at:e}),-1!==t.value&&this.addExtra(e,"trailingComma",t.value),this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(75!==this.lookahead().type)return null;this.next();let e=this.tsParseTypeReference();return e.typeParameters&&this.raise(Et.CannotFindName,{at:e.typeName,name:"const"}),e}tsFillSignature(e,t){let r=19===e;t.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map((e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(Et.UnsupportedSignatureParameterKind,{at:e,type:e.type}),e)))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!W(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);let r=e;if(this.match(10)||this.match(47)){t&&this.raise(Et.ReadonlyForMethodSignature,{at:e});let n=r;n.kind&&this.match(47)&&this.raise(Et.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon();let i="parameters",a="typeAnnotation";if("get"===n.kind)n[i].length>0&&(this.raise(b.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(n[i][0])&&this.raise(Et.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===n.kind){if(1!==n[i].length)this.raise(b.BadSetterArity,{at:this.state.curPosition()});else{let e=n[i][0];this.isThisParam(e)&&this.raise(Et.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===e.type&&e.optional&&this.raise(Et.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===e.type&&this.raise(Et.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}n[a]&&this.raise(Et.SetAccesorCannotHaveReturnType,{at:n[a]})}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}{let e=r;t&&(e.readonly=!0);let n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({modified:e,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]}),this.tsTryParseIndexSignature(e)||(this.parsePropertyName(e),!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,this.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(118):(this.isContextual(118)&&this.next(),!(!this.match(0)||(this.next(),!this.tsIsIdentifier()))&&(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){let e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(118)):this.eatContextual(118)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,r=null;return e.elementTypes.forEach((e=>{var n;let{type:i}=e;t&&"TSRestType"!==i&&"TSOptionalType"!==i&&!("TSNamedTupleMember"===i&&e.optional)&&this.raise(Et.OptionalTypeBeforeRequired,{at:e}),t=t||"TSNamedTupleMember"===i&&e.optional||"TSOptionalType"===i,"TSRestType"===i&&(i=(e=e.typeAnnotation).type);let a="TSNamedTupleMember"===i;r=null!=(n=r)?n:a,r!==a&&this.raise(Et.MixedLabeledAndUnlabeledElements,{at:e})})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let{start:e,startLoc:t}=this.state,r=this.eat(21),n=this.tsParseType(),i=this.eat(17);if(this.eat(14)){let e=this.startNodeAtNode(n);e.optional=i,"TSTypeReference"!==n.type||n.typeParameters||"Identifier"!==n.typeName.type?(this.raise(Et.InvalidTupleMemberLabel,{at:n}),e.label=n):e.label=n.typeName,e.elementType=this.tsParseType(),n=this.finishNode(e,"TSNamedTupleMember")}else if(i){let e=this.startNodeAtNode(n);e.typeAnnotation=n,n=this.finishNode(e,"TSOptionalType")}if(r){let r=this.startNodeAt(e,t);r.typeAnnotation=n,n=this.finishNode(r,"TSRestType")}return n}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){let r=this.startNode();return"TSConstructorType"===e&&(r.abstract=!!t,t&&this.next(),this.next()),this.tsFillSignature(19,r),this.finishNode(r,e)}tsParseLiteralTypeNode(){let e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 130:case 131:case 129:case 85:case 86:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=this.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(113)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 129:case 130:case 131:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){let e=this.startNode(),t=this.lookahead();if(130!==t.type&&131!==t.type)throw this.unexpected();return e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(W(e)||88===e||84===e){let t=88===e?"TSVoidKeyword":84===e?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){let e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{let t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(){let e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Et.UnexpectedReadonly,{at:e})}}tsParseInferType(){let e=this.startNode();this.expectContextual(112);let t=this.startNode();return t.name=this.tsParseTypeParameterName(),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){return function(e){return e>=117&&e<=119}(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(112)?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){let n=this.startNode(),i=this.eat(r),a=[];do{a.push(t())}while(this.eat(r));return 1!==a.length||i?(n.types=a,this.finishNode(n,e)):a[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(W(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,t=e.length;try{return this.parseBindingList(3,93,!0),e.length===t}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{let t=this.startNode();this.expect(e);let r=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(r.parameterName=e,r.asserts=!0,r.typeAnnotation=null,e=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(e,r),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}let i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return n?(r.parameterName=this.parseIdentifier(),r.asserts=n,r.typeAnnotation=null,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);let a=this.tsParseTypeAnnotation(!1);return r.parameterName=i,r.typeAnnotation=a,r.asserts=n,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(113)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(106!==this.state.type)return!1;let e=this.state.containsEsc;return this.next(),!(!W(this.state.type)&&!this.match(78)||(e&&this.raise(b.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),0))}tsParseTypeAnnotation(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.startNode();return this.tsInType((()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){xt(this.state.inType);let e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(81))return e;let t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsParseNonConditionalType(),this.expect(17),t.trueType=this.tsParseType(),this.expect(14),t.falseType=this.tsParseType(),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(120)&&77===this.lookahead().type}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Et.ReservedTypeAssertion,{at:this.state.startLoc});let e=this.startNode(),t=this.tsTryNextParseConstantContext();return e.typeAnnotation=t||this.tsNextThenParseType(),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let t=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));return r.length||this.raise(Et.EmptyHeritageClauseType,{at:t,token:e}),r}tsParseExpressionWithTypeArguments(){let e=this.startNode();return e.expression=this.tsParseEntityName(),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(125),t.declare&&(e.declare=!0),W(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(Et.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeParameters=this.tsTryParseTypeParameters(),e.typeAnnotation=this.tsInType((()=>{if(this.expect(29),this.isContextual(111)&&16!==this.lookahead().type){let e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){let t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){let t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType((()=>this.expect(e)))}tsNextThenParseType(){return this.tsDoThenParseType((()=>this.next()))}tsDoThenParseType(e){return this.tsInType((()=>(e(),this.tsParseType())))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(129)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(29)&&(e.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(122),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?Ie:Fe),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(0),this.expect(5),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,1024),this.eat(16)){let t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(Ee),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(109)?(e.global=!0,e.id=this.parseIdentifier()):this.match(129)?e.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(Ee),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkIdentifier(e.id,Pe),this.expect(29);let r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(Et.ImportAliasHasImportType,{at:r}),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(116)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let e=this.startNode();if(this.expectContextual(116),this.expect(10),!this.match(129))throw this.unexpected();return e.expression=this.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let t=this.state.clone(),r=e();return this.state=t,r}tsTryParseAndCatch(e){let t=this.tryParse((t=>e()||t()));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){let t=this.state.clone(),r=e();if(void 0!==r&&!1!==r)return r;this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,r=this.state.type;return this.isContextual(99)&&(r=74,t="let"),this.tsInAmbientContext((()=>{if(68===r)return e.declare=!0,this.parseFunctionStatement(e,!1,!0);if(80===r)return e.declare=!0,this.parseClass(e,!0,!1);if(122===r)return this.tsParseEnumDeclaration(e,{declare:!0});if(109===r)return this.tsParseAmbientExternalModuleDeclaration(e);if(75===r||74===r)return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,this.parseVarStatement(e,t||this.state.value,!0));if(125===r){let t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}return W(r)?this.tsParseDeclaration(e,this.state.value,!0):void 0}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{let t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case"global":if(this.match(5)){this.scope.enter(Ee),this.prodParam.enter(0);let r=e;return r.global=!0,r.id=t,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||W(this.state.type)))return this.tsParseAbstractDeclaration(e);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(129))return this.tsParseAmbientExternalModuleDeclaration(e);if(W(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&W(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&W(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.match(47))return;let r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let n=this.tsTryParseAndCatch((()=>{let r=this.startNodeAt(e,t);return r.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(r),r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),r}));return this.state.maybeInArrowParameters=r,n?this.parseArrowExpression(n,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),0===e.params.length&&this.raise(Et.EmptyTypeArguments,{at:e}),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return function(e){return e>=120&&e<=126}(this.state.type)}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){let r,n=this.state.start,i=this.state.startLoc,a=!1,o=!1;if(void 0!==e){let t={};this.tsParseModifiers({modified:t,allowedModifiers:["public","private","protected","override","readonly"]}),r=t.accessibility,o=t.override,a=t.readonly,!1===e&&(r||a||o)&&this.raise(Et.UnexpectedParameterModifier,{at:i})}let s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s);let c=this.parseMaybeDefault(s.start,s.loc.start,s);if(r||a||o){let e=this.startNodeAt(n,i);return t.length&&(e.decorators=t),r&&(e.accessibility=r),a&&(e.readonly=a),o&&(e.override=o),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(Et.UnsupportedParameterPropertyKind,{at:e}),e.parameter=c,this.finishNode(e,"TSParameterProperty")}return t.length&&(s.decorators=t),c}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let n="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,n):"TSDeclareFunction"===n&&this.state.isAmbientContext&&(this.raise(Et.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,n,r):super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(Et.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(){let e=super.parseArrayLike(...arguments);return"ArrayExpression"===e.type&&this.tsCheckForInvalidTypeCasts(e.elements),e}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let n=this.startNodeAt(t,r);return n.expression=e,this.finishNode(n,"TSNonNullExpression")}let a=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(n)return i.stop=!0,e;i.optionalChainMember=a=!0,this.next()}if(this.match(47)||this.match(51)){let o,s=this.tsTryParseAndCatch((()=>{if(!n&&this.atPossibleAsyncArrow(e)){let e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e)return e}let s=this.startNodeAt(t,r);s.callee=e;let c=this.tsParseTypeArgumentsInExpression();if(c){if(a&&!this.match(10)&&(o=this.state.curPosition(),this.unexpected()),!n&&this.eat(10))return s.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(s.arguments),s.typeParameters=c,i.optionalChainMember&&(s.optional=a),this.finishCallExpression(s,i.optionalChainMember);if(te(this.state.type)){let n=this.parseTaggedTemplateExpression(e,t,r,i);return n.typeParameters=c,n}}this.unexpected()}));if(o&&this.unexpected(o,10),s)return s}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){if(this.match(47)||this.match(51)){let t=this.tsTryParseAndCatch((()=>{let e=this.tsParseTypeArgumentsInExpression();return this.match(10)||this.unexpected(),e}));t&&(e.typeParameters=t)}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(ee(58)>n&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){let i=this.startNodeAt(t,r);i.expression=e;let a=this.tsTryNextParseConstantContext();return i.typeAnnotation=a||this.tsNextThenParseType(),this.finishNode(i,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){this.state.isAmbientContext||super.checkReservedWord(e,t,r,n)}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",W(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(126)&&12!==t.type&&97!==t.type&&29!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),W(this.state.type)&&29===t.type)return this.tsParseImportEqualsDeclaration(e)}let t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(Et.TypeImportCannotSpecifyDefaultAndNamed,{at:t}),t}parseExport(e){if(this.match(83))return this.next(),this.isContextual(126)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29)){let t=e;return t.expression=this.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){let t=e;return this.expectContextual(124),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return this.isContextual(126)&&5===this.lookahead().type?(this.next(),e.exportKind="type"):e.exportKind="value",super.parseExport(e)}isAbstractClass(){return this.isContextual(120)&&80===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0),e}if(this.match(125)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{isAmbientContext:n}=this.state,i=super.parseVarStatement(e,t,r||n);if(!n)return i;for(let{id:e,init:r}of i.declarations)!r||("const"!==t||e.typeAnnotation?this.raise(Et.InitializerNotAllowedInAmbientContext,{at:r}):"StringLiteral"!==r.type&&"BooleanLiteral"!==r.type&&"NumericLiteral"!==r.type&&"BigIntLiteral"!==r.type&&("TemplateLiteral"!==r.type||r.expressions.length>0)&&!Ct(r)&&this.raise(Et.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:r}));return i}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){let e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}if(this.isContextual(122))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(125)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some((t=>St(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}parseClassMember(e,t,r){let n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:t,allowedModifiers:n,stopOnStartOfClassStaticBlock:!0});let i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,n)&&this.raise(Et.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),this.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,r,!!t.static)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,r,n){let i=this.tsTryParseIndexSignature(t);if(i)return e.body.push(i),t.abstract&&this.raise(Et.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise(Et.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise(Et.IndexSignatureHasDeclare,{at:t}),void(t.override&&this.raise(Et.IndexSignatureHasOverride,{at:t}));!this.state.inAbstractClass&&t.abstract&&this.raise(Et.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(r.hadSuperClass||this.raise(Et.OverrideNotInSubClass,{at:t})),super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(Et.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(Et.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,t){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t):void 0)||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,r,n);let i=this.tryParse((()=>super.parseConditional(e,t,r)));return i.node?(i.error&&(this.state=i.failState),i.node):(i.error&&super.setOptionalParametersError(n,i.error),e)}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(t,r);return n.expression=e,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(121))return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)));let t=this.state.start,r=this.state.startLoc,n=this.eatContextual(121);if(n&&(this.isContextual(121)||!this.shouldParseExportDeclaration()))throw this.raise(Et.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let i=W(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return i?(("TSInterfaceDeclaration"===i.type||"TSTypeAliasDeclaration"===i.type||n)&&(e.exportKind="type"),n&&(this.resetStartLocation(i,t,r),i.declare=!0),i):null}parseClassId(e,t,r){if((!t||r)&&this.isContextual(110))return;super.parseClassId(e,t,r,e.declare?1024:Ne);let n=this.tsTryParseTypeParameters();n&&(e.typeParameters=n)}parseClassPropertyAnnotation(e){!e.optional&&this.eat(35)&&(e.definite=!0);let t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&this.match(29)&&this.raise(Et.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){let{key:t}=e;this.raise(Et.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:"Identifier"!==t.type||e.computed?"[".concat(this.input.slice(t.start,t.end),"]"):t.name})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(Et.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(Et.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,a){let o=this.tsTryParseTypeParameters();o&&i&&this.raise(Et.ConstructorHasTypeParameters,{at:o});let{declare:s=!1,kind:c}=t;s&&("get"===c||"set"===c)&&this.raise(Et.DeclareAccessor,{at:t,kind:c}),o&&(t.typeParameters=o),super.pushClassMethod(e,t,r,n,i,a)}pushClassPrivateMethod(e,t,r,n){let i=this.tsTryParseTypeParameters();i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,r,n)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"===e.type&&!e.value.body||super.declareClassPrivateMethodInScope(e,t))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(110)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e){let t=this.tsTryParseTypeParameters();t&&(e.typeParameters=t);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];super.parseObjPropValue(e,...n)}parseFunctionParams(e,t){let r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i,a,o,s,c,u;let l,p,d,f;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(l=this.state.clone(),p=this.tryParse((()=>super.parseMaybeAssign(...t)),l),!p.error)return p.node;let{context:e}=this.state,r=e[e.length-1];(r===T.j_oTag||r===T.j_expr)&&e.pop()}if(!(null!=(n=p)&&n.error||this.match(47)))return super.parseMaybeAssign(...t);l=l||this.state.clone();let _=this.tryParse((e=>{var r,n,i;f=this.tsParseTypeParameters();let a=super.parseMaybeAssign(...t);return("ArrowFunctionExpression"!==a.type||null!=(r=a.extra)&&r.parenthesized)&&e(),0!==(null==(n=f)?void 0:n.params.length)&&this.resetStartLocationFromNode(a,f),a.typeParameters=f,this.hasPlugin("jsx")&&1===a.typeParameters.params.length&&!(null!=(i=a.typeParameters.extra)&&i.trailingComma)&&a.typeParameters.params[0].constraint,a}),l);if(!_.error&&!_.aborted)return f&&this.reportReservedArrowTypeParam(f),_.node;if(!p&&(xt(!this.hasPlugin("jsx")),d=this.tryParse((()=>super.parseMaybeAssign(...t)),l),!d.error))return d.node;if(null!=(i=p)&&i.node)return this.state=p.failState,p.node;if(_.node)return this.state=_.failState,f&&this.reportReservedArrowTypeParam(f),_.node;if(null!=(a=d)&&a.node)return this.state=d.failState,d.node;throw null!=(o=p)&&o.thrown?p.error:_.thrown?_.error:null!=(s=d)&&s.thrown?d.error:(null==(c=p)?void 0:c.error)||_.error||(null==(u=d)?void 0:u.error)}reportReservedArrowTypeParam(e){var t;1===e.params.length&&(null==(t=e.extra)||!t.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Et.ReservedArrowTypeParam,{at:e})}parseMaybeUnary(e){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e)}parseArrow(e){if(this.match(14)){let t=this.tryParse((e=>{let t=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&e(),t}));if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e){this.eat(17)&&("Identifier"!==e.type&&!this.state.isAmbientContext&&!this.state.inType&&this.raise(Et.PatternIsOptional,{at:e}),e.optional=!0);let t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return!0;default:return super.isAssignable(e,t)}}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":default:return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return e.expression=this.toAssignable(e.expression,t),e}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":return e.expression=this.toAssignable(e.expression,t),e;default:return super.toAssignable(e,t)}}isValidLVal(e,t,r){return((e,t)=>Object.hasOwnProperty.call(e,t)&&e[t])({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==we||t)&&["expression",!0],TSTypeAssertion:(r!==we||t)&&["expression",!0]},e)||super.isValidLVal(e,t,r)}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){let t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=t,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(){let e=super.parseMaybeDefault(...arguments);return"AssignmentPattern"===e.type&&e.typeAnnotation&&e.right.start<e.typeAnnotation.start&&this.raise(Et.TypeAnnotationAfterAssign,{at:e.typeAnnotation}),e}getTokenFromCode(e){if(this.state.inType){if(62===e)return this.finishOp(48,1);if(60===e)return this.finishOp(47,1)}return super.getTokenFromCode(e)}reScan_lt_gt(){let{type:e}=this.state;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e){for(let t=0;t<e.length;t++){let r=e[t];if(r)switch(r.type){case"TSTypeCastExpression":e[t]=this.typeCastToParameter(r);break;case"TSAsExpression":case"TSTypeAssertion":this.state.maybeInArrowParameters?this.raise(Et.UnexpectedTypeCastInParameter,{at:r}):e[t]=this.typeCastToParameter(r)}}return super.toAssignableList(...arguments)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every((e=>this.isAssignable(e,!0))):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let t=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?t+1:t}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){let t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e){let t=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return super.parseClass(e,...n)}finally{this.state.inAbstractClass=t}}tsParseAbstractDeclaration(e){if(this.match(80))return e.abstract=!0,this.parseClass(e,!0,!1);if(this.isContextual(125)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(Et.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(){let e=super.parseMethod(...arguments);if(e.abstract&&(this.hasPlugin("estree")?e.value.body:e.body)){let{key:t}=e;this.raise(Et.AbstractMethodHasImplementation,{at:e,methodName:"Identifier"!==t.type||e.computed?"[".concat(this.input.slice(t.start,t.end),"]"):t.name})}return e}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,r,n){return!t&&n?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,r,n))}parseImportSpecifier(e,t,r,n){return!t&&n?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,r,n))}parseTypeOnlyImportExportSpecifier(e,t,r){let n,i=t?"imported":"local",a=t?"local":"exported",o=e[i],s=!1,c=!0,u=o.loc.start;if(this.isContextual(93)){let e=this.parseIdentifier();if(this.isContextual(93)){let r=this.parseIdentifier();H(this.state.type)?(s=!0,o=e,n=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(n=r,c=!1)}else H(this.state.type)?(c=!1,n=t?this.parseIdentifier():this.parseModuleExportName()):(s=!0,o=e)}else H(this.state.type)&&(s=!0,o=t?this.parseIdentifier():this.parseModuleExportName());s&&r&&this.raise(t?Et.TypeModifierIsUsedInTypeImports:Et.TypeModifierIsUsedInTypeExports,{at:u}),e[i]=o,e[a]=n,e[t?"importKind":"exportKind"]=s?"type":"value",c&&this.eatContextual(93)&&(e[a]=t?this.parseIdentifier():this.parseModuleExportName()),e[a]||(e[a]=ct(e[i])),t&&this.checkIdentifier(e[a],Pe)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),W(this.state.type)){let e=this.parseIdentifierName(this.state.start),r=this.createIdentifier(t,e);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(140)){let t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(140),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let r=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){return 37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(140,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){void 0!==e&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}isValidLVal(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"Placeholder"===e||super.isValidLVal(e,...r)}toAssignable(e){return e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?(e.expectedNode="Pattern",e):super.toAssignable(...arguments)}isLet(e){return!!super.isLet(e)||!(!this.isContextual(99)||e)&&140===this.lookahead().type}verifyBreakContinue(e){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if("Placeholder"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(14)){let r=e;return r.label=this.finishPlaceholder(t,"Identifier"),this.next(),r.body=this.parseStatement("label"),this.finishNode(r,"LabeledStatement")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){let n=t?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(e);let i=this.state.strict,a=this.parsePlaceholder("Identifier");if(a){if(!(this.match(81)||this.match(140)||this.match(5))){if(r||!t)return e.id=null,e.body=this.finishPlaceholder(a,"ClassBody"),this.finishNode(e,n);throw this.raise(kt.ClassNameIsRequired,{at:this.state.startLoc})}e.id=a}else this.parseClassId(e,t,r);return this.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i),this.finishNode(e,n)}parseExport(e){let t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual(97)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(t,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let r=this.startNode();return r.exported=t,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(Z(140),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){let{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter((e=>"Placeholder"===e.exported.type))),super.checkExport(e),e.specifiers=t}parseImport(e){let t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);if(e.specifiers=[],!this.isContextual(97)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let r=this.startNodeAtNode(t);return r.local=t,this.finishNode(r,"ImportDefaultSpecifier"),e.specifiers.push(r),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(97),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(kt.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}},Ot=Object.keys(It),Lt={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0};var Mt=e=>"ParenthesizedExpression"===e.type?Mt(e.expression):e,Rt={kind:"loop"},Bt={kind:"switch"},jt=/[\uD800-\uDFFF]/u,Kt=/in(?:stanceof)?/y;var Jt=class extends class extends class extends class extends class extends class extends class extends class extends class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{let[t,r]=e;if(!this.hasPlugin(t))return!1;let n=this.plugins.get(t);for(let e of Object.keys(r))if((null==n?void 0:n[e])!==r[e])return!1;return!0}}getPluginOption(e,t){var r;return null==(r=this.plugins.get(e))?void 0:r[t]}}{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){let{commentStack:t}=this.state,r=t.length;if(0===r)return;let n=r-1,i=t[n];i.start===e.end&&(i.leadingNode=e,n--);let{start:a}=e;for(;n>=0;n--){let r=t[n],i=r.end;if(!(i>a)){i===a&&(r.trailingNode=e);break}r.containingNode=e,this.finalizeComment(r),t.splice(n,1)}}finalizeComment(e){let{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&Oe(e.leadingNode,t),null!==e.trailingNode&&function(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}(e.trailingNode,t);else{let{containingNode:r,start:n}=e;if(44===this.input.charCodeAt(n-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Me(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":Me(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Me(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Me(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Me(r,r.specifiers,e);break;default:Le(r,t)}else Le(r,t)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:t}=this.state,{length:r}=t;if(0===r)return;let n=t[r-1];n.leadingNode===e&&(n.leadingNode=null)}takeSurroundingComments(e,t,r){let{commentStack:n}=this.state,i=n.length;if(0===i)return;let a=i-1;for(;a>=0;a--){let i=n[a],o=i.end;if(i.start===r)i.leadingNode=e;else if(o===t)i.trailingNode=e;else if(o<t)break}}}{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.state=new qe,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Ye(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){let e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return Ke.lastIndex=e,Ke.test(this.input)?Ke.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e<this.input.length){let r=this.input.charCodeAt(e);56320==(64512&r)&&(t=65536+((1023&t)<<10)+(1023&r))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach((e=>{let[t,r]=e;return this.raise(t,{at:r})})),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(135):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let e;this.isLookahead||(e=this.state.curPosition());let t=this.state.pos,r=this.input.indexOf("*/",t+2);if(-1===r)throw this.raise(b.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=r+2,Be.lastIndex=t+2;Be.test(this.input)&&Be.lastIndex<=r;)++this.state.curLine,this.state.lineStart=Be.lastIndex;if(this.isLookahead)return;let n={type:"CommentBlock",value:this.input.slice(t+2,r),start:t,end:r+2,loc:new u(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}skipLineComment(e){let t,r=this.state.pos;this.isLookahead||(t=this.state.curPosition());let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!je(n)&&++this.state.pos<this.length;)n=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let i=this.state.pos,a={type:"CommentLine",value:this.input.slice(r+e,i),start:r,end:i,loc:new u(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(a),a}skipSpace(){let e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){let r=this.input.charCodeAt(this.state.pos);switch(r){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let e=this.skipBlockComment();void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}case 47:{let e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}default:break e}break;default:if(Ue(r))++this.state.pos;else if(45!==r||this.inModule){if(60!==r||this.inModule)break e;{let e=this.state.pos;if(33!==this.input.charCodeAt(e+1)||45!==this.input.charCodeAt(e+2)||45!==this.input.charCodeAt(e+3))break e;{let e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}else{let r=this.state.pos;if(45!==this.input.charCodeAt(r+1)||62!==this.input.charCodeAt(r+2)||!(0===e||this.state.lineStart>e))break e;{let e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}if(t.length>0){let r={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(r)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;let e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(b.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"hash"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?b.RecordExpressionHashIncorrectStartSyntaxType:b.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else le(t)?(++this.state.pos,this.finishToken(134,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(134,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;let t=this.state.pos;for(this.state.pos+=1;!je(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);let r=this.input.slice(t+2,this.state.pos);return this.finishToken(28,r),!0}readToken_mult_modulo(e){let t=42===e?55:54,r=1,n=this.input.charCodeAt(this.state.pos+1);42===e&&42===n&&(r++,n=this.input.charCodeAt(this.state.pos+2),t=57),61===n&&!this.state.inType&&(r++,t=37===e?33:30),this.finishOp(t,r)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(b.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(b.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?43:45,1):this.finishOp(30,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(30,3):this.finishOp(124===e?41:42,2)}readToken_caret(){let e=this.input.charCodeAt(this.state.pos+1);if(61!==e||this.state.inType)if(94===e&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){if(this.finishOp(37,2),94===this.input.codePointAt(this.state.pos))throw this.unexpected()}else this.finishOp(44,1);else this.finishOp(32,2)}readToken_atSign(){64===this.input.charCodeAt(this.state.pos+1)&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){let t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(60===t)return 61===this.input.charCodeAt(e+2)?void this.finishOp(30,3):void this.finishOp(51,2);61!==t?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(62===t){let t=62===this.input.charCodeAt(e+2)?3:2;return 61===this.input.charCodeAt(e+t)?void this.finishOp(30,t+1):void this.finishOp(52,t)}61!==t?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(e){let t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(61===e?29:35,1);this.finishOp(46,61===this.input.charCodeAt(this.state.pos+2)?3:2)}readToken_question(){let e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63===e?61===t?this.finishOp(30,3):this.finishOp(40,2):46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(b.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(b.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(le(e))return void this.readWord(e)}throw this.raise(b.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){let r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}readRegexp(){let e,t,r=this.state.startLoc,n=this.state.start+1,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(b.UnterminatedRegExp,{at:l(r,1)});let n=this.input.charCodeAt(i);if(je(n))throw this.raise(b.UnterminatedRegExp,{at:l(r,1)});if(e)e=!1;else{if(91===n)t=!0;else if(93===n&&t)t=!1;else if(47===n&&!t)break;e=92===n}}let a=this.input.slice(n,i);++i;let o="",s=()=>l(r,i+2-n);for(;i<this.length;){let e=this.codePointAtPos(i),t=String.fromCharCode(e);if(He.has(e))118===e?(this.expectPlugin("regexpUnicodeSets",s()),o.includes("u")&&this.raise(b.IncompatibleRegExpUVFlags,{at:s()})):117===e&&o.includes("v")&&this.raise(b.IncompatibleRegExpUVFlags,{at:s()}),o.includes(t)&&this.raise(b.DuplicateRegExpFlags,{at:s()});else{if(!pe(e)&&92!==e)break;this.raise(b.MalformedRegExpFlags,{at:s()})}++i,o+=t}this.state.pos=i,this.finishToken(133,{pattern:a,flags:o})}readInt(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=this.state.pos,a=16===e?Ge.hex:Ge.decBinOct,o=16===e?$e.hex:10===e?$e.dec:8===e?$e.oct:$e.bin,s=!1,c=0;for(let i=0,u=null==t?1/0:t;i<u;++i){let t,i=this.input.charCodeAt(this.state.pos);if(95!==i||"bail"===n){if(t=i>=97?i-97+10:i>=65?i-65+10:We(i)?i-48:1/0,t>=e)if(this.options.errorRecovery&&t<=9)t=0,this.raise(b.InvalidDigit,{at:this.state.curPosition(),radix:e});else{if(!r)break;t=0,s=!0}++this.state.pos,c=c*e+t}else{let e=this.input.charCodeAt(this.state.pos-1),t=this.input.charCodeAt(this.state.pos+1);n?(Number.isNaN(t)||!o.has(t)||a.has(e)||a.has(t))&&this.raise(b.UnexpectedNumericSeparator,{at:this.state.curPosition()}):this.raise(b.NumericSeparatorInEscapeSequence,{at:this.state.curPosition()}),++this.state.pos}}return this.state.pos===i||null!=t&&this.state.pos-i!==t||s?null:c}readRadixNumber(e){let t=this.state.curPosition(),r=!1;this.state.pos+=2;let n=this.readInt(e);null==n&&this.raise(b.InvalidDigit,{at:l(t,2),radix:e});let i=this.input.charCodeAt(this.state.pos);if(110===i)++this.state.pos,r=!0;else if(109===i)throw this.raise(b.InvalidDecimal,{at:t});if(le(this.codePointAtPos(this.state.pos)))throw this.raise(b.NumberIdentifier,{at:this.state.curPosition()});if(r){let e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(131,e)}else this.finishToken(130,n)}readNumber(e){let t=this.state.pos,r=this.state.curPosition(),n=!1,i=!1,a=!1,o=!1,s=!1;!e&&null===this.readInt(10)&&this.raise(b.InvalidNumber,{at:this.state.curPosition()});let c=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(c){let e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(b.StrictOctalLiteral,{at:r}),!this.state.strict){let t=e.indexOf("_");t>0&&this.raise(b.ZeroDigitNumericSeparator,{at:l(r,t)})}s=c&&!/[89]/.test(e)}let u=this.input.charCodeAt(this.state.pos);if(46===u&&!s&&(++this.state.pos,this.readInt(10),n=!0,u=this.input.charCodeAt(this.state.pos)),(69===u||101===u)&&!s&&(u=this.input.charCodeAt(++this.state.pos),(43===u||45===u)&&++this.state.pos,null===this.readInt(10)&&this.raise(b.InvalidOrMissingExponent,{at:r}),n=!0,o=!0,u=this.input.charCodeAt(this.state.pos)),110===u&&((n||c)&&this.raise(b.InvalidBigIntLiteral,{at:r}),++this.state.pos,i=!0),109===u&&(this.expectPlugin("decimal",this.state.curPosition()),(o||c)&&this.raise(b.InvalidDecimal,{at:r}),++this.state.pos,a=!0),le(this.codePointAtPos(this.state.pos)))throw this.raise(b.NumberIdentifier,{at:this.state.curPosition()});let p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)return void this.finishToken(131,p);if(a)return void this.finishToken(132,p);let d=s?parseInt(p,8):parseFloat(p);this.finishToken(130,d)}readCodePoint(e){let t;if(123===this.input.charCodeAt(this.state.pos)){if(++this.state.pos,t=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,e),++this.state.pos,null!==t&&t>1114111){if(!e)return null;this.raise(b.InvalidCodePoint,{at:this.state.curPosition()})}}else t=this.readHexChar(4,!1,e);return t}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(b.UnterminatedString,{at:this.state.startLoc});let n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(92===n)t+=this.input.slice(r,this.state.pos),t+=this.readEscapedChar(!1),r=this.state.pos;else if(8232===n||8233===n)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(je(n))throw this.raise(b.UnterminatedString,{at:this.state.startLoc});++this.state.pos}}t+=this.input.slice(r,this.state.pos++),this.finishToken(129,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e="",t=this.state.pos,r=!1;for(++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(b.UnterminatedTemplate,{at:l(this.state.startLoc,1)});let n=this.input.charCodeAt(this.state.pos);if(96===n)return++this.state.pos,e+=this.input.slice(t,this.state.pos),void this.finishToken(24,r?null:e);if(36===n&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos+=2,e+=this.input.slice(t,this.state.pos),void this.finishToken(25,r?null:e);if(92===n){e+=this.input.slice(t,this.state.pos);let n=this.readEscapedChar(!0);null===n?r=!0:e+=n,t=this.state.pos}else if(je(n)){switch(e+=this.input.slice(t,this.state.pos),++this.state.pos,n){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}}recordStrictModeErrors(e,t){let{at:r}=t,n=r.index;this.state.strict&&!this.state.strictErrors.has(n)?this.raise(e,{at:r}):this.state.strictErrors.set(n,[e,r])}readEscapedChar(e){let t=!e,r=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,r){case 110:return"\n";case 114:return"\r";case 120:{let e=this.readHexChar(2,!1,t);return null===e?null:String.fromCharCode(e)}case 117:{let e=this.readCodePoint(t);return null===e?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e)return null;this.recordStrictModeErrors(b.StrictNumericEscape,{at:l(this.state.curPosition(),-1)});default:if(r>=48&&r<=55){let t=l(this.state.curPosition(),-1),r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(r,8);n>255&&(r=r.slice(0,-1),n=parseInt(r,8)),this.state.pos+=r.length-1;let i=this.input.charCodeAt(this.state.pos);if("0"!==r||56===i||57===i){if(e)return null;this.recordStrictModeErrors(b.StrictNumericEscape,{at:t})}return String.fromCharCode(n)}return String.fromCharCode(r)}}readHexChar(e,t,r){let n=this.state.curPosition(),i=this.readInt(16,e,t,!1);return null===i&&(r?this.raise(b.InvalidEscapeSequence,{at:n}):this.state.pos=n.index-1),i}readWord1(e){this.state.containsEsc=!1;let t="",r=this.state.pos,n=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){let e=this.codePointAtPos(this.state.pos);if(pe(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(n,this.state.pos);let e=this.state.curPosition(),i=this.state.pos===r?le:pe;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(b.MissingUnicodeEscape,{at:this.state.curPosition()}),n=this.state.pos-1;continue}++this.state.pos;let a=this.readCodePoint(!0);null!==a&&(i(a)||this.raise(b.EscapedCharNotAnIdentifier,{at:e}),t+=String.fromCodePoint(a)),n=this.state.pos}}}return t+this.input.slice(n,this.state.pos)}readWord(e){let t=this.readWord1(e),r=I.get(t);void 0!==r?this.finishToken(r,Z(r)):this.finishToken(128,t)}checkKeywordEscapes(){let{type:e}=this.state;X(e)&&this.state.containsEsc&&this.raise(b.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:Z(e)})}raise(e,r){let{at:n}=r,i=t(r,Ve),a=e({loc:n instanceof c?n:n.loc.start,details:i});if(!this.options.errorRecovery)throw a;return this.isLookahead||this.state.errors.push(a),a}raiseOverwrite(e,r){let{at:n}=r,i=t(r,ze),a=n instanceof c?n:n.loc.start,o=a.index,s=this.state.errors;for(let t=s.length-1;t>=0;t--){let r=s[t];if(r.loc.index===o)return s[t]=e({loc:a,details:i});if(r.loc.index<o)break}return this.raise(e,r)}updateContext(e){}unexpected(e,t){throw this.raise(b.UnexpectedToken,{expected:t?Z(t):null,at:null!=e?e:this.state.startLoc})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(b.MissingPlugin,{at:null!=t?t:this.state.startLoc,missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e))))throw this.raise(b.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}}{addExtra(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!e)return;let i=e.extra=e.extra||{};n?i[t]=r:Object.defineProperty(i,t,{enumerable:n,value:r})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){let r=e+t.length;if(this.input.slice(e,r)===t){let e=this.input.charCodeAt(r);return!(pe(e)||55296==(64512&e))}return!1}isLookaheadContextual(e){let t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){if(!this.eatContextual(e))throw null!=t?this.raise(t,{at:this.state.startLoc}):this.unexpected(null,e)}canInsertSemicolon(){return this.match(135)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Re.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Je.lastIndex=this.state.end,Je.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(){(arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.eat(13):this.isLineTerminator())||this.raise(b.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.clone(),r={node:null};try{let n=e((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;throw r.node=e,r}));if(this.state.errors.length>t.errors.length){let e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:n,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:n,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){let n=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:n};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:n};throw e}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:r,doubleProtoLoc:n,privateKeyLoc:i,optionalParametersLoc:a}=e;if(!t)return!!(r||n||a||i);null!=r&&this.raise(b.InvalidCoverInitializedName,{at:r}),null!=n&&this.raise(b.DuplicateProto,{at:n}),null!=i&&this.raise(b.UnexpectedPrivateField,{at:i}),null!=a&&this.unexpected(a)}isLiteralPropertyName(){return G(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isOptionalChain(e){return"OptionalMemberExpression"===e.type||"OptionalCallExpression"===e.type}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"module"===this.options.sourceType,t=this.state.labels;this.state.labels=[];let r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let n=this.inModule;this.inModule=e;let i=this.scope,a=this.getScopeHandler();this.scope=new a(this,e);let o=this.prodParam;this.prodParam=new class{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}};let s=this.classScope;this.classScope=new class{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}})}exit(){let e=this.stack.pop(),t=this.current();for(let[r,n]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,n):this.parser.raise(b.InvalidPrivateFieldResolution,{at:n,identifierName:r})}declarePrivateName(e,t,r){let{privateNames:n,loneAccessors:i,undefinedPrivateNames:a}=this.current(),o=n.has(e);if(3&t){let r=o&&i.get(e);if(r){let n=4&r,a=4&t;o=(3&r)==(3&t)||n!==a,o||i.delete(e)}else o||i.set(e,t)}o&&this.parser.raise(b.PrivateNameRedeclaration,{at:r,identifierName:e}),n.add(e),a.delete(e)}usePrivateName(e,t){let r;for(r of this.stack)if(r.privateNames.has(e))return;r?r.undefinedPrivateNames.set(e,t):this.parser.raise(b.InvalidPrivateFieldResolution,{at:t,identifierName:e})}}(this);let c=this.expressionScope;return this.expressionScope=new class{constructor(e){this.parser=void 0,this.stack=[new tt],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){let{at:r}=t,n={at:r.loc.start},{stack:i}=this,a=i.length-1,o=i[a];for(;!o.isCertainlyParameterDeclaration();){if(!o.canBeArrowParameterDeclaration())return;o.recordDeclarationError(e,n),o=i[--a]}this.parser.raise(e,n)}recordParenthesizedIdentifierError(e){let{at:t}=e,{stack:r}=this,n=r[r.length-1],i={at:t.loc.start};if(n.isCertainlyParameterDeclaration())this.parser.raise(b.InvalidParenthesizedAssignment,i);else{if(!n.canBeArrowParameterDeclaration())return;n.recordDeclarationError(b.InvalidParenthesizedAssignment,i)}}recordAsyncArrowParametersError(e){let{at:t}=e,{stack:r}=this,n=r.length-1,i=r[n];for(;i.canBeArrowParameterDeclaration();)2===i.type&&i.recordDeclarationError(b.AwaitBindingIdentifier,{at:t}),i=r[--n]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];!t.canBeArrowParameterDeclaration()||t.iterateErrors((t=>{let[r,n]=t;this.parser.raise(r,{at:n});let i=e.length-2,a=e[i];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(n.index),a=e[--i]}))}}(this),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=n,this.scope=i,this.prodParam=o,this.classScope=s,this.expressionScope=c}}enterInitialScopes(){let e=0;this.inModule&&(e|=2),this.scope.enter(1),this.prodParam.enter(e)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}}{startNode(){return new ot(this,this.state.start,this.state.startLoc)}startNodeAt(e,t){return new ot(this,e,t)}startNodeAtNode(e){return this.startNodeAt(e.start,e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,r){return e.type=t,e.end=r.index,e.loc.end=r,this.options.ranges&&(e.range[1]=r.index),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,t,r){e.start=t,e.loc.start=r,this.options.ranges&&(e.range[0]=t)}resetEndLocation(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;e.end=t.index,e.loc.end=t,this.options.ranges&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.start,t.loc.start)}}{toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var r,n;let i;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(i=Mt(e),t?"Identifier"===i.type?this.expressionScope.recordParenthesizedIdentifierError({at:e}):"MemberExpression"!==i.type&&this.raise(b.InvalidParenthesizedAssignment,{at:e}):this.raise(b.InvalidParenthesizedAssignment,{at:e})),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,i=n-1;r<n;r++){var a;let n=e.properties[r],o=r===i;this.toAssignableObjectExpressionProp(n,o,t),o&&"RestElement"===n.type&&null!=(a=e.extra)&&a.trailingCommaLoc&&this.raise(b.RestTrailingComma,{at:e.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:r,value:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,t);break}case"SpreadElement":{this.checkToRestConversion(e),e.type="RestElement";let r=e.argument;this.toAssignable(r,t);break}case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,null==(n=e.extra)?void 0:n.trailingCommaLoc,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(b.MissingEqInAssignment,{at:e.left.loc.end}),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(i,t)}return e}toAssignableObjectExpressionProp(e,t,r){"ObjectMethod"===e.type?this.raise("get"===e.kind||"set"===e.kind?b.PatternHasAccessor:b.PatternHasMethod,{at:e.key}):"SpreadElement"!==e.type||t?this.toAssignable(e,r):this.raise(b.RestTrailingComma,{at:e})}toAssignableList(e,t,r){let n=e.length;if(n){let i=e[n-1];if("RestElement"===(null==i?void 0:i.type))--n;else if("SpreadElement"===(null==i?void 0:i.type)){i.type="RestElement";let e=i.argument;this.toAssignable(e,r),e=Mt(e),"Identifier"!==e.type&&"MemberExpression"!==e.type&&"ArrayPattern"!==e.type&&"ObjectPattern"!==e.type&&this.unexpected(e.start),t&&this.raise(b.RestTrailingComma,{at:t}),--n}}for(let t=0;t<n;t++){let n=e[t];n&&(this.toAssignable(n,r),"RestElement"===n.type&&this.raise(b.RestTrailingComma,{at:n}))}return e}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let t=e.properties.length-1;return e.properties.every(((e,r)=>"ObjectMethod"!==e.type&&(r===t||"SpreadElement"!==e.type)&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>null===e||this.isAssignable(e)));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(let t of e)"ArrayExpression"===(null==t?void 0:t.type)&&this.toReferencedListDeep(t.elements)}parseSpread(e,t){let r=this.startNode();return this.next(),r.argument=this.parseMaybeAssignAllowIn(e,void 0,t),this.finishNode(r,"SpreadElement")}parseRestBinding(){let e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,!0),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,r,n){let i=[],a=!0;for(;!this.eat(e);)if(a?a=!1:this.expect(12),r&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){if(i.push(this.parseAssignableListItemTypes(this.parseRestBinding())),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{let e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(b.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());i.push(this.parseAssignableListItem(n,e))}}return i}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){let e=this.startNode(),{type:t,start:r,startLoc:n}=this.state;return 21===t?this.parseBindingRestProperty(e):(134===t?(this.expectPlugin("destructuringPrivate",n),this.classScope.usePrivateName(this.state.value,n),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,r,n,!1,!1,!0,!1),e)}parseAssignableListItem(e,t){let r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);let n=this.parseMaybeDefault(r.start,r.loc.start,r);return t.length&&(r.decorators=t),n}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,r){var n,i,a;if(t=null!=(n=t)?n:this.state.startLoc,e=null!=(i=e)?i:this.state.start,r=null!=(a=r)?a:this.parseBindingAtom(),!this.eat(29))return r;let o=this.startNodeAt(e,t);return o.left=r,o.right=this.parseMaybeAssignAllowIn(),this.finishNode(o,"AssignmentPattern")}isValidLVal(e,t,r){return((e,t)=>Object.hasOwnProperty.call(e,t)&&e[t])({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,t){let{in:r,binding:n=we,checkClashes:i=!1,strictModeChanged:a=!1,allowingSloppyLetBinding:o=!(n&Ce),hasParenthesizedAncestor:s=!1}=t;var c;let u=e.type;if(this.isObjectMethod(e))return;if("MemberExpression"===u)return void(n!==we&&this.raise(b.InvalidPropertyBindingPattern,{at:e}));if("Identifier"===e.type){this.checkIdentifier(e,n,a,o);let{name:t}=e;return void(i&&(i.has(t)?this.raise(b.ParamDupe,{at:e}):i.add(t)))}let l=this.isValidLVal(e.type,s||(null==(c=e.extra)?void 0:c.parenthesized),n);if(!0===l)return;if(!1===l){let t=n===we?b.InvalidLhs:b.InvalidLhsBinding;return void this.raise(t,{at:e,ancestor:"UpdateExpression"===r.type?{type:"UpdateExpression",prefix:r.prefix}:{type:r.type}})}let[p,d]=Array.isArray(l)?l:[l,"ParenthesizedExpression"===u],f="ArrayPattern"===e.type||"ObjectPattern"===e.type||"ParenthesizedExpression"===e.type?e:r;for(let t of[].concat(e[p]))t&&this.checkLVal(t,{in:f,binding:n,checkClashes:i,allowingSloppyLetBinding:o,strictModeChanged:a,hasParenthesizedAncestor:d})}checkIdentifier(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:!(t&Ce);this.state.strict&&(r?De(e.name,this.inModule):ve(e.name))&&(t===we?this.raise(b.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(b.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),!n&&"let"===e.name&&this.raise(b.LetInLexicalBinding,{at:e}),t&we||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e){"Identifier"!==e.argument.type&&"MemberExpression"!==e.argument.type&&this.raise(b.InvalidRestAssignmentPattern,{at:e.argument})}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?b.RestTrailingComma:b.ElementAfterRest,{at:this.state.startLoc}),!0)}}{checkProto(e,t,r,n){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;let i=e.key;if("__proto__"===("Identifier"===i.type?i.name:i.value)){if(t)return void this.raise(b.RecordNoProto,{at:i});r.used&&(n?null===n.doubleProtoLoc&&(n.doubleProtoLoc=i.loc.start):this.raise(b.DuplicateProto,{at:i})),r.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let e=this.parseExpression();return this.match(135)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd((()=>this.parseExpressionBase(t))):this.allowInAnd((()=>this.parseExpressionBase(t)))}parseExpressionBase(e){let t=this.state.start,r=this.state.startLoc,n=this.parseMaybeAssign(e);if(this.match(12)){let i=this.startNodeAt(t,r);for(i.expressions=[n];this.eat(12);)i.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var r;e.optionalParametersLoc=null!=(r=null==t?void 0:t.loc)?r:this.state.startLoc}parseMaybeAssign(e,t){let r,n=this.state.start,i=this.state.startLoc;if(this.isContextual(105)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,n,i)),e}e?r=!1:(e=new at,r=!0);let{type:a}=this.state;(10===a||W(a))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(e);if(t&&(o=t.call(this,o,n,i)),function(e){return e>=29&&e<=33}(this.state.type)){let t=this.startNodeAt(n,i),r=this.state.value;return t.operator=r,this.match(29)?(t.left=this.toAssignable(o,!0),null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=n&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=n&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=n&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)):t.left=o,this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(o,{in:this.finishNode(t,"AssignmentExpression")}),t}return r&&this.checkExpressionErrors(e,!0),o}parseMaybeConditional(e){let t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprOps(e);return this.shouldExitDescending(i,n)?i:this.parseConditional(i,t,r,e)}parseConditional(e,t,r,n){if(this.eat(17)){let n=this.startNodeAt(t,r);return n.test=e,n.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),n.alternate=this.parseMaybeAssign(),this.finishNode(n,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(i,n)?i:this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){if(this.isPrivateName(e)){let t=this.getPrivateNameSV(e);(n>=ee(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(b.PrivateInExpectedIn,{at:e,identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}let i=this.state.type;if(function(e){return e>=39&&e<=59}(i)&&(this.prodParam.hasIn||!this.match(58))){let a=ee(i);if(a>n){if(39===i){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,r)}let o=this.startNodeAt(t,r);o.left=e,o.operator=this.state.value;let s=41===i||42===i,c=40===i;if(c&&(a=ee(42)),this.next(),39===i&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(b.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});o.right=this.parseExprOpRightExpr(i,a),this.finishNode(o,s||c?"LogicalExpression":"BinaryExpression");let u=this.state.type;if(c&&(41===u||42===u)||s&&40===u)throw this.raise(b.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(o,t,r,n)}}return e}parseExprOpRightExpr(e,t){let r=this.state.start,n=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(105))throw this.raise(b.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r,n)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){let r=this.state.start,n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,n,function(e){return 57===e}(e)?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,r=this.parseMaybeAssign();return g.has(r.type)&&!(null!=(e=r.extra)&&e.parenthesized)&&this.raise(b.PipeUnparenthesizedBody,{at:t,type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(b.PipeTopicUnused,{at:t}),r}checkExponentialAfterUnary(e){this.match(57)&&this.raise(b.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){let r=this.state.start,n=this.state.startLoc,i=this.isContextual(96);if(i&&this.isAwaitAllowed()){this.next();let e=this.parseAwait(r,n);return t||this.checkExponentialAfterUnary(e),e}let a=this.match(34),o=this.startNode();if(function(e){return U[e]}(this.state.type)){o.operator=this.state.value,o.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let r=this.match(89);if(this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&r){let e=o.argument;"Identifier"===e.type?this.raise(b.StrictDelete,{at:o}):this.hasPropertyAsPrivateName(e)&&this.raise(b.DeletePrivateField,{at:o})}if(!a)return t||this.checkExponentialAfterUnary(o),this.finishNode(o,"UnaryExpression")}let s=this.parseUpdate(o,a,e);if(i){let{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?$(e):$(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(b.AwaitNotInAsyncContext,{at:n}),this.parseAwait(r,n)}return s}parseUpdate(e,t,r){if(t)return this.checkLVal(e.argument,{in:this.finishNode(e,"UpdateExpression")}),e;let n=this.state.start,i=this.state.startLoc,a=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return a;for(;Q(this.state.type)&&!this.canInsertSemicolon();){let e=this.startNodeAt(n,i);e.operator=this.state.value,e.prefix=!1,e.argument=a,this.next(),this.checkLVal(a,{in:a=this.finishNode(e,"UpdateExpression")})}return a}parseExprSubscripts(e){let t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprAtom(e);return this.shouldExitDescending(i,n)?i:this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){let i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,n,i),i.maybeAsyncArrow=!1}while(!i.stop);return e}parseSubscript(e,t,r,n,i){let{type:a}=this.state;if(!n&&15===a)return this.parseBind(e,t,r,n,i);if(te(a))return this.parseTaggedTemplateExpression(e,t,r,i);let o=!1;if(18===a){if(n&&40===this.lookaheadCharCode())return i.stop=!0,e;i.optionalChainMember=o=!0,this.next()}if(!n&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,i,o);{let n=this.eat(0);return n||o||this.eat(16)?this.parseMember(e,t,r,i,n,o):(i.stop=!0,e)}}parseMember(e,t,r,n,i,a){let o=this.startNodeAt(t,r);return o.object=e,o.computed=i,i?(o.property=this.parseExpression(),this.expect(3)):this.match(134)?("Super"===e.type&&this.raise(b.SuperPrivateField,{at:r}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),o.property=this.parsePrivateName()):o.property=this.parseIdentifier(!0),n.optionalChainMember?(o.optional=a,this.finishNode(o,"OptionalMemberExpression")):this.finishNode(o,"MemberExpression")}parseBind(e,t,r,n,i){let a=this.startNodeAt(t,r);return a.object=e,this.next(),a.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(a,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){let a=this.state.maybeInArrowParameters,o=null;this.state.maybeInArrowParameters=!0,this.next();let s=this.startNodeAt(t,r);s.callee=e;let{maybeAsyncArrow:c,optionalChainMember:u}=n;return c&&(this.expressionScope.enter(new rt(2)),o=new at),u&&(s.optional=i),s.arguments=i?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,s,o),this.finishCallExpression(s,u),c&&this.shouldParseAsyncArrow()&&!i?(n.stop=!0,this.checkDestructuringPrivate(o),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),s=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),s)):(c&&(this.checkExpressionErrors(o,!0),this.expressionScope.exit()),this.toReferencedArguments(s)),this.state.maybeInArrowParameters=a,s}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){let i=this.startNodeAt(t,r);return i.tag=e,i.quasi=this.parseTemplate(!0),n.optionalChainMember&&this.raise(b.OptionalChainingNoTemplate,{at:r}),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(b.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let t of e.arguments)"SpreadElement"===t.type&&this.raise(b.ImportCallSpreadArgument,{at:t});return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){let a=[],o=!0,s=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(b.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),n&&this.addTrailingCommaExtraToNode(n),this.next();break}a.push(this.parseExprListItem(!1,i,r))}return this.state.inFSharpPipelineDirectBody=s,a}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(r=t.extra)?void 0:r.trailingCommaLoc),t.innerComments&&Le(e,t.innerComments),t.callee.trailingComments&&Le(e,t.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)}parseExprAtom(e){let t,{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(b.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 130:return this.parseNumericLiteral(this.state.value);case 131:return this.parseBigIntLiteral(this.state.value);case 132:return this.parseDecimalLiteral(this.state.value);case 129:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 80:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;let e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(b.UnsupportedBind,{at:e})}case 134:return this.raise(b.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);throw this.unexpected()}case 47:{let e=this.input.codePointAt(this.nextTokenStart());if(le(e)||62===e){this.expectOnePlugin(["jsx","flow","typescript"]);break}throw this.unexpected()}default:if(W(r)){if(this.isContextual(123)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,r=this.parseIdentifier();if(!t&&"async"===r.name&&!this.canInsertSemicolon()){let{type:e}=this.state;if(68===e)return this.resetPreviousNodeTrailingComments(r),this.next(),this.parseFunction(this.startNodeAtNode(r),void 0,!0);if(W(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r)):r;if(90===e)return this.resetPreviousNodeTrailingComments(r),this.parseDo(this.startNodeAtNode(r),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(r),[r],!1)):r}throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){let r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=l(this.state.endLoc,-1),this.parseTopicReference(r);throw this.unexpected()}parseTopicReference(e){let t=this.startNode(),r=this.state.startLoc,n=this.state.type;return this.next(),this.finishTopicReference(t,r,e,n)}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n)){let n="smart"===r?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===r?b.PrimaryTopicNotAllowed:b.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,n)}throw this.raise(b.PipeTopicUnconfiguredToken,{at:t,token:Z(n)})}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Z(r)}]);case"smart":return 27===r;default:throw this.raise(b.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(it(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(b.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(e,t,!0),e}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();let r=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=r,this.finishNode(e,"DoExpression")}parseSuper(){let e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(b.UnexpectedSuper,{at:e}):this.raise(b.SuperNotAllowed,{at:e}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(b.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(this.state.start+1,new c(this.state.curLine,this.state.start+1-this.state.lineStart,this.state.start+1)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){let e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;let n=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||n)&&this.raise(b.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:r}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){let t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(b.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){return this.addExtra(r,"rawValue",e),this.addExtra(r,"raw",this.input.slice(r.start,this.state.end)),r.value=e,this.next(),this.finishNode(r,t)}parseLiteral(e,t){let r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){let t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){let t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){let e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){let t,r=this.state.start,n=this.state.startLoc;this.next(),this.expressionScope.enter(new rt(1));let i=this.state.maybeInArrowParameters,a=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let o,s,c=this.state.start,u=this.state.startLoc,l=[],p=new at,d=!0;for(;!this.match(11);){if(d)d=!1;else if(this.expect(12,null===p.optionalParametersLoc?null:p.optionalParametersLoc),this.match(11)){s=this.state.startLoc;break}if(this.match(21)){let e=this.state.start,t=this.state.startLoc;if(o=this.state.startLoc,l.push(this.parseParenItem(this.parseRestBinding(),e,t)),!this.checkCommaAfterRest(41))break}else l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem))}let f=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=a;let _=this.startNodeAt(r,n);if(e&&this.shouldParseArrow(l)&&(_=this.parseArrow(_)))return this.checkDestructuringPrivate(p),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(_,l,!1),_;if(this.expressionScope.exit(),l.length||this.unexpected(this.state.lastTokStartLoc),s&&this.unexpected(s),o&&this.unexpected(o),this.checkExpressionErrors(p,!0),this.toReferencedListDeep(l,!0),l.length>1?(t=this.startNodeAt(c,u),t.expressions=l,this.finishNode(t,"SequenceExpression"),this.resetEndLocation(t,f)):t=l[0],!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",r),this.takeSurroundingComments(t,r,this.state.lastTokEndLoc.index),t;let m=this.startNodeAt(r,n);return m.expression=t,this.finishNode(m,"ParenthesizedExpression"),m}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();let r=this.parseMetaProperty(e,t,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&this.raise(b.UnexpectedNewTarget,{at:r}),r}return this.parseNew(e)}parseNew(e){return e.callee=this.parseNoCallExpr(),"Import"===e.callee.type?this.raise(b.ImportCallNotNewExpression,{at:e.callee}):this.isOptionalChain(e.callee)?this.raise(b.OptionalChainingNoNew,{at:this.state.lastTokEndLoc}):this.eat(18)&&this.raise(b.OptionalChainingNoNew,{at:this.state.startLoc}),this.parseNewArguments(e),this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[]}parseTemplateElement(e){let{start:t,startLoc:r,end:n,value:i}=this.state,a=t+1,o=this.startNodeAt(a,l(r,1));null===i&&(e||this.raise(b.InvalidEscapeSequenceTemplate,{at:l(r,2)}));let s=this.match(24),c=s?-1:-2,u=n+c;return o.value={raw:this.input.slice(a,u).replace(/\r\n?/g,"\n"),cooked:null===i?null:i.slice(1,c)},o.tail=s,this.next(),this.finishNode(o,"TemplateElement"),this.resetEndLocation(o,l(this.state.lastTokEndLoc,c)),o}parseTemplate(e){let t=this.startNode();t.expressions=[];let r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(r=this.parseTemplateElement(e));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){r&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=Object.create(null),o=!0,s=this.startNode();for(s.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(s);break}let i;t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(n),this.checkProto(i,r,a,n)),r&&!this.isObjectProperty(i)&&"SpreadElement"!==i.type&&this.raise(b.InvalidRecordProperty,{at:i}),i.shorthand&&this.addExtra(i,"shorthand",!0),s.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let c="ObjectExpression";return t?c="ObjectPattern":r&&(c="RecordExpression"),this.finishNode(s,c)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(b.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let r,n,i=this.startNode(),a=!1,o=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(i.decorators=t,t=[]),i.method=!1,e&&(r=this.state.start,n=this.state.startLoc);let s=this.eat(55);this.parsePropertyNamePrefixOperator(i);let c=this.state.containsEsc,u=this.parsePropertyName(i,e);if(!s&&!c&&this.maybeAsyncOrAccessorProp(i)){let e=u.name;"async"===e&&!this.hasPrecedingLineBreak()&&(a=!0,this.resetPreviousNodeTrailingComments(u),s=this.eat(55),this.parsePropertyName(i)),("get"===e||"set"===e)&&(o=!0,this.resetPreviousNodeTrailingComments(u),i.kind=e,this.match(55)&&(s=!0,this.raise(b.AccessorIsGenerator,{at:this.state.curPosition(),kind:e}),this.next()),this.parsePropertyName(i))}return this.parseObjPropValue(i,r,n,s,a,!1,o,e),i}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;let r=this.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e);n.length!==r&&this.raise("get"===e.kind?b.BadGetterArity:b.BadSetterArity,{at:e}),"set"===e.kind&&"RestElement"===(null==(t=n[n.length-1])?void 0:t.type)&&this.raise(b.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,r,n,i){return i?(this.parseMethod(e,t,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(e),e):r||t||this.match(10)?(n&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")):void 0}parseObjectProperty(e,t,r,n,i){if(e.shorthand=!1,this.eat(14))return e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),n)e.value=this.parseMaybeDefault(t,r,ct(e.key));else if(this.match(29)){let n=this.state.startLoc;null!=i?null===i.shorthandAssignLoc&&(i.shorthandAssignLoc=n):this.raise(b.InvalidCoverInitializedName,{at:n}),e.value=this.parseMaybeDefault(t,r,ct(e.key))}else e.value=ct(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,i,a,o,s){let c=this.parseObjectMethod(e,n,i,a,o)||this.parseObjectProperty(e,t,r,a,s);return c||this.unexpected(),c}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let r,{type:n,value:i}=this.state;if(H(n))r=this.parseIdentifier(!0);else switch(n){case 130:r=this.parseNumericLiteral(i);break;case 129:r=this.parseStringLiteral(i);break;case 131:r=this.parseBigIntLiteral(i);break;case 132:r=this.parseDecimalLiteral(i);break;case 134:{let e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(b.UnexpectedPrivateField,{at:e}),r=this.parsePrivateName();break}default:throw this.unexpected()}e.key=r,134!==n&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=!!t}parseMethod(e,t,r,n,i,a){let o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];this.initFunction(e,r),e.generator=!!t;let s=n;return this.scope.enter(18|(o?xe:0)|(i?32:0)),this.prodParam.enter(it(r,e.generator)),this.parseFunctionParams(e,s),this.parseFunctionBodyAndFinish(e,a,!0),this.prodParam.exit(),this.scope.exit(),e}parseArrayLike(e,t,r,n){r&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=this.startNode();return this.next(),a.elements=this.parseExprList(e,!r,n,a),this.state.inFSharpPipelineDirectBody=i,this.finishNode(a,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(6);let i=it(r,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(e,r);let a=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,n)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,!1)}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t&&!this.match(5);if(this.expressionScope.enter(nt()),n)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{let n=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,(i=>{let a=!this.isSimpleParamList(e.params);i&&a&&this.raise(b.IllegalLanguageModeDirective,{at:"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end});let o=!n&&this.state.strict;this.checkParams(e,!(this.state.strict||t||r||a),t,o),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,o)})),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,r=e.length;t<r;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!t&&new Set,a={type:"FormalParameters"};for(let t of e.params)this.checkLVal(t,{in:a,binding:5,checkClashes:i,strictModeChanged:n})}parseExprList(e,t,r,n){let i=[],a=!0;for(;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){n&&this.addTrailingCommaExtraToNode(n),this.next();break}i.push(this.parseExprListItem(t,r))}return i}parseExprListItem(e,t,r){let n;if(this.match(12))e||this.raise(b.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),n=null;else if(this.match(21)){let e=this.state.start,r=this.state.startLoc;n=this.parseParenItem(this.parseSpread(t),e,r)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(b.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let e=this.startNode();this.next(),n=this.finishNode(e,"ArgumentPlaceholder")}else n=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return n}parseIdentifier(e){let t=this.startNode(),r=this.parseIdentifierName(t.start,e);return this.createIdentifier(t,r)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e,t){let r,{startLoc:n,type:i}=this.state;if(!H(i))throw this.unexpected();r=this.state.value;let a=function(e){return e<=92}(i);return t?a&&this.replaceToken(128):this.checkReservedWord(r,n,a,!1),this.next(),r}checkReservedWord(e,t,r,n){if(!(e.length>10)&&function(e){return be.has(e)}(e)){if("yield"===e){if(this.prodParam.hasYield)return void this.raise(b.YieldBindingIdentifier,{at:t})}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(b.AwaitBindingIdentifier,{at:t});if(this.scope.inStaticBlock)return void this.raise(b.AwaitBindingIdentifierInStaticBlock,{at:t});this.expressionScope.recordAsyncArrowParametersError({at:t})}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(b.ArgumentsInClass,{at:t});r&&function(e){return _e.has(e)}(e)?this.raise(b.UnexpectedKeyword,{at:t,keyword:e}):(this.state.strict?n?De:ye:he)(e,this.inModule)&&this.raise(b.UnexpectedReservedWord,{at:t,reservedWord:e})}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(e,t){let r=this.startNodeAt(e,t);return this.expressionScope.recordParameterInitializerError(b.AwaitExpressionFormalParameter,{at:r}),this.eat(55)&&this.raise(b.ObsoleteAwaitStar,{at:r}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(r.argument=this.parseMaybeUnary(null,!0)),this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return 53===e||10===e||0===e||te(e)||133===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){let e=this.startNode();this.expressionScope.recordParameterInitializerError(b.YieldInParameter,{at:e}),this.next();let t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 135:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}return e.delegate=t,e.argument=r,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(b.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(e,t,r){let n=this.startNodeAt(t,r);return this.isSimpleReference(e)?(n.callee=e,this.finishNode(n,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(r),n.expression=e,this.finishNode(n,"PipelineTopicExpression"))}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(b.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(b.PipelineTopicUnused,{at:e})}withTopicBindingContext(e){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();{let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){let t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(8|t);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags();if(8&t){this.prodParam.enter(-9&t);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){let t=this.state.start,r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,r,e);return this.state.inFSharpPipelineDirectBody=n,i}parseModuleExpression(){this.expectPlugin("moduleBlocks");let e=this.startNode();this.next(),this.eat(5);let t=this.initializeScopes(!0);this.enterInitialScopes();let r=this.startNode();try{e.body=this.parseProgram(r,8,"module")}finally{t()}return this.eat(8),this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=function(e,t){for(let r=0;r<e.length;r++){let n=e[r],{type:i}=n;if("number"==typeof i){if(134===i){let{loc:t,start:i,value:a,end:o}=n,s=i+1,c=l(t.start,1);e.splice(r,1,new Ye({type:re(27),value:"#",start:i,end:s,startLoc:t.start,endLoc:c}),new Ye({type:re(128),value:a,start:s,end:o,startLoc:c,endLoc:t.end})),r++;continue}if(te(i)){let a,o,s,c,u,{loc:p,start:d,value:f,end:_}=n,m=d+1,g=l(p.start,1);a=96===t.charCodeAt(d)?new Ye({type:re(22),value:"`",start:d,end:m,startLoc:p.start,endLoc:g}):new Ye({type:re(8),value:"}",start:d,end:m,startLoc:p.start,endLoc:g}),24===i?(s=_-1,c=l(p.end,-1),o=null===f?null:f.slice(1,-1),u=new Ye({type:re(22),value:"`",start:s,end:_,startLoc:c,endLoc:p.end})):(s=_-2,c=l(p.end,-2),o=null===f?null:f.slice(1,-2),u=new Ye({type:re(23),value:"${",start:s,end:_,startLoc:c,endLoc:p.end})),e.splice(r,1,a,new Ye({type:re(20),value:o,start:m,end:s,startLoc:g,endLoc:c}),u),r+=2;continue}n.type=re(i)}}return e}(this.tokens,this.input)),this.finishNode(e,"File")}parseProgram(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:135,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.options.sourceType;if(e.sourceType=r,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[e,t]of Array.from(this.scope.undefinedExports))this.raise(b.ModuleExportUndefined,{at:t,localName:e});return this.finishNode(e,"Program")}stmtToDirective(e){let t=e;t.type="Directive",t.value=t.expression,delete t.expression;let r=t.value,n=r.value,i=this.input.slice(r.start,r.end),a=r.value=i.slice(1,-1);return this.addExtra(r,"raw",i),this.addExtra(r,"rawValue",a),this.addExtra(r,"expressionValue",n),r.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;let e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(e){return!!this.isContextual(99)&&this.isLetKeyword(e)}isLetKeyword(e){let t=this.nextTokenStart(),r=this.codePointAtPos(t);if(92===r||91===r)return!0;if(e)return!1;if(123===r)return!0;if(le(r)){if(Kt.lastIndex=t,Kt.test(this.input)){let e=this.codePointAtPos(Kt.lastIndex);if(!pe(e)&&92!==e)return!1}return!0}return!1}parseStatement(e,t){return this.match(26)&&this.parseDecorators(!0),this.parseStatementContent(e,t)}parseStatementContent(e,t){let r,n=this.state.type,i=this.startNode();switch(this.isLet(e)&&(n=74,r="let"),n){case 60:return this.parseBreakContinueStatement(i,!0);case 63:return this.parseBreakContinueStatement(i,!1);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoStatement(i);case 91:return this.parseForStatement(i);case 68:if(46===this.lookaheadCharCode())break;return e&&(this.state.strict?this.raise(b.StrictFunction,{at:this.state.startLoc}):"if"!==e&&"label"!==e&&this.raise(b.SloppyFunction,{at:this.state.startLoc})),this.parseFunctionStatement(i,!1,!e);case 80:return e&&this.unexpected(),this.parseClass(i,!0);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 75:case 74:return r=r||this.state.value,e&&"var"!==r&&this.raise(b.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(i,r);case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{let e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return!this.options.allowImportExportEverywhere&&!t&&this.raise(b.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),83===n?(e=this.parseImport(i),"ImportDeclaration"===e.type&&(!e.importKind||"value"===e.importKind)&&(this.sawUnambiguousESM=!0)):(e=this.parseExport(i),("ExportNamedDeclaration"===e.type&&(!e.exportKind||"value"===e.exportKind)||"ExportAllDeclaration"===e.type&&(!e.exportKind||"value"===e.exportKind)||"ExportDefaultDeclaration"===e.type)&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(i),e}default:if(this.isAsyncFunction())return e&&this.raise(b.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(i,!0,!e)}let a=this.state.value,o=this.parseExpression();return W(n)&&"Identifier"===o.type&&this.eat(14)?this.parseLabeledStatement(i,a,o,e):this.parseExpressionStatement(i,o)}assertModuleNodeAllowed(e){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(b.ImportOutsideModule,{at:e})}takeDecorators(e){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(e.decorators=t,this.resetStartLocationFromNode(e,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(26);){let e=this.parseDecorator();t.push(e)}if(this.match(82))e||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(b.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(b.UnexpectedLeadingDecorator,{at:this.state.startLoc})}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);let e=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);let t,r=this.state.start,n=this.state.startLoc;if(this.eat(10))t=this.parseExpression(),this.expect(11);else for(t=this.parseIdentifier(!1);this.eat(16);){let e=this.startNodeAt(r,n);e.object=t,e.property=this.parseIdentifier(!0),e.computed=!1,t=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(t),this.state.decoratorStack.pop()}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){let t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let r;for(r=0;r<this.state.labels.length;++r){let n=this.state.labels[r];if((null==e.label||n.name===e.label.name)&&(null!=n.kind&&(t||"loop"===n.kind)||e.label&&t))break}if(r===this.state.labels.length){let r=t?"BreakStatement":"ContinueStatement";this.raise(b.IllegalBreakContinue,{at:e,type:r})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let e=this.parseExpression();return this.expect(11),e}parseDoStatement(e){return this.next(),this.state.labels.push(Rt),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("do"))),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(Rt);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);let r=this.isContextual(99),n=r&&this.isLetKeyword();if(this.match(74)||this.match(75)||n){let r=this.startNode(),i=n?"let":this.state.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.match(58)||this.isContextual(101))&&1===r.declarations.length?this.parseForIn(e,r,t):(null!==t&&this.unexpected(t),this.parseFor(e,r))}let i=this.isContextual(95),a=new at,o=this.parseExpression(!0,a),s=this.isContextual(101);if(s&&(r&&this.raise(b.ForOfLet,{at:o}),null===t&&i&&"Identifier"===o.type&&this.raise(b.ForOfAsync,{at:o})),s||this.match(58)){this.checkDestructuringPrivate(a),this.toAssignable(o,!0);let r=s?"ForOfStatement":"ForInStatement";return this.checkLVal(o,{in:{type:r}}),this.parseForIn(e,o,t)}return this.checkExpressionErrors(a,!0),null!==t&&this.unexpected(t),this.parseFor(e,o)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,1|(r?0:2),t)}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(66)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(b.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();let t,r,n=e.cases=[];for(this.expect(5),this.state.labels.push(Bt),this.scope.enter(0);!this.match(8);)if(this.match(61)||this.match(65)){let e=this.match(61);t&&this.finishNode(t,"SwitchCase"),n.push(t=this.startNode()),t.consequent=[],this.next(),e?t.test=this.parseExpression():(r&&this.raise(b.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),r=!0,t.test=null),this.expect(14)}else t?t.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(b.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){let e=this.parseBindingAtom(),t="Identifier"===e.type;return this.scope.enter(t?8:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:Pe,allowingSloppyLetBinding:!0}),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){let t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(0)),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(67)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(b.NoCatchOrFinally,{at:e}),this.finishNode(e,"TryStatement")}parseVarStatement(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(Rt),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("while"))),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(b.StrictWith,{at:this.state.startLoc}),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("with"))),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(let e of this.state.labels)e.name===t&&this.raise(b.LabelRedeclaration,{at:r,labelName:t});let i=function(e){return e>=90&&e<=92}(this.state.type)?"loop":this.match(71)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){let r=this.state.labels[t];if(r.statementStart!==e.start)break;r.statementStart=this.state.start,r.kind=i}return this.state.labels.push({name:t,kind:i,statementStart:this.state.start}),e.body=this.parseStatement(n?-1===n.indexOf("label")?n+"label":n:"label"),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0,n=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(n,e,!1,8,r),t&&this.scope.exit(),this.finishNode(n,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){let a=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(a,t?o:void 0,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){let a=this.state.strict,o=!1,s=!1;for(;!this.match(n);){let n=this.parseStatement(null,r);if(t&&!s){if(this.isValidDirective(n)){let e=this.stmtToDirective(n);t.push(e),!o&&"use strict"===e.value.value&&(o=!0,this.setStrict(!0));continue}s=!0,this.state.strictErrors.clear()}e.push(n)}i&&i.call(this,o),a||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){let n=this.match(58);return this.next(),n?null!==r&&this.unexpected(r):e.await=null!==r,"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||this.state.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(b.ForInOfLoopInitializer,{at:t,type:n?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(b.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.declarations=[];for(e.kind=r;;){let e=this.startNode();if(this.parseVarId(e,r),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null===e.init&&!n&&("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(101))?"const"===r&&!(this.match(58)||this.isContextual(101))&&this.raise(b.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(b.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),i.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,{in:{type:"VariableDeclarator"},binding:"var"===t?5:Pe})}parseFunction(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=1&t,i=2&t,a=!(!n||4&t);this.initFunction(e,r),this.match(55)&&i&&this.raise(b.GeneratorInSingleStatementContext,{at:this.state.startLoc}),e.generator=this.eat(55),n&&(e.id=this.parseFunctionId(a));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(it(r,e.generator)),n||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),n&&!i&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||W(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new tt(3)),e.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(e){!e.id||this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:Pe:17,e.id.loc.start)}parseClass(e,t,r){this.next(),this.takeDecorators(e);let n=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,n),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!(e.computed||e.static||"constructor"!==e.key.name&&"constructor"!==e.key.value)}parseClassBody(e,t){this.classScope.enter();let r={hadConstructor:!1,hadSuperClass:e},n=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(n.length>0)throw this.raise(b.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){n.push(this.parseDecorator());continue}let e=this.startNode();n.length&&(e.decorators=n,this.resetStartLocationFromNode(e,n[0]),n=[]),this.parseClassMember(i,e,r),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(b.DecoratorConstructor,{at:e})}})),this.state.strict=t,this.next(),n.length)throw this.raise(b.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){let r=this.parseIdentifier(!0);if(this.isClassMethod()){let n=t;return n.kind="method",n.computed=!1,n.key=r,n.static=!1,this.pushClassMethod(e,n,!1,!1,!1,!1),!0}if(this.isClassProperty()){let n=t;return n.computed=!1,n.key=r,n.static=!1,e.body.push(this.parseClassProperty(n)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(e,t,r){let n=this.isContextual(104);if(n){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){let i=t,a=t,o=t,s=t,c=t,u=i,l=i;if(t.static=n,this.parsePropertyNamePrefixOperator(t),this.eat(55)){u.kind="method";let t=this.match(134);return this.parseClassElementName(u),t?void this.pushClassPrivateMethod(e,a,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(b.ConstructorIsGenerator,{at:i.key}),void this.pushClassMethod(e,i,!0,!1,!1,!1))}let p=W(this.state.type)&&!this.state.containsEsc,d=this.match(134),f=this.parseClassElementName(t),_=this.state.startLoc;if(this.parsePostMemberNameModifiers(l),this.isClassMethod()){if(u.kind="method",d)return void this.pushClassPrivateMethod(e,a,!1,!1);let n=this.isNonstaticConstructor(i),o=!1;n&&(i.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(b.DuplicateConstructor,{at:f}),n&&this.hasPlugin("typescript")&&t.override&&this.raise(b.OverrideOnConstructor,{at:f}),r.hadConstructor=!0,o=r.hadSuperClass),this.pushClassMethod(e,i,!1,!1,n,o)}else if(this.isClassProperty())d?this.pushClassPrivateProperty(e,s):this.pushClassProperty(e,o);else if(p&&"async"===f.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(f);let t=this.eat(55);l.optional&&this.unexpected(_),u.kind="method";let r=this.match(134);this.parseClassElementName(u),this.parsePostMemberNameModifiers(l),r?this.pushClassPrivateMethod(e,a,t,!0):(this.isNonstaticConstructor(i)&&this.raise(b.ConstructorIsAsync,{at:i.key}),this.pushClassMethod(e,i,t,!0,!1,!1))}else if(!p||"get"!==f.name&&"set"!==f.name||this.match(55)&&this.isLineTerminator())if(p&&"accessor"===f.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(f);let t=this.match(134);this.parseClassElementName(o),this.pushClassAccessorProperty(e,c,t)}else this.isLineTerminator()?d?this.pushClassPrivateProperty(e,s):this.pushClassProperty(e,o):this.unexpected();else{this.resetPreviousNodeTrailingComments(f),u.kind=f.name;let t=this.match(134);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,a,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(b.ConstructorIsAccessor,{at:i.key}),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}}parseClassElementName(e){let{type:t,value:r}=this.state;if((128===t||129===t)&&e.static&&"prototype"===r&&this.raise(b.StaticPrototype,{at:this.state.startLoc}),134===t){"constructor"===r&&this.raise(b.ConstructorClassPrivateField,{at:this.state.startLoc});let t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter(208);let n=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=n,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(b.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){!t.computed&&("constructor"===t.key.name||"constructor"===t.key.value)&&this.raise(b.ConstructorClassField,{at:t.key}),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){let r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassAccessorProperty(e,t,r){if(!r&&!t.computed){let e=t.key;("constructor"===e.name||"constructor"===e.value)&&this.raise(b.ConstructorClassField,{at:e})}let n=this.parseClassAccessorProperty(t);e.body.push(n),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),0,n.key.loc.start)}pushClassMethod(e,t,r,n,i,a){e.body.push(this.parseMethod(t,r,n,i,a,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,n){let i=this.parseMethod(t,r,n,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);let a="get"===i.kind?i.static?6:2:"set"===i.kind?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,a)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(80),this.expressionScope.enter(nt()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ne;if(W(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,n);else{if(!r&&t)throw this.raise(b.MissingClassName,{at:this.state.startLoc});e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e){let t=this.maybeParseExportDefaultSpecifier(e),r=!t||this.eat(12),n=r&&this.eatExportStar(e),i=n&&this.maybeParseExportNamespaceSpecifier(e),a=r&&(!i||this.eat(12)),o=t||n;if(n&&!i)return t&&this.unexpected(),this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration");let s,c=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!c||i&&a&&!c)throw this.unexpected(null,5);if(o||c?(s=!1,this.parseExportFrom(e,o)):s=this.maybeParseExportDeclaration(e),o||c||s)return this.checkExport(e,!0,!1,!!e.source),this.finishNode(e,"ExportNamedDeclaration");if(this.eat(65))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");throw this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){e.specifiers||(e.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(e.specifiers=[]);let t="type"===e.exportKind;return e.specifiers.push(...this.parseExportSpecifiers(t)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenStart();return!Re.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){let e=this.startNode(),t=this.isAsyncFunction();if(this.match(68)||t)return this.next(),t&&this.next(),this.parseFunction(e,5,t);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(b.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(b.UnsupportedDefaultExport,{at:this.state.startLoc});let r=this.parseMaybeAssignAllowIn();return this.semicolon(),r}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){let{type:e}=this.state;if(W(e)){if(95===e&&!this.state.containsEsc||99===e)return!1;if((126===e||125===e)&&!this.state.containsEsc){let{type:e}=this.lookahead();if(W(e)&&97!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||W(this.state.type)&&r)return!0;if(this.match(65)&&r){let e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource(),this.checkExport(e);let t=this.maybeParseImportAssertions();t&&(e.assertions=t)}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;if(26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(this.getPluginOption("decorators","decoratorsBeforeExport"))throw this.raise(b.DecoratorBeforeExport,{at:this.state.startLoc});return!0}return 74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var i;let t=e.declaration;"Identifier"===t.type&&"from"===t.name&&t.end-t.start==4&&(null==(i=t.extra)||!i.parenthesized)&&this.raise(b.ExportDefaultFromAsIdentifier,{at:t})}}else if(e.specifiers&&e.specifiers.length)for(let t of e.specifiers){let{exported:e}=t,r="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,r),!n&&t.local){let{local:e}=t;"Identifier"!==e.type?this.raise(b.ExportBindingIsString,{at:t,localName:e.value,exportName:r}):(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){let t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(let t of e.declaration.declarations)this.checkDeclaration(t.id);if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(b.UnsupportedDecoratorExport,{at:e})}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(let t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(let t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(b.DuplicateDefaultExport,{at:e}):this.raise(b.DuplicateExport,{at:e,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){let t=[],r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else if(this.expect(12),this.eat(8))break;let n=this.isContextual(126),i=this.match(129),a=this.startNode();a.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(a,i,e,n))}return t}parseExportSpecifier(e,t,r,n){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=ut(e.local):e.exported||(e.exported=ct(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(129)){let e=this.parseStringLiteral(this.state.value),t=e.value.match(jt);return t&&this.raise(b.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}parseImport(e){if(e.specifiers=[],!this.match(129)){let t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),r=t&&this.maybeParseStarImportSpecifier(e);t&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(97)}e.source=this.parseImportSource();let t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{let t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(129)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return W(this.state.type)}parseImportSpecifierLocal(e,t,r){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}finishImportSpecifier(e,t){return this.checkLVal(e.local,{in:e,binding:Pe}),this.finishNode(e,t)}parseAssertEntries(){let e=[],t=new Set;do{if(this.match(8))break;let r=this.startNode(),n=this.state.value;if(t.has(n)&&this.raise(b.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:n}),t.add(n),this.match(129)?r.key=this.parseStringLiteral(n):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(129))throw this.raise(b.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(76)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();let e=[],t=new Set;do{let r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(b.ModuleAttributeDifferentFromType,{at:r.key}),t.has(r.key.name)&&this.raise(b.ModuleAttributesWithDuplicateKeys,{at:r.key,key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(129))throw this.raise(b.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(94)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);let e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(b.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let r=this.startNode(),n=this.match(129),i=this.isContextual(126);r.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(r,n,"type"===e.importKind||"typeof"===e.importKind,i);e.specifiers.push(a)}}parseImportSpecifier(e,t,r,n){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:r}=e;if(t)throw this.raise(b.ImportBindingIsString,{at:e,importName:r.value});this.checkReservedWord(r.name,e.loc.start,!0,!0),e.local||(e.local=ct(r))}return this.finishImportSpecifier(e,"ImportSpecifier")}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}{constructor(e,t){super(e=function(e){let t={};for(let r of Object.keys(Lt))t[r]=e&&null!=e[r]?e[r]:Lt[r];return t}(e),t),this.options=e,this.initializeScopes(),this.plugins=function(e){let t=new Map;for(let r of e){let[e,n]=Array.isArray(r)?r:[r,{}];t.has(e)||t.set(e,n||{})}return t}(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return Qe}parse(){this.enterInitialScopes();let e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}};var Ut=function(e){let t={};for(let r of Object.keys(e))t[r]=re(e[r]);return t}(z);function qt(e,t){let r=Jt;return null!=e&&e.plugins&&(function(e){if(At(e,"decorators")){if(At(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=Nt(e,"decorators","decoratorsBeforeExport");if(null==t)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if("boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(At(e,"flow")&&At(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(At(e,"placeholders")&&At(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(At(e,"pipelineOperator")){let t=Nt(e,"pipelineOperator","proposal");if(!Pt.includes(t)){let e=Pt.map((e=>'"'.concat(e,'"'))).join(", ");throw new Error('"pipelineOperator" requires "proposal" option whose value must be one of: '.concat(e,"."))}let r=At(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(At(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(At(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let t=Nt(e,"pipelineOperator","topicToken");if(!Ft.includes(t)){let e=Ft.map((e=>'"'.concat(e,'"'))).join(", ");throw new Error('"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: '.concat(e,"."))}if("#"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(At(e,"moduleAttributes")){if(At(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==Nt(e,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(At(e,"recordAndTuple")&&!wt.includes(Nt(e,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+wt.map((e=>"'".concat(e,"'"))).join(", "));if(At(e,"asyncDoExpressions")&&!At(e,"doExpressions")){let e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}(e.plugins),r=function(e){let t=Ot.filter((t=>At(e,t))),r=t.join("/"),n=Vt[r];if(!n){n=Jt;for(let e of t)n=It[e](n);Vt[r]=n}return n}(e.plugins)),new r(e,t)}var Vt={};e.parse=function(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return qt(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";let r=qt(t,e),n=r.parse();if(r.sawUnambiguousESM)return n;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",qt(t,e).parse()}catch{}else n.program.sourceType="script";return n}catch(r){try{return t.sourceType="script",qt(t,e).parse()}catch{}throw r}},e.parseExpression=function(e,t){let r=qt(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()},e.tokTypes=Ut}}),se=f({"src/language-js/parse/json.js"(e,t){m();var r=G(),n=X(),i=Y(),a=Q();function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{allowComments:t=!0}=e;return function(e){let n,{parseExpression:i}=oe();try{n=i(e,{tokens:!0,ranges:!0})}catch(e){throw a(e)}if(!t&&r(n.comments))throw s(n.comments[0],"Comment");return c(n),n}}function s(e,t){let[r,i]=[e.loc.start,e.loc.end].map((e=>{let{line:t,column:r}=e;return{line:t,column:r+1}}));return n("".concat(t," is not allowed in JSON."),{start:r,end:i})}function c(e){switch(e.type){case"ArrayExpression":for(let t of e.elements)null!==t&&c(t);return;case"ObjectExpression":for(let t of e.properties)c(t);return;case"ObjectProperty":if(e.computed)throw s(e.key,"Computed key");if(e.shorthand)throw s(e.key,"Shorthand property");return"Identifier"!==e.key.type&&c(e.key),void c(e.value);case"UnaryExpression":{let{operator:t,argument:r}=e;if("+"!==t&&"-"!==t)throw s(e,"Operator '".concat(e.operator,"'"));if("NumericLiteral"===r.type||"Identifier"===r.type&&("Infinity"===r.name||"NaN"===r.name))return;throw s(r,"Operator '".concat(t,"' before '").concat(r.type,"'"))}case"Identifier":if("Infinity"!==e.name&&"NaN"!==e.name&&"undefined"!==e.name)throw s(e,"Identifier '".concat(e.name,"'"));return;case"TemplateLiteral":if(r(e.expressions))throw s(e.expressions[0],"'TemplateLiteral' with expression");for(let t of e.quasis)c(t);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw s(e,"'".concat(e.type,"'"))}}var u=o(),l={json:i({parse:u,hasPragma:()=>!0}),json5:i(u),"json-stringify":i({parse:o({allowComments:!1}),astFormat:"estree-json"})};t.exports=l}});m();var ce=g(),ue=h(),le=x(),de=Y(),fe=Q(),_e=ae(),me=se(),ge={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication",["decorators",{decoratorsBeforeExport:!1}],"importAssertions","decimal","moduleBlocks","asyncDoExpressions","regexpUnicodeSets","destructuringPrivate","decoratorAutoAccessors"],tokens:!0,ranges:!0},he=["recordAndTuple",{syntaxType:"hash"}],ye="v8intrinsic",ve=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],be=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ge;return Object.assign(Object.assign({},t),{},{plugins:[...t.plugins,...e]})},xe=/@(?:no)?flow\b/;function Ee(e,t){if(t.filepath&&t.filepath.endsWith(".js.flow"))return!0;let r=ue(e);r&&(e=e.slice(r.length));let n=le(e,0);return!1!==n&&(e=e.slice(0,n)),xe.test(e)}function Se(e,t,r){let n=oe()[e](t,r),i=n.errors.find((e=>!Fe.has(e.reasonCode)));if(i)throw i;return n}function Ce(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(("babel"===i.parser||"__babel_estree"===i.parser)&&Ee(t,i))return i.parser="babel-flow",ke(t,n,i);let a=r;"script"===i.__babelSourceType&&(a=a.map((e=>Object.assign(Object.assign({},e),{},{sourceType:"script"})))),/#[[{]/.test(t)&&(a=a.map((e=>be([he],e))));let o=/%[A-Z]/.test(t);t.includes("|>")?a=(o?[...ve,ye]:ve).flatMap((e=>a.map((t=>be([e],t))))):o&&(a=a.map((e=>be([ye],e))));let{result:s,error:c}=ce(...a.map((r=>()=>Se(e,t,r))));if(!s)throw fe(c);return i.originalText=t,_e(s,i)}}var Te=Ce("parse",be(["jsx","flow"])),ke=Ce("parse",be(["jsx",["flow",{all:!0,enums:!0}]])),Ae=Ce("parse",be(["jsx","typescript"]),be(["typescript"])),Ne=Ce("parse",be(["jsx","flow","estree"])),Pe=Ce("parseExpression",be(["jsx"])),Fe=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","UnexpectedParameterModifier","MixedLabeledAndUnlabeledElements","InvalidTupleMemberLabel","NonClassMethodPropertyHasAbstractModifer","ReadonlyForMethodSignature","ClassMethodHasDeclare","ClassMethodHasReadonly","InvalidModifierOnTypeMember","DuplicateAccessibilityModifier","IndexSignatureHasDeclare","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","UnsupportedPropertyDecorator","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","DeclareFunctionHasImplementation","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),we=de(Te),Ie=de(Pe);t.exports={parsers:Object.assign(Object.assign({babel:we,"babel-flow":de(ke),"babel-ts":de(Ae)},me),{},{__js_expression:Ie,__vue_expression:Ie,__vue_event_binding:we,__babel_estree:de(Ne)})}}));return be()}()},451:(e,t)=>{var r,n,i;e.exports=function(){"use strict";var a,o,s=(a=(a,o)=>{var s=Object.getOwnPropertyNames,c=(e,t)=>function(){return t||(0,e[s(e)[0]])((t={exports:{}}).exports,t),t.exports},u=((e,t)=>function(){return e&&(t=(0,e[s(e)[0]])(e=0)),t})({"<define:process>"(){}}),l=c({"node_modules/lines-and-columns/build/index.cjs"(e){u(),e.__esModule=!0,e.LinesAndColumns=void 0;var t="\n",r=function(){function e(e){this.length=e.length;for(var r=[0],n=0;n<e.length;)switch(e[n]){case t:n+=t.length,r.push(n);break;case"\r":e[n+="\r".length]===t&&(n+=t.length),r.push(n);break;default:n++}this.offsets=r}return e.prototype.locationForIndex=function(e){if(e<0||e>this.length)return null;for(var t=0,r=this.offsets;r[t+1]<=e;)t++;return{line:t,column:e-r[t]}},e.prototype.indexForLocation=function(e){var t=e.line,r=e.column;return t<0||t>=this.offsets.length||r<0||r>this.lengthOfLine(t)?null:this.offsets[t]+r},e.prototype.lengthOfLine=function(e){var t=this.offsets[e];return(e===this.offsets.length-1?this.length:this.offsets[e+1])-t},e}();e.LinesAndColumns=r}}),p=c({"src/common/parser-create-error.js"(e,t){u(),t.exports=function(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}}}),d=c({"src/language-handlebars/loc.js"(e,t){u(),t.exports={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}}}}),f=c({"node_modules/@glimmer/env/dist/commonjs/es5/index.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.DEBUG=!1,e.CI=!1}}),_=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/array-utils.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.emptyArray=r,e.isEmptyArray=function(e){return e===t},e.EMPTY_NUMBER_ARRAY=e.EMPTY_STRING_ARRAY=e.EMPTY_ARRAY=void 0;var t=Object.freeze([]);function r(){return t}e.EMPTY_ARRAY=t;var n=r();e.EMPTY_STRING_ARRAY=n;var i=r();e.EMPTY_NUMBER_ARRAY=i}}),m=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/assert.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.debugAssert=r,e.prodAssert=function(){},e.deprecate=function(e){t.LOCAL_LOGGER.warn("DEPRECATION: ".concat(e))},e.default=void 0;var t=F();function r(e,t){if(!e)throw new Error(t||"assertion failure")}var n=r;e.default=n}}),g=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/collections.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.dict=function(){return Object.create(null)},e.isDict=function(e){return null!=e},e.isObject=function(e){return"function"==typeof e||"object"==typeof e&&null!==e},e.StackImpl=void 0;e.StackImpl=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.current=null,this.stack=e}get size(){return this.stack.length}push(e){this.current=e,this.stack.push(e)}pop(){let e=this.stack.pop(),t=this.stack.length;return this.current=0===t?null:this.stack[t-1],void 0===e?null:e}nth(e){let t=this.stack.length;return t<e?null:this.stack[t-e]}isEmpty(){return 0===this.stack.length}toArray(){return this.stack}}}}),h=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/dom.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.clearElement=function(e){let t=e.firstChild;for(;t;){let r=t.nextSibling;e.removeChild(t),t=r}}}}),y=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/is-serialization-first-node.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.isSerializationFirstNode=function(e){return e.nodeValue===t},e.SERIALIZATION_FIRST_NODE_STRING=void 0;var t="%+b:0%";e.SERIALIZATION_FIRST_NODE_STRING=t}}),v=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/object-utils.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.fillNulls=function(e){let t=new Array(e);for(let r=0;r<e;r++)t[r]=null;return t},e.values=function(e){let t=[];for(let r in e)t.push(e[r]);return t},e.assign=void 0;var t=Object.assign;e.assign=t}}),D=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/intern.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){let t={};t[e]=1;for(let r in t)if(r===e)return r;return e}}}),b=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/platform-utils.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.keys=function(e){return Object.keys(e)},e.unwrap=function(e){if(null==e)throw new Error("Expected value to be present");return e},e.expect=function(e,t){if(null==e)throw new Error(t);return e},e.unreachable=function(){return new Error(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unreachable")},e.exhausted=function(e){throw new Error("Exhausted ".concat(e))},e.enumerableSymbol=i,e.symbol=e.tuple=e.HAS_NATIVE_SYMBOL=e.HAS_NATIVE_PROXY=void 0;var t=function(e){return e&&e.__esModule?e:{default:e}}(D());var r="function"==typeof Proxy;e.HAS_NATIVE_PROXY=r;var n="function"==typeof Symbol&&"symbol"==typeof Symbol();e.HAS_NATIVE_SYMBOL=n;function i(e){return(0,t.default)("__".concat(e).concat(Math.floor(Math.random()*Date.now()),"__"))}e.tuple=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t};var a=n?Symbol:i;e.symbol=a}}),x=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/string.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.strip=function(e){let t="";for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];for(let r=0;r<e.length;r++){let i=e[r],a=void 0!==n[r]?String(n[r]):"";t+="".concat(i).concat(a)}let a=t.split("\n");for(;a.length&&a[0].match(/^\s*$/);)a.shift();for(;a.length&&a[a.length-1].match(/^\s*$/);)a.pop();let o=1/0;for(let e of a){let t=e.match(/^\s*/)[0].length;o=Math.min(o,t)}let s=[];for(let e of a)s.push(e.slice(o));return s.join("\n")}}}),E=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/immediate.js"(e){function t(e){return-536870913&e}function r(e){return 536870912|e}function n(e){return~e}function i(e){return~e}function a(e){return(e|=0)<0?t(e):n(e)}function o(e){return(e|=0)>-536870913?i(e):r(e)}u(),Object.defineProperty(e,"__esModule",{value:!0}),e.isHandle=function(e){return e>=0},e.isNonPrimitiveHandle=function(e){return e>3},e.constants=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return[!1,!0,null,void 0,...t]},e.isSmallInt=function(e){return e%1==0&&e<=536870911&&e>=-536870912},e.encodeNegative=t,e.decodeNegative=r,e.encodePositive=n,e.decodePositive=i,e.encodeHandle=function(e){return e},e.decodeHandle=function(e){return e},e.encodeImmediate=a,e.decodeImmediate=o,m(),[1,2,3].forEach((e=>e)),[1,-1].forEach((e=>o(a(e))))}}),S=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/template.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapHandle=function(e){if("number"==typeof e)return e;{let t=e.errors[0];throw new Error("Compile Error: ".concat(t.problem," @ ").concat(t.span.start,"..").concat(t.span.end))}},e.unwrapTemplate=function(e){if("error"===e.result)throw new Error("Compile Error: ".concat(e.problem," @ ").concat(e.span.start,"..").concat(e.span.end));return e},e.extractHandle=function(e){return"number"==typeof e?e:e.handle},e.isOkHandle=function(e){return"number"==typeof e},e.isErrHandle=function(e){return"number"==typeof e}}}),C=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/weak-set.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t="function"==typeof WeakSet?WeakSet:class{constructor(){this._map=new WeakMap}add(e){return this._map.set(e,!0),this}delete(e){return this._map.delete(e)}has(e){return this._map.has(e)}};e.default=t}}),T=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/simple-cast.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.castToSimple=function(e){return r(e)||function(e){e.nodeType}(e),e},e.castToBrowser=function(e,t){if(null==e)return null;if(void 0===typeof document)throw new Error("Attempted to cast to a browser node in a non-browser context");if(r(e))return e;if(e.ownerDocument!==document)throw new Error("Attempted to cast to a browser node with a node that was not created from this document");return n(e,t)},e.checkNode=n;var t=b();function r(e){return 9===e.nodeType}function n(e,r){let n=!1;if(null!==e)if("string"==typeof r)n=i(e,r);else{if(!Array.isArray(r))throw(0,t.unreachable)();n=r.some((t=>i(e,t)))}if(n)return e;throw function(e,t){return new Error("cannot cast a ".concat(e," into ").concat(t))}("SimpleElement(".concat(e,")"),r)}function i(e,t){switch(t){case"NODE":return!0;case"HTML":return e instanceof HTMLElement;case"SVG":return e instanceof SVGElement;case"ELEMENT":return e instanceof Element;default:if(t.toUpperCase()===t)throw new Error("BUG: this code is missing handling for a generic node type");return e instanceof Element&&e.tagName.toLowerCase()===t}}}}),k=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/present.js"(e){function t(e){return e.length>0}u(),Object.defineProperty(e,"__esModule",{value:!0}),e.isPresent=t,e.ifPresent=function(e,r,n){return t(e)?r(e):n()},e.toPresentOption=function(e){return t(e)?e:null},e.assertPresent=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unexpected empty list";if(!t(e))throw new Error(r)},e.mapPresent=function(e,t){if(null===e)return null;let r=[];for(let n of e)r.push(t(n));return r}}}),A=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/untouchable-this.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){let n=null;if(t.DEBUG&&r.HAS_NATIVE_PROXY){let t=t=>{throw new Error("You accessed `this.".concat(String(t),"` from a function passed to the ").concat(e,", but the function itself was not bound to a valid `this` context. Consider updating to use a bound function (for instance, use an arrow function, `() => {}`)."))};n=new Proxy({},{get(e,r){t(r)},set:(e,r)=>(t(r),!1),has:(e,r)=>(t(r),!1)})}return n};var t=f(),r=b()}}),N=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/debug-to-string.js"(e){var t;if(u(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,f().DEBUG){let e=e=>{let t=e.name;if(void 0===t){let r=Function.prototype.toString.call(e).match(/function (\w+)\s*\(/);t=r&&r[1]||""}return t.replace(/^bound /,"")},r=t=>{let r,n;return t.constructor&&"function"==typeof t.constructor&&(n=e(t.constructor)),"toString"in t&&t.toString!==Object.prototype.toString&&t.toString!==Function.prototype.toString&&(r=t.toString()),r&&r.match(/<.*:ember\d+>/)&&n&&"_"!==n[0]&&n.length>2&&"Class"!==n?r.replace(/<.*:/,"<".concat(n,":")):r||n},n=e=>String(e);t=t=>"function"==typeof t?e(t)||"(unknown function)":"object"==typeof t&&null!==t?r(t)||"(unknown object)":n(t)}var r=t;e.default=r}}),P=c({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/debug-steps.js"(e){var t;u(),Object.defineProperty(e,"__esModule",{value:!0}),e.logStep=e.verifySteps=e.endTestSteps=e.beginTestSteps=void 0,(t=m())&&t.__esModule,b(),e.beginTestSteps=undefined,e.endTestSteps=undefined,e.verifySteps=undefined,e.logStep=undefined}}),F=c({"node_modules/@glimmer/util/dist/commonjs/es2017/index.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0});var t={LOCAL_LOGGER:!0,LOGGER:!0,assertNever:!0,assert:!0,deprecate:!0,dict:!0,isDict:!0,isObject:!0,Stack:!0,isSerializationFirstNode:!0,SERIALIZATION_FIRST_NODE_STRING:!0,assign:!0,fillNulls:!0,values:!0,_WeakSet:!0,castToSimple:!0,castToBrowser:!0,checkNode:!0,intern:!0,buildUntouchableThis:!0,debugToString:!0,beginTestSteps:!0,endTestSteps:!0,logStep:!0,verifySteps:!0};e.assertNever=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unexpected unreachable branch";throw K.log("unreachable",e),K.log("".concat(t," :: ").concat(JSON.stringify(e)," (").concat(e,")")),new Error("code reached unreachable")},Object.defineProperty(e,"assert",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"deprecate",{enumerable:!0,get:function(){return n.deprecate}}),Object.defineProperty(e,"dict",{enumerable:!0,get:function(){return i.dict}}),Object.defineProperty(e,"isDict",{enumerable:!0,get:function(){return i.isDict}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return i.isObject}}),Object.defineProperty(e,"Stack",{enumerable:!0,get:function(){return i.StackImpl}}),Object.defineProperty(e,"isSerializationFirstNode",{enumerable:!0,get:function(){return o.isSerializationFirstNode}}),Object.defineProperty(e,"SERIALIZATION_FIRST_NODE_STRING",{enumerable:!0,get:function(){return o.SERIALIZATION_FIRST_NODE_STRING}}),Object.defineProperty(e,"assign",{enumerable:!0,get:function(){return s.assign}}),Object.defineProperty(e,"fillNulls",{enumerable:!0,get:function(){return s.fillNulls}}),Object.defineProperty(e,"values",{enumerable:!0,get:function(){return s.values}}),Object.defineProperty(e,"_WeakSet",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"castToSimple",{enumerable:!0,get:function(){return F.castToSimple}}),Object.defineProperty(e,"castToBrowser",{enumerable:!0,get:function(){return F.castToBrowser}}),Object.defineProperty(e,"checkNode",{enumerable:!0,get:function(){return F.checkNode}}),Object.defineProperty(e,"intern",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"buildUntouchableThis",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"debugToString",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"beginTestSteps",{enumerable:!0,get:function(){return M.beginTestSteps}}),Object.defineProperty(e,"endTestSteps",{enumerable:!0,get:function(){return M.endTestSteps}}),Object.defineProperty(e,"logStep",{enumerable:!0,get:function(){return M.logStep}}),Object.defineProperty(e,"verifySteps",{enumerable:!0,get:function(){return M.verifySteps}}),e.LOGGER=e.LOCAL_LOGGER=void 0;var r=_();Object.keys(r).forEach((function(n){"default"===n||"__esModule"===n||Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r[n]}})}));var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=B();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(m()),i=g(),a=h();Object.keys(a).forEach((function(r){"default"===r||"__esModule"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(e,r,{enumerable:!0,get:function(){return a[r]}})}));var o=y(),s=v(),c=b();Object.keys(c).forEach((function(r){"default"===r||"__esModule"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(e,r,{enumerable:!0,get:function(){return c[r]}})}));var l=x();Object.keys(l).forEach((function(r){"default"===r||"__esModule"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(e,r,{enumerable:!0,get:function(){return l[r]}})}));var p=E();Object.keys(p).forEach((function(r){"default"===r||"__esModule"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(e,r,{enumerable:!0,get:function(){return p[r]}})}));var d=S();Object.keys(d).forEach((function(r){"default"===r||"__esModule"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(e,r,{enumerable:!0,get:function(){return d[r]}})}));var f=R(C()),F=T(),w=k();Object.keys(w).forEach((function(r){"default"===r||"__esModule"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(e,r,{enumerable:!0,get:function(){return w[r]}})}));var I=R(D()),O=R(A()),L=R(N()),M=P();function R(e){return e&&e.__esModule?e:{default:e}}function B(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return B=function(){return e},e}var j=console;e.LOCAL_LOGGER=j;var K=console;e.LOGGER=K}}),w=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/source/location.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.isLocatedWithPositionsArray=function(e){return(0,t.isPresent)(e)&&e.every(c)},e.isLocatedWithPositions=c,e.BROKEN_LOCATION=e.NON_EXISTENT_LOCATION=e.TEMPORARY_LOCATION=e.SYNTHETIC=e.SYNTHETIC_LOCATION=e.UNKNOWN_POSITION=void 0;var t=F(),r=Object.freeze({line:1,column:0});e.UNKNOWN_POSITION=r;var n=Object.freeze({source:"(synthetic)",start:r,end:r});e.SYNTHETIC_LOCATION=n;var i=n;e.SYNTHETIC=i;var a=Object.freeze({source:"(temporary)",start:r,end:r});e.TEMPORARY_LOCATION=a;var o=Object.freeze({source:"(nonexistent)",start:r,end:r});e.NON_EXISTENT_LOCATION=o;var s=Object.freeze({source:"(broken)",start:r,end:r});function c(e){return void 0!==e.loc}e.BROKEN_LOCATION=s}}),I=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/source/slice.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.SourceSlice=void 0;var t=R(),r=class{constructor(e){this.loc=e.loc,this.chars=e.chars}static synthetic(e){let n=t.SourceSpan.synthetic(e);return new r({loc:n,chars:e})}static load(e,n){return new r({loc:t.SourceSpan.load(e,n[1]),chars:n[0]})}getString(){return this.chars}serialize(){return[this.chars,this.loc.serialize()]}};e.SourceSlice=r}}),O=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/source/loc/match.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.match=function(e){return e(new a).check()},e.IsInvisible=e.MatchAny=void 0;var t=F(),r="MATCH_ANY";e.MatchAny=r;var n="IS_INVISIBLE";e.IsInvisible=n;var i=class{constructor(){this._map=new Map}get(e,t){let r=this._map.get(e);return r||(r=t(),this._map.set(e,r),r)}add(e,t){this._map.set(e,t)}match(e){let t=function(e){switch(e){case"Broken":case"InternalsSynthetic":case"NonExistent":return n;default:return e}}(e),i=[],a=this._map.get(t),o=this._map.get(r);return a&&i.push(a),o&&i.push(o),i}};var a=class{constructor(){this._whens=new i}check(){return(e,t)=>this.matchFor(e.kind,t.kind)(e,t)}matchFor(e,r){let n=this._whens.match(e);return new class{constructor(e){this._whens=e}first(e){for(let r of this._whens){let n=r.match(e);if((0,t.isPresent)(n))return n[0]}return null}}(n).first(r)}when(e,t,r){return this._whens.get(e,(()=>new i)).add(t,r),this}}}}),L=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/source/loc/offset.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.InvisiblePosition=e.HbsPosition=e.CharPosition=e.SourceOffset=e.BROKEN=void 0;var t=w(),r=O(),n=M(),i="BROKEN";e.BROKEN=i;var a=class{constructor(e){this.data=e}static forHbsPos(e,t){return new s(e,t,null).wrap()}static broken(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.UNKNOWN_POSITION;return new c("Broken",e).wrap()}get offset(){let e=this.data.toCharPos();return null===e?null:e.offset}eql(e){return l(this.data,e.data)}until(e){return(0,n.span)(this.data,e.data)}move(e){let t=this.data.toCharPos();if(null===t)return a.broken();{let r=t.offset+e;return t.source.check(r)?new o(t.source,r).wrap():a.broken()}}collapsed(){return(0,n.span)(this.data,this.data)}toJSON(){return this.data.toJSON()}};e.SourceOffset=a;var o=class{constructor(e,t){this.source=e,this.charPos=t,this.kind="CharPosition",this._locPos=null}toCharPos(){return this}toJSON(){let e=this.toHbsPos();return null===e?t.UNKNOWN_POSITION:e.toJSON()}wrap(){return new a(this)}get offset(){return this.charPos}toHbsPos(){let e=this._locPos;if(null===e){let t=this.source.hbsPosFor(this.charPos);this._locPos=e=null===t?i:new s(this.source,t,this.charPos)}return e===i?null:e}};e.CharPosition=o;var s=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.source=e,this.hbsPos=t,this.kind="HbsPosition",this._charPos=null===r?null:new o(e,r)}toCharPos(){let e=this._charPos;if(null===e){let t=this.source.charPosFor(this.hbsPos);this._charPos=e=null===t?i:new o(this.source,t)}return e===i?null:e}toJSON(){return this.hbsPos}wrap(){return new a(this)}toHbsPos(){return this}};e.HbsPosition=s;var c=class{constructor(e,t){this.kind=e,this.pos=t}toCharPos(){return null}toJSON(){return this.pos}wrap(){return new a(this)}get offset(){return null}};e.InvisiblePosition=c;var l=(0,r.match)((e=>e.when("HbsPosition","HbsPosition",((e,t)=>{let{hbsPos:r}=e,{hbsPos:n}=t;return r.column===n.column&&r.line===n.line})).when("CharPosition","CharPosition",((e,t)=>{let{charPos:r}=e,{charPos:n}=t;return r===n})).when("CharPosition","HbsPosition",((e,t)=>{let{offset:r}=e;var n;return r===(null===(n=t.toCharPos())||void 0===n?void 0:n.offset)})).when("HbsPosition","CharPosition",((e,t)=>{let{offset:r}=t;var n;return(null===(n=e.toCharPos())||void 0===n?void 0:n.offset)===r})).when(r.MatchAny,r.MatchAny,(()=>!1))))}}),M=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/source/loc/span.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.span=e.HbsSpan=e.SourceSpan=void 0;var t=f(),r=F(),n=w(),i=I(),a=O(),o=L(),s=class{constructor(e){this.data=e,this.isInvisible="CharPosition"!==e.kind&&"HbsPosition"!==e.kind}static get NON_EXISTENT(){return new p("NonExistent",n.NON_EXISTENT_LOCATION).wrap()}static load(e,t){return"number"==typeof t?s.forCharPositions(e,t,t):"string"==typeof t?s.synthetic(t):Array.isArray(t)?s.forCharPositions(e,t[0],t[1]):"NonExistent"===t?s.NON_EXISTENT:"Broken"===t?s.broken(n.BROKEN_LOCATION):void(0,r.assertNever)(t)}static forHbsLoc(e,t){let r=new o.HbsPosition(e,t.start),n=new o.HbsPosition(e,t.end);return new l(e,{start:r,end:n},t).wrap()}static forCharPositions(e,t,r){let n=new o.CharPosition(e,t),i=new o.CharPosition(e,r);return new c(e,{start:n,end:i}).wrap()}static synthetic(e){return new p("InternalsSynthetic",n.NON_EXISTENT_LOCATION,e).wrap()}static broken(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.BROKEN_LOCATION;return new p("Broken",e).wrap()}getStart(){return this.data.getStart().wrap()}getEnd(){return this.data.getEnd().wrap()}get loc(){let e=this.data.toHbsSpan();return null===e?n.BROKEN_LOCATION:e.toHbsLoc()}get module(){return this.data.getModule()}get startPosition(){return this.loc.start}get endPosition(){return this.loc.end}toJSON(){return this.loc}withStart(e){return d(e.data,this.data.getEnd())}withEnd(e){return d(this.data.getStart(),e.data)}asString(){return this.data.asString()}toSlice(e){let r=this.data.asString();return t.DEBUG&&void 0!==e&&r!==e&&console.warn("unexpectedly found ".concat(JSON.stringify(r)," when slicing source, but expected ").concat(JSON.stringify(e))),new i.SourceSlice({loc:this,chars:e||r})}get start(){return this.loc.start}set start(e){this.data.locDidUpdate({start:e})}get end(){return this.loc.end}set end(e){this.data.locDidUpdate({end:e})}get source(){return this.module}collapse(e){switch(e){case"start":return this.getStart().collapsed();case"end":return this.getEnd().collapsed()}}extend(e){return d(this.data.getStart(),e.data.getEnd())}serialize(){return this.data.serialize()}slice(e){let{skipStart:t=0,skipEnd:r=0}=e;return d(this.getStart().move(t).data,this.getEnd().move(-r).data)}sliceStartChars(e){let{skipStart:t=0,chars:r}=e;return d(this.getStart().move(t).data,this.getStart().move(t+r).data)}sliceEndChars(e){let{skipEnd:t=0,chars:r}=e;return d(this.getEnd().move(t-r).data,this.getStart().move(-t).data)}};e.SourceSpan=s;var c=class{constructor(e,t){this.source=e,this.charPositions=t,this.kind="CharPosition",this._locPosSpan=null}wrap(){return new s(this)}asString(){return this.source.slice(this.charPositions.start.charPos,this.charPositions.end.charPos)}getModule(){return this.source.module}getStart(){return this.charPositions.start}getEnd(){return this.charPositions.end}locDidUpdate(){}toHbsSpan(){let e=this._locPosSpan;if(null===e){let t=this.charPositions.start.toHbsPos(),r=this.charPositions.end.toHbsPos();e=this._locPosSpan=null===t||null===r?o.BROKEN:new l(this.source,{start:t,end:r})}return e===o.BROKEN?null:e}serialize(){let{start:{charPos:e},end:{charPos:t}}=this.charPositions;return e===t?e:[e,t]}toCharPosSpan(){return this}},l=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.source=e,this.hbsPositions=t,this.kind="HbsPosition",this._charPosSpan=null,this._providedHbsLoc=r}serialize(){let e=this.toCharPosSpan();return null===e?"Broken":e.wrap().serialize()}wrap(){return new s(this)}updateProvided(e,t){this._providedHbsLoc&&(this._providedHbsLoc[t]=e),this._charPosSpan=null,this._providedHbsLoc={start:e,end:e}}locDidUpdate(e){let{start:t,end:r}=e;void 0!==t&&(this.updateProvided(t,"start"),this.hbsPositions.start=new o.HbsPosition(this.source,t,null)),void 0!==r&&(this.updateProvided(r,"end"),this.hbsPositions.end=new o.HbsPosition(this.source,r,null))}asString(){let e=this.toCharPosSpan();return null===e?"":e.asString()}getModule(){return this.source.module}getStart(){return this.hbsPositions.start}getEnd(){return this.hbsPositions.end}toHbsLoc(){return{start:this.hbsPositions.start.hbsPos,end:this.hbsPositions.end.hbsPos}}toHbsSpan(){return this}toCharPosSpan(){let e=this._charPosSpan;if(null===e){let t=this.hbsPositions.start.toCharPos(),r=this.hbsPositions.end.toCharPos();if(!t||!r)return e=this._charPosSpan=o.BROKEN,null;e=this._charPosSpan=new c(this.source,{start:t,end:r})}return e===o.BROKEN?null:e}};e.HbsSpan=l;var p=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.kind=e,this.loc=t,this.string=r}serialize(){switch(this.kind){case"Broken":case"NonExistent":return this.kind;case"InternalsSynthetic":return this.string||""}}wrap(){return new s(this)}asString(){return this.string||""}locDidUpdate(e){let{start:t,end:r}=e;void 0!==t&&(this.loc.start=t),void 0!==r&&(this.loc.end=r)}getModule(){return"an unknown module"}getStart(){return new o.InvisiblePosition(this.kind,this.loc.start)}getEnd(){return new o.InvisiblePosition(this.kind,this.loc.end)}toCharPosSpan(){return this}toHbsSpan(){return null}toHbsLoc(){return n.BROKEN_LOCATION}},d=(0,a.match)((e=>e.when("HbsPosition","HbsPosition",((e,t)=>new l(e.source,{start:e,end:t}).wrap())).when("CharPosition","CharPosition",((e,t)=>new c(e.source,{start:e,end:t}).wrap())).when("CharPosition","HbsPosition",((e,t)=>{let r=t.toCharPos();return null===r?new p("Broken",n.BROKEN_LOCATION).wrap():d(e,r)})).when("HbsPosition","CharPosition",((e,t)=>{let r=e.toCharPos();return null===r?new p("Broken",n.BROKEN_LOCATION).wrap():d(r,t)})).when(a.IsInvisible,a.MatchAny,(e=>new p(e.kind,n.BROKEN_LOCATION).wrap())).when(a.MatchAny,a.IsInvisible,((e,t)=>new p(t.kind,n.BROKEN_LOCATION).wrap()))));e.span=d}}),R=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/source/span.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SourceSpan",{enumerable:!0,get:function(){return t.SourceSpan}}),Object.defineProperty(e,"SourceOffset",{enumerable:!0,get:function(){return r.SourceOffset}});var t=M(),r=L()}}),B=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/source/source.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.Source=void 0;var t=f(),r=(F(),R());e.Source=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"an unknown module";this.source=e,this.module=t}check(e){return e>=0&&e<=this.source.length}slice(e,t){return this.source.slice(e,t)}offsetFor(e,t){return r.SourceOffset.forHbsPos(this,{line:e,column:t})}spanFor(e){let{start:t,end:n}=e;return r.SourceSpan.forHbsLoc(this,{start:{line:t.line,column:t.column},end:{line:n.line,column:n.column}})}hbsPosFor(e){let t=0,r=0;if(e>this.source.length)return null;for(;;){let n=this.source.indexOf("\n",r);if(e<=n||-1===n)return{line:t+1,column:e-r};t+=1,r=n+1}}charPosFor(e){let{line:r,column:n}=e,i=this.source.length,a=0,o=0;for(;;){if(o>=i)return i;let e=this.source.indexOf("\n",o);if(-1===e&&(e=this.source.length),a===r-1)return o+n>e?e:(t.DEBUG&&this.hbsPosFor(o+n),o+n);if(-1===e)return 0;a+=1,o=e+1}}}}}),j=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v1/legacy-interop.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.PathExpressionImplV1=void 0;var t,r=(t=K())&&t.__esModule?t:{default:t};e.PathExpressionImplV1=class{constructor(e,t,r,n){this.original=e,this.loc=n,this.type="PathExpression",this.this=!1,this.data=!1,this._head=void 0;let i=r.slice();"ThisHead"===t.type?this.this=!0:"AtHead"===t.type?(this.data=!0,i.unshift(t.name.slice(1))):i.unshift(t.name),this.parts=i}get head(){if(this._head)return this._head;let e;e=this.this?"this":this.data?"@".concat(this.parts[0]):this.parts[0];let t=this.loc.collapse("start").sliceStartChars({chars:e.length}).loc;return this._head=r.default.head(e,t)}get tail(){return this.this?this.parts:this.parts.slice(1)}}}}),K=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v1/public-builders.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,r=F(),n=w(),i=B(),a=R(),o=j();function s(){return t||(t=new i.Source("","(synthetic)")),t}function c(e){switch(e.type){case"AtHead":case"VarHead":return{original:e.name,parts:[e.name]};case"ThisHead":return{original:"this",parts:[]}}}function l(e,t){let r,[n,...i]=e.split(".");return r="this"===n?{type:"ThisHead",loc:h(t||null)}:"@"===n[0]?{type:"AtHead",name:n,loc:h(t||null)}:{type:"VarHead",name:n,loc:h(t||null)},{head:r,tail:i}}function p(e){return{type:"ThisHead",loc:h(e||null)}}function d(e,t){return{type:"AtHead",name:e,loc:h(t||null)}}function f(e,t){return{type:"VarHead",name:e,loc:h(t||null)}}function _(e,t){if("string"!=typeof e){if("type"in e)return e;{let{head:r,tail:n}=l(e.head,a.SourceSpan.broken()),{original:i}=c(r);return new o.PathExpressionImplV1([i,...n].join("."),r,n,h(t||null))}}let{head:r,tail:n}=l(e,a.SourceSpan.broken());return new o.PathExpressionImplV1(e,r,n,h(t||null))}function m(e,t,r){return{type:e,value:t,original:t,loc:h(r||null)}}function g(e,t){return{type:"Hash",pairs:e||[],loc:h(t||null)}}function h(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(1===t.length){let e=t[0];return e&&"object"==typeof e?a.SourceSpan.forHbsLoc(s(),e):a.SourceSpan.forHbsLoc(s(),n.SYNTHETIC_LOCATION)}{let[e,r,n,o,c]=t,u=c?new i.Source("",c):s();return a.SourceSpan.forHbsLoc(u,{start:{line:e,column:r},end:{line:n,column:o}})}}var y={mustache:function(e,t,r,n,i,a){return"string"==typeof e&&(e=_(e)),{type:"MustacheStatement",path:e,params:t||[],hash:r||g([]),escaped:!n,trusting:!!n,loc:h(i||null),strip:a||{open:!1,close:!1}}},block:function(e,t,n,i,a,o,s,c,u){let l,p;return l="Template"===i.type?(0,r.assign)({},i,{type:"Block"}):i,p=null!=a&&"Template"===a.type?(0,r.assign)({},a,{type:"Block"}):a,{type:"BlockStatement",path:_(e),params:t||[],hash:n||g([]),program:l||null,inverse:p||null,loc:h(o||null),openStrip:s||{open:!1,close:!1},inverseStrip:c||{open:!1,close:!1},closeStrip:u||{open:!1,close:!1}}},partial:function(e,t,r,n,i){return{type:"PartialStatement",name:e,params:t||[],hash:r||g([]),indent:n||"",strip:{open:!1,close:!1},loc:h(i||null)}},comment:function(e,t){return{type:"CommentStatement",value:e,loc:h(t||null)}},mustacheComment:function(e,t){return{type:"MustacheCommentStatement",value:e,loc:h(t||null)}},element:function(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{attrs:n,blockParams:i,modifiers:a,comments:o,children:s,loc:c}=r,u=!1;return"object"==typeof e?(u=e.selfClosing,t=e.name):"/"===e.slice(-1)?(t=e.slice(0,-1),u=!0):t=e,{type:"ElementNode",tag:t,selfClosing:u,attributes:n||[],blockParams:i||[],modifiers:a||[],comments:o||[],children:s||[],loc:h(c||null)}},elementModifier:function(e,t,r,n){return{type:"ElementModifierStatement",path:_(e),params:t||[],hash:r||g([]),loc:h(n||null)}},attr:function(e,t,r){return{type:"AttrNode",name:e,value:t,loc:h(r||null)}},text:function(e,t){return{type:"TextNode",chars:e||"",loc:h(t||null)}},sexpr:function(e,t,r,n){return{type:"SubExpression",path:_(e),params:t||[],hash:r||g([]),loc:h(n||null)}},concat:function(e,t){if(!(0,r.isPresent)(e))throw new Error("b.concat requires at least one part");return{type:"ConcatStatement",parts:e||[],loc:h(t||null)}},hash:g,pair:function(e,t,r){return{type:"HashPair",key:e,value:t,loc:h(r||null)}},literal:m,program:function(e,t,r){return{type:"Template",body:e||[],blockParams:t||[],loc:h(r||null)}},blockItself:function(e,t){return{type:"Block",body:e||[],blockParams:t||[],chained:arguments.length>2&&void 0!==arguments[2]&&arguments[2],loc:h((arguments.length>3?arguments[3]:void 0)||null)}},template:function(e,t,r){return{type:"Template",body:e||[],blockParams:t||[],loc:h(r||null)}},loc:h,pos:function(e,t){return{line:e,column:t}},path:_,fullPath:function(e,t,r){let{original:n,parts:i}=c(e),a=[...n,...i,...t].join(".");return new o.PathExpressionImplV1(a,e,t,h(r||null))},head:function(e,t){return"@"===e[0]?d(e,t):"this"===e?p(t):f(e,t)},at:d,var:f,this:p,blockName:function(e,t){return{type:"NamedBlockName",name:e,loc:h(t||null)}},string:v("StringLiteral"),boolean:v("BooleanLiteral"),number:v("NumberLiteral"),undefined:()=>m("UndefinedLiteral",void 0),null:()=>m("NullLiteral",null)};function v(e){return function(t,r){return m(e,t,r)}}e.default=y}}),J=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v1/nodes-v1.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0})}}),U=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v1/api.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0});var t=J();Object.keys(t).forEach((function(r){"default"===r||"__esModule"===r||Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[r]}})}))}}),q=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v2-a/objects/resolution.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.loadResolution=function(e){if("string"==typeof e)switch(e){case"Loose":return n.fallback();case"Strict":return r}switch(e[0]){case"ambiguous":switch(e[1]){case"Append":return n.append({invoke:!1});case"Attr":return n.attr();case"Invoke":return n.append({invoke:!0})}case"ns":return n.namespaced(e[1])}},e.ARGUMENT_RESOLUTION=e.LooseModeResolution=e.STRICT_RESOLUTION=e.StrictResolution=void 0;var t=class{constructor(){this.isAngleBracket=!1}resolution(){return 31}serialize(){return"Strict"}};e.StrictResolution=t;var r=new t;e.STRICT_RESOLUTION=r;var n=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.ambiguity=e,this.isAngleBracket=t}static namespaced(e){return new n({namespaces:[e],fallback:!1},arguments.length>1&&void 0!==arguments[1]&&arguments[1])}static fallback(){return new n({namespaces:[],fallback:!0})}static append(e){let{invoke:t}=e;return new n({namespaces:["Component","Helper"],fallback:!t})}static trustingAppend(e){let{invoke:t}=e;return new n({namespaces:["Helper"],fallback:!t})}static attr(){return new n({namespaces:["Helper"],fallback:!0})}resolution(){if(0===this.ambiguity.namespaces.length)return 31;if(1!==this.ambiguity.namespaces.length)return this.ambiguity.fallback?34:35;if(this.ambiguity.fallback)return 36;switch(this.ambiguity.namespaces[0]){case"Helper":return 37;case"Modifier":return 38;case"Component":return 39}}serialize(){return 0===this.ambiguity.namespaces.length?"Loose":1===this.ambiguity.namespaces.length?this.ambiguity.fallback?["ambiguous","Attr"]:["ns",this.ambiguity.namespaces[0]]:this.ambiguity.fallback?["ambiguous","Append"]:["ambiguous","Invoke"]}};e.LooseModeResolution=n;var i=n.fallback();e.ARGUMENT_RESOLUTION=i}}),V=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v2-a/objects/node.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.node=function(e){if(void 0!==e){let r=e;return{fields:()=>class{constructor(e){this.type=r,(0,t.assign)(this,e)}}}}return{fields:()=>class{constructor(e){(0,t.assign)(this,e)}}}};var t=F()}}),z=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v2-a/objects/args.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.NamedArgument=e.NamedArguments=e.PositionalArguments=e.Args=void 0;var t=V(),r=class extends((0,t.node)().fields()){static empty(e){return new r({loc:e,positional:n.empty(e),named:i.empty(e)})}static named(e){return new r({loc:e.loc,positional:n.empty(e.loc.collapse("end")),named:e})}nth(e){return this.positional.nth(e)}get(e){return this.named.get(e)}isEmpty(){return this.positional.isEmpty()&&this.named.isEmpty()}};e.Args=r;var n=class extends((0,t.node)().fields()){static empty(e){return new n({loc:e,exprs:[]})}get size(){return this.exprs.length}nth(e){return this.exprs[e]||null}isEmpty(){return 0===this.exprs.length}};e.PositionalArguments=n;var i=class extends((0,t.node)().fields()){static empty(e){return new i({loc:e,entries:[]})}get size(){return this.entries.length}get(e){let t=this.entries.filter((t=>t.name.chars===e))[0];return t?t.value:null}isEmpty(){return 0===this.entries.length}};e.NamedArguments=i;e.NamedArgument=class{constructor(e){this.loc=e.name.loc.extend(e.value.loc),this.name=e.name,this.value=e.value}}}}),W=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v2-a/objects/attr-block.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.ElementModifier=e.ComponentArg=e.SplatAttr=e.HtmlAttr=void 0;var t=z(),r=V(),n=class extends((0,r.node)("HtmlAttr").fields()){};e.HtmlAttr=n;var i=class extends((0,r.node)("SplatAttr").fields()){};e.SplatAttr=i;var a=class extends((0,r.node)().fields()){toNamedArgument(){return new t.NamedArgument({name:this.name,value:this.value})}};e.ComponentArg=a;var o=class extends((0,r.node)("ElementModifier").fields()){};e.ElementModifier=o}}),H=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v2-a/objects/base.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0})}}),G=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/source/span-list.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.loc=n,e.hasSpan=i,e.maybeLoc=function(e,t){return i(e)?n(e):t},e.SpanList=void 0;var t=R(),r=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this._span=e}static range(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.SourceSpan.NON_EXISTENT;return new r(e.map(n)).getRangeOffset(i)}add(e){this._span.push(e)}getRangeOffset(e){if(0===this._span.length)return e;{let e=this._span[0],t=this._span[this._span.length-1];return e.extend(t)}}};function n(e){if(Array.isArray(e)){let t=e[0],r=e[e.length-1];return n(t).extend(n(r))}return e instanceof t.SourceSpan?e:e.loc}function i(e){return!(Array.isArray(e)&&0===e.length)}e.SpanList=r}}),$=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v2-a/objects/content.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.SimpleElement=e.InvokeComponent=e.InvokeBlock=e.AppendContent=e.HtmlComment=e.HtmlText=e.GlimmerComment=void 0;var t=G(),r=z(),n=V(),i=class extends((0,n.node)("GlimmerComment").fields()){};e.GlimmerComment=i;var a=class extends((0,n.node)("HtmlText").fields()){};e.HtmlText=a;var o=class extends((0,n.node)("HtmlComment").fields()){};e.HtmlComment=o;var s=class extends((0,n.node)("AppendContent").fields()){get callee(){return"Call"===this.value.type?this.value.callee:this.value}get args(){return"Call"===this.value.type?this.value.args:r.Args.empty(this.value.loc.collapse("end"))}};e.AppendContent=s;var c=class extends((0,n.node)("InvokeBlock").fields()){};e.InvokeBlock=c;var l=class extends((0,n.node)("InvokeComponent").fields()){get args(){let e=this.componentArgs.map((e=>e.toNamedArgument()));return r.Args.named(new r.NamedArguments({loc:t.SpanList.range(e,this.callee.loc.collapse("end")),entries:e}))}};e.InvokeComponent=l;var p=class extends((0,n.node)("SimpleElement").fields()){get args(){let e=this.componentArgs.map((e=>e.toNamedArgument()));return r.Args.named(new r.NamedArguments({loc:t.SpanList.range(e,this.tag.loc.collapse("end")),entries:e}))}};e.SimpleElement=p}}),Y=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v2-a/objects/expr.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.isLiteral=function(e,t){return"Literal"===e.type&&(void 0===t||("null"===t?null===e.value:typeof e.value===t))},e.InterpolateExpression=e.DeprecatedCallExpression=e.CallExpression=e.PathExpression=e.LiteralExpression=void 0;var t=I(),r=V(),n=class extends((0,r.node)("Literal").fields()){toSlice(){return new t.SourceSlice({loc:this.loc,chars:this.value})}};e.LiteralExpression=n;var i=class extends((0,r.node)("Path").fields()){};e.PathExpression=i;var a=class extends((0,r.node)("Call").fields()){};e.CallExpression=a;var o=class extends((0,r.node)("DeprecatedCall").fields()){};e.DeprecatedCallExpression=o;var s=class extends((0,r.node)("Interpolate").fields()){};e.InterpolateExpression=s}}),X=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v2-a/objects/refs.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.FreeVarReference=e.LocalVarReference=e.ArgReference=e.ThisReference=void 0;var t=V(),r=class extends((0,t.node)("This").fields()){};e.ThisReference=r;var n=class extends((0,t.node)("Arg").fields()){};e.ArgReference=n;var i=class extends((0,t.node)("Local").fields()){};e.LocalVarReference=i;var a=class extends((0,t.node)("Free").fields()){};e.FreeVarReference=a}}),Q=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v2-a/objects/internal-node.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.NamedBlock=e.NamedBlocks=e.Block=e.Template=void 0;var t=G(),r=z(),n=V(),i=class extends((0,n.node)().fields()){};e.Template=i;var a=class extends((0,n.node)().fields()){};e.Block=a;var o=class extends((0,n.node)().fields()){get(e){return this.blocks.filter((t=>t.name.chars===e))[0]||null}};e.NamedBlocks=o;var s=class extends((0,n.node)().fields()){get args(){let e=this.componentArgs.map((e=>e.toNamedArgument()));return r.Args.named(new r.NamedArguments({loc:t.SpanList.range(e,this.name.loc.collapse("end")),entries:e}))}};e.NamedBlock=s}}),Z=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v2-a/api.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0});var t=q();Object.keys(t).forEach((function(r){"default"===r||"__esModule"===r||Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[r]}})}));var r=V();Object.keys(r).forEach((function(t){"default"===t||"__esModule"===t||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}})}));var n=z();Object.keys(n).forEach((function(t){"default"===t||"__esModule"===t||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})}));var i=W();Object.keys(i).forEach((function(t){"default"===t||"__esModule"===t||Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})}));var a=H();Object.keys(a).forEach((function(t){"default"===t||"__esModule"===t||Object.defineProperty(e,t,{enumerable:!0,get:function(){return a[t]}})}));var o=$();Object.keys(o).forEach((function(t){"default"===t||"__esModule"===t||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})}));var s=Y();Object.keys(s).forEach((function(t){"default"===t||"__esModule"===t||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}})}));var c=X();Object.keys(c).forEach((function(t){"default"===t||"__esModule"===t||Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}})}));var l=Q();Object.keys(l).forEach((function(t){"default"===t||"__esModule"===t||Object.defineProperty(e,t,{enumerable:!0,get:function(){return l[t]}})}))}}),ee=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/generation/util.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.escapeAttrValue=function(e){return t.test(e)?e.replace(r,a):e},e.escapeText=function(e){return n.test(e)?e.replace(i,o):e},e.sortByLoc=function(e,t){return e.loc.isInvisible||t.loc.isInvisible?0:e.loc.startPosition.line<t.loc.startPosition.line||e.loc.startPosition.line===t.loc.startPosition.line&&e.loc.startPosition.column<t.loc.startPosition.column?-1:e.loc.startPosition.line===t.loc.startPosition.line&&e.loc.startPosition.column===t.loc.startPosition.column?0:1};var t=/[\xA0"&]/,r=new RegExp(t.source,"g"),n=/[\xA0&<>]/,i=new RegExp(n.source,"g");function a(e){switch(e.charCodeAt(0)){case 160:return"&nbsp;";case 34:return"&quot;";case 38:return"&amp;";default:return e}}function o(e){switch(e.charCodeAt(0)){case 160:return"&nbsp;";case 38:return"&amp;";case 60:return"&lt;";case 62:return"&gt;";default:return e}}}}),te=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/generation/printer.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.voidMap=void 0;var t=ee(),r=Object.create(null);e.voidMap=r,"area base br col command embed hr img input keygen link meta param source track wbr".split(" ").forEach((e=>{r[e]=!0}));var n=/\S/;e.default=class{constructor(e){this.buffer="",this.options=e}handledByOverride(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(void 0!==this.options.override){let r=this.options.override(e,this.options);if("string"==typeof r)return t&&""!==r&&n.test(r[0])&&(r=" ".concat(r)),this.buffer+=r,!0}return!1}Node(e){switch(e.type){case"MustacheStatement":case"BlockStatement":case"PartialStatement":case"MustacheCommentStatement":case"CommentStatement":case"TextNode":case"ElementNode":case"AttrNode":case"Block":case"Template":return this.TopLevelStatement(e);case"StringLiteral":case"BooleanLiteral":case"NumberLiteral":case"UndefinedLiteral":case"NullLiteral":case"PathExpression":case"SubExpression":return this.Expression(e);case"Program":return this.Block(e);case"ConcatStatement":return this.ConcatStatement(e);case"Hash":return this.Hash(e);case"HashPair":return this.HashPair(e);case"ElementModifierStatement":return this.ElementModifierStatement(e)}}Expression(e){switch(e.type){case"StringLiteral":case"BooleanLiteral":case"NumberLiteral":case"UndefinedLiteral":case"NullLiteral":return this.Literal(e);case"PathExpression":return this.PathExpression(e);case"SubExpression":return this.SubExpression(e)}}Literal(e){switch(e.type){case"StringLiteral":return this.StringLiteral(e);case"BooleanLiteral":return this.BooleanLiteral(e);case"NumberLiteral":return this.NumberLiteral(e);case"UndefinedLiteral":return this.UndefinedLiteral(e);case"NullLiteral":return this.NullLiteral(e)}}TopLevelStatement(e){switch(e.type){case"MustacheStatement":return this.MustacheStatement(e);case"BlockStatement":return this.BlockStatement(e);case"PartialStatement":return this.PartialStatement(e);case"MustacheCommentStatement":return this.MustacheCommentStatement(e);case"CommentStatement":return this.CommentStatement(e);case"TextNode":return this.TextNode(e);case"ElementNode":return this.ElementNode(e);case"Block":case"Template":return this.Block(e);case"AttrNode":return this.AttrNode(e)}}Block(e){e.chained&&(e.body[0].chained=!0),this.handledByOverride(e)||this.TopLevelStatements(e.body)}TopLevelStatements(e){e.forEach((e=>this.TopLevelStatement(e)))}ElementNode(e){this.handledByOverride(e)||(this.OpenElementNode(e),this.TopLevelStatements(e.children),this.CloseElementNode(e))}OpenElementNode(e){this.buffer+="<".concat(e.tag);let r=[...e.attributes,...e.modifiers,...e.comments].sort(t.sortByLoc);for(let e of r)switch(this.buffer+=" ",e.type){case"AttrNode":this.AttrNode(e);break;case"ElementModifierStatement":this.ElementModifierStatement(e);break;case"MustacheCommentStatement":this.MustacheCommentStatement(e)}e.blockParams.length&&this.BlockParams(e.blockParams),e.selfClosing&&(this.buffer+=" /"),this.buffer+=">"}CloseElementNode(e){e.selfClosing||r[e.tag.toLowerCase()]||(this.buffer+="</".concat(e.tag,">"))}AttrNode(e){if(this.handledByOverride(e))return;let{name:t,value:r}=e;this.buffer+=t,("TextNode"!==r.type||r.chars.length>0)&&(this.buffer+="=",this.AttrNodeValue(r))}AttrNodeValue(e){"TextNode"===e.type?(this.buffer+='"',this.TextNode(e,!0),this.buffer+='"'):this.Node(e)}TextNode(e,r){this.handledByOverride(e)||("raw"===this.options.entityEncoding?this.buffer+=e.chars:this.buffer+=r?(0,t.escapeAttrValue)(e.chars):(0,t.escapeText)(e.chars))}MustacheStatement(e){this.handledByOverride(e)||(this.buffer+=e.escaped?"{{":"{{{",e.strip.open&&(this.buffer+="~"),this.Expression(e.path),this.Params(e.params),this.Hash(e.hash),e.strip.close&&(this.buffer+="~"),this.buffer+=e.escaped?"}}":"}}}")}BlockStatement(e){this.handledByOverride(e)||(e.chained?(this.buffer+=e.inverseStrip.open?"{{~":"{{",this.buffer+="else "):this.buffer+=e.openStrip.open?"{{~#":"{{#",this.Expression(e.path),this.Params(e.params),this.Hash(e.hash),e.program.blockParams.length&&this.BlockParams(e.program.blockParams),e.chained?this.buffer+=e.inverseStrip.close?"~}}":"}}":this.buffer+=e.openStrip.close?"~}}":"}}",this.Block(e.program),e.inverse&&(e.inverse.chained||(this.buffer+=e.inverseStrip.open?"{{~":"{{",this.buffer+="else",this.buffer+=e.inverseStrip.close?"~}}":"}}"),this.Block(e.inverse)),e.chained||(this.buffer+=e.closeStrip.open?"{{~/":"{{/",this.Expression(e.path),this.buffer+=e.closeStrip.close?"~}}":"}}"))}BlockParams(e){this.buffer+=" as |".concat(e.join(" "),"|")}PartialStatement(e){this.handledByOverride(e)||(this.buffer+="{{>",this.Expression(e.name),this.Params(e.params),this.Hash(e.hash),this.buffer+="}}")}ConcatStatement(e){this.handledByOverride(e)||(this.buffer+='"',e.parts.forEach((e=>{"TextNode"===e.type?this.TextNode(e,!0):this.Node(e)})),this.buffer+='"')}MustacheCommentStatement(e){this.handledByOverride(e)||(this.buffer+="{{!--".concat(e.value,"--}}"))}ElementModifierStatement(e){this.handledByOverride(e)||(this.buffer+="{{",this.Expression(e.path),this.Params(e.params),this.Hash(e.hash),this.buffer+="}}")}CommentStatement(e){this.handledByOverride(e)||(this.buffer+="\x3c!--".concat(e.value,"--\x3e"))}PathExpression(e){this.handledByOverride(e)||(this.buffer+=e.original)}SubExpression(e){this.handledByOverride(e)||(this.buffer+="(",this.Expression(e.path),this.Params(e.params),this.Hash(e.hash),this.buffer+=")")}Params(e){e.length&&e.forEach((e=>{this.buffer+=" ",this.Expression(e)}))}Hash(e){this.handledByOverride(e,!0)||e.pairs.forEach((e=>{this.buffer+=" ",this.HashPair(e)}))}HashPair(e){this.handledByOverride(e)||(this.buffer+=e.key,this.buffer+="=",this.Node(e.value))}StringLiteral(e){this.handledByOverride(e)||(this.buffer+=JSON.stringify(e.value))}BooleanLiteral(e){this.handledByOverride(e)||(this.buffer+=e.value)}NumberLiteral(e){this.handledByOverride(e)||(this.buffer+=e.value)}UndefinedLiteral(e){this.handledByOverride(e)||(this.buffer+="undefined")}NullLiteral(e){this.handledByOverride(e)||(this.buffer+="null")}print(e){let{options:t}=this;if(t.override){let r=t.override(e,t);if(void 0!==r)return r}return this.buffer="",this.Node(e),this.buffer}}}}),re=c({"node_modules/@handlebars/parser/dist/cjs/exception.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0});var t=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function r(e,n){var i,a,o,s,c=n&&n.loc;c&&(i=c.start.line,a=c.end.line,o=c.start.column,s=c.end.column,e+=" - "+i+":"+o);for(var u=Error.prototype.constructor.call(this,e),l=0;l<t.length;l++)this[t[l]]=u[t[l]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{c&&(this.lineNumber=i,this.endLineNumber=a,Object.defineProperty?(Object.defineProperty(this,"column",{value:o,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:s,enumerable:!0})):(this.column=o,this.endColumn=s))}catch{}}r.prototype=new Error,e.default=r}}),ne=c({"node_modules/@handlebars/parser/dist/cjs/visitor.js"(e){u();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(re());function n(){this.parents=[]}function i(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")}function a(e){i.call(this,e),this.acceptKey(e,"program"),this.acceptKey(e,"inverse")}function o(e){this.acceptRequired(e,"name"),this.acceptArray(e.params),this.acceptKey(e,"hash")}n.prototype={constructor:n,mutating:!1,acceptKey:function(e,t){var i=this.accept(e[t]);if(this.mutating){if(i&&!n.prototype[i.type])throw new r.default('Unexpected node type "'+i.type+'" found when accepting '+t+" on "+e.type);e[t]=i}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new r.default(e.type+" requires "+t)},acceptArray:function(e){for(var t=0,r=e.length;t<r;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,r--)},accept:function(e){if(e){if(!this[e.type])throw new r.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var t=this[e.type](e);if(this.current=this.parents.shift(),!this.mutating||t)return t;if(!1!==t)return e}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:i,Decorator:i,BlockStatement:a,DecoratorBlock:a,PartialStatement:o,PartialBlockStatement:function(e){o.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:i,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}},e.default=n}}),ie=c({"node_modules/@handlebars/parser/dist/cjs/whitespace-control.js"(e){u();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(ne());function n(e){void 0===e&&(e={}),this.options=e}function i(e,t,r){void 0===t&&(t=e.length);var n=e[t-1],i=e[t-2];return n?"ContentStatement"===n.type?(i||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original):void 0:r}function a(e,t,r){void 0===t&&(t=-1);var n=e[t+1],i=e[t+2];return n?"ContentStatement"===n.type?(i||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original):void 0:r}function o(e,t,r){var n=e[null==t?0:t+1];if(n&&"ContentStatement"===n.type&&(r||!n.rightStripped)){var i=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==i}}function s(e,t,r){var n=e[null==t?e.length-1:t-1];if(n&&"ContentStatement"===n.type&&(r||!n.leftStripped)){var i=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==i,n.leftStripped}}n.prototype=new r.default,n.prototype.Program=function(e){var t=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=e.body,c=0,u=n.length;c<u;c++){var l=n[c],p=this.accept(l);if(p){var d=i(n,c,r),f=a(n,c,r),_=p.openStandalone&&d,m=p.closeStandalone&&f,g=p.inlineStandalone&&d&&f;p.close&&o(n,c,!0),p.open&&s(n,c,!0),t&&g&&(o(n,c),s(n,c)&&"PartialStatement"===l.type&&(l.indent=/([ \t]+$)/.exec(n[c-1].original)[1])),t&&_&&(o((l.program||l.inverse).body),s(n,c)),t&&m&&(o(n,c),s((l.inverse||l.program).body))}}return e},n.prototype.BlockStatement=n.prototype.DecoratorBlock=n.prototype.PartialBlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,r=e.program&&e.inverse,n=r,c=r;if(r&&r.chained)for(n=r.body[0].program;c.chained;)c=c.body[c.body.length-1].program;var u={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:a(t.body),closeStandalone:i((n||t).body)};if(e.openStrip.close&&o(t.body,null,!0),r){var l=e.inverseStrip;l.open&&s(t.body,null,!0),l.close&&o(n.body,null,!0),e.closeStrip.open&&s(c.body,null,!0),!this.options.ignoreStandalone&&i(t.body)&&a(n.body)&&(s(t.body),o(n.body))}else e.closeStrip.open&&s(t.body,null,!0);return u},n.prototype.Decorator=n.prototype.MustacheStatement=function(e){return e.strip},n.prototype.PartialStatement=n.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},e.default=n}}),ae=c({"node_modules/@handlebars/parser/dist/cjs/parser.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0});var t=function(){var e=function(e,t,r,n){for(r=r||{},n=e.length;n--;r[e[n]]=t);return r},t=[2,44],r=[1,20],n=[5,14,15,19,29,34,39,44,47,48,52,56,60],i=[1,35],a=[1,38],o=[1,30],s=[1,31],c=[1,32],u=[1,33],l=[1,34],p=[1,37],d=[14,15,19,29,34,39,44,47,48,52,56,60],f=[14,15,19,29,34,44,47,48,52,56,60],_=[15,18],m=[14,15,19,29,34,47,48,52,56,60],g=[33,64,71,79,80,81,82,83,84],h=[23,33,55,64,67,71,74,79,80,81,82,83,84],y=[1,51],v=[23,33,55,64,67,71,74,79,80,81,82,83,84,86],D=[2,43],b=[55,64,71,79,80,81,82,83,84],x=[1,58],E=[1,59],S=[1,66],C=[33,64,71,74,79,80,81,82,83,84],T=[23,64,71,79,80,81,82,83,84],k=[1,76],A=[64,67,71,79,80,81,82,83,84],N=[33,74],P=[23,33,55,67,71,74],F=[1,106],w=[1,118],I=[71,76],O={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,expr:49,mustache_repetition0:50,mustache_option0:51,OPEN_UNESCAPED:52,mustache_repetition1:53,mustache_option1:54,CLOSE_UNESCAPED:55,OPEN_PARTIAL:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,sexpr:63,OPEN_SEXPR:64,sexpr_repetition0:65,sexpr_option0:66,CLOSE_SEXPR:67,hash:68,hash_repetition_plus0:69,hashSegment:70,ID:71,EQUALS:72,blockParams:73,OPEN_BLOCK_PARAMS:74,blockParams_repetition_plus0:75,CLOSE_BLOCK_PARAMS:76,path:77,dataName:78,STRING:79,NUMBER:80,BOOLEAN:81,UNDEFINED:82,NULL:83,DATA:84,pathSegments:85,SEP:86,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",52:"OPEN_UNESCAPED",55:"CLOSE_UNESCAPED",56:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",64:"OPEN_SEXPR",67:"CLOSE_SEXPR",71:"ID",72:"EQUALS",74:"OPEN_BLOCK_PARAMS",76:"CLOSE_BLOCK_PARAMS",79:"STRING",80:"NUMBER",81:"BOOLEAN",82:"UNDEFINED",83:"NULL",84:"DATA",86:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[49,1],[49,1],[63,5],[68,1],[70,3],[73,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[78,2],[77,1],[85,3],[85,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[50,0],[50,2],[51,0],[51,1],[53,0],[53,2],[54,0],[54,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[65,0],[65,2],[66,0],[66,1],[69,1],[69,2],[75,1],[75,2]],performAction:function(e,t,r,n,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=n.prepareProgram(a[s]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:this.$=a[s];break;case 9:this.$={type:"CommentStatement",value:n.stripComment(a[s]),strip:n.stripFlags(a[s],a[s]),loc:n.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:a[s],value:a[s],loc:n.locInfo(this._$)};break;case 11:this.$=n.prepareRawBlock(a[s-2],a[s-1],a[s],this._$);break;case 12:this.$={path:a[s-3],params:a[s-2],hash:a[s-1]};break;case 13:this.$=n.prepareBlock(a[s-3],a[s-2],a[s-1],a[s],!1,this._$);break;case 14:this.$=n.prepareBlock(a[s-3],a[s-2],a[s-1],a[s],!0,this._$);break;case 15:this.$={open:a[s-5],path:a[s-4],params:a[s-3],hash:a[s-2],blockParams:a[s-1],strip:n.stripFlags(a[s-5],a[s])};break;case 16:case 17:this.$={path:a[s-4],params:a[s-3],hash:a[s-2],blockParams:a[s-1],strip:n.stripFlags(a[s-5],a[s])};break;case 18:this.$={strip:n.stripFlags(a[s-1],a[s-1]),program:a[s]};break;case 19:var c=n.prepareBlock(a[s-2],a[s-1],a[s],a[s],!1,this._$),u=n.prepareProgram([c],a[s-1].loc);u.chained=!0,this.$={strip:a[s-2].strip,program:u,chain:!0};break;case 21:this.$={path:a[s-1],strip:n.stripFlags(a[s-2],a[s])};break;case 22:case 23:this.$=n.prepareMustache(a[s-3],a[s-2],a[s-1],a[s-4],n.stripFlags(a[s-4],a[s]),this._$);break;case 24:this.$={type:"PartialStatement",name:a[s-3],params:a[s-2],hash:a[s-1],indent:"",strip:n.stripFlags(a[s-4],a[s]),loc:n.locInfo(this._$)};break;case 25:this.$=n.preparePartialBlock(a[s-2],a[s-1],a[s],this._$);break;case 26:this.$={path:a[s-3],params:a[s-2],hash:a[s-1],strip:n.stripFlags(a[s-4],a[s])};break;case 29:this.$={type:"SubExpression",path:a[s-3],params:a[s-2],hash:a[s-1],loc:n.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:a[s],loc:n.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:n.id(a[s-2]),value:a[s],loc:n.locInfo(this._$)};break;case 32:this.$=n.id(a[s-1]);break;case 35:this.$={type:"StringLiteral",value:a[s],original:a[s],loc:n.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(a[s]),original:Number(a[s]),loc:n.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===a[s],original:"true"===a[s],loc:n.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:n.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:n.locInfo(this._$)};break;case 40:this.$=n.preparePath(!0,a[s],this._$);break;case 41:this.$=n.preparePath(!1,a[s],this._$);break;case 42:a[s-2].push({part:n.id(a[s]),original:a[s],separator:a[s-1]}),this.$=a[s-2];break;case 43:this.$=[{part:n.id(a[s]),original:a[s]}];break;case 44:case 46:case 48:case 56:case 62:case 68:case 76:case 80:case 84:case 88:case 92:this.$=[];break;case 45:case 47:case 49:case 57:case 63:case 69:case 77:case 81:case 85:case 89:case 93:case 97:case 99:a[s-1].push(a[s]);break;case 96:case 98:this.$=[a[s]]}},table:[e([5,14,15,19,29,34,48,52,56,60],t,{3:1,4:2,6:3}),{1:[3]},{5:[1,4]},e([5,39,44,47],[2,2],{7:5,8:6,9:7,10:8,11:9,12:10,13:11,24:15,27:16,16:17,59:19,14:[1,12],15:r,19:[1,23],29:[1,21],34:[1,22],48:[1,13],52:[1,14],56:[1,18],60:[1,24]}),{1:[2,1]},e(n,[2,45]),e(n,[2,3]),e(n,[2,4]),e(n,[2,5]),e(n,[2,6]),e(n,[2,7]),e(n,[2,8]),e(n,[2,9]),{20:26,49:25,63:27,64:i,71:a,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},{20:26,49:39,63:27,64:i,71:a,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},e(d,t,{6:3,4:40}),e(f,t,{6:3,4:41}),e(_,[2,46],{17:42}),{20:26,49:43,63:27,64:i,71:a,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},e(m,t,{6:3,4:44}),e([5,14,15,18,19,29,34,39,44,47,48,52,56,60],[2,10]),{20:45,71:a,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},{20:46,71:a,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},{20:47,71:a,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},{20:26,49:48,63:27,64:i,71:a,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},e(g,[2,76],{50:49}),e(h,[2,27]),e(h,[2,28]),e(h,[2,33]),e(h,[2,34]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),e(h,[2,39]),{20:26,49:50,63:27,64:i,71:a,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},e(h,[2,41],{86:y}),{71:a,85:52},e(v,D),e(b,[2,80],{53:53}),{25:54,38:56,39:x,43:57,44:E,45:55,47:[2,52]},{28:60,43:61,44:E,47:[2,54]},{13:63,15:r,18:[1,62]},e(g,[2,84],{57:64}),{26:65,47:S},e(C,[2,56],{30:67}),e(C,[2,62],{35:68}),e(T,[2,48],{21:69}),e(g,[2,88],{61:70}),{20:26,33:[2,78],49:72,51:71,63:27,64:i,68:73,69:74,70:75,71:k,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},e(A,[2,92],{65:77}),{71:[1,78]},e(h,[2,40],{86:y}),{20:26,49:80,54:79,55:[2,82],63:27,64:i,68:81,69:74,70:75,71:k,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},{26:82,47:S},{47:[2,53]},e(d,t,{6:3,4:83}),{47:[2,20]},{20:84,71:a,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},e(m,t,{6:3,4:85}),{26:86,47:S},{47:[2,55]},e(n,[2,11]),e(_,[2,47]),{20:26,33:[2,86],49:88,58:87,63:27,64:i,68:89,69:74,70:75,71:k,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},e(n,[2,25]),{20:90,71:a,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},e(N,[2,58],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,31:91,49:92,68:93,64:i,71:k,79:o,80:s,81:c,82:u,83:l,84:p}),e(N,[2,64],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,36:94,49:95,68:96,64:i,71:k,79:o,80:s,81:c,82:u,83:l,84:p}),{20:26,22:97,23:[2,50],49:98,63:27,64:i,68:99,69:74,70:75,71:k,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},{20:26,33:[2,90],49:101,62:100,63:27,64:i,68:102,69:74,70:75,71:k,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},{33:[1,103]},e(g,[2,77]),{33:[2,79]},e([23,33,55,67,74],[2,30],{70:104,71:[1,105]}),e(P,[2,96]),e(v,D,{72:F}),{20:26,49:108,63:27,64:i,66:107,67:[2,94],68:109,69:74,70:75,71:k,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},e(v,[2,42]),{55:[1,110]},e(b,[2,81]),{55:[2,83]},e(n,[2,13]),{38:56,39:x,43:57,44:E,45:112,46:111,47:[2,74]},e(C,[2,68],{40:113}),{47:[2,18]},e(n,[2,14]),{33:[1,114]},e(g,[2,85]),{33:[2,87]},{33:[1,115]},{32:116,33:[2,60],73:117,74:w},e(C,[2,57]),e(N,[2,59]),{33:[2,66],37:119,73:120,74:w},e(C,[2,63]),e(N,[2,65]),{23:[1,121]},e(T,[2,49]),{23:[2,51]},{33:[1,122]},e(g,[2,89]),{33:[2,91]},e(n,[2,22]),e(P,[2,97]),{72:F},{20:26,49:123,63:27,64:i,71:a,77:28,78:29,79:o,80:s,81:c,82:u,83:l,84:p,85:36},{67:[1,124]},e(A,[2,93]),{67:[2,95]},e(n,[2,23]),{47:[2,19]},{47:[2,75]},e(N,[2,70],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,41:125,49:126,68:127,64:i,71:k,79:o,80:s,81:c,82:u,83:l,84:p}),e(n,[2,24]),e(n,[2,21]),{33:[1,128]},{33:[2,61]},{71:[1,130],75:129},{33:[1,131]},{33:[2,67]},e(_,[2,12]),e(m,[2,26]),e(P,[2,31]),e(h,[2,29]),{33:[2,72],42:132,73:133,74:w},e(C,[2,69]),e(N,[2,71]),e(d,[2,15]),{71:[1,135],76:[1,134]},e(I,[2,98]),e(f,[2,16]),{33:[1,136]},{33:[2,73]},{33:[2,32]},e(I,[2,99]),e(d,[2,17])],defaultActions:{4:[2,1],55:[2,53],57:[2,20],61:[2,55],73:[2,79],81:[2,83],85:[2,18],89:[2,87],99:[2,51],102:[2,91],109:[2,95],111:[2,19],112:[2,75],117:[2,61],120:[2,67],133:[2,73],134:[2,32]},parseError:function(e,t){if(!t.recoverable){var r=new Error(e);throw r.hash=t,r}this.trace(e)},parse:function(e){var t=this,r=[0],n=[null],i=[],a=this.table,o="",s=0,c=0,u=0,l=2,p=1,d=i.slice.call(arguments,1),f=Object.create(this.lexer),_={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(_.yy[m]=this.yy[m]);f.setInput(e,_.yy),_.yy.lexer=f,_.yy.parser=this,typeof f.yylloc>"u"&&(f.yylloc={});var g=f.yylloc;i.push(g);var h=f.options&&f.options.ranges;"function"==typeof _.yy.parseError?this.parseError=_.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,D,b,x,E,S,C,T,k=function(){var e;return"number"!=typeof(e=f.lex()||p)&&(e=t.symbols_[e]||e),e},A={};;){if(D=r[r.length-1],this.defaultActions[D]?b=this.defaultActions[D]:((null===y||typeof y>"u")&&(y=k()),b=a[D]&&a[D][y]),typeof b>"u"||!b.length||!b[0]){var N="";for(E in T=[],a[D])this.terminals_[E]&&E>l&&T.push("'"+this.terminals_[E]+"'");N=f.showPosition?"Parse error on line "+(s+1)+":\n"+f.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(s+1)+": Unexpected "+(y==p?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(N,{text:f.match,token:this.terminals_[y]||y,line:f.yylineno,loc:g,expected:T})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+D+", token: "+y);switch(b[0]){case 1:r.push(y),n.push(f.yytext),i.push(f.yylloc),r.push(b[1]),y=null,v?(y=v,v=null):(c=f.yyleng,o=f.yytext,s=f.yylineno,g=f.yylloc,u>0&&u--);break;case 2:if(S=this.productions_[b[1]][1],A.$=n[n.length-S],A._$={first_line:i[i.length-(S||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(S||1)].first_column,last_column:i[i.length-1].last_column},h&&(A._$.range=[i[i.length-(S||1)].range[0],i[i.length-1].range[1]]),typeof(x=this.performAction.apply(A,[o,c,s,_.yy,b[1],n,i].concat(d)))<"u")return x;S&&(r=r.slice(0,-1*S*2),n=n.slice(0,-1*S),i=i.slice(0,-1*S)),r.push(this.productions_[b[1]][0]),n.push(A.$),i.push(A._$),C=a[r[r.length-2]][r[r.length-1]],r.push(C);break;case 3:return!0}}return!0}},L={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,r=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===n.length?this.yylloc.first_column:0)+n[n.length-r.length].length-r[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var r,n,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(n=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],r=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!t||r[0].length>t[0].length)){if(t=r,n=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(r,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,r,n){function i(e,r){return t.yytext=t.yytext.substring(e,t.yyleng-r+e)}switch(r){case 0:if("\\\\"===t.yytext.slice(-2)?(i(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(i(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(i(5,9),18);case 6:case 22:return this.popState(),14;case 7:return 64;case 8:return 67;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 56;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 52;case 20:case 23:return 48;case 21:this.unput(t.yytext),this.popState(),this.begin("com");break;case 24:return 72;case 25:case 26:case 41:return 71;case 27:return 86;case 28:break;case 29:return this.popState(),55;case 30:return this.popState(),33;case 31:return t.yytext=i(1,2).replace(/\\"/g,'"'),79;case 32:return t.yytext=i(1,2).replace(/\\'/g,"'"),79;case 33:return 84;case 34:case 35:return 81;case 36:return 82;case 37:return 83;case 38:return 80;case 39:return 74;case 40:return 76;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),71;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};function M(){this.yy={}}return O.lexer=L,M.prototype=O,O.Parser=M,new M}();e.default=t}}),oe=c({"node_modules/@handlebars/parser/dist/cjs/printer.js"(e){u();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.PrintVisitor=e.print=void 0;var r=t(ne());function n(){this.padding=0}e.print=function(e){return(new n).accept(e)},e.PrintVisitor=n,n.prototype=new r.default,n.prototype.pad=function(e){for(var t="",r=0,n=this.padding;r<n;r++)t+=" ";return t+(e+"\n")},n.prototype.Program=function(e){var t,r,n="",i=e.body;if(e.blockParams){var a="BLOCK PARAMS: [";for(t=0,r=e.blockParams.length;t<r;t++)a+=" "+e.blockParams[t];a+=" ]",n+=this.pad(a)}for(t=0,r=i.length;t<r;t++)n+=this.accept(i[t]);return this.padding--,n},n.prototype.MustacheStatement=function(e){return this.pad("{{ "+this.SubExpression(e)+" }}")},n.prototype.Decorator=function(e){return this.pad("{{ DIRECTIVE "+this.SubExpression(e)+" }}")},n.prototype.BlockStatement=n.prototype.DecoratorBlock=function(e){var t="";return t+=this.pad(("DecoratorBlock"===e.type?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,t+=this.pad(this.SubExpression(e)),e.program&&(t+=this.pad("PROGRAM:"),this.padding++,t+=this.accept(e.program),this.padding--),e.inverse&&(e.program&&this.padding++,t+=this.pad("{{^}}"),this.padding++,t+=this.accept(e.inverse),this.padding--,e.program&&this.padding--),this.padding--,t},n.prototype.PartialStatement=function(e){var t="PARTIAL:"+e.name.original;return e.params[0]&&(t+=" "+this.accept(e.params[0])),e.hash&&(t+=" "+this.accept(e.hash)),this.pad("{{> "+t+" }}")},n.prototype.PartialBlockStatement=function(e){var t="PARTIAL BLOCK:"+e.name.original;return e.params[0]&&(t+=" "+this.accept(e.params[0])),e.hash&&(t+=" "+this.accept(e.hash)),t+=" "+this.pad("PROGRAM:"),this.padding++,t+=this.accept(e.program),this.padding--,this.pad("{{> "+t+" }}")},n.prototype.ContentStatement=function(e){return this.pad("CONTENT[ '"+e.value+"' ]")},n.prototype.CommentStatement=function(e){return this.pad("{{! '"+e.value+"' }}")},n.prototype.SubExpression=function(e){for(var t,r=e.params,n=[],i=0,a=r.length;i<a;i++)n.push(this.accept(r[i]));return r="["+n.join(", ")+"]",t=e.hash?" "+this.accept(e.hash):"",this.accept(e.path)+" "+r+t},n.prototype.PathExpression=function(e){var t=e.parts.join("/");return(e.data?"@":"")+"PATH:"+t},n.prototype.StringLiteral=function(e){return'"'+e.value+'"'},n.prototype.NumberLiteral=function(e){return"NUMBER{"+e.value+"}"},n.prototype.BooleanLiteral=function(e){return"BOOLEAN{"+e.value+"}"},n.prototype.UndefinedLiteral=function(){return"UNDEFINED"},n.prototype.NullLiteral=function(){return"NULL"},n.prototype.Hash=function(e){for(var t=e.pairs,r=[],n=0,i=t.length;n<i;n++)r.push(this.accept(t[n]));return"HASH{"+r.join(", ")+"}"},n.prototype.HashPair=function(e){return e.key+"="+this.accept(e.value)}}}),se=c({"node_modules/@handlebars/parser/dist/cjs/helpers.js"(e){u();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.preparePartialBlock=e.prepareProgram=e.prepareBlock=e.prepareRawBlock=e.prepareMustache=e.preparePath=e.stripComment=e.stripFlags=e.id=e.SourceLocation=void 0;var r=t(re());function n(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var n={loc:e.path.loc};throw new r.default(e.path.original+" doesn't match "+t,n)}}e.SourceLocation=function(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}},e.id=function(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e},e.stripFlags=function(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}},e.stripComment=function(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},e.preparePath=function(e,t,n){n=this.locInfo(n);for(var i=e?"@":"",a=[],o=0,s=0,c=t.length;s<c;s++){var u=t[s].part,l=t[s].original!==u;if(i+=(t[s].separator||"")+u,l||".."!==u&&"."!==u&&"this"!==u)a.push(u);else{if(a.length>0)throw new r.default("Invalid path: "+i,{loc:n});".."===u&&o++}}return{type:"PathExpression",data:e,depth:o,parts:a,original:i,loc:n}},e.prepareMustache=function(e,t,r,n,i,a){var o=n.charAt(3)||n.charAt(2),s="{"!==o&&"&"!==o;return{type:/\*/.test(n)?"Decorator":"MustacheStatement",path:e,params:t,hash:r,escaped:s,strip:i,loc:this.locInfo(a)}},e.prepareRawBlock=function(e,t,r,i){n(e,r);var a={type:"Program",body:t,strip:{},loc:i=this.locInfo(i)};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:a,openStrip:{},inverseStrip:{},closeStrip:{},loc:i}},e.prepareBlock=function(e,t,i,a,o,s){a&&a.path&&n(e,a);var c,u,l=/\*/.test(e.open);if(t.blockParams=e.blockParams,i){if(l)throw new r.default("Unexpected inverse block on decorator",i);i.chain&&(i.program.body[0].closeStrip=a.strip),u=i.strip,c=i.program}return o&&(o=c,c=t,t=o),{type:l?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:c,openStrip:e.strip,inverseStrip:u,closeStrip:a&&a.strip,loc:this.locInfo(s)}},e.prepareProgram=function(e,t){if(!t&&e.length){var r=e[0].loc,n=e[e.length-1].loc;r&&n&&(t={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:e,strip:{},loc:t}},e.preparePartialBlock=function(e,t,r,i){return n(e,r),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:r&&r.strip,loc:this.locInfo(i)}}}}),ce=c({"node_modules/@handlebars/parser/dist/cjs/parse.js"(e){u();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.parse=e.parseWithoutProcessing=void 0;var a,o=i(ae()),s=i(ie()),c=n(se()),l={};for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(l[a]=c[a]);function p(e,t){return"Program"===e.type?e:(o.default.yy=l,o.default.yy.locInfo=function(e){return new c.SourceLocation(t&&t.srcName,e)},o.default.parse(e))}e.parseWithoutProcessing=p,e.parse=function(e,t){var r=p(e,t);return new s.default(t).accept(r)}}}),ue=c({"node_modules/@handlebars/parser/dist/cjs/index.js"(e){u();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.parseWithoutProcessing=e.parse=e.PrintVisitor=e.print=e.Exception=e.parser=e.WhitespaceControl=e.Visitor=void 0;var r=ne();Object.defineProperty(e,"Visitor",{enumerable:!0,get:function(){return t(r).default}});var n=ie();Object.defineProperty(e,"WhitespaceControl",{enumerable:!0,get:function(){return t(n).default}});var i=ae();Object.defineProperty(e,"parser",{enumerable:!0,get:function(){return t(i).default}});var a=re();Object.defineProperty(e,"Exception",{enumerable:!0,get:function(){return t(a).default}});var o=oe();Object.defineProperty(e,"print",{enumerable:!0,get:function(){return o.print}}),Object.defineProperty(e,"PrintVisitor",{enumerable:!0,get:function(){return o.PrintVisitor}});var s=ce();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return s.parse}}),Object.defineProperty(e,"parseWithoutProcessing",{enumerable:!0,get:function(){return s.parseWithoutProcessing}})}}),le=c({"node_modules/simple-html-tokenizer/dist/simple-html-tokenizer.js"(a,o){var s;u(),s=function(e){var t={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",Backslash:"",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",Bernoullis:"",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"",caps:"∩︀",caret:"",caron:"ˇ",Cayleys:"",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"",dd:"",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:"",emsp14:"",emsp:"",ENG:"Ŋ",eng:"ŋ",ensp:"",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"",Escr:"",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"",exponentiale:"",ExponentialE:"",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",fscr:"𝒻",Fscr:"",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:"",half:"½",hamilt:"",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"",HilbertSpace:"",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"",hyphen:"",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"",Igrave:"Ì",igrave:"ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"",ImaginaryI:"",imagline:"",imagpart:"",imath:"ı",Im:"",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",lscr:"𝓁",Lscr:"",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"",Mellintrf:"",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"",middot:"·",minusb:"⊟",minus:"",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"",pointint:"⨕",popf:"𝕡",Popf:"",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"",Prime:"″",primes:"",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:"",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"",rationals:"",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"",realine:"",realpart:"",reals:"",Re:"",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"",rscr:"𝓇",Rscr:"",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",ThickSpace:"",ThinSpace:"",thinsp:"",thkap:"≈",thksim:"",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"",Vee:"",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},r=/^#[xX]([A-Fa-f0-9]+)$/,n=/^#([0-9]+)$/,i=/^([A-Za-z0-9]+)$/,a=function(){function e(e){this.named=e}return e.prototype.parse=function(e){if(e){var t=e.match(r);if(t)return String.fromCharCode(parseInt(t[1],16));if(t=e.match(n))return String.fromCharCode(parseInt(t[1],10));if(t=e.match(i))return this.named[t[1]]}},e}(),o=/[\t\n\f ]/,s=/[A-Za-z]/,c=/\r\n?/g;function u(e){return o.test(e)}function l(e){return s.test(e)}var p=function(){function e(e,t,r){void 0===r&&(r="precompile"),this.delegate=e,this.entityParser=t,this.mode=r,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===e){var t=this.tagNameBuffer.toLowerCase();("pre"===t||"textarea"===t)&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer;"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||l(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){var e=this.consume();"-"===e&&"-"===this.peek()?(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment()):"DOCTYPE"===e.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){u(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var e=this.consume();u(e)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase()))},doctypeName:function(){var e=this.consume();u(e)?this.transitionTo("afterDoctypeName"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase())},afterDoctypeName:function(){var e=this.consume();if(!u(e))if(">"===e)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var t=e.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),r="PUBLIC"===t.toUpperCase(),n="SYSTEM"===t.toUpperCase();(r||n)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),r?this.transitionTo("afterDoctypePublicKeyword"):n&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var e=this.peek();u(e)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):'"'===e?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):"'"===e?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):">"===e&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},doctypePublicIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},afterDoctypePublicIdentifier:function(){var e=this.consume();u(e)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var e=this.consume();u(e)||(">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},doctypeSystemIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},afterDoctypeSystemIdentifier:function(){var e=this.consume();u(e)||">"===e&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();u(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();u(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();u(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();u(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();u(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();u(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();u(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();u(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||l(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(c,"\n")}(e);this.index<this.input.length;){var t=this.states[this.state];if(void 0===t)throw new Error("unhandled state "+this.state);t.call(this)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),r=this.entityParser.parse(t);if(r){for(var n=t.length;n;)this.consume(),n--;return this.consume(),r}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},e.prototype.isIgnoredEndTag=function(){var e=this.tagNameBuffer;return"title"===e&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===e&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),d=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new p(this,e,t.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t<arguments.length;t++)if(e.type===arguments[t])return e;throw new Error("token type was unexpectedly "+e.type)},e.prototype.push=function(e){this.token=e,this.tokens.push(e)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},e.prototype.appendToDoctypeName=function(e){this.current("Doctype").name+=e},e.prototype.appendToDoctypePublicIdentifier=function(e){var t=this.current("Doctype");void 0===t.publicIdentifier?t.publicIdentifier=e:t.publicIdentifier+=e},e.prototype.appendToDoctypeSystemIdentifier=function(e){var t=this.current("Doctype");void 0===t.systemIdentifier?t.systemIdentifier=e:t.systemIdentifier+=e},e.prototype.endDoctype=function(){this.addLocInfo()},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(e){this.current("Chars").chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(e){this.current("Comment").chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(e){this.current("StartTag","EndTag").tagName+=e},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(e){this.currentAttribute()[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute()[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute()[1]+=e},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(e){this.current().syntaxError=e},e}();e.HTML5NamedCharRefs=t,e.EntityParser=a,e.EventedTokenizer=p,e.Tokenizer=d,e.tokenize=function(e,r){return new d(new a(t),r).tokenize(e)},Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof a&&typeof o<"u"?s(a):(n=[t],void 0===(i="function"==typeof(r=s)?r.apply(t,n):r)||(e.exports=i))}}),pe=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/generation/print.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{entityEncoding:"transformed"};return e?new r.default(t).print(e):""};var t,r=(t=te())&&t.__esModule?t:{default:t}}}),de=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/syntax-error.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.generateSyntaxError=function(e,t){let{module:r,loc:n}=t,{line:i,column:a}=n.start,o=t.asString(),s=o?"\n\n|\n| ".concat(o.split("\n").join("\n| "),"\n|\n\n"):"",c=new Error("".concat(e,": ").concat(s,"(error occurred in '").concat(r,"' @ line ").concat(i," : column ").concat(a,")"));return c.name="SyntaxError",c.location=t,c.code=o,c}}}),fe=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v1/visitor-keys.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=F(),r={Program:(0,t.tuple)("body"),Template:(0,t.tuple)("body"),Block:(0,t.tuple)("body"),MustacheStatement:(0,t.tuple)("path","params","hash"),BlockStatement:(0,t.tuple)("path","params","hash","program","inverse"),ElementModifierStatement:(0,t.tuple)("path","params","hash"),PartialStatement:(0,t.tuple)("name","params","hash"),CommentStatement:(0,t.tuple)(),MustacheCommentStatement:(0,t.tuple)(),ElementNode:(0,t.tuple)("attributes","modifiers","children","comments"),AttrNode:(0,t.tuple)("value"),TextNode:(0,t.tuple)(),ConcatStatement:(0,t.tuple)("parts"),SubExpression:(0,t.tuple)("path","params","hash"),PathExpression:(0,t.tuple)(),PathHead:(0,t.tuple)(),StringLiteral:(0,t.tuple)(),BooleanLiteral:(0,t.tuple)(),NumberLiteral:(0,t.tuple)(),NullLiteral:(0,t.tuple)(),UndefinedLiteral:(0,t.tuple)(),Hash:(0,t.tuple)("pairs"),HashPair:(0,t.tuple)("value"),NamedBlock:(0,t.tuple)("attributes","modifiers","children","comments"),SimpleElement:(0,t.tuple)("attributes","modifiers","children","comments"),Component:(0,t.tuple)("head","attributes","modifiers","children","comments")};e.default=r}}),_e=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/traversal/errors.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.cannotRemoveNode=function(e,r,n){return new t("Cannot remove a node unless it is part of an array",e,r,n)},e.cannotReplaceNode=function(e,r,n){return new t("Cannot replace a node with multiple nodes unless it is part of an array",e,r,n)},e.cannotReplaceOrRemoveInKeyHandlerYet=function(e,r){return new t("Replacing and removing in key handlers is not yet supported.",e,null,r)},e.default=void 0;var t=function(){function e(e,t,r,n){let i=Error.call(this,e);this.key=n,this.message=e,this.node=t,this.parent=r,this.stack=i.stack}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}(),r=t;e.default=r}}),me=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/traversal/path.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.node=e,this.parent=t,this.parentKey=r}get parentNode(){return this.parent?this.parent.node:null}parents(){return{[Symbol.iterator]:()=>new t(this)}}};var t=class{constructor(e){this.path=e}next(){return this.path.parent?(this.path=this.path.parent,{done:!1,value:this.path}):{done:!0,value:null}}}}}),ge=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/traversal/traverse.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){s(t,new n.default(e))},F();var t=i(fe()),r=_e(),n=i(me());function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return"function"==typeof e?e:e.enter}function o(e){if("function"!=typeof e)return e.exit}function s(e,r){let i,c,u,{node:d,parent:f,parentKey:_}=r,m=function(e,t){if(("Template"===t||"Block"===t)&&e.Program)return e.Program;let r=e[t];return void 0!==r?r:e.All}(e,d.type);if(void 0!==m&&(i=a(m),c=o(m)),void 0!==i&&(u=i(d,r)),null!=u){if(JSON.stringify(d)!==JSON.stringify(u))return Array.isArray(u)?(p(e,u,f,_),u):s(e,new n.default(u,f,_))||u;u=void 0}if(void 0===u){let n=t.default[d.type];for(let t=0;t<n.length;t++)l(e,m,r,n[t]);void 0!==c&&(u=c(d,r))}return u}function c(e,t,r){e[t]=r}function l(e,t,i,u){let l,d,{node:f}=i,_=function(e,t){return e[t]}(f,u);if(_){if(void 0!==t){let e=function(e,t){let r="function"!=typeof e?e.keys:void 0;if(void 0===r)return;let n=r[t];return void 0!==n?n:r.All}(t,u);void 0!==e&&(l=a(e),d=o(e))}if(void 0!==l&&void 0!==l(f,u))throw(0,r.cannotReplaceOrRemoveInKeyHandlerYet)(f,u);if(Array.isArray(_))p(e,_,i,u);else{let t=s(e,new n.default(_,i,u));void 0!==t&&function(e,t,n,i){if(null===i)throw(0,r.cannotRemoveNode)(n,e,t);if(Array.isArray(i)){if(1!==i.length)throw 0===i.length?(0,r.cannotRemoveNode)(n,e,t):(0,r.cannotReplaceNode)(n,e,t);c(e,t,i[0])}else c(e,t,i)}(f,u,_,t)}if(void 0!==d&&void 0!==d(f,u))throw(0,r.cannotReplaceOrRemoveInKeyHandlerYet)(f,u)}}function p(e,t,r,i){for(let a=0;a<t.length;a++){let o=t[a],c=s(e,new n.default(o,r,i));void 0!==c&&(a+=d(t,a,c)-1)}}function d(e,t,r){return null===r?(e.splice(t,1),0):Array.isArray(r)?(e.splice(t,1,...r),r.length):(e.splice(t,1,r),1)}}}),he=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/traversal/walker.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=class{constructor(e){this.order=e,this.stack=[]}visit(e,t){!e||(this.stack.push(e),"post"===this.order?(this.children(e,t),t(e,this)):(t(e,this),this.children(e,t)),this.stack.pop())}children(e,r){switch(e.type){case"Block":case"Template":return t.Program(this,e,r);case"ElementNode":return t.ElementNode(this,e,r);case"BlockStatement":return t.BlockStatement(this,e,r);default:return}}};var t={Program(e,t,r){for(let n=0;n<t.body.length;n++)e.visit(t.body[n],r)},Template(e,t,r){for(let n=0;n<t.body.length;n++)e.visit(t.body[n],r)},Block(e,t,r){for(let n=0;n<t.body.length;n++)e.visit(t.body[n],r)},ElementNode(e,t,r){for(let n=0;n<t.children.length;n++)e.visit(t.children[n],r)},BlockStatement(e,t,r){e.visit(t.program,r),e.visit(t.inverse||null,r)}}}}),ye=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/utils.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.parseElementBlockParams=function(e){let n=function(e){let n=e.attributes.length,i=[];for(let t=0;t<n;t++)i.push(e.attributes[t].name);let a=i.indexOf("as");if(-1===a&&i.length>0&&"|"===i[i.length-1].charAt(0))throw(0,t.generateSyntaxError)("Block parameters must be preceded by the `as` keyword, detected block parameters without `as`",e.loc);if(-1!==a&&n>a&&"|"===i[a+1].charAt(0)){let o=i.slice(a).join(" ");if("|"!==o.charAt(o.length-1)||2!==o.match(/\|/g).length)throw(0,t.generateSyntaxError)("Invalid block parameters syntax, '"+o+"'",e.loc);let s=[];for(let o=a+1;o<n;o++){let n=i[o].replace(/\|/g,"");if(""!==n){if(r.test(n))throw(0,t.generateSyntaxError)("Invalid identifier for block parameters, '"+n+"'",e.loc);s.push(n)}}if(0===s.length)throw(0,t.generateSyntaxError)("Cannot use zero block parameters",e.loc);return e.attributes=e.attributes.slice(0,a),s}return null}(e);n&&(e.blockParams=n)},e.childrenFor=n,e.appendChild=function(e,t){n(e).push(t)},e.isHBSLiteral=function(e){return"StringLiteral"===e.type||"BooleanLiteral"===e.type||"NumberLiteral"===e.type||"NullLiteral"===e.type||"UndefinedLiteral"===e.type},e.printLiteral=function(e){return"UndefinedLiteral"===e.type?"undefined":JSON.stringify(e.value)},e.isUpperCase=function(e){return e[0]===e[0].toUpperCase()&&e[0]!==e[0].toLowerCase()},e.isLowerCase=function(e){return e[0]===e[0].toLowerCase()&&e[0]!==e[0].toUpperCase()};var t=de(),r=/[!"#%-,\.\/;->@\[-\^`\{-~]/;function n(e){switch(e.type){case"Block":case"Template":return e.body;case"ElementNode":return e.children}}}}),ve=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v1/parser-builders.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,F();var t=j(),r={close:!1,open:!1};var n=new class{pos(e,t){return{line:e,column:t}}blockItself(e){let{body:t,blockParams:r,chained:n=!1,loc:i}=e;return{type:"Block",body:t||[],blockParams:r||[],chained:n,loc:i}}template(e){let{body:t,blockParams:r,loc:n}=e;return{type:"Template",body:t||[],blockParams:r||[],loc:n}}mustache(e){let{path:t,params:n,hash:i,trusting:a,loc:o,strip:s=r}=e;return{type:"MustacheStatement",path:t,params:n,hash:i,escaped:!a,trusting:a,loc:o,strip:s||{open:!1,close:!1}}}block(e){let{path:t,params:n,hash:i,defaultBlock:a,elseBlock:o=null,loc:s,openStrip:c=r,inverseStrip:u=r,closeStrip:l=r}=e;return{type:"BlockStatement",path:t,params:n,hash:i,program:a,inverse:o,loc:s,openStrip:c,inverseStrip:u,closeStrip:l}}comment(e,t){return{type:"CommentStatement",value:e,loc:t}}mustacheComment(e,t){return{type:"MustacheCommentStatement",value:e,loc:t}}concat(e,t){return{type:"ConcatStatement",parts:e,loc:t}}element(e){let{tag:t,selfClosing:r,attrs:n,blockParams:i,modifiers:a,comments:o,children:s,loc:c}=e;return{type:"ElementNode",tag:t,selfClosing:r,attributes:n||[],blockParams:i||[],modifiers:a||[],comments:o||[],children:s||[],loc:c}}elementModifier(e){let{path:t,params:r,hash:n,loc:i}=e;return{type:"ElementModifierStatement",path:t,params:r,hash:n,loc:i}}attr(e){let{name:t,value:r,loc:n}=e;return{type:"AttrNode",name:t,value:r,loc:n}}text(e){let{chars:t,loc:r}=e;return{type:"TextNode",chars:t,loc:r}}sexpr(e){let{path:t,params:r,hash:n,loc:i}=e;return{type:"SubExpression",path:t,params:r,hash:n,loc:i}}path(e){let{head:r,tail:n,loc:i}=e,{original:a}=function(e){switch(e.type){case"AtHead":case"VarHead":return{original:e.name,parts:[e.name]};case"ThisHead":return{original:"this",parts:[]}}}(r),o=[...a,...n].join(".");return new t.PathExpressionImplV1(o,r,n,i)}head(e,t){return"@"===e[0]?this.atName(e,t):"this"===e?this.this(t):this.var(e,t)}this(e){return{type:"ThisHead",loc:e}}atName(e,t){return{type:"AtHead",name:e,loc:t}}var(e,t){return{type:"VarHead",name:e,loc:t}}hash(e,t){return{type:"Hash",pairs:e||[],loc:t}}pair(e){let{key:t,value:r,loc:n}=e;return{type:"HashPair",key:t,value:r,loc:n}}literal(e){let{type:t,value:r,loc:n}=e;return{type:t,value:r,original:r,loc:n}}undefined(){return this.literal({type:"UndefinedLiteral",value:void 0})}null(){return this.literal({type:"NullLiteral",value:null})}string(e,t){return this.literal({type:"StringLiteral",value:e,loc:t})}boolean(e,t){return this.literal({type:"BooleanLiteral",value:e,loc:t})}number(e,t){return this.literal({type:"NumberLiteral",value:e,loc:t})}};e.default=n}}),De=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/parser.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.Parser=void 0;var t=F(),r=le();e.Parser=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new r.EntityParser(r.HTML5NamedCharRefs),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"precompile";this.elementStack=[],this.currentAttribute=null,this.currentNode=null,this.source=e,this.lines=e.source.split(/(?:\r\n?|\n)/g),this.tokenizer=new r.EventedTokenizer(this,t,n)}offset(){let{line:e,column:t}=this.tokenizer;return this.source.offsetFor(e,t)}pos(e){let{line:t,column:r}=e;return this.source.offsetFor(t,r)}finish(e){return(0,t.assign)({},e,{loc:e.loc.until(this.offset())})}get currentAttr(){return this.currentAttribute}get currentTag(){return this.currentNode}get currentStartTag(){return this.currentNode}get currentEndTag(){return this.currentNode}get currentComment(){return this.currentNode}get currentData(){return this.currentNode}acceptTemplate(e){return this[e.type](e)}acceptNode(e){return this[e.type](e)}currentElement(){return this.elementStack[this.elementStack.length-1]}sourceForNode(e,t){let r,n,i,a=e.loc.start.line-1,o=a-1,s=e.loc.start.column,c=[];for(t?(n=t.loc.end.line-1,i=t.loc.end.column):(n=e.loc.end.line-1,i=e.loc.end.column);o<n;)o++,r=this.lines[o],o===a?a===n?c.push(r.slice(s,i)):c.push(r.slice(s)):o===n?c.push(r.slice(0,i)):c.push(r);return c.join("\n")}}}}),be=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/parser/handlebars-node-visitors.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.HandlebarsNodeVisitors=void 0;var t=De(),r=w(),n=de(),i=ye(),a=j(),o=function(e){return e&&e.__esModule?e:{default:e}}(ve());var s=class extends t.Parser{get isTopLevel(){return 0===this.elementStack.length}Program(e){let t,r=[];t=this.isTopLevel?o.default.template({body:r,blockParams:e.blockParams,loc:this.source.spanFor(e.loc)}):o.default.blockItself({body:r,blockParams:e.blockParams,chained:e.chained,loc:this.source.spanFor(e.loc)});let i,a=e.body.length;if(this.elementStack.push(t),0===a)return this.elementStack.pop();for(i=0;i<a;i++)this.acceptNode(e.body[i]);let s=this.elementStack.pop();if(s!==t){let e=s;throw(0,n.generateSyntaxError)("Unclosed element `".concat(e.tag,"`"),e.loc)}return t}BlockStatement(e){if("comment"===this.tokenizer.state)return void this.appendToCommentData(this.sourceForNode(e));if("data"!==this.tokenizer.state&&"beforeData"!==this.tokenizer.state)throw(0,n.generateSyntaxError)("A block may only be used inside an HTML element or another block.",this.source.spanFor(e.loc));let{path:t,params:a,hash:s}=c(this,e);e.program.loc||(e.program.loc=r.NON_EXISTENT_LOCATION),e.inverse&&!e.inverse.loc&&(e.inverse.loc=r.NON_EXISTENT_LOCATION);let u=this.Program(e.program),l=e.inverse?this.Program(e.inverse):null,p=o.default.block({path:t,params:a,hash:s,defaultBlock:u,elseBlock:l,loc:this.source.spanFor(e.loc),openStrip:e.openStrip,inverseStrip:e.inverseStrip,closeStrip:e.closeStrip}),d=this.currentElement();(0,i.appendChild)(d,p)}MustacheStatement(e){let{tokenizer:t}=this;if("comment"===t.state)return void this.appendToCommentData(this.sourceForNode(e));let r,{escaped:a,loc:s,strip:u}=e;if((0,i.isHBSLiteral)(e.path))r=o.default.mustache({path:this.acceptNode(e.path),params:[],hash:o.default.hash([],this.source.spanFor(e.path.loc).collapse("end")),trusting:!a,loc:this.source.spanFor(s),strip:u});else{let{path:t,params:n,hash:i}=c(this,e);r=o.default.mustache({path:t,params:n,hash:i,trusting:!a,loc:this.source.spanFor(s),strip:u})}switch(t.state){case"tagOpen":case"tagName":throw(0,n.generateSyntaxError)("Cannot use mustaches in an elements tagname",r.loc);case"beforeAttributeName":l(this.currentStartTag,r);break;case"attributeName":case"afterAttributeName":this.beginAttributeValue(!1),this.finishAttributeValue(),l(this.currentStartTag,r),t.transitionTo("beforeAttributeName");break;case"afterAttributeValueQuoted":l(this.currentStartTag,r),t.transitionTo("beforeAttributeName");break;case"beforeAttributeValue":this.beginAttributeValue(!1),this.appendDynamicAttributeValuePart(r),t.transitionTo("attributeValueUnquoted");break;case"attributeValueDoubleQuoted":case"attributeValueSingleQuoted":case"attributeValueUnquoted":this.appendDynamicAttributeValuePart(r);break;default:(0,i.appendChild)(this.currentElement(),r)}return r}appendDynamicAttributeValuePart(e){this.finalizeTextPart();let t=this.currentAttr;t.isDynamic=!0,t.parts.push(e)}finalizeTextPart(){let e=this.currentAttr.currentPart;null!==e&&(this.currentAttr.parts.push(e),this.startTextPart())}startTextPart(){this.currentAttr.currentPart=null}ContentStatement(e){(function(e,t){let r=t.loc.start.line,n=t.loc.start.column,i=function(e,t){if(""===t)return{lines:e.split("\n").length-1,columns:0};let r=e.split(t)[0].split(/\n/),n=r.length-1;return{lines:n,columns:r[n].length}}(t.original,t.value);r+=i.lines,i.lines?n=i.columns:n+=i.columns,e.line=r,e.column=n})(this.tokenizer,e),this.tokenizer.tokenizePart(e.value),this.tokenizer.flushData()}CommentStatement(e){let{tokenizer:t}=this;if("comment"===t.state)return this.appendToCommentData(this.sourceForNode(e)),null;let{value:r,loc:a}=e,s=o.default.mustacheComment(r,this.source.spanFor(a));switch(t.state){case"beforeAttributeName":case"afterAttributeName":this.currentStartTag.comments.push(s);break;case"beforeData":case"data":(0,i.appendChild)(this.currentElement(),s);break;default:throw(0,n.generateSyntaxError)("Using a Handlebars comment when in the `".concat(t.state,"` state is not supported"),this.source.spanFor(e.loc))}return s}PartialStatement(e){throw(0,n.generateSyntaxError)("Handlebars partials are not supported",this.source.spanFor(e.loc))}PartialBlockStatement(e){throw(0,n.generateSyntaxError)("Handlebars partial blocks are not supported",this.source.spanFor(e.loc))}Decorator(e){throw(0,n.generateSyntaxError)("Handlebars decorators are not supported",this.source.spanFor(e.loc))}DecoratorBlock(e){throw(0,n.generateSyntaxError)("Handlebars decorator blocks are not supported",this.source.spanFor(e.loc))}SubExpression(e){let{path:t,params:r,hash:n}=c(this,e);return o.default.sexpr({path:t,params:r,hash:n,loc:this.source.spanFor(e.loc)})}PathExpression(e){let t,{original:r}=e;if(-1!==r.indexOf("/")){if("./"===r.slice(0,2))throw(0,n.generateSyntaxError)('Using "./" is not supported in Glimmer and unnecessary',this.source.spanFor(e.loc));if("../"===r.slice(0,3))throw(0,n.generateSyntaxError)('Changing context using "../" is not supported in Glimmer',this.source.spanFor(e.loc));if(-1!==r.indexOf("."))throw(0,n.generateSyntaxError)("Mixing '.' and '/' in paths is not supported in Glimmer; use only '.' to separate property paths",this.source.spanFor(e.loc));t=[e.parts.join("/")]}else{if("."===r)throw(0,n.generateSyntaxError)("'.' is not a supported path in Glimmer; check for a path with a trailing '.'",this.source.spanFor(e.loc));t=e.parts}let i,o=!1;if(r.match(/^this(\..+)?$/)&&(o=!0),o)i={type:"ThisHead",loc:{start:e.loc.start,end:{line:e.loc.start.line,column:e.loc.start.column+4}}};else if(e.data){let r=t.shift();if(void 0===r)throw(0,n.generateSyntaxError)("Attempted to parse a path expression, but it was not valid. Paths beginning with @ must start with a-z.",this.source.spanFor(e.loc));i={type:"AtHead",name:"@".concat(r),loc:{start:e.loc.start,end:{line:e.loc.start.line,column:e.loc.start.column+r.length+1}}}}else{let r=t.shift();if(void 0===r)throw(0,n.generateSyntaxError)("Attempted to parse a path expression, but it was not valid. Paths must start with a-z or A-Z.",this.source.spanFor(e.loc));i={type:"VarHead",name:r,loc:{start:e.loc.start,end:{line:e.loc.start.line,column:e.loc.start.column+r.length}}}}return new a.PathExpressionImplV1(e.original,i,t,this.source.spanFor(e.loc))}Hash(e){let t=[];for(let r=0;r<e.pairs.length;r++){let n=e.pairs[r];t.push(o.default.pair({key:n.key,value:this.acceptNode(n.value),loc:this.source.spanFor(n.loc)}))}return o.default.hash(t,this.source.spanFor(e.loc))}StringLiteral(e){return o.default.literal({type:"StringLiteral",value:e.value,loc:e.loc})}BooleanLiteral(e){return o.default.literal({type:"BooleanLiteral",value:e.value,loc:e.loc})}NumberLiteral(e){return o.default.literal({type:"NumberLiteral",value:e.value,loc:e.loc})}UndefinedLiteral(e){return o.default.literal({type:"UndefinedLiteral",value:void 0,loc:e.loc})}NullLiteral(e){return o.default.literal({type:"NullLiteral",value:null,loc:e.loc})}};function c(e,t){let r="PathExpression"===t.path.type?e.PathExpression(t.path):e.SubExpression(t.path),n=t.params?t.params.map((t=>e.acceptNode(t))):[],i=n.length>0?n[n.length-1].loc:r.loc;return{path:r,params:n,hash:t.hash?e.Hash(t.hash):{type:"Hash",pairs:[],loc:e.source.spanFor(i).collapse("end")}}}function l(e,t){let{path:r,params:a,hash:s,loc:c}=t;if((0,i.isHBSLiteral)(r)){let a="{{".concat((0,i.printLiteral)(r),"}}"),o="<".concat(e.name," ... ").concat(a," ...");throw(0,n.generateSyntaxError)("In ".concat(o,", ").concat(a," is not a valid modifier"),t.loc)}let u=o.default.elementModifier({path:r,params:a,hash:s,loc:c});e.modifiers.push(u)}e.HandlebarsNodeVisitors=s}}),xe=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/parser/tokenizer-event-handlers.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.preprocess=D,e.TokenizerEventHandlers=void 0;var t=F(),r=ue(),n=le(),i=g(pe()),a=te(),o=B(),s=R(),c=de(),l=g(ge()),p=g(he()),d=ye(),f=g(ve()),_=g(K()),m=be();function g(e){return e&&e.__esModule?e:{default:e}}var h=class extends m.HandlebarsNodeVisitors{constructor(){super(...arguments),this.tagOpenLine=0,this.tagOpenColumn=0}reset(){this.currentNode=null}beginComment(){this.currentNode=f.default.comment("",this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn))}appendToCommentData(e){this.currentComment.value+=e}finishComment(){(0,d.appendChild)(this.currentElement(),this.finish(this.currentComment))}beginData(){this.currentNode=f.default.text({chars:"",loc:this.offset().collapsed()})}appendToData(e){this.currentData.chars+=e}finishData(){this.currentData.loc=this.currentData.loc.withEnd(this.offset()),(0,d.appendChild)(this.currentElement(),this.currentData)}tagOpen(){this.tagOpenLine=this.tokenizer.line,this.tagOpenColumn=this.tokenizer.column}beginStartTag(){this.currentNode={type:"StartTag",name:"",attributes:[],modifiers:[],comments:[],selfClosing:!1,loc:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}beginEndTag(){this.currentNode={type:"EndTag",name:"",attributes:[],modifiers:[],comments:[],selfClosing:!1,loc:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}finishTag(){let e=this.finish(this.currentTag);if("StartTag"===e.type){if(this.finishStartTag(),":"===e.name)throw(0,c.generateSyntaxError)("Invalid named block named detected, you may have created a named block without a name, or you may have began your name with a number. Named blocks must have names that are at least one character long, and begin with a lower case letter",this.source.spanFor({start:this.currentTag.loc.toJSON(),end:this.offset().toJSON()}));(a.voidMap[e.name]||e.selfClosing)&&this.finishEndTag(!0)}else"EndTag"===e.type&&this.finishEndTag(!1)}finishStartTag(){let{name:e,attributes:t,modifiers:r,comments:n,selfClosing:i,loc:a}=this.finish(this.currentStartTag),o=f.default.element({tag:e,selfClosing:i,attrs:t,modifiers:r,comments:n,children:[],blockParams:[],loc:a});this.elementStack.push(o)}finishEndTag(e){let t=this.finish(this.currentTag),r=this.elementStack.pop(),n=this.currentElement();this.validateEndTag(t,r,e),r.loc=r.loc.withEnd(this.offset()),(0,d.parseElementBlockParams)(r),(0,d.appendChild)(n,r)}markTagAsSelfClosing(){this.currentTag.selfClosing=!0}appendToTagName(e){this.currentTag.name+=e}beginAttribute(){let e=this.offset();this.currentAttribute={name:"",parts:[],currentPart:null,isQuoted:!1,isDynamic:!1,start:e,valueSpan:e.collapsed()}}appendToAttributeName(e){this.currentAttr.name+=e}beginAttributeValue(e){this.currentAttr.isQuoted=e,this.startTextPart(),this.currentAttr.valueSpan=this.offset().collapsed()}appendToAttributeValue(e){let t=this.currentAttr.parts,r=t[t.length-1],n=this.currentAttr.currentPart;if(n)n.chars+=e,n.loc=n.loc.withEnd(this.offset());else{let t=this.offset();t="\n"===e?r?r.loc.getEnd():this.currentAttr.valueSpan.getStart():t.move(-1),this.currentAttr.currentPart=f.default.text({chars:e,loc:t.collapsed()})}}finishAttributeValue(){this.finalizeTextPart();let e=this.currentTag,t=this.offset();if("EndTag"===e.type)throw(0,c.generateSyntaxError)("Invalid end tag: closing tag must not have attributes",this.source.spanFor({start:e.loc.toJSON(),end:t.toJSON()}));let{name:r,parts:n,start:i,isQuoted:a,isDynamic:o,valueSpan:s}=this.currentAttr,u=this.assembleAttributeValue(n,a,o,i.until(t));u.loc=s.withEnd(t);let l=f.default.attr({name:r,value:u,loc:i.until(t)});this.currentStartTag.attributes.push(l)}reportSyntaxError(e){throw(0,c.generateSyntaxError)(e,this.offset().collapsed())}assembleConcatenatedValue(e){for(let t=0;t<e.length;t++){let r=e[t];if("MustacheStatement"!==r.type&&"TextNode"!==r.type)throw(0,c.generateSyntaxError)("Unsupported node in quoted attribute value: "+r.type,r.loc)}(0,t.assertPresent)(e,"the concatenation parts of an element should not be empty");let r=e[0],n=e[e.length-1];return f.default.concat(e,this.source.spanFor(r.loc).extend(this.source.spanFor(n.loc)))}validateEndTag(e,t,r){let n;if(a.voidMap[e.name]&&!r?n="<".concat(e.name,"> elements do not need end tags. You should remove it"):void 0===t.tag?n="Closing tag </".concat(e.name,"> without an open tag"):t.tag!==e.name&&(n="Closing tag </".concat(e.name,"> did not match last open tag <").concat(t.tag,"> (on line ").concat(t.loc.startPosition.line,")")),n)throw(0,c.generateSyntaxError)(n,e.loc)}assembleAttributeValue(e,t,r,n){if(r){if(t)return this.assembleConcatenatedValue(e);if(1===e.length||2===e.length&&"TextNode"===e[1].type&&"/"===e[1].chars)return e[0];throw(0,c.generateSyntaxError)("An unquoted attribute value must be a string or a mustache, preceded by whitespace or a '=' character, and followed by whitespace, a '>' character, or '/>'",n)}return e.length>0?e[0]:f.default.text({chars:"",loc:n})}};e.TokenizerEventHandlers=h;var y={parse:D,builders:_.default,print:i.default,traverse:l.default,Walker:p.default},v=class extends n.EntityParser{constructor(){super({})}parse(){}};function D(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var i,a,c;let u,p,d,f=n.mode||"precompile";"string"==typeof e?(u=new o.Source(e,null===(i=n.meta)||void 0===i?void 0:i.moduleName),p="codemod"===f?(0,r.parseWithoutProcessing)(e,n.parseOptions):(0,r.parse)(e,n.parseOptions)):e instanceof o.Source?(u=e,p="codemod"===f?(0,r.parseWithoutProcessing)(e.source,n.parseOptions):(0,r.parse)(e.source,n.parseOptions)):(u=new o.Source("",null===(a=n.meta)||void 0===a?void 0:a.moduleName),p=e),"codemod"===f&&(d=new v);let _=s.SourceSpan.forCharPositions(u,0,u.source.length);p.loc={source:"(program)",start:_.startPosition,end:_.endPosition};let m=new h(u,d,f).acceptTemplate(p);if(n.strictMode&&(m.blockParams=null!==(c=n.locals)&&void 0!==c?c:[]),n&&n.plugins&&n.plugins.ast)for(let e=0,r=n.plugins.ast.length;e<r;e++){let r=(0,n.plugins.ast[e])((0,t.assign)({},n,{syntax:y},{plugins:void 0}));(0,l.default)(m,r.visitor)}return m}}}),Ee=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/symbol-table.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.BlockSymbolTable=e.ProgramSymbolTable=e.SymbolTable=void 0;var t=F(),r=ye(),n=class{static top(e,t){return new i(e,t)}child(e){let t=e.map((e=>this.allocate(e)));return new a(this,e,t)}};e.SymbolTable=n;var i=class extends n{constructor(e,r){super(),this.templateLocals=e,this.customizeComponentName=r,this.symbols=[],this.upvars=[],this.size=1,this.named=(0,t.dict)(),this.blocks=(0,t.dict)(),this.usedTemplateLocals=[],this._hasEval=!1}getUsedTemplateLocals(){return this.usedTemplateLocals}setHasEval(){this._hasEval=!0}get hasEval(){return this._hasEval}has(e){return-1!==this.templateLocals.indexOf(e)}get(e){let t=this.usedTemplateLocals.indexOf(e);return-1!==t||(t=this.usedTemplateLocals.length,this.usedTemplateLocals.push(e)),[t,!0]}getLocalsMap(){return(0,t.dict)()}getEvalInfo(){let e=this.getLocalsMap();return Object.keys(e).map((t=>e[t]))}allocateFree(e,t){39===t.resolution()&&t.isAngleBracket&&(0,r.isUpperCase)(e)&&(e=this.customizeComponentName(e));let n=this.upvars.indexOf(e);return-1!==n||(n=this.upvars.length,this.upvars.push(e)),n}allocateNamed(e){let t=this.named[e];return t||(t=this.named[e]=this.allocate(e)),t}allocateBlock(e){"inverse"===e&&(e="else");let t=this.blocks[e];return t||(t=this.blocks[e]=this.allocate("&".concat(e))),t}allocate(e){return this.symbols.push(e),this.size++}};e.ProgramSymbolTable=i;var a=class extends n{constructor(e,t,r){super(),this.parent=e,this.symbols=t,this.slots=r}get locals(){return this.symbols}has(e){return-1!==this.symbols.indexOf(e)||this.parent.has(e)}get(e){let t=this.symbols.indexOf(e);return-1===t?this.parent.get(e):[this.slots[t],!1]}getLocalsMap(){let e=this.parent.getLocalsMap();return this.symbols.forEach((t=>e[t]=this.get(t)[0])),e}getEvalInfo(){let e=this.getLocalsMap();return Object.keys(e).map((t=>e[t]))}setHasEval(){this.parent.setHasEval()}allocateFree(e,t){return this.parent.allocateFree(e,t)}allocateNamed(e){return this.parent.allocateNamed(e)}allocateBlock(e){return this.parent.allocateBlock(e)}allocate(e){return this.parent.allocate(e)}};e.BlockSymbolTable=a}}),Se=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v2-a/builders.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.BuildElement=e.Builder=void 0;var t=F(),r=I(),n=G(),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(Z());function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}var o=class{template(e,t,r){return new i.Template({table:e,body:t,loc:r})}block(e,t,r){return new i.Block({scope:e,body:t,loc:r})}namedBlock(e,t,r){return new i.NamedBlock({name:e,block:t,attrs:[],componentArgs:[],modifiers:[],loc:r})}simpleNamedBlock(e,t,r){return new s({selfClosing:!1,attrs:[],componentArgs:[],modifiers:[],comments:[]}).named(e,t,r)}slice(e,t){return new r.SourceSlice({loc:t,chars:e})}args(e,t,r){return new i.Args({loc:r,positional:e,named:t})}positional(e,t){return new i.PositionalArguments({loc:t,exprs:e})}namedArgument(e,t){return new i.NamedArgument({name:e,value:t})}named(e,t){return new i.NamedArguments({loc:t,entries:e})}attr(e,t){let{name:r,value:n,trusting:a}=e;return new i.HtmlAttr({loc:t,name:r,value:n,trusting:a})}splatAttr(e,t){return new i.SplatAttr({symbol:e,loc:t})}arg(e,t){let{name:r,value:n,trusting:a}=e;return new i.ComponentArg({name:r,value:n,trusting:a,loc:t})}path(e,t,r){return new i.PathExpression({loc:r,ref:e,tail:t})}self(e){return new i.ThisReference({loc:e})}at(e,t,n){return new i.ArgReference({loc:n,name:new r.SourceSlice({loc:n,chars:e}),symbol:t})}freeVar(e){let{name:t,context:r,symbol:n,loc:a}=e;return new i.FreeVarReference({name:t,resolution:r,symbol:n,loc:a})}localVar(e,t,r,n){return new i.LocalVarReference({loc:n,name:e,isTemplateLocal:r,symbol:t})}sexp(e,t){return new i.CallExpression({loc:t,callee:e.callee,args:e.args})}deprecatedCall(e,t,r){return new i.DeprecatedCallExpression({loc:r,arg:e,callee:t})}interpolate(e,r){return(0,t.assertPresent)(e),new i.InterpolateExpression({loc:r,parts:e})}literal(e,t){return new i.LiteralExpression({loc:t,value:e})}append(e,t){let{table:r,trusting:n,value:a}=e;return new i.AppendContent({table:r,trusting:n,value:a,loc:t})}modifier(e,t){let{callee:r,args:n}=e;return new i.ElementModifier({loc:t,callee:r,args:n})}namedBlocks(e,t){return new i.NamedBlocks({loc:t,blocks:e})}blockStatement(e,t){var{symbols:n,program:a,inverse:o=null}=e,s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}(e,["symbols","program","inverse"]);let c=a.loc,u=[this.namedBlock(r.SourceSlice.synthetic("default"),a,a.loc)];return o&&(c=c.extend(o.loc),u.push(this.namedBlock(r.SourceSlice.synthetic("else"),o,o.loc))),new i.InvokeBlock({loc:t,blocks:this.namedBlocks(u,c),callee:s.callee,args:s.args})}element(e){return new s(e)}};e.Builder=o;var s=class{constructor(e){this.base=e,this.builder=new o}simple(e,r,n){return new i.SimpleElement((0,t.assign)({tag:e,body:r,componentArgs:[],loc:n},this.base))}named(e,r,n){return new i.NamedBlock((0,t.assign)({name:e,block:r,componentArgs:[],loc:n},this.base))}selfClosingComponent(e,r){return new i.InvokeComponent((0,t.assign)({loc:r,callee:e,blocks:new i.NamedBlocks({blocks:[],loc:r.sliceEndChars({skipEnd:1,chars:1})})},this.base))}componentWithDefaultBlock(e,n,a,o){let s=this.builder.block(a,n,o),c=this.builder.namedBlock(r.SourceSlice.synthetic("default"),s,o);return new i.InvokeComponent((0,t.assign)({loc:o,callee:e,blocks:this.builder.namedBlocks([c],c.loc)},this.base))}componentWithNamedBlocks(e,r,a){return new i.InvokeComponent((0,t.assign)({loc:a,callee:e,blocks:this.builder.namedBlocks(r,n.SpanList.range(r))},this.base))}};e.BuildElement=s}}),Ce=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v2-a/loose-resolution.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.SexpSyntaxContext=function(e){return n(e)?t.LooseModeResolution.namespaced("Helper"):null},e.ModifierSyntaxContext=function(e){return n(e)?t.LooseModeResolution.namespaced("Modifier"):null},e.BlockSyntaxContext=function(e){return n(e)?t.LooseModeResolution.namespaced("Component"):t.LooseModeResolution.fallback()},e.ComponentSyntaxContext=function(e){return i(e)?t.LooseModeResolution.namespaced("Component",!0):null},e.AttrValueSyntaxContext=function(e){let r=n(e),i=a(e);return r?i?t.LooseModeResolution.namespaced("Helper"):t.LooseModeResolution.attr():i?t.STRICT_RESOLUTION:t.LooseModeResolution.fallback()},e.AppendSyntaxContext=function(e){let r=n(e),i=a(e),o=e.trusting;return r?o?t.LooseModeResolution.trustingAppend({invoke:i}):t.LooseModeResolution.append({invoke:i}):t.LooseModeResolution.fallback()};var t=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}(Z());function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function n(e){return i(e.path)}function i(e){return"PathExpression"===e.type&&"VarHead"===e.head.type&&0===e.tail.length}function a(e){return e.params.length>0||e.hash.pairs.length>0}}}),Te=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v2-a/normalize.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.normalize=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var i;let a=(0,n.preprocess)(e,r),s=(0,t.assign)({strictMode:!1,locals:[]},r),c=o.SymbolTable.top(s.locals,null!==(i=r.customizeComponentName)&&void 0!==i?i:e=>e),u=new g(e,s,c),l=new y(u);return[new b(u.loc(a.loc),a.body.map((e=>l.normalize(e))),u).assertTemplate(c),c.getUsedTemplateLocals()]},e.BlockContext=void 0;var t=F(),r=m(te()),n=xe(),i=I(),a=G(),o=Ee(),s=de(),c=ye(),l=m(ve()),p=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(Z()),d=Se(),f=Ce();function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function m(e){return e&&e.__esModule?e:{default:e}}var g=class{constructor(e,t,r){this.source=e,this.options=t,this.table=r,this.builder=new d.Builder}get strict(){return this.options.strictMode||!1}loc(e){return this.source.spanFor(e)}resolutionFor(e,t){if(this.strict)return{resolution:p.STRICT_RESOLUTION};if(this.isFreeVar(e)){let r=t(e);return null===r?{resolution:"error",path:S(e),head:C(e)}:{resolution:r}}return{resolution:p.STRICT_RESOLUTION}}isFreeVar(e){return"PathExpression"===e.type?"VarHead"===e.head.type&&!this.table.has(e.head.name):"PathExpression"===e.path.type&&this.isFreeVar(e.path)}hasBinding(e){return this.table.has(e)}child(e){return new g(this.source,this.options,this.table.child(e))}customizeComponentName(e){return this.options.customizeComponentName?this.options.customizeComponentName(e):e}};e.BlockContext=g;var h=class{constructor(e){this.block=e}normalize(e,t){switch(e.type){case"NullLiteral":case"BooleanLiteral":case"NumberLiteral":case"StringLiteral":case"UndefinedLiteral":return this.block.builder.literal(e.value,this.block.loc(e.loc));case"PathExpression":return this.path(e,t);case"SubExpression":{let t=this.block.resolutionFor(e,f.SexpSyntaxContext);if("error"===t.resolution)throw(0,s.generateSyntaxError)("You attempted to invoke a path (`".concat(t.path,"`) but ").concat(t.head," was not in scope"),e.loc);return this.block.builder.sexp(this.callParts(e,t.resolution),this.block.loc(e.loc))}}}path(e,t){let r=[],n=this.block.loc(e.head.loc);for(let t of e.tail)n=n.sliceStartChars({chars:t.length,skipStart:1}),r.push(new i.SourceSlice({loc:n,chars:t}));return this.block.builder.path(this.ref(e.head,t),r,this.block.loc(e.loc))}callParts(e,t){let{path:r,params:n,hash:i}=e,o=this.normalize(r,t),s=n.map((e=>this.normalize(e,p.ARGUMENT_RESOLUTION))),c=a.SpanList.range(s,o.loc.collapse("end")),u=this.block.loc(i.loc),l=a.SpanList.range([c,u]),d=this.block.builder.positional(n.map((e=>this.normalize(e,p.ARGUMENT_RESOLUTION))),c),f=this.block.builder.named(i.pairs.map((e=>this.namedArgument(e))),this.block.loc(i.loc));return{callee:o,args:this.block.builder.args(d,f,l)}}namedArgument(e){let t=this.block.loc(e.loc).sliceStartChars({chars:e.key.length});return this.block.builder.namedArgument(new i.SourceSlice({chars:e.key,loc:t}),this.normalize(e.value,p.ARGUMENT_RESOLUTION))}ref(e,t){let{block:r}=this,{builder:n,table:i}=r,a=r.loc(e.loc);switch(e.type){case"ThisHead":return n.self(a);case"AtHead":{let t=i.allocateNamed(e.name);return n.at(e.name,t,a)}case"VarHead":if(r.hasBinding(e.name)){let[t,n]=i.get(e.name);return r.builder.localVar(e.name,t,n,a)}{let n=r.strict?p.STRICT_RESOLUTION:t,i=r.table.allocateFree(e.name,n);return r.builder.freeVar({name:e.name,context:n,symbol:i,loc:a})}}}},y=class{constructor(e){this.block=e}normalize(e){switch(e.type){case"PartialStatement":throw new Error("Handlebars partial syntax ({{> ...}}) is not allowed in Glimmer");case"BlockStatement":return this.BlockStatement(e);case"ElementNode":return new v(this.block).ElementNode(e);case"MustacheStatement":return this.MustacheStatement(e);case"MustacheCommentStatement":return this.MustacheCommentStatement(e);case"CommentStatement":{let t=this.block.loc(e.loc);return new p.HtmlComment({loc:t,text:t.slice({skipStart:4,skipEnd:3}).toSlice(e.value)})}case"TextNode":return new p.HtmlText({loc:this.block.loc(e.loc),chars:e.chars})}}MustacheCommentStatement(e){let t,r=this.block.loc(e.loc);return t="{{!--"===r.asString().slice(0,5)?r.slice({skipStart:5,skipEnd:4}):r.slice({skipStart:3,skipEnd:2}),new p.GlimmerComment({loc:r,text:t.toSlice(e.value)})}MustacheStatement(e){let{escaped:t}=e,r=this.block.loc(e.loc),n=this.expr.callParts({path:e.path,params:e.params,hash:e.hash},(0,f.AppendSyntaxContext)(e)),i=n.args.isEmpty()?n.callee:this.block.builder.sexp(n,r);return this.block.builder.append({table:this.block.table,trusting:!t,value:i},r)}BlockStatement(e){let{program:r,inverse:n}=e,i=this.block.loc(e.loc),a=this.block.resolutionFor(e,f.BlockSyntaxContext);if("error"===a.resolution)throw(0,s.generateSyntaxError)("You attempted to invoke a path (`{{#".concat(a.path,"}}`) but ").concat(a.head," was not in scope"),i);let o=this.expr.callParts(e,a.resolution);return this.block.builder.blockStatement((0,t.assign)({symbols:this.block.table,program:this.Block(r),inverse:n?this.Block(n):null},o),i)}Block(e){let{body:t,loc:r,blockParams:n}=e,i=this.block.child(n),a=new y(i);return new x(this.block.loc(r),t.map((e=>a.normalize(e))),this.block).assertBlock(i.table)}get expr(){return new h(this.block)}},v=class{constructor(e){this.ctx=e}ElementNode(e){let{tag:t,selfClosing:r,comments:n}=e,i=this.ctx.loc(e.loc),[a,...o]=t.split("."),s=this.classifyTag(a,o,e.loc),c=e.attributes.filter((e=>"@"!==e.name[0])).map((e=>this.attr(e))),u=e.attributes.filter((e=>"@"===e.name[0])).map((e=>this.arg(e))),l=e.modifiers.map((e=>this.modifier(e))),p=this.ctx.child(e.blockParams),d=new y(p),f=e.children.map((e=>d.normalize(e))),_=this.ctx.builder.element({selfClosing:r,attrs:c,componentArgs:u,modifiers:l,comments:n.map((e=>new y(this.ctx).MustacheCommentStatement(e)))}),m=new E(_,i,f,this.ctx),g=this.ctx.loc(e.loc).sliceStartChars({chars:t.length,skipStart:1});if("ElementHead"===s)return":"===t[0]?m.assertNamedBlock(g.slice({skipStart:1}).toSlice(t.slice(1)),p.table):m.assertElement(g.toSlice(t),e.blockParams.length>0);if(e.selfClosing)return _.selfClosingComponent(s,i);{let r=m.assertComponent(t,p.table,e.blockParams.length>0);return _.componentWithNamedBlocks(s,r,i)}}modifier(e){let t=this.ctx.resolutionFor(e,f.ModifierSyntaxContext);if("error"===t.resolution)throw(0,s.generateSyntaxError)("You attempted to invoke a path (`{{#".concat(t.path,"}}`) as a modifier, but ").concat(t.head," was not in scope. Try adding `this` to the beginning of the path"),e.loc);let r=this.expr.callParts(e,t.resolution);return this.ctx.builder.modifier(r,this.ctx.loc(e.loc))}mustacheAttr(e){let t=this.ctx.builder.sexp(this.expr.callParts(e,(0,f.AttrValueSyntaxContext)(e)),this.ctx.loc(e.loc));return t.args.isEmpty()?t.callee:t}attrPart(e){switch(e.type){case"MustacheStatement":return{expr:this.mustacheAttr(e),trusting:!e.escaped};case"TextNode":return{expr:this.ctx.builder.literal(e.chars,this.ctx.loc(e.loc)),trusting:!0}}}attrValue(e){if("ConcatStatement"===e.type){let t=e.parts.map((e=>this.attrPart(e).expr));return{expr:this.ctx.builder.interpolate(t,this.ctx.loc(e.loc)),trusting:!1}}return this.attrPart(e)}attr(e){if("...attributes"===e.name)return this.ctx.builder.splatAttr(this.ctx.table.allocateBlock("attrs"),this.ctx.loc(e.loc));let t=this.ctx.loc(e.loc),r=t.sliceStartChars({chars:e.name.length}).toSlice(e.name),n=this.attrValue(e.value);return this.ctx.builder.attr({name:r,value:n.expr,trusting:n.trusting},t)}maybeDeprecatedCall(e,t){if(this.ctx.strict||"MustacheStatement"!==t.type)return null;let{path:r}=t;if("PathExpression"!==r.type||"VarHead"!==r.head.type)return null;let{name:n}=r.head;if("has-block"===n||"has-block-params"===n||this.ctx.hasBinding(n)||0!==r.tail.length||0!==t.params.length||0!==t.hash.pairs.length)return null;let i=p.LooseModeResolution.attr(),a=this.ctx.builder.freeVar({name:n,context:i,symbol:this.ctx.table.allocateFree(n,i),loc:r.loc});return{expr:this.ctx.builder.deprecatedCall(e,a,t.loc),trusting:!1}}arg(e){let t=this.ctx.loc(e.loc),r=t.sliceStartChars({chars:e.name.length}).toSlice(e.name),n=this.maybeDeprecatedCall(r,e.value)||this.attrValue(e.value);return this.ctx.builder.arg({name:r,value:n.expr,trusting:n.trusting},t)}classifyTag(e,t,r){let n=(0,c.isUpperCase)(e),i="@"===e[0]||"this"===e||this.ctx.hasBinding(e);if(this.ctx.strict&&!i){if(n)throw(0,s.generateSyntaxError)("Attempted to invoke a component that was not in scope in a strict mode template, `<".concat(e,">`. If you wanted to create an element with that name, convert it to lowercase - `<").concat(e.toLowerCase(),">`"),r);return"ElementHead"}let a=i||n,o=r.sliceStartChars({skipStart:1,chars:e.length}),u=t.reduce(((e,t)=>e+1+t.length),0),p=o.getEnd().move(u),d=o.withEnd(p);if(a){let n=l.default.path({head:l.default.head(e,o),tail:t,loc:d}),i=this.ctx.resolutionFor(n,f.ComponentSyntaxContext);if("error"===i.resolution)throw(0,s.generateSyntaxError)("You attempted to invoke a path (`<".concat(i.path,">`) but ").concat(i.head," was not in scope"),r);return new h(this.ctx).normalize(n,i.resolution)}if(t.length>0)throw(0,s.generateSyntaxError)("You used ".concat(e,".").concat(t.join(".")," as a tag name, but ").concat(e," is not in scope"),r);return"ElementHead"}get expr(){return new h(this.ctx)}},D=class{constructor(e,t,r){this.loc=e,this.children=t,this.block=r,this.namedBlocks=t.filter((e=>e instanceof p.NamedBlock)),this.hasSemanticContent=Boolean(t.filter((e=>{if(e instanceof p.NamedBlock)return!1;switch(e.type){case"GlimmerComment":case"HtmlComment":return!1;case"HtmlText":return!/^\s*$/.exec(e.chars);default:return!0}})).length),this.nonBlockChildren=t.filter((e=>!(e instanceof p.NamedBlock)))}},b=class extends D{assertTemplate(e){if((0,t.isPresent)(this.namedBlocks))throw(0,s.generateSyntaxError)("Unexpected named block at the top-level of a template",this.loc);return this.block.builder.template(e,this.nonBlockChildren,this.block.loc(this.loc))}},x=class extends D{assertBlock(e){if((0,t.isPresent)(this.namedBlocks))throw(0,s.generateSyntaxError)("Unexpected named block nested in a normal block",this.loc);return this.block.builder.block(e,this.nonBlockChildren,this.loc)}},E=class extends D{constructor(e,t,r,n){super(t,r,n),this.el=e}assertNamedBlock(e,r){if(this.el.base.selfClosing)throw(0,s.generateSyntaxError)("<:".concat(e.chars,"/> is not a valid named block: named blocks cannot be self-closing"),this.loc);if((0,t.isPresent)(this.namedBlocks))throw(0,s.generateSyntaxError)("Unexpected named block inside <:".concat(e.chars,"> named block: named blocks cannot contain nested named blocks"),this.loc);if(!(0,c.isLowerCase)(e.chars))throw(0,s.generateSyntaxError)("<:".concat(e.chars,"> is not a valid named block, and named blocks must begin with a lowercase letter"),this.loc);if(this.el.base.attrs.length>0||this.el.base.componentArgs.length>0||this.el.base.modifiers.length>0)throw(0,s.generateSyntaxError)("named block <:".concat(e.chars,"> cannot have attributes, arguments, or modifiers"),this.loc);let n=a.SpanList.range(this.nonBlockChildren,this.loc);return this.block.builder.namedBlock(e,this.block.builder.block(r,this.nonBlockChildren,n),this.loc)}assertElement(e,r){if(r)throw(0,s.generateSyntaxError)("Unexpected block params in <".concat(e,">: simple elements cannot have block params"),this.loc);if((0,t.isPresent)(this.namedBlocks)){let t=this.namedBlocks.map((e=>e.name));if(1===t.length)throw(0,s.generateSyntaxError)("Unexpected named block <:foo> inside <".concat(e.chars,"> HTML element"),this.loc);{let r=t.map((e=>"<:".concat(e.chars,">"))).join(", ");throw(0,s.generateSyntaxError)("Unexpected named blocks inside <".concat(e.chars,"> HTML element (").concat(r,")"),this.loc)}}return this.el.simple(e,this.nonBlockChildren,this.loc)}assertComponent(e,r,n){if((0,t.isPresent)(this.namedBlocks)&&this.hasSemanticContent)throw(0,s.generateSyntaxError)("Unexpected content inside <".concat(e,"> component invocation: when using named blocks, the tag cannot contain other content"),this.loc);if((0,t.isPresent)(this.namedBlocks)){if(n)throw(0,s.generateSyntaxError)("Unexpected block params list on <".concat(e,"> component invocation: when passing named blocks, the invocation tag cannot take block params"),this.loc);let t=new Set;for(let e of this.namedBlocks){let r=e.name.chars;if(t.has(r))throw(0,s.generateSyntaxError)("Component had two named blocks with the same name, `<:".concat(r,">`. Only one block with a given name may be passed"),this.loc);if("inverse"===r&&t.has("else")||"else"===r&&t.has("inverse"))throw(0,s.generateSyntaxError)("Component has both <:else> and <:inverse> block. <:inverse> is an alias for <:else>",this.loc);t.add(r)}return this.namedBlocks}return[this.block.builder.namedBlock(i.SourceSlice.synthetic("default"),this.block.builder.block(r,this.nonBlockChildren,this.loc),this.loc)]}};function S(e){return"PathExpression"!==e.type&&"PathExpression"===e.path.type?S(e.path):new r.default({entityEncoding:"raw"}).print(e)}function C(e){if("PathExpression"!==e.type)return"PathExpression"===e.path.type?C(e.path):new r.default({entityEncoding:"raw"}).print(e);switch(e.head.type){case"AtHead":case"VarHead":return e.head.name;case"ThisHead":return"this"}}}}),ke=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/keywords.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.isKeyword=function(e){return e in t},e.KEYWORDS_TYPES=void 0;var t={component:["Call","Append","Block"],debugger:["Append"],"each-in":["Block"],each:["Block"],"has-block-params":["Call","Append"],"has-block":["Call","Append"],helper:["Call","Append"],if:["Call","Append","Block"],"in-element":["Block"],let:["Block"],"link-to":["Append","Block"],log:["Call","Append"],modifier:["Call"],mount:["Append"],mut:["Call","Append"],outlet:["Append"],"query-params":["Call"],readonly:["Call","Append"],unbound:["Call","Append"],unless:["Call","Append","Block"],with:["Block"],yield:["Append"]};e.KEYWORDS_TYPES=t}}),Ae=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/get-template-locals.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),e.getTemplateLocals=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{includeHtmlElements:!1,includeKeywords:!1},o=(0,n.preprocess)(e),s=new Set,c=[];(0,i.default)(o,{Block:{enter(e){let{blockParams:t}=e;t.forEach((e=>{c.push(e)}))},exit(e){let{blockParams:t}=e;t.forEach((()=>{c.pop()}))}},ElementNode:{enter(e){e.blockParams.forEach((e=>{c.push(e)})),a(s,e,c,t)},exit(e){let{blockParams:t}=e;t.forEach((()=>{c.pop()}))}},PathExpression(e){a(s,e,c,t)}});let u=[];return s.forEach((e=>u.push(e))),null!=t&&t.includeKeywords||(u=u.filter((e=>!(0,r.isKeyword)(e)))),u};var t,r=ke(),n=xe(),i=(t=ge())&&t.__esModule?t:{default:t};function a(e,t,r,n){let i=function(e,t,r){if("PathExpression"===e.type){if("AtHead"===e.head.type||"ThisHead"===e.head.type)return;let r=e.head.name;if(-1===t.indexOf(r))return r}else if("ElementNode"===e.type){let{tag:n}=e,i=n.charAt(0);return":"===i||"@"===i||!r.includeHtmlElements&&-1===n.indexOf(".")&&n.toLowerCase()===n||"this."===n.substr(0,5)||-1!==t.indexOf(n)?void 0:n}}(t,r,n);(Array.isArray(i)?i:[i]).forEach((t=>{void 0!==t&&"@"!==t[0]&&e.add(t.split(".")[0])}))}}}),Ne=c({"node_modules/@glimmer/syntax/dist/commonjs/es2017/index.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Source",{enumerable:!0,get:function(){return t.Source}}),Object.defineProperty(e,"builders",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"normalize",{enumerable:!0,get:function(){return a.normalize}}),Object.defineProperty(e,"SymbolTable",{enumerable:!0,get:function(){return o.SymbolTable}}),Object.defineProperty(e,"BlockSymbolTable",{enumerable:!0,get:function(){return o.BlockSymbolTable}}),Object.defineProperty(e,"ProgramSymbolTable",{enumerable:!0,get:function(){return o.ProgramSymbolTable}}),Object.defineProperty(e,"generateSyntaxError",{enumerable:!0,get:function(){return s.generateSyntaxError}}),Object.defineProperty(e,"preprocess",{enumerable:!0,get:function(){return c.preprocess}}),Object.defineProperty(e,"print",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"sortByLoc",{enumerable:!0,get:function(){return p.sortByLoc}}),Object.defineProperty(e,"Walker",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"cannotRemoveNode",{enumerable:!0,get:function(){return _.cannotRemoveNode}}),Object.defineProperty(e,"cannotReplaceNode",{enumerable:!0,get:function(){return _.cannotReplaceNode}}),Object.defineProperty(e,"WalkerPath",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"isKeyword",{enumerable:!0,get:function(){return g.isKeyword}}),Object.defineProperty(e,"KEYWORDS_TYPES",{enumerable:!0,get:function(){return g.KEYWORDS_TYPES}}),Object.defineProperty(e,"getTemplateLocals",{enumerable:!0,get:function(){return h.getTemplateLocals}}),Object.defineProperty(e,"SourceSlice",{enumerable:!0,get:function(){return y.SourceSlice}}),Object.defineProperty(e,"SourceSpan",{enumerable:!0,get:function(){return v.SourceSpan}}),Object.defineProperty(e,"SpanList",{enumerable:!0,get:function(){return D.SpanList}}),Object.defineProperty(e,"maybeLoc",{enumerable:!0,get:function(){return D.maybeLoc}}),Object.defineProperty(e,"loc",{enumerable:!0,get:function(){return D.loc}}),Object.defineProperty(e,"hasSpan",{enumerable:!0,get:function(){return D.hasSpan}}),Object.defineProperty(e,"node",{enumerable:!0,get:function(){return b.node}}),e.ASTv2=e.AST=e.ASTv1=void 0;var t=B(),r=S(K()),n=E(U());e.ASTv1=n,e.AST=n;var i=E(Z());e.ASTv2=i;var a=Te(),o=Ee(),s=de(),c=xe(),l=S(pe()),p=ee(),d=S(he()),f=S(ge()),_=_e(),m=S(me()),g=ke(),h=Ae(),y=I(),v=R(),D=G(),b=V();function x(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return x=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=x();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function S(e){return e&&e.__esModule?e:{default:e}}}});u();var{LinesAndColumns:Pe}=l(),Fe=p(),{locStart:we,locEnd:Ie}=d();function Oe(){return{name:"addBackslash",visitor:{All(e){let t=e.children||e.body;if(t)for(let e=0;e<t.length-1;e++)"TextNode"===t[e].type&&"MustacheStatement"===t[e+1].type&&(t[e].chars=t[e].chars.replace(/\\$/,"\\\\"))}}}}function Le(e){let t=new Pe(e),r=e=>{let{line:r,column:n}=e;return t.indexForLocation({line:r-1,column:n})};return()=>({name:"addOffset",visitor:{All(e){let{start:t,end:n}=e.loc;t.offset=r(t),n.offset=r(n)}}})}o.exports={parsers:{glimmer:{parse:function(e){let t,{preprocess:r}=Ne();try{t=r(e,{mode:"codemod",plugins:{ast:[Oe,Le(e)]}})}catch(e){let t=function(e){let{location:t,hash:r}=e;if(t){let{start:e,end:r}=t;return"number"!=typeof r.line?{start:e}:t}if(r){let{loc:{last_line:e,last_column:t}}=r;return{start:{line:e,column:t+1}}}}(e);throw t?Fe(e.message,t):e}return t},astFormat:"glimmer",locStart:we,locEnd:Ie}}}},()=>(o||a(o={exports:{}},o),o.exports));return s()}()},214:e=>{e.exports=function(){"use strict";var e,t,r=(e=(e,t)=>{var r=Object.getOwnPropertyNames,n=(e,t)=>function(){return t||(0,e[r(e)[0]])((t={exports:{}}).exports,t),t.exports},i=((e,t)=>function(){return e&&(t=(0,e[r(e)[0]])(e=0)),t})({"<define:process>"(){}}),a=n({"src/common/parser-create-error.js"(e,t){i(),t.exports=function(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}}}),o=n({"src/utils/try-combinations.js"(e,t){i(),t.exports=function(){let e;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(let[t,n]of r.entries())try{return{result:n()}}catch(r){0===t&&(e=r)}return{error:e}}}}),s=n({"src/language-graphql/pragma.js"(e,t){i(),t.exports={hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}}}}),c=n({"src/language-graphql/loc.js"(e,t){i(),t.exports={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}}}}),u=n({"node_modules/graphql/jsutils/isObjectLike.js"(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}i(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return"object"==t(e)&&null!==e}}}),l=n({"node_modules/graphql/polyfills/symbols.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOL_TO_STRING_TAG=e.SYMBOL_ASYNC_ITERATOR=e.SYMBOL_ITERATOR=void 0;var t="function"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator";e.SYMBOL_ITERATOR=t;var r="function"==typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator";e.SYMBOL_ASYNC_ITERATOR=r;var n="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";e.SYMBOL_TO_STRING_TAG=n}}),p=n({"node_modules/graphql/language/location.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.getLocation=function(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,a=t+1;(r=n.exec(e.body))&&r.index<t;)i+=1,a=t+1-(r.index+r[0].length);return{line:i,column:a}}}}),d=n({"node_modules/graphql/language/printLocation.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.printLocation=function(e){return r(e.source,(0,t.getLocation)(e.source,e.start))},e.printSourceLocation=r;var t=p();function r(e,t){var r=e.locationOffset.column-1,i=a(r)+e.body,o=t.line-1,s=e.locationOffset.line-1,c=t.line+s,u=1===t.line?r:0,l=t.column+u,p="".concat(e.name,":").concat(c,":").concat(l,"\n"),d=i.split(/\r\n|[\n\r]/g),f=d[o];if(f.length>120){for(var _=Math.floor(l/80),m=l%80,g=[],h=0;h<f.length;h+=80)g.push(f.slice(h,h+80));return p+n([["".concat(c),g[0]]].concat(g.slice(1,_+1).map((function(e){return["",e]})),[[" ",a(m-1)+"^"],["",g[_+1]]]))}return p+n([["".concat(c-1),d[o-1]],["".concat(c),f],["",a(l-1)+"^"],["".concat(c+1),d[o+1]]])}function n(e){var t=e.filter((function(e){return e[0],void 0!==e[1]})),r=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t=e[0],n=e[1];return function(e,t){return a(e-t.length)+t}(r,t)+(n?" | "+n:" |")})).join("\n")}function a(e){return Array(e+1).join(" ")}}}),f=n({"node_modules/graphql/error/GraphQLError.js"(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}i(),Object.defineProperty(e,"__esModule",{value:!0}),e.printError=b,e.GraphQLError=void 0;var r,n=(r=u())&&r.__esModule?r:{default:r},a=l(),o=p(),s=d();function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,r){return!r||"object"!==t(r)&&"function"!=typeof r?_(e):r}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){var t="function"==typeof Map?new Map:void 0;return m=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return g(e,arguments,v(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),y(r,e)},m(e)}function g(e,t,r){return(g=h()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&y(i,r.prototype),i}).apply(null,arguments)}function h(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch{return!1}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(r,e);var t=function(e){var t=h();return function(){var r,n=v(e);if(t){var i=v(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return f(this,r)}}(r);function r(e,i,a,s,c,u,l){var p,d,m,g,h;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,r),h=t.call(this,e);var y,v=Array.isArray(i)?0!==i.length?i:void 0:i?[i]:void 0,D=a;!D&&v&&(D=null===(y=v[0].loc)||void 0===y?void 0:y.source);var b,x=s;!x&&v&&(x=v.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),x&&0===x.length&&(x=void 0),s&&a?b=s.map((function(e){return(0,o.getLocation)(a,e)})):v&&(b=v.reduce((function(e,t){return t.loc&&e.push((0,o.getLocation)(t.loc.source,t.loc.start)),e}),[]));var E=l;if(null==E&&null!=u){var S=u.extensions;(0,n.default)(S)&&(E=S)}return Object.defineProperties(_(h),{name:{value:"GraphQLError"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(p=b)&&void 0!==p?p:void 0,enumerable:null!=b},path:{value:null!=c?c:void 0,enumerable:null!=c},nodes:{value:null!=v?v:void 0},source:{value:null!==(d=D)&&void 0!==d?d:void 0},positions:{value:null!==(m=x)&&void 0!==m?m:void 0},originalError:{value:u},extensions:{value:null!==(g=E)&&void 0!==g?g:void 0,enumerable:null!=E}}),null!=u&&u.stack?(Object.defineProperty(_(h),"stack",{value:u.stack,writable:!0,configurable:!0}),f(h)):(Error.captureStackTrace?Error.captureStackTrace(_(h),r):Object.defineProperty(_(h),"stack",{value:Error().stack,writable:!0,configurable:!0}),h)}return function(e,t,r){t&&c(e.prototype,t),r&&c(e,r)}(r,[{key:"toString",value:function(){return b(this)}},{key:a.SYMBOL_TO_STRING_TAG,get:function(){return"Object"}}]),r}(m(Error));function b(e){var t=e.message;if(e.nodes)for(var r=0,n=e.nodes;r<n.length;r++){var i=n[r];i.loc&&(t+="\n\n"+(0,s.printLocation)(i.loc))}else if(e.source&&e.locations)for(var a=0,o=e.locations;a<o.length;a++){var c=o[a];t+="\n\n"+(0,s.printSourceLocation)(e.source,c)}return t}e.GraphQLError=D}}),_=n({"node_modules/graphql/error/syntaxError.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.syntaxError=function(e,r,n){return new t.GraphQLError("Syntax Error: ".concat(n),void 0,e,[r])};var t=f()}}),m=n({"node_modules/graphql/language/kinds.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.Kind=void 0;var t=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});e.Kind=t}}),g=n({"node_modules/graphql/jsutils/invariant.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}}}),h=n({"node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;e.default=t}}),y=n({"node_modules/graphql/jsutils/defineInspect.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var n=e.prototype.toJSON;"function"==typeof n||(0,t.default)(0),e.prototype.inspect=n,r.default&&(e.prototype[r.default]=n)};var t=n(g()),r=n(h());function n(e){return e&&e.__esModule?e:{default:e}}}}),v=n({"node_modules/graphql/language/ast.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.isNode=function(e){return null!=e&&"string"==typeof e.kind},e.Token=e.Location=void 0;var t,r=(t=y())&&t.__esModule?t:{default:t};var n=function(){function e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();e.Location=n,(0,r.default)(n);var a=function(){function e(e,t,r,n,i,a,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=a,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();e.Token=a,(0,r.default)(a)}}),D=n({"node_modules/graphql/language/tokenKind.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.TokenKind=void 0;var t=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});e.TokenKind=t}}),b=n({"node_modules/graphql/jsutils/inspect.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return a(e,[])};var t,r=(t=h())&&t.__esModule?t:{default:t};function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){switch(n(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),i=function(e){var t=e[String(r.default)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}(e);if(void 0!==i){var o=i.call(e);if(o!==e)return"string"==typeof o?o:a(o,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var r=Math.min(10,e.length),n=e.length-r,i=[],o=0;o<r;++o)i.push(a(e[o],t));return 1===n?i.push("... 1 more item"):n>1&&i.push("... ".concat(n," more items")),"["+i.join(", ")+"]"}(e,n);return function(e,t){var r=Object.keys(e);if(0===r.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(e)+"]";var n=r.map((function(r){return r+": "+a(e[r],t)}));return"{ "+n.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}}}),x=n({"node_modules/graphql/jsutils/devAssert.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if(!Boolean(e))throw new Error(t)}}}),E=n({"node_modules/graphql/jsutils/instanceOf.js"(e){var t;i(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,!(t=b())||t.__esModule;e.default=function(e,t){return e instanceof t}}}),S=n({"node_modules/graphql/language/source.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.isSource=function(e){return(0,a.default)(e,c)},e.Source=void 0;var t=l(),r=o(b()),n=o(x()),a=o(E());function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var c=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||(0,n.default)(0,"Body must be a string. Received: ".concat((0,r.default)(e),".")),this.body=e,this.name=t,this.locationOffset=i,this.locationOffset.line>0||(0,n.default)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,n.default)(0,"column in locationOffset is 1-indexed and must be positive.")}return function(e,t,r){t&&s(e.prototype,t),r&&s(e,r)}(e,[{key:t.SYMBOL_TO_STRING_TAG,get:function(){return"Source"}}]),e}();e.Source=c}}),C=n({"node_modules/graphql/language/directiveLocation.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.DirectiveLocation=void 0;var t=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});e.DirectiveLocation=t}}),T=n({"node_modules/graphql/language/blockString.js"(e){function t(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}function r(e){for(var t,r=!0,n=!0,i=0,a=null,o=0;o<e.length;++o)switch(e.charCodeAt(o)){case 13:10===e.charCodeAt(o+1)&&++o;case 10:r=!1,n=!0,i=0;break;case 9:case 32:++i;break;default:n&&!r&&(null===a||i<a)&&(a=i),n=!1}return null!==(t=a)&&void 0!==t?t:0}i(),Object.defineProperty(e,"__esModule",{value:!0}),e.dedentBlockStringValue=function(e){var n=e.split(/\r\n|[\n\r]/g),i=r(e);if(0!==i)for(var a=1;a<n.length;a++)n[a]=n[a].slice(i);for(var o=0;o<n.length&&t(n[o]);)++o;for(var s=n.length;s>o&&t(n[s-1]);)--s;return n.slice(o,s).join("\n")},e.getBlockStringIndentation=r,e.printBlockString=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],a='"'===e[e.length-1],o="\\"===e[e.length-1],s=!n||a||o||r,c="";return s&&!(n&&i)&&(c+="\n"+t),c+=t?e.replace(/\n/g,"\n"+t):e,s&&(c+="\n"),'"""'+c.replace(/"""/g,'\\"""')+'"""'}}}),k=n({"node_modules/graphql/language/lexer.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.isPunctuatorTokenKind=function(e){return e===n.TokenKind.BANG||e===n.TokenKind.DOLLAR||e===n.TokenKind.AMP||e===n.TokenKind.PAREN_L||e===n.TokenKind.PAREN_R||e===n.TokenKind.SPREAD||e===n.TokenKind.COLON||e===n.TokenKind.EQUALS||e===n.TokenKind.AT||e===n.TokenKind.BRACKET_L||e===n.TokenKind.BRACKET_R||e===n.TokenKind.BRACE_L||e===n.TokenKind.PIPE||e===n.TokenKind.BRACE_R},e.Lexer=void 0;var t=_(),r=v(),n=D(),a=T(),o=function(){function e(e){var t=new r.Token(n.TokenKind.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==n.TokenKind.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=c(this,e)}while(e.kind===n.TokenKind.COMMENT);return e},e}();function s(e){return isNaN(e)?n.TokenKind.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function c(e,i){for(var a=e.source,o=a.body,s=o.length,c=i.end;c<s;){var d=o.charCodeAt(c),_=e.line,g=1+c-e.lineStart;switch(d){case 65279:case 9:case 32:case 44:++c;continue;case 10:++c,++e.line,e.lineStart=c;continue;case 13:10===o.charCodeAt(c+1)?c+=2:++c,++e.line,e.lineStart=c;continue;case 33:return new r.Token(n.TokenKind.BANG,c,c+1,_,g,i);case 35:return l(a,c,_,g,i);case 36:return new r.Token(n.TokenKind.DOLLAR,c,c+1,_,g,i);case 38:return new r.Token(n.TokenKind.AMP,c,c+1,_,g,i);case 40:return new r.Token(n.TokenKind.PAREN_L,c,c+1,_,g,i);case 41:return new r.Token(n.TokenKind.PAREN_R,c,c+1,_,g,i);case 46:if(46===o.charCodeAt(c+1)&&46===o.charCodeAt(c+2))return new r.Token(n.TokenKind.SPREAD,c,c+3,_,g,i);break;case 58:return new r.Token(n.TokenKind.COLON,c,c+1,_,g,i);case 61:return new r.Token(n.TokenKind.EQUALS,c,c+1,_,g,i);case 64:return new r.Token(n.TokenKind.AT,c,c+1,_,g,i);case 91:return new r.Token(n.TokenKind.BRACKET_L,c,c+1,_,g,i);case 93:return new r.Token(n.TokenKind.BRACKET_R,c,c+1,_,g,i);case 123:return new r.Token(n.TokenKind.BRACE_L,c,c+1,_,g,i);case 124:return new r.Token(n.TokenKind.PIPE,c,c+1,_,g,i);case 125:return new r.Token(n.TokenKind.BRACE_R,c,c+1,_,g,i);case 34:return 34===o.charCodeAt(c+1)&&34===o.charCodeAt(c+2)?m(a,c,_,g,i,e):f(a,c,_,g,i);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return p(a,c,d,_,g,i);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return y(a,c,_,g,i)}throw(0,t.syntaxError)(a,c,u(d))}var h=e.line,v=1+c-e.lineStart;return new r.Token(n.TokenKind.EOF,s,s,h,v,i)}function u(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(s(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(s(e),".")}function l(e,t,i,a,o){var s,c=e.body,u=t;do{s=c.charCodeAt(++u)}while(!isNaN(s)&&(s>31||9===s));return new r.Token(n.TokenKind.COMMENT,t,u,i,a,o,c.slice(t+1,u))}function p(e,i,a,o,c,u){var l=e.body,p=a,f=i,_=!1;if(45===p&&(p=l.charCodeAt(++f)),48===p){if((p=l.charCodeAt(++f))>=48&&p<=57)throw(0,t.syntaxError)(e,f,"Invalid number, unexpected digit after 0: ".concat(s(p),"."))}else f=d(e,f,p),p=l.charCodeAt(f);if(46===p&&(_=!0,p=l.charCodeAt(++f),f=d(e,f,p),p=l.charCodeAt(f)),(69===p||101===p)&&(_=!0,(43===(p=l.charCodeAt(++f))||45===p)&&(p=l.charCodeAt(++f)),f=d(e,f,p),p=l.charCodeAt(f)),46===p||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(p))throw(0,t.syntaxError)(e,f,"Invalid number, expected digit but got: ".concat(s(p),"."));return new r.Token(_?n.TokenKind.FLOAT:n.TokenKind.INT,i,f,o,c,u,l.slice(i,f))}function d(e,r,n){var i=e.body,a=r,o=n;if(o>=48&&o<=57){do{o=i.charCodeAt(++a)}while(o>=48&&o<=57);return a}throw(0,t.syntaxError)(e,a,"Invalid number, expected digit but got: ".concat(s(o),"."))}function f(e,i,a,o,c){for(var u=e.body,l=i+1,p=l,d=0,f="";l<u.length&&!isNaN(d=u.charCodeAt(l))&&10!==d&&13!==d;){if(34===d)return f+=u.slice(p,l),new r.Token(n.TokenKind.STRING,i,l+1,a,o,c,f);if(d<32&&9!==d)throw(0,t.syntaxError)(e,l,"Invalid character within String: ".concat(s(d),"."));if(++l,92===d){switch(f+=u.slice(p,l-1),d=u.charCodeAt(l)){case 34:f+='"';break;case 47:f+="/";break;case 92:f+="\\";break;case 98:f+="\b";break;case 102:f+="\f";break;case 110:f+="\n";break;case 114:f+="\r";break;case 116:f+="\t";break;case 117:var _=g(u.charCodeAt(l+1),u.charCodeAt(l+2),u.charCodeAt(l+3),u.charCodeAt(l+4));if(_<0){var m=u.slice(l+1,l+5);throw(0,t.syntaxError)(e,l,"Invalid character escape sequence: \\u".concat(m,"."))}f+=String.fromCharCode(_),l+=4;break;default:throw(0,t.syntaxError)(e,l,"Invalid character escape sequence: \\".concat(String.fromCharCode(d),"."))}p=++l}}throw(0,t.syntaxError)(e,l,"Unterminated string.")}function m(e,i,o,c,u,l){for(var p=e.body,d=i+3,f=d,_=0,m="";d<p.length&&!isNaN(_=p.charCodeAt(d));){if(34===_&&34===p.charCodeAt(d+1)&&34===p.charCodeAt(d+2))return m+=p.slice(f,d),new r.Token(n.TokenKind.BLOCK_STRING,i,d+3,o,c,u,(0,a.dedentBlockStringValue)(m));if(_<32&&9!==_&&10!==_&&13!==_)throw(0,t.syntaxError)(e,d,"Invalid character within String: ".concat(s(_),"."));10===_?(++d,++l.line,l.lineStart=d):13===_?(10===p.charCodeAt(d+1)?d+=2:++d,++l.line,l.lineStart=d):92===_&&34===p.charCodeAt(d+1)&&34===p.charCodeAt(d+2)&&34===p.charCodeAt(d+3)?(m+=p.slice(f,d)+'"""',f=d+=4):++d}throw(0,t.syntaxError)(e,d,"Unterminated string.")}function g(e,t,r,n){return h(e)<<12|h(t)<<8|h(r)<<4|h(n)}function h(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function y(e,t,i,a,o){for(var s=e.body,c=s.length,u=t+1,l=0;u!==c&&!isNaN(l=s.charCodeAt(u))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++u;return new r.Token(n.TokenKind.NAME,t,u,i,a,o,s.slice(t,u))}e.Lexer=o}}),A=n({"node_modules/graphql/language/parser.js"(e){i(),Object.defineProperty(e,"__esModule",{value:!0}),e.parse=function(e,t){return new u(e,t).parseDocument()},e.parseValue=function(e,t){var r=new u(e,t);r.expectToken(a.TokenKind.SOF);var n=r.parseValueLiteral(!1);return r.expectToken(a.TokenKind.EOF),n},e.parseType=function(e,t){var r=new u(e,t);r.expectToken(a.TokenKind.SOF);var n=r.parseTypeReference();return r.expectToken(a.TokenKind.EOF),n},e.Parser=void 0;var t=_(),r=m(),n=v(),a=D(),o=S(),s=C(),c=k();var u=function(){function e(e,t){var r=(0,o.isSource)(e)?e:new o.Source(e);this._lexer=new c.Lexer(r),this._options=t}var i=e.prototype;return i.parseName=function(){var e=this.expectToken(a.TokenKind.NAME);return{kind:r.Kind.NAME,value:e.value,loc:this.loc(e)}},i.parseDocument=function(){var e=this._lexer.token;return{kind:r.Kind.DOCUMENT,definitions:this.many(a.TokenKind.SOF,this.parseDefinition,a.TokenKind.EOF),loc:this.loc(e)}},i.parseDefinition=function(){if(this.peek(a.TokenKind.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(a.TokenKind.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},i.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(a.TokenKind.BRACE_L))return{kind:r.Kind.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(a.TokenKind.NAME)&&(t=this.parseName()),{kind:r.Kind.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},i.parseOperationType=function(){var e=this.expectToken(a.TokenKind.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},i.parseVariableDefinitions=function(){return this.optionalMany(a.TokenKind.PAREN_L,this.parseVariableDefinition,a.TokenKind.PAREN_R)},i.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:r.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(a.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(a.TokenKind.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},i.parseVariable=function(){var e=this._lexer.token;return this.expectToken(a.TokenKind.DOLLAR),{kind:r.Kind.VARIABLE,name:this.parseName(),loc:this.loc(e)}},i.parseSelectionSet=function(){var e=this._lexer.token;return{kind:r.Kind.SELECTION_SET,selections:this.many(a.TokenKind.BRACE_L,this.parseSelection,a.TokenKind.BRACE_R),loc:this.loc(e)}},i.parseSelection=function(){return this.peek(a.TokenKind.SPREAD)?this.parseFragment():this.parseField()},i.parseField=function(){var e,t,n=this._lexer.token,i=this.parseName();return this.expectOptionalToken(a.TokenKind.COLON)?(e=i,t=this.parseName()):t=i,{kind:r.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(a.TokenKind.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},i.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(a.TokenKind.PAREN_L,t,a.TokenKind.PAREN_R)},i.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(a.TokenKind.COLON),{kind:r.Kind.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},i.parseConstArgument=function(){var e=this._lexer.token;return{kind:r.Kind.ARGUMENT,name:this.parseName(),value:(this.expectToken(a.TokenKind.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},i.parseFragment=function(){var e=this._lexer.token;this.expectToken(a.TokenKind.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(a.TokenKind.NAME)?{kind:r.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:r.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},i.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:r.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:r.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},i.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},i.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case a.TokenKind.BRACKET_L:return this.parseList(e);case a.TokenKind.BRACE_L:return this.parseObject(e);case a.TokenKind.INT:return this._lexer.advance(),{kind:r.Kind.INT,value:t.value,loc:this.loc(t)};case a.TokenKind.FLOAT:return this._lexer.advance(),{kind:r.Kind.FLOAT,value:t.value,loc:this.loc(t)};case a.TokenKind.STRING:case a.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case a.TokenKind.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:r.Kind.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:r.Kind.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:r.Kind.NULL,loc:this.loc(t)};default:return{kind:r.Kind.ENUM,value:t.value,loc:this.loc(t)}}case a.TokenKind.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},i.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:r.Kind.STRING,value:e.value,block:e.kind===a.TokenKind.BLOCK_STRING,loc:this.loc(e)}},i.parseList=function(e){var t=this,n=this._lexer.token;return{kind:r.Kind.LIST,values:this.any(a.TokenKind.BRACKET_L,(function(){return t.parseValueLiteral(e)}),a.TokenKind.BRACKET_R),loc:this.loc(n)}},i.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:r.Kind.OBJECT,fields:this.any(a.TokenKind.BRACE_L,(function(){return t.parseObjectField(e)}),a.TokenKind.BRACE_R),loc:this.loc(n)}},i.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(a.TokenKind.COLON),{kind:r.Kind.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},i.parseDirectives=function(e){for(var t=[];this.peek(a.TokenKind.AT);)t.push(this.parseDirective(e));return t},i.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(a.TokenKind.AT),{kind:r.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},i.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(a.TokenKind.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(a.TokenKind.BRACKET_R),e={kind:r.Kind.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(a.TokenKind.BANG)?{kind:r.Kind.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},i.parseNamedType=function(){var e=this._lexer.token;return{kind:r.Kind.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},i.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===a.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},i.peekDescription=function(){return this.peek(a.TokenKind.STRING)||this.peek(a.TokenKind.BLOCK_STRING)},i.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},i.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),i=this.many(a.TokenKind.BRACE_L,this.parseOperationTypeDefinition,a.TokenKind.BRACE_R);return{kind:r.Kind.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i,loc:this.loc(e)}},i.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(a.TokenKind.COLON);var n=this.parseNamedType();return{kind:r.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},i.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),i=this.parseDirectives(!0);return{kind:r.Kind.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i,loc:this.loc(e)}},i.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),i=this.parseImplementsInterfaces(),a=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:r.Kind.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:a,fields:o,loc:this.loc(e)}},i.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(a.TokenKind.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(a.TokenKind.AMP)||this.peek(a.TokenKind.NAME));return t}return this.delimitedMany(a.TokenKind.AMP,this.parseNamedType)},i.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(a.TokenKind.BRACE_L)&&this._lexer.lookahead().kind===a.TokenKind.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(a.TokenKind.BRACE_L,this.parseFieldDefinition,a.TokenKind.BRACE_R)},i.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(a.TokenKind.COLON);var o=this.parseTypeReference(),s=this.parseDirectives(!0);return{kind:r.Kind.FIELD_DEFINITION,description:t,name:n,arguments:i,type:o,directives:s,loc:this.loc(e)}},i.parseArgumentDefs=function(){return this.optionalMany(a.TokenKind.PAREN_L,this.parseInputValueDef,a.TokenKind.PAREN_R)},i.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(a.TokenKind.COLON);var i,o=this.parseTypeReference();this.expectOptionalToken(a.TokenKind.EQUALS)&&(i=this.parseValueLiteral(!0));var s=this.parseDirectives(!0);return{kind:r.Kind.INPUT_VALUE_DEFINITION,description:t,name:n,type:o,defaultValue:i,directives:s,loc:this.loc(e)}},i.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),i=this.parseImplementsInterfaces(),a=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:r.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:a,fields:o,loc:this.loc(e)}},i.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),i=this.parseDirectives(!0),a=this.parseUnionMemberTypes();return{kind:r.Kind.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:a,loc:this.loc(e)}},i.parseUnionMemberTypes=function(){return this.expectOptionalToken(a.TokenKind.EQUALS)?this.delimitedMany(a.TokenKind.PIPE,this.parseNamedType):[]},i.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),i=this.parseDirectives(!0),a=this.parseEnumValuesDefinition();return{kind:r.Kind.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:a,loc:this.loc(e)}},i.parseEnumValuesDefinition=function(){return this.optionalMany(a.TokenKind.BRACE_L,this.parseEnumValueDefinition,a.TokenKind.BRACE_R)},i.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseDirectives(!0);return{kind:r.Kind.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i,loc:this.loc(e)}},i.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),i=this.parseDirectives(!0),a=this.parseInputFieldsDefinition();return{kind:r.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:a,loc:this.loc(e)}},i.parseInputFieldsDefinition=function(){return this.optionalMany(a.TokenKind.BRACE_L,this.parseInputValueDef,a.TokenKind.BRACE_R)},i.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===a.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},i.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(a.TokenKind.BRACE_L,this.parseOperationTypeDefinition,a.TokenKind.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:r.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},i.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:r.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},i.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),a=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===a.length)throw this.unexpected();return{kind:r.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:a,loc:this.loc(e)}},i.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),a=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===a.length)throw this.unexpected();return{kind:r.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:a,loc:this.loc(e)}},i.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:r.Kind.UNION_TYPE_EXTENSION,name:t,directives:n,types:i,loc:this.loc(e)}},i.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:r.Kind.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i,loc:this.loc(e)}},i.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:r.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i,loc:this.loc(e)}},i.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(a.TokenKind.AT);var n=this.parseName(),i=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var s=this.parseDirectiveLocations();return{kind:r.Kind.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:o,locations:s,loc:this.loc(e)}},i.parseDirectiveLocations=function(){return this.delimitedMany(a.TokenKind.PIPE,this.parseDirectiveLocation)},i.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==s.DirectiveLocation[t.value])return t;throw this.unexpected(e)},i.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new n.Location(e,this._lexer.lastToken,this._lexer.source)},i.peek=function(e){return this._lexer.token.kind===e},i.expectToken=function(e){var r=this._lexer.token;if(r.kind===e)return this._lexer.advance(),r;throw(0,t.syntaxError)(this._lexer.source,r.start,"Expected ".concat(p(e),", found ").concat(l(r),"."))},i.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},i.expectKeyword=function(e){var r=this._lexer.token;if(r.kind!==a.TokenKind.NAME||r.value!==e)throw(0,t.syntaxError)(this._lexer.source,r.start,'Expected "'.concat(e,'", found ').concat(l(r),"."));this._lexer.advance()},i.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===a.TokenKind.NAME&&t.value===e&&(this._lexer.advance(),!0)},i.unexpected=function(e){var r=null!=e?e:this._lexer.token;return(0,t.syntaxError)(this._lexer.source,r.start,"Unexpected ".concat(l(r),"."))},i.any=function(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},i.optionalMany=function(e,t,r){if(this.expectOptionalToken(e)){var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}return[]},i.many=function(e,t,r){this.expectToken(e);var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n},i.delimitedMany=function(e,t){this.expectOptionalToken(e);var r=[];do{r.push(t.call(this))}while(this.expectOptionalToken(e));return r},e}();function l(e){var t=e.value;return p(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function p(e){return(0,c.isPunctuatorTokenKind)(e)?'"'.concat(e,'"'):e}e.Parser=u}});i();var N=a(),P=o(),{hasPragma:F}=s(),{locStart:w,locEnd:I}=c();function O(e){if(e&&"object"==typeof e){delete e.startToken,delete e.endToken,delete e.prev,delete e.next;for(let t in e)O(e[t])}return e}var L={allowLegacySDLImplementsInterfaces:!1,experimentalFragmentVariables:!0};t.exports={parsers:{graphql:{parse:function(e){let{parse:t}=A(),{result:r,error:n}=P((()=>t(e,Object.assign({},L))),(()=>t(e,Object.assign(Object.assign({},L),{},{allowLegacySDLImplementsInterfaces:!0}))));if(!r)throw function(e){let{GraphQLError:t}=f();if(e instanceof t){let{message:t,locations:[r]}=e;return N(t,{start:r})}return e}(n);return r.comments=function(e){let t=[],{startToken:r}=e.loc,{next:n}=r;for(;"<EOF>"!==n.kind;)"Comment"===n.kind&&(Object.assign(n,{column:n.column-1}),t.push(n)),n=n.next;return t}(r),O(r),r},astFormat:"graphql",hasPragma:F,locStart:w,locEnd:I}}}},()=>(t||e(t={exports:{}},t),t.exports));return r()}()},237:(e,t,r)=>{e.exports=function(){"use strict";var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),n=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),i=e(((e,t)=>{var r=n();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),a=e(((e,t)=>{var r=n();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),o=e(((e,t)=>{var r=a(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),s=e((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),c=e(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),u=e(((e,t)=>{var r=a(),n=Function.prototype,i=n.bind,o=n.call,s=r&&i.bind(o,o);t.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return o.apply(e,arguments)}}})),l=e(((e,t)=>{var r=u(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),p=e(((e,r)=>{var i=t(),a=u(),o=n(),s=l(),c=i.Object,p=a("".split);r.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?p(e,""):c(e)}:c})),d=e(((e,r)=>{var n=t().TypeError;r.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}})),f=e(((e,t)=>{var r=p(),n=d();t.exports=function(e){return r(n(e))}})),_=e(((e,t)=>{t.exports=function(e){return"function"==typeof e}})),m=e(((e,t)=>{var r=_();t.exports=function(e){return"object"==typeof e?null!==e:r(e)}})),g=e(((e,r)=>{var n=t(),i=_(),a=function(e){return i(e)?e:void 0};r.exports=function(e,t){return arguments.length<2?a(n[e]):n[e]&&n[e][t]}})),h=e(((e,t)=>{var r=u();t.exports=r({}.isPrototypeOf)})),y=e(((e,t)=>{var r=g();t.exports=r("navigator","userAgent")||""})),v=e(((e,r)=>{var n,i,a=t(),o=y(),s=a.process,c=a.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(i=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),r.exports=i})),D=e(((e,t)=>{var r=v(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),b=e(((e,t)=>{var r=D();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),x=e(((e,r)=>{var n=t(),i=g(),a=_(),o=h(),s=b(),c=n.Object;r.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return a(t)&&o(t.prototype,c(e))}})),E=e(((e,r)=>{var n=t().String;r.exports=function(e){try{return n(e)}catch{return"Object"}}})),S=e(((e,r)=>{var n=t(),i=_(),a=E(),o=n.TypeError;r.exports=function(e){if(i(e))return e;throw o(a(e)+" is not a function")}})),C=e(((e,t)=>{var r=S();t.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}})),T=e(((e,r)=>{var n=t(),i=o(),a=_(),s=m(),c=n.TypeError;r.exports=function(e,t){var r,n;if("string"===t&&a(r=e.toString)&&!s(n=i(r,e))||a(r=e.valueOf)&&!s(n=i(r,e))||"string"!==t&&a(r=e.toString)&&!s(n=i(r,e)))return n;throw c("Can't convert object to primitive value")}})),k=e(((e,t)=>{t.exports=!1})),A=e(((e,r)=>{var n=t(),i=Object.defineProperty;r.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),N=e(((e,r)=>{var n=t(),i=A(),a="__core-js_shared__",o=n[a]||i(a,{});r.exports=o})),P=e(((e,t)=>{var r=k(),n=N();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),F=e(((e,r)=>{var n=t(),i=d(),a=n.Object;r.exports=function(e){return a(i(e))}})),w=e(((e,t)=>{var r=u(),n=F(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),I=e(((e,t)=>{var r=u(),n=0,i=Math.random(),a=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++n+i,36)}})),O=e(((e,r)=>{var n=t(),i=P(),a=w(),o=I(),s=D(),c=b(),u=i("wks"),l=n.Symbol,p=l&&l.for,d=c?l:l&&l.withoutSetter||o;r.exports=function(e){if(!a(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&a(l,e)?u[e]=l[e]:u[e]=c&&p?p(t):d(t)}return u[e]}})),L=e(((e,r)=>{var n=t(),i=o(),a=m(),s=x(),c=C(),u=T(),l=O(),p=n.TypeError,d=l("toPrimitive");r.exports=function(e,t){if(!a(e)||s(e))return e;var r,n=c(e,d);if(n){if(void 0===t&&(t="default"),r=i(n,e,t),!a(r)||s(r))return r;throw p("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}})),M=e(((e,t)=>{var r=L(),n=x();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),R=e(((e,r)=>{var n=t(),i=m(),a=n.document,o=i(a)&&i(a.createElement);r.exports=function(e){return o?a.createElement(e):{}}})),B=e(((e,t)=>{var r=i(),a=n(),o=R();t.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))})),j=e((e=>{var t=i(),r=o(),n=s(),a=c(),u=f(),l=M(),p=w(),d=B(),_=Object.getOwnPropertyDescriptor;e.f=t?_:function(e,t){if(e=u(e),t=l(t),d)try{return _(e,t)}catch{}if(p(e,t))return a(!r(n.f,e,t),e[t])}})),K=e(((e,t)=>{var r=i(),a=n();t.exports=r&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),J=e(((e,r)=>{var n=t(),i=m(),a=n.String,o=n.TypeError;r.exports=function(e){if(i(e))return e;throw o(a(e)+" is not an object")}})),U=e((e=>{var r=t(),n=i(),a=B(),o=K(),s=J(),c=M(),u=r.TypeError,l=Object.defineProperty,p=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",_="writable";e.f=n?o?function(e,t,r){if(s(e),t=c(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&_ in r&&!r[_]){var n=p(e,t);n&&n[_]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(s(e),t=c(t),s(r),a)try{return l(e,t,r)}catch{}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),q=e(((e,t)=>{var r=i(),n=U(),a=c();t.exports=r?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}})),V=e(((e,t)=>{var r=u(),n=_(),i=N(),a=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),z=e(((e,r)=>{var n=t(),i=_(),a=V(),o=n.WeakMap;r.exports=i(o)&&/native code/.test(a(o))})),W=e(((e,t)=>{var r=P(),n=I(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),H=e(((e,t)=>{t.exports={}})),G=e(((e,r)=>{var n,i,a,o,s,c,l,p,d=z(),f=t(),_=u(),g=m(),h=q(),y=w(),v=N(),D=W(),b=H(),x="Object already initialized",E=f.TypeError,S=f.WeakMap;d||v.state?(o=v.state||(v.state=new S),s=_(o.get),c=_(o.has),l=_(o.set),n=function(e,t){if(c(o,e))throw new E(x);return t.facade=e,l(o,e,t),t},i=function(e){return s(o,e)||{}},a=function(e){return c(o,e)}):(b[p=D("state")]=!0,n=function(e,t){if(y(e,p))throw new E(x);return t.facade=e,h(e,p,t),t},i=function(e){return y(e,p)?e[p]:{}},a=function(e){return y(e,p)}),r.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!g(t)||(r=i(t)).type!==e)throw E("Incompatible receiver, "+e+" required");return r}}}})),$=e(((e,t)=>{var r=i(),n=w(),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,s=n(a,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&o(a,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}})),Y=e(((e,r)=>{var n=t(),i=_(),a=w(),o=q(),s=A(),c=V(),u=G(),l=$().CONFIGURABLE,p=u.get,d=u.enforce,f=String(String).split("String");(r.exports=function(e,t,r,c){var u,p=!!c&&!!c.unsafe,_=!!c&&!!c.enumerable,m=!!c&&!!c.noTargetGet,g=c&&void 0!==c.name?c.name:t;i(r)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(r,"name")||l&&r.name!==g)&&o(r,"name",g),(u=d(r)).source||(u.source=f.join("string"==typeof g?g:""))),e!==n?(p?!m&&e[t]&&(_=!0):delete e[t],_?e[t]=r:o(e,t,r)):_?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return i(this)&&p(this).source||c(this)}))})),X=e(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?n:r)(t)}})),Q=e(((e,t)=>{var r=X(),n=Math.max,i=Math.min;t.exports=function(e,t){var a=r(e);return a<0?n(a+t,0):i(a,t)}})),Z=e(((e,t)=>{var r=X(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),ee=e(((e,t)=>{var r=Z();t.exports=function(e){return r(e.length)}})),te=e(((e,t)=>{var r=f(),n=Q(),i=ee(),a=function(e){return function(t,a,o){var s,c=r(t),u=i(c),l=n(o,u);if(e&&a!=a){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}})),re=e(((e,t)=>{var r=u(),n=w(),i=f(),a=te().indexOf,o=H(),s=r([].push);t.exports=function(e,t){var r,c=i(e),u=0,l=[];for(r in c)!n(o,r)&&n(c,r)&&s(l,r);for(;t.length>u;)n(c,r=t[u++])&&(~a(l,r)||s(l,r));return l}})),ne=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ie=e((e=>{var t=re(),r=ne().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),ae=e((e=>{e.f=Object.getOwnPropertySymbols})),oe=e(((e,t)=>{var r=g(),n=u(),i=ie(),a=ae(),o=J(),s=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=a.f;return r?s(t,r(e)):t}})),se=e(((e,t)=>{var r=w(),n=oe(),i=j(),a=U();t.exports=function(e,t,o){for(var s=n(t),c=a.f,u=i.f,l=0;l<s.length;l++){var p=s[l];!r(e,p)&&(!o||!r(o,p))&&c(e,p,u(t,p))}}})),ce=e(((e,t)=>{var r=n(),i=_(),a=/#|\.prototype\./,o=function(e,t){var n=c[s(e)];return n==l||n!=u&&(i(t)?r(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o})),ue=e(((e,r)=>{var n=t(),i=j().f,a=q(),o=Y(),s=A(),c=se(),u=ce();r.exports=function(e,t){var r,l,p,d,f,_=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[_]||s(_,{}):(n[_]||{}).prototype)for(l in t){if(d=t[l],p=e.noTargetGet?(f=i(r,l))&&f.value:r[l],!u(m?l:_+(g?".":"#")+l,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&a(d,"sham",!0),o(r,l,d,e)}}})),le=e((()=>{ue()({global:!0},{globalThis:t()})})),pe=e((()=>{le()})),de=e(((e,t)=>{var r=l();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),fe=e(((e,t)=>{var r=u(),n=S(),i=a(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}})),_e=e(((e,r)=>{var n=t(),i=de(),a=ee(),o=fe(),s=n.TypeError,c=function(e,t,r,n,u,l,p,d){for(var f,_,m=u,g=0,h=!!p&&o(p,d);g<n;){if(g in r){if(f=h?h(r[g],g,t):r[g],l>0&&i(f))_=a(f),m=c(e,t,f,_,m,l-1)-1;else{if(m>=9007199254740991)throw s("Exceed the acceptable array length");e[m]=f}m++}g++}return m};r.exports=c})),me=e(((e,t)=>{var r={};r[O()("toStringTag")]="z",t.exports="[object z]"===String(r)})),ge=e(((e,r)=>{var n=t(),i=me(),a=_(),o=l(),s=O()("toStringTag"),c=n.Object,u="Arguments"==o(function(){return arguments}());r.exports=i?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch{}}(t=c(e),s))?r:u?o(t):"Object"==(n=o(t))&&a(t.callee)?"Arguments":n}})),he=e(((e,t)=>{var r=u(),i=n(),a=_(),o=ge(),s=g(),c=V(),l=function(){},p=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,m=r(f.exec),h=!f.exec(l),y=function(e){if(!a(e))return!1;try{return d(l,p,e),!0}catch{return!1}},v=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!m(f,c(e))}catch{return!0}};v.sham=!0,t.exports=!d||i((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?v:y})),ye=e(((e,r)=>{var n=t(),i=de(),a=he(),o=m(),s=O()("species"),c=n.Array;r.exports=function(e){var t;return i(e)&&(t=e.constructor,(a(t)&&(t===c||i(t.prototype))||o(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?c:t}})),ve=e(((e,t)=>{var r=ye();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),De=e((()=>{var e=ue(),t=_e(),r=S(),n=F(),i=ee(),a=ve();e({target:"Array",proto:!0},{flatMap:function(e){var o,s=n(this),c=i(s);return r(e),(o=a(s,0)).length=t(o,s,s,c,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),be=e(((e,t)=>{t.exports={}})),xe=e(((e,t)=>{var r=O(),n=be(),i=r("iterator"),a=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||a[i]===e)}})),Ee=e(((e,t)=>{var r=ge(),n=C(),i=be(),a=O()("iterator");t.exports=function(e){if(null!=e)return n(e,a)||n(e,"@@iterator")||i[r(e)]}})),Se=e(((e,r)=>{var n=t(),i=o(),a=S(),s=J(),c=E(),u=Ee(),l=n.TypeError;r.exports=function(e,t){var r=arguments.length<2?u(e):t;if(a(r))return s(i(r,e));throw l(c(e)+" is not iterable")}})),Ce=e(((e,t)=>{var r=o(),n=J(),i=C();t.exports=function(e,t,a){var o,s;n(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw a;return a}o=r(o,e)}catch(e){s=!0,o=e}if("throw"===t)throw a;if(s)throw o;return n(o),a}})),Te=e(((e,r)=>{var n=t(),i=fe(),a=o(),s=J(),c=E(),u=xe(),l=ee(),p=h(),d=Se(),f=Ee(),_=Ce(),m=n.TypeError,g=function(e,t){this.stopped=e,this.result=t},y=g.prototype;r.exports=function(e,t,r){var n,o,h,v,D,b,x,E=r&&r.that,S=!(!r||!r.AS_ENTRIES),C=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),k=i(t,E),A=function(e){return n&&_(n,"normal",e),new g(!0,e)},N=function(e){return S?(s(e),T?k(e[0],e[1],A):k(e[0],e[1])):T?k(e,A):k(e)};if(C)n=e;else{if(!(o=f(e)))throw m(c(e)+" is not iterable");if(u(o)){for(h=0,v=l(e);v>h;h++)if((D=N(e[h]))&&p(y,D))return D;return new g(!1)}n=d(e,o)}for(b=n.next;!(x=a(b,n)).done;){try{D=N(x.value)}catch(e){_(n,"throw",e)}if("object"==typeof D&&D&&p(y,D))return D}return new g(!1)}})),ke=e(((e,t)=>{var r=M(),n=U(),i=c();t.exports=function(e,t,a){var o=r(t);o in e?n.f(e,o,i(0,a)):e[o]=a}})),Ae=e((()=>{var e=ue(),t=Te(),r=ke();e({target:"Object",stat:!0},{fromEntries:function(e){var n={};return t(e,(function(e,t){r(n,e,t)}),{AS_ENTRIES:!0}),n}})})),Ne=e(((e,t)=>{var r,n,i,a,o,s,c=["cliName","cliCategory","cliDescription"];function u(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(i[r]=e[r]))}return i}function l(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}pe(),De(),Ae();var p,d,f,_=Object.getOwnPropertyNames,m=(e,t)=>function(){return t||(0,e[_(e)[0]])((t={exports:{}}).exports,t),t.exports},g=(d={"<define:process>"(){p={env:{},argv:[]}}},function(){return d&&(f=(0,d[_(d)[0]])(d=0)),f}),h=m({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return e.$0<=t&&t<=e.$9}g(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=function(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP},e.isDigit=t,e.isAsciiLetter=function(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z},e.isAsciiHexDigit=function(r){return r>=e.$a&&r<=e.$f||r>=e.$A&&r<=e.$F||t(r)},e.isNewLine=function(t){return t===e.$LF||t===e.$CR},e.isOctalDigit=function(t){return e.$0<=t&&t<=e.$7}}}),y=m({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,r){this.filePath=e,this.name=t,this.members=r}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};e.StaticSymbol=t;e.StaticSymbolCache=class{constructor(){this.cache=new Map}get(e,r,n){let i=(n=n||[]).length?".".concat(n.join(".")):"",a='"'.concat(e,'".').concat(r).concat(i),o=this.cache.get(a);return o||(o=new t(e,r,n),this.cache.set(a,o)),o}}}}),v=m({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function r(e,t,r){let n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function n(e,t,r){return Array.isArray(e)?t.visitArray(e,r):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===o}(e)?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r)}e.dashCaseToCamelCase=function(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t[1].toUpperCase()}))},e.splitAtColon=function(e,t){return r(e,":",t)},e.splitAtPeriod=function(e,t){return r(e,".",t)},e.visitValue=n,e.isDefined=function(e){return null!=e},e.noUndefined=function(e){return void 0===e?null:e};e.ValueTransformer=class{visitArray(e,t){return e.map((e=>n(e,this,t)))}visitStringMap(e,t){let r={};return Object.keys(e).forEach((i=>{r[i]=n(e[i],this,t)})),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}},e.SyncAsync={assertSync:e=>{if(s(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>s(e)?e.then(t):t(e),all:e=>e.some(s)?Promise.all(e):e},e.error=function(e){throw new Error("Internal Error: ".concat(e))},e.syntaxError=function(e,t){let r=Error(e);return r[i]=!0,t&&(r[a]=t),r};var i="ngSyntaxError",a="ngParseErrors";e.isSyntaxError=function(e){return e[i]},e.getParseErrors=function(e){return e[a]||[]},e.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var o=Object.getPrototypeOf({});function s(e){return!!e&&"function"==typeof e.then}e.utf8Encode=function(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>=55296&&n<=56319&&e.length>r+1){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,n=(n-55296<<10)+t-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|128))}return t},e.stringify=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";let r=t.toString();if(null==r)return""+r;let n=r.indexOf("\n");return-1===n?r:r.substring(0,n)},e.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},e.isPromise=s;e.Version=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};var c=typeof window<"u"&&window,u=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,l=typeof globalThis<"u"&&globalThis||c||u;e.global=l}}),D=m({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=y(),r=v(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var a,o,s=0;function c(e){if(!e||!e.reference)return null;let n=e.reference;if(n instanceof t.StaticSymbol)return n.name;if(n.__anonymousType)return n.__anonymousType;let a=r.stringify(n);return a.indexOf("(")>=0?(a="anonymous_".concat(s++),n.__anonymousType=a):a=i(a),a}e.identifierName=c,e.identifierModuleUrl=function(e){let n=e.reference;return n instanceof t.StaticSymbol?n.filePath:"./".concat(r.stringify(n))},e.viewClassName=function(e,t){return"View_".concat(c({reference:e}),"_").concat(t)},e.rendererTypeName=function(e){return"RenderType_".concat(c({reference:e}))},e.hostViewClassName=function(e){return"HostView_".concat(c({reference:e}))},e.componentFactoryName=function(e){return"".concat(c({reference:e}),"NgFactory")},(o=a=e.CompileSummaryKind||(e.CompileSummaryKind={}))[o.Pipe=0]="Pipe",o[o.Directive=1]="Directive",o[o.NgModule=2]="NgModule",o[o.Injectable=3]="Injectable",e.tokenName=function(e){return null!=e.value?i(e.value):c(e.identifier)},e.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value};e.CompileStylesheetMetadata=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=l(t),this.styleUrls=l(r)}};e.CompileTemplateMetadata=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:i,styles:a,styleUrls:o,externalStylesheets:s,animations:c,ngContentSelectors:u,interpolation:d,isInline:f,preserveWhitespaces:_}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=i,this.styles=l(a),this.styleUrls=l(o),this.externalStylesheets=l(s),this.animations=c?p(c):[],this.ngContentSelectors=u||[],d&&2!=d.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=d,this.isInline=f,this.preserveWhitespaces=_}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};var u=class{static create(e){let{isHost:t,type:i,isComponent:a,selector:o,exportAs:s,changeDetection:c,inputs:l,outputs:p,host:d,providers:f,viewProviders:_,queries:m,guards:g,viewQueries:h,entryComponents:y,template:v,componentViewType:D,rendererType:b,componentFactory:x}=e,E={},S={},C={};null!=d&&Object.keys(d).forEach((e=>{let t=d[e],r=e.match(n);null===r?C[e]=t:null!=r[1]?S[r[1]]=t:null!=r[2]&&(E[r[2]]=t)}));let T={};null!=l&&l.forEach((e=>{let t=r.splitAtColon(e,[e,e]);T[t[0]]=t[1]}));let k={};return null!=p&&p.forEach((e=>{let t=r.splitAtColon(e,[e,e]);k[t[0]]=t[1]})),new u({isHost:t,type:i,isComponent:!!a,selector:o,exportAs:s,changeDetection:c,inputs:T,outputs:k,hostListeners:E,hostProperties:S,hostAttributes:C,providers:f,viewProviders:_,queries:m,guards:g,viewQueries:h,entryComponents:y,template:v,componentViewType:D,rendererType:b,componentFactory:x})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:i,exportAs:a,changeDetection:o,inputs:s,outputs:c,hostListeners:u,hostProperties:p,hostAttributes:d,providers:f,viewProviders:_,queries:m,guards:g,viewQueries:h,entryComponents:y,template:v,componentViewType:D,rendererType:b,componentFactory:x}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=a,this.changeDetection=o,this.inputs=s,this.outputs=c,this.hostListeners=u,this.hostProperties=p,this.hostAttributes=d,this.providers=l(f),this.viewProviders=l(_),this.queries=l(m),this.guards=g,this.viewQueries=l(h),this.entryComponents=l(y),this.template=v,this.componentViewType=D,this.rendererType=b,this.componentFactory=x}toSummary(){return{summaryKind:a.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};e.CompileDirectiveMetadata=u;e.CompilePipeMetadata=class{constructor(e){let{type:t,name:r,pure:n}=e;this.type=t,this.name=r,this.pure=!!n}toSummary(){return{summaryKind:a.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompileShallowModuleMetadata=class{};e.CompileNgModuleMetadata=class{constructor(e){let{type:t,providers:r,declaredDirectives:n,exportedDirectives:i,declaredPipes:a,exportedPipes:o,entryComponents:s,bootstrapComponents:c,importedModules:u,exportedModules:p,schemas:d,transitiveModule:f,id:_}=e;this.type=t||null,this.declaredDirectives=l(n),this.exportedDirectives=l(i),this.declaredPipes=l(a),this.exportedPipes=l(o),this.providers=l(r),this.entryComponents=l(s),this.bootstrapComponents=l(c),this.importedModules=l(u),this.exportedModules=l(p),this.schemas=l(d),this.id=_||null,this.transitiveModule=f||null}toSummary(){let e=this.transitiveModule;return{summaryKind:a.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};function l(e){return e||[]}e.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function p(e){return e.reduce(((e,t)=>{let r=Array.isArray(t)?p(t):t;return e.concat(r)}),[])}function d(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.ProviderMeta=class{constructor(e,t){let{useClass:r,useValue:n,useExisting:i,useFactory:a,deps:o,multi:s}=t;this.token=e,this.useClass=r||null,this.useValue=n,this.useExisting=i,this.useFactory=a||null,this.dependencies=o||null,this.multi=!!s}},e.flatten=p,e.templateSourceUrl=function(e,r,n){let i;return i=n.isInline?r.type.reference instanceof t.StaticSymbol?"".concat(r.type.reference.filePath,".").concat(r.type.reference.name,".html"):"".concat(c(e),"/").concat(c(r.type),".html"):n.templateUrl,r.type.reference instanceof t.StaticSymbol?i:d(i)},e.sharedStylesheetJitUrl=function(e,t){let r=e.moduleUrl.split(/\/\\/g),n=r[r.length-1];return d("css/".concat(t).concat(n,".ngstyle.js"))},e.ngModuleJitUrl=function(e){return d("".concat(c(e.type),"/module.ngfactory.js"))},e.templateJitUrl=function(e,t){return d("".concat(c(e),"/").concat(c(t.type),".ngfactory.js"))}}}),b=m({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=h(),r=D(),n=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(e){let r=this.file.content,i=r.length,a=this.offset,o=this.line,s=this.col;for(;a>0&&e<0;)if(a--,e++,r.charCodeAt(a)==t.$LF){o--;let e=r.substr(0,a-1).lastIndexOf(String.fromCharCode(t.$LF));s=e>0?a-e:a}else s--;for(;a<i&&e>0;){let n=r.charCodeAt(a);a++,e--,n==t.$LF?(o++,s=0):s++}return new n(this.file,a,o,s)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let i=n,a=0,o=0;for(;a<e&&n>0&&(n--,a++,"\n"!=r[n]||++o!=t););for(a=0,o=0;a<e&&i<r.length-1&&(i++,a++,"\n"!=r[i]||++o!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,i+1)}}return null}};e.ParseLocation=n;var i=class{constructor(e,t){this.content=e,this.url=t}};e.ParseSourceFile=i;var a,o,s=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=s,e.EMPTY_PARSE_LOCATION=new n(new i("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new s(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(o=a=e.ParseErrorLevel||(e.ParseErrorLevel={}))[o.WARNING=0]="WARNING",o[o.ERROR=1]="ERROR";e.ParseError=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.ERROR;this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(a[this.level]," ->]").concat(e.after,'")'):this.msg}toString(){let e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}},e.typeSourceSpan=function(e,t){let a=r.identifierModuleUrl(t),o=null!=a?"in ".concat(e," ").concat(r.identifierName(t)," in ").concat(a):"in ".concat(e," ").concat(r.identifierName(t)),c=new i("",o);return new s(new n(c,-1,-1,-1),new n(c,-1,-1,-1))},e.r3JitTypeSourceSpan=function(e,t,r){let a="in ".concat(e," ").concat(t," in ").concat(r),o=new i("",a);return new s(new n(o,-1,-1,-1),new n(o,-1,-1,-1))}}}),x=m({"src/utils/front-matter/parse.js"(e,t){g();var r=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");t.exports=function(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:i,value:a="",endDelimiter:o}=t.groups,s=i.trim()||"yaml";if("+++"===n&&(s="toml"),"yaml"!==s&&n!==o)return{content:e};let[c]=t;return{frontMatter:{type:"front-matter",lang:s,value:a,startDelimiter:n,endDelimiter:o,raw:c.replace(/\n$/,"")},content:c.replace(/[^\n]/g," ")+e.slice(c.length)}}}}),E=m({"src/utils/get-last.js"(e,t){g();t.exports=e=>e[e.length-1]}}),S=m({"src/common/parser-create-error.js"(e,t){g(),t.exports=function(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}}}),C=m({"node_modules/escape-string-regexp/index.js"(e,t){g(),t.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}}}),T=m({"node_modules/semver/internal/debug.js"(e,t){g();var r="object"==typeof p&&p.env&&p.env.NODE_DEBUG&&/\bsemver\b/i.test(p.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.error("SEMVER",...t)}:()=>{};t.exports=r}}),k=m({"node_modules/semver/internal/constants.js"(e,t){g();var r=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:16}}}),A=m({"node_modules/semver/internal/re.js"(e,t){g();var{MAX_SAFE_COMPONENT_LENGTH:r}=k(),n=T(),i=(e=t.exports={}).re=[],a=e.src=[],o=e.t={},s=0,c=(e,t,r)=>{let c=s++;n(c,t),o[e]=c,a[c]=t,i[c]=new RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION","(".concat(a[o.NUMERICIDENTIFIER],")\\.(").concat(a[o.NUMERICIDENTIFIER],")\\.(").concat(a[o.NUMERICIDENTIFIER],")")),c("MAINVERSIONLOOSE","(".concat(a[o.NUMERICIDENTIFIERLOOSE],")\\.(").concat(a[o.NUMERICIDENTIFIERLOOSE],")\\.(").concat(a[o.NUMERICIDENTIFIERLOOSE],")")),c("PRERELEASEIDENTIFIER","(?:".concat(a[o.NUMERICIDENTIFIER],"|").concat(a[o.NONNUMERICIDENTIFIER],")")),c("PRERELEASEIDENTIFIERLOOSE","(?:".concat(a[o.NUMERICIDENTIFIERLOOSE],"|").concat(a[o.NONNUMERICIDENTIFIER],")")),c("PRERELEASE","(?:-(".concat(a[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(a[o.PRERELEASEIDENTIFIER],")*))")),c("PRERELEASELOOSE","(?:-?(".concat(a[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(a[o.PRERELEASEIDENTIFIERLOOSE],")*))")),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD","(?:\\+(".concat(a[o.BUILDIDENTIFIER],"(?:\\.").concat(a[o.BUILDIDENTIFIER],")*))")),c("FULLPLAIN","v?".concat(a[o.MAINVERSION]).concat(a[o.PRERELEASE],"?").concat(a[o.BUILD],"?")),c("FULL","^".concat(a[o.FULLPLAIN],"$")),c("LOOSEPLAIN","[v=\\s]*".concat(a[o.MAINVERSIONLOOSE]).concat(a[o.PRERELEASELOOSE],"?").concat(a[o.BUILD],"?")),c("LOOSE","^".concat(a[o.LOOSEPLAIN],"$")),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE","".concat(a[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),c("XRANGEIDENTIFIER","".concat(a[o.NUMERICIDENTIFIER],"|x|X|\\*")),c("XRANGEPLAIN","[v=\\s]*(".concat(a[o.XRANGEIDENTIFIER],")(?:\\.(").concat(a[o.XRANGEIDENTIFIER],")(?:\\.(").concat(a[o.XRANGEIDENTIFIER],")(?:").concat(a[o.PRERELEASE],")?").concat(a[o.BUILD],"?)?)?")),c("XRANGEPLAINLOOSE","[v=\\s]*(".concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:").concat(a[o.PRERELEASELOOSE],")?").concat(a[o.BUILD],"?)?)?")),c("XRANGE","^".concat(a[o.GTLT],"\\s*").concat(a[o.XRANGEPLAIN],"$")),c("XRANGELOOSE","^".concat(a[o.GTLT],"\\s*").concat(a[o.XRANGEPLAINLOOSE],"$")),c("COERCE","(^|[^\\d])(\\d{1,".concat(r,"})(?:\\.(\\d{1,").concat(r,"}))?(?:\\.(\\d{1,").concat(r,"}))?(?:$|[^\\d])")),c("COERCERTL",a[o.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM","(\\s*)".concat(a[o.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",c("TILDE","^".concat(a[o.LONETILDE]).concat(a[o.XRANGEPLAIN],"$")),c("TILDELOOSE","^".concat(a[o.LONETILDE]).concat(a[o.XRANGEPLAINLOOSE],"$")),c("LONECARET","(?:\\^)"),c("CARETTRIM","(\\s*)".concat(a[o.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",c("CARET","^".concat(a[o.LONECARET]).concat(a[o.XRANGEPLAIN],"$")),c("CARETLOOSE","^".concat(a[o.LONECARET]).concat(a[o.XRANGEPLAINLOOSE],"$")),c("COMPARATORLOOSE","^".concat(a[o.GTLT],"\\s*(").concat(a[o.LOOSEPLAIN],")$|^$")),c("COMPARATOR","^".concat(a[o.GTLT],"\\s*(").concat(a[o.FULLPLAIN],")$|^$")),c("COMPARATORTRIM","(\\s*)".concat(a[o.GTLT],"\\s*(").concat(a[o.LOOSEPLAIN],"|").concat(a[o.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE","^\\s*(".concat(a[o.XRANGEPLAIN],")\\s+-\\s+(").concat(a[o.XRANGEPLAIN],")\\s*$")),c("HYPHENRANGELOOSE","^\\s*(".concat(a[o.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(a[o.XRANGEPLAINLOOSE],")\\s*$")),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}}),N=m({"node_modules/semver/internal/parse-options.js"(e,t){g();var r=["includePrerelease","loose","rtl"];t.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}}}),P=m({"node_modules/semver/internal/identifiers.js"(e,t){g();var r=/^[0-9]+$/,n=(e,t)=>{let n=r.test(e),i=r.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:e<t?-1:1};t.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}}}),F=m({"node_modules/semver/classes/semver.js"(e,t){g();var r=T(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=k(),{re:a,t:o}=A(),s=N(),{compareIdentifiers:c}=P(),u=class{constructor(e,t){if(t=s(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>n)throw new TypeError("version is longer than ".concat(n," characters"));r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let c=e.trim().match(t.loose?a[o.LOOSE]:a[o.FULL]);if(!c)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+c[1],this.minor=+c[2],this.patch=+c[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");c[4]?this.prerelease=c[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=c[5]?c[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return c(n,i)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{let n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return c(n,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}};t.exports=u}}),w=m({"node_modules/semver/functions/compare.js"(e,t){g();var r=F();t.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))}}),I=m({"node_modules/semver/functions/lt.js"(e,t){g();var r=w();t.exports=(e,t,n)=>r(e,t,n)<0}}),O=m({"node_modules/semver/functions/gte.js"(e,t){g();var r=w();t.exports=(e,t,n)=>r(e,t,n)>=0}}),L=m({"src/utils/arrayify.js"(e,t){g(),t.exports=(e,t)=>Object.entries(e).map((e=>{let[r,n]=e;return Object.assign({[t]:r},n)}))}}),M=m({"package.json"(e,t){t.exports={version:"2.6.1"}}}),R=m({"node_modules/outdent/lib/index.js"(e,t){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function n(){return typeof WeakMap<"u"?new WeakMap:{add:r,delete:r,get:r,set:r,has:function(e){return!1}}}g(),Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;var i=Object.prototype.hasOwnProperty,a=function(e,t){return i.call(e,t)};function o(e,t){for(var r in t)a(t,r)&&(e[r]=t[r]);return e}var s=/^[ \t]*(?:\r\n|\r|\n)/,c=/(?:\r\n|\r|\n)[ \t]*$/,u=/^(?:[\r\n]|$)/,l=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function d(e,t,r){var n=0,i=e[0].match(l);i&&(n=i[1].length);var a=new RegExp("(\\r\\n|\\r|\\n).{0,"+n+"}","g");t&&(e=e.slice(1));var o=r.newline,u=r.trimLeadingNewline,p=r.trimTrailingNewline,d="string"==typeof o,f=e.length;return e.map((function(e,t){return e=e.replace(a,"$1"),0===t&&u&&(e=e.replace(s,"")),t===f-1&&p&&(e=e.replace(c,"")),d&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return o}))),e}))}function f(e,t){for(var r="",n=0,i=e.length;n<i;n++)r+=e[n],n<i-1&&(r+=t[n]);return r}function _(e){return a(e,"raw")&&a(e,"length")}var m=function e(t){var r=n(),i=n();return o((function n(a){for(var s=[],c=1;c<arguments.length;c++)s[c-1]=arguments[c];if(_(a)){var l=a,g=(s[0]===n||s[0]===m)&&p.test(l[0])&&u.test(l[1]),h=g?i:r,y=h.get(l);return y||(y=d(l,g,t),h.set(l,y)),0===s.length?y[0]:f(y,g?s.slice(1):s)}return e(o(o({},t),a||{}))}),{string:function(e){return d([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});if(e.outdent=m,e.default=m,typeof t<"u")try{t.exports=m,Object.defineProperty(m,"__esModule",{value:!0}),m.default=m,m.outdent=m}catch{}}}),B=m({"src/main/core-options.js"(e,t){g();var{outdent:c}=R(),u="Config",p="Editor",d="Other",f="Global",_="Special",m={cursorOffset:{since:"1.4.0",category:_,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:c(r||(r=l(["\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n "]))),cliCategory:p},endOfLine:{since:"1.15.0",category:f,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:c(n||(n=l(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "])))}]},filepath:{since:"1.4.0",category:_,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:d,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:_,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:d},parser:{since:"0.0.10",category:f,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:f,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:u},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:f,description:c(i||(i=l(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]))),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:u},printWidth:{since:"0.0.0",category:f,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:_,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:c(a||(a=l(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:p},rangeStart:{since:"1.4.0",category:_,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:c(o||(o=l(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:p},requirePragma:{since:"1.7.0",category:_,type:"boolean",default:!1,description:c(s||(s=l(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]))),cliCategory:d},tabWidth:{type:"int",category:f,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:f,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:f,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:u,CATEGORY_EDITOR:p,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:d,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:f,CATEGORY_SPECIAL:_,options:m}}}),j=m({"src/main/support.js"(e,t){g();var r={compare:w(),lt:I(),gte:O()},n=L(),i=M().version,a=B().options;function o(e,t,r){let n=new Set(e.choices.map((e=>e.value)));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!n.has(t)){n.add(t);let a=r.find((e=>e.parsers&&e.parsers[t])),o=i.name;a&&a.name&&(o+=" (plugin: ".concat(a.name,")")),e.choices.push({value:t,description:o})}}t.exports={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:s=!1,showInternal:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=i.split("-",1)[0],d=e.flatMap((e=>e.languages||[])).filter(_),f=n(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),a),"name").filter((e=>_(e)&&m(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map(g).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(_).sort(((e,t)=>r.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>_(e)&&m(e))),"parser"===t.name&&o(t,d,e));let n=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})}));return{languages:d,options:f};function _(e){return t||!("since"in e)||e.since&&r.gte(p,e.since)}function m(e){return s||!("deprecated"in e)||e.deprecated&&r.lt(p,e.deprecated)}function g(e){if(l)return e;let{cliName:t,cliCategory:r,cliDescription:n}=e;return u(e,c)}}}}}),K=m({"src/utils/is-non-empty-array.js"(e,t){g(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),J=m({"vendors/string-width.js"(e,t){g();var r,n,i=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,c=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,l=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))!u.call(e,i)&&i!==r&&a(e,i,{get:()=>t[i],enumerable:!(n=o(t,i))||n.enumerable});return e},p=(r={"node_modules/emoji-regex/index.js"(e,t){t.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}},function(){return n||(0,r[s(r)[0]])((n={exports:{}}).exports,n),n.exports}),d={};function f(e){if("string"!=typeof e)throw new TypeError("Expected a `string`, got `".concat(typeof e,"`"));return e.replace(function(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}(),"")}function _(e){return!!Number.isInteger(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}((e,t)=>{for(var r in t)a(e,r,{get:t[r],enumerable:!0})})(d,{default:()=>h}),t.exports=(e=>l(a({},"__esModule",{value:!0}),e))(d);var m=((e,t,r)=>(r=null!=e?i(c(e)):{},l(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)))(p(),1);function h(e){if("string"!=typeof e||0===e.length||0===(e=f(e)).length)return 0;e=e.replace((0,m.default)()," ");let t=0;for(let r=0;r<e.length;r++){let n=e.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=_(n)?2:1)}return t}}}),U=m({"src/utils/get-string-width.js"(e,t){g();var r=J().default,n=/[^\x20-\x7F]/;t.exports=function(e){return e?n.test(e)?r(e):e.length:0}}}),q=m({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:a}=t,o=r;for(;o>=0&&o<a;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===a)&&o}}g();var n=r(/\s/),i=r(" \t"),a=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:a,skipEverythingButNewLine:o}}}),V=m({"src/utils/text/skip-inline-comment.js"(e,t){g(),t.exports=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}}}),z=m({"src/utils/text/skip-trailing-comment.js"(e,t){g();var{skipEverythingButNewLine:r}=q();t.exports=function(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?r(e,t):t)}}}),W=m({"src/utils/text/skip-newline.js"(e,t){g(),t.exports=function(e,t,r){let n=r&&r.backwards;if(!1===t)return!1;let i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}}}),H=m({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){g();var r=V(),n=W(),i=z(),{skipSpaces:a}=q();t.exports=function(e,t){let o=null,s=t;for(;s!==o;)o=s,s=a(e,s),s=r(e,s),s=i(e,s),s=n(e,s);return s}}}),G=m({"src/common/util.js"(e,t){g();var r=C(),n=E(),{getSupportInfo:i}=j(),a=K(),o=U(),{skipWhitespace:s,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l}=q(),p=V(),d=z(),f=W(),_=H();function m(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=c(e,r.backwards?t-1:t,r);return n!==f(e,n,r)}function h(e,t){let r=null,n=t;for(;n!==r;)r=n,n=u(e,n),n=p(e,n),n=c(e,n);return n=d(e,n),n=f(e,n),!1!==n&&m(e,n)}function y(e,t,r){return _(e,r(t))}function v(e,t){let r=0;for(let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n<e.length;++n)"\t"===e[n]?r=r+t-r%t:r++;return r}function D(e,t){let r={quote:'"',regex:/"/g,escaped:"&quot;"},n={quote:"'",regex:/'/g,escaped:"&apos;"},i="'"===t?n:r,a=i===n?r:n,o=i;return(e.includes(i.quote)||e.includes(a.quote))&&(o=(e.match(i.regex)||[]).length>(e.match(a.regex)||[]).length?a:i),o}function b(e,t,r){let n='"'===t?"'":'"',i=e.replace(/\\(.)|(["'])/gs,((e,i,a)=>i===n?i:a===t?"\\"+a:a||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+i+t}function x(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}(e)}t.exports={inferParserByLanguage:function(e,t){let{languages:r}=i({plugins:t.plugins}),n=r.find((t=>{let{name:r}=t;return r.toLowerCase()===e}))||r.find((t=>{let{aliases:r}=t;return Array.isArray(r)&&r.includes(e)}))||r.find((t=>{let{extensions:r}=t;return Array.isArray(r)&&r.includes(".".concat(e))}));return n&&n.parsers[0]},getStringWidth:o,getMaxContinuousCount:function(e,t){let n=e.match(new RegExp("(".concat(r(t),")+"),"g"));return null===n?0:n.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){let n=e.match(new RegExp("(".concat(r(t),")+"),"g"));if(null===n)return 0;let i=new Map,a=0;for(let e of n){let r=e.length/t.length;i.set(r,!0),r>a&&(a=r)}for(let e=1;e<a;e++)if(!i.get(e))return e;return a+1},getPenultimate:e=>e[e.length-2],getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:_,getNextNonSpaceNonCommentCharacterIndex:y,getNextNonSpaceNonCommentCharacter:function(e,t,r){return e.charAt(y(e,t,r))},skip:function(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:a}=t,o=r;for(;o>=0&&o<a;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===a)&&o}},skipWhitespace:s,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l,skipInlineComment:p,skipTrailingComment:d,skipNewline:f,isNextLineEmptyAfterIndex:h,isNextLineEmpty:function(e,t,r){return h(e,r(t))},isPreviousLineEmpty:function(e,t,r){let n=r(t)-1;return n=c(e,n,{backwards:!0}),n=f(e,n,{backwards:!0}),n=c(e,n,{backwards:!0}),n!==f(e,n,{backwards:!0})},hasNewline:m,hasNewlineInRange:function(e,t,r){for(let n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1},hasSpaces:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c(e,r.backwards?t-1:t,r)!==t},getAlignmentSize:v,getIndentSize:function(e,t){let r=e.lastIndexOf("\n");return-1===r?0:v(e.slice(r+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:D,printString:function(e,t){let r=e.slice(1,-1);return b(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":D(r,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:b,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,x(e,t)},addDanglingComment:function(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),x(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,x(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},isNonEmptyArray:a,createGroupIdMapper:function(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}}}}),$=m({"node_modules/html-tag-names/index.json"(e,t){t.exports=["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]}}),Y=m({"src/language-html/utils/array-to-map.js"(e,t){g(),t.exports=function(e){let t=Object.create(null);for(let r of e)t[r]=!0;return t}}}),X=m({"src/language-html/utils/html-tag-names.js"(e,t){g();var r=$(),n=Y()(r);t.exports=n}}),Q=m({"node_modules/html-element-attributes/index.json"(e,t){t.exports={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]}}}),Z=m({"src/language-html/utils/map-object.js"(e,t){g(),t.exports=function(e,t){let r=Object.create(null);for(let[n,i]of Object.entries(e))r[n]=t(i,n);return r}}}),ee=m({"src/language-html/utils/html-elements-attributes.js"(e,t){g();var r=Q(),n=Z()(r,Y());t.exports=n}}),te=m({"src/language-html/utils/is-unknown-namespace.js"(e,t){g(),t.exports=function(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}}}),re=m({"src/language-html/pragma.js"(e,t){g(),t.exports={hasPragma:function(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}}}}),ne=m({"src/language-html/ast.js"(e,t){g();var{isNonEmptyArray:r}=G(),n=E(),i={attrs:!0,children:!0},a=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(let[t,r]of Object.entries(e))t in i?this._setNodes(t,r):this[t]=r}_setNodes(e,t){t!==this[e]&&(this[e]=function(e,t){let r=e.map((e=>e instanceof a?e.clone():new a(Object.assign(Object.assign({},e),{},{parent:t}))));for(let e of r)e.parent=t;return r}(t,this),"attrs"===e&&function(e,t,r){Object.defineProperty(e,t,{value:r,enumerable:!1})}(this,"attrMap",Object.fromEntries(this[e].map((e=>[e.fullName,e.value])))))}map(e){let t=null;for(let r in i){let n=this[r];if(n){let i=o(n,(t=>t.map(e)));t!==n&&(t||(t=new a({parent:this.parent})),t._setNodes(r,i))}}if(t)for(let e in this)e in i||(t[e]=this[e]);return e(t||this)}walk(e){for(let t in i){let r=this[t];if(r)for(let t=0;t<r.length;t++)r[t].walk(e)}e(this)}insertChildBefore(e,t){let r=new a(Object.assign(Object.assign({},t),{},{parent:this}));this.children.splice(this.children.indexOf(e),0,r)}removeChild(e){this.children.splice(this.children.indexOf(e),1)}replaceChild(e,t){let r=new a(Object.assign(Object.assign({},t),{},{parent:this}));this.children[this.children.indexOf(e)]=r}clone(){return new a(this)}setChildren(e){this._setNodes("children",e)}get firstChild(){return r(this.children)?this.children[0]:null}get lastChild(){return r(this.children)?n(this.children):null}get prev(){return this.parent?this.parent.children[this.parent.children.indexOf(this)-1]:null}get next(){return this.parent?this.parent.children[this.parent.children.indexOf(this)+1]:null}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}};function o(e,t){let r=e.map(t);return r.some(((t,r)=>t!==e[r]))?r:e}t.exports={Node:a}}}),ie=m({"src/language-html/conditional-comment.js"(e,t){g();var{ParseSourceSpan:r}=b(),n=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:function(e,t,n){let[,i,a,o]=n,s=4+i.length,c=e.sourceSpan.start.moveBy(s),u=c.moveBy(o.length),[l,p]=(()=>{try{return[!0,t(o,c).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new r(c,u)}]]}})();return{type:"ieConditionalComment",complete:l,children:p,condition:a.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new r(e.sourceSpan.start,c),endSourceSpan:new r(u,e.sourceSpan.end)}}},{regex:/^\[if([^\]]*)]><!$/,parse:function(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:n.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan}}},{regex:/^<!\s*\[endif]$/,parse:function(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}}];t.exports={parseIeConditionalComment:function(e,t){if(e.value)for(let{regex:r,parse:i}of n){let n=e.value.match(r);if(n)return i(e,t,n)}return null}}}}),ae=m({"src/language-html/loc.js"(e,t){g(),t.exports={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}}}}),oe=m({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(e){var t;function r(e){if(":"!=e[0])return[null,e];let t=e.indexOf(":",1);if(-1==t)throw new Error('Unsupported format "'.concat(e,'" expecting ":namespace:name"'));return[e.slice(1,t),e.slice(t+1)]}g(),Object.defineProperty(e,"__esModule",{value:!0}),(t=e.TagContentType||(e.TagContentType={}))[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA",e.splitNsName=r,e.isNgContainer=function(e){return"ng-container"===r(e)[1]},e.isNgContent=function(e){return"ng-content"===r(e)[1]},e.isNgTemplate=function(e){return"ng-template"===r(e)[1]},e.getNsPrefix=function(e){return null===e?null:r(e)[0]},e.mergeNsAndName=function(e,t){return e?":".concat(e,":").concat(t):t},e.NAMED_ENTITIES={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",Backslash:"",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",Bernoullis:"",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"",caps:"∩︀",caret:"",caron:"ˇ",Cayleys:"",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"",dd:"",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:"",emsp13:"",emsp14:"",ENG:"Ŋ",eng:"ŋ",ensp:"",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"",escr:"",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"",ExponentialE:"",exponentiale:"",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",Fscr:"",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:"",half:"½",hamilt:"",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"",hfr:"𝔥",HilbertSpace:"",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"",hyphen:"",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"",Imacr:"Ī",imacr:"ī",image:"",ImaginaryI:"",imagline:"",imagpart:"",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",Lscr:"",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"",Mellintrf:"",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"",midast:"*",midcir:"⫰",middot:"·",minus:"",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",Or:"⩔",or:"",orarr:"↻",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"",pointint:"⨕",Popf:"",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"",primes:"",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:"",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"",rationals:"",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"",real:"",realine:"",realpart:"",reals:"",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"",Rscr:"",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",ThickSpace:"",thinsp:"",ThinSpace:"",thkap:"≈",thksim:"",THORN:"Þ",thorn:"þ",Tilde:"",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"",vee:"",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},e.NGSP_UNICODE="",e.NAMED_ENTITIES.ngsp=e.NGSP_UNICODE}}),se=m({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,n=oe(),i=class{constructor(){let{closedByChildren:e,implicitNamespacePrefix:t,contentType:r=n.TagContentType.PARSABLE_DATA,closedByParent:i=!1,isVoid:a=!1,ignoreFirstLf:o=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach((e=>this.closedByChildren[e]=!0)),this.isVoid=a,this.closedByParent=i||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}};e.HtmlTagDefinition=i,e.getHtmlTagDefinition=function(e){return r||(t=new i,r={base:new i({isVoid:!0}),meta:new i({isVoid:!0}),area:new i({isVoid:!0}),embed:new i({isVoid:!0}),link:new i({isVoid:!0}),img:new i({isVoid:!0}),input:new i({isVoid:!0}),param:new i({isVoid:!0}),hr:new i({isVoid:!0}),br:new i({isVoid:!0}),source:new i({isVoid:!0}),track:new i({isVoid:!0}),wbr:new i({isVoid:!0}),p:new i({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new i({closedByChildren:["tbody","tfoot"]}),tbody:new i({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new i({closedByChildren:["tbody"],closedByParent:!0}),tr:new i({closedByChildren:["tr"],closedByParent:!0}),td:new i({closedByChildren:["td","th"],closedByParent:!0}),th:new i({closedByChildren:["td","th"],closedByParent:!0}),col:new i({isVoid:!0}),svg:new i({implicitNamespacePrefix:"svg"}),math:new i({implicitNamespacePrefix:"math"}),li:new i({closedByChildren:["li"],closedByParent:!0}),dt:new i({closedByChildren:["dt","dd"]}),dd:new i({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new i({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new i({closedByChildren:["optgroup"],closedByParent:!0}),option:new i({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new i({ignoreFirstLf:!0}),listing:new i({ignoreFirstLf:!0}),style:new i({contentType:n.TagContentType.RAW_TEXT}),script:new i({contentType:n.TagContentType.RAW_TEXT}),title:new i({contentType:n.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new i({contentType:n.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),r[e]||t}}}),ce=m({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});e.AstPath=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;this.path=e,this.position=t}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(e){return e&&this.path[this.path.indexOf(e)-1]}childOf(e){return this.path[this.path.indexOf(e)+1]}first(e){for(let t=this.path.length-1;t>=0;t--){let r=this.path[t];if(r instanceof e)return r}}push(e){this.path.push(e)}pop(){return this.path.pop()}}}}),ue=m({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=ce();e.Text=class{constructor(e,t,r){this.value=e,this.sourceSpan=t,this.i18n=r,this.type="text"}visit(e,t){return e.visitText(this,t)}};e.CDATA=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}};e.Expansion=class{constructor(e,t,r,n,i,a){this.switchValue=e,this.type=t,this.cases=r,this.sourceSpan=n,this.switchValueSourceSpan=i,this.i18n=a}visit(e,t){return e.visitExpansion(this,t)}};e.ExpansionCase=class{constructor(e,t,r,n,i){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=i}visit(e,t){return e.visitExpansionCase(this,t)}};e.Attribute=class{constructor(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;this.name=e,this.value=t,this.sourceSpan=r,this.valueSpan=n,this.nameSpan=i,this.i18n=a,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}};var r=class{constructor(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;this.name=e,this.attrs=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=i,this.endSourceSpan=a,this.nameSpan=o,this.i18n=s,this.type="element"}visit(e,t){return e.visitElement(this,t)}};e.Element=r;e.Comment=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}};function n(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=[],i=e.visit?t=>e.visit(t,r)||t.visit(e,r):t=>t.visit(e,r);return t.forEach((e=>{let t=i(e);t&&n.push(t)})),n}e.DocType=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},e.visitAll=n;var i=class{constructor(){}visitElement(e,t){this.visitChildren(t,(t=>{t(e.attrs),t(e.children)}))}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,(t=>{t(e.cases)}))}visitExpansionCase(e,t){}visitChildren(e,t){let r=[],i=this;return t((function(t){t&&r.push(n(i,t,e))})),Array.prototype.concat.apply([],r)}};function a(e){let t=e.sourceSpan.start.offset,n=e.sourceSpan.end.offset;return e instanceof r&&(e.endSourceSpan?n=e.endSourceSpan.end.offset:e.children&&e.children.length&&(n=a(e.children[e.children.length-1]).end)),{start:t,end:n}}e.RecursiveVisitor=i,e.findNode=function(e,r){let o=[];return n(new class extends i{visit(e,t){let n=a(e);if(!(n.start<=r&&r<n.end))return!0;o.push(e)}},e),new t.AstPath(o,r)}}}),le=m({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0}),e.assertArrayOfStrings=function(e,t){if(null!=t){if(!Array.isArray(t))throw new Error("Expected '".concat(e,"' to be an array of strings."));for(let r=0;r<t.length;r+=1)if("string"!=typeof t[r])throw new Error("Expected '".concat(e,"' to be an array of strings."))}};var t=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];e.assertInterpolationSymbols=function(e,r){if(null!=r&&(!Array.isArray(r)||2!=r.length))throw new Error("Expected '".concat(e,"' to be an array, [start, end]."));if(null!=r){let e=r[0],n=r[1];t.forEach((t=>{if(t.test(e)||t.test(n))throw new Error("['".concat(e,"', '").concat(n,"'] contains unusable interpolation symbol."))}))}}}}),de=m({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=le(),r=class{constructor(e,t){this.start=e,this.end=t}static fromArray(n){return n?(t.assertInterpolationSymbols("interpolation",n),new r(n[0],n[1])):e.DEFAULT_INTERPOLATION_CONFIG}};e.InterpolationConfig=r,e.DEFAULT_INTERPOLATION_CONFIG=new r("{{","}}")}}),fe=m({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,n=h(),i=b(),a=de(),o=oe();(r=t=e.TokenType||(e.TokenType={}))[r.TAG_OPEN_START=0]="TAG_OPEN_START",r[r.TAG_OPEN_END=1]="TAG_OPEN_END",r[r.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",r[r.TAG_CLOSE=3]="TAG_CLOSE",r[r.TEXT=4]="TEXT",r[r.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",r[r.RAW_TEXT=6]="RAW_TEXT",r[r.COMMENT_START=7]="COMMENT_START",r[r.COMMENT_END=8]="COMMENT_END",r[r.CDATA_START=9]="CDATA_START",r[r.CDATA_END=10]="CDATA_END",r[r.ATTR_NAME=11]="ATTR_NAME",r[r.ATTR_QUOTE=12]="ATTR_QUOTE",r[r.ATTR_VALUE=13]="ATTR_VALUE",r[r.DOC_TYPE_START=14]="DOC_TYPE_START",r[r.DOC_TYPE_END=15]="DOC_TYPE_END",r[r.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",r[r.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",r[r.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",r[r.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",r[r.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",r[r.EOF=21]="EOF";var s=class{constructor(e,t,r){this.type=e,this.parts=t,this.sourceSpan=r}};e.Token=s;var c=class extends i.ParseError{constructor(e,t,r){super(r,e),this.tokenType=t}};e.TokenError=c;var u=class{constructor(e,t){this.tokens=e,this.errors=t}};e.TokenizeResult=u,e.tokenize=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new _(new i.ParseSourceFile(e,t),r,n).tokenize()};var l=/\r\n?/g;function p(e){let t=e===n.$EOF?"EOF":String.fromCharCode(e);return'Unexpected character "'.concat(t,'"')}function d(e){return'Unknown entity "'.concat(e,'" - use the "&#<decimal>;" or "&#x<hex>;" syntax')}var f=class{constructor(e){this.error=e}},_=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||a.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map((e=>e.codePointAt(0)||0)),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new C(e,n):new S(e,n);try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return e.replace(l,"\n")}tokenize(){for(;this._cursor.peek()!==n.$EOF;){let e=this._cursor.clone();try{if(this._attemptCharCode(n.$LT))if(this._attemptCharCode(n.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(n.$SLASH))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(n.$QUESTION)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}return this._beginToken(t.EOF),this._endToken([]),new u(function(e){let r,n=[];for(let i=0;i<e.length;i++){let a=e[i];r&&r.type==t.TEXT&&a.type==t.TEXT?(r.parts[0]+=a.parts[0],r.sourceSpan.end=a.sourceSpan.end):(r=a,n.push(r))}return n}(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(function(e){return e===n.$EQ||n.isAsciiLetter(e)||n.isDigit(e)}(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===n.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();this._currentTokenStart=t,this._currentTokenType=e}_endToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();if(null===this._currentTokenStart)throw new c("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new c("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r=new s(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');let r=new c(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new f(r)}handleError(e){if(e instanceof T&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof f))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!function(e,t){return E(e)==E(t)}(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++)if(!this._attemptCharCode(e.charCodeAt(n)))return this._cursor=r,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){let t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.clone().diff(r)<t)throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(r))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(e){if(e&&this._cursor.peek()===n.$AMPERSAND)return this._decodeEntity();{let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}}_decodeEntity(){let e=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(n.$HASH)){let t=this._cursor.clone();if(this._attemptCharCodeUntilFn(x),this._cursor.peek()!=n.$SEMICOLON)return this._cursor=t,"&";let r=this._cursor.getChars(t);this._cursor.advance();let i=o.NAMED_ENTITIES[r];if(!i)throw this._createError(d(r),this._cursor.getSpan(e));return i}{let t=this._attemptCharCode(n.$x)||this._attemptCharCode(n.$X),r=this._cursor.clone();if(this._attemptCharCodeUntilFn(D),this._cursor.peek()!=n.$SEMICOLON)throw this._createError(p(this._cursor.peek()),this._cursor.getSpan());let i=this._cursor.getChars(r);this._cursor.advance();try{let e=parseInt(i,t?16:10);return String.fromCharCode(e)}catch{throw this._createError(d(this._cursor.getChars(e)),this._cursor.getSpan())}}}_consumeRawText(e,r){this._beginToken(e?t.ESCAPABLE_RAW_TEXT:t.RAW_TEXT);let n=[];for(;;){let t=this._cursor.clone(),i=r();if(this._cursor=t,i)break;n.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(n.join(""))])}_consumeComment(e){this._beginToken(t.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("--\x3e"))),this._beginToken(t.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}_consumeBogusComment(e){this._beginToken(t.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===n.$GT)),this._beginToken(t.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(t.CDATA_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("]]>"))),this._beginToken(t.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(t.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===n.$GT)),this._beginToken(t.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e,t=this._cursor.clone(),r="";for(;this._cursor.peek()!==n.$COLON&&!v(this._cursor.peek());)this._cursor.advance();return this._cursor.peek()===n.$COLON?(r=this._cursor.getChars(t),this._cursor.advance(),e=this._cursor.clone()):e=t,this._requireCharCodeUntilFn(y,""===r?0:1),[r,this._cursor.getChars(e)]}_consumeTagOpen(e){let r,i,a,s=this.tokens.length,c=this._cursor.clone(),u=[];try{if(!n.isAsciiLetter(this._cursor.peek()))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(e));for(a=this._consumeTagOpenStart(e),i=a.parts[0],r=a.parts[1],this._attemptCharCodeUntilFn(m);this._cursor.peek()!==n.$SLASH&&this._cursor.peek()!==n.$GT;){let[e,t]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(m),this._attemptCharCode(n.$EQ)){this._attemptCharCodeUntilFn(m);let r=this._consumeAttributeValue();u.push({prefix:e,name:t,value:r})}else u.push({prefix:e,name:t});this._attemptCharCodeUntilFn(m)}this._consumeTagOpenEnd()}catch(r){if(r instanceof f)return this._cursor=c,a&&(this.tokens.length=s),this._beginToken(t.TEXT,e),void this._endToken(["<"]);throw r}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===t.TAG_OPEN_END_VOID)return;let l=this._getTagContentType(r,i,this._fullNameStack.length>0,u);this._handleFullNameStackForTagOpen(i,r),l===o.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(i,r,!1):l===o.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(i,r,!0)}_consumeRawTextWithTagClose(e,r,i){this._consumeRawText(i,(()=>!!(this._attemptCharCode(n.$LT)&&this._attemptCharCode(n.$SLASH)&&(this._attemptCharCodeUntilFn(m),this._attemptStrCaseInsensitive(e?"".concat(e,":").concat(r):r)))&&(this._attemptCharCodeUntilFn(m),this._attemptCharCode(n.$GT)))),this._beginToken(t.TAG_CLOSE),this._requireCharCodeUntilFn((e=>e===n.$GT),3),this._cursor.advance(),this._endToken([e,r]),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(t.TAG_OPEN_START,e);let r=this._consumePrefixAndName();return this._endToken(r)}_consumeAttributeName(){let e=this._cursor.peek();if(e===n.$SQ||e===n.$DQ)throw this._createError(p(e),this._cursor.getSpan());this._beginToken(t.ATTR_NAME);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===n.$SQ||this._cursor.peek()===n.$DQ){this._beginToken(t.ATTR_QUOTE);let r=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(r)]),this._beginToken(t.ATTR_VALUE);let n=[];for(;this._cursor.peek()!==r;)n.push(this._readChar(!0));e=this._processCarriageReturns(n.join("")),this._endToken([e]),this._beginToken(t.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(r)])}else{this._beginToken(t.ATTR_VALUE);let r=this._cursor.clone();this._requireCharCodeUntilFn(y,1),e=this._processCarriageReturns(this._cursor.getChars(r)),this._endToken([e])}return e}_consumeTagOpenEnd(){let e=this._attemptCharCode(n.$SLASH)?t.TAG_OPEN_END_VOID:t.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(n.$GT),this._endToken([])}_consumeTagClose(e){if(this._beginToken(t.TAG_CLOSE,e),this._attemptCharCodeUntilFn(m),this._allowHtmComponentClosingTags&&this._attemptCharCode(n.$SLASH))this._attemptCharCodeUntilFn(m),this._requireCharCode(n.$GT),this._endToken([]);else{let[e,t]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(m),this._requireCharCode(n.$GT),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_consumeExpansionFormStart(){this._beginToken(t.EXPANSION_FORM_START),this._requireCharCode(n.$LBRACE),this._endToken([]),this._expansionCaseStack.push(t.EXPANSION_FORM_START),this._beginToken(t.RAW_TEXT);let e=this._readUntil(n.$COMMA);this._endToken([e]),this._requireCharCode(n.$COMMA),this._attemptCharCodeUntilFn(m),this._beginToken(t.RAW_TEXT);let r=this._readUntil(n.$COMMA);this._endToken([r]),this._requireCharCode(n.$COMMA),this._attemptCharCodeUntilFn(m)}_consumeExpansionCaseStart(){this._beginToken(t.EXPANSION_CASE_VALUE);let e=this._readUntil(n.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(m),this._beginToken(t.EXPANSION_CASE_EXP_START),this._requireCharCode(n.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.push(t.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(t.EXPANSION_CASE_EXP_END),this._requireCharCode(n.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(t.EXPANSION_FORM_END),this._requireCharCode(n.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let e=this._cursor.clone();this._beginToken(t.TEXT,e);let r=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(r.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(r.push(this._interpolationConfig.end),this._inInterpolation=!1):r.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(r.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===n.$LT||this._cursor.peek()===n.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===n.$RBRACE&&this._isInExpansionCase()))}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===t.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===t.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==n.$LBRACE)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=o.mergeNsAndName(e,t);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=o.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function m(e){return!n.isWhitespace(e)||e===n.$EOF}function y(e){return n.isWhitespace(e)||e===n.$GT||e===n.$SLASH||e===n.$SQ||e===n.$DQ||e===n.$EQ}function v(e){return(e<n.$a||n.$z<e)&&(e<n.$A||n.$Z<e)&&(e<n.$0||e>n.$9)}function D(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiHexDigit(e)}function x(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiLetter(e)}function E(e){return e>=n.$a&&e<=n.$z?e-n.$a+n.$A:e}var S=class{constructor(e,t){if(e instanceof S)this.file=e.file,this.input=e.input,this.end=e.end,this.state=Object.assign({},e.state);else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new S(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){if(e=e||this,t)for(e=e.clone();this.diff(e)>0&&-1!==t.indexOf(e.peek());)e.advance();return new i.ParseSourceSpan(new i.ParseLocation(e.file,e.state.offset,e.state.line,e.state.column),new i.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new T('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===n.$LF?(e.line++,e.column=0):n.isNewLine(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?n.$EOF:this.charAt(e.offset)}},C=class extends S{constructor(e,t){e instanceof C?(super(e),this.internalState=Object.assign({},e.internalState)):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new C(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offset<this.internalState.offset;)r+=String.fromCodePoint(t.peek()),t.advance();return r}processEscapeSequence(){let e=()=>this.internalState.peek;if(e()===n.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),e()===n.$n)this.state.peek=n.$LF;else if(e()===n.$r)this.state.peek=n.$CR;else if(e()===n.$v)this.state.peek=n.$VTAB;else if(e()===n.$t)this.state.peek=n.$TAB;else if(e()===n.$b)this.state.peek=n.$BSPACE;else if(e()===n.$f)this.state.peek=n.$FF;else if(e()===n.$u)if(this.advanceState(this.internalState),e()===n.$LBRACE){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==n.$RBRACE;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(e()===n.$x){this.advanceState(this.internalState);let e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(n.isOctalDigit(e())){let t="",r=0,i=this.clone();for(;n.isOctalDigit(e())&&r<3;)i=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=i.internalState}else n.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.substr(e.internalState.offset,t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new T("Invalid hexadecimal escape sequence",e);return n}},T=class{constructor(e,t){this.msg=e,this.cursor=t}};e.CursorError=T}}),_e=m({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=b(),r=ue(),n=fe(),i=oe(),a=class extends t.ParseError{constructor(e,t,r){super(t,r),this.elementName=e}static create(e,t,r){return new a(e,t,r)}};e.TreeError=a;var o=class{constructor(e,t){this.rootNodes=e,this.errors=t}};e.ParseTreeResult=o;e.Parser=class{constructor(e){this.getTagDefinition=e}parse(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4?arguments[4]:void 0,c=e=>function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e(t.toLowerCase(),...n)},u=i?this.getTagDefinition:c(this.getTagDefinition),l=e=>u(e).contentType,p=i?a:c(a),d=a?(e,t,r,n)=>{let i=p(e,t,r,n);return void 0!==i?i:l(e)}:l,f=n.tokenize(e,t,d,r),_=r&&r.canSelfClose||!1,m=r&&r.allowHtmComponentClosingTags||!1,g=new s(f.tokens,u,_,m,i).build();return new o(g.rootNodes,f.errors.concat(g.errors))}};var s=class{constructor(e,t,r,n,i){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=i,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==n.TokenType.EOF;)this._peek.type===n.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===n.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===n.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===n.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===n.TokenType.TEXT||this._peek.type===n.TokenType.RAW_TEXT||this._peek.type===n.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===n.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===n.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new o(this._rootNodes,this._errors)}_advance(){let e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){let i=this._advance(),a=this._getText(i),o=this._advanceIf(n.TokenType.CDATA_END);this._addToParent(new r.CDATA(a,new t.ParseSourceSpan(e.sourceSpan.start,(o||i).sourceSpan.end)))}_consumeComment(e){let i=this._advanceIf(n.TokenType.RAW_TEXT),a=this._advanceIf(n.TokenType.COMMENT_END),o=null!=i?i.parts[0].trim():null,s=new t.ParseSourceSpan(e.sourceSpan.start,(a||i||e).sourceSpan.end);this._addToParent(new r.Comment(o,s))}_consumeDocType(e){let i=this._advanceIf(n.TokenType.RAW_TEXT),a=this._advanceIf(n.TokenType.DOC_TYPE_END),o=null!=i?i.parts[0].trim():null,s=new t.ParseSourceSpan(e.sourceSpan.start,(a||i||e).sourceSpan.end);this._addToParent(new r.DocType(o,s))}_consumeExpansion(e){let i=this._advance(),o=this._advance(),s=[];for(;this._peek.type===n.TokenType.EXPANSION_CASE_VALUE;){let e=this._parseExpansionCase();if(!e)return;s.push(e)}if(this._peek.type!==n.TokenType.EXPANSION_FORM_END)return void this._errors.push(a.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));let c=new t.ParseSourceSpan(e.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new r.Expansion(i.parts[0],o.parts[0],s,c,i.sourceSpan)),this._advance()}_parseExpansionCase(){let e=this._advance();if(this._peek.type!==n.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(a.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let i=this._advance(),o=this._collectExpansionExpTokens(i);if(!o)return null;let c=this._advance();o.push(new n.Token(n.TokenType.EOF,[],c.sourceSpan));let u=new s(o,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(u.errors.length>0)return this._errors=this._errors.concat(u.errors),null;let l=new t.ParseSourceSpan(e.sourceSpan.start,c.sourceSpan.end),p=new t.ParseSourceSpan(i.sourceSpan.start,c.sourceSpan.end);return new r.ExpansionCase(e.parts[0],u.rootNodes,l,e.sourceSpan,p)}_collectExpansionExpTokens(e){let t=[],r=[n.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===n.TokenType.EXPANSION_FORM_START||this._peek.type===n.TokenType.EXPANSION_CASE_EXP_START)&&r.push(this._peek.type),this._peek.type===n.TokenType.EXPANSION_CASE_EXP_END){if(!c(r,n.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(a.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(r.pop(),0==r.length)return t}if(this._peek.type===n.TokenType.EXPANSION_FORM_END){if(!c(r,n.TokenType.EXPANSION_FORM_START))return this._errors.push(a.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.pop()}if(this._peek.type===n.TokenType.EOF)return this._errors.push(a.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&"\n"==t[0]){let e=this._getParentElement();null!=e&&0==e.children.length&&this.getTagDefinition(e.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=this._getText(e);t.length>0&&this._addToParent(new r.Text(t,e.sourceSpan))}_closeVoidElement(){let e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){let o=e.parts[0],s=e.parts[1],c=[];for(;this._peek.type===n.TokenType.ATTR_NAME;)c.push(this._consumeAttr(this._advance()));let u=this._getElementFullName(o,s,this._getParentElement()),l=!1;if(this._peek.type===n.TokenType.TAG_OPEN_END_VOID){this._advance(),l=!0;let t=this.getTagDefinition(u);this.canSelfClose||t.canSelfClose||null!==i.getNsPrefix(u)||t.isVoid||this._errors.push(a.create(u,e.sourceSpan,'Only void and foreign elements can be self closed "'.concat(e.parts[1],'"')))}else this._peek.type===n.TokenType.TAG_OPEN_END&&(this._advance(),l=!1);let p=this._peek.sourceSpan.start,d=new t.ParseSourceSpan(e.sourceSpan.start,p),f=new t.ParseSourceSpan(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),_=new r.Element(u,c,[],d,d,void 0,f);this._pushElement(_),l&&(this._popElement(u),_.endSourceSpan=d)}_pushElement(e){let t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),t&&this.getTagDefinition(t).isVoid)this._errors.push(a.create(t,e.sourceSpan,'Void elements do not have end tags "'.concat(e.parts[1],'"')));else if(!this._popElement(t)){let r='Unexpected closing tag "'.concat(t,'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags');this._errors.push(a.create(t,e.sourceSpan,r))}}_popElement(e){for(let t=this._elementStack.length-1;t>=0;t--){let r=this._elementStack[t];if(!e||(i.getNsPrefix(r.name)?r.name==e:r.name.toLowerCase()==e.toLowerCase()))return this._elementStack.splice(t,this._elementStack.length-t),!0;if(!this.getTagDefinition(r.name).closedByParent)return!1}return!1}_consumeAttr(e){let a,o,s=i.mergeNsAndName(e.parts[0],e.parts[1]),c=e.sourceSpan.end,u="";if(this._peek.type===n.TokenType.ATTR_QUOTE&&(o=this._advance().sourceSpan.start),this._peek.type===n.TokenType.ATTR_VALUE){let e=this._advance();u=e.parts[0],c=e.sourceSpan.end,a=e.sourceSpan}return this._peek.type===n.TokenType.ATTR_QUOTE&&(c=this._advance().sourceSpan.end,a=new t.ParseSourceSpan(o,c)),new r.Attribute(s,u,new t.ParseSourceSpan(e.sourceSpan.start,c),a,e.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let e=null;for(let t=this._elementStack.length-1;t>=0;t--){if(!i.isNgContainer(this._elementStack[t].name))return{parent:this._elementStack[t],container:e};e=this._elementStack[t]}return{parent:null,container:e}}_addToParent(e){let t=this._getParentElement();null!=t?t.children.push(e):this._rootNodes.push(e)}_insertBeforeContainer(e,t,r){if(t){if(e){let n=e.children.indexOf(t);e.children[n]=r}else this._rootNodes.push(r);r.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,r)}else this._addToParent(r),this._elementStack.push(r)}_getElementFullName(e,t,r){return""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=r&&(e=i.getNsPrefix(r.name)),i.mergeNsAndName(e,t)}};function c(e,t){return e.length>0&&e[e.length-1]===t}}}),me=m({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=se(),r=_e(),n=_e();e.ParseTreeResult=n.ParseTreeResult,e.TreeError=n.TreeError;var i=class extends r.Parser{constructor(){super(t.getHtmlTagDefinition)}parse(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;return super.parse(e,t,r,n,i)}};e.HtmlParser=i}}),ge=m({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=me(),r=oe();e.TagContentType=r.TagContentType;var n=null,i=()=>(n||(n=new t.HtmlParser),n);e.parse=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o}=t;return i().parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n},a,o)}}});g();var{ParseSourceSpan:he,ParseLocation:ye,ParseSourceFile:ve}=b(),be=x(),xe=E(),Ee=S(),{inferParserByLanguage:Se}=G(),Ce=X(),Te=ee(),ke=te(),{hasPragma:Ne}=re(),{Node:Pe}=ne(),{parseIeConditionalComment:Fe}=ie(),{locStart:we,locEnd:Ie}=ae();function Oe(e,t,r){let{recognizeSelfClosing:n,normalizeTagName:i,normalizeAttributeName:a,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:s,getTagContentType:c}=t,u=ge(),{RecursiveVisitor:l,visitAll:p}=ue(),{ParseSourceSpan:d}=b(),{getHtmlTagDefinition:f}=se(),{rootNodes:_,errors:m}=u.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:s,getTagContentType:c});if("vue"===r.parser)if(_.some((e=>"docType"===e.type&&"html"===e.value||"element"===e.type&&"html"===e.name.toLowerCase()))){n=!0,i=!0,a=!0,o=!0,s=!1;let t=u.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:s});_=t.rootNodes,m=t.errors}else{let t=e=>{if(!e||"element"!==e.type||"template"!==e.name)return!1;let t=e.attrs.find((e=>"lang"===e.name)),n=t&&t.value;return!n||"html"===Se(n,r)};if(_.some(t)){let r,i=()=>u.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:s}),a=()=>r||(r=i()),c=e=>a().rootNodes.find((t=>{let{startSourceSpan:r}=t;return r&&r.start.offset===e.startSourceSpan.start.offset}));for(let e=0;e<_.length;e++){let r=_[e],{endSourceSpan:n,startSourceSpan:i}=r;if(null===n)m=a().errors,_[e]=c(r)||r;else if(t(r)){let t=a(),o=i.end.offset,s=n.start.offset;for(let e of t.errors){let{offset:t}=e.span.start;if(o<t&&t<s){m=[e];break}}_[e]=c(r)||r}}}}if(m.length>0){let{msg:e,span:{start:t,end:r}}=m[0];throw Ee(e,{start:{line:t.line+1,column:t.col+1},end:{line:r.line+1,column:r.col+1}})}let g=e=>{let t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,r=e.nameSpan.toString(),n=null!==t&&r.startsWith("".concat(t,":")),i=n?r.slice(t.length+1):r;e.name=i,e.namespace=t,e.hasExplicitNamespace=n},h=(e,t)=>{let r=e.toLowerCase();return t(r)?r:e};return p(new class extends l{visit(e){(e=>{switch(e.type){case"element":g(e);for(let t of e.attrs)g(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;break;case"comment":e.value=e.sourceSpan.toString().slice(4,-3);break;case"text":e.value=e.sourceSpan.toString()}})(e),(e=>{if("element"===e.type){let t=f(s?e.name:e.name.toLowerCase());!e.namespace||e.namespace===t.implicitNamespacePrefix||ke(e)?e.tagDefinition=t:e.tagDefinition=f("")}})(e),(e=>{if("element"===e.type&&(i&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||ke(e))&&(e.name=h(e.name,(e=>e in Ce))),a)){let t=Te[e.name]||Object.create(null);for(let r of e.attrs)r.namespace||(r.name=h(r.name,(r=>e.name in Te&&(r in Te["*"]||r in t))))}})(e),(e=>{e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new d(e.sourceSpan.start,e.endSourceSpan.end))})(e)}},_),_}function Le(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{frontMatter:i,content:a}=n?be(e):{frontMatter:null,content:e},o=new ve(e,t.filepath),s=new ye(o,0,0,0),c=s.moveBy(e.length),u={type:"root",sourceSpan:new he(s,c),children:Oe(a,r,t)};if(i){let e=new ye(o,0,0,0),t=e.moveBy(i.raw.length);i.sourceSpan=new he(e,t),u.children.unshift(i)}let l=new Pe(u),p=(n,i)=>{let{offset:a}=i,o=Le(e.slice(0,a).replace(/[^\n\r]/g," ")+n,t,r,!1);o.sourceSpan=new he(i,xe(o.children).sourceSpan.end);let s=o.children[0];return s.length===a?o.children.shift():(s.sourceSpan=new he(s.sourceSpan.start.moveBy(a),s.sourceSpan.end),s.value=s.value.slice(a)),o};return l.walk((e=>{if("comment"===e.type){let t=Fe(e,p);t&&e.parent.replaceChild(e,t)}})),l}function Me(){let{name:e,recognizeSelfClosing:t=!1,normalizeTagName:r=!1,normalizeAttributeName:n=!1,allowHtmComponentClosingTags:i=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{parse:(s,c,u)=>Le(s,Object.assign({parser:e},u),{recognizeSelfClosing:t,normalizeTagName:r,normalizeAttributeName:n,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:a,getTagContentType:o}),hasPragma:Ne,astFormat:"html",locStart:we,locEnd:Ie}}t.exports={parsers:{html:Me({name:"html",recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Me({name:"angular"}),vue:Me({name:"vue",recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:(e,t,r,n)=>{if("html"!==e.toLowerCase()&&!r&&("template"!==e||n.some((e=>{let{name:t,value:r}=e;return"lang"===t&&"html"!==r&&""!==r&&void 0!==r}))))return ge().TagContentType.RAW_TEXT}}),lwc:Me({name:"lwc"})}}}));return Ne()}()},345:(e,t,r)=>{e.exports=function(){"use strict";var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),n=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),i=e(((e,t)=>{var r=n();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),a=e(((e,t)=>{var r=n();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),o=e(((e,t)=>{var r=a(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),s=e((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),c=e(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),u=e(((e,t)=>{var r=a(),n=Function.prototype,i=n.bind,o=n.call,s=r&&i.bind(o,o);t.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return o.apply(e,arguments)}}})),l=e(((e,t)=>{var r=u(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),p=e(((e,r)=>{var i=t(),a=u(),o=n(),s=l(),c=i.Object,p=a("".split);r.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?p(e,""):c(e)}:c})),d=e(((e,r)=>{var n=t().TypeError;r.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}})),f=e(((e,t)=>{var r=p(),n=d();t.exports=function(e){return r(n(e))}})),_=e(((e,t)=>{t.exports=function(e){return"function"==typeof e}})),m=e(((e,t)=>{var r=_();t.exports=function(e){return"object"==typeof e?null!==e:r(e)}})),g=e(((e,r)=>{var n=t(),i=_(),a=function(e){return i(e)?e:void 0};r.exports=function(e,t){return arguments.length<2?a(n[e]):n[e]&&n[e][t]}})),h=e(((e,t)=>{var r=u();t.exports=r({}.isPrototypeOf)})),y=e(((e,t)=>{var r=g();t.exports=r("navigator","userAgent")||""})),v=e(((e,r)=>{var n,i,a=t(),o=y(),s=a.process,c=a.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(i=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),r.exports=i})),D=e(((e,t)=>{var r=v(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),b=e(((e,t)=>{var r=D();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),x=e(((e,r)=>{var n=t(),i=g(),a=_(),o=h(),s=b(),c=n.Object;r.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return a(t)&&o(t.prototype,c(e))}})),E=e(((e,r)=>{var n=t().String;r.exports=function(e){try{return n(e)}catch{return"Object"}}})),S=e(((e,r)=>{var n=t(),i=_(),a=E(),o=n.TypeError;r.exports=function(e){if(i(e))return e;throw o(a(e)+" is not a function")}})),C=e(((e,t)=>{var r=S();t.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}})),T=e(((e,r)=>{var n=t(),i=o(),a=_(),s=m(),c=n.TypeError;r.exports=function(e,t){var r,n;if("string"===t&&a(r=e.toString)&&!s(n=i(r,e))||a(r=e.valueOf)&&!s(n=i(r,e))||"string"!==t&&a(r=e.toString)&&!s(n=i(r,e)))return n;throw c("Can't convert object to primitive value")}})),k=e(((e,t)=>{t.exports=!1})),A=e(((e,r)=>{var n=t(),i=Object.defineProperty;r.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),N=e(((e,r)=>{var n=t(),i=A(),a="__core-js_shared__",o=n[a]||i(a,{});r.exports=o})),P=e(((e,t)=>{var r=k(),n=N();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),F=e(((e,r)=>{var n=t(),i=d(),a=n.Object;r.exports=function(e){return a(i(e))}})),w=e(((e,t)=>{var r=u(),n=F(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),I=e(((e,t)=>{var r=u(),n=0,i=Math.random(),a=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++n+i,36)}})),O=e(((e,r)=>{var n=t(),i=P(),a=w(),o=I(),s=D(),c=b(),u=i("wks"),l=n.Symbol,p=l&&l.for,d=c?l:l&&l.withoutSetter||o;r.exports=function(e){if(!a(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&a(l,e)?u[e]=l[e]:u[e]=c&&p?p(t):d(t)}return u[e]}})),L=e(((e,r)=>{var n=t(),i=o(),a=m(),s=x(),c=C(),u=T(),l=O(),p=n.TypeError,d=l("toPrimitive");r.exports=function(e,t){if(!a(e)||s(e))return e;var r,n=c(e,d);if(n){if(void 0===t&&(t="default"),r=i(n,e,t),!a(r)||s(r))return r;throw p("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}})),M=e(((e,t)=>{var r=L(),n=x();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),R=e(((e,r)=>{var n=t(),i=m(),a=n.document,o=i(a)&&i(a.createElement);r.exports=function(e){return o?a.createElement(e):{}}})),B=e(((e,t)=>{var r=i(),a=n(),o=R();t.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))})),j=e((e=>{var t=i(),r=o(),n=s(),a=c(),u=f(),l=M(),p=w(),d=B(),_=Object.getOwnPropertyDescriptor;e.f=t?_:function(e,t){if(e=u(e),t=l(t),d)try{return _(e,t)}catch{}if(p(e,t))return a(!r(n.f,e,t),e[t])}})),K=e(((e,t)=>{var r=i(),a=n();t.exports=r&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),J=e(((e,r)=>{var n=t(),i=m(),a=n.String,o=n.TypeError;r.exports=function(e){if(i(e))return e;throw o(a(e)+" is not an object")}})),U=e((e=>{var r=t(),n=i(),a=B(),o=K(),s=J(),c=M(),u=r.TypeError,l=Object.defineProperty,p=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",_="writable";e.f=n?o?function(e,t,r){if(s(e),t=c(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&_ in r&&!r[_]){var n=p(e,t);n&&n[_]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(s(e),t=c(t),s(r),a)try{return l(e,t,r)}catch{}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),q=e(((e,t)=>{var r=i(),n=U(),a=c();t.exports=r?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}})),V=e(((e,t)=>{var r=u(),n=_(),i=N(),a=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),z=e(((e,r)=>{var n=t(),i=_(),a=V(),o=n.WeakMap;r.exports=i(o)&&/native code/.test(a(o))})),W=e(((e,t)=>{var r=P(),n=I(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),H=e(((e,t)=>{t.exports={}})),G=e(((e,r)=>{var n,i,a,o,s,c,l,p,d=z(),f=t(),_=u(),g=m(),h=q(),y=w(),v=N(),D=W(),b=H(),x="Object already initialized",E=f.TypeError,S=f.WeakMap;d||v.state?(o=v.state||(v.state=new S),s=_(o.get),c=_(o.has),l=_(o.set),n=function(e,t){if(c(o,e))throw new E(x);return t.facade=e,l(o,e,t),t},i=function(e){return s(o,e)||{}},a=function(e){return c(o,e)}):(b[p=D("state")]=!0,n=function(e,t){if(y(e,p))throw new E(x);return t.facade=e,h(e,p,t),t},i=function(e){return y(e,p)?e[p]:{}},a=function(e){return y(e,p)}),r.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!g(t)||(r=i(t)).type!==e)throw E("Incompatible receiver, "+e+" required");return r}}}})),$=e(((e,t)=>{var r=i(),n=w(),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,s=n(a,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&o(a,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}})),Y=e(((e,r)=>{var n=t(),i=_(),a=w(),o=q(),s=A(),c=V(),u=G(),l=$().CONFIGURABLE,p=u.get,d=u.enforce,f=String(String).split("String");(r.exports=function(e,t,r,c){var u,p=!!c&&!!c.unsafe,_=!!c&&!!c.enumerable,m=!!c&&!!c.noTargetGet,g=c&&void 0!==c.name?c.name:t;i(r)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(r,"name")||l&&r.name!==g)&&o(r,"name",g),(u=d(r)).source||(u.source=f.join("string"==typeof g?g:""))),e!==n?(p?!m&&e[t]&&(_=!0):delete e[t],_?e[t]=r:o(e,t,r)):_?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return i(this)&&p(this).source||c(this)}))})),X=e(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?n:r)(t)}})),Q=e(((e,t)=>{var r=X(),n=Math.max,i=Math.min;t.exports=function(e,t){var a=r(e);return a<0?n(a+t,0):i(a,t)}})),Z=e(((e,t)=>{var r=X(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),ee=e(((e,t)=>{var r=Z();t.exports=function(e){return r(e.length)}})),te=e(((e,t)=>{var r=f(),n=Q(),i=ee(),a=function(e){return function(t,a,o){var s,c=r(t),u=i(c),l=n(o,u);if(e&&a!=a){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}})),re=e(((e,t)=>{var r=u(),n=w(),i=f(),a=te().indexOf,o=H(),s=r([].push);t.exports=function(e,t){var r,c=i(e),u=0,l=[];for(r in c)!n(o,r)&&n(c,r)&&s(l,r);for(;t.length>u;)n(c,r=t[u++])&&(~a(l,r)||s(l,r));return l}})),ne=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ie=e((e=>{var t=re(),r=ne().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),ae=e((e=>{e.f=Object.getOwnPropertySymbols})),oe=e(((e,t)=>{var r=g(),n=u(),i=ie(),a=ae(),o=J(),s=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=a.f;return r?s(t,r(e)):t}})),se=e(((e,t)=>{var r=w(),n=oe(),i=j(),a=U();t.exports=function(e,t,o){for(var s=n(t),c=a.f,u=i.f,l=0;l<s.length;l++){var p=s[l];!r(e,p)&&(!o||!r(o,p))&&c(e,p,u(t,p))}}})),ce=e(((e,t)=>{var r=n(),i=_(),a=/#|\.prototype\./,o=function(e,t){var n=c[s(e)];return n==l||n!=u&&(i(t)?r(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o})),ue=e(((e,r)=>{var n=t(),i=j().f,a=q(),o=Y(),s=A(),c=se(),u=ce();r.exports=function(e,t){var r,l,p,d,f,_=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[_]||s(_,{}):(n[_]||{}).prototype)for(l in t){if(d=t[l],p=e.noTargetGet?(f=i(r,l))&&f.value:r[l],!u(m?l:_+(g?".":"#")+l,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&a(d,"sham",!0),o(r,l,d,e)}}})),le=e(((e,t)=>{var r=l();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),pe=e(((e,t)=>{var r=u(),n=S(),i=a(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}})),de=e(((e,r)=>{var n=t(),i=le(),a=ee(),o=pe(),s=n.TypeError,c=function(e,t,r,n,u,l,p,d){for(var f,_,m=u,g=0,h=!!p&&o(p,d);g<n;){if(g in r){if(f=h?h(r[g],g,t):r[g],l>0&&i(f))_=a(f),m=c(e,t,f,_,m,l-1)-1;else{if(m>=9007199254740991)throw s("Exceed the acceptable array length");e[m]=f}m++}g++}return m};r.exports=c})),fe=e(((e,t)=>{var r={};r[O()("toStringTag")]="z",t.exports="[object z]"===String(r)})),_e=e(((e,r)=>{var n=t(),i=fe(),a=_(),o=l(),s=O()("toStringTag"),c=n.Object,u="Arguments"==o(function(){return arguments}());r.exports=i?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch{}}(t=c(e),s))?r:u?o(t):"Object"==(n=o(t))&&a(t.callee)?"Arguments":n}})),me=e(((e,t)=>{var r=u(),i=n(),a=_(),o=_e(),s=g(),c=V(),l=function(){},p=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,m=r(f.exec),h=!f.exec(l),y=function(e){if(!a(e))return!1;try{return d(l,p,e),!0}catch{return!1}},v=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!m(f,c(e))}catch{return!0}};v.sham=!0,t.exports=!d||i((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?v:y})),ge=e(((e,r)=>{var n=t(),i=le(),a=me(),o=m(),s=O()("species"),c=n.Array;r.exports=function(e){var t;return i(e)&&(t=e.constructor,(a(t)&&(t===c||i(t.prototype))||o(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?c:t}})),he=e(((e,t)=>{var r=ge();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),ye=e((()=>{var e=ue(),t=de(),r=S(),n=F(),i=ee(),a=he();e({target:"Array",proto:!0},{flatMap:function(e){var o,s=n(this),c=i(s);return r(e),(o=a(s,0)).length=t(o,s,s,c,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),ve=e(((e,t)=>{t.exports={}})),De=e(((e,t)=>{var r=O(),n=ve(),i=r("iterator"),a=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||a[i]===e)}})),be=e(((e,t)=>{var r=_e(),n=C(),i=ve(),a=O()("iterator");t.exports=function(e){if(null!=e)return n(e,a)||n(e,"@@iterator")||i[r(e)]}})),xe=e(((e,r)=>{var n=t(),i=o(),a=S(),s=J(),c=E(),u=be(),l=n.TypeError;r.exports=function(e,t){var r=arguments.length<2?u(e):t;if(a(r))return s(i(r,e));throw l(c(e)+" is not iterable")}})),Ee=e(((e,t)=>{var r=o(),n=J(),i=C();t.exports=function(e,t,a){var o,s;n(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw a;return a}o=r(o,e)}catch(e){s=!0,o=e}if("throw"===t)throw a;if(s)throw o;return n(o),a}})),Se=e(((e,r)=>{var n=t(),i=pe(),a=o(),s=J(),c=E(),u=De(),l=ee(),p=h(),d=xe(),f=be(),_=Ee(),m=n.TypeError,g=function(e,t){this.stopped=e,this.result=t},y=g.prototype;r.exports=function(e,t,r){var n,o,h,v,D,b,x,E=r&&r.that,S=!(!r||!r.AS_ENTRIES),C=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),k=i(t,E),A=function(e){return n&&_(n,"normal",e),new g(!0,e)},N=function(e){return S?(s(e),T?k(e[0],e[1],A):k(e[0],e[1])):T?k(e,A):k(e)};if(C)n=e;else{if(!(o=f(e)))throw m(c(e)+" is not iterable");if(u(o)){for(h=0,v=l(e);v>h;h++)if((D=N(e[h]))&&p(y,D))return D;return new g(!1)}n=d(e,o)}for(b=n.next;!(x=a(b,n)).done;){try{D=N(x.value)}catch(e){_(n,"throw",e)}if("object"==typeof D&&D&&p(y,D))return D}return new g(!1)}})),Ce=e(((e,t)=>{var r=M(),n=U(),i=c();t.exports=function(e,t,a){var o=r(t);o in e?n.f(e,o,i(0,a)):e[o]=a}})),Te=e((()=>{var e=ue(),t=Se(),r=Ce();e({target:"Object",stat:!0},{fromEntries:function(e){var n={};return t(e,(function(e,t){r(n,e,t)}),{AS_ENTRIES:!0}),n}})})),ke=e(((e,t)=>{var r,n,i,a,o,s,c=["cliName","cliCategory","cliDescription"];function u(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(i[r]=e[r]))}return i}function l(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}ye(),Te();var p,d,f,_=Object.getOwnPropertyNames,m=(e,t)=>function(){return t||(0,e[_(e)[0]])((t={exports:{}}).exports,t),t.exports},g=(d={"<define:process>"(){p={env:{},argv:[]}}},function(){return d&&(f=(0,d[_(d)[0]])(d=0)),f}),h=m({"node_modules/xtend/immutable.js"(e,t){g(),t.exports=function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var i in n)r.call(n,i)&&(e[i]=n[i])}return e};var r=Object.prototype.hasOwnProperty}}),y=m({"node_modules/inherits/inherits_browser.js"(e,t){g(),"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}}}),v=m({"node_modules/unherit/index.js"(e,t){g();var r=h(),n=y();t.exports=function(e){var t,i,a;for(i in n(s,e),n(o,s),t=s.prototype)(a=t[i])&&"object"==typeof a&&(t[i]="concat"in a?a.concat():r(a));return s;function o(t){return e.apply(this,t)}function s(){return this instanceof s?e.apply(this,arguments):new o(arguments)}}}}),D=m({"node_modules/state-toggle/index.js"(e,t){g(),t.exports=function(e,t,r){return function(){var n=r||this,i=n[e];return n[e]=!t,function(){n[e]=i}}}}}),b=m({"node_modules/vfile-location/index.js"(e,t){g(),t.exports=function(e){for(var t=String(e),r=[],n=/\r?\n|\r/g;n.exec(t);)r.push(n.lastIndex);return r.push(t.length+1),{toPoint:i,toPosition:i,toOffset:function(e){var t,n=e&&e.line,i=e&&e.column;return!isNaN(n)&&!isNaN(i)&&n-1 in r&&(t=(r[n-2]||0)+i-1||0),t>-1&&t<r[r.length-1]?t:-1}};function i(e){var t=-1;if(e>-1&&e<r[r.length-1])for(;++t<r.length;)if(r[t]>e)return{line:t+1,column:e-(r[t-1]||0)+1,offset:e};return{}}}}}),x=m({"node_modules/remark-parse/lib/unescape.js"(e,t){g(),t.exports=function(e,t){return function(n){for(var i,a=0,o=n.indexOf(r),s=e[t],c=[];-1!==o;)c.push(n.slice(a,o)),a=o+1,(!(i=n.charAt(a))||-1===s.indexOf(i))&&c.push(r),o=n.indexOf(r,a+1);return c.push(n.slice(a)),c.join("")}};var r="\\"}}),E=m({"node_modules/character-entities-legacy/index.json"(e,t){t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}}),S=m({"node_modules/character-reference-invalid/index.json"(e,t){t.exports={0:"<22>",128:"€",130:"",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"",140:"Œ",142:"Ž",145:"",146:"",147:"“",148:"”",149:"•",150:"",151:"—",152:"˜",153:"™",154:"š",155:"",156:"œ",158:"ž",159:"Ÿ"}}}),C=m({"node_modules/is-decimal/index.js"(e,t){g(),t.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}}}),T=m({"node_modules/is-hexadecimal/index.js"(e,t){g(),t.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}}}),k=m({"node_modules/is-alphabetical/index.js"(e,t){g(),t.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}}}),A=m({"node_modules/is-alphanumerical/index.js"(e,t){g();var r=k(),n=C();t.exports=function(e){return r(e)||n(e)}}}),N=m({"node_modules/character-entities/index.json"(e,t){t.exports={AEli:"Æ",AElig:"Æ",AM:"&",AMP:"&",Aacut:"Á",Aacute:"Á",Abreve:"Ă",Acir:"Â",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrav:"À",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",Arin:"Å",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atild:"Ã",Atilde:"Ã",Aum:"Ä",Auml:"Ä",Backslash:"",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"",Bumpeq:"≎",CHcy:"Ч",COP:"©",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"",Cayleys:"",Ccaron:"Č",Ccedi:"Ç",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ET:"Ð",ETH:"Ð",Eacut:"É",Eacute:"É",Ecaron:"Ě",Ecir:"Ê",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrav:"È",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"",Esim:"⩳",Eta:"Η",Eum:"Ë",Euml:"Ë",Exists:"∃",ExponentialE:"",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"",Fscr:"",GJcy:"Ѓ",G:">",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"",HilbertSpace:"",Hopf:"",HorizontalLine:"─",Hscr:"",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacut:"Í",Iacute:"Í",Icir:"Î",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"",Igrav:"Ì",Igrave:"Ì",Im:"",Imacr:"Ī",ImaginaryI:"",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"",Itilde:"Ĩ",Iukcy:"І",Ium:"Ï",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",L:"<",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:"",Mellintrf:"",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",Nopf:"",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",Or:"⩔",Oscr:"𝒪",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"",Popf:"",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔",Qopf:"",Qscr:"𝒬",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"",ThinSpace:"",Tilde:"",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uum:"Ü",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"",Verbar:"‖",Vert:"‖",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacut:"Ý",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"",Zeta:"Ζ",Zfr:"",Zopf:"",Zscr:"𝒵",aacut:"á",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acir:"â",acirc:"â",acut:"´",acute:"´",acy:"а",aeli:"æ",aelig:"æ",af:"",afr:"𝔞",agrav:"à",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",am:"&",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",arin:"å",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atild:"ã",atilde:"ã",aum:"ä",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"",breve:"˘",brvba:"¦",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedi:"ç",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedi:"¸",cedil:"¸",cemptyv:"⦲",cen:"¢",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",cop:"©",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curre:"¤",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",de:"°",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divid:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacut:"é",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"ê",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"",efDot:"≒",efr:"𝔢",eg:"⪚",egrav:"è",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:"",emsp14:"",emsp:"",eng:"ŋ",ensp:"",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"",esdot:"≐",esim:"≂",eta:"η",et:"ð",eth:"ð",eum:"ë",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"",exponentiale:"",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac1:"¼",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac3:"¾",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"",gsim:"≳",gsime:"⪎",gsiml:"⪐",g:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:"",half:"½",hamilt:"",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"",hyphen:"",iacut:"í",iacute:"í",ic:"",icir:"î",icirc:"î",icy:"и",iecy:"е",iexc:"¡",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrav:"ì",igrave:"ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"",imagline:"",imagpart:"",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iques:"¿",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",iukcy:"і",ium:"ï",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laqu:"«",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",lstrok:"ł",l:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",mac:"¯",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micr:"µ",micro:"µ",mid:"",midast:"*",midcir:"⫰",middo:"·",middot:"·",minus:"",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"",nbs:" ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",no:"¬",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntild:"ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:"",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacut:"ó",oacute:"ó",oast:"⊛",ocir:"ô",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograv:"ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"",orarr:"↻",ord:"º",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"",oslas:"ø",oslash:"ø",osol:"⊘",otild:"õ",otilde:"õ",otimes:"⊗",otimesas:"⨶",oum:"ö",ouml:"ö",ovbar:"⌽",par:"¶",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusm:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",poun:"£",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"",primes:"",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:"",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",quo:'"',quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raqu:"»",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"",rationals:"",rbarr:"⤍",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"",realine:"",realpart:"",reals:"",rect:"▭",re:"®",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sec:"§",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"",shortparallel:"∥",sh:"­",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szli:"ß",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",thinsp:"",thkap:"≈",thksim:"",thor:"þ",thorn:"þ",tilde:"˜",time:"×",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacut:"ú",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucir:"û",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrav:"ù",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",um:"¨",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uum:"ü",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",yacut:"ý",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",ye:"¥",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yum:"ÿ",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""}}}),P=m({"node_modules/parse-entities/decode-entity.js"(e,t){g();var r=N();t.exports=function(e){return!!n.call(r,e)&&r[e]};var n={}.hasOwnProperty}}),F=m({"node_modules/parse-entities/index.js"(e,t){g();var r=E(),n=S(),i=C(),a=T(),o=A(),s=P();t.exports=function(e,t){var i,a,g={};for(a in t||(t={}),p)i=t[a],g[a]=null==i?p[a]:i;return(g.position.indent||g.position.start)&&(g.indent=g.position.indent||[],g.position=g.position.start),function(e,t){var i,a,p,g,b,x,E,S,C,T,k,A,N,P,F,w,I,O,L,M=t.additional,R=t.nonTerminated,B=t.text,j=t.reference,K=t.warning,J=t.textContext,U=t.referenceContext,q=t.warningContext,V=t.position,z=t.indent||[],W=e.length,H=0,G=-1,$=V.column||1,Y=V.line||1,X="",Q=[];for("string"==typeof M&&(M=M.charCodeAt(0)),w=Z(),S=K?ee:l,H--,W++;++H<W;)if(10===b&&($=z[G]||1),38===(b=e.charCodeAt(H))){if(9===(E=e.charCodeAt(H+1))||10===E||12===E||32===E||38===E||60===E||E!=E||M&&E===M){X+=u(b),$++;continue}for(A=N=H+1,L=N,35===E?(L=++A,88===(E=e.charCodeAt(L))||120===E?(P=f,L=++A):P=_):P=d,i="",k="",g="",F=h[P],L--;++L<W&&F(E=e.charCodeAt(L));)g+=u(E),P===d&&c.call(r,g)&&(i=g,k=r[g]);(p=59===e.charCodeAt(L))&&(L++,(a=P===d&&s(g))&&(i=g,k=a)),O=1+L-N,!p&&!R||(g?P===d?(p&&!k?S(5,1):(i!==g&&(O=1+(L=A+i.length)-A,p=!1),p||(C=i?1:3,t.attribute?61===(E=e.charCodeAt(L))?(S(C,O),k=null):o(E)?k=null:S(C,O):S(C,O))),x=k):(p||S(2,O),v(x=parseInt(g,m[P]))?(S(7,O),x=u(65533)):x in n?(S(6,O),x=n[x]):(T="",D(x)&&S(6,O),x>65535&&(T+=u((x-=65536)>>>10|55296),x=56320|1023&x),x=T+u(x))):P!==d&&S(4,O)),x?(te(),w=Z(),H=L-1,$+=L-N+1,Q.push(x),(I=Z()).offset++,j&&j.call(U,x,{start:w,end:I},e.slice(N-1,L)),w=I):(g=e.slice(N-1,L),X+=g,$+=g.length,H=L-1)}else 10===b&&(Y++,G++,$=0),b==b?(X+=u(b),$++):te();return Q.join("");function Z(){return{line:Y,column:$,offset:H+(V.offset||0)}}function ee(e,t){var r=Z();r.column+=t,r.offset+=t,K.call(q,y[e],r,e)}function te(){X&&(Q.push(X),B&&B.call(J,X,{start:w,end:Z()}),X="")}}(e,g)};var c={}.hasOwnProperty,u=String.fromCharCode,l=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},d="named",f="hexadecimal",_="decimal",m={hexadecimal:16,decimal:10},h={};h[d]=o,h[_]=i,h[f]=a;var y={};function v(e){return e>=55296&&e<=57343||e>1114111}function D(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"}}),w=m({"node_modules/remark-parse/lib/decode.js"(e,t){g();var r=h(),n=F();t.exports=function(e){return i.raw=function(e,i,o){return n(e,r(o,{position:t(i),warning:a}))},i;function t(t){for(var r=e.offset,n=t.line,i=[];++n&&n in r;)i.push((r[n]||0)+1);return{start:t,indent:i}}function i(r,i,o){n(r,{position:t(i),warning:a,text:o,reference:o,textContext:e,referenceContext:e})}function a(t,r,n){3!==n&&e.file.message(t,r)}}}}),I=m({"node_modules/remark-parse/lib/tokenizer.js"(e,t){function r(e){var t,r;return"text"!==e.type||!e.position||(t=e.position.start,r=e.position.end,t.line!==r.line||r.column-t.column===e.value.length)}function n(e,t){return e.value+=t.value,e}function i(e,t){return this.options.commonmark||this.options.gfm?t:(e.children=e.children.concat(t.children),e)}g(),t.exports=function(e){return function(t,a){var o,s,c,u,l,p=this,d=p.offset,f=[],_=p[e+"Methods"],m=p[e+"Tokenizers"],g=a.line,h=a.column;if(!t)return f;for(b.now=v,b.file=p.file,y("");t;){for(o=-1,s=_.length,u=!1;++o<s&&(!(c=m[_[o]])||c.onlyAtStart&&!p.atStart||c.notInList&&p.inList||c.notInBlock&&p.inBlock||c.notInLink&&p.inLink||(l=t.length,c.apply(p,[b,t]),!(u=l!==t.length))););u||p.file.fail(new Error("Infinite loop"),b.now())}return p.eof=v(),f;function y(e){for(var t=-1,r=e.indexOf("\n");-1!==r;)g++,t=r,r=e.indexOf("\n",r+1);-1===t?h+=e.length:h=e.length-t,g in d&&(-1!==t?h+=d[g]:h<=d[g]&&(h=d[g]+1))}function v(){var e={line:g,column:h};return e.offset=p.toOffset(e),e}function D(e){this.start=e,this.end=v()}function b(e){var a=function(){var e=[],t=g+1;return function(){for(var r=g+1;t<r;)e.push((d[t]||0)+1),t++;return e}}(),o=function(){var e=v();return function(t,r){var n=t.position,i=n?n.start:e,a=[],o=n&&n.end.line,s=e.line;if(t.position=new D(i),n&&r&&n.indent){if(a=n.indent,o<s){for(;++o<s;)a.push((d[o]||0)+1);a.push(e.column)}r=a.concat(r)}return t.position.indent=r||[],t}}(),s=v();return function(e){t.slice(0,e.length)!==e&&p.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),v())}(e),c.reset=u,u.test=l,c.test=l,t=t.slice(e.length),y(e),a=a(),c;function c(e,t){return o(function(e,t){var a=t?t.children:f,o=a[a.length-1];return o&&e.type===o.type&&("text"===e.type||"blockquote"===e.type)&&r(o)&&r(e)&&(e=("text"===e.type?n:i).call(p,o,e)),e!==o&&a.push(e),p.atStart&&0!==f.length&&p.exitStart(),e}(o(e),t),a)}function u(){var r=c.apply(null,arguments);return g=s.line,h=s.column,t=e+t,r}function l(){var r=o({});return g=s.line,h=s.column,t=e+t,r.position}}}}}}),O=m({"node_modules/markdown-escapes/index.js"(e,t){g(),t.exports=a;var r=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],n=r.concat(["~","|"]),i=n.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);function a(e){var t=e||{};return t.commonmark?i:t.gfm?n:r}a.default=r,a.gfm=n,a.commonmark=i}}),L=m({"node_modules/remark-parse/lib/block-elements.js"(e,t){g(),t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]}}),M=m({"node_modules/remark-parse/lib/defaults.js"(e,t){g(),t.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:L()}}}),R=m({"node_modules/remark-parse/lib/set-options.js"(e,t){g();var r=h(),n=O(),i=M();t.exports=function(e){var t,a,o=this,s=o.options;if(null==e)e={};else{if("object"!=typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=r(e)}for(t in i){if(null==(a=e[t])&&(a=s[t]),"blocks"!==t&&"boolean"!=typeof a||"blocks"===t&&"object"!=typeof a)throw new Error("Invalid value `"+a+"` for setting `options."+t+"`");e[t]=a}return o.options=e,o.escape=n(e),o}}}),B=m({"node_modules/unist-util-is/convert.js"(e,t){function r(e){if(null==e)return n;if("string"==typeof e)return function(e){return t;function t(t){return Boolean(t&&t.type===e)}}(e);if("object"==typeof e)return"length"in e?function(e){for(var t=[],n=-1;++n<e.length;)t[n]=r(e[n]);return i;function i(){for(var e=-1;++e<t.length;)if(t[e].apply(this,arguments))return!0;return!1}}(e):function(e){return t;function t(t){var r;for(r in e)if(t[r]!==e[r])return!1;return!0}}(e);if("function"==typeof e)return e;throw new Error("Expected function, string, or object as test")}function n(){return!0}g(),t.exports=r}}),j=m({"node_modules/unist-util-visit-parents/color.browser.js"(e,t){g(),t.exports=function(e){return e}}}),K=m({"node_modules/unist-util-visit-parents/index.js"(e,t){g(),t.exports=s;var r=B(),n=j(),i=!0,a="skip",o=!1;function s(e,t,s,c){var u,l;"function"==typeof t&&"function"!=typeof s&&(c=s,s=t,t=null),l=r(t),u=c?-1:1,function e(r,p,d){var f,_="object"==typeof r&&null!==r?r:{};return"string"==typeof _.type&&(f="string"==typeof _.tagName?_.tagName:"string"==typeof _.name?_.name:void 0,m.displayName="node ("+n(_.type+(f?"<"+f+">":""))+")"),m;function m(){var n,f,_=d.concat(r),m=[];if((!t||l(r,p,d[d.length-1]||null))&&(m=function(e){return null!==e&&"object"==typeof e&&"length"in e?e:"number"==typeof e?[i,e]:[e]}(s(r,d)))[0]===o)return m;if(r.children&&m[0]!==a)for(f=(c?r.children.length:-1)+u;f>-1&&f<r.children.length;){if((n=e(r.children[f],f,_)())[0]===o)return n;f="number"==typeof n[1]?n[1]:f+u}return m}}(e,null,[])()}s.CONTINUE=i,s.SKIP=a,s.EXIT=o}}),J=m({"node_modules/unist-util-visit/index.js"(e,t){g(),t.exports=o;var r=K(),n=r.CONTINUE,i=r.SKIP,a=r.EXIT;function o(e,t,n,i){"function"==typeof t&&"function"!=typeof n&&(i=n,n=t,t=null),r(e,t,(function(e,t){var r=t[t.length-1],i=r?r.children.indexOf(e):null;return n(e,i,r)}),i)}o.CONTINUE=n,o.SKIP=i,o.EXIT=a}}),U=m({"node_modules/unist-util-remove-position/index.js"(e,t){g();var r=J();function n(e){delete e.position}function i(e){e.position=void 0}t.exports=function(e,t){return r(e,t?n:i),e}}}),q=m({"node_modules/remark-parse/lib/parse.js"(e,t){g();var r=h(),n=U();t.exports=function(){var e,t=this,a=String(t.file),o={line:1,column:1,offset:0},s=r(o);return 65279===(a=a.replace(i,"\n")).charCodeAt(0)&&(a=a.slice(1),s.column++,s.offset++),e={type:"root",children:t.tokenizeBlock(a,s),position:{start:o,end:t.eof||r(o)}},t.options.position||n(e,!0),e};var i=/\r\n|\r/g}}),V=m({"node_modules/remark-parse/lib/tokenize/blank-line.js"(e,t){g();var r=/^[ \t]*(\n|$)/;t.exports=function(e,t,n){for(var i,a="",o=0,s=t.length;o<s&&null!=(i=r.exec(t.slice(o)));)o+=i[0].length,a+=i[0];if(""!==a){if(n)return!0;e(a)}}}}),z=m({"node_modules/repeat-string/index.js"(e,t){g();var r,n="";t.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var i=e.length*t;if(r!==e||typeof r>"u")r=e,n="";else if(n.length>=i)return n.substr(0,i);for(;i>n.length&&t>1;)1&t&&(n+=e),t>>=1,e+=e;return n=(n+=e).substr(0,i)}}}),W=m({"node_modules/trim-trailing-lines/index.js"(e,t){g(),t.exports=function(e){return String(e).replace(/\n+$/,"")}}}),H=m({"node_modules/remark-parse/lib/tokenize/code-indented.js"(e,t){g();var r=z(),n=W();t.exports=function(e,t,r){for(var a,o,s,c=-1,u=t.length,l="",p="",d="",f="";++c<u;)if(a=t.charAt(c),s)if(s=!1,l+=d,p+=f,d="",f="","\n"===a)d=a,f=a;else for(l+=a,p+=a;++c<u;){if(!(a=t.charAt(c))||"\n"===a){f=a,d=a;break}l+=a,p+=a}else if(" "===a&&t.charAt(c+1)===a&&t.charAt(c+2)===a&&t.charAt(c+3)===a)d+=i,c+=3,s=!0;else if("\t"===a)d+=a,s=!0;else{for(o="";"\t"===a||" "===a;)o+=a,a=t.charAt(++c);if("\n"!==a)break;d+=o+a,f+=a}if(p)return!!r||e(l)({type:"code",lang:null,meta:null,value:n(p)})};var i=r(" ",4)}}),G=m({"node_modules/remark-parse/lib/tokenize/code-fenced.js"(e,t){g(),t.exports=function(e,t,a){var o,s,c,u,l,p,d,f,_,m,g,h,y,v=this,D=v.options.gfm,b=t.length+1,x=0,E="";if(D){for(;x<b&&((c=t.charAt(x))===i||c===n);)E+=c,x++;if(h=x,"~"===(c=t.charAt(x))||"`"===c){for(x++,s=c,o=1,E+=c;x<b&&(c=t.charAt(x))===s;)E+=c,o++,x++;if(!(o<3)){for(;x<b&&((c=t.charAt(x))===i||c===n);)E+=c,x++;for(u="",d="";x<b&&(c=t.charAt(x))!==r&&("`"!==s||c!==s);)c===i||c===n?d+=c:(u+=d+c,d=""),x++;if(!(c=t.charAt(x))||c===r){if(a)return!0;(y=e.now()).column+=E.length,y.offset+=E.length,E+=u,u=v.decode.raw(v.unescape(u),y),d&&(E+=d),d="",m="",g="",f="",_="";for(var S=!0;x<b;)if(f+=m,_+=g,m="",g="",(c=t.charAt(x))===r){for(S?(E+=c,S=!1):(m+=c,g+=c),d="",x++;x<b&&(c=t.charAt(x))===i;)d+=c,x++;if(m+=d,g+=d.slice(h),!(d.length>=4)){for(d="";x<b&&(c=t.charAt(x))===s;)d+=c,x++;if(m+=d,g+=d,!(d.length<o)){for(d="";x<b&&((c=t.charAt(x))===i||c===n);)m+=c,g+=c,x++;if(!c||c===r)break}}}else f+=c,g+=c,x++;for(E+=f+m,x=-1,b=u.length;++x<b;)if((c=u.charAt(x))===i||c===n)l||(l=u.slice(0,x));else if(l){p=u.slice(x);break}return e(E)({type:"code",lang:l||u||null,meta:p||null,value:_})}}}}};var r="\n",n="\t",i=" "}}),$=m({"node_modules/trim/index.js"(e,t){g(),(e=t.exports=function(e){return e.replace(/^\s*|\s*$/g,"")}).left=function(e){return e.replace(/^\s*/,"")},e.right=function(e){return e.replace(/\s*$/,"")}}}),Y=m({"node_modules/remark-parse/lib/util/interrupt.js"(e,t){g(),t.exports=function(e,t,r,n){for(var i,a,o=e.length,s=-1;++s<o;)if((void 0===(a=(i=e[s])[1]||{}).pedantic||a.pedantic===r.options.pedantic)&&(void 0===a.commonmark||a.commonmark===r.options.commonmark)&&t[i[0]].apply(r,n))return!0;return!1}}}),X=m({"node_modules/remark-parse/lib/tokenize/blockquote.js"(e,t){g();var r=$(),n=Y();t.exports=function(e,t,i){for(var a,o,s,c,u,l,p,d,f,_=this,m=_.offset,g=_.blockTokenizers,h=_.interruptBlockquote,y=e.now(),v=y.line,D=t.length,b=[],x=[],E=[],S=0;S<D&&(" "===(o=t.charAt(S))||"\t"===o);)S++;if(">"===t.charAt(S)){if(i)return!0;for(S=0;S<D;){for(p=S,d=!1,-1===(c=t.indexOf("\n",S))&&(c=D);S<D&&(" "===(o=t.charAt(S))||"\t"===o);)S++;if(">"===t.charAt(S)?(S++,d=!0," "===t.charAt(S)&&S++):S=p,u=t.slice(S,c),!d&&!r(u)){S=p;break}if(!d&&(s=t.slice(S),n(h,g,_,[e,s,!0])))break;l=p===S?u:t.slice(p,c),E.push(S-p),b.push(l),x.push(u),S=c+1}for(S=-1,D=E.length,a=e(b.join("\n"));++S<D;)m[v]=(m[v]||0)+E[S],v++;return f=_.enterBlock(),x=_.tokenizeBlock(x.join("\n"),y),f(),a({type:"blockquote",children:x})}}}}),Q=m({"node_modules/remark-parse/lib/tokenize/heading-atx.js"(e,t){g(),t.exports=function(e,t,a){for(var o,s,c,u=this.options.pedantic,l=t.length+1,p=-1,d=e.now(),f="",_="";++p<l;){if((o=t.charAt(p))!==n&&o!==r){p--;break}f+=o}for(c=0;++p<=l;){if((o=t.charAt(p))!==i){p--;break}f+=o,c++}if(!(c>6)&&c&&(u||t.charAt(p+1)!==i)){for(l=t.length+1,s="";++p<l;){if((o=t.charAt(p))!==n&&o!==r){p--;break}s+=o}if(u||0!==s.length||!o||"\n"===o){if(a)return!0;for(f+=s,s="",_="";++p<l&&(o=t.charAt(p))&&"\n"!==o;)if(o===n||o===r||o===i){for(;o===n||o===r;)s+=o,o=t.charAt(++p);if(u||!_||s||o!==i){for(;o===i;)s+=o,o=t.charAt(++p);for(;o===n||o===r;)s+=o,o=t.charAt(++p);p--}else _+=o}else _+=s+o,s="";return d.column+=f.length,d.offset+=f.length,e(f+=_+s)({type:"heading",depth:c,children:this.tokenizeInline(_,d)})}}};var r="\t",n=" ",i="#"}}),Z=m({"node_modules/remark-parse/lib/tokenize/thematic-break.js"(e,t){g(),t.exports=function(e,t,r){for(var n,i,a,o,s=-1,c=t.length+1,u="";++s<c&&("\t"===(n=t.charAt(s))||" "===n);)u+=n;if("*"===n||"-"===n||"_"===n)for(i=n,u+=n,a=1,o="";++s<c;)if((n=t.charAt(s))===i)a++,u+=o+i,o="";else{if(" "!==n)return a>=3&&(!n||"\n"===n)?(u+=o,!!r||e(u)({type:"thematicBreak"})):void 0;o+=n}}}}),ee=m({"node_modules/remark-parse/lib/util/get-indentation.js"(e,t){g(),t.exports=function(e){for(var t,r=0,n=0,i=e.charAt(r),a={},o=0;"\t"===i||" "===i;){for(n+=t="\t"===i?4:1,t>1&&(n=Math.floor(n/t)*t);o<n;)a[++o]=r;i=e.charAt(++r)}return{indent:n,stops:a}}}}),te=m({"node_modules/remark-parse/lib/util/remove-indentation.js"(e,t){g();var r=$(),n=z(),i=ee();t.exports=function(e,t){var a,o,s,c=e.split("\n"),u=c.length+1,l=1/0,p=[];for(c.unshift(n(" ",t)+"!");u--;)if(o=i(c[u]),p[u]=o.stops,0!==r(c[u]).length){if(!o.indent){l=1/0;break}o.indent>0&&o.indent<l&&(l=o.indent)}if(l!==1/0)for(u=c.length;u--;){for(s=p[u],a=l;a&&!(a in s);)a--;c[u]=c[u].slice(s[a]+1)}return c.shift(),c.join("\n")}}}),re=m({"node_modules/remark-parse/lib/tokenize/list.js"(e,t){g();var r=$(),n=z(),i=C(),a=ee(),o=te(),s=Y();t.exports=function(e,t,n){for(var a,o,p,d,f,_,m,g,y,v,D,b,x,E,S,C,T,k,A,N,P,F,w,I=this,O=I.options.commonmark,L=I.options.pedantic,M=I.blockTokenizers,R=I.interruptList,B=0,j=t.length,K=null,J=!1;B<j&&((d=t.charAt(B))===l||d===c);)B++;if("*"===(d=t.charAt(B))||"+"===d||"-"===d)f=d,p=!1;else{for(p=!0,o="";B<j&&(d=t.charAt(B),i(d));)o+=d,B++;if(d=t.charAt(B),!o||!("."===d||O&&")"===d)||n&&"1"!==o)return;K=parseInt(o,10),f=d}if((d=t.charAt(++B))===c||d===l||!(L||d!==u&&""!==d)){if(n)return!0;for(B=0,E=[],S=[],C=[];B<j;){for(m=B,g=!1,w=!1,-1===(_=t.indexOf(u,B))&&(_=j),a=0;B<j;){if((d=t.charAt(B))===l)a+=4-a%4;else{if(d!==c)break;a++}B++}if(T&&a>=T.indent&&(w=!0),d=t.charAt(B),y=null,!w){if("*"===d||"+"===d||"-"===d)y=d,B++,a++;else{for(o="";B<j&&(d=t.charAt(B),i(d));)o+=d,B++;d=t.charAt(B),B++,o&&("."===d||O&&")"===d)&&(y=d,a+=o.length+1)}if(y)if((d=t.charAt(B))===l)a+=4-a%4,B++;else if(d===c){for(F=B+4;B<F&&t.charAt(B)===c;)B++,a++;B===F&&t.charAt(B)===c&&(B-=3,a-=3)}else d!==u&&""!==d&&(y=null)}if(y){if(!L&&f!==y)break;g=!0}else O||w||t.charAt(m)!==c?O&&T&&(w=a>=T.indent||a>4):w=!0,g=!1,B=m;if(D=t.slice(m,_),v=m===B?D:t.slice(B,_),("*"===y||"_"===y||"-"===y)&&M.thematicBreak.call(I,e,D,!0))break;if(b=x,x=!g&&!r(v).length,w&&T)T.value=T.value.concat(C,D),S=S.concat(C,D),C=[];else if(g)0!==C.length&&(J=!0,T.value.push(""),T.trail=C.concat()),T={value:[D],indent:a,trail:[]},E.push(T),S=S.concat(C,D),C=[];else if(x){if(b&&!O)break;C.push(D)}else{if(b||s(R,M,I,[e,D,!0]))break;T.value=T.value.concat(C,D),S=S.concat(C,D),C=[]}B=_+1}for(N=e(S.join(u)).reset({type:"list",ordered:p,start:K,spread:J,children:[]}),k=I.enterList(),A=I.enterBlock(),B=-1,j=E.length;++B<j;)T=E[B].value.join(u),P=e.now(),e(T)(h(I,T,P),N),T=E[B].trail.join(u),B!==j-1&&(T+=u),e(T);return k(),A(),N}};var c=" ",u="\n",l="\t",p=/\n\n(?!\s*$)/,d=/^\[([ X\tx])][ \t]/,f=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,_=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,m=/^( {1,4}|\t)?/gm;function h(e,t,r){var n,i,a=e.offset,o=null;return t=(e.options.pedantic?y:v).apply(null,arguments),e.options.gfm&&(n=t.match(d))&&(i=n[0].length,o="x"===n[1].toLowerCase(),a[r.line]+=i,t=t.slice(i)),{type:"listItem",spread:p.test(t),checked:o,children:e.tokenizeBlock(t,r)}}function y(e,t,r){var n=e.offset,i=r.line;return t=t.replace(_,a),i=r.line,t.replace(m,a);function a(e){return n[i]=(n[i]||0)+e.length,i++,""}}function v(e,t,r){var i,s,l,p,d,_,m,g=e.offset,h=r.line;for(p=(t=t.replace(f,(function(e,t,r,a,o){return s=t+r+a,l=o,Number(r)<10&&s.length%2==1&&(r=c+r),(i=t+n(c,r.length)+a)+l}))).split(u),(d=o(t,a(i).indent).split(u))[0]=l,g[h]=(g[h]||0)+s.length,h++,_=0,m=p.length;++_<m;)g[h]=(g[h]||0)+p[_].length-d[_].length,h++;return d.join(u)}}}),ne=m({"node_modules/remark-parse/lib/tokenize/heading-setext.js"(e,t){g(),t.exports=function(e,t,r){for(var n,i,a,o,s,c=e.now(),u=t.length,l=-1,p="";++l<u;){if(" "!==(a=t.charAt(l))||l>=3){l--;break}p+=a}for(n="",i="";++l<u;){if("\n"===(a=t.charAt(l))){l--;break}" "===a||"\t"===a?i+=a:(n+=i+a,i="")}if(c.column+=p.length,c.offset+=p.length,p+=n+i,a=t.charAt(++l),o=t.charAt(++l),"\n"===a&&("="===o||"-"===o)){for(p+=a,i=o,s="="===o?1:2;++l<u;){if((a=t.charAt(l))!==o){if("\n"!==a)return;l--;break}i+=a}return!!r||e(p+i)({type:"heading",depth:s,children:this.tokenizeInline(n,c)})}}}}),ie=m({"node_modules/remark-parse/lib/util/html.js"(e){g();var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",r="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";e.openCloseTag=new RegExp("^(?:"+t+"|"+r+")"),e.tag=new RegExp("^(?:"+t+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Za-z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)")}}),ae=m({"node_modules/remark-parse/lib/tokenize/html-block.js"(e,t){g();var r=ie().openCloseTag;t.exports=function(e,t,r){for(var m,g,h,y,v,D,b,x=this.options.blocks.join("|"),E=new RegExp("^</?("+x+")(?=(\\s|/?>|$))","i"),S=t.length,C=0,T=[[n,i,!0],[a,o,!0],[s,c,!0],[u,l,!0],[p,d,!0],[E,f,!0],[_,f,!1]];C<S&&("\t"===(y=t.charAt(C))||" "===y);)C++;if("<"===t.charAt(C)){for(m=-1===(m=t.indexOf("\n",C+1))?S:m,g=t.slice(C,m),h=-1,v=T.length;++h<v;)if(T[h][0].test(g)){D=T[h];break}if(D){if(r)return D[2];if(C=m,!D[1].test(g))for(;C<S;){if(m=-1===(m=t.indexOf("\n",C+1))?S:m,g=t.slice(C+1,m),D[1].test(g)){g&&(C=m);break}C=m}return e(b=t.slice(0,C))({type:"html",value:b})}}};var n=/^<(script|pre|style)(?=(\s|>|$))/i,i=/<\/(script|pre|style)>/i,a=/^<!--/,o=/-->/,s=/^<\?/,c=/\?>/,u=/^<![A-Za-z]/,l=/>/,p=/^<!\[CDATA\[/,d=/]]>/,f=/^$/,_=new RegExp(r.source+"\\s*$")}}),oe=m({"node_modules/is-whitespace-character/index.js"(e,t){g(),t.exports=function(e){return n.test("number"==typeof e?r(e):e.charAt(0))};var r=String.fromCharCode,n=/\s/}}),se=m({"node_modules/collapse-white-space/index.js"(e,t){g(),t.exports=function(e){return String(e).replace(/\s+/g," ")}}}),ce=m({"node_modules/remark-parse/lib/util/normalize.js"(e,t){g();var r=se();t.exports=function(e){return r(e).toLowerCase()}}}),ue=m({"node_modules/remark-parse/lib/tokenize/definition.js"(e,t){g();var r=oe(),n=ce();t.exports=function(e,t,r){for(var l,p,d,f,_,m,g,h,y=this,v=y.options.commonmark,D=0,b=t.length,x="";D<b&&((f=t.charAt(D))===o||f===a);)x+=f,D++;if("["===(f=t.charAt(D))){for(D++,x+=f,d="";D<b&&(f=t.charAt(D))!==s;)"\\"===f&&(d+=f,D++,f=t.charAt(D)),d+=f,D++;if(d&&t.charAt(D)===s&&":"===t.charAt(D+1)){for(m=d,D=(x+=d+s+":").length,d="";D<b&&((f=t.charAt(D))===a||f===o||f===i);)x+=f,D++;if(d="",l=x,"<"===(f=t.charAt(D))){for(D++;D<b&&c(f=t.charAt(D));)d+=f,D++;if((f=t.charAt(D))===c.delimiter)x+="<"+d+f,D++;else{if(v)return;D-=d.length+1,d=""}}if(!d){for(;D<b&&u(f=t.charAt(D));)d+=f,D++;x+=d}if(d){for(g=d,d="";D<b&&((f=t.charAt(D))===a||f===o||f===i);)d+=f,D++;if(_=null,'"'===(f=t.charAt(D))?_='"':"'"===f?_="'":"("===f&&(_=")"),_){if(!d)return;for(D=(x+=d+f).length,d="";D<b&&(f=t.charAt(D))!==_;){if(f===i){if(D++,(f=t.charAt(D))===i||f===_)return;d+=i}d+=f,D++}if((f=t.charAt(D))!==_)return;p=x,x+=d+f,D++,h=d,d=""}else d="",D=x.length;for(;D<b&&((f=t.charAt(D))===a||f===o);)x+=f,D++;if(!(f=t.charAt(D))||f===i)return!!r||(l=e(l).test().end,g=y.decode.raw(y.unescape(g),l,{nonTerminated:!1}),h&&(p=e(p).test().end,h=y.decode.raw(y.unescape(h),p)),e(x)({type:"definition",identifier:n(m),label:m,title:h||null,url:g}))}}}};var i="\n",a="\t",o=" ",s="]";function c(e){return">"!==e&&"["!==e&&e!==s}function u(e){return"["!==e&&e!==s&&!r(e)}c.delimiter=">"}}),le=m({"node_modules/remark-parse/lib/tokenize/table.js"(e,t){g();var r=oe();t.exports=function(e,t,a){var o,s,c,u,l,p,d,f,_,m,g,h,y,v,D,b,x,E,S,C,T,k;if(this.options.gfm){for(o=0,b=0,p=t.length+1,d=[];o<p;){if(C=t.indexOf(n,o),T=t.indexOf("|",o+1),-1===C&&(C=t.length),-1===T||T>C){if(b<2)return;break}d.push(t.slice(o,C)),b++,o=C+1}for(u=d.join(n),o=0,p=(s=d.splice(1,1)[0]||[]).length,b--,c=!1,g=[];o<p;){if("|"===(_=s.charAt(o))){if(m=null,!1===c){if(!1===k)return}else g.push(c),c=!1;k=!1}else if("-"===_)m=!0,c=c||null;else if(":"===_)c=c===i?"center":m&&null===c?"right":i;else if(!r(_))return;o++}if(!1!==c&&g.push(c),!(g.length<1)){if(a)return!0;for(D=-1,E=[],S=e(u).reset({type:"table",align:g,children:E});++D<b;){for(x=d[D],l={type:"tableRow",children:[]},D&&e(n),e(x).reset(l,S),p=x.length+1,o=0,f="",h="",y=!0;o<p;)"\t"!==(_=x.charAt(o))&&" "!==_?(""===_||"|"===_?y?e(_):((h||_)&&!y&&(u=h,f.length>1&&(_?(u+=f.slice(0,-1),f=f.charAt(f.length-1)):(u+=f,f="")),v=e.now(),e(u)({type:"tableCell",children:this.tokenizeInline(h,v)},l)),e(f+_),f="",h=""):(f&&(h+=f,f=""),h+=_,"\\"===_&&o!==p-2&&(h+=x.charAt(o+1),o++)),y=!1,o++):(h?f+=_:e(_),o++);D||e(n+s)}return S}}};var n="\n",i="left"}}),pe=m({"node_modules/remark-parse/lib/tokenize/paragraph.js"(e,t){g();var r=$(),n=W(),i=Y();t.exports=function(e,t,o){for(var s,c,u,l,p,d=this,f=d.options.commonmark,_=d.blockTokenizers,m=d.interruptParagraph,g=t.indexOf(a),h=t.length;g<h;){if(-1===g){g=h;break}if(t.charAt(g+1)===a)break;if(f){for(l=0,s=g+1;s<h;){if("\t"===(u=t.charAt(s))){l=4;break}if(" "!==u)break;l++,s++}if(l>=4&&u!==a){g=t.indexOf(a,g+1);continue}}if(c=t.slice(g+1),i(m,_,d,[e,c,!0]))break;if(s=g,-1!==(g=t.indexOf(a,g+1))&&""===r(t.slice(s,g))){g=s;break}}return c=t.slice(0,g),!!o||(p=e.now(),e(c=n(c))({type:"paragraph",children:d.tokenizeInline(c,p)}))};var a="\n"}}),de=m({"node_modules/remark-parse/lib/locate/escape.js"(e,t){g(),t.exports=function(e,t){return e.indexOf("\\",t)}}}),fe=m({"node_modules/remark-parse/lib/tokenize/escape.js"(e,t){g();var r=de();t.exports=n,n.locator=r;function n(e,t,r){var n,i;if("\\"===t.charAt(0)&&(n=t.charAt(1),-1!==this.escape.indexOf(n)))return!!r||(i="\n"===n?{type:"break"}:{type:"text",value:n},e("\\"+n)(i))}}}),_e=m({"node_modules/remark-parse/lib/locate/tag.js"(e,t){g(),t.exports=function(e,t){return e.indexOf("<",t)}}}),me=m({"node_modules/remark-parse/lib/tokenize/auto-link.js"(e,t){g();var r=oe(),n=F(),i=_e();t.exports=s,s.locator=i,s.notInLink=!0;var a="mailto:",o=a.length;function s(e,t,i){var s,c,u,l,p,d=this,f="",_=t.length,m=0,g="",h=!1,y="";if("<"===t.charAt(0)){for(m++,f="<";m<_&&(s=t.charAt(m),!(r(s)||">"===s||"@"===s||":"===s&&"/"===t.charAt(m+1)));)g+=s,m++;if(g){if(y+=g,g="",y+=s=t.charAt(m),m++,"@"===s)h=!0;else{if(":"!==s||"/"!==t.charAt(m+1))return;y+="/",m++}for(;m<_&&(s=t.charAt(m),!r(s)&&">"!==s);)g+=s,m++;if(s=t.charAt(m),g&&">"===s)return!!i||(u=y+=g,f+=y+s,(c=e.now()).column++,c.offset++,h&&(y.slice(0,o).toLowerCase()===a?(u=u.slice(o),c.column+=o,c.offset+=o):y=a+y),l=d.inlineTokenizers,d.inlineTokenizers={text:l.text},p=d.enterLink(),u=d.tokenizeInline(u,c),d.inlineTokenizers=l,p(),e(f)({type:"link",title:null,url:n(y,{nonTerminated:!1}),children:u}))}}}}}),ge=m({"node_modules/ccount/index.js"(e,t){g(),t.exports=function(e,t){var r,n=String(e),i=0;if("string"!=typeof t)throw new Error("Expected character");for(r=n.indexOf(t);-1!==r;)i++,r=n.indexOf(t,r+t.length);return i}}}),he=m({"node_modules/remark-parse/lib/locate/url.js"(e,t){g(),t.exports=function(e,t){var n,i,a,o=-1;if(!this.options.gfm)return o;for(i=r.length,n=-1;++n<i;)-1!==(a=e.indexOf(r[n],t))&&(-1===o||a<o)&&(o=a);return o};var r=["www.","http://","https://"]}}),ve=m({"node_modules/remark-parse/lib/tokenize/url.js"(e,t){g();var r=ge(),n=F(),i=C(),a=k(),o=oe(),s=he();t.exports=c,c.locator=s,c.notInLink=!0;function c(e,t,s){var c,u,l,p,d,f,_,m,g,h,y,v,D,b,x=this,E=x.options.gfm,S=x.inlineTokenizers,C=t.length,T=-1,k=!1;if(E){if("www."===t.slice(0,4))k=!0,p=4;else if("http://"===t.slice(0,7).toLowerCase())p=7;else{if("https://"!==t.slice(0,8).toLowerCase())return;p=8}for(T=p-1,l=p,c=[];p<C;)if(46!==(_=t.charCodeAt(p))){if(!i(_)&&!a(_)&&45!==_&&95!==_)break;p++}else{if(T===p-1)break;c.push(p),T=p,p++}if(46===_&&(c.pop(),p--),void 0!==c[0]&&(u=c.length<2?l:c[c.length-2]+1,-1===t.slice(u,p).indexOf("_"))){if(s)return!0;for(m=p,d=p;p<C&&(_=t.charCodeAt(p),!o(_)&&60!==_);)p++,33===_||42===_||44===_||46===_||58===_||63===_||95===_||126===_||(m=p);if(p=m,41===t.charCodeAt(p-1))for(f=t.slice(d,p),g=r(f,"("),h=r(f,")");h>g;)p=d+f.lastIndexOf(")"),f=t.slice(d,p),h--;if(59===t.charCodeAt(p-1)&&(p--,a(t.charCodeAt(p-1)))){for(m=p-2;a(t.charCodeAt(m));)m--;38===t.charCodeAt(m)&&(p=m)}return y=t.slice(0,p),D=n(y,{nonTerminated:!1}),k&&(D="http://"+D),b=x.enterLink(),x.inlineTokenizers={text:S.text},v=x.tokenizeInline(y,e.now()),x.inlineTokenizers=S,b(),e(y)({type:"link",title:null,url:D,children:v})}}}}}),De=m({"node_modules/remark-parse/lib/locate/email.js"(e,t){g();var r=C(),n=k();function i(e){return r(e)||n(e)||43===e||45===e||46===e||95===e}t.exports=function e(t,r){var n,a;if(!this.options.gfm||-1===(n=t.indexOf("@",r)))return-1;if((a=n)===r||!i(t.charCodeAt(a-1)))return e.call(this,t,n+1);for(;a>r&&i(t.charCodeAt(a-1));)a--;return a}}}),be=m({"node_modules/remark-parse/lib/tokenize/email.js"(e,t){g();var r=F(),n=C(),i=k(),a=De();t.exports=o,o.locator=a,o.notInLink=!0;function o(e,t,a){var o,s,c,u,l=this,p=l.options.gfm,d=l.inlineTokenizers,f=0,_=t.length,m=-1;if(p){for(o=t.charCodeAt(f);n(o)||i(o)||43===o||45===o||46===o||95===o;)o=t.charCodeAt(++f);if(0!==f&&64===o){for(f++;f<_&&(o=t.charCodeAt(f),n(o)||i(o)||45===o||46===o||95===o);)f++,-1===m&&46===o&&(m=f);if(-1!==m&&m!==f&&45!==o&&95!==o)return 46===o&&f--,s=t.slice(0,f),!!a||(u=l.enterLink(),l.inlineTokenizers={text:d.text},c=l.tokenizeInline(s,e.now()),l.inlineTokenizers=d,u(),e(s)({type:"link",title:null,url:"mailto:"+r(s,{nonTerminated:!1}),children:c}))}}}}}),xe=m({"node_modules/remark-parse/lib/tokenize/html-inline.js"(e,t){g();var r=k(),n=_e(),i=ie().tag;t.exports=s,s.locator=n;var a=/^<a /i,o=/^<\/a>/i;function s(e,t,n){var s,c,u=this,l=t.length;if(!("<"!==t.charAt(0)||l<3)&&(s=t.charAt(1),(r(s)||"?"===s||"!"===s||"/"===s)&&(c=t.match(i))))return!!n||(c=c[0],!u.inLink&&a.test(c)?u.inLink=!0:u.inLink&&o.test(c)&&(u.inLink=!1),e(c)({type:"html",value:c}))}}}),Ee=m({"node_modules/remark-parse/lib/locate/link.js"(e,t){g(),t.exports=function(e,t){var r=e.indexOf("[",t),n=e.indexOf("![",t);return-1===n||r<n?r:n}}}),Se=m({"node_modules/remark-parse/lib/tokenize/link.js"(e,t){g();var r=oe(),n=Ee();t.exports=s,s.locator=n;var i="(",a=")",o="\\";function s(e,t,n){var s,c,u,l,p,d,f,_,m,g,h,y,v,D,b,x,E,S,C=this,T="",k=0,A=t.charAt(0),N=C.options.pedantic,P=C.options.commonmark,F=C.options.gfm;if("!"===A&&(_=!0,T=A,A=t.charAt(++k)),"["===A&&(_||!C.inLink)){for(T+=A,D="",k++,h=t.length,v=0,(x=e.now()).column+=k,x.offset+=k;k<h;){if(d=A=t.charAt(k),"`"===A){for(c=1;"`"===t.charAt(k+1);)d+=A,k++,c++;u?c>=u&&(u=0):u=c}else if(A===o)k++,d+=t.charAt(k);else if(u&&!F||"["!==A){if((!u||F)&&"]"===A){if(!v){if(t.charAt(k+1)!==i)return;d+=i,s=!0,k++;break}v--}}else v++;D+=d,d="",k++}if(s){for(m=D,T+=D+d,k++;k<h&&(A=t.charAt(k),r(A));)T+=A,k++;if(D="",l=T,"<"===(A=t.charAt(k))){for(k++,l+="<";k<h&&">"!==(A=t.charAt(k));){if(P&&"\n"===A)return;D+=A,k++}if(">"!==t.charAt(k))return;T+="<"+D+">",b=D,k++}else{for(A=null,d="";k<h&&(A=t.charAt(k),!d||!('"'===A||"'"===A||P&&A===i));){if(r(A)){if(!N)break;d+=A}else{if(A===i)v++;else if(A===a){if(0===v)break;v--}D+=d,d="",A===o&&(D+=o,A=t.charAt(++k)),D+=A}k++}b=D,k=(T+=D).length}for(D="";k<h&&(A=t.charAt(k),r(A));)D+=A,k++;if(A=t.charAt(k),T+=D,D&&('"'===A||"'"===A||P&&A===i))if(k++,D="",g=A===i?a:A,p=T+=A,P){for(;k<h&&(A=t.charAt(k))!==g;)A===o&&(D+=o,A=t.charAt(++k)),k++,D+=A;if((A=t.charAt(k))!==g)return;for(y=D,T+=D+A,k++;k<h&&(A=t.charAt(k),r(A));)T+=A,k++}else for(d="";k<h;){if((A=t.charAt(k))===g)f&&(D+=g+d,d=""),f=!0;else if(f){if(A===a){T+=D+g+d,y=D;break}r(A)?d+=A:(D+=g+d+A,d="",f=!1)}else D+=A;k++}if(t.charAt(k)===a)return!!n||(T+=a,b=C.decode.raw(C.unescape(b),e(l).test().end,{nonTerminated:!1}),y&&(p=e(p).test().end,y=C.decode.raw(C.unescape(y),p)),S={type:_?"image":"link",title:y||null,url:b},_?S.alt=C.decode.raw(C.unescape(m),x)||null:(E=C.enterLink(),S.children=C.tokenizeInline(m,x),E()),e(T)(S))}}}}}),Ce=m({"node_modules/remark-parse/lib/tokenize/reference.js"(e,t){g();var r=oe(),n=Ee(),i=ce();t.exports=l,l.locator=n;var a="link",o="full",s="[",c="\\",u="]";function l(e,t,n){var l,p,d,f,_,m,g,h,y=this,v=y.options.commonmark,D=t.charAt(0),b=0,x=t.length,E="",S="",C=a,T="shortcut";if("!"===D&&(C="image",S=D,D=t.charAt(++b)),D===s){for(b++,S+=D,m="",h=0;b<x;){if((D=t.charAt(b))===s)g=!0,h++;else if(D===u){if(!h)break;h--}D===c&&(m+=c,D=t.charAt(++b)),m+=D,b++}if(E=m,l=m,(D=t.charAt(b))===u){if(b++,E+=D,m="",!v)for(;b<x&&(D=t.charAt(b),r(D));)m+=D,b++;if((D=t.charAt(b))===s){for(p="",m+=D,b++;b<x&&(D=t.charAt(b))!==s&&D!==u;)D===c&&(p+=c,D=t.charAt(++b)),p+=D,b++;(D=t.charAt(b))===u?(T=p?o:"collapsed",m+=p+D,b++):p="",E+=m,m=""}else{if(!l)return;p=l}if(T===o||!g)return E=S+E,C===a&&y.inLink?null:!!n||((d=e.now()).column+=S.length,d.offset+=S.length,f={type:C+"Reference",identifier:i(p=T===o?p:l),label:p,referenceType:T},C===a?(_=y.enterLink(),f.children=y.tokenizeInline(l,d),_()):f.alt=y.decode.raw(y.unescape(l),d)||null,e(E)(f))}}}}}),ke=m({"node_modules/remark-parse/lib/locate/strong.js"(e,t){g(),t.exports=function(e,t){var r=e.indexOf("**",t),n=e.indexOf("__",t);return-1===n?r:-1===r||n<r?n:r}}}),Ae=m({"node_modules/remark-parse/lib/tokenize/strong.js"(e,t){g();var r=$(),n=oe(),i=ke();t.exports=a,a.locator=i;function a(e,t,i){var a,o,s,c,u,l,p,d=0,f=t.charAt(d);if(!("*"!==f&&"_"!==f||t.charAt(++d)!==f||(o=this.options.pedantic,s=f,u=s+s,l=t.length,d++,c="",f="",o&&n(t.charAt(d)))))for(;d<l;){if(p=f,!((f=t.charAt(d))!==s||t.charAt(d+1)!==s||o&&n(p)||(f=t.charAt(d+2),f===s)))return r(c)?!!i||((a=e.now()).column+=2,a.offset+=2,e(u+c+u)({type:"strong",children:this.tokenizeInline(c,a)})):void 0;!o&&"\\"===f&&(c+=f,f=t.charAt(++d)),c+=f,d++}}}}),Ne=m({"node_modules/is-word-character/index.js"(e,t){g(),t.exports=function(e){return n.test("number"==typeof e?r(e):e.charAt(0))};var r=String.fromCharCode,n=/\w/}}),Pe=m({"node_modules/remark-parse/lib/locate/emphasis.js"(e,t){g(),t.exports=function(e,t){var r=e.indexOf("*",t),n=e.indexOf("_",t);return-1===n?r:-1===r||n<r?n:r}}}),Fe=m({"node_modules/remark-parse/lib/tokenize/emphasis.js"(e,t){g();var r=$(),n=Ne(),i=oe(),a=Pe();t.exports=o,o.locator=a;function o(e,t,a){var o,s,c,u,l,p,d,f=0,_=t.charAt(f);if(!("*"!==_&&"_"!==_||(s=this.options.pedantic,l=_,c=_,p=t.length,f++,u="",_="",s&&i(t.charAt(f)))))for(;f<p;){if(d=_,!((_=t.charAt(f))!==c||s&&i(d))){if((_=t.charAt(++f))!==c){if(!r(u)||d===c)return;if(!s&&"_"===c&&n(_)){u+=c;continue}return!!a||((o=e.now()).column++,o.offset++,e(l+u+c)({type:"emphasis",children:this.tokenizeInline(u,o)}))}u+=c}!s&&"\\"===_&&(u+=_,_=t.charAt(++f)),u+=_,f++}}}}),we=m({"node_modules/remark-parse/lib/locate/delete.js"(e,t){g(),t.exports=function(e,t){return e.indexOf("~~",t)}}}),Ie=m({"node_modules/remark-parse/lib/tokenize/delete.js"(e,t){g();var r=oe(),n=we();t.exports=a,a.locator=n;var i="~";function a(e,t,n){var a,o,s,c="",u="",l="",p="";if(this.options.gfm&&t.charAt(0)===i&&t.charAt(1)===i&&!r(t.charAt(2)))for(a=1,o=t.length,(s=e.now()).column+=2,s.offset+=2;++a<o;){if(!((c=t.charAt(a))!==i||u!==i||l&&r(l)))return!!n||e("~~"+p+"~~")({type:"delete",children:this.tokenizeInline(p,s)});p+=u,l=u,u=c}}}}),Oe=m({"node_modules/remark-parse/lib/locate/code-inline.js"(e,t){g(),t.exports=function(e,t){return e.indexOf("`",t)}}}),Le=m({"node_modules/remark-parse/lib/tokenize/code-inline.js"(e,t){g();var r=Oe();t.exports=n,n.locator=r;function n(e,t,r){for(var n,i,a,o,s,c,u=t.length,l=0;l<u&&96===t.charCodeAt(l);)l++;if(0!==l&&l!==u){for(n=l,s=t.charCodeAt(l);l<u;){if(o=s,s=t.charCodeAt(l+1),96===o){if(void 0===i&&(i=l),a=l+1,96!==s&&a-i===n){c=!0;break}}else void 0!==i&&(i=void 0,a=void 0);l++}if(c){if(r)return!0;if(l=n,u=i,o=t.charCodeAt(l),s=t.charCodeAt(u-1),c=!1,u-l>2&&(32===o||10===o)&&(32===s||10===s)){for(l++,u--;l<u;){if(32!==(o=t.charCodeAt(l))&&10!==o){c=!0;break}l++}!0===c&&(n++,i--)}return e(t.slice(0,a))({type:"inlineCode",value:t.slice(n,i)})}}}}}),Me=m({"node_modules/remark-parse/lib/locate/break.js"(e,t){g(),t.exports=function(e,t){for(var r=e.indexOf("\n",t);r>t&&" "===e.charAt(r-1);)r--;return r}}}),Re=m({"node_modules/remark-parse/lib/tokenize/break.js"(e,t){g();var r=Me();t.exports=n,n.locator=r;function n(e,t,r){for(var n,i=t.length,a=-1,o="";++a<i;){if("\n"===(n=t.charAt(a)))return a<2?void 0:!!r||e(o+=n)({type:"break"});if(" "!==n)return;o+=n}}}}),Be=m({"node_modules/remark-parse/lib/tokenize/text.js"(e,t){g(),t.exports=function(e,t,r){var n,i,a,o,s,c,u,l,p,d,f=this;if(r)return!0;for(o=(n=f.inlineMethods).length,i=f.inlineTokenizers,a=-1,p=t.length;++a<o;)"text"!==(l=n[a])&&i[l]&&((u=i[l].locator)||e.file.fail("Missing locator: `"+l+"`"),-1!==(c=u.call(f,t,1))&&c<p&&(p=c));s=t.slice(0,p),d=e.now(),f.decode(s,d,(function(t,r,n){e(n||t)({type:"text",value:t})}))}}}),je=m({"node_modules/remark-parse/lib/parser.js"(e,t){g();var r=h(),n=D(),i=b(),a=x(),o=w(),s=I();function c(e,t){this.file=t,this.offset={},this.options=r(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=i(t).toOffset,this.unescape=a(this,"escape"),this.decode=o(this)}t.exports=c;var u=c.prototype;function l(e){var t,r=[];for(t in e)r.push(t);return r}u.setOptions=R(),u.parse=q(),u.options=M(),u.exitStart=n("atStart",!0),u.enterList=n("inList",!1),u.enterLink=n("inLink",!1),u.enterBlock=n("inBlock",!1),u.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]],u.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]],u.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}]],u.blockTokenizers={blankLine:V(),indentedCode:H(),fencedCode:G(),blockquote:X(),atxHeading:Q(),thematicBreak:Z(),list:re(),setextHeading:ne(),html:ae(),definition:ue(),table:le(),paragraph:pe()},u.inlineTokenizers={escape:fe(),autoLink:me(),url:ve(),email:be(),html:xe(),link:Se(),reference:Ce(),strong:Ae(),emphasis:Fe(),deletion:Ie(),code:Le(),break:Re(),text:Be()},u.blockMethods=l(u.blockTokenizers),u.inlineMethods=l(u.inlineTokenizers),u.tokenizeBlock=s("block"),u.tokenizeInline=s("inline"),u.tokenizeFactory=s}}),Ke=m({"node_modules/remark-parse/index.js"(e,t){g();var r=v(),n=h(),i=je();function a(e){var t=this.data("settings"),a=r(i);a.prototype.options=n(a.prototype.options,t,e),this.Parser=a}t.exports=a,a.Parser=i}}),Je=m({"node_modules/bail/index.js"(e,t){g(),t.exports=function(e){if(e)throw e}}}),Ue=m({"node_modules/is-buffer/index.js"(e,t){g(),t.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}}}),qe=m({"node_modules/extend/index.js"(e,t){g();var r=Object.prototype.hasOwnProperty,n=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},s=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var t,i=r.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!a)return!1;for(t in e);return typeof t>"u"||r.call(e,t)},c=function(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!r.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,r,n,i,a,l,p=arguments[0],d=1,f=arguments.length,_=!1;for("boolean"==typeof p&&(_=p,p=arguments[1]||{},d=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});d<f;++d)if(null!=(t=arguments[d]))for(r in t)n=u(p,r),p!==(i=u(t,r))&&(_&&i&&(s(i)||(a=o(i)))?(a?(a=!1,l=n&&o(n)?n:[]):l=n&&s(n)?n:{},c(p,{name:r,newValue:e(_,l,i)})):typeof i<"u"&&c(p,{name:r,newValue:i}));return p}}}),Ve=m({"node_modules/is-plain-obj/index.js"(e,t){g(),t.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}}}),ze=m({"node_modules/trough/wrap.js"(e,t){g();var r=[].slice;t.exports=function(e,t){var n;return function(){var t,o=r.call(arguments,0),s=e.length>o.length;s&&o.push(i);try{t=e.apply(null,o)}catch(e){if(s&&n)throw e;return i(e)}s||(t&&"function"==typeof t.then?t.then(a,i):t instanceof Error?i(t):a(t))};function i(){n||(n=!0,t.apply(null,arguments))}function a(e){i(null,e)}}}}),We=m({"node_modules/trough/index.js"(e,t){g();var r=ze();t.exports=i,i.wrap=r;var n=[].slice;function i(){var e=[],t={run:function(){var t=-1,i=n.call(arguments,0,-1),a=arguments[arguments.length-1];if("function"!=typeof a)throw new Error("Expected function as last argument, not "+a);function o(s){var c=e[++t],u=n.call(arguments,0).slice(1),l=i.length,p=-1;if(s)a(s);else{for(;++p<l;)(null===u[p]||void 0===u[p])&&(u[p]=i[p]);i=u,c?r(c,o).apply(null,i):a.apply(null,[null].concat(i))}}o.apply(null,[null].concat(i))},use:function(r){if("function"!=typeof r)throw new Error("Expected `fn` to be a function, not "+r);return e.push(r),t}};return t}}}),He=m({"node_modules/unist-util-stringify-position/index.js"(e,t){g();var r={}.hasOwnProperty;function n(e){return(!e||"object"!=typeof e)&&(e={}),a(e.line)+":"+a(e.column)}function i(e){return(!e||"object"!=typeof e)&&(e={}),n(e.start)+"-"+n(e.end)}function a(e){return e&&"number"==typeof e?e:1}t.exports=function(e){return e&&"object"==typeof e?r.call(e,"position")||r.call(e,"type")?i(e.position):r.call(e,"start")||r.call(e,"end")?i(e):r.call(e,"line")||r.call(e,"column")?n(e):"":""}}}),Ge=m({"node_modules/vfile-message/index.js"(e,t){g();var r=He();function n(){}t.exports=a,n.prototype=Error.prototype,a.prototype=new n;var i=a.prototype;function a(e,t,n){var i,a,o;"string"==typeof t&&(n=t,t=null),i=function(e){var t,r=[null,null];return"string"==typeof e&&(-1===(t=e.indexOf(":"))?r[1]=e:(r[0]=e.slice(0,t),r[1]=e.slice(t+1))),r}(n),a=r(t)||"1:1",o={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(o=t,t=t.start):o.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=a,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=o,this.source=i[0],this.ruleId=i[1]}i.file="",i.name="",i.reason="",i.message="",i.stack="",i.fatal=null,i.column=null,i.line=null}}),$e=m({"node_modules/vfile/lib/minpath.browser.js"(e){function t(e){var t,n;return r(e),t=47===e.charCodeAt(0),!(n=function(e,t){for(var r,n,i="",a=0,o=-1,s=0,c=-1;++c<=e.length;){if(c<e.length)r=e.charCodeAt(c);else{if(47===r)break;r=47}if(47===r){if(o!==c-1&&1!==s)if(o!==c-1&&2===s){if(i.length<2||2!==a||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if((n=i.lastIndexOf("/"))!==i.length-1){n<0?(i="",a=0):a=(i=i.slice(0,n)).length-1-i.lastIndexOf("/"),o=c,s=0;continue}}else if(i.length){i="",a=0,o=c,s=0;continue}t&&(i=i.length?i+"/..":"..",a=2)}else i.length?i+="/"+e.slice(o+1,c):i=e.slice(o+1,c),a=c-o-1;o=c,s=0}else 46===r&&s>-1?s++:s=-1}return i}(e,!t)).length&&!t&&(n="."),n.length&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}function r(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}g(),e.basename=function(e,t){var n,i,a,o,s=0,c=-1;if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');if(r(e),n=e.length,void 0===t||!t.length||t.length>e.length){for(;n--;)if(47===e.charCodeAt(n)){if(a){s=n+1;break}}else c<0&&(a=!0,c=n+1);return c<0?"":e.slice(s,c)}if(t===e)return"";for(i=-1,o=t.length-1;n--;)if(47===e.charCodeAt(n)){if(a){s=n+1;break}}else i<0&&(a=!0,i=n+1),o>-1&&(e.charCodeAt(n)===t.charCodeAt(o--)?o<0&&(c=n):(o=-1,c=i));return s===c?c=i:c<0&&(c=e.length),e.slice(s,c)},e.dirname=function(e){var t,n,i;if(r(e),!e.length)return".";for(t=-1,i=e.length;--i;)if(47===e.charCodeAt(i)){if(n){t=i;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},e.extname=function(e){var t,n,i,a=-1,o=0,s=-1,c=0;for(r(e),i=e.length;i--;)if(47!==(n=e.charCodeAt(i)))s<0&&(t=!0,s=i+1),46===n?a<0?a=i:1!==c&&(c=1):a>-1&&(c=-1);else if(t){o=i+1;break}return a<0||s<0||0===c||1===c&&a===s-1&&a===o+1?"":e.slice(a,s)},e.join=function(){for(var e,n=-1;++n<arguments.length;)r(arguments[n]),arguments[n]&&(e=void 0===e?arguments[n]:e+"/"+arguments[n]);return void 0===e?".":t(e)},e.sep="/"}}),Ye=m({"node_modules/vfile/lib/minproc.browser.js"(e){g(),e.cwd=function(){return"/"}}}),Xe=m({"node_modules/vfile/lib/core.js"(e,t){g();var r=$e(),n=Ye(),i=Ue();t.exports=s;var a={}.hasOwnProperty,o=["history","path","basename","stem","extname","dirname"];function s(e){var t,r;if(e){if("string"==typeof e||i(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof s))return new s(e);for(this.data={},this.messages=[],this.history=[],this.cwd=n.cwd(),r=-1;++r<o.length;)t=o[r],a.call(e,t)&&(this[t]=e[t]);for(t in e)o.indexOf(t)<0&&(this[t]=e[t])}function c(e,t){if(e&&e.indexOf(r.sep)>-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function u(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function l(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}s.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(s.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){u(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(s.prototype,"dirname",{get:function(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function(e){l(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(s.prototype,"basename",{get:function(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function(e){u(e,"basename"),c(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(s.prototype,"extname",{get:function(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function(e){if(c(e,"extname"),l(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(s.prototype,"stem",{get:function(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function(e){u(e,"stem"),c(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})}}),Qe=m({"node_modules/vfile/lib/index.js"(e,t){g();var r=Ge(),n=Xe();t.exports=n,n.prototype.message=function(e,t,n){var i=new r(e,t,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i},n.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},n.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}}}),Ze=m({"node_modules/vfile/index.js"(e,t){g(),t.exports=Qe()}}),et=m({"node_modules/unified/index.js"(e,t){g();var r=Je(),n=Ue(),i=qe(),a=Ve(),o=We(),s=Ze();t.exports=function e(){var t,n=[],g=o(),y={},v=-1;return D.data=function(e,r){return"string"==typeof e?2===arguments.length?(_("data",t),y[e]=r,D):u.call(y,e)&&y[e]||null:e?(_("data",t),y=e,D):y},D.freeze=b,D.attachers=n,D.use=function(e){var r;if(_("use",t),null!=e)if("function"==typeof e)l.apply(null,arguments);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?u(e):o(e)}return r&&(y.settings=i(y.settings||{},r)),D;function o(e){u(e.plugins),e.settings&&(r=i(r||{},e.settings))}function s(e){if("function"==typeof e)l(e);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?l.apply(null,e):o(e)}}function u(e){var t=-1;if(null!=e){if("object"!=typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)s(e[t])}}function l(e,t){var r=x(e);r?(a(r[1])&&a(t)&&(t=i(!0,r[1],t)),r[1]=t):n.push(c.call(arguments))}},D.parse=function(e){var t,r=s(e);return b(),d("parse",t=D.Parser),p(t,"parse")?new t(String(r),r).parse():t(String(r),r)},D.stringify=function(e,t){var r,n=s(t);return b(),f("stringify",r=D.Compiler),m(e),p(r,"compile")?new r(e,n).compile():r(e,n)},D.run=E,D.runSync=function(e,t){var n,i;return E(e,t,a),h("runSync","run",i),n;function a(e,t){i=!0,n=t,r(e)}},D.process=S,D.processSync=function(e){var t,n;return b(),d("processSync",D.Parser),f("processSync",D.Compiler),S(t=s(e),i),h("processSync","process",n),t;function i(e){n=!0,r(e)}},D;function D(){for(var t=e(),r=-1;++r<n.length;)t.use.apply(null,n[r]);return t.data(i(!0,{},y)),t}function b(){var e,r;if(t)return D;for(;++v<n.length;)!1!==(e=n[v])[1]&&(!0===e[1]&&(e[1]=void 0),"function"==typeof(r=e[0].apply(D,e.slice(1)))&&g.use(r));return t=!0,v=1/0,D}function x(e){for(var t=-1;++t<n.length;)if(n[t][0]===e)return n[t]}function E(e,t,r){if(m(e),b(),!r&&"function"==typeof t&&(r=t,t=null),!r)return new Promise(n);function n(n,i){g.run(e,s(t),(function(t,a,o){a=a||e,t?i(t):n?n(a):r(null,a,o)}))}n(null,r)}function S(e,t){if(b(),d("process",D.Parser),f("process",D.Compiler),!t)return new Promise(r);function r(r,n){var i=s(e);l.run(D,{file:i},(function(e){e?n(e):r?r(i):t(null,i)}))}r(null,t)}}().freeze();var c=[].slice,u={}.hasOwnProperty,l=o().use((function(e,t){t.tree=e.parse(t.file)})).use((function(e,t,r){e.run(t.tree,t.file,(function(e,n,i){e?r(e):(t.tree=n,t.file=i,r())}))})).use((function(e,t){var r=e.stringify(t.tree,t.file);null==r||("string"==typeof r||n(r)?t.file.contents=r:t.file.result=r)}));function p(e,t){return"function"==typeof e&&e.prototype&&(function(e){var t;for(t in e)return!0;return!1}(e.prototype)||t in e.prototype)}function d(e,t){if("function"!=typeof t)throw new Error("Cannot `"+e+"` without `Parser`")}function f(e,t){if("function"!=typeof t)throw new Error("Cannot `"+e+"` without `Compiler`")}function _(e,t){if(t)throw new Error("Cannot invoke `"+e+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function m(e){if(!e||"string"!=typeof e.type)throw new Error("Expected node, got `"+e+"`")}function h(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}}}),tt=m({"node_modules/remark-math/util.js"(e){g(),e.isRemarkParser=function(e){return Boolean(e&&e.prototype&&e.prototype.blockTokenizers)},e.isRemarkCompiler=function(e){return Boolean(e&&e.prototype&&e.prototype.visitors)}}}),rt=m({"node_modules/remark-math/inline.js"(e,t){g();var r=tt();t.exports=function(e){let t=this.Parser,o=this.Compiler;r.isRemarkParser(t)&&function(e,t){let r=e.prototype,o=r.inlineMethods;function s(e,t){return e.indexOf("$",t)}function c(e,r,o){let s,c,u,l,p,d,f,_=r.length,m=!1,g=!1,h=0;if(92===r.charCodeAt(h)&&(g=!0,h++),r.charCodeAt(h)===n){if(h++,g)return!!o||e(r.slice(0,h))({type:"text",value:"$"});if(r.charCodeAt(h)===n&&(m=!0,h++),u=r.charCodeAt(h),32!==u&&9!==u){for(l=h;h<_;){if(c=u,u=r.charCodeAt(h+1),c===n){if(s=r.charCodeAt(h-1),32!==s&&9!==s&&(u!=u||u<48||u>57)&&(!m||u===n)){p=h-1,h++,m&&h++,d=h;break}}else 92===c&&(h++,u=r.charCodeAt(h+1));h++}if(void 0!==d)return!!o||(f=r.slice(l,p+1),e(r.slice(0,d))({type:"inlineMath",value:f,data:{hName:"span",hProperties:{className:i.concat(m&&t.inlineMathDouble?[a]:[])},hChildren:[{type:"text",value:f}]}}))}}}c.locator=s,r.inlineTokenizers.math=c,o.splice(o.indexOf("text"),0,"math")}(t,e),r.isRemarkCompiler(o)&&function(e){function t(e){let t="$";return(e.data&&e.data.hProperties&&e.data.hProperties.className||[]).includes(a)&&(t="$$"),t+e.value+t}e.prototype.visitors.inlineMath=t}(o)};var n=36,i=["math","math-inline"],a="math-display"}}),nt=m({"node_modules/remark-math/block.js"(e,t){g();var r=tt();t.exports=function(){let e=this.Parser,t=this.Compiler;r.isRemarkParser(e)&&function(e){let t=e.prototype,r=t.blockMethods,s=t.interruptParagraph,c=t.interruptList,u=t.interruptBlockquote;function l(e,t,r){var s=t.length,c=0;let u,l,p,d,f,_,m,g,h,y,v;for(;c<s&&t.charCodeAt(c)===n;)c++;for(f=c;c<s&&t.charCodeAt(c)===i;)c++;if(_=c-f,!(_<2)){for(;c<s&&t.charCodeAt(c)===n;)c++;for(m=c;c<s;){if(u=t.charCodeAt(c),u===i)return;if(10===u)break;c++}if(10===t.charCodeAt(c)){if(r)return!0;for(l=[],m!==c&&l.push(t.slice(m,c)),c++,p=t.indexOf(a,c+1),p=-1===p?s:p;c<s;){for(g=!1,y=c,v=p,d=p,h=0;d>y&&t.charCodeAt(d-1)===n;)d--;for(;d>y&&t.charCodeAt(d-1)===i;)h++,d--;for(_<=h&&t.indexOf("$",y)===d&&(g=!0,v=d);y<=v&&y-c<f&&t.charCodeAt(y)===n;)y++;if(g)for(;v>y&&t.charCodeAt(v-1)===n;)v--;if((!g||y!==v)&&l.push(t.slice(y,v)),g)break;c=p+1,p=t.indexOf(a,c+1),p=-1===p?s:p}return l=l.join("\n"),e(t.slice(0,p))({type:"math",value:l,data:{hName:"div",hProperties:{className:o.concat()},hChildren:[{type:"text",value:l}]}})}}}t.blockTokenizers.math=l,r.splice(r.indexOf("fencedCode")+1,0,"math"),s.splice(s.indexOf("fencedCode")+1,0,["math"]),c.splice(c.indexOf("fencedCode")+1,0,["math"]),u.splice(u.indexOf("fencedCode")+1,0,["math"])}(e),r.isRemarkCompiler(t)&&function(e){function t(e){return"$$\n"+e.value+"\n$$"}e.prototype.visitors.math=t}(t)};var n=32,i=36,a="\n",o=["math","math-display"]}}),it=m({"node_modules/remark-math/index.js"(e,t){g();var r=rt(),n=nt();t.exports=function(e){var t=e||{};n.call(this,t),r.call(this,t)}}}),at=m({"node_modules/remark-footnotes/index.js"(e,t){g(),t.exports=function(e){var t=this.Parser,l=this.Compiler;(function(e){return Boolean(e&&e.prototype&&e.prototype.blockTokenizers)})(t)&&function(e,t){for(var l,p=t||{},d=e.prototype,f=d.blockTokenizers,_=d.inlineTokenizers,m=d.blockMethods,g=d.inlineMethods,h=f.definition,y=_.reference,v=[],D=-1,b=m.length;++D<b;)"newline"!==(l=m[D])&&"indentedCode"!==l&&"paragraph"!==l&&"footnoteDefinition"!==l&&v.push([l]);function x(e,t,s){for(var c,l,p,d,_,m,g,h,y,v,D,b,x,E=this,S=E.interruptFootnoteDefinition,C=E.offset,T=t.length+1,k=0,A=[];k<T&&(9===(d=t.charCodeAt(k))||d===n);)k++;if(t.charCodeAt(k++)===i&&t.charCodeAt(k++)===o){for(l=k;k<T;){if((d=t.charCodeAt(k))!=d||d===r||9===d||d===n)return;if(d===a){p=k,k++;break}k++}if(void 0!==p&&l!==p&&58===t.charCodeAt(k++)){if(s)return!0;for(c=t.slice(l,p),_=e.now(),y=0,v=0,D=k,b=[];k<T;){if((d=t.charCodeAt(k))!=d||d===r)x={start:y,contentStart:D||k,contentEnd:k,end:k},b.push(x),d===r&&(y=k+1,v=0,D=void 0,x.end=y);else if(void 0!==v)if(d===n||9===d)(v+=d===n?1:4-v%4)>4&&(v=void 0,D=k);else{if(v<4&&x&&(x.contentStart===x.contentEnd||u(S,f,E,[e,t.slice(k,1024),!0])))break;v=void 0,D=k}k++}for(k=-1,T=b.length;T>0&&(x=b[T-1]).contentStart===x.contentEnd;)T--;for(m=e(t.slice(0,x.contentEnd));++k<T;)x=b[k],C[_.line+k]=(C[_.line+k]||0)+(x.contentStart-x.start),A.push(t.slice(x.contentStart,x.end));return g=E.enterBlock(),h=E.tokenizeBlock(A.join(""),_),g(),m({type:"footnoteDefinition",identifier:c.toLowerCase(),label:c,children:h})}}}function E(e,t,s){var c,u,l,p,d=t.length+1,f=0;if(t.charCodeAt(f++)===i&&t.charCodeAt(f++)===o){for(u=f;f<d;){if((p=t.charCodeAt(f))!=p||p===r||9===p||p===n)return;if(p===a){l=f,f++;break}f++}if(void 0!==l&&u!==l)return!!s||(c=t.slice(u,l),e(t.slice(0,f))({type:"footnoteReference",identifier:c.toLowerCase(),label:c}))}}function S(e,t,r){var n,c,u,l,p,d,f,_=this,m=t.length+1,g=0,h=0;if(t.charCodeAt(g++)===o&&t.charCodeAt(g++)===i){for(u=g;g<m;){if((c=t.charCodeAt(g))!=c)return;if(void 0===d)if(92===c)g+=2;else if(c===i)h++,g++;else if(c===a){if(0===h){l=g,g++;break}h--,g++}else if(c===s){for(p=g,d=1;t.charCodeAt(p+d)===s;)d++;g+=d}else g++;else if(c===s){for(p=g,f=1;t.charCodeAt(p+f)===s;)f++;g+=f,d===f&&(d=void 0),f=void 0}else g++}if(void 0!==l)return!!r||((n=e.now()).column+=2,n.offset+=2,e(t.slice(0,g))({type:"footnote",children:_.tokenizeInline(t.slice(u,l),n)}))}}function C(e,t,r){var n=0;if(33===t.charCodeAt(n)&&n++,t.charCodeAt(n)===i&&t.charCodeAt(n+1)!==o)return y.call(this,e,t,r)}function T(e,t,r){for(var a=0,s=t.charCodeAt(a);s===n||9===s;)s=t.charCodeAt(++a);if(s===i&&t.charCodeAt(a+1)!==o)return h.call(this,e,t,r)}function k(e,t){return e.indexOf("[",t)}function A(e,t){return e.indexOf("^[",t)}v.push(["footnoteDefinition"]),p.inlineNotes&&(c(g,"reference","inlineNote"),_.inlineNote=S),c(m,"definition","footnoteDefinition"),c(g,"reference","footnoteCall"),f.definition=T,f.footnoteDefinition=x,_.footnoteCall=E,_.reference=C,d.interruptFootnoteDefinition=v,C.locator=y.locator,E.locator=k,S.locator=A}(t,e),function(e){return Boolean(e&&e.prototype&&e.prototype.visitors)}(l)&&function(e){var t=e.prototype.visitors,r=" ";function n(e){return"^["+this.all(e).join("")+"]"}function i(e){return"[^"+(e.label||e.identifier)+"]"}function a(e){for(var t,n=this.all(e).join("\n\n").split("\n"),i=0,a=n.length;++i<a;)""!==(t=n[i])&&(n[i]=r+t);return"[^"+(e.label||e.identifier)+"]: "+n.join("\n")}t.footnote=n,t.footnoteReference=i,t.footnoteDefinition=a}(l)};var r=10,n=32,i=91,a=93,o=94,s=96;function c(e,t,r){e.splice(e.indexOf(t),0,r)}function u(e,t,r,n){for(var i=e.length,a=-1;++a<i;)if(t[e[a][0]].apply(r,n))return!0;return!1}}}),ot=m({"src/utils/front-matter/parse.js"(e,t){g();var r=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");t.exports=function(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:i,value:a="",endDelimiter:o}=t.groups,s=i.trim()||"yaml";if("+++"===n&&(s="toml"),"yaml"!==s&&n!==o)return{content:e};let[c]=t;return{frontMatter:{type:"front-matter",lang:s,value:a,startDelimiter:n,endDelimiter:o,raw:c.replace(/\n$/,"")},content:c.replace(/[^\n]/g," ")+e.slice(c.length)}}}}),st=m({"src/language-markdown/pragma.js"(e,t){g();var r=ot(),n=["format","prettier"];function i(e){let t="@(".concat(n.join("|"),")"),r=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"{\\s*\\/\\*\\s*".concat(t,"\\s*\\*\\/\\s*}"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),i=e.match(r);return i&&0===i.index}t.exports={startWithPragma:i,hasPragma:e=>i(r(e).content.trimStart()),insertPragma:e=>{let t=r(e),i="\x3c!-- @".concat(n[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(i,"\n\n").concat(t.content):"".concat(i,"\n\n").concat(t.content)}}}}),ct=m({"src/language-markdown/loc.js"(e,t){g(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),ut=m({"src/language-markdown/mdx.js"(e,t){g();var r=/^import\s/,n=/^export\s/,i=/^{\s*\/\*(.*)\*\/\s*}/,a=e=>r.test(e),o=e=>n.test(e),s=(e,t)=>{let r=t.indexOf("\n\n"),n=t.slice(0,r);if(o(n)||a(n))return e(n)({type:o(n)?"export":"import",value:n})},c=(e,t)=>{let r=i.exec(t);if(r)return e(r[0])({type:"esComment",value:r[1].trim()})};s.locator=e=>o(e)||a(e)?-1:1,c.locator=(e,t)=>e.indexOf("{",t),t.exports={esSyntax:function(){let{Parser:e}=this,{blockTokenizers:t,blockMethods:r,inlineTokenizers:n,inlineMethods:i}=e.prototype;t.esSyntax=s,n.esComment=c,r.splice(r.indexOf("paragraph"),0,"esSyntax"),i.splice(i.indexOf("text"),0,"esComment")},BLOCKS_REGEX:"[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|",COMMENT_REGEX:/<!---->|<!---?[^>-](?:-?[^-])*-->/}}}),lt=m({"node_modules/escape-string-regexp/index.js"(e,t){g(),t.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}}}),pt=m({"src/utils/get-last.js"(e,t){g();t.exports=e=>e[e.length-1]}}),dt=m({"node_modules/semver/internal/debug.js"(e,t){g();var r="object"==typeof p&&p.env&&p.env.NODE_DEBUG&&/\bsemver\b/i.test(p.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.error("SEMVER",...t)}:()=>{};t.exports=r}}),ft=m({"node_modules/semver/internal/constants.js"(e,t){g();var r=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:16}}}),_t=m({"node_modules/semver/internal/re.js"(e,t){g();var{MAX_SAFE_COMPONENT_LENGTH:r}=ft(),n=dt(),i=(e=t.exports={}).re=[],a=e.src=[],o=e.t={},s=0,c=(e,t,r)=>{let c=s++;n(c,t),o[e]=c,a[c]=t,i[c]=new RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION","(".concat(a[o.NUMERICIDENTIFIER],")\\.(").concat(a[o.NUMERICIDENTIFIER],")\\.(").concat(a[o.NUMERICIDENTIFIER],")")),c("MAINVERSIONLOOSE","(".concat(a[o.NUMERICIDENTIFIERLOOSE],")\\.(").concat(a[o.NUMERICIDENTIFIERLOOSE],")\\.(").concat(a[o.NUMERICIDENTIFIERLOOSE],")")),c("PRERELEASEIDENTIFIER","(?:".concat(a[o.NUMERICIDENTIFIER],"|").concat(a[o.NONNUMERICIDENTIFIER],")")),c("PRERELEASEIDENTIFIERLOOSE","(?:".concat(a[o.NUMERICIDENTIFIERLOOSE],"|").concat(a[o.NONNUMERICIDENTIFIER],")")),c("PRERELEASE","(?:-(".concat(a[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(a[o.PRERELEASEIDENTIFIER],")*))")),c("PRERELEASELOOSE","(?:-?(".concat(a[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(a[o.PRERELEASEIDENTIFIERLOOSE],")*))")),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD","(?:\\+(".concat(a[o.BUILDIDENTIFIER],"(?:\\.").concat(a[o.BUILDIDENTIFIER],")*))")),c("FULLPLAIN","v?".concat(a[o.MAINVERSION]).concat(a[o.PRERELEASE],"?").concat(a[o.BUILD],"?")),c("FULL","^".concat(a[o.FULLPLAIN],"$")),c("LOOSEPLAIN","[v=\\s]*".concat(a[o.MAINVERSIONLOOSE]).concat(a[o.PRERELEASELOOSE],"?").concat(a[o.BUILD],"?")),c("LOOSE","^".concat(a[o.LOOSEPLAIN],"$")),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE","".concat(a[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),c("XRANGEIDENTIFIER","".concat(a[o.NUMERICIDENTIFIER],"|x|X|\\*")),c("XRANGEPLAIN","[v=\\s]*(".concat(a[o.XRANGEIDENTIFIER],")(?:\\.(").concat(a[o.XRANGEIDENTIFIER],")(?:\\.(").concat(a[o.XRANGEIDENTIFIER],")(?:").concat(a[o.PRERELEASE],")?").concat(a[o.BUILD],"?)?)?")),c("XRANGEPLAINLOOSE","[v=\\s]*(".concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:").concat(a[o.PRERELEASELOOSE],")?").concat(a[o.BUILD],"?)?)?")),c("XRANGE","^".concat(a[o.GTLT],"\\s*").concat(a[o.XRANGEPLAIN],"$")),c("XRANGELOOSE","^".concat(a[o.GTLT],"\\s*").concat(a[o.XRANGEPLAINLOOSE],"$")),c("COERCE","(^|[^\\d])(\\d{1,".concat(r,"})(?:\\.(\\d{1,").concat(r,"}))?(?:\\.(\\d{1,").concat(r,"}))?(?:$|[^\\d])")),c("COERCERTL",a[o.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM","(\\s*)".concat(a[o.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",c("TILDE","^".concat(a[o.LONETILDE]).concat(a[o.XRANGEPLAIN],"$")),c("TILDELOOSE","^".concat(a[o.LONETILDE]).concat(a[o.XRANGEPLAINLOOSE],"$")),c("LONECARET","(?:\\^)"),c("CARETTRIM","(\\s*)".concat(a[o.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",c("CARET","^".concat(a[o.LONECARET]).concat(a[o.XRANGEPLAIN],"$")),c("CARETLOOSE","^".concat(a[o.LONECARET]).concat(a[o.XRANGEPLAINLOOSE],"$")),c("COMPARATORLOOSE","^".concat(a[o.GTLT],"\\s*(").concat(a[o.LOOSEPLAIN],")$|^$")),c("COMPARATOR","^".concat(a[o.GTLT],"\\s*(").concat(a[o.FULLPLAIN],")$|^$")),c("COMPARATORTRIM","(\\s*)".concat(a[o.GTLT],"\\s*(").concat(a[o.LOOSEPLAIN],"|").concat(a[o.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE","^\\s*(".concat(a[o.XRANGEPLAIN],")\\s+-\\s+(").concat(a[o.XRANGEPLAIN],")\\s*$")),c("HYPHENRANGELOOSE","^\\s*(".concat(a[o.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(a[o.XRANGEPLAINLOOSE],")\\s*$")),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}}),mt=m({"node_modules/semver/internal/parse-options.js"(e,t){g();var r=["includePrerelease","loose","rtl"];t.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}}}),gt=m({"node_modules/semver/internal/identifiers.js"(e,t){g();var r=/^[0-9]+$/,n=(e,t)=>{let n=r.test(e),i=r.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:e<t?-1:1};t.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}}}),ht=m({"node_modules/semver/classes/semver.js"(e,t){g();var r=dt(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=ft(),{re:a,t:o}=_t(),s=mt(),{compareIdentifiers:c}=gt(),u=class{constructor(e,t){if(t=s(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>n)throw new TypeError("version is longer than ".concat(n," characters"));r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let c=e.trim().match(t.loose?a[o.LOOSE]:a[o.FULL]);if(!c)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+c[1],this.minor=+c[2],this.patch=+c[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");c[4]?this.prerelease=c[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=c[5]?c[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return c(n,i)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{let n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return c(n,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}};t.exports=u}}),yt=m({"node_modules/semver/functions/compare.js"(e,t){g();var r=ht();t.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))}}),vt=m({"node_modules/semver/functions/lt.js"(e,t){g();var r=yt();t.exports=(e,t,n)=>r(e,t,n)<0}}),Dt=m({"node_modules/semver/functions/gte.js"(e,t){g();var r=yt();t.exports=(e,t,n)=>r(e,t,n)>=0}}),bt=m({"src/utils/arrayify.js"(e,t){g(),t.exports=(e,t)=>Object.entries(e).map((e=>{let[r,n]=e;return Object.assign({[t]:r},n)}))}}),xt=m({"package.json"(e,t){t.exports={version:"2.6.1"}}}),Et=m({"node_modules/outdent/lib/index.js"(e,t){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function n(){return typeof WeakMap<"u"?new WeakMap:{add:r,delete:r,get:r,set:r,has:function(e){return!1}}}g(),Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;var i=Object.prototype.hasOwnProperty,a=function(e,t){return i.call(e,t)};function o(e,t){for(var r in t)a(t,r)&&(e[r]=t[r]);return e}var s=/^[ \t]*(?:\r\n|\r|\n)/,c=/(?:\r\n|\r|\n)[ \t]*$/,u=/^(?:[\r\n]|$)/,l=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function d(e,t,r){var n=0,i=e[0].match(l);i&&(n=i[1].length);var a=new RegExp("(\\r\\n|\\r|\\n).{0,"+n+"}","g");t&&(e=e.slice(1));var o=r.newline,u=r.trimLeadingNewline,p=r.trimTrailingNewline,d="string"==typeof o,f=e.length;return e.map((function(e,t){return e=e.replace(a,"$1"),0===t&&u&&(e=e.replace(s,"")),t===f-1&&p&&(e=e.replace(c,"")),d&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return o}))),e}))}function f(e,t){for(var r="",n=0,i=e.length;n<i;n++)r+=e[n],n<i-1&&(r+=t[n]);return r}function _(e){return a(e,"raw")&&a(e,"length")}var m=function e(t){var r=n(),i=n();return o((function n(a){for(var s=[],c=1;c<arguments.length;c++)s[c-1]=arguments[c];if(_(a)){var l=a,g=(s[0]===n||s[0]===m)&&p.test(l[0])&&u.test(l[1]),h=g?i:r,y=h.get(l);return y||(y=d(l,g,t),h.set(l,y)),0===s.length?y[0]:f(y,g?s.slice(1):s)}return e(o(o({},t),a||{}))}),{string:function(e){return d([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});if(e.outdent=m,e.default=m,typeof t<"u")try{t.exports=m,Object.defineProperty(m,"__esModule",{value:!0}),m.default=m,m.outdent=m}catch{}}}),St=m({"src/main/core-options.js"(e,t){g();var{outdent:c}=Et(),u="Config",p="Editor",d="Other",f="Global",_="Special",m={cursorOffset:{since:"1.4.0",category:_,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:c(r||(r=l(["\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n "]))),cliCategory:p},endOfLine:{since:"1.15.0",category:f,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:c(n||(n=l(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "])))}]},filepath:{since:"1.4.0",category:_,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:d,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:_,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:d},parser:{since:"0.0.10",category:f,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:f,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:u},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:f,description:c(i||(i=l(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]))),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:u},printWidth:{since:"0.0.0",category:f,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:_,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:c(a||(a=l(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:p},rangeStart:{since:"1.4.0",category:_,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:c(o||(o=l(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:p},requirePragma:{since:"1.7.0",category:_,type:"boolean",default:!1,description:c(s||(s=l(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]))),cliCategory:d},tabWidth:{type:"int",category:f,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:f,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:f,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:u,CATEGORY_EDITOR:p,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:d,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:f,CATEGORY_SPECIAL:_,options:m}}}),Ct=m({"src/main/support.js"(e,t){g();var r={compare:yt(),lt:vt(),gte:Dt()},n=bt(),i=xt().version,a=St().options;function o(e,t,r){let n=new Set(e.choices.map((e=>e.value)));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!n.has(t)){n.add(t);let a=r.find((e=>e.parsers&&e.parsers[t])),o=i.name;a&&a.name&&(o+=" (plugin: ".concat(a.name,")")),e.choices.push({value:t,description:o})}}t.exports={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:s=!1,showInternal:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=i.split("-",1)[0],d=e.flatMap((e=>e.languages||[])).filter(_),f=n(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),a),"name").filter((e=>_(e)&&m(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map(g).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(_).sort(((e,t)=>r.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>_(e)&&m(e))),"parser"===t.name&&o(t,d,e));let n=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})}));return{languages:d,options:f};function _(e){return t||!("since"in e)||e.since&&r.gte(p,e.since)}function m(e){return s||!("deprecated"in e)||e.deprecated&&r.lt(p,e.deprecated)}function g(e){if(l)return e;let{cliName:t,cliCategory:r,cliDescription:n}=e;return u(e,c)}}}}}),Tt=m({"src/utils/is-non-empty-array.js"(e,t){g(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),kt=m({"vendors/string-width.js"(e,t){g();var r,n,i=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,c=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,l=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))!u.call(e,i)&&i!==r&&a(e,i,{get:()=>t[i],enumerable:!(n=o(t,i))||n.enumerable});return e},p=(r={"node_modules/emoji-regex/index.js"(e,t){t.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}},function(){return n||(0,r[s(r)[0]])((n={exports:{}}).exports,n),n.exports}),d={};function f(e){if("string"!=typeof e)throw new TypeError("Expected a `string`, got `".concat(typeof e,"`"));return e.replace(function(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}(),"")}function _(e){return!!Number.isInteger(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}((e,t)=>{for(var r in t)a(e,r,{get:t[r],enumerable:!0})})(d,{default:()=>h}),t.exports=(e=>l(a({},"__esModule",{value:!0}),e))(d);var m=((e,t,r)=>(r=null!=e?i(c(e)):{},l(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)))(p(),1);function h(e){if("string"!=typeof e||0===e.length||0===(e=f(e)).length)return 0;e=e.replace((0,m.default)()," ");let t=0;for(let r=0;r<e.length;r++){let n=e.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=_(n)?2:1)}return t}}}),At=m({"src/utils/get-string-width.js"(e,t){g();var r=kt().default,n=/[^\x20-\x7F]/;t.exports=function(e){return e?n.test(e)?r(e):e.length:0}}}),Nt=m({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:a}=t,o=r;for(;o>=0&&o<a;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===a)&&o}}g();var n=r(/\s/),i=r(" \t"),a=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:a,skipEverythingButNewLine:o}}}),Pt=m({"src/utils/text/skip-inline-comment.js"(e,t){g(),t.exports=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}}}),Ft=m({"src/utils/text/skip-trailing-comment.js"(e,t){g();var{skipEverythingButNewLine:r}=Nt();t.exports=function(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?r(e,t):t)}}}),wt=m({"src/utils/text/skip-newline.js"(e,t){g(),t.exports=function(e,t,r){let n=r&&r.backwards;if(!1===t)return!1;let i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}}}),It=m({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){g();var r=Pt(),n=wt(),i=Ft(),{skipSpaces:a}=Nt();t.exports=function(e,t){let o=null,s=t;for(;s!==o;)o=s,s=a(e,s),s=r(e,s),s=i(e,s),s=n(e,s);return s}}}),Ot=m({"src/common/util.js"(e,t){g();var r=lt(),n=pt(),{getSupportInfo:i}=Ct(),a=Tt(),o=At(),{skipWhitespace:s,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l}=Nt(),p=Pt(),d=Ft(),f=wt(),_=It();function m(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=c(e,r.backwards?t-1:t,r);return n!==f(e,n,r)}function h(e,t){let r=null,n=t;for(;n!==r;)r=n,n=u(e,n),n=p(e,n),n=c(e,n);return n=d(e,n),n=f(e,n),!1!==n&&m(e,n)}function y(e,t,r){return _(e,r(t))}function v(e,t){let r=0;for(let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n<e.length;++n)"\t"===e[n]?r=r+t-r%t:r++;return r}function D(e,t){let r={quote:'"',regex:/"/g,escaped:"&quot;"},n={quote:"'",regex:/'/g,escaped:"&apos;"},i="'"===t?n:r,a=i===n?r:n,o=i;return(e.includes(i.quote)||e.includes(a.quote))&&(o=(e.match(i.regex)||[]).length>(e.match(a.regex)||[]).length?a:i),o}function b(e,t,r){let n='"'===t?"'":'"',i=e.replace(/\\(.)|(["'])/gs,((e,i,a)=>i===n?i:a===t?"\\"+a:a||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+i+t}function x(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}(e)}t.exports={inferParserByLanguage:function(e,t){let{languages:r}=i({plugins:t.plugins}),n=r.find((t=>{let{name:r}=t;return r.toLowerCase()===e}))||r.find((t=>{let{aliases:r}=t;return Array.isArray(r)&&r.includes(e)}))||r.find((t=>{let{extensions:r}=t;return Array.isArray(r)&&r.includes(".".concat(e))}));return n&&n.parsers[0]},getStringWidth:o,getMaxContinuousCount:function(e,t){let n=e.match(new RegExp("(".concat(r(t),")+"),"g"));return null===n?0:n.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){let n=e.match(new RegExp("(".concat(r(t),")+"),"g"));if(null===n)return 0;let i=new Map,a=0;for(let e of n){let r=e.length/t.length;i.set(r,!0),r>a&&(a=r)}for(let e=1;e<a;e++)if(!i.get(e))return e;return a+1},getPenultimate:e=>e[e.length-2],getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:_,getNextNonSpaceNonCommentCharacterIndex:y,getNextNonSpaceNonCommentCharacter:function(e,t,r){return e.charAt(y(e,t,r))},skip:function(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:a}=t,o=r;for(;o>=0&&o<a;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===a)&&o}},skipWhitespace:s,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l,skipInlineComment:p,skipTrailingComment:d,skipNewline:f,isNextLineEmptyAfterIndex:h,isNextLineEmpty:function(e,t,r){return h(e,r(t))},isPreviousLineEmpty:function(e,t,r){let n=r(t)-1;return n=c(e,n,{backwards:!0}),n=f(e,n,{backwards:!0}),n=c(e,n,{backwards:!0}),n!==f(e,n,{backwards:!0})},hasNewline:m,hasNewlineInRange:function(e,t,r){for(let n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1},hasSpaces:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c(e,r.backwards?t-1:t,r)!==t},getAlignmentSize:v,getIndentSize:function(e,t){let r=e.lastIndexOf("\n");return-1===r?0:v(e.slice(r+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:D,printString:function(e,t){let r=e.slice(1,-1);return b(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":D(r,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:b,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,x(e,t)},addDanglingComment:function(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),x(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,x(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},isNonEmptyArray:a,createGroupIdMapper:function(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}}}}),Lt=m({"src/language-markdown/constants.evaluate.js"(e,t){t.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),Mt=m({"src/language-markdown/utils.js"(e,t){g();var{getLast:r}=Ot(),{locStart:n,locEnd:i}=ct(),{cjkPattern:a,kPattern:o,punctuationPattern:s}=Lt(),c=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],u=[...c,"tableCell","paragraph","heading"],l=new RegExp(o),p=new RegExp(s);function d(e,t){let[,r,n,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:r,marker:n,leadingSpaces:i}}t.exports={mapAst:function(e,t){return function e(r,n,i){let a=Object.assign({},t(r,n,i));return a.children&&(a.children=a.children.map(((t,r)=>e(t,r,[a,...i])))),a}(e,null,[])},splitText:function(e,t){let n="non-cjk",i="cj-letter",o="cjk-punctuation",s=[],c=("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(a,")\n(").concat(a,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(let[e,t]of c.entries()){if(e%2==1){s.push({type:"whitespace",value:/\n/.test(t)?"\n":" "});continue}if((0===e||e===c.length-1)&&""===t)continue;let d=t.split(new RegExp("(".concat(a,")")));for(let[e,t]of d.entries())if(0!==e&&e!==d.length-1||""!==t){if(e%2==0){""!==t&&u({type:"word",value:t,kind:n,hasLeadingPunctuation:p.test(t[0]),hasTrailingPunctuation:p.test(r(t))});continue}u(p.test(t)?{type:"word",value:t,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:t,kind:l.test(t)?"k-letter":i,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return s;function u(e){let t=r(s);var a,c;t&&"word"===t.type&&(t.kind===n&&e.kind===i&&!t.hasTrailingPunctuation||t.kind===i&&e.kind===n&&!e.hasLeadingPunctuation?s.push({type:"whitespace",value:" "}):(a=n,c=o,!(t.kind===a&&e.kind===c||t.kind===c&&e.kind===a||[t.value,e.value].some((e=>/\u3000/.test(e))))&&s.push({type:"whitespace",value:""}))),s.push(e)}},punctuationPattern:s,getFencedCodeBlockValue:function(e,t){let{value:r}=e;return e.position.end.offset===t.length&&r.endsWith("\n")&&t.endsWith("\n")?r.slice(0,-1):r},getOrderedListItemInfo:d,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered||e.children.length<2)return!1;let r=Number(d(e.children[0],t.originalText).numberText),n=Number(d(e.children[1],t.originalText).numberText);if(0===r&&e.children.length>2){let r=Number(d(e.children[2],t.originalText).numberText);return 1===n&&1===r}return 1===n},INLINE_NODE_TYPES:c,INLINE_NODE_WRAPPER_TYPES:u,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;let t=e.children[0];return t&&n(e)===n(t)&&i(e)===i(t)}}}}),Rt=m({"src/language-markdown/unified-plugins/html-to-jsx.js"(e,t){g();var r=ut(),{mapAst:n,INLINE_NODE_WRAPPER_TYPES:i}=Mt();t.exports=function(){return e=>n(e,((e,t,n)=>{let[a]=n;return"html"!==e.type||r.COMMENT_REGEX.test(e.value)||i.includes(a.type)?e:Object.assign(Object.assign({},e),{},{type:"jsx"})}))}}}),Bt=m({"src/language-markdown/unified-plugins/front-matter.js"(e,t){g();var r=ot();t.exports=function(){let e=this.Parser.prototype;function t(e,t){let n=r(t);if(n.frontMatter)return e(n.frontMatter.raw)(n.frontMatter)}e.blockMethods=["frontMatter",...e.blockMethods],e.blockTokenizers.frontMatter=t,t.onlyAtStart=!0}}}),jt=m({"src/language-markdown/unified-plugins/liquid.js"(e,t){g(),t.exports=function(){let e=this.Parser.prototype,t=e.inlineMethods;function r(e,t){let r=t.match(/^({%.*?%}|{{.*?}})/s);if(r)return e(r[0])({type:"liquidNode",value:r[0]})}t.splice(t.indexOf("text"),0,"liquid"),e.inlineTokenizers.liquid=r,r.locator=function(e,t){return e.indexOf("{",t)}}}}),Kt=m({"src/language-markdown/unified-plugins/wiki-link.js"(e,t){g(),t.exports=function(){let e="wikiLink",t=/^\[\[(?<linkContents>.+?)]]/s,r=this.Parser.prototype,n=r.inlineMethods;function i(r,n){let i=t.exec(n);if(i){let t=i.groups.linkContents.trim();return r(i[0])({type:e,value:t})}}n.splice(n.indexOf("link"),0,e),r.inlineTokenizers.wikiLink=i,i.locator=function(e,t){return e.indexOf("[",t)}}}}),Jt=m({"src/language-markdown/unified-plugins/loose-items.js"(e,t){g(),t.exports=function(){let e=this.Parser.prototype,t=e.blockTokenizers.list;function r(e,t,r){return"listItem"===t.type&&(t.loose=t.spread||"\n"===e.charAt(e.length-1),t.loose&&(r.loose=!0)),t}e.blockTokenizers.list=function(e,n,i){function a(t){let n=e(t);function i(e,i){return n(r(t,e,i),i)}return i.reset=function(e,i){return n.reset(r(t,e,i),i)},i}return a.now=e.now,t.call(this,a,n,i)}}}});g();var Ut=Ke(),qt=et(),Vt=it(),zt=at(),Wt=st(),{locStart:Ht,locEnd:Gt}=ct(),$t=ut(),Yt=Rt(),Xt=Bt(),Qt=jt(),Zt=Kt(),er=Jt();function tr(e){let{isMDX:t}=e;return e=>{let r=qt().use(Ut,Object.assign({commonmark:!0},t&&{blocks:[$t.BLOCKS_REGEX]})).use(zt).use(Xt).use(Vt).use(t?$t.esSyntax:rr).use(Qt).use(t?Yt:rr).use(Zt).use(er);return r.runSync(r.parse(e))}}function rr(e){return e}var nr={astFormat:"mdast",hasPragma:Wt.hasPragma,locStart:Ht,locEnd:Gt},ir=Object.assign(Object.assign({},nr),{},{parse:tr({isMDX:!1})}),ar=Object.assign(Object.assign({},nr),{},{parse:tr({isMDX:!0})});t.exports={parsers:{remark:ir,markdown:ir,mdx:ar}}}));return ke()}()},89:(e,t,r)=>{e.exports=function(){"use strict";var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),n=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),i=e(((e,t)=>{var r=n();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),a=e(((e,t)=>{var r=n();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),o=e(((e,t)=>{var r=a(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),s=e((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),c=e(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),u=e(((e,t)=>{var r=a(),n=Function.prototype,i=n.bind,o=n.call,s=r&&i.bind(o,o);t.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return o.apply(e,arguments)}}})),l=e(((e,t)=>{var r=u(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),p=e(((e,r)=>{var i=t(),a=u(),o=n(),s=l(),c=i.Object,p=a("".split);r.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?p(e,""):c(e)}:c})),d=e(((e,r)=>{var n=t().TypeError;r.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}})),f=e(((e,t)=>{var r=p(),n=d();t.exports=function(e){return r(n(e))}})),_=e(((e,t)=>{t.exports=function(e){return"function"==typeof e}})),m=e(((e,t)=>{var r=_();t.exports=function(e){return"object"==typeof e?null!==e:r(e)}})),g=e(((e,r)=>{var n=t(),i=_(),a=function(e){return i(e)?e:void 0};r.exports=function(e,t){return arguments.length<2?a(n[e]):n[e]&&n[e][t]}})),h=e(((e,t)=>{var r=u();t.exports=r({}.isPrototypeOf)})),y=e(((e,t)=>{var r=g();t.exports=r("navigator","userAgent")||""})),v=e(((e,r)=>{var n,i,a=t(),o=y(),s=a.process,c=a.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(i=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),r.exports=i})),D=e(((e,t)=>{var r=v(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),b=e(((e,t)=>{var r=D();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),x=e(((e,r)=>{var n=t(),i=g(),a=_(),o=h(),s=b(),c=n.Object;r.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return a(t)&&o(t.prototype,c(e))}})),E=e(((e,r)=>{var n=t().String;r.exports=function(e){try{return n(e)}catch{return"Object"}}})),S=e(((e,r)=>{var n=t(),i=_(),a=E(),o=n.TypeError;r.exports=function(e){if(i(e))return e;throw o(a(e)+" is not a function")}})),C=e(((e,t)=>{var r=S();t.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}})),T=e(((e,r)=>{var n=t(),i=o(),a=_(),s=m(),c=n.TypeError;r.exports=function(e,t){var r,n;if("string"===t&&a(r=e.toString)&&!s(n=i(r,e))||a(r=e.valueOf)&&!s(n=i(r,e))||"string"!==t&&a(r=e.toString)&&!s(n=i(r,e)))return n;throw c("Can't convert object to primitive value")}})),k=e(((e,t)=>{t.exports=!1})),A=e(((e,r)=>{var n=t(),i=Object.defineProperty;r.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),N=e(((e,r)=>{var n=t(),i=A(),a="__core-js_shared__",o=n[a]||i(a,{});r.exports=o})),P=e(((e,t)=>{var r=k(),n=N();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),F=e(((e,r)=>{var n=t(),i=d(),a=n.Object;r.exports=function(e){return a(i(e))}})),w=e(((e,t)=>{var r=u(),n=F(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),I=e(((e,t)=>{var r=u(),n=0,i=Math.random(),a=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++n+i,36)}})),O=e(((e,r)=>{var n=t(),i=P(),a=w(),o=I(),s=D(),c=b(),u=i("wks"),l=n.Symbol,p=l&&l.for,d=c?l:l&&l.withoutSetter||o;r.exports=function(e){if(!a(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&a(l,e)?u[e]=l[e]:u[e]=c&&p?p(t):d(t)}return u[e]}})),L=e(((e,r)=>{var n=t(),i=o(),a=m(),s=x(),c=C(),u=T(),l=O(),p=n.TypeError,d=l("toPrimitive");r.exports=function(e,t){if(!a(e)||s(e))return e;var r,n=c(e,d);if(n){if(void 0===t&&(t="default"),r=i(n,e,t),!a(r)||s(r))return r;throw p("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}})),M=e(((e,t)=>{var r=L(),n=x();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),R=e(((e,r)=>{var n=t(),i=m(),a=n.document,o=i(a)&&i(a.createElement);r.exports=function(e){return o?a.createElement(e):{}}})),B=e(((e,t)=>{var r=i(),a=n(),o=R();t.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))})),j=e((e=>{var t=i(),r=o(),n=s(),a=c(),u=f(),l=M(),p=w(),d=B(),_=Object.getOwnPropertyDescriptor;e.f=t?_:function(e,t){if(e=u(e),t=l(t),d)try{return _(e,t)}catch{}if(p(e,t))return a(!r(n.f,e,t),e[t])}})),K=e(((e,t)=>{var r=i(),a=n();t.exports=r&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),J=e(((e,r)=>{var n=t(),i=m(),a=n.String,o=n.TypeError;r.exports=function(e){if(i(e))return e;throw o(a(e)+" is not an object")}})),U=e((e=>{var r=t(),n=i(),a=B(),o=K(),s=J(),c=M(),u=r.TypeError,l=Object.defineProperty,p=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",_="writable";e.f=n?o?function(e,t,r){if(s(e),t=c(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&_ in r&&!r[_]){var n=p(e,t);n&&n[_]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(s(e),t=c(t),s(r),a)try{return l(e,t,r)}catch{}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),q=e(((e,t)=>{var r=i(),n=U(),a=c();t.exports=r?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}})),V=e(((e,t)=>{var r=u(),n=_(),i=N(),a=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),z=e(((e,r)=>{var n=t(),i=_(),a=V(),o=n.WeakMap;r.exports=i(o)&&/native code/.test(a(o))})),W=e(((e,t)=>{var r=P(),n=I(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),H=e(((e,t)=>{t.exports={}})),G=e(((e,r)=>{var n,i,a,o,s,c,l,p,d=z(),f=t(),_=u(),g=m(),h=q(),y=w(),v=N(),D=W(),b=H(),x="Object already initialized",E=f.TypeError,S=f.WeakMap;d||v.state?(o=v.state||(v.state=new S),s=_(o.get),c=_(o.has),l=_(o.set),n=function(e,t){if(c(o,e))throw new E(x);return t.facade=e,l(o,e,t),t},i=function(e){return s(o,e)||{}},a=function(e){return c(o,e)}):(b[p=D("state")]=!0,n=function(e,t){if(y(e,p))throw new E(x);return t.facade=e,h(e,p,t),t},i=function(e){return y(e,p)?e[p]:{}},a=function(e){return y(e,p)}),r.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!g(t)||(r=i(t)).type!==e)throw E("Incompatible receiver, "+e+" required");return r}}}})),$=e(((e,t)=>{var r=i(),n=w(),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,s=n(a,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&o(a,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}})),Y=e(((e,r)=>{var n=t(),i=_(),a=w(),o=q(),s=A(),c=V(),u=G(),l=$().CONFIGURABLE,p=u.get,d=u.enforce,f=String(String).split("String");(r.exports=function(e,t,r,c){var u,p=!!c&&!!c.unsafe,_=!!c&&!!c.enumerable,m=!!c&&!!c.noTargetGet,g=c&&void 0!==c.name?c.name:t;i(r)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(r,"name")||l&&r.name!==g)&&o(r,"name",g),(u=d(r)).source||(u.source=f.join("string"==typeof g?g:""))),e!==n?(p?!m&&e[t]&&(_=!0):delete e[t],_?e[t]=r:o(e,t,r)):_?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return i(this)&&p(this).source||c(this)}))})),X=e(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?n:r)(t)}})),Q=e(((e,t)=>{var r=X(),n=Math.max,i=Math.min;t.exports=function(e,t){var a=r(e);return a<0?n(a+t,0):i(a,t)}})),Z=e(((e,t)=>{var r=X(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),ee=e(((e,t)=>{var r=Z();t.exports=function(e){return r(e.length)}})),te=e(((e,t)=>{var r=f(),n=Q(),i=ee(),a=function(e){return function(t,a,o){var s,c=r(t),u=i(c),l=n(o,u);if(e&&a!=a){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}})),re=e(((e,t)=>{var r=u(),n=w(),i=f(),a=te().indexOf,o=H(),s=r([].push);t.exports=function(e,t){var r,c=i(e),u=0,l=[];for(r in c)!n(o,r)&&n(c,r)&&s(l,r);for(;t.length>u;)n(c,r=t[u++])&&(~a(l,r)||s(l,r));return l}})),ne=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ie=e((e=>{var t=re(),r=ne().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),ae=e((e=>{e.f=Object.getOwnPropertySymbols})),oe=e(((e,t)=>{var r=g(),n=u(),i=ie(),a=ae(),o=J(),s=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=a.f;return r?s(t,r(e)):t}})),se=e(((e,t)=>{var r=w(),n=oe(),i=j(),a=U();t.exports=function(e,t,o){for(var s=n(t),c=a.f,u=i.f,l=0;l<s.length;l++){var p=s[l];!r(e,p)&&(!o||!r(o,p))&&c(e,p,u(t,p))}}})),ce=e(((e,t)=>{var r=n(),i=_(),a=/#|\.prototype\./,o=function(e,t){var n=c[s(e)];return n==l||n!=u&&(i(t)?r(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o})),ue=e(((e,r)=>{var n=t(),i=j().f,a=q(),o=Y(),s=A(),c=se(),u=ce();r.exports=function(e,t){var r,l,p,d,f,_=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[_]||s(_,{}):(n[_]||{}).prototype)for(l in t){if(d=t[l],p=e.noTargetGet?(f=i(r,l))&&f.value:r[l],!u(m?l:_+(g?".":"#")+l,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&a(d,"sham",!0),o(r,l,d,e)}}})),le=e((()=>{ue()({global:!0},{globalThis:t()})})),pe=e((()=>{le()})),de=e(((e,t)=>{pe();var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t)=>function(){return e&&(t=(0,e[i(e)[0]])(e=0)),t},s=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},c=e=>((e,t,o,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of i(t))!a.call(e,c)&&c!==o&&r(e,c,{get:()=>t[c],enumerable:!(s=n(t,c))||s.enumerable});return e})(r({},"__esModule",{value:!0}),e),u=o({"<define:process>"(){}}),l=s({"src/common/parser-create-error.js"(e,t){u(),t.exports=function(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}}}),p=s({"src/utils/try-combinations.js"(e,t){u(),t.exports=function(){let e;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(let[t,n]of r.entries())try{return{result:n()}}catch(r){0===t&&(e=r)}return{error:e}}}}),d={};function f(){if(typeof k>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])k="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");k="LE"}}return k}function _(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function m(){return[]}function g(){return 0}function h(){return Number.MAX_VALUE}function y(){return Number.MAX_VALUE}function v(){return[]}function D(){return"Browser"}function b(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function x(){}function E(){}function S(){return"javascript"}function C(){return"browser"}function T(){return"/tmp"}((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})(d,{EOL:()=>N,arch:()=>S,cpus:()=>v,default:()=>P,endianness:()=>f,freemem:()=>h,getNetworkInterfaces:()=>E,hostname:()=>_,loadavg:()=>m,networkInterfaces:()=>x,platform:()=>C,release:()=>b,tmpDir:()=>T,tmpdir:()=>A,totalmem:()=>y,type:()=>D,uptime:()=>g});var k,A,N,P,F=o({"node-modules-polyfills:os"(){u(),P={EOL:N="\n",tmpdir:A=T,tmpDir:T,networkInterfaces:x,getNetworkInterfaces:E,release:b,type:D,cpus:v,totalmem:y,freemem:h,uptime:g,loadavg:m,hostname:_,endianness:f}}}),w=s({"node-modules-polyfills-commonjs:os"(e,t){u();var r=(F(),c(d));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),I=s({"node_modules/detect-newline/index.js"(e,t){u();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),O=s({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=w();return t=function(){return e},e}function r(){let e=function(e){return e&&e.__esModule?e:{default:e}}(I());return r=function(){return e},e}u(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(a);return t?t[0].trimLeft():""},e.parse=function(e){return f(e).pragmas},e.parseWithComments=f,e.print=function(e){let{comments:n="",pragmas:i={}}=e,a=(0,r().default)(n)||t().EOL,o=" *",s=Object.keys(i),c=s.map((e=>_(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>" * "+e+a)).join("");if(!n){if(0===s.length)return"";if(1===s.length&&!Array.isArray(i[s[0]])){let e=i[s[0]];return"".concat("/**"," ").concat(_(s[0],e)[0]).concat(" */")}}let u=n.split(a).map((e=>"".concat(o," ").concat(e))).join(a)+a;return"/**"+a+(n?u:"")+(n&&s.length?o+a:"")+c+" */"},e.strip=function(e){let t=e.match(a);return t&&t[0]?e.substring(t[0].length):e};var n=/\*\/$/,i=/^\/\*\*/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,s=/^(\r?\n)+/,c=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,l=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,d=[];function f(e){let a=(0,r().default)(e)||t().EOL;e=e.replace(i,"").replace(n,"").replace(p,"$1");let u="";for(;u!==e;)u=e,e=e.replace(c,"".concat(a,"$1 $2").concat(a));e=e.replace(s,"").trimRight();let f,_=Object.create(null),m=e.replace(l,"").replace(s,"").trimRight();for(;f=l.exec(e);){let e=f[2].replace(o,"");"string"==typeof _[f[1]]||Array.isArray(_[f[1]])?_[f[1]]=d.concat(_[f[1]],e):_[f[1]]=e}return{comments:m,pragmas:_}}function _(e,t){return d.concat(t).map((t=>"@".concat(e," ").concat(t).trim()))}}}),L=s({"src/common/end-of-line.js"(e,t){u(),t.exports={guessEndOfLine:function(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let r;switch(t){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."))}let n=e.match(r);return n?n.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}}}}),M=s({"src/language-js/utils/get-shebang.js"(e,t){u(),t.exports=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}}}),R=s({"src/language-js/pragma.js"(e,t){u();var{parseWithComments:r,strip:n,extract:i,print:a}=O(),{normalizeEndOfLine:o}=L(),s=M();function c(e){let t=s(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:a,comments:o}=r(n);return{shebang:t,text:e,pragmas:a,comments:o}}t.exports={hasPragma:function(e){let t=Object.keys(c(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:r,pragmas:i,comments:s}=c(e),u=n(r),l=a({pragmas:Object.assign({format:""},i),comments:s.trimStart()});return(t?"".concat(t,"\n"):"")+o(l)+(u.startsWith("\n")?"\n":"\n\n")+u}}}}),B=s({"src/utils/is-non-empty-array.js"(e,t){u(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),j=s({"src/language-js/loc.js"(e,t){u();var r=B();function n(e,t){let{ignoreDecorators:i}=t||{};if(!i){let t=e.declaration&&e.declaration.decorators||e.decorators;if(r(t))return n(t[0])}return e.range?e.range[0]:e.start}function i(e){return e.range?e.range[1]:e.end}function a(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:a,hasSameLoc:function(e,t){return a(e,t)&&function(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}(e,t)}}}}),K=s({"src/language-js/parse/utils/create-parser.js"(e,t){u();var{hasPragma:r}=R(),{locStart:n,locEnd:i}=j();t.exports=function(e){return e="function"==typeof e?{parse:e}:e,Object.assign({astFormat:"estree",hasPragma:r,locStart:n,locEnd:i},e)}}}),J=s({"src/language-js/utils/is-ts-keyword-type.js"(e,t){u(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),U=s({"src/language-js/utils/is-block-comment.js"(e,t){u(),t.exports=function(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}}}),q=s({"src/language-js/utils/is-type-cast-comment.js"(e,t){u();var r=U();t.exports=function(e){return r(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}}}),V=s({"src/utils/get-last.js"(e,t){u();t.exports=e=>e[e.length-1]}}),z=s({"src/language-js/parse/postprocess/visit-node.js"(e,t){u(),t.exports=function e(t,r){if(Array.isArray(t)){for(let n=0;n<t.length;n++)t[n]=e(t[n],r);return t}if(t&&"object"==typeof t&&"string"==typeof t.type){let n=Object.keys(t);for(let i=0;i<n.length;i++)t[n[i]]=e(t[n[i]],r);return r(t)||t}return t}}}),W=s({"src/language-js/parse/postprocess/typescript.js"(e,t){u();var r=l(),n=z();function i(e,t){let{start:n,end:i}=e.loc;throw r(t,{start:{line:n.line,column:n.column+1},end:{line:i.line,column:i.column+1}})}t.exports={throwErrorForInvalidNodes:function(e,t){let{esTreeNodeToTSNodeMap:r,tsNodeToESTreeNodeMap:a}=t.tsParseResult;n(e,(e=>{let t=r.get(e);if(!t)return;let n=a.get(t);n===e&&(function(e,t,r){let n=e.decorators;if(!Array.isArray(n))return;let a=t.decorators;(!Array.isArray(a)||a.length!==n.length||n.some((e=>{let t=r.get(e);return!t||!a.includes(t)})))&&i(t,"Leading decorators must be attached to a class declaration")}(t,n,a),function(e,t){166!==e.kind||e.modifiers&&!e.modifiers.some((e=>126===e.kind))||e.initializer&&null===t.value&&i(t,"Abstract property cannot have an initializer")}(t,n))}))}}}}),H=s({"src/language-js/parse/postprocess/index.js"(e,t){u();var{locStart:r,locEnd:n}=j(),i=J(),a=q(),o=V(),s=z(),{throwErrorForInvalidNodes:c}=W();function l(e){switch(e.type){case"CallExpression":e.type="OptionalCallExpression",e.callee=l(e.callee);break;case"MemberExpression":e.type="OptionalMemberExpression",e.object=l(e.object);break;case"TSNonNullExpression":e.expression=l(e.expression)}return e}function p(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}function d(e){return p(e)?d({type:"LogicalExpression",operator:e.operator,left:d({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[r(e.left),n(e.right.left)]}),right:e.right.right,range:[r(e),n(e)]}):e}t.exports=function(e,t){if("typescript"===t.parser&&/@|abstract/.test(t.originalText)&&c(e,t),"typescript"!==t.parser&&"flow"!==t.parser&&"acorn"!==t.parser&&"espree"!==t.parser&&"meriyah"!==t.parser){let t=new Set;e=s(e,(e=>{e.leadingComments&&e.leadingComments.some(a)&&t.add(r(e))})),e=s(e,(e=>{if("ParenthesizedExpression"===e.type){let{expression:n}=e;if("TypeCastExpression"===n.type)return n.range=e.range,n;let i=r(e);if(!t.has(i))return n.extra=Object.assign(Object.assign({},n.extra),{},{parenthesized:!0}),n}}))}return s(e,(e=>{switch(e.type){case"ChainExpression":return l(e.expression);case"LogicalExpression":if(p(e))return d(e);break;case"VariableDeclaration":{let i=o(e.declarations);i&&i.init&&function(e,i){";"!==t.originalText[n(i)]&&(e.range=[r(e),n(i)])}(e,i);break}case"TSParenthesizedType":return i(e.typeAnnotation)||"TSThisType"===e.typeAnnotation.type||(e.typeAnnotation.range=[r(e),n(e)]),e.typeAnnotation;case"TSTypeParameter":if("string"==typeof e.name){let t=r(e);e.name={type:"Identifier",name:e.name,range:[t,t+e.name.length]}}break;case"SequenceExpression":{let t=o(e.expressions);e.range=[r(e),Math.min(n(t),n(e))];break}case"TopicReference":t.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:i}=e;if("meriyah"===t.parser&&i&&"Identifier"===i.type){let a=t.originalText.slice(r(i),n(i));(a.startsWith('"')||a.startsWith("'"))&&(e.exported=Object.assign(Object.assign({},e.exported),{},{type:"Literal",value:e.exported.name,raw:a}))}break}}}))}}}),G=s({"node_modules/meriyah/dist/meriyah.cjs"(e){u(),Object.defineProperty(e,"__esModule",{value:!0});var t={0:"Unexpected token",28:"Unexpected token: '%0'",1:"Octal escape sequences are not allowed in strict mode",2:"Octal escape sequences are not allowed in template strings",3:"Unexpected token `#`",4:"Illegal Unicode escape sequence",5:"Invalid code point %0",6:"Invalid hexadecimal escape sequence",8:"Octal literals are not allowed in strict mode",7:"Decimal integer literals with a leading zero are forbidden in strict mode",9:"Expected number in radix %0",145:"Invalid left-hand side assignment to a destructible right-hand side",10:"Non-number found after exponent indicator",11:"Invalid BigIntLiteral",12:"No identifiers allowed directly after numeric literal",13:"Escapes \\8 or \\9 are not syntactically valid escapes",14:"Unterminated string literal",15:"Unterminated template literal",16:"Multiline comment was not closed properly",17:"The identifier contained dynamic unicode escape that was not closed",18:"Illegal character '%0'",19:"Missing hexadecimal digits",20:"Invalid implicit octal",21:"Invalid line break in string literal",22:"Only unicode escapes are legal in identifier names",23:"Expected '%0'",24:"Invalid left-hand side in assignment",25:"Invalid left-hand side in async arrow",26:'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass',27:"Member access on super must be in a method",29:"Await expression not allowed in formal parameter",30:"Yield expression not allowed in formal parameter",92:"Unexpected token: 'escaped keyword'",31:"Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses",119:"Async functions can only be declared at the top level or inside a block",32:"Unterminated regular expression",33:"Unexpected regular expression flag",34:"Duplicate regular expression flag '%0'",35:"%0 functions must have exactly %1 argument%2",36:"Setter function argument must not be a rest parameter",37:"%0 declaration must have a name in this context",38:"Function name may not contain any reserved words or be eval or arguments in strict mode",39:"The rest operator is missing an argument",40:"A getter cannot be a generator",41:"A computed property name must be followed by a colon or paren",130:"Object literal keys that are strings or numbers must be a method or have a colon",43:"Found `* async x(){}` but this should be `async * x(){}`",42:"Getters and setters can not be generators",44:"'%0' can not be generator method",45:"No line break is allowed after '=>'",46:"The left-hand side of the arrow can only be destructed through assignment",47:"The binding declaration is not destructible",48:"Async arrow can not be followed by new expression",49:"Classes may not have a static property named 'prototype'",50:"Class constructor may not be a %0",51:"Duplicate constructor method in class",52:"Invalid increment/decrement operand",53:"Invalid use of `new` keyword on an increment/decrement expression",54:"`=>` is an invalid assignment target",55:"Rest element may not have a trailing comma",56:"Missing initializer in %0 declaration",57:"'for-%0' loop head declarations can not have an initializer",58:"Invalid left-hand side in for-%0 loop: Must have a single binding",59:"Invalid shorthand property initializer",60:"Property name __proto__ appears more than once in object literal",61:"Let is disallowed as a lexically bound name",62:"Invalid use of '%0' inside new expression",63:"Illegal 'use strict' directive in function with non-simple parameter list",64:'Identifier "let" disallowed as left-hand side expression in strict mode',65:"Illegal continue statement",66:"Illegal break statement",67:"Cannot have `let[...]` as a var name in strict mode",68:"Invalid destructuring assignment target",69:"Rest parameter may not have a default initializer",70:"The rest argument must the be last parameter",71:"Invalid rest argument",73:"In strict mode code, functions can only be declared at top level or inside a block",74:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",75:"Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement",76:"Class declaration can't appear in single-statement context",77:"Invalid left-hand side in for-%0",78:"Invalid assignment in for-%0",79:"for await (... of ...) is only valid in async functions and async generators",80:"The first token after the template expression should be a continuation of the template",82:"`let` declaration not allowed here and `let` cannot be a regular var name in strict mode",81:"`let \n [` is a restricted production at the start of a statement",83:"Catch clause requires exactly one parameter, not more (and no trailing comma)",84:"Catch clause parameter does not support default values",85:"Missing catch or finally after try",86:"More than one default clause in switch statement",87:"Illegal newline after throw",88:"Strict mode code may not include a with statement",89:"Illegal return statement",90:"The left hand side of the for-header binding declaration is not destructible",91:"new.target only allowed within functions",93:"'#' not followed by identifier",99:"Invalid keyword",98:"Can not use 'let' as a class name",97:"'A lexical declaration can't define a 'let' binding",96:"Can not use `let` as variable name in strict mode",94:"'%0' may not be used as an identifier in this context",95:"Await is only valid in async functions",100:"The %0 keyword can only be used with the module goal",101:"Unicode codepoint must not be greater than 0x10FFFF",102:"%0 source must be string",103:"Only a identifier can be used to indicate alias",104:"Only '*' or '{...}' can be imported after default",105:"Trailing decorator may be followed by method",106:"Decorators can't be used with a constructor",108:"HTML comments are only allowed with web compatibility (Annex B)",109:"The identifier 'let' must not be in expression position in strict mode",110:"Cannot assign to `eval` and `arguments` in strict mode",111:"The left-hand side of a for-of loop may not start with 'let'",112:"Block body arrows can not be immediately invoked without a group",113:"Block body arrows can not be immediately accessed without a group",114:"Unexpected strict mode reserved word",115:"Unexpected eval or arguments in strict mode",116:"Decorators must not be followed by a semicolon",117:"Calling delete on expression not allowed in strict mode",118:"Pattern can not have a tail",120:"Can not have a `yield` expression on the left side of a ternary",121:"An arrow function can not have a postfix update operator",122:"Invalid object literal key character after generator star",123:"Private fields can not be deleted",125:"Classes may not have a field called constructor",124:"Classes may not have a private element named constructor",126:"A class field initializer may not contain arguments",127:"Generators can only be declared at the top level or inside a block",128:"Async methods are a restricted production and cannot have a newline following it",129:"Unexpected character after object literal property name",131:"Invalid key token",132:"Label '%0' has already been declared",133:"continue statement must be nested within an iteration statement",134:"Undefined label '%0'",135:"Trailing comma is disallowed inside import(...) arguments",136:"import() requires exactly one argument",137:"Cannot use new with import(...)",138:"... is not allowed in import()",139:"Expected '=>'",140:"Duplicate binding '%0'",141:"Cannot export a duplicate name '%0'",144:"Duplicate %0 for-binding",142:"Exported binding '%0' needs to refer to a top-level declared variable",143:"Unexpected private field",147:"Numeric separators are not allowed at the end of numeric literals",146:"Only one underscore is allowed as numeric separator",148:"JSX value should be either an expression or a quoted JSX text",149:"Expected corresponding JSX closing tag for %0",150:"Adjacent JSX elements must be wrapped in an enclosing tag",151:"JSX attributes must only be assigned a non-empty 'expression'",152:"'%0' has already been declared",153:"'%0' shadowed a catch clause binding",154:"Dot property must be an identifier",155:"Encountered invalid input after spread/rest argument",156:"Catch without try",157:"Finally without try",158:"Expected corresponding closing tag for JSX fragment",159:"Coalescing and logical operators used together in the same expression must be disambiguated with parentheses",160:"Invalid tagged template on optional chain",161:"Invalid optional chain from super property",162:"Invalid optional chain from new expression",163:'Cannot use "import.meta" outside a module',164:"Leading decorators must be attached to a class declaration"},r=class extends SyntaxError{constructor(e,r,n,i){for(var a=arguments.length,o=new Array(a>4?a-4:0),s=4;s<a;s++)o[s-4]=arguments[s];let c="["+r+":"+n+"]: "+t[i].replace(/%(\d+)/g,((e,t)=>o[t]));super("".concat(c)),this.index=e,this.line=r,this.column=n,this.description=c,this.loc={line:r,column:n}}};function n(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];throw new r(e.index,e.line,e.column,t,...i)}function i(e){throw new r(e.index,e.line,e.column,e.type,e.params)}function a(e,t,n,i){for(var a=arguments.length,o=new Array(a>4?a-4:0),s=4;s<a;s++)o[s-4]=arguments[s];throw new r(e,t,n,i,...o)}function o(e,t,n,i){throw new r(e,t,n,i)}var s=((e,t)=>{let r=new Uint32Array(104448),n=0,i=0;for(;n<3540;){let a=e[n++];if(a<0)i-=a;else{let o=e[n++];2&a&&(o=t[o]),1&a?r.fill(o,i,i+=e[n++]):r[i++]=o}}return r})([-1,2,24,2,25,2,5,-1,0,77595648,3,44,2,3,0,14,2,57,2,58,3,0,3,0,3168796671,0,4294956992,2,1,2,0,2,59,3,0,4,0,4294966523,3,0,4,2,16,2,60,2,0,0,4294836735,0,3221225471,0,4294901942,2,61,0,134152192,3,0,2,0,4294951935,3,0,2,0,2683305983,0,2684354047,2,17,2,0,0,4294961151,3,0,2,2,19,2,0,0,608174079,2,0,2,131,2,6,2,56,-1,2,37,0,4294443263,2,1,3,0,3,0,4294901711,2,39,0,4089839103,0,2961209759,0,1342439375,0,4294543342,0,3547201023,0,1577204103,0,4194240,0,4294688750,2,2,0,80831,0,4261478351,0,4294549486,2,2,0,2967484831,0,196559,0,3594373100,0,3288319768,0,8469959,2,194,2,3,0,3825204735,0,123747807,0,65487,0,4294828015,0,4092591615,0,1080049119,0,458703,2,3,2,0,0,2163244511,0,4227923919,0,4236247022,2,66,0,4284449919,0,851904,2,4,2,11,0,67076095,-1,2,67,0,1073741743,0,4093591391,-1,0,50331649,0,3265266687,2,32,0,4294844415,0,4278190047,2,18,2,129,-1,3,0,2,2,21,2,0,2,9,2,0,2,14,2,15,3,0,10,2,69,2,0,2,70,2,71,2,72,2,0,2,73,2,0,2,10,0,261632,2,23,3,0,2,2,12,2,4,3,0,18,2,74,2,5,3,0,2,2,75,0,2088959,2,27,2,8,0,909311,3,0,2,0,814743551,2,41,0,67057664,3,0,2,2,40,2,0,2,28,2,0,2,29,2,7,0,268374015,2,26,2,49,2,0,2,76,0,134153215,-1,2,6,2,0,2,7,0,2684354559,0,67044351,0,3221160064,0,1,-1,3,0,2,2,42,0,1046528,3,0,3,2,8,2,0,2,51,0,4294960127,2,9,2,38,2,10,0,4294377472,2,11,3,0,7,0,4227858431,3,0,8,2,12,2,0,2,78,2,9,2,0,2,79,2,80,2,81,-1,2,124,0,1048577,2,82,2,13,-1,2,13,0,131042,2,83,2,84,2,85,2,0,2,33,-83,2,0,2,53,2,7,3,0,4,0,1046559,2,0,2,14,2,0,0,2147516671,2,20,3,86,2,2,0,-16,2,87,0,524222462,2,4,2,0,0,4269801471,2,4,2,0,2,15,2,77,2,16,3,0,2,2,47,2,0,-1,2,17,-16,3,0,206,-2,3,0,655,2,18,3,0,36,2,68,-1,2,17,2,9,3,0,8,2,89,2,121,2,0,0,3220242431,3,0,3,2,19,2,90,2,91,3,0,2,2,92,2,0,2,93,2,94,2,0,0,4351,2,0,2,8,3,0,2,0,67043391,0,3909091327,2,0,2,22,2,8,2,18,3,0,2,0,67076097,2,7,2,0,2,20,0,67059711,0,4236247039,3,0,2,0,939524103,0,8191999,2,97,2,98,2,15,2,21,3,0,3,0,67057663,3,0,349,2,99,2,100,2,6,-264,3,0,11,2,22,3,0,2,2,31,-1,0,3774349439,2,101,2,102,3,0,2,2,19,2,103,3,0,10,2,9,2,17,2,0,2,45,2,0,2,30,2,104,2,23,0,1638399,2,172,2,105,3,0,3,2,18,2,24,2,25,2,5,2,26,2,0,2,7,2,106,-1,2,107,2,108,2,109,-1,3,0,3,2,11,-2,2,0,2,27,-3,2,150,-4,2,18,2,0,2,35,0,1,2,0,2,62,2,28,2,11,2,9,2,0,2,110,-1,3,0,4,2,9,2,21,2,111,2,6,2,0,2,112,2,0,2,48,-4,3,0,9,2,20,2,29,2,30,-4,2,113,2,114,2,29,2,20,2,7,-2,2,115,2,29,2,31,-2,2,0,2,116,-2,0,4277137519,0,2269118463,-1,3,18,2,-1,2,32,2,36,2,0,3,29,2,2,34,2,19,-3,3,0,2,2,33,-1,2,0,2,34,2,0,2,34,2,0,2,46,-10,2,0,0,203775,-2,2,18,2,43,2,35,-2,2,17,2,117,2,20,3,0,2,2,36,0,2147549120,2,0,2,11,2,17,2,135,2,0,2,37,2,52,0,5242879,3,0,2,0,402644511,-1,2,120,0,1090519039,-2,2,122,2,38,2,0,0,67045375,2,39,0,4226678271,0,3766565279,0,2039759,-4,3,0,2,0,3288270847,0,3,3,0,2,0,67043519,-5,2,0,0,4282384383,0,1056964609,-1,3,0,2,0,67043345,-1,2,0,2,40,2,41,-1,2,10,2,42,-6,2,0,2,11,-3,3,0,2,0,2147484671,2,125,0,4190109695,2,50,-2,2,126,0,4244635647,0,27,2,0,2,7,2,43,2,0,2,63,-1,2,0,2,40,-8,2,54,2,44,0,67043329,2,127,2,45,0,8388351,-2,2,128,0,3028287487,2,46,2,130,0,33259519,2,41,-9,2,20,-5,2,64,-2,3,0,28,2,31,-3,3,0,3,2,47,3,0,6,2,48,-85,3,0,33,2,47,-126,3,0,18,2,36,-269,3,0,17,2,40,2,7,2,41,-2,2,17,2,49,2,0,2,20,2,50,2,132,2,23,-21,3,0,2,-4,3,0,2,0,4294936575,2,0,0,4294934783,-2,0,196635,3,0,191,2,51,3,0,38,2,29,-1,2,33,-279,3,0,8,2,7,-1,2,133,2,52,3,0,11,2,6,-72,3,0,3,2,134,0,1677656575,-166,0,4161266656,0,4071,0,15360,-4,0,28,-13,3,0,2,2,37,2,0,2,136,2,137,2,55,2,0,2,138,2,139,2,140,3,0,10,2,141,2,142,2,15,3,37,2,3,53,2,3,54,2,0,4294954999,2,0,-16,2,0,2,88,2,0,0,2105343,0,4160749584,0,65534,-42,0,4194303871,0,2011,-6,2,0,0,1073684479,0,17407,-11,2,0,2,31,-40,3,0,6,0,8323103,-1,3,0,2,2,42,-37,2,55,2,144,2,145,2,146,2,147,2,148,-105,2,24,-32,3,0,1334,2,9,-1,3,0,129,2,27,3,0,6,2,9,3,0,180,2,149,3,0,233,0,1,-96,3,0,16,2,9,-47,3,0,154,2,56,-22381,3,0,7,2,23,-6130,3,5,2,-1,0,69207040,3,44,2,3,0,14,2,57,2,58,-3,0,3168731136,0,4294956864,2,1,2,0,2,59,3,0,4,0,4294966275,3,0,4,2,16,2,60,2,0,2,33,-1,2,17,2,61,-1,2,0,2,56,0,4294885376,3,0,2,0,3145727,0,2617294944,0,4294770688,2,23,2,62,3,0,2,0,131135,2,95,0,70256639,0,71303167,0,272,2,40,2,56,-1,2,37,2,30,-1,2,96,2,63,0,4278255616,0,4294836227,0,4294549473,0,600178175,0,2952806400,0,268632067,0,4294543328,0,57540095,0,1577058304,0,1835008,0,4294688736,2,65,2,64,0,33554435,2,123,2,65,2,151,0,131075,0,3594373096,0,67094296,2,64,-1,0,4294828e3,0,603979263,2,160,0,3,0,4294828001,0,602930687,2,183,0,393219,0,4294828016,0,671088639,0,2154840064,0,4227858435,0,4236247008,2,66,2,36,-1,2,4,0,917503,2,36,-1,2,67,0,537788335,0,4026531935,-1,0,1,-1,2,32,2,68,0,7936,-3,2,0,0,2147485695,0,1010761728,0,4292984930,0,16387,2,0,2,14,2,15,3,0,10,2,69,2,0,2,70,2,71,2,72,2,0,2,73,2,0,2,11,-1,2,23,3,0,2,2,12,2,4,3,0,18,2,74,2,5,3,0,2,2,75,0,253951,3,19,2,0,122879,2,0,2,8,0,276824064,-2,3,0,2,2,40,2,0,0,4294903295,2,0,2,29,2,7,-1,2,17,2,49,2,0,2,76,2,41,-1,2,20,2,0,2,27,-2,0,128,-2,2,77,2,8,0,4064,-1,2,119,0,4227907585,2,0,2,118,2,0,2,48,2,173,2,9,2,38,2,10,-1,0,74440192,3,0,6,-2,3,0,8,2,12,2,0,2,78,2,9,2,0,2,79,2,80,2,81,-3,2,82,2,13,-3,2,83,2,84,2,85,2,0,2,33,-83,2,0,2,53,2,7,3,0,4,0,817183,2,0,2,14,2,0,0,33023,2,20,3,86,2,-17,2,87,0,524157950,2,4,2,0,2,88,2,4,2,0,2,15,2,77,2,16,3,0,2,2,47,2,0,-1,2,17,-16,3,0,206,-2,3,0,655,2,18,3,0,36,2,68,-1,2,17,2,9,3,0,8,2,89,0,3072,2,0,0,2147516415,2,9,3,0,2,2,23,2,90,2,91,3,0,2,2,92,2,0,2,93,2,94,0,4294965179,0,7,2,0,2,8,2,91,2,8,-1,0,1761345536,2,95,0,4294901823,2,36,2,18,2,96,2,34,2,166,0,2080440287,2,0,2,33,2,143,0,3296722943,2,0,0,1046675455,0,939524101,0,1837055,2,97,2,98,2,15,2,21,3,0,3,0,7,3,0,349,2,99,2,100,2,6,-264,3,0,11,2,22,3,0,2,2,31,-1,0,2700607615,2,101,2,102,3,0,2,2,19,2,103,3,0,10,2,9,2,17,2,0,2,45,2,0,2,30,2,104,-3,2,105,3,0,3,2,18,-1,3,5,2,2,26,2,0,2,7,2,106,-1,2,107,2,108,2,109,-1,3,0,3,2,11,-2,2,0,2,27,-8,2,18,2,0,2,35,-1,2,0,2,62,2,28,2,29,2,9,2,0,2,110,-1,3,0,4,2,9,2,17,2,111,2,6,2,0,2,112,2,0,2,48,-4,3,0,9,2,20,2,29,2,30,-4,2,113,2,114,2,29,2,20,2,7,-2,2,115,2,29,2,31,-2,2,0,2,116,-2,0,4277075969,2,29,-1,3,18,2,-1,2,32,2,117,2,0,3,29,2,2,34,2,19,-3,3,0,2,2,33,-1,2,0,2,34,2,0,2,34,2,0,2,48,-10,2,0,0,197631,-2,2,18,2,43,2,118,-2,2,17,2,117,2,20,2,119,2,51,-2,2,119,2,23,2,17,2,33,2,119,2,36,0,4294901904,0,4718591,2,119,2,34,0,335544350,-1,2,120,2,121,-2,2,122,2,38,2,7,-1,2,123,2,65,0,3758161920,0,3,-4,2,0,2,27,0,2147485568,0,3,2,0,2,23,0,176,-5,2,0,2,47,2,186,-1,2,0,2,23,2,197,-1,2,0,0,16779263,-2,2,11,-7,2,0,2,121,-3,3,0,2,2,124,2,125,0,2147549183,0,2,-2,2,126,2,35,0,10,0,4294965249,0,67633151,0,4026597376,2,0,0,536871935,-1,2,0,2,40,-8,2,54,2,47,0,1,2,127,2,23,-3,2,128,2,35,2,129,2,130,0,16778239,-10,2,34,-5,2,64,-2,3,0,28,2,31,-3,3,0,3,2,47,3,0,6,2,48,-85,3,0,33,2,47,-126,3,0,18,2,36,-269,3,0,17,2,40,2,7,-3,2,17,2,131,2,0,2,23,2,48,2,132,2,23,-21,3,0,2,-4,3,0,2,0,67583,-1,2,103,-2,0,11,3,0,191,2,51,3,0,38,2,29,-1,2,33,-279,3,0,8,2,7,-1,2,133,2,52,3,0,11,2,6,-72,3,0,3,2,134,2,135,-187,3,0,2,2,37,2,0,2,136,2,137,2,55,2,0,2,138,2,139,2,140,3,0,10,2,141,2,142,2,15,3,37,2,3,53,2,3,54,2,2,143,-73,2,0,0,1065361407,0,16384,-11,2,0,2,121,-40,3,0,6,2,117,-1,3,0,2,0,2063,-37,2,55,2,144,2,145,2,146,2,147,2,148,-138,3,0,1334,2,9,-1,3,0,129,2,27,3,0,6,2,9,3,0,180,2,149,3,0,233,0,1,-96,3,0,16,2,9,-47,3,0,154,2,56,-28517,2,0,0,1,-1,2,124,2,0,0,8193,-21,2,193,0,10255,0,4,-11,2,64,2,171,-1,0,71680,-1,2,161,0,4292900864,0,805306431,-5,2,150,-1,2,157,-1,0,6144,-2,2,127,-1,2,154,-1,0,2147532800,2,151,2,165,2,0,2,164,0,524032,0,4,-4,2,190,0,205128192,0,1333757536,0,2147483696,0,423953,0,747766272,0,2717763192,0,4286578751,0,278545,2,152,0,4294886464,0,33292336,0,417809,2,152,0,1327482464,0,4278190128,0,700594195,0,1006647527,0,4286497336,0,4160749631,2,153,0,469762560,0,4171219488,0,8323120,2,153,0,202375680,0,3214918176,0,4294508592,2,153,-1,0,983584,0,48,0,58720273,0,3489923072,0,10517376,0,4293066815,0,1,0,2013265920,2,177,2,0,0,2089,0,3221225552,0,201375904,2,0,-2,0,256,0,122880,0,16777216,2,150,0,4160757760,2,0,-6,2,167,-11,0,3263218176,-1,0,49664,0,2160197632,0,8388802,-1,0,12713984,-1,2,154,2,159,2,178,-2,2,162,-20,0,3758096385,-2,2,155,0,4292878336,2,90,2,169,0,4294057984,-2,2,163,2,156,2,175,-2,2,155,-1,2,182,-1,2,170,2,124,0,4026593280,0,14,0,4292919296,-1,2,158,0,939588608,-1,0,805306368,-1,2,124,0,1610612736,2,156,2,157,2,4,2,0,-2,2,158,2,159,-3,0,267386880,-1,2,160,0,7168,-1,0,65024,2,154,2,161,2,179,-7,2,168,-8,2,162,-1,0,1426112704,2,163,-1,2,164,0,271581216,0,2149777408,2,23,2,161,2,124,0,851967,2,180,-1,2,23,2,181,-4,2,158,-20,2,195,2,165,-56,0,3145728,2,185,-4,2,166,2,124,-4,0,32505856,-1,2,167,-1,0,2147385088,2,90,1,2155905152,2,-3,2,103,2,0,2,168,-2,2,169,-6,2,170,0,4026597375,0,1,-1,0,1,-1,2,171,-3,2,117,2,64,-2,2,166,-2,2,176,2,124,-878,2,159,-36,2,172,-1,2,201,-10,2,188,-5,2,174,-6,0,4294965251,2,27,-1,2,173,-1,2,174,-2,0,4227874752,-3,0,2146435072,2,159,-2,0,1006649344,2,124,-1,2,90,0,201375744,-3,0,134217720,2,90,0,4286677377,0,32896,-1,2,158,-3,2,175,-349,2,176,0,1920,2,177,3,0,264,-11,2,157,-2,2,178,2,0,0,520617856,0,2692743168,0,36,-3,0,524284,-11,2,23,-1,2,187,-1,2,184,0,3221291007,2,178,-1,2,202,0,2158720,-3,2,159,0,1,-4,2,124,0,3808625411,0,3489628288,2,200,0,1207959680,0,3221274624,2,0,-3,2,179,0,120,0,7340032,-2,2,180,2,4,2,23,2,163,3,0,4,2,159,-1,2,181,2,177,-1,0,8176,2,182,2,179,2,183,-1,0,4290773232,2,0,-4,2,163,2,189,0,15728640,2,177,-1,2,161,-1,0,4294934512,3,0,4,-9,2,90,2,170,2,184,3,0,4,0,704,0,1849688064,2,185,-1,2,124,0,4294901887,2,0,0,130547712,0,1879048192,2,199,3,0,2,-1,2,186,2,187,-1,0,17829776,0,2025848832,0,4261477888,-2,2,0,-1,0,4286580608,-1,0,29360128,2,192,0,16252928,0,3791388672,2,38,3,0,2,-2,2,196,2,0,-1,2,103,-1,0,66584576,-1,2,191,3,0,9,2,124,-1,0,4294755328,3,0,2,-1,2,161,2,178,3,0,2,2,23,2,188,2,90,-2,0,245760,0,2147418112,-1,2,150,2,203,0,4227923456,-1,2,164,2,161,2,90,-3,0,4292870145,0,262144,2,124,3,0,2,0,1073758848,2,189,-1,0,4227921920,2,190,0,68289024,0,528402016,0,4292927536,3,0,4,-2,0,268435456,2,91,-2,2,191,3,0,5,-1,2,192,2,163,2,0,-2,0,4227923936,2,62,-1,2,155,2,95,2,0,2,154,2,158,3,0,6,-1,2,177,3,0,3,-2,0,2146959360,0,9440640,0,104857600,0,4227923840,3,0,2,0,768,2,193,2,77,-2,2,161,-2,2,119,-1,2,155,3,0,8,0,512,0,8388608,2,194,2,172,2,187,0,4286578944,3,0,2,0,1152,0,1266679808,2,191,0,576,0,4261707776,2,95,3,0,9,2,155,3,0,5,2,16,-1,0,2147221504,-28,2,178,3,0,3,-3,0,4292902912,-6,2,96,3,0,85,-33,0,4294934528,3,0,126,-18,2,195,3,0,269,-17,2,155,2,124,2,198,3,0,2,2,23,0,4290822144,-2,0,67174336,0,520093700,2,17,3,0,21,-2,2,179,3,0,3,-2,0,30720,-1,0,32512,3,0,2,0,4294770656,-191,2,174,-38,2,170,2,0,2,196,3,0,279,-8,2,124,2,0,0,4294508543,0,65295,-11,2,177,3,0,72,-3,0,3758159872,0,201391616,3,0,155,-7,2,170,-1,0,384,-1,0,133693440,-3,2,196,-2,2,26,3,0,4,2,169,-2,2,90,2,155,3,0,4,-2,2,164,-1,2,150,0,335552923,2,197,-1,0,538974272,0,2214592512,0,132e3,-10,0,192,-8,0,12288,-21,0,134213632,0,4294901761,3,0,42,0,100663424,0,4294965284,3,0,6,-1,0,3221282816,2,198,3,0,11,-1,2,199,3,0,40,-6,0,4286578784,2,0,-2,0,1006694400,3,0,24,2,35,-1,2,94,3,0,2,0,1,2,163,3,0,6,2,197,0,4110942569,0,1432950139,0,2701658217,0,4026532864,0,4026532881,2,0,2,45,3,0,8,-1,2,158,-2,2,169,0,98304,0,65537,2,170,-5,0,4294950912,2,0,2,118,0,65528,2,177,0,4294770176,2,26,3,0,4,-30,2,174,0,3758153728,-3,2,169,-2,2,155,2,188,2,158,-1,2,191,-1,2,161,0,4294754304,3,0,2,-3,0,33554432,-2,2,200,-3,2,169,0,4175478784,2,201,0,4286643712,0,4286644216,2,0,-4,2,202,-1,2,165,0,4227923967,3,0,32,-1334,2,163,2,0,-129,2,94,-6,2,163,-180,2,203,-233,2,4,3,0,96,-16,2,163,3,0,47,-154,2,165,3,0,22381,-7,2,17,3,0,6128],[4294967295,4294967291,4092460543,4294828031,4294967294,134217726,268435455,2147483647,1048575,1073741823,3892314111,134217727,1061158911,536805376,4294910143,4160749567,4294901759,4294901760,536870911,262143,8388607,4294902783,4294918143,65535,67043328,2281701374,4294967232,2097151,4294903807,4194303,255,67108863,4294967039,511,524287,131071,127,4292870143,4294902271,4294549487,33554431,1023,67047423,4294901888,4286578687,4294770687,67043583,32767,15,2047999,67043343,16777215,4294902e3,4294934527,4294966783,4294967279,2047,262083,20511,4290772991,41943039,493567,4294959104,603979775,65536,602799615,805044223,4294965206,8191,1031749119,4294917631,2134769663,4286578493,4282253311,4294942719,33540095,4294905855,4294967264,2868854591,1608515583,265232348,534519807,2147614720,1060109444,4093640016,17376,2139062143,224,4169138175,4294909951,4286578688,4294967292,4294965759,2044,4292870144,4294966272,4294967280,8289918,4294934399,4294901775,4294965375,1602223615,4294967259,4294443008,268369920,4292804608,486341884,4294963199,3087007615,1073692671,4128527,4279238655,4294902015,4294966591,2445279231,3670015,3238002687,31,63,4294967288,4294705151,4095,3221208447,4294549472,2147483648,4285526655,4294966527,4294705152,4294966143,64,4294966719,16383,3774873592,458752,536807423,67043839,3758096383,3959414372,3755993023,2080374783,4294835295,4294967103,4160749565,4087,184024726,2862017156,1593309078,268434431,268434414,4294901763,536870912,2952790016,202506752,139264,402653184,4261412864,4227922944,49152,61440,3758096384,117440512,65280,3233808384,3221225472,2097152,4294965248,32768,57152,67108864,4293918720,4290772992,25165824,57344,4227915776,4278190080,4227907584,65520,4026531840,4227858432,4160749568,3758129152,4294836224,63488,1073741824,4294967040,4194304,251658240,196608,4294963200,64512,417808,4227923712,12582912,50331648,65472,4294967168,4294966784,16,4294917120,2080374784,4096,65408,524288,65532]);function c(e){return e.column++,e.currentChar=e.source.charCodeAt(++e.index)}function l(e,t){if(55296!=(64512&t))return 0;let r=e.source.charCodeAt(e.index+1);return 56320!=(64512&r)?0:(t=e.currentChar=65536+((1023&t)<<10)+(1023&r),0==(1&s[0+(t>>>5)]>>>t)&&n(e,18,_(t)),e.index++,e.column++,1)}function p(e,t){e.currentChar=e.source.charCodeAt(++e.index),e.flags|=1,0==(4&t)&&(e.column=0,e.line++)}function d(e){e.flags|=1,e.currentChar=e.source.charCodeAt(++e.index),e.column=0,e.line++}function f(e){return 160===e||65279===e||133===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||8201===e||65519===e}function _(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(e>>>10)+String.fromCharCode(1023&e)}function m(e){return e<65?e-48:e-65+10&15}var g=[0,0,0,0,0,0,0,0,0,0,1032,0,0,2056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,3,0,0,8192,0,0,0,256,0,33024,0,0,242,242,114,114,114,114,114,114,594,594,0,0,16384,0,0,0,0,67,67,67,67,67,67,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,1,0,0,4099,0,71,71,71,71,71,71,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,16384,0,0,0,0],h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],y=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0];function v(e){return e<=127?h[e]:1&s[34816+(e>>>5)]>>>e}function D(e){return e<=127?y[e]:1&s[0+(e>>>5)]>>>e||8204===e||8205===e}var b=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];function x(e,t,r,i,a,o,s,c){return 2048&i&&n(e,0),E(e,t,r,a,o,s,c)}function E(e,t,r,n,i,a,o){let{index:s}=e;for(e.tokenPos=e.index,e.linePos=e.line,e.colPos=e.column;e.index<e.end;){if(8&g[e.currentChar]){let r=13===e.currentChar;d(e),r&&e.index<e.end&&10===e.currentChar&&(e.currentChar=t.charCodeAt(++e.index));break}if((8232^e.currentChar)<=1){d(e);break}c(e),e.tokenPos=e.index,e.linePos=e.line,e.colPos=e.column}if(e.onComment){let r={start:{line:a,column:o},end:{line:e.linePos,column:e.colPos}};e.onComment(b[255&n],t.slice(s,e.tokenPos),i,e.tokenPos,r)}return 1|r}function S(e,t,r){let{index:i}=e;for(;e.index<e.end;)if(e.currentChar<43){let n=!1;for(;42===e.currentChar;)if(n||(r&=-5,n=!0),47===c(e)){if(c(e),e.onComment){let r={start:{line:e.linePos,column:e.colPos},end:{line:e.line,column:e.column}};e.onComment(b[1],t.slice(i,e.index-2),i-2,e.index,r)}return e.tokenPos=e.index,e.linePos=e.line,e.colPos=e.column,r}if(n)continue;8&g[e.currentChar]?13===e.currentChar?(r|=5,d(e)):(p(e,r),r=-5&r|1):c(e)}else(8232^e.currentChar)<=1?(r=-5&r|1,d(e)):(r&=-5,c(e));n(e,16)}function C(e,t){let r=e.index,i=0;e:for(;;){let t=e.currentChar;if(c(e),1&i)i&=-2;else switch(t){case 47:if(i)break;break e;case 92:i|=1;break;case 91:i|=2;break;case 93:i&=1;break;case 13:case 10:case 8232:case 8233:n(e,32)}if(e.index>=e.source.length)return n(e,32)}let a=e.index-1,o=0,s=e.currentChar,{index:u}=e;for(;D(s);){switch(s){case 103:2&o&&n(e,34,"g"),o|=2;break;case 105:1&o&&n(e,34,"i"),o|=1;break;case 109:4&o&&n(e,34,"m"),o|=4;break;case 117:16&o&&n(e,34,"g"),o|=16;break;case 121:8&o&&n(e,34,"y"),o|=8;break;case 115:12&o&&n(e,34,"s"),o|=12;break;default:n(e,33)}s=c(e)}let l=e.source.slice(u,e.index),p=e.source.slice(r,a);return e.tokenRegExp={pattern:p,flags:l},512&t&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),e.tokenValue=function(e,t,r){try{return new RegExp(t,r)}catch{n(e,32)}}(e,p,l),65540}function T(e,t,r){let{index:i}=e,a="",o=c(e),s=e.index;for(;0==(8&g[o]);){if(o===r)return a+=e.source.slice(s,e.index),c(e),512&t&&(e.tokenRaw=e.source.slice(i,e.index)),e.tokenValue=a,134283267;if(8==(8&o)&&92===o){if(a+=e.source.slice(s,e.index),o=c(e),o<127||8232===o||8233===o){let r=k(e,t,o);r>=0?a+=_(r):A(e,r,0)}else a+=_(o);s=e.index+1}e.index>=e.end&&n(e,14),o=c(e)}n(e,14)}function k(e,t,r){switch(r){case 98:return 8;case 102:return 12;case 114:return 13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:if(e.index<e.end){let t=e.source.charCodeAt(e.index+1);10===t&&(e.index=e.index+1,e.currentChar=t)}case 10:case 8232:case 8233:return e.column=-1,e.line++,-1;case 48:case 49:case 50:case 51:{let n=r-48,i=e.index+1,a=e.column+1;if(i<e.end){let r=e.source.charCodeAt(i);if(0==(32&g[r])){if((0!==n||512&g[r])&&1024&t)return-2}else{if(1024&t)return-2;if(e.currentChar=r,n=n<<3|r-48,i++,a++,i<e.end){let t=e.source.charCodeAt(i);32&g[t]&&(e.currentChar=t,n=n<<3|t-48,i++,a++)}e.flags|=64,e.index=i-1,e.column=a-1}}return n}case 52:case 53:case 54:case 55:{if(1024&t)return-2;let n=r-48,i=e.index+1,a=e.column+1;if(i<e.end){let t=e.source.charCodeAt(i);32&g[t]&&(n=n<<3|t-48,e.currentChar=t,e.index=i,e.column=a)}return e.flags|=64,n}case 120:{let t=c(e);if(0==(64&g[t]))return-4;let r=m(t),n=c(e);return 0==(64&g[n])?-4:r<<4|m(n)}case 117:{let t=c(e);if(123===e.currentChar){let t=0;for(;0!=(64&g[c(e)]);)if(t=t<<4|m(e.currentChar),t>1114111)return-5;return e.currentChar<1||125!==e.currentChar?-4:t}{if(0==(64&g[t]))return-4;let r=e.source.charCodeAt(e.index+1);if(0==(64&g[r]))return-4;let n=e.source.charCodeAt(e.index+2);if(0==(64&g[n]))return-4;let i=e.source.charCodeAt(e.index+3);return 0==(64&g[i])?-4:(e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),m(t)<<12|m(r)<<8|m(n)<<4|m(i))}}case 56:case 57:if(0==(256&t))return-3;default:return r}}function A(e,t,r){switch(t){case-1:return;case-2:n(e,r?2:1);case-3:n(e,13);case-4:n(e,6);case-5:n(e,101)}}function N(e,t){let{index:r}=e,i=67174409,a="",o=c(e);for(;96!==o;){if(36===o&&123===e.source.charCodeAt(e.index+1)){c(e),i=67174408;break}if(8==(8&o)&&92===o)if(o=c(e),o>126)a+=_(o);else{let r=k(e,1024|t,o);if(r>=0)a+=_(r);else{if(-1!==r&&65536&t){a=void 0,o=P(e,o),o<0&&(i=67174408);break}A(e,r,1)}}else e.index<e.end&&13===o&&10===e.source.charCodeAt(e.index)&&(a+=_(o),e.currentChar=e.source.charCodeAt(++e.index)),((83&o)<3&&10===o||(8232^o)<=1)&&(e.column=-1,e.line++),a+=_(o);e.index>=e.end&&n(e,15),o=c(e)}return c(e),e.tokenValue=a,e.tokenRaw=e.source.slice(r+1,e.index-(67174409===i?1:2)),i}function P(e,t){for(;96!==t;){switch(t){case 36:{let r=e.index+1;if(r<e.end&&123===e.source.charCodeAt(r))return e.index=r,e.column++,-t;break}case 10:case 8232:case 8233:e.column=-1,e.line++}e.index>=e.end&&n(e,15),t=c(e)}return t}function F(e,t){return e.index>=e.end&&n(e,0),e.index--,e.column--,N(e,t)}function w(e,t,r){let i=e.currentChar,a=0,s=9,u=64&r?0:1,l=0,p=0;if(64&r)a="."+I(e,i),i=e.currentChar,110===i&&n(e,11);else{if(48===i)if(i=c(e),120==(32|i)){for(r=136,i=c(e);4160&g[i];)95!==i?(p=1,a=16*a+m(i),l++,i=c(e)):(p||n(e,146),p=0,i=c(e));(l<1||!p)&&n(e,l<1?19:147)}else if(111==(32|i)){for(r=132,i=c(e);4128&g[i];)95!==i?(p=1,a=8*a+(i-48),l++,i=c(e)):(p||n(e,146),p=0,i=c(e));(l<1||!p)&&n(e,l<1?0:147)}else if(98==(32|i)){for(r=130,i=c(e);4224&g[i];)95!==i?(p=1,a=2*a+(i-48),l++,i=c(e)):(p||n(e,146),p=0,i=c(e));(l<1||!p)&&n(e,l<1?0:147)}else if(32&g[i])for(1024&t&&n(e,1),r=1;16&g[i];){if(512&g[i]){r=32,u=0;break}a=8*a+(i-48),i=c(e)}else 512&g[i]?(1024&t&&n(e,1),e.flags|=64,r=32):95===i&&n(e,0);if(48&r){if(u){for(;s>=0&&4112&g[i];)95!==i?(p=0,a=10*a+(i-48),i=c(e),--s):(i=c(e),(95===i||32&r)&&o(e.index,e.line,e.index+1,146),p=1);if(p&&o(e.index,e.line,e.index+1,147),s>=0&&!v(i)&&46!==i)return e.tokenValue=a,512&t&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283266}a+=I(e,i),i=e.currentChar,46===i&&(95===c(e)&&n(e,0),r=64,a+="."+I(e,e.currentChar),i=e.currentChar)}}let d=e.index,f=0;if(110===i&&128&r)f=1,i=c(e);else if(101==(32|i)){i=c(e),256&g[i]&&(i=c(e));let{index:t}=e;(16&g[i])<1&&n(e,10),a+=e.source.substring(d,t)+I(e,i),i=e.currentChar}return(e.index<e.end&&16&g[i]||v(i))&&n(e,12),f?(e.tokenRaw=e.source.slice(e.tokenPos,e.index),e.tokenValue=BigInt(a),134283389):(e.tokenValue=15&r?a:32&r?parseFloat(e.source.substring(e.tokenPos,e.index)):+a,512&t&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283266)}function I(e,t){let r=0,n=e.index,i="";for(;4112&g[t];)if(95!==t)r=0,t=c(e);else{let{index:a}=e;95===(t=c(e))&&o(e.index,e.line,e.index+1,146),r=1,i+=e.source.substring(n,a),n=e.index}return r&&o(e.index,e.line,e.index+1,147),i+e.source.substring(n,e.index)}var O=["end of source","identifier","number","string","regular expression","false","true","null","template continuation","template tail","=>","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"</","/>","++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","||=","&&=","??=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],L=Object.create(null,{this:{value:86113},function:{value:86106},if:{value:20571},return:{value:20574},var:{value:86090},else:{value:20565},for:{value:20569},new:{value:86109},in:{value:8738868},typeof:{value:16863277},while:{value:20580},case:{value:20558},break:{value:20557},try:{value:20579},catch:{value:20559},delete:{value:16863278},throw:{value:86114},switch:{value:86112},continue:{value:20561},default:{value:20563},instanceof:{value:8476725},do:{value:20564},void:{value:16863279},finally:{value:20568},async:{value:209007},await:{value:209008},class:{value:86096},const:{value:86092},constructor:{value:12401},debugger:{value:20562},export:{value:20566},extends:{value:20567},false:{value:86021},from:{value:12404},get:{value:12402},implements:{value:36966},import:{value:86108},interface:{value:36967},let:{value:241739},null:{value:86023},of:{value:274549},package:{value:36968},private:{value:36969},protected:{value:36970},public:{value:36971},set:{value:12403},static:{value:36972},super:{value:86111},true:{value:86022},with:{value:20581},yield:{value:241773},enum:{value:86134},eval:{value:537079927},as:{value:77934},arguments:{value:537079928},target:{value:143494},meta:{value:143495}});function M(e,t,r){for(;y[c(e)];);return e.tokenValue=e.source.slice(e.tokenPos,e.index),92!==e.currentChar&&e.currentChar<126?L[e.tokenValue]||208897:B(e,t,0,r)}function R(e,t){let r=K(e);return D(r)||n(e,4),e.tokenValue=_(r),B(e,t,1,4&g[r])}function B(e,t,r,i){let a=e.index;for(;e.index<e.end;)if(92===e.currentChar){e.tokenValue+=e.source.slice(a,e.index),r=1;let t=K(e);D(t)||n(e,4),i=i&&4&g[t],e.tokenValue+=_(t),a=e.index}else{if(!D(e.currentChar)&&!l(e,e.currentChar))break;c(e)}e.index<=e.end&&(e.tokenValue+=e.source.slice(a,e.index));let o=e.tokenValue.length;if(i&&o>=2&&o<=11){let n=L[e.tokenValue];return void 0===n?208897:r?1024&t?209008===n&&0==(4196352&t)?n:36972===n||36864==(36864&n)?122:121:1073741824&t&&0==(8192&t)&&20480==(20480&n)?n:241773===n?1073741824&t?143483:2097152&t?121:n:209007===n&&1073741824&t?143483:36864==(36864&n)||209008===n&&0==(4194304&t)?n:121:n}return 208897}function j(e){return v(c(e))||n(e,93),131}function K(e){return 117!==e.source.charCodeAt(e.index+1)&&n(e,4),e.currentChar=e.source.charCodeAt(e.index+=2),function(e){let t=0,r=e.currentChar;if(123===r){let r=e.index-2;for(;64&g[c(e)];)t=t<<4|m(e.currentChar),t>1114111&&o(r,e.line,e.index+1,101);return 125!==e.currentChar&&o(r,e.line,e.index-1,6),c(e),t}0==(64&g[r])&&n(e,6);let i=e.source.charCodeAt(e.index+1);0==(64&g[i])&&n(e,6);let a=e.source.charCodeAt(e.index+2);0==(64&g[a])&&n(e,6);let s=e.source.charCodeAt(e.index+3);return 0==(64&g[s])&&n(e,6),t=m(r)<<12|m(i)<<8|m(a)<<4|m(s),e.currentChar=e.source.charCodeAt(e.index+=4),t}(e)}var J=[129,129,129,129,129,129,129,129,129,128,136,128,128,130,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,128,16842800,134283267,131,208897,8457015,8455751,134283267,67174411,16,8457014,25233970,18,25233971,67108877,8457016,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456258,1077936157,8456259,22,133,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,137,20,8455497,208897,132,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8455240,1074790415,16842801,129];function U(e,t){if(e.flags=1^(1|e.flags),e.startPos=e.index,e.startColumn=e.column,e.startLine=e.line,e.token=q(e,t,0),e.onToken&&1048576!==e.token){let t={start:{line:e.linePos,column:e.colPos},end:{line:e.line,column:e.column}};e.onToken(function(e){switch(e){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 132:return"TemplateLiteral";default:return 143360==(143360&e)?"Identifier":4096==(4096&e)?"Keyword":"Punctuator"}}(e.token),e.tokenPos,e.index,t)}}function q(e,t,r){let i=0===e.index,a=e.source,o=e.index,u=e.line,l=e.column;for(;e.index<e.end;){e.tokenPos=e.index,e.colPos=e.column,e.linePos=e.line;let m=e.currentChar;if(m<=126){let s=J[m];switch(s){case 67174411:case 16:case 2162700:case 1074790415:case 69271571:case 20:case 21:case 1074790417:case 18:case 16842801:case 133:case 129:return c(e),s;case 208897:return M(e,t,0);case 4096:return M(e,t,1);case 134283266:return w(e,t,144);case 134283267:return T(e,t,m);case 132:return N(e,t);case 137:return R(e,t);case 131:return j(e);case 128:c(e);break;case 130:r|=5,d(e);break;case 136:p(e,r),r=-5&r|1;break;case 8456258:let f=c(e);if(e.index<e.end){if(60===f)return e.index<e.end&&61===c(e)?(c(e),4194334):8456516;if(61===f)return c(e),8456e3;if(33===f){let n=e.index+1;if(n+1<e.end&&45===a.charCodeAt(n)&&45==a.charCodeAt(n+1)){e.column+=3,e.currentChar=a.charCodeAt(e.index+=3),r=x(e,a,r,t,2,e.tokenPos,e.linePos,e.colPos),o=e.tokenPos,u=e.linePos,l=e.colPos;continue}return 8456258}if(47===f){if((16&t)<1)return 8456258;let r=e.index+1;if(r<e.end&&(f=a.charCodeAt(r),42===f||47===f))break;return c(e),25}}return 8456258;case 1077936157:{c(e);let t=e.currentChar;return 61===t?61===c(e)?(c(e),8455996):8455998:62===t?(c(e),10):1077936157}case 16842800:return 61!==c(e)?16842800:61!==c(e)?8455999:(c(e),8455997);case 8457015:return 61!==c(e)?8457015:(c(e),4194342);case 8457014:{if(c(e),e.index>=e.end)return 8457014;let t=e.currentChar;return 61===t?(c(e),4194340):42!==t?8457014:61!==c(e)?8457273:(c(e),4194337)}case 8455497:return 61!==c(e)?8455497:(c(e),4194343);case 25233970:{c(e);let t=e.currentChar;return 43===t?(c(e),33619995):61===t?(c(e),4194338):25233970}case 25233971:{c(e);let s=e.currentChar;if(45===s){if(c(e),(1&r||i)&&62===e.currentChar){0==(256&t)&&n(e,108),c(e),r=x(e,a,r,t,3,o,u,l),o=e.tokenPos,u=e.linePos,l=e.colPos;continue}return 33619996}return 61===s?(c(e),4194339):25233971}case 8457016:if(c(e),e.index<e.end){let n=e.currentChar;if(47===n){c(e),r=E(e,a,r,0,e.tokenPos,e.linePos,e.colPos),o=e.tokenPos,u=e.linePos,l=e.colPos;continue}if(42===n){c(e),r=S(e,a,r),o=e.tokenPos,u=e.linePos,l=e.colPos;continue}if(32768&t)return C(e,t);if(61===n)return c(e),4259877}return 8457016;case 67108877:let _=c(e);if(_>=48&&_<=57)return w(e,t,80);if(46===_){let t=e.index+1;if(t<e.end&&46===a.charCodeAt(t))return e.column+=2,e.currentChar=a.charCodeAt(e.index+=2),14}return 67108877;case 8455240:{c(e);let t=e.currentChar;return 124===t?(c(e),61===e.currentChar?(c(e),4194346):8979003):61===t?(c(e),4194344):8455240}case 8456259:{c(e);let t=e.currentChar;if(61===t)return c(e),8456001;if(62!==t)return 8456259;if(c(e),e.index<e.end){let t=e.currentChar;if(62===t)return 61===c(e)?(c(e),4194336):8456518;if(61===t)return c(e),4194335}return 8456517}case 8455751:{c(e);let t=e.currentChar;return 38===t?(c(e),61===e.currentChar?(c(e),4194347):8979258):61===t?(c(e),4194345):8455751}case 22:{let t=c(e);if(63===t)return c(e),61===e.currentChar?(c(e),4194348):276889982;if(46===t){let r=e.index+1;if(r<e.end&&(t=a.charCodeAt(r),!(t>=48&&t<=57)))return c(e),67108991}return 22}}}else{if((8232^m)<=1){r=-5&r|1,d(e);continue}if(55296==(64512&m)||0!=(1&s[34816+(m>>>5)]>>>m))return 56320==(64512&m)&&(m=(1023&m)<<10|1023&m|65536,0==(1&s[0+(m>>>5)]>>>m)&&n(e,18,_(m)),e.index++,e.currentChar=m),e.column++,e.tokenValue="",B(e,t,0,0);if(f(m)){c(e);continue}n(e,18,_(m))}}return 1048576}var V={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"",Cayleys:"",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"",Fscr:"",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"",HilbertSpace:"",Hopf:"",HorizontalLine:"─",Hscr:"",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"",Igrave:"Ì",Im:"",Imacr:"Ī",ImaginaryI:"",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:"",Mellintrf:"",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",Nopf:"",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"",Popf:"",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"",ThinSpace:"",Tilde:"",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"",Verbar:"‖",Vert:"‖",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"",Zeta:"Ζ",Zfr:"",Zopf:"",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:"",emsp14:"",emsp:"",eng:"ŋ",ensp:"",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"",exponentiale:"",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:"",half:"½",hamilt:"",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"",hyphen:"",iacute:"í",ic:"",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"",imagline:"",imagpart:"",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"",midast:"*",midcir:"⫰",middot:"·",minus:"",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:"",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"",orarr:"↻",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"",primes:"",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:"",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"",rationals:"",rbarr:"⤍",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"",realine:"",realpart:"",reals:"",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",thinsp:"",thkap:"≈",thksim:"",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""},z={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};function W(e){return e.replace(/&(?:[a-zA-Z]+|#[xX][\da-fA-F]+|#\d+);/g,(e=>{if("#"===e.charAt(1)){let t=e.charAt(2);return function(e){return e>=55296&&e<=57343||e>1114111?"<22>":(e in z&&(e=z[e]),String.fromCodePoint(e))}("X"===t||"x"===t?parseInt(e.slice(3),16):parseInt(e.slice(2),10))}return V[e.slice(1,-1)]||e}))}function H(e,t){return e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.token=8192&g[e.currentChar]?function(e,t){let r=e.currentChar,i=c(e),a=e.index;for(;i!==r;)e.index>=e.end&&n(e,14),i=c(e);return i!==r&&n(e,14),e.tokenValue=e.source.slice(a,e.index),c(e),512&t&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283267}(e,t):q(e,t,0),e.token}function G(e,t){if(e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.index>=e.end)return e.token=1048576;switch(J[e.source.charCodeAt(e.index)]){case 8456258:c(e),47===e.currentChar?(c(e),e.token=25):e.token=8456258;break;case 2162700:c(e),e.token=2162700;break;default:{let r=0;for(;e.index<e.end;){let t=g[e.source.charCodeAt(e.index)];if(1024&t?(r|=5,d(e)):2048&t?(p(e,r),r=-5&r|1):c(e),16384&g[e.currentChar])break}let n=e.source.slice(e.tokenPos,e.index);512&t&&(e.tokenRaw=n),e.tokenValue=W(n),e.token=138}}return e.token}function $(e){if(143360==(143360&e.token)){let{index:t}=e,r=e.currentChar;for(;32770&g[r];)r=c(e);e.tokenValue+=e.source.slice(t,e.index)}return e.token=208897,e.token}function Y(e,t,r){0==(1&e.flags)&&1048576!=(1048576&e.token)&&!r&&n(e,28,O[255&e.token]),Z(e,t,1074790417)}function X(e,t,r,n){return t-r<13&&"use strict"===n&&(1048576==(1048576&e.token)||1&e.flags)?1:0}function Q(e,t,r){return e.token!==r?0:(U(e,t),1)}function Z(e,t,r){return e.token===r&&(U(e,t),!0)}function ee(e,t,r){e.token!==r&&n(e,23,O[255&r]),U(e,t)}function te(e,t){switch(t.type){case"ArrayExpression":t.type="ArrayPattern";let r=t.elements;for(let t=0,n=r.length;t<n;++t){let n=r[t];n&&te(e,n)}return;case"ObjectExpression":t.type="ObjectPattern";let i=t.properties;for(let t=0,r=i.length;t<r;++t)te(e,i[t]);return;case"AssignmentExpression":return t.type="AssignmentPattern","="!==t.operator&&n(e,68),delete t.operator,void te(e,t.left);case"Property":return void te(e,t.value);case"SpreadElement":t.type="RestElement",te(e,t.argument)}}function re(e,t,r,i,a){1024&t&&(36864==(36864&i)&&n(e,114),!a&&537079808==(537079808&i)&&n(e,115)),20480==(20480&i)&&n(e,99),24&r&&241739===i&&n(e,97),4196352&t&&209008===i&&n(e,95),2098176&t&&241773===i&&n(e,94,"yield")}function ne(e,t,r){1024&t&&(36864==(36864&r)&&n(e,114),537079808==(537079808&r)&&n(e,115),122===r&&n(e,92),121===r&&n(e,92)),20480==(20480&r)&&n(e,99),4196352&t&&209008===r&&n(e,95),2098176&t&&241773===r&&n(e,94,"yield")}function ie(e,t,r){return 209008===r&&(4196352&t&&n(e,95),e.destructible|=128),241773===r&&2097152&t&&n(e,94,"yield"),20480==(20480&r)||36864==(36864&r)||122==r}function ae(e,t,r,i){for(;t;){if(t["$"+r])return i&&n(e,133),1;i&&t.loop&&(i=0),t=t.$}return 0}function oe(e,t,r,n,i,a){return 2&t&&(a.start=r,a.end=e.startPos,a.range=[r,e.startPos]),4&t&&(a.loc={start:{line:n,column:i},end:{line:e.startLine,column:e.startColumn}},e.sourceFile&&(a.loc.source=e.sourceFile)),a}function se(e){switch(e.type){case"JSXIdentifier":return e.name;case"JSXNamespacedName":return e.namespace+":"+e.name;case"JSXMemberExpression":return se(e.object)+"."+se(e.property)}}function ce(e,t,r){let n=le({parent:void 0,type:2},1024);return de(e,t,n,r,1,0),n}function ue(e,t){let{index:r,line:n,column:i}=e;for(var a=arguments.length,o=new Array(a>2?a-2:0),s=2;s<a;s++)o[s-2]=arguments[s];return{type:t,params:o,index:r,line:n,column:i}}function le(e,t){return{parent:e,type:t,scopeError:void 0}}function pe(e,t,r,n,i,a){4&i?fe(e,t,r,n,i):de(e,t,r,n,i,a),64&a&&_e(e,n)}function de(e,t,r,i,a,o){let s=r["#"+i];s&&0==(2&s)&&(1&a?r.scopeError=ue(e,140,i):256&t&&64&s&&2&o||n(e,140,i)),128&r.type&&r.parent["#"+i]&&0==(2&r.parent["#"+i])&&n(e,140,i),1024&r.type&&s&&0==(2&s)&&1&a&&(r.scopeError=ue(e,140,i)),64&r.type&&768&r.parent["#"+i]&&n(e,153,i),r["#"+i]=a}function fe(e,t,r,i,a){let o=r;for(;o&&0==(256&o.type);){let s=o["#"+i];248&s&&(256&t&&0==(1024&t)&&(128&a&&68&s||128&s&&68&a)||n(e,140,i)),o===r&&1&s&&1&a&&(o.scopeError=ue(e,140,i)),768&s&&(0==(512&s)||0==(256&t)||1024&t)&&n(e,140,i),o["#"+i]=a,o=o.parent}}function _e(e,t){void 0!==e.exportedNames&&""!==t&&(e.exportedNames["#"+t]&&n(e,141,t),e.exportedNames["#"+t]=1)}function me(e,t){void 0!==e.exportedBindings&&""!==t&&(e.exportedBindings["#"+t]=1)}function ge(e,t){return 2098176&e?!(2048&e&&209008===t||2097152&e&&241773===t||143360!=(143360&t)&&12288!=(12288&t)):143360==(143360&t)||12288==(12288&t)||36864==(36864&t)}function he(e,t,r,i){537079808==(537079808&r)&&(1024&t&&n(e,115),i&&(e.flags|=512)),ge(t,r)||n(e,0)}function ye(e,t,r){let i,a,o="";null!=t&&(t.module&&(r|=3072),t.next&&(r|=1),t.loc&&(r|=4),t.ranges&&(r|=2),t.uniqueKeyInPattern&&(r|=-2147483648),t.lexical&&(r|=64),t.webcompat&&(r|=256),t.directives&&(r|=520),t.globalReturn&&(r|=32),t.raw&&(r|=512),t.preserveParens&&(r|=128),t.impliedStrict&&(r|=1024),t.jsx&&(r|=16),t.identifierPattern&&(r|=268435456),t.specDeviation&&(r|=536870912),t.source&&(o=t.source),null!=t.onComment&&(i=Array.isArray(t.onComment)?function(e,t){return function(r,n,i,a,o){let s={type:r,value:n};2&e&&(s.start=i,s.end=a,s.range=[i,a]),4&e&&(s.loc=o),t.push(s)}}(r,t.onComment):t.onComment),null!=t.onToken&&(a=Array.isArray(t.onToken)?function(e,t){return function(r,n,i,a){let o={token:r};2&e&&(o.start=n,o.end=i,o.range=[n,i]),4&e&&(o.loc=a),t.push(o)}}(r,t.onToken):t.onToken));let s=function(e,t,r,n){return{source:e,flags:0,index:0,line:1,column:0,startPos:0,end:e.length,tokenPos:0,startColumn:0,colPos:0,linePos:1,startLine:1,sourceFile:t,tokenValue:"",token:1048576,tokenRaw:"",tokenRegExp:void 0,currentChar:e.charCodeAt(0),exportedNames:[],exportedBindings:[],assignable:1,destructible:0,onComment:r,onToken:n,leadingDecorators:[]}}(e,o,i,a);1&r&&function(e){let t=e.source;35===e.currentChar&&33===t.charCodeAt(e.index+1)&&(c(e),c(e),E(e,t,0,4,e.tokenPos,e.linePos,e.colPos))}(s);let u=64&r?{parent:void 0,type:2}:void 0,l=[],p="script";if(2048&r){if(p="module",l=function(e,t,r){U(e,32768|t);let n=[];if(8&t)for(;134283267===e.token;){let{tokenPos:r,linePos:i,colPos:a,token:o}=e;n.push(Te(e,t,at(e,t),o,r,i,a))}for(;1048576!==e.token;)n.push(ve(e,t,r));return n}(s,8192|r,u),u)for(let e in s.exportedBindings)"#"===e[0]&&!u[e]&&n(s,142,e.slice(1))}else l=function(e,t,r){U(e,1073774592|t);let n=[];for(;134283267===e.token;){let{index:r,tokenPos:i,tokenValue:a,linePos:o,colPos:s,token:c}=e,u=at(e,t);X(e,r,i,a)&&(t|=1024),n.push(Te(e,t,u,c,i,o,s))}for(;1048576!==e.token;)n.push(De(e,t,r,4,{}));return n}(s,8192|r,u);let d={type:"Program",sourceType:p,body:l};return 2&r&&(d.start=0,d.end=e.length,d.range=[0,e.length]),4&r&&(d.loc={start:{line:1,column:0},end:{line:s.line,column:s.column}},s.sourceFile&&(d.loc.source=o)),d}function ve(e,t,r){let i;switch(e.leadingDecorators=Et(e,t),e.token){case 20566:i=function(e,t,r){let i=e.tokenPos,a=e.linePos,o=e.colPos;U(e,32768|t);let s,c=[],u=null,l=null;if(Z(e,32768|t,20563)){switch(e.token){case 86106:u=ot(e,t,r,4,1,1,0,e.tokenPos,e.linePos,e.colPos);break;case 133:case 86096:u=xt(e,t,r,1,e.tokenPos,e.linePos,e.colPos);break;case 209007:let{tokenPos:n,linePos:i,colPos:a}=e;u=it(e,t,0);let{flags:o}=e;(1&o)<1&&(86106===e.token?u=ot(e,t,r,4,1,1,1,n,i,a):67174411===e.token?(u=bt(e,t,u,1,1,0,o,n,i,a),u=He(e,t,u,0,0,n,i,a),u=Je(e,t,0,0,n,i,a,u)):143360&e.token&&(r&&(r=ce(e,t,e.tokenValue)),u=it(e,t,0),u=ht(e,t,r,[u],1,n,i,a)));break;default:u=Be(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos),Y(e,32768|t)}return r&&_e(e,"default"),oe(e,t,i,a,o,{type:"ExportDefaultDeclaration",declaration:u})}switch(e.token){case 8457014:{U(e,t);let s=null;return Z(e,t,77934)&&(r&&_e(e,e.tokenValue),s=it(e,t,0)),ee(e,t,12404),134283267!==e.token&&n(e,102,"Export"),l=at(e,t),Y(e,32768|t),oe(e,t,i,a,o,{type:"ExportAllDeclaration",source:l,exported:s})}case 2162700:{U(e,t);let i=[],a=[];for(;143360&e.token;){let o,{tokenPos:s,tokenValue:u,linePos:l,colPos:p}=e,d=it(e,t,0);77934===e.token?(U(e,t),134217728==(134217728&e.token)&&n(e,103),r&&(i.push(e.tokenValue),a.push(u)),o=it(e,t,0)):(r&&(i.push(e.tokenValue),a.push(e.tokenValue)),o=d),c.push(oe(e,t,s,l,p,{type:"ExportSpecifier",local:d,exported:o})),1074790415!==e.token&&ee(e,t,18)}if(ee(e,t,1074790415),Z(e,t,12404))134283267!==e.token&&n(e,102,"Export"),l=at(e,t);else if(r){let t=0,r=i.length;for(;t<r;t++)_e(e,i[t]);for(t=0,r=a.length;t<r;t++)me(e,a[t])}Y(e,32768|t);break}case 86096:u=xt(e,t,r,2,e.tokenPos,e.linePos,e.colPos);break;case 86106:u=ot(e,t,r,4,1,2,0,e.tokenPos,e.linePos,e.colPos);break;case 241739:u=Ne(e,t,r,8,64,e.tokenPos,e.linePos,e.colPos);break;case 86092:u=Ne(e,t,r,16,64,e.tokenPos,e.linePos,e.colPos);break;case 86090:u=Pe(e,t,r,64,e.tokenPos,e.linePos,e.colPos);break;case 209007:let{tokenPos:p,linePos:d,colPos:f}=e;if(U(e,t),(1&e.flags)<1&&86106===e.token){u=ot(e,t,r,4,1,2,1,p,d,f),r&&(s=u.id?u.id.name:"",_e(e,s));break}default:n(e,28,O[255&e.token])}return oe(e,t,i,a,o,{type:"ExportNamedDeclaration",declaration:u,specifiers:c,source:l})}(e,t,r);break;case 86108:i=function(e,t,r){let i=e.tokenPos,a=e.linePos,o=e.colPos;U(e,t);let s=null,{tokenPos:c,linePos:u,colPos:l}=e,p=[];if(134283267===e.token)s=at(e,t);else{if(143360&e.token){if(p=[oe(e,t,c,u,l,{type:"ImportDefaultSpecifier",local:Ie(e,t,r)})],Z(e,t,18))switch(e.token){case 8457014:p.push(Oe(e,t,r));break;case 2162700:Le(e,t,r,p);break;default:n(e,104)}}else switch(e.token){case 8457014:p=[Oe(e,t,r)];break;case 2162700:Le(e,t,r,p);break;case 67174411:return Re(e,t,i,a,o);case 67108877:return Me(e,t,i,a,o);default:n(e,28,O[255&e.token])}s=function(e,t){return Z(e,t,12404),134283267!==e.token&&n(e,102,"Import"),at(e,t)}(e,t)}return Y(e,32768|t),oe(e,t,i,a,o,{type:"ImportDeclaration",specifiers:p,source:s})}(e,t,r);break;default:i=De(e,t,r,4,{})}return e.leadingDecorators.length&&n(e,164),i}function De(e,t,r,i,a){let o=e.tokenPos,s=e.linePos,c=e.colPos;switch(e.token){case 86106:return ot(e,t,r,i,1,0,0,o,s,c);case 133:case 86096:return xt(e,t,r,0,o,s,c);case 86092:return Ne(e,t,r,16,0,o,s,c);case 241739:return function(e,t,r,i,a,o,s){let{token:c,tokenValue:u}=e,l=it(e,t,0);if(2240512&e.token){let n=Fe(e,t,r,8,0);return Y(e,32768|t),oe(e,t,a,o,s,{type:"VariableDeclaration",kind:"let",declarations:n})}if(e.assignable=1,1024&t&&n(e,82),21===e.token)return Se(e,t,r,i,{},u,l,c,0,a,o,s);if(10===e.token){let r;64&t&&(r=ce(e,t,u)),e.flags=128^(128|e.flags),l=ht(e,t,r,[l],0,a,o,s)}else l=He(e,t,l,0,0,a,o,s),l=Je(e,t,0,0,a,o,s,l);return 18===e.token&&(l=je(e,t,0,a,o,s,l)),Ee(e,t,l,a,o,s)}(e,t,r,i,o,s,c);case 20566:n(e,100,"export");case 86108:switch(U(e,t),e.token){case 67174411:return Re(e,t,o,s,c);case 67108877:return Me(e,t,o,s,c);default:n(e,100,"import")}case 209007:return Ce(e,t,r,i,a,1,o,s,c);default:return be(e,t,r,i,a,1,o,s,c)}}function be(e,t,r,i,a,o,s,c,u){switch(e.token){case 86090:return Pe(e,t,r,0,s,c,u);case 20574:return function(e,t,r,i,a){(32&t)<1&&8192&t&&n(e,89),U(e,32768|t);let o=1&e.flags||1048576&e.token?null:Ke(e,t,0,1,e.tokenPos,e.line,e.column);return Y(e,32768|t),oe(e,t,r,i,a,{type:"ReturnStatement",argument:o})}(e,t,s,c,u);case 20571:return function(e,t,r,n,i,a,o){U(e,t),ee(e,32768|t,67174411),e.assignable=1;let s=Ke(e,t,0,1,e.tokenPos,e.line,e.colPos);ee(e,32768|t,16);let c=ke(e,t,r,n,e.tokenPos,e.linePos,e.colPos),u=null;return 20565===e.token&&(U(e,32768|t),u=ke(e,t,r,n,e.tokenPos,e.linePos,e.colPos)),oe(e,t,i,a,o,{type:"IfStatement",test:s,consequent:c,alternate:u})}(e,t,r,a,s,c,u);case 20569:return function(e,t,r,i,a,o,s){U(e,t);let c=(4194304&t)>0&&Z(e,t,209008);ee(e,32768|t,67174411),r&&(r=le(r,1));let u,l=null,p=null,d=0,f=null,_=86090===e.token||241739===e.token||86092===e.token,{token:m,tokenPos:g,linePos:h,colPos:y}=e;return _?241739===m?(f=it(e,t,0),2240512&e.token?(8738868===e.token?1024&t&&n(e,64):f=oe(e,t,g,h,y,{type:"VariableDeclaration",kind:"let",declarations:Fe(e,134217728|t,r,8,32)}),e.assignable=1):1024&t?n(e,64):(_=!1,e.assignable=1,f=He(e,t,f,0,0,g,h,y),274549===e.token&&n(e,111))):(U(e,t),f=oe(e,t,g,h,y,86090===m?{type:"VariableDeclaration",kind:"var",declarations:Fe(e,134217728|t,r,4,32)}:{type:"VariableDeclaration",kind:"const",declarations:Fe(e,134217728|t,r,16,32)}),e.assignable=1):1074790417===m?c&&n(e,79):2097152==(2097152&m)?(f=2162700===m?dt(e,t,void 0,1,0,0,2,32,g,h,y):ct(e,t,void 0,1,0,0,2,32,g,h,y),d=e.destructible,256&t&&64&d&&n(e,60),e.assignable=16&d?2:1,f=He(e,134217728|t,f,0,0,e.tokenPos,e.linePos,e.colPos)):f=We(e,134217728|t,1,0,1,g,h,y),262144==(262144&e.token)?274549===e.token?(2&e.assignable&&n(e,77,c?"await":"of"),te(e,f),U(e,32768|t),u=Be(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos),ee(e,32768|t,16),oe(e,t,a,o,s,{type:"ForOfStatement",left:f,right:u,body:Ae(e,t,r,i),await:c})):(2&e.assignable&&n(e,77,"in"),te(e,f),U(e,32768|t),c&&n(e,79),u=Ke(e,t,0,1,e.tokenPos,e.linePos,e.colPos),ee(e,32768|t,16),oe(e,t,a,o,s,{type:"ForInStatement",body:Ae(e,t,r,i),left:f,right:u})):(c&&n(e,79),_||(8&d&&1077936157!==e.token&&n(e,77,"loop"),f=Je(e,134217728|t,0,0,g,h,y,f)),18===e.token&&(f=je(e,t,0,e.tokenPos,e.linePos,e.colPos,f)),ee(e,32768|t,1074790417),1074790417!==e.token&&(l=Ke(e,t,0,1,e.tokenPos,e.linePos,e.colPos)),ee(e,32768|t,1074790417),16!==e.token&&(p=Ke(e,t,0,1,e.tokenPos,e.linePos,e.colPos)),ee(e,32768|t,16),oe(e,t,a,o,s,{type:"ForStatement",init:f,test:l,update:p,body:Ae(e,t,r,i)}))}(e,t,r,a,s,c,u);case 20564:return function(e,t,r,n,i,a,o){U(e,32768|t);let s=Ae(e,t,r,n);ee(e,t,20580),ee(e,32768|t,67174411);let c=Ke(e,t,0,1,e.tokenPos,e.linePos,e.colPos);return ee(e,32768|t,16),Z(e,t,1074790417),oe(e,t,i,a,o,{type:"DoWhileStatement",body:s,test:c})}(e,t,r,a,s,c,u);case 20580:return function(e,t,r,n,i,a,o){U(e,t),ee(e,32768|t,67174411);let s=Ke(e,t,0,1,e.tokenPos,e.linePos,e.colPos);return ee(e,32768|t,16),oe(e,t,i,a,o,{type:"WhileStatement",test:s,body:Ae(e,t,r,n)})}(e,t,r,a,s,c,u);case 86112:return function(e,t,r,i,a,o,s){U(e,t),ee(e,32768|t,67174411);let c=Ke(e,t,0,1,e.tokenPos,e.linePos,e.colPos);ee(e,t,16),ee(e,t,2162700);let u=[],l=0;for(r&&(r=le(r,8));1074790415!==e.token;){let{tokenPos:a,linePos:o,colPos:s}=e,c=null,p=[];for(Z(e,32768|t,20558)?c=Ke(e,t,0,1,e.tokenPos,e.linePos,e.colPos):(ee(e,32768|t,20563),l&&n(e,86),l=1),ee(e,32768|t,21);20558!==e.token&&1074790415!==e.token&&20563!==e.token;)p.push(De(e,4096|t,r,2,{$:i}));u.push(oe(e,t,a,o,s,{type:"SwitchCase",test:c,consequent:p}))}return ee(e,32768|t,1074790415),oe(e,t,a,o,s,{type:"SwitchStatement",discriminant:c,cases:u})}(e,t,r,a,s,c,u);case 1074790417:return function(e,t,r,n,i){return U(e,32768|t),oe(e,t,r,n,i,{type:"EmptyStatement"})}(e,t,s,c,u);case 2162700:return xe(e,t,r&&le(r,2),a,s,c,u);case 86114:return function(e,t,r,i,a){U(e,32768|t),1&e.flags&&n(e,87);let o=Ke(e,t,0,1,e.tokenPos,e.linePos,e.colPos);return Y(e,32768|t),oe(e,t,r,i,a,{type:"ThrowStatement",argument:o})}(e,t,s,c,u);case 20557:return function(e,t,r,i,a,o){U(e,32768|t);let s=null;if((1&e.flags)<1&&143360&e.token){let{tokenValue:i}=e;s=it(e,32768|t,0),ae(e,r,i,0)||n(e,134,i)}else(135168&t)<1&&n(e,66);return Y(e,32768|t),oe(e,t,i,a,o,{type:"BreakStatement",label:s})}(e,t,a,s,c,u);case 20561:return function(e,t,r,i,a,o){(131072&t)<1&&n(e,65),U(e,t);let s=null;if((1&e.flags)<1&&143360&e.token){let{tokenValue:i}=e;s=it(e,32768|t,0),ae(e,r,i,1)||n(e,134,i)}return Y(e,32768|t),oe(e,t,i,a,o,{type:"ContinueStatement",label:s})}(e,t,a,s,c,u);case 20579:return function(e,t,r,i,a,o,s){U(e,32768|t);let c=r?le(r,32):void 0,u=xe(e,t,c,{$:i},e.tokenPos,e.linePos,e.colPos),{tokenPos:l,linePos:p,colPos:d}=e,f=Z(e,32768|t,20559)?function(e,t,r,i,a,o,s){let c=null,u=r;return Z(e,t,67174411)&&(r&&(r=le(r,4)),c=Nt(e,t,r,2097152==(2097152&e.token)?256:512,0,e.tokenPos,e.linePos,e.colPos),18===e.token?n(e,83):1077936157===e.token&&n(e,84),ee(e,32768|t,16),r&&(u=le(r,64))),oe(e,t,a,o,s,{type:"CatchClause",param:c,body:xe(e,t,u,{$:i},e.tokenPos,e.linePos,e.colPos)})}(e,t,r,i,l,p,d):null,_=null;return 20568===e.token&&(U(e,32768|t),_=xe(e,t,c?le(r,4):void 0,{$:i},e.tokenPos,e.linePos,e.colPos)),!f&&!_&&n(e,85),oe(e,t,a,o,s,{type:"TryStatement",block:u,handler:f,finalizer:_})}(e,t,r,a,s,c,u);case 20581:return function(e,t,r,i,a,o,s){U(e,t),1024&t&&n(e,88),ee(e,32768|t,67174411);let c=Ke(e,t,0,1,e.tokenPos,e.linePos,e.colPos);return ee(e,32768|t,16),oe(e,t,a,o,s,{type:"WithStatement",object:c,body:be(e,t,r,2,i,0,e.tokenPos,e.linePos,e.colPos)})}(e,t,r,a,s,c,u);case 20562:return function(e,t,r,n,i){return U(e,32768|t),Y(e,32768|t),oe(e,t,r,n,i,{type:"DebuggerStatement"})}(e,t,s,c,u);case 209007:return Ce(e,t,r,i,a,0,s,c,u);case 20559:n(e,156);case 20568:n(e,157);case 86106:n(e,1024&t?73:(256&t)<1?75:74);case 86096:n(e,76);default:return function(e,t,r,i,a,o,s,c,u){let l,{tokenValue:p,token:d}=e;return 241739===d?(l=it(e,t,0),1024&t&&n(e,82),69271571===e.token&&n(e,81)):l=$e(e,t,2,0,1,0,0,1,e.tokenPos,e.linePos,e.colPos),143360&d&&21===e.token?Se(e,t,r,i,a,p,l,d,o,s,c,u):(l=He(e,t,l,0,0,s,c,u),l=Je(e,t,0,0,s,c,u,l),18===e.token&&(l=je(e,t,0,s,c,u,l)),Ee(e,t,l,s,c,u))}(e,t,r,i,a,o,s,c,u)}}function xe(e,t,r,n,i,a,o){let s=[];for(ee(e,32768|t,2162700);1074790415!==e.token;)s.push(De(e,t,r,2,{$:n}));return ee(e,32768|t,1074790415),oe(e,t,i,a,o,{type:"BlockStatement",body:s})}function Ee(e,t,r,n,i,a){return Y(e,32768|t),oe(e,t,n,i,a,{type:"ExpressionStatement",expression:r})}function Se(e,t,r,i,a,o,s,c,u,l,p,d){return re(e,t,0,c,1),function(e,t,r){let i=t;for(;i;)i["$"+r]&&n(e,132,r),i=i.$;t["$"+r]=1}(e,a,o),U(e,32768|t),oe(e,t,l,p,d,{type:"LabeledStatement",label:s,body:u&&(1024&t)<1&&256&t&&86106===e.token?ot(e,t,le(r,2),i,0,0,0,e.tokenPos,e.linePos,e.colPos):be(e,t,r,i,a,u,e.tokenPos,e.linePos,e.colPos)})}function Ce(e,t,r,i,a,o,s,c,u){let{token:l,tokenValue:p}=e,d=it(e,t,0);if(21===e.token)return Se(e,t,r,i,a,p,d,l,1,s,c,u);let f=1&e.flags;if(!f){if(86106===e.token)return o||n(e,119),ot(e,t,r,i,1,0,1,s,c,u);if(143360==(143360&e.token))return d=Dt(e,t,1,s,c,u),18===e.token&&(d=je(e,t,0,s,c,u,d)),Ee(e,t,d,s,c,u)}return 67174411===e.token?d=bt(e,t,d,1,1,0,f,s,c,u):(10===e.token&&(he(e,t,l,1),d=mt(e,t,e.tokenValue,d,0,1,0,s,c,u)),e.assignable=1),d=He(e,t,d,0,0,s,c,u),18===e.token&&(d=je(e,t,0,s,c,u,d)),d=Je(e,t,0,0,s,c,u,d),e.assignable=1,Ee(e,t,d,s,c,u)}function Te(e,t,r,n,i,a,o){return 1074790417!==n&&(e.assignable=2,r=He(e,t,r,0,0,i,a,o),1074790417!==e.token&&(r=Je(e,t,0,0,i,a,o,r),18===e.token&&(r=je(e,t,0,i,a,o,r))),Y(e,32768|t)),8&t&&"Literal"===r.type&&"string"==typeof r.value?oe(e,t,i,a,o,{type:"ExpressionStatement",expression:r,directive:r.raw.slice(1,-1)}):oe(e,t,i,a,o,{type:"ExpressionStatement",expression:r})}function ke(e,t,r,n,i,a,o){return 1024&t||(256&t)<1||86106!==e.token?be(e,t,r,0,{$:n},0,e.tokenPos,e.linePos,e.colPos):ot(e,t,le(r,2),0,0,0,0,i,a,o)}function Ae(e,t,r,n){return be(e,134217728^(134217728|t)|131072,r,0,{loop:1,$:n},0,e.tokenPos,e.linePos,e.colPos)}function Ne(e,t,r,n,i,a,o,s){U(e,t);let c=Fe(e,t,r,n,i);return Y(e,32768|t),oe(e,t,a,o,s,{type:"VariableDeclaration",kind:8&n?"let":"const",declarations:c})}function Pe(e,t,r,n,i,a,o){U(e,t);let s=Fe(e,t,r,4,n);return Y(e,32768|t),oe(e,t,i,a,o,{type:"VariableDeclaration",kind:"var",declarations:s})}function Fe(e,t,r,i,a){let o=1,s=[we(e,t,r,i,a)];for(;Z(e,t,18);)o++,s.push(we(e,t,r,i,a));return o>1&&32&a&&262144&e.token&&n(e,58,O[255&e.token]),s}function we(e,t,r,i,o){let{token:s,tokenPos:c,linePos:u,colPos:l}=e,p=null,d=Nt(e,t,r,i,o,c,u,l);return 1077936157===e.token?(U(e,32768|t),p=Be(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos),(32&o||(2097152&s)<1)&&(274549===e.token||8738868===e.token&&(2097152&s||(4&i)<1||1024&t))&&a(c,e.line,e.index-3,57,274549===e.token?"of":"in")):(16&i||(2097152&s)>0)&&262144!=(262144&e.token)&&n(e,56,16&i?"const":"destructuring"),oe(e,t,c,u,l,{type:"VariableDeclarator",id:d,init:p})}function Ie(e,t,r){return ge(t,e.token)||n(e,114),537079808==(537079808&e.token)&&n(e,115),r&&de(e,t,r,e.tokenValue,8,0),it(e,t,0)}function Oe(e,t,r){let{tokenPos:n,linePos:i,colPos:o}=e;return U(e,t),ee(e,t,77934),134217728==(134217728&e.token)&&a(n,e.line,e.index,28,O[255&e.token]),oe(e,t,n,i,o,{type:"ImportNamespaceSpecifier",local:Ie(e,t,r)})}function Le(e,t,r,i){for(U(e,t);143360&e.token;){let a,{token:o,tokenValue:s,tokenPos:c,linePos:u,colPos:l}=e,p=it(e,t,0);Z(e,t,77934)?(134217728==(134217728&e.token)||18===e.token?n(e,103):re(e,t,16,e.token,0),s=e.tokenValue,a=it(e,t,0)):(re(e,t,16,o,0),a=p),r&&de(e,t,r,s,8,0),i.push(oe(e,t,c,u,l,{type:"ImportSpecifier",local:a,imported:p})),1074790415!==e.token&&ee(e,t,18)}return ee(e,t,1074790415),i}function Me(e,t,r,n,i){let a=Ye(e,t,oe(e,t,r,n,i,{type:"Identifier",name:"import"}),r,n,i);return a=He(e,t,a,0,0,r,n,i),a=Je(e,t,0,0,r,n,i,a),Ee(e,t,a,r,n,i)}function Re(e,t,r,n,i){let a=Xe(e,t,0,r,n,i);return a=He(e,t,a,0,0,r,n,i),Ee(e,t,a,r,n,i)}function Be(e,t,r,n,i,a,o,s){let c=$e(e,t,2,0,r,n,i,1,a,o,s);return c=He(e,t,c,i,0,a,o,s),Je(e,t,i,0,a,o,s,c)}function je(e,t,r,n,i,a,o){let s=[o];for(;Z(e,32768|t,18);)s.push(Be(e,t,1,0,r,e.tokenPos,e.linePos,e.colPos));return oe(e,t,n,i,a,{type:"SequenceExpression",expressions:s})}function Ke(e,t,r,n,i,a,o){let s=Be(e,t,n,0,r,i,a,o);return 18===e.token?je(e,t,r,i,a,o,s):s}function Je(e,t,r,i,a,o,s,c){let{token:u}=e;if(4194304==(4194304&u)){2&e.assignable&&n(e,24),(!i&&1077936157===u&&"ArrayExpression"===c.type||"ObjectExpression"===c.type)&&te(e,c),U(e,32768|t);let l=Be(e,t,1,1,r,e.tokenPos,e.linePos,e.colPos);return e.assignable=2,oe(e,t,a,o,s,i?{type:"AssignmentPattern",left:c,right:l}:{type:"AssignmentExpression",left:c,operator:O[255&u],right:l})}return 8454144==(8454144&u)&&(c=Ve(e,t,r,a,o,s,4,u,c)),Z(e,32768|t,22)&&(c=qe(e,t,c,a,o,s)),c}function Ue(e,t,r,n,i,a,o,s){let{token:c}=e;U(e,32768|t);let u=Be(e,t,1,1,r,e.tokenPos,e.linePos,e.colPos);return s=oe(e,t,i,a,o,n?{type:"AssignmentPattern",left:s,right:u}:{type:"AssignmentExpression",left:s,operator:O[255&c],right:u}),e.assignable=2,s}function qe(e,t,r,n,i,a){let o=Be(e,134217728^(134217728|t),1,0,0,e.tokenPos,e.linePos,e.colPos);ee(e,32768|t,21),e.assignable=1;let s=Be(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);return e.assignable=2,oe(e,t,n,i,a,{type:"ConditionalExpression",test:r,consequent:o,alternate:s})}function Ve(e,t,r,i,a,o,s,c,u){let l,p,d=8738868&-((134217728&t)>0);for(e.assignable=2;8454144&e.token&&(l=e.token,p=3840&l,(524288&l&&268435456&c||524288&c&&268435456&l)&&n(e,159),!(p+((8457273===l)<<8)-((d===l)<<12)<=s));)U(e,32768|t),u=oe(e,t,i,a,o,{type:524288&l||268435456&l?"LogicalExpression":"BinaryExpression",left:u,right:Ve(e,t,r,e.tokenPos,e.linePos,e.colPos,p,l,We(e,t,0,r,1,e.tokenPos,e.linePos,e.colPos)),operator:O[255&l]});return 1077936157===e.token&&n(e,24),u}function ze(e,t,r,o,s,c){let{tokenPos:u,linePos:l,colPos:p}=e;ee(e,32768|t,2162700);let d=[],f=t;if(1074790415!==e.token){for(;134283267===e.token;){let{index:r,tokenPos:n,tokenValue:i,token:o}=e,s=at(e,t);X(e,r,n,i)&&(t|=1024,128&e.flags&&a(e.index,e.line,e.tokenPos,63),64&e.flags&&a(e.index,e.line,e.tokenPos,8)),d.push(Te(e,t,s,o,n,e.linePos,e.colPos))}1024&t&&(s&&(537079808==(537079808&s)&&n(e,115),36864==(36864&s)&&n(e,38)),512&e.flags&&n(e,115),256&e.flags&&n(e,114)),64&t&&r&&void 0!==c&&(1024&f)<1&&(8192&t)<1&&i(c)}for(e.flags=832^(832|e.flags),e.destructible=256^(256|e.destructible);1074790415!==e.token;)d.push(De(e,t,r,4,{}));return ee(e,24&o?32768|t:t,1074790415),e.flags&=-193,1077936157===e.token&&n(e,24),oe(e,t,u,l,p,{type:"BlockStatement",body:d})}function We(e,t,r,n,i,a,o,s){return He(e,t,$e(e,t,2,0,r,0,n,i,a,o,s),n,0,a,o,s)}function He(e,t,r,i,a,o,s,c){if(33619968==(33619968&e.token)&&(1&e.flags)<1)r=function(e,t,r,i,a,o){2&e.assignable&&n(e,52);let{token:s}=e;return U(e,t),e.assignable=2,oe(e,t,i,a,o,{type:"UpdateExpression",argument:r,operator:O[255&s],prefix:!1})}(e,t,r,o,s,c);else if(67108864==(67108864&e.token)){switch(t=134225920^(134225920|t),e.token){case 67108877:U(e,1073741824|t),e.assignable=1,r=oe(e,t,o,s,c,{type:"MemberExpression",object:r,computed:!1,property:Ge(e,t)});break;case 69271571:{let n=!1;2048==(2048&e.flags)&&(n=!0,e.flags=2048^(2048|e.flags)),U(e,32768|t);let{tokenPos:a,linePos:u,colPos:l}=e,p=Ke(e,t,i,1,a,u,l);ee(e,t,20),e.assignable=1,r=oe(e,t,o,s,c,{type:"MemberExpression",object:r,computed:!0,property:p}),n&&(e.flags|=2048);break}case 67174411:{if(1024==(1024&e.flags))return e.flags=1024^(1024|e.flags),r;let n=!1;2048==(2048&e.flags)&&(n=!0,e.flags=2048^(2048|e.flags));let a=nt(e,t,i);e.assignable=2,r=oe(e,t,o,s,c,{type:"CallExpression",callee:r,arguments:a}),n&&(e.flags|=2048);break}case 67108991:U(e,t),e.flags|=2048,e.assignable=2,r=function(e,t,r,i,a,o){let s,c=!1;if((69271571===e.token||67174411===e.token)&&2048==(2048&e.flags)&&(c=!0,e.flags=2048^(2048|e.flags)),69271571===e.token){U(e,32768|t);let{tokenPos:n,linePos:c,colPos:u}=e,l=Ke(e,t,0,1,n,c,u);ee(e,t,20),e.assignable=2,s=oe(e,t,i,a,o,{type:"MemberExpression",object:r,computed:!0,optional:!0,property:l})}else if(67174411===e.token){let n=nt(e,t,0);e.assignable=2,s=oe(e,t,i,a,o,{type:"CallExpression",callee:r,arguments:n,optional:!0})}else{(143360&e.token)<1&&n(e,154);let c=it(e,t,0);e.assignable=2,s=oe(e,t,i,a,o,{type:"MemberExpression",object:r,computed:!1,optional:!0,property:c})}return c&&(e.flags|=2048),s}(e,t,r,o,s,c);break;default:2048==(2048&e.flags)&&n(e,160),e.assignable=2,r=oe(e,t,o,s,c,{type:"TaggedTemplateExpression",tag:r,quasi:67174408===e.token?et(e,65536|t):Ze(e,t,e.tokenPos,e.linePos,e.colPos)})}r=He(e,t,r,0,1,o,s,c)}return 0===a&&2048==(2048&e.flags)&&(e.flags=2048^(2048|e.flags),r=oe(e,t,o,s,c,{type:"ChainExpression",expression:r})),r}function Ge(e,t){return(143360&e.token)<1&&131!==e.token&&n(e,154),1&t&&131===e.token?kt(e,t,e.tokenPos,e.linePos,e.colPos):it(e,t,0)}function $e(e,t,r,i,o,s,c,u,l,p,d){if(143360==(143360&e.token)){switch(e.token){case 209008:return function(e,t,r,i,o,s,c){if(i&&(e.destructible|=128),4194304&t||2048&t&&8192&t){r&&n(e,0),8388608&t&&a(e.index,e.line,e.index,29),U(e,32768|t);let i=We(e,t,0,0,1,e.tokenPos,e.linePos,e.colPos);return 8457273===e.token&&n(e,31),e.assignable=2,oe(e,t,o,s,c,{type:"AwaitExpression",argument:i})}return 2048&t&&n(e,95),_t(e,t,o,s,c)}(e,t,i,c,l,p,d);case 241773:return function(e,t,r,i,a,o,s){if(r&&(e.destructible|=256),2097152&t){U(e,32768|t),8388608&t&&n(e,30),i||n(e,24),22===e.token&&n(e,120);let r=null,c=!1;return(1&e.flags)<1&&(c=Z(e,32768|t,8457014),(77824&e.token||c)&&(r=Be(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos))),e.assignable=2,oe(e,t,a,o,s,{type:"YieldExpression",argument:r,delegate:c})}return 1024&t&&n(e,94,"yield"),_t(e,t,a,o,s)}(e,t,c,o,l,p,d);case 209007:return function(e,t,r,i,a,o,s,c,u,l){let{token:p}=e,d=it(e,t,o),{flags:f}=e;if((1&f)<1){if(86106===e.token)return st(e,t,1,r,c,u,l);if(143360==(143360&e.token))return i||n(e,0),Dt(e,t,a,c,u,l)}return s||67174411!==e.token?10===e.token?(he(e,t,p,1),s&&n(e,48),mt(e,t,e.tokenValue,d,s,a,0,c,u,l)):d:bt(e,t,d,a,1,0,f,c,u,l)}(e,t,c,u,o,s,i,l,p,d)}let{token:f,tokenValue:_}=e,m=it(e,65536|t,s);return 10===e.token?(u||n(e,0),he(e,t,f,1),mt(e,t,_,m,i,o,0,l,p,d)):(16384&t&&537079928===f&&n(e,126),241739===f&&(1024&t&&n(e,109),24&r&&n(e,97)),e.assignable=1024&t&&537079808==(537079808&f)?2:1,m)}if(134217728==(134217728&e.token))return at(e,t);switch(e.token){case 33619995:case 33619996:return function(e,t,r,i,a,o,s){r&&n(e,53),i||n(e,0);let{token:c}=e;U(e,32768|t);let u=We(e,t,0,0,1,e.tokenPos,e.linePos,e.colPos);return 2&e.assignable&&n(e,52),e.assignable=2,oe(e,t,a,o,s,{type:"UpdateExpression",argument:u,operator:O[255&c],prefix:!0})}(e,t,i,u,l,p,d);case 16863278:case 16842800:case 16842801:case 25233970:case 25233971:case 16863277:case 16863279:return function(e,t,r,i,a,o,s){r||n(e,0);let c=e.token;U(e,32768|t);let u=We(e,t,0,s,1,e.tokenPos,e.linePos,e.colPos);return 8457273===e.token&&n(e,31),1024&t&&16863278===c&&("Identifier"===u.type?n(e,117):function(e){return!!e.property&&"PrivateIdentifier"===e.property.type}(u)&&n(e,123)),e.assignable=2,oe(e,t,i,a,o,{type:"UnaryExpression",operator:O[255&c],argument:u,prefix:!0})}(e,t,u,l,p,d,c);case 86106:return st(e,t,0,c,l,p,d);case 2162700:return function(e,t,r,i,a,o,s){let c=dt(e,t,void 0,r,i,0,2,0,a,o,s);return 256&t&&64&e.destructible&&n(e,60),8&e.destructible&&n(e,59),c}(e,t,o?0:1,c,l,p,d);case 69271571:return function(e,t,r,i,a,o,s){let c=ct(e,t,void 0,r,i,0,2,0,a,o,s);return 256&t&&64&e.destructible&&n(e,60),8&e.destructible&&n(e,59),c}(e,t,o?0:1,c,l,p,d);case 67174411:return function(e,t,r,i,a,o,s,c){e.flags=128^(128|e.flags);let{tokenPos:u,linePos:l,colPos:p}=e;U(e,1073774592|t);let d=64&t?le({parent:void 0,type:2},1024):void 0;if(Z(e,t=134217728^(134217728|t),16))return gt(e,t,d,[],r,0,o,s,c);let f=0;e.destructible&=-385;let _,m=[],g=0,h=0,{tokenPos:y,linePos:v,colPos:D}=e;for(e.assignable=1;16!==e.token;){let{token:r,tokenPos:o,linePos:s,colPos:c}=e;if(143360&r)d&&de(e,t,d,e.tokenValue,1,0),_=$e(e,t,i,0,1,0,1,1,o,s,c),16===e.token||18===e.token?2&e.assignable?(f|=16,h=1):(537079808==(537079808&r)||36864==(36864&r))&&(h=1):(1077936157===e.token?h=1:f|=16,_=He(e,t,_,1,0,o,s,c),16!==e.token&&18!==e.token&&(_=Je(e,t,1,0,o,s,c,_)));else{if(2097152!=(2097152&r)){if(14===r){_=lt(e,t,d,16,i,a,0,1,0,o,s,c),16&e.destructible&&n(e,71),h=1,g&&(16===e.token||18===e.token)&&m.push(_),f|=8;break}if(f|=16,_=Be(e,t,1,0,1,o,s,c),g&&(16===e.token||18===e.token)&&m.push(_),18===e.token&&(g||(g=1,m=[_])),g){for(;Z(e,32768|t,18);)m.push(Be(e,t,1,0,1,e.tokenPos,e.linePos,e.colPos));e.assignable=2,_=oe(e,t,y,v,D,{type:"SequenceExpression",expressions:m})}return ee(e,t,16),e.destructible=f,_}_=2162700===r?dt(e,1073741824|t,d,0,1,0,i,a,o,s,c):ct(e,1073741824|t,d,0,1,0,i,a,o,s,c),f|=e.destructible,h=1,e.assignable=2,16!==e.token&&18!==e.token&&(8&f&&n(e,118),_=He(e,t,_,0,0,o,s,c),f|=16,16!==e.token&&18!==e.token&&(_=Je(e,t,0,0,o,s,c,_)))}if(g&&(16===e.token||18===e.token)&&m.push(_),!Z(e,32768|t,18))break;if(g||(g=1,m=[_]),16===e.token){f|=8;break}}return g&&(e.assignable=2,_=oe(e,t,y,v,D,{type:"SequenceExpression",expressions:m})),ee(e,t,16),16&f&&8&f&&n(e,145),f|=256&e.destructible?256:0|128&e.destructible?128:0,10===e.token?(48&f&&n(e,46),4196352&t&&128&f&&n(e,29),2098176&t&&256&f&&n(e,30),h&&(e.flags|=128),gt(e,t,d,g?m:[_],r,0,o,s,c)):(8&f&&n(e,139),e.destructible=256^(256|e.destructible)|f,128&t?oe(e,t,u,l,p,{type:"ParenthesizedExpression",expression:_}):_)}(e,t,o,1,0,l,p,d);case 86021:case 86022:case 86023:return function(e,t,r,n,i){let a=O[255&e.token],o=86023===e.token?null:"true"===a;return U(e,t),e.assignable=2,oe(e,t,r,n,i,512&t?{type:"Literal",value:o,raw:a}:{type:"Literal",value:o})}(e,t,l,p,d);case 86113:return function(e,t){let{tokenPos:r,linePos:n,colPos:i}=e;return U(e,t),e.assignable=2,oe(e,t,r,n,i,{type:"ThisExpression"})}(e,t);case 65540:return function(e,t,r,n,i){let{tokenRaw:a,tokenRegExp:o,tokenValue:s}=e;return U(e,t),e.assignable=2,oe(e,t,r,n,i,512&t?{type:"Literal",value:s,regex:o,raw:a}:{type:"Literal",value:s,regex:o})}(e,t,l,p,d);case 133:case 86096:return function(e,t,r,i,a,o){let s=null,c=null,u=Et(e,t=16777216^(16778240|t));u.length&&(i=e.tokenPos,a=e.linePos,o=e.colPos),U(e,t),4096&e.token&&20567!==e.token&&(ie(e,t,e.token)&&n(e,114),537079808==(537079808&e.token)&&n(e,115),s=it(e,t,0));let l=t;Z(e,32768|t,20567)?(c=We(e,t,0,r,0,e.tokenPos,e.linePos,e.colPos),l|=524288):l=524288^(524288|l);let p=Ct(e,l,t,void 0,2,0,r);return e.assignable=2,oe(e,t,i,a,o,1&t?{type:"ClassExpression",id:s,superClass:c,decorators:u,body:p}:{type:"ClassExpression",id:s,superClass:c,body:p})}(e,t,c,l,p,d);case 86111:return function(e,t,r,i,a){switch(U(e,t),e.token){case 67108991:n(e,161);case 67174411:(524288&t)<1&&n(e,26),16384&t&&n(e,143),e.assignable=2;break;case 69271571:case 67108877:(262144&t)<1&&n(e,27),16384&t&&n(e,143),e.assignable=1;break;default:n(e,28,"super")}return oe(e,t,r,i,a,{type:"Super"})}(e,t,l,p,d);case 67174409:return Ze(e,t,l,p,d);case 67174408:return et(e,t);case 86109:return function(e,t,r,i,a,o){let s=it(e,32768|t,0),{tokenPos:c,linePos:u,colPos:l}=e;if(Z(e,t,67108877)){if(67108864&t&&143494===e.token)return e.assignable=2,function(e,t,r,n,i,a){return oe(e,t,n,i,a,{type:"MetaProperty",meta:r,property:it(e,t,0)})}(e,t,s,i,a,o);n(e,91)}e.assignable=2,16842752==(16842752&e.token)&&n(e,62,O[255&e.token]);let p=$e(e,t,2,1,0,0,r,1,c,u,l);t=134217728^(134217728|t),67108991===e.token&&n(e,162);let d=vt(e,t,p,r,c,u,l);return e.assignable=2,oe(e,t,i,a,o,{type:"NewExpression",callee:d,arguments:67174411===e.token?nt(e,t,r):[]})}(e,t,c,l,p,d);case 134283389:return Qe(e,t,l,p,d);case 131:return kt(e,t,l,p,d);case 86108:return function(e,t,r,i,a,o,s){let c=it(e,t,0);return 67108877===e.token?Ye(e,t,c,a,o,s):(r&&n(e,137),c=Xe(e,t,i,a,o,s),e.assignable=2,He(e,t,c,i,0,a,o,s))}(e,t,i,c,l,p,d);case 8456258:if(16&t)return Ft(e,t,1,l,p,d);default:if(ge(t,e.token))return _t(e,t,l,p,d);n(e,28,O[255&e.token])}}function Ye(e,t,r,i,a,o){return 0==(2048&t)&&n(e,163),U(e,t),143495!==e.token&&"meta"!==e.tokenValue&&n(e,28,O[255&e.token]),e.assignable=2,oe(e,t,i,a,o,{type:"MetaProperty",meta:r,property:it(e,t,0)})}function Xe(e,t,r,i,a,o){ee(e,32768|t,67174411),14===e.token&&n(e,138);let s=Be(e,t,1,0,r,e.tokenPos,e.linePos,e.colPos);return ee(e,t,16),oe(e,t,i,a,o,{type:"ImportExpression",source:s})}function Qe(e,t,r,n,i){let{tokenRaw:a,tokenValue:o}=e;return U(e,t),e.assignable=2,oe(e,t,r,n,i,512&t?{type:"Literal",value:o,bigint:a.slice(0,-1),raw:a}:{type:"Literal",value:o,bigint:a.slice(0,-1)})}function Ze(e,t,r,n,i){e.assignable=2;let{tokenValue:a,tokenRaw:o,tokenPos:s,linePos:c,colPos:u}=e;return ee(e,t,67174409),oe(e,t,r,n,i,{type:"TemplateLiteral",expressions:[],quasis:[tt(e,t,a,o,s,c,u,!0)]})}function et(e,t){t=134217728^(134217728|t);let{tokenValue:r,tokenRaw:i,tokenPos:a,linePos:o,colPos:s}=e;ee(e,32768|t,67174408);let c=[tt(e,t,r,i,a,o,s,!1)],u=[Ke(e,t,0,1,e.tokenPos,e.linePos,e.colPos)];for(1074790415!==e.token&&n(e,80);67174409!==(e.token=F(e,t));){let{tokenValue:r,tokenRaw:i,tokenPos:a,linePos:o,colPos:s}=e;ee(e,32768|t,67174408),c.push(tt(e,t,r,i,a,o,s,!1)),u.push(Ke(e,t,0,1,e.tokenPos,e.linePos,e.colPos)),1074790415!==e.token&&n(e,80)}{let{tokenValue:r,tokenRaw:n,tokenPos:i,linePos:a,colPos:o}=e;ee(e,t,67174409),c.push(tt(e,t,r,n,i,a,o,!0))}return oe(e,t,a,o,s,{type:"TemplateLiteral",expressions:u,quasis:c})}function tt(e,t,r,n,i,a,o,s){let c=oe(e,t,i,a,o,{type:"TemplateElement",value:{cooked:r,raw:n},tail:s}),u=s?1:2;return 2&t&&(c.start+=1,c.range[0]+=1,c.end-=u,c.range[1]-=u),4&t&&(c.loc.start.column+=1,c.loc.end.column-=u),c}function rt(e,t,r,n,i){ee(e,32768|(t=134217728^(134217728|t)),14);let a=Be(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);return e.assignable=1,oe(e,t,r,n,i,{type:"SpreadElement",argument:a})}function nt(e,t,r){U(e,32768|t);let n=[];if(16===e.token)return U(e,t),n;for(;16!==e.token&&(14===e.token?n.push(rt(e,t,e.tokenPos,e.linePos,e.colPos)):n.push(Be(e,t,1,0,r,e.tokenPos,e.linePos,e.colPos)),18===e.token&&(U(e,32768|t),16!==e.token)););return ee(e,t,16),n}function it(e,t,r){let{tokenValue:n,tokenPos:i,linePos:a,colPos:o}=e;return U(e,t),oe(e,t,i,a,o,268435456&t?{type:"Identifier",name:n,pattern:1===r}:{type:"Identifier",name:n})}function at(e,t){let{tokenValue:r,tokenRaw:n,tokenPos:i,linePos:a,colPos:o}=e;return 134283389===e.token?Qe(e,t,i,a,o):(U(e,t),e.assignable=2,oe(e,t,i,a,o,512&t?{type:"Literal",value:r,raw:n}:{type:"Literal",value:r}))}function ot(e,t,r,i,a,o,s,c,u,l){U(e,32768|t);let p,d=a?Q(e,t,8457014):0,f=null,_=r?{parent:void 0,type:2}:void 0;if(67174411===e.token)(1&o)<1&&n(e,37,"Function");else{let a=4&i&&((8192&t)<1||(2048&t)<1)?4:64;ne(e,t|(3072&t)<<11,e.token),r&&(4&a?fe(e,t,r,e.tokenValue,a):de(e,t,r,e.tokenValue,a,i),_=le(_,256),o&&2&o&&_e(e,e.tokenValue)),p=e.token,143360&e.token?f=it(e,t,0):n(e,28,O[255&e.token])}return t=32243712^(32243712|t)|67108864|2*s+d<<21|(d?0:1073741824),r&&(_=le(_,512)),oe(e,t,c,u,l,{type:"FunctionDeclaration",id:f,params:yt(e,8388608|t,_,0,1),body:ze(e,143360^(143360|t),r?le(_,128):_,8,p,r?_.scopeError:void 0),async:1===s,generator:1===d})}function st(e,t,r,n,i,a,o){U(e,32768|t);let s,c=Q(e,t,8457014),u=2*r+c<<21,l=null,p=64&t?{parent:void 0,type:2}:void 0;(176128&e.token)>0&&(ne(e,32243712^(32243712|t)|u,e.token),p&&(p=le(p,256)),s=e.token,l=it(e,t,0)),t=32243712^(32243712|t)|67108864|u|(c?0:1073741824),p&&(p=le(p,512));let d=yt(e,8388608|t,p,n,1),f=ze(e,-134377473&t,p&&le(p,128),0,s,void 0);return e.assignable=2,oe(e,t,i,a,o,{type:"FunctionExpression",id:l,params:d,body:f,async:1===r,generator:1===c})}function ct(e,t,r,i,a,o,s,c,u,l,p){U(e,32768|t);let d=[],f=0;for(t=134217728^(134217728|t);20!==e.token;)if(Z(e,32768|t,18))d.push(null);else{let i,{token:u,tokenPos:l,linePos:p,colPos:_,tokenValue:m}=e;if(143360&u)if(i=$e(e,t,s,0,1,0,a,1,l,p,_),1077936157===e.token){2&e.assignable&&n(e,24),U(e,32768|t),r&&pe(e,t,r,m,s,c);let u=Be(e,t,1,1,a,e.tokenPos,e.linePos,e.colPos);i=oe(e,t,l,p,_,o?{type:"AssignmentPattern",left:i,right:u}:{type:"AssignmentExpression",operator:"=",left:i,right:u}),f|=256&e.destructible?256:0|128&e.destructible?128:0}else 18===e.token||20===e.token?(2&e.assignable?f|=16:r&&pe(e,t,r,m,s,c),f|=256&e.destructible?256:0|128&e.destructible?128:0):(f|=1&s?32:(2&s)<1?16:0,i=He(e,t,i,a,0,l,p,_),18!==e.token&&20!==e.token?(1077936157!==e.token&&(f|=16),i=Je(e,t,a,o,l,p,_,i)):1077936157!==e.token&&(f|=2&e.assignable?16:32));else 2097152&u?(i=2162700===e.token?dt(e,t,r,0,a,o,s,c,l,p,_):ct(e,t,r,0,a,o,s,c,l,p,_),f|=e.destructible,e.assignable=16&e.destructible?2:1,18===e.token||20===e.token?2&e.assignable&&(f|=16):8&e.destructible?n(e,68):(i=He(e,t,i,a,0,l,p,_),f=2&e.assignable?16:0,18!==e.token&&20!==e.token?i=Je(e,t,a,o,l,p,_,i):1077936157!==e.token&&(f|=2&e.assignable?16:32))):14===u?(i=lt(e,t,r,20,s,c,0,a,o,l,p,_),f|=e.destructible,18!==e.token&&20!==e.token&&n(e,28,O[255&e.token])):(i=We(e,t,1,0,1,l,p,_),18!==e.token&&20!==e.token?(i=Je(e,t,a,o,l,p,_,i),(3&s)<1&&67174411===u&&(f|=16)):2&e.assignable?f|=16:67174411===u&&(f|=1&e.assignable&&3&s?32:16));if(d.push(i),!Z(e,32768|t,18))break;if(20===e.token)break}ee(e,t,20);let _=oe(e,t,u,l,p,{type:o?"ArrayPattern":"ArrayExpression",elements:d});return!i&&4194304&e.token?ut(e,t,f,a,o,u,l,p,_):(e.destructible=f,_)}function ut(e,t,r,i,a,o,s,c,u){1077936157!==e.token&&n(e,24),U(e,32768|t),16&r&&n(e,24),a||te(e,u);let{tokenPos:l,linePos:p,colPos:d}=e,f=Be(e,t,1,1,i,l,p,d);return e.destructible=72^(72|r)|(128&e.destructible?128:0)|(256&e.destructible?256:0),oe(e,t,o,s,c,a?{type:"AssignmentPattern",left:u,right:f}:{type:"AssignmentExpression",left:u,operator:"=",right:f})}function lt(e,t,r,i,a,o,s,c,u,l,p,d){U(e,32768|t);let f=null,_=0,{token:m,tokenValue:g,tokenPos:h,linePos:y,colPos:v}=e;if(143360&m)e.assignable=1,f=$e(e,t,a,0,1,0,c,1,h,y,v),m=e.token,f=He(e,t,f,c,0,h,y,v),18!==e.token&&e.token!==i&&(2&e.assignable&&1077936157===e.token&&n(e,68),_|=16,f=Je(e,t,c,u,h,y,v,f)),2&e.assignable?_|=16:m===i||18===m?r&&pe(e,t,r,g,a,o):_|=32,_|=128&e.destructible?128:0;else if(m===i)n(e,39);else{if(!(2097152&m)){_|=32,f=We(e,t,1,c,1,e.tokenPos,e.linePos,e.colPos);let{token:r,tokenPos:a,linePos:o,colPos:s}=e;return 1077936157===r&&r!==i&&18!==r?(2&e.assignable&&n(e,24),f=Je(e,t,c,u,a,o,s,f),_|=16):(18===r?_|=16:r!==i&&(f=Je(e,t,c,u,a,o,s,f)),_|=1&e.assignable?32:16),e.destructible=_,e.token!==i&&18!==e.token&&n(e,155),oe(e,t,l,p,d,{type:u?"RestElement":"SpreadElement",argument:f})}f=2162700===e.token?dt(e,t,r,1,c,u,a,o,h,y,v):ct(e,t,r,1,c,u,a,o,h,y,v),m=e.token,1077936157!==m&&m!==i&&18!==m?(8&e.destructible&&n(e,68),f=He(e,t,f,c,0,h,y,v),_|=2&e.assignable?16:0,4194304==(4194304&e.token)?(1077936157!==e.token&&(_|=16),f=Je(e,t,c,u,h,y,v,f)):(8454144==(8454144&e.token)&&(f=Ve(e,t,1,h,y,v,4,m,f)),Z(e,32768|t,22)&&(f=qe(e,t,f,h,y,v)),_|=2&e.assignable?16:32)):_|=1074790415===i&&1077936157!==m?16:e.destructible}if(e.token!==i)if(1&a&&(_|=s?16:32),Z(e,32768|t,1077936157)){16&_&&n(e,24),te(e,f);let r=Be(e,t,1,1,c,e.tokenPos,e.linePos,e.colPos);f=oe(e,t,h,y,v,u?{type:"AssignmentPattern",left:f,right:r}:{type:"AssignmentExpression",left:f,operator:"=",right:r}),_=16}else _|=16;return e.destructible=_,oe(e,t,l,p,d,{type:u?"RestElement":"SpreadElement",argument:f})}function pt(e,t,r,a,o,s,c){let u=(64&r)<1?31981568:14680064,l=64&(t=(t|u)^u|(88&r)<<18|100925440)?le({parent:void 0,type:2},512):void 0,p=function(e,t,r,a,o,s){ee(e,t,67174411);let c=[];if(e.flags=128^(128|e.flags),16===e.token)return 512&a&&n(e,35,"Setter","one",""),U(e,t),c;256&a&&n(e,35,"Getter","no","s"),512&a&&14===e.token&&n(e,36),t=134217728^(134217728|t);let u=0,l=0;for(;18!==e.token;){let i=null,{tokenPos:p,linePos:d,colPos:f}=e;if(143360&e.token?((1024&t)<1&&(36864==(36864&e.token)&&(e.flags|=256),537079808==(537079808&e.token)&&(e.flags|=512)),i=Pt(e,t,r,1|a,0,p,d,f)):(2162700===e.token?i=dt(e,t,r,1,s,1,o,0,p,d,f):69271571===e.token?i=ct(e,t,r,1,s,1,o,0,p,d,f):14===e.token&&(i=lt(e,t,r,16,o,0,0,s,1,p,d,f)),l=1,48&e.destructible&&n(e,47)),1077936157===e.token&&(U(e,32768|t),l=1,i=oe(e,t,p,d,f,{type:"AssignmentPattern",left:i,right:Be(e,t,1,1,0,e.tokenPos,e.linePos,e.colPos)})),u++,c.push(i),!Z(e,t,18)||16===e.token)break}return 512&a&&1!==u&&n(e,35,"Setter","one",""),r&&void 0!==r.scopeError&&i(r.scopeError),l&&(e.flags|=128),ee(e,t,16),c}(e,8388608|t,l,r,1,a);return l&&(l=le(l,128)),oe(e,t,o,s,c,{type:"FunctionExpression",params:p,body:ze(e,-134230017&t,l,0,void 0,void 0),async:(16&r)>0,generator:(8&r)>0,id:null})}function dt(e,t,r,i,o,s,c,u,l,p,d){U(e,t);let f=[],_=0,m=0;for(t=134217728^(134217728|t);1074790415!==e.token;){let{token:i,tokenValue:l,linePos:p,colPos:d,tokenPos:g}=e;if(14===i)f.push(lt(e,t,r,1074790415,c,u,0,o,s,g,p,d));else{let h,y=0,v=null,D=e.token;if(143360&e.token||121===e.token)if(v=it(e,t,0),18===e.token||1074790415===e.token||1077936157===e.token)if(y|=4,1024&t&&537079808==(537079808&i)?_|=16:re(e,t,c,i,0),r&&pe(e,t,r,l,c,u),Z(e,32768|t,1077936157)){_|=8;let r=Be(e,t,1,1,o,e.tokenPos,e.linePos,e.colPos);_|=256&e.destructible?256:0|128&e.destructible?128:0,h=oe(e,t,g,p,d,{type:"AssignmentPattern",left:-2147483648&t?Object.assign({},v):v,right:r})}else _|=(209008===i?128:0)|(121===i?16:0),h=-2147483648&t?Object.assign({},v):v;else if(Z(e,32768|t,21)){let{tokenPos:a,linePos:p,colPos:d}=e;if("__proto__"===l&&m++,143360&e.token){let n=e.token,i=e.tokenValue;_|=121===D?16:0,h=$e(e,t,c,0,1,0,o,1,a,p,d);let{token:l}=e;h=He(e,t,h,o,0,a,p,d),18===e.token||1074790415===e.token?1077936157===l||1074790415===l||18===l?(_|=128&e.destructible?128:0,2&e.assignable?_|=16:r&&143360==(143360&n)&&pe(e,t,r,i,c,u)):_|=1&e.assignable?32:16:4194304==(4194304&e.token)?(2&e.assignable?_|=16:1077936157!==l?_|=32:r&&pe(e,t,r,i,c,u),h=Je(e,t,o,s,a,p,d,h)):(_|=16,8454144==(8454144&e.token)&&(h=Ve(e,t,1,a,p,d,4,l,h)),Z(e,32768|t,22)&&(h=qe(e,t,h,a,p,d)))}else 2097152==(2097152&e.token)?(h=69271571===e.token?ct(e,t,r,0,o,s,c,u,a,p,d):dt(e,t,r,0,o,s,c,u,a,p,d),_=e.destructible,e.assignable=16&_?2:1,18===e.token||1074790415===e.token?2&e.assignable&&(_|=16):8&e.destructible?n(e,68):(h=He(e,t,h,o,0,a,p,d),_=2&e.assignable?16:0,4194304==(4194304&e.token)?h=Ue(e,t,o,s,a,p,d,h):(8454144==(8454144&e.token)&&(h=Ve(e,t,1,a,p,d,4,i,h)),Z(e,32768|t,22)&&(h=qe(e,t,h,a,p,d)),_|=2&e.assignable?16:32))):(h=We(e,t,1,o,1,a,p,d),_|=1&e.assignable?32:16,18===e.token||1074790415===e.token?2&e.assignable&&(_|=16):(h=He(e,t,h,o,0,a,p,d),_=2&e.assignable?16:0,18!==e.token&&1074790415!==i&&(1077936157!==e.token&&(_|=16),h=Je(e,t,o,s,a,p,d,h))))}else 69271571===e.token?(_|=16,209007===i&&(y|=16),y|=2|(12402===i?256:12403===i?512:1),v=ft(e,t,o),_|=e.assignable,h=pt(e,t,y,o,e.tokenPos,e.linePos,e.colPos)):143360&e.token?(_|=16,121===i&&n(e,92),209007===i&&(1&e.flags&&n(e,128),y|=16),v=it(e,t,0),y|=12402===i?256:12403===i?512:1,h=pt(e,t,y,o,e.tokenPos,e.linePos,e.colPos)):67174411===e.token?(_|=16,y|=1,h=pt(e,t,y,o,e.tokenPos,e.linePos,e.colPos)):8457014===e.token?(_|=16,12402===i||12403===i?n(e,40):143483===i&&n(e,92),U(e,t),y|=9|(209007===i?16:0),143360&e.token?v=it(e,t,0):134217728==(134217728&e.token)?v=at(e,t):69271571===e.token?(y|=2,v=ft(e,t,o),_|=e.assignable):n(e,28,O[255&e.token]),h=pt(e,t,y,o,e.tokenPos,e.linePos,e.colPos)):134217728==(134217728&e.token)?(209007===i&&(y|=16),y|=12402===i?256:12403===i?512:1,_|=16,v=at(e,t),h=pt(e,t,y,o,e.tokenPos,e.linePos,e.colPos)):n(e,129);else if(134217728==(134217728&e.token))if(v=at(e,t),21===e.token){ee(e,32768|t,21);let{tokenPos:n,linePos:a,colPos:p}=e;if("__proto__"===l&&m++,143360&e.token){h=$e(e,t,c,0,1,0,o,1,n,a,p);let{token:i,tokenValue:l}=e;h=He(e,t,h,o,0,n,a,p),18===e.token||1074790415===e.token?1077936157===i||1074790415===i||18===i?2&e.assignable?_|=16:r&&pe(e,t,r,l,c,u):_|=1&e.assignable?32:16:1077936157===e.token?(2&e.assignable&&(_|=16),h=Je(e,t,o,s,n,a,p,h)):(_|=16,h=Je(e,t,o,s,n,a,p,h))}else 2097152==(2097152&e.token)?(h=69271571===e.token?ct(e,t,r,0,o,s,c,u,n,a,p):dt(e,t,r,0,o,s,c,u,n,a,p),_=e.destructible,e.assignable=16&_?2:1,18===e.token||1074790415===e.token?2&e.assignable&&(_|=16):8!=(8&e.destructible)&&(h=He(e,t,h,o,0,n,a,p),_=2&e.assignable?16:0,4194304==(4194304&e.token)?h=Ue(e,t,o,s,n,a,p,h):(8454144==(8454144&e.token)&&(h=Ve(e,t,1,n,a,p,4,i,h)),Z(e,32768|t,22)&&(h=qe(e,t,h,n,a,p)),_|=2&e.assignable?16:32))):(h=We(e,t,1,0,1,n,a,p),_|=1&e.assignable?32:16,18===e.token||1074790415===e.token?2&e.assignable&&(_|=16):(h=He(e,t,h,o,0,n,a,p),_=1&e.assignable?0:16,18!==e.token&&1074790415!==e.token&&(1077936157!==e.token&&(_|=16),h=Je(e,t,o,s,n,a,p,h))))}else 67174411===e.token?(y|=1,h=pt(e,t,y,o,e.tokenPos,e.linePos,e.colPos),_=16|e.assignable):n(e,130);else if(69271571===e.token)if(v=ft(e,t,o),_|=256&e.destructible?256:0,y|=2,21===e.token){U(e,32768|t);let{tokenPos:a,linePos:l,colPos:p,tokenValue:d,token:f}=e;if(143360&e.token){h=$e(e,t,c,0,1,0,o,1,a,l,p);let{token:n}=e;h=He(e,t,h,o,0,a,l,p),4194304==(4194304&e.token)?(_|=2&e.assignable?16:1077936157===n?0:32,h=Ue(e,t,o,s,a,l,p,h)):18===e.token||1074790415===e.token?1077936157===n||1074790415===n||18===n?2&e.assignable?_|=16:r&&143360==(143360&f)&&pe(e,t,r,d,c,u):_|=1&e.assignable?32:16:(_|=16,h=Je(e,t,o,s,a,l,p,h))}else 2097152==(2097152&e.token)?(h=69271571===e.token?ct(e,t,r,0,o,s,c,u,a,l,p):dt(e,t,r,0,o,s,c,u,a,l,p),_=e.destructible,e.assignable=16&_?2:1,18===e.token||1074790415===e.token?2&e.assignable&&(_|=16):8&_?n(e,59):(h=He(e,t,h,o,0,a,l,p),_=2&e.assignable?16|_:0,4194304==(4194304&e.token)?(1077936157!==e.token&&(_|=16),h=Ue(e,t,o,s,a,l,p,h)):(8454144==(8454144&e.token)&&(h=Ve(e,t,1,a,l,p,4,i,h)),Z(e,32768|t,22)&&(h=qe(e,t,h,a,l,p)),_|=2&e.assignable?16:32))):(h=We(e,t,1,0,1,a,l,p),_|=1&e.assignable?32:16,18===e.token||1074790415===e.token?2&e.assignable&&(_|=16):(h=He(e,t,h,o,0,a,l,p),_=1&e.assignable?0:16,18!==e.token&&1074790415!==e.token&&(1077936157!==e.token&&(_|=16),h=Je(e,t,o,s,a,l,p,h))))}else 67174411===e.token?(y|=1,h=pt(e,t,y,o,e.tokenPos,p,d),_=16):n(e,41);else if(8457014===i)if(ee(e,32768|t,8457014),y|=8,143360&e.token){let{token:r,line:n,index:i}=e;v=it(e,t,0),y|=1,67174411===e.token?(_|=16,h=pt(e,t,y,o,e.tokenPos,e.linePos,e.colPos)):a(i,n,i,209007===r?43:12402===r||12403===e.token?42:44,O[255&r])}else 134217728==(134217728&e.token)?(_|=16,v=at(e,t),y|=1,h=pt(e,t,y,o,g,p,d)):69271571===e.token?(_|=16,y|=3,v=ft(e,t,o),h=pt(e,t,y,o,e.tokenPos,e.linePos,e.colPos)):n(e,122);else n(e,28,O[255&i]);_|=128&e.destructible?128:0,e.destructible=_,f.push(oe(e,t,g,p,d,{type:"Property",key:v,value:h,kind:768&y?512&y?"set":"get":"init",computed:(2&y)>0,method:(1&y)>0,shorthand:(4&y)>0}))}if(_|=e.destructible,18!==e.token)break;U(e,t)}ee(e,t,1074790415),m>1&&(_|=64);let g=oe(e,t,l,p,d,{type:s?"ObjectPattern":"ObjectExpression",properties:f});return!i&&4194304&e.token?ut(e,t,_,o,s,l,p,d,g):(e.destructible=_,g)}function ft(e,t,r){U(e,32768|t);let n=Be(e,134217728^(134217728|t),1,0,r,e.tokenPos,e.linePos,e.colPos);return ee(e,t,20),n}function _t(e,t,r,n,i){let{tokenValue:a}=e,o=it(e,t,0);if(e.assignable=1,10===e.token){let s;return 64&t&&(s=ce(e,t,a)),e.flags=128^(128|e.flags),ht(e,t,s,[o],0,r,n,i)}return o}function mt(e,t,r,i,a,o,s,c,u,l){return o||n(e,54),a&&n(e,48),e.flags&=-129,ht(e,t,64&t?ce(e,t,r):void 0,[i],s,c,u,l)}function gt(e,t,r,i,a,o,s,c,u){a||n(e,54);for(let t=0;t<i.length;++t)te(e,i[t]);return ht(e,t,r,i,o,s,c,u)}function ht(e,t,r,a,o,s,c,u){1&e.flags&&n(e,45),ee(e,32768|t,10),t=15728640^(15728640|t)|o<<22;let l,p=2162700!==e.token;if(r&&void 0!==r.scopeError&&i(r.scopeError),p)l=Be(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);else{switch(r&&(r=le(r,128)),l=ze(e,134246400^(134246400|t),r,16,void 0,void 0),e.token){case 69271571:(1&e.flags)<1&&n(e,112);break;case 67108877:case 67174409:case 22:n(e,113);case 67174411:(1&e.flags)<1&&n(e,112),e.flags|=1024}8454144==(8454144&e.token)&&(1&e.flags)<1&&n(e,28,O[255&e.token]),33619968==(33619968&e.token)&&n(e,121)}return e.assignable=2,oe(e,t,s,c,u,{type:"ArrowFunctionExpression",params:a,body:l,async:1===o,expression:p})}function yt(e,t,r,a,o){ee(e,t,67174411),e.flags=128^(128|e.flags);let s=[];if(Z(e,t,16))return s;t=134217728^(134217728|t);let c=0;for(;18!==e.token;){let i,{tokenPos:u,linePos:l,colPos:p}=e;if(143360&e.token?((1024&t)<1&&(36864==(36864&e.token)&&(e.flags|=256),537079808==(537079808&e.token)&&(e.flags|=512)),i=Pt(e,t,r,1|o,0,u,l,p)):(2162700===e.token?i=dt(e,t,r,1,a,1,o,0,u,l,p):69271571===e.token?i=ct(e,t,r,1,a,1,o,0,u,l,p):14===e.token?i=lt(e,t,r,16,o,0,0,a,1,u,l,p):n(e,28,O[255&e.token]),c=1,48&e.destructible&&n(e,47)),1077936157===e.token&&(U(e,32768|t),c=1,i=oe(e,t,u,l,p,{type:"AssignmentPattern",left:i,right:Be(e,t,1,1,a,e.tokenPos,e.linePos,e.colPos)})),s.push(i),!Z(e,t,18)||16===e.token)break}return c&&(e.flags|=128),r&&(c||1024&t)&&void 0!==r.scopeError&&i(r.scopeError),ee(e,t,16),s}function vt(e,t,r,n,i,a,o){let{token:s}=e;if(67108864&s){if(67108877===s)return U(e,1073741824|t),e.assignable=1,vt(e,t,oe(e,t,i,a,o,{type:"MemberExpression",object:r,computed:!1,property:Ge(e,t)}),0,i,a,o);if(69271571===s){U(e,32768|t);let{tokenPos:s,linePos:c,colPos:u}=e,l=Ke(e,t,n,1,s,c,u);return ee(e,t,20),e.assignable=1,vt(e,t,oe(e,t,i,a,o,{type:"MemberExpression",object:r,computed:!0,property:l}),0,i,a,o)}if(67174408===s||67174409===s)return e.assignable=2,vt(e,t,oe(e,t,i,a,o,{type:"TaggedTemplateExpression",tag:r,quasi:67174408===e.token?et(e,65536|t):Ze(e,t,e.tokenPos,e.linePos,e.colPos)}),0,i,a,o)}return r}function Dt(e,t,r,i,a,o){return 209008===e.token&&n(e,29),2098176&t&&241773===e.token&&n(e,30),537079808==(537079808&e.token)&&(e.flags|=512),mt(e,t,e.tokenValue,it(e,t,0),0,r,1,i,a,o)}function bt(e,t,r,i,a,o,s,c,u,l){U(e,32768|t);let p=64&t?le({parent:void 0,type:2},1024):void 0;if(Z(e,t=134217728^(134217728|t),16))return 10===e.token?(1&s&&n(e,45),gt(e,t,p,[],i,1,c,u,l)):oe(e,t,c,u,l,{type:"CallExpression",callee:r,arguments:[]});let d=0,f=null,_=0;e.destructible=384^(384|e.destructible);let m=[];for(;16!==e.token;){let{token:i,tokenPos:s,linePos:g,colPos:h}=e;if(143360&i)p&&de(e,t,p,e.tokenValue,a,0),f=$e(e,t,a,0,1,0,1,1,s,g,h),16===e.token||18===e.token?2&e.assignable?(d|=16,_=1):537079808==(537079808&i)?e.flags|=512:36864==(36864&i)&&(e.flags|=256):(1077936157===e.token?_=1:d|=16,f=He(e,t,f,1,0,s,g,h),16!==e.token&&18!==e.token&&(f=Je(e,t,1,0,s,g,h,f)));else if(2097152&i)f=2162700===i?dt(e,t,p,0,1,0,a,o,s,g,h):ct(e,t,p,0,1,0,a,o,s,g,h),d|=e.destructible,_=1,16!==e.token&&18!==e.token&&(8&d&&n(e,118),f=He(e,t,f,0,0,s,g,h),d|=16,8454144==(8454144&e.token)&&(f=Ve(e,t,1,c,u,l,4,i,f)),Z(e,32768|t,22)&&(f=qe(e,t,f,c,u,l)));else{if(14!==i){for(f=Be(e,t,1,0,0,s,g,h),d=e.assignable,m.push(f);Z(e,32768|t,18);)m.push(Be(e,t,1,0,0,s,g,h));return d|=e.assignable,ee(e,t,16),e.destructible=16|d,e.assignable=2,oe(e,t,c,u,l,{type:"CallExpression",callee:r,arguments:m})}f=lt(e,t,p,16,a,o,1,1,0,s,g,h),d|=(16===e.token?0:16)|e.destructible,_=1}if(m.push(f),!Z(e,32768|t,18))break}return ee(e,t,16),d|=256&e.destructible?256:0|128&e.destructible?128:0,10===e.token?(48&d&&n(e,25),(1&e.flags||1&s)&&n(e,45),128&d&&n(e,29),2098176&t&&256&d&&n(e,30),_&&(e.flags|=128),gt(e,t,p,m,i,1,c,u,l)):(8&d&&n(e,59),e.assignable=2,oe(e,t,c,u,l,{type:"CallExpression",callee:r,arguments:m}))}function xt(e,t,r,i,a,o,s){let c=Et(e,t=16777216^(16778240|t));c.length&&(a=e.tokenPos,o=e.linePos,s=e.colPos),e.leadingDecorators.length&&(e.leadingDecorators.push(...c),c=e.leadingDecorators,e.leadingDecorators=[]),U(e,t);let u=null,l=null,{tokenValue:p}=e;4096&e.token&&20567!==e.token?(ie(e,t,e.token)&&n(e,114),537079808==(537079808&e.token)&&n(e,115),r&&(de(e,t,r,p,32,0),i&&2&i&&_e(e,p)),u=it(e,t,0)):(1&i)<1&&n(e,37,"Class");let d=t;Z(e,32768|t,20567)?(l=We(e,t,0,0,0,e.tokenPos,e.linePos,e.colPos),d|=524288):d=524288^(524288|d);let f=Ct(e,d,t,r,2,8,0);return oe(e,t,a,o,s,1&t?{type:"ClassDeclaration",id:u,superClass:l,decorators:c,body:f}:{type:"ClassDeclaration",id:u,superClass:l,body:f})}function Et(e,t){let r=[];if(1&t)for(;133===e.token;)r.push(St(e,t,e.tokenPos,e.linePos,e.colPos));return r}function St(e,t,r,n,i){U(e,32768|t);let a=$e(e,t,2,0,1,0,0,1,r,n,i);return a=He(e,t,a,0,0,r,n,i),oe(e,t,r,n,i,{type:"Decorator",expression:a})}function Ct(e,t,r,i,a,o,s){let{tokenPos:c,linePos:u,colPos:l}=e;ee(e,32768|t,2162700),t=134217728^(134217728|t),e.flags=32^(32|e.flags);let p,d=[];for(;1074790415!==e.token;){let o=0;p=Et(e,t),o=p.length,o>0&&"constructor"===e.tokenValue&&n(e,106),1074790415===e.token&&n(e,105),Z(e,t,1074790417)?o>0&&n(e,116):d.push(Tt(e,t,i,r,a,p,0,s,e.tokenPos,e.linePos,e.colPos))}return ee(e,8&o?32768|t:t,1074790415),oe(e,t,c,u,l,{type:"ClassBody",body:d})}function Tt(e,t,r,i,a,o,s,c,u,l,p){let d=s?32:0,f=null,{token:_,tokenPos:m,linePos:g,colPos:h}=e;if(176128&_)switch(f=it(e,t,0),_){case 36972:if(!s&&67174411!==e.token)return Tt(e,t,r,i,a,o,1,c,u,l,p);break;case 209007:if(67174411!==e.token&&(1&e.flags)<1){if(1&t&&1073741824==(1073741824&e.token))return At(e,t,f,d,o,m,g,h);d|=16|(Q(e,t,8457014)?8:0)}break;case 12402:if(67174411!==e.token){if(1&t&&1073741824==(1073741824&e.token))return At(e,t,f,d,o,m,g,h);d|=256}break;case 12403:if(67174411!==e.token){if(1&t&&1073741824==(1073741824&e.token))return At(e,t,f,d,o,m,g,h);d|=512}}else 69271571===_?(d|=2,f=ft(e,i,c)):134217728==(134217728&_)?f=at(e,t):8457014===_?(d|=8,U(e,t)):1&t&&131===e.token?(d|=4096,f=kt(e,t,m,g,h),t|=16384):1&t&&1073741824==(1073741824&e.token)?(d|=128,t|=16384):122===_?(f=it(e,t,0),67174411!==e.token&&n(e,28,O[255&e.token])):n(e,28,O[255&e.token]);if(792&d&&(143360&e.token?f=it(e,t,0):134217728==(134217728&e.token)?f=at(e,t):69271571===e.token?(d|=2,f=ft(e,t,0)):122===e.token?f=it(e,t,0):1&t&&131===e.token?(d|=4096,f=kt(e,t,m,g,h)):n(e,131)),(2&d)<1&&("constructor"===e.tokenValue?(1073741824==(1073741824&e.token)?n(e,125):(32&d)<1&&67174411===e.token&&(920&d?n(e,50,"accessor"):(524288&t)<1&&(32&e.flags?n(e,51):e.flags|=32)),d|=64):(4096&d)<1&&824&d&&"prototype"===e.tokenValue&&n(e,49)),1&t&&67174411!==e.token)return At(e,t,f,d,o,m,g,h);let y=pt(e,t,d,c,e.tokenPos,e.linePos,e.colPos);return oe(e,t,u,l,p,1&t?{type:"MethodDefinition",kind:(32&d)<1&&64&d?"constructor":256&d?"get":512&d?"set":"method",static:(32&d)>0,computed:(2&d)>0,key:f,decorators:o,value:y}:{type:"MethodDefinition",kind:(32&d)<1&&64&d?"constructor":256&d?"get":512&d?"set":"method",static:(32&d)>0,computed:(2&d)>0,key:f,value:y})}function kt(e,t,r,i,a){U(e,t);let{tokenValue:o}=e;return"constructor"===o&&n(e,124),U(e,t),oe(e,t,r,i,a,{type:"PrivateIdentifier",name:o})}function At(e,t,r,i,a,o,s,c){let u=null;if(8&i&&n(e,0),1077936157===e.token){U(e,32768|t);let{tokenPos:r,linePos:i,colPos:a}=e;537079928===e.token&&n(e,115),u=$e(e,16384|t,2,0,1,0,0,1,r,i,a),1073741824!=(1073741824&e.token)&&(u=He(e,16384|t,u,0,0,r,i,a),u=Je(e,16384|t,0,0,r,i,a,u),18===e.token&&(u=je(e,t,0,o,s,c,u)))}return oe(e,t,o,s,c,{type:"PropertyDefinition",key:r,value:u,static:(32&i)>0,computed:(2&i)>0,decorators:a})}function Nt(e,t,r,i,a,o,s,c){if(143360&e.token)return Pt(e,t,r,i,a,o,s,c);2097152!=(2097152&e.token)&&n(e,28,O[255&e.token]);let u=69271571===e.token?ct(e,t,r,1,0,1,i,a,o,s,c):dt(e,t,r,1,0,1,i,a,o,s,c);return 16&e.destructible&&n(e,47),32&e.destructible&&n(e,47),u}function Pt(e,t,r,i,a,o,s,c){let{tokenValue:u,token:l}=e;return 1024&t&&(537079808==(537079808&l)?n(e,115):36864==(36864&l)&&n(e,114)),20480==(20480&l)&&n(e,99),2099200&t&&241773===l&&n(e,30),241739===l&&24&i&&n(e,97),4196352&t&&209008===l&&n(e,95),U(e,t),r&&pe(e,t,r,u,i,a),oe(e,t,o,s,c,{type:"Identifier",name:u})}function Ft(e,t,r,i,a,o){if(U(e,t),8456259===e.token)return oe(e,t,i,a,o,{type:"JSXFragment",openingFragment:wt(e,t,i,a,o),children:Ot(e,t),closingFragment:It(e,t,0,e.tokenPos,e.linePos,e.colPos)});let s=null,c=[],u=function(e,t,r,i,a,o){143360!=(143360&e.token)&&4096!=(4096&e.token)&&n(e,0);let s=Mt(e,t,e.tokenPos,e.linePos,e.colPos),c=function(e,t){let r=[];for(;8457016!==e.token&&8456259!==e.token&&1048576!==e.token;)r.push(Bt(e,t,e.tokenPos,e.linePos,e.colPos));return r}(e,t),u=8457016===e.token;return 8456259===e.token?G(e,t):(ee(e,t,8457016),r?ee(e,t,8456259):G(e,t)),oe(e,t,i,a,o,{type:"JSXOpeningElement",name:s,attributes:c,selfClosing:u})}(e,t,r,i,a,o);if(!u.selfClosing){c=Ot(e,t),s=function(e,t,r,n,i,a){ee(e,t,25);let o=Mt(e,t,e.tokenPos,e.linePos,e.colPos);return r?ee(e,t,8456259):e.token=G(e,t),oe(e,t,n,i,a,{type:"JSXClosingElement",name:o})}(e,t,r,e.tokenPos,e.linePos,e.colPos);let i=se(s.name);se(u.name)!==i&&n(e,149,i)}return oe(e,t,i,a,o,{type:"JSXElement",children:c,openingElement:u,closingElement:s})}function wt(e,t,r,n,i){return G(e,t),oe(e,t,r,n,i,{type:"JSXOpeningFragment"})}function It(e,t,r,n,i,a){return ee(e,t,25),ee(e,t,8456259),oe(e,t,n,i,a,{type:"JSXClosingFragment"})}function Ot(e,t){let r=[];for(;25!==e.token;)e.index=e.tokenPos=e.startPos,e.column=e.colPos=e.startColumn,e.line=e.linePos=e.startLine,G(e,t),r.push(Lt(e,t,e.tokenPos,e.linePos,e.colPos));return r}function Lt(e,t,r,i,a){return 138===e.token?function(e,t,r,n,i){G(e,t);let a={type:"JSXText",value:e.tokenValue};return 512&t&&(a.raw=e.tokenRaw),oe(e,t,r,n,i,a)}(e,t,r,i,a):2162700===e.token?Kt(e,t,0,0,r,i,a):8456258===e.token?Ft(e,t,0,r,i,a):void n(e,0)}function Mt(e,t,r,n,i){$(e);let a=Jt(e,t,r,n,i);if(21===e.token)return jt(e,t,a,r,n,i);for(;Z(e,t,67108877);)$(e),a=Rt(e,t,a,r,n,i);return a}function Rt(e,t,r,n,i,a){return oe(e,t,n,i,a,{type:"JSXMemberExpression",object:r,property:Jt(e,t,e.tokenPos,e.linePos,e.colPos)})}function Bt(e,t,r,i,a){if(2162700===e.token)return function(e,t,r,n,i){U(e,t),ee(e,t,14);let a=Be(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);return ee(e,t,1074790415),oe(e,t,r,n,i,{type:"JSXSpreadAttribute",argument:a})}(e,t,r,i,a);$(e);let o=null,s=Jt(e,t,r,i,a);if(21===e.token&&(s=jt(e,t,s,r,i,a)),1077936157===e.token){let r=H(e,t),{tokenPos:i,linePos:a,colPos:s}=e;switch(r){case 134283267:o=at(e,t);break;case 8456258:o=Ft(e,t,1,i,a,s);break;case 2162700:o=Kt(e,t,1,1,i,a,s);break;default:n(e,148)}}return oe(e,t,r,i,a,{type:"JSXAttribute",value:o,name:s})}function jt(e,t,r,n,i,a){return ee(e,t,21),oe(e,t,n,i,a,{type:"JSXNamespacedName",namespace:r,name:Jt(e,t,e.tokenPos,e.linePos,e.colPos)})}function Kt(e,t,r,i,a,o,s){U(e,t);let{tokenPos:c,linePos:u,colPos:l}=e;if(14===e.token)return function(e,t,r,n,i){ee(e,t,14);let a=Be(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);return ee(e,t,1074790415),oe(e,t,r,n,i,{type:"JSXSpreadChild",expression:a})}(e,t,c,u,l);let p=null;return 1074790415===e.token?(i&&n(e,151),p=function(e,t,r,n,i){return e.startPos=e.tokenPos,e.startLine=e.linePos,e.startColumn=e.colPos,oe(e,t,r,n,i,{type:"JSXEmptyExpression"})}(e,t,e.startPos,e.startLine,e.startColumn)):p=Be(e,t,1,0,0,c,u,l),r?ee(e,t,1074790415):G(e,t),oe(e,t,a,o,s,{type:"JSXExpressionContainer",expression:p})}function Jt(e,t,r,n,i){let{tokenValue:a}=e;return U(e,t),oe(e,t,r,n,i,{type:"JSXIdentifier",name:a})}var Ut=Object.freeze({__proto__:null});e.ESTree=Ut,e.parse=function(e,t){return ye(e,t,0)},e.parseModule=function(e,t){return ye(e,t,3072)},e.parseScript=function(e,t){return ye(e,t,0)},e.version="4.2.0"}});u();var $=l(),Y=p(),X=K(),Q=H(),Z={module:!0,next:!0,ranges:!0,webcompat:!0,loc:!0,raw:!0,directives:!0,globalReturn:!0,impliedStrict:!1,preserveParens:!1,lexical:!1,identifierPattern:!1,jsx:!0,specDeviation:!0,uniqueKeyInPattern:!1};function ee(e,t){let{parse:r}=G(),n=[],i=[],a=r(e,Object.assign(Object.assign({},Z),{},{module:t,onComment:n,onToken:i}));return a.comments=n,a.tokens=i,a}function te(e){let{message:t,line:r,column:n}=e,i=(t.match(/^\[(?<line>\d+):(?<column>\d+)]: (?<message>.*)$/)||{}).groups;return i&&(t=i.message,"number"!=typeof r&&(r=Number(i.line),n=Number(i.column))),"number"!=typeof r?e:$(t,{start:{line:r,column:n}})}t.exports={parsers:{meriyah:X((function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{result:n,error:i}=Y((()=>ee(e,!0)),(()=>ee(e,!1)));if(!n)throw te(i);return r.originalText=e,Q(n,r)}))}}}));return de()}()},70:(e,t,r)=>{e.exports=function(){"use strict";var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),n=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),i=e(((e,t)=>{var r=n();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),a=e(((e,t)=>{var r=n();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),o=e(((e,t)=>{var r=a(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),s=e((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),c=e(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),u=e(((e,t)=>{var r=a(),n=Function.prototype,i=n.bind,o=n.call,s=r&&i.bind(o,o);t.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return o.apply(e,arguments)}}})),l=e(((e,t)=>{var r=u(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),p=e(((e,r)=>{var i=t(),a=u(),o=n(),s=l(),c=i.Object,p=a("".split);r.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?p(e,""):c(e)}:c})),d=e(((e,r)=>{var n=t().TypeError;r.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}})),f=e(((e,t)=>{var r=p(),n=d();t.exports=function(e){return r(n(e))}})),_=e(((e,t)=>{t.exports=function(e){return"function"==typeof e}})),m=e(((e,t)=>{var r=_();t.exports=function(e){return"object"==typeof e?null!==e:r(e)}})),g=e(((e,r)=>{var n=t(),i=_(),a=function(e){return i(e)?e:void 0};r.exports=function(e,t){return arguments.length<2?a(n[e]):n[e]&&n[e][t]}})),h=e(((e,t)=>{var r=u();t.exports=r({}.isPrototypeOf)})),y=e(((e,t)=>{var r=g();t.exports=r("navigator","userAgent")||""})),v=e(((e,r)=>{var n,i,a=t(),o=y(),s=a.process,c=a.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(i=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),r.exports=i})),D=e(((e,t)=>{var r=v(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),b=e(((e,t)=>{var r=D();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),x=e(((e,r)=>{var n=t(),i=g(),a=_(),o=h(),s=b(),c=n.Object;r.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return a(t)&&o(t.prototype,c(e))}})),E=e(((e,r)=>{var n=t().String;r.exports=function(e){try{return n(e)}catch{return"Object"}}})),S=e(((e,r)=>{var n=t(),i=_(),a=E(),o=n.TypeError;r.exports=function(e){if(i(e))return e;throw o(a(e)+" is not a function")}})),C=e(((e,t)=>{var r=S();t.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}})),T=e(((e,r)=>{var n=t(),i=o(),a=_(),s=m(),c=n.TypeError;r.exports=function(e,t){var r,n;if("string"===t&&a(r=e.toString)&&!s(n=i(r,e))||a(r=e.valueOf)&&!s(n=i(r,e))||"string"!==t&&a(r=e.toString)&&!s(n=i(r,e)))return n;throw c("Can't convert object to primitive value")}})),k=e(((e,t)=>{t.exports=!1})),A=e(((e,r)=>{var n=t(),i=Object.defineProperty;r.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),N=e(((e,r)=>{var n=t(),i=A(),a="__core-js_shared__",o=n[a]||i(a,{});r.exports=o})),P=e(((e,t)=>{var r=k(),n=N();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),F=e(((e,r)=>{var n=t(),i=d(),a=n.Object;r.exports=function(e){return a(i(e))}})),w=e(((e,t)=>{var r=u(),n=F(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),I=e(((e,t)=>{var r=u(),n=0,i=Math.random(),a=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++n+i,36)}})),O=e(((e,r)=>{var n=t(),i=P(),a=w(),o=I(),s=D(),c=b(),u=i("wks"),l=n.Symbol,p=l&&l.for,d=c?l:l&&l.withoutSetter||o;r.exports=function(e){if(!a(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&a(l,e)?u[e]=l[e]:u[e]=c&&p?p(t):d(t)}return u[e]}})),L=e(((e,r)=>{var n=t(),i=o(),a=m(),s=x(),c=C(),u=T(),l=O(),p=n.TypeError,d=l("toPrimitive");r.exports=function(e,t){if(!a(e)||s(e))return e;var r,n=c(e,d);if(n){if(void 0===t&&(t="default"),r=i(n,e,t),!a(r)||s(r))return r;throw p("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}})),M=e(((e,t)=>{var r=L(),n=x();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),R=e(((e,r)=>{var n=t(),i=m(),a=n.document,o=i(a)&&i(a.createElement);r.exports=function(e){return o?a.createElement(e):{}}})),B=e(((e,t)=>{var r=i(),a=n(),o=R();t.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))})),j=e((e=>{var t=i(),r=o(),n=s(),a=c(),u=f(),l=M(),p=w(),d=B(),_=Object.getOwnPropertyDescriptor;e.f=t?_:function(e,t){if(e=u(e),t=l(t),d)try{return _(e,t)}catch{}if(p(e,t))return a(!r(n.f,e,t),e[t])}})),K=e(((e,t)=>{var r=i(),a=n();t.exports=r&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),J=e(((e,r)=>{var n=t(),i=m(),a=n.String,o=n.TypeError;r.exports=function(e){if(i(e))return e;throw o(a(e)+" is not an object")}})),U=e((e=>{var r=t(),n=i(),a=B(),o=K(),s=J(),c=M(),u=r.TypeError,l=Object.defineProperty,p=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",_="writable";e.f=n?o?function(e,t,r){if(s(e),t=c(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&_ in r&&!r[_]){var n=p(e,t);n&&n[_]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(s(e),t=c(t),s(r),a)try{return l(e,t,r)}catch{}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),q=e(((e,t)=>{var r=i(),n=U(),a=c();t.exports=r?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}})),V=e(((e,t)=>{var r=u(),n=_(),i=N(),a=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),z=e(((e,r)=>{var n=t(),i=_(),a=V(),o=n.WeakMap;r.exports=i(o)&&/native code/.test(a(o))})),W=e(((e,t)=>{var r=P(),n=I(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),H=e(((e,t)=>{t.exports={}})),G=e(((e,r)=>{var n,i,a,o,s,c,l,p,d=z(),f=t(),_=u(),g=m(),h=q(),y=w(),v=N(),D=W(),b=H(),x="Object already initialized",E=f.TypeError,S=f.WeakMap;d||v.state?(o=v.state||(v.state=new S),s=_(o.get),c=_(o.has),l=_(o.set),n=function(e,t){if(c(o,e))throw new E(x);return t.facade=e,l(o,e,t),t},i=function(e){return s(o,e)||{}},a=function(e){return c(o,e)}):(b[p=D("state")]=!0,n=function(e,t){if(y(e,p))throw new E(x);return t.facade=e,h(e,p,t),t},i=function(e){return y(e,p)?e[p]:{}},a=function(e){return y(e,p)}),r.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!g(t)||(r=i(t)).type!==e)throw E("Incompatible receiver, "+e+" required");return r}}}})),$=e(((e,t)=>{var r=i(),n=w(),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,s=n(a,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&o(a,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}})),Y=e(((e,r)=>{var n=t(),i=_(),a=w(),o=q(),s=A(),c=V(),u=G(),l=$().CONFIGURABLE,p=u.get,d=u.enforce,f=String(String).split("String");(r.exports=function(e,t,r,c){var u,p=!!c&&!!c.unsafe,_=!!c&&!!c.enumerable,m=!!c&&!!c.noTargetGet,g=c&&void 0!==c.name?c.name:t;i(r)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(r,"name")||l&&r.name!==g)&&o(r,"name",g),(u=d(r)).source||(u.source=f.join("string"==typeof g?g:""))),e!==n?(p?!m&&e[t]&&(_=!0):delete e[t],_?e[t]=r:o(e,t,r)):_?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return i(this)&&p(this).source||c(this)}))})),X=e(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?n:r)(t)}})),Q=e(((e,t)=>{var r=X(),n=Math.max,i=Math.min;t.exports=function(e,t){var a=r(e);return a<0?n(a+t,0):i(a,t)}})),Z=e(((e,t)=>{var r=X(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),ee=e(((e,t)=>{var r=Z();t.exports=function(e){return r(e.length)}})),te=e(((e,t)=>{var r=f(),n=Q(),i=ee(),a=function(e){return function(t,a,o){var s,c=r(t),u=i(c),l=n(o,u);if(e&&a!=a){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}})),re=e(((e,t)=>{var r=u(),n=w(),i=f(),a=te().indexOf,o=H(),s=r([].push);t.exports=function(e,t){var r,c=i(e),u=0,l=[];for(r in c)!n(o,r)&&n(c,r)&&s(l,r);for(;t.length>u;)n(c,r=t[u++])&&(~a(l,r)||s(l,r));return l}})),ne=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ie=e((e=>{var t=re(),r=ne().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),ae=e((e=>{e.f=Object.getOwnPropertySymbols})),oe=e(((e,t)=>{var r=g(),n=u(),i=ie(),a=ae(),o=J(),s=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=a.f;return r?s(t,r(e)):t}})),se=e(((e,t)=>{var r=w(),n=oe(),i=j(),a=U();t.exports=function(e,t,o){for(var s=n(t),c=a.f,u=i.f,l=0;l<s.length;l++){var p=s[l];!r(e,p)&&(!o||!r(o,p))&&c(e,p,u(t,p))}}})),ce=e(((e,t)=>{var r=n(),i=_(),a=/#|\.prototype\./,o=function(e,t){var n=c[s(e)];return n==l||n!=u&&(i(t)?r(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o})),ue=e(((e,r)=>{var n=t(),i=j().f,a=q(),o=Y(),s=A(),c=se(),u=ce();r.exports=function(e,t){var r,l,p,d,f,_=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[_]||s(_,{}):(n[_]||{}).prototype)for(l in t){if(d=t[l],p=e.noTargetGet?(f=i(r,l))&&f.value:r[l],!u(m?l:_+(g?".":"#")+l,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&a(d,"sham",!0),o(r,l,d,e)}}})),le=e((()=>{ue()({global:!0},{globalThis:t()})})),pe=e((()=>{le()})),de=e(((e,t)=>{var r=l();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),fe=e(((e,t)=>{var r=u(),n=S(),i=a(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}})),_e=e(((e,r)=>{var n=t(),i=de(),a=ee(),o=fe(),s=n.TypeError,c=function(e,t,r,n,u,l,p,d){for(var f,_,m=u,g=0,h=!!p&&o(p,d);g<n;){if(g in r){if(f=h?h(r[g],g,t):r[g],l>0&&i(f))_=a(f),m=c(e,t,f,_,m,l-1)-1;else{if(m>=9007199254740991)throw s("Exceed the acceptable array length");e[m]=f}m++}g++}return m};r.exports=c})),me=e(((e,t)=>{var r={};r[O()("toStringTag")]="z",t.exports="[object z]"===String(r)})),ge=e(((e,r)=>{var n=t(),i=me(),a=_(),o=l(),s=O()("toStringTag"),c=n.Object,u="Arguments"==o(function(){return arguments}());r.exports=i?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch{}}(t=c(e),s))?r:u?o(t):"Object"==(n=o(t))&&a(t.callee)?"Arguments":n}})),he=e(((e,t)=>{var r=u(),i=n(),a=_(),o=ge(),s=g(),c=V(),l=function(){},p=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,m=r(f.exec),h=!f.exec(l),y=function(e){if(!a(e))return!1;try{return d(l,p,e),!0}catch{return!1}},v=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!m(f,c(e))}catch{return!0}};v.sham=!0,t.exports=!d||i((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?v:y})),ye=e(((e,r)=>{var n=t(),i=de(),a=he(),o=m(),s=O()("species"),c=n.Array;r.exports=function(e){var t;return i(e)&&(t=e.constructor,(a(t)&&(t===c||i(t.prototype))||o(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?c:t}})),ve=e(((e,t)=>{var r=ye();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),De=e((()=>{var e=ue(),t=_e(),r=S(),n=F(),i=ee(),a=ve();e({target:"Array",proto:!0},{flatMap:function(e){var o,s=n(this),c=i(s);return r(e),(o=a(s,0)).length=t(o,s,s,c,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),be=e(((e,t)=>{pe(),De();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s=(e,t)=>function(){return e&&(t=(0,e[a(e)[0]])(e=0)),t},c=(e,t)=>function(){return t||(0,e[a(e)[0]])((t={exports:{}}).exports,t),t.exports},u=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},l=e=>((e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of a(t))!o.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(s=i(t,c))||s.enumerable});return e})(n({},"__esModule",{value:!0}),e),p=s({"<define:process>"(){r={env:{},argv:[]}}}),d=c({"src/common/parser-create-error.js"(e,t){p(),t.exports=function(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}}}),f=c({"src/utils/try-combinations.js"(e,t){p(),t.exports=function(){let e;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(let[t,n]of r.entries())try{return{result:n()}}catch(r){0===t&&(e=r)}return{error:e}}}}),_={};function m(){if(typeof N>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])N="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");N="LE"}}return N}function g(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function h(){return[]}function y(){return 0}function v(){return Number.MAX_VALUE}function D(){return Number.MAX_VALUE}function b(){return[]}function x(){return"Browser"}function E(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function S(){}function C(){}function T(){return"javascript"}function k(){return"browser"}function A(){return"/tmp"}u(_,{EOL:()=>F,arch:()=>T,cpus:()=>b,default:()=>w,endianness:()=>m,freemem:()=>v,getNetworkInterfaces:()=>C,hostname:()=>g,loadavg:()=>h,networkInterfaces:()=>S,platform:()=>k,release:()=>E,tmpDir:()=>A,tmpdir:()=>P,totalmem:()=>D,type:()=>x,uptime:()=>y});var N,P,F,w,I=s({"node-modules-polyfills:os"(){p(),w={EOL:F="\n",tmpdir:P=A,tmpDir:A,networkInterfaces:S,getNetworkInterfaces:C,release:E,type:x,cpus:b,totalmem:D,freemem:v,uptime:y,loadavg:h,hostname:g,endianness:m}}}),O=c({"node-modules-polyfills-commonjs:os"(e,t){p();var r=(I(),l(_));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),L=c({"node_modules/detect-newline/index.js"(e,t){p();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),M=c({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=O();return t=function(){return e},e}function r(){let e=function(e){return e&&e.__esModule?e:{default:e}}(L());return r=function(){return e},e}p(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(a);return t?t[0].trimLeft():""},e.parse=function(e){return f(e).pragmas},e.parseWithComments=f,e.print=function(e){let{comments:n="",pragmas:i={}}=e,a=(0,r().default)(n)||t().EOL,o=" *",s=Object.keys(i),c=s.map((e=>_(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>" * "+e+a)).join("");if(!n){if(0===s.length)return"";if(1===s.length&&!Array.isArray(i[s[0]])){let e=i[s[0]];return"".concat("/**"," ").concat(_(s[0],e)[0]).concat(" */")}}let u=n.split(a).map((e=>"".concat(o," ").concat(e))).join(a)+a;return"/**"+a+(n?u:"")+(n&&s.length?o+a:"")+c+" */"},e.strip=function(e){let t=e.match(a);return t&&t[0]?e.substring(t[0].length):e};var n=/\*\/$/,i=/^\/\*\*/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,s=/^(\r?\n)+/,c=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,u=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,l=/(\r?\n|^) *\* ?/g,d=[];function f(e){let a=(0,r().default)(e)||t().EOL;e=e.replace(i,"").replace(n,"").replace(l,"$1");let p="";for(;p!==e;)p=e,e=e.replace(c,"".concat(a,"$1 $2").concat(a));e=e.replace(s,"").trimRight();let f,_=Object.create(null),m=e.replace(u,"").replace(s,"").trimRight();for(;f=u.exec(e);){let e=f[2].replace(o,"");"string"==typeof _[f[1]]||Array.isArray(_[f[1]])?_[f[1]]=d.concat(_[f[1]],e):_[f[1]]=e}return{comments:m,pragmas:_}}function _(e,t){return d.concat(t).map((t=>"@".concat(e," ").concat(t).trim()))}}}),R=c({"src/common/end-of-line.js"(e,t){p(),t.exports={guessEndOfLine:function(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let r;switch(t){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."))}let n=e.match(r);return n?n.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}}}}),B=c({"src/language-js/utils/get-shebang.js"(e,t){p(),t.exports=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}}}),j=c({"src/language-js/pragma.js"(e,t){p();var{parseWithComments:r,strip:n,extract:i,print:a}=M(),{normalizeEndOfLine:o}=R(),s=B();function c(e){let t=s(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:a,comments:o}=r(n);return{shebang:t,text:e,pragmas:a,comments:o}}t.exports={hasPragma:function(e){let t=Object.keys(c(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:r,pragmas:i,comments:s}=c(e),u=n(r),l=a({pragmas:Object.assign({format:""},i),comments:s.trimStart()});return(t?"".concat(t,"\n"):"")+o(l)+(u.startsWith("\n")?"\n":"\n\n")+u}}}}),K=c({"src/utils/is-non-empty-array.js"(e,t){p(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),J=c({"src/language-js/loc.js"(e,t){p();var r=K();function n(e,t){let{ignoreDecorators:i}=t||{};if(!i){let t=e.declaration&&e.declaration.decorators||e.decorators;if(r(t))return n(t[0])}return e.range?e.range[0]:e.start}function i(e){return e.range?e.range[1]:e.end}function a(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:a,hasSameLoc:function(e,t){return a(e,t)&&function(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}(e,t)}}}}),U=c({"src/language-js/parse/utils/create-parser.js"(e,t){p();var{hasPragma:r}=j(),{locStart:n,locEnd:i}=J();t.exports=function(e){return e="function"==typeof e?{parse:e}:e,Object.assign({astFormat:"estree",hasPragma:r,locStart:n,locEnd:i},e)}}}),q=c({"src/language-js/parse/utils/replace-hashbang.js"(e,t){p(),t.exports=function(e){return"#"===e.charAt(0)&&"!"===e.charAt(1)?"//"+e.slice(2):e}}}),V=c({"src/language-js/utils/is-ts-keyword-type.js"(e,t){p(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),z=c({"src/language-js/utils/is-block-comment.js"(e,t){p(),t.exports=function(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}}}),W=c({"src/language-js/utils/is-type-cast-comment.js"(e,t){p();var r=z();t.exports=function(e){return r(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}}}),H=c({"src/utils/get-last.js"(e,t){p();t.exports=e=>e[e.length-1]}}),G=c({"src/language-js/parse/postprocess/visit-node.js"(e,t){p(),t.exports=function e(t,r){if(Array.isArray(t)){for(let n=0;n<t.length;n++)t[n]=e(t[n],r);return t}if(t&&"object"==typeof t&&"string"==typeof t.type){let n=Object.keys(t);for(let i=0;i<n.length;i++)t[n[i]]=e(t[n[i]],r);return r(t)||t}return t}}}),$=c({"src/language-js/parse/postprocess/typescript.js"(e,t){p();var r=d(),n=G();function i(e,t){let{start:n,end:i}=e.loc;throw r(t,{start:{line:n.line,column:n.column+1},end:{line:i.line,column:i.column+1}})}t.exports={throwErrorForInvalidNodes:function(e,t){let{esTreeNodeToTSNodeMap:r,tsNodeToESTreeNodeMap:a}=t.tsParseResult;n(e,(e=>{let t=r.get(e);if(!t)return;let n=a.get(t);n===e&&(function(e,t,r){let n=e.decorators;if(!Array.isArray(n))return;let a=t.decorators;(!Array.isArray(a)||a.length!==n.length||n.some((e=>{let t=r.get(e);return!t||!a.includes(t)})))&&i(t,"Leading decorators must be attached to a class declaration")}(t,n,a),function(e,t){166!==e.kind||e.modifiers&&!e.modifiers.some((e=>126===e.kind))||e.initializer&&null===t.value&&i(t,"Abstract property cannot have an initializer")}(t,n))}))}}}}),Y=c({"src/language-js/parse/postprocess/index.js"(e,t){p();var{locStart:r,locEnd:n}=J(),i=V(),a=W(),o=H(),s=G(),{throwErrorForInvalidNodes:c}=$();function u(e){switch(e.type){case"CallExpression":e.type="OptionalCallExpression",e.callee=u(e.callee);break;case"MemberExpression":e.type="OptionalMemberExpression",e.object=u(e.object);break;case"TSNonNullExpression":e.expression=u(e.expression)}return e}function l(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}function d(e){return l(e)?d({type:"LogicalExpression",operator:e.operator,left:d({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[r(e.left),n(e.right.left)]}),right:e.right.right,range:[r(e),n(e)]}):e}t.exports=function(e,t){if("typescript"===t.parser&&/@|abstract/.test(t.originalText)&&c(e,t),"typescript"!==t.parser&&"flow"!==t.parser&&"acorn"!==t.parser&&"espree"!==t.parser&&"meriyah"!==t.parser){let t=new Set;e=s(e,(e=>{e.leadingComments&&e.leadingComments.some(a)&&t.add(r(e))})),e=s(e,(e=>{if("ParenthesizedExpression"===e.type){let{expression:n}=e;if("TypeCastExpression"===n.type)return n.range=e.range,n;let i=r(e);if(!t.has(i))return n.extra=Object.assign(Object.assign({},n.extra),{},{parenthesized:!0}),n}}))}return s(e,(e=>{switch(e.type){case"ChainExpression":return u(e.expression);case"LogicalExpression":if(l(e))return d(e);break;case"VariableDeclaration":{let i=o(e.declarations);i&&i.init&&function(e,i){";"!==t.originalText[n(i)]&&(e.range=[r(e),n(i)])}(e,i);break}case"TSParenthesizedType":return i(e.typeAnnotation)||"TSThisType"===e.typeAnnotation.type||(e.typeAnnotation.range=[r(e),n(e)]),e.typeAnnotation;case"TSTypeParameter":if("string"==typeof e.name){let t=r(e);e.name={type:"Identifier",name:e.name,range:[t,t+e.name.length]}}break;case"SequenceExpression":{let t=o(e.expressions);e.range=[r(e),Math.min(n(t),n(e))];break}case"TopicReference":t.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:i}=e;if("meriyah"===t.parser&&i&&"Identifier"===i.type){let a=t.originalText.slice(r(i),n(i));(a.startsWith('"')||a.startsWith("'"))&&(e.exported=Object.assign(Object.assign({},e.exported),{},{type:"Literal",value:e.exported.name,raw:a}))}break}}}))}}}),X=c({"scripts/build/shims/debug.cjs"(e,t){p(),t.exports=()=>()=>{}}}),Q=c({"node_modules/is-extglob/index.js"(e,t){p(),t.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}}}),Z=c({"node_modules/is-glob/index.js"(e,t){p();var r=Q(),n={"{":"}","(":")","[":"]"},i=function(e){if("!"===e[0])return!0;for(var t=0,r=-2,i=-2,a=-2,o=-2,s=-2;t<e.length;){if("*"===e[t]||"?"===e[t+1]&&/[\].+)]/.test(e[t])||-1!==i&&"["===e[t]&&"]"!==e[t+1]&&(i<t&&(i=e.indexOf("]",t)),i>t&&(-1===s||s>i||-1===(s=e.indexOf("\\",t))||s>i))||-1!==a&&"{"===e[t]&&"}"!==e[t+1]&&(a=e.indexOf("}",t))>t&&(-1===(s=e.indexOf("\\",t))||s>a)||-1!==o&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(o=e.indexOf(")",t))>t&&(-1===(s=e.indexOf("\\",t))||s>o)||-1!==r&&"("===e[t]&&"|"!==e[t+1]&&(r<t&&(r=e.indexOf("|",t)),-1!==r&&")"!==e[r+1]&&(o=e.indexOf(")",r))>r&&(-1===(s=e.indexOf("\\",r))||s>o)))return!0;if("\\"===e[t]){var c=e[t+1];t+=2;var u=n[c];if(u){var l=e.indexOf(u,t);-1!==l&&(t=l+1)}if("!"===e[t])return!0}else t++}return!1},a=function(e){if("!"===e[0])return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if("\\"===e[t]){var r=e[t+1];t+=2;var i=n[r];if(i){var a=e.indexOf(i,t);-1!==a&&(t=a+1)}if("!"===e[t])return!0}else t++}return!1};t.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(r(e))return!0;var n=i;return t&&!1===t.strict&&(n=a),n(e)}}}),ee=c({"node_modules/semver/internal/constants.js"(e,t){p();var r=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:16}}}),te=c({"node_modules/semver/internal/debug.js"(e,t){p();var n="object"==typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.error("SEMVER",...t)}:()=>{};t.exports=n}}),re=c({"node_modules/semver/internal/re.js"(e,t){p();var{MAX_SAFE_COMPONENT_LENGTH:r}=ee(),n=te(),i=(e=t.exports={}).re=[],a=e.src=[],o=e.t={},s=0,c=(e,t,r)=>{let c=s++;n(c,t),o[e]=c,a[c]=t,i[c]=new RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION","(".concat(a[o.NUMERICIDENTIFIER],")\\.(").concat(a[o.NUMERICIDENTIFIER],")\\.(").concat(a[o.NUMERICIDENTIFIER],")")),c("MAINVERSIONLOOSE","(".concat(a[o.NUMERICIDENTIFIERLOOSE],")\\.(").concat(a[o.NUMERICIDENTIFIERLOOSE],")\\.(").concat(a[o.NUMERICIDENTIFIERLOOSE],")")),c("PRERELEASEIDENTIFIER","(?:".concat(a[o.NUMERICIDENTIFIER],"|").concat(a[o.NONNUMERICIDENTIFIER],")")),c("PRERELEASEIDENTIFIERLOOSE","(?:".concat(a[o.NUMERICIDENTIFIERLOOSE],"|").concat(a[o.NONNUMERICIDENTIFIER],")")),c("PRERELEASE","(?:-(".concat(a[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(a[o.PRERELEASEIDENTIFIER],")*))")),c("PRERELEASELOOSE","(?:-?(".concat(a[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(a[o.PRERELEASEIDENTIFIERLOOSE],")*))")),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD","(?:\\+(".concat(a[o.BUILDIDENTIFIER],"(?:\\.").concat(a[o.BUILDIDENTIFIER],")*))")),c("FULLPLAIN","v?".concat(a[o.MAINVERSION]).concat(a[o.PRERELEASE],"?").concat(a[o.BUILD],"?")),c("FULL","^".concat(a[o.FULLPLAIN],"$")),c("LOOSEPLAIN","[v=\\s]*".concat(a[o.MAINVERSIONLOOSE]).concat(a[o.PRERELEASELOOSE],"?").concat(a[o.BUILD],"?")),c("LOOSE","^".concat(a[o.LOOSEPLAIN],"$")),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE","".concat(a[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),c("XRANGEIDENTIFIER","".concat(a[o.NUMERICIDENTIFIER],"|x|X|\\*")),c("XRANGEPLAIN","[v=\\s]*(".concat(a[o.XRANGEIDENTIFIER],")(?:\\.(").concat(a[o.XRANGEIDENTIFIER],")(?:\\.(").concat(a[o.XRANGEIDENTIFIER],")(?:").concat(a[o.PRERELEASE],")?").concat(a[o.BUILD],"?)?)?")),c("XRANGEPLAINLOOSE","[v=\\s]*(".concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:").concat(a[o.PRERELEASELOOSE],")?").concat(a[o.BUILD],"?)?)?")),c("XRANGE","^".concat(a[o.GTLT],"\\s*").concat(a[o.XRANGEPLAIN],"$")),c("XRANGELOOSE","^".concat(a[o.GTLT],"\\s*").concat(a[o.XRANGEPLAINLOOSE],"$")),c("COERCE","(^|[^\\d])(\\d{1,".concat(r,"})(?:\\.(\\d{1,").concat(r,"}))?(?:\\.(\\d{1,").concat(r,"}))?(?:$|[^\\d])")),c("COERCERTL",a[o.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM","(\\s*)".concat(a[o.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",c("TILDE","^".concat(a[o.LONETILDE]).concat(a[o.XRANGEPLAIN],"$")),c("TILDELOOSE","^".concat(a[o.LONETILDE]).concat(a[o.XRANGEPLAINLOOSE],"$")),c("LONECARET","(?:\\^)"),c("CARETTRIM","(\\s*)".concat(a[o.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",c("CARET","^".concat(a[o.LONECARET]).concat(a[o.XRANGEPLAIN],"$")),c("CARETLOOSE","^".concat(a[o.LONECARET]).concat(a[o.XRANGEPLAINLOOSE],"$")),c("COMPARATORLOOSE","^".concat(a[o.GTLT],"\\s*(").concat(a[o.LOOSEPLAIN],")$|^$")),c("COMPARATOR","^".concat(a[o.GTLT],"\\s*(").concat(a[o.FULLPLAIN],")$|^$")),c("COMPARATORTRIM","(\\s*)".concat(a[o.GTLT],"\\s*(").concat(a[o.LOOSEPLAIN],"|").concat(a[o.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE","^\\s*(".concat(a[o.XRANGEPLAIN],")\\s+-\\s+(").concat(a[o.XRANGEPLAIN],")\\s*$")),c("HYPHENRANGELOOSE","^\\s*(".concat(a[o.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(a[o.XRANGEPLAINLOOSE],")\\s*$")),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}}),ne=c({"node_modules/semver/internal/parse-options.js"(e,t){p();var r=["includePrerelease","loose","rtl"];t.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}}}),ie=c({"node_modules/semver/internal/identifiers.js"(e,t){p();var r=/^[0-9]+$/,n=(e,t)=>{let n=r.test(e),i=r.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:e<t?-1:1};t.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}}}),ae=c({"node_modules/semver/classes/semver.js"(e,t){p();var r=te(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=ee(),{re:a,t:o}=re(),s=ne(),{compareIdentifiers:c}=ie(),u=class{constructor(e,t){if(t=s(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>n)throw new TypeError("version is longer than ".concat(n," characters"));r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let c=e.trim().match(t.loose?a[o.LOOSE]:a[o.FULL]);if(!c)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+c[1],this.minor=+c[2],this.patch=+c[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");c[4]?this.prerelease=c[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=c[5]?c[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return c(n,i)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{let n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return c(n,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}};t.exports=u}}),oe=c({"node_modules/semver/functions/parse.js"(e,t){p();var{MAX_LENGTH:r}=ee(),{re:n,t:i}=re(),a=ae(),o=ne();t.exports=(e,t)=>{if(t=o(t),e instanceof a)return e;if("string"!=typeof e||e.length>r||!(t.loose?n[i.LOOSE]:n[i.FULL]).test(e))return null;try{return new a(e,t)}catch{return null}}}}),se=c({"node_modules/semver/functions/valid.js"(e,t){p();var r=oe();t.exports=(e,t)=>{let n=r(e,t);return n?n.version:null}}}),ce=c({"node_modules/semver/functions/clean.js"(e,t){p();var r=oe();t.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}}}),ue=c({"node_modules/semver/functions/inc.js"(e,t){p();var r=ae();t.exports=(e,t,n,i)=>{"string"==typeof n&&(i=n,n=void 0);try{return new r(e,n).inc(t,i).version}catch{return null}}}}),le=c({"node_modules/semver/functions/compare.js"(e,t){p();var r=ae();t.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))}}),de=c({"node_modules/semver/functions/eq.js"(e,t){p();var r=le();t.exports=(e,t,n)=>0===r(e,t,n)}}),fe=c({"node_modules/semver/functions/diff.js"(e,t){p();var r=oe(),n=de();t.exports=(e,t)=>{if(n(e,t))return null;{let n=r(e),i=r(t),a=n.prerelease.length||i.prerelease.length,o=a?"pre":"",s=a?"prerelease":"";for(let e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==i[e])return o+e;return s}}}}),_e=c({"node_modules/semver/functions/major.js"(e,t){p();var r=ae();t.exports=(e,t)=>new r(e,t).major}}),me=c({"node_modules/semver/functions/minor.js"(e,t){p();var r=ae();t.exports=(e,t)=>new r(e,t).minor}}),ge=c({"node_modules/semver/functions/patch.js"(e,t){p();var r=ae();t.exports=(e,t)=>new r(e,t).patch}}),he=c({"node_modules/semver/functions/prerelease.js"(e,t){p();var r=oe();t.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}}}),ye=c({"node_modules/semver/functions/rcompare.js"(e,t){p();var r=le();t.exports=(e,t,n)=>r(t,e,n)}}),ve=c({"node_modules/semver/functions/compare-loose.js"(e,t){p();var r=le();t.exports=(e,t)=>r(e,t,!0)}}),be=c({"node_modules/semver/functions/compare-build.js"(e,t){p();var r=ae();t.exports=(e,t,n)=>{let i=new r(e,n),a=new r(t,n);return i.compare(a)||i.compareBuild(a)}}}),xe=c({"node_modules/semver/functions/sort.js"(e,t){p();var r=be();t.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))}}),Ee=c({"node_modules/semver/functions/rsort.js"(e,t){p();var r=be();t.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))}}),Se=c({"node_modules/semver/functions/gt.js"(e,t){p();var r=le();t.exports=(e,t,n)=>r(e,t,n)>0}}),Ce=c({"node_modules/semver/functions/lt.js"(e,t){p();var r=le();t.exports=(e,t,n)=>r(e,t,n)<0}}),Te=c({"node_modules/semver/functions/neq.js"(e,t){p();var r=le();t.exports=(e,t,n)=>0!==r(e,t,n)}}),ke=c({"node_modules/semver/functions/gte.js"(e,t){p();var r=le();t.exports=(e,t,n)=>r(e,t,n)>=0}}),Ae=c({"node_modules/semver/functions/lte.js"(e,t){p();var r=le();t.exports=(e,t,n)=>r(e,t,n)<=0}}),Ne=c({"node_modules/semver/functions/cmp.js"(e,t){p();var r=de(),n=Te(),i=Se(),a=ke(),o=Ce(),s=Ae();t.exports=(e,t,c,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof c&&(c=c.version),e===c;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof c&&(c=c.version),e!==c;case"":case"=":case"==":return r(e,c,u);case"!=":return n(e,c,u);case">":return i(e,c,u);case">=":return a(e,c,u);case"<":return o(e,c,u);case"<=":return s(e,c,u);default:throw new TypeError("Invalid operator: ".concat(t))}}}}),Pe=c({"node_modules/semver/functions/coerce.js"(e,t){p();var r=ae(),n=oe(),{re:i,t:a}=re();t.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let o=null;if((t=t||{}).rtl){let t;for(;(t=i[a.COERCERTL].exec(e))&&(!o||o.index+o[0].length!==e.length);)(!o||t.index+t[0].length!==o.index+o[0].length)&&(o=t),i[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[a.COERCERTL].lastIndex=-1}else o=e.match(i[a.COERCE]);return null===o?null:n("".concat(o[2],".").concat(o[3]||"0",".").concat(o[4]||"0"),t)}}}),Fe=c({"node_modules/semver/node_modules/yallist/iterator.js"(e,t){p(),t.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}}}),we=c({"node_modules/semver/node_modules/yallist/yallist.js"(e,t){function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}function n(e,t,r){var n=t===e.head?new o(r,null,t,e):new o(r,t,t.next,e);return null===n.next&&(e.tail=n),null===n.prev&&(e.head=n),e.length++,n}function i(e,t){e.tail=new o(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,t){e.head=new o(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function o(e,t,r,n){if(!(this instanceof o))return new o(e,t,r,n);this.list=n,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}p(),t.exports=r,r.Node=o,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;null!==r;n++)e.call(t,r.value,n,this),r=r.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;null!==r;n--)e.call(t,r.value,n,this),r=r.prev},r.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&t<e;t++)r=r.next;if(t===e&&null!==r)return r.value},r.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&t<e;t++)r=r.prev;if(t===e&&null!==r)return r.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n},r.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r},r.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,a=this.head;null!==a&&i<e;i++)a=a.next;for(;null!==a&&i<t;i++,a=a.next)n.push(a.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,a=this.tail;null!==a&&i>t;i--)a=a.prev;for(;null!==a&&i>e;i--,a=a.prev)n.push(a.value);return n},r.prototype.splice=function(e,t){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,i=this.head;null!==i&&r<e;r++)i=i.next;var a=[];for(r=0;i&&r<t;r++)a.push(i.value),i=this.removeNode(i);for(null===i&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev),r=0;r<(arguments.length<=2?0:arguments.length-2);r++)i=n(this,i,r+2<2||arguments.length<=r+2?void 0:arguments[r+2]);return a},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;null!==r;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=t,this.tail=e,this};try{Fe()(r)}catch{}}}),Ie=c({"node_modules/semver/node_modules/lru-cache/index.js"(e,t){p();var r=we(),n=Symbol("max"),i=Symbol("length"),a=Symbol("lengthCalculator"),o=Symbol("allowStale"),s=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),l=Symbol("lruList"),d=Symbol("cache"),f=Symbol("updateAgeOnGet"),_=()=>1,m=(e,t,r)=>{let n=e[d].get(t);if(n){let t=n.value;if(g(e,t)){if(y(e,n),!e[o])return}else r&&(e[f]&&(n.value.now=Date.now()),e[l].unshiftNode(n));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[s])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[s]&&r>e[s]},h=e=>{if(e[i]>e[n])for(let t=e[l].tail;e[i]>e[n]&&null!==t;){let r=t.prev;y(e,t),t=r}},y=(e,t)=>{if(t){let r=t.value;e[c]&&e[c](r.key,r.value),e[i]-=r.length,e[d].delete(r.key),e[l].removeNode(t)}},v=class{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0}},D=(e,t,r,n)=>{let i=r.value;g(e,i)&&(y(e,r),e[o]||(i=void 0)),i&&t.call(n,i.value,i.key,e)};t.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[n]=e.max||1/0;let t=e.length||_;if(this[a]="function"!=typeof t?_:t,this[o]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[s]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[f]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[n]=e||1/0,h(this)}get max(){return this[n]}set allowStale(e){this[o]=!!e}get allowStale(){return this[o]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[s]=e,h(this)}get maxAge(){return this[s]}set lengthCalculator(e){"function"!=typeof e&&(e=_),e!==this[a]&&(this[a]=e,this[i]=0,this[l].forEach((e=>{e.length=this[a](e.value,e.key),this[i]+=e.length}))),h(this)}get lengthCalculator(){return this[a]}get length(){return this[i]}get itemCount(){return this[l].length}rforEach(e,t){t=t||this;for(let r=this[l].tail;null!==r;){let n=r.prev;D(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[l].head;null!==r;){let n=r.next;D(this,e,r,t),r=n}}keys(){return this[l].toArray().map((e=>e.key))}values(){return this[l].toArray().map((e=>e.value))}reset(){this[c]&&this[l]&&this[l].length&&this[l].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[l]=new r,this[i]=0}dump(){return this[l].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[l]}set(e,t,r){if((r=r||this[s])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");let o=r?Date.now():0,p=this[a](t,e);if(this[d].has(e)){if(p>this[n])return y(this,this[d].get(e)),!1;let a=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,a.value)),a.now=o,a.maxAge=r,a.value=t,this[i]+=p-a.length,a.length=p,this.get(e),h(this),!0}let f=new v(e,t,p,o,r);return f.length>this[n]?(this[c]&&this[c](e,t),!1):(this[i]+=f.length,this[l].unshift(f),this[d].set(e,this[l].head),h(this),!0)}has(e){if(!this[d].has(e))return!1;let t=this[d].get(e).value;return!g(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){let e=this[l].tail;return e?(y(this,e),e.value):null}del(e){y(this,this[d].get(e))}load(e){this.reset();let t=Date.now();for(let r=e.length-1;r>=0;r--){let n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{let e=i-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[d].forEach(((e,t)=>m(this,t,!1)))}}}}),Oe=c({"node_modules/semver/classes/range.js"(e,t){p();var r=class{constructor(e,t){if(t=i(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError("Invalid SemVer Range: ".concat(e));if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter((e=>!_(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(let e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();let t=Object.keys(this.options).join(","),r="parseRange:".concat(t,":").concat(e),i=n.get(r);if(i)return i;let s=this.options.loose,p=s?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(p,k(this.options.includePrerelease)),o("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],l),o("comparator trim",e,c[u.COMPARATORTRIM]),e=(e=(e=e.replace(c[u.TILDETRIM],d)).replace(c[u.CARETTRIM],f)).split(/\s+/).join(" ");let m=s?c[u.COMPARATORLOOSE]:c[u.COMPARATOR],g=e.split(" ").map((e=>h(e,this.options))).join(" ").split(/\s+/).map((e=>T(e,this.options))).filter(this.options.loose?e=>!!e.match(m):()=>!0).map((e=>new a(e,this.options))),y=(g.length,new Map);for(let e of g){if(_(e))return[e];y.set(e.value,e)}y.size>1&&y.has("")&&y.delete("");let v=[...y.values()];return n.set(r,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((r=>g(r,t)&&e.set.some((e=>g(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(A(this.set[t],e,this.options))return!0;return!1}};t.exports=r;var n=new(Ie())({max:1e3}),i=ne(),a=Le(),o=te(),s=ae(),{re:c,t:u,comparatorTrimReplace:l,tildeTrimReplace:d,caretTrimReplace:f}=re(),_=e=>"<0.0.0-0"===e.value,m=e=>""===e.value,g=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every((e=>i.intersects(e,t))),i=n.pop();return r},h=(e,t)=>(o("comp",e,t),e=b(e,t),o("caret",e),e=v(e,t),o("tildes",e),e=E(e,t),o("xrange",e),e=C(e,t),o("stars",e),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map((e=>D(e,t))).join(" "),D=(e,t)=>{let r=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(r,((t,r,n,i,a)=>{let s;return o("tilde",e,t,r,n,i,a),y(r)?s="":y(n)?s=">=".concat(r,".0.0 <").concat(+r+1,".0.0-0"):y(i)?s=">=".concat(r,".").concat(n,".0 <").concat(r,".").concat(+n+1,".0-0"):a?(o("replaceTilde pr",a),s=">=".concat(r,".").concat(n,".").concat(i,"-").concat(a," <").concat(r,".").concat(+n+1,".0-0")):s=">=".concat(r,".").concat(n,".").concat(i," <").concat(r,".").concat(+n+1,".0-0"),o("tilde return",s),s}))},b=(e,t)=>e.trim().split(/\s+/).map((e=>x(e,t))).join(" "),x=(e,t)=>{o("caret",e,t);let r=t.loose?c[u.CARETLOOSE]:c[u.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,i,a,s)=>{let c;return o("caret",e,t,r,i,a,s),y(r)?c="":y(i)?c=">=".concat(r,".0.0").concat(n," <").concat(+r+1,".0.0-0"):y(a)?c="0"===r?">=".concat(r,".").concat(i,".0").concat(n," <").concat(r,".").concat(+i+1,".0-0"):">=".concat(r,".").concat(i,".0").concat(n," <").concat(+r+1,".0.0-0"):s?(o("replaceCaret pr",s),c="0"===r?"0"===i?">=".concat(r,".").concat(i,".").concat(a,"-").concat(s," <").concat(r,".").concat(i,".").concat(+a+1,"-0"):">=".concat(r,".").concat(i,".").concat(a,"-").concat(s," <").concat(r,".").concat(+i+1,".0-0"):">=".concat(r,".").concat(i,".").concat(a,"-").concat(s," <").concat(+r+1,".0.0-0")):(o("no pr"),c="0"===r?"0"===i?">=".concat(r,".").concat(i,".").concat(a).concat(n," <").concat(r,".").concat(i,".").concat(+a+1,"-0"):">=".concat(r,".").concat(i,".").concat(a).concat(n," <").concat(r,".").concat(+i+1,".0-0"):">=".concat(r,".").concat(i,".").concat(a," <").concat(+r+1,".0.0-0")),o("caret return",c),c}))},E=(e,t)=>(o("replaceXRanges",e,t),e.split(/\s+/).map((e=>S(e,t))).join(" ")),S=(e,t)=>{e=e.trim();let r=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(r,((r,n,i,a,s,c)=>{o("xRange",e,r,n,i,a,s,c);let u=y(i),l=u||y(a),p=l||y(s),d=p;return"="===n&&d&&(n=""),c=t.includePrerelease?"-0":"",u?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&d?(l&&(a=0),s=0,">"===n?(n=">=",l?(i=+i+1,a=0,s=0):(a=+a+1,s=0)):"<="===n&&(n="<",l?i=+i+1:a=+a+1),"<"===n&&(c="-0"),r="".concat(n+i,".").concat(a,".").concat(s).concat(c)):l?r=">=".concat(i,".0.0").concat(c," <").concat(+i+1,".0.0-0"):p&&(r=">=".concat(i,".").concat(a,".0").concat(c," <").concat(i,".").concat(+a+1,".0-0")),o("xRange return",r),r}))},C=(e,t)=>(o("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),T=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),k=e=>(t,r,n,i,a,o,s,c,u,l,p,d,f)=>(r=y(n)?"":y(i)?">=".concat(n,".0.0").concat(e?"-0":""):y(a)?">=".concat(n,".").concat(i,".0").concat(e?"-0":""):o?">=".concat(r):">=".concat(r).concat(e?"-0":""),c=y(u)?"":y(l)?"<".concat(+u+1,".0.0-0"):y(p)?"<".concat(u,".").concat(+l+1,".0-0"):d?"<=".concat(u,".").concat(l,".").concat(p,"-").concat(d):e?"<".concat(u,".").concat(l,".").concat(+p+1,"-0"):"<=".concat(c),"".concat(r," ").concat(c).trim()),A=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(o(e[r].semver),e[r].semver!==a.ANY&&e[r].semver.prerelease.length>0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}}}),Le=c({"node_modules/semver/classes/comparator.js"(e,t){p();var r=Symbol("SemVer ANY"),n=class{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof n){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){let t=this.options.loose?a[o.COMPARATORLOOSE]:a[o.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: ".concat(e));this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch{return!1}return s(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Comparator is required");if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new l(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new l(this.value,t).test(e.semver);let r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),a=this.semver.version===e.semver.version,o=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),c=s(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=s(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||i||a&&o||c||u}};t.exports=n;var i=ne(),{re:a,t:o}=re(),s=Ne(),c=te(),u=ae(),l=Oe()}}),Me=c({"node_modules/semver/functions/satisfies.js"(e,t){p();var r=Oe();t.exports=(e,t,n)=>{try{t=new r(t,n)}catch{return!1}return t.test(e)}}}),Re=c({"node_modules/semver/ranges/to-comparators.js"(e,t){p();var r=Oe();t.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))}}),Be=c({"node_modules/semver/ranges/max-satisfying.js"(e,t){p();var r=ae(),n=Oe();t.exports=(e,t,i)=>{let a=null,o=null,s=null;try{s=new n(t,i)}catch{return null}return e.forEach((e=>{s.test(e)&&(!a||-1===o.compare(e))&&(a=e,o=new r(a,i))})),a}}}),je=c({"node_modules/semver/ranges/min-satisfying.js"(e,t){p();var r=ae(),n=Oe();t.exports=(e,t,i)=>{let a=null,o=null,s=null;try{s=new n(t,i)}catch{return null}return e.forEach((e=>{s.test(e)&&(!a||1===o.compare(e))&&(a=e,o=new r(a,i))})),a}}}),Ke=c({"node_modules/semver/ranges/min-version.js"(e,t){p();var r=ae(),n=Oe(),i=Se();t.exports=(e,t)=>{e=new n(e,t);let a=new r("0.0.0");if(e.test(a)||(a=new r("0.0.0-0"),e.test(a)))return a;a=null;for(let t=0;t<e.set.length;++t){let n=e.set[t],o=null;n.forEach((e=>{let t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!o||i(t,o))&&(o=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: ".concat(e.operator))}})),o&&(!a||i(a,o))&&(a=o)}return a&&e.test(a)?a:null}}}),Je=c({"node_modules/semver/ranges/valid.js"(e,t){p();var r=Oe();t.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch{return null}}}}),Ue=c({"node_modules/semver/ranges/outside.js"(e,t){p();var r=ae(),n=Le(),{ANY:i}=n,a=Oe(),o=Me(),s=Se(),c=Ce(),u=Ae(),l=ke();t.exports=(e,t,p,d)=>{let f,_,m,g,h;switch(e=new r(e,d),t=new a(t,d),p){case">":f=s,_=u,m=c,g=">",h=">=";break;case"<":f=c,_=l,m=s,g="<",h="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(e,t,d))return!1;for(let r=0;r<t.set.length;++r){let a=t.set[r],o=null,s=null;if(a.forEach((e=>{e.semver===i&&(e=new n(">=0.0.0")),o=o||e,s=s||e,f(e.semver,o.semver,d)?o=e:m(e.semver,s.semver,d)&&(s=e)})),o.operator===g||o.operator===h||(!s.operator||s.operator===g)&&_(e,s.semver))return!1;if(s.operator===h&&m(e,s.semver))return!1}return!0}}}),qe=c({"node_modules/semver/ranges/gtr.js"(e,t){p();var r=Ue();t.exports=(e,t,n)=>r(e,t,">",n)}}),Ve=c({"node_modules/semver/ranges/ltr.js"(e,t){p();var r=Ue();t.exports=(e,t,n)=>r(e,t,"<",n)}}),ze=c({"node_modules/semver/ranges/intersects.js"(e,t){p();var r=Oe();t.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))}}),We=c({"node_modules/semver/ranges/simplify.js"(e,t){p();var r=Me(),n=le();t.exports=(e,t,i)=>{let a=[],o=null,s=null,c=e.sort(((e,t)=>n(e,t,i)));for(let e of c)r(e,t,i)?(s=e,o||(o=e)):(s&&a.push([o,s]),s=null,o=null);o&&a.push([o,null]);let u=[];for(let[e,t]of a)e===t?u.push(e):t||e!==c[0]?t?e===c[0]?u.push("<=".concat(t)):u.push("".concat(e," - ").concat(t)):u.push(">=".concat(e)):u.push("*");let l=u.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return l.length<p.length?l:t}}}),He=c({"node_modules/semver/ranges/subset.js"(e,t){p();var r=Oe(),n=Le(),{ANY:i}=n,a=Me(),o=le(),s=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?[new n(">=0.0.0-0")]:[new n(">=0.0.0")]}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=[new n(">=0.0.0")]}let s,l,p,d=new Set;for(let t of e)">"===t.operator||">="===t.operator?s=c(s,t,r):"<"===t.operator||"<="===t.operator?l=u(l,t,r):d.add(t.semver);if(d.size>1)return null;if(s&&l){if(p=o(s.semver,l.semver,r),p>0)return null;if(0===p&&(">="!==s.operator||"<="!==l.operator))return null}for(let e of d){if(s&&!a(e,String(s),r)||l&&!a(e,String(l),r))return null;for(let n of t)if(!a(e,String(n),r))return!1;return!0}let f,_,m,g,h=!(!l||r.includePrerelease||!l.semver.prerelease.length)&&l.semver,y=!(!s||r.includePrerelease||!s.semver.prerelease.length)&&s.semver;h&&1===h.prerelease.length&&"<"===l.operator&&0===h.prerelease[0]&&(h=!1);for(let e of t){if(g=g||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,s)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if(f=c(s,e,r),f===e&&f!==s)return!1}else if(">="===s.operator&&!a(s.semver,String(e),r))return!1;if(l)if(h&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===h.major&&e.semver.minor===h.minor&&e.semver.patch===h.patch&&(h=!1),"<"===e.operator||"<="===e.operator){if(_=u(l,e,r),_===e&&_!==l)return!1}else if("<="===l.operator&&!a(l.semver,String(e),r))return!1;if(!e.operator&&(l||s)&&0!==p)return!1}return!(s&&m&&!l&&0!==p||l&&g&&!s&&0!==p||y||h)},c=(e,t,r)=>{if(!e)return t;let n=o(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,r)=>{if(!e)return t;let n=o(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};t.exports=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;e:for(let r of e.set){for(let e of t.set){let t=s(r,e,n);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}}}),Ge=c({"node_modules/semver/index.js"(e,t){p();var r=re();t.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:ee().SEMVER_SPEC_VERSION,SemVer:ae(),compareIdentifiers:ie().compareIdentifiers,rcompareIdentifiers:ie().rcompareIdentifiers,parse:oe(),valid:se(),clean:ce(),inc:ue(),diff:fe(),major:_e(),minor:me(),patch:ge(),prerelease:he(),compare:le(),rcompare:ye(),compareLoose:ve(),compareBuild:be(),sort:xe(),rsort:Ee(),gt:Se(),lt:Ce(),eq:de(),neq:Te(),gte:ke(),lte:Ae(),cmp:Ne(),coerce:Pe(),Comparator:Le(),Range:Oe(),satisfies:Me(),toComparators:Re(),maxSatisfying:Be(),minSatisfying:je(),minVersion:Ke(),validRange:Je(),outside:Ue(),gtr:qe(),ltr:Ve(),intersects:ze(),simplifyRange:We(),subset:He()}}}),$e={};function Ye(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function Xe(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=Ye(at(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function Qe(e){var t=Ze(e),r="/"===pt(e,-1);return!(e=Ye(at(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function Ze(e){return"/"===e.charAt(0)}function et(){return Qe(at(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function tt(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=Xe(e).substr(1),t=Xe(t).substr(1);for(var n=r(e.split("/")),i=r(t.split("/")),a=Math.min(n.length,i.length),o=a,s=0;s<a;s++)if(n[s]!==i[s]){o=s;break}var c=[];for(s=o;s<n.length;s++)c.push("..");return(c=c.concat(i.slice(o))).join("/")}function rt(e){var t=st(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."}function nt(e,t){var r=st(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function it(e){return st(e)[3]}function at(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}u($e,{basename:()=>nt,default:()=>lt,delimiter:()=>ut,dirname:()=>rt,extname:()=>it,isAbsolute:()=>Ze,join:()=>et,normalize:()=>Qe,relative:()=>tt,resolve:()=>Xe,sep:()=>ct});var ot,st,ct,ut,lt,pt,dt=s({"node-modules-polyfills:path"(){p(),ot=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,st=function(e){return ot.exec(e).slice(1)},lt={extname:it,basename:nt,dirname:rt,sep:ct="/",delimiter:ut=":",relative:tt,join:et,isAbsolute:Ze,normalize:Qe,resolve:Xe},pt=function(e,t,r){return e.substr(t,r)}}}),ft=c({"node-modules-polyfills-commonjs:path"(e,t){p();var r=(dt(),l($e));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),_t={};u(_t,{default:()=>mt});var mt,gt=s({"node-modules-polyfills:fs"(){p(),mt={}}}),ht=c({"node-modules-polyfills-commonjs:fs"(e,t){p();var r=(gt(),l(_t));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),yt=c({"node_modules/typescript/lib/typescript.js"(e,t){p();var n,i,a=e&&e.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)(n||!(i in t))&&(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},o=e&&e.__assign||function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},s=e&&e.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},c=e&&e.__generator||function(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},u=e&&e.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},l=e&&e.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});!function(e){function t(){var e={};return e.prev=e,{head:e,tail:e,size:0}}function r(e,t){return e===t||e!=e&&t!=t}function n(e){var t=e.prev;if(!t||t===e)throw new Error("Illegal state");return t}function i(e){for(;e;){var t=!e.prev;if(e=e.next,!t)return e}}function a(e,t){for(var i=e.tail;i!==e.head;i=n(i))if(r(i.key,t))return i}function o(e,t,r){var n=a(e,t);if(!n){var i=function(e,t){return{key:e,value:t,next:void 0,prev:void 0}}(t,r);return i.prev=e.tail,e.tail.next=i,e.tail=i,e.size++,i}n.value=r}function s(e,t){for(var i=e.tail;i!==e.head;i=n(i)){if(void 0===i.prev)throw new Error("Illegal state");if(r(i.key,t)){if(i.next)i.next.prev=i.prev;else{if(e.tail!==i)throw new Error("Illegal state");e.tail=i.prev}return i.prev.next=i.next,i.next=i.prev,i.prev=void 0,e.size--,i}}}function c(e){for(var t=e.tail;t!==e.head;){var r=n(t);t.next=e.head,t.prev=void 0,t=r}e.head.next=void 0,e.tail=e.head,e.size=0}function u(e,t){for(var r=e.head;r;)(r=i(r))&&t(r.value,r.key)}function l(e,t){if(e)for(var r=e.next();!r.done;r=e.next())t(r.value)}function p(e,t){return{current:e.head,selector:t}}function d(e){return e.current=i(e.current),e.current?{value:e.selector(e.current.key,e.current.value),done:!1}:{value:void 0,done:!0}}var f;(f=e.ShimCollections||(e.ShimCollections={})).createMapShim=function(e){var r=function(){function e(e,t){this._data=p(e,t)}return e.prototype.next=function(){return d(this._data)},e}();return function(){function n(r){var n=this;this._mapData=t(),l(e(r),(function(e){var t=e[0],r=e[1];return n.set(t,r)}))}return Object.defineProperty(n.prototype,"size",{get:function(){return this._mapData.size},enumerable:!1,configurable:!0}),n.prototype.get=function(e){var t;return null===(t=a(this._mapData,e))||void 0===t?void 0:t.value},n.prototype.set=function(e,t){return o(this._mapData,e,t),this},n.prototype.has=function(e){return!!a(this._mapData,e)},n.prototype.delete=function(e){return!!s(this._mapData,e)},n.prototype.clear=function(){c(this._mapData)},n.prototype.keys=function(){return new r(this._mapData,(function(e,t){return e}))},n.prototype.values=function(){return new r(this._mapData,(function(e,t){return t}))},n.prototype.entries=function(){return new r(this._mapData,(function(e,t){return[e,t]}))},n.prototype.forEach=function(e){u(this._mapData,e)},n}()},f.createSetShim=function(e){var r=function(){function e(e,t){this._data=p(e,t)}return e.prototype.next=function(){return d(this._data)},e}();return function(){function n(r){var n=this;this._mapData=t(),l(e(r),(function(e){return n.add(e)}))}return Object.defineProperty(n.prototype,"size",{get:function(){return this._mapData.size},enumerable:!1,configurable:!0}),n.prototype.add=function(e){return o(this._mapData,e,e),this},n.prototype.has=function(e){return!!a(this._mapData,e)},n.prototype.delete=function(e){return!!s(this._mapData,e)},n.prototype.clear=function(){c(this._mapData)},n.prototype.keys=function(){return new r(this._mapData,(function(e,t){return e}))},n.prototype.values=function(){return new r(this._mapData,(function(e,t){return t}))},n.prototype.entries=function(){return new r(this._mapData,(function(e,t){return[e,t]}))},n.prototype.forEach=function(e){u(this._mapData,e)},n}()}}(n||(n={})),function(e){var t,r;function n(t,n,i){var a,o=null!==(a=r[n]())&&void 0!==a?a:null===e.ShimCollections||void 0===e.ShimCollections?void 0:e.ShimCollections[i](e.getIterator);if(o)return o;throw new Error("TypeScript requires an environment that provides a compatible native ".concat(t," implementation."))}e.versionMajorMinor="4.6",e.version="4.6.2",(t=e.Comparison||(e.Comparison={}))[t.LessThan=-1]="LessThan",t[t.EqualTo=0]="EqualTo",t[t.GreaterThan=1]="GreaterThan",function(e){var t=typeof globalThis<"u"||typeof globalThis<"u"?globalThis:typeof self<"u"?self:void 0;e.tryGetNativeMap=function(){var e=null==t?void 0:t.Map;return typeof e<"u"&&"entries"in e.prototype&&1===new e([[0,0]]).size?e:void 0},e.tryGetNativeSet=function(){var e=null==t?void 0:t.Set;return typeof e<"u"&&"entries"in e.prototype&&1===new e([0]).size?e:void 0}}(r||(r={})),e.Map=n("Map","tryGetNativeMap","createMapShim"),e.Set=n("Set","tryGetNativeSet","createSetShim")}(n||(n={})),function(e){function t(e,t,r){if(void 0===r&&(r=I),e)for(var n=0,i=e;n<i.length;n++)if(r(i[n],t))return!0;return!1}function r(e,t){if(e){if(!t)return e.length>0;for(var r=0,n=e;r<n.length;r++)if(t(n[r]))return!0}return!1}function n(e,t){return r(t)?r(e)?a(a([],e,!0),t,!0):t:e}function i(e,t){return t}function o(e){return e.map(i)}function s(e,t){return void 0===t?e:void 0===e?[t]:(e.push(t),e)}function c(e,t){return t<0?e.length+t:t}function u(e,t,r,n){if(void 0===t||0===t.length)return e;if(void 0===e)return t.slice(r,n);r=void 0===r?0:c(t,r),n=void 0===n?t.length:c(t,n);for(var i=r;i<n&&i<t.length;i++)void 0!==t[i]&&e.push(t[i]);return e}function l(e,r,n){return!t(e,r,n)&&(e.push(r),!0)}function p(e,t,r){t.sort((function(t,n){return r(e[t],e[n])||L(t,n)}))}function d(e,t){return 0===e.length?e:e.slice().sort(t)}function f(e){var t=0;return{next:function(){return t===e.length?{value:void 0,done:!0}:(t++,{value:e[t-1],done:!1})}}}function _(e,t,r,n,i){return m(e,r(t),r,n,i)}function m(e,t,n,i,a){if(!r(e))return-1;for(var o=a||0,s=e.length-1;o<=s;){var c=o+(s-o>>1);switch(i(n(e[c],c),t)){case-1:o=c+1;break;case 0:return c;case 1:s=c-1}}return~o}function g(e,t,r,n,i){if(e&&e.length>0){var a=e.length;if(a>0){var o=void 0===n||n<0?0:n,s=void 0===i||o+i>a-1?a-1:o+i,c=void 0;for(arguments.length<=2?(c=e[o],o++):c=r;o<=s;)c=t(c,e[o],o),o++;return c}}return r}e.getIterator=function(t){if(t){if(T(t))return f(t);if(t instanceof e.Map)return t.entries();if(t instanceof e.Set)return t.values();throw new Error("Iteration not supported.")}},e.emptyArray=[],e.emptyMap=new e.Map,e.emptySet=new e.Set,e.length=function(e){return e?e.length:0},e.forEach=function(e,t){if(e)for(var r=0;r<e.length;r++){var n=t(e[r],r);if(n)return n}},e.forEachRight=function(e,t){if(e)for(var r=e.length-1;r>=0;r--){var n=t(e[r],r);if(n)return n}},e.firstDefined=function(e,t){if(void 0!==e)for(var r=0;r<e.length;r++){var n=t(e[r],r);if(void 0!==n)return n}},e.firstDefinedIterator=function(e,t){for(;;){var r=e.next();if(r.done)return;var n=t(r.value);if(void 0!==n)return n}},e.reduceLeftIterator=function(e,t,r){var n=r;if(e)for(var i=e.next(),a=0;!i.done;i=e.next(),a++)n=t(n,i.value,a);return n},e.zipWith=function(t,r,n){var i=[];e.Debug.assertEqual(t.length,r.length);for(var a=0;a<t.length;a++)i.push(n(t[a],r[a],a));return i},e.zipToIterator=function(t,r){e.Debug.assertEqual(t.length,r.length);var n=0;return{next:function(){return n===t.length?{value:void 0,done:!0}:(n++,{value:[t[n-1],r[n-1]],done:!1})}}},e.zipToMap=function(t,r){e.Debug.assert(t.length===r.length);for(var n=new e.Map,i=0;i<t.length;++i)n.set(t[i],r[i]);return n},e.intersperse=function(e,t){if(e.length<=1)return e;for(var r=[],n=0,i=e.length;n<i;n++)n&&r.push(t),r.push(e[n]);return r},e.every=function(e,t){if(e)for(var r=0;r<e.length;r++)if(!t(e[r],r))return!1;return!0},e.find=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t(n,r))return n}},e.findLast=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(t(n,r))return n}},e.findIndex=function(e,t,r){for(var n=r||0;n<e.length;n++)if(t(e[n],n))return n;return-1},e.findLastIndex=function(e,t,r){for(var n=void 0===r?e.length-1:r;n>=0;n--)if(t(e[n],n))return n;return-1},e.findMap=function(t,r){for(var n=0;n<t.length;n++){var i=r(t[n],n);if(i)return i}return e.Debug.fail()},e.contains=t,e.arraysEqual=function(e,t,r){return void 0===r&&(r=I),e.length===t.length&&e.every((function(e,n){return r(e,t[n])}))},e.indexOfAnyCharCode=function(e,r,n){for(var i=n||0;i<e.length;i++)if(t(r,e.charCodeAt(i)))return i;return-1},e.countWhere=function(e,t){var r=0;if(e)for(var n=0;n<e.length;n++)t(e[n],n)&&r++;return r},e.filter=function(e,t){if(e){for(var r=e.length,n=0;n<r&&t(e[n]);)n++;if(n<r){var i=e.slice(0,n);for(n++;n<r;){var a=e[n];t(a)&&i.push(a),n++}return i}}return e},e.filterMutate=function(e,t){for(var r=0,n=0;n<e.length;n++)t(e[n],n,e)&&(e[r]=e[n],r++);e.length=r},e.clear=function(e){e.length=0},e.map=function(e,t){var r;if(e){r=[];for(var n=0;n<e.length;n++)r.push(t(e[n],n))}return r},e.mapIterator=function(e,t){return{next:function(){var r=e.next();return r.done?r:{value:t(r.value),done:!1}}}},e.sameMap=function(e,t){if(e)for(var r=0;r<e.length;r++){var n=e[r],i=t(n,r);if(n!==i){var a=e.slice(0,r);for(a.push(i),r++;r<e.length;r++)a.push(t(e[r],r));return a}}return e},e.flatten=function(e){for(var t=[],r=0,n=e;r<n.length;r++){var i=n[r];i&&(T(i)?u(t,i):t.push(i))}return t},e.flatMap=function(t,r){var n;if(t)for(var i=0;i<t.length;i++){var a=r(t[i],i);a&&(n=T(a)?u(n,a):s(n,a))}return n||e.emptyArray},e.flatMapToMutable=function(e,t){var r=[];if(e)for(var n=0;n<e.length;n++){var i=t(e[n],n);i&&(T(i)?u(r,i):r.push(i))}return r},e.flatMapIterator=function(t,r){var n=t.next();if(n.done)return e.emptyIterator;var i=a(n.value);return{next:function(){for(;;){var e=i.next();if(!e.done)return e;var r=t.next();if(r.done)return r;i=a(r.value)}}};function a(t){var n=r(t);return void 0===n?e.emptyIterator:T(n)?f(n):n}},e.sameFlatMap=function(e,t){var r;if(e)for(var n=0;n<e.length;n++){var i=e[n],a=t(i,n);(r||i!==a||T(a))&&(r||(r=e.slice(0,n)),T(a)?u(r,a):r.push(a))}return r||e},e.mapAllOrFail=function(e,t){for(var r=[],n=0;n<e.length;n++){var i=t(e[n],n);if(void 0===i)return;r.push(i)}return r},e.mapDefined=function(e,t){var r=[];if(e)for(var n=0;n<e.length;n++){var i=t(e[n],n);void 0!==i&&r.push(i)}return r},e.mapDefinedIterator=function(e,t){return{next:function(){for(;;){var r=e.next();if(r.done)return r;var n=t(r.value);if(void 0!==n)return{value:n,done:!1}}}}},e.mapDefinedEntries=function(t,r){if(t){var n=new e.Map;return t.forEach((function(e,t){var i=r(t,e);if(void 0!==i){var a=i[0],o=i[1];void 0!==a&&void 0!==o&&n.set(a,o)}})),n}},e.mapDefinedValues=function(t,r){if(t){var n=new e.Set;return t.forEach((function(e){var t=r(e);void 0!==t&&n.add(t)})),n}},e.getOrUpdate=function(e,t,r){if(e.has(t))return e.get(t);var n=r();return e.set(t,n),n},e.tryAddToSet=function(e,t){return!e.has(t)&&(e.add(t),!0)},e.emptyIterator={next:function(){return{value:void 0,done:!0}}},e.singleIterator=function(e){var t=!1;return{next:function(){var r=t;return t=!0,r?{value:void 0,done:!0}:{value:e,done:!1}}}},e.spanMap=function(e,t,r){var n;if(e){n=[];for(var i=e.length,a=void 0,o=void 0,s=0,c=0;s<i;){for(;c<i;){if(o=t(e[c],c),0===c)a=o;else if(o!==a)break;c++}if(s<c){var u=r(e.slice(s,c),a,s,c);u&&n.push(u),s=c}a=o,c++}}return n},e.mapEntries=function(t,r){if(t){var n=new e.Map;return t.forEach((function(e,t){var i=r(t,e),a=i[0],o=i[1];n.set(a,o)})),n}},e.some=r,e.getRangesWhere=function(e,t,r){for(var n,i=0;i<e.length;i++)t(e[i])?n=void 0===n?i:n:void 0!==n&&(r(n,i),n=void 0);void 0!==n&&r(n,e.length)},e.concatenate=n,e.indicesOf=o,e.deduplicate=function(e,t,r){return 0===e.length?[]:1===e.length?e.slice():r?function(e,t,r){var n=o(e);p(e,n,r);for(var i=e[n[0]],a=[n[0]],s=1;s<n.length;s++){var c=n[s],u=e[c];t(i,u)||(a.push(c),i=u)}return a.sort(),a.map((function(t){return e[t]}))}(e,t,r):function(e,t){for(var r=[],n=0,i=e;n<i.length;n++)l(r,i[n],t);return r}(e,t)},e.createSortedArray=function(){return[]},e.insertSorted=function(e,t,r,n){if(0!==e.length){var i=_(e,t,A,r);i<0?e.splice(~i,0,t):n&&e.splice(i,0,t)}else e.push(t)},e.sortAndDeduplicate=function(t,r,n){return function(t,r){if(0===t.length)return e.emptyArray;for(var n=t[0],i=[n],a=1;a<t.length;a++){var o=t[a];switch(r(o,n)){case!0:case 0:continue;case-1:return e.Debug.fail("Array is unsorted.")}i.push(n=o)}return i}(d(t,r),n||r||R)},e.arrayIsSorted=function(e,t){if(e.length<2)return!0;for(var r=e[0],n=0,i=e.slice(1);n<i.length;n++){var a=i[n];if(1===t(r,a))return!1;r=a}return!0},e.arrayIsEqualTo=function(e,t,r){if(void 0===r&&(r=I),!e||!t)return e===t;if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!r(e[n],t[n],n))return!1;return!0},e.compact=function(e){var t;if(e)for(var r=0;r<e.length;r++){var n=e[r];(t||!n)&&(t||(t=e.slice(0,r)),n&&t.push(n))}return t||e},e.relativeComplement=function(t,r,n){if(!r||!t||0===r.length||0===t.length)return r;var i=[];e:for(var a=0,o=0;o<r.length;o++){o>0&&e.Debug.assertGreaterThanOrEqual(n(r[o],r[o-1]),0);t:for(var s=a;a<t.length;a++)switch(a>s&&e.Debug.assertGreaterThanOrEqual(n(t[a],t[a-1]),0),n(r[o],t[a])){case-1:i.push(r[o]);continue e;case 0:continue e;case 1:continue t}}return i},e.sum=function(e,t){for(var r=0,n=0,i=e;n<i.length;n++)r+=i[n][t];return r},e.append=s,e.combine=function(e,t){return void 0===e?t:void 0===t?e:T(e)?T(t)?n(e,t):s(e,t):T(t)?s(t,e):[e,t]},e.addRange=u,e.pushIfUnique=l,e.appendIfUnique=function(e,t,r){return e?(l(e,t,r),e):[t]},e.sort=d,e.arrayIterator=f,e.arrayReverseIterator=function(e){var t=e.length;return{next:function(){return 0===t?{value:void 0,done:!0}:(t--,{value:e[t],done:!1})}}},e.stableSort=function(e,t){var r=o(e);return p(e,r,t),r.map((function(t){return e[t]}))},e.rangeEquals=function(e,t,r,n){for(;r<n;){if(e[r]!==t[r])return!1;r++}return!0},e.elementAt=function(e,t){if(e&&(t=c(e,t))<e.length)return e[t]},e.firstOrUndefined=function(e){return 0===e.length?void 0:e[0]},e.first=function(t){return e.Debug.assert(0!==t.length),t[0]},e.lastOrUndefined=function(e){return 0===e.length?void 0:e[e.length-1]},e.last=function(t){return e.Debug.assert(0!==t.length),t[t.length-1]},e.singleOrUndefined=function(e){return e&&1===e.length?e[0]:void 0},e.singleOrMany=function(e){return e&&1===e.length?e[0]:e},e.replaceElement=function(e,t,r){var n=e.slice(0);return n[t]=r,n},e.binarySearch=_,e.binarySearchKey=m,e.reduceLeft=g;var h=Object.prototype.hasOwnProperty;function y(e,t){return h.call(e,t)}function v(e){var t=[];for(var r in e)h.call(e,r)&&t.push(r);return t}e.hasProperty=y,e.getProperty=function(e,t){return h.call(e,t)?e[t]:void 0},e.getOwnKeys=v,e.getAllKeys=function(e){var t=[];do{for(var r=0,n=Object.getOwnPropertyNames(e);r<n.length;r++)l(t,n[r])}while(e=Object.getPrototypeOf(e));return t},e.getOwnValues=function(e){var t=[];for(var r in e)h.call(e,r)&&t.push(e[r]);return t};var D=Object.entries||function(e){for(var t=v(e),r=Array(t.length),n=0;n<t.length;n++)r[n]=[t[n],e[t[n]]];return r};function b(e,t){for(var r=[],n=e.next();!n.done;n=e.next())r.push(t?t(n.value):n.value);return r}function x(e,t,r){void 0===r&&(r=A);for(var n=E(),i=0,a=e;i<a.length;i++){var o=a[i];n.add(t(o),r(o))}return n}function E(){var t=new e.Map;return t.add=S,t.remove=C,t}function S(e,t){var r=this.get(e);return r?r.push(t):this.set(e,r=[t]),r}function C(e,t){var r=this.get(e);r&&(z(r,t),r.length||this.delete(e))}function T(e){return Array.isArray?Array.isArray(e):e instanceof Array}function k(e){}function A(e){return e}function N(e){return e.toLowerCase()}e.getEntries=function(e){return e?D(e):[]},e.arrayOf=function(e,t){for(var r=new Array(e),n=0;n<e;n++)r[n]=t(n);return r},e.arrayFrom=b,e.assign=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,i=t;n<i.length;n++){var a=i[n];if(void 0!==a)for(var o in a)y(a,o)&&(e[o]=a[o])}return e},e.equalOwnProperties=function(e,t,r){if(void 0===r&&(r=I),e===t)return!0;if(!e||!t)return!1;for(var n in e)if(h.call(e,n)&&(!h.call(t,n)||!r(e[n],t[n])))return!1;for(var n in t)if(h.call(t,n)&&!h.call(e,n))return!1;return!0},e.arrayToMap=function(t,r,n){void 0===n&&(n=A);for(var i=new e.Map,a=0,o=t;a<o.length;a++){var s=o[a],c=r(s);void 0!==c&&i.set(c,n(s))}return i},e.arrayToNumericMap=function(e,t,r){void 0===r&&(r=A);for(var n=[],i=0,a=e;i<a.length;i++){var o=a[i];n[t(o)]=r(o)}return n},e.arrayToMultiMap=x,e.group=function(e,t,r){return void 0===r&&(r=A),b(x(e,t).values(),r)},e.clone=function(e){var t={};for(var r in e)h.call(e,r)&&(t[r]=e[r]);return t},e.extend=function(e,t){var r={};for(var n in t)h.call(t,n)&&(r[n]=t[n]);for(var n in e)h.call(e,n)&&(r[n]=e[n]);return r},e.copyProperties=function(e,t){for(var r in t)h.call(t,r)&&(e[r]=t[r])},e.maybeBind=function(e,t){return t?t.bind(e):void 0},e.createMultiMap=E,e.createUnderscoreEscapedMultiMap=function(){return E()},e.isArray=T,e.toArray=function(e){return T(e)?e:[e]},e.isString=function(e){return"string"==typeof e},e.isNumber=function(e){return"number"==typeof e},e.tryCast=function(e,t){return void 0!==e&&t(e)?e:void 0},e.cast=function(t,r){return void 0!==t&&r(t)?t:e.Debug.fail("Invalid cast. The supplied value ".concat(t," did not pass the test '").concat(e.Debug.getFunctionName(r),"'."))},e.noop=k,e.returnFalse=function(){return!1},e.returnTrue=function(){return!0},e.returnUndefined=function(){},e.identity=A,e.toLowerCase=N;var P,F=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;function w(e){return F.test(e)?e.replace(F,N):e}function I(e,t){return e===t}function O(e,t){return e===t?0:void 0===e?-1:void 0===t?1:e<t?-1:1}function L(e,t){return O(e,t)}function M(e,t){return e===t?0:void 0===e?-1:void 0===t?1:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}function R(e,t){return O(e,t)}e.toFileNameLowerCase=w,e.notImplemented=function(){throw new Error("Not implemented")},e.memoize=function(e){var t;return function(){return e&&(t=e(),e=void 0),t}},e.memoizeOne=function(t){var r=new e.Map;return function(e){var n="".concat(typeof e,":").concat(e),i=r.get(n);return void 0===i&&!r.has(n)&&(i=t(e),r.set(n,i)),i}},e.compose=function(e,t,r,n,i){if(i){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return function(e){return g(a,(function(e,t){return t(e)}),e)}}return n?function(i){return n(r(t(e(i))))}:r?function(n){return r(t(e(n)))}:t?function(r){return t(e(r))}:e?function(t){return e(t)}:function(e){return e}},(P=e.AssertionLevel||(e.AssertionLevel={}))[P.None=0]="None",P[P.Normal=1]="Normal",P[P.Aggressive=2]="Aggressive",P[P.VeryAggressive=3]="VeryAggressive",e.equateValues=I,e.equateStringsCaseInsensitive=function(e,t){return e===t||void 0!==e&&void 0!==t&&e.toUpperCase()===t.toUpperCase()},e.equateStringsCaseSensitive=function(e,t){return I(e,t)},e.compareValues=L,e.compareTextSpans=function(e,t){return L(null==e?void 0:e.start,null==t?void 0:t.start)||L(null==e?void 0:e.length,null==t?void 0:t.length)},e.min=function(e,t,r){return-1===r(e,t)?e:t},e.compareStringsCaseInsensitive=M,e.compareStringsCaseSensitive=R,e.getStringComparer=function(e){return e?M:R};var B,j,K=function(){var e,t,r="object"==typeof Intl&&"function"==typeof Intl.Collator?i:"function"==typeof String.prototype.localeCompare&&"function"==typeof String.prototype.toLocaleUpperCase&&"a".localeCompare("B")<0?a:o;return function(n){return void 0===n?e||(e=r(n)):"en-US"===n?t||(t=r(n)):r(n)};function n(e,t,r){if(e===t)return 0;if(void 0===e)return-1;if(void 0===t)return 1;var n=r(e,t);return n<0?-1:n>0?1:0}function i(e){var t=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return function(e,r){return n(e,r,t)}}function a(e){return void 0!==e?o():function(e,r){return n(e,r,t)};function t(e,t){return e.localeCompare(t)}}function o(){return function(t,r){return n(t,r,e)};function e(e,r){return t(e.toUpperCase(),r.toUpperCase())||t(e,r)}function t(e,t){return e<t?-1:e>t?1:0}}}();function J(e,t,r){for(var n=new Array(t.length+1),i=new Array(t.length+1),a=r+.01,o=0;o<=t.length;o++)n[o]=o;for(o=1;o<=e.length;o++){var s=e.charCodeAt(o-1),c=Math.ceil(o>r?o-r:1),u=Math.floor(t.length>r+o?r+o:t.length);i[0]=o;for(var l=o,p=1;p<c;p++)i[p]=a;for(p=c;p<=u;p++){var d=e[o-1].toLowerCase()===t[p-1].toLowerCase()?n[p-1]+.1:n[p-1]+2,f=s===t.charCodeAt(p-1)?n[p-1]:Math.min(n[p]+1,i[p-1]+1,d);i[p]=f,l=Math.min(l,f)}for(p=u+1;p<=t.length;p++)i[p]=a;if(l>r)return;var _=n;n=i,i=_}var m=n[t.length];return m>r?void 0:m}function U(e,t){var r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}function q(e,t){for(var r=t;r<e.length-1;r++)e[r]=e[r+1];e.pop()}function V(e,t){e[t]=e[e.length-1],e.pop()}function z(e,t){return function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return V(e,r),!0;return!1}(e,(function(e){return e===t}))}function W(e,t){return 0===e.lastIndexOf(t,0)}function H(e,t){var r=e.prefix,n=e.suffix;return t.length>=r.length+n.length&&W(t,r)&&U(t,n)}function G(e,t,r,n){for(var i=0,a=e[n];i<a.length;i++){var o=a[i],s=void 0;r?(s=r.slice()).push(o):s=[o],n===e.length-1?t.push(s):G(e,t,s,n+1)}}e.getUILocale=function(){return j},e.setUILocale=function(e){j!==e&&(j=e,B=void 0)},e.compareStringsCaseSensitiveUI=function(e,t){return(B||(B=K(j)))(e,t)},e.compareProperties=function(e,t,r,n){return e===t?0:void 0===e?-1:void 0===t?1:n(e[r],t[r])},e.compareBooleans=function(e,t){return L(e?1:0,t?1:0)},e.getSpellingSuggestion=function(t,r,n){for(var i,a=Math.min(2,Math.floor(.34*t.length)),o=Math.floor(.4*t.length)+1,s=0,c=r;s<c.length;s++){var u=c[s],l=n(u);if(void 0!==l&&Math.abs(l.length-t.length)<=a){if(l===t||l.length<3&&l.toLowerCase()!==t.toLowerCase())continue;var p=J(t,l,o-.1);if(void 0===p)continue;e.Debug.assert(p<o),o=p,i=u}}return i},e.endsWith=U,e.removeSuffix=function(e,t){return U(e,t)?e.slice(0,e.length-t.length):e},e.tryRemoveSuffix=function(e,t){return U(e,t)?e.slice(0,e.length-t.length):void 0},e.stringContains=function(e,t){return-1!==e.indexOf(t)},e.removeMinAndVersionNumbers=function(e){for(var t=e.length,r=t-1;r>0;r--){var n=e.charCodeAt(r);if(n>=48&&n<=57)do{--r,n=e.charCodeAt(r)}while(r>0&&n>=48&&n<=57);else{if(!(r>4)||110!==n&&78!==n)break;if(--r,105!==(n=e.charCodeAt(r))&&73!==n||(--r,109!==(n=e.charCodeAt(r))&&77!==n))break;--r,n=e.charCodeAt(r)}if(45!==n&&46!==n)break;t=r}return t===e.length?e:e.slice(0,t)},e.orderedRemoveItem=function(e,t){for(var r=0;r<e.length;r++)if(e[r]===t)return q(e,r),!0;return!1},e.orderedRemoveItemAt=q,e.unorderedRemoveItemAt=V,e.unorderedRemoveItem=z,e.createGetCanonicalFileName=function(e){return e?A:w},e.patternText=function(e){var t=e.prefix,r=e.suffix;return"".concat(t,"*").concat(r)},e.matchedText=function(t,r){return e.Debug.assert(H(t,r)),r.substring(t.prefix.length,r.length-t.suffix.length)},e.findBestPatternMatch=function(e,t,r){for(var n,i=-1,a=0,o=e;a<o.length;a++){var s=o[a],c=t(s);H(c,r)&&c.prefix.length>i&&(i=c.prefix.length,n=s)}return n},e.startsWith=W,e.removePrefix=function(e,t){return W(e,t)?e.substr(t.length):e},e.tryRemovePrefix=function(e,t,r){return void 0===r&&(r=A),W(r(e),r(t))?e.substring(t.length):void 0},e.and=function(e,t){return function(r){return e(r)&&t(r)}},e.or=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n=0,i=e;n<i.length;n++)if(i[n].apply(void 0,t))return!0;return!1}},e.not=function(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return!e.apply(void 0,t)}},e.assertType=function(e){},e.singleElementArray=function(e){return void 0===e?void 0:[e]},e.enumerateInsertsAndDeletes=function(e,t,r,n,i,a){a=a||k;for(var o=0,s=0,c=e.length,u=t.length,l=!1;o<c&&s<u;){var p=e[o],d=t[s],f=r(p,d);-1===f?(n(p),o++,l=!0):1===f?(i(d),s++,l=!0):(a(d,p),o++,s++)}for(;o<c;)n(e[o++]),l=!0;for(;s<u;)i(t[s++]),l=!0;return l},e.fill=function(e,t){for(var r=Array(e),n=0;n<e;n++)r[n]=t(n);return r},e.cartesianProduct=function(e){var t=[];return G(e,t,void 0,0),t},e.padLeft=function(e,t,r){return void 0===r&&(r=" "),t<=e.length?e:r.repeat(t-e.length)+e},e.padRight=function(e,t,r){return void 0===r&&(r=" "),t<=e.length?e:e+r.repeat(t-e.length)},e.takeWhile=function(e,t){for(var r=e.length,n=0;n<r&&t(e[n]);)n++;return e.slice(0,n)},e.trimString=String.prototype.trim?function(e){return e.trim()}:function(t){return e.trimStringEnd(e.trimStringStart(t))},e.trimStringEnd=String.prototype.trimEnd?function(e){return e.trimEnd()}:function(t){for(var r=t.length-1;r>=0&&e.isWhiteSpaceLike(t.charCodeAt(r));)r--;return t.slice(0,r+1)},e.trimStringStart=String.prototype.trimStart?function(e){return e.trimStart()}:function(e){return e.replace(/^\s+/g,"")}}(n||(n={})),function(e){var t,r;(r=t=e.LogLevel||(e.LogLevel={}))[r.Off=0]="Off",r[r.Error=1]="Error",r[r.Warning=2]="Warning",r[r.Info=3]="Info",r[r.Verbose=4]="Verbose",function(r){var n,i,a=0;function o(){return null!=n?n:n=new e.Version(e.version)}function s(e){return r.currentLogLevel<=e}function c(e,t){r.loggingHost&&s(e)&&r.loggingHost.log(e,t)}function u(e){c(t.Info,e)}r.currentLogLevel=t.Warning,r.isDebugging=!1,r.getTypeScriptVersion=o,r.shouldLog=s,r.log=u,(i=u=r.log||(r.log={})).error=function(e){c(t.Error,e)},i.warn=function(e){c(t.Warning,e)},i.log=function(e){c(t.Info,e)},i.trace=function(e){c(t.Verbose,e)};var l={};function p(e){return a>=e}function d(t,n){return!!p(t)||(l[n]={level:t,assertion:r[n]},r[n]=e.noop,!1)}function f(e,t){var r=new Error(e?"Debug Failure. ".concat(e):"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(r,t||f),r}function _(e,t,r,n){e||(t=t?"False expression: ".concat(t):"False expression.",r&&(t+="\r\nVerbose Debug Information: "+("string"==typeof r?r:r())),f(t,n||_))}function m(e,t,r){null==e&&f(t,r||m)}function g(e,t,r){for(var n=0,i=e;n<i.length;n++)m(i[n],t,r||g)}function h(e){if("function"!=typeof e)return"";if(e.hasOwnProperty("name"))return e.name;var t=Function.prototype.toString.call(e),r=/^function\s+([\w\$]+)\s*\(/.exec(t);return r?r[1]:""}function y(t,r,n){void 0===t&&(t=0);var i=function(t){var r=[];for(var n in t){var i=t[n];"number"==typeof i&&r.push([i,n])}return e.stableSort(r,(function(t,r){return e.compareValues(t[0],r[0])}))}(r);if(0===t)return i.length>0&&0===i[0][0]?i[0][1]:"0";if(n){for(var a="",o=t,s=0,c=i;s<c.length;s++){var u=c[s],l=u[0],p=u[1];if(l>t)break;0!==l&&l&t&&(a="".concat(a).concat(a?"|":"").concat(p),o&=~l)}if(0===o)return a}else for(var d=0,f=i;d<f.length;d++){var _=f[d];if(l=_[0],p=_[1],l===t)return p}return t.toString()}function v(t){return y(t,e.SyntaxKind,!1)}function D(t){return y(t,e.NodeFlags,!0)}function b(t){return y(t,e.ModifierFlags,!0)}function x(t){return y(t,e.TransformFlags,!0)}function E(t){return y(t,e.EmitFlags,!0)}function S(t){return y(t,e.SymbolFlags,!0)}function C(t){return y(t,e.TypeFlags,!0)}function T(t){return y(t,e.SignatureFlags,!0)}function k(t){return y(t,e.ObjectFlags,!0)}function A(t){return y(t,e.FlowFlags,!0)}r.getAssertionLevel=function(){return a},r.setAssertionLevel=function(t){var n=a;if(a=t,t>n)for(var i=0,o=e.getOwnKeys(l);i<o.length;i++){var s=o[i],c=l[s];void 0!==c&&r[s]!==c.assertion&&t>=c.level&&(r[s]=c,l[s]=void 0)}},r.shouldAssert=p,r.fail=f,r.failBadSyntaxKind=function e(t,r,n){return f("".concat(r||"Unexpected node.","\r\nNode ").concat(v(t.kind)," was unexpected."),n||e)},r.assert=_,r.assertEqual=function e(t,r,n,i,a){if(t!==r){var o=n?i?"".concat(n," ").concat(i):n:"";f("Expected ".concat(t," === ").concat(r,". ").concat(o),a||e)}},r.assertLessThan=function e(t,r,n,i){t>=r&&f("Expected ".concat(t," < ").concat(r,". ").concat(n||""),i||e)},r.assertLessThanOrEqual=function e(t,r,n){t>r&&f("Expected ".concat(t," <= ").concat(r),n||e)},r.assertGreaterThanOrEqual=function e(t,r,n){t<r&&f("Expected ".concat(t," >= ").concat(r),n||e)},r.assertIsDefined=m,r.checkDefined=function e(t,r,n){return m(t,r,n||e),t},r.assertEachIsDefined=g,r.checkEachDefined=function e(t,r,n){return g(t,r,n||e),t},r.assertNever=function t(r,n,i){void 0===n&&(n="Illegal value:");var a="object"==typeof r&&e.hasProperty(r,"kind")&&e.hasProperty(r,"pos")&&v?"SyntaxKind: "+v(r.kind):JSON.stringify(r);return f("".concat(n," ").concat(a),i||t)},r.assertEachNode=function t(r,n,i,a){d(1,"assertEachNode")&&_(void 0===n||e.every(r,n),i||"Unexpected node.",(function(){return"Node array did not pass test '".concat(h(n),"'.")}),a||t)},r.assertNode=function e(t,r,n,i){d(1,"assertNode")&&_(void 0!==t&&(void 0===r||r(t)),n||"Unexpected node.",(function(){return"Node ".concat(v(null==t?void 0:t.kind)," did not pass test '").concat(h(r),"'.")}),i||e)},r.assertNotNode=function e(t,r,n,i){d(1,"assertNotNode")&&_(void 0===t||void 0===r||!r(t),n||"Unexpected node.",(function(){return"Node ".concat(v(t.kind)," should not have passed test '").concat(h(r),"'.")}),i||e)},r.assertOptionalNode=function e(t,r,n,i){d(1,"assertOptionalNode")&&_(void 0===r||void 0===t||r(t),n||"Unexpected node.",(function(){return"Node ".concat(v(null==t?void 0:t.kind)," did not pass test '").concat(h(r),"'.")}),i||e)},r.assertOptionalToken=function e(t,r,n,i){d(1,"assertOptionalToken")&&_(void 0===r||void 0===t||t.kind===r,n||"Unexpected node.",(function(){return"Node ".concat(v(null==t?void 0:t.kind)," was not a '").concat(v(r),"' token.")}),i||e)},r.assertMissingNode=function e(t,r,n){d(1,"assertMissingNode")&&_(void 0===t,r||"Unexpected node.",(function(){return"Node ".concat(v(t.kind)," was unexpected'.")}),n||e)},r.type=function(e){},r.getFunctionName=h,r.formatSymbol=function(t){return"{ name: ".concat(e.unescapeLeadingUnderscores(t.escapedName),"; flags: ").concat(S(t.flags),"; declarations: ").concat(e.map(t.declarations,(function(e){return v(e.kind)}))," }")},r.formatEnum=y,r.formatSyntaxKind=v,r.formatSnippetKind=function(t){return y(t,e.SnippetKind,!1)},r.formatNodeFlags=D,r.formatModifierFlags=b,r.formatTransformFlags=x,r.formatEmitFlags=E,r.formatSymbolFlags=S,r.formatTypeFlags=C,r.formatSignatureFlags=T,r.formatObjectFlags=k,r.formatFlowFlags=A;var N,P,F=!1;function w(e){return function(){throw L(),new Error("Debugging helpers could not be loaded.")}().formatControlFlowGraph(e)}function I(t){"__debugFlowFlags"in t||Object.defineProperties(t,{__tsDebuggerDisplay:{value:function(){var e=2&this.flags?"FlowStart":4&this.flags?"FlowBranchLabel":8&this.flags?"FlowLoopLabel":16&this.flags?"FlowAssignment":32&this.flags?"FlowTrueCondition":64&this.flags?"FlowFalseCondition":128&this.flags?"FlowSwitchClause":256&this.flags?"FlowArrayMutation":512&this.flags?"FlowCall":1024&this.flags?"FlowReduceLabel":1&this.flags?"FlowUnreachable":"UnknownFlow",t=-2048&this.flags;return"".concat(e).concat(t?" (".concat(A(t),")"):"")}},__debugFlowFlags:{get:function(){return y(this.flags,e.FlowFlags,!0)}},__debugToString:{value:function(){return w(this)}}})}function O(e){"__tsDebuggerDisplay"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:function(e){return e=String(e).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),"NodeArray ".concat(e)}}})}function L(){if(!F){var t,r;Object.defineProperties(e.objectAllocator.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var t=33554432&this.flags?"TransientSymbol":"Symbol",r=-33554433&this.flags;return"".concat(t," '").concat(e.symbolName(this),"'").concat(r?" (".concat(S(r),")"):"")}},__debugFlags:{get:function(){return S(this.flags)}}}),Object.defineProperties(e.objectAllocator.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var t=98304&this.flags?"NullableType":384&this.flags?"LiteralType ".concat(JSON.stringify(this.value)):2048&this.flags?"LiteralType ".concat(this.value.negative?"-":"").concat(this.value.base10Value,"n"):8192&this.flags?"UniqueESSymbolType":32&this.flags?"EnumType":67359327&this.flags?"IntrinsicType ".concat(this.intrinsicName):1048576&this.flags?"UnionType":2097152&this.flags?"IntersectionType":4194304&this.flags?"IndexType":8388608&this.flags?"IndexedAccessType":16777216&this.flags?"ConditionalType":33554432&this.flags?"SubstitutionType":262144&this.flags?"TypeParameter":524288&this.flags?3&this.objectFlags?"InterfaceType":4&this.objectFlags?"TypeReference":8&this.objectFlags?"TupleType":16&this.objectFlags?"AnonymousType":32&this.objectFlags?"MappedType":1024&this.objectFlags?"ReverseMappedType":256&this.objectFlags?"EvolvingArrayType":"ObjectType":"Type",r=524288&this.flags?-1344&this.objectFlags:0;return"".concat(t).concat(this.symbol?" '".concat(e.symbolName(this.symbol),"'"):"").concat(r?" (".concat(k(r),")"):"")}},__debugFlags:{get:function(){return C(this.flags)}},__debugObjectFlags:{get:function(){return 524288&this.flags?k(this.objectFlags):""}},__debugTypeToString:{value:function(){var e=(void 0===t&&"function"==typeof WeakMap&&(t=new WeakMap),t),r=null==e?void 0:e.get(this);return void 0===r&&(r=this.checker.typeToString(this),null==e||e.set(this,r)),r}}}),Object.defineProperties(e.objectAllocator.getSignatureConstructor().prototype,{__debugFlags:{get:function(){return T(this.flags)}},__debugSignatureToString:{value:function(){var e;return null===(e=this.checker)||void 0===e?void 0:e.signatureToString(this)}}});for(var n=0,i=[e.objectAllocator.getNodeConstructor(),e.objectAllocator.getIdentifierConstructor(),e.objectAllocator.getTokenConstructor(),e.objectAllocator.getSourceFileConstructor()];n<i.length;n++){var a=i[n];a.prototype.hasOwnProperty("__debugKind")||Object.defineProperties(a.prototype,{__tsDebuggerDisplay:{value:function(){var t=e.isGeneratedIdentifier(this)?"GeneratedIdentifier":e.isIdentifier(this)?"Identifier '".concat(e.idText(this),"'"):e.isPrivateIdentifier(this)?"PrivateIdentifier '".concat(e.idText(this),"'"):e.isStringLiteral(this)?"StringLiteral ".concat(JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")):e.isNumericLiteral(this)?"NumericLiteral ".concat(this.text):e.isBigIntLiteral(this)?"BigIntLiteral ".concat(this.text,"n"):e.isTypeParameterDeclaration(this)?"TypeParameterDeclaration":e.isParameter(this)?"ParameterDeclaration":e.isConstructorDeclaration(this)?"ConstructorDeclaration":e.isGetAccessorDeclaration(this)?"GetAccessorDeclaration":e.isSetAccessorDeclaration(this)?"SetAccessorDeclaration":e.isCallSignatureDeclaration(this)?"CallSignatureDeclaration":e.isConstructSignatureDeclaration(this)?"ConstructSignatureDeclaration":e.isIndexSignatureDeclaration(this)?"IndexSignatureDeclaration":e.isTypePredicateNode(this)?"TypePredicateNode":e.isTypeReferenceNode(this)?"TypeReferenceNode":e.isFunctionTypeNode(this)?"FunctionTypeNode":e.isConstructorTypeNode(this)?"ConstructorTypeNode":e.isTypeQueryNode(this)?"TypeQueryNode":e.isTypeLiteralNode(this)?"TypeLiteralNode":e.isArrayTypeNode(this)?"ArrayTypeNode":e.isTupleTypeNode(this)?"TupleTypeNode":e.isOptionalTypeNode(this)?"OptionalTypeNode":e.isRestTypeNode(this)?"RestTypeNode":e.isUnionTypeNode(this)?"UnionTypeNode":e.isIntersectionTypeNode(this)?"IntersectionTypeNode":e.isConditionalTypeNode(this)?"ConditionalTypeNode":e.isInferTypeNode(this)?"InferTypeNode":e.isParenthesizedTypeNode(this)?"ParenthesizedTypeNode":e.isThisTypeNode(this)?"ThisTypeNode":e.isTypeOperatorNode(this)?"TypeOperatorNode":e.isIndexedAccessTypeNode(this)?"IndexedAccessTypeNode":e.isMappedTypeNode(this)?"MappedTypeNode":e.isLiteralTypeNode(this)?"LiteralTypeNode":e.isNamedTupleMember(this)?"NamedTupleMember":e.isImportTypeNode(this)?"ImportTypeNode":v(this.kind);return"".concat(t).concat(this.flags?" (".concat(D(this.flags),")"):"")}},__debugKind:{get:function(){return v(this.kind)}},__debugNodeFlags:{get:function(){return D(this.flags)}},__debugModifierFlags:{get:function(){return b(e.getEffectiveModifierFlagsNoCache(this))}},__debugTransformFlags:{get:function(){return x(this.transformFlags)}},__debugIsParseTreeNode:{get:function(){return e.isParseTreeNode(this)}},__debugEmitFlags:{get:function(){return E(e.getEmitFlags(this))}},__debugGetText:{value:function(t){if(e.nodeIsSynthesized(this))return"";var n=(void 0===r&&"function"==typeof WeakMap&&(r=new WeakMap),r),i=null==n?void 0:n.get(this);if(void 0===i){var a=e.getParseTreeNode(this),o=a&&e.getSourceFileOfNode(a);i=o?e.getSourceTextOfNodeFromSourceFile(o,a,t):"",null==n||n.set(this,i)}return i}}})}F=!0}}function M(t,r,n,i,a){var o=r?"DeprecationError: ":"DeprecationWarning: ";return o+="'".concat(t,"' "),o+=i?"has been deprecated since v".concat(i):"is deprecated",(o+=r?" and can no longer be used.":n?" and will no longer be usable after v".concat(n,"."):".")+(a?" ".concat(e.formatStringFromArgs(a,[t],0)):"")}function R(t,r){var n,i;void 0===r&&(r={});var a="string"==typeof r.typeScriptVersion?new e.Version(r.typeScriptVersion):null!==(n=r.typeScriptVersion)&&void 0!==n?n:o(),s="string"==typeof r.errorAfter?new e.Version(r.errorAfter):r.errorAfter,c="string"==typeof r.warnAfter?new e.Version(r.warnAfter):r.warnAfter,l="string"==typeof r.since?new e.Version(r.since):null!==(i=r.since)&&void 0!==i?i:c,p=r.error||s&&a.compareTo(s)<=0,d=!c||a.compareTo(c)>=0;return p?function(e,t,r,n){var i=M(e,!0,t,r,n);return function(){throw new TypeError(i)}}(t,s,l,r.message):d?function(e,t,r,n){var i=!1;return function(){i||(u.warn(M(e,!1,t,r,n)),i=!0)}}(t,s,l,r.message):e.noop}r.printControlFlowGraph=function(e){return console.log(w(e))},r.formatControlFlowGraph=w,r.attachFlowNodeDebugInfo=function(e){F&&("function"==typeof Object.setPrototypeOf?(N||I(N=Object.create(Object.prototype)),Object.setPrototypeOf(e,N)):I(e))},r.attachNodeArrayDebugInfo=function(e){F&&("function"==typeof Object.setPrototypeOf?(P||O(P=Object.create(Array.prototype)),Object.setPrototypeOf(e,P)):O(e))},r.enableDebugInfo=L,r.deprecate=function(e,t){return function(e,t){return function(){return e(),t.apply(this,arguments)}}(R(h(e),t),e)}}(e.Debug||(e.Debug={}))}(n||(n={})),function(e){var t=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,r=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,n=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,i=/^(0|[1-9]\d*)$/,a=function(){function t(t,i,a,s,c){if(void 0===i&&(i=0),void 0===a&&(a=0),void 0===s&&(s=""),void 0===c&&(c=""),"string"==typeof t){var u=e.Debug.checkDefined(o(t),"Invalid version");t=u.major,i=u.minor,a=u.patch,s=u.prerelease,c=u.build}e.Debug.assert(t>=0,"Invalid argument: major"),e.Debug.assert(i>=0,"Invalid argument: minor"),e.Debug.assert(a>=0,"Invalid argument: patch"),e.Debug.assert(!s||r.test(s),"Invalid argument: prerelease"),e.Debug.assert(!c||n.test(c),"Invalid argument: build"),this.major=t,this.minor=i,this.patch=a,this.prerelease=s?s.split("."):e.emptyArray,this.build=c?c.split("."):e.emptyArray}return t.tryParse=function(e){var r=o(e);if(r)return new t(r.major,r.minor,r.patch,r.prerelease,r.build)},t.prototype.compareTo=function(t){return this===t?0:void 0===t?1:e.compareValues(this.major,t.major)||e.compareValues(this.minor,t.minor)||e.compareValues(this.patch,t.patch)||function(t,r){if(t===r)return 0;if(0===t.length)return 0===r.length?0:1;if(0===r.length)return-1;for(var n=Math.min(t.length,r.length),a=0;a<n;a++){var o=t[a],s=r[a];if(o!==s){var c=i.test(o),u=i.test(s);if(c||u){if(c!==u)return c?-1:1;if(l=e.compareValues(+o,+s))return l}else{var l;if(l=e.compareStringsCaseSensitive(o,s))return l}}}return e.compareValues(t.length,r.length)}(this.prerelease,t.prerelease)},t.prototype.increment=function(r){switch(r){case"major":return new t(this.major+1,0,0);case"minor":return new t(this.major,this.minor+1,0);case"patch":return new t(this.major,this.minor,this.patch+1);default:return e.Debug.assertNever(r)}},t.prototype.toString=function(){var t="".concat(this.major,".").concat(this.minor,".").concat(this.patch);return e.some(this.prerelease)&&(t+="-".concat(this.prerelease.join("."))),e.some(this.build)&&(t+="+".concat(this.build.join("."))),t},t.zero=new t(0,0,0),t}();function o(e){var i=t.exec(e);if(i){var a=i[1],o=i[2],s=void 0===o?"0":o,c=i[3],u=void 0===c?"0":c,l=i[4],p=void 0===l?"":l,d=i[5],f=void 0===d?"":d;if((!p||r.test(p))&&(!f||n.test(f)))return{major:parseInt(a,10),minor:parseInt(s,10),patch:parseInt(u,10),prerelease:p,build:f}}}e.Version=a;var s=function(){function t(t){this._alternatives=t?e.Debug.checkDefined(f(t),"Invalid range spec."):e.emptyArray}return t.tryParse=function(e){var r=f(e);if(r){var n=new t("");return n._alternatives=r,n}},t.prototype.test=function(e){return"string"==typeof e&&(e=new a(e)),function(e,t){if(0===t.length)return!0;for(var r=0,n=t;r<n.length;r++)if(v(e,n[r]))return!0;return!1}(e,this._alternatives)},t.prototype.toString=function(){return function(t){return e.map(t,b).join(" || ")||"*"}(this._alternatives)},t}();e.VersionRange=s;var c=/\|\|/g,u=/\s+/g,l=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,p=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,d=/^(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i;function f(t){for(var r=[],n=0,i=e.trimString(t).split(c);n<i.length;n++){var a=i[n];if(a){var o=[];a=e.trimString(a);var s=p.exec(a);if(s){if(!m(s[1],s[2],o))return}else for(var l=0,f=a.split(u);l<f.length;l++){var _=f[l],h=d.exec(e.trimString(_));if(!h||!g(h[1],h[2],o))return}r.push(o)}}return r}function _(e){var t=l.exec(e);if(t){var r=t[1],n=t[2],i=void 0===n?"*":n,o=t[3],s=void 0===o?"*":o,c=t[4],u=t[5];return{version:new a(h(r)?0:parseInt(r,10),h(r)||h(i)?0:parseInt(i,10),h(r)||h(i)||h(s)?0:parseInt(s,10),c,u),major:r,minor:i,patch:s}}}function m(e,t,r){var n=_(e);if(!n)return!1;var i=_(t);return!!i&&(h(n.major)||r.push(y(">=",n.version)),h(i.major)||r.push(h(i.minor)?y("<",i.version.increment("major")):h(i.patch)?y("<",i.version.increment("minor")):y("<=",i.version)),!0)}function g(e,t,r){var n=_(t);if(!n)return!1;var i=n.version,o=n.major,s=n.minor,c=n.patch;if(h(o))("<"===e||">"===e)&&r.push(y("<",a.zero));else switch(e){case"~":r.push(y(">=",i)),r.push(y("<",i.increment(h(s)?"major":"minor")));break;case"^":r.push(y(">=",i)),r.push(y("<",i.increment(i.major>0||h(s)?"major":i.minor>0||h(c)?"minor":"patch")));break;case"<":case">=":r.push(y(e,i));break;case"<=":case">":r.push(h(s)?y("<="===e?"<":">=",i.increment("major")):h(c)?y("<="===e?"<":">=",i.increment("minor")):y(e,i));break;case"=":case void 0:h(s)||h(c)?(r.push(y(">=",i)),r.push(y("<",i.increment(h(s)?"major":"minor")))):r.push(y("=",i));break;default:return!1}return!0}function h(e){return"*"===e||"x"===e||"X"===e}function y(e,t){return{operator:e,operand:t}}function v(e,t){for(var r=0,n=t;r<n.length;r++){var i=n[r];if(!D(e,i.operator,i.operand))return!1}return!0}function D(t,r,n){var i=t.compareTo(n);switch(r){case"<":return i<0;case"<=":return i<=0;case">":return i>0;case">=":return i>=0;case"=":return 0===i;default:return e.Debug.assertNever(r)}}function b(t){return e.map(t,x).join(" ")}function x(e){return"".concat(e.operator).concat(e.operand)}}(n||(n={})),function(e){var t=function(){if("object"==typeof performance&&"function"==typeof PerformanceObserver&&(e=performance,t=PerformanceObserver,"object"==typeof e&&"number"==typeof e.timeOrigin&&"function"==typeof e.mark&&"function"==typeof e.measure&&"function"==typeof e.now&&"function"==typeof t))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver};var e,t}()||void 0,r=null==t?void 0:t.performance;e.tryGetNativePerformanceHooks=function(){return t},e.timestamp=r?function(){return r.now()}:Date.now?Date.now:function(){return+new Date}}(n||(n={})),function(e){!function(t){var r,n;function i(t,r,n){var i=0;return{enter:function(){1==++i&&l(r)},exit:function(){0==--i?(l(n),p(t,r,n)):i<0&&e.Debug.fail("enter/exit count does not match.")}}}t.createTimerIf=function(e,r,n,a){return e?i(r,n,a):t.nullTimer},t.createTimer=i,t.nullTimer={enter:e.noop,exit:e.noop};var a=!1,o=e.timestamp(),s=new e.Map,c=new e.Map,u=new e.Map;function l(t){var r;if(a){var i=null!==(r=c.get(t))&&void 0!==r?r:0;c.set(t,i+1),s.set(t,e.timestamp()),null==n||n.mark(t)}}function p(t,r,i){var c,l;if(a){var p=null!==(c=void 0!==i?s.get(i):void 0)&&void 0!==c?c:e.timestamp(),d=null!==(l=void 0!==r?s.get(r):void 0)&&void 0!==l?l:o,f=u.get(t)||0;u.set(t,f+(p-d)),null==n||n.measure(t,r,i)}}t.mark=l,t.measure=p,t.getCount=function(e){return c.get(e)||0},t.getDuration=function(e){return u.get(e)||0},t.forEachMeasure=function(e){u.forEach((function(t,r){return e(r,t)}))},t.isEnabled=function(){return a},t.enable=function(t){var i;return void 0===t&&(t=e.sys),a||(a=!0,r||(r=e.tryGetNativePerformanceHooks()),r&&(o=r.performance.timeOrigin,(r.shouldWriteNativeEvents||(null===(i=null==t?void 0:t.cpuProfilingEnabled)||void 0===i?void 0:i.call(t))||(null==t?void 0:t.debugMode))&&(n=r.performance))),!0},t.disable=function(){a&&(s.clear(),c.clear(),u.clear(),n=void 0,a=!1)}}(e.performance||(e.performance={}))}(n||(n={})),function(e){var t,n={logEvent:e.noop,logErrEvent:e.noop,logPerfEvent:e.noop,logInfoEvent:e.noop,logStartCommand:e.noop,logStopCommand:e.noop,logStartUpdateProgram:e.noop,logStopUpdateProgram:e.noop,logStartUpdateGraph:e.noop,logStopUpdateGraph:e.noop,logStartResolveModule:e.noop,logStopResolveModule:e.noop,logStartParseSourceFile:e.noop,logStopParseSourceFile:e.noop,logStartReadFile:e.noop,logStopReadFile:e.noop,logStartBindFile:e.noop,logStopBindFile:e.noop,logStartScheduledOperation:e.noop,logStopScheduledOperation:e.noop};try{r.env.TS_ETW_MODULE_PATH,t=void 0}catch{t=void 0}e.perfLogger=t&&t.logEvent?t:n}(n||(n={})),function(e){var t;(function(t){var n,i,a,s,c=0,u=0,l=[],p=[];t.startTracing=function(s,d,f){if(e.Debug.assert(!e.tracing,"Tracing already started"),void 0===n)try{n=ht()}catch(e){throw new Error("tracing requires having fs\n(original error: ".concat(e.message||e,")"))}i=s,l.length=0,void 0===a&&(a=e.combinePaths(d,"legend.json")),n.existsSync(d)||n.mkdirSync(d,{recursive:!0});var _="build"===i?".".concat(r.pid,"-").concat(++c):"server"===i?".".concat(r.pid):"",m=e.combinePaths(d,"trace".concat(_,".json")),g=e.combinePaths(d,"types".concat(_,".json"));p.push({configFilePath:f,tracePath:m,typesPath:g}),u=n.openSync(m,"w"),e.tracing=t;var h={cat:"__metadata",ph:"M",ts:1e3*e.timestamp(),pid:1,tid:1};n.writeSync(u,"[\n"+[o({name:"process_name",args:{name:"tsc"}},h),o({name:"thread_name",args:{name:"Main"}},h),o(o({name:"TracingStartedInBrowser"},h),{cat:"disabled-by-default-devtools.timeline"})].map((function(e){return JSON.stringify(e)})).join(",\n"))},t.stopTracing=function(){e.Debug.assert(e.tracing,"Tracing is not in progress"),e.Debug.assert(!!l.length==("server"!==i)),n.writeSync(u,"\n]\n"),n.closeSync(u),e.tracing=void 0,l.length?function(t){var r,i,a,s,c,u,l,d,f,_,g,h,y,v,D,b,x,E,S,C,T,k;e.performance.mark("beginDumpTypes");var A=p[p.length-1].typesPath,N=n.openSync(A,"w"),P=new e.Map;n.writeSync(N,"[");for(var F=t.length,w=0;w<F;w++){var I=t[w],O=I.objectFlags,L=null!==(r=I.aliasSymbol)&&void 0!==r?r:I.symbol,M=void 0;if(16&O|2944&I.flags)try{M=null===(i=I.checker)||void 0===i?void 0:i.typeToString(I)}catch{M=void 0}var R={};if(8388608&I.flags){var B=I;R={indexedAccessObjectType:null===(a=B.objectType)||void 0===a?void 0:a.id,indexedAccessIndexType:null===(s=B.indexType)||void 0===s?void 0:s.id}}var j={};if(4&O){var K=I;j={instantiatedType:null===(c=K.target)||void 0===c?void 0:c.id,typeArguments:null===(u=K.resolvedTypeArguments)||void 0===u?void 0:u.map((function(e){return e.id})),referenceLocation:m(K.node)}}var J={};if(16777216&I.flags){var U=I;J={conditionalCheckType:null===(l=U.checkType)||void 0===l?void 0:l.id,conditionalExtendsType:null===(d=U.extendsType)||void 0===d?void 0:d.id,conditionalTrueType:null!==(_=null===(f=U.resolvedTrueType)||void 0===f?void 0:f.id)&&void 0!==_?_:-1,conditionalFalseType:null!==(h=null===(g=U.resolvedFalseType)||void 0===g?void 0:g.id)&&void 0!==h?h:-1}}var q={};if(33554432&I.flags){var V=I;q={substitutionBaseType:null===(y=V.baseType)||void 0===y?void 0:y.id,substituteType:null===(v=V.substitute)||void 0===v?void 0:v.id}}var z={};if(1024&O){var W=I;z={reverseMappedSourceType:null===(D=W.source)||void 0===D?void 0:D.id,reverseMappedMappedType:null===(b=W.mappedType)||void 0===b?void 0:b.id,reverseMappedConstraintType:null===(x=W.constraintType)||void 0===x?void 0:x.id}}var H={};if(256&O){var G=I;H={evolvingArrayElementType:G.elementType.id,evolvingArrayFinalType:null===(E=G.finalArrayType)||void 0===E?void 0:E.id}}var $=void 0,Y=I.checker.getRecursionIdentity(I);Y&&(($=P.get(Y))||($=P.size,P.set(Y,$)));var X=o(o(o(o(o(o(o({id:I.id,intrinsicName:I.intrinsicName,symbolName:(null==L?void 0:L.escapedName)&&e.unescapeLeadingUnderscores(L.escapedName),recursionId:$,isTuple:!!(8&O)||void 0,unionTypes:1048576&I.flags?null===(S=I.types)||void 0===S?void 0:S.map((function(e){return e.id})):void 0,intersectionTypes:2097152&I.flags?I.types.map((function(e){return e.id})):void 0,aliasTypeArguments:null===(C=I.aliasTypeArguments)||void 0===C?void 0:C.map((function(e){return e.id})),keyofType:4194304&I.flags?null===(T=I.type)||void 0===T?void 0:T.id:void 0},R),j),J),q),z),H),{destructuringPattern:m(I.pattern),firstDeclaration:m(null===(k=null==L?void 0:L.declarations)||void 0===k?void 0:k[0]),flags:e.Debug.formatTypeFlags(I.flags).split("|"),display:M});n.writeSync(N,JSON.stringify(X)),w<F-1&&n.writeSync(N,",\n")}n.writeSync(N,"]\n"),n.closeSync(N),e.performance.mark("endDumpTypes"),e.performance.measure("Dump types","beginDumpTypes","endDumpTypes")}(l):p[p.length-1].typesPath=void 0},t.recordType=function(e){"server"!==i&&l.push(e)},(s=t.Phase||(t.Phase={})).Parse="parse",s.Program="program",s.Bind="bind",s.Check="check",s.CheckTypes="checkTypes",s.Emit="emit",s.Session="session",t.instant=function(e,t,r){_("I",e,t,r,'"s":"g"')};var d=[];t.push=function(t,r,n,i){void 0===i&&(i=!1),i&&_("B",t,r,n),d.push({phase:t,name:r,args:n,time:1e3*e.timestamp(),separateBeginAndEnd:i})},t.pop=function(){e.Debug.assert(d.length>0),f(d.length-1,1e3*e.timestamp()),d.length--},t.popAll=function(){for(var t=1e3*e.timestamp(),r=d.length-1;r>=0;r--)f(r,t);d.length=0};function f(e,t){var r=d[e],n=r.phase,i=r.name,a=r.args,o=r.time;r.separateBeginAndEnd?_("E",n,i,a,void 0,t):1e4-o%1e4<=t-o&&_("X",n,i,a,'"dur":'.concat(t-o),o)}function _(t,r,a,o,s,c){void 0===c&&(c=1e3*e.timestamp()),("server"!==i||"checkTypes"!==r)&&(e.performance.mark("beginTracing"),n.writeSync(u,',\n{"pid":1,"tid":1,"ph":"'.concat(t,'","cat":"').concat(r,'","ts":').concat(c,',"name":"').concat(a,'"')),s&&n.writeSync(u,",".concat(s)),o&&n.writeSync(u,',"args":'.concat(JSON.stringify(o))),n.writeSync(u,"}"),e.performance.mark("endTracing"),e.performance.measure("Tracing","beginTracing","endTracing"))}function m(t){var r=e.getSourceFileOfNode(t);return r?{path:r.path,start:n(e.getLineAndCharacterOfPosition(r,t.pos)),end:n(e.getLineAndCharacterOfPosition(r,t.end))}:void 0;function n(e){return{line:e.line+1,character:e.character+1}}}t.dumpLegend=function(){!a||n.writeFileSync(a,JSON.stringify(p))}})(t||(t={})),e.startTracing=t.startTracing,e.dumpTracingLegend=t.dumpLegend}(n||(n={})),function(e){var t;(t=e.SyntaxKind||(e.SyntaxKind={}))[t.Unknown=0]="Unknown",t[t.EndOfFileToken=1]="EndOfFileToken",t[t.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",t[t.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",t[t.NewLineTrivia=4]="NewLineTrivia",t[t.WhitespaceTrivia=5]="WhitespaceTrivia",t[t.ShebangTrivia=6]="ShebangTrivia",t[t.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",t[t.NumericLiteral=8]="NumericLiteral",t[t.BigIntLiteral=9]="BigIntLiteral",t[t.StringLiteral=10]="StringLiteral",t[t.JsxText=11]="JsxText",t[t.JsxTextAllWhiteSpaces=12]="JsxTextAllWhiteSpaces",t[t.RegularExpressionLiteral=13]="RegularExpressionLiteral",t[t.NoSubstitutionTemplateLiteral=14]="NoSubstitutionTemplateLiteral",t[t.TemplateHead=15]="TemplateHead",t[t.TemplateMiddle=16]="TemplateMiddle",t[t.TemplateTail=17]="TemplateTail",t[t.OpenBraceToken=18]="OpenBraceToken",t[t.CloseBraceToken=19]="CloseBraceToken",t[t.OpenParenToken=20]="OpenParenToken",t[t.CloseParenToken=21]="CloseParenToken",t[t.OpenBracketToken=22]="OpenBracketToken",t[t.CloseBracketToken=23]="CloseBracketToken",t[t.DotToken=24]="DotToken",t[t.DotDotDotToken=25]="DotDotDotToken",t[t.SemicolonToken=26]="SemicolonToken",t[t.CommaToken=27]="CommaToken",t[t.QuestionDotToken=28]="QuestionDotToken",t[t.LessThanToken=29]="LessThanToken",t[t.LessThanSlashToken=30]="LessThanSlashToken",t[t.GreaterThanToken=31]="GreaterThanToken",t[t.LessThanEqualsToken=32]="LessThanEqualsToken",t[t.GreaterThanEqualsToken=33]="GreaterThanEqualsToken",t[t.EqualsEqualsToken=34]="EqualsEqualsToken",t[t.ExclamationEqualsToken=35]="ExclamationEqualsToken",t[t.EqualsEqualsEqualsToken=36]="EqualsEqualsEqualsToken",t[t.ExclamationEqualsEqualsToken=37]="ExclamationEqualsEqualsToken",t[t.EqualsGreaterThanToken=38]="EqualsGreaterThanToken",t[t.PlusToken=39]="PlusToken",t[t.MinusToken=40]="MinusToken",t[t.AsteriskToken=41]="AsteriskToken",t[t.AsteriskAsteriskToken=42]="AsteriskAsteriskToken",t[t.SlashToken=43]="SlashToken",t[t.PercentToken=44]="PercentToken",t[t.PlusPlusToken=45]="PlusPlusToken",t[t.MinusMinusToken=46]="MinusMinusToken",t[t.LessThanLessThanToken=47]="LessThanLessThanToken",t[t.GreaterThanGreaterThanToken=48]="GreaterThanGreaterThanToken",t[t.GreaterThanGreaterThanGreaterThanToken=49]="GreaterThanGreaterThanGreaterThanToken",t[t.AmpersandToken=50]="AmpersandToken",t[t.BarToken=51]="BarToken",t[t.CaretToken=52]="CaretToken",t[t.ExclamationToken=53]="ExclamationToken",t[t.TildeToken=54]="TildeToken",t[t.AmpersandAmpersandToken=55]="AmpersandAmpersandToken",t[t.BarBarToken=56]="BarBarToken",t[t.QuestionToken=57]="QuestionToken",t[t.ColonToken=58]="ColonToken",t[t.AtToken=59]="AtToken",t[t.QuestionQuestionToken=60]="QuestionQuestionToken",t[t.BacktickToken=61]="BacktickToken",t[t.HashToken=62]="HashToken",t[t.EqualsToken=63]="EqualsToken",t[t.PlusEqualsToken=64]="PlusEqualsToken",t[t.MinusEqualsToken=65]="MinusEqualsToken",t[t.AsteriskEqualsToken=66]="AsteriskEqualsToken",t[t.AsteriskAsteriskEqualsToken=67]="AsteriskAsteriskEqualsToken",t[t.SlashEqualsToken=68]="SlashEqualsToken",t[t.PercentEqualsToken=69]="PercentEqualsToken",t[t.LessThanLessThanEqualsToken=70]="LessThanLessThanEqualsToken",t[t.GreaterThanGreaterThanEqualsToken=71]="GreaterThanGreaterThanEqualsToken",t[t.GreaterThanGreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanGreaterThanEqualsToken",t[t.AmpersandEqualsToken=73]="AmpersandEqualsToken",t[t.BarEqualsToken=74]="BarEqualsToken",t[t.BarBarEqualsToken=75]="BarBarEqualsToken",t[t.AmpersandAmpersandEqualsToken=76]="AmpersandAmpersandEqualsToken",t[t.QuestionQuestionEqualsToken=77]="QuestionQuestionEqualsToken",t[t.CaretEqualsToken=78]="CaretEqualsToken",t[t.Identifier=79]="Identifier",t[t.PrivateIdentifier=80]="PrivateIdentifier",t[t.BreakKeyword=81]="BreakKeyword",t[t.CaseKeyword=82]="CaseKeyword",t[t.CatchKeyword=83]="CatchKeyword",t[t.ClassKeyword=84]="ClassKeyword",t[t.ConstKeyword=85]="ConstKeyword",t[t.ContinueKeyword=86]="ContinueKeyword",t[t.DebuggerKeyword=87]="DebuggerKeyword",t[t.DefaultKeyword=88]="DefaultKeyword",t[t.DeleteKeyword=89]="DeleteKeyword",t[t.DoKeyword=90]="DoKeyword",t[t.ElseKeyword=91]="ElseKeyword",t[t.EnumKeyword=92]="EnumKeyword",t[t.ExportKeyword=93]="ExportKeyword",t[t.ExtendsKeyword=94]="ExtendsKeyword",t[t.FalseKeyword=95]="FalseKeyword",t[t.FinallyKeyword=96]="FinallyKeyword",t[t.ForKeyword=97]="ForKeyword",t[t.FunctionKeyword=98]="FunctionKeyword",t[t.IfKeyword=99]="IfKeyword",t[t.ImportKeyword=100]="ImportKeyword",t[t.InKeyword=101]="InKeyword",t[t.InstanceOfKeyword=102]="InstanceOfKeyword",t[t.NewKeyword=103]="NewKeyword",t[t.NullKeyword=104]="NullKeyword",t[t.ReturnKeyword=105]="ReturnKeyword",t[t.SuperKeyword=106]="SuperKeyword",t[t.SwitchKeyword=107]="SwitchKeyword",t[t.ThisKeyword=108]="ThisKeyword",t[t.ThrowKeyword=109]="ThrowKeyword",t[t.TrueKeyword=110]="TrueKeyword",t[t.TryKeyword=111]="TryKeyword",t[t.TypeOfKeyword=112]="TypeOfKeyword",t[t.VarKeyword=113]="VarKeyword",t[t.VoidKeyword=114]="VoidKeyword",t[t.WhileKeyword=115]="WhileKeyword",t[t.WithKeyword=116]="WithKeyword",t[t.ImplementsKeyword=117]="ImplementsKeyword",t[t.InterfaceKeyword=118]="InterfaceKeyword",t[t.LetKeyword=119]="LetKeyword",t[t.PackageKeyword=120]="PackageKeyword",t[t.PrivateKeyword=121]="PrivateKeyword",t[t.ProtectedKeyword=122]="ProtectedKeyword",t[t.PublicKeyword=123]="PublicKeyword",t[t.StaticKeyword=124]="StaticKeyword",t[t.YieldKeyword=125]="YieldKeyword",t[t.AbstractKeyword=126]="AbstractKeyword",t[t.AsKeyword=127]="AsKeyword",t[t.AssertsKeyword=128]="AssertsKeyword",t[t.AssertKeyword=129]="AssertKeyword",t[t.AnyKeyword=130]="AnyKeyword",t[t.AsyncKeyword=131]="AsyncKeyword",t[t.AwaitKeyword=132]="AwaitKeyword",t[t.BooleanKeyword=133]="BooleanKeyword",t[t.ConstructorKeyword=134]="ConstructorKeyword",t[t.DeclareKeyword=135]="DeclareKeyword",t[t.GetKeyword=136]="GetKeyword",t[t.InferKeyword=137]="InferKeyword",t[t.IntrinsicKeyword=138]="IntrinsicKeyword",t[t.IsKeyword=139]="IsKeyword",t[t.KeyOfKeyword=140]="KeyOfKeyword",t[t.ModuleKeyword=141]="ModuleKeyword",t[t.NamespaceKeyword=142]="NamespaceKeyword",t[t.NeverKeyword=143]="NeverKeyword",t[t.ReadonlyKeyword=144]="ReadonlyKeyword",t[t.RequireKeyword=145]="RequireKeyword",t[t.NumberKeyword=146]="NumberKeyword",t[t.ObjectKeyword=147]="ObjectKeyword",t[t.SetKeyword=148]="SetKeyword",t[t.StringKeyword=149]="StringKeyword",t[t.SymbolKeyword=150]="SymbolKeyword",t[t.TypeKeyword=151]="TypeKeyword",t[t.UndefinedKeyword=152]="UndefinedKeyword",t[t.UniqueKeyword=153]="UniqueKeyword",t[t.UnknownKeyword=154]="UnknownKeyword",t[t.FromKeyword=155]="FromKeyword",t[t.GlobalKeyword=156]="GlobalKeyword",t[t.BigIntKeyword=157]="BigIntKeyword",t[t.OverrideKeyword=158]="OverrideKeyword",t[t.OfKeyword=159]="OfKeyword",t[t.QualifiedName=160]="QualifiedName",t[t.ComputedPropertyName=161]="ComputedPropertyName",t[t.TypeParameter=162]="TypeParameter",t[t.Parameter=163]="Parameter",t[t.Decorator=164]="Decorator",t[t.PropertySignature=165]="PropertySignature",t[t.PropertyDeclaration=166]="PropertyDeclaration",t[t.MethodSignature=167]="MethodSignature",t[t.MethodDeclaration=168]="MethodDeclaration",t[t.ClassStaticBlockDeclaration=169]="ClassStaticBlockDeclaration",t[t.Constructor=170]="Constructor",t[t.GetAccessor=171]="GetAccessor",t[t.SetAccessor=172]="SetAccessor",t[t.CallSignature=173]="CallSignature",t[t.ConstructSignature=174]="ConstructSignature",t[t.IndexSignature=175]="IndexSignature",t[t.TypePredicate=176]="TypePredicate",t[t.TypeReference=177]="TypeReference",t[t.FunctionType=178]="FunctionType",t[t.ConstructorType=179]="ConstructorType",t[t.TypeQuery=180]="TypeQuery",t[t.TypeLiteral=181]="TypeLiteral",t[t.ArrayType=182]="ArrayType",t[t.TupleType=183]="TupleType",t[t.OptionalType=184]="OptionalType",t[t.RestType=185]="RestType",t[t.UnionType=186]="UnionType",t[t.IntersectionType=187]="IntersectionType",t[t.ConditionalType=188]="ConditionalType",t[t.InferType=189]="InferType",t[t.ParenthesizedType=190]="ParenthesizedType",t[t.ThisType=191]="ThisType",t[t.TypeOperator=192]="TypeOperator",t[t.IndexedAccessType=193]="IndexedAccessType",t[t.MappedType=194]="MappedType",t[t.LiteralType=195]="LiteralType",t[t.NamedTupleMember=196]="NamedTupleMember",t[t.TemplateLiteralType=197]="TemplateLiteralType",t[t.TemplateLiteralTypeSpan=198]="TemplateLiteralTypeSpan",t[t.ImportType=199]="ImportType",t[t.ObjectBindingPattern=200]="ObjectBindingPattern",t[t.ArrayBindingPattern=201]="ArrayBindingPattern",t[t.BindingElement=202]="BindingElement",t[t.ArrayLiteralExpression=203]="ArrayLiteralExpression",t[t.ObjectLiteralExpression=204]="ObjectLiteralExpression",t[t.PropertyAccessExpression=205]="PropertyAccessExpression",t[t.ElementAccessExpression=206]="ElementAccessExpression",t[t.CallExpression=207]="CallExpression",t[t.NewExpression=208]="NewExpression",t[t.TaggedTemplateExpression=209]="TaggedTemplateExpression",t[t.TypeAssertionExpression=210]="TypeAssertionExpression",t[t.ParenthesizedExpression=211]="ParenthesizedExpression",t[t.FunctionExpression=212]="FunctionExpression",t[t.ArrowFunction=213]="ArrowFunction",t[t.DeleteExpression=214]="DeleteExpression",t[t.TypeOfExpression=215]="TypeOfExpression",t[t.VoidExpression=216]="VoidExpression",t[t.AwaitExpression=217]="AwaitExpression",t[t.PrefixUnaryExpression=218]="PrefixUnaryExpression",t[t.PostfixUnaryExpression=219]="PostfixUnaryExpression",t[t.BinaryExpression=220]="BinaryExpression",t[t.ConditionalExpression=221]="ConditionalExpression",t[t.TemplateExpression=222]="TemplateExpression",t[t.YieldExpression=223]="YieldExpression",t[t.SpreadElement=224]="SpreadElement",t[t.ClassExpression=225]="ClassExpression",t[t.OmittedExpression=226]="OmittedExpression",t[t.ExpressionWithTypeArguments=227]="ExpressionWithTypeArguments",t[t.AsExpression=228]="AsExpression",t[t.NonNullExpression=229]="NonNullExpression",t[t.MetaProperty=230]="MetaProperty",t[t.SyntheticExpression=231]="SyntheticExpression",t[t.TemplateSpan=232]="TemplateSpan",t[t.SemicolonClassElement=233]="SemicolonClassElement",t[t.Block=234]="Block",t[t.EmptyStatement=235]="EmptyStatement",t[t.VariableStatement=236]="VariableStatement",t[t.ExpressionStatement=237]="ExpressionStatement",t[t.IfStatement=238]="IfStatement",t[t.DoStatement=239]="DoStatement",t[t.WhileStatement=240]="WhileStatement",t[t.ForStatement=241]="ForStatement",t[t.ForInStatement=242]="ForInStatement",t[t.ForOfStatement=243]="ForOfStatement",t[t.ContinueStatement=244]="ContinueStatement",t[t.BreakStatement=245]="BreakStatement",t[t.ReturnStatement=246]="ReturnStatement",t[t.WithStatement=247]="WithStatement",t[t.SwitchStatement=248]="SwitchStatement",t[t.LabeledStatement=249]="LabeledStatement",t[t.ThrowStatement=250]="ThrowStatement",t[t.TryStatement=251]="TryStatement",t[t.DebuggerStatement=252]="DebuggerStatement",t[t.VariableDeclaration=253]="VariableDeclaration",t[t.VariableDeclarationList=254]="VariableDeclarationList",t[t.FunctionDeclaration=255]="FunctionDeclaration",t[t.ClassDeclaration=256]="ClassDeclaration",t[t.InterfaceDeclaration=257]="InterfaceDeclaration",t[t.TypeAliasDeclaration=258]="TypeAliasDeclaration",t[t.EnumDeclaration=259]="EnumDeclaration",t[t.ModuleDeclaration=260]="ModuleDeclaration",t[t.ModuleBlock=261]="ModuleBlock",t[t.CaseBlock=262]="CaseBlock",t[t.NamespaceExportDeclaration=263]="NamespaceExportDeclaration",t[t.ImportEqualsDeclaration=264]="ImportEqualsDeclaration",t[t.ImportDeclaration=265]="ImportDeclaration",t[t.ImportClause=266]="ImportClause",t[t.NamespaceImport=267]="NamespaceImport",t[t.NamedImports=268]="NamedImports",t[t.ImportSpecifier=269]="ImportSpecifier",t[t.ExportAssignment=270]="ExportAssignment",t[t.ExportDeclaration=271]="ExportDeclaration",t[t.NamedExports=272]="NamedExports",t[t.NamespaceExport=273]="NamespaceExport",t[t.ExportSpecifier=274]="ExportSpecifier",t[t.MissingDeclaration=275]="MissingDeclaration",t[t.ExternalModuleReference=276]="ExternalModuleReference",t[t.JsxElement=277]="JsxElement",t[t.JsxSelfClosingElement=278]="JsxSelfClosingElement",t[t.JsxOpeningElement=279]="JsxOpeningElement",t[t.JsxClosingElement=280]="JsxClosingElement",t[t.JsxFragment=281]="JsxFragment",t[t.JsxOpeningFragment=282]="JsxOpeningFragment",t[t.JsxClosingFragment=283]="JsxClosingFragment",t[t.JsxAttribute=284]="JsxAttribute",t[t.JsxAttributes=285]="JsxAttributes",t[t.JsxSpreadAttribute=286]="JsxSpreadAttribute",t[t.JsxExpression=287]="JsxExpression",t[t.CaseClause=288]="CaseClause",t[t.DefaultClause=289]="DefaultClause",t[t.HeritageClause=290]="HeritageClause",t[t.CatchClause=291]="CatchClause",t[t.AssertClause=292]="AssertClause",t[t.AssertEntry=293]="AssertEntry",t[t.PropertyAssignment=294]="PropertyAssignment",t[t.ShorthandPropertyAssignment=295]="ShorthandPropertyAssignment",t[t.SpreadAssignment=296]="SpreadAssignment",t[t.EnumMember=297]="EnumMember",t[t.UnparsedPrologue=298]="UnparsedPrologue",t[t.UnparsedPrepend=299]="UnparsedPrepend",t[t.UnparsedText=300]="UnparsedText",t[t.UnparsedInternalText=301]="UnparsedInternalText",t[t.UnparsedSyntheticReference=302]="UnparsedSyntheticReference",t[t.SourceFile=303]="SourceFile",t[t.Bundle=304]="Bundle",t[t.UnparsedSource=305]="UnparsedSource",t[t.InputFiles=306]="InputFiles",t[t.JSDocTypeExpression=307]="JSDocTypeExpression",t[t.JSDocNameReference=308]="JSDocNameReference",t[t.JSDocMemberName=309]="JSDocMemberName",t[t.JSDocAllType=310]="JSDocAllType",t[t.JSDocUnknownType=311]="JSDocUnknownType",t[t.JSDocNullableType=312]="JSDocNullableType",t[t.JSDocNonNullableType=313]="JSDocNonNullableType",t[t.JSDocOptionalType=314]="JSDocOptionalType",t[t.JSDocFunctionType=315]="JSDocFunctionType",t[t.JSDocVariadicType=316]="JSDocVariadicType",t[t.JSDocNamepathType=317]="JSDocNamepathType",t[t.JSDocComment=318]="JSDocComment",t[t.JSDocText=319]="JSDocText",t[t.JSDocTypeLiteral=320]="JSDocTypeLiteral",t[t.JSDocSignature=321]="JSDocSignature",t[t.JSDocLink=322]="JSDocLink",t[t.JSDocLinkCode=323]="JSDocLinkCode",t[t.JSDocLinkPlain=324]="JSDocLinkPlain",t[t.JSDocTag=325]="JSDocTag",t[t.JSDocAugmentsTag=326]="JSDocAugmentsTag",t[t.JSDocImplementsTag=327]="JSDocImplementsTag",t[t.JSDocAuthorTag=328]="JSDocAuthorTag",t[t.JSDocDeprecatedTag=329]="JSDocDeprecatedTag",t[t.JSDocClassTag=330]="JSDocClassTag",t[t.JSDocPublicTag=331]="JSDocPublicTag",t[t.JSDocPrivateTag=332]="JSDocPrivateTag",t[t.JSDocProtectedTag=333]="JSDocProtectedTag",t[t.JSDocReadonlyTag=334]="JSDocReadonlyTag",t[t.JSDocOverrideTag=335]="JSDocOverrideTag",t[t.JSDocCallbackTag=336]="JSDocCallbackTag",t[t.JSDocEnumTag=337]="JSDocEnumTag",t[t.JSDocParameterTag=338]="JSDocParameterTag",t[t.JSDocReturnTag=339]="JSDocReturnTag",t[t.JSDocThisTag=340]="JSDocThisTag",t[t.JSDocTypeTag=341]="JSDocTypeTag",t[t.JSDocTemplateTag=342]="JSDocTemplateTag",t[t.JSDocTypedefTag=343]="JSDocTypedefTag",t[t.JSDocSeeTag=344]="JSDocSeeTag",t[t.JSDocPropertyTag=345]="JSDocPropertyTag",t[t.SyntaxList=346]="SyntaxList",t[t.NotEmittedStatement=347]="NotEmittedStatement",t[t.PartiallyEmittedExpression=348]="PartiallyEmittedExpression",t[t.CommaListExpression=349]="CommaListExpression",t[t.MergeDeclarationMarker=350]="MergeDeclarationMarker",t[t.EndOfDeclarationMarker=351]="EndOfDeclarationMarker",t[t.SyntheticReferenceExpression=352]="SyntheticReferenceExpression",t[t.Count=353]="Count",t[t.FirstAssignment=63]="FirstAssignment",t[t.LastAssignment=78]="LastAssignment",t[t.FirstCompoundAssignment=64]="FirstCompoundAssignment",t[t.LastCompoundAssignment=78]="LastCompoundAssignment",t[t.FirstReservedWord=81]="FirstReservedWord",t[t.LastReservedWord=116]="LastReservedWord",t[t.FirstKeyword=81]="FirstKeyword",t[t.LastKeyword=159]="LastKeyword",t[t.FirstFutureReservedWord=117]="FirstFutureReservedWord",t[t.LastFutureReservedWord=125]="LastFutureReservedWord",t[t.FirstTypeNode=176]="FirstTypeNode",t[t.LastTypeNode=199]="LastTypeNode",t[t.FirstPunctuation=18]="FirstPunctuation",t[t.LastPunctuation=78]="LastPunctuation",t[t.FirstToken=0]="FirstToken",t[t.LastToken=159]="LastToken",t[t.FirstTriviaToken=2]="FirstTriviaToken",t[t.LastTriviaToken=7]="LastTriviaToken",t[t.FirstLiteralToken=8]="FirstLiteralToken",t[t.LastLiteralToken=14]="LastLiteralToken",t[t.FirstTemplateToken=14]="FirstTemplateToken",t[t.LastTemplateToken=17]="LastTemplateToken",t[t.FirstBinaryOperator=29]="FirstBinaryOperator",t[t.LastBinaryOperator=78]="LastBinaryOperator",t[t.FirstStatement=236]="FirstStatement",t[t.LastStatement=252]="LastStatement",t[t.FirstNode=160]="FirstNode",t[t.FirstJSDocNode=307]="FirstJSDocNode",t[t.LastJSDocNode=345]="LastJSDocNode",t[t.FirstJSDocTagNode=325]="FirstJSDocTagNode",t[t.LastJSDocTagNode=345]="LastJSDocTagNode",t[t.FirstContextualKeyword=126]="FirstContextualKeyword",t[t.LastContextualKeyword=159]="LastContextualKeyword",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.TypeCached=67108864]="TypeCached",e[e.Deprecated=134217728]="Deprecated",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.HasComputedJSDocModifiers=4096]="HasComputedJSDocModifiers",e[e.Deprecated=8192]="Deprecated",e[e.Override=16384]="Override",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=16476]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=18654]="TypeScriptModifier",e[e.ExportDefault=513]="ExportDefault",e[e.All=27647]="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[e.AllowNameSubstitution=64]="AllowNameSubstitution"}(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.ContainsInvalidEscape=2048]="ContainsInvalidEscape",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.NumericLiteralFlags=1008]="NumericLiteralFlags",e[e.TemplateLiteralLikeFlags=2048]="TemplateLiteralLikeFlags"}(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.ReduceLabel=1024]="ReduceLabel",e[e.Referenced=2048]="Referenced",e[e.Shared=4096]="Shared",e[e.Label=12]="Label",e[e.Condition=96]="Condition"}(e.FlowFlags||(e.FlowFlags={})),function(e){e[e.ExpectError=0]="ExpectError",e[e.Ignore=1]="Ignore"}(e.CommentDirectiveType||(e.CommentDirectiveType={}));var r,n=function(){};e.OperationCanceledException=n,function(e){e[e.RootFile=0]="RootFile",e[e.SourceFromProjectReference=1]="SourceFromProjectReference",e[e.OutputFromProjectReference=2]="OutputFromProjectReference",e[e.Import=3]="Import",e[e.ReferenceFile=4]="ReferenceFile",e[e.TypeReferenceDirective=5]="TypeReferenceDirective",e[e.LibFile=6]="LibFile",e[e.LibReferenceDirective=7]="LibReferenceDirective",e[e.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile"}(e.FileIncludeKind||(e.FileIncludeKind={})),function(e){e[e.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",e[e.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic"}(e.FilePreprocessingDiagnosticsKind||(e.FilePreprocessingDiagnosticsKind={})),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.Ok=0]="Ok",e[e.NeedsOverride=1]="NeedsOverride",e[e.HasInvalidOverride=2]="HasInvalidOverride"}(e.MemberOverrideStatus||(e.MemberOverrideStatus={})),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.Completions=4]="Completions",e[e.SkipBindingPatterns=8]="SkipBindingPatterns"}(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.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.NoUndefinedOptionalParameterType=1073741824]="NoUndefinedOptionalParameterType",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",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.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.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",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=814775659]="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.HasNeverType=131072]="HasNeverType",e[e.Mapped=262144]="Mapped",e[e.StripOptional=524288]="StripOptional",e[e.Unresolved=1048576]="Unresolved",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[e.ContainsClassWithPrivateIdentifiers=67108864]="ContainsClassWithPrivateIdentifiers",e[e.ContainsSuperPropertyInStaticInitializer=134217728]="ContainsSuperPropertyInStaticInitializer",e[e.InCheckIdentifier=268435456]="InCheckIdentifier"}(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.TemplateLiteral=134217728]="TemplateLiteral",e[e.StringMapping=268435456]="StringMapping",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=402653316]="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.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",e[e.DisjointDomains=469892092]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=406847488]="InstantiablePrimitive",e[e.Instantiable=465829888]="Instantiable",e[e.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",e[e.ObjectFlagsType=3899393]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Singleton=67358815]="Singleton",e[e.Narrowable=536624127]="Narrowable",e[e.IncludesMask=205258751]="IncludesMask",e[e.IncludesMissingType=262144]="IncludesMissingType",e[e.IncludesNonWideningType=4194304]="IncludesNonWideningType",e[e.IncludesWildcard=8388608]="IncludesWildcard",e[e.IncludesEmptyObject=16777216]="IncludesEmptyObject",e[e.IncludesInstantiable=33554432]="IncludesInstantiable",e[e.NotPrimitiveUnion=36323363]="NotPrimitiveUnion"}(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.ReverseMapped=1024]="ReverseMapped",e[e.JsxAttributes=2048]="JsxAttributes",e[e.MarkerType=4096]="MarkerType",e[e.JSLiteral=8192]="JSLiteral",e[e.FreshLiteral=16384]="FreshLiteral",e[e.ArrayLiteral=32768]="ArrayLiteral",e[e.PrimitiveUnion=65536]="PrimitiveUnion",e[e.ContainsWideningType=131072]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=262144]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=524288]="NonInferrableType",e[e.CouldContainTypeVariablesComputed=1048576]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=2097152]="CouldContainTypeVariables",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=393216]="RequiresWidening",e[e.PropagatingFlags=917504]="PropagatingFlags",e[e.ObjectTypeKindMask=1343]="ObjectTypeKindMask",e[e.ContainsSpread=4194304]="ContainsSpread",e[e.ObjectRestType=8388608]="ObjectRestType",e[e.IsClassInstanceClone=16777216]="IsClassInstanceClone",e[e.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",e[e.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",e[e.IsGenericTypeComputed=4194304]="IsGenericTypeComputed",e[e.IsGenericObjectType=8388608]="IsGenericObjectType",e[e.IsGenericIndexType=16777216]="IsGenericIndexType",e[e.IsGenericType=25165824]="IsGenericType",e[e.ContainsIntersections=33554432]="ContainsIntersections",e[e.IsNeverIntersectionComputed=33554432]="IsNeverIntersectionComputed",e[e.IsNeverIntersection=67108864]="IsNeverIntersection"}(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.Required=1]="Required",e[e.Optional=2]="Optional",e[e.Rest=4]="Rest",e[e.Variadic=8]="Variadic",e[e.Fixed=3]="Fixed",e[e.Variable=12]="Variable",e[e.NonRequired=14]="NonRequired",e[e.NonRest=11]="NonRest"}(e.ElementFlags||(e.ElementFlags={})),function(e){e[e.None=0]="None",e[e.IncludeUndefined=1]="IncludeUndefined",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.Writing=4]="Writing",e[e.CacheSymbol=8]="CacheSymbol",e[e.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",e[e.ExpressionPosition=32]="ExpressionPosition",e[e.ReportDeprecated=64]="ReportDeprecated",e[e.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",e[e.Contextual=256]="Contextual",e[e.Persistent=1]="Persistent"}(e.AccessFlags||(e.AccessFlags={})),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.Abstract=4]="Abstract",e[e.IsInnerCallChain=8]="IsInnerCallChain",e[e.IsOuterCallChain=16]="IsOuterCallChain",e[e.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",e[e.PropagatingFlags=39]="PropagatingFlags",e[e.CallChainFlags=24]="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.Simple=0]="Simple",e[e.Array=1]="Array",e[e.Function=2]="Function",e[e.Composite=3]="Composite",e[e.Merged=4]="Merged"}(e.TypeMapKind||(e.TypeMapKind={})),function(e){e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.SpeculativeTuple=2]="SpeculativeTuple",e[e.SubstituteSource=4]="SubstituteSource",e[e.HomomorphicMappedType=8]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=32]="MappedTypeConstraint",e[e.ContravariantConditional=64]="ContravariantConditional",e[e.ReturnType=128]="ReturnType",e[e.LiteralKeyof=256]="LiteralKeyof",e[e.NoConstraints=512]="NoConstraints",e[e.AlwaysStrict=1024]="AlwaysStrict",e[e.MaxValue=2048]="MaxValue",e[e.PriorityImpliesCombination=416]="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.Unknown=1]="Unknown",e[e.Maybe=3]="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"}(r=e.DiagnosticCategory||(e.DiagnosticCategory={})),e.diagnosticCategoryName=function(e,t){void 0===t&&(t=!0);var n=r[e.category];return t?n.toLowerCase():n},function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs",e[e.Node12=3]="Node12",e[e.NodeNext=99]="NodeNext"}(e.ModuleResolutionKind||(e.ModuleResolutionKind={})),function(e){e[e.FixedPollingInterval=0]="FixedPollingInterval",e[e.PriorityPollingInterval=1]="PriorityPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e[e.UseFsEvents=4]="UseFsEvents",e[e.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory"}(e.WatchFileKind||(e.WatchFileKind={})),function(e){e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling"}(e.WatchDirectoryKind||(e.WatchDirectoryKind={})),function(e){e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority",e[e.FixedChunkSize=3]="FixedChunkSize"}(e.PollingWatchKind||(e.PollingWatchKind={})),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.ES2020=6]="ES2020",e[e.ES2022=7]="ES2022",e[e.ESNext=99]="ESNext",e[e.Node12=100]="Node12",e[e.NodeNext=199]="NodeNext"}(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[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev"}(e.JsxEmit||(e.JsxEmit={})),function(e){e[e.Remove=0]="Remove",e[e.Preserve=1]="Preserve",e[e.Error=2]="Error"}(e.ImportsNotUsedAsValues||(e.ImportsNotUsedAsValues={})),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.ES2021=8]="ES2021",e[e.ES2022=9]="ES2022",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.Mjs=".mjs",e.Mts=".mts",e.Dmts=".d.mts",e.Cjs=".cjs",e.Cts=".cts",e.Dcts=".d.cts"}(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.ContainsES2022=8]="ContainsES2022",e[e.ContainsES2021=16]="ContainsES2021",e[e.ContainsES2020=32]="ContainsES2020",e[e.ContainsES2019=64]="ContainsES2019",e[e.ContainsES2018=128]="ContainsES2018",e[e.ContainsES2017=256]="ContainsES2017",e[e.ContainsES2016=512]="ContainsES2016",e[e.ContainsES2015=1024]="ContainsES2015",e[e.ContainsGenerator=2048]="ContainsGenerator",e[e.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=4096]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=8192]="ContainsLexicalThis",e[e.ContainsRestOrSpread=16384]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=32768]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=65536]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=131072]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=262144]="ContainsBindingPattern",e[e.ContainsYield=524288]="ContainsYield",e[e.ContainsAwait=1048576]="ContainsAwait",e[e.ContainsHoistedDeclarationOrCompletion=2097152]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=4194304]="ContainsDynamicImport",e[e.ContainsClassFields=8388608]="ContainsClassFields",e[e.ContainsPossibleTopLevelAwait=16777216]="ContainsPossibleTopLevelAwait",e[e.ContainsLexicalSuper=33554432]="ContainsLexicalSuper",e[e.ContainsUpdateExpressionForIdentifier=67108864]="ContainsUpdateExpressionForIdentifier",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2022=8]="AssertES2022",e[e.AssertES2021=16]="AssertES2021",e[e.AssertES2020=32]="AssertES2020",e[e.AssertES2019=64]="AssertES2019",e[e.AssertES2018=128]="AssertES2018",e[e.AssertES2017=256]="AssertES2017",e[e.AssertES2016=512]="AssertES2016",e[e.AssertES2015=1024]="AssertES2015",e[e.AssertGenerator=2048]="AssertGenerator",e[e.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=536870912]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=536870912]="PropertyAccessExcludes",e[e.NodeExcludes=536870912]="NodeExcludes",e[e.ArrowFunctionExcludes=557748224]="ArrowFunctionExcludes",e[e.FunctionExcludes=591310848]="FunctionExcludes",e[e.ConstructorExcludes=591306752]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=574529536]="MethodOrAccessorExcludes",e[e.PropertyExcludes=570433536]="PropertyExcludes",e[e.ClassExcludes=536940544]="ClassExcludes",e[e.ModuleExcludes=589443072]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=536973312]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=536887296]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=537165824]="VariableDeclarationListExcludes",e[e.ParameterExcludes=536870912]="ParameterExcludes",e[e.CatchClauseExcludes=536903680]="CatchClauseExcludes",e[e.BindingPatternExcludes=536887296]="BindingPatternExcludes",e[e.ContainsLexicalThisOrSuper=33562624]="ContainsLexicalThisOrSuper",e[e.PropertyNamePropagatingFlags=33562624]="PropertyNamePropagatingFlags"}(e.TransformFlags||(e.TransformFlags={})),function(e){e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable"}(e.SnippetKind||(e.SnippetKind={})),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[e.IgnoreSourceNewlines=134217728]="IgnoreSourceNewlines",e[e.Immutable=268435456]="Immutable",e[e.IndirectCall=536870912]="IndirectCall"}(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.SpreadArray=1024]="SpreadArray",e[e.Await=2048]="Await",e[e.AsyncGenerator=4096]="AsyncGenerator",e[e.AsyncDelegator=8192]="AsyncDelegator",e[e.AsyncValues=16384]="AsyncValues",e[e.ExportStar=32768]="ExportStar",e[e.ImportStar=65536]="ImportStar",e[e.ImportDefault=131072]="ImportDefault",e[e.MakeTemplateObject=262144]="MakeTemplateObject",e[e.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",e[e.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",e[e.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",e[e.CreateBinding=4194304]="CreateBinding",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=4194304]="LastEmitHelper",e[e.ForOfIncludes=256]="ForOfIncludes",e[e.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",e[e.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",e[e.AsyncDelegatorIncludes=26624]="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[e.JsxAttributeValue=6]="JsxAttributeValue"}(e.EmitHint||(e.EmitHint={})),function(e){e[e.Parentheses=1]="Parentheses",e[e.TypeAssertions=2]="TypeAssertions",e[e.NonNullAssertions=4]="NonNullAssertions",e[e.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",e[e.Assertions=6]="Assertions",e[e.All=15]="All",e[e.ExcludeJSDocTypeAssertion=16]="ExcludeJSDocTypeAssertion"}(e.OuterExpressionKinds||(e.OuterExpressionKinds={})),function(e){e[e.None=0]="None",e[e.InParameters=1]="InParameters",e[e.VariablesHoistedInParameters=2]="VariablesHoistedInParameters"}(e.LexicalEnvironmentFlags||(e.LexicalEnvironmentFlags={})),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.SpaceAfterList=2097152]="SpaceAfterList",e[e.Modifiers=262656]="Modifiers",e[e.HeritageClauses=512]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",e[e.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",e[e.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",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.ImportClauseEntries=526226]="ImportClauseEntries",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=2146305]="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},jsxfrag:{args:[{name:"factory"}],kind:4},jsximportsource:{args:[{name:"factory"}],kind:4},jsxruntime:{args:[{name:"factory"}],kind:4}}}(n||(n={})),function(e){var t,n,i;function a(t,r){return t.getModifiedTime(r)||e.missingFileModifiedTime}function s(e){var t;return(t={})[i.Low]=e.Low,t[i.Medium]=e.Medium,t[i.High]=e.High,t}e.generateDjb2Hash=function(e){for(var t=5381,r=0;r<e.length;r++)t=(t<<5)+t+e.charCodeAt(r);return t.toString()},e.setStackTraceLimit=function(){Error.stackTraceLimit<100&&(Error.stackTraceLimit=100)},(n=t=e.FileWatcherEventKind||(e.FileWatcherEventKind={}))[n.Created=0]="Created",n[n.Changed=1]="Changed",n[n.Deleted=2]="Deleted",function(e){e[e.High=2e3]="High",e[e.Medium=500]="Medium",e[e.Low=250]="Low"}(i=e.PollingInterval||(e.PollingInterval={})),e.missingFileModifiedTime=new Date(0),e.getModifiedTime=a;var c={Low:32,Medium:64,High:256},u=s(c);function l(t){if(t.getEnvironmentVariable){var r=function(e,t){var r=n(e);return!!r&&(i("Low"),i("Medium"),i("High"),!0);function i(e){t[e]=r[e]||t[e]}}("TSC_WATCH_POLLINGINTERVAL",i);u=a("TSC_WATCH_POLLINGCHUNKSIZE",c)||u,e.unchangedPollThresholds=a("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",c)||e.unchangedPollThresholds}function n(e){var r;return n("Low"),n("Medium"),n("High"),r;function n(n){var i=function(e,r){return t.getEnvironmentVariable("".concat(e,"_").concat(r.toUpperCase()))}(e,n);i&&((r||(r={}))[n]=Number(i))}}function a(e,t){var i=n(e);return(r||i)&&s(i?o(o({},t),i):t)}}function p(e,t,r,n,i){for(var o=r,s=t.length;n&&s;++r===t.length&&(o<r&&(t.length=o),r=0,o=0),s--){var c=t[r];if(c)if(c.isClosed)t[r]=void 0;else{n--;var u=_(c,a(e,c.fileName));c.isClosed?t[r]=void 0:(null==i||i(c,r,u),t[r]&&(o<r&&(t[o]=c,t[r]=void 0),o++))}}return r}function d(t){var r=[],n=[],o=l(i.Low),s=l(i.Medium),c=l(i.High);return function(n,i,o){var s={fileName:n,callback:i,unchangedPolls:0,mtime:a(t,n)};return r.push(s),g(s,o),{close:function(){s.isClosed=!0,e.unorderedRemoveItem(r,s)}}};function l(e){var t=[];return t.pollingInterval=e,t.pollIndex=0,t.pollScheduled=!1,t}function d(t){t.pollIndex=_(t,t.pollingInterval,t.pollIndex,u[t.pollingInterval]),t.length?y(t.pollingInterval):(e.Debug.assert(0===t.pollIndex),t.pollScheduled=!1)}function f(e){_(n,i.Low,0,n.length),d(e),!e.pollScheduled&&n.length&&y(i.Low)}function _(r,a,o,s){return p(t,r,o,s,(function(t,o,s){s?(t.unchangedPolls=0,r!==n&&(r[o]=void 0,function(e){n.push(e),h(i.Low)}(t))):t.unchangedPolls!==e.unchangedPollThresholds[a]?t.unchangedPolls++:r===n?(t.unchangedPolls=1,r[o]=void 0,g(t,i.Low)):a!==i.High&&(t.unchangedPolls++,r[o]=void 0,g(t,a===i.Low?i.Medium:i.High))}))}function m(e){switch(e){case i.Low:return o;case i.Medium:return s;case i.High:return c}}function g(e,t){m(t).push(e),h(t)}function h(e){m(e).pollScheduled||y(e)}function y(e){m(e).pollScheduled=t.setTimeout(e===i.Low?f:d,e,m(e))}}function f(r,n){var a=e.createMultiMap(),o=new e.Map,s=e.createGetCanonicalFileName(n);return function(n,c,u,l){var p=s(n);a.add(p,c);var d=e.getDirectoryPath(p)||".",f=o.get(d)||function(n,c,u){var l=r(n,1,(function(r,i){if(e.isString(i)){var o=e.getNormalizedAbsolutePath(i,n),c=o&&a.get(s(o));if(c)for(var u=0,l=c;u<l.length;u++)(0,l[u])(o,t.Changed)}}),!1,i.Medium,u);return l.referenceCount=0,o.set(c,l),l}(e.getDirectoryPath(n)||".",d,l);return f.referenceCount++,{close:function(){1===f.referenceCount?(f.close(),o.delete(d)):f.referenceCount--,a.remove(p,c)}}}}function _(e,t){var r=e.mtime.getTime(),n=t.getTime();return r!==n&&(e.mtime=t,e.callback(e.fileName,m(r,n)),!0)}function m(e,r){return 0===e?t.Created:0===r?t.Deleted:t.Changed}e.unchangedPollThresholds=s(c),e.setCustomPollingValues=l,e.createDynamicPriorityPollingWatchFile=d,e.createSingleFileWatcherPerName=function(t,r){var n=new e.Map,i=e.createMultiMap(),a=e.createGetCanonicalFileName(r);return function(r,o,s,c){var u=a(r),l=n.get(u);return l?l.refCount++:n.set(u,{watcher:t(r,(function(t,r){return e.forEach(i.get(u),(function(e){return e(t,r)}))}),s,c),refCount:1}),i.add(u,o),{close:function(){var t=e.Debug.checkDefined(n.get(u));i.remove(u,o),t.refCount--,!t.refCount&&(n.delete(u),e.closeFileWatcherOf(t))}}}},e.onWatchedFileStat=_,e.getFileWatcherEventKind=m,e.ignoredPaths=["/node_modules/.","/.git","/.#"];var g=e.noop;function h(e){return g(e)}function y(t){var r,n=t.watchDirectory,i=t.useCaseSensitiveFileNames,a=t.getCurrentDirectory,o=t.getAccessibleSortedChildDirectories,s=t.directoryExists,c=t.realpath,u=t.setTimeout,l=t.clearTimeout,p=new e.Map,d=e.createMultiMap(),f=new e.Map,_=e.getStringComparer(!i),m=e.createGetCanonicalFileName(i);return function(e,t,r,i){return r?g(e,i,t):n(e,t,r,i)};function g(t,i,a){var o=m(t),c=p.get(o);c?c.refCount++:(c={watcher:n(t,(function(e){E(e,i)||(null!=i&&i.synchronousWatchDirectory?(y(o,e),x(t,o,i)):function(e,t,n,i){var a=p.get(t);a&&s(e)?function(e,t,n,i){var a=f.get(t);a?a.fileNames.push(n):f.set(t,{dirName:e,options:i,fileNames:[n]}),r&&(l(r),r=void 0),r=u(D,1e3)}(e,t,n,i):(y(t,n),b(a))}(t,o,e,i))}),!1,i),refCount:1,childWatches:e.emptyArray},p.set(o,c),x(t,o,i));var _=a&&{dirName:t,callback:a};return _&&d.add(o,_),{dirName:t,close:function(){var t=e.Debug.checkDefined(p.get(o));_&&d.remove(o,_),t.refCount--,!t.refCount&&(p.delete(o),e.closeFileWatcherOf(t),t.childWatches.forEach(e.closeFileWatcher))}}}function y(t,r,n){var i,a;e.isString(r)?i=r:a=r,d.forEach((function(r,o){var s;if((!a||!0!==a.get(o))&&(o===t||e.startsWith(t,o)&&t[o.length]===e.directorySeparator))if(a)if(n){var c=a.get(o);c?(s=c).push.apply(s,n):a.set(o,n.slice())}else a.set(o,!0);else r.forEach((function(e){return(0,e.callback)(i)}))}))}function D(){r=void 0,h("sysLog:: onTimerToUpdateChildWatches:: ".concat(f.size));for(var t=e.timestamp(),n=new e.Map;!r&&f.size;){var i=f.entries().next();e.Debug.assert(!i.done);var a=i.value,o=a[0],s=a[1],c=s.dirName,u=s.options,l=s.fileNames;f.delete(o);var p=x(c,o,u);y(o,n,p?void 0:l)}h("sysLog:: invokingWatchers:: Elapsed:: ".concat(e.timestamp()-t,"ms:: ").concat(f.size)),d.forEach((function(t,r){var i=n.get(r);i&&t.forEach((function(t){var r=t.callback,n=t.dirName;e.isArray(i)?i.forEach(r):r(n)}))}));var _=e.timestamp()-t;h("sysLog:: Elapsed:: ".concat(_,"ms:: onTimerToUpdateChildWatches:: ").concat(f.size," ").concat(r))}function b(t){if(t){var r=t.childWatches;t.childWatches=e.emptyArray;for(var n=0,i=r;n<i.length;n++){var a=i[n];a.close(),b(p.get(m(a.dirName)))}}}function x(t,r,n){var i=p.get(r);if(!i)return!1;var a,u=e.enumerateInsertsAndDeletes(s(t)?e.mapDefined(o(t),(function(r){var i=e.getNormalizedAbsolutePath(r,t);return E(i,n)||0!==_(i,e.normalizePath(c(i)))?void 0:i})):e.emptyArray,i.childWatches,(function(e,t){return _(e,t.dirName)}),(function(e){l(g(e,n))}),e.closeFileWatcher,l);return i.childWatches=a||e.emptyArray,u;function l(e){(a||(a=[])).push(e)}}function E(t,r){return e.some(e.ignoredPaths,(function(r){return function(t,r){return!!e.stringContains(t,r)||!i&&e.stringContains(m(t),r)}(t,r)}))||v(t,r,i,a)}}function v(t,r,n,i){return((null==r?void 0:r.excludeDirectories)||(null==r?void 0:r.excludeFiles))&&(e.matchesExclude(t,null==r?void 0:r.excludeFiles,n,i())||e.matchesExclude(t,null==r?void 0:r.excludeDirectories,n,i()))}function D(t,r,n,i,a){return function(o,s){if("rename"===o){var c=s?e.normalizePath(e.combinePaths(t,s)):t;(!s||!v(c,n,i,a))&&r(c)}}}e.sysLog=h,e.setSysLog=function(e){g=e},e.createDirectoryWatcherSupportingRecursive=y,function(e){e[e.File=0]="File",e[e.Directory=1]="Directory"}(e.FileSystemEntryKind||(e.FileSystemEntryKind={})),e.createFileWatcherCallback=function(e){return function(r,n){return e(n===t.Changed?"change":"rename","")}},e.createSystemWatchFunctions=function(r){var n,o,s,c,l=r.pollingWatchFile,_=r.getModifiedTime,m=r.setTimeout,g=r.clearTimeout,h=r.fsWatch,v=r.fileExists,b=r.useCaseSensitiveFileNames,x=r.getCurrentDirectory,E=r.fsSupportsRecursiveFsWatch,S=r.directoryExists,C=r.getAccessibleSortedChildDirectories,T=r.realpath,k=r.tscWatchFile,A=r.useNonPollingWatchers,N=r.tscWatchDirectory,P=r.defaultWatchFileKind;return{watchFile:function(r,n,a,o){o=function(t,r){if(t&&void 0!==t.watchFile)return t;switch(k){case"PriorityPollingInterval":return{watchFile:e.WatchFileKind.PriorityPollingInterval};case"DynamicPriorityPolling":return{watchFile:e.WatchFileKind.DynamicPriorityPolling};case"UseFsEvents":return I(e.WatchFileKind.UseFsEvents,e.PollingWatchKind.PriorityInterval,t);case"UseFsEventsWithFallbackDynamicPolling":return I(e.WatchFileKind.UseFsEvents,e.PollingWatchKind.DynamicPriority,t);case"UseFsEventsOnParentDirectory":r=!0;default:return r?I(e.WatchFileKind.UseFsEventsOnParentDirectory,e.PollingWatchKind.PriorityInterval,t):{watchFile:(null==P?void 0:P())||e.WatchFileKind.FixedPollingInterval}}}(o,A);var c=e.Debug.checkDefined(o.watchFile);switch(c){case e.WatchFileKind.FixedPollingInterval:return l(r,n,i.Low,void 0);case e.WatchFileKind.PriorityPollingInterval:return l(r,n,a,void 0);case e.WatchFileKind.DynamicPriorityPolling:return F()(r,n,a,void 0);case e.WatchFileKind.FixedChunkSizePolling:return w()(r,n,void 0,void 0);case e.WatchFileKind.UseFsEvents:return h(r,0,function(e,r,n){return function(i){r(e,"rename"===i?n(e)?t.Created:t.Deleted:t.Changed)}}(r,n,v),!1,a,e.getFallbackOptions(o));case e.WatchFileKind.UseFsEventsOnParentDirectory:return s||(s=f(h,b)),s(r,n,a,e.getFallbackOptions(o));default:e.Debug.assertNever(c)}},watchDirectory:function(t,r,n,a){return E?h(t,1,D(t,r,a,b,x),n,i.Medium,e.getFallbackOptions(a)):(c||(c=y({useCaseSensitiveFileNames:b,getCurrentDirectory:x,directoryExists:S,getAccessibleSortedChildDirectories:C,watchDirectory:O,realpath:T,setTimeout:m,clearTimeout:g})),c(t,r,n,a))}};function F(){return n||(n=d({getModifiedTime:_,setTimeout:m}))}function w(){return o||(o=function(t){var r,n=[],o=0;return function(r,i){var o={fileName:r,callback:i,mtime:a(t,r)};return n.push(o),c(),{close:function(){o.isClosed=!0,e.unorderedRemoveItem(n,o)}}};function s(){r=void 0,o=p(t,n,o,u[i.Low]),c()}function c(){!n.length||r||(r=t.setTimeout(s,i.High))}}({getModifiedTime:_,setTimeout:m}))}function I(e,t,r){var n=null==r?void 0:r.fallbackPolling;return{watchFile:e,fallbackPolling:void 0===n?t:n}}function O(t,r,n,a){e.Debug.assert(!n);var o=function(t){if(t&&void 0!==t.watchDirectory)return t;switch(N){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:e.WatchDirectoryKind.FixedPollingInterval};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:e.WatchDirectoryKind.DynamicPriorityPolling};default:var r=null==t?void 0:t.fallbackPolling;return{watchDirectory:e.WatchDirectoryKind.UseFsEvents,fallbackPolling:void 0!==r?r:void 0}}}(a),s=e.Debug.checkDefined(o.watchDirectory);switch(s){case e.WatchDirectoryKind.FixedPollingInterval:return l(t,(function(){return r(t)}),i.Medium,void 0);case e.WatchDirectoryKind.DynamicPriorityPolling:return F()(t,(function(){return r(t)}),i.Medium,void 0);case e.WatchDirectoryKind.FixedChunkSizePolling:return w()(t,(function(){return r(t)}),void 0,void 0);case e.WatchDirectoryKind.UseFsEvents:return h(t,1,D(t,r,a,b,x),n,i.Medium,e.getFallbackOptions(o));default:e.Debug.assertNever(s)}}},e.patchWriteFileEnsuringDirectory=function(t){var r=t.writeFile;t.writeFile=function(n,i,a){return e.writeFileEnsuringDirectories(n,i,!!a,(function(e,n,i){return r.call(t,e,n,i)}),(function(e){return t.createDirectory(e)}),(function(e){return t.directoryExists(e)}))}},e.getNodeMajorVersion=function(){if(!(typeof r>"u")){var e=r.version;if(e){var t=e.indexOf(".");if(-1!==t)return parseInt(e.substring(1,t))}}},e.sys=void 0,e.setSys=function(t){e.sys=void 0},e.sys&&e.sys.getEnvironmentVariable&&(l(e.sys),e.Debug.setAssertionLevel(/^development$/i.test(e.sys.getEnvironmentVariable("NODE_ENV"))?1:0)),e.sys&&e.sys.debugMode&&(e.Debug.isDebugging=!0)}(n||(n={})),function(e){e.directorySeparator="/",e.altDirectorySeparator="\\";var t=/\\/g;function r(e){return 47===e||92===e}function n(e){return l(e)>0}function i(e){return 0!==l(e)}function o(e){return/^\.\.?($|[\\/])/.test(e)}function s(t,r){return t.length>r.length&&e.endsWith(t,r)}function c(e){return e.length>0&&r(e.charCodeAt(e.length-1))}function u(e){return e>=97&&e<=122||e>=65&&e<=90}function l(t){if(!t)return 0;var r=t.charCodeAt(0);if(47===r||92===r){if(t.charCodeAt(1)!==r)return 1;var n=t.indexOf(47===r?e.directorySeparator:e.altDirectorySeparator,2);return n<0?t.length:n+1}if(u(r)&&58===t.charCodeAt(1)){var i=t.charCodeAt(2);if(47===i||92===i)return 3;if(2===t.length)return 2}var a=t.indexOf("://");if(-1!==a){var o=a+"://".length,s=t.indexOf(e.directorySeparator,o);if(-1!==s){var c=t.slice(0,a),l=t.slice(o,s);if("file"===c&&(""===l||"localhost"===l)&&u(t.charCodeAt(s+1))){var p=function(e,t){var r=e.charCodeAt(t);if(58===r)return t+1;if(37===r&&51===e.charCodeAt(t+1)){var n=e.charCodeAt(t+2);if(97===n||65===n)return t+3}return-1}(t,s+2);if(-1!==p){if(47===t.charCodeAt(p))return~(p+1);if(p===t.length)return~p}}return~(s+1)}return~t.length}return 0}function p(e){var t=l(e);return t<0?~t:t}function d(t){var r=p(t=y(t));return r===t.length?t:(t=C(t)).slice(0,Math.max(r,t.lastIndexOf(e.directorySeparator)))}function f(t,r,n){if(p(t=y(t))===t.length)return"";var i=(t=C(t)).slice(Math.max(p(t),t.lastIndexOf(e.directorySeparator)+1)),a=void 0!==r&&void 0!==n?m(i,r,n):void 0;return a?i.slice(0,i.length-a.length):i}function _(t,r,n){if(e.startsWith(r,".")||(r="."+r),t.length>=r.length&&46===t.charCodeAt(t.length-r.length)){var i=t.slice(t.length-r.length);if(n(i,r))return i}}function m(t,r,n){if(r)return function(e,t,r){if("string"==typeof t)return _(e,t,r)||"";for(var n=0,i=t;n<i.length;n++){var a=_(e,i[n],r);if(a)return a}return""}(C(t),r,n?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive);var i=f(t),a=i.lastIndexOf(".");return a>=0?i.substring(a):""}function g(t,r){return void 0===r&&(r=""),function(t,r){var n=t.substring(0,r),i=t.substring(r).split(e.directorySeparator);return i.length&&!e.lastOrUndefined(i)&&i.pop(),a([n],i,!0)}(t=D(r,t),p(t))}function h(t){return 0===t.length?"":(t[0]&&T(t[0]))+t.slice(1).join(e.directorySeparator)}function y(r){var n=r.indexOf("\\");return-1===n?r:(t.lastIndex=n,r.replace(t,e.directorySeparator))}function v(t){if(!e.some(t))return[];for(var r=[t[0]],n=1;n<t.length;n++){var i=t[n];if(i&&"."!==i){if(".."===i)if(r.length>1){if(".."!==r[r.length-1]){r.pop();continue}}else if(r[0])continue;r.push(i)}}return r}function D(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&(e=y(e));for(var n=0,i=t;n<i.length;n++){var a=i[n];!a||(a=y(a),e=e&&0===p(a)?T(e)+a:a)}return e}function b(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return S(e.some(r)?D.apply(void 0,a([t],r,!1)):y(t))}function x(e,t){return v(g(e,t))}function E(e,t){return h(x(e,t))}function S(e){if(e=y(e),!A.test(e))return e;var t=e.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(t!==e&&(e=t,!A.test(e)))return e;var r=h(v(g(e)));return r&&c(e)?T(r):r}function C(e){return c(e)?e.substr(0,e.length-1):e}function T(t){return c(t)?t:t+e.directorySeparator}function k(e){return i(e)||o(e)?e:"./"+e}e.isAnyDirectorySeparator=r,e.isUrl=function(e){return l(e)<0},e.isRootedDiskPath=n,e.isDiskPathRoot=function(e){var t=l(e);return t>0&&t===e.length},e.pathIsAbsolute=i,e.pathIsRelative=o,e.pathIsBareSpecifier=function(e){return!i(e)&&!o(e)},e.hasExtension=function(t){return e.stringContains(f(t),".")},e.fileExtensionIs=s,e.fileExtensionIsOneOf=function(e,t){for(var r=0,n=t;r<n.length;r++)if(s(e,n[r]))return!0;return!1},e.hasTrailingDirectorySeparator=c,e.getRootLength=p,e.getDirectoryPath=d,e.getBaseFileName=f,e.getAnyExtensionFromPath=m,e.getPathComponents=g,e.getPathFromPathComponents=h,e.normalizeSlashes=y,e.reducePathComponents=v,e.combinePaths=D,e.resolvePath=b,e.getNormalizedPathComponents=x,e.getNormalizedAbsolutePath=E,e.normalizePath=S,e.getNormalizedAbsolutePathWithoutRoot=function(t,r){return function(t){return 0===t.length?"":t.slice(1).join(e.directorySeparator)}(x(t,r))},e.toPath=function(e,t,r){return r(n(e)?S(e):E(e,t))},e.normalizePathAndParts=function(t){var r=v(g(t=y(t))),n=r[0],i=r.slice(1);if(i.length){var a=n+i.join(e.directorySeparator);return{path:c(t)?T(a):a,parts:i}}return{path:n,parts:i}},e.removeTrailingDirectorySeparator=C,e.ensureTrailingDirectorySeparator=T,e.ensurePathIsNonModuleName=k,e.changeAnyExtension=function(t,r,n,i){var a=void 0!==n&&void 0!==i?m(t,n,i):m(t);return a?t.slice(0,t.length-a.length)+(e.startsWith(r,".")?r:"."+r):t};var A=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/;function N(t,r,n){if(t===r)return 0;if(void 0===t)return-1;if(void 0===r)return 1;var i=t.substring(0,p(t)),a=r.substring(0,p(r)),o=e.compareStringsCaseInsensitive(i,a);if(0!==o)return o;var s=t.substring(i.length),c=r.substring(a.length);if(!A.test(s)&&!A.test(c))return n(s,c);for(var u=v(g(t)),l=v(g(r)),d=Math.min(u.length,l.length),f=1;f<d;f++){var _=n(u[f],l[f]);if(0!==_)return _}return e.compareValues(u.length,l.length)}function P(t,r,n,i){var o,s=v(g(t)),c=v(g(r));for(o=0;o<s.length&&o<c.length;o++){var u=i(s[o]),l=i(c[o]);if(!(0===o?e.equateStringsCaseInsensitive:n)(u,l))break}if(0===o)return c;for(var p=c.slice(o),d=[];o<s.length;o++)d.push("..");return a(a([""],d,!0),p,!0)}function F(t,r,n){e.Debug.assert(p(t)>0==p(r)>0,"Paths must either both be absolute or both be relative");var i="function"==typeof n?n:e.identity;return h(P(t,r,"boolean"==typeof n&&n?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,i))}function w(t,r,i,a,o){var s=P(b(i,t),b(i,r),e.equateStringsCaseSensitive,a),c=s[0];if(o&&n(c)){var u=c.charAt(0)===e.directorySeparator?"file://":"file:///";s[0]=u+c}return h(s)}e.comparePathsCaseSensitive=function(t,r){return N(t,r,e.compareStringsCaseSensitive)},e.comparePathsCaseInsensitive=function(t,r){return N(t,r,e.compareStringsCaseInsensitive)},e.comparePaths=function(t,r,n,i){return"string"==typeof n?(t=D(n,t),r=D(n,r)):"boolean"==typeof n&&(i=n),N(t,r,e.getStringComparer(i))},e.containsPath=function(t,r,n,i){if("string"==typeof n?(t=D(n,t),r=D(n,r)):"boolean"==typeof n&&(i=n),void 0===t||void 0===r)return!1;if(t===r)return!0;var a=v(g(t)),o=v(g(r));if(o.length<a.length)return!1;for(var s=i?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,c=0;c<a.length;c++)if(!(0===c?e.equateStringsCaseInsensitive:s)(a[c],o[c]))return!1;return!0},e.startsWithDirectory=function(t,r,n){var i=n(t),a=n(r);return e.startsWith(i,a+"/")||e.startsWith(i,a+"\\")},e.getPathComponentsRelativeTo=P,e.getRelativePathFromDirectory=F,e.convertToRelativePath=function(e,t,r){return n(e)?w(t,e,t,r,!1):e},e.getRelativePathFromFile=function(e,t,r){return k(F(d(e),t,r))},e.getRelativePathToDirectoryOrUrl=w,e.forEachAncestorDirectory=function(e,t){for(;;){var r=t(e);if(void 0!==r)return r;var n=d(e);if(n===e)return;e=n}},e.isNodeModulesDirectory=function(t){return e.endsWith(t,"/node_modules")}}(n||(n={})),function(e){function t(e,t,r,n,i,a,o){return{code:e,category:t,key:r,message:n,reportsUnnecessary:i,elidedInCompatabilityPyramid:a,reportsDeprecated:o}}e.Diagnostics={Unterminated_string_literal:t(1002,e.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:t(1003,e.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:t(1005,e.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:t(1006,e.DiagnosticCategory.Error,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_to_match_the_token_here:t(1007,e.DiagnosticCategory.Error,"The_parser_expected_to_find_a_to_match_the_token_here_1007","The parser expected to find a '}' to match the '{' token here."),Trailing_comma_not_allowed:t(1009,e.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:t(1010,e.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:t(1011,e.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:t(1012,e.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(1022,e.DiagnosticCategory.Error,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:t(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."),An_index_signature_cannot_have_a_trailing_comma:t(1025,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:t(1028,e.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:t(1029,e.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:t(1030,e.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:t(1031,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031","'{0}' modifier cannot appear on class elements of this kind."),super_must_be_followed_by_an_argument_list_or_member_access:t(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:t(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:t(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:t(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:t(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:t(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_here:t(1042,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:t(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."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:t(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:t(1047,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:t(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:t(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:t(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:t(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:t(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:t(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_Did_you_mean_to_write_Promise_0:t(1064,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise<T> type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:t(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:t(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:t(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:t(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:t(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."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:t(1103,e.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:t(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:t(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."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:t(1106,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:t(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:t(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:t(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:t(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:t(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:t(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:t(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:t(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:t(1117,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117","An object literal cannot have multiple properties with the same name."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:t(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:t(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:t(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:t(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:t(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:t(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:t(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:t(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:t(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:t(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:t(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:t(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:t(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:t(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:t(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:t(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:t(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:t(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:t(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:t(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:t(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:t(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:t(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:t(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:t(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:t(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:t(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:t(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:t(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:t(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:t(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:t(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:t(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:t(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:t(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:t(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:t(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_have_a_simple_literal_type_or_a_unique_symbol_type:t(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:t(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:t(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:t(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:t(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:t(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:t(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:t(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:t(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:t(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:t(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:t(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:t(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:t(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:t(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:t(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:t(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:t(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:t(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:t(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:t(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:t(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:t(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:t(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:t(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:t(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:t(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:t(1194,e.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:t(1195,e.DiagnosticCategory.Error,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:t(1196,e.DiagnosticCategory.Error,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:t(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:t(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:t(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:t(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:t(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:t(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."),Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:t(1205,e.DiagnosticCategory.Error,"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205","Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'."),Decorators_are_not_valid_here:t(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:t(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."),_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module:t(1208,e.DiagnosticCategory.Error,"_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_imp_1208","'{0}' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module."),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:t(1210,e.DiagnosticCategory.Error,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_not_allowed_in_an_ambient_context:t(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:t(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:t(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:t(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:t(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:t(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:t(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:t(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:t(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:t(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_must_be_at_the_top_level_of_a_file_or_module_declaration:t(1231,e.DiagnosticCategory.Error,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:t(1232,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232","An import declaration can only be used at the top level of a namespace or module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:t(1233,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233","An export declaration can only be used at the top level of a namespace or module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:t(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_at_the_top_level_of_a_namespace_or_module:t(1235,e.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235","A namespace declaration is only allowed at the top level of a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:t(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:t(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_required_element_cannot_follow_an_optional_element:t(1257,e.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:t(1258,e.DiagnosticCategory.Error,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:t(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:t(1260,e.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:t(1261,e.DiagnosticCategory.Error,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:t(1262,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:t(1263,e.DiagnosticCategory.Error,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:t(1264,e.DiagnosticCategory.Error,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:t(1265,e.DiagnosticCategory.Error,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:t(1266,e.DiagnosticCategory.Error,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:t(1267,e.DiagnosticCategory.Error,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:t(1268,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_the_isolatedModules_flag_is_provided:t(1269,e.DiagnosticCategory.Error,"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_the_isolatedModules_flag_is_provided_1269","Cannot use 'export import' on a type or type-only namespace when the '--isolatedModules' flag is provided."),Decorator_function_return_type_0_is_not_assignable_to_type_1:t(1270,e.DiagnosticCategory.Error,"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270","Decorator function return type '{0}' is not assignable to type '{1}'."),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:t(1271,e.DiagnosticCategory.Error,"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271","Decorator function return type is '{0}' but is expected to be 'void' or 'any'."),with_statements_are_not_allowed_in_an_async_function_block:t(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_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:t(1308,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:t(1312,e.DiagnosticCategory.Error,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_es2020_es2022_esnext_commonjs_amd_system_umd_node12_or_nodenext:t(1323,e.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node12', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext:t(1324,e.DiagnosticCategory.Error,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext' or 'nodenext'."),Argument_of_dynamic_import_cannot_be_spread_element:t(1325,e.DiagnosticCategory.Error,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:t(1326,e.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments."),String_literal_with_double_quotes_expected:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:t(1337,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:t(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:t(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:t(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:t(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_es2020_es2022_esnext_system_node12_or_nodenext:t(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node12', or 'nodenext'."),A_label_is_not_allowed_here:t(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:t(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:t(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:t(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:t(1348,e.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:t(1349,e.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:t(1361,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:t(1362,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:t(1363,e.DiagnosticCategory.Error,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:t(1364,e.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:t(1365,e.DiagnosticCategory.Message,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:t(1366,e.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:t(1367,e.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Did_you_mean_0:t(1369,e.DiagnosticCategory.Message,"Did_you_mean_0_1369","Did you mean '{0}'?"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:t(1371,e.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371","This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:t(1373,e.DiagnosticCategory.Message,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:t(1374,e.DiagnosticCategory.Message,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:t(1375,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:t(1376,e.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:t(1377,e.DiagnosticCategory.Message,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:t(1378,e.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_o_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:t(1379,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:t(1380,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:t(1381,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `&rbrace;`?"),Unexpected_token_Did_you_mean_or_gt:t(1382,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `&gt;`?"),Only_named_exports_may_use_export_type:t(1383,e.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:t(1384,e.DiagnosticCategory.Error,"A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384","A 'new' expression with type arguments must always be followed by a parenthesized argument list."),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:t(1385,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:t(1386,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:t(1387,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:t(1388,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:t(1389,e.DiagnosticCategory.Error,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),_0_is_not_allowed_as_a_parameter_name:t(1390,e.DiagnosticCategory.Error,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:t(1392,e.DiagnosticCategory.Error,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:t(1393,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:t(1394,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:t(1395,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:t(1396,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:t(1397,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:t(1398,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),File_is_included_via_import_here:t(1399,e.DiagnosticCategory.Message,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:t(1400,e.DiagnosticCategory.Message,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:t(1401,e.DiagnosticCategory.Message,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:t(1402,e.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:t(1403,e.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),File_is_included_via_type_library_reference_here:t(1404,e.DiagnosticCategory.Message,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:t(1405,e.DiagnosticCategory.Message,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:t(1406,e.DiagnosticCategory.Message,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:t(1407,e.DiagnosticCategory.Message,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:t(1408,e.DiagnosticCategory.Message,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:t(1409,e.DiagnosticCategory.Message,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:t(1410,e.DiagnosticCategory.Message,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:t(1411,e.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:t(1412,e.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_output_from_referenced_project_specified_here:t(1413,e.DiagnosticCategory.Message,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:t(1414,e.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:t(1415,e.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_source_from_referenced_project_specified_here:t(1416,e.DiagnosticCategory.Message,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:t(1417,e.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:t(1418,e.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),File_is_entry_point_of_type_library_specified_here:t(1419,e.DiagnosticCategory.Message,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:t(1420,e.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:t(1421,e.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:t(1422,e.DiagnosticCategory.Message,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:t(1423,e.DiagnosticCategory.Message,"File_is_library_specified_here_1423","File is library specified here."),Default_library:t(1424,e.DiagnosticCategory.Message,"Default_library_1424","Default library"),Default_library_for_target_0:t(1425,e.DiagnosticCategory.Message,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:t(1426,e.DiagnosticCategory.Message,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:t(1427,e.DiagnosticCategory.Message,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:t(1428,e.DiagnosticCategory.Message,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:t(1429,e.DiagnosticCategory.Message,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:t(1430,e.DiagnosticCategory.Message,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:t(1431,e.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:t(1432,e.DiagnosticCategory.Error,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or__1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Decorators_may_not_be_applied_to_this_parameters:t(1433,e.DiagnosticCategory.Error,"Decorators_may_not_be_applied_to_this_parameters_1433","Decorators may not be applied to 'this' parameters."),Unexpected_keyword_or_identifier:t(1434,e.DiagnosticCategory.Error,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:t(1435,e.DiagnosticCategory.Error,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:t(1436,e.DiagnosticCategory.Error,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:t(1437,e.DiagnosticCategory.Error,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:t(1438,e.DiagnosticCategory.Error,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:t(1439,e.DiagnosticCategory.Error,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:t(1440,e.DiagnosticCategory.Error,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:t(1441,e.DiagnosticCategory.Error,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:t(1442,e.DiagnosticCategory.Error,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:t(1443,e.DiagnosticCategory.Error,"Module_declaration_names_may_only_use_or_quoted_strings_1443","Module declaration names may only use ' or \" quoted strings."),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:t(1444,e.DiagnosticCategory.Error,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444","'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:t(1446,e.DiagnosticCategory.Error,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isolatedModules_is_enabled:t(1448,e.DiagnosticCategory.Error,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isol_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when 'isolatedModules' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:t(1449,e.DiagnosticCategory.Message,"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449","Preserve unused imported values in the JavaScript output that would otherwise be removed."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments:t(1450,e.DiagnosticCategory.Message,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional assertion as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:t(1451,e.DiagnosticCategory.Error,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:t(1470,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_synchronously_Use_dynamic_import_instead:t(1471,e.DiagnosticCategory.Error,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported synchronously. Use dynamic import instead."),catch_or_finally_expected:t(1472,e.DiagnosticCategory.Error,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:t(1473,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473","An import declaration can only be used at the top level of a module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:t(1474,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474","An export declaration can only be used at the top level of a module."),The_types_of_0_are_incompatible_between_these_types:t(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:t(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:t(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:t(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:t(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:t(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),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:t(2206,e.DiagnosticCategory.Error,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:t(2207,e.DiagnosticCategory.Error,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),Duplicate_identifier_0:t(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:t(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:t(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:t(2303,e.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:t(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:t(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:t(2306,e.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:t(2307,e.DiagnosticCategory.Error,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:t(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:t(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:t(2310,e.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:t(2311,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311","Cannot find name '{0}'. Did you mean to write this in an async function?"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:t(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:t(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:t(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:t(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:t(2328,e.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:t(2329,e.DiagnosticCategory.Error,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:t(2330,e.DiagnosticCategory.Error,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_a_private_identifier_or_of_type_any_string_number_or_symbol:t(2360,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360","The left-hand side of an 'in' expression must be a private identifier or of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_not_be_a_primitive:t(2361,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361","The right-hand side of an 'in' expression must not be a primitive."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_reference_itself:t(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:t(2373,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:t(2374,e.DiagnosticCategory.Error,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:t(2375,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers:t(2376,e.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376","A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:t(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:t(2378,e.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:t(2379,e.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:t(2380,e.DiagnosticCategory.Error,"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380","The return type of a 'get' accessor must be assignable to its 'set' accessor type"),Overload_signatures_must_all_be_exported_or_non_exported:t(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:t(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:t(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:t(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:t(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:t(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:t(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:t(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:t(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:t(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:t(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:t(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:t(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:t(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:t(2397,e.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:t(2398,e.DiagnosticCategory.Error,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:t(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:t(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."),A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers:t(2401,e.DiagnosticCategory.Error,"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401","A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:t(2412,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:t(2411,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:t(2413,e.DiagnosticCategory.Error,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:t(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:t(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:t(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:t(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:t(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}'."),Types_of_construct_signatures_are_incompatible:t(2419,e.DiagnosticCategory.Error,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:t(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:t(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:t(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:t(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:t(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:t(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:t(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:t(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_This_is_an_instance_of_class_2:t(2446,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:t(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:t(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:t(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:t(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:t(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:t(2452,e.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:t(2454,e.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:t(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:t(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:t(2458,e.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:t(2459,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:t(2460,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:t(2469,e.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:t(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:t(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:t(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:t(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:t(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:t(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:t(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'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:t(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:t(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:t(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:t(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:t(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:t(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."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:t(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:t(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),Index_signature_in_type_0_only_permits_reading:t(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:t(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:t(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:t(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[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:t(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:t(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:t(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_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:t(2550,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:t(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:t(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:t(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:t(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:t(2555,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:t(2556,e.DiagnosticCategory.Error,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:t(2568,e.DiagnosticCategory.Error,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:t(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."),Could_not_find_name_0_Did_you_mean_1:t(2570,e.DiagnosticCategory.Error,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:t(2571,e.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:t(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:t(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_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:t(2576,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:t(2577,e.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:t(2578,e.DiagnosticCategory.Error,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:t(2580,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:t(2581,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:t(2582,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:t(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 '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:t(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:t(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."),Cannot_assign_to_0_because_it_is_a_constant:t(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:t(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:t(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_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:t(2591,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:t(2592,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:t(2593,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:t(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."),_0_can_only_be_imported_by_using_a_default_import:t(2595,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:t(2596,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:t(2597,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:t(2598,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:t(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:t(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:t(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."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:t(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:t(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:t(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:t(2609,e.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:t(2610,e.DiagnosticCategory.Error,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:t(2611,e.DiagnosticCategory.Error,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),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:t(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:t(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:t(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?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:t(2615,e.DiagnosticCategory.Error,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:t(2616,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:t(2617,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:t(2618,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:t(2619,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:t(2620,e.DiagnosticCategory.Error,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:t(2621,e.DiagnosticCategory.Error,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:t(2623,e.DiagnosticCategory.Error,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:t(2624,e.DiagnosticCategory.Error,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:t(2625,e.DiagnosticCategory.Error,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:t(2626,e.DiagnosticCategory.Error,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:t(2627,e.DiagnosticCategory.Error,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:t(2628,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:t(2629,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:t(2630,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:t(2631,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:t(2632,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:t(2633,e.DiagnosticCategory.Error,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:t(2634,e.DiagnosticCategory.Error,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:t(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:t(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:t(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:t(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}'."),JSX_expressions_must_have_one_parent_element:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(2681,e.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:t(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:t(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:t(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:t(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:t(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:t(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:t(2689,e.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:t(2690,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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'."),_0_has_no_exported_member_named_1_Did_you_mean_2:t(2724,e.DiagnosticCategory.Error,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:t(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:t(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:t(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:t(2728,e.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:t(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:t(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:t(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:t(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:t(2733,e.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:t(2734,e.DiagnosticCategory.Error,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:t(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:t(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_ES2020:t(2737,e.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_Did_you_mean_typeof_0:t(2749,e.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:t(2750,e.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:t(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:t(2752,e.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:t(2753,e.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:t(2754,e.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(2769,e.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:t(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:t(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:t(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:t(2773,e.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:t(2774,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),_0_needs_an_explicit_type_annotation:t(2782,e.DiagnosticCategory.Message,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:t(2783,e.DiagnosticCategory.Error,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:t(2784,e.DiagnosticCategory.Error,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:t(2785,e.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:t(2786,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:t(2787,e.DiagnosticCategory.Error,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:t(2788,e.DiagnosticCategory.Error,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:t(2789,e.DiagnosticCategory.Error,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:t(2790,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:t(2791,e.DiagnosticCategory.Error,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:t(2792,e.DiagnosticCategory.Error,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:t(2793,e.DiagnosticCategory.Error,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:t(2794,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:t(2795,e.DiagnosticCategory.Error,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:t(2796,e.DiagnosticCategory.Error,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:t(2797,e.DiagnosticCategory.Error,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:t(2798,e.DiagnosticCategory.Error,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:t(2799,e.DiagnosticCategory.Error,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:t(2800,e.DiagnosticCategory.Error,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:t(2801,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:t(2802,e.DiagnosticCategory.Error,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:t(2803,e.DiagnosticCategory.Error,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:t(2804,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Private_accessor_was_defined_without_a_getter:t(2806,e.DiagnosticCategory.Error,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:t(2807,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:t(2808,e.DiagnosticCategory.Error,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses:t(2809,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the the whole assignment in parentheses."),Initializer_for_property_0:t(2811,e.DiagnosticCategory.Error,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:t(2812,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:t(2813,e.DiagnosticCategory.Error,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:t(2814,e.DiagnosticCategory.Error,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:t(2815,e.DiagnosticCategory.Error,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:t(2816,e.DiagnosticCategory.Error,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:t(2817,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:t(2818,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:t(2819,e.DiagnosticCategory.Error,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:t(2820,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:t(2821,e.DiagnosticCategory.Error,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821","Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:t(2822,e.DiagnosticCategory.Error,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Cannot_find_namespace_0_Did_you_mean_1:t(2833,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Consider_adding_an_extension_to_the_import_path:t(2834,e.DiagnosticCategory.Error,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node12' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Did_you_mean_0:t(2835,e.DiagnosticCategory.Error,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node12' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:t(2836,e.DiagnosticCategory.Error,"Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836","Import assertions are not allowed on statements that transpile to commonjs 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:t(2837,e.DiagnosticCategory.Error,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),Import_declaration_0_is_using_private_name_1:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_class_has_or_is_using_private_name_0:t(4021,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:t(4084,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(4110,e.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:t(4111,e.DiagnosticCategory.Error,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:t(4112,e.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:t(4113,e.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:t(4114,e.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:t(4115,e.DiagnosticCategory.Error,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:t(4116,e.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:t(4117,e.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:t(4118,e.DiagnosticCategory.Error,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:t(4119,e.DiagnosticCategory.Error,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:t(4120,e.DiagnosticCategory.Error,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:t(4121,e.DiagnosticCategory.Error,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:t(4122,e.DiagnosticCategory.Error,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:t(4123,e.DiagnosticCategory.Error,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:t(4124,e.DiagnosticCategory.Error,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),The_current_host_does_not_support_the_0_option:t(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:t(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:t(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:t(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:t(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:t(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:t(5024,e.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:t(5025,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),Pattern_0_can_have_at_most_one_Asterisk_character:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(5072,e.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:t(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:t(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:t(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:t(5076,e.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:t(5077,e.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:t(5078,e.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:t(5079,e.DiagnosticCategory.Error,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:t(5080,e.DiagnosticCategory.Error,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:t(5081,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:t(5082,e.DiagnosticCategory.Error,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:t(5083,e.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:t(5084,e.DiagnosticCategory.Error,"Tuple_members_must_all_have_names_or_all_not_have_names_5084","Tuple members must all have names or all not have names."),A_tuple_member_cannot_be_both_optional_and_rest:t(5085,e.DiagnosticCategory.Error,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:t(5086,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:t(5087,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:t(5088,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:t(5089,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:t(5090,e.DiagnosticCategory.Error,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled:t(5091,e.DiagnosticCategory.Error,"Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when 'isolatedModules' is enabled."),The_root_value_of_a_0_file_must_be_an_object:t(5092,e.DiagnosticCategory.Error,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:t(5093,e.DiagnosticCategory.Error,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:t(5094,e.DiagnosticCategory.Error,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later:t(5095,e.DiagnosticCategory.Error,"Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later_5095","Option 'preserveValueImports' can only be used when 'module' is set to 'es2015' or later."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:t(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:t(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:t(6002,e.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:t(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:t(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:t(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:t(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:t(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:t(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:t(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:t(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:t(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:t(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:t(6014,e.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:t(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:t(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:t(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:t(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:t(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:t(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:t(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:t(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:t(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:t(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:t(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:t(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:t(6031,e.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:t(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:t(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:t(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:t(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:t(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:t(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:t(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:t(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:t(6041,e.DiagnosticCategory.Message,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:t(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:t(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:t(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:t(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:t(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 <language> or <language>-<territory>. For example '{0}' or '{1}'."),Unable_to_open_file_0:t(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:t(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:t(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:t(6053,e.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:t(6054,e.DiagnosticCategory.Error,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:t(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:t(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:t(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:t(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:t(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:t(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:t(6064,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:t(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:t(6066,e.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:t(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:t(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:t(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:t(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:t(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:t(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:t(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:t(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:t(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:t(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:t(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:t(6102,e.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:t(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:t(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:t(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:t(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:t(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:t(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:t(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:t(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:t(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:t(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:t(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:t(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:t(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}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:t(6163,e.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Do_not_truncate_error_messages:t(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:t(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:t(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:t(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:t(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:t(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:t(6171,e.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:t(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:t(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:t(6181,e.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:t(6182,e.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:t(6183,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:t(6184,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:t(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:t(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:t(6188,e.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:t(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:t(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:t(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:t(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:t(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:t(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:t(6196,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:t(6197,e.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:t(6198,e.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:t(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:t(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:t(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:t(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:t(6203,e.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:t(6204,e.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6215,e.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:t(6216,e.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:t(6217,e.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:t(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:t(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:t(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:t(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:t(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:t(6223,e.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:t(6224,e.DiagnosticCategory.Message,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:t(6225,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:t(6226,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:t(6227,e.DiagnosticCategory.Message,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:t(6229,e.DiagnosticCategory.Error,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:t(6230,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:t(6231,e.DiagnosticCategory.Error,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:t(6232,e.DiagnosticCategory.Error,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:t(6233,e.DiagnosticCategory.Error,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:t(6234,e.DiagnosticCategory.Error,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:t(6235,e.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:t(6236,e.DiagnosticCategory.Error,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:t(6237,e.DiagnosticCategory.Message,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:t(6238,e.DiagnosticCategory.Error,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:t(6239,e.DiagnosticCategory.Message,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:t(6240,e.DiagnosticCategory.Message,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:t(6241,e.DiagnosticCategory.Message,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:t(6242,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:t(6243,e.DiagnosticCategory.Message,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:t(6244,e.DiagnosticCategory.Message,"Modules_6244","Modules"),File_Management:t(6245,e.DiagnosticCategory.Message,"File_Management_6245","File Management"),Emit:t(6246,e.DiagnosticCategory.Message,"Emit_6246","Emit"),JavaScript_Support:t(6247,e.DiagnosticCategory.Message,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:t(6248,e.DiagnosticCategory.Message,"Type_Checking_6248","Type Checking"),Editor_Support:t(6249,e.DiagnosticCategory.Message,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:t(6250,e.DiagnosticCategory.Message,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:t(6251,e.DiagnosticCategory.Message,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:t(6252,e.DiagnosticCategory.Message,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:t(6253,e.DiagnosticCategory.Message,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:t(6254,e.DiagnosticCategory.Message,"Language_and_Environment_6254","Language and Environment"),Projects:t(6255,e.DiagnosticCategory.Message,"Projects_6255","Projects"),Output_Formatting:t(6256,e.DiagnosticCategory.Message,"Output_Formatting_6256","Output Formatting"),Completeness:t(6257,e.DiagnosticCategory.Message,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:t(6258,e.DiagnosticCategory.Error,"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258","'{0}' should be set inside the 'compilerOptions' object of the config json file"),Found_1_error_in_1:t(6259,e.DiagnosticCategory.Message,"Found_1_error_in_1_6259","Found 1 error in {1}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:t(6260,e.DiagnosticCategory.Message,"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260","Found {0} errors in the same file, starting at: {1}"),Found_0_errors_in_1_files:t(6261,e.DiagnosticCategory.Message,"Found_0_errors_in_1_files_6261","Found {0} errors in {1} files."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:t(6270,e.DiagnosticCategory.Message,"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270","Directory '{0}' has no containing package.json scope. Imports will not resolve."),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:t(6271,e.DiagnosticCategory.Message,"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271","Import specifier '{0}' does not exist in package.json scope at path '{1}'."),Invalid_import_specifier_0_has_no_possible_resolutions:t(6272,e.DiagnosticCategory.Message,"Invalid_import_specifier_0_has_no_possible_resolutions_6272","Invalid import specifier '{0}' has no possible resolutions."),package_json_scope_0_has_no_imports_defined:t(6273,e.DiagnosticCategory.Message,"package_json_scope_0_has_no_imports_defined_6273","package.json scope '{0}' has no imports defined."),package_json_scope_0_explicitly_maps_specifier_1_to_null:t(6274,e.DiagnosticCategory.Message,"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274","package.json scope '{0}' explicitly maps specifier '{1}' to null."),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:t(6275,e.DiagnosticCategory.Message,"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275","package.json scope '{0}' has invalid type for target of specifier '{1}'"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:t(6276,e.DiagnosticCategory.Message,"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276","Export specifier '{0}' does not exist in package.json scope at path '{1}'."),Enable_project_compilation:t(6302,e.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:t(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:t(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:t(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:t(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:t(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:t(6309,e.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:t(6310,e.DiagnosticCategory.Error,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6357,e.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:t(6358,e.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:t(6359,e.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:t(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:t(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:t(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:t(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:t(6365,e.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Show_what_would_be_built_or_deleted_if_specified_with_clean:t(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')"),Option_build_must_be_the_first_command_line_argument:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6378,e.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:t(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:t(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:t(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:t(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:t(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"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:t(6384,e.DiagnosticCategory.Message,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:t(6385,e.DiagnosticCategory.Suggestion,"_0_is_deprecated_6385","'{0}' is deprecated.",void 0,void 0,!0),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:t(6386,e.DiagnosticCategory.Message,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:t(6387,e.DiagnosticCategory.Suggestion,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:t(6388,e.DiagnosticCategory.Message,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:t(6389,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:t(6390,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:t(6391,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:t(6392,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:t(6393,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:t(6394,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:t(6395,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:t(6396,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:t(6397,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:t(6398,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:t(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:t(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:t(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:t(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."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:t(6504,e.DiagnosticCategory.Error,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:t(6505,e.DiagnosticCategory.Message,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:t(6506,e.DiagnosticCategory.Message,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:t(6600,e.DiagnosticCategory.Message,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:t(6601,e.DiagnosticCategory.Message,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:t(6602,e.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:t(6603,e.DiagnosticCategory.Message,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:t(6604,e.DiagnosticCategory.Message,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:t(6605,e.DiagnosticCategory.Message,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:t(6606,e.DiagnosticCategory.Message,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use `incremental` and `watch` mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:t(6607,e.DiagnosticCategory.Message,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:t(6608,e.DiagnosticCategory.Message,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:t(6609,e.DiagnosticCategory.Message,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:t(6611,e.DiagnosticCategory.Message,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:t(6612,e.DiagnosticCategory.Message,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:t(6613,e.DiagnosticCategory.Message,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:t(6614,e.DiagnosticCategory.Message,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:t(6615,e.DiagnosticCategory.Message,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:t(6616,e.DiagnosticCategory.Message,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:t(6617,e.DiagnosticCategory.Message,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:t(6618,e.DiagnosticCategory.Message,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:t(6619,e.DiagnosticCategory.Message,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:t(6620,e.DiagnosticCategory.Message,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects"),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:t(6621,e.DiagnosticCategory.Message,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:t(6622,e.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Only_output_d_ts_files_and_not_JavaScript_files:t(6623,e.DiagnosticCategory.Message,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:t(6624,e.DiagnosticCategory.Message,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:t(6625,e.DiagnosticCategory.Message,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:t(6626,e.DiagnosticCategory.Message,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility."),Filters_results_from_the_include_option:t(6627,e.DiagnosticCategory.Message,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:t(6628,e.DiagnosticCategory.Message,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:t(6629,e.DiagnosticCategory.Message,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_TC39_stage_2_draft_decorators:t(6630,e.DiagnosticCategory.Message,"Enable_experimental_support_for_TC39_stage_2_draft_decorators_6630","Enable experimental support for TC39 stage 2 draft decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:t(6631,e.DiagnosticCategory.Message,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:t(6632,e.DiagnosticCategory.Message,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:t(6633,e.DiagnosticCategory.Message,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:t(6634,e.DiagnosticCategory.Message,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:t(6635,e.DiagnosticCategory.Message,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:t(6636,e.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date"),Ensure_that_casing_is_correct_in_imports:t(6637,e.DiagnosticCategory.Message,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:t(6638,e.DiagnosticCategory.Message,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:t(6639,e.DiagnosticCategory.Message,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:t(6641,e.DiagnosticCategory.Message,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:t(6642,e.DiagnosticCategory.Message,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:t(6643,e.DiagnosticCategory.Message,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:t(6644,e.DiagnosticCategory.Message,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:t(6645,e.DiagnosticCategory.Message,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:t(6646,e.DiagnosticCategory.Message,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:t(6647,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'"),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:t(6648,e.DiagnosticCategory.Message,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:t(6649,e.DiagnosticCategory.Message,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.`"),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:t(6650,e.DiagnosticCategory.Message,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:t(6651,e.DiagnosticCategory.Message,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:t(6652,e.DiagnosticCategory.Message,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:t(6653,e.DiagnosticCategory.Message,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:t(6654,e.DiagnosticCategory.Message,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:t(6655,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:t(6656,e.DiagnosticCategory.Message,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`."),Specify_what_module_code_is_generated:t(6657,e.DiagnosticCategory.Message,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:t(6658,e.DiagnosticCategory.Message,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:t(6659,e.DiagnosticCategory.Message,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:t(6660,e.DiagnosticCategory.Message,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:t(6661,e.DiagnosticCategory.Message,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like `__extends` in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:t(6662,e.DiagnosticCategory.Message,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:t(6663,e.DiagnosticCategory.Message,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:t(6664,e.DiagnosticCategory.Message,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:t(6665,e.DiagnosticCategory.Message,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied `any` type.."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:t(6666,e.DiagnosticCategory.Message,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:t(6667,e.DiagnosticCategory.Message,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:t(6668,e.DiagnosticCategory.Message,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when `this` is given the type `any`."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:t(6669,e.DiagnosticCategory.Message,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:t(6670,e.DiagnosticCategory.Message,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:t(6671,e.DiagnosticCategory.Message,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type"),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:t(6672,e.DiagnosticCategory.Message,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow `import`s, `require`s or `<reference>`s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:t(6673,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:t(6674,e.DiagnosticCategory.Message,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add `undefined` to a type when accessed using an index."),Enable_error_reporting_when_a_local_variables_aren_t_read:t(6675,e.DiagnosticCategory.Message,"Enable_error_reporting_when_a_local_variables_aren_t_read_6675","Enable error reporting when a local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:t(6676,e.DiagnosticCategory.Message,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read"),Deprecated_setting_Use_outFile_instead:t(6677,e.DiagnosticCategory.Message,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use `outFile` instead."),Specify_an_output_folder_for_all_emitted_files:t(6678,e.DiagnosticCategory.Message,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:t(6679,e.DiagnosticCategory.Message,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:t(6680,e.DiagnosticCategory.Message,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:t(6681,e.DiagnosticCategory.Message,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:t(6682,e.DiagnosticCategory.Message,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing `const enum` declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:t(6683,e.DiagnosticCategory.Message,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:t(6684,e.DiagnosticCategory.Message,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode"),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:t(6685,e.DiagnosticCategory.Message,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read"),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:t(6686,e.DiagnosticCategory.Message,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for `createElement`. This only applies when targeting `react` JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:t(6687,e.DiagnosticCategory.Message,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:t(6688,e.DiagnosticCategory.Message,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:t(6689,e.DiagnosticCategory.Message,"Enable_importing_json_files_6689","Enable importing .json files"),Specify_the_root_folder_within_your_source_files:t(6690,e.DiagnosticCategory.Message,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:t(6691,e.DiagnosticCategory.Message,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:t(6692,e.DiagnosticCategory.Message,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:t(6693,e.DiagnosticCategory.Message,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:t(6694,e.DiagnosticCategory.Message,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:t(6695,e.DiagnosticCategory.Message,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:t(6697,e.DiagnosticCategory.Message,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for `bind`, `call`, and `apply` methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:t(6698,e.DiagnosticCategory.Message,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:t(6699,e.DiagnosticCategory.Message,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account `null` and `undefined`."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:t(6700,e.DiagnosticCategory.Message,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:t(6701,e.DiagnosticCategory.Message,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have `@internal` in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:t(6702,e.DiagnosticCategory.Message,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:t(6703,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress `noImplicitAny` errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:t(6704,e.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:t(6705,e.DiagnosticCategory.Message,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:t(6706,e.DiagnosticCategory.Message,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the `moduleResolution` process."),Specify_the_folder_for_tsbuildinfo_incremental_compilation_files:t(6707,e.DiagnosticCategory.Message,"Specify_the_folder_for_tsbuildinfo_incremental_compilation_files_6707","Specify the folder for .tsbuildinfo incremental compilation files."),Specify_options_for_automatic_acquisition_of_declaration_files:t(6709,e.DiagnosticCategory.Message,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:t(6710,e.DiagnosticCategory.Message,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like `./node_modules/@types`."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:t(6711,e.DiagnosticCategory.Message,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:t(6712,e.DiagnosticCategory.Message,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:t(6713,e.DiagnosticCategory.Message,"Enable_verbose_logging_6713","Enable verbose logging"),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:t(6714,e.DiagnosticCategory.Message,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:t(6715,e.DiagnosticCategory.Message,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Include_undefined_in_index_signature_results:t(6716,e.DiagnosticCategory.Message,"Include_undefined_in_index_signature_results_6716","Include 'undefined' in index signature results"),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:t(6717,e.DiagnosticCategory.Message,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:t(6718,e.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types"),Type_catch_clause_variables_as_unknown_instead_of_any:t(6803,e.DiagnosticCategory.Message,"Type_catch_clause_variables_as_unknown_instead_of_any_6803","Type catch clause variables as 'unknown' instead of 'any'."),one_of_Colon:t(6900,e.DiagnosticCategory.Message,"one_of_Colon_6900","one of:"),one_or_more_Colon:t(6901,e.DiagnosticCategory.Message,"one_or_more_Colon_6901","one or more:"),type_Colon:t(6902,e.DiagnosticCategory.Message,"type_Colon_6902","type:"),default_Colon:t(6903,e.DiagnosticCategory.Message,"default_Colon_6903","default:"),module_system_or_esModuleInterop:t(6904,e.DiagnosticCategory.Message,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:t(6905,e.DiagnosticCategory.Message,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:t(6906,e.DiagnosticCategory.Message,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:t(6907,e.DiagnosticCategory.Message,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:t(6908,e.DiagnosticCategory.Message,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:t(6909,e.DiagnosticCategory.Message,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:t(69010,e.DiagnosticCategory.Message,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:t(6911,e.DiagnosticCategory.Message,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:t(6912,e.DiagnosticCategory.Message,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:t(6913,e.DiagnosticCategory.Message,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:t(6914,e.DiagnosticCategory.Message,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:t(6915,e.DiagnosticCategory.Message,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:t(6916,e.DiagnosticCategory.Message,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:t(6917,e.DiagnosticCategory.Message,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:t(6918,e.DiagnosticCategory.Message,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:t(6919,e.DiagnosticCategory.Message,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:t(6920,e.DiagnosticCategory.Message,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:t(6921,e.DiagnosticCategory.Message,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:t(6922,e.DiagnosticCategory.Message,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:t(6923,e.DiagnosticCategory.Message,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:t(6924,e.DiagnosticCategory.Message,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:t(6925,e.DiagnosticCategory.Message,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:t(6926,e.DiagnosticCategory.Message,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:t(6927,e.DiagnosticCategory.Message,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:t(6928,e.DiagnosticCategory.Message,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:t(6929,e.DiagnosticCategory.Message,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:t(6930,e.DiagnosticCategory.Message,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),Variable_0_implicitly_has_an_1_type:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:t(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:t(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:t(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:t(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:t(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:t(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:t(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_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:t(7035,e.DiagnosticCategory.Error,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:t(7056,e.DiagnosticCategory.Error,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:t(7057,e.DiagnosticCategory.Error,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:t(7058,e.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:t(7059,e.DiagnosticCategory.Error,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:t(7060,e.DiagnosticCategory.Error,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:t(7061,e.DiagnosticCategory.Error,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),JSON_imports_are_experimental_in_ES_module_mode_imports:t(7062,e.DiagnosticCategory.Error,"JSON_imports_are_experimental_in_ES_module_mode_imports_7062","JSON imports are experimental in ES module mode imports."),You_cannot_rename_this_element:t(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:t(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_TypeScript_files:t(8002,e.DiagnosticCategory.Error,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:t(8003,e.DiagnosticCategory.Error,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:t(8004,e.DiagnosticCategory.Error,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:t(8005,e.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:t(8006,e.DiagnosticCategory.Error,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:t(8008,e.DiagnosticCategory.Error,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:t(8009,e.DiagnosticCategory.Error,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:t(8010,e.DiagnosticCategory.Error,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:t(8011,e.DiagnosticCategory.Error,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:t(8012,e.DiagnosticCategory.Error,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:t(8013,e.DiagnosticCategory.Error,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:t(8016,e.DiagnosticCategory.Error,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:t(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:t(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:t(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:t(8033,e.DiagnosticCategory.Error,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:t(8034,e.DiagnosticCategory.Error,"The_tag_was_first_specified_here_8034","The tag was first specified here."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:t(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:t(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:t(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:t(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:t(17002,e.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(17015,e.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:t(17016,e.DiagnosticCategory.Error,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:t(17017,e.DiagnosticCategory.Error,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:t(17018,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:t(18e3,e.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),The_files_list_in_config_file_0_is_empty:t(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:t(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_ES_module:t(80001,e.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:t(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:t(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:t(90004,e.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:t(90005,e.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:t(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:t(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:t(90008,e.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:t(90010,e.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:t(90011,e.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:t(90012,e.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:t(90013,e.DiagnosticCategory.Message,"Import_0_from_1_90013","Import '{0}' from \"{1}\""),Change_0_to_1:t(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:t(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:t(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:t(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:t(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:t(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:t(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:t(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:t(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:t(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:t(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:t(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:t(90027,e.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:t(90028,e.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:t(90029,e.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:t(90030,e.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:t(90031,e.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:t(90034,e.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:t(90035,e.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:t(90036,e.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:t(90037,e.DiagnosticCategory.Message,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:t(90038,e.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:t(90039,e.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:t(90041,e.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:t(90053,e.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:t(90054,e.DiagnosticCategory.Message,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:t(90055,e.DiagnosticCategory.Message,"Remove_type_from_import_declaration_from_0_90055","Remove 'type' from import declaration from \"{0}\""),Remove_type_from_import_of_0_from_1:t(90056,e.DiagnosticCategory.Message,"Remove_type_from_import_of_0_from_1_90056","Remove 'type' from import of '{0}' from \"{1}\""),Add_import_from_0:t(90057,e.DiagnosticCategory.Message,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:t(90058,e.DiagnosticCategory.Message,"Update_import_from_0_90058",'Update import from "{0}"'),Convert_function_to_an_ES2015_class:t(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:t(95003,e.DiagnosticCategory.Message,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:t(95004,e.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:t(95005,e.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:t(95006,e.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:t(95007,e.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:t(95008,e.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:t(95009,e.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:t(95011,e.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:t(95012,e.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:t(95013,e.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:t(95014,e.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:t(95015,e.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:t(95016,e.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:t(95017,e.DiagnosticCategory.Message,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:t(95018,e.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:t(95019,e.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:t(95020,e.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:t(95021,e.DiagnosticCategory.Message,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:t(95022,e.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:t(95023,e.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:t(95024,e.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:t(95025,e.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:t(95026,e.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:t(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:t(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:t(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:t(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:t(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:t(95032,e.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:t(95033,e.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:t(95034,e.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:t(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:t(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:t(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:t(95038,e.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:t(95039,e.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:t(95040,e.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:t(95041,e.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:t(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:t(95043,e.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:t(95044,e.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:t(95045,e.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:t(95046,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:t(95047,e.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:t(95048,e.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:t(95049,e.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:t(95050,e.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:t(95051,e.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:t(95052,e.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:t(95053,e.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:t(95054,e.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:t(95055,e.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:t(95056,e.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:t(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:t(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:t(95059,e.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:t(95060,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:t(95061,e.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:t(95062,e.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:t(95063,e.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:t(95064,e.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:t(95065,e.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:t(95066,e.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:t(95067,e.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:t(95068,e.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:t(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:t(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:t(95071,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:t(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:t(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:t(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:t(95075,e.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:t(95077,e.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:t(95078,e.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:t(95079,e.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:t(95080,e.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:t(95081,e.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:t(95082,e.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:t(95083,e.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:t(95084,e.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:t(95085,e.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:t(95086,e.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:t(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:t(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:t(95089,e.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:t(95090,e.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:t(95091,e.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:t(95092,e.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:t(95093,e.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:t(95094,e.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:t(95095,e.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:t(95096,e.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:t(95097,e.DiagnosticCategory.Message,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:t(95098,e.DiagnosticCategory.Message,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:t(95099,e.DiagnosticCategory.Message,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:t(95100,e.DiagnosticCategory.Message,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:t(95101,e.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_function_expression_0_to_arrow_function:t(95105,e.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:t(95106,e.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:t(95107,e.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:t(95108,e.DiagnosticCategory.Message,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:t(95109,e.DiagnosticCategory.Message,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file:t(95110,e.DiagnosticCategory.Message,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig.json to read more about this file"),Add_a_return_statement:t(95111,e.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:t(95112,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:t(95113,e.DiagnosticCategory.Message,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:t(95114,e.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:t(95115,e.DiagnosticCategory.Message,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:t(95116,e.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:t(95117,e.DiagnosticCategory.Message,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:t(95118,e.DiagnosticCategory.Message,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:t(95119,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:t(95120,e.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:t(95121,e.DiagnosticCategory.Message,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:t(95122,e.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:t(95123,e.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:t(95124,e.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:t(95125,e.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:t(95126,e.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:t(95127,e.DiagnosticCategory.Message,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:t(95128,e.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:t(95129,e.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:t(95130,e.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:t(95131,e.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:t(95132,e.DiagnosticCategory.Message,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:t(95133,e.DiagnosticCategory.Message,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:t(95134,e.DiagnosticCategory.Message,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:t(95135,e.DiagnosticCategory.Message,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:t(95136,e.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:t(95137,e.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:t(95138,e.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:t(95139,e.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:t(95140,e.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:t(95141,e.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:t(95142,e.DiagnosticCategory.Message,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:t(95143,e.DiagnosticCategory.Message,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:t(95144,e.DiagnosticCategory.Message,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:t(95145,e.DiagnosticCategory.Message,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:t(95146,e.DiagnosticCategory.Message,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:t(95147,e.DiagnosticCategory.Message,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:t(95148,e.DiagnosticCategory.Message,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:t(95149,e.DiagnosticCategory.Message,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:t(95150,e.DiagnosticCategory.Message,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:t(95151,e.DiagnosticCategory.Message,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:t(95152,e.DiagnosticCategory.Message,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:t(95153,e.DiagnosticCategory.Message,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:t(95154,e.DiagnosticCategory.Message,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:t(95155,e.DiagnosticCategory.Message,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:t(95156,e.DiagnosticCategory.Message,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:t(95157,e.DiagnosticCategory.Message,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:t(95158,e.DiagnosticCategory.Message,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:t(95159,e.DiagnosticCategory.Message,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:t(95160,e.DiagnosticCategory.Message,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:t(95161,e.DiagnosticCategory.Message,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:t(95162,e.DiagnosticCategory.Message,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:t(95163,e.DiagnosticCategory.Message,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:t(95164,e.DiagnosticCategory.Message,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:t(95165,e.DiagnosticCategory.Message,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:t(95166,e.DiagnosticCategory.Message,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:t(95167,e.DiagnosticCategory.Message,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:t(95168,e.DiagnosticCategory.Message,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:t(95169,e.DiagnosticCategory.Message,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:t(95170,e.DiagnosticCategory.Message,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:t(95171,e.DiagnosticCategory.Message,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:t(95172,e.DiagnosticCategory.Message,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:t(95173,e.DiagnosticCategory.Message,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:t(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:t(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:t(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?"),Private_identifiers_cannot_be_used_as_parameters:t(18009,e.DiagnosticCategory.Error,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:t(18010,e.DiagnosticCategory.Error,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:t(18011,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:t(18012,e.DiagnosticCategory.Error,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:t(18013,e.DiagnosticCategory.Error,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:t(18014,e.DiagnosticCategory.Error,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:t(18015,e.DiagnosticCategory.Error,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:t(18016,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:t(18017,e.DiagnosticCategory.Error,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:t(18018,e.DiagnosticCategory.Error,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:t(18019,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:t(18024,e.DiagnosticCategory.Error,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:t(18026,e.DiagnosticCategory.Error,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:t(18027,e.DiagnosticCategory.Error,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:t(18028,e.DiagnosticCategory.Error,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:t(18029,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:t(18030,e.DiagnosticCategory.Error,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:t(18031,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:t(18032,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:t(18033,e.DiagnosticCategory.Error,"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033","Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:t(18034,e.DiagnosticCategory.Message,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:t(18035,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:t(18036,e.DiagnosticCategory.Error,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),Await_expression_cannot_be_used_inside_a_class_static_block:t(18037,e.DiagnosticCategory.Error,"Await_expression_cannot_be_used_inside_a_class_static_block_18037","Await expression cannot be used inside a class static block."),For_await_loops_cannot_be_used_inside_a_class_static_block:t(18038,e.DiagnosticCategory.Error,"For_await_loops_cannot_be_used_inside_a_class_static_block_18038","'For await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:t(18039,e.DiagnosticCategory.Error,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:t(18041,e.DiagnosticCategory.Error,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block.")}}(n||(n={})),function(e){var t;function r(e){return e>=79}e.tokenIsIdentifierOrKeyword=r,e.tokenIsIdentifierOrKeywordOrGreaterThan=function(e){return 31===e||r(e)},e.textToKeywordObj=((t={abstract:126,any:130,as:127,asserts:128,assert:129,bigint:157,boolean:133,break:81,case:82,catch:83,class:84,continue:86,const:85}).constructor=134,t.debugger=87,t.declare=135,t.default=88,t.delete=89,t.do=90,t.else=91,t.enum=92,t.export=93,t.extends=94,t.false=95,t.finally=96,t.for=97,t.from=155,t.function=98,t.get=136,t.if=99,t.implements=117,t.import=100,t.in=101,t.infer=137,t.instanceof=102,t.interface=118,t.intrinsic=138,t.is=139,t.keyof=140,t.let=119,t.module=141,t.namespace=142,t.never=143,t.new=103,t.null=104,t.number=146,t.object=147,t.package=120,t.private=121,t.protected=122,t.public=123,t.override=158,t.readonly=144,t.require=145,t.global=156,t.return=105,t.set=148,t.static=124,t.string=149,t.super=106,t.switch=107,t.symbol=150,t.this=108,t.throw=109,t.true=110,t.try=111,t.type=151,t.typeof=112,t.undefined=152,t.unique=153,t.unknown=154,t.var=113,t.void=114,t.while=115,t.with=116,t.yield=125,t.async=131,t.await=132,t.of=159,t);var n=new e.Map(e.getEntries(e.textToKeywordObj)),i=new e.Map(e.getEntries(o(o({},e.textToKeywordObj),{"{":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,"</":30,">>":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":63,"+=":64,"-=":65,"*=":66,"**=":67,"/=":68,"%=":69,"<<=":70,">>=":71,">>>=":72,"&=":73,"|=":74,"^=":78,"||=":75,"&&=":76,"??=":77,"@":59,"#":62,"`":61}))),a=[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],s=[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],c=[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],u=[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],l=[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],p=[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],d=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,f=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function _(e,t){if(e<t[0])return!1;for(var r,n=0,i=t.length;n+1<i;){if(r=n+(i-n)/2,t[r-=r%2]<=e&&e<=t[r+1])return!0;e<t[r]?i=r:n=r+2}return!1}function m(e,t){return _(e,t>=2?l:1===t?c:a)}e.isUnicodeIdentifierStart=m;var g,h=(g=[],i.forEach((function(e,t){g[e]=t})),g);function y(e){for(var t=new Array,r=0,n=0;r<e.length;){var i=e.charCodeAt(r);switch(r++,i){case 13:10===e.charCodeAt(r)&&r++;case 10:t.push(n),n=r;break;default:i>127&&C(i)&&(t.push(n),n=r)}}return t.push(n),t}function v(t,r,n,i,a){(r<0||r>=t.length)&&(a?r=r<0?0:r>=t.length?t.length-1:r:e.Debug.fail("Bad line number. Line: ".concat(r,", lineStarts.length: ").concat(t.length," , line map is correct? ").concat(void 0!==i?e.arraysEqual(t,y(i)):"unknown")));var o=t[r]+n;return a?o>t[r+1]?t[r+1]:"string"==typeof i&&o>i.length?i.length:o:(r<t.length-1?e.Debug.assert(o<t[r+1]):void 0!==i&&e.Debug.assert(o<=i.length),o)}function D(e){return e.lineMap||(e.lineMap=y(e.text))}function b(e,t){var r=x(e,t);return{line:r,character:t-e[r]}}function x(t,r,n){var i=e.binarySearch(t,r,e.identity,e.compareValues,n);return i<0&&(i=~i-1,e.Debug.assert(-1!==i,"position cannot precede the beginning of the file")),i}function E(e){return S(e)||C(e)}function S(e){return 32===e||9===e||11===e||12===e||160===e||133===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function C(e){return 10===e||13===e||8232===e||8233===e}function T(e){return e>=48&&e<=57}function k(e){return T(e)||e>=65&&e<=70||e>=97&&e<=102}function A(e){return e>=48&&e<=55}e.tokenToString=function(e){return h[e]},e.stringToToken=function(e){return i.get(e)},e.computeLineStarts=y,e.getPositionOfLineAndCharacter=function(e,t,r,n){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,r,n):v(D(e),t,r,e.text,n)},e.computePositionOfLineAndCharacter=v,e.getLineStarts=D,e.computeLineAndCharacterOfPosition=b,e.computeLineOfPosition=x,e.getLinesBetweenPositions=function(e,t,r){if(t===r)return 0;var n=D(e),i=Math.min(t,r),a=i===r,o=a?t:r,s=x(n,i),c=x(n,o,s);return a?s-c:c-s},e.getLineAndCharacterOfPosition=function(e,t){return b(D(e),t)},e.isWhiteSpaceLike=E,e.isWhiteSpaceSingleLine=S,e.isLineBreak=C,e.isOctalDigit=A,e.couldStartTrivia=function(e,t){var r=e.charCodeAt(t);switch(r){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===t;default:return r>127}},e.skipTrivia=function(t,r,n,i,a){if(e.positionIsSynthesized(r))return r;for(var o=!1;;){var s=t.charCodeAt(r);switch(s){case 13:10===t.charCodeAt(r+1)&&r++;case 10:if(r++,n)return r;o=!!a;continue;case 9:case 11:case 12:case 32:r++;continue;case 47:if(i)break;if(47===t.charCodeAt(r+1)){for(r+=2;r<t.length&&!C(t.charCodeAt(r));)r++;o=!1;continue}if(42===t.charCodeAt(r+1)){for(r+=2;r<t.length;){if(42===t.charCodeAt(r)&&47===t.charCodeAt(r+1)){r+=2;break}r++}o=!1;continue}break;case 60:case 124:case 61:case 62:if(N(t,r)){r=P(t,r),o=!1;continue}break;case 35:if(0===r&&w(t,r)){r=I(t,r),o=!1;continue}break;case 42:if(o){r++,o=!1;continue}break;default:if(s>127&&E(s)){r++;continue}}return r}};function N(t,r){if(e.Debug.assert(r>=0),0===r||C(t.charCodeAt(r-1))){var n=t.charCodeAt(r);if(r+7<t.length){for(var i=0;i<7;i++)if(t.charCodeAt(r+i)!==n)return!1;return 61===n||32===t.charCodeAt(r+7)}}return!1}function P(t,r,n){n&&n(e.Diagnostics.Merge_conflict_marker_encountered,r,7);var i=t.charCodeAt(r),a=t.length;if(60===i||62===i)for(;r<a&&!C(t.charCodeAt(r));)r++;else for(e.Debug.assert(124===i||61===i);r<a;){var o=t.charCodeAt(r);if((61===o||62===o)&&o!==i&&N(t,r))break;r++}return r}var F=/^#!.*/;function w(t,r){return e.Debug.assert(0===r),F.test(t)}function I(e,t){return t+F.exec(e)[0].length}function O(e,t,r,n,i,a,o){var s,c,u,l,p=!1,d=n,f=o;if(0===r){d=!0;var _=B(t);_&&(r=_.length)}e:for(;r>=0&&r<t.length;){var m=t.charCodeAt(r);switch(m){case 13:10===t.charCodeAt(r+1)&&r++;case 10:if(r++,n)break e;d=!0,p&&(l=!0);continue;case 9:case 11:case 12:case 32:r++;continue;case 47:var g=t.charCodeAt(r+1),h=!1;if(47===g||42===g){var y=47===g?2:3,v=r;if(r+=2,47===g)for(;r<t.length;){if(C(t.charCodeAt(r))){h=!0;break}r++}else for(;r<t.length;){if(42===t.charCodeAt(r)&&47===t.charCodeAt(r+1)){r+=2;break}r++}if(d){if(p&&(f=i(s,c,u,l,a,f),!e&&f))return f;s=v,c=r,u=y,l=h,p=!0}continue}break e;default:if(m>127&&E(m)){p&&C(m)&&(l=!0),r++;continue}break e}}return p&&(f=i(s,c,u,l,a,f)),f}function L(e,t,r,n,i){return O(!0,e,t,!1,r,n,i)}function M(e,t,r,n,i){return O(!0,e,t,!0,r,n,i)}function R(e,t,r,n,i,a){return a||(a=[]),a.push({kind:r,pos:e,end:t,hasTrailingNewLine:n}),a}function B(e){var t=F.exec(e);if(t)return t[0]}function j(e,t){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&m(e,t)}function K(e,t,r){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||1===r&&(45===e||58===e)||e>127&&function(e,t){return _(e,t>=2?p:1===t?u:s)}(e,t)}e.isShebangTrivia=w,e.scanShebangTrivia=I,e.forEachLeadingCommentRange=function(e,t,r,n){return O(!1,e,t,!1,r,n)},e.forEachTrailingCommentRange=function(e,t,r,n){return O(!1,e,t,!0,r,n)},e.reduceEachLeadingCommentRange=L,e.reduceEachTrailingCommentRange=M,e.getLeadingCommentRanges=function(e,t){return L(e,t,R,void 0,void 0)},e.getTrailingCommentRanges=function(e,t){return M(e,t,R,void 0,void 0)},e.getShebang=B,e.isIdentifierStart=j,e.isIdentifierPart=K,e.isIdentifierText=function(e,t,r){var n=J(e,0);if(!j(n,t))return!1;for(var i=U(n);i<e.length;i+=U(n))if(!K(n=J(e,i),t,r))return!1;return!0},e.createScanner=function(t,i,a,o,s,c,u){void 0===a&&(a=0);var l,p,_,m,g,h,y,v,D=o,b=0;ue(D,c,u);var x={getStartPos:function(){return _},getTextPos:function(){return l},getToken:function(){return g},getTokenPos:function(){return m},getTokenText:function(){return D.substring(m,l)},getTokenValue:function(){return h},hasUnicodeEscape:function(){return 0!=(1024&y)},hasExtendedUnicodeEscape:function(){return 0!=(8&y)},hasPrecedingLineBreak:function(){return 0!=(1&y)},hasPrecedingJSDocComment:function(){return 0!=(2&y)},isIdentifier:function(){return 79===g||g>116},isReservedWord:function(){return g>=81&&g<=116},isUnterminated:function(){return 0!=(4&y)},getCommentDirectives:function(){return v},getNumericLiteralFlags:function(){return 1008&y},getTokenFlags:function(){return y},reScanGreaterToken:function(){if(31===g){if(62===D.charCodeAt(l))return 62===D.charCodeAt(l+1)?61===D.charCodeAt(l+2)?(l+=3,g=72):(l+=2,g=49):61===D.charCodeAt(l+1)?(l+=2,g=71):(l++,g=48);if(61===D.charCodeAt(l))return l++,g=33}return g},reScanAsteriskEqualsToken:function(){return e.Debug.assert(66===g,"'reScanAsteriskEqualsToken' should only be called on a '*='"),l=m+1,g=63},reScanSlashToken:function(){if(43===g||68===g){for(var r=m+1,n=!1,i=!1;;){if(r>=p){y|=4,F(e.Diagnostics.Unterminated_regular_expression_literal);break}var a=D.charCodeAt(r);if(C(a)){y|=4,F(e.Diagnostics.Unterminated_regular_expression_literal);break}if(n)n=!1;else{if(47===a&&!i){r++;break}91===a?i=!0:92===a?n=!0:93===a&&(i=!1)}r++}for(;r<p&&K(D.charCodeAt(r),t);)r++;l=r,h=D.substring(m,l),g=13}return g},reScanTemplateToken:function(t){return e.Debug.assert(19===g,"'reScanTemplateToken' should only be called on a '}'"),l=m,g=H(t)},reScanTemplateHeadOrNoSubstitutionTemplate:function(){return l=m,g=H(!0)},scanJsxIdentifier:function(){if(r(g)){for(var e=!1;l<p;){var t=D.charCodeAt(l);if(45!==t)if(58!==t||e){var n=l;if(h+=Z(),l===n)break}else h+=":",l++,e=!0,g=79;else h+="-",l++}return":"===h.slice(-1)&&(h=h.slice(0,-1),l--),ee()}return g},scanJsxAttributeValue:se,reScanJsxAttributeValue:function(){return l=m=_,se()},reScanJsxToken:function(e){return void 0===e&&(e=!0),l=m=_,g=oe(e)},reScanLessThanToken:function(){return 47===g?(l=m+1,g=29):g},reScanHashToken:function(){return 80===g?(l=m+1,g=62):g},reScanQuestionToken:function(){return e.Debug.assert(60===g,"'reScanQuestionToken' should only be called on a '??'"),l=m+1,g=57},reScanInvalidIdentifier:function(){e.Debug.assert(0===g,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),l=m=_,y=0;var t=J(D,l),r=ie(t,99);return r?g=r:(l+=U(t),g)},scanJsxToken:oe,scanJsDocToken:function(){if(_=m=l,y=0,l>=p)return g=1;var e=J(D,l);switch(l+=U(e),e){case 9:case 11:case 12:case 32:for(;l<p&&S(D.charCodeAt(l));)l++;return g=5;case 64:return g=59;case 13:10===D.charCodeAt(l)&&l++;case 10:return y|=1,g=4;case 42:return g=41;case 123:return g=18;case 125:return g=19;case 91:return g=22;case 93:return g=23;case 60:return g=29;case 62:return g=31;case 61:return g=63;case 44:return g=27;case 46:return g=24;case 96:return g=61;case 35:return g=62;case 92:l--;var r=Q();if(r>=0&&j(r,t))return l+=3,y|=8,h=Y()+Z(),g=ee();var n=X();return n>=0&&j(n,t)?(l+=6,y|=1024,h=String.fromCharCode(n)+Z(),g=ee()):(l++,g=0)}if(j(e,t)){for(var i=e;l<p&&K(i=J(D,l),t)||45===D.charCodeAt(l);)l+=U(i);return h=D.substring(m,l),92===i&&(h+=Z()),g=ee()}return g=0},scan:ne,getText:function(){return D},clearCommentDirectives:function(){v=void 0},setText:ue,setScriptTarget:function(e){t=e},setLanguageVariant:function(e){a=e},setOnError:function(e){s=e},setTextPos:le,setInJSDocType:function(e){b+=e?1:-1},tryScan:function(e){return ce(e,!1)},lookAhead:function(e){return ce(e,!0)},scanRange:function(e,t,r){var n=p,i=l,a=_,o=m,s=g,c=h,u=y,d=v;ue(D,e,t);var f=r();return p=n,l=i,_=a,m=o,g=s,h=c,y=u,v=d,f}};return e.Debug.isDebugging&&Object.defineProperty(x,"__debugShowCurrentPositionInText",{get:function(){var e=x.getText();return e.slice(0,x.getStartPos())+"║"+e.slice(x.getStartPos())}}),x;function F(e,t,r){if(void 0===t&&(t=l),s){var n=l;l=t,s(e,r||0),l=n}}function O(){for(var t=l,r=!1,n=!1,i="";;){var a=D.charCodeAt(l);if(95!==a){if(!T(a))break;r=!0,n=!1,l++}else y|=512,r?(r=!1,n=!0,i+=D.substring(t,l)):F(n?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,l,1),t=++l}return 95===D.charCodeAt(l-1)&&F(e.Diagnostics.Numeric_separators_are_not_allowed_here,l-1,1),i+D.substring(t,l)}function L(){var t,r,n=l,i=O();46===D.charCodeAt(l)&&(l++,t=O());var a,o=l;if(69===D.charCodeAt(l)||101===D.charCodeAt(l)){l++,y|=16,(43===D.charCodeAt(l)||45===D.charCodeAt(l))&&l++;var s=l,c=O();c?(r=D.substring(o,s)+c,o=l):F(e.Diagnostics.Digit_expected)}if(512&y?(a=i,t&&(a+="."+t),r&&(a+=r)):a=D.substring(n,o),void 0!==t||16&y)return M(n,void 0===t&&!!(16&y)),{type:8,value:""+ +a};h=a;var u=re();return M(n),{type:u,value:h}}function M(r,n){if(j(J(D,l),t)){var i=l,a=Z().length;1===a&&"n"===D[i]?F(n?e.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:e.Diagnostics.A_bigint_literal_must_be_an_integer,r,i-r+1):(F(e.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,i,a),l=i)}}function R(){for(var e=l;A(D.charCodeAt(l));)l++;return+D.substring(e,l)}function B(e,t){var r=z(e,!1,t);return r?parseInt(r,16):-1}function q(e,t){return z(e,!0,t)}function z(t,r,n){for(var i=[],a=!1,o=!1;i.length<t||r;){var s=D.charCodeAt(l);if(n&&95===s)y|=512,a?(a=!1,o=!0):F(o?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,l,1),l++;else{if(a=n,s>=65&&s<=70)s+=32;else if(!(s>=48&&s<=57||s>=97&&s<=102))break;i.push(s),l++,o=!1}}return i.length<t&&(i=[]),95===D.charCodeAt(l-1)&&F(e.Diagnostics.Numeric_separators_are_not_allowed_here,l-1,1),String.fromCharCode.apply(String,i)}function W(t){void 0===t&&(t=!1);for(var r=D.charCodeAt(l),n="",i=++l;;){if(l>=p){n+=D.substring(i,l),y|=4,F(e.Diagnostics.Unterminated_string_literal);break}var a=D.charCodeAt(l);if(a===r){n+=D.substring(i,l),l++;break}if(92!==a||t){if(C(a)&&!t){n+=D.substring(i,l),y|=4,F(e.Diagnostics.Unterminated_string_literal);break}l++}else n+=D.substring(i,l),n+=G(),i=l}return n}function H(t){for(var r,n=96===D.charCodeAt(l),i=++l,a="";;){if(l>=p){a+=D.substring(i,l),y|=4,F(e.Diagnostics.Unterminated_template_literal),r=n?14:17;break}var o=D.charCodeAt(l);if(96===o){a+=D.substring(i,l),l++,r=n?14:17;break}if(36===o&&l+1<p&&123===D.charCodeAt(l+1)){a+=D.substring(i,l),l+=2,r=n?15:16;break}92!==o?13!==o?l++:(a+=D.substring(i,l),++l<p&&10===D.charCodeAt(l)&&l++,a+="\n",i=l):(a+=D.substring(i,l),a+=G(t),i=l)}return e.Debug.assert(void 0!==r),h=a,r}function G(t){var r=l;if(++l>=p)return F(e.Diagnostics.Unexpected_end_of_text),"";var n=D.charCodeAt(l);switch(l++,n){case 48:return t&&l<p&&T(D.charCodeAt(l))?(l++,y|=2048,D.substring(r,l)):"\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:if(t)for(var i=l;i<l+4;i++)if(i<p&&!k(D.charCodeAt(i))&&123!==D.charCodeAt(i))return l=i,y|=2048,D.substring(r,l);if(l<p&&123===D.charCodeAt(l)){if(l++,t&&!k(D.charCodeAt(l)))return y|=2048,D.substring(r,l);if(t){var a=l,o=q(1,!1);if(!function(e){return e<=1114111}(o?parseInt(o,16):-1)||125!==D.charCodeAt(l))return y|=2048,D.substring(r,l);l=a}return y|=8,Y()}return y|=1024,$(4);case 120:if(t){if(!k(D.charCodeAt(l)))return y|=2048,D.substring(r,l);if(!k(D.charCodeAt(l+1)))return l++,y|=2048,D.substring(r,l)}return $(2);case 13:l<p&&10===D.charCodeAt(l)&&l++;case 10:case 8232:case 8233:return"";default:return String.fromCharCode(n)}}function $(t){var r=B(t,!1);return r>=0?String.fromCharCode(r):(F(e.Diagnostics.Hexadecimal_digit_expected),"")}function Y(){var t=q(1,!1),r=t?parseInt(t,16):-1,n=!1;return r<0?(F(e.Diagnostics.Hexadecimal_digit_expected),n=!0):r>1114111&&(F(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),n=!0),l>=p?(F(e.Diagnostics.Unexpected_end_of_text),n=!0):125===D.charCodeAt(l)?l++:(F(e.Diagnostics.Unterminated_Unicode_escape_sequence),n=!0),n?"":V(r)}function X(){if(l+5<p&&117===D.charCodeAt(l+1)){var e=l;l+=2;var t=B(4,!1);return l=e,t}return-1}function Q(){if(t>=2&&117===J(D,l+1)&&123===J(D,l+2)){var e=l;l+=3;var r=q(1,!1),n=r?parseInt(r,16):-1;return l=e,n}return-1}function Z(){for(var e="",r=l;l<p;){var n=J(D,l);if(K(n,t))l+=U(n);else{if(92!==n)break;if((n=Q())>=0&&K(n,t)){l+=3,y|=8,e+=Y(),r=l;continue}if(!((n=X())>=0&&K(n,t)))break;y|=1024,e+=D.substring(r,l),e+=V(n),r=l+=6}}return e+D.substring(r,l)}function ee(){var e=h.length;if(e>=2&&e<=12){var t=h.charCodeAt(0);if(t>=97&&t<=122){var r=n.get(h);if(void 0!==r)return g=r}}return g=79}function te(t){for(var r="",n=!1,i=!1;;){var a=D.charCodeAt(l);if(95!==a){if(n=!0,!T(a)||a-48>=t)break;r+=D[l],l++,i=!1}else y|=512,n?(n=!1,i=!0):F(i?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,l,1),l++}return 95===D.charCodeAt(l-1)&&F(e.Diagnostics.Numeric_separators_are_not_allowed_here,l-1,1),r}function re(){if(110===D.charCodeAt(l))return h+="n",384&y&&(h=e.parsePseudoBigInt(h)+"n"),l++,9;var t=128&y?parseInt(h.slice(2),2):256&y?parseInt(h.slice(2),8):+h;return h=""+t,8}function ne(){var r;_=l,y=0;for(var n=!1;;){if(m=l,l>=p)return g=1;var o=J(D,l);if(35===o&&0===l&&w(D,l)){if(l=I(D,l),i)continue;return g=6}switch(o){case 10:case 13:if(y|=1,i){l++;continue}return 13===o&&l+1<p&&10===D.charCodeAt(l+1)?l+=2:l++,g=4;case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8203:case 8239:case 8287:case 12288:case 65279:if(i){l++;continue}for(;l<p&&S(D.charCodeAt(l));)l++;return g=5;case 33:return 61===D.charCodeAt(l+1)?61===D.charCodeAt(l+2)?(l+=3,g=37):(l+=2,g=35):(l++,g=53);case 34:case 39:return h=W(),g=10;case 96:return g=H(!1);case 37:return 61===D.charCodeAt(l+1)?(l+=2,g=69):(l++,g=44);case 38:return 38===D.charCodeAt(l+1)?61===D.charCodeAt(l+2)?(l+=3,g=76):(l+=2,g=55):61===D.charCodeAt(l+1)?(l+=2,g=73):(l++,g=50);case 40:return l++,g=20;case 41:return l++,g=21;case 42:if(61===D.charCodeAt(l+1))return l+=2,g=66;if(42===D.charCodeAt(l+1))return 61===D.charCodeAt(l+2)?(l+=3,g=67):(l+=2,g=42);if(l++,b&&!n&&1&y){n=!0;continue}return g=41;case 43:return 43===D.charCodeAt(l+1)?(l+=2,g=45):61===D.charCodeAt(l+1)?(l+=2,g=64):(l++,g=39);case 44:return l++,g=27;case 45:return 45===D.charCodeAt(l+1)?(l+=2,g=46):61===D.charCodeAt(l+1)?(l+=2,g=65):(l++,g=40);case 46:return T(D.charCodeAt(l+1))?(h=L().value,g=8):46===D.charCodeAt(l+1)&&46===D.charCodeAt(l+2)?(l+=3,g=25):(l++,g=24);case 47:if(47===D.charCodeAt(l+1)){for(l+=2;l<p&&!C(D.charCodeAt(l));)l++;if(v=ae(v,D.slice(m,l),d,m),i)continue;return g=2}if(42===D.charCodeAt(l+1)){l+=2,42===D.charCodeAt(l)&&47!==D.charCodeAt(l+1)&&(y|=2);for(var s=!1,c=m;l<p;){var u=D.charCodeAt(l);if(42===u&&47===D.charCodeAt(l+1)){l+=2,s=!0;break}l++,C(u)&&(c=l,y|=1)}if(v=ae(v,D.slice(c,l),f,c),s||F(e.Diagnostics.Asterisk_Slash_expected),i)continue;return s||(y|=4),g=3}return 61===D.charCodeAt(l+1)?(l+=2,g=68):(l++,g=43);case 48:if(l+2<p&&(88===D.charCodeAt(l+1)||120===D.charCodeAt(l+1)))return l+=2,(h=q(1,!0))||(F(e.Diagnostics.Hexadecimal_digit_expected),h="0"),h="0x"+h,y|=64,g=re();if(l+2<p&&(66===D.charCodeAt(l+1)||98===D.charCodeAt(l+1)))return l+=2,(h=te(2))||(F(e.Diagnostics.Binary_digit_expected),h="0"),h="0b"+h,y|=128,g=re();if(l+2<p&&(79===D.charCodeAt(l+1)||111===D.charCodeAt(l+1)))return l+=2,(h=te(8))||(F(e.Diagnostics.Octal_digit_expected),h="0"),h="0o"+h,y|=256,g=re();if(l+1<p&&A(D.charCodeAt(l+1)))return h=""+R(),y|=32,g=8;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return r=L(),g=r.type,h=r.value,g;case 58:return l++,g=58;case 59:return l++,g=26;case 60:if(N(D,l)){if(l=P(D,l,F),i)continue;return g=7}return 60===D.charCodeAt(l+1)?61===D.charCodeAt(l+2)?(l+=3,g=70):(l+=2,g=47):61===D.charCodeAt(l+1)?(l+=2,g=32):1===a&&47===D.charCodeAt(l+1)&&42!==D.charCodeAt(l+2)?(l+=2,g=30):(l++,g=29);case 61:if(N(D,l)){if(l=P(D,l,F),i)continue;return g=7}return 61===D.charCodeAt(l+1)?61===D.charCodeAt(l+2)?(l+=3,g=36):(l+=2,g=34):62===D.charCodeAt(l+1)?(l+=2,g=38):(l++,g=63);case 62:if(N(D,l)){if(l=P(D,l,F),i)continue;return g=7}return l++,g=31;case 63:return 46!==D.charCodeAt(l+1)||T(D.charCodeAt(l+2))?63===D.charCodeAt(l+1)?61===D.charCodeAt(l+2)?(l+=3,g=77):(l+=2,g=60):(l++,g=57):(l+=2,g=28);case 91:return l++,g=22;case 93:return l++,g=23;case 94:return 61===D.charCodeAt(l+1)?(l+=2,g=78):(l++,g=52);case 123:return l++,g=18;case 124:if(N(D,l)){if(l=P(D,l,F),i)continue;return g=7}return 124===D.charCodeAt(l+1)?61===D.charCodeAt(l+2)?(l+=3,g=75):(l+=2,g=56):61===D.charCodeAt(l+1)?(l+=2,g=74):(l++,g=51);case 125:return l++,g=19;case 126:return l++,g=54;case 64:return l++,g=59;case 92:var x=Q();if(x>=0&&j(x,t))return l+=3,y|=8,h=Y()+Z(),g=ee();var E=X();return E>=0&&j(E,t)?(l+=6,y|=1024,h=String.fromCharCode(E)+Z(),g=ee()):(F(e.Diagnostics.Invalid_character),l++,g=0);case 35:return 0!==l&&"!"===D[l+1]?(F(e.Diagnostics.can_only_be_used_at_the_start_of_a_file),l++,g=0):(j(J(D,l+1),t)?(l++,ie(J(D,l),t)):(h=String.fromCharCode(J(D,l)),F(e.Diagnostics.Invalid_character,l++,U(o))),g=80);default:var k=ie(o,t);if(k)return g=k;if(S(o)){l+=U(o);continue}if(C(o)){y|=1,l+=U(o);continue}var O=U(o);return F(e.Diagnostics.Invalid_character,l,O),l+=O,g=0}}}function ie(e,t){var r=e;if(j(r,t)){for(l+=U(r);l<p&&K(r=J(D,l),t);)l+=U(r);return h=D.substring(m,l),92===r&&(h+=Z()),ee()}}function ae(t,r,n,i){var a=function(e,t){var r=t.exec(e);if(r)switch(r[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}}(e.trimStringStart(r),n);return void 0===a?t:e.append(t,{range:{pos:i,end:l},type:a})}function oe(t){if(void 0===t&&(t=!0),_=m=l,l>=p)return g=1;var r=D.charCodeAt(l);if(60===r)return 47===D.charCodeAt(l+1)?(l+=2,g=30):(l++,g=29);if(123===r)return l++,g=18;for(var n=0;l<p&&123!==(r=D.charCodeAt(l));){if(60===r){if(N(D,l))return l=P(D,l,F),g=7;break}if(62===r&&F(e.Diagnostics.Unexpected_token_Did_you_mean_or_gt,l,1),125===r&&F(e.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace,l,1),C(r)&&0===n)n=-1;else{if(!t&&C(r)&&n>0)break;E(r)||(n=l)}l++}return h=D.substring(_,l),-1===n?12:11}function se(){switch(_=l,D.charCodeAt(l)){case 34:case 39:return h=W(!0),g=10;default:return ne()}}function ce(e,t){var r=l,n=_,i=m,a=g,o=h,s=y,c=e();return(!c||t)&&(l=r,_=n,m=i,g=a,h=o,y=s),c}function ue(e,t,r){D=e||"",p=void 0===r?D.length:t+r,le(t||0)}function le(t){e.Debug.assert(t>=0),l=t,_=t,m=t,g=0,h=void 0,y=0}};var J=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n=e.charCodeAt(t);if(n>=55296&&n<=56319&&r>t+1){var i=e.charCodeAt(t+1);if(i>=56320&&i<=57343)return 1024*(n-55296)+i-56320+65536}return n}};function U(e){return e>=65536?2:1}var q=String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(t){if(e.Debug.assert(0<=t&&t<=1114111),t<=65535)return String.fromCharCode(t);var r=Math.floor((t-65536)/1024)+55296,n=(t-65536)%1024+56320;return String.fromCharCode(r,n)};function V(e){return q(e)}e.utf16EncodeAsString=V}(n||(n={})),function(e){function t(e){return e.start+e.length}function r(e){return 0===e.length}function n(e,t){var r=a(e,t);return r&&0===r.length?void 0:r}function i(e,t,r,n){return r<=e+t&&r+n>=e}function a(e,r){var n=Math.max(e.start,r.start),i=Math.min(t(e),t(r));return n<=i?s(n,i):void 0}function o(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function s(e,t){return o(e,t-e)}function c(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function u(t){return!!Q(t)&&e.every(t.elements,l)}function l(t){return!!e.isOmittedExpression(t)||u(t.name)}function p(t){for(var r=t.parent;e.isBindingElement(r.parent);)r=r.parent.parent;return r.parent}function d(t,r){e.isBindingElement(t)&&(t=p(t));var n=r(t);return 253===t.kind&&(t=t.parent),t&&254===t.kind&&(n|=r(t),t=t.parent),t&&236===t.kind&&(n|=r(t)),n}function f(e){return 0==(8&e.flags)}function _(e){var t=e;return t.length>=3&&95===t.charCodeAt(0)&&95===t.charCodeAt(1)&&95===t.charCodeAt(2)?t.substr(1):t}function m(e){return _(e.escapedText)}function g(t){var r=t.parent.parent;if(r){if(se(r))return h(r);switch(r.kind){case 236:if(r.declarationList&&r.declarationList.declarations[0])return h(r.declarationList.declarations[0]);break;case 237:var n=r.expression;switch(220===n.kind&&63===n.operatorToken.kind&&(n=n.left),n.kind){case 205:return n.name;case 206:var i=n.argumentExpression;if(e.isIdentifier(i))return i}break;case 211:return h(r.expression);case 249:if(se(r.statement)||ne(r.statement))return h(r.statement)}}}function h(t){var r=b(t);return r&&e.isIdentifier(r)?r:void 0}function y(e){return e.name||g(e)}function v(e){return!!e.name}function D(t){switch(t.kind){case 79:return t;case 345:case 338:var r=t.name;if(160===r.kind)return r.right;break;case 207:case 220:var n=t;switch(e.getAssignmentDeclarationKind(n)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(n.left);case 7:case 8:case 9:return n.arguments[1];default:return}case 343:return y(t);case 337:return g(t);case 270:var i=t.expression;return e.isIdentifier(i)?i:void 0;case 206:var a=t;if(e.isBindableStaticElementAccessExpression(a))return a.argumentExpression}return t.name}function b(t){if(void 0!==t)return D(t)||(e.isFunctionExpression(t)||e.isArrowFunction(t)||e.isClassExpression(t)?x(t):void 0)}function x(t){if(t.parent){if(e.isPropertyAssignment(t.parent)||e.isBindingElement(t.parent))return t.parent.name;if(e.isBinaryExpression(t.parent)&&t===t.parent.right){if(e.isIdentifier(t.parent.left))return t.parent.left;if(e.isAccessExpression(t.parent.left))return e.getElementOrPropertyAccessArgumentExpressionOrName(t.parent.left)}else if(e.isVariableDeclaration(t.parent)&&e.isIdentifier(t.parent.name))return t.parent.name}}function E(t,r){if(t.name){if(e.isIdentifier(t.name)){var n=t.name.escapedText;return N(t.parent,r).filter((function(t){return e.isJSDocParameterTag(t)&&e.isIdentifier(t.name)&&t.name.escapedText===n}))}var i=t.parent.parameters.indexOf(t);e.Debug.assert(i>-1,"Parameters should always be in their parents' parameter list");var a=N(t.parent,r).filter(e.isJSDocParameterTag);if(i<a.length)return[a[i]]}return e.emptyArray}function S(e){return E(e,!1)}function C(t,r){var n=t.name.escapedText;return N(t.parent,r).filter((function(t){return e.isJSDocTemplateTag(t)&&t.typeParameters.some((function(e){return e.name.escapedText===n}))}))}function T(t){return F(t,e.isJSDocReturnTag)}function k(t){var r=F(t,e.isJSDocTypeTag);if(r&&r.typeExpression&&r.typeExpression.type)return r}function A(t){var r=F(t,e.isJSDocTypeTag);return!r&&e.isParameter(t)&&(r=e.find(S(t),(function(e){return!!e.typeExpression}))),r&&r.typeExpression&&r.typeExpression.type}function N(t,r){var n=t.jsDocCache;if(void 0===n||r){var i=e.getJSDocCommentsAndTags(t,r);e.Debug.assert(i.length<2||i[0]!==i[1]),n=e.flatMap(i,(function(t){return e.isJSDoc(t)?t.tags:t})),r||(t.jsDocCache=n)}return n}function P(e){return N(e,!1)}function F(t,r,n){return e.find(N(t,n),r)}function w(e,t){return P(e).filter(t)}function I(e){var t=e.kind;return!!(32&e.flags)&&(205===t||206===t||207===t||229===t)}function O(t){return I(t)&&!e.isNonNullExpression(t)&&!!t.questionDotToken}function L(t){return e.skipOuterExpressions(t,8)}function M(e){switch(e.kind){case 300:case 301:return!0;default:return!1}}function R(e){return e>=160}function B(e){return e>=0&&e<=159}function j(e){return 8<=e&&e<=14}function K(e){return 14<=e&&e<=17}function J(t){return(e.isPropertyDeclaration(t)||$(t))&&e.isPrivateIdentifier(t.name)}function U(e){switch(e){case 126:case 131:case 85:case 135:case 88:case 93:case 123:case 121:case 122:case 144:case 124:case 158:return!0}return!1}function q(t){return!!(16476&e.modifierToFlag(t))}function V(e){return!!e&&W(e.kind)}function z(e){switch(e){case 255:case 168:case 170:case 171:case 172:case 212:case 213:return!0;default:return!1}}function W(e){switch(e){case 167:case 173:case 321:case 174:case 175:case 178:case 315:case 179:return!0;default:return z(e)}}function H(e){var t=e.kind;return 170===t||166===t||168===t||171===t||172===t||175===t||169===t||233===t}function G(e){return e&&(256===e.kind||225===e.kind)}function $(e){switch(e.kind){case 168:case 171:case 172:return!0;default:return!1}}function Y(e){var t=e.kind;return 174===t||173===t||165===t||167===t||175===t}function X(e){var t=e.kind;return 294===t||295===t||296===t||168===t||171===t||172===t}function Q(e){if(e){var t=e.kind;return 201===t||200===t}return!1}function Z(e){switch(e.kind){case 200:case 204:return!0}return!1}function ee(e){switch(e.kind){case 201:case 203:return!0}return!1}function te(e){switch(e){case 205:case 206:case 208:case 207:case 277:case 278:case 281:case 209:case 203:case 211:case 204:case 225:case 212:case 79:case 80:case 13:case 8:case 9:case 10:case 14:case 222:case 95:case 104:case 108:case 110:case 106:case 229:case 230:case 100:return!0;default:return!1}}function re(e){switch(e){case 218:case 219:case 214:case 215:case 216:case 217:case 210:return!0;default:return te(e)}}function ne(e){return function(e){switch(e){case 221:case 223:case 213:case 220:case 224:case 228:case 226:case 349:case 348:return!0;default:return re(e)}}(L(e).kind)}function ie(t){return e.isExportAssignment(t)||e.isExportDeclaration(t)}function ae(e){return 255===e||275===e||256===e||257===e||258===e||259===e||260===e||265===e||264===e||271===e||270===e||263===e}function oe(e){return 245===e||244===e||252===e||239===e||237===e||235===e||242===e||243===e||241===e||238===e||249===e||246===e||248===e||250===e||251===e||236===e||240===e||247===e||347===e||351===e||350===e}function se(t){return 162===t.kind?t.parent&&342!==t.parent.kind||e.isInJSFile(t):function(e){return 213===e||202===e||256===e||225===e||169===e||170===e||259===e||297===e||274===e||255===e||212===e||171===e||266===e||264===e||269===e||257===e||284===e||168===e||167===e||260===e||263===e||267===e||273===e||163===e||294===e||166===e||165===e||172===e||295===e||258===e||162===e||253===e||343===e||336===e||345===e}(t.kind)}function ce(e){return e.kind>=325&&e.kind<=345}e.isExternalModuleNameRelative=function(t){return e.pathIsRelative(t)||e.isRootedDiskPath(t)},e.sortAndDeduplicateDiagnostics=function(t){return e.sortAndDeduplicate(t,e.compareDiagnostics)},e.getDefaultLibFileName=function(t){switch(e.getEmitScriptTarget(t)){case 99:return"lib.esnext.full.d.ts";case 9:return"lib.es2022.full.d.ts";case 8:return"lib.es2021.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"}},e.textSpanEnd=t,e.textSpanIsEmpty=r,e.textSpanContainsPosition=function(e,r){return r>=e.start&&r<t(e)},e.textRangeContainsPositionInclusive=function(e,t){return t>=e.pos&&t<=e.end},e.textSpanContainsTextSpan=function(e,r){return r.start>=e.start&&t(r)<=t(e)},e.textSpanOverlapsWith=function(e,t){return void 0!==n(e,t)},e.textSpanOverlap=n,e.textSpanIntersectsWithTextSpan=function(e,t){return i(e.start,e.length,t.start,t.length)},e.textSpanIntersectsWith=function(e,t,r){return i(e.start,e.length,t,r)},e.decodedTextSpanIntersectsWith=i,e.textSpanIntersectsWithPosition=function(e,r){return r<=t(e)&&r>=e.start},e.textSpanIntersection=a,e.createTextSpan=o,e.createTextSpanFromBounds=s,e.textChangeRangeNewSpan=function(e){return o(e.span.start,e.newLength)},e.textChangeRangeIsUnchanged=function(e){return r(e.span)&&0===e.newLength},e.createTextChangeRange=c,e.unchangedTextChangeRange=c(o(0,0),0),e.collapseTextChangeRangesAcrossMultipleVersions=function(r){if(0===r.length)return e.unchangedTextChangeRange;if(1===r.length)return r[0];for(var n=r[0],i=n.span.start,a=t(n.span),o=i+n.newLength,u=1;u<r.length;u++){var l=r[u],p=i,d=a,f=o,_=l.span.start,m=t(l.span),g=_+l.newLength;i=Math.min(p,_),a=Math.max(d,d+(m-f)),o=Math.max(g,g+(f-m))}return c(s(i,a),o-i)},e.getTypeParameterOwner=function(e){if(e&&162===e.kind)for(var t=e;t;t=t.parent)if(V(t)||G(t)||257===t.kind)return t},e.isParameterPropertyDeclaration=function(t,r){return e.hasSyntacticModifier(t,16476)&&170===r.kind},e.isEmptyBindingPattern=u,e.isEmptyBindingElement=l,e.walkUpBindingElementsAndPatterns=p,e.getCombinedModifierFlags=function(t){return d(t,e.getEffectiveModifierFlags)},e.getCombinedNodeFlagsAlwaysIncludeJSDoc=function(t){return d(t,e.getEffectiveModifierFlagsAlwaysIncludeJSDoc)},e.getCombinedNodeFlags=function(e){return d(e,(function(e){return e.flags}))},e.supportedLocaleDirectories=["cs","de","es","fr","it","ja","ko","pl","pt-br","ru","tr","zh-cn","zh-tw"],e.validateLocaleAndSetLanguage=function(t,r,n){var i=t.toLowerCase(),a=/^([a-z]+)([_\-]([a-z]+))?$/.exec(i);if(a){var o=a[1],s=a[3];e.contains(e.supportedLocaleDirectories,i)&&!c(o,s,n)&&c(o,void 0,n),e.setUILocale(t)}else n&&n.push(e.createCompilerDiagnostic(e.Diagnostics.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"));function c(t,n,i){var a=e.normalizePath(r.getExecutingFilePath()),o=e.getDirectoryPath(a),s=e.combinePaths(o,t);if(n&&(s=s+"-"+n),s=r.resolvePath(e.combinePaths(s,"diagnosticMessages.generated.json")),!r.fileExists(s))return!1;var c="";try{c=r.readFile(s)}catch{return i&&i.push(e.createCompilerDiagnostic(e.Diagnostics.Unable_to_open_file_0,s)),!1}try{e.setLocalizedDiagnosticMessages(JSON.parse(c))}catch{return i&&i.push(e.createCompilerDiagnostic(e.Diagnostics.Corrupted_locale_file_0,s)),!1}return!0}},e.getOriginalNode=function(e,t){if(e)for(;void 0!==e.original;)e=e.original;return!t||t(e)?e:void 0},e.findAncestor=function(e,t){for(;e;){var r=t(e);if("quit"===r)return;if(r)return e;e=e.parent}},e.isParseTreeNode=f,e.getParseTreeNode=function(e,t){if(void 0===e||f(e))return e;for(e=e.original;e;){if(f(e))return!t||t(e)?e:void 0;e=e.original}},e.escapeLeadingUnderscores=function(e){return e.length>=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e},e.unescapeLeadingUnderscores=_,e.idText=m,e.symbolName=function(e){return e.valueDeclaration&&J(e.valueDeclaration)?m(e.valueDeclaration.name):_(e.escapedName)},e.nodeHasName=function t(r,n){return!!(v(r)&&e.isIdentifier(r.name)&&m(r.name)===m(n)||e.isVariableStatement(r)&&e.some(r.declarationList.declarations,(function(e){return t(e,n)})))},e.getNameOfJSDocTypedef=y,e.isNamedDeclaration=v,e.getNonAssignedNameOfDeclaration=D,e.getNameOfDeclaration=b,e.getAssignedName=x,e.getJSDocParameterTags=S,e.getJSDocParameterTagsNoCache=function(e){return E(e,!0)},e.getJSDocTypeParameterTags=function(e){return C(e,!1)},e.getJSDocTypeParameterTagsNoCache=function(e){return C(e,!0)},e.hasJSDocParameterTags=function(t){return!!F(t,e.isJSDocParameterTag)},e.getJSDocAugmentsTag=function(t){return F(t,e.isJSDocAugmentsTag)},e.getJSDocImplementsTags=function(t){return w(t,e.isJSDocImplementsTag)},e.getJSDocClassTag=function(t){return F(t,e.isJSDocClassTag)},e.getJSDocPublicTag=function(t){return F(t,e.isJSDocPublicTag)},e.getJSDocPublicTagNoCache=function(t){return F(t,e.isJSDocPublicTag,!0)},e.getJSDocPrivateTag=function(t){return F(t,e.isJSDocPrivateTag)},e.getJSDocPrivateTagNoCache=function(t){return F(t,e.isJSDocPrivateTag,!0)},e.getJSDocProtectedTag=function(t){return F(t,e.isJSDocProtectedTag)},e.getJSDocProtectedTagNoCache=function(t){return F(t,e.isJSDocProtectedTag,!0)},e.getJSDocReadonlyTag=function(t){return F(t,e.isJSDocReadonlyTag)},e.getJSDocReadonlyTagNoCache=function(t){return F(t,e.isJSDocReadonlyTag,!0)},e.getJSDocOverrideTagNoCache=function(t){return F(t,e.isJSDocOverrideTag,!0)},e.getJSDocDeprecatedTag=function(t){return F(t,e.isJSDocDeprecatedTag)},e.getJSDocDeprecatedTagNoCache=function(t){return F(t,e.isJSDocDeprecatedTag,!0)},e.getJSDocEnumTag=function(t){return F(t,e.isJSDocEnumTag)},e.getJSDocThisTag=function(t){return F(t,e.isJSDocThisTag)},e.getJSDocReturnTag=T,e.getJSDocTemplateTag=function(t){return F(t,e.isJSDocTemplateTag)},e.getJSDocTypeTag=k,e.getJSDocType=A,e.getJSDocReturnType=function(t){var r=T(t);if(r&&r.typeExpression)return r.typeExpression.type;var n=k(t);if(n&&n.typeExpression){var i=n.typeExpression.type;if(e.isTypeLiteralNode(i)){var a=e.find(i.members,e.isCallSignatureDeclaration);return a&&a.type}if(e.isFunctionTypeNode(i)||e.isJSDocFunctionType(i))return i.type}},e.getJSDocTags=P,e.getJSDocTagsNoCache=function(e){return N(e,!0)},e.getAllJSDocTags=w,e.getAllJSDocTagsOfKind=function(e,t){return P(e).filter((function(e){return e.kind===t}))},e.getTextOfJSDocComment=function(t){return"string"==typeof t?t:null==t?void 0:t.map((function(t){return 319===t.kind?t.text:function(t){var r=322===t.kind?"link":323===t.kind?"linkcode":"linkplain",n=t.name?e.entityNameToString(t.name):"",i=t.name&&t.text.startsWith("://")?"":" ";return"{@".concat(r," ").concat(n).concat(i).concat(t.text,"}")}(t)})).join("")},e.getEffectiveTypeParameterDeclarations=function(t){if(e.isJSDocSignature(t))return e.emptyArray;if(e.isJSDocTypeAlias(t))return e.Debug.assert(318===t.parent.kind),e.flatMap(t.parent.tags,(function(t){return e.isJSDocTemplateTag(t)?t.typeParameters:void 0}));if(t.typeParameters)return t.typeParameters;if(e.isInJSFile(t)){var r=e.getJSDocTypeParameterDeclarations(t);if(r.length)return r;var n=A(t);if(n&&e.isFunctionTypeNode(n)&&n.typeParameters)return n.typeParameters}return e.emptyArray},e.getEffectiveConstraintOfTypeParameter=function(t){return t.constraint?t.constraint:e.isJSDocTemplateTag(t.parent)&&t===t.parent.typeParameters[0]?t.parent.constraint:void 0},e.isMemberName=function(e){return 79===e.kind||80===e.kind},e.isGetOrSetAccessorDeclaration=function(e){return 172===e.kind||171===e.kind},e.isPropertyAccessChain=function(t){return e.isPropertyAccessExpression(t)&&!!(32&t.flags)},e.isElementAccessChain=function(t){return e.isElementAccessExpression(t)&&!!(32&t.flags)},e.isCallChain=function(t){return e.isCallExpression(t)&&!!(32&t.flags)},e.isOptionalChain=I,e.isOptionalChainRoot=O,e.isExpressionOfOptionalChainRoot=function(e){return O(e.parent)&&e.parent.expression===e},e.isOutermostOptionalChain=function(e){return!I(e.parent)||O(e.parent)||e!==e.parent.expression},e.isNullishCoalesce=function(e){return 220===e.kind&&60===e.operatorToken.kind},e.isConstTypeReference=function(t){return e.isTypeReferenceNode(t)&&e.isIdentifier(t.typeName)&&"const"===t.typeName.escapedText&&!t.typeArguments},e.skipPartiallyEmittedExpressions=L,e.isNonNullChain=function(t){return e.isNonNullExpression(t)&&!!(32&t.flags)},e.isBreakOrContinueStatement=function(e){return 245===e.kind||244===e.kind},e.isNamedExportBindings=function(e){return 273===e.kind||272===e.kind},e.isUnparsedTextLike=M,e.isUnparsedNode=function(e){return M(e)||298===e.kind||302===e.kind},e.isJSDocPropertyLikeTag=function(e){return 345===e.kind||338===e.kind},e.isNode=function(e){return R(e.kind)},e.isNodeKind=R,e.isTokenKind=B,e.isToken=function(e){return B(e.kind)},e.isNodeArray=function(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")},e.isLiteralKind=j,e.isLiteralExpression=function(e){return j(e.kind)},e.isTemplateLiteralKind=K,e.isTemplateLiteralToken=function(e){return K(e.kind)},e.isTemplateMiddleOrTemplateTail=function(e){var t=e.kind;return 16===t||17===t},e.isImportOrExportSpecifier=function(t){return e.isImportSpecifier(t)||e.isExportSpecifier(t)},e.isTypeOnlyImportOrExportDeclaration=function(e){switch(e.kind){case 269:case 274:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 267:return e.parent.isTypeOnly;case 266:case 264:return e.isTypeOnly;default:return!1}},e.isAssertionKey=function(t){return e.isStringLiteral(t)||e.isIdentifier(t)},e.isStringTextContainingNode=function(e){return 10===e.kind||K(e.kind)},e.isGeneratedIdentifier=function(t){return e.isIdentifier(t)&&(7&t.autoGenerateFlags)>0},e.isPrivateIdentifierClassElementDeclaration=J,e.isPrivateIdentifierPropertyAccessExpression=function(t){return e.isPropertyAccessExpression(t)&&e.isPrivateIdentifier(t.name)},e.isModifierKind=U,e.isParameterPropertyModifier=q,e.isClassMemberModifier=function(e){return q(e)||124===e||158===e},e.isModifier=function(e){return U(e.kind)},e.isEntityName=function(e){var t=e.kind;return 160===t||79===t},e.isPropertyName=function(e){var t=e.kind;return 79===t||80===t||10===t||8===t||161===t},e.isBindingName=function(e){var t=e.kind;return 79===t||200===t||201===t},e.isFunctionLike=V,e.isFunctionLikeOrClassStaticBlockDeclaration=function(t){return!!t&&(W(t.kind)||e.isClassStaticBlockDeclaration(t))},e.isFunctionLikeDeclaration=function(e){return e&&z(e.kind)},e.isBooleanLiteral=function(e){return 110===e.kind||95===e.kind},e.isFunctionLikeKind=W,e.isFunctionOrModuleBlock=function(t){return e.isSourceFile(t)||e.isModuleBlock(t)||e.isBlock(t)&&V(t.parent)},e.isClassElement=H,e.isClassLike=G,e.isAccessor=function(e){return e&&(171===e.kind||172===e.kind)},e.isMethodOrAccessor=$,e.isTypeElement=Y,e.isClassOrTypeElement=function(e){return Y(e)||H(e)},e.isObjectLiteralElementLike=X,e.isTypeNode=function(t){return e.isTypeNodeKind(t.kind)},e.isFunctionOrConstructorTypeNode=function(e){switch(e.kind){case 178:case 179:return!0}return!1},e.isBindingPattern=Q,e.isAssignmentPattern=function(e){var t=e.kind;return 203===t||204===t},e.isArrayBindingElement=function(e){var t=e.kind;return 202===t||226===t},e.isDeclarationBindingElement=function(e){switch(e.kind){case 253:case 163:case 202:return!0}return!1},e.isBindingOrAssignmentPattern=function(e){return Z(e)||ee(e)},e.isObjectBindingOrAssignmentPattern=Z,e.isObjectBindingOrAssignmentElement=function(e){switch(e.kind){case 202:case 294:case 295:case 296:return!0}return!1},e.isArrayBindingOrAssignmentPattern=ee,e.isPropertyAccessOrQualifiedNameOrImportTypeNode=function(e){var t=e.kind;return 205===t||160===t||199===t},e.isPropertyAccessOrQualifiedName=function(e){var t=e.kind;return 205===t||160===t},e.isCallLikeExpression=function(e){switch(e.kind){case 279:case 278:case 207:case 208:case 209:case 164:return!0;default:return!1}},e.isCallOrNewExpression=function(e){return 207===e.kind||208===e.kind},e.isTemplateLiteral=function(e){var t=e.kind;return 222===t||14===t},e.isLeftHandSideExpression=function(e){return te(L(e).kind)},e.isUnaryExpression=function(e){return re(L(e).kind)},e.isUnaryExpressionWithWrite=function(e){switch(e.kind){case 219:return!0;case 218:return 45===e.operator||46===e.operator;default:return!1}},e.isExpression=ne,e.isAssertionExpression=function(e){var t=e.kind;return 210===t||228===t},e.isNotEmittedOrPartiallyEmittedNode=function(t){return e.isNotEmittedStatement(t)||e.isPartiallyEmittedExpression(t)},e.isIterationStatement=function e(t,r){switch(t.kind){case 241:case 242:case 243:case 239:case 240:return!0;case 249:return r&&e(t.statement,r)}return!1},e.isScopeMarker=ie,e.hasScopeMarker=function(t){return e.some(t,ie)},e.needsScopeMarker=function(t){return!(e.isAnyImportOrReExport(t)||e.isExportAssignment(t)||e.hasSyntacticModifier(t,1)||e.isAmbientModule(t))},e.isExternalModuleIndicator=function(t){return e.isAnyImportOrReExport(t)||e.isExportAssignment(t)||e.hasSyntacticModifier(t,1)},e.isForInOrOfStatement=function(e){return 242===e.kind||243===e.kind},e.isConciseBody=function(t){return e.isBlock(t)||ne(t)},e.isFunctionBody=function(t){return e.isBlock(t)},e.isForInitializer=function(t){return e.isVariableDeclarationList(t)||ne(t)},e.isModuleBody=function(e){var t=e.kind;return 261===t||260===t||79===t},e.isNamespaceBody=function(e){var t=e.kind;return 261===t||260===t},e.isJSDocNamespaceBody=function(e){var t=e.kind;return 79===t||260===t},e.isNamedImportBindings=function(e){var t=e.kind;return 268===t||267===t},e.isModuleOrEnumDeclaration=function(e){return 260===e.kind||259===e.kind},e.isDeclaration=se,e.isDeclarationStatement=function(e){return ae(e.kind)},e.isStatementButNotDeclaration=function(e){return oe(e.kind)},e.isStatement=function(t){var r=t.kind;return oe(r)||ae(r)||function(t){return 234===t.kind&&(void 0===t.parent||251!==t.parent.kind&&291!==t.parent.kind)&&!e.isFunctionBlock(t)}(t)},e.isStatementOrBlock=function(e){var t=e.kind;return oe(t)||ae(t)||234===t},e.isModuleReference=function(e){var t=e.kind;return 276===t||160===t||79===t},e.isJsxTagNameExpression=function(e){var t=e.kind;return 108===t||79===t||205===t},e.isJsxChild=function(e){var t=e.kind;return 277===t||287===t||278===t||11===t||281===t},e.isJsxAttributeLike=function(e){var t=e.kind;return 284===t||286===t},e.isStringLiteralOrJsxExpression=function(e){var t=e.kind;return 10===t||287===t},e.isJsxOpeningLikeElement=function(e){var t=e.kind;return 279===t||278===t},e.isCaseOrDefaultClause=function(e){var t=e.kind;return 288===t||289===t},e.isJSDocNode=function(e){return e.kind>=307&&e.kind<=345},e.isJSDocCommentContainingNode=function(t){return 318===t.kind||317===t.kind||319===t.kind||le(t)||ce(t)||e.isJSDocTypeLiteral(t)||e.isJSDocSignature(t)},e.isJSDocTag=ce,e.isSetAccessor=function(e){return 172===e.kind},e.isGetAccessor=function(e){return 171===e.kind},e.hasJSDocNodes=function(e){var t=e.jsDoc;return!!t&&t.length>0},e.hasType=function(e){return!!e.type},e.hasInitializer=function(e){return!!e.initializer},e.hasOnlyExpressionInitializer=function(e){switch(e.kind){case 253:case 163:case 202:case 165:case 166:case 294:case 297:return!0;default:return!1}},e.isObjectLiteralElement=function(e){return 284===e.kind||286===e.kind||X(e)},e.isTypeReferenceType=function(e){return 177===e.kind||227===e.kind};var ue=1073741823;function le(e){return 322===e.kind||323===e.kind||324===e.kind}e.guessIndentation=function(t){for(var r=ue,n=0,i=t;n<i.length;n++){var a=i[n];if(a.length){for(var o=0;o<a.length&&o<r&&e.isWhiteSpaceLike(a.charCodeAt(o));o++);if(o<r&&(r=o),0===r)return 0}}return r===ue?void 0:r},e.isStringLiteralLike=function(e){return 10===e.kind||14===e.kind},e.isJSDocLinkLike=le}(n||(n={})),function(e){e.resolvingEmptyArray=[],e.externalHelpersModuleNameText="tslib",e.defaultMaximumTruncationLength=160,e.noTruncationMaximumTruncationLength=1e6,e.getDeclarationOfKind=function(e,t){var r=e.declarations;if(r)for(var n=0,i=r;n<i.length;n++){var a=i[n];if(a.kind===t)return a}},e.getDeclarationsOfKind=function(t,r){return e.filter(t.declarations||e.emptyArray,(function(e){return e.kind===r}))},e.createSymbolTable=function(t){var r=new e.Map;if(t)for(var n=0,i=t;n<i.length;n++){var a=i[n];r.set(a.escapedName,a)}return r},e.isTransientSymbol=function(e){return 0!=(33554432&e.flags)};var t,r=function(){var t="",r=function(e){return t+=e};return{getText:function(){return t},write:r,rawWrite:r,writeKeyword:r,writeOperator:r,writePunctuation:r,writeSpace:r,writeStringLiteral:r,writeLiteral:r,writeParameter:r,writeProperty:r,writeSymbol:function(e,t){return r(e)},writeTrailingSemicolon:r,writeComment:r,getTextPos:function(){return t.length},getLine:function(){return 0},getColumn:function(){return 0},getIndent:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingComment:function(){return!1},hasTrailingWhitespace:function(){return!!t.length&&e.isWhiteSpaceLike(t.charCodeAt(t.length-1))},writeLine:function(){return t+=" "},increaseIndent:e.noop,decreaseIndent:e.noop,clear:function(){return t=""},trackSymbol:function(){return!1},reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop}}();function n(t,r){return i(t,r,e.moduleResolutionOptionDeclarations)}function i(e,t,r){return e!==t&&r.some((function(r){return!li(Nn(e,r),Nn(t,r))}))}function s(e){return e.end-e.pos}function c(e){var t=e.name,r=e.subModuleName;return r?"".concat(t,"/").concat(r):t}function u(t){return function(t){524288&t.flags||((0!=(65536&t.flags)||e.forEachChild(t,u))&&(t.flags|=262144),t.flags|=524288)}(t),0!=(262144&t.flags)}function l(e){for(;e&&303!==e.kind;)e=e.parent;return e}function p(t,r){e.Debug.assert(t>=0);var n=e.getLineStarts(r),i=t,a=r.text;if(i+1===n.length)return a.length-1;var o=n[i],s=n[i+1]-1;for(e.Debug.assert(e.isLineBreak(a.charCodeAt(s)));o<=s&&e.isLineBreak(a.charCodeAt(s));)s--;return s}function d(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function f(e){return!d(e)}function _(e,t,r){if(void 0===t||0===t.length)return e;for(var n=0;n<e.length&&r(e[n]);++n);return e.splice.apply(e,a([n,0],t,!1)),e}function m(e,t,r){if(void 0===t)return e;for(var n=0;n<e.length&&r(e[n]);++n);return e.splice(n,0,t),e}function g(e){return G(e)||!!(1048576&E(e))}function h(e,t){return 42===e.charCodeAt(t+1)&&33===e.charCodeAt(t+2)}function y(t,r,n){return d(t)?t.pos:e.isJSDocNode(t)||11===t.kind?e.skipTrivia((r||l(t)).text,t.pos,!1,!0):n&&e.hasJSDocNodes(t)?y(t.jsDoc[0],r):346===t.kind&&t._children.length>0?y(t._children[0],r,n):e.skipTrivia((r||l(t)).text,t.pos,!1,!1,ye(t))}function v(e,t,r){return void 0===r&&(r=!1),D(e.text,t,r)}function D(t,r,n){if(void 0===n&&(n=!1),d(r))return"";var i=t.substring(n?r.pos:e.skipTrivia(t,r.pos),r.end);return function(t){return!!e.findAncestor(t,e.isJSDocTypeExpression)}(r)&&(i=i.split(/\r\n|\n|\r/).map((function(t){return e.trimStringStart(t.replace(/^\s*\*/,""))})).join("\n")),i}function b(e,t){return void 0===t&&(t=!1),v(l(e),e,t)}function x(e){return e.pos}function E(e){var t=e.emitNode;return t&&t.flags||0}function S(e){var t=Tt(e);return 253===t.kind&&291===t.parent.kind}function C(t){return e.isModuleDeclaration(t)&&(10===t.name.kind||k(t))}function T(t){return e.isModuleDeclaration(t)||e.isIdentifier(t)}function k(e){return!!(1024&e.flags)}function A(e){return C(e)&&N(e)}function N(t){switch(t.parent.kind){case 303:return e.isExternalModule(t.parent);case 261:return C(t.parent.parent)&&e.isSourceFile(t.parent.parent.parent)&&!e.isExternalModule(t.parent.parent.parent)}return!1}function P(t){var r;return null===(r=t.declarations)||void 0===r?void 0:r.find((function(t){return!(A(t)||e.isModuleDeclaration(t)&&k(t))}))}function F(t,r){switch(t.kind){case 303:case 262:case 291:case 260:case 241:case 242:case 243:case 170:case 168:case 171:case 172:case 255:case 212:case 213:case 166:case 169:return!0;case 234:return!e.isFunctionLikeOrClassStaticBlockDeclaration(r)}return!1}function w(t){switch(t.kind){case 173:case 174:case 167:case 175:case 178:case 179:case 315:case 256:case 225:case 257:case 258:case 342:case 255:case 168:case 170:case 171:case 172:case 212:case 213:return!0;default:return e.assertType(t),!1}}function I(e){switch(e.kind){case 265:case 264:return!0;default:return!1}}function O(t){return I(t)||e.isExportDeclaration(t)}function L(t){return e.findAncestor(t.parent,(function(e){return F(e,e.parent)}))}function M(e){return e&&0!==s(e)?b(e):"(Missing)"}function R(t){switch(t.kind){case 79:case 80:return t.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(t.text);case 161:return vt(t.expression)?e.escapeLeadingUnderscores(t.expression.text):e.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return e.Debug.assertNever(t)}}function B(t){switch(t.kind){case 108:return"this";case 80:case 79:return 0===s(t)?e.idText(t):b(t);case 160:return B(t.left)+"."+B(t.right);case 205:return e.isIdentifier(t.name)||e.isPrivateIdentifier(t.name)?B(t.expression)+"."+B(t.name):e.Debug.assertNever(t.name);case 309:return B(t.left)+B(t.right);default:return e.Debug.assertNever(t)}}function j(e,t,r,n,i,a,o){var s=q(e,t);return hn(e,s.start,s.length,r,n,i,a,o)}function K(t,r,n){e.Debug.assertGreaterThanOrEqual(r,0),e.Debug.assertGreaterThanOrEqual(n,0),t&&(e.Debug.assertLessThanOrEqual(r,t.text.length),e.Debug.assertLessThanOrEqual(r+n,t.text.length))}function J(e,t,r,n,i){return K(e,t,r),{file:e,start:t,length:r,code:n.code,category:n.category,messageText:n.next?n:n.messageText,relatedInformation:i}}function U(t,r){var n=e.createScanner(t.languageVersion,!0,t.languageVariant,t.text,void 0,r);n.scan();var i=n.getTokenPos();return e.createTextSpanFromBounds(i,n.getTextPos())}function q(t,r){var n=r;switch(r.kind){case 303:var i=e.skipTrivia(t.text,0,!1);return i===t.text.length?e.createTextSpan(0,0):U(t,i);case 253:case 202:case 256:case 225:case 257:case 260:case 259:case 297:case 255:case 212:case 168:case 171:case 172:case 258:case 166:case 165:case 267:n=r.name;break;case 213:return function(t,r){var n=e.skipTrivia(t.text,r.pos);if(r.body&&234===r.body.kind){var i=e.getLineAndCharacterOfPosition(t,r.body.pos).line;if(i<e.getLineAndCharacterOfPosition(t,r.body.end).line)return e.createTextSpan(n,p(i,t)-n+1)}return e.createTextSpanFromBounds(n,r.end)}(t,r);case 288:case 289:var a=e.skipTrivia(t.text,r.pos),o=r.statements.length>0?r.statements[0].pos:r.end;return e.createTextSpanFromBounds(a,o)}if(void 0===n)return U(t,r.pos);e.Debug.assert(!e.isJSDoc(n));var s=d(n),c=s||e.isJsxText(r)?n.pos:e.skipTrivia(t.text,n.pos);return s?(e.Debug.assert(c===n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c===n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(e.Debug.assert(c>=n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(c,n.end)}function V(e){return 6===e.scriptKind}function z(t){return!!(2&e.getCombinedNodeFlags(t))}function W(e){return 207===e.kind&&100===e.expression.kind}function H(t){return e.isImportTypeNode(t)&&e.isLiteralTypeNode(t.argument)&&e.isStringLiteral(t.argument.literal)}function G(e){return 237===e.kind&&10===e.expression.kind}function $(e){return!!(1048576&E(e))}function Y(t){return e.isIdentifier(t.name)&&!t.initializer}e.changesAffectModuleResolution=function(e,t){return e.configFilePath!==t.configFilePath||n(e,t)},e.optionsHaveModuleResolutionChanges=n,e.changesAffectingProgramStructure=function(t,r){return i(t,r,e.optionsAffectingProgramStructure)},e.optionsHaveChanges=i,e.forEachAncestor=function(t,r){for(;;){var n=r(t);if("quit"===n)return;if(void 0!==n)return n;if(e.isSourceFile(t))return;t=t.parent}},e.forEachEntry=function(e,t){for(var r=e.entries(),n=r.next();!n.done;n=r.next()){var i=n.value,a=i[0],o=t(i[1],a);if(o)return o}},e.forEachKey=function(e,t){for(var r=e.keys(),n=r.next();!n.done;n=r.next()){var i=t(n.value);if(i)return i}},e.copyEntries=function(e,t){e.forEach((function(e,r){t.set(r,e)}))},e.usingSingleLineStringWriter=function(e){var t=r.getText();try{return e(r),r.getText()}finally{r.clear(),r.writeKeyword(t)}},e.getFullWidth=s,e.getResolvedModule=function(e,t,r){return e&&e.resolvedModules&&e.resolvedModules.get(t,r)},e.setResolvedModule=function(t,r,n,i){t.resolvedModules||(t.resolvedModules=e.createModeAwareCache()),t.resolvedModules.set(r,i,n)},e.setResolvedTypeReferenceDirective=function(t,r,n){t.resolvedTypeReferenceDirectiveNames||(t.resolvedTypeReferenceDirectiveNames=e.createModeAwareCache()),t.resolvedTypeReferenceDirectiveNames.set(r,void 0,n)},e.projectReferenceIsEqualTo=function(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular},e.moduleResolutionIsEqualTo=function(e,t){return e.isExternalLibraryImport===t.isExternalLibraryImport&&e.extension===t.extension&&e.resolvedFileName===t.resolvedFileName&&e.originalPath===t.originalPath&&function(e,t){return e===t||!!e&&!!t&&e.name===t.name&&e.subModuleName===t.subModuleName&&e.version===t.version}(e.packageId,t.packageId)},e.packageIdToPackageName=c,e.packageIdToString=function(e){return"".concat(c(e),"@").concat(e.version)},e.typeDirectiveIsEqualTo=function(e,t){return e.resolvedFileName===t.resolvedFileName&&e.primary===t.primary&&e.originalPath===t.originalPath},e.hasChangesInResolutions=function(t,r,n,i,a){e.Debug.assert(t.length===r.length);for(var o=0;o<t.length;o++){var s=r[o],c=n&&n.get(t[o],i&&e.getModeForResolutionAtIndex(i,o));if(c?!s||!a(c,s):s)return!0}return!1},e.containsParseError=u,e.getSourceFileOfNode=l,e.getSourceFileOfModule=function(e){return l(e.valueDeclaration||P(e))},e.isPlainJsFile=function(e,t){return!(!e||1!==e.scriptKind&&2!==e.scriptKind||e.checkJsDirective||void 0!==t)},e.isStatementWithLocals=function(e){switch(e.kind){case 234:case 262:case 241:case 242:case 243:return!0}return!1},e.getStartPositionOfLine=function(t,r){return e.Debug.assert(t>=0),e.getLineStarts(r)[t]},e.nodePosToString=function(t){var r=l(t),n=e.getLineAndCharacterOfPosition(r,t.pos);return"".concat(r.fileName,"(").concat(n.line+1,",").concat(n.character+1,")")},e.getEndLinePosition=p,e.isFileLevelUniqueName=function(e,t,r){return!(r&&r(t)||e.identifiers.has(t))},e.nodeIsMissing=d,e.nodeIsPresent=f,e.insertStatementsAfterStandardPrologue=function(e,t){return _(e,t,G)},e.insertStatementsAfterCustomPrologue=function(e,t){return _(e,t,g)},e.insertStatementAfterStandardPrologue=function(e,t){return m(e,t,G)},e.insertStatementAfterCustomPrologue=function(e,t){return m(e,t,g)},e.isRecognizedTripleSlashComment=function(t,r,n){if(47===t.charCodeAt(r+1)&&r+2<n&&47===t.charCodeAt(r+2)){var i=t.substring(r,n);return!!(e.fullTripleSlashReferencePathRegEx.test(i)||e.fullTripleSlashAMDReferencePathRegEx.test(i)||X.test(i)||Q.test(i))}return!1},e.isPinnedComment=h,e.createCommentDirectivesMap=function(t,r){var n=new e.Map(r.map((function(r){return["".concat(e.getLineAndCharacterOfPosition(t,r.range.end).line),r]}))),i=new e.Map;return{getUnusedExpectations:function(){return e.arrayFrom(n.entries()).filter((function(e){var t=e[0];return 0===e[1].type&&!i.get(t)})).map((function(e){return e[0],e[1]}))},markUsed:function(e){return!!n.has("".concat(e))&&(i.set("".concat(e),!0),!0)}}},e.getTokenPosOfNode=y,e.getNonDecoratorTokenPosOfNode=function(t,r){return d(t)||!t.decorators?y(t,r):e.skipTrivia((r||l(t)).text,t.decorators.end)},e.getSourceTextOfNodeFromSourceFile=v,e.isExportNamespaceAsDefaultDeclaration=function(t){return!!(e.isExportDeclaration(t)&&t.exportClause&&e.isNamespaceExport(t.exportClause)&&"default"===t.exportClause.name.escapedText)},e.getTextOfNodeFromSourceText=D,e.getTextOfNode=b,e.indexOfNode=function(t,r){return e.binarySearch(t,r,x,e.compareValues)},e.getEmitFlags=E,e.getScriptTargetFeatures=function(){return{es2015:{Array:["find","findIndex","fill","copyWithin","entries","keys","values"],RegExp:["flags","sticky","unicode"],Reflect:["apply","construct","defineProperty","deleteProperty","get"," getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"],ArrayConstructor:["from","of"],ObjectConstructor:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],NumberConstructor:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"],Math:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"],Map:["entries","keys","values"],Set:["entries","keys","values"],Promise:e.emptyArray,PromiseConstructor:["all","race","reject","resolve"],Symbol:["for","keyFor"],WeakMap:["entries","keys","values"],WeakSet:["entries","keys","values"],Iterator:e.emptyArray,AsyncIterator:e.emptyArray,String:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],StringConstructor:["fromCodePoint","raw"]},es2016:{Array:["includes"]},es2017:{Atomics:e.emptyArray,SharedArrayBuffer:e.emptyArray,String:["padStart","padEnd"],ObjectConstructor:["values","entries","getOwnPropertyDescriptors"],DateTimeFormat:["formatToParts"]},es2018:{Promise:["finally"],RegExpMatchArray:["groups"],RegExpExecArray:["groups"],RegExp:["dotAll"],Intl:["PluralRules"],AsyncIterable:e.emptyArray,AsyncIterableIterator:e.emptyArray,AsyncGenerator:e.emptyArray,AsyncGeneratorFunction:e.emptyArray,NumberFormat:["formatToParts"]},es2019:{Array:["flat","flatMap"],ObjectConstructor:["fromEntries"],String:["trimStart","trimEnd","trimLeft","trimRight"],Symbol:["description"]},es2020:{BigInt:e.emptyArray,BigInt64Array:e.emptyArray,BigUint64Array:e.emptyArray,PromiseConstructor:["allSettled"],SymbolConstructor:["matchAll"],String:["matchAll"],DataView:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"],RelativeTimeFormat:["format","formatToParts","resolvedOptions"]},es2021:{PromiseConstructor:["any"],String:["replaceAll"]},es2022:{Array:["at"],String:["at"],Int8Array:["at"],Uint8Array:["at"],Uint8ClampedArray:["at"],Int16Array:["at"],Uint16Array:["at"],Int32Array:["at"],Uint32Array:["at"],Float32Array:["at"],Float64Array:["at"],BigInt64Array:["at"],BigUint64Array:["at"],ObjectConstructor:["hasOwn"],Error:["cause"]}}},(t=e.GetLiteralTextFlags||(e.GetLiteralTextFlags={}))[t.None=0]="None",t[t.NeverAsciiEscape=1]="NeverAsciiEscape",t[t.JsxAttributeEscape=2]="JsxAttributeEscape",t[t.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",t[t.AllowNumericSeparator=8]="AllowNumericSeparator",e.getLiteralText=function(t,r,n){var i;if(function(t,r){return!(kt(t)||!t.parent||4&r&&t.isUnterminated||(e.isNumericLiteral(t)&&512&t.numericLiteralFlags?!(8&r):e.isBigIntLiteral(t)))}(t,n))return v(r,t);switch(t.kind){case 10:var a=2&n?Wt:1&n||16777216&E(t)?jt:Jt;return t.singleQuote?"'"+a(t.text,39)+"'":'"'+a(t.text,34)+'"';case 14:case 15:case 16:case 17:a=1&n||16777216&E(t)?jt:Jt;var o=null!==(i=t.rawText)&&void 0!==i?i:function(e){return e.replace(wt,"\\${")}(a(t.text,96));switch(t.kind){case 14:return"`"+o+"`";case 15:return"`"+o+"${";case 16:return"}"+o+"${";case 17:return"}"+o+"`"}break;case 8:case 9:return t.text;case 13:return 4&n&&t.isUnterminated?t.text+(92===t.text.charCodeAt(t.text.length-1)?" /":"/"):t.text}return e.Debug.fail("Literal kind '".concat(t.kind,"' not accounted for."))},e.getTextOfConstantValue=function(t){return e.isString(t)?'"'+Jt(t)+'"':""+t},e.makeIdentifierFromModuleName=function(t){return e.getBaseFileName(t).replace(/^(\d)/,"_$1").replace(/\W/g,"_")},e.isBlockOrCatchScoped=function(t){return 0!=(3&e.getCombinedNodeFlags(t))||S(t)},e.isCatchClauseVariableDeclarationOrBindingElement=S,e.isAmbientModule=C,e.isModuleWithStringLiteralName=function(t){return e.isModuleDeclaration(t)&&10===t.name.kind},e.isNonGlobalAmbientModule=function(t){return e.isModuleDeclaration(t)&&e.isStringLiteral(t.name)},e.isEffectiveModuleDeclaration=T,e.isShorthandAmbientModuleSymbol=function(e){return function(e){return!!e&&260===e.kind&&!e.body}(e.valueDeclaration)},e.isBlockScopedContainerTopLevel=function(t){return 303===t.kind||260===t.kind||e.isFunctionLikeOrClassStaticBlockDeclaration(t)},e.isGlobalScopeAugmentation=k,e.isExternalModuleAugmentation=A,e.isModuleAugmentationExternal=N,e.getNonAugmentationDeclaration=P,e.isEffectiveExternalModule=function(t,r){return e.isExternalModule(t)||r.isolatedModules||function(t){return t===e.ModuleKind.CommonJS||t===e.ModuleKind.Node12||t===e.ModuleKind.NodeNext}(Sn(r))&&!!t.commonJsModuleIndicator},e.isEffectiveStrictModeSourceFile=function(t,r){switch(t.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return!(t.isDeclarationFile||!kn(r,"alwaysStrict")&&!e.startsWithUseStrict(t.statements)&&(!e.isExternalModule(t)&&!r.isolatedModules||!(Sn(r)>=e.ModuleKind.ES2015)&&r.noImplicitUseStrict))},e.isBlockScope=F,e.isDeclarationWithTypeParameters=function(t){switch(t.kind){case 336:case 343:case 321:return!0;default:return e.assertType(t),w(t)}},e.isDeclarationWithTypeParameterChildren=w,e.isAnyImportSyntax=I,e.isLateVisibilityPaintedStatement=function(e){switch(e.kind){case 265:case 264:case 236:case 256:case 255:case 260:case 258:case 257:case 259:return!0;default:return!1}},e.hasPossibleExternalModuleReference=function(t){return O(t)||e.isModuleDeclaration(t)||e.isImportTypeNode(t)||W(t)},e.isAnyImportOrReExport=O,e.getEnclosingBlockScopeContainer=L,e.forEachEnclosingBlockScopeContainer=function(e,t){for(var r=L(e);r;)t(r),r=L(r)},e.declarationNameToString=M,e.getNameFromIndexInfo=function(e){return e.declaration?M(e.declaration.parameters[0].name):void 0},e.isComputedNonLiteralName=function(e){return 161===e.kind&&!vt(e.expression)},e.getTextOfPropertyName=R,e.entityNameToString=B,e.createDiagnosticForNode=function(e,t,r,n,i,a){return j(l(e),e,t,r,n,i,a)},e.createDiagnosticForNodeArray=function(t,r,n,i,a,o,s){var c=e.skipTrivia(t.text,r.pos);return hn(t,c,r.end-c,n,i,a,o,s)},e.createDiagnosticForNodeInSourceFile=j,e.createDiagnosticForNodeFromMessageChain=function(e,t,r){var n=l(e),i=q(n,e);return J(n,i.start,i.length,t,r)},e.createFileDiagnosticFromMessageChain=J,e.createDiagnosticForFileFromMessageChain=function(e,t,r){return{file:e,start:0,length:0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:r}},e.createDiagnosticMessageChainFromDiagnostic=function(e){return"string"==typeof e.messageText?{code:e.code,category:e.category,messageText:e.messageText,next:e.next}:e.messageText},e.createDiagnosticForRange=function(e,t,r){return{file:e,start:t.pos,length:t.end-t.pos,code:r.code,category:r.category,messageText:r.message}},e.getSpanOfTokenAtPosition=U,e.getErrorSpanForNode=q,e.isExternalOrCommonJsModule=function(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)},e.isJsonSourceFile=V,e.isEnumConst=function(t){return!!(2048&e.getCombinedModifierFlags(t))},e.isDeclarationReadonly=function(t){return!(!(64&e.getCombinedModifierFlags(t))||e.isParameterPropertyDeclaration(t,t.parent))},e.isVarConst=z,e.isLet=function(t){return!!(1&e.getCombinedNodeFlags(t))},e.isSuperCall=function(e){return 207===e.kind&&106===e.expression.kind},e.isImportCall=W,e.isImportMeta=function(t){return e.isMetaProperty(t)&&100===t.keywordToken&&"meta"===t.name.escapedText},e.isLiteralImportTypeNode=H,e.isPrologueDirective=G,e.isCustomPrologue=$,e.isHoistedFunction=function(t){return $(t)&&e.isFunctionDeclaration(t)},e.isHoistedVariableStatement=function(t){return $(t)&&e.isVariableStatement(t)&&e.every(t.declarationList.declarations,Y)},e.getLeadingCommentRangesOfNode=function(t,r){return 11!==t.kind?e.getLeadingCommentRanges(r.text,t.pos):void 0},e.getJSDocCommentRanges=function(t,r){var n=163===t.kind||162===t.kind||212===t.kind||213===t.kind||211===t.kind||253===t.kind||274===t.kind?e.concatenate(e.getTrailingCommentRanges(r,t.pos),e.getLeadingCommentRanges(r,t.pos)):e.getLeadingCommentRanges(r,t.pos);return e.filter(n,(function(e){return 42===r.charCodeAt(e.pos+1)&&42===r.charCodeAt(e.pos+2)&&47!==r.charCodeAt(e.pos+3)}))},e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*<reference\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/;var X=/^(\/\/\/\s*<reference\s+types\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*<amd-dependency\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/;var Q=/^(\/\/\/\s*<reference\s+no-default-lib\s*=\s*)(('[^']*')|("[^"]*"))\s*\/>/;function Z(t){if(176<=t.kind&&t.kind<=199)return!0;switch(t.kind){case 130:case 154:case 146:case 157:case 149:case 133:case 150:case 147:case 152:case 143:return!0;case 114:return 216!==t.parent.kind;case 227:return!Br(t);case 162:return 194===t.parent.kind||189===t.parent.kind;case 79:(160===t.parent.kind&&t.parent.right===t||205===t.parent.kind&&t.parent.name===t)&&(t=t.parent),e.Debug.assert(79===t.kind||160===t.kind||205===t.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 160:case 205:case 108:var r=t.parent;if(180===r.kind)return!1;if(199===r.kind)return!r.isTypeOf;if(176<=r.kind&&r.kind<=199)return!0;switch(r.kind){case 227:return!Br(r);case 162:case 342:return t===r.constraint;case 166:case 165:case 163:case 253:case 255:case 212:case 213:case 170:case 168:case 167:case 171:case 172:case 173:case 174:case 175:case 210:return t===r.type;case 207:case 208:return e.contains(r.typeArguments,t);case 209:return!1}}return!1}function ee(e){if(e)switch(e.kind){case 202:case 297:case 163:case 294:case 166:case 165:case 295:case 253:return!0}return!1}function te(e){return 254===e.parent.kind&&236===e.parent.parent.kind}function re(e,t,r){return e.properties.filter((function(e){if(294===e.kind){var n=R(e.name);return t===n||!!r&&r===n}return!1}))}function ne(t){if(t&&t.statements.length){var r=t.statements[0].expression;return e.tryCast(r,e.isObjectLiteralExpression)}}function ie(t,r){var n=ne(t);return n?re(n,r):e.emptyArray}function ae(t,r){for(e.Debug.assert(303!==t.kind);;){if(!(t=t.parent))return e.Debug.fail();switch(t.kind){case 161:if(e.isClassLike(t.parent.parent))return t;t=t.parent;break;case 164:163===t.parent.kind&&e.isClassElement(t.parent.parent)?t=t.parent.parent:e.isClassElement(t.parent)&&(t=t.parent);break;case 213:if(!r)continue;case 255:case 212:case 260:case 169:case 166:case 165:case 168:case 167:case 170:case 171:case 172:case 173:case 174:case 175:case 259:case 303:return t}}}function oe(e){var t=e.kind;return(205===t||206===t)&&106===e.expression.kind}function se(t,r,n){if(e.isNamedDeclaration(t)&&e.isPrivateIdentifier(t.name))return!1;switch(t.kind){case 256:return!0;case 166:return 256===r.kind;case 171:case 172:case 168:return void 0!==t.body&&256===r.kind;case 163:return void 0!==r.body&&(170===r.kind||168===r.kind||172===r.kind)&&256===n.kind}return!1}function ce(e,t,r){return void 0!==e.decorators&&se(e,t,r)}function ue(e,t,r){return ce(e,t,r)||le(e,t)}function le(t,r){switch(t.kind){case 256:return e.some(t.members,(function(e){return ue(e,t,r)}));case 168:case 172:case 170:return e.some(t.parameters,(function(e){return ce(e,t,r)}));default:return!1}}function pe(e){var t=e.parent;return(279===t.kind||278===t.kind||280===t.kind)&&t.tagName===e}function de(t){switch(t.kind){case 106:case 104:case 110:case 95:case 13:case 203:case 204:case 205:case 206:case 207:case 208:case 209:case 228:case 210:case 229:case 211:case 212:case 225:case 213:case 216:case 214:case 215:case 218:case 219:case 220:case 221:case 224:case 222:case 226:case 277:case 278:case 281:case 223:case 217:case 230:return!0;case 160:for(;160===t.parent.kind;)t=t.parent;return 180===t.parent.kind||e.isJSDocLinkLike(t.parent)||e.isJSDocNameReference(t.parent)||e.isJSDocMemberName(t.parent)||pe(t);case 309:for(;e.isJSDocMemberName(t.parent);)t=t.parent;return 180===t.parent.kind||e.isJSDocLinkLike(t.parent)||e.isJSDocNameReference(t.parent)||e.isJSDocMemberName(t.parent)||pe(t);case 80:return e.isBinaryExpression(t.parent)&&t.parent.left===t&&101===t.parent.operatorToken.kind;case 79:if(180===t.parent.kind||e.isJSDocLinkLike(t.parent)||e.isJSDocNameReference(t.parent)||e.isJSDocMemberName(t.parent)||pe(t))return!0;case 8:case 9:case 10:case 14:case 108:return fe(t);default:return!1}}function fe(e){var t=e.parent;switch(t.kind){case 253:case 163:case 166:case 165:case 297:case 294:case 202:return t.initializer===e;case 237:case 238:case 239:case 240:case 246:case 247:case 248:case 288:case 250:return t.expression===e;case 241:var r=t;return r.initializer===e&&254!==r.initializer.kind||r.condition===e||r.incrementor===e;case 242:case 243:var n=t;return n.initializer===e&&254!==n.initializer.kind||n.expression===e;case 210:case 228:case 232:case 161:return e===t.expression;case 164:case 287:case 286:case 296:return!0;case 227:return t.expression===e&&Br(t);case 295:return t.objectAssignmentInitializer===e;default:return de(t)}}function _e(e){for(;160===e.kind||79===e.kind;)e=e.parent;return 180===e.kind}function me(e){return 264===e.kind&&276===e.moduleReference.kind}function ge(e){return he(e)}function he(e){return!!e&&!!(131072&e.flags)}function ye(e){return!!e&&!!(4194304&e.flags)}function ve(t,r){if(207!==t.kind)return!1;var n=t,i=n.expression,a=n.arguments;if(79!==i.kind||"require"!==i.escapedText||1!==a.length)return!1;var o=a[0];return!r||e.isStringLiteralLike(o)}function De(e){return xe(e,!1)}function be(e){return xe(e,!0)}function xe(t,r){return 202===t.kind&&(t=t.parent.parent),e.isVariableDeclaration(t)&&!!t.initializer&&ve(r?an(t.initializer):t.initializer,!0)}function Ee(t){return e.isBinaryExpression(t)||nn(t)||e.isIdentifier(t)||e.isCallExpression(t)}function Se(t){return he(t)&&t.initializer&&e.isBinaryExpression(t.initializer)&&(56===t.initializer.operatorToken.kind||60===t.initializer.operatorToken.kind)&&t.name&&jr(t.name)&&Te(t.name,t.initializer.left)?t.initializer.right:t.initializer}function Ce(t,r){if(e.isCallExpression(t)){var n=st(t.expression);return 212===n.kind||213===n.kind?t:void 0}if(212===t.kind||225===t.kind||213===t.kind||e.isObjectLiteralExpression(t)&&(0===t.properties.length||r))return t}function Te(t,r){if(St(t)&&St(r))return Ct(t)===Ct(r);if(e.isIdentifier(t)&&Ie(r)&&(108===r.expression.kind||e.isIdentifier(r.expression)&&("window"===r.expression.escapedText||"self"===r.expression.escapedText||"global"===r.expression.escapedText))){var n=Be(r);return e.isPrivateIdentifier(n)&&e.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access."),Te(t,n)}return!(!Ie(t)||!Ie(r))&&Ke(t)===Ke(r)&&Te(t.expression,r.expression)}function ke(e){for(;Rr(e,!0);)e=e.right;return e}function Ae(t){return e.isIdentifier(t)&&"exports"===t.escapedText}function Ne(t){return e.isIdentifier(t)&&"module"===t.escapedText}function Pe(t){return(e.isPropertyAccessExpression(t)||Oe(t))&&Ne(t.expression)&&"exports"===Ke(t)}function Fe(t){var r=function(t){if(e.isCallExpression(t)){if(!we(t))return 0;var r=t.arguments[0];return Ae(r)||Pe(r)?8:Le(r)&&"prototype"===Ke(r)?9:7}return 63!==t.operatorToken.kind||!nn(t.left)||function(t){return e.isVoidExpression(t)&&e.isNumericLiteral(t.expression)&&"0"===t.expression.text}(ke(t))?0:Re(t.left.expression,!0)&&"prototype"===Ke(t.left)&&e.isObjectLiteralExpression(Ue(t))?6:Je(t.left)}(t);return 5===r||he(t)?r:0}function we(t){return 3===e.length(t.arguments)&&e.isPropertyAccessExpression(t.expression)&&e.isIdentifier(t.expression.expression)&&"Object"===e.idText(t.expression.expression)&&"defineProperty"===e.idText(t.expression.name)&&vt(t.arguments[1])&&Re(t.arguments[0],!0)}function Ie(t){return e.isPropertyAccessExpression(t)||Oe(t)}function Oe(t){return e.isElementAccessExpression(t)&&vt(t.argumentExpression)}function Le(t,r){return e.isPropertyAccessExpression(t)&&(!r&&108===t.expression.kind||e.isIdentifier(t.name)&&Re(t.expression,!0))||Me(t,r)}function Me(e,t){return Oe(e)&&(!t&&108===e.expression.kind||jr(e.expression)||Le(e.expression,!0))}function Re(e,t){return jr(e)||Le(e,t)}function Be(t){return e.isPropertyAccessExpression(t)?t.name:t.argumentExpression}function je(t){if(e.isPropertyAccessExpression(t))return t.name;var r=st(t.argumentExpression);return e.isNumericLiteral(r)||e.isStringLiteralLike(r)?r:t}function Ke(t){var r=je(t);if(r){if(e.isIdentifier(r))return r.escapedText;if(e.isStringLiteralLike(r)||e.isNumericLiteral(r))return e.escapeLeadingUnderscores(r.text)}}function Je(t){if(108===t.expression.kind)return 4;if(Pe(t))return 2;if(Re(t.expression,!0)){if(Jr(t.expression))return 3;for(var r=t;!e.isIdentifier(r.expression);)r=r.expression;var n=r.expression;if(("exports"===n.escapedText||"module"===n.escapedText&&"exports"===Ke(r))&&Le(t))return 1;if(Re(t,!0)||e.isElementAccessExpression(t)&&xt(t))return 5}return 0}function Ue(t){for(;e.isBinaryExpression(t.right);)t=t.right;return t.right}function qe(t){switch(t.parent.kind){case 265:case 271:return t.parent;case 276:return t.parent.parent;case 207:return W(t.parent)||ve(t.parent,!1)?t.parent:void 0;case 195:return e.Debug.assert(e.isStringLiteral(t)),e.tryCast(t.parent.parent,e.isImportTypeNode);default:return}}function Ve(t){switch(t.kind){case 265:case 271:return t.moduleSpecifier;case 264:return 276===t.moduleReference.kind?t.moduleReference.expression:void 0;case 199:return H(t)?t.argument.literal:void 0;case 207:return t.arguments[0];case 260:return 10===t.name.kind?t.name:void 0;default:return e.Debug.assertNever(t)}}function ze(e){return 343===e.kind||336===e.kind||337===e.kind}function We(t){return e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&0!==Fe(t.expression)&&e.isBinaryExpression(t.expression.right)&&(56===t.expression.right.operatorToken.kind||60===t.expression.right.operatorToken.kind)?t.expression.right.right:void 0}function He(e){switch(e.kind){case 236:var t=Ge(e);return t&&t.initializer;case 166:case 294:return e.initializer}}function Ge(t){return e.isVariableStatement(t)?e.firstOrUndefined(t.declarationList.declarations):void 0}function $e(t){return e.isModuleDeclaration(t)&&t.body&&260===t.body.kind?t.body:void 0}function Ye(t,r){if(e.isJSDoc(r)){var n=e.filter(r.tags,(function(e){return Xe(t,e)}));return r.tags===n?[r]:n}return Xe(t,r)?[r]:void 0}function Xe(t,r){return!(e.isJSDocTypeTag(r)&&r.parent&&e.isJSDoc(r.parent)&&e.isParenthesizedExpression(r.parent.parent)&&r.parent.parent!==t)}function Qe(t){var r=t.parent;return 294===r.kind||270===r.kind||166===r.kind||237===r.kind&&205===t.kind||246===r.kind||$e(r)||e.isBinaryExpression(t)&&63===t.operatorToken.kind?r:r.parent&&(Ge(r.parent)===t||e.isBinaryExpression(r)&&63===r.operatorToken.kind)?r.parent:r.parent&&r.parent.parent&&(Ge(r.parent.parent)||He(r.parent.parent)===t||We(r.parent.parent))?r.parent.parent:void 0}function Ze(t){var r=et(t);return r&&e.isFunctionLike(r)?r:void 0}function et(t){var r=tt(t);if(r)return We(r)||function(t){return e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&63===t.expression.operatorToken.kind?ke(t.expression):void 0}(r)||He(r)||Ge(r)||$e(r)||r}function tt(t){var r=rt(t);if(r){var n=r.parent;if(n&&n.jsDoc&&r===e.lastOrUndefined(n.jsDoc))return n}}function rt(t){return e.findAncestor(t.parent,e.isJSDoc)}function nt(t){var r=e.isJSDocParameterTag(t)?t.typeExpression&&t.typeExpression.type:t.type;return void 0!==t.dotDotDotToken||!!r&&316===r.kind}function it(e){for(var t=e.parent;;){switch(t.kind){case 220:var r=t.operatorToken.kind;return Or(r)&&t.left===e?63===r||Ir(r)?1:2:0;case 218:case 219:var n=t.operator;return 45===n||46===n?2:0;case 242:case 243:return t.initializer===e?1:0;case 211:case 203:case 224:case 229:e=t;break;case 296:e=t.parent;break;case 295:if(t.name!==e)return 0;e=t.parent;break;case 294:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function at(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function ot(e){return at(e,211)}function st(t,r){var n=r?17:1;return e.skipOuterExpressions(t,n)}function ct(t){return jr(t)||e.isClassExpression(t)}function ut(e){return ct(lt(e))}function lt(t){return e.isExportAssignment(t)?t.expression:t.right}function pt(t){var r=dt(t);if(r&&he(t)){var n=e.getJSDocAugmentsTag(t);if(n)return n.class}return r}function dt(e){var t=mt(e.heritageClauses,94);return t&&t.types.length>0?t.types[0]:void 0}function ft(t){if(he(t))return e.getJSDocImplementsTags(t).map((function(e){return e.class}));var r=mt(t.heritageClauses,117);return null==r?void 0:r.types}function _t(e){var t=mt(e.heritageClauses,94);return t?t.types:void 0}function mt(e,t){if(e)for(var r=0,n=e;r<n.length;r++){var i=n[r];if(i.token===t)return i}}function gt(e){return 81<=e&&e<=159}function ht(e){return 126<=e&&e<=159}function yt(e){return gt(e)&&!ht(e)}function vt(t){return e.isStringLiteralLike(t)||e.isNumericLiteral(t)}function Dt(t){return e.isPrefixUnaryExpression(t)&&(39===t.operator||40===t.operator)&&e.isNumericLiteral(t.operand)}function bt(t){var r=e.getNameOfDeclaration(t);return!!r&&xt(r)}function xt(t){if(161!==t.kind&&206!==t.kind)return!1;var r=e.isElementAccessExpression(t)?st(t.argumentExpression):t.expression;return!vt(r)&&!Dt(r)}function Et(t){switch(t.kind){case 79:case 80:return t.escapedText;case 10:case 8:return e.escapeLeadingUnderscores(t.text);case 161:var r=t.expression;return vt(r)?e.escapeLeadingUnderscores(r.text):Dt(r)?40===r.operator?e.tokenToString(r.operator)+r.operand.text:r.operand.text:void 0;default:return e.Debug.assertNever(t)}}function St(e){switch(e.kind){case 79:case 10:case 14:case 8:return!0;default:return!1}}function Ct(t){return e.isMemberName(t)?e.idText(t):t.text}function Tt(e){for(;202===e.kind;)e=e.parent.parent;return e}function kt(e){return si(e.pos)||si(e.end)}function At(e,t,r){switch(e){case 208:return r?0:1;case 218:case 215:case 216:case 214:case 217:case 221:case 223:return 1;case 220:switch(t){case 42:case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 1}}return 0}function Nt(e){return 220===e.kind?e.operatorToken.kind:218===e.kind||219===e.kind?e.operator:e.kind}function Pt(e,t,r){switch(e){case 349:return 0;case 224:return 1;case 223:return 2;case 221:return 4;case 220:switch(t){case 27:return 0;case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 3;default:return Ft(t)}case 210:case 229:case 218:case 215:case 216:case 214:case 217:return 16;case 219:return 17;case 207:return 18;case 208:return r?19:18;case 209:case 205:case 206:case 230:return 19;case 228:return 11;case 108:case 106:case 79:case 80:case 104:case 110:case 95:case 8:case 9:case 10:case 203:case 204:case 212:case 213:case 225:case 13:case 14:case 222:case 211:case 226:case 277:case 278:case 281:return 20;default:return-1}}function Ft(e){switch(e){case 60:return 4;case 56:return 5;case 55:return 6;case 51:return 7;case 52:return 8;case 50:return 9;case 34:case 35:case 36:case 37:return 10;case 29:case 31:case 32:case 33:case 102:case 101:case 127:return 11;case 47:case 48:case 49:return 12;case 39:case 40:return 13;case 41:case 43:case 44:return 14;case 42:return 15}return-1}e.isPartOfTypeNode=Z,e.isChildOfNodeWithKind=function(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent}return!1},e.forEachReturnStatement=function(t,r){return function t(n){switch(n.kind){case 246:return r(n);case 262:case 234:case 238:case 239:case 240:case 241:case 242:case 243:case 247:case 248:case 288:case 289:case 249:case 251:case 291:return e.forEachChild(n,t)}}(t)},e.forEachYieldExpression=function(t,r){return function t(n){switch(n.kind){case 223:r(n);var i=n.expression;return void(i&&t(i));case 259:case 257:case 260:case 258:return;default:if(e.isFunctionLike(n)){if(n.name&&161===n.name.kind)return void t(n.name.expression)}else Z(n)||e.forEachChild(n,t)}}(t)},e.getRestParameterElementType=function(t){return t&&182===t.kind?t.elementType:t&&177===t.kind?e.singleOrUndefined(t.typeArguments):void 0},e.getMembersOfDeclaration=function(e){switch(e.kind){case 257:case 256:case 225:case 181:return e.members;case 204:return e.properties}},e.isVariableLike=ee,e.isVariableLikeOrAccessor=function(t){return ee(t)||e.isAccessor(t)},e.isVariableDeclarationInVariableStatement=te,e.isValidESSymbolDeclaration=function(t){return e.isVariableDeclaration(t)?z(t)&&e.isIdentifier(t.name)&&te(t):e.isPropertyDeclaration(t)?Er(t)&&xr(t):e.isPropertySignature(t)&&Er(t)},e.introducesArgumentsExoticObject=function(e){switch(e.kind){case 168:case 167:case 170:case 171:case 172:case 255:case 212:return!0}return!1},e.unwrapInnermostStatementOfLabel=function(e,t){for(;;){if(t&&t(e),249!==e.statement.kind)return e.statement;e=e.statement}},e.isFunctionBlock=function(t){return t&&234===t.kind&&e.isFunctionLike(t.parent)},e.isObjectLiteralMethod=function(e){return e&&168===e.kind&&204===e.parent.kind},e.isObjectLiteralOrClassExpressionMethodOrAccessor=function(e){return!(168!==e.kind&&171!==e.kind&&172!==e.kind||204!==e.parent.kind&&225!==e.parent.kind)},e.isIdentifierTypePredicate=function(e){return e&&1===e.kind},e.isThisTypePredicate=function(e){return e&&0===e.kind},e.getPropertyAssignment=re,e.getPropertyArrayElementValue=function(t,r,n){return e.firstDefined(re(t,r),(function(t){return e.isArrayLiteralExpression(t.initializer)?e.find(t.initializer.elements,(function(t){return e.isStringLiteral(t)&&t.text===n})):void 0}))},e.getTsConfigObjectLiteralExpression=ne,e.getTsConfigPropArrayElementValue=function(t,r,n){return e.firstDefined(ie(t,r),(function(t){return e.isArrayLiteralExpression(t.initializer)?e.find(t.initializer.elements,(function(t){return e.isStringLiteral(t)&&t.text===n})):void 0}))},e.getTsConfigPropArray=ie,e.getContainingFunction=function(t){return e.findAncestor(t.parent,e.isFunctionLike)},e.getContainingFunctionDeclaration=function(t){return e.findAncestor(t.parent,e.isFunctionLikeDeclaration)},e.getContainingClass=function(t){return e.findAncestor(t.parent,e.isClassLike)},e.getContainingClassStaticBlock=function(t){return e.findAncestor(t.parent,(function(t){return e.isClassLike(t)||e.isFunctionLike(t)?"quit":e.isClassStaticBlockDeclaration(t)}))},e.getContainingFunctionOrClassStaticBlock=function(t){return e.findAncestor(t.parent,e.isFunctionLikeOrClassStaticBlockDeclaration)},e.getThisContainer=ae,e.isThisContainerOrFunctionBlock=function(e){switch(e.kind){case 213:case 255:case 212:case 166:return!0;case 234:switch(e.parent.kind){case 170:case 168:case 171:case 172:return!0;default:return!1}default:return!1}},e.isInTopLevelContext=function(t){e.isIdentifier(t)&&(e.isClassDeclaration(t.parent)||e.isFunctionDeclaration(t.parent))&&t.parent.name===t&&(t=t.parent);var r=ae(t,!0);return e.isSourceFile(r)},e.getNewTargetContainer=function(e){var t=ae(e,!1);if(t)switch(t.kind){case 170:case 255:case 212:return t}},e.getSuperContainer=function(t,r){for(;;){if(!(t=t.parent))return t;switch(t.kind){case 161:t=t.parent;break;case 255:case 212:case 213:if(!r)continue;case 166:case 165:case 168:case 167:case 170:case 171:case 172:case 169:return t;case 164:163===t.parent.kind&&e.isClassElement(t.parent.parent)?t=t.parent.parent:e.isClassElement(t.parent)&&(t=t.parent)}}},e.getImmediatelyInvokedFunctionExpression=function(e){if(212===e.kind||213===e.kind){for(var t=e,r=e.parent;211===r.kind;)t=r,r=r.parent;if(207===r.kind&&r.expression===t)return r}},e.isSuperOrSuperProperty=function(e){return 106===e.kind||oe(e)},e.isSuperProperty=oe,e.isThisProperty=function(e){var t=e.kind;return(205===t||206===t)&&108===e.expression.kind},e.isThisInitializedDeclaration=function(t){var r;return!!t&&e.isVariableDeclaration(t)&&108===(null===(r=t.initializer)||void 0===r?void 0:r.kind)},e.isThisInitializedObjectBindingExpression=function(t){return!!t&&(e.isShorthandPropertyAssignment(t)||e.isPropertyAssignment(t))&&e.isBinaryExpression(t.parent.parent)&&63===t.parent.parent.operatorToken.kind&&108===t.parent.parent.right.kind},e.getEntityNameFromTypeNode=function(e){switch(e.kind){case 177:return e.typeName;case 227:return jr(e.expression)?e.expression:void 0;case 79:case 160:return e}},e.getInvokedExpression=function(e){switch(e.kind){case 209:return e.tag;case 279:case 278:return e.tagName;default:return e.expression}},e.nodeCanBeDecorated=se,e.nodeIsDecorated=ce,e.nodeOrChildIsDecorated=ue,e.childIsDecorated=le,e.classOrConstructorParameterIsDecorated=function(e){if(ce(e))return!0;var t=cr(e);return!!t&&le(t,e)},e.isJSXTagName=pe,e.isExpressionNode=de,e.isInExpressionContext=fe,e.isPartOfTypeQuery=_e,e.isNamespaceReexportDeclaration=function(t){return e.isNamespaceExport(t)&&!!t.parent.moduleSpecifier},e.isExternalModuleImportEqualsDeclaration=me,e.getExternalModuleImportEqualsDeclarationExpression=function(t){return e.Debug.assert(me(t)),t.moduleReference.expression},e.getExternalModuleRequireArgument=function(e){return be(e)&&an(e.initializer).arguments[0]},e.isInternalModuleImportEqualsDeclaration=function(e){return 264===e.kind&&276!==e.moduleReference.kind},e.isSourceFileJS=ge,e.isSourceFileNotJS=function(e){return!he(e)},e.isInJSFile=he,e.isInJsonFile=function(e){return!!e&&!!(33554432&e.flags)},e.isSourceFileNotJson=function(e){return!V(e)},e.isInJSDoc=ye,e.isJSDocIndexSignature=function(t){return e.isTypeReferenceNode(t)&&e.isIdentifier(t.typeName)&&"Object"===t.typeName.escapedText&&t.typeArguments&&2===t.typeArguments.length&&(149===t.typeArguments[0].kind||146===t.typeArguments[0].kind)},e.isRequireCall=ve,e.isVariableDeclarationInitializedToRequire=De,e.isVariableDeclarationInitializedToBareOrAccessedRequire=be,e.isRequireVariableStatement=function(t){return e.isVariableStatement(t)&&t.declarationList.declarations.length>0&&e.every(t.declarationList.declarations,(function(e){return De(e)}))},e.isSingleOrDoubleQuote=function(e){return 39===e||34===e},e.isStringDoubleQuoted=function(e,t){return 34===v(t,e).charCodeAt(0)},e.isAssignmentDeclaration=Ee,e.getEffectiveInitializer=Se,e.getDeclaredExpandoInitializer=function(e){var t=Se(e);return t&&Ce(t,Jr(e.name))},e.getAssignedExpandoInitializer=function(t){if(t&&t.parent&&e.isBinaryExpression(t.parent)&&63===t.parent.operatorToken.kind){var r=Jr(t.parent.left);return Ce(t.parent.right,r)||function(t,r,n){var i=e.isBinaryExpression(r)&&(56===r.operatorToken.kind||60===r.operatorToken.kind)&&Ce(r.right,n);if(i&&Te(t,r.left))return i}(t.parent.left,t.parent.right,r)}if(t&&e.isCallExpression(t)&&we(t)){var n=function(t,r){return e.forEach(t.properties,(function(t){return e.isPropertyAssignment(t)&&e.isIdentifier(t.name)&&"value"===t.name.escapedText&&t.initializer&&Ce(t.initializer,r)}))}(t.arguments[2],"prototype"===t.arguments[1].text);if(n)return n}},e.getExpandoInitializer=Ce,e.isDefaultedExpandoInitializer=function(t){var r=e.isVariableDeclaration(t.parent)?t.parent.name:e.isBinaryExpression(t.parent)&&63===t.parent.operatorToken.kind?t.parent.left:void 0;return r&&Ce(t.right,Jr(r))&&jr(r)&&Te(r,t.left)},e.getNameOfExpando=function(t){if(e.isBinaryExpression(t.parent)){var r=56!==t.parent.operatorToken.kind&&60!==t.parent.operatorToken.kind||!e.isBinaryExpression(t.parent.parent)?t.parent:t.parent.parent;if(63===r.operatorToken.kind&&e.isIdentifier(r.left))return r.left}else if(e.isVariableDeclaration(t.parent))return t.parent.name},e.isSameEntityName=Te,e.getRightMostAssignedExpression=ke,e.isExportsIdentifier=Ae,e.isModuleIdentifier=Ne,e.isModuleExportsAccessExpression=Pe,e.getAssignmentDeclarationKind=Fe,e.isBindableObjectDefinePropertyCall=we,e.isLiteralLikeAccess=Ie,e.isLiteralLikeElementAccess=Oe,e.isBindableStaticAccessExpression=Le,e.isBindableStaticElementAccessExpression=Me,e.isBindableStaticNameExpression=Re,e.getNameOrArgument=Be,e.getElementOrPropertyAccessArgumentExpressionOrName=je,e.getElementOrPropertyAccessName=Ke,e.getAssignmentDeclarationPropertyAccessKind=Je,e.getInitializerOfBinaryExpression=Ue,e.isPrototypePropertyAssignment=function(t){return e.isBinaryExpression(t)&&3===Fe(t)},e.isSpecialPropertyDeclaration=function(t){return he(t)&&t.parent&&237===t.parent.kind&&(!e.isElementAccessExpression(t)||Oe(t))&&!!e.getJSDocTypeTag(t.parent)},e.setValueDeclaration=function(e,t){var r=e.valueDeclaration;(!r||(!(8388608&t.flags)||8388608&r.flags)&&Ee(r)&&!Ee(t)||r.kind!==t.kind&&T(r))&&(e.valueDeclaration=t)},e.isFunctionSymbol=function(t){if(!t||!t.valueDeclaration)return!1;var r=t.valueDeclaration;return 255===r.kind||e.isVariableDeclaration(r)&&r.initializer&&e.isFunctionLike(r.initializer)},e.tryGetModuleSpecifierFromDeclaration=function(t){var r,n,i;switch(t.kind){case 253:return t.initializer.arguments[0].text;case 265:return null===(r=e.tryCast(t.moduleSpecifier,e.isStringLiteralLike))||void 0===r?void 0:r.text;case 264:return null===(i=e.tryCast(null===(n=e.tryCast(t.moduleReference,e.isExternalModuleReference))||void 0===n?void 0:n.expression,e.isStringLiteralLike))||void 0===i?void 0:i.text;default:e.Debug.assertNever(t)}},e.importFromModuleSpecifier=function(t){return qe(t)||e.Debug.failBadSyntaxKind(t.parent)},e.tryGetImportFromModuleSpecifier=qe,e.getExternalModuleName=Ve,e.getNamespaceDeclarationNode=function(t){switch(t.kind){case 265:return t.importClause&&e.tryCast(t.importClause.namedBindings,e.isNamespaceImport);case 264:return t;case 271:return t.exportClause&&e.tryCast(t.exportClause,e.isNamespaceExport);default:return e.Debug.assertNever(t)}},e.isDefaultImport=function(e){return 265===e.kind&&!!e.importClause&&!!e.importClause.name},e.forEachImportClauseDeclaration=function(t,r){var n;return t.name&&(n=r(t))||t.namedBindings&&(n=e.isNamespaceImport(t.namedBindings)?r(t.namedBindings):e.forEach(t.namedBindings.elements,r))?n:void 0},e.hasQuestionToken=function(e){if(e)switch(e.kind){case 163:case 168:case 167:case 295:case 294:case 166:case 165:return void 0!==e.questionToken}return!1},e.isJSDocConstructSignature=function(t){var r=e.isJSDocFunctionType(t)?e.firstOrUndefined(t.parameters):void 0,n=e.tryCast(r&&r.name,e.isIdentifier);return!!n&&"new"===n.escapedText},e.isJSDocTypeAlias=ze,e.isTypeAlias=function(t){return ze(t)||e.isTypeAliasDeclaration(t)},e.getSingleInitializerOfVariableStatementOrPropertyDeclaration=He,e.getSingleVariableOfVariableStatement=Ge,e.getJSDocCommentsAndTags=function(t,r){var n;ee(t)&&e.hasInitializer(t)&&e.hasJSDocNodes(t.initializer)&&(n=e.addRange(n,Ye(t,e.last(t.initializer.jsDoc))));for(var i=t;i&&i.parent;){if(e.hasJSDocNodes(i)&&(n=e.addRange(n,Ye(t,e.last(i.jsDoc)))),163===i.kind){n=e.addRange(n,(r?e.getJSDocParameterTagsNoCache:e.getJSDocParameterTags)(i));break}if(162===i.kind){n=e.addRange(n,(r?e.getJSDocTypeParameterTagsNoCache:e.getJSDocTypeParameterTags)(i));break}i=Qe(i)}return n||e.emptyArray},e.getNextJSDocCommentLocation=Qe,e.getParameterSymbolFromJSDoc=function(t){if(t.symbol)return t.symbol;if(e.isIdentifier(t.name)){var r=t.name.escapedText,n=Ze(t);if(n){var i=e.find(n.parameters,(function(e){return 79===e.name.kind&&e.name.escapedText===r}));return i&&i.symbol}}},e.getEffectiveContainerForJSDocTemplateTag=function(t){if(e.isJSDoc(t.parent)&&t.parent.tags){var r=e.find(t.parent.tags,ze);if(r)return r}return Ze(t)},e.getHostSignatureFromJSDoc=Ze,e.getEffectiveJSDocHost=et,e.getJSDocHost=tt,e.getJSDocRoot=rt,e.getTypeParameterFromJsDoc=function(t){var r=t.name.escapedText,n=t.parent.parent.parent.typeParameters;return n&&e.find(n,(function(e){return e.name.escapedText===r}))},e.hasRestParameter=function(t){var r=e.lastOrUndefined(t.parameters);return!!r&&nt(r)},e.isRestParameter=nt,e.hasTypeArguments=function(e){return!!e.typeArguments},function(e){e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound"}(e.AssignmentKind||(e.AssignmentKind={})),e.getAssignmentTargetKind=it,e.isAssignmentTarget=function(e){return 0!==it(e)},e.isNodeWithPossibleHoistedDeclaration=function(e){switch(e.kind){case 234:case 236:case 247:case 238:case 248:case 262:case 288:case 289:case 249:case 241:case 242:case 243:case 239:case 240:case 251:case 291:return!0}return!1},e.isValueSignatureDeclaration=function(t){return e.isFunctionExpression(t)||e.isArrowFunction(t)||e.isMethodOrAccessor(t)||e.isFunctionDeclaration(t)||e.isConstructorDeclaration(t)},e.walkUpParenthesizedTypes=function(e){return at(e,190)},e.walkUpParenthesizedExpressions=ot,e.walkUpParenthesizedTypesAndGetParentAndChild=function(e){for(var t;e&&190===e.kind;)t=e,e=e.parent;return[t,e]},e.skipParentheses=st,e.isDeleteTarget=function(e){return(205===e.kind||206===e.kind)&&(e=ot(e.parent))&&214===e.kind},e.isNodeDescendantOf=function(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1},e.isDeclarationName=function(t){return!e.isSourceFile(t)&&!e.isBindingPattern(t)&&e.isDeclaration(t.parent)&&t.parent.name===t},e.getDeclarationFromName=function(t){var r=t.parent;switch(t.kind){case 10:case 14:case 8:if(e.isComputedPropertyName(r))return r.parent;case 79:if(e.isDeclaration(r))return r.name===t?r:void 0;if(e.isQualifiedName(r)){var n=r.parent;return e.isJSDocParameterTag(n)&&n.name===r?n:void 0}var i=r.parent;return e.isBinaryExpression(i)&&0!==Fe(i)&&(i.left.symbol||i.symbol)&&e.getNameOfDeclaration(i)===t?i:void 0;case 80:return e.isDeclaration(r)&&r.name===t?r:void 0;default:return}},e.isLiteralComputedPropertyDeclarationName=function(t){return vt(t)&&161===t.parent.kind&&e.isDeclaration(t.parent.parent)},e.isIdentifierName=function(e){var t=e.parent;switch(t.kind){case 166:case 165:case 168:case 167:case 171:case 172:case 297:case 294:case 205:return t.name===e;case 160:return t.right===e;case 202:case 269:return t.propertyName===e;case 274:case 284:return!0}return!1},e.isAliasSymbolDeclaration=function(t){return 264===t.kind||263===t.kind||266===t.kind&&!!t.name||267===t.kind||273===t.kind||269===t.kind||274===t.kind||270===t.kind&&ut(t)||e.isBinaryExpression(t)&&2===Fe(t)&&ut(t)||e.isPropertyAccessExpression(t)&&e.isBinaryExpression(t.parent)&&t.parent.left===t&&63===t.parent.operatorToken.kind&&ct(t.parent.right)||295===t.kind||294===t.kind&&ct(t.initializer)},e.getAliasDeclarationFromName=function e(t){switch(t.parent.kind){case 266:case 269:case 267:case 274:case 270:case 264:return t.parent;case 160:do{t=t.parent}while(160===t.parent.kind);return e(t)}},e.isAliasableExpression=ct,e.exportAssignmentIsAlias=ut,e.getExportAssignmentExpression=lt,e.getPropertyAssignmentAliasLikeExpression=function(e){return 295===e.kind?e.name:294===e.kind?e.initializer:e.parent.right},e.getEffectiveBaseTypeNode=pt,e.getClassExtendsHeritageElement=dt,e.getEffectiveImplementsTypeNodes=ft,e.getAllSuperTypeNodes=function(t){return e.isInterfaceDeclaration(t)?_t(t)||e.emptyArray:e.isClassLike(t)&&e.concatenate(e.singleElementArray(pt(t)),ft(t))||e.emptyArray},e.getInterfaceBaseTypeNodes=_t,e.getHeritageClause=mt,e.getAncestor=function(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}},e.isKeyword=gt,e.isContextualKeyword=ht,e.isNonContextualKeyword=yt,e.isFutureReservedKeyword=function(e){return 117<=e&&e<=125},e.isStringANonContextualKeyword=function(t){var r=e.stringToToken(t);return void 0!==r&&yt(r)},e.isStringAKeyword=function(t){var r=e.stringToToken(t);return void 0!==r&&gt(r)},e.isIdentifierANonContextualKeyword=function(e){var t=e.originalKeywordKind;return!!t&&!ht(t)},e.isTrivia=function(e){return 2<=e&&e<=7},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=function(e){if(!e)return 4;var t=0;switch(e.kind){case 255:case 212:case 168:e.asteriskToken&&(t|=1);case 213:Dr(e,256)&&(t|=2)}return e.body||(t|=4),t},e.isAsyncFunction=function(e){switch(e.kind){case 255:case 212:case 213:case 168:return void 0!==e.body&&void 0===e.asteriskToken&&Dr(e,256)}return!1},e.isStringOrNumericLiteralLike=vt,e.isSignedNumericLiteral=Dt,e.hasDynamicName=bt,e.isDynamicName=xt,e.getPropertyNameForPropertyNameNode=Et,e.isPropertyNameLiteral=St,e.getTextOfIdentifierOrLiteral=Ct,e.getEscapedTextOfIdentifierOrLiteral=function(t){return e.isMemberName(t)?t.escapedText:e.escapeLeadingUnderscores(t.text)},e.getPropertyNameForUniqueESSymbol=function(t){return"__@".concat(e.getSymbolId(t),"@").concat(t.escapedName)},e.getSymbolNameForPrivateIdentifier=function(t,r){return"__#".concat(e.getSymbolId(t),"@").concat(r)},e.isKnownSymbol=function(t){return e.startsWith(t.escapedName,"__@")},e.isPrivateIdentifierSymbol=function(t){return e.startsWith(t.escapedName,"__#")},e.isESSymbolIdentifier=function(e){return 79===e.kind&&"Symbol"===e.escapedText},e.isPushOrUnshiftIdentifier=function(e){return"push"===e.escapedText||"unshift"===e.escapedText},e.isParameterDeclaration=function(e){return 163===Tt(e).kind},e.getRootDeclaration=Tt,e.nodeStartsNewLexicalEnvironment=function(e){var t=e.kind;return 170===t||212===t||255===t||213===t||168===t||171===t||172===t||260===t||303===t},e.nodeIsSynthesized=kt,e.getOriginalSourceFile=function(t){return e.getParseTreeNode(t,e.isSourceFile)||t},function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(e.Associativity||(e.Associativity={})),e.getExpressionAssociativity=function(e){var t=Nt(e),r=208===e.kind&&void 0!==e.arguments;return At(e.kind,t,r)},e.getOperatorAssociativity=At,e.getExpressionPrecedence=function(e){var t=Nt(e),r=208===e.kind&&void 0!==e.arguments;return Pt(e.kind,t,r)},e.getOperator=Nt,function(e){e[e.Comma=0]="Comma",e[e.Spread=1]="Spread",e[e.Yield=2]="Yield",e[e.Assignment=3]="Assignment",e[e.Conditional=4]="Conditional",e[e.Coalesce=4]="Coalesce",e[e.LogicalOR=5]="LogicalOR",e[e.LogicalAND=6]="LogicalAND",e[e.BitwiseOR=7]="BitwiseOR",e[e.BitwiseXOR=8]="BitwiseXOR",e[e.BitwiseAND=9]="BitwiseAND",e[e.Equality=10]="Equality",e[e.Relational=11]="Relational",e[e.Shift=12]="Shift",e[e.Additive=13]="Additive",e[e.Multiplicative=14]="Multiplicative",e[e.Exponentiation=15]="Exponentiation",e[e.Unary=16]="Unary",e[e.Update=17]="Update",e[e.LeftHandSide=18]="LeftHandSide",e[e.Member=19]="Member",e[e.Primary=20]="Primary",e[e.Highest=20]="Highest",e[e.Lowest=0]="Lowest",e[e.Invalid=-1]="Invalid"}(e.OperatorPrecedence||(e.OperatorPrecedence={})),e.getOperatorPrecedence=Pt,e.getBinaryOperatorPrecedence=Ft,e.getSemanticJsxChildren=function(t){return e.filter(t,(function(e){switch(e.kind){case 287:return!!e.expression;case 11:return!e.containsOnlyTriviaWhiteSpaces;default:return!0}}))},e.createDiagnosticCollection=function(){var t=[],r=[],n=new e.Map,i=!1;return{add:function(a){var o;a.file?(o=n.get(a.file.fileName))||(o=[],n.set(a.file.fileName,o),e.insertSorted(r,a.file.fileName,e.compareStringsCaseSensitive)):(i&&(i=!1,t=t.slice()),o=t),e.insertSorted(o,a,Dn)},lookup:function(r){var i;if(i=r.file?n.get(r.file.fileName):t){var a=e.binarySearch(i,r,e.identity,bn);if(a>=0)return i[a]}},getGlobalDiagnostics:function(){return i=!0,t},getDiagnostics:function(i){if(i)return n.get(i)||[];var a=e.flatMapToMutable(r,(function(e){return n.get(e)}));return t.length&&a.unshift.apply(a,t),a}}};var wt=/\$\{/g;e.hasInvalidEscape=function(t){return t&&!!(e.isNoSubstitutionTemplateLiteral(t)?t.templateFlags:t.head.templateFlags||e.some(t.templateSpans,(function(e){return!!e.literal.templateFlags})))};var It=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Ot=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Lt=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,Mt=new e.Map(e.getEntries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"}));function Rt(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function Bt(e,t,r){if(0===e.charCodeAt(0)){var n=r.charCodeAt(t+e.length);return n>=48&&n<=57?"\\x00":"\\0"}return Mt.get(e)||Rt(e.charCodeAt(0))}function jt(e,t){var r=96===t?Lt:39===t?Ot:It;return e.replace(r,Bt)}e.escapeString=jt;var Kt=/[^\u0000-\u007F]/g;function Jt(e,t){return e=jt(e,t),Kt.test(e)?e.replace(Kt,(function(e){return Rt(e.charCodeAt(0))})):e}e.escapeNonAsciiString=Jt;var Ut=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,qt=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,Vt=new e.Map(e.getEntries({'"':"&quot;","'":"&apos;"}));function zt(e){return 0===e.charCodeAt(0)?"&#0;":Vt.get(e)||function(e){return"&#x"+e.toString(16).toUpperCase()+";"}(e.charCodeAt(0))}function Wt(e,t){var r=39===t?qt:Ut;return e.replace(r,zt)}e.escapeJsxAttributeString=Wt,e.stripQuotes=function(e){var t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&function(e){return 39===e||34===e||96===e}(e.charCodeAt(0))?e.substring(1,t-1):e},e.isIntrinsicJsxName=function(t){var r=t.charCodeAt(0);return r>=97&&r<=122||e.stringContains(t,"-")||e.stringContains(t,":")};var Ht=[""," "];function Gt(e){for(var t=Ht[1],r=Ht.length;r<=e;r++)Ht.push(Ht[r-1]+t);return Ht[e]}function $t(){return Ht[1].length}function Yt(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function Xt(e,t,r){return t.moduleName||Zt(e,t.fileName,r&&r.fileName)}function Qt(t,r){return t.getCanonicalFileName(e.getNormalizedAbsolutePath(r,t.getCurrentDirectory()))}function Zt(t,r,n){var i=function(e){return t.getCanonicalFileName(e)},a=e.toPath(n?e.getDirectoryPath(n):t.getCommonSourceDirectory(),t.getCurrentDirectory(),i),o=e.getNormalizedAbsolutePath(r,t.getCurrentDirectory()),s=ni(e.getRelativePathToDirectoryOrUrl(a,o,a,i,!1));return n?e.ensurePathIsNonModuleName(s):s}function er(e,t,r,n,i){var a=t.declarationDir||t.outDir,o=a?ar(e,a,r,n,i):e,s=tr(o);return ni(o)+s}function tr(t){return e.fileExtensionIsOneOf(t,[".mjs",".mts"])?".d.mts":e.fileExtensionIsOneOf(t,[".cjs",".cts"])?".d.cts":e.fileExtensionIsOneOf(t,[".json"])?".json.d.ts":".d.ts"}function rr(e){return e.outFile||e.out}function nr(e,t,r){return!(t.getCompilerOptions().noEmitForJsFiles&&ge(e))&&!e.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(e)&&(r||!(V(e)&&t.getResolvedProjectReferenceToRedirect(e.fileName))&&!t.isSourceOfProjectReferenceRedirect(e.fileName))}function ir(e,t,r){return ar(e,r,t.getCurrentDirectory(),t.getCommonSourceDirectory(),(function(e){return t.getCanonicalFileName(e)}))}function ar(t,r,n,i,a){var o=e.getNormalizedAbsolutePath(t,n);return o=0===a(o).indexOf(a(i))?o.substring(i.length):o,e.combinePaths(r,o)}function or(t,r,n){t.length>e.getRootLength(t)&&!n(t)&&(or(e.getDirectoryPath(t),r,n),r(t))}function sr(t,r){return e.computeLineOfPosition(t,r)}function cr(t){return e.find(t.members,(function(t){return e.isConstructorDeclaration(t)&&f(t.body)}))}function ur(e){if(e&&e.parameters.length>0){var t=2===e.parameters.length&&lr(e.parameters[0]);return e.parameters[t?1:0]}}function lr(e){return pr(e.name)}function pr(e){return!!e&&79===e.kind&&dr(e)}function dr(e){return 108===e.originalKeywordKind}function fr(t){if(he(t)||!e.isFunctionDeclaration(t)){var r=t.type;return r||!he(t)?r:e.isJSDocPropertyLikeTag(t)?t.typeExpression&&t.typeExpression.type:e.getJSDocType(t)}}function _r(e,t,r,n){mr(e,t,r.pos,n)}function mr(e,t,r,n){n&&n.length&&r!==n[0].pos&&sr(e,r)!==sr(e,n[0].pos)&&t.writeLine()}function gr(e,t,r,n,i,a,o,s){if(n&&n.length>0){i&&r.writeSpace(" ");for(var c=!1,u=0,l=n;u<l.length;u++){var p=l[u];c&&(r.writeSpace(" "),c=!1),s(e,t,r,p.pos,p.end,o),p.hasTrailingNewLine?r.writeLine():c=!0}c&&a&&r.writeSpace(" ")}}function hr(t,r,n,i,a,o){var s=Math.min(r,o-1),c=e.trimString(t.substring(a,s));c?(n.writeComment(c),s!==r&&n.writeLine()):n.rawWrite(i)}function yr(t,r,n){for(var i=0;r<n&&e.isWhiteSpaceSingleLine(t.charCodeAt(r));r++)9===t.charCodeAt(r)?i+=$t()-i%$t():i++;return i}function vr(e,t){return!!Sr(e,t)}function Dr(e,t){return!!Cr(e,t)}function br(t){return e.isClassElement(t)&&xr(t)||e.isClassStaticBlockDeclaration(t)}function xr(e){return Dr(e,32)}function Er(e){return vr(e,64)}function Sr(e,t){return kr(e)&t}function Cr(e,t){return Ar(e)&t}function Tr(e,t,r){return e.kind>=0&&e.kind<=159?0:(536870912&e.modifierFlagsCache||(e.modifierFlagsCache=536870912|Pr(e)),t&&!(4096&e.modifierFlagsCache)&&(r||he(e))&&e.parent&&(e.modifierFlagsCache|=4096|Nr(e)),-536875009&e.modifierFlagsCache)}function kr(e){return Tr(e,!0)}function Ar(e){return Tr(e,!1)}function Nr(t){var r=0;return!!t.parent&&!e.isParameter(t)&&(he(t)&&(e.getJSDocPublicTagNoCache(t)&&(r|=4),e.getJSDocPrivateTagNoCache(t)&&(r|=8),e.getJSDocProtectedTagNoCache(t)&&(r|=16),e.getJSDocReadonlyTagNoCache(t)&&(r|=64),e.getJSDocOverrideTagNoCache(t)&&(r|=16384)),e.getJSDocDeprecatedTagNoCache(t)&&(r|=8192)),r}function Pr(e){var t=Fr(e.modifiers);return(4&e.flags||79===e.kind&&e.isInJSDocNamespace)&&(t|=1),t}function Fr(e){var t=0;if(e)for(var r=0,n=e;r<n.length;r++)t|=wr(n[r].kind);return t}function wr(e){switch(e){case 124:return 32;case 123:return 4;case 122:return 16;case 121:return 8;case 126:return 128;case 93:return 1;case 135:return 2;case 85:return 2048;case 88:return 512;case 131:return 256;case 144:return 64;case 158:return 16384}return 0}function Ir(e){return 75===e||76===e||77===e}function Or(e){return e>=63&&e<=78}function Lr(e){var t=Mr(e);return t&&!t.isImplements?t.class:void 0}function Mr(t){return e.isExpressionWithTypeArguments(t)&&e.isHeritageClause(t.parent)&&e.isClassLike(t.parent.parent)?{class:t.parent.parent,isImplements:117===t.parent.token}:void 0}function Rr(t,r){return e.isBinaryExpression(t)&&(r?63===t.operatorToken.kind:Or(t.operatorToken.kind))&&e.isLeftHandSideExpression(t.left)}function Br(e){return void 0!==Lr(e)}function jr(e){return 79===e.kind||Kr(e)}function Kr(t){return e.isPropertyAccessExpression(t)&&e.isIdentifier(t.name)&&jr(t.expression)}function Jr(e){return Le(e)&&"prototype"===Ke(e)}e.getIndentString=Gt,e.getIndentSize=$t,e.createTextWriter=function(t){var r,n,i,a,o,s=!1;function c(t){var n=e.computeLineStarts(t);n.length>1?(a=a+n.length-1,o=r.length-t.length+e.last(n),i=o-r.length==0):i=!1}function u(e){e&&e.length&&(i&&(e=Gt(n)+e,i=!1),r+=e,c(e))}function l(e){e&&(s=!1),u(e)}function p(){r="",n=0,i=!0,a=0,o=0,s=!1}return p(),{write:l,rawWrite:function(e){void 0!==e&&(r+=e,c(e),s=!1)},writeLiteral:function(e){e&&e.length&&l(e)},writeLine:function(e){(!i||e)&&(a++,o=(r+=t).length,i=!0,s=!1)},increaseIndent:function(){n++},decreaseIndent:function(){n--},getIndent:function(){return n},getTextPos:function(){return r.length},getLine:function(){return a},getColumn:function(){return i?n*$t():r.length-o},getText:function(){return r},isAtStartOfLine:function(){return i},hasTrailingComment:function(){return s},hasTrailingWhitespace:function(){return!!r.length&&e.isWhiteSpaceLike(r.charCodeAt(r.length-1))},clear:p,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:function(){return!1},writeKeyword:l,writeOperator:l,writeParameter:l,writeProperty:l,writePunctuation:l,writeSpace:l,writeStringLiteral:l,writeSymbol:function(e,t){return l(e)},writeTrailingSemicolon:l,writeComment:function(e){e&&(s=!0),u(e)},getTextPosWithWriteLine:function(){return i?r.length:r.length+t.length}}},e.getTrailingSemicolonDeferringWriter=function(e){var t=!1;function r(){t&&(e.writeTrailingSemicolon(";"),t=!1)}return o(o({},e),{writeTrailingSemicolon:function(){t=!0},writeLiteral:function(t){r(),e.writeLiteral(t)},writeStringLiteral:function(t){r(),e.writeStringLiteral(t)},writeSymbol:function(t,n){r(),e.writeSymbol(t,n)},writePunctuation:function(t){r(),e.writePunctuation(t)},writeKeyword:function(t){r(),e.writeKeyword(t)},writeOperator:function(t){r(),e.writeOperator(t)},writeParameter:function(t){r(),e.writeParameter(t)},writeSpace:function(t){r(),e.writeSpace(t)},writeProperty:function(t){r(),e.writeProperty(t)},writeComment:function(t){r(),e.writeComment(t)},writeLine:function(){r(),e.writeLine()},increaseIndent:function(){r(),e.increaseIndent()},decreaseIndent:function(){r(),e.decreaseIndent()}})},e.hostUsesCaseSensitiveFileNames=Yt,e.hostGetCanonicalFileName=function(t){return e.createGetCanonicalFileName(Yt(t))},e.getResolvedExternalModuleName=Xt,e.getExternalModuleNameFromDeclaration=function(t,r,n){var i=r.getExternalModuleFileFromDeclaration(n);if(i&&!i.isDeclarationFile){var a=Ve(n);if(!a||!e.isStringLiteralLike(a)||e.pathIsRelative(a.text)||-1!==Qt(t,i.path).indexOf(Qt(t,e.ensureTrailingDirectorySeparator(t.getCommonSourceDirectory()))))return Xt(t,i)}},e.getExternalModuleNameFromPath=Zt,e.getOwnEmitOutputFilePath=function(e,t,r){var n=t.getCompilerOptions();return(n.outDir?ni(ir(e,t,n.outDir)):ni(e))+r},e.getDeclarationEmitOutputFilePath=function(e,t){return er(e,t.getCompilerOptions(),t.getCurrentDirectory(),t.getCommonSourceDirectory(),(function(e){return t.getCanonicalFileName(e)}))},e.getDeclarationEmitOutputFilePathWorker=er,e.getDeclarationEmitExtensionForPath=tr,e.outFile=rr,e.getPathsBasePath=function(t,r){var n,i;if(t.paths)return null!==(n=t.baseUrl)&&void 0!==n?n:e.Debug.checkDefined(t.pathsBasePath||(null===(i=r.getCurrentDirectory)||void 0===i?void 0:i.call(r)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")},e.getSourceFilesToEmit=function(t,r,n){var i=t.getCompilerOptions();if(rr(i)){var a=Sn(i),o=i.emitDeclarationOnly||a===e.ModuleKind.AMD||a===e.ModuleKind.System;return e.filter(t.getSourceFiles(),(function(r){return(o||!e.isExternalModule(r))&&nr(r,t,n)}))}var s=void 0===r?t.getSourceFiles():[r];return e.filter(s,(function(e){return nr(e,t,n)}))},e.sourceFileMayBeEmitted=nr,e.getSourceFilePathInNewDir=ir,e.getSourceFilePathInNewDirWorker=ar,e.writeFile=function(t,r,n,i,a,o){t.writeFile(n,i,a,(function(t){r.add(yn(e.Diagnostics.Could_not_write_file_0_Colon_1,n,t))}),o)},e.writeFileEnsuringDirectories=function(t,r,n,i,a,o){try{i(t,r,n)}catch{or(e.getDirectoryPath(e.normalizePath(t)),a,o),i(t,r,n)}},e.getLineOfLocalPosition=function(t,r){var n=e.getLineStarts(t);return e.computeLineOfPosition(n,r)},e.getLineOfLocalPositionFromLineMap=sr,e.getFirstConstructorWithBody=cr,e.getSetAccessorValueParameter=ur,e.getSetAccessorTypeAnnotationNode=function(e){var t=ur(e);return t&&t.type},e.getThisParameter=function(t){if(t.parameters.length&&!e.isJSDocSignature(t)){var r=t.parameters[0];if(lr(r))return r}},e.parameterIsThisKeyword=lr,e.isThisIdentifier=pr,e.isThisInTypeQuery=function(t){if(!pr(t))return!1;for(;e.isQualifiedName(t.parent)&&t.parent.left===t;)t=t.parent;return 180===t.parent.kind},e.identifierIsThisKeyword=dr,e.getAllAccessorDeclarations=function(t,r){var n,i,a,o;return bt(r)?(n=r,171===r.kind?a=r:172===r.kind?o=r:e.Debug.fail("Accessor has wrong kind")):e.forEach(t,(function(t){e.isAccessor(t)&&br(t)===br(r)&&Et(t.name)===Et(r.name)&&(n?i||(i=t):n=t,171===t.kind&&!a&&(a=t),172===t.kind&&!o&&(o=t))})),{firstAccessor:n,secondAccessor:i,getAccessor:a,setAccessor:o}},e.getEffectiveTypeAnnotationNode=fr,e.getTypeAnnotationNode=function(e){return e.type},e.getEffectiveReturnTypeNode=function(t){return e.isJSDocSignature(t)?t.type&&t.type.typeExpression&&t.type.typeExpression.type:t.type||(he(t)?e.getJSDocReturnType(t):void 0)},e.getJSDocTypeParameterDeclarations=function(t){return e.flatMap(e.getJSDocTags(t),(function(t){return function(t){return e.isJSDocTemplateTag(t)&&!(318===t.parent.kind&&t.parent.tags.some(ze))}(t)?t.typeParameters:void 0}))},e.getEffectiveSetAccessorTypeAnnotationNode=function(e){var t=ur(e);return t&&fr(t)},e.emitNewLineBeforeLeadingComments=_r,e.emitNewLineBeforeLeadingCommentsOfPosition=mr,e.emitNewLineBeforeLeadingCommentOfPosition=function(e,t,r,n){r!==n&&sr(e,r)!==sr(e,n)&&t.writeLine()},e.emitComments=gr,e.emitDetachedComments=function(t,r,n,i,a,o,s){var c,u;if(s?0===a.pos&&(c=e.filter(e.getLeadingCommentRanges(t,a.pos),(function(e){return h(t,e.pos)}))):c=e.getLeadingCommentRanges(t,a.pos),c){for(var l=[],p=void 0,d=0,f=c;d<f.length;d++){var _=f[d];if(p){var m=sr(r,p.end);if(sr(r,_.pos)>=m+2)break}l.push(_),p=_}l.length&&(m=sr(r,e.last(l).end),sr(r,e.skipTrivia(t,a.pos))>=m+2&&(_r(r,n,a,c),gr(t,r,n,l,!1,!0,o,i),u={nodePos:a.pos,detachedCommentEndPos:e.last(l).end}))}return u},e.writeCommentRange=function(t,r,n,i,a,o){if(42===t.charCodeAt(i+1))for(var s=e.computeLineAndCharacterOfPosition(r,i),c=r.length,u=void 0,l=i,p=s.line;l<a;p++){var d=p+1===c?t.length+1:r[p+1];if(l!==i){void 0===u&&(u=yr(t,r[s.line],i));var f=n.getIndent()*$t()-u+yr(t,l,d);if(f>0){var _=f%$t(),m=Gt((f-_)/$t());for(n.rawWrite(m);_;)n.rawWrite(" "),_--}else n.rawWrite("")}hr(t,a,n,o,l,d),l=d}else n.writeComment(t.substring(i,a))},e.hasEffectiveModifiers=function(e){return 0!==kr(e)},e.hasSyntacticModifiers=function(e){return 0!==Ar(e)},e.hasEffectiveModifier=vr,e.hasSyntacticModifier=Dr,e.isStatic=br,e.hasStaticModifier=xr,e.hasOverrideModifier=function(e){return vr(e,16384)},e.hasAbstractModifier=function(e){return Dr(e,128)},e.hasAmbientModifier=function(e){return Dr(e,2)},e.hasEffectiveReadonlyModifier=Er,e.getSelectedEffectiveModifierFlags=Sr,e.getSelectedSyntacticModifierFlags=Cr,e.getEffectiveModifierFlags=kr,e.getEffectiveModifierFlagsAlwaysIncludeJSDoc=function(e){return Tr(e,!0,!0)},e.getSyntacticModifierFlags=Ar,e.getEffectiveModifierFlagsNoCache=function(e){return Pr(e)|Nr(e)},e.getSyntacticModifierFlagsNoCache=Pr,e.modifiersToFlags=Fr,e.modifierToFlag=wr,e.createModifiers=function(t){return t?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(t)):void 0},e.isLogicalOperator=function(e){return 56===e||55===e||53===e},e.isLogicalOrCoalescingAssignmentOperator=Ir,e.isLogicalOrCoalescingAssignmentExpression=function(e){return Ir(e.operatorToken.kind)},e.isAssignmentOperator=Or,e.tryGetClassExtendingExpressionWithTypeArguments=Lr,e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=Mr,e.isAssignmentExpression=Rr,e.isLeftHandSideOfAssignment=function(e){return Rr(e.parent)&&e.parent.left===e},e.isDestructuringAssignment=function(e){if(Rr(e,!0)){var t=e.left.kind;return 204===t||203===t}return!1},e.isExpressionWithTypeArgumentsInClassExtendsClause=Br,e.isEntityNameExpression=jr,e.getFirstIdentifier=function(e){switch(e.kind){case 79:return e;case 160:do{e=e.left}while(79!==e.kind);return e;case 205:do{e=e.expression}while(79!==e.kind);return e}},e.isDottedName=function e(t){return 79===t.kind||108===t.kind||106===t.kind||230===t.kind||205===t.kind&&e(t.expression)||211===t.kind&&e(t.expression)},e.isPropertyAccessEntityNameExpression=Kr,e.tryGetPropertyAccessOrIdentifierToString=function t(r){if(e.isPropertyAccessExpression(r)){if(void 0!==(n=t(r.expression)))return n+"."+B(r.name)}else if(e.isElementAccessExpression(r)){var n;if(void 0!==(n=t(r.expression))&&e.isPropertyName(r.argumentExpression))return n+"."+Et(r.argumentExpression)}else if(e.isIdentifier(r))return e.unescapeLeadingUnderscores(r.escapedText)},e.isPrototypeAccess=Jr,e.isRightSideOfQualifiedNameOrPropertyAccess=function(e){return 160===e.parent.kind&&e.parent.right===e||205===e.parent.kind&&e.parent.name===e},e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName=function(t){return e.isQualifiedName(t.parent)&&t.parent.right===t||e.isPropertyAccessExpression(t.parent)&&t.parent.name===t||e.isJSDocMemberName(t.parent)&&t.parent.right===t},e.isEmptyObjectLiteral=function(e){return 204===e.kind&&0===e.properties.length},e.isEmptyArrayLiteral=function(e){return 203===e.kind&&0===e.elements.length},e.getLocalSymbolForExportDefault=function(t){if(function(t){return t&&e.length(t.declarations)>0&&Dr(t.declarations[0],512)}(t)&&t.declarations)for(var r=0,n=t.declarations;r<n.length;r++){var i=n[r];if(i.localSymbol)return i.localSymbol}},e.tryExtractTSExtension=function(t){return e.find(Yn,(function(r){return e.fileExtensionIs(t,r)}))};var Ur="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function qr(t){for(var r,n,i,a,o="",s=function(t){for(var r=[],n=t.length,i=0;i<n;i++){var a=t.charCodeAt(i);a<128?r.push(a):a<2048?(r.push(a>>6|192),r.push(63&a|128)):a<65536?(r.push(a>>12|224),r.push(a>>6&63|128),r.push(63&a|128)):a<131072?(r.push(a>>18|240),r.push(a>>12&63|128),r.push(a>>6&63|128),r.push(63&a|128)):e.Debug.assert(!1,"Unexpected code point")}return r}(t),c=0,u=s.length;c<u;)r=s[c]>>2,n=(3&s[c])<<4|s[c+1]>>4,i=(15&s[c+1])<<2|s[c+2]>>6,a=63&s[c+2],c+1>=u?i=a=64:c+2>=u&&(a=64),o+=Ur.charAt(r)+Ur.charAt(n)+Ur.charAt(i)+Ur.charAt(a),c+=3;return o}e.convertToBase64=qr,e.base64encode=function(e,t){return e&&e.base64encode?e.base64encode(t):qr(t)},e.base64decode=function(e,t){if(e&&e.base64decode)return e.base64decode(t);for(var r=t.length,n=[],i=0;i<r&&t.charCodeAt(i)!==Ur.charCodeAt(64);){var a=Ur.indexOf(t[i]),o=Ur.indexOf(t[i+1]),s=Ur.indexOf(t[i+2]),c=Ur.indexOf(t[i+3]),u=(63&a)<<2|o>>4&3,l=(15&o)<<4|s>>2&15,p=(3&s)<<6|63&c;0===l&&0!==s?n.push(u):0===p&&0!==c?n.push(u,l):n.push(u,l,p),i+=4}return function(e){for(var t="",r=0,n=e.length;r<n;){var i=e[r];if(i<128)t+=String.fromCharCode(i),r++;else if(192==(192&i)){for(var a=63&i,o=e[++r];128==(192&o);)a=a<<6|63&o,o=e[++r];t+=String.fromCharCode(a)}else t+=String.fromCharCode(i),r++}return t}(n)},e.readJson=function(t,r){try{var n=r.readFile(t);if(!n)return{};var i=e.parseConfigFileTextToJson(t,n);return i.error?{}:i.config}catch{return{}}},e.directoryProbablyExists=function(e,t){return!t.directoryExists||t.directoryExists(e)};var Vr,zr;function Wr(t,r){return void 0===r&&(r=t),e.Debug.assert(r>=t||-1===r),{pos:t,end:r}}function Hr(e,t){return Wr(t,e.end)}function Gr(e){return e.decorators&&e.decorators.length>0?Hr(e,e.decorators.end):e}function $r(e,t,r){return Yr(Xr(e,r,!1),t.end,r)}function Yr(t,r,n){return 0===e.getLinesBetweenPositions(n,t,r)}function Xr(t,r,n){return si(t.pos)?-1:e.skipTrivia(r.text,t.pos,!1,n)}function Qr(e){return void 0!==e.initializer}function Zr(e){return 33554432&e.flags?e.checkFlags:0}function en(t){var r=t.parent;if(!r)return 0;switch(r.kind){case 211:case 203:return en(r);case 219:case 218:var n=r.operator;return 45===n||46===n?c():0;case 220:var i=r,a=i.left,o=i.operatorToken;return a===t&&Or(o.kind)?63===o.kind?1:c():0;case 205:return r.name!==t?0:en(r);case 294:var s=en(r.parent);return t===r.name?function(t){switch(t){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(t)}}(s):s;case 295:return t===r.objectAssignmentInitializer?0:en(r.parent);default:return 0}function c(){return r.parent&&237===ot(r.parent).kind?1:2}}function tn(e,t,r){var n=r.onDeleteValue,i=r.onExistingValue;e.forEach((function(r,a){var o=t.get(a);void 0===o?(e.delete(a),n(r,a)):i&&i(r,o,a)}))}function rn(t){var r;return null===(r=t.declarations)||void 0===r?void 0:r.find(e.isClassLike)}function nn(e){return 205===e.kind||206===e.kind}function an(e){for(;nn(e);)e=e.expression;return e}function on(e,t){this.flags=e,this.escapedName=t,this.declarations=void 0,this.valueDeclaration=void 0,this.id=void 0,this.mergeId=void 0,this.parent=void 0}function sn(t,r){this.flags=r,(e.Debug.isDebugging||e.tracing)&&(this.checker=t)}function cn(t,r){this.flags=r,e.Debug.isDebugging&&(this.checker=t)}function un(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0}function ln(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0}function pn(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.flowNode=void 0}function dn(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r||function(e){return e}}function fn(t,r,n){return void 0===n&&(n=0),t.replace(/{(\d+)}/g,(function(t,i){return""+e.Debug.checkDefined(r[+i+n])}))}function _n(e){return zr&&zr[e.key]||e.message}function mn(e){return void 0===e.file&&void 0!==e.start&&void 0!==e.length&&"string"==typeof e.fileName}function gn(t,r){var n=r.fileName||"",i=r.text.length;e.Debug.assertEqual(t.fileName,n),e.Debug.assertLessThanOrEqual(t.start,i),e.Debug.assertLessThanOrEqual(t.start+t.length,i);var a={file:r,start:t.start,length:t.length,messageText:t.messageText,category:t.category,code:t.code,reportsUnnecessary:t.reportsUnnecessary};if(t.relatedInformation){a.relatedInformation=[];for(var o=0,s=t.relatedInformation;o<s.length;o++){var c=s[o];mn(c)&&c.fileName===n?(e.Debug.assertLessThanOrEqual(c.start,i),e.Debug.assertLessThanOrEqual(c.start+c.length,i),a.relatedInformation.push(gn(c,r))):a.relatedInformation.push(c)}}return a}function hn(e,t,r,n){K(e,t,r);var i=_n(n);return arguments.length>4&&(i=fn(i,arguments,4)),{file:e,start:t,length:r,messageText:i,category:n.category,code:n.code,reportsUnnecessary:n.reportsUnnecessary,reportsDeprecated:n.reportsDeprecated}}function yn(e){var t=_n(e);return arguments.length>1&&(t=fn(t,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:t,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function vn(e){return e.file?e.file.path:void 0}function Dn(t,r){return bn(t,r)||function(t,r){return t.relatedInformation||r.relatedInformation?t.relatedInformation&&r.relatedInformation?e.compareValues(t.relatedInformation.length,r.relatedInformation.length)||e.forEach(t.relatedInformation,(function(e,t){return Dn(e,r.relatedInformation[t])}))||0:t.relatedInformation?-1:1:0}(t,r)||0}function bn(t,r){return e.compareStringsCaseSensitive(vn(t),vn(r))||e.compareValues(t.start,r.start)||e.compareValues(t.length,r.length)||e.compareValues(t.code,r.code)||xn(t.messageText,r.messageText)||0}function xn(t,r){if("string"==typeof t&&"string"==typeof r)return e.compareStringsCaseSensitive(t,r);if("string"==typeof t)return-1;if("string"==typeof r)return 1;var n=e.compareStringsCaseSensitive(t.messageText,r.messageText);if(n)return n;if(!t.next&&!r.next)return 0;if(!t.next)return-1;if(!r.next)return 1;for(var i=Math.min(t.next.length,r.next.length),a=0;a<i;a++)if(n=xn(t.next[a],r.next[a]))return n;return t.next.length<r.next.length?-1:t.next.length>r.next.length?1:0}function En(t){return t.target||t.module===e.ModuleKind.Node12&&7||t.module===e.ModuleKind.NodeNext&&99||0}function Sn(t){return"number"==typeof t.module?t.module:En(t)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function Cn(t){if(void 0!==t.esModuleInterop)return t.esModuleInterop;switch(Sn(t)){case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return!0}}function Tn(e){return!(!e.declaration&&!e.composite)}function kn(e,t){return void 0===e[t]?!!e.strict:!!e[t]}function An(e){return void 0===e.allowJs?!!e.checkJs:e.allowJs}function Nn(e,t){return t.strictFlag?kn(e,t.name):e[t.name]}function Pn(t,r){return void 0!==t&&("node_modules"===r(t)||e.startsWith(t,"@"))}e.getNewLineCharacter=function(t,r){switch(t.newLine){case 0:return"\r\n";case 1:return"\n"}return r?r():e.sys?e.sys.newLine:"\r\n"},e.createRange=Wr,e.moveRangeEnd=function(e,t){return Wr(e.pos,t)},e.moveRangePos=Hr,e.moveRangePastDecorators=Gr,e.moveRangePastModifiers=function(e){return e.modifiers&&e.modifiers.length>0?Hr(e,e.modifiers.end):Gr(e)},e.isCollapsedRange=function(e){return e.pos===e.end},e.createTokenRange=function(t,r){return Wr(t,t+e.tokenToString(r).length)},e.rangeIsOnSingleLine=function(e,t){return $r(e,e,t)},e.rangeStartPositionsAreOnSameLine=function(e,t,r){return Yr(Xr(e,r,!1),Xr(t,r,!1),r)},e.rangeEndPositionsAreOnSameLine=function(e,t,r){return Yr(e.end,t.end,r)},e.rangeStartIsOnSameLineAsRangeEnd=$r,e.rangeEndIsOnSameLineAsRangeStart=function(e,t,r){return Yr(e.end,Xr(t,r,!1),r)},e.getLinesBetweenRangeEndAndRangeStart=function(t,r,n,i){var a=Xr(r,n,i);return e.getLinesBetweenPositions(n,t.end,a)},e.getLinesBetweenRangeEndPositions=function(t,r,n){return e.getLinesBetweenPositions(n,t.end,r.end)},e.isNodeArrayMultiLine=function(e,t){return!Yr(e.pos,e.end,t)},e.positionsAreOnSameLine=Yr,e.getStartPositionOfRange=Xr,e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=function(t,r,n,i){var a=e.skipTrivia(n.text,t,!1,i),o=function(t,r,n){for(void 0===r&&(r=0);t-- >r;)if(!e.isWhiteSpaceLike(n.text.charCodeAt(t)))return t}(a,r,n);return e.getLinesBetweenPositions(n,null!=o?o:r,a)},e.getLinesBetweenPositionAndNextNonWhitespaceCharacter=function(t,r,n,i){var a=e.skipTrivia(n.text,t,!1,i);return e.getLinesBetweenPositions(n,t,Math.min(r,a))},e.isDeclarationNameOfEnumOrNamespace=function(t){var r=e.getParseTreeNode(t);if(r)switch(r.parent.kind){case 259:case 260:return r===r.parent.name}return!1},e.getInitializedVariables=function(t){return e.filter(t.declarations,Qr)},e.isWatchSet=function(e){return e.watch&&e.hasOwnProperty("watch")},e.closeFileWatcher=function(e){e.close()},e.getCheckFlags=Zr,e.getDeclarationModifierFlagsFromSymbol=function(t,r){if(void 0===r&&(r=!1),t.valueDeclaration){var n=r&&t.declarations&&e.find(t.declarations,(function(e){return 172===e.kind}))||t.valueDeclaration,i=e.getCombinedModifierFlags(n);return t.parent&&32&t.parent.flags?i:-29&i}if(6&Zr(t)){var a=t.checkFlags;return(1024&a?8:256&a?4:16)|(2048&a?32:0)}return 4194304&t.flags?36:0},e.skipAlias=function(e,t){return 2097152&e.flags?t.getAliasedSymbol(e):e},e.getCombinedLocalAndExportSymbolFlags=function(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags},e.isWriteOnlyAccess=function(e){return 1===en(e)},e.isWriteAccess=function(e){return 0!==en(e)},function(e){e[e.Read=0]="Read",e[e.Write=1]="Write",e[e.ReadWrite=2]="ReadWrite"}(Vr||(Vr={})),e.compareDataObjects=function e(t,r){if(!t||!r||Object.keys(t).length!==Object.keys(r).length)return!1;for(var n in t)if("object"==typeof t[n]){if(!e(t[n],r[n]))return!1}else if("function"!=typeof t[n]&&t[n]!==r[n])return!1;return!0},e.clearMap=function(e,t){e.forEach(t),e.clear()},e.mutateMapSkippingNewValues=tn,e.mutateMap=function(e,t,r){tn(e,t,r);var n=r.createNewValue;t.forEach((function(t,r){e.has(r)||e.set(r,n(r,t))}))},e.isAbstractConstructorSymbol=function(e){if(32&e.flags){var t=rn(e);return!!t&&Dr(t,128)}return!1},e.getClassLikeDeclarationOfSymbol=rn,e.getObjectFlags=function(e){return 3899393&e.flags?e.objectFlags:0},e.typeHasCallOrConstructSignatures=function(e,t){return 0!==t.getSignaturesOfType(e,0).length||0!==t.getSignaturesOfType(e,1).length},e.forSomeAncestorDirectory=function(t,r){return!!e.forEachAncestorDirectory(t,(function(e){return!!r(e)||void 0}))},e.isUMDExportSymbol=function(t){return!!t&&!!t.declarations&&!!t.declarations[0]&&e.isNamespaceExportDeclaration(t.declarations[0])},e.showModuleSpecifier=function(t){var r=t.moduleSpecifier;return e.isStringLiteral(r)?r.text:b(r)},e.getLastChild=function(t){var r;return e.forEachChild(t,(function(e){f(e)&&(r=e)}),(function(e){for(var t=e.length-1;t>=0;t--)if(f(e[t])){r=e[t];break}})),r},e.addToSeen=function(e,t,r){return void 0===r&&(r=!0),!e.has(t)&&(e.set(t,r),!0)},e.isObjectTypeDeclaration=function(t){return e.isClassLike(t)||e.isInterfaceDeclaration(t)||e.isTypeLiteralNode(t)},e.isTypeNodeKind=function(e){return e>=176&&e<=199||130===e||154===e||146===e||157===e||147===e||133===e||149===e||150===e||114===e||152===e||143===e||227===e||310===e||311===e||312===e||313===e||314===e||315===e||316===e},e.isAccessExpression=nn,e.getNameOfAccessExpression=function(t){return 205===t.kind?t.name:(e.Debug.assert(206===t.kind),t.argumentExpression)},e.isBundleFileTextLike=function(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}},e.isNamedImportsOrExports=function(e){return 268===e.kind||272===e.kind},e.getLeftmostAccessExpression=an,e.getLeftmostExpression=function(e,t){for(;;){switch(e.kind){case 219:e=e.operand;continue;case 220:e=e.left;continue;case 221:e=e.condition;continue;case 209:e=e.tag;continue;case 207:if(t)return e;case 228:case 206:case 205:case 229:case 348:e=e.expression;continue}return e}},e.objectAllocator={getNodeConstructor:function(){return un},getTokenConstructor:function(){return ln},getIdentifierConstructor:function(){return pn},getPrivateIdentifierConstructor:function(){return un},getSourceFileConstructor:function(){return un},getSymbolConstructor:function(){return on},getTypeConstructor:function(){return sn},getSignatureConstructor:function(){return cn},getSourceMapSourceConstructor:function(){return dn}},e.setObjectAllocator=function(t){Object.assign(e.objectAllocator,t)},e.formatStringFromArgs=fn,e.setLocalizedDiagnosticMessages=function(e){zr=e},e.maybeSetLocalizedDiagnosticMessages=function(e){!zr&&e&&(zr=e())},e.getLocaleSpecificMessage=_n,e.createDetachedDiagnostic=function(e,t,r,n){K(void 0,t,r);var i=_n(n);return arguments.length>4&&(i=fn(i,arguments,4)),{file:void 0,start:t,length:r,messageText:i,category:n.category,code:n.code,reportsUnnecessary:n.reportsUnnecessary,fileName:e}},e.attachFileToDiagnostics=function(e,t){for(var r=[],n=0,i=e;n<i.length;n++){var a=i[n];r.push(gn(a,t))}return r},e.createFileDiagnostic=hn,e.formatMessage=function(e,t){var r=_n(t);return arguments.length>2&&(r=fn(r,arguments,2)),r},e.createCompilerDiagnostic=yn,e.createCompilerDiagnosticFromMessageChain=function(e,t){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText,relatedInformation:t}},e.chainDiagnosticMessages=function(e,t){var r=_n(t);return arguments.length>2&&(r=fn(r,arguments,2)),{messageText:r,category:t.category,code:t.code,next:void 0===e||Array.isArray(e)?e:[e]}},e.concatenateDiagnosticMessageChains=function(e,t){for(var r=e;r.next;)r=r.next[0];r.next=[t]},e.compareDiagnostics=Dn,e.compareDiagnosticsSkipRelatedInformation=bn,e.getLanguageVariant=function(e){return 4===e||2===e||1===e||6===e?1:0},e.getEmitScriptTarget=En,e.getEmitModuleKind=Sn,e.getEmitModuleResolutionKind=function(t){var r=t.moduleResolution;if(void 0===r)switch(Sn(t)){case e.ModuleKind.CommonJS:r=e.ModuleResolutionKind.NodeJs;break;case e.ModuleKind.Node12:r=e.ModuleResolutionKind.Node12;break;case e.ModuleKind.NodeNext:r=e.ModuleResolutionKind.NodeNext;break;default:r=e.ModuleResolutionKind.Classic}return r},e.hasJsonModuleEmitEnabled=function(t){switch(Sn(t)){case e.ModuleKind.CommonJS:case e.ModuleKind.AMD:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ES2022:case e.ModuleKind.ESNext:case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return!0;default:return!1}},e.unreachableCodeIsError=function(e){return!1===e.allowUnreachableCode},e.unusedLabelIsError=function(e){return!1===e.allowUnusedLabels},e.getAreDeclarationMapsEnabled=function(e){return!(!Tn(e)||!e.declarationMap)},e.getESModuleInterop=Cn,e.getAllowSyntheticDefaultImports=function(t){var r=Sn(t);return void 0!==t.allowSyntheticDefaultImports?t.allowSyntheticDefaultImports:Cn(t)||r===e.ModuleKind.System},e.getEmitDeclarations=Tn,e.shouldPreserveConstEnums=function(e){return!(!e.preserveConstEnums&&!e.isolatedModules)},e.isIncrementalCompilation=function(e){return!(!e.incremental&&!e.composite)},e.getStrictOptionValue=kn,e.getAllowJSCompilerOption=An,e.getUseDefineForClassFields=function(e){return void 0===e.useDefineForClassFields?En(e)>=9:e.useDefineForClassFields},e.compilerOptionsAffectSemanticDiagnostics=function(t,r){return i(r,t,e.semanticDiagnosticsOptionDeclarations)},e.compilerOptionsAffectEmit=function(t,r){return i(r,t,e.affectsEmitOptionDeclarations)},e.getCompilerOptionValue=Nn,e.getJSXTransformEnabled=function(e){var t=e.jsx;return 2===t||4===t||5===t},e.getJSXImplicitImportBase=function(t,r){var n=null==r?void 0:r.pragmas.get("jsximportsource"),i=e.isArray(n)?n[n.length-1]:n;return 4===t.jsx||5===t.jsx||t.jsxImportSource||i?(null==i?void 0:i.arguments.factory)||t.jsxImportSource||"react":void 0},e.getJSXRuntimeImport=function(e,t){return e?"".concat(e,"/").concat(5===t.jsx?"jsx-dev-runtime":"jsx-runtime"):void 0},e.hasZeroOrOneAsteriskCharacter=function(e){for(var t=!1,r=0;r<e.length;r++)if(42===e.charCodeAt(r)){if(t)return!1;t=!0}return!0},e.createSymlinkCache=function(t,r){var n,i,a,o=!1;return{getSymlinkedFiles:function(){return a},getSymlinkedDirectories:function(){return n},getSymlinkedDirectoriesByRealpath:function(){return i},setSymlinkedFile:function(t,r){return(a||(a=new e.Map)).set(t,r)},setSymlinkedDirectory:function(a,o){var s=e.toPath(a,t,r);gi(s)||(s=e.ensureTrailingDirectorySeparator(s),!1!==o&&!(null!=n&&n.has(s))&&(i||(i=e.createMultiMap())).add(e.ensureTrailingDirectorySeparator(o.realPath),a),(n||(n=new e.Map)).set(s,o))},setSymlinksFromResolutions:function(t,r){var n,i=this;e.Debug.assert(!o),o=!0;for(var a=0,c=t;a<c.length;a++)null===(n=c[a].resolvedModules)||void 0===n||n.forEach((function(e){return s(i,e)}));null==r||r.forEach((function(e){return s(i,e)}))},hasProcessedResolutions:function(){return o}};function s(n,i){if(i&&i.originalPath&&i.resolvedFileName){var a=i.resolvedFileName,o=i.originalPath;n.setSymlinkedFile(e.toPath(o,t,r),a);var s=function(t,r,n,i){for(var a=e.getPathComponents(e.getNormalizedAbsolutePath(t,n)),o=e.getPathComponents(e.getNormalizedAbsolutePath(r,n)),s=!1;a.length>=2&&o.length>=2&&!Pn(a[a.length-2],i)&&!Pn(o[o.length-2],i)&&i(a[a.length-1])===i(o[o.length-1]);)a.pop(),o.pop(),s=!0;return s?[e.getPathFromPathComponents(a),e.getPathFromPathComponents(o)]:void 0}(a,o,t,r)||e.emptyArray,c=s[0],u=s[1];c&&u&&n.setSymlinkedDirectory(u,{real:c,realPath:e.toPath(c,t,r)})}}},e.tryRemoveDirectoryPrefix=function(t,r,n){var i=e.tryRemovePrefix(t,r,n);return void 0===i?void 0:function(t){return e.isAnyDirectorySeparator(t.charCodeAt(0))?t.slice(1):void 0}(i)};var Fn=/[^\w\s\/]/g;function wn(e){return"\\"+e}e.regExpEscape=function(e){return e.replace(Fn,wn)};var In=[42,63];e.commonPackageFolders=["node_modules","bower_components","jspm_packages"];var On="(?!(".concat(e.commonPackageFolders.join("|"),")(/|$))"),Ln={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/".concat(On,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(e){return qn(e,Ln.singleAsteriskRegexFragment)}},Mn={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/".concat(On,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(e){return qn(e,Mn.singleAsteriskRegexFragment)}},Rn={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(e){return qn(e,Rn.singleAsteriskRegexFragment)}},Bn={files:Ln,directories:Mn,exclude:Rn};function jn(e,t,r){var n=Kn(e,t,r);if(n&&n.length){var i=n.map((function(e){return"(".concat(e,")")})).join("|"),a="exclude"===r?"($|/)":"$";return"^(".concat(i,")").concat(a)}}function Kn(t,r,n){if(void 0!==t&&0!==t.length)return e.flatMap(t,(function(e){return e&&Un(e,r,n,Bn[n])}))}function Jn(e){return!/[.*?]/.test(e)}function Un(t,r,n,i){var a=i.singleAsteriskRegexFragment,o=i.doubleAsteriskRegexFragment,s=i.replaceWildcardCharacter,c="",u=!1,l=e.getNormalizedPathComponents(t,r),p=e.last(l);if("exclude"===n||"**"!==p){l[0]=e.removeTrailingDirectorySeparator(l[0]),Jn(p)&&l.push("**","*");for(var d=0,f=0,_=l;f<_.length;f++){var m=_[f];if("**"===m)c+=o;else if("directories"===n&&(c+="(",d++),u&&(c+=e.directorySeparator),"exclude"!==n){var g="";42===m.charCodeAt(0)?(g+="([^./]"+a+")?",m=m.substr(1)):63===m.charCodeAt(0)&&(g+="[^./]",m=m.substr(1)),(g+=m.replace(Fn,s))!==m&&(c+=On),c+=g}else c+=m.replace(Fn,s);u=!0}for(;d>0;)c+=")?",d--;return c}}function qn(e,t){return"*"===e?t:"?"===e?"[^/]":"\\"+e}function Vn(t,r,n,i,a){t=e.normalizePath(t),a=e.normalizePath(a);var o=e.combinePaths(a,t);return{includeFilePatterns:e.map(Kn(n,o,"files"),(function(e){return"^".concat(e,"$")})),includeFilePattern:jn(n,o,"files"),includeDirectoryPattern:jn(n,o,"directories"),excludePattern:jn(r,o,"exclude"),basePaths:Wn(t,n,i)}}function zn(e,t){return new RegExp(e,t?"":"i")}function Wn(t,r,n){var i=[t];if(r){for(var a=[],o=0,s=r;o<s.length;o++){var c=s[o],u=e.isRootedDiskPath(c)?c:e.normalizePath(e.combinePaths(t,c));a.push(Hn(u))}a.sort(e.getStringComparer(!n));for(var l=function(r){e.every(i,(function(i){return!e.containsPath(i,r,t,!n)}))&&i.push(r)},p=0,d=a;p<d.length;p++)l(d[p])}return i}function Hn(t){var r=e.indexOfAnyCharCode(t,In);return r<0?e.hasExtension(t)?e.removeTrailingDirectorySeparator(e.getDirectoryPath(t)):t:t.substring(0,t.lastIndexOf(e.directorySeparator,r))}function Gn(e){switch(e.substr(e.lastIndexOf(".")).toLowerCase()){case".js":case".cjs":case".mjs":return 1;case".jsx":return 2;case".ts":case".cts":case".mts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}e.getRegularExpressionForWildcard=jn,e.getRegularExpressionsForWildcards=Kn,e.isImplicitGlob=Jn,e.getPatternFromSpec=function(e,t,r){var n=e&&Un(e,t,r,Bn[r]);return n&&"^(".concat(n,")").concat("exclude"===r?"($|/)":"$")},e.getFileMatcherPatterns=Vn,e.getRegexFromPattern=zn,e.matchFiles=function(t,r,n,i,a,o,s,c,u){t=e.normalizePath(t),o=e.normalizePath(o);for(var l=Vn(t,n,i,a,o),p=l.includeFilePatterns&&l.includeFilePatterns.map((function(e){return zn(e,a)})),d=l.includeDirectoryPattern&&zn(l.includeDirectoryPattern,a),f=l.excludePattern&&zn(l.excludePattern,a),_=p?p.map((function(){return[]})):[[]],m=new e.Map,g=e.createGetCanonicalFileName(a),h=0,y=l.basePaths;h<y.length;h++){var v=y[h];D(v,e.combinePaths(o,v),s)}return e.flatten(_);function D(t,n,i){var a=g(u(n));if(!m.has(a)){m.set(a,!0);for(var o=c(t),s=o.files,l=o.directories,h=function(i){var a=e.combinePaths(t,i),o=e.combinePaths(n,i);if(r&&!e.fileExtensionIsOneOf(a,r)||f&&f.test(o))return"continue";if(p){var s=e.findIndex(p,(function(e){return e.test(o)}));-1!==s&&_[s].push(a)}else _[0].push(a)},y=0,v=e.sort(s,e.compareStringsCaseSensitive);y<v.length;y++)h(E=v[y]);if(void 0===i||0!=--i)for(var b=0,x=e.sort(l,e.compareStringsCaseSensitive);b<x.length;b++){var E=x[b],S=e.combinePaths(t,E),C=e.combinePaths(n,E);(!d||d.test(C))&&(!f||!f.test(C))&&D(S,C,i)}}}},e.ensureScriptKind=function(e,t){return t||Gn(e)||3},e.getScriptKindFromFileName=Gn,e.supportedTSExtensions=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],e.supportedTSExtensionsFlat=e.flatten(e.supportedTSExtensions);var $n=a(a([],e.supportedTSExtensions,!0),[[".json"]],!1),Yn=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx",".cts",".mts"];e.supportedJSExtensions=[[".js",".jsx"],[".mjs"],[".cjs"]],e.supportedJSExtensionsFlat=e.flatten(e.supportedJSExtensions);var Xn=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],Qn=a(a([],Xn,!0),[[".json"]],!1);function Zn(t,r){var n=t&&An(t);if(!r||0===r.length)return n?Xn:e.supportedTSExtensions;var i=n?Xn:e.supportedTSExtensions,o=e.flatten(i);return a(a([],i,!0),e.mapDefined(r,(function(e){return 7===e.scriptKind||n&&function(e){return 1===e||2===e}(e.scriptKind)&&-1===o.indexOf(e.extension)?[e.extension]:void 0})),!0)}function ei(t,r){return t&&t.resolveJsonModule?r===Xn?Qn:r===e.supportedTSExtensions?$n:a(a([],r,!0),[[".json"]],!1):r}function ti(e){var t=e.match(/\//g);return t?t.length:0}e.getSupportedExtensions=Zn,e.getSupportedExtensionsWithJsonIfResolveJsonModule=ei,e.hasJSFileExtension=function(t){return e.some(e.supportedJSExtensionsFlat,(function(r){return e.fileExtensionIs(t,r)}))},e.hasTSFileExtension=function(t){return e.some(e.supportedTSExtensionsFlat,(function(r){return e.fileExtensionIs(t,r)}))},e.isSupportedSourceFileName=function(t,r,n){if(!t)return!1;for(var i=Zn(r,n),a=0,o=e.flatten(ei(r,i));a<o.length;a++){var s=o[a];if(e.fileExtensionIs(t,s))return!0}return!1},e.compareNumberOfDirectorySeparators=function(t,r){return e.compareValues(ti(t),ti(r))};var ri=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"];function ni(e){for(var t=0,r=ri;t<r.length;t++){var n=ii(e,r[t]);if(void 0!==n)return n}return e}function ii(t,r){return e.fileExtensionIs(t,r)?ai(t,r):void 0}function ai(e,t){return e.substring(0,e.length-t.length)}function oi(e){var t=e.indexOf("*");return-1===t?e:-1!==e.indexOf("*",t+1)?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}function si(e){return!(e>=0)}function ci(e){return".ts"===e||".tsx"===e||".d.ts"===e||".cts"===e||".mts"===e||".d.mts"===e||".d.cts"===e}function ui(t){return e.find(ri,(function(r){return e.fileExtensionIs(t,r)}))}function li(t,r){return t===r||"object"==typeof t&&null!==t&&"object"==typeof r&&null!==r&&e.equalOwnProperties(t,r,li)}function pi(e,t){return e.pos=t,e}function di(e,t){return e.end=t,e}function fi(e,t,r){return di(pi(e,t),r)}function _i(e,t){return e&&t&&(e.parent=t),e}function mi(t){return!e.isOmittedExpression(t)}function gi(t){return e.some(e.ignoredPaths,(function(r){return e.stringContains(t,r)}))}function hi(e){return 253===e.kind&&291===e.parent.kind}function yi(e){return(+e).toString()===e}e.removeFileExtension=ni,e.tryRemoveExtension=ii,e.removeExtension=ai,e.changeExtension=function(t,r){return e.changeAnyExtension(t,r,ri,!1)},e.tryParsePattern=oi,e.tryParsePatterns=function(t){return e.mapDefined(e.getOwnKeys(t),(function(e){return oi(e)}))},e.positionIsSynthesized=si,e.extensionIsTS=ci,e.resolutionExtensionIsTSOrJson=function(e){return ci(e)||".json"===e},e.extensionFromPath=function(t){var r=ui(t);return void 0!==r?r:e.Debug.fail("File ".concat(t," has unknown extension."))},e.isAnySupportedFileExtension=function(e){return void 0!==ui(e)},e.tryGetExtensionFromPath=ui,e.isCheckJsEnabledForFile=function(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs},e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray},e.matchPatternOrExact=function(t,r){for(var n=[],i=0,a=t;i<a.length;i++){var o=a[i];if(o===r)return r;e.isString(o)||n.push(o)}return e.findBestPatternMatch(n,(function(e){return e}),r)},e.sliceAfter=function(t,r){var n=t.indexOf(r);return e.Debug.assert(-1!==n),t.slice(n)},e.addRelatedInfo=function(t){for(var r,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return n.length&&(t.relatedInformation||(t.relatedInformation=[]),e.Debug.assert(t.relatedInformation!==e.emptyArray,"Diagnostic had empty array singleton for related info, but is still being constructed!"),(r=t.relatedInformation).push.apply(r,n)),t},e.minAndMax=function(t,r){e.Debug.assert(0!==t.length);for(var n=r(t[0]),i=n,a=1;a<t.length;a++){var o=r(t[a]);o<n?n=o:o>i&&(i=o)}return{min:n,max:i}},e.rangeOfNode=function(e){return{pos:y(e),end:e.end}},e.rangeOfTypeParameters=function(t,r){return{pos:r.pos-1,end:e.skipTrivia(t.text,r.end)+1}},e.skipTypeChecking=function(e,t,r){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||r.isSourceOfProjectReferenceRedirect(e.fileName)},e.isJsonEqual=li,e.parsePseudoBigInt=function(e){var t;switch(e.charCodeAt(1)){case 98:case 66:t=1;break;case 111:case 79:t=3;break;case 120:case 88:t=4;break;default:for(var r=e.length-1,n=0;48===e.charCodeAt(n);)n++;return e.slice(n,r)||"0"}for(var i=e.length-1,a=(i-2)*t,o=new Uint16Array((a>>>4)+(15&a?1:0)),s=i-1,c=0;s>=2;s--,c+=t){var u=c>>>4,l=e.charCodeAt(s),p=(l<=57?l-48:10+l-(l<=70?65:97))<<(15&c);o[u]|=p;var d=p>>>16;d&&(o[u+1]|=d)}for(var f="",_=o.length-1,m=!0;m;){var g=0;for(m=!1,u=_;u>=0;u--){var h=g<<16|o[u],y=h/10|0;o[u]=y,g=h-10*y,y&&!m&&(_=u,m=!0)}f=g+f}return f},e.pseudoBigIntToString=function(e){var t=e.negative,r=e.base10Value;return(t&&"0"!==r?"-":"")+r},e.isValidTypeOnlyAliasUseSite=function(t){return!!(8388608&t.flags)||_e(t)||function(t){if(79!==t.kind)return!1;var r=e.findAncestor(t.parent,(function(e){switch(e.kind){case 290:return!0;case 205:case 227:return!1;default:return"quit"}}));return 117===(null==r?void 0:r.token)||257===(null==r?void 0:r.parent.kind)}(t)||function(e){for(;79===e.kind||205===e.kind;)e=e.parent;if(161!==e.kind)return!1;if(Dr(e.parent,128))return!0;var t=e.parent.parent.kind;return 257===t||181===t}(t)||!(de(t)||function(t){return e.isIdentifier(t)&&e.isShorthandPropertyAssignment(t.parent)&&t.parent.name===t}(t))},e.isIdentifierTypeReference=function(t){return e.isTypeReferenceNode(t)&&e.isIdentifier(t.typeName)},e.arrayIsHomogeneous=function(t,r){if(void 0===r&&(r=e.equateValues),t.length<2)return!0;for(var n=t[0],i=1,a=t.length;i<a;i++)if(!r(n,t[i]))return!1;return!0},e.setTextRangePos=pi,e.setTextRangeEnd=di,e.setTextRangePosEnd=fi,e.setTextRangePosWidth=function(e,t,r){return fi(e,t,t+r)},e.setNodeFlags=function(e,t){return e&&(e.flags=t),e},e.setParent=_i,e.setEachParent=function(e,t){if(e)for(var r=0,n=e;r<n.length;r++)_i(n[r],t);return e},e.setParentRecursive=function(t,r){return t?(e.forEachChildRecursively(t,e.isJSDocNode(t)?n:function(t,r){return n(t,r)||function(t){if(e.hasJSDocNodes(t))for(var r=0,i=t.jsDoc;r<i.length;r++){var a=i[r];n(a,t),e.forEachChildRecursively(a,n)}}(t)}),t):t;function n(e,t){if(r&&e.parent===t)return"skip";_i(e,t)}},e.isPackedArrayLiteral=function(t){return e.isArrayLiteralExpression(t)&&e.every(t.elements,mi)},e.expressionResultIsUnused=function(t){for(e.Debug.assertIsDefined(t.parent);;){var r=t.parent;if(e.isParenthesizedExpression(r))t=r;else{if(e.isExpressionStatement(r)||e.isVoidExpression(r)||e.isForStatement(r)&&(r.initializer===t||r.incrementor===t))return!0;if(e.isCommaListExpression(r)){if(t!==e.last(r.elements))return!0;t=r}else{if(!e.isBinaryExpression(r)||27!==r.operatorToken.kind)return!1;if(t===r.left)return!0;t=r}}}},e.containsIgnoredPath=gi,e.getContainingNodeArray=function(t){if(t.parent){switch(t.kind){case 162:var r=t.parent;return 189===r.kind?void 0:r.typeParameters;case 163:return t.parent.parameters;case 198:case 232:return t.parent.templateSpans;case 164:return t.parent.decorators;case 290:return t.parent.heritageClauses}var n=t.parent;if(e.isJSDocTag(t))return e.isJSDocTypeLiteral(t.parent)?void 0:t.parent.tags;switch(n.kind){case 181:case 257:return e.isTypeElement(t)?n.members:void 0;case 186:case 187:return n.types;case 183:case 203:case 349:case 268:case 272:return n.elements;case 204:case 285:return n.properties;case 207:case 208:return e.isTypeNode(t)?n.typeArguments:n.expression===t?void 0:n.arguments;case 277:case 281:return e.isJsxChild(t)?n.children:void 0;case 279:case 278:return e.isTypeNode(t)?n.typeArguments:void 0;case 234:case 288:case 289:case 261:case 303:return n.statements;case 262:return n.clauses;case 256:case 225:return e.isClassElement(t)?n.members:void 0;case 259:return e.isEnumMember(t)?n.members:void 0}}},e.hasContextSensitiveParameters=function(t){if(!t.typeParameters){if(e.some(t.parameters,(function(e){return!fr(e)})))return!0;if(213!==t.kind){var r=e.firstOrUndefined(t.parameters);if(!r||!lr(r))return!0}}return!1},e.isInfinityOrNaNString=function(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e},e.isCatchClauseVariableDeclaration=hi,e.isParameterOrCatchClauseVariable=function(t){var r=t.valueDeclaration&&Tt(t.valueDeclaration);return!!r&&(e.isParameter(r)||hi(r))},e.isFunctionExpressionOrArrowFunction=function(e){return 212===e.kind||213===e.kind},e.escapeSnippetText=function(e){return e.replace(/\$/gm,(function(){return"\\$"}))},e.isNumericLiteralName=yi,e.createPropertyNameNodeForIdentifierOrLiteral=function(t,r,n,i){return e.isIdentifierText(t,r)?e.factory.createIdentifier(t):!i&&yi(t)&&+t>=0?e.factory.createNumericLiteral(+t):e.factory.createStringLiteral(t,!!n)},e.isThisTypeParameter=function(e){return!!(262144&e.flags&&e.isThisType)},e.getNodeModulePathParts=function(t){var r,n,i=0,a=0,o=0;(n=r||(r={}))[n.BeforeNodeModules=0]="BeforeNodeModules",n[n.NodeModules=1]="NodeModules",n[n.Scope=2]="Scope",n[n.PackageContent=3]="PackageContent";for(var s=0,c=0,u=0;c>=0;)switch(s=c,c=t.indexOf("/",s+1),u){case 0:t.indexOf(e.nodeModulesPathPart,s)===s&&(i=s,a=c,u=1);break;case 1:case 2:1===u&&"@"===t.charAt(s+1)?u=2:(o=c,u=3);break;case 3:u=t.indexOf(e.nodeModulesPathPart,s)===s?1:3}return u>1?{topLevelNodeModulesIndex:i,topLevelPackageNameIndex:a,packageRootIndex:o,fileNameIndex:s}:void 0}}(n||(n={})),function(e){e.createBaseNodeFactory=function(){var t,r,n,i,a;return{createBaseSourceFileNode:function(t){return new(a||(a=e.objectAllocator.getSourceFileConstructor()))(t,-1,-1)},createBaseIdentifierNode:function(t){return new(n||(n=e.objectAllocator.getIdentifierConstructor()))(t,-1,-1)},createBasePrivateIdentifierNode:function(t){return new(i||(i=e.objectAllocator.getPrivateIdentifierConstructor()))(t,-1,-1)},createBaseTokenNode:function(t){return new(r||(r=e.objectAllocator.getTokenConstructor()))(t,-1,-1)},createBaseNode:function(r){return new(t||(t=e.objectAllocator.getNodeConstructor()))(r,-1,-1)}}}}(n||(n={})),function(e){e.createParenthesizerRules=function(t){var r,n;return{getParenthesizeLeftSideOfBinaryForOperator:function(t){r||(r=new e.Map);var n=r.get(t);return n||(n=function(e){return o(t,e)},r.set(t,n)),n},getParenthesizeRightSideOfBinaryForOperator:function(t){n||(n=new e.Map);var r=n.get(t);return r||(r=function(e){return s(t,void 0,e)},n.set(t,r)),r},parenthesizeLeftSideOfBinary:o,parenthesizeRightSideOfBinary:s,parenthesizeExpressionOfComputedPropertyName:function(r){return e.isCommaSequence(r)?t.createParenthesizedExpression(r):r},parenthesizeConditionOfConditionalExpression:function(r){var n=e.getOperatorPrecedence(221,57),i=e.skipPartiallyEmittedExpressions(r),a=e.getExpressionPrecedence(i);return 1!==e.compareValues(a,n)?t.createParenthesizedExpression(r):r},parenthesizeBranchOfConditionalExpression:function(r){var n=e.skipPartiallyEmittedExpressions(r);return e.isCommaSequence(n)?t.createParenthesizedExpression(r):r},parenthesizeExpressionOfExportDefault:function(r){var n=e.skipPartiallyEmittedExpressions(r),i=e.isCommaSequence(n);if(!i)switch(e.getLeftmostExpression(n,!1).kind){case 225:case 212:i=!0}return i?t.createParenthesizedExpression(r):r},parenthesizeExpressionOfNew:function(r){var n=e.getLeftmostExpression(r,!0);switch(n.kind){case 207:return t.createParenthesizedExpression(r);case 208:return n.arguments?r:t.createParenthesizedExpression(r)}return c(r)},parenthesizeLeftSideOfAccess:c,parenthesizeOperandOfPostfixUnary:function(r){return e.isLeftHandSideExpression(r)?r:e.setTextRange(t.createParenthesizedExpression(r),r)},parenthesizeOperandOfPrefixUnary:function(r){return e.isUnaryExpression(r)?r:e.setTextRange(t.createParenthesizedExpression(r),r)},parenthesizeExpressionsOfCommaDelimitedList:function(r){var n=e.sameMap(r,u);return e.setTextRange(t.createNodeArray(n,r.hasTrailingComma),r)},parenthesizeExpressionForDisallowedComma:u,parenthesizeExpressionOfExpressionStatement:function(r){var n=e.skipPartiallyEmittedExpressions(r);if(e.isCallExpression(n)){var i=n.expression,a=e.skipPartiallyEmittedExpressions(i).kind;if(212===a||213===a){var o=t.updateCallExpression(n,e.setTextRange(t.createParenthesizedExpression(i),i),n.typeArguments,n.arguments);return t.restoreOuterExpressions(r,o,8)}}var s=e.getLeftmostExpression(n,!1).kind;return 204===s||212===s?e.setTextRange(t.createParenthesizedExpression(r),r):r},parenthesizeConciseBodyOfArrowFunction:function(r){return e.isBlock(r)||!e.isCommaSequence(r)&&204!==e.getLeftmostExpression(r,!1).kind?r:e.setTextRange(t.createParenthesizedExpression(r),r)},parenthesizeMemberOfConditionalType:l,parenthesizeMemberOfElementType:p,parenthesizeElementTypeOfArrayType:function(e){switch(e.kind){case 180:case 192:case 189:return t.createParenthesizedType(e)}return p(e)},parenthesizeConstituentTypesOfUnionOrIntersectionType:function(r){return t.createNodeArray(e.sameMap(r,p))},parenthesizeTypeArguments:function(r){if(e.some(r))return t.createNodeArray(e.sameMap(r,d))}};function i(t){if(t=e.skipPartiallyEmittedExpressions(t),e.isLiteralKind(t.kind))return t.kind;if(220===t.kind&&39===t.operatorToken.kind){if(void 0!==t.cachedLiteralKind)return t.cachedLiteralKind;var r=i(t.left),n=e.isLiteralKind(r)&&r===i(t.right)?r:0;return t.cachedLiteralKind=n,n}return 0}function a(r,n,a,o){return 211===e.skipPartiallyEmittedExpressions(n).kind?n:function(t,r,n,a){var o=e.getOperatorPrecedence(220,t),s=e.getOperatorAssociativity(220,t),c=e.skipPartiallyEmittedExpressions(r);if(!n&&213===r.kind&&o>3)return!0;var u=e.getExpressionPrecedence(c);switch(e.compareValues(u,o)){case-1:return!(!n&&1===s&&223===r.kind);case 1:return!1;case 0:if(n)return 1===s;if(e.isBinaryExpression(c)&&c.operatorToken.kind===t){if(function(e){return 41===e||51===e||50===e||52===e}(t))return!1;if(39===t){var l=a?i(a):0;if(e.isLiteralKind(l)&&l===i(c))return!1}}return 0===e.getExpressionAssociativity(c)}}(r,n,a,o)?t.createParenthesizedExpression(n):n}function o(e,t){return a(e,t,!0)}function s(e,t,r){return a(e,r,!1,t)}function c(r){var n=e.skipPartiallyEmittedExpressions(r);return e.isLeftHandSideExpression(n)&&(208!==n.kind||n.arguments)?r:e.setTextRange(t.createParenthesizedExpression(r),r)}function u(r){var n=e.skipPartiallyEmittedExpressions(r);return e.getExpressionPrecedence(n)>e.getOperatorPrecedence(220,27)?r:e.setTextRange(t.createParenthesizedExpression(r),r)}function l(e){return 188===e.kind?t.createParenthesizedType(e):e}function p(e){switch(e.kind){case 186:case 187:case 178:case 179:return t.createParenthesizedType(e)}return l(e)}function d(r,n){return 0===n&&e.isFunctionOrConstructorTypeNode(r)&&r.typeParameters?t.createParenthesizedType(r):r}},e.nullParenthesizerRules={getParenthesizeLeftSideOfBinaryForOperator:function(t){return e.identity},getParenthesizeRightSideOfBinaryForOperator:function(t){return e.identity},parenthesizeLeftSideOfBinary:function(e,t){return t},parenthesizeRightSideOfBinary:function(e,t,r){return r},parenthesizeExpressionOfComputedPropertyName:e.identity,parenthesizeConditionOfConditionalExpression:e.identity,parenthesizeBranchOfConditionalExpression:e.identity,parenthesizeExpressionOfExportDefault:e.identity,parenthesizeExpressionOfNew:function(t){return e.cast(t,e.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(t){return e.cast(t,e.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(t){return e.cast(t,e.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(t){return e.cast(t,e.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(t){return e.cast(t,e.isNodeArray)},parenthesizeExpressionForDisallowedComma:e.identity,parenthesizeExpressionOfExpressionStatement:e.identity,parenthesizeConciseBodyOfArrowFunction:e.identity,parenthesizeMemberOfConditionalType:e.identity,parenthesizeMemberOfElementType:e.identity,parenthesizeElementTypeOfArrayType:e.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(t){return e.cast(t,e.isNodeArray)},parenthesizeTypeArguments:function(t){return t&&e.cast(t,e.isNodeArray)}}}(n||(n={})),function(e){e.createNodeConverters=function(t){return{convertToFunctionBlock:function(r,n){if(e.isBlock(r))return r;var i=t.createReturnStatement(r);e.setTextRange(i,r);var a=t.createBlock([i],n);return e.setTextRange(a,r),a},convertToFunctionExpression:function(r){if(!r.body)return e.Debug.fail("Cannot convert a FunctionDeclaration without a body");var n=t.createFunctionExpression(r.modifiers,r.asteriskToken,r.name,r.typeParameters,r.parameters,r.type,r.body);return e.setOriginalNode(n,r),e.setTextRange(n,r),e.getStartsOnNewLine(r)&&e.setStartsOnNewLine(n,!0),n},convertToArrayAssignmentElement:r,convertToObjectAssignmentElement:n,convertToAssignmentPattern:i,convertToObjectAssignmentPattern:a,convertToArrayAssignmentPattern:o,convertToAssignmentElementTarget:s};function r(r){if(e.isBindingElement(r)){if(r.dotDotDotToken)return e.Debug.assertNode(r.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(t.createSpreadElement(r.name),r),r);var n=s(r.name);return r.initializer?e.setOriginalNode(e.setTextRange(t.createAssignment(n,r.initializer),r),r):n}return e.cast(r,e.isExpression)}function n(r){if(e.isBindingElement(r)){if(r.dotDotDotToken)return e.Debug.assertNode(r.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(t.createSpreadAssignment(r.name),r),r);if(r.propertyName){var n=s(r.name);return e.setOriginalNode(e.setTextRange(t.createPropertyAssignment(r.propertyName,r.initializer?t.createAssignment(n,r.initializer):n),r),r)}return e.Debug.assertNode(r.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(t.createShorthandPropertyAssignment(r.name,r.initializer),r),r)}return e.cast(r,e.isObjectLiteralElementLike)}function i(e){switch(e.kind){case 201:case 203:return o(e);case 200:case 204:return a(e)}}function a(r){return e.isObjectBindingPattern(r)?e.setOriginalNode(e.setTextRange(t.createObjectLiteralExpression(e.map(r.elements,n)),r),r):e.cast(r,e.isObjectLiteralExpression)}function o(n){return e.isArrayBindingPattern(n)?e.setOriginalNode(e.setTextRange(t.createArrayLiteralExpression(e.map(n.elements,r)),n),n):e.cast(n,e.isArrayLiteralExpression)}function s(t){return e.isBindingPattern(t)?i(t):e.cast(t,e.isExpression)}},e.nullNodeConverters={convertToFunctionBlock:e.notImplemented,convertToFunctionExpression:e.notImplemented,convertToArrayAssignmentElement:e.notImplemented,convertToObjectAssignmentElement:e.notImplemented,convertToAssignmentPattern:e.notImplemented,convertToObjectAssignmentPattern:e.notImplemented,convertToArrayAssignmentPattern:e.notImplemented,convertToAssignmentElementTarget:e.notImplemented}}(n||(n={})),function(e){var t,r=0;function n(t,n){var _=8&t?i:o,m=e.memoize((function(){return 1&t?e.nullParenthesizerRules:e.createParenthesizerRules(A)})),g=e.memoize((function(){return 2&t?e.nullNodeConverters:e.createNodeConverters(A)})),h=e.memoizeOne((function(e){return function(t,r){return Lt(t,e,r)}})),y=e.memoizeOne((function(e){return function(t){return It(e,t)}})),D=e.memoizeOne((function(e){return function(t){return Ot(t,e)}})),b=e.memoizeOne((function(e){return function(){return function(e){return P(e)}(e)}})),x=e.memoizeOne((function(e){return function(t){return tn(e,t)}})),E=e.memoizeOne((function(e){return function(t,r){return function(e,t,r){return t.type!==r?_(tn(e,r),t):t}(e,t,r)}})),S=e.memoizeOne((function(e){return function(t,r){return xn(e,t,r)}})),C=e.memoizeOne((function(e){return function(t,r,n){return function(e,t,r,n){return void 0===r&&(r=sn(t)),t.tagName!==r||t.comment!==n?_(xn(e,r,n),t):t}(e,t,r,n)}})),T=e.memoizeOne((function(e){return function(t,r,n){return En(e,t,r,n)}})),k=e.memoizeOne((function(e){return function(t,r,n,i){return function(e,t,r,n,i){return void 0===r&&(r=sn(t)),t.tagName!==r||t.typeExpression!==n||t.comment!==i?_(En(e,r,n,i),t):t}(e,t,r,n,i)}})),A={get parenthesizer(){return m()},get converters(){return g()},createNodeArray:N,createNumericLiteral:q,createBigIntLiteral:V,createStringLiteral:W,createStringLiteralFromNode:function(t){var r=z(e.getTextOfIdentifierOrLiteral(t),void 0);return r.textSourceNode=t,r},createRegularExpressionLiteral:H,createLiteralLikeNode:function(e,t){switch(e){case 8:return q(t,0);case 9:return V(t);case 10:return W(t,void 0);case 11:return wn(t,!1);case 12:return wn(t,!0);case 13:return H(t);case 14:return Kt(e,t,void 0,0)}},createIdentifier:Y,updateIdentifier:function(t,r){return t.typeArguments!==r?_(Y(e.idText(t),r),t):t},createTempVariable:X,createLoopVariable:function(e){var t=2;return e&&(t|=8),$("",t)},createUniqueName:function(t,r){return void 0===r&&(r=0),e.Debug.assert(!(7&r),"Argument out of range: flags"),e.Debug.assert(32!=(48&r),"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),$(t,3|r)},getGeneratedNameForNode:Q,createPrivateIdentifier:function(t){e.startsWith(t,"#")||e.Debug.fail("First character of private identifier must be #: "+t);var r=n.createBasePrivateIdentifierNode(80);return r.escapedText=e.escapeLeadingUnderscores(t),r.transformFlags|=8388608,r},createToken:ee,createSuper:function(){return ee(106)},createThis:te,createNull:function(){return ee(104)},createTrue:re,createFalse:ne,createModifier:ie,createModifiersFromModifierFlags:ae,createQualifiedName:oe,updateQualifiedName:function(e,t,r){return e.left!==t||e.right!==r?_(oe(t,r),e):e},createComputedPropertyName:se,updateComputedPropertyName:function(e,t){return e.expression!==t?_(se(t),e):e},createTypeParameterDeclaration:ce,updateTypeParameterDeclaration:function(e,t,r,n){return e.name!==t||e.constraint!==r||e.default!==n?_(ce(t,r,n),e):e},createParameterDeclaration:ue,updateParameterDeclaration:le,createDecorator:pe,updateDecorator:function(e,t){return e.expression!==t?_(pe(t),e):e},createPropertySignature:de,updatePropertySignature:fe,createPropertyDeclaration:_e,updatePropertyDeclaration:me,createMethodSignature:ge,updateMethodSignature:he,createMethodDeclaration:ye,updateMethodDeclaration:ve,createConstructorDeclaration:be,updateConstructorDeclaration:xe,createGetAccessorDeclaration:Ee,updateGetAccessorDeclaration:Se,createSetAccessorDeclaration:Ce,updateSetAccessorDeclaration:Te,createCallSignature:ke,updateCallSignature:function(e,t,r,n){return e.typeParameters!==t||e.parameters!==r||e.type!==n?L(ke(t,r,n),e):e},createConstructSignature:Ae,updateConstructSignature:function(e,t,r,n){return e.typeParameters!==t||e.parameters!==r||e.type!==n?L(Ae(t,r,n),e):e},createIndexSignature:Ne,updateIndexSignature:Pe,createClassStaticBlockDeclaration:De,updateClassStaticBlockDeclaration:function(e,t,r,n){return e.decorators!==t||e.modifier!==r||e.body!==n?_(De(t,r,n),e):e},createTemplateLiteralTypeSpan:Fe,updateTemplateLiteralTypeSpan:function(e,t,r){return e.type!==t||e.literal!==r?_(Fe(t,r),e):e},createKeywordTypeNode:function(e){return ee(e)},createTypePredicateNode:we,updateTypePredicateNode:function(e,t,r,n){return e.assertsModifier!==t||e.parameterName!==r||e.type!==n?_(we(t,r,n),e):e},createTypeReferenceNode:Ie,updateTypeReferenceNode:function(e,t,r){return e.typeName!==t||e.typeArguments!==r?_(Ie(t,r),e):e},createFunctionTypeNode:Oe,updateFunctionTypeNode:function(e,t,r,n){return e.typeParameters!==t||e.parameters!==r||e.type!==n?L(Oe(t,r,n),e):e},createConstructorTypeNode:Le,updateConstructorTypeNode:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 5===t.length?Be.apply(void 0,t):4===t.length?je.apply(void 0,t):e.Debug.fail("Incorrect number of arguments specified.")},createTypeQueryNode:Ke,updateTypeQueryNode:function(e,t){return e.exprName!==t?_(Ke(t),e):e},createTypeLiteralNode:Je,updateTypeLiteralNode:function(e,t){return e.members!==t?_(Je(t),e):e},createArrayTypeNode:Ue,updateArrayTypeNode:function(e,t){return e.elementType!==t?_(Ue(t),e):e},createTupleTypeNode:qe,updateTupleTypeNode:function(e,t){return e.elements!==t?_(qe(t),e):e},createNamedTupleMember:Ve,updateNamedTupleMember:function(e,t,r,n,i){return e.dotDotDotToken!==t||e.name!==r||e.questionToken!==n||e.type!==i?_(Ve(t,r,n,i),e):e},createOptionalTypeNode:ze,updateOptionalTypeNode:function(e,t){return e.type!==t?_(ze(t),e):e},createRestTypeNode:We,updateRestTypeNode:function(e,t){return e.type!==t?_(We(t),e):e},createUnionTypeNode:function(e){return He(186,e)},updateUnionTypeNode:function(e,t){return Ge(e,t)},createIntersectionTypeNode:function(e){return He(187,e)},updateIntersectionTypeNode:function(e,t){return Ge(e,t)},createConditionalTypeNode:$e,updateConditionalTypeNode:function(e,t,r,n,i){return e.checkType!==t||e.extendsType!==r||e.trueType!==n||e.falseType!==i?_($e(t,r,n,i),e):e},createInferTypeNode:Ye,updateInferTypeNode:function(e,t){return e.typeParameter!==t?_(Ye(t),e):e},createImportTypeNode:Qe,updateImportTypeNode:function(e,t,r,n,i){return void 0===i&&(i=e.isTypeOf),e.argument!==t||e.qualifier!==r||e.typeArguments!==n||e.isTypeOf!==i?_(Qe(t,r,n,i),e):e},createParenthesizedType:Ze,updateParenthesizedType:function(e,t){return e.type!==t?_(Ze(t),e):e},createThisTypeNode:function(){var e=P(191);return e.transformFlags=1,e},createTypeOperatorNode:et,updateTypeOperatorNode:function(e,t){return e.type!==t?_(et(e.operator,t),e):e},createIndexedAccessTypeNode:tt,updateIndexedAccessTypeNode:function(e,t,r){return e.objectType!==t||e.indexType!==r?_(tt(t,r),e):e},createMappedTypeNode:rt,updateMappedTypeNode:function(e,t,r,n,i,a,o){return e.readonlyToken!==t||e.typeParameter!==r||e.nameType!==n||e.questionToken!==i||e.type!==a||e.members!==o?_(rt(t,r,n,i,a,o),e):e},createLiteralTypeNode:nt,updateLiteralTypeNode:function(e,t){return e.literal!==t?_(nt(t),e):e},createTemplateLiteralType:Xe,updateTemplateLiteralType:function(e,t,r){return e.head!==t||e.templateSpans!==r?_(Xe(t,r),e):e},createObjectBindingPattern:it,updateObjectBindingPattern:function(e,t){return e.elements!==t?_(it(t),e):e},createArrayBindingPattern:at,updateArrayBindingPattern:function(e,t){return e.elements!==t?_(at(t),e):e},createBindingElement:ot,updateBindingElement:function(e,t,r,n,i){return e.propertyName!==r||e.dotDotDotToken!==t||e.name!==n||e.initializer!==i?_(ot(t,r,n,i),e):e},createArrayLiteralExpression:ct,updateArrayLiteralExpression:function(e,t){return e.elements!==t?_(ct(t,e.multiLine),e):e},createObjectLiteralExpression:ut,updateObjectLiteralExpression:function(e,t){return e.properties!==t?_(ut(t,e.multiLine),e):e},createPropertyAccessExpression:4&t?function(t,r){return e.setEmitFlags(lt(t,r),131072)}:lt,updatePropertyAccessExpression:function(t,r,n){return e.isPropertyAccessChain(t)?dt(t,r,t.questionDotToken,e.cast(n,e.isIdentifier)):t.expression!==r||t.name!==n?_(lt(r,n),t):t},createPropertyAccessChain:4&t?function(t,r,n){return e.setEmitFlags(pt(t,r,n),131072)}:pt,updatePropertyAccessChain:dt,createElementAccessExpression:ft,updateElementAccessExpression:function(t,r,n){return e.isElementAccessChain(t)?mt(t,r,t.questionDotToken,n):t.expression!==r||t.argumentExpression!==n?_(ft(r,n),t):t},createElementAccessChain:_t,updateElementAccessChain:mt,createCallExpression:gt,updateCallExpression:function(t,r,n,i){return e.isCallChain(t)?yt(t,r,t.questionDotToken,n,i):t.expression!==r||t.typeArguments!==n||t.arguments!==i?_(gt(r,n,i),t):t},createCallChain:ht,updateCallChain:yt,createNewExpression:vt,updateNewExpression:function(e,t,r,n){return e.expression!==t||e.typeArguments!==r||e.arguments!==n?_(vt(t,r,n),e):e},createTaggedTemplateExpression:Dt,updateTaggedTemplateExpression:function(e,t,r,n){return e.tag!==t||e.typeArguments!==r||e.template!==n?_(Dt(t,r,n),e):e},createTypeAssertion:bt,updateTypeAssertion:xt,createParenthesizedExpression:Et,updateParenthesizedExpression:St,createFunctionExpression:Ct,updateFunctionExpression:Tt,createArrowFunction:kt,updateArrowFunction:At,createDeleteExpression:Nt,updateDeleteExpression:function(e,t){return e.expression!==t?_(Nt(t),e):e},createTypeOfExpression:Pt,updateTypeOfExpression:function(e,t){return e.expression!==t?_(Pt(t),e):e},createVoidExpression:Ft,updateVoidExpression:function(e,t){return e.expression!==t?_(Ft(t),e):e},createAwaitExpression:wt,updateAwaitExpression:function(e,t){return e.expression!==t?_(wt(t),e):e},createPrefixUnaryExpression:It,updatePrefixUnaryExpression:function(e,t){return e.operand!==t?_(It(e.operator,t),e):e},createPostfixUnaryExpression:Ot,updatePostfixUnaryExpression:function(e,t){return e.operand!==t?_(Ot(t,e.operator),e):e},createBinaryExpression:Lt,updateBinaryExpression:function(e,t,r,n){return e.left!==t||e.operatorToken!==r||e.right!==n?_(Lt(t,r,n),e):e},createConditionalExpression:Rt,updateConditionalExpression:function(e,t,r,n,i,a){return e.condition!==t||e.questionToken!==r||e.whenTrue!==n||e.colonToken!==i||e.whenFalse!==a?_(Rt(t,r,n,i,a),e):e},createTemplateExpression:Bt,updateTemplateExpression:function(e,t,r){return e.head!==t||e.templateSpans!==r?_(Bt(t,r),e):e},createTemplateHead:function(e,t,r){return jt(15,e,t,r)},createTemplateMiddle:function(e,t,r){return jt(16,e,t,r)},createTemplateTail:function(e,t,r){return jt(17,e,t,r)},createNoSubstitutionTemplateLiteral:function(e,t,r){return jt(14,e,t,r)},createTemplateLiteralLikeNode:Kt,createYieldExpression:Jt,updateYieldExpression:function(e,t,r){return e.expression!==r||e.asteriskToken!==t?_(Jt(t,r),e):e},createSpreadElement:Ut,updateSpreadElement:function(e,t){return e.expression!==t?_(Ut(t),e):e},createClassExpression:qt,updateClassExpression:Vt,createOmittedExpression:function(){return st(226)},createExpressionWithTypeArguments:zt,updateExpressionWithTypeArguments:function(e,t,r){return e.expression!==t||e.typeArguments!==r?_(zt(t,r),e):e},createAsExpression:Wt,updateAsExpression:Ht,createNonNullExpression:Gt,updateNonNullExpression:$t,createNonNullChain:Yt,updateNonNullChain:Xt,createMetaProperty:Qt,updateMetaProperty:function(e,t){return e.name!==t?_(Qt(e.keywordToken,t),e):e},createTemplateSpan:Zt,updateTemplateSpan:function(e,t,r){return e.expression!==t||e.literal!==r?_(Zt(t,r),e):e},createSemicolonClassElement:function(){var e=P(233);return e.transformFlags|=1024,e},createBlock:er,updateBlock:function(e,t){return e.statements!==t?_(er(t,e.multiLine),e):e},createVariableStatement:tr,updateVariableStatement:rr,createEmptyStatement:nr,createExpressionStatement:ir,updateExpressionStatement:function(e,t){return e.expression!==t?_(ir(t),e):e},createIfStatement:ar,updateIfStatement:function(e,t,r,n){return e.expression!==t||e.thenStatement!==r||e.elseStatement!==n?_(ar(t,r,n),e):e},createDoStatement:or,updateDoStatement:function(e,t,r){return e.statement!==t||e.expression!==r?_(or(t,r),e):e},createWhileStatement:sr,updateWhileStatement:function(e,t,r){return e.expression!==t||e.statement!==r?_(sr(t,r),e):e},createForStatement:cr,updateForStatement:function(e,t,r,n,i){return e.initializer!==t||e.condition!==r||e.incrementor!==n||e.statement!==i?_(cr(t,r,n,i),e):e},createForInStatement:ur,updateForInStatement:function(e,t,r,n){return e.initializer!==t||e.expression!==r||e.statement!==n?_(ur(t,r,n),e):e},createForOfStatement:lr,updateForOfStatement:function(e,t,r,n,i){return e.awaitModifier!==t||e.initializer!==r||e.expression!==n||e.statement!==i?_(lr(t,r,n,i),e):e},createContinueStatement:pr,updateContinueStatement:function(e,t){return e.label!==t?_(pr(t),e):e},createBreakStatement:dr,updateBreakStatement:function(e,t){return e.label!==t?_(dr(t),e):e},createReturnStatement:fr,updateReturnStatement:function(e,t){return e.expression!==t?_(fr(t),e):e},createWithStatement:_r,updateWithStatement:function(e,t,r){return e.expression!==t||e.statement!==r?_(_r(t,r),e):e},createSwitchStatement:mr,updateSwitchStatement:function(e,t,r){return e.expression!==t||e.caseBlock!==r?_(mr(t,r),e):e},createLabeledStatement:gr,updateLabeledStatement:hr,createThrowStatement:yr,updateThrowStatement:function(e,t){return e.expression!==t?_(yr(t),e):e},createTryStatement:vr,updateTryStatement:function(e,t,r,n){return e.tryBlock!==t||e.catchClause!==r||e.finallyBlock!==n?_(vr(t,r,n),e):e},createDebuggerStatement:function(){return P(252)},createVariableDeclaration:Dr,updateVariableDeclaration:function(e,t,r,n,i){return e.name!==t||e.type!==n||e.exclamationToken!==r||e.initializer!==i?_(Dr(t,r,n,i),e):e},createVariableDeclarationList:br,updateVariableDeclarationList:function(e,t){return e.declarations!==t?_(br(t,e.flags),e):e},createFunctionDeclaration:xr,updateFunctionDeclaration:Er,createClassDeclaration:Sr,updateClassDeclaration:Cr,createInterfaceDeclaration:Tr,updateInterfaceDeclaration:kr,createTypeAliasDeclaration:Ar,updateTypeAliasDeclaration:Nr,createEnumDeclaration:Pr,updateEnumDeclaration:Fr,createModuleDeclaration:wr,updateModuleDeclaration:Ir,createModuleBlock:Or,updateModuleBlock:function(e,t){return e.statements!==t?_(Or(t),e):e},createCaseBlock:Lr,updateCaseBlock:function(e,t){return e.clauses!==t?_(Lr(t),e):e},createNamespaceExportDeclaration:Mr,updateNamespaceExportDeclaration:function(e,t){return e.name!==t?_(Mr(t),e):e},createImportEqualsDeclaration:Rr,updateImportEqualsDeclaration:Br,createImportDeclaration:jr,updateImportDeclaration:Kr,createImportClause:Jr,updateImportClause:function(e,t,r,n){return e.isTypeOnly!==t||e.name!==r||e.namedBindings!==n?_(Jr(t,r,n),e):e},createAssertClause:Ur,updateAssertClause:function(e,t,r){return e.elements!==t||e.multiLine!==r?_(Ur(t,r),e):e},createAssertEntry:qr,updateAssertEntry:function(e,t,r){return e.name!==t||e.value!==r?_(qr(t,r),e):e},createNamespaceImport:Vr,updateNamespaceImport:function(e,t){return e.name!==t?_(Vr(t),e):e},createNamespaceExport:zr,updateNamespaceExport:function(e,t){return e.name!==t?_(zr(t),e):e},createNamedImports:Wr,updateNamedImports:function(e,t){return e.elements!==t?_(Wr(t),e):e},createImportSpecifier:Hr,updateImportSpecifier:function(e,t,r,n){return e.isTypeOnly!==t||e.propertyName!==r||e.name!==n?_(Hr(t,r,n),e):e},createExportAssignment:Gr,updateExportAssignment:$r,createExportDeclaration:Yr,updateExportDeclaration:Xr,createNamedExports:Qr,updateNamedExports:function(e,t){return e.elements!==t?_(Qr(t),e):e},createExportSpecifier:Zr,updateExportSpecifier:function(e,t,r,n){return e.isTypeOnly!==t||e.propertyName!==r||e.name!==n?_(Zr(t,r,n),e):e},createMissingDeclaration:function(){return F(275,void 0,void 0)},createExternalModuleReference:en,updateExternalModuleReference:function(e,t){return e.expression!==t?_(en(t),e):e},get createJSDocAllType(){return b(310)},get createJSDocUnknownType(){return b(311)},get createJSDocNonNullableType(){return x(313)},get updateJSDocNonNullableType(){return E(313)},get createJSDocNullableType(){return x(312)},get updateJSDocNullableType(){return E(312)},get createJSDocOptionalType(){return x(314)},get updateJSDocOptionalType(){return E(314)},get createJSDocVariadicType(){return x(316)},get updateJSDocVariadicType(){return E(316)},get createJSDocNamepathType(){return x(317)},get updateJSDocNamepathType(){return E(317)},createJSDocFunctionType:rn,updateJSDocFunctionType:function(e,t,r){return e.parameters!==t||e.type!==r?_(rn(t,r),e):e},createJSDocTypeLiteral:nn,updateJSDocTypeLiteral:function(e,t,r){return e.jsDocPropertyTags!==t||e.isArrayType!==r?_(nn(t,r),e):e},createJSDocTypeExpression:an,updateJSDocTypeExpression:function(e,t){return e.type!==t?_(an(t),e):e},createJSDocSignature:on,updateJSDocSignature:function(e,t,r,n){return e.typeParameters!==t||e.parameters!==r||e.type!==n?_(on(t,r,n),e):e},createJSDocTemplateTag:un,updateJSDocTemplateTag:function(e,t,r,n,i){return void 0===t&&(t=sn(e)),e.tagName!==t||e.constraint!==r||e.typeParameters!==n||e.comment!==i?_(un(t,r,n,i),e):e},createJSDocTypedefTag:ln,updateJSDocTypedefTag:function(e,t,r,n,i){return void 0===t&&(t=sn(e)),e.tagName!==t||e.typeExpression!==r||e.fullName!==n||e.comment!==i?_(ln(t,r,n,i),e):e},createJSDocParameterTag:pn,updateJSDocParameterTag:function(e,t,r,n,i,a,o){return void 0===t&&(t=sn(e)),e.tagName!==t||e.name!==r||e.isBracketed!==n||e.typeExpression!==i||e.isNameFirst!==a||e.comment!==o?_(pn(t,r,n,i,a,o),e):e},createJSDocPropertyTag:dn,updateJSDocPropertyTag:function(e,t,r,n,i,a,o){return void 0===t&&(t=sn(e)),e.tagName!==t||e.name!==r||e.isBracketed!==n||e.typeExpression!==i||e.isNameFirst!==a||e.comment!==o?_(dn(t,r,n,i,a,o),e):e},createJSDocCallbackTag:fn,updateJSDocCallbackTag:function(e,t,r,n,i){return void 0===t&&(t=sn(e)),e.tagName!==t||e.typeExpression!==r||e.fullName!==n||e.comment!==i?_(fn(t,r,n,i),e):e},createJSDocAugmentsTag:_n,updateJSDocAugmentsTag:function(e,t,r,n){return void 0===t&&(t=sn(e)),e.tagName!==t||e.class!==r||e.comment!==n?_(_n(t,r,n),e):e},createJSDocImplementsTag:mn,updateJSDocImplementsTag:function(e,t,r,n){return void 0===t&&(t=sn(e)),e.tagName!==t||e.class!==r||e.comment!==n?_(mn(t,r,n),e):e},createJSDocSeeTag:gn,updateJSDocSeeTag:function(e,t,r,n){return e.tagName!==t||e.name!==r||e.comment!==n?_(gn(t,r,n),e):e},createJSDocNameReference:hn,updateJSDocNameReference:function(e,t){return e.name!==t?_(hn(t),e):e},createJSDocMemberName:yn,updateJSDocMemberName:function(e,t,r){return e.left!==t||e.right!==r?_(yn(t,r),e):e},createJSDocLink:vn,updateJSDocLink:function(e,t,r){return e.name!==t?_(vn(t,r),e):e},createJSDocLinkCode:Dn,updateJSDocLinkCode:function(e,t,r){return e.name!==t?_(Dn(t,r),e):e},createJSDocLinkPlain:bn,updateJSDocLinkPlain:function(e,t,r){return e.name!==t?_(bn(t,r),e):e},get createJSDocTypeTag(){return T(341)},get updateJSDocTypeTag(){return k(341)},get createJSDocReturnTag(){return T(339)},get updateJSDocReturnTag(){return k(339)},get createJSDocThisTag(){return T(340)},get updateJSDocThisTag(){return k(340)},get createJSDocEnumTag(){return T(337)},get updateJSDocEnumTag(){return k(337)},get createJSDocAuthorTag(){return S(328)},get updateJSDocAuthorTag(){return C(328)},get createJSDocClassTag(){return S(330)},get updateJSDocClassTag(){return C(330)},get createJSDocPublicTag(){return S(331)},get updateJSDocPublicTag(){return C(331)},get createJSDocPrivateTag(){return S(332)},get updateJSDocPrivateTag(){return C(332)},get createJSDocProtectedTag(){return S(333)},get updateJSDocProtectedTag(){return C(333)},get createJSDocReadonlyTag(){return S(334)},get updateJSDocReadonlyTag(){return C(334)},get createJSDocOverrideTag(){return S(335)},get updateJSDocOverrideTag(){return C(335)},get createJSDocDeprecatedTag(){return S(329)},get updateJSDocDeprecatedTag(){return C(329)},createJSDocUnknownTag:Sn,updateJSDocUnknownTag:function(e,t,r){return e.tagName!==t||e.comment!==r?_(Sn(t,r),e):e},createJSDocText:Cn,updateJSDocText:function(e,t){return e.text!==t?_(Cn(t),e):e},createJSDocComment:Tn,updateJSDocComment:function(e,t,r){return e.comment!==t||e.tags!==r?_(Tn(t,r),e):e},createJsxElement:kn,updateJsxElement:function(e,t,r,n){return e.openingElement!==t||e.children!==r||e.closingElement!==n?_(kn(t,r,n),e):e},createJsxSelfClosingElement:An,updateJsxSelfClosingElement:function(e,t,r,n){return e.tagName!==t||e.typeArguments!==r||e.attributes!==n?_(An(t,r,n),e):e},createJsxOpeningElement:Nn,updateJsxOpeningElement:function(e,t,r,n){return e.tagName!==t||e.typeArguments!==r||e.attributes!==n?_(Nn(t,r,n),e):e},createJsxClosingElement:Pn,updateJsxClosingElement:function(e,t){return e.tagName!==t?_(Pn(t),e):e},createJsxFragment:Fn,createJsxText:wn,updateJsxText:function(e,t,r){return e.text!==t||e.containsOnlyTriviaWhiteSpaces!==r?_(wn(t,r),e):e},createJsxOpeningFragment:function(){var e=P(282);return e.transformFlags|=2,e},createJsxJsxClosingFragment:function(){var e=P(283);return e.transformFlags|=2,e},updateJsxFragment:function(e,t,r,n){return e.openingFragment!==t||e.children!==r||e.closingFragment!==n?_(Fn(t,r,n),e):e},createJsxAttribute:In,updateJsxAttribute:function(e,t,r){return e.name!==t||e.initializer!==r?_(In(t,r),e):e},createJsxAttributes:On,updateJsxAttributes:function(e,t){return e.properties!==t?_(On(t),e):e},createJsxSpreadAttribute:Ln,updateJsxSpreadAttribute:function(e,t){return e.expression!==t?_(Ln(t),e):e},createJsxExpression:Mn,updateJsxExpression:function(e,t){return e.expression!==t?_(Mn(e.dotDotDotToken,t),e):e},createCaseClause:Rn,updateCaseClause:function(e,t,r){return e.expression!==t||e.statements!==r?_(Rn(t,r),e):e},createDefaultClause:Bn,updateDefaultClause:function(e,t){return e.statements!==t?_(Bn(t),e):e},createHeritageClause:jn,updateHeritageClause:function(e,t){return e.types!==t?_(jn(e.token,t),e):e},createCatchClause:Kn,updateCatchClause:function(e,t,r){return e.variableDeclaration!==t||e.block!==r?_(Kn(t,r),e):e},createPropertyAssignment:Jn,updatePropertyAssignment:function(e,t,r){return e.name!==t||e.initializer!==r?function(e,t){return t.decorators&&(e.decorators=t.decorators),t.modifiers&&(e.modifiers=t.modifiers),t.questionToken&&(e.questionToken=t.questionToken),t.exclamationToken&&(e.exclamationToken=t.exclamationToken),_(e,t)}(Jn(t,r),e):e},createShorthandPropertyAssignment:Un,updateShorthandPropertyAssignment:function(e,t,r){return e.name!==t||e.objectAssignmentInitializer!==r?function(e,t){return t.decorators&&(e.decorators=t.decorators),t.modifiers&&(e.modifiers=t.modifiers),t.equalsToken&&(e.equalsToken=t.equalsToken),t.questionToken&&(e.questionToken=t.questionToken),t.exclamationToken&&(e.exclamationToken=t.exclamationToken),_(e,t)}(Un(t,r),e):e},createSpreadAssignment:qn,updateSpreadAssignment:function(e,t){return e.expression!==t?_(qn(t),e):e},createEnumMember:Vn,updateEnumMember:function(e,t,r){return e.name!==t||e.initializer!==r?_(Vn(t,r),e):e},createSourceFile:function(e,t,r){var i=n.createBaseSourceFileNode(303);return i.statements=N(e),i.endOfFileToken=t,i.flags|=r,i.fileName="",i.text="",i.languageVersion=0,i.languageVariant=0,i.scriptKind=0,i.isDeclarationFile=!1,i.hasNoDefaultLib=!1,i.transformFlags|=d(i.statements)|p(i.endOfFileToken),i},updateSourceFile:function(t,r,i,a,o,s,c){return void 0===i&&(i=t.isDeclarationFile),void 0===a&&(a=t.referencedFiles),void 0===o&&(o=t.typeReferenceDirectives),void 0===s&&(s=t.hasNoDefaultLib),void 0===c&&(c=t.libReferenceDirectives),t.statements!==r||t.isDeclarationFile!==i||t.referencedFiles!==a||t.typeReferenceDirectives!==o||t.hasNoDefaultLib!==s||t.libReferenceDirectives!==c?_(function(t,r,i,a,o,s,c){var u=n.createBaseSourceFileNode(303);for(var l in t)"emitNode"===l||e.hasProperty(u,l)||!e.hasProperty(t,l)||(u[l]=t[l]);return u.flags|=t.flags,u.statements=N(r),u.endOfFileToken=t.endOfFileToken,u.isDeclarationFile=i,u.referencedFiles=a,u.typeReferenceDirectives=o,u.hasNoDefaultLib=s,u.libReferenceDirectives=c,u.transformFlags=d(u.statements)|p(u.endOfFileToken),u.impliedNodeFormat=t.impliedNodeFormat,u}(t,r,i,a,o,s,c),t):t},createBundle:zn,updateBundle:function(t,r,n){return void 0===n&&(n=e.emptyArray),t.sourceFiles!==r||t.prepends!==n?_(zn(r,n),t):t},createUnparsedSource:function(t,r,n){var i=P(305);return i.prologues=t,i.syntheticReferences=r,i.texts=n,i.fileName="",i.text="",i.referencedFiles=e.emptyArray,i.libReferenceDirectives=e.emptyArray,i.getLineAndCharacterOfPosition=function(t){return e.getLineAndCharacterOfPosition(i,t)},i},createUnparsedPrologue:function(e){return Wn(298,e)},createUnparsedPrepend:function(e,t){var r=Wn(299,e);return r.texts=t,r},createUnparsedTextLike:function(e,t){return Wn(t?301:300,e)},createUnparsedSyntheticReference:function(e){var t=P(302);return t.data=e.data,t.section=e,t},createInputFiles:function(){var e=P(306);return e.javascriptText="",e.declarationText="",e},createSyntheticExpression:function(e,t,r){void 0===t&&(t=!1);var n=P(231);return n.type=e,n.isSpread=t,n.tupleNameSource=r,n},createSyntaxList:function(e){var t=P(346);return t._children=e,t},createNotEmittedStatement:function(t){var r=P(347);return r.original=t,e.setTextRange(r,t),r},createPartiallyEmittedExpression:Hn,updatePartiallyEmittedExpression:Gn,createCommaListExpression:Yn,updateCommaListExpression:function(e,t){return e.elements!==t?_(Yn(t),e):e},createEndOfDeclarationMarker:function(e){var t=P(351);return t.emitNode={},t.original=e,t},createMergeDeclarationMarker:function(e){var t=P(350);return t.emitNode={},t.original=e,t},createSyntheticReferenceExpression:Xn,updateSyntheticReferenceExpression:function(e,t,r){return e.expression!==t||e.thisArg!==r?_(Xn(t,r),e):e},cloneNode:Qn,get createComma(){return h(27)},get createAssignment(){return h(63)},get createLogicalOr(){return h(56)},get createLogicalAnd(){return h(55)},get createBitwiseOr(){return h(51)},get createBitwiseXor(){return h(52)},get createBitwiseAnd(){return h(50)},get createStrictEquality(){return h(36)},get createStrictInequality(){return h(37)},get createEquality(){return h(34)},get createInequality(){return h(35)},get createLessThan(){return h(29)},get createLessThanEquals(){return h(32)},get createGreaterThan(){return h(31)},get createGreaterThanEquals(){return h(33)},get createLeftShift(){return h(47)},get createRightShift(){return h(48)},get createUnsignedRightShift(){return h(49)},get createAdd(){return h(39)},get createSubtract(){return h(40)},get createMultiply(){return h(41)},get createDivide(){return h(43)},get createModulo(){return h(44)},get createExponent(){return h(42)},get createPrefixPlus(){return y(39)},get createPrefixMinus(){return y(40)},get createPrefixIncrement(){return y(45)},get createPrefixDecrement(){return y(46)},get createBitwiseNot(){return y(54)},get createLogicalNot(){return y(53)},get createPostfixIncrement(){return D(45)},get createPostfixDecrement(){return D(46)},createImmediatelyInvokedFunctionExpression:function(e,t,r){return gt(Ct(void 0,void 0,void 0,void 0,t?[t]:[],void 0,er(e,!0)),void 0,r?[r]:[])},createImmediatelyInvokedArrowFunction:function(e,t,r){return gt(kt(void 0,void 0,t?[t]:[],void 0,void 0,er(e,!0)),void 0,r?[r]:[])},createVoidZero:Zn,createExportDefault:function(e){return Gr(void 0,void 0,!1,e)},createExternalModuleExport:function(e){return Yr(void 0,void 0,!1,Qr([Zr(!1,void 0,e)]))},createTypeCheck:function(e,t){return"undefined"===t?A.createStrictEquality(e,Zn()):A.createStrictEquality(Pt(e),W(t))},createMethodCall:ei,createGlobalMethodCall:ti,createFunctionBindCall:function(e,t,r){return ei(e,"bind",a([t],r,!0))},createFunctionCallCall:function(e,t,r){return ei(e,"call",a([t],r,!0))},createFunctionApplyCall:function(e,t,r){return ei(e,"apply",[t,r])},createArraySliceCall:function(e,t){return ei(e,"slice",void 0===t?[]:[_i(t)])},createArrayConcatCall:function(e,t){return ei(e,"concat",t)},createObjectDefinePropertyCall:function(e,t,r){return ti("Object","defineProperty",[e,_i(t),r])},createReflectGetCall:function(e,t,r){return ti("Reflect","get",r?[e,t,r]:[e,t])},createReflectSetCall:function(e,t,r,n){return ti("Reflect","set",n?[e,t,r,n]:[e,t,r])},createPropertyDescriptor:function(t,r){var n=[];ri(n,"enumerable",_i(t.enumerable)),ri(n,"configurable",_i(t.configurable));var i=ri(n,"writable",_i(t.writable));i=ri(n,"value",t.value)||i;var a=ri(n,"get",t.get);return a=ri(n,"set",t.set)||a,e.Debug.assert(!(i&&a),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),ut(n,!r)},createCallBinding:function(t,r,n,i){void 0===i&&(i=!1);var a,o,s=e.skipOuterExpressions(t,15);return e.isSuperProperty(s)?(a=te(),o=s):e.isSuperKeyword(s)?(a=te(),o=void 0!==n&&n<2?e.setTextRange(Y("_super"),s):s):4096&e.getEmitFlags(s)?(a=Zn(),o=m().parenthesizeLeftSideOfAccess(s)):e.isPropertyAccessExpression(s)?ni(s.expression,i)?(a=X(r),o=lt(e.setTextRange(A.createAssignment(a,s.expression),s.expression),s.name),e.setTextRange(o,s)):(a=s.expression,o=s):e.isElementAccessExpression(s)?ni(s.expression,i)?(a=X(r),o=ft(e.setTextRange(A.createAssignment(a,s.expression),s.expression),s.argumentExpression),e.setTextRange(o,s)):(a=s.expression,o=s):(a=Zn(),o=m().parenthesizeLeftSideOfAccess(t)),{target:o,thisArg:a}},createAssignmentTargetWrapper:function(e,t){return lt(Et(ut([Ce(void 0,void 0,"value",[ue(void 0,void 0,void 0,e,void 0,void 0,void 0)],er([ir(t)]))])),"value")},inlineExpressions:function(t){return t.length>10?Yn(t):e.reduceLeft(t,A.createComma)},getInternalName:function(e,t,r){return ii(e,t,r,49152)},getLocalName:function(e,t,r){return ii(e,t,r,16384)},getExportName:ai,getDeclarationName:function(e,t,r){return ii(e,t,r)},getNamespaceMemberName:oi,getExternalModuleOrNamespaceExportName:function(t,r,n,i){return t&&e.hasSyntacticModifier(r,1)?oi(t,ii(r),n,i):ai(r,n,i)},restoreOuterExpressions:function t(r,n,i){return void 0===i&&(i=15),r&&e.isOuterExpression(r,i)&&!function(t){return e.isParenthesizedExpression(t)&&e.nodeIsSynthesized(t)&&e.nodeIsSynthesized(e.getSourceMapRange(t))&&e.nodeIsSynthesized(e.getCommentRange(t))&&!e.some(e.getSyntheticLeadingComments(t))&&!e.some(e.getSyntheticTrailingComments(t))}(r)?function(e,t){switch(e.kind){case 211:return St(e,t);case 210:return xt(e,e.type,t);case 228:return Ht(e,t,e.type);case 229:return $t(e,t);case 348:return Gn(e,t)}}(r,t(r.expression,n)):n},restoreEnclosingLabel:function t(r,n,i){if(!n)return r;var a=hr(n,n.label,e.isLabeledStatement(n.statement)?t(r,n.statement):r);return i&&i(n),a},createUseStrictPrologue:ci,copyPrologue:function(e,t,r,n){return li(e,t,ui(e,t,0,r),n)},copyStandardPrologue:ui,copyCustomPrologue:li,ensureUseStrict:function(t){return e.findUseStrictPrologue(t)?t:e.setTextRange(N(a([ci()],t,!0)),t)},liftToBlock:function(t){return e.Debug.assert(e.every(t,e.isStatementOrBlock),"Cannot lift nodes to a Block."),e.singleOrUndefined(t)||er(t)},mergeLexicalEnvironment:function(t,r){if(!e.some(r))return t;var n=pi(t,e.isPrologueDirective,0),i=pi(t,e.isHoistedFunction,n),o=pi(t,e.isHoistedVariableStatement,i),s=pi(r,e.isPrologueDirective,0),c=pi(r,e.isHoistedFunction,s),u=pi(r,e.isHoistedVariableStatement,c),l=pi(r,e.isCustomPrologue,u);e.Debug.assert(l===r.length,"Expected declarations to be valid standard or custom prologues");var p=e.isNodeArray(t)?t.slice():t;if(l>u&&p.splice.apply(p,a([o,0],r.slice(u,l),!1)),u>c&&p.splice.apply(p,a([i,0],r.slice(c,u),!1)),c>s&&p.splice.apply(p,a([n,0],r.slice(s,c),!1)),s>0)if(0===n)p.splice.apply(p,a([0,0],r.slice(0,s),!1));else{for(var d=new e.Map,f=0;f<n;f++){var _=t[f];d.set(_.expression.text,!0)}for(f=s-1;f>=0;f--){var m=r[f];d.has(m.expression.text)||p.unshift(m)}}return e.isNodeArray(t)?e.setTextRange(N(p,t.hasTrailingComma),t):t},updateModifiers:function(t,r){var n,i;return i="number"==typeof r?ae(r):r,e.isParameter(t)?le(t,t.decorators,i,t.dotDotDotToken,t.name,t.questionToken,t.type,t.initializer):e.isPropertySignature(t)?fe(t,i,t.name,t.questionToken,t.type):e.isPropertyDeclaration(t)?me(t,t.decorators,i,t.name,null!==(n=t.questionToken)&&void 0!==n?n:t.exclamationToken,t.type,t.initializer):e.isMethodSignature(t)?he(t,i,t.name,t.questionToken,t.typeParameters,t.parameters,t.type):e.isMethodDeclaration(t)?ve(t,t.decorators,i,t.asteriskToken,t.name,t.questionToken,t.typeParameters,t.parameters,t.type,t.body):e.isConstructorDeclaration(t)?xe(t,t.decorators,i,t.parameters,t.body):e.isGetAccessorDeclaration(t)?Se(t,t.decorators,i,t.name,t.parameters,t.type,t.body):e.isSetAccessorDeclaration(t)?Te(t,t.decorators,i,t.name,t.parameters,t.body):e.isIndexSignatureDeclaration(t)?Pe(t,t.decorators,i,t.parameters,t.type):e.isFunctionExpression(t)?Tt(t,i,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body):e.isArrowFunction(t)?At(t,i,t.typeParameters,t.parameters,t.type,t.equalsGreaterThanToken,t.body):e.isClassExpression(t)?Vt(t,t.decorators,i,t.name,t.typeParameters,t.heritageClauses,t.members):e.isVariableStatement(t)?rr(t,i,t.declarationList):e.isFunctionDeclaration(t)?Er(t,t.decorators,i,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body):e.isClassDeclaration(t)?Cr(t,t.decorators,i,t.name,t.typeParameters,t.heritageClauses,t.members):e.isInterfaceDeclaration(t)?kr(t,t.decorators,i,t.name,t.typeParameters,t.heritageClauses,t.members):e.isTypeAliasDeclaration(t)?Nr(t,t.decorators,i,t.name,t.typeParameters,t.type):e.isEnumDeclaration(t)?Fr(t,t.decorators,i,t.name,t.members):e.isModuleDeclaration(t)?Ir(t,t.decorators,i,t.name,t.body):e.isImportEqualsDeclaration(t)?Br(t,t.decorators,i,t.isTypeOnly,t.name,t.moduleReference):e.isImportDeclaration(t)?Kr(t,t.decorators,i,t.importClause,t.moduleSpecifier,t.assertClause):e.isExportAssignment(t)?$r(t,t.decorators,i,t.expression):e.isExportDeclaration(t)?Xr(t,t.decorators,i,t.isTypeOnly,t.exportClause,t.moduleSpecifier,t.assertClause):e.Debug.assertNever(t)}};return A;function N(t,r){if(void 0===t||t===e.emptyArray)t=[];else if(e.isNodeArray(t)){if(void 0===r||t.hasTrailingComma===r)return void 0===t.transformFlags&&f(t),e.Debug.attachNodeArrayDebugInfo(t),t;var n=t.slice();return n.pos=t.pos,n.end=t.end,n.hasTrailingComma=r,n.transformFlags=t.transformFlags,e.Debug.attachNodeArrayDebugInfo(n),n}var i=t.length,a=i>=1&&i<=4?t.slice():t;return e.setTextRangePosEnd(a,-1,-1),a.hasTrailingComma=!!r,f(a),e.Debug.attachNodeArrayDebugInfo(a),a}function P(e){return n.createBaseNode(e)}function F(e,t,r){var n=P(e);return n.decorators=di(t),n.modifiers=di(r),n.transformFlags|=d(n.decorators)|d(n.modifiers),n.symbol=void 0,n.localSymbol=void 0,n.locals=void 0,n.nextContainer=void 0,n}function w(t,r,n,i){var a=F(t,r,n);if(i=fi(i),a.name=i,i)switch(a.kind){case 168:case 171:case 172:case 166:case 294:if(e.isIdentifier(i)){a.transformFlags|=l(i);break}default:a.transformFlags|=p(i)}return a}function I(e,t,r,n,i){var a=w(e,t,r,n);return a.typeParameters=di(i),a.transformFlags|=d(a.typeParameters),i&&(a.transformFlags|=1),a}function O(e,t,r,n,i,a,o){var s=I(e,t,r,n,i);return s.parameters=N(a),s.type=o,s.transformFlags|=d(s.parameters)|p(s.type),o&&(s.transformFlags|=1),s}function L(e,t){return t.typeArguments&&(e.typeArguments=t.typeArguments),_(e,t)}function M(e,t,r,n,i,a,o,s){var c=O(e,t,r,n,i,a,o);return c.body=s,c.transformFlags|=-16777217&p(c.body),s||(c.transformFlags|=1),c}function R(e,t){return t.exclamationToken&&(e.exclamationToken=t.exclamationToken),t.typeArguments&&(e.typeArguments=t.typeArguments),L(e,t)}function B(e,t,r,n,i,a){var o=I(e,t,r,n,i);return o.heritageClauses=di(a),o.transformFlags|=d(o.heritageClauses),o}function j(e,t,r,n,i,a,o){var s=B(e,t,r,n,i,a);return s.members=N(o),s.transformFlags|=d(s.members),s}function K(e,t,r,n,i){var a=w(e,t,r,n);return a.initializer=i,a.transformFlags|=p(a.initializer),a}function J(e,t,r,n,i,a){var o=K(e,t,r,n,a);return o.type=i,o.transformFlags|=p(i),i&&(o.transformFlags|=1),o}function U(e,t){var r=Z(e);return r.text=t,r}function q(e,t){void 0===t&&(t=0);var r=U(8,"number"==typeof e?e+"":e);return r.numericLiteralFlags=t,384&t&&(r.transformFlags|=1024),r}function V(t){var r=U(9,"string"==typeof t?t:e.pseudoBigIntToString(t)+"n");return r.transformFlags|=4,r}function z(e,t){var r=U(10,e);return r.singleQuote=t,r}function W(e,t,r){var n=z(e,t);return n.hasExtendedUnicodeEscape=r,r&&(n.transformFlags|=1024),n}function H(e){return U(13,e)}function G(t,r){void 0===r&&t&&(r=e.stringToToken(t)),79===r&&(r=void 0);var i=n.createBaseIdentifierNode(79);return i.originalKeywordKind=r,i.escapedText=e.escapeLeadingUnderscores(t),i}function $(e,t){var n=G(e,void 0);return n.autoGenerateFlags=t,n.autoGenerateId=r,r++,n}function Y(e,t,r){var n=G(e,r);return t&&(n.typeArguments=N(t)),132===n.originalKeywordKind&&(n.transformFlags|=16777216),n}function X(e,t){var r=1;t&&(r|=8);var n=$("",r);return e&&e(n),n}function Q(t,r){void 0===r&&(r=0),e.Debug.assert(!(7&r),"Argument out of range: flags");var n=$(t&&e.isIdentifier(t)?e.idText(t):"",4|r);return n.original=t,n}function Z(e){return n.createBaseTokenNode(e)}function ee(t){e.Debug.assert(t>=0&&t<=159,"Invalid token"),e.Debug.assert(t<=14||t>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),e.Debug.assert(t<=8||t>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals."),e.Debug.assert(79!==t,"Invalid token. Use 'createIdentifier' to create identifiers");var r=Z(t),n=0;switch(t){case 131:n=384;break;case 123:case 121:case 122:case 144:case 126:case 135:case 85:case 130:case 146:case 157:case 143:case 147:case 158:case 149:case 133:case 150:case 114:case 154:case 152:n=1;break;case 106:n=33555456;break;case 124:n=1024;break;case 108:n=8192}return n&&(r.transformFlags|=n),r}function te(){return ee(108)}function re(){return ee(110)}function ne(){return ee(95)}function ie(e){return ee(e)}function ae(e){var t=[];return 1&e&&t.push(ie(93)),2&e&&t.push(ie(135)),512&e&&t.push(ie(88)),2048&e&&t.push(ie(85)),4&e&&t.push(ie(123)),8&e&&t.push(ie(121)),16&e&&t.push(ie(122)),128&e&&t.push(ie(126)),32&e&&t.push(ie(124)),16384&e&&t.push(ie(158)),64&e&&t.push(ie(144)),256&e&&t.push(ie(131)),t.length?t:void 0}function oe(e,t){var r=P(160);return r.left=e,r.right=fi(t),r.transformFlags|=p(r.left)|l(r.right),r}function se(e){var t=P(161);return t.expression=m().parenthesizeExpressionOfComputedPropertyName(e),t.transformFlags|=66560|p(t.expression),t}function ce(e,t,r){var n=w(162,void 0,void 0,e);return n.constraint=t,n.default=r,n.transformFlags=1,n}function ue(t,r,n,i,a,o,s){var c=J(163,t,r,i,o,s&&m().parenthesizeExpressionForDisallowedComma(s));return c.dotDotDotToken=n,c.questionToken=a,e.isThisIdentifier(c.name)?c.transformFlags=1:(c.transformFlags|=p(c.dotDotDotToken)|p(c.questionToken),a&&(c.transformFlags|=1),16476&e.modifiersToFlags(c.modifiers)&&(c.transformFlags|=4096),(s||n)&&(c.transformFlags|=1024)),c}function le(e,t,r,n,i,a,o,s){return e.decorators!==t||e.modifiers!==r||e.dotDotDotToken!==n||e.name!==i||e.questionToken!==a||e.type!==o||e.initializer!==s?_(ue(t,r,n,i,a,o,s),e):e}function pe(e){var t=P(164);return t.expression=m().parenthesizeLeftSideOfAccess(e),t.transformFlags|=4097|p(t.expression),t}function de(e,t,r,n){var i=w(165,void 0,e,t);return i.type=n,i.questionToken=r,i.transformFlags=1,i}function fe(e,t,r,n,i){return e.modifiers!==t||e.name!==r||e.questionToken!==n||e.type!==i?_(de(t,r,n,i),e):e}function _e(t,r,n,i,a,o){var s=J(166,t,r,n,a,o);return s.questionToken=i&&e.isQuestionToken(i)?i:void 0,s.exclamationToken=i&&e.isExclamationToken(i)?i:void 0,s.transformFlags|=p(s.questionToken)|p(s.exclamationToken)|8388608,(e.isComputedPropertyName(s.name)||e.hasStaticModifier(s)&&s.initializer)&&(s.transformFlags|=4096),(i||2&e.modifiersToFlags(s.modifiers))&&(s.transformFlags|=1),s}function me(t,r,n,i,a,o,s){return t.decorators!==r||t.modifiers!==n||t.name!==i||t.questionToken!==(void 0!==a&&e.isQuestionToken(a)?a:void 0)||t.exclamationToken!==(void 0!==a&&e.isExclamationToken(a)?a:void 0)||t.type!==o||t.initializer!==s?_(_e(r,n,i,a,o,s),t):t}function ge(e,t,r,n,i,a){var o=O(167,void 0,e,t,n,i,a);return o.questionToken=r,o.transformFlags=1,o}function he(e,t,r,n,i,a,o){return e.modifiers!==t||e.name!==r||e.questionToken!==n||e.typeParameters!==i||e.parameters!==a||e.type!==o?L(ge(t,r,n,i,a,o),e):e}function ye(t,r,n,i,a,o,s,c,u){var l=M(168,t,r,i,o,s,c,u);return l.asteriskToken=n,l.questionToken=a,l.transformFlags|=p(l.asteriskToken)|p(l.questionToken)|1024,a&&(l.transformFlags|=1),256&e.modifiersToFlags(l.modifiers)?l.transformFlags|=n?128:256:n&&(l.transformFlags|=2048),l}function ve(e,t,r,n,i,a,o,s,c,u){return e.decorators!==t||e.modifiers!==r||e.asteriskToken!==n||e.name!==i||e.questionToken!==a||e.typeParameters!==o||e.parameters!==s||e.type!==c||e.body!==u?R(ye(t,r,n,i,a,o,s,c,u),e):e}function De(e,t,r){var n=I(169,e,t,void 0,void 0);return n.body=r,n.transformFlags=8388608|p(r),n}function be(e,t,r,n){var i=M(170,e,t,void 0,void 0,r,void 0,n);return i.transformFlags|=1024,i}function xe(e,t,r,n,i){return e.decorators!==t||e.modifiers!==r||e.parameters!==n||e.body!==i?R(be(t,r,n,i),e):e}function Ee(e,t,r,n,i,a){return M(171,e,t,r,void 0,n,i,a)}function Se(e,t,r,n,i,a,o){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.parameters!==i||e.type!==a||e.body!==o?R(Ee(t,r,n,i,a,o),e):e}function Ce(e,t,r,n,i){return M(172,e,t,r,void 0,n,void 0,i)}function Te(e,t,r,n,i,a){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.parameters!==i||e.body!==a?R(Ce(t,r,n,i,a),e):e}function ke(e,t,r){var n=O(173,void 0,void 0,void 0,e,t,r);return n.transformFlags=1,n}function Ae(e,t,r){var n=O(174,void 0,void 0,void 0,e,t,r);return n.transformFlags=1,n}function Ne(e,t,r,n){var i=O(175,e,t,void 0,void 0,r,n);return i.transformFlags=1,i}function Pe(e,t,r,n,i){return e.parameters!==n||e.type!==i||e.decorators!==t||e.modifiers!==r?L(Ne(t,r,n,i),e):e}function Fe(e,t){var r=P(198);return r.type=e,r.literal=t,r.transformFlags=1,r}function we(e,t,r){var n=P(176);return n.assertsModifier=e,n.parameterName=fi(t),n.type=r,n.transformFlags=1,n}function Ie(e,t){var r=P(177);return r.typeName=fi(e),r.typeArguments=t&&m().parenthesizeTypeArguments(N(t)),r.transformFlags=1,r}function Oe(e,t,r){var n=O(178,void 0,void 0,void 0,e,t,r);return n.transformFlags=1,n}function Le(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 4===t.length?Me.apply(void 0,t):3===t.length?Re.apply(void 0,t):e.Debug.fail("Incorrect number of arguments specified.")}function Me(e,t,r,n){var i=O(179,void 0,e,void 0,t,r,n);return i.transformFlags=1,i}function Re(e,t,r){return Me(void 0,e,t,r)}function Be(e,t,r,n,i){return e.modifiers!==t||e.typeParameters!==r||e.parameters!==n||e.type!==i?L(Le(t,r,n,i),e):e}function je(e,t,r,n){return Be(e,e.modifiers,t,r,n)}function Ke(e){var t=P(180);return t.exprName=e,t.transformFlags=1,t}function Je(e){var t=P(181);return t.members=N(e),t.transformFlags=1,t}function Ue(e){var t=P(182);return t.elementType=m().parenthesizeElementTypeOfArrayType(e),t.transformFlags=1,t}function qe(e){var t=P(183);return t.elements=N(e),t.transformFlags=1,t}function Ve(e,t,r,n){var i=P(196);return i.dotDotDotToken=e,i.name=t,i.questionToken=r,i.type=n,i.transformFlags=1,i}function ze(e){var t=P(184);return t.type=m().parenthesizeElementTypeOfArrayType(e),t.transformFlags=1,t}function We(e){var t=P(185);return t.type=e,t.transformFlags=1,t}function He(e,t){var r=P(e);return r.types=m().parenthesizeConstituentTypesOfUnionOrIntersectionType(t),r.transformFlags=1,r}function Ge(e,t){return e.types!==t?_(He(e.kind,t),e):e}function $e(e,t,r,n){var i=P(188);return i.checkType=m().parenthesizeMemberOfConditionalType(e),i.extendsType=m().parenthesizeMemberOfConditionalType(t),i.trueType=r,i.falseType=n,i.transformFlags=1,i}function Ye(e){var t=P(189);return t.typeParameter=e,t.transformFlags=1,t}function Xe(e,t){var r=P(197);return r.head=e,r.templateSpans=N(t),r.transformFlags=1,r}function Qe(e,t,r,n){void 0===n&&(n=!1);var i=P(199);return i.argument=e,i.qualifier=t,i.typeArguments=r&&m().parenthesizeTypeArguments(r),i.isTypeOf=n,i.transformFlags=1,i}function Ze(e){var t=P(190);return t.type=e,t.transformFlags=1,t}function et(e,t){var r=P(192);return r.operator=e,r.type=m().parenthesizeMemberOfElementType(t),r.transformFlags=1,r}function tt(e,t){var r=P(193);return r.objectType=m().parenthesizeMemberOfElementType(e),r.indexType=t,r.transformFlags=1,r}function rt(e,t,r,n,i,a){var o=P(194);return o.readonlyToken=e,o.typeParameter=t,o.nameType=r,o.questionToken=n,o.type=i,o.members=a&&N(a),o.transformFlags=1,o}function nt(e){var t=P(195);return t.literal=e,t.transformFlags=1,t}function it(e){var t=P(200);return t.elements=N(e),t.transformFlags|=263168|d(t.elements),16384&t.transformFlags&&(t.transformFlags|=32896),t}function at(e){var t=P(201);return t.elements=N(e),t.transformFlags|=263168|d(t.elements),t}function ot(t,r,n,i){var a=K(202,void 0,void 0,n,i&&m().parenthesizeExpressionForDisallowedComma(i));return a.propertyName=fi(r),a.dotDotDotToken=t,a.transformFlags|=1024|p(a.dotDotDotToken),a.propertyName&&(a.transformFlags|=e.isIdentifier(a.propertyName)?l(a.propertyName):p(a.propertyName)),t&&(a.transformFlags|=16384),a}function st(e){return P(e)}function ct(t,r){var n=st(203),i=t&&e.lastOrUndefined(t),a=N(t,!(!i||!e.isOmittedExpression(i))||void 0);return n.elements=m().parenthesizeExpressionsOfCommaDelimitedList(a),n.multiLine=r,n.transformFlags|=d(n.elements),n}function ut(e,t){var r=st(204);return r.properties=N(e),r.multiLine=t,r.transformFlags|=d(r.properties),r}function lt(t,r){var n=st(205);return n.expression=m().parenthesizeLeftSideOfAccess(t),n.name=fi(r),n.transformFlags=p(n.expression)|(e.isIdentifier(n.name)?l(n.name):p(n.name)),e.isSuperKeyword(t)&&(n.transformFlags|=384),n}function pt(t,r,n){var i=st(205);return i.flags|=32,i.expression=m().parenthesizeLeftSideOfAccess(t),i.questionDotToken=r,i.name=fi(n),i.transformFlags|=32|p(i.expression)|p(i.questionDotToken)|(e.isIdentifier(i.name)?l(i.name):p(i.name)),i}function dt(t,r,n,i){return e.Debug.assert(!!(32&t.flags),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),t.expression!==r||t.questionDotToken!==n||t.name!==i?_(pt(r,n,i),t):t}function ft(t,r){var n=st(206);return n.expression=m().parenthesizeLeftSideOfAccess(t),n.argumentExpression=_i(r),n.transformFlags|=p(n.expression)|p(n.argumentExpression),e.isSuperKeyword(t)&&(n.transformFlags|=384),n}function _t(e,t,r){var n=st(206);return n.flags|=32,n.expression=m().parenthesizeLeftSideOfAccess(e),n.questionDotToken=t,n.argumentExpression=_i(r),n.transformFlags|=p(n.expression)|p(n.questionDotToken)|p(n.argumentExpression)|32,n}function mt(t,r,n,i){return e.Debug.assert(!!(32&t.flags),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),t.expression!==r||t.questionDotToken!==n||t.argumentExpression!==i?_(_t(r,n,i),t):t}function gt(t,r,n){var i=st(207);return i.expression=m().parenthesizeLeftSideOfAccess(t),i.typeArguments=di(r),i.arguments=m().parenthesizeExpressionsOfCommaDelimitedList(N(n)),i.transformFlags|=p(i.expression)|d(i.typeArguments)|d(i.arguments),i.typeArguments&&(i.transformFlags|=1),e.isImportKeyword(i.expression)?i.transformFlags|=4194304:e.isSuperProperty(i.expression)&&(i.transformFlags|=8192),i}function ht(t,r,n,i){var a=st(207);return a.flags|=32,a.expression=m().parenthesizeLeftSideOfAccess(t),a.questionDotToken=r,a.typeArguments=di(n),a.arguments=m().parenthesizeExpressionsOfCommaDelimitedList(N(i)),a.transformFlags|=p(a.expression)|p(a.questionDotToken)|d(a.typeArguments)|d(a.arguments)|32,a.typeArguments&&(a.transformFlags|=1),e.isSuperProperty(a.expression)&&(a.transformFlags|=8192),a}function yt(t,r,n,i,a){return e.Debug.assert(!!(32&t.flags),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),t.expression!==r||t.questionDotToken!==n||t.typeArguments!==i||t.arguments!==a?_(ht(r,n,i,a),t):t}function vt(e,t,r){var n=st(208);return n.expression=m().parenthesizeExpressionOfNew(e),n.typeArguments=di(t),n.arguments=r?m().parenthesizeExpressionsOfCommaDelimitedList(r):void 0,n.transformFlags|=p(n.expression)|d(n.typeArguments)|d(n.arguments)|32,n.typeArguments&&(n.transformFlags|=1),n}function Dt(t,r,n){var i=st(209);return i.tag=m().parenthesizeLeftSideOfAccess(t),i.typeArguments=di(r),i.template=n,i.transformFlags|=p(i.tag)|d(i.typeArguments)|p(i.template)|1024,i.typeArguments&&(i.transformFlags|=1),e.hasInvalidEscape(i.template)&&(i.transformFlags|=128),i}function bt(e,t){var r=st(210);return r.expression=m().parenthesizeOperandOfPrefixUnary(t),r.type=e,r.transformFlags|=p(r.expression)|p(r.type)|1,r}function xt(e,t,r){return e.type!==t||e.expression!==r?_(bt(t,r),e):e}function Et(e){var t=st(211);return t.expression=e,t.transformFlags=p(t.expression),t}function St(e,t){return e.expression!==t?_(Et(t),e):e}function Ct(t,r,n,i,a,o,s){var c=M(212,void 0,t,n,i,a,o,s);return c.asteriskToken=r,c.transformFlags|=p(c.asteriskToken),c.typeParameters&&(c.transformFlags|=1),256&e.modifiersToFlags(c.modifiers)?c.asteriskToken?c.transformFlags|=128:c.transformFlags|=256:c.asteriskToken&&(c.transformFlags|=2048),c}function Tt(e,t,r,n,i,a,o,s){return e.name!==n||e.modifiers!==t||e.asteriskToken!==r||e.typeParameters!==i||e.parameters!==a||e.type!==o||e.body!==s?R(Ct(t,r,n,i,a,o,s),e):e}function kt(t,r,n,i,a,o){var s=M(213,void 0,t,void 0,r,n,i,m().parenthesizeConciseBodyOfArrowFunction(o));return s.equalsGreaterThanToken=null!=a?a:ee(38),s.transformFlags|=1024|p(s.equalsGreaterThanToken),256&e.modifiersToFlags(s.modifiers)&&(s.transformFlags|=8448),s}function At(e,t,r,n,i,a,o){return e.modifiers!==t||e.typeParameters!==r||e.parameters!==n||e.type!==i||e.equalsGreaterThanToken!==a||e.body!==o?R(kt(t,r,n,i,a,o),e):e}function Nt(e){var t=st(214);return t.expression=m().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=p(t.expression),t}function Pt(e){var t=st(215);return t.expression=m().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=p(t.expression),t}function Ft(e){var t=st(216);return t.expression=m().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=p(t.expression),t}function wt(e){var t=st(217);return t.expression=m().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=1048960|p(t.expression),t}function It(t,r){var n=st(218);return n.operator=t,n.operand=m().parenthesizeOperandOfPrefixUnary(r),n.transformFlags|=p(n.operand),(45===t||46===t)&&e.isIdentifier(n.operand)&&!e.isGeneratedIdentifier(n.operand)&&!e.isLocalName(n.operand)&&(n.transformFlags|=67108864),n}function Ot(t,r){var n=st(219);return n.operator=r,n.operand=m().parenthesizeOperandOfPostfixUnary(t),n.transformFlags|=p(n.operand),e.isIdentifier(n.operand)&&!e.isGeneratedIdentifier(n.operand)&&!e.isLocalName(n.operand)&&(n.transformFlags|=67108864),n}function Lt(t,r,n){var i=st(220),a=function(e){return"number"==typeof e?ee(e):e}(r),o=a.kind;return i.left=m().parenthesizeLeftSideOfBinary(o,t),i.operatorToken=a,i.right=m().parenthesizeRightSideOfBinary(o,i.left,n),i.transformFlags|=p(i.left)|p(i.operatorToken)|p(i.right),60===o?i.transformFlags|=32:63===o?e.isObjectLiteralExpression(i.left)?i.transformFlags|=5248|Mt(i.left):e.isArrayLiteralExpression(i.left)&&(i.transformFlags|=5120|Mt(i.left)):42===o||67===o?i.transformFlags|=512:e.isLogicalOrCoalescingAssignmentOperator(o)&&(i.transformFlags|=16),i}function Mt(t){if(32768&t.transformFlags)return 32768;if(128&t.transformFlags)for(var r=0,n=e.getElementsOfBindingOrAssignmentPattern(t);r<n.length;r++){var i=n[r],a=e.getTargetOfBindingOrAssignmentElement(i);if(a&&e.isAssignmentPattern(a)){if(32768&a.transformFlags)return 32768;if(128&a.transformFlags){var o=Mt(a);if(o)return o}}}return 0}function Rt(e,t,r,n,i){var a=st(221);return a.condition=m().parenthesizeConditionOfConditionalExpression(e),a.questionToken=null!=t?t:ee(57),a.whenTrue=m().parenthesizeBranchOfConditionalExpression(r),a.colonToken=null!=n?n:ee(58),a.whenFalse=m().parenthesizeBranchOfConditionalExpression(i),a.transformFlags|=p(a.condition)|p(a.questionToken)|p(a.whenTrue)|p(a.colonToken)|p(a.whenFalse),a}function Bt(e,t){var r=st(222);return r.head=e,r.templateSpans=N(t),r.transformFlags|=p(r.head)|d(r.templateSpans)|1024,r}function jt(t,r,n,i){void 0===i&&(i=0),e.Debug.assert(!(-2049&i),"Unsupported template flags.");var a=void 0;if(void 0!==n&&n!==r&&"object"==typeof(a=function(t,r){switch(c||(c=e.createScanner(99,!1,0)),t){case 14:c.setText("`"+r+"`");break;case 15:c.setText("`"+r+"${");break;case 16:c.setText("}"+r+"${");break;case 17:c.setText("}"+r+"`")}var n,i=c.scan();if(19===i&&(i=c.reScanTemplateToken(!1)),c.isUnterminated())return c.setText(void 0),u;switch(i){case 14:case 15:case 16:case 17:n=c.getTokenValue()}return void 0===n||1!==c.scan()?(c.setText(void 0),u):(c.setText(void 0),n)}(t,n)))return e.Debug.fail("Invalid raw text");if(void 0===r){if(void 0===a)return e.Debug.fail("Arguments 'text' and 'rawText' may not both be undefined.");r=a}else void 0!==a&&e.Debug.assert(r===a,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return Kt(t,r,n,i)}function Kt(e,t,r,n){var i=Z(e);return i.text=t,i.rawText=r,i.templateFlags=2048&n,i.transformFlags|=1024,i.templateFlags&&(i.transformFlags|=128),i}function Jt(t,r){e.Debug.assert(!t||!!r,"A `YieldExpression` with an asteriskToken must have an expression.");var n=st(223);return n.expression=r&&m().parenthesizeExpressionForDisallowedComma(r),n.asteriskToken=t,n.transformFlags|=p(n.expression)|p(n.asteriskToken)|525440,n}function Ut(e){var t=st(224);return t.expression=m().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=17408|p(t.expression),t}function qt(e,t,r,n,i,a){var o=j(225,e,t,r,n,i,a);return o.transformFlags|=1024,o}function Vt(e,t,r,n,i,a,o){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?_(qt(t,r,n,i,a,o),e):e}function zt(e,t){var r=P(227);return r.expression=m().parenthesizeLeftSideOfAccess(e),r.typeArguments=t&&m().parenthesizeTypeArguments(t),r.transformFlags|=p(r.expression)|d(r.typeArguments)|1024,r}function Wt(e,t){var r=st(228);return r.expression=e,r.type=t,r.transformFlags|=p(r.expression)|p(r.type)|1,r}function Ht(e,t,r){return e.expression!==t||e.type!==r?_(Wt(t,r),e):e}function Gt(e){var t=st(229);return t.expression=m().parenthesizeLeftSideOfAccess(e),t.transformFlags|=1|p(t.expression),t}function $t(t,r){return e.isNonNullChain(t)?Xt(t,r):t.expression!==r?_(Gt(r),t):t}function Yt(e){var t=st(229);return t.flags|=32,t.expression=m().parenthesizeLeftSideOfAccess(e),t.transformFlags|=1|p(t.expression),t}function Xt(t,r){return e.Debug.assert(!!(32&t.flags),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),t.expression!==r?_(Yt(r),t):t}function Qt(t,r){var n=st(230);switch(n.keywordToken=t,n.name=r,n.transformFlags|=p(n.name),t){case 103:n.transformFlags|=1024;break;case 100:n.transformFlags|=4;break;default:return e.Debug.assertNever(t)}return n}function Zt(e,t){var r=P(232);return r.expression=e,r.literal=t,r.transformFlags|=p(r.expression)|p(r.literal)|1024,r}function er(e,t){var r=P(234);return r.statements=N(e),r.multiLine=t,r.transformFlags|=d(r.statements),r}function tr(t,r){var n=F(236,void 0,t);return n.declarationList=e.isArray(r)?br(r):r,n.transformFlags|=p(n.declarationList),2&e.modifiersToFlags(n.modifiers)&&(n.transformFlags=1),n}function rr(e,t,r){return e.modifiers!==t||e.declarationList!==r?_(tr(t,r),e):e}function nr(){return P(235)}function ir(e){var t=P(237);return t.expression=m().parenthesizeExpressionOfExpressionStatement(e),t.transformFlags|=p(t.expression),t}function ar(e,t,r){var n=P(238);return n.expression=e,n.thenStatement=mi(t),n.elseStatement=mi(r),n.transformFlags|=p(n.expression)|p(n.thenStatement)|p(n.elseStatement),n}function or(e,t){var r=P(239);return r.statement=mi(e),r.expression=t,r.transformFlags|=p(r.statement)|p(r.expression),r}function sr(e,t){var r=P(240);return r.expression=e,r.statement=mi(t),r.transformFlags|=p(r.expression)|p(r.statement),r}function cr(e,t,r,n){var i=P(241);return i.initializer=e,i.condition=t,i.incrementor=r,i.statement=mi(n),i.transformFlags|=p(i.initializer)|p(i.condition)|p(i.incrementor)|p(i.statement),i}function ur(e,t,r){var n=P(242);return n.initializer=e,n.expression=t,n.statement=mi(r),n.transformFlags|=p(n.initializer)|p(n.expression)|p(n.statement),n}function lr(e,t,r,n){var i=P(243);return i.awaitModifier=e,i.initializer=t,i.expression=m().parenthesizeExpressionForDisallowedComma(r),i.statement=mi(n),i.transformFlags|=p(i.awaitModifier)|p(i.initializer)|p(i.expression)|p(i.statement)|1024,e&&(i.transformFlags|=128),i}function pr(e){var t=P(244);return t.label=fi(e),t.transformFlags|=2097152|p(t.label),t}function dr(e){var t=P(245);return t.label=fi(e),t.transformFlags|=2097152|p(t.label),t}function fr(e){var t=P(246);return t.expression=e,t.transformFlags|=2097280|p(t.expression),t}function _r(e,t){var r=P(247);return r.expression=e,r.statement=mi(t),r.transformFlags|=p(r.expression)|p(r.statement),r}function mr(e,t){var r=P(248);return r.expression=m().parenthesizeExpressionForDisallowedComma(e),r.caseBlock=t,r.transformFlags|=p(r.expression)|p(r.caseBlock),r}function gr(e,t){var r=P(249);return r.label=fi(e),r.statement=mi(t),r.transformFlags|=p(r.label)|p(r.statement),r}function hr(e,t,r){return e.label!==t||e.statement!==r?_(gr(t,r),e):e}function yr(e){var t=P(250);return t.expression=e,t.transformFlags|=p(t.expression),t}function vr(e,t,r){var n=P(251);return n.tryBlock=e,n.catchClause=t,n.finallyBlock=r,n.transformFlags|=p(n.tryBlock)|p(n.catchClause)|p(n.finallyBlock),n}function Dr(e,t,r,n){var i=J(253,void 0,void 0,e,r,n&&m().parenthesizeExpressionForDisallowedComma(n));return i.exclamationToken=t,i.transformFlags|=p(i.exclamationToken),t&&(i.transformFlags|=1),i}function br(e,t){void 0===t&&(t=0);var r=P(254);return r.flags|=3&t,r.declarations=N(e),r.transformFlags|=2097152|d(r.declarations),3&t&&(r.transformFlags|=132096),r}function xr(t,r,n,i,a,o,s,c){var u=M(255,t,r,i,a,o,s,c);return u.asteriskToken=n,!u.body||2&e.modifiersToFlags(u.modifiers)?u.transformFlags=1:(u.transformFlags|=2097152|p(u.asteriskToken),256&e.modifiersToFlags(u.modifiers)?u.asteriskToken?u.transformFlags|=128:u.transformFlags|=256:u.asteriskToken&&(u.transformFlags|=2048)),u}function Er(e,t,r,n,i,a,o,s,c){return e.decorators!==t||e.modifiers!==r||e.asteriskToken!==n||e.name!==i||e.typeParameters!==a||e.parameters!==o||e.type!==s||e.body!==c?R(xr(t,r,n,i,a,o,s,c),e):e}function Sr(t,r,n,i,a,o){var s=j(256,t,r,n,i,a,o);return 2&e.modifiersToFlags(s.modifiers)?s.transformFlags=1:(s.transformFlags|=1024,4096&s.transformFlags&&(s.transformFlags|=1)),s}function Cr(e,t,r,n,i,a,o){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?_(Sr(t,r,n,i,a,o),e):e}function Tr(e,t,r,n,i,a){var o=B(257,e,t,r,n,i);return o.members=N(a),o.transformFlags=1,o}function kr(e,t,r,n,i,a,o){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?_(Tr(t,r,n,i,a,o),e):e}function Ar(e,t,r,n,i){var a=I(258,e,t,r,n);return a.type=i,a.transformFlags=1,a}function Nr(e,t,r,n,i,a){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.typeParameters!==i||e.type!==a?_(Ar(t,r,n,i,a),e):e}function Pr(e,t,r,n){var i=w(259,e,t,r);return i.members=N(n),i.transformFlags|=1|d(i.members),i.transformFlags&=-16777217,i}function Fr(e,t,r,n,i){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.members!==i?_(Pr(t,r,n,i),e):e}function wr(t,r,n,i,a){void 0===a&&(a=0);var o=F(260,t,r);return o.flags|=1044&a,o.name=n,o.body=i,2&e.modifiersToFlags(o.modifiers)?o.transformFlags=1:o.transformFlags|=p(o.name)|p(o.body)|1,o.transformFlags&=-16777217,o}function Ir(e,t,r,n,i){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.body!==i?_(wr(t,r,n,i,e.flags),e):e}function Or(e){var t=P(261);return t.statements=N(e),t.transformFlags|=d(t.statements),t}function Lr(e){var t=P(262);return t.clauses=N(e),t.transformFlags|=d(t.clauses),t}function Mr(e){var t=w(263,void 0,void 0,e);return t.transformFlags=1,t}function Rr(t,r,n,i,a){var o=w(264,t,r,i);return o.isTypeOnly=n,o.moduleReference=a,o.transformFlags|=p(o.moduleReference),e.isExternalModuleReference(o.moduleReference)||(o.transformFlags|=1),o.transformFlags&=-16777217,o}function Br(e,t,r,n,i,a){return e.decorators!==t||e.modifiers!==r||e.isTypeOnly!==n||e.name!==i||e.moduleReference!==a?_(Rr(t,r,n,i,a),e):e}function jr(e,t,r,n,i){var a=F(265,e,t);return a.importClause=r,a.moduleSpecifier=n,a.assertClause=i,a.transformFlags|=p(a.importClause)|p(a.moduleSpecifier),a.transformFlags&=-16777217,a}function Kr(e,t,r,n,i,a){return e.decorators!==t||e.modifiers!==r||e.importClause!==n||e.moduleSpecifier!==i||e.assertClause!==a?_(jr(t,r,n,i,a),e):e}function Jr(e,t,r){var n=P(266);return n.isTypeOnly=e,n.name=t,n.namedBindings=r,n.transformFlags|=p(n.name)|p(n.namedBindings),e&&(n.transformFlags|=1),n.transformFlags&=-16777217,n}function Ur(e,t){var r=P(292);return r.elements=N(e),r.multiLine=t,r.transformFlags|=4,r}function qr(e,t){var r=P(293);return r.name=e,r.value=t,r.transformFlags|=4,r}function Vr(e){var t=P(267);return t.name=e,t.transformFlags|=p(t.name),t.transformFlags&=-16777217,t}function zr(e){var t=P(273);return t.name=e,t.transformFlags|=4|p(t.name),t.transformFlags&=-16777217,t}function Wr(e){var t=P(268);return t.elements=N(e),t.transformFlags|=d(t.elements),t.transformFlags&=-16777217,t}function Hr(e,t,r){var n=P(269);return n.isTypeOnly=e,n.propertyName=t,n.name=r,n.transformFlags|=p(n.propertyName)|p(n.name),n.transformFlags&=-16777217,n}function Gr(e,t,r,n){var i=F(270,e,t);return i.isExportEquals=r,i.expression=r?m().parenthesizeRightSideOfBinary(63,void 0,n):m().parenthesizeExpressionOfExportDefault(n),i.transformFlags|=p(i.expression),i.transformFlags&=-16777217,i}function $r(e,t,r,n){return e.decorators!==t||e.modifiers!==r||e.expression!==n?_(Gr(t,r,e.isExportEquals,n),e):e}function Yr(e,t,r,n,i,a){var o=F(271,e,t);return o.isTypeOnly=r,o.exportClause=n,o.moduleSpecifier=i,o.assertClause=a,o.transformFlags|=p(o.exportClause)|p(o.moduleSpecifier),o.transformFlags&=-16777217,o}function Xr(e,t,r,n,i,a,o){return e.decorators!==t||e.modifiers!==r||e.isTypeOnly!==n||e.exportClause!==i||e.moduleSpecifier!==a||e.assertClause!==o?_(Yr(t,r,n,i,a,o),e):e}function Qr(e){var t=P(272);return t.elements=N(e),t.transformFlags|=d(t.elements),t.transformFlags&=-16777217,t}function Zr(e,t,r){var n=P(274);return n.isTypeOnly=e,n.propertyName=fi(t),n.name=fi(r),n.transformFlags|=p(n.propertyName)|p(n.name),n.transformFlags&=-16777217,n}function en(e){var t=P(276);return t.expression=e,t.transformFlags|=p(t.expression),t.transformFlags&=-16777217,t}function tn(e,t){var r=P(e);return r.type=t,r}function rn(e,t){return O(315,void 0,void 0,void 0,void 0,e,t)}function nn(e,t){void 0===t&&(t=!1);var r=P(320);return r.jsDocPropertyTags=di(e),r.isArrayType=t,r}function an(e){var t=P(307);return t.type=e,t}function on(e,t,r){var n=P(321);return n.typeParameters=di(e),n.parameters=N(t),n.type=r,n}function sn(t){var r=s(t.kind);return t.tagName.escapedText===e.escapeLeadingUnderscores(r)?t.tagName:Y(r)}function cn(e,t,r){var n=P(e);return n.tagName=t,n.comment=r,n}function un(e,t,r,n){var i=cn(342,null!=e?e:Y("template"),n);return i.constraint=t,i.typeParameters=N(r),i}function ln(t,r,n,i){var a=cn(343,null!=t?t:Y("typedef"),i);return a.typeExpression=r,a.fullName=n,a.name=e.getJSDocTypeAliasName(n),a}function pn(e,t,r,n,i,a){var o=cn(338,null!=e?e:Y("param"),a);return o.typeExpression=n,o.name=t,o.isNameFirst=!!i,o.isBracketed=r,o}function dn(e,t,r,n,i,a){var o=cn(345,null!=e?e:Y("prop"),a);return o.typeExpression=n,o.name=t,o.isNameFirst=!!i,o.isBracketed=r,o}function fn(t,r,n,i){var a=cn(336,null!=t?t:Y("callback"),i);return a.typeExpression=r,a.fullName=n,a.name=e.getJSDocTypeAliasName(n),a}function _n(e,t,r){var n=cn(326,null!=e?e:Y("augments"),r);return n.class=t,n}function mn(e,t,r){var n=cn(327,null!=e?e:Y("implements"),r);return n.class=t,n}function gn(e,t,r){var n=cn(344,null!=e?e:Y("see"),r);return n.name=t,n}function hn(e){var t=P(308);return t.name=e,t}function yn(e,t){var r=P(309);return r.left=e,r.right=t,r.transformFlags|=p(r.left)|p(r.right),r}function vn(e,t){var r=P(322);return r.name=e,r.text=t,r}function Dn(e,t){var r=P(323);return r.name=e,r.text=t,r}function bn(e,t){var r=P(324);return r.name=e,r.text=t,r}function xn(e,t,r){return cn(e,null!=t?t:Y(s(e)),r)}function En(e,t,r,n){var i=cn(e,null!=t?t:Y(s(e)),n);return i.typeExpression=r,i}function Sn(e,t){return cn(325,e,t)}function Cn(e){var t=P(319);return t.text=e,t}function Tn(e,t){var r=P(318);return r.comment=e,r.tags=di(t),r}function kn(e,t,r){var n=P(277);return n.openingElement=e,n.children=N(t),n.closingElement=r,n.transformFlags|=p(n.openingElement)|d(n.children)|p(n.closingElement)|2,n}function An(e,t,r){var n=P(278);return n.tagName=e,n.typeArguments=di(t),n.attributes=r,n.transformFlags|=p(n.tagName)|d(n.typeArguments)|p(n.attributes)|2,n.typeArguments&&(n.transformFlags|=1),n}function Nn(e,t,r){var n=P(279);return n.tagName=e,n.typeArguments=di(t),n.attributes=r,n.transformFlags|=p(n.tagName)|d(n.typeArguments)|p(n.attributes)|2,t&&(n.transformFlags|=1),n}function Pn(e){var t=P(280);return t.tagName=e,t.transformFlags|=2|p(t.tagName),t}function Fn(e,t,r){var n=P(281);return n.openingFragment=e,n.children=N(t),n.closingFragment=r,n.transformFlags|=p(n.openingFragment)|d(n.children)|p(n.closingFragment)|2,n}function wn(e,t){var r=P(11);return r.text=e,r.containsOnlyTriviaWhiteSpaces=!!t,r.transformFlags|=2,r}function In(e,t){var r=P(284);return r.name=e,r.initializer=t,r.transformFlags|=p(r.name)|p(r.initializer)|2,r}function On(e){var t=P(285);return t.properties=N(e),t.transformFlags|=2|d(t.properties),t}function Ln(e){var t=P(286);return t.expression=e,t.transformFlags|=2|p(t.expression),t}function Mn(e,t){var r=P(287);return r.dotDotDotToken=e,r.expression=t,r.transformFlags|=p(r.dotDotDotToken)|p(r.expression)|2,r}function Rn(e,t){var r=P(288);return r.expression=m().parenthesizeExpressionForDisallowedComma(e),r.statements=N(t),r.transformFlags|=p(r.expression)|d(r.statements),r}function Bn(e){var t=P(289);return t.statements=N(e),t.transformFlags=d(t.statements),t}function jn(t,r){var n=P(290);switch(n.token=t,n.types=N(r),n.transformFlags|=d(n.types),t){case 94:n.transformFlags|=1024;break;case 117:n.transformFlags|=1;break;default:return e.Debug.assertNever(t)}return n}function Kn(t,r){var n=P(291);return("string"==typeof t||t&&!e.isVariableDeclaration(t))&&(t=Dr(t,void 0,void 0,void 0)),n.variableDeclaration=t,n.block=r,n.transformFlags|=p(n.variableDeclaration)|p(n.block),t||(n.transformFlags|=64),n}function Jn(e,t){var r=w(294,void 0,void 0,e);return r.initializer=m().parenthesizeExpressionForDisallowedComma(t),r.transformFlags|=p(r.name)|p(r.initializer),r}function Un(e,t){var r=w(295,void 0,void 0,e);return r.objectAssignmentInitializer=t&&m().parenthesizeExpressionForDisallowedComma(t),r.transformFlags|=1024|p(r.objectAssignmentInitializer),r}function qn(e){var t=P(296);return t.expression=m().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=32896|p(t.expression),t}function Vn(e,t){var r=P(297);return r.name=fi(e),r.initializer=t&&m().parenthesizeExpressionForDisallowedComma(t),r.transformFlags|=p(r.name)|p(r.initializer)|1,r}function zn(t,r){void 0===r&&(r=e.emptyArray);var n=P(304);return n.prepends=r,n.sourceFiles=t,n}function Wn(e,t){var r=P(e);return r.data=t,r}function Hn(t,r){var n=P(348);return n.expression=t,n.original=r,n.transformFlags|=1|p(n.expression),e.setTextRange(n,r),n}function Gn(e,t){return e.expression!==t?_(Hn(t,e.original),e):e}function $n(t){if(e.nodeIsSynthesized(t)&&!e.isParseTreeNode(t)&&!t.original&&!t.emitNode&&!t.id){if(e.isCommaListExpression(t))return t.elements;if(e.isBinaryExpression(t)&&e.isCommaToken(t.operatorToken))return[t.left,t.right]}return t}function Yn(t){var r=P(349);return r.elements=N(e.sameFlatMap(t,$n)),r.transformFlags|=d(r.elements),r}function Xn(e,t){var r=P(352);return r.expression=e,r.thisArg=t,r.transformFlags|=p(r.expression)|p(r.thisArg),r}function Qn(t){if(void 0===t)return t;var r=e.isSourceFile(t)?n.createBaseSourceFileNode(303):e.isIdentifier(t)?n.createBaseIdentifierNode(79):e.isPrivateIdentifier(t)?n.createBasePrivateIdentifierNode(80):e.isNodeKind(t.kind)?n.createBaseNode(t.kind):n.createBaseTokenNode(t.kind);for(var i in r.flags|=-9&t.flags,r.transformFlags=t.transformFlags,v(r,t),t)r.hasOwnProperty(i)||!t.hasOwnProperty(i)||(r[i]=t[i]);return r}function Zn(){return Ft(q("0"))}function ei(t,r,n){return e.isCallChain(t)?ht(pt(t,void 0,r),void 0,void 0,n):gt(lt(t,r),void 0,n)}function ti(e,t,r){return ei(Y(e),t,r)}function ri(e,t,r){return!!r&&(e.push(Jn(t,r)),!0)}function ni(t,r){var n=e.skipParentheses(t);switch(n.kind){case 79:return r;case 108:case 8:case 9:case 10:return!1;case 203:return 0!==n.elements.length;case 204:return n.properties.length>0;default:return!0}}function ii(t,r,n,i){void 0===i&&(i=0);var a=e.getNameOfDeclaration(t);if(a&&e.isIdentifier(a)&&!e.isGeneratedIdentifier(a)){var o=e.setParent(e.setTextRange(Qn(a),a),a.parent);return i|=e.getEmitFlags(a),n||(i|=48),r||(i|=1536),i&&e.setEmitFlags(o,i),o}return Q(t)}function ai(e,t,r){return ii(e,t,r,8192)}function oi(t,r,n,i){var a=lt(t,e.nodeIsSynthesized(r)?r:Qn(r));e.setTextRange(a,r);var o=0;return i||(o|=48),n||(o|=1536),o&&e.setEmitFlags(a,o),a}function si(t){return e.isStringLiteral(t.expression)&&"use strict"===t.expression.text}function ci(){return e.startOnNewLine(ir(W("use strict")))}function ui(t,r,n,i){void 0===n&&(n=0),e.Debug.assert(0===r.length,"Prologue directives should be at the first statement in the target statements array");for(var a=!1,o=t.length;n<o;){var s=t[n];if(!e.isPrologueDirective(s))break;si(s)&&(a=!0),r.push(s),n++}return i&&!a&&r.push(ci()),n}function li(t,r,n,i,a){void 0===a&&(a=e.returnTrue);for(var o=t.length;void 0!==n&&n<o;){var s=t[n];if(!(1048576&e.getEmitFlags(s)&&a(s)))break;e.append(r,i?e.visitNode(s,i,e.isStatement):s),n++}return n}function pi(e,t,r){for(var n=r;n<e.length&&t(e[n]);)n++;return n}function di(e){return e?N(e):void 0}function fi(e){return"string"==typeof e?Y(e):e}function _i(e){return"string"==typeof e?W(e):"number"==typeof e?q(e):"boolean"==typeof e?e?re():ne():e}function mi(t){return t&&e.isNotEmittedStatement(t)?e.setTextRange(v(nr(),t),t):t}}function i(t,r){return t!==r&&e.setTextRange(t,r),t}function o(t,r){return t!==r&&(v(t,r),e.setTextRange(t,r)),t}function s(t){switch(t){case 341:return"type";case 339:return"returns";case 340:return"this";case 337:return"enum";case 328:return"author";case 330:return"class";case 331:return"public";case 332:return"private";case 333:return"protected";case 334:return"readonly";case 335:return"override";case 342:return"template";case 343:return"typedef";case 338:return"param";case 345:return"prop";case 336:return"callback";case 326:return"augments";case 327:return"implements";default:return e.Debug.fail("Unsupported kind: ".concat(e.Debug.formatSyntaxKind(t)))}}(t=e.NodeFactoryFlags||(e.NodeFactoryFlags={}))[t.None=0]="None",t[t.NoParenthesizerRules=1]="NoParenthesizerRules",t[t.NoNodeConverters=2]="NoNodeConverters",t[t.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",t[t.NoOriginalNode=8]="NoOriginalNode",e.createNodeFactory=n;var c,u={};function l(e){return-16777217&p(e)}function p(t){if(!t)return 0;var r=t.transformFlags&~_(t.kind);return e.isNamedDeclaration(t)&&e.isPropertyName(t.name)?function(e,t){return t|33562624&e.transformFlags}(t.name,r):r}function d(e){return e?e.transformFlags:0}function f(e){for(var t=0,r=0,n=e;r<n.length;r++)t|=p(n[r]);e.transformFlags=t}function _(e){if(e>=176&&e<=199)return-2;switch(e){case 207:case 208:case 203:case 200:case 201:return 536887296;case 260:return 589443072;case 163:case 210:case 228:case 348:case 211:case 106:case 205:case 206:default:return 536870912;case 213:return 557748224;case 212:case 255:return 591310848;case 254:return 537165824;case 256:case 225:return 536940544;case 170:return 591306752;case 166:return 570433536;case 168:case 171:case 172:return 574529536;case 130:case 146:case 157:case 143:case 149:case 147:case 133:case 150:case 114:case 162:case 165:case 167:case 173:case 174:case 175:case 257:case 258:return-2;case 204:return 536973312;case 291:return 536903680}}e.getTransformFlagsSubtreeExclusions=_;var m=e.createBaseNodeFactory();function g(e){return e.flags|=8,e}var h,y={createBaseSourceFileNode:function(e){return g(m.createBaseSourceFileNode(e))},createBaseIdentifierNode:function(e){return g(m.createBaseIdentifierNode(e))},createBasePrivateIdentifierNode:function(e){return g(m.createBasePrivateIdentifierNode(e))},createBaseTokenNode:function(e){return g(m.createBaseTokenNode(e))},createBaseNode:function(e){return g(m.createBaseNode(e))}};function v(t,r){if(t.original=r,r){var n=r.emitNode;n&&(t.emitNode=function(t,r){var n=t.flags,i=t.leadingComments,a=t.trailingComments,o=t.commentRange,s=t.sourceMapRange,c=t.tokenSourceMapRanges,u=t.constantValue,l=t.helpers,p=t.startsOnNewLine;if(r||(r={}),i&&(r.leadingComments=e.addRange(i.slice(),r.leadingComments)),a&&(r.trailingComments=e.addRange(a.slice(),r.trailingComments)),n&&(r.flags=-268435457&n),o&&(r.commentRange=o),s&&(r.sourceMapRange=s),c&&(r.tokenSourceMapRanges=function(e,t){for(var r in t||(t=[]),e)t[r]=e[r];return t}(c,r.tokenSourceMapRanges)),void 0!==u&&(r.constantValue=u),l)for(var d=0,f=l;d<f.length;d++){var _=f[d];r.helpers=e.appendIfUnique(r.helpers,_)}return void 0!==p&&(r.startsOnNewLine=p),r}(n,t.emitNode))}return t}e.factory=n(4,y),e.createUnparsedSourceFile=function(t,r,n){var i,a,o,s,c,u,l,p,d,f;e.isString(t)?(o="",s=t,c=t.length,u=r,l=n):(e.Debug.assert("js"===r||"dts"===r),o=("js"===r?t.javascriptPath:t.declarationPath)||"",u="js"===r?t.javascriptMapPath:t.declarationMapPath,p=function(){return"js"===r?t.javascriptText:t.declarationText},d=function(){return"js"===r?t.javascriptMapText:t.declarationMapText},c=function(){return p().length},t.buildInfo&&t.buildInfo.bundle&&(e.Debug.assert(void 0===n||"boolean"==typeof n),i=n,a="js"===r?t.buildInfo.bundle.js:t.buildInfo.bundle.dts,f=t.oldFileOfCurrentEmit));var _=f?function(t){for(var r,n,i=0,a=t.sections;i<a.length;i++){var o=a[i];switch(o.kind){case"internal":case"text":r=e.append(r,e.setTextRange(e.factory.createUnparsedTextLike(o.data,"internal"===o.kind),o));break;case"no-default-lib":case"reference":case"type":case"lib":n=e.append(n,e.setTextRange(e.factory.createUnparsedSyntheticReference(o),o));break;case"prologue":case"emitHelpers":case"prepend":break;default:e.Debug.assertNever(o)}}var s=e.factory.createUnparsedSource(e.emptyArray,n,null!=r?r:e.emptyArray);return e.setEachParent(n,s),e.setEachParent(r,s),s.helpers=e.map(t.sources&&t.sources.helpers,(function(t){return e.getAllUnscopedEmitHelpers().get(t)})),s}(e.Debug.checkDefined(a)):function(t,r,n){for(var i,a,o,s,c,u,l,p,d=0,f=t?t.sections:e.emptyArray;d<f.length;d++){var _=f[d];switch(_.kind){case"prologue":i=e.append(i,e.setTextRange(e.factory.createUnparsedPrologue(_.data),_));break;case"emitHelpers":a=e.append(a,e.getAllUnscopedEmitHelpers().get(_.data));break;case"no-default-lib":p=!0;break;case"reference":o=e.append(o,{pos:-1,end:-1,fileName:_.data});break;case"type":s=e.append(s,_.data);break;case"lib":c=e.append(c,{pos:-1,end:-1,fileName:_.data});break;case"prepend":for(var m=void 0,g=0,h=_.texts;g<h.length;g++){var y=h[g];(!r||"internal"!==y.kind)&&(m=e.append(m,e.setTextRange(e.factory.createUnparsedTextLike(y.data,"internal"===y.kind),y)))}u=e.addRange(u,m),l=e.append(l,e.factory.createUnparsedPrepend(_.data,null!=m?m:e.emptyArray));break;case"internal":if(r){l||(l=[]);break}case"text":l=e.append(l,e.setTextRange(e.factory.createUnparsedTextLike(_.data,"internal"===_.kind),_));break;default:e.Debug.assertNever(_)}}if(!l){var v=e.factory.createUnparsedTextLike(void 0,!1);e.setTextRangePosWidth(v,0,"function"==typeof n?n():n),l=[v]}var D=e.parseNodeFactory.createUnparsedSource(null!=i?i:e.emptyArray,void 0,l);return e.setEachParent(i,D),e.setEachParent(l,D),e.setEachParent(u,D),D.hasNoDefaultLib=p,D.helpers=a,D.referencedFiles=o||e.emptyArray,D.typeReferenceDirectives=s,D.libReferenceDirectives=c||e.emptyArray,D}(a,i,c);return _.fileName=o,_.sourceMapPath=u,_.oldFileOfCurrentEmit=f,p&&d?(Object.defineProperty(_,"text",{get:p}),Object.defineProperty(_,"sourceMapText",{get:d})):(e.Debug.assert(!f),_.text=null!=s?s:"",_.sourceMapText=l),_},e.createInputFiles=function(t,r,n,i,a,o,s,c,u,l,p){var d=e.parseNodeFactory.createInputFiles();if(e.isString(t))d.javascriptText=t,d.javascriptMapPath=n,d.javascriptMapText=i,d.declarationText=r,d.declarationMapPath=a,d.declarationMapText=o,d.javascriptPath=s,d.declarationPath=c,d.buildInfoPath=u,d.buildInfo=l,d.oldFileOfCurrentEmit=p;else{var f,_=new e.Map,m=function(e){if(void 0!==e){var r=_.get(e);return void 0===r&&(r=t(e),_.set(e,void 0!==r&&r)),!1!==r?r:void 0}},g=function(e){var t=m(e);return void 0!==t?t:"/* Input file ".concat(e," was missing */\r\n")};d.javascriptPath=r,d.javascriptMapPath=n,d.declarationPath=e.Debug.checkDefined(i),d.declarationMapPath=a,d.buildInfoPath=o,Object.defineProperties(d,{javascriptText:{get:function(){return g(r)}},javascriptMapText:{get:function(){return m(n)}},declarationText:{get:function(){return g(e.Debug.checkDefined(i))}},declarationMapText:{get:function(){return m(a)}},buildInfo:{get:function(){return function(t){if(void 0===f){var r=t();f=void 0!==r&&e.getBuildInfo(r)}return f||void 0}((function(){return m(o)}))}}})}return d},e.createSourceMapSource=function(t,r,n){return new(h||(h=e.objectAllocator.getSourceMapSourceConstructor()))(t,r,n)},e.setOriginalNode=v}(n||(n={})),function(e){function t(r){var n;if(r.emitNode)e.Debug.assert(!(268435456&r.emitNode.flags),"Invalid attempt to mutate an immutable node.");else{if(e.isParseTreeNode(r)){if(303===r.kind)return r.emitNode={annotatedNodes:[r]};t(null!==(n=e.getSourceFileOfNode(e.getParseTreeNode(e.getSourceFileOfNode(r))))&&void 0!==n?n:e.Debug.fail("Could not determine parsed source file.")).annotatedNodes.push(r)}r.emitNode={}}return r.emitNode}function r(e){var t;return null===(t=e.emitNode)||void 0===t?void 0:t.leadingComments}function n(e,r){return t(e).leadingComments=r,e}function i(e){var t;return null===(t=e.emitNode)||void 0===t?void 0:t.trailingComments}function a(e,r){return t(e).trailingComments=r,e}e.getOrCreateEmitNode=t,e.disposeEmitNodes=function(t){var r,n,i=null===(n=null===(r=e.getSourceFileOfNode(e.getParseTreeNode(t)))||void 0===r?void 0:r.emitNode)||void 0===n?void 0:n.annotatedNodes;if(i)for(var a=0,o=i;a<o.length;a++)o[a].emitNode=void 0},e.removeAllComments=function(e){var r=t(e);return r.flags|=1536,r.leadingComments=void 0,r.trailingComments=void 0,e},e.setEmitFlags=function(e,r){return t(e).flags=r,e},e.addEmitFlags=function(e,r){var n=t(e);return n.flags=n.flags|r,e},e.getSourceMapRange=function(e){var t,r;return null!==(r=null===(t=e.emitNode)||void 0===t?void 0:t.sourceMapRange)&&void 0!==r?r:e},e.setSourceMapRange=function(e,r){return t(e).sourceMapRange=r,e},e.getTokenSourceMapRange=function(e,t){var r,n;return null===(n=null===(r=e.emitNode)||void 0===r?void 0:r.tokenSourceMapRanges)||void 0===n?void 0:n[t]},e.setTokenSourceMapRange=function(e,r,n){var i,a=t(e);return(null!==(i=a.tokenSourceMapRanges)&&void 0!==i?i:a.tokenSourceMapRanges=[])[r]=n,e},e.getStartsOnNewLine=function(e){var t;return null===(t=e.emitNode)||void 0===t?void 0:t.startsOnNewLine},e.setStartsOnNewLine=function(e,r){return t(e).startsOnNewLine=r,e},e.getCommentRange=function(e){var t,r;return null!==(r=null===(t=e.emitNode)||void 0===t?void 0:t.commentRange)&&void 0!==r?r:e},e.setCommentRange=function(e,r){return t(e).commentRange=r,e},e.getSyntheticLeadingComments=r,e.setSyntheticLeadingComments=n,e.addSyntheticLeadingComment=function(t,i,a,o){return n(t,e.append(r(t),{kind:i,pos:-1,end:-1,hasTrailingNewLine:o,text:a}))},e.getSyntheticTrailingComments=i,e.setSyntheticTrailingComments=a,e.addSyntheticTrailingComment=function(t,r,n,o){return a(t,e.append(i(t),{kind:r,pos:-1,end:-1,hasTrailingNewLine:o,text:n}))},e.moveSyntheticComments=function(e,o){n(e,r(o)),a(e,i(o));var s=t(o);return s.leadingComments=void 0,s.trailingComments=void 0,e},e.getConstantValue=function(e){var t;return null===(t=e.emitNode)||void 0===t?void 0:t.constantValue},e.setConstantValue=function(e,r){return t(e).constantValue=r,e},e.addEmitHelper=function(r,n){var i=t(r);return i.helpers=e.append(i.helpers,n),r},e.addEmitHelpers=function(r,n){if(e.some(n))for(var i=t(r),a=0,o=n;a<o.length;a++){var s=o[a];i.helpers=e.appendIfUnique(i.helpers,s)}return r},e.removeEmitHelper=function(t,r){var n,i=null===(n=t.emitNode)||void 0===n?void 0:n.helpers;return!!i&&e.orderedRemoveItem(i,r)},e.getEmitHelpers=function(e){var t;return null===(t=e.emitNode)||void 0===t?void 0:t.helpers},e.moveEmitHelpers=function(r,n,i){var a=r.emitNode,o=a&&a.helpers;if(e.some(o)){for(var s=t(n),c=0,u=0;u<o.length;u++){var l=o[u];i(l)?(c++,s.helpers=e.appendIfUnique(s.helpers,l)):c>0&&(o[u-c]=l)}c>0&&(o.length-=c)}},e.getSnippetElement=function(e){var t;return null===(t=e.emitNode)||void 0===t?void 0:t.snippetElement},e.setSnippetElement=function(e,r){return t(e).snippetElement=r,e},e.ignoreSourceNewlines=function(e){return t(e).flags|=134217728,e}}(n||(n={})),function(e){function t(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return function(r){for(var n="",i=0;i<t.length;i++)n+=e[i],n+=r(t[i]);return n+e[e.length-1]}}var r;e.createEmitHelperFactory=function(t){var r=t.factory,n=e.memoize((function(){return e.setEmitFlags(r.createTrue(),268435456)})),i=e.memoize((function(){return e.setEmitFlags(r.createFalse(),268435456)}));return{getUnscopedHelperName:o,createDecorateHelper:function(n,i,a,s){t.requestEmitHelper(e.decorateHelper);var c=[];return c.push(r.createArrayLiteralExpression(n,!0)),c.push(i),a&&(c.push(a),s&&c.push(s)),r.createCallExpression(o("__decorate"),void 0,c)},createMetadataHelper:function(n,i){return t.requestEmitHelper(e.metadataHelper),r.createCallExpression(o("__metadata"),void 0,[r.createStringLiteral(n),i])},createParamHelper:function(n,i,a){return t.requestEmitHelper(e.paramHelper),e.setTextRange(r.createCallExpression(o("__param"),void 0,[r.createNumericLiteral(i+""),n]),a)},createAssignHelper:function(n){return e.getEmitScriptTarget(t.getCompilerOptions())>=2?r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("Object"),"assign"),void 0,n):(t.requestEmitHelper(e.assignHelper),r.createCallExpression(o("__assign"),void 0,n))},createAwaitHelper:function(n){return t.requestEmitHelper(e.awaitHelper),r.createCallExpression(o("__await"),void 0,[n])},createAsyncGeneratorHelper:function(n,i){return t.requestEmitHelper(e.awaitHelper),t.requestEmitHelper(e.asyncGeneratorHelper),(n.emitNode||(n.emitNode={})).flags|=786432,r.createCallExpression(o("__asyncGenerator"),void 0,[i?r.createThis():r.createVoidZero(),r.createIdentifier("arguments"),n])},createAsyncDelegatorHelper:function(n){return t.requestEmitHelper(e.awaitHelper),t.requestEmitHelper(e.asyncDelegator),r.createCallExpression(o("__asyncDelegator"),void 0,[n])},createAsyncValuesHelper:function(n){return t.requestEmitHelper(e.asyncValues),r.createCallExpression(o("__asyncValues"),void 0,[n])},createRestHelper:function(n,i,a,s){t.requestEmitHelper(e.restHelper);for(var c=[],u=0,l=0;l<i.length-1;l++){var p=e.getPropertyNameOfBindingOrAssignmentElement(i[l]);if(p)if(e.isComputedPropertyName(p)){e.Debug.assertIsDefined(a,"Encountered computed property name but 'computedTempVariables' argument was not provided.");var d=a[u];u++,c.push(r.createConditionalExpression(r.createTypeCheck(d,"symbol"),void 0,d,void 0,r.createAdd(d,r.createStringLiteral(""))))}else c.push(r.createStringLiteralFromNode(p))}return r.createCallExpression(o("__rest"),void 0,[n,e.setTextRange(r.createArrayLiteralExpression(c),s)])},createAwaiterHelper:function(n,i,a,s){t.requestEmitHelper(e.awaiterHelper);var c=r.createFunctionExpression(void 0,r.createToken(41),void 0,void 0,[],void 0,s);return(c.emitNode||(c.emitNode={})).flags|=786432,r.createCallExpression(o("__awaiter"),void 0,[n?r.createThis():r.createVoidZero(),i?r.createIdentifier("arguments"):r.createVoidZero(),a?e.createExpressionFromEntityName(r,a):r.createVoidZero(),c])},createExtendsHelper:function(n){return t.requestEmitHelper(e.extendsHelper),r.createCallExpression(o("__extends"),void 0,[n,r.createUniqueName("_super",48)])},createTemplateObjectHelper:function(n,i){return t.requestEmitHelper(e.templateObjectHelper),r.createCallExpression(o("__makeTemplateObject"),void 0,[n,i])},createSpreadArrayHelper:function(a,s,c){return t.requestEmitHelper(e.spreadArrayHelper),r.createCallExpression(o("__spreadArray"),void 0,[a,s,c?n():i()])},createValuesHelper:function(n){return t.requestEmitHelper(e.valuesHelper),r.createCallExpression(o("__values"),void 0,[n])},createReadHelper:function(n,i){return t.requestEmitHelper(e.readHelper),r.createCallExpression(o("__read"),void 0,void 0!==i?[n,r.createNumericLiteral(i+"")]:[n])},createGeneratorHelper:function(n){return t.requestEmitHelper(e.generatorHelper),r.createCallExpression(o("__generator"),void 0,[r.createThis(),n])},createCreateBindingHelper:function(n,i,s){return t.requestEmitHelper(e.createBindingHelper),r.createCallExpression(o("__createBinding"),void 0,a([r.createIdentifier("exports"),n,i],s?[s]:[],!0))},createImportStarHelper:function(n){return t.requestEmitHelper(e.importStarHelper),r.createCallExpression(o("__importStar"),void 0,[n])},createImportStarCallbackHelper:function(){return t.requestEmitHelper(e.importStarHelper),o("__importStar")},createImportDefaultHelper:function(n){return t.requestEmitHelper(e.importDefaultHelper),r.createCallExpression(o("__importDefault"),void 0,[n])},createExportStarHelper:function(n,i){return void 0===i&&(i=r.createIdentifier("exports")),t.requestEmitHelper(e.exportStarHelper),t.requestEmitHelper(e.createBindingHelper),r.createCallExpression(o("__exportStar"),void 0,[n,i])},createClassPrivateFieldGetHelper:function(n,i,a,s){var c;return t.requestEmitHelper(e.classPrivateFieldGetHelper),c=s?[n,i,r.createStringLiteral(a),s]:[n,i,r.createStringLiteral(a)],r.createCallExpression(o("__classPrivateFieldGet"),void 0,c)},createClassPrivateFieldSetHelper:function(n,i,a,s,c){var u;return t.requestEmitHelper(e.classPrivateFieldSetHelper),u=c?[n,i,a,r.createStringLiteral(s),c]:[n,i,a,r.createStringLiteral(s)],r.createCallExpression(o("__classPrivateFieldSet"),void 0,u)},createClassPrivateFieldInHelper:function(n,i){return t.requestEmitHelper(e.classPrivateFieldInHelper),r.createCallExpression(o("__classPrivateFieldIn"),void 0,[n,i])}};function o(t){return e.setEmitFlags(r.createIdentifier(t),4098)}},e.compareEmitHelpers=function(t,r){return t===r||t.priority===r.priority?0:void 0===t.priority?1:void 0===r.priority?-1:e.compareValues(t.priority,r.priority)},e.helperString=t,e.decorateHelper={name:"typescript:decorate",importName:"__decorate",scoped:!1,priority:2,text:'\n var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'},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 };"},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.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,dependencies:[e.awaitHelper],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,dependencies:[e.awaitHelper],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 };'},e.restHelper={name:"typescript:rest",importName:"__rest",scoped:!1,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'},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.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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n if (typeof b !== "function" && b !== null)\n throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();'},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 };'},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.spreadArrayHelper={name:"typescript:spreadArray",importName:"__spreadArray",scoped:!1,text:"\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };"},e.valuesHelper={name:"typescript:values",importName:"__values",scoped:!1,text:'\n var __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === "number") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'},e.generatorHelper={name:"typescript:generator",importName:"__generator",scoped:!1,priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'},e.createBindingHelper={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!1,priority:1,text:'\n var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));'},e.setModuleDefaultHelper={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!1,priority:1,text:'\n var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, "default", { enumerable: true, value: v });\n }) : function(o, v) {\n o["default"] = v;\n });'},e.importStarHelper={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[e.createBindingHelper,e.setModuleDefaultHelper],priority:2,text:'\n var __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n };'},e.importDefaultHelper={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:'\n var __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n };'},e.exportStarHelper={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[e.createBindingHelper],priority:2,text:'\n var __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };'},e.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:!1,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");\n return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);\n };'},e.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!1,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === "m") throw new TypeError("Private method is not writable");\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");\n return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n };'},e.classPrivateFieldInHelper={name:"typescript:classPrivateFieldIn",importName:"__classPrivateFieldIn",scoped:!1,text:'\n var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) {\n if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use \'in\' operator on non-object");\n return typeof state === "function" ? receiver === state : state.has(receiver);\n };'},e.getAllUnscopedEmitHelpers=function(){return r||(r=e.arrayToMap([e.decorateHelper,e.metadataHelper,e.paramHelper,e.assignHelper,e.awaitHelper,e.asyncGeneratorHelper,e.asyncDelegator,e.asyncValues,e.restHelper,e.awaiterHelper,e.extendsHelper,e.templateObjectHelper,e.spreadArrayHelper,e.valuesHelper,e.readHelper,e.generatorHelper,e.importStarHelper,e.importDefaultHelper,e.exportStarHelper,e.classPrivateFieldGetHelper,e.classPrivateFieldSetHelper,e.classPrivateFieldInHelper,e.createBindingHelper,e.setModuleDefaultHelper],(function(e){return e.name})))},e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:t(s(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:t(s(["\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")},e.isCallToHelper=function(t,r){return e.isCallExpression(t)&&e.isIdentifier(t.expression)&&0!=(4096&e.getEmitFlags(t.expression))&&t.expression.escapedText===r}}(n||(n={})),function(e){e.isNumericLiteral=function(e){return 8===e.kind},e.isBigIntLiteral=function(e){return 9===e.kind},e.isStringLiteral=function(e){return 10===e.kind},e.isJsxText=function(e){return 11===e.kind},e.isRegularExpressionLiteral=function(e){return 13===e.kind},e.isNoSubstitutionTemplateLiteral=function(e){return 14===e.kind},e.isTemplateHead=function(e){return 15===e.kind},e.isTemplateMiddle=function(e){return 16===e.kind},e.isTemplateTail=function(e){return 17===e.kind},e.isDotDotDotToken=function(e){return 25===e.kind},e.isCommaToken=function(e){return 27===e.kind},e.isPlusToken=function(e){return 39===e.kind},e.isMinusToken=function(e){return 40===e.kind},e.isAsteriskToken=function(e){return 41===e.kind},e.isExclamationToken=function(e){return 53===e.kind},e.isQuestionToken=function(e){return 57===e.kind},e.isColonToken=function(e){return 58===e.kind},e.isQuestionDotToken=function(e){return 28===e.kind},e.isEqualsGreaterThanToken=function(e){return 38===e.kind},e.isIdentifier=function(e){return 79===e.kind},e.isPrivateIdentifier=function(e){return 80===e.kind},e.isExportModifier=function(e){return 93===e.kind},e.isAsyncModifier=function(e){return 131===e.kind},e.isAssertsKeyword=function(e){return 128===e.kind},e.isAwaitKeyword=function(e){return 132===e.kind},e.isReadonlyKeyword=function(e){return 144===e.kind},e.isStaticModifier=function(e){return 124===e.kind},e.isAbstractModifier=function(e){return 126===e.kind},e.isSuperKeyword=function(e){return 106===e.kind},e.isImportKeyword=function(e){return 100===e.kind},e.isQualifiedName=function(e){return 160===e.kind},e.isComputedPropertyName=function(e){return 161===e.kind},e.isTypeParameterDeclaration=function(e){return 162===e.kind},e.isParameter=function(e){return 163===e.kind},e.isDecorator=function(e){return 164===e.kind},e.isPropertySignature=function(e){return 165===e.kind},e.isPropertyDeclaration=function(e){return 166===e.kind},e.isMethodSignature=function(e){return 167===e.kind},e.isMethodDeclaration=function(e){return 168===e.kind},e.isClassStaticBlockDeclaration=function(e){return 169===e.kind},e.isConstructorDeclaration=function(e){return 170===e.kind},e.isGetAccessorDeclaration=function(e){return 171===e.kind},e.isSetAccessorDeclaration=function(e){return 172===e.kind},e.isCallSignatureDeclaration=function(e){return 173===e.kind},e.isConstructSignatureDeclaration=function(e){return 174===e.kind},e.isIndexSignatureDeclaration=function(e){return 175===e.kind},e.isTypePredicateNode=function(e){return 176===e.kind},e.isTypeReferenceNode=function(e){return 177===e.kind},e.isFunctionTypeNode=function(e){return 178===e.kind},e.isConstructorTypeNode=function(e){return 179===e.kind},e.isTypeQueryNode=function(e){return 180===e.kind},e.isTypeLiteralNode=function(e){return 181===e.kind},e.isArrayTypeNode=function(e){return 182===e.kind},e.isTupleTypeNode=function(e){return 183===e.kind},e.isNamedTupleMember=function(e){return 196===e.kind},e.isOptionalTypeNode=function(e){return 184===e.kind},e.isRestTypeNode=function(e){return 185===e.kind},e.isUnionTypeNode=function(e){return 186===e.kind},e.isIntersectionTypeNode=function(e){return 187===e.kind},e.isConditionalTypeNode=function(e){return 188===e.kind},e.isInferTypeNode=function(e){return 189===e.kind},e.isParenthesizedTypeNode=function(e){return 190===e.kind},e.isThisTypeNode=function(e){return 191===e.kind},e.isTypeOperatorNode=function(e){return 192===e.kind},e.isIndexedAccessTypeNode=function(e){return 193===e.kind},e.isMappedTypeNode=function(e){return 194===e.kind},e.isLiteralTypeNode=function(e){return 195===e.kind},e.isImportTypeNode=function(e){return 199===e.kind},e.isTemplateLiteralTypeSpan=function(e){return 198===e.kind},e.isTemplateLiteralTypeNode=function(e){return 197===e.kind},e.isObjectBindingPattern=function(e){return 200===e.kind},e.isArrayBindingPattern=function(e){return 201===e.kind},e.isBindingElement=function(e){return 202===e.kind},e.isArrayLiteralExpression=function(e){return 203===e.kind},e.isObjectLiteralExpression=function(e){return 204===e.kind},e.isPropertyAccessExpression=function(e){return 205===e.kind},e.isElementAccessExpression=function(e){return 206===e.kind},e.isCallExpression=function(e){return 207===e.kind},e.isNewExpression=function(e){return 208===e.kind},e.isTaggedTemplateExpression=function(e){return 209===e.kind},e.isTypeAssertionExpression=function(e){return 210===e.kind},e.isParenthesizedExpression=function(e){return 211===e.kind},e.isFunctionExpression=function(e){return 212===e.kind},e.isArrowFunction=function(e){return 213===e.kind},e.isDeleteExpression=function(e){return 214===e.kind},e.isTypeOfExpression=function(e){return 215===e.kind},e.isVoidExpression=function(e){return 216===e.kind},e.isAwaitExpression=function(e){return 217===e.kind},e.isPrefixUnaryExpression=function(e){return 218===e.kind},e.isPostfixUnaryExpression=function(e){return 219===e.kind},e.isBinaryExpression=function(e){return 220===e.kind},e.isConditionalExpression=function(e){return 221===e.kind},e.isTemplateExpression=function(e){return 222===e.kind},e.isYieldExpression=function(e){return 223===e.kind},e.isSpreadElement=function(e){return 224===e.kind},e.isClassExpression=function(e){return 225===e.kind},e.isOmittedExpression=function(e){return 226===e.kind},e.isExpressionWithTypeArguments=function(e){return 227===e.kind},e.isAsExpression=function(e){return 228===e.kind},e.isNonNullExpression=function(e){return 229===e.kind},e.isMetaProperty=function(e){return 230===e.kind},e.isSyntheticExpression=function(e){return 231===e.kind},e.isPartiallyEmittedExpression=function(e){return 348===e.kind},e.isCommaListExpression=function(e){return 349===e.kind},e.isTemplateSpan=function(e){return 232===e.kind},e.isSemicolonClassElement=function(e){return 233===e.kind},e.isBlock=function(e){return 234===e.kind},e.isVariableStatement=function(e){return 236===e.kind},e.isEmptyStatement=function(e){return 235===e.kind},e.isExpressionStatement=function(e){return 237===e.kind},e.isIfStatement=function(e){return 238===e.kind},e.isDoStatement=function(e){return 239===e.kind},e.isWhileStatement=function(e){return 240===e.kind},e.isForStatement=function(e){return 241===e.kind},e.isForInStatement=function(e){return 242===e.kind},e.isForOfStatement=function(e){return 243===e.kind},e.isContinueStatement=function(e){return 244===e.kind},e.isBreakStatement=function(e){return 245===e.kind},e.isReturnStatement=function(e){return 246===e.kind},e.isWithStatement=function(e){return 247===e.kind},e.isSwitchStatement=function(e){return 248===e.kind},e.isLabeledStatement=function(e){return 249===e.kind},e.isThrowStatement=function(e){return 250===e.kind},e.isTryStatement=function(e){return 251===e.kind},e.isDebuggerStatement=function(e){return 252===e.kind},e.isVariableDeclaration=function(e){return 253===e.kind},e.isVariableDeclarationList=function(e){return 254===e.kind},e.isFunctionDeclaration=function(e){return 255===e.kind},e.isClassDeclaration=function(e){return 256===e.kind},e.isInterfaceDeclaration=function(e){return 257===e.kind},e.isTypeAliasDeclaration=function(e){return 258===e.kind},e.isEnumDeclaration=function(e){return 259===e.kind},e.isModuleDeclaration=function(e){return 260===e.kind},e.isModuleBlock=function(e){return 261===e.kind},e.isCaseBlock=function(e){return 262===e.kind},e.isNamespaceExportDeclaration=function(e){return 263===e.kind},e.isImportEqualsDeclaration=function(e){return 264===e.kind},e.isImportDeclaration=function(e){return 265===e.kind},e.isImportClause=function(e){return 266===e.kind},e.isAssertClause=function(e){return 292===e.kind},e.isAssertEntry=function(e){return 293===e.kind},e.isNamespaceImport=function(e){return 267===e.kind},e.isNamespaceExport=function(e){return 273===e.kind},e.isNamedImports=function(e){return 268===e.kind},e.isImportSpecifier=function(e){return 269===e.kind},e.isExportAssignment=function(e){return 270===e.kind},e.isExportDeclaration=function(e){return 271===e.kind},e.isNamedExports=function(e){return 272===e.kind},e.isExportSpecifier=function(e){return 274===e.kind},e.isMissingDeclaration=function(e){return 275===e.kind},e.isNotEmittedStatement=function(e){return 347===e.kind},e.isSyntheticReference=function(e){return 352===e.kind},e.isMergeDeclarationMarker=function(e){return 350===e.kind},e.isEndOfDeclarationMarker=function(e){return 351===e.kind},e.isExternalModuleReference=function(e){return 276===e.kind},e.isJsxElement=function(e){return 277===e.kind},e.isJsxSelfClosingElement=function(e){return 278===e.kind},e.isJsxOpeningElement=function(e){return 279===e.kind},e.isJsxClosingElement=function(e){return 280===e.kind},e.isJsxFragment=function(e){return 281===e.kind},e.isJsxOpeningFragment=function(e){return 282===e.kind},e.isJsxClosingFragment=function(e){return 283===e.kind},e.isJsxAttribute=function(e){return 284===e.kind},e.isJsxAttributes=function(e){return 285===e.kind},e.isJsxSpreadAttribute=function(e){return 286===e.kind},e.isJsxExpression=function(e){return 287===e.kind},e.isCaseClause=function(e){return 288===e.kind},e.isDefaultClause=function(e){return 289===e.kind},e.isHeritageClause=function(e){return 290===e.kind},e.isCatchClause=function(e){return 291===e.kind},e.isPropertyAssignment=function(e){return 294===e.kind},e.isShorthandPropertyAssignment=function(e){return 295===e.kind},e.isSpreadAssignment=function(e){return 296===e.kind},e.isEnumMember=function(e){return 297===e.kind},e.isUnparsedPrepend=function(e){return 299===e.kind},e.isSourceFile=function(e){return 303===e.kind},e.isBundle=function(e){return 304===e.kind},e.isUnparsedSource=function(e){return 305===e.kind},e.isJSDocTypeExpression=function(e){return 307===e.kind},e.isJSDocNameReference=function(e){return 308===e.kind},e.isJSDocMemberName=function(e){return 309===e.kind},e.isJSDocLink=function(e){return 322===e.kind},e.isJSDocLinkCode=function(e){return 323===e.kind},e.isJSDocLinkPlain=function(e){return 324===e.kind},e.isJSDocAllType=function(e){return 310===e.kind},e.isJSDocUnknownType=function(e){return 311===e.kind},e.isJSDocNullableType=function(e){return 312===e.kind},e.isJSDocNonNullableType=function(e){return 313===e.kind},e.isJSDocOptionalType=function(e){return 314===e.kind},e.isJSDocFunctionType=function(e){return 315===e.kind},e.isJSDocVariadicType=function(e){return 316===e.kind},e.isJSDocNamepathType=function(e){return 317===e.kind},e.isJSDoc=function(e){return 318===e.kind},e.isJSDocTypeLiteral=function(e){return 320===e.kind},e.isJSDocSignature=function(e){return 321===e.kind},e.isJSDocAugmentsTag=function(e){return 326===e.kind},e.isJSDocAuthorTag=function(e){return 328===e.kind},e.isJSDocClassTag=function(e){return 330===e.kind},e.isJSDocCallbackTag=function(e){return 336===e.kind},e.isJSDocPublicTag=function(e){return 331===e.kind},e.isJSDocPrivateTag=function(e){return 332===e.kind},e.isJSDocProtectedTag=function(e){return 333===e.kind},e.isJSDocReadonlyTag=function(e){return 334===e.kind},e.isJSDocOverrideTag=function(e){return 335===e.kind},e.isJSDocDeprecatedTag=function(e){return 329===e.kind},e.isJSDocSeeTag=function(e){return 344===e.kind},e.isJSDocEnumTag=function(e){return 337===e.kind},e.isJSDocParameterTag=function(e){return 338===e.kind},e.isJSDocReturnTag=function(e){return 339===e.kind},e.isJSDocThisTag=function(e){return 340===e.kind},e.isJSDocTypeTag=function(e){return 341===e.kind},e.isJSDocTemplateTag=function(e){return 342===e.kind},e.isJSDocTypedefTag=function(e){return 343===e.kind},e.isJSDocUnknownTag=function(e){return 325===e.kind},e.isJSDocPropertyTag=function(e){return 345===e.kind},e.isJSDocImplementsTag=function(e){return 327===e.kind},e.isSyntaxList=function(e){return 346===e.kind}}(n||(n={})),function(e){function t(t,r,n,i){if(e.isComputedPropertyName(n))return e.setTextRange(t.createElementAccessExpression(r,n.expression),i);var a=e.setTextRange(e.isMemberName(n)?t.createPropertyAccessExpression(r,n):t.createElementAccessExpression(r,n),n);return e.getOrCreateEmitNode(a).flags|=64,a}function r(t,r){var n=e.parseNodeFactory.createIdentifier(t||"React");return e.setParent(n,e.getParseTreeNode(r)),n}function n(t,i,a){if(e.isQualifiedName(i)){var o=n(t,i.left,a),s=t.createIdentifier(e.idText(i.right));return s.escapedText=i.right.escapedText,t.createPropertyAccessExpression(o,s)}return r(e.idText(i),a)}function i(e,t,i,a){return t?n(e,t,a):e.createPropertyAccessExpression(r(i,a),"createElement")}function o(e,t,i,a){return t?n(e,t,a):e.createPropertyAccessExpression(r(i,a),"Fragment")}function s(t,r){return e.isIdentifier(r)?t.createStringLiteralFromNode(r):e.isComputedPropertyName(r)?e.setParent(e.setTextRange(t.cloneNode(r.expression),r.expression),r.expression.parent):e.setParent(e.setTextRange(t.cloneNode(r),r),r.parent)}function c(t){return e.isStringLiteral(t.expression)&&"use strict"===t.expression.text}function u(t){return e.isParenthesizedExpression(t)&&e.isInJSFile(t)&&!!e.getJSDocTypeTag(t)}function l(e,t){switch(void 0===t&&(t=15),e.kind){case 211:return!(16&t&&u(e))&&0!=(1&t);case 210:case 228:return 0!=(2&t);case 229:return 0!=(4&t);case 348:return 0!=(8&t)}return!1}function p(e,t){for(void 0===t&&(t=15);l(e,t);)e=e.expression;return e}function d(t){return e.setStartsOnNewLine(t,!0)}function f(t){var r=e.getOriginalNode(t,e.isSourceFile),n=r&&r.emitNode;return n&&n.externalHelpersModuleName}function _(t,r,n,i,a){if(n.importHelpers&&e.isEffectiveExternalModule(r,n)){var o=f(r);if(o)return o;var s=e.getEmitModuleKind(n),c=(i||e.getESModuleInterop(n)&&a)&&s!==e.ModuleKind.System&&(s<e.ModuleKind.ES2015||r.impliedNodeFormat===e.ModuleKind.CommonJS);if(!c){var u=e.getEmitHelpers(r);if(u)for(var l=0,p=u;l<p.length;l++)if(!p[l].scoped){c=!0;break}}if(c){var d=e.getOriginalNode(r,e.isSourceFile),_=e.getOrCreateEmitNode(d);return _.externalHelpersModuleName||(_.externalHelpersModuleName=t.createUniqueName(e.externalHelpersModuleNameText))}}}function m(t,r,n,i){if(r){if(r.moduleName)return t.createStringLiteral(r.moduleName);if(!r.isDeclarationFile&&e.outFile(i))return t.createStringLiteral(e.getExternalModuleNameFromPath(n,r.fileName))}}function g(t){if(e.isDeclarationBindingElement(t))return t.name;if(!e.isObjectLiteralElementLike(t))return e.isAssignmentExpression(t,!0)?g(t.left):e.isSpreadElement(t)?g(t.expression):t;switch(t.kind){case 294:return g(t.initializer);case 295:return t.name;case 296:return g(t.expression)}}function h(t){switch(t.kind){case 202:if(t.propertyName){var r=t.propertyName;return e.isPrivateIdentifier(r)?e.Debug.failBadSyntaxKind(r):e.isComputedPropertyName(r)&&y(r.expression)?r.expression:r}break;case 294:if(t.name)return r=t.name,e.isPrivateIdentifier(r)?e.Debug.failBadSyntaxKind(r):e.isComputedPropertyName(r)&&y(r.expression)?r.expression:r;break;case 296:return t.name&&e.isPrivateIdentifier(t.name)?e.Debug.failBadSyntaxKind(t.name):t.name}var n=g(t);if(n&&e.isPropertyName(n))return n}function y(e){var t=e.kind;return 10===t||8===t}function v(t){return function(t){return 60===t||function(e){return function(e){return 55===e||56===e}(e)||function(e){return function(e){return 50===e||51===e||52===e}(e)||function(e){return function(e){return 34===e||36===e||35===e||37===e}(e)||function(e){return function(e){return 29===e||32===e||31===e||33===e||102===e||101===e}(e)||function(e){return function(e){return 47===e||48===e||49===e}(e)||function(e){return function(e){return 39===e||40===e}(e)||function(e){return function(e){return 42===e}(e)||function(e){return 41===e||43===e||44===e}(e)}(e)}(e)}(e)}(e)}(e)}(e)}(t)||e.isAssignmentOperator(t)}(t)||27===t}var D;e.createEmptyExports=function(e){return e.createExportDeclaration(void 0,void 0,!1,e.createNamedExports([]),void 0)},e.createMemberAccessForPropertyName=t,e.createJsxFactoryExpression=i,e.createExpressionForJsxElement=function(t,r,n,i,a,o){var s=[n];if(i&&s.push(i),a&&a.length>0)if(i||s.push(t.createNull()),a.length>1)for(var c=0,u=a;c<u.length;c++){var l=u[c];d(l),s.push(l)}else s.push(a[0]);return e.setTextRange(t.createCallExpression(r,void 0,s),o)},e.createExpressionForJsxFragment=function(t,r,n,a,s,c,u){var l=[o(t,n,a,c),t.createNull()];if(s&&s.length>0)if(s.length>1)for(var p=0,f=s;p<f.length;p++){var _=f[p];d(_),l.push(_)}else l.push(s[0]);return e.setTextRange(t.createCallExpression(i(t,r,a,c),void 0,l),u)},e.createForOfBindingStatement=function(t,r,n){if(e.isVariableDeclarationList(r)){var i=e.first(r.declarations),a=t.updateVariableDeclaration(i,i.name,void 0,void 0,n);return e.setTextRange(t.createVariableStatement(void 0,t.updateVariableDeclarationList(r,[a])),r)}var o=e.setTextRange(t.createAssignment(r,n),r);return e.setTextRange(t.createExpressionStatement(o),r)},e.insertLeadingStatement=function(t,r,n){return e.isBlock(r)?t.updateBlock(r,e.setTextRange(t.createNodeArray(a([n],r.statements,!0)),r.statements)):t.createBlock(t.createNodeArray([r,n]),!0)},e.createExpressionFromEntityName=function t(r,n){if(e.isQualifiedName(n)){var i=t(r,n.left),a=e.setParent(e.setTextRange(r.cloneNode(n.right),n.right),n.right.parent);return e.setTextRange(r.createPropertyAccessExpression(i,a),n)}return e.setParent(e.setTextRange(r.cloneNode(n),n),n.parent)},e.createExpressionForPropertyName=s,e.createExpressionForObjectLiteralElementLike=function(r,n,i,a){switch(i.name&&e.isPrivateIdentifier(i.name)&&e.Debug.failBadSyntaxKind(i.name,"Private identifiers are not allowed in object literals."),i.kind){case 171:case 172:return function(t,r,n,i,a){var o=e.getAllAccessorDeclarations(r,n),c=o.firstAccessor,u=o.getAccessor,l=o.setAccessor;if(n===c)return e.setTextRange(t.createObjectDefinePropertyCall(i,s(t,n.name),t.createPropertyDescriptor({enumerable:t.createFalse(),configurable:!0,get:u&&e.setTextRange(e.setOriginalNode(t.createFunctionExpression(u.modifiers,void 0,void 0,void 0,u.parameters,void 0,u.body),u),u),set:l&&e.setTextRange(e.setOriginalNode(t.createFunctionExpression(l.modifiers,void 0,void 0,void 0,l.parameters,void 0,l.body),l),l)},!a)),c)}(r,n.properties,i,a,!!n.multiLine);case 294:return function(r,n,i){return e.setOriginalNode(e.setTextRange(r.createAssignment(t(r,i,n.name,n.name),n.initializer),n),n)}(r,i,a);case 295:return function(r,n,i){return e.setOriginalNode(e.setTextRange(r.createAssignment(t(r,i,n.name,n.name),r.cloneNode(n.name)),n),n)}(r,i,a);case 168:return function(r,n,i){return e.setOriginalNode(e.setTextRange(r.createAssignment(t(r,i,n.name,n.name),e.setOriginalNode(e.setTextRange(r.createFunctionExpression(n.modifiers,n.asteriskToken,void 0,void 0,n.parameters,void 0,n.body),n),n)),n),n)}(r,i,a)}},e.expandPreOrPostfixIncrementOrDecrementExpression=function(t,r,n,i,a){var o=r.operator;e.Debug.assert(45===o||46===o,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");var s=t.createTempVariable(i);n=t.createAssignment(s,n),e.setTextRange(n,r.operand);var c=e.isPrefixUnaryExpression(r)?t.createPrefixUnaryExpression(o,s):t.createPostfixUnaryExpression(s,o);return e.setTextRange(c,r),a&&(c=t.createAssignment(a,c),e.setTextRange(c,r)),n=t.createComma(n,c),e.setTextRange(n,r),e.isPostfixUnaryExpression(r)&&(n=t.createComma(n,s),e.setTextRange(n,r)),n},e.isInternalName=function(t){return 0!=(32768&e.getEmitFlags(t))},e.isLocalName=function(t){return 0!=(16384&e.getEmitFlags(t))},e.isExportName=function(t){return 0!=(8192&e.getEmitFlags(t))},e.findUseStrictPrologue=function(t){for(var r=0,n=t;r<n.length;r++){var i=n[r];if(!e.isPrologueDirective(i))break;if(c(i))return i}},e.startsWithUseStrict=function(t){var r=e.firstOrUndefined(t);return void 0!==r&&e.isPrologueDirective(r)&&c(r)},e.isCommaSequence=function(e){return 220===e.kind&&27===e.operatorToken.kind||349===e.kind},e.isJSDocTypeAssertion=u,e.getJSDocTypeAssertionType=function(t){var r=e.getJSDocType(t);return e.Debug.assertIsDefined(r),r},e.isOuterExpression=l,e.skipOuterExpressions=p,e.skipAssertions=function(e){return p(e,6)},e.startOnNewLine=d,e.getExternalHelpersModuleName=f,e.hasRecordedExternalHelpers=function(t){var r=e.getOriginalNode(t,e.isSourceFile),n=r&&r.emitNode;return!(!n||!n.externalHelpersModuleName&&!n.externalHelpers)},e.createExternalHelpersImportDeclarationIfNeeded=function(t,r,n,i,a,o,s){if(i.importHelpers&&e.isEffectiveExternalModule(n,i)){var c=void 0,u=e.getEmitModuleKind(i);if(u>=e.ModuleKind.ES2015&&u<=e.ModuleKind.ESNext||n.impliedNodeFormat===e.ModuleKind.ESNext){var l=e.getEmitHelpers(n);if(l){for(var p=[],d=0,f=l;d<f.length;d++){var m=f[d];if(!m.scoped){var g=m.importName;g&&e.pushIfUnique(p,g)}}if(e.some(p)){p.sort(e.compareStringsCaseSensitive),c=t.createNamedImports(e.map(p,(function(i){return e.isFileLevelUniqueName(n,i)?t.createImportSpecifier(!1,void 0,t.createIdentifier(i)):t.createImportSpecifier(!1,t.createIdentifier(i),r.getUnscopedHelperName(i))})));var h=e.getOriginalNode(n,e.isSourceFile);e.getOrCreateEmitNode(h).externalHelpers=!0}}}else{var y=_(t,n,i,a,o||s);y&&(c=t.createNamespaceImport(y))}if(c){var v=t.createImportDeclaration(void 0,void 0,t.createImportClause(!1,void 0,c),t.createStringLiteral(e.externalHelpersModuleNameText),void 0);return e.addEmitFlags(v,67108864),v}}},e.getOrCreateExternalHelpersModuleNameIfNeeded=_,e.getLocalNameForExternalImport=function(t,r,n){var i=e.getNamespaceDeclarationNode(r);if(i&&!e.isDefaultImport(r)&&!e.isExportNamespaceAsDefaultDeclaration(r)){var a=i.name;return e.isGeneratedIdentifier(a)?a:t.createIdentifier(e.getSourceTextOfNodeFromSourceFile(n,a)||e.idText(a))}if(265===r.kind&&r.importClause||271===r.kind&&r.moduleSpecifier)return t.getGeneratedNameForNode(r)},e.getExternalModuleNameLiteral=function(t,r,n,i,a,o){var s=e.getExternalModuleName(r);if(s&&e.isStringLiteral(s))return function(e,t,r,n,i){return m(r,n.getExternalModuleFileFromDeclaration(e),t,i)}(r,i,t,a,o)||function(e,t,r){var n=r.renamedDependencies&&r.renamedDependencies.get(t.text);return n?e.createStringLiteral(n):void 0}(t,s,n)||t.cloneNode(s)},e.tryGetModuleNameFromFile=m,e.getInitializerOfBindingOrAssignmentElement=function t(r){if(e.isDeclarationBindingElement(r))return r.initializer;if(e.isPropertyAssignment(r)){var n=r.initializer;return e.isAssignmentExpression(n,!0)?n.right:void 0}return e.isShorthandPropertyAssignment(r)?r.objectAssignmentInitializer:e.isAssignmentExpression(r,!0)?r.right:e.isSpreadElement(r)?t(r.expression):void 0},e.getTargetOfBindingOrAssignmentElement=g,e.getRestIndicatorOfBindingOrAssignmentElement=function(e){switch(e.kind){case 163:case 202:return e.dotDotDotToken;case 224:case 296:return e}},e.getPropertyNameOfBindingOrAssignmentElement=function(t){var r=h(t);return e.Debug.assert(!!r||e.isSpreadAssignment(t),"Invalid property name for binding element."),r},e.tryGetPropertyNameOfBindingOrAssignmentElement=h,e.getElementsOfBindingOrAssignmentPattern=function(e){switch(e.kind){case 200:case 201:case 203:return e.elements;case 204:return e.properties}},e.getJSDocTypeAliasName=function(t){if(t)for(var r=t;;){if(e.isIdentifier(r)||!r.body)return e.isIdentifier(r)?r:r.name;r=r.body}},e.canHaveModifiers=function(e){var t=e.kind;return 163===t||165===t||166===t||167===t||168===t||170===t||171===t||172===t||175===t||212===t||213===t||225===t||236===t||255===t||256===t||257===t||258===t||259===t||260===t||264===t||265===t||270===t||271===t},e.isTypeNodeOrTypeParameterDeclaration=e.or(e.isTypeNode,e.isTypeParameterDeclaration),e.isQuestionOrExclamationToken=e.or(e.isQuestionToken,e.isExclamationToken),e.isIdentifierOrThisTypeNode=e.or(e.isIdentifier,e.isThisTypeNode),e.isReadonlyKeywordOrPlusOrMinusToken=e.or(e.isReadonlyKeyword,e.isPlusToken,e.isMinusToken),e.isQuestionOrPlusOrMinusToken=e.or(e.isQuestionToken,e.isPlusToken,e.isMinusToken),e.isModuleName=e.or(e.isIdentifier,e.isStringLiteral),e.isLiteralTypeLikeExpression=function(t){var r=t.kind;return 104===r||110===r||95===r||e.isLiteralExpression(t)||e.isPrefixUnaryExpression(t)},e.isBinaryOperatorToken=function(e){return v(e.kind)},function(t){function r(t,n,i,a,o,s,u){var l=n>0?o[n-1]:void 0;return e.Debug.assertEqual(i[n],r),o[n]=t.onEnter(a[n],l,u),i[n]=c(t,r),n}function n(t,r,i,a,o,s,p){e.Debug.assertEqual(i[r],n),e.Debug.assertIsDefined(t.onLeft),i[r]=c(t,n);var d=t.onLeft(a[r].left,o[r],a[r]);return d?(l(r,a,d),u(r,i,a,o,d)):r}function i(t,r,n,a,o,s,u){return e.Debug.assertEqual(n[r],i),e.Debug.assertIsDefined(t.onOperator),n[r]=c(t,i),t.onOperator(a[r].operatorToken,o[r],a[r]),r}function a(t,r,n,i,o,s,p){e.Debug.assertEqual(n[r],a),e.Debug.assertIsDefined(t.onRight),n[r]=c(t,a);var d=t.onRight(i[r].right,o[r],i[r]);return d?(l(r,i,d),u(r,n,i,o,d)):r}function o(t,r,n,i,a,s,u){e.Debug.assertEqual(n[r],o),n[r]=c(t,o);var l=t.onExit(i[r],a[r]);if(r>0){if(r--,t.foldState){var p=n[r]===o?"right":"left";a[r]=t.foldState(a[r],l,p)}}else s.value=l;return r}function s(t,r,n,i,a,o,c){return e.Debug.assertEqual(n[r],s),r}function c(t,c){switch(c){case r:if(t.onLeft)return n;case n:if(t.onOperator)return i;case i:if(t.onRight)return a;case a:return o;case o:case s:return s;default:e.Debug.fail("Invalid state")}}function u(e,t,n,i,a){return t[++e]=r,n[e]=a,i[e]=void 0,e}function l(t,r,n){if(e.Debug.shouldAssert(2))for(;t>=0;)e.Debug.assert(r[t]!==n,"Circular traversal detected."),t--}t.enter=r,t.left=n,t.operator=i,t.right=a,t.exit=o,t.done=s,t.nextState=c}(D||(D={}));var b=function(e,t,r,n,i,a){this.onEnter=e,this.onLeft=t,this.onOperator=r,this.onRight=n,this.onExit=i,this.foldState=a};e.createBinaryExpressionTrampoline=function(t,r,n,i,a,o){var s=new b(t,r,n,i,a,o);return function(t,r){for(var n={value:void 0},i=[D.enter],a=[t],o=[void 0],c=0;i[c]!==D.done;)c=i[c](s,c,i,a,o,n,r);return e.Debug.assertEqual(c,0),n.value}}}(n||(n={})),function(e){e.setTextRange=function(t,r){return r?e.setTextRangePosEnd(t,r.pos,r.end):t}}(n||(n={})),function(e){var t,r,n,i,o,s,c,u,l,p;function d(e,t){return t&&e(t)}function f(e,t,r){if(r){if(t)return t(r);for(var n=0,i=r;n<i.length;n++){var a=e(i[n]);if(a)return a}}}function _(e,t){return 42===e.charCodeAt(t+1)&&42===e.charCodeAt(t+2)&&47!==e.charCodeAt(t+3)}function m(t,r,n){if(t&&!(t.kind<=159))switch(t.kind){case 160:case 309:return d(r,t.left)||d(r,t.right);case 162:return d(r,t.name)||d(r,t.constraint)||d(r,t.default)||d(r,t.expression);case 295:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.name)||d(r,t.questionToken)||d(r,t.exclamationToken)||d(r,t.equalsToken)||d(r,t.objectAssignmentInitializer);case 296:case 211:case 214:case 215:case 216:case 217:case 229:case 224:case 237:case 246:case 250:case 164:case 161:case 276:case 286:case 348:return d(r,t.expression);case 163:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.dotDotDotToken)||d(r,t.name)||d(r,t.questionToken)||d(r,t.type)||d(r,t.initializer);case 166:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.name)||d(r,t.questionToken)||d(r,t.exclamationToken)||d(r,t.type)||d(r,t.initializer);case 165:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.name)||d(r,t.questionToken)||d(r,t.type)||d(r,t.initializer);case 294:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.name)||d(r,t.questionToken)||d(r,t.initializer);case 253:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.name)||d(r,t.exclamationToken)||d(r,t.type)||d(r,t.initializer);case 202:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.dotDotDotToken)||d(r,t.propertyName)||d(r,t.name)||d(r,t.initializer);case 178:case 179:case 173:case 174:case 175:return f(r,n,t.decorators)||f(r,n,t.modifiers)||f(r,n,t.typeParameters)||f(r,n,t.parameters)||d(r,t.type);case 168:case 167:case 170:case 171:case 172:case 212:case 255:case 213:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.asteriskToken)||d(r,t.name)||d(r,t.questionToken)||d(r,t.exclamationToken)||f(r,n,t.typeParameters)||f(r,n,t.parameters)||d(r,t.type)||d(r,t.equalsGreaterThanToken)||d(r,t.body);case 169:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.body);case 177:return d(r,t.typeName)||f(r,n,t.typeArguments);case 176:return d(r,t.assertsModifier)||d(r,t.parameterName)||d(r,t.type);case 180:return d(r,t.exprName);case 181:return f(r,n,t.members);case 182:return d(r,t.elementType);case 183:case 200:case 201:case 203:case 292:case 268:case 272:case 349:return f(r,n,t.elements);case 186:case 187:case 290:return f(r,n,t.types);case 188:return d(r,t.checkType)||d(r,t.extendsType)||d(r,t.trueType)||d(r,t.falseType);case 189:return d(r,t.typeParameter);case 199:return d(r,t.argument)||d(r,t.qualifier)||f(r,n,t.typeArguments);case 190:case 192:case 184:case 185:case 307:case 313:case 312:case 314:case 316:return d(r,t.type);case 193:return d(r,t.objectType)||d(r,t.indexType);case 194:return d(r,t.readonlyToken)||d(r,t.typeParameter)||d(r,t.nameType)||d(r,t.questionToken)||d(r,t.type)||f(r,n,t.members);case 195:return d(r,t.literal);case 196:return d(r,t.dotDotDotToken)||d(r,t.name)||d(r,t.questionToken)||d(r,t.type);case 204:case 285:return f(r,n,t.properties);case 205:return d(r,t.expression)||d(r,t.questionDotToken)||d(r,t.name);case 206:return d(r,t.expression)||d(r,t.questionDotToken)||d(r,t.argumentExpression);case 207:case 208:return d(r,t.expression)||d(r,t.questionDotToken)||f(r,n,t.typeArguments)||f(r,n,t.arguments);case 209:return d(r,t.tag)||d(r,t.questionDotToken)||f(r,n,t.typeArguments)||d(r,t.template);case 210:return d(r,t.type)||d(r,t.expression);case 218:case 219:return d(r,t.operand);case 223:return d(r,t.asteriskToken)||d(r,t.expression);case 220:return d(r,t.left)||d(r,t.operatorToken)||d(r,t.right);case 228:return d(r,t.expression)||d(r,t.type);case 230:case 263:case 267:case 273:case 308:case 322:case 323:case 324:return d(r,t.name);case 221:return d(r,t.condition)||d(r,t.questionToken)||d(r,t.whenTrue)||d(r,t.colonToken)||d(r,t.whenFalse);case 234:case 261:case 289:return f(r,n,t.statements);case 303:return f(r,n,t.statements)||d(r,t.endOfFileToken);case 236:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.declarationList);case 254:return f(r,n,t.declarations);case 238:return d(r,t.expression)||d(r,t.thenStatement)||d(r,t.elseStatement);case 239:return d(r,t.statement)||d(r,t.expression);case 240:case 247:return d(r,t.expression)||d(r,t.statement);case 241:return d(r,t.initializer)||d(r,t.condition)||d(r,t.incrementor)||d(r,t.statement);case 242:return d(r,t.initializer)||d(r,t.expression)||d(r,t.statement);case 243:return d(r,t.awaitModifier)||d(r,t.initializer)||d(r,t.expression)||d(r,t.statement);case 244:case 245:return d(r,t.label);case 248:return d(r,t.expression)||d(r,t.caseBlock);case 262:return f(r,n,t.clauses);case 288:return d(r,t.expression)||f(r,n,t.statements);case 249:return d(r,t.label)||d(r,t.statement);case 251:return d(r,t.tryBlock)||d(r,t.catchClause)||d(r,t.finallyBlock);case 291:return d(r,t.variableDeclaration)||d(r,t.block);case 256:case 225:case 257:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.name)||f(r,n,t.typeParameters)||f(r,n,t.heritageClauses)||f(r,n,t.members);case 258:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.name)||f(r,n,t.typeParameters)||d(r,t.type);case 259:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.name)||f(r,n,t.members);case 297:case 284:return d(r,t.name)||d(r,t.initializer);case 260:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.name)||d(r,t.body);case 264:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.name)||d(r,t.moduleReference);case 265:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.importClause)||d(r,t.moduleSpecifier)||d(r,t.assertClause);case 266:return d(r,t.name)||d(r,t.namedBindings);case 293:return d(r,t.name)||d(r,t.value);case 271:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.exportClause)||d(r,t.moduleSpecifier)||d(r,t.assertClause);case 269:case 274:return d(r,t.propertyName)||d(r,t.name);case 270:return f(r,n,t.decorators)||f(r,n,t.modifiers)||d(r,t.expression);case 222:case 197:return d(r,t.head)||f(r,n,t.templateSpans);case 232:return d(r,t.expression)||d(r,t.literal);case 198:return d(r,t.type)||d(r,t.literal);case 227:return d(r,t.expression)||f(r,n,t.typeArguments);case 275:return f(r,n,t.decorators);case 277:return d(r,t.openingElement)||f(r,n,t.children)||d(r,t.closingElement);case 281:return d(r,t.openingFragment)||f(r,n,t.children)||d(r,t.closingFragment);case 278:case 279:return d(r,t.tagName)||f(r,n,t.typeArguments)||d(r,t.attributes);case 287:return d(r,t.dotDotDotToken)||d(r,t.expression);case 280:return d(r,t.tagName);case 315:return f(r,n,t.parameters)||d(r,t.type);case 318:return("string"==typeof t.comment?void 0:f(r,n,t.comment))||f(r,n,t.tags);case 344:return d(r,t.tagName)||d(r,t.name)||("string"==typeof t.comment?void 0:f(r,n,t.comment));case 338:case 345:return d(r,t.tagName)||(t.isNameFirst?d(r,t.name)||d(r,t.typeExpression)||("string"==typeof t.comment?void 0:f(r,n,t.comment)):d(r,t.typeExpression)||d(r,t.name)||("string"==typeof t.comment?void 0:f(r,n,t.comment)));case 328:case 325:case 330:case 331:case 332:case 333:case 334:case 329:return d(r,t.tagName)||("string"==typeof t.comment?void 0:f(r,n,t.comment));case 327:case 326:return d(r,t.tagName)||d(r,t.class)||("string"==typeof t.comment?void 0:f(r,n,t.comment));case 342:return d(r,t.tagName)||d(r,t.constraint)||f(r,n,t.typeParameters)||("string"==typeof t.comment?void 0:f(r,n,t.comment));case 343:return d(r,t.tagName)||(t.typeExpression&&307===t.typeExpression.kind?d(r,t.typeExpression)||d(r,t.fullName)||("string"==typeof t.comment?void 0:f(r,n,t.comment)):d(r,t.fullName)||d(r,t.typeExpression)||("string"==typeof t.comment?void 0:f(r,n,t.comment)));case 336:return d(r,t.tagName)||d(r,t.fullName)||d(r,t.typeExpression)||("string"==typeof t.comment?void 0:f(r,n,t.comment));case 339:case 341:case 340:case 337:return d(r,t.tagName)||d(r,t.typeExpression)||("string"==typeof t.comment?void 0:f(r,n,t.comment));case 321:return e.forEach(t.typeParameters,r)||e.forEach(t.parameters,r)||d(r,t.type);case 320:return e.forEach(t.jsDocPropertyTags,r)}}function g(e){var t=[];return m(e,r,r),t;function r(e){t.unshift(e)}}function h(e){return void 0!==e.externalModuleIndicator}function y(t){return e.fileExtensionIsOneOf(t,[".d.ts",".d.mts",".d.cts"])}function v(t,r){for(var n=[],i=0,a=e.getLeadingCommentRanges(r,0)||e.emptyArray;i<a.length;i++){var o=a[i];C(n,o,r.substring(o.pos,o.end))}t.pragmas=new e.Map;for(var s=0,c=n;s<c.length;s++){var u=c[s];if(t.pragmas.has(u.name)){var l=t.pragmas.get(u.name);l instanceof Array?l.push(u.args):t.pragmas.set(u.name,[l,u.args])}else t.pragmas.set(u.name,u.args)}}function D(t,r){t.checkJsDirective=void 0,t.referencedFiles=[],t.typeReferenceDirectives=[],t.libReferenceDirectives=[],t.amdDependencies=[],t.hasNoDefaultLib=!1,t.pragmas.forEach((function(n,i){switch(i){case"reference":var a=t.referencedFiles,o=t.typeReferenceDirectives,s=t.libReferenceDirectives;e.forEach(e.toArray(n),(function(n){var i=n.arguments,c=i.types,u=i.lib,l=i.path;n.arguments["no-default-lib"]?t.hasNoDefaultLib=!0:c?o.push({pos:c.pos,end:c.end,fileName:c.value}):u?s.push({pos:u.pos,end:u.end,fileName:u.value}):l?a.push({pos:l.pos,end:l.end,fileName:l.value}):r(n.range.pos,n.range.end-n.range.pos,e.Diagnostics.Invalid_reference_directive_syntax)}));break;case"amd-dependency":t.amdDependencies=e.map(e.toArray(n),(function(e){return{name:e.arguments.name,path:e.arguments.path}}));break;case"amd-module":if(n instanceof Array)for(var c=0,u=n;c<u.length;c++){var l=u[c];t.moduleName&&r(l.range.pos,l.range.end-l.range.pos,e.Diagnostics.An_AMD_module_cannot_have_multiple_name_assignments),t.moduleName=l.arguments.name}else t.moduleName=n.arguments.name;break;case"ts-nocheck":case"ts-check":e.forEach(e.toArray(n),(function(e){(!t.checkJsDirective||e.range.pos>t.checkJsDirective.pos)&&(t.checkJsDirective={enabled:"ts-check"===i,end:e.range.end,pos:e.range.pos})}));break;case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:e.Debug.fail("Unhandled pragma kind")}}))}(r=t||(t={}))[r.None=0]="None",r[r.Yield=1]="Yield",r[r.Await=2]="Await",r[r.Type=4]="Type",r[r.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",r[r.JSDoc=32]="JSDoc",function(e){e[e.TryParse=0]="TryParse",e[e.Lookahead=1]="Lookahead",e[e.Reparse=2]="Reparse"}(n||(n={})),e.parseBaseNodeFactory={createBaseSourceFileNode:function(t){return new(u||(u=e.objectAllocator.getSourceFileConstructor()))(t,-1,-1)},createBaseIdentifierNode:function(t){return new(s||(s=e.objectAllocator.getIdentifierConstructor()))(t,-1,-1)},createBasePrivateIdentifierNode:function(t){return new(c||(c=e.objectAllocator.getPrivateIdentifierConstructor()))(t,-1,-1)},createBaseTokenNode:function(t){return new(o||(o=e.objectAllocator.getTokenConstructor()))(t,-1,-1)},createBaseNode:function(t){return new(i||(i=e.objectAllocator.getNodeConstructor()))(t,-1,-1)}},e.parseNodeFactory=e.createNodeFactory(1,e.parseBaseNodeFactory),e.isJSDocLikeText=_,e.forEachChild=m,e.forEachChildRecursively=function(t,r,n){for(var i=g(t),a=[];a.length<i.length;)a.push(t);for(;0!==i.length;){var o=i.pop(),s=a.pop();if(e.isArray(o)){if(n&&(u=n(o,s))){if("skip"===u)continue;return u}for(var c=o.length-1;c>=0;--c)i.push(o[c]),a.push(s)}else{var u;if(u=r(o,s)){if("skip"===u)continue;return u}if(o.kind>=160)for(var l=0,p=g(o);l<p.length;l++){var d=p[l];i.push(d),a.push(o)}}}},e.createSourceFile=function(t,r,n,i,a){var o;return void 0===i&&(i=!1),null===e.tracing||void 0===e.tracing||e.tracing.push("parse","createSourceFile",{path:t},!0),e.performance.mark("beforeParse"),e.perfLogger.logStartParseSourceFile(t),o=100===n?l.parseSourceFile(t,r,n,void 0,i,6):l.parseSourceFile(t,r,n,void 0,i,a),e.perfLogger.logStopParseSourceFile(),e.performance.mark("afterParse"),e.performance.measure("Parse","beforeParse","afterParse"),null===e.tracing||void 0===e.tracing||e.tracing.pop(),o},e.parseIsolatedEntityName=function(e,t){return l.parseIsolatedEntityName(e,t)},e.parseJsonText=function(e,t){return l.parseJsonText(e,t)},e.isExternalModule=h,e.updateSourceFile=function(e,t,r,n){void 0===n&&(n=!1);var i=p.updateSourceFile(e,t,r,n);return i.flags|=3145728&e.flags,i},e.parseIsolatedJSDocComment=function(e,t,r){var n=l.JSDocParser.parseIsolatedJSDocComment(e,t,r);return n&&n.jsDoc&&l.fixupParentReferences(n.jsDoc),n},e.parseJSDocTypeExpressionForTests=function(e,t,r){return l.JSDocParser.parseJSDocTypeExpressionForTests(e,t,r)},function(t){var r,n,i,o,s,c=e.createScanner(99,!0),u=20480;function l(e){return N++,e}var d,f,g,b,x,E,S,C,T,A,N,P,F,w,I,O,L,M={createBaseSourceFileNode:function(e){return l(new s(e,0,0))},createBaseIdentifierNode:function(e){return l(new i(e,0,0))},createBasePrivateIdentifierNode:function(e){return l(new o(e,0,0))},createBaseTokenNode:function(e){return l(new n(e,0,0))},createBaseNode:function(e){return l(new r(e,0,0))}},R=e.createNodeFactory(11,M),B=!0,j=!1;function K(t,r,n,i,a){void 0===n&&(n=2),void 0===a&&(a=!1),J(t,r,n,i,6),f=L,ye();var o,s,c=fe();if(1===me())o=Ge([],c,c),s=Ve();else{for(var u=void 0;1!==me();){var l=void 0;switch(me()){case 22:l=Fn();break;case 110:case 95:case 104:l=Ve();break;case 40:l=ke((function(){return 8===ye()&&58!==ye()}))?on():In();break;case 8:case 10:if(ke((function(){return 58!==ye()}))){l=jt();break}default:l=In()}u&&e.isArray(u)?u.push(l):u?u=[u,l]:(u=l,1!==me()&&ce(e.Diagnostics.Unexpected_token))}var p=e.isArray(u)?$e(R.createArrayLiteralExpression(u),c):e.Debug.checkDefined(u),d=R.createExpressionStatement(p);$e(d,c),o=Ge([d],c),s=qe(1,e.Diagnostics.Unexpected_token)}var _=H(t,2,6,!1,o,s,f);a&&W(_),_.nodeCount=N,_.identifierCount=w,_.identifiers=P,_.parseDiagnostics=e.attachFileToDiagnostics(S,_),C&&(_.jsDocDiagnostics=e.attachFileToDiagnostics(C,_));var m=_;return U(),m}function J(t,a,u,l,p){switch(r=e.objectAllocator.getNodeConstructor(),n=e.objectAllocator.getTokenConstructor(),i=e.objectAllocator.getIdentifierConstructor(),o=e.objectAllocator.getPrivateIdentifierConstructor(),s=e.objectAllocator.getSourceFileConstructor(),d=e.normalizePath(t),g=a,b=u,T=l,x=p,E=e.getLanguageVariant(p),S=[],I=0,P=new e.Map,F=new e.Map,w=0,N=0,f=0,B=!0,x){case 1:case 2:L=131072;break;case 6:L=33685504;break;default:L=0}j=!1,c.setText(g),c.setOnError(de),c.setScriptTarget(b),c.setLanguageVariant(E)}function U(){c.clearCommentDirectives(),c.setText(""),c.setOnError(void 0),g=void 0,b=void 0,T=void 0,x=void 0,E=void 0,f=0,S=void 0,C=void 0,I=0,P=void 0,O=void 0,B=!0}function q(e,t){return t?z(e):e}t.parseSourceFile=function(t,r,n,i,a,o){var s;if(void 0===a&&(a=!1),6===(o=e.ensureScriptKind(t,o))){var u=K(t,r,n,i,a);return e.convertToObjectWorker(u,null===(s=u.statements[0])||void 0===s?void 0:s.expression,u.parseDiagnostics,!1,void 0,void 0),u.referencedFiles=e.emptyArray,u.typeReferenceDirectives=e.emptyArray,u.libReferenceDirectives=e.emptyArray,u.amdDependencies=e.emptyArray,u.hasNoDefaultLib=!1,u.pragmas=e.emptyMap,u}J(t,r,n,i,o);var l=function(t,r,n){var i=y(d);i&&(L|=8388608),f=L,ye();var a=xt(0,Xn);e.Debug.assert(1===me());var o=z(Ve()),s=H(d,t,n,i,a,o,f);return v(s,g),D(s,u),s.commentDirectives=c.getCommentDirectives(),s.nodeCount=N,s.identifierCount=w,s.identifiers=P,s.parseDiagnostics=e.attachFileToDiagnostics(S,s),C&&(s.jsDocDiagnostics=e.attachFileToDiagnostics(C,s)),r&&W(s),s;function u(t,r,n){S.push(e.createDetachedDiagnostic(d,t,r,n))}}(n,a,o);return U(),l},t.parseIsolatedEntityName=function(e,t){J("",e,t,void 0,1),ye();var r=Ft(!0),n=1===me()&&!S.length;return U(),n?r:void 0},t.parseJsonText=K;var V=!1;function z(t){e.Debug.assert(!t.jsDoc);var r=e.mapDefined(e.getJSDocCommentRanges(t,g),(function(e){return Le.parseJSDocComment(t,e.pos,e.end-e.pos)}));return r.length&&(t.jsDoc=r),V&&(V=!1,t.flags|=134217728),t}function W(t){e.setParentRecursive(t,!0)}function H(t,r,n,i,a,o,s){var u=R.createSourceFile(a,o,s);return e.setTextRangePosWidth(u,0,g.length),function(t){t.externalModuleIndicator=e.forEach(t.statements,Hi)||function(e){return 2097152&e.flags?Gi(e):void 0}(t)}(u),!i&&h(u)&&16777216&u.transformFlags&&(u=function(t){var r=T,n=p.createSyntaxCursor(t);T={currentNode:function(e){var t=n.currentNode(e);return B&&t&&f(t)&&(t.intersectsChange=!0),t}};var i=[],a=S;S=[];for(var o=0,s=_(t.statements,0),u=function(){var r=t.statements[o],n=t.statements[s];e.addRange(i,t.statements,o,s),o=m(t.statements,s);var u=e.findIndex(a,(function(e){return e.start>=r.pos})),l=u>=0?e.findIndex(a,(function(e){return e.start>=n.pos}),u):-1;u>=0&&e.addRange(S,a,u,l>=0?l:void 0),Te((function(){var e=L;for(L|=32768,c.setTextPos(n.pos),ye();1!==me();){var r=c.getStartPos(),a=Et(0,Xn);if(i.push(a),r===c.getStartPos()&&ye(),o>=0){var s=t.statements[o];if(a.end===s.pos)break;a.end>s.pos&&(o=m(t.statements,o+1))}}L=e}),2),s=o>=0?_(t.statements,o):-1};-1!==s;)u();if(o>=0){var l=t.statements[o];e.addRange(i,t.statements,o);var d=e.findIndex(a,(function(e){return e.start>=l.pos}));d>=0&&e.addRange(S,a,d)}return T=r,R.updateSourceFile(t,e.setTextRange(R.createNodeArray(i),t.statements));function f(e){return!(32768&e.flags||!(16777216&e.transformFlags))}function _(e,t){for(var r=t;r<e.length;r++)if(f(e[r]))return r;return-1}function m(e,t){for(var r=t;r<e.length;r++)if(!f(e[r]))return r;return-1}}(u)),u.text=g,u.bindDiagnostics=[],u.bindSuggestionDiagnostics=void 0,u.languageVersion=r,u.fileName=t,u.languageVariant=e.getLanguageVariant(n),u.isDeclarationFile=i,u.scriptKind=n,u}function G(e,t){e?L|=t:L&=~t}function $(e){G(e,4096)}function Y(e){G(e,8192)}function X(e){G(e,16384)}function Q(e){G(e,32768)}function Z(e,t){var r=e&L;if(r){G(!1,r);var n=t();return G(!0,r),n}return t()}function ee(e,t){var r=e&~L;if(r){G(!0,r);var n=t();return G(!1,r),n}return t()}function te(e){return Z(4096,e)}function re(e){return ee(32768,e)}function ne(e){return 0!=(L&e)}function ie(){return ne(8192)}function ae(){return ne(4096)}function oe(){return ne(16384)}function se(){return ne(32768)}function ce(e,t){le(c.getTokenPos(),c.getTextPos(),e,t)}function ue(t,r,n,i){var a=e.lastOrUndefined(S);(!a||t!==a.start)&&S.push(e.createDetachedDiagnostic(d,t,r,n,i)),j=!0}function le(e,t,r,n){ue(e,t-e,r,n)}function pe(e,t,r){le(e.pos,e.end,t,r)}function de(e,t){ue(c.getTextPos(),t,e)}function fe(){return c.getStartPos()}function _e(){return c.hasPrecedingJSDocComment()}function me(){return A}function ge(){return A=c.scan()}function he(e){return ye(),e()}function ye(){return e.isKeyword(A)&&(c.hasUnicodeEscape()||c.hasExtendedUnicodeEscape())&&le(c.getTokenPos(),c.getTextPos(),e.Diagnostics.Keywords_cannot_contain_escape_characters),ge()}function ve(){return A=c.scanJsDocToken()}function De(){return A=c.reScanGreaterToken()}function be(){return A=c.reScanTemplateHeadOrNoSubstitutionTemplate()}function xe(){return A=c.reScanLessThanToken()}function Ee(){return A=c.reScanHashToken()}function Se(){return A=c.scanJsxIdentifier()}function Ce(){return A=c.scanJsxToken()}function Te(t,r){var n=A,i=S.length,a=j,o=L,s=0!==r?c.lookAhead(t):c.tryScan(t);return e.Debug.assert(o===L),(!s||0!==r)&&(A=n,2!==r&&(S.length=i),j=a),s}function ke(e){return Te(e,1)}function Ae(e){return Te(e,0)}function Ne(){return 79===me()||me()>116}function Pe(){return 79===me()||!(125===me()&&ie()||132===me()&&se())&&me()>116}function Fe(t,r,n){return void 0===n&&(n=!0),me()===t?(n&&ye(),!0):(r?ce(r):ce(e.Diagnostics._0_expected,e.tokenToString(t)),!1)}t.fixupParentReferences=W;var we,Ie,Oe,Le,Me=Object.keys(e.textToKeywordObj).filter((function(e){return e.length>2}));function Re(t){var r;if(e.isTaggedTemplateExpression(t))le(e.skipTrivia(g,t.template.pos),t.template.end,e.Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);else{var n=e.isIdentifier(t)?e.idText(t):void 0;if(n&&e.isIdentifierText(n,b)){var i=e.skipTrivia(g,t.pos);switch(n){case"const":case"let":case"var":return void le(i,t.end,e.Diagnostics.Variable_declaration_not_allowed_at_this_location);case"declare":return;case"interface":return void Be(e.Diagnostics.Interface_name_cannot_be_0,e.Diagnostics.Interface_must_be_given_a_name,18);case"is":return void le(i,c.getTextPos(),e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);case"module":case"namespace":return void Be(e.Diagnostics.Namespace_name_cannot_be_0,e.Diagnostics.Namespace_must_be_given_a_name,18);case"type":return void Be(e.Diagnostics.Type_alias_name_cannot_be_0,e.Diagnostics.Type_alias_must_be_given_a_name,63)}var a=null!==(r=e.getSpellingSuggestion(n,Me,(function(e){return e})))&&void 0!==r?r:function(t){for(var r=0,n=Me;r<n.length;r++){var i=n[r];if(t.length>i.length+2&&e.startsWith(t,i))return"".concat(i," ").concat(t.slice(i.length))}}(n);a?le(i,t.end,e.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,a):0!==me()&&le(i,t.end,e.Diagnostics.Unexpected_keyword_or_identifier)}else ce(e.Diagnostics._0_expected,e.tokenToString(26))}}function Be(e,t,r){me()===r?ce(t):ce(e,c.getTokenValue())}function je(t){return me()===t?(ve(),!0):(ce(e.Diagnostics._0_expected,e.tokenToString(t)),!1)}function Ke(e){return me()===e&&(ye(),!0)}function Je(e){if(me()===e)return Ve()}function Ue(e){if(me()===e)return function(){var e=fe(),t=me();return ve(),$e(R.createToken(t),e)}()}function qe(t,r,n){return Je(t)||Ye(t,!1,r||e.Diagnostics._0_expected,n||e.tokenToString(t))}function Ve(){var e=fe(),t=me();return ye(),$e(R.createToken(t),e)}function ze(){return 26===me()||19===me()||1===me()||c.hasPrecedingLineBreak()}function We(){return!!ze()&&(26===me()&&ye(),!0)}function He(){return We()||Fe(26)}function Ge(t,r,n,i){var a=R.createNodeArray(t,i);return e.setTextRangePosEnd(a,r,null!=n?n:c.getStartPos()),a}function $e(t,r,n){return e.setTextRangePosEnd(t,r,null!=n?n:c.getStartPos()),L&&(t.flags|=L),j&&(j=!1,t.flags|=65536),t}function Ye(t,r,n,i){r?ue(c.getStartPos(),0,n,i):n&&ce(n,i);var a=fe();return $e(79===t?R.createIdentifier("",void 0,void 0):e.isTemplateLiteralKind(t)?R.createTemplateLiteralLikeNode(t,"","",void 0):8===t?R.createNumericLiteral("",void 0):10===t?R.createStringLiteral("",void 0):275===t?R.createMissingDeclaration():R.createToken(t),a)}function Xe(e){var t=P.get(e);return void 0===t&&P.set(e,t=e),t}function Qe(t,r,n){if(t){w++;var i=fe(),a=me(),o=Xe(c.getTokenValue());return ge(),$e(R.createIdentifier(o,void 0,a),i)}if(80===me())return ce(n||e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),Qe(!0);if(0===me()&&c.tryScan((function(){return 79===c.reScanInvalidIdentifier()})))return Qe(!0);w++;var s=1===me(),u=c.isReservedWord(),l=c.getTokenText(),p=u?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return Ye(79,s,r||p,l)}function Ze(e){return Qe(Ne(),void 0,e)}function et(e,t){return Qe(Pe(),e,t)}function tt(t){return Qe(e.tokenIsIdentifierOrKeyword(me()),t)}function rt(){return e.tokenIsIdentifierOrKeyword(me())||10===me()||8===me()}function nt(e){if(10===me()||8===me()){var t=jt();return t.text=Xe(t.text),t}return e&&22===me()?function(){var e=fe();Fe(22);var t=te(zr);return Fe(23),$e(R.createComputedPropertyName(t),e)}():80===me()?at():tt()}function it(){return nt(!0)}function at(){var e=fe(),t=R.createPrivateIdentifier(function(e){var t=F.get(e);return void 0===t&&F.set(e,t=e),t}(c.getTokenText()));return ye(),$e(t,e)}function ot(e){return me()===e&&Ae(ct)}function st(){return ye(),!c.hasPrecedingLineBreak()&&pt()}function ct(){switch(me()){case 85:return 92===ye();case 93:return ye(),88===me()?ke(dt):151===me()?ke(lt):ut();case 88:return dt();case 124:case 136:case 148:return ye(),pt();default:return st()}}function ut(){return 41!==me()&&127!==me()&&18!==me()&&pt()}function lt(){return ye(),ut()}function pt(){return 22===me()||18===me()||41===me()||25===me()||rt()}function dt(){return ye(),84===me()||98===me()||118===me()||126===me()&&ke(Vn)||131===me()&&ke(zn)}function ft(t,r){if(St(t))return!0;switch(t){case 0:case 1:case 3:return!(26===me()&&r)&&$n();case 2:return 82===me()||88===me();case 4:return ke(ur);case 5:return ke(hi)||26===me()&&!r;case 6:return 22===me()||rt();case 12:switch(me()){case 22:case 41:case 25:case 24:return!0;default:return rt()}case 18:return rt();case 9:return 22===me()||25===me()||rt();case 24:return e.tokenIsIdentifierOrKeyword(me())||10===me();case 7:return 18===me()?ke(_t):r?Pe()&&!yt():qr()&&!yt();case 8:return ii();case 10:return 27===me()||25===me()||ii();case 19:return Pe();case 15:switch(me()){case 27:case 24:return!0}case 11:return 25===me()||Vr();case 16:return Xt(!1);case 17:return Xt(!0);case 20:case 21:return 27===me()||Ar();case 22:return wi();case 23:return e.tokenIsIdentifierOrKeyword(me());case 13:return e.tokenIsIdentifierOrKeyword(me())||18===me();case 14:return!0}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function _t(){if(e.Debug.assert(18===me()),19===ye()){var t=ye();return 27===t||18===t||94===t||117===t}return!0}function mt(){return ye(),Pe()}function gt(){return ye(),e.tokenIsIdentifierOrKeyword(me())}function ht(){return ye(),e.tokenIsIdentifierOrKeywordOrGreaterThan(me())}function yt(){return(117===me()||94===me())&&ke(vt)}function vt(){return ye(),Vr()}function Dt(){return ye(),Ar()}function bt(e){if(1===me())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return 19===me();case 3:return 19===me()||82===me()||88===me();case 7:return 18===me()||94===me()||117===me();case 8:return!(!ze()&&!tn(me())&&38!==me());case 19:return 31===me()||20===me()||18===me()||94===me()||117===me();case 11:return 21===me()||26===me();case 15:case 21:case 10:return 23===me();case 17:case 16:case 18:return 21===me()||23===me();case 20:return 27!==me();case 22:return 18===me()||19===me();case 13:return 31===me()||43===me();case 14:return 29===me()&&ke(ji);default:return!1}}function xt(e,t){var r=I;I|=1<<e;for(var n=[],i=fe();!bt(e);)if(ft(e,!1))n.push(Et(e,t));else if(Tt(e))break;return I=r,Ge(n,i)}function Et(e,t){var r=St(e);return r?Ct(r):t()}function St(t){if(T&&function(e){switch(e){case 5:case 2:case 0:case 1:case 3:case 6:case 4:case 8:case 17:case 16:return!0}return!1}(t)&&!j){var r=T.currentNode(c.getStartPos());if(!(e.nodeIsMissing(r)||r.intersectsChange||e.containsParseError(r))&&(25358336&r.flags)===L&&function(e,t){switch(t){case 5:return function(e){if(e)switch(e.kind){case 170:case 175:case 171:case 172:case 166:case 233:return!0;case 168:var t=e;return!(79===t.name.kind&&134===t.name.originalKeywordKind)}return!1}(e);case 2:return function(e){if(e)switch(e.kind){case 288:case 289:return!0}return!1}(e);case 0:case 1:case 3:return function(e){if(e)switch(e.kind){case 255:case 236:case 234:case 238:case 237:case 250:case 246:case 248:case 245:case 244:case 242:case 243:case 241:case 240:case 247:case 235:case 251:case 249:case 239:case 252:case 265:case 264:case 271:case 270:case 260:case 256:case 257:case 259:case 258:return!0}return!1}(e);case 6:return function(e){return 297===e.kind}(e);case 4:return function(e){if(e)switch(e.kind){case 174:case 167:case 175:case 165:case 173:return!0}return!1}(e);case 8:return function(e){return 253===e.kind&&void 0===e.initializer}(e);case 17:case 16:return function(e){return 163===e.kind&&void 0===e.initializer}(e)}return!1}(r,t))return r.jsDocCache&&(r.jsDocCache=void 0),r}}function Ct(e){return c.setTextPos(e.end),ye(),e}function Tt(t){return function(t){switch(t){case 0:return 88===me()?ce(e.Diagnostics._0_expected,e.tokenToString(93)):ce(e.Diagnostics.Declaration_or_statement_expected);case 1:return ce(e.Diagnostics.Declaration_or_statement_expected);case 2:return ce(e.Diagnostics.case_or_default_expected);case 3:return ce(e.Diagnostics.Statement_expected);case 18:case 4:return ce(e.Diagnostics.Property_or_signature_expected);case 5:return ce(e.Diagnostics.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return ce(e.Diagnostics.Enum_member_expected);case 7:return ce(e.Diagnostics.Expression_expected);case 8:return e.isKeyword(me())?ce(e.Diagnostics._0_is_not_allowed_as_a_variable_declaration_name,e.tokenToString(me())):ce(e.Diagnostics.Variable_declaration_expected);case 9:return ce(e.Diagnostics.Property_destructuring_pattern_expected);case 10:return ce(e.Diagnostics.Array_element_destructuring_pattern_expected);case 11:return ce(e.Diagnostics.Argument_expression_expected);case 12:return ce(e.Diagnostics.Property_assignment_expected);case 15:return ce(e.Diagnostics.Expression_or_comma_expected);case 17:return ce(e.Diagnostics.Parameter_declaration_expected);case 16:return e.isKeyword(me())?ce(e.Diagnostics._0_is_not_allowed_as_a_parameter_name,e.tokenToString(me())):ce(e.Diagnostics.Parameter_declaration_expected);case 19:return ce(e.Diagnostics.Type_parameter_declaration_expected);case 20:return ce(e.Diagnostics.Type_argument_expected);case 21:return ce(e.Diagnostics.Type_expected);case 22:return ce(e.Diagnostics.Unexpected_token_expected);case 23:case 13:case 14:return ce(e.Diagnostics.Identifier_expected);default:;}}(t),!!function(){for(var e=0;e<25;e++)if(I&1<<e&&(ft(e,!0)||bt(e)))return!0;return!1}()||(ye(),!1)}function kt(e,t,r){var n=I;I|=1<<e;for(var i=[],a=fe(),o=-1;;)if(ft(e,!1)){var s=c.getStartPos();if(i.push(Et(e,t)),o=c.getTokenPos(),Ke(27))continue;if(o=-1,bt(e))break;Fe(27,At(e)),r&&26===me()&&!c.hasPrecedingLineBreak()&&ye(),s===c.getStartPos()&&ye()}else if(bt(e)||Tt(e))break;return I=n,Ge(i,a,void 0,o>=0)}function At(t){return 6===t?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function Nt(){var e=Ge([],fe());return e.isMissingList=!0,e}function Pt(e,t,r,n){if(Fe(r)){var i=kt(e,t);return Fe(n),i}return Nt()}function Ft(e,t){for(var r=fe(),n=e?tt(t):et(t),i=fe();Ke(24);){if(29===me()){n.jsdocDotPos=i;break}i=fe(),n=$e(R.createQualifiedName(n,It(e,!1)),r)}return n}function wt(e,t){return $e(R.createQualifiedName(e,t),e.pos)}function It(t,r){if(c.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(me())&&ke(qn))return Ye(79,!0,e.Diagnostics.Identifier_expected);if(80===me()){var n=at();return r?n:Ye(79,!0,e.Diagnostics.Identifier_expected)}return t?tt():et()}function Ot(e){var t=fe();return $e(R.createTemplateExpression(Kt(e),function(e){var t,r=fe(),n=[];do{t=Bt(e),n.push(t)}while(16===t.literal.kind);return Ge(n,r)}(e)),t)}function Lt(){var e=fe();return $e(R.createTemplateLiteralType(Kt(!1),function(){var e,t=fe(),r=[];do{e=Mt(),r.push(e)}while(16===e.literal.kind);return Ge(r,t)}()),e)}function Mt(){var e=fe();return $e(R.createTemplateLiteralTypeSpan(Kr(),Rt(!1)),e)}function Rt(t){return 19===me()?(function(e){A=c.reScanTemplateToken(e)}(t),function(){var t=Jt(me());return e.Debug.assert(16===t.kind||17===t.kind,"Template fragment has wrong token kind"),t}()):qe(17,e.Diagnostics._0_expected,e.tokenToString(19))}function Bt(e){var t=fe();return $e(R.createTemplateSpan(te(zr),Rt(e)),t)}function jt(){return Jt(me())}function Kt(t){t&&be();var r=Jt(me());return e.Debug.assert(15===r.kind,"Template head has wrong token kind"),r}function Jt(t){var r=fe(),n=e.isTemplateLiteralKind(t)?R.createTemplateLiteralLikeNode(t,c.getTokenValue(),function(e){var t=14===e||17===e,r=c.getTokenText();return r.substring(1,r.length-(c.isUnterminated()?0:t?1:2))}(t),2048&c.getTokenFlags()):8===t?R.createNumericLiteral(c.getTokenValue(),c.getNumericLiteralFlags()):10===t?R.createStringLiteral(c.getTokenValue(),void 0,c.hasExtendedUnicodeEscape()):e.isLiteralKind(t)?R.createLiteralLikeNode(t,c.getTokenValue()):e.Debug.fail();return c.hasExtendedUnicodeEscape()&&(n.hasExtendedUnicodeEscape=!0),c.isUnterminated()&&(n.isUnterminated=!0),ye(),$e(n,r)}function Ut(){return Ft(!0,e.Diagnostics.Type_expected)}function qt(){if(!c.hasPrecedingLineBreak()&&29===xe())return Pt(20,Kr,29,31)}function Vt(){var e=fe();return $e(R.createTypeReferenceNode(Ut(),qt()),e)}function zt(t){switch(t.kind){case 177:return e.nodeIsMissing(t.typeName);case 178:case 179:var r=t,n=r.parameters,i=r.type;return function(e){return!!e.isMissingList}(n)||zt(i);case 190:return zt(t.type);default:return!1}}function Wt(){var e=fe();return ye(),$e(R.createThisTypeNode(),e)}function Ht(){var e,t=fe();return(108===me()||103===me())&&(e=tt(),Fe(58)),$e(R.createParameterDeclaration(void 0,void 0,void 0,e,void 0,Gt(),void 0),t)}function Gt(){c.setInJSDocType(!0);var e=fe();if(Ke(141)){var t=R.createJSDocNamepathType(void 0);e:for(;;)switch(me()){case 19:case 1:case 27:case 5:break e;default:ve()}return c.setInJSDocType(!1),$e(t,e)}var r=Ke(25),n=Br();return c.setInJSDocType(!1),r&&(n=$e(R.createJSDocVariadicType(n),e)),63===me()?(ye(),$e(R.createJSDocOptionalType(n),e)):n}function $t(){var e,t,r=fe(),n=et();Ke(94)&&(Ar()||!Vr()?e=Kr():t=sn());var i=Ke(63)?Kr():void 0,a=R.createTypeParameterDeclaration(n,e,i);return a.expression=t,$e(a,r)}function Yt(){if(29===me())return Pt(19,$t,29,31)}function Xt(t){return 25===me()||ii()||e.isModifierKind(me())||59===me()||Ar(!t)}function Qt(){return er(!0)}function Zt(){return er(!1)}function er(t){var r=fe(),n=_e(),i=t?re(bi):bi();if(108===me()){var a=R.createParameterDeclaration(i,void 0,void 0,Qe(!0),void 0,Ur(),void 0);return i&&pe(i[0],e.Diagnostics.Decorators_may_not_be_applied_to_this_parameters),q($e(a,r),n)}var o=B;B=!1;var s=Ei(),c=q($e(R.createParameterDeclaration(i,s,Je(25),function(t){var r=ai(e.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);return 0===e.getFullWidth(r)&&!e.some(t)&&e.isModifierKind(me())&&ye(),r}(s),Je(57),Ur(),Wr()),r),n);return B=o,c}function tr(t,r){if(function(t,r){return 38===t?(Fe(t),!0):!!Ke(58)||!(!r||38!==me())&&(ce(e.Diagnostics._0_expected,e.tokenToString(58)),ye(),!0)}(t,r))return Br()}function rr(e){var t=ie(),r=se();Y(!!(1&e)),Q(!!(2&e));var n=32&e?kt(17,Ht):kt(16,r?Qt:Zt);return Y(t),Q(r),n}function nr(e){if(!Fe(20))return Nt();var t=rr(e);return Fe(21),t}function ir(){Ke(27)||He()}function ar(e){var t=fe(),r=_e();174===e&&Fe(103);var n=Yt(),i=nr(4),a=tr(58,!0);return ir(),q($e(173===e?R.createCallSignature(n,i,a):R.createConstructSignature(n,i,a),t),r)}function or(){return 22===me()&&ke(sr)}function sr(){if(ye(),25===me()||23===me())return!0;if(e.isModifierKind(me())){if(ye(),Pe())return!0}else{if(!Pe())return!1;ye()}return 58===me()||27===me()||57===me()&&(ye(),58===me()||27===me()||23===me())}function cr(e,t,r,n){var i=Pt(16,Zt,22,23),a=Ur();return ir(),q($e(R.createIndexSignature(r,n,i,a),e),t)}function ur(){if(20===me()||29===me()||136===me()||148===me())return!0;for(var t=!1;e.isModifierKind(me());)t=!0,ye();return 22===me()||(rt()&&(t=!0,ye()),!!t&&(20===me()||29===me()||57===me()||58===me()||27===me()||ze()))}function lr(){if(20===me()||29===me())return ar(173);if(103===me()&&ke(pr))return ar(174);var e=fe(),t=_e(),r=Ei();return ot(136)?gi(e,t,void 0,r,171):ot(148)?gi(e,t,void 0,r,172):or()?cr(e,t,void 0,r):function(e,t,r){var n,i=it(),a=Je(57);if(20===me()||29===me()){var o=Yt(),s=nr(4),c=tr(58,!0);n=R.createMethodSignature(r,i,a,o,s,c)}else c=Ur(),n=R.createPropertySignature(r,i,a,c),63===me()&&(n.initializer=Wr());return ir(),q($e(n,e),t)}(e,t,r)}function pr(){return ye(),20===me()||29===me()}function dr(){return 24===ye()}function fr(){switch(ye()){case 20:case 29:case 24:return!0}return!1}function _r(){var e;return Fe(18)?(e=xt(4,lr),Fe(19)):e=Nt(),e}function mr(){return ye(),39===me()||40===me()?144===ye():(144===me()&&ye(),22===me()&&mt()&&101===ye())}function gr(){var e,t=fe();Fe(18),(144===me()||39===me()||40===me())&&144!==(e=Ve()).kind&&Fe(144),Fe(22);var r,n=function(){var e=fe(),t=tt();Fe(101);var r=Kr();return $e(R.createTypeParameterDeclaration(t,r,void 0),e)}(),i=Ke(127)?Kr():void 0;Fe(23),(57===me()||39===me()||40===me())&&57!==(r=Ve()).kind&&Fe(57);var a=Ur();He();var o=xt(4,lr);return Fe(19),$e(R.createMappedTypeNode(e,n,i,r,a,o),t)}function hr(){var t=fe();if(Ke(25))return $e(R.createRestTypeNode(Kr()),t);var r=Kr();if(e.isJSDocNullableType(r)&&r.pos===r.type.pos){var n=R.createOptionalTypeNode(r.type);return e.setTextRange(n,r),n.flags=r.flags,n}return r}function yr(){return 58===ye()||57===me()&&58===ye()}function vr(){return 25===me()?e.tokenIsIdentifierOrKeyword(ye())&&yr():e.tokenIsIdentifierOrKeyword(me())&&yr()}function Dr(){if(ke(vr)){var e=fe(),t=_e(),r=Je(25),n=tt(),i=Je(57);Fe(58);var a=hr();return q($e(R.createNamedTupleMember(r,n,i,a),e),t)}return hr()}function br(){var e=fe(),t=_e(),r=function(){var e;if(126===me()){var t=fe();ye(),e=Ge([$e(R.createToken(126),t)],t)}return e}(),n=Ke(103),i=Yt(),a=nr(4),o=tr(38,!1),s=n?R.createConstructorTypeNode(r,i,a,o):R.createFunctionTypeNode(i,a,o);return n||(s.modifiers=r),q($e(s,e),t)}function xr(){var e=Ve();return 24===me()?void 0:e}function Er(e){var t=fe();e&&ye();var r=110===me()||95===me()||104===me()?Ve():Jt(me());return e&&(r=$e(R.createPrefixUnaryExpression(40,r),t)),$e(R.createLiteralTypeNode(r),t)}function Sr(){return ye(),100===me()}function Cr(){f|=1048576;var e=fe(),t=Ke(112);Fe(100),Fe(20);var r=Kr();Fe(21);var n=Ke(24)?Ut():void 0,i=qt();return $e(R.createImportTypeNode(r,n,i,t),e)}function Tr(){return ye(),8===me()||9===me()}function kr(){switch(me()){case 130:case 154:case 149:case 146:case 157:case 150:case 133:case 152:case 143:case 147:return Ae(xr)||Vt();case 66:c.reScanAsteriskEqualsToken();case 41:return function(){var e=fe();return ye(),$e(R.createJSDocAllType(),e)}();case 60:c.reScanQuestionToken();case 57:return function(){var e=fe();return ye(),27===me()||19===me()||21===me()||31===me()||63===me()||51===me()?$e(R.createJSDocUnknownType(),e):$e(R.createJSDocNullableType(Kr()),e)}();case 98:return function(){var e=fe(),t=_e();if(ke(Ri)){ye();var r=nr(36),n=tr(58,!1);return q($e(R.createJSDocFunctionType(r,n),e),t)}return $e(R.createTypeReferenceNode(tt(),void 0),e)}();case 53:return function(){var e=fe();return ye(),$e(R.createJSDocNonNullableType(kr()),e)}();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return Er();case 40:return ke(Tr)?Er(!0):Vt();case 114:return Ve();case 108:var e=Wt();return 139!==me()||c.hasPrecedingLineBreak()?e:function(e){return ye(),$e(R.createTypePredicateNode(void 0,e,Kr()),e.pos)}(e);case 112:return ke(Sr)?Cr():function(){var e=fe();return Fe(112),$e(R.createTypeQueryNode(Ft(!0)),e)}();case 18:return ke(mr)?gr():function(){var e=fe();return $e(R.createTypeLiteralNode(_r()),e)}();case 22:return function(){var e=fe();return $e(R.createTupleTypeNode(Pt(21,Dr,22,23)),e)}();case 20:return function(){var e=fe();Fe(20);var t=Kr();return Fe(21),$e(R.createParenthesizedType(t),e)}();case 100:return Cr();case 128:return ke(qn)?function(){var e=fe(),t=qe(128),r=108===me()?Wt():et(),n=Ke(139)?Kr():void 0;return $e(R.createTypePredicateNode(t,r,n),e)}():Vt();case 15:return Lt();default:return Vt()}}function Ar(e){switch(me()){case 130:case 154:case 149:case 146:case 157:case 133:case 144:case 150:case 153:case 114:case 152:case 104:case 108:case 112:case 143:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 147:case 41:case 57:case 53:case 25:case 137:case 100:case 128:case 14:case 15:return!0;case 98:return!e;case 40:return!e&&ke(Tr);case 20:return!e&&ke(Nr);default:return Pe()}}function Nr(){return ye(),21===me()||Xt(!1)||Ar()}function Pr(){var e=fe();return Fe(137),$e(R.createInferTypeNode(function(){var e=fe();return $e(R.createTypeParameterDeclaration(et(),void 0,void 0),e)}()),e)}function Fr(){var e=me();switch(e){case 140:case 153:case 144:return function(e){var t=fe();return Fe(e),$e(R.createTypeOperatorNode(e,Fr()),t)}(e);case 137:return Pr()}return function(){for(var e=fe(),t=kr();!c.hasPrecedingLineBreak();)switch(me()){case 53:ye(),t=$e(R.createJSDocNonNullableType(t),e);break;case 57:if(ke(Dt))return t;ye(),t=$e(R.createJSDocNullableType(t),e);break;case 22:if(Fe(22),Ar()){var r=Kr();Fe(23),t=$e(R.createIndexedAccessTypeNode(t,r),e)}else Fe(23),t=$e(R.createArrayTypeNode(t),e);break;default:return t}return t}()}function wr(t){if(Mr()){var r=br();return pe(r,e.isFunctionTypeNode(r)?t?e.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:e.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:t?e.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:e.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type),r}}function Ir(e,t,r){var n=fe(),i=51===e,a=Ke(e),o=a&&wr(i)||t();if(me()===e||a){for(var s=[o];Ke(e);)s.push(wr(i)||t());o=$e(r(Ge(s,n)),n)}return o}function Or(){return Ir(50,Fr,R.createIntersectionTypeNode)}function Lr(){return ye(),103===me()}function Mr(){return!!(29===me()||20===me()&&ke(Rr))||103===me()||126===me()&&ke(Lr)}function Rr(){return ye(),!!(21===me()||25===me()||function(){if(e.isModifierKind(me())&&Ei(),Pe()||108===me())return ye(),!0;if(22===me()||18===me()){var t=S.length;return ai(),t===S.length}return!1}()&&(58===me()||27===me()||57===me()||63===me()||21===me()&&(ye(),38===me())))}function Br(){var e=fe(),t=Pe()&&Ae(jr),r=Kr();return t?$e(R.createTypePredicateNode(void 0,t,r),e):r}function jr(){var e=et();if(139===me()&&!c.hasPrecedingLineBreak())return ye(),e}function Kr(){return Z(40960,Jr)}function Jr(e){if(Mr())return br();var t=fe(),r=Ir(51,Or,R.createUnionTypeNode);if(!e&&!c.hasPrecedingLineBreak()&&Ke(94)){var n=Jr(!0);Fe(57);var i=Jr();Fe(58);var a=Jr();return $e(R.createConditionalTypeNode(r,n,i,a),t)}return r}function Ur(){return Ke(58)?Kr():void 0}function qr(){switch(me()){case 108:case 106:case 104:case 110:case 95:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 98:case 84:case 103:case 43:case 68:case 79:return!0;case 100:return ke(fr);default:return Pe()}}function Vr(){if(qr())return!0;switch(me()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 132:case 125:case 80:return!0;default:return!(ae()&&101===me()||!(e.getBinaryOperatorPrecedence(me())>0))||Pe()}}function zr(){var e=oe();e&&X(!1);for(var t,r=fe(),n=Hr();t=Je(27);)n=nn(n,t,Hr(),r);return e&&X(!0),n}function Wr(){return Ke(63)?Hr():void 0}function Hr(){if(125===me()&&(ie()||ke(Wn)))return function(){var e=fe();return ye(),c.hasPrecedingLineBreak()||41!==me()&&!Vr()?$e(R.createYieldExpression(void 0,void 0),e):$e(R.createYieldExpression(Je(41),Hr()),e)}();var t=function(){var e=20===me()||29===me()||131===me()?ke($r):38===me()?1:0;if(0!==e)return 1===e?Qr(!0):Ae(Yr)}()||function(){if(131===me()&&1===ke(Xr)){var e=fe(),t=Si();return Gr(e,en(0),t)}}();if(t)return t;var r=fe(),n=en(0);return 79===n.kind&&38===me()?Gr(r,n,void 0):e.isLeftHandSideExpression(n)&&e.isAssignmentOperator(De())?nn(n,Ve(),Hr(),r):function(t,r){var n,i=Je(57);return i?$e(R.createConditionalExpression(t,i,Z(u,Hr),n=qe(58),e.nodeIsPresent(n)?Hr():Ye(79,!1,e.Diagnostics._0_expected,e.tokenToString(58))),r):t}(n,r)}function Gr(t,r,n){e.Debug.assert(38===me(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var i=R.createParameterDeclaration(void 0,void 0,void 0,r,void 0,void 0,void 0);$e(i,r.pos);var a=Ge([i],i.pos,i.end),o=qe(38),s=Zr(!!n);return z($e(R.createArrowFunction(n,void 0,a,void 0,o,s),t))}function $r(){if(131===me()&&(ye(),c.hasPrecedingLineBreak()||20!==me()&&29!==me()))return 0;var t=me(),r=ye();if(20===t){if(21===r)switch(ye()){case 38:case 58:case 18:return 1;default:return 0}if(22===r||18===r)return 2;if(25===r||e.isModifierKind(r)&&131!==r&&ke(mt))return 1;if(!Pe()&&108!==r)return 0;switch(ye()){case 58:return 1;case 57:return ye(),58===me()||27===me()||63===me()||21===me()?1:0;case 27:case 63:case 21:return 2}return 0}return e.Debug.assert(29===t),Pe()?1===E?ke((function(){var e=ye();if(94===e)switch(ye()){case 63:case 31:return!1;default:return!0}else if(27===e||63===e)return!0;return!1}))?1:0:2:0}function Yr(){var t=c.getTokenPos();if(null==O||!O.has(t)){var r=Qr(!1);return r||(O||(O=new e.Set)).add(t),r}}function Xr(){if(131===me()){if(ye(),c.hasPrecedingLineBreak()||38===me())return 0;var e=en(0);if(!c.hasPrecedingLineBreak()&&79===e.kind&&38===me())return 1}return 0}function Qr(t){var r,n=fe(),i=_e(),a=Si(),o=e.some(a,e.isAsyncModifier)?2:0,s=Yt();if(Fe(20)){if(r=rr(o),!Fe(21)&&!t)return}else{if(!t)return;r=Nt()}var c=tr(58,!1);if(!c||t||!zt(c)){for(var u=c;190===(null==u?void 0:u.kind);)u=u.type;var l=u&&e.isJSDocFunctionType(u);if(t||38===me()||!l&&18===me()){var p=me(),d=qe(38),f=38===p||18===p?Zr(e.some(a,e.isAsyncModifier)):et();return q($e(R.createArrowFunction(a,s,r,c,d,f),n),i)}}}function Zr(e){if(18===me())return Rn(e?2:0);if(26!==me()&&98!==me()&&84!==me()&&$n()&&(18===me()||98===me()||84===me()||59===me()||!Vr()))return Rn(16|(e?2:0));var t=B;B=!1;var r=e?re(Hr):function(e){return Z(32768,e)}(Hr);return B=t,r}function en(e){var t=fe();return rn(e,sn(),t)}function tn(e){return 101===e||159===e}function rn(t,r,n){for(;;){De();var i=e.getBinaryOperatorPrecedence(me());if(!(42===me()?i>=t:i>t)||101===me()&&ae())break;if(127===me()){if(c.hasPrecedingLineBreak())break;ye(),r=an(r,Kr())}else r=nn(r,Ve(),en(i),n)}return r}function nn(e,t,r,n){return $e(R.createBinaryExpression(e,t,r),n)}function an(e,t){return $e(R.createAsExpression(e,t),e.pos)}function on(){var e=fe();return $e(R.createPrefixUnaryExpression(me(),he(cn)),e)}function sn(){if(function(){switch(me()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 132:return!1;case 29:if(1!==E)return!1;default:return!0}}()){var t=fe(),r=un();return 42===me()?rn(e.getBinaryOperatorPrecedence(me()),r,t):r}var n=me(),i=cn();if(42===me()){t=e.skipTrivia(g,i.pos);var a=i.end;210===i.kind?le(t,a,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):le(t,a,e.Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,e.tokenToString(n))}return i}function cn(){switch(me()){case 39:case 40:case 54:case 53:return on();case 89:return function(){var e=fe();return $e(R.createDeleteExpression(he(cn)),e)}();case 112:return function(){var e=fe();return $e(R.createTypeOfExpression(he(cn)),e)}();case 114:return function(){var e=fe();return $e(R.createVoidExpression(he(cn)),e)}();case 29:return function(){var e=fe();Fe(29);var t=Kr();Fe(31);var r=cn();return $e(R.createTypeAssertion(t,r),e)}();case 132:if(132===me()&&(se()||ke(Wn)))return function(){var e=fe();return $e(R.createAwaitExpression(he(cn)),e)}();default:return un()}}function un(){if(45===me()||46===me()){var t=fe();return $e(R.createPrefixUnaryExpression(me(),he(ln)),t)}if(1===E&&29===me()&&ke(ht))return dn(!0);var r=ln();if(e.Debug.assert(e.isLeftHandSideExpression(r)),(45===me()||46===me())&&!c.hasPrecedingLineBreak()){var n=me();return ye(),$e(R.createPostfixUnaryExpression(r,n),r.pos)}return r}function ln(){var t,r=fe();return 100===me()?ke(pr)?(f|=1048576,t=Ve()):ke(dr)?(ye(),ye(),t=$e(R.createMetaProperty(100,tt()),r),f|=2097152):t=pn():t=106===me()?function(){var t=fe(),r=Ve();if(29===me()){var n=fe();void 0!==Ae(kn)&&le(n,fe(),e.Diagnostics.super_may_not_use_type_arguments)}return 20===me()||24===me()||22===me()?r:(qe(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),$e(R.createPropertyAccessExpression(r,It(!0,!0)),t))}():pn(),Cn(r,t)}function pn(){return xn(fe(),An(),!0)}function dn(t,r,n){var i,o=fe(),s=function(e){var t=fe();if(Fe(29),31===me())return Ce(),$e(R.createJsxOpeningFragment(),t);var r,n=mn(),i=0==(131072&L)?Fi():void 0,a=function(){var e=fe();return $e(R.createJsxAttributes(xt(13,hn)),e)}();return 31===me()?(Ce(),r=R.createJsxOpeningElement(n,i,a)):(Fe(43),Fe(31,void 0,!1)&&(e?ye():Ce()),r=R.createJsxSelfClosingElement(n,i,a)),$e(r,t)}(t);if(279===s.kind){var c=_n(s),u=void 0,l=c[c.length-1];if(277===(null==l?void 0:l.kind)&&!k(l.openingElement.tagName,l.closingElement.tagName)&&k(s.tagName,l.closingElement.tagName)){var p=l.children.end,d=$e(R.createJsxElement(l.openingElement,l.children,$e(R.createJsxClosingElement($e(R.createIdentifier(""),p,p)),p,p)),l.openingElement.pos,p);c=Ge(a(a([],c.slice(0,c.length-1),!0),[d],!1),c.pos,p),u=l.closingElement}else u=function(e,t){var r=fe();Fe(30);var n=mn();return Fe(31,void 0,!1)&&(t||!k(e.tagName,n)?ye():Ce()),$e(R.createJsxClosingElement(n),r)}(s,t),k(s.tagName,u.tagName)||(n&&e.isJsxOpeningElement(n)&&k(u.tagName,n.tagName)?pe(s.tagName,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(g,s.tagName)):pe(u.tagName,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(g,s.tagName)));i=$e(R.createJsxElement(s,c,u),o)}else 282===s.kind?i=$e(R.createJsxFragment(s,_n(s),function(t){var r=fe();return Fe(30),e.tokenIsIdentifierOrKeyword(me())&&pe(mn(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment),Fe(31,void 0,!1)&&(t?ye():Ce()),$e(R.createJsxJsxClosingFragment(),r)}(t)),o):(e.Debug.assert(278===s.kind),i=s);if(t&&29===me()){var f=typeof r>"u"?i.pos:r,_=Ae((function(){return dn(!0,f)}));if(_){var m=Ye(27,!1);return e.setTextRangePosWidth(m,_.pos,0),le(e.skipTrivia(g,f),_.end,e.Diagnostics.JSX_expressions_must_have_one_parent_element),$e(R.createBinaryExpression(i,m,_),o)}}return i}function fn(t,r){switch(r){case 1:if(e.isJsxOpeningFragment(t))pe(t,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag);else{var n=t.tagName;le(e.skipTrivia(g,n.pos),n.end,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(g,t.tagName))}return;case 30:case 7:return;case 11:case 12:return function(){var e=fe(),t=R.createJsxText(c.getTokenValue(),12===A);return A=c.scanJsxToken(),$e(t,e)}();case 18:return gn(!1);case 29:return dn(!1,void 0,t);default:return e.Debug.assertNever(r)}}function _n(t){var r=[],n=fe(),i=I;for(I|=16384;;){var a=fn(t,A=c.reScanJsxToken());if(!a||(r.push(a),e.isJsxOpeningElement(t)&&277===(null==a?void 0:a.kind)&&!k(a.openingElement.tagName,a.closingElement.tagName)&&k(t.tagName,a.closingElement.tagName)))break}return I=i,Ge(r,n)}function mn(){var e=fe();Se();for(var t=108===me()?Ve():tt();Ke(24);)t=$e(R.createPropertyAccessExpression(t,It(!0,!1)),e);return t}function gn(e){var t,r,n=fe();if(Fe(18))return 19!==me()&&(t=Je(25),r=zr()),e?Fe(19):Fe(19,void 0,!1)&&Ce(),$e(R.createJsxExpression(t,r),n)}function hn(){if(18===me())return function(){var e=fe();Fe(18),Fe(25);var t=zr();return Fe(19),$e(R.createJsxSpreadAttribute(t),e)}();Se();var e=fe();return $e(R.createJsxAttribute(tt(),63!==me()?void 0:10===(A=c.scanJsxAttributeValue())?jt():gn(!0)),e)}function yn(){return ye(),e.tokenIsIdentifierOrKeyword(me())||22===me()||En()}function vn(t){if(32&t.flags)return!0;if(e.isNonNullExpression(t)){for(var r=t.expression;e.isNonNullExpression(r)&&!(32&r.flags);)r=r.expression;if(32&r.flags){for(;e.isNonNullExpression(t);)t.flags|=32,t=t.expression;return!0}}return!1}function Dn(t,r,n){var i=It(!0,!0),a=n||vn(r),o=a?R.createPropertyAccessChain(r,n,i):R.createPropertyAccessExpression(r,i);return a&&e.isPrivateIdentifier(o.name)&&pe(o.name,e.Diagnostics.An_optional_chain_cannot_contain_private_identifiers),$e(o,t)}function bn(t,r,n){var i;if(23===me())i=Ye(79,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var a=te(zr);e.isStringOrNumericLiteralLike(a)&&(a.text=Xe(a.text)),i=a}return Fe(23),$e(n||vn(r)?R.createElementAccessChain(r,n,i):R.createElementAccessExpression(r,i),t)}function xn(t,r,n){for(;;){var i=void 0,a=!1;if(n&&28===me()&&ke(yn)?(i=qe(28),a=e.tokenIsIdentifierOrKeyword(me())):a=Ke(24),a)r=Dn(t,r,i);else if(i||53!==me()||c.hasPrecedingLineBreak())if(!i&&oe()||!Ke(22)){if(!En())return r;r=Sn(t,r,i,void 0)}else r=bn(t,r,i);else ye(),r=$e(R.createNonNullExpression(r),t)}}function En(){return 14===me()||15===me()}function Sn(e,t,r,n){var i=R.createTaggedTemplateExpression(t,n,14===me()?(be(),jt()):Ot(!0));return(r||32&t.flags)&&(i.flags|=32),i.questionDotToken=r,$e(i,e)}function Cn(t,r){for(;;){r=xn(t,r,!0);var n=Je(28);if(0!=(131072&L)||29!==me()&&47!==me()){if(20===me()){a=Tn(),r=$e(n||vn(r)?R.createCallChain(r,n,void 0,a):R.createCallExpression(r,void 0,a),t);continue}}else{var i=Ae(kn);if(i){if(En()){r=Sn(t,r,n,i);continue}var a=Tn();r=$e(n||vn(r)?R.createCallChain(r,n,i,a):R.createCallExpression(r,i,a),t);continue}}if(n){var o=Ye(79,!1,e.Diagnostics.Identifier_expected);r=$e(R.createPropertyAccessChain(r,n,o),t)}break}return r}function Tn(){Fe(20);var e=kt(11,Pn);return Fe(21),e}function kn(){if(0==(131072&L)&&29===xe()){ye();var e=kt(20,Kr);if(Fe(31))return e&&function(){switch(me()){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;default:return!1}}()?e:void 0}}function An(){switch(me()){case 8:case 9:case 10:case 14:return jt();case 108:case 106:case 104:case 110:case 95:return Ve();case 20:return function(){var e=fe(),t=_e();Fe(20);var r=te(zr);return Fe(21),q($e(R.createParenthesizedExpression(r),e),t)}();case 22:return Fn();case 18:return In();case 131:if(!ke(zn))break;return On();case 84:return ki(fe(),_e(),void 0,void 0,225);case 98:return On();case 103:return function(){var t,r=fe();if(Fe(103),Ke(24)){var n=tt();return $e(R.createMetaProperty(103,n),r)}for(var i,a=fe(),o=An();;){o=xn(a,o,!1),i=Ae(kn),En()&&(e.Debug.assert(!!i,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),o=Sn(a,o,void 0,i),i=void 0);break}return 20===me()?t=Tn():i&&le(r,c.getStartPos(),e.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list),$e(R.createNewExpression(o,i,t),r)}();case 43:case 68:if(13===(A=c.reScanSlashToken()))return jt();break;case 15:return Ot(!1);case 80:return at()}return et(e.Diagnostics.Expression_expected)}function Nn(){return 25===me()?function(){var e=fe();Fe(25);var t=Hr();return $e(R.createSpreadElement(t),e)}():27===me()?$e(R.createOmittedExpression(),fe()):Hr()}function Pn(){return Z(u,Nn)}function Fn(){var e=fe();Fe(22);var t=c.hasPrecedingLineBreak(),r=kt(15,Nn);return Fe(23),$e(R.createArrayLiteralExpression(r,t),e)}function wn(){var e=fe(),t=_e();if(Je(25)){var r=Hr();return q($e(R.createSpreadAssignment(r),e),t)}var n=bi(),i=Ei();if(ot(136))return gi(e,t,n,i,171);if(ot(148))return gi(e,t,n,i,172);var a,o=Je(41),s=Pe(),c=it(),u=Je(57),l=Je(53);if(o||20===me()||29===me())return fi(e,t,n,i,o,c,u,l);if(s&&58!==me()){var p=Je(63),d=p?te(Hr):void 0;(a=R.createShorthandPropertyAssignment(c,d)).equalsToken=p}else{Fe(58);var f=te(Hr);a=R.createPropertyAssignment(c,f)}return a.decorators=n,a.modifiers=i,a.questionToken=u,a.exclamationToken=l,q($e(a,e),t)}function In(){var t=fe(),r=c.getTokenPos();Fe(18);var n=c.hasPrecedingLineBreak(),i=kt(12,wn,!0);if(!Fe(19)){var a=e.lastOrUndefined(S);a&&a.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(a,e.createDetachedDiagnostic(d,r,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return $e(R.createObjectLiteralExpression(i,n),t)}function On(){var t=oe();X(!1);var r=fe(),n=_e(),i=Ei();Fe(98);var a=Je(41),o=a?1:0,s=e.some(i,e.isAsyncModifier)?2:0,c=o&&s?function(e){return ee(40960,e)}(Ln):o?function(e){return ee(8192,e)}(Ln):s?re(Ln):Ln(),u=Yt(),l=nr(o|s),p=tr(58,!1),d=Rn(o|s);return X(t),q($e(R.createFunctionExpression(i,a,c,u,l,p,d),r),n)}function Ln(){return Ne()?Ze():void 0}function Mn(t,r){var n=fe(),i=_e(),a=c.getTokenPos();if(Fe(18,r)||t){var o=c.hasPrecedingLineBreak(),s=xt(1,Xn);if(!Fe(19)){var u=e.lastOrUndefined(S);u&&u.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(u,e.createDetachedDiagnostic(d,a,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}var l=q($e(R.createBlock(s,o),n),i);return 63===me()&&(ce(e.Diagnostics.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses),ye()),l}return s=Nt(),q($e(R.createBlock(s,void 0),n),i)}function Rn(e,t){var r=ie();Y(!!(1&e));var n=se();Q(!!(2&e));var i=B;B=!1;var a=oe();a&&X(!1);var o=Mn(!!(16&e),t);return a&&X(!0),B=i,Y(r),Q(n),o}function Bn(){var e=fe(),t=_e();Fe(97);var r,n,i=Je(132);if(Fe(20),26!==me()&&(r=113===me()||119===me()||85===me()?ci(!0):function(e){return ee(4096,e)}(zr)),i?Fe(159):Ke(159)){var a=te(Hr);Fe(21),n=R.createForOfStatement(i,r,a,Xn())}else if(Ke(101))a=te(zr),Fe(21),n=R.createForInStatement(r,a,Xn());else{Fe(26);var o=26!==me()&&21!==me()?te(zr):void 0;Fe(26);var s=21!==me()?te(zr):void 0;Fe(21),n=R.createForStatement(r,o,s,Xn())}return q($e(n,e),t)}function jn(e){var t=fe(),r=_e();Fe(245===e?81:86);var n=ze()?void 0:et();return He(),q($e(245===e?R.createBreakStatement(n):R.createContinueStatement(n),t),r)}function Kn(){return 82===me()?function(){var e=fe();Fe(82);var t=te(zr);Fe(58);var r=xt(3,Xn);return $e(R.createCaseClause(t,r),e)}():function(){var e=fe();Fe(88),Fe(58);var t=xt(3,Xn);return $e(R.createDefaultClause(t),e)}()}function Jn(){var e=fe(),t=_e();Fe(107),Fe(20);var r=te(zr);Fe(21);var n=function(){var e=fe();Fe(18);var t=xt(2,Kn);return Fe(19),$e(R.createCaseBlock(t),e)}();return q($e(R.createSwitchStatement(r,n),e),t)}function Un(){var t=fe(),r=_e();Fe(111);var n,i=Mn(!1),a=83===me()?function(){var e,t=fe();Fe(83),Ke(20)?(e=si(),Fe(21)):e=void 0;var r=Mn(!1);return $e(R.createCatchClause(e,r),t)}():void 0;return(!a||96===me())&&(Fe(96,e.Diagnostics.catch_or_finally_expected),n=Mn(!1)),q($e(R.createTryStatement(i,a,n),t),r)}function qn(){return ye(),e.tokenIsIdentifierOrKeyword(me())&&!c.hasPrecedingLineBreak()}function Vn(){return ye(),84===me()&&!c.hasPrecedingLineBreak()}function zn(){return ye(),98===me()&&!c.hasPrecedingLineBreak()}function Wn(){return ye(),(e.tokenIsIdentifierOrKeyword(me())||8===me()||9===me()||10===me())&&!c.hasPrecedingLineBreak()}function Hn(){for(;;)switch(me()){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 151:return ye(),!c.hasPrecedingLineBreak()&&Pe();case 141:case 142:return ye(),!c.hasPrecedingLineBreak()&&(Pe()||10===me());case 126:case 131:case 135:case 121:case 122:case 123:case 144:if(ye(),c.hasPrecedingLineBreak())return!1;continue;case 156:return ye(),18===me()||79===me()||93===me();case 100:return ye(),10===me()||41===me()||18===me()||e.tokenIsIdentifierOrKeyword(me());case 93:var t=ye();if(151===t&&(t=ke(ye)),63===t||41===t||18===t||88===t||127===t)return!0;continue;case 124:ye();continue;default:return!1}}function Gn(){return ke(Hn)}function $n(){switch(me()){case 59:case 26:case 18:case 113:case 119:case 98:case 84:case 92:case 99:case 90:case 115:case 97:case 86:case 81:case 105:case 116:case 107:case 109:case 111:case 87:case 83:case 96:case 131:case 135:case 118:case 141:case 142:case 151:case 156:return!0;case 100:return Gn()||ke(fr);case 85:case 93:return Gn();case 123:case 121:case 122:case 124:case 144:return Gn()||!ke(qn);default:return Vr()}}function Yn(){return ye(),Ne()||18===me()||22===me()}function Xn(){switch(me()){case 26:return function(){var e=fe(),t=_e();return Fe(26),q($e(R.createEmptyStatement(),e),t)}();case 18:return Mn(!1);case 113:return li(fe(),_e(),void 0,void 0);case 119:if(ke(Yn))return li(fe(),_e(),void 0,void 0);break;case 98:return pi(fe(),_e(),void 0,void 0);case 84:return Ti(fe(),_e(),void 0,void 0);case 99:return function(){var e=fe(),t=_e();Fe(99),Fe(20);var r=te(zr);Fe(21);var n=Xn(),i=Ke(91)?Xn():void 0;return q($e(R.createIfStatement(r,n,i),e),t)}();case 90:return function(){var e=fe(),t=_e();Fe(90);var r=Xn();Fe(115),Fe(20);var n=te(zr);return Fe(21),Ke(26),q($e(R.createDoStatement(r,n),e),t)}();case 115:return function(){var e=fe(),t=_e();Fe(115),Fe(20);var r=te(zr);Fe(21);var n=Xn();return q($e(R.createWhileStatement(r,n),e),t)}();case 97:return Bn();case 86:return jn(244);case 81:return jn(245);case 105:return function(){var e=fe(),t=_e();Fe(105);var r=ze()?void 0:te(zr);return He(),q($e(R.createReturnStatement(r),e),t)}();case 116:return function(){var e=fe(),t=_e();Fe(116),Fe(20);var r=te(zr);Fe(21);var n=ee(16777216,Xn);return q($e(R.createWithStatement(r,n),e),t)}();case 107:return Jn();case 109:return function(){var e=fe(),t=_e();Fe(109);var r=c.hasPrecedingLineBreak()?void 0:te(zr);return void 0===r&&(w++,r=$e(R.createIdentifier(""),fe())),We()||Re(r),q($e(R.createThrowStatement(r),e),t)}();case 111:case 83:case 96:return Un();case 87:return function(){var e=fe(),t=_e();return Fe(87),He(),q($e(R.createDebuggerStatement(),e),t)}();case 59:return Zn();case 131:case 118:case 151:case 141:case 142:case 135:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 124:case 144:case 156:if(Gn())return Zn()}return function(){var t,r=fe(),n=_e(),i=20===me(),a=te(zr);return e.isIdentifier(a)&&Ke(58)?t=R.createLabeledStatement(a,Xn()):(We()||Re(a),t=R.createExpressionStatement(a),i&&(n=!1)),q($e(t,r),n)}()}function Qn(e){return 135===e.kind}function Zn(){var t=e.some(ke((function(){return bi(),Ei()})),Qn);if(t){var r=ee(8388608,(function(){var e=St(I);if(e)return Ct(e)}));if(r)return r}var n=fe(),i=_e(),a=bi(),o=Ei();if(t){for(var s=0,c=o;s<c.length;s++)c[s].flags|=8388608;return ee(8388608,(function(){return ei(n,i,a,o)}))}return ei(n,i,a,o)}function ei(t,r,n,i){switch(me()){case 113:case 119:case 85:return li(t,r,n,i);case 98:return pi(t,r,n,i);case 84:return Ti(t,r,n,i);case 118:return function(e,t,r,n){Fe(118);var i=et(),a=Yt(),o=Ai(),s=_r();return q($e(R.createInterfaceDeclaration(r,n,i,a,o,s),e),t)}(t,r,n,i);case 151:return function(e,t,r,n){Fe(151);var i=et(),a=Yt();Fe(63);var o=138===me()&&Ae(xr)||Kr();return He(),q($e(R.createTypeAliasDeclaration(r,n,i,a,o),e),t)}(t,r,n,i);case 92:return function(e,t,r,n){Fe(92);var i,a=et();return Fe(18)?(i=function(e){return Z(40960,e)}((function(){return kt(6,Ii)})),Fe(19)):i=Nt(),q($e(R.createEnumDeclaration(r,n,a,i),e),t)}(t,r,n,i);case 156:case 141:case 142:return function(e,t,r,n){var i=0;if(156===me())return Mi(e,t,r,n);if(Ke(142))i|=16;else if(Fe(141),10===me())return Mi(e,t,r,n);return Li(e,t,r,n,i)}(t,r,n,i);case 100:return function(e,t,r,n){Fe(100);var i,a=c.getStartPos();Pe()&&(i=et());var o,s=!1;if(155!==me()&&"type"===(null==i?void 0:i.escapedText)&&(Pe()||41===me()||18===me())&&(s=!0,i=Pe()?et():void 0),i&&27!==me()&&155!==me())return function(e,t,r,n,i,a){Fe(63);var o=145===me()&&ke(Ri)?function(){var e=fe();Fe(145),Fe(20);var t=Ui();return Fe(21),$e(R.createExternalModuleReference(t),e)}():Ft(!1);return He(),q($e(R.createImportEqualsDeclaration(r,n,a,i,o),e),t)}(e,t,r,n,i,s);(i||41===me()||18===me())&&(o=function(e,t,r){var n;return(!e||Ke(27))&&(n=41===me()?function(){var e=fe();Fe(41),Fe(127);var t=et();return $e(R.createNamespaceImport(t),e)}():qi(268)),$e(R.createImportClause(r,e,n),t)}(i,a,s),Fe(155));var u,l=Ui();return 129===me()&&!c.hasPrecedingLineBreak()&&(u=Ji()),He(),q($e(R.createImportDeclaration(r,n,o,l,u),e),t)}(t,r,n,i);case 93:switch(ye(),me()){case 88:case 63:return function(e,t,r,n){var i,a=se();Q(!0),Ke(63)?i=!0:Fe(88);var o=Hr();return He(),Q(a),q($e(R.createExportAssignment(r,n,i,o),e),t)}(t,r,n,i);case 127:return function(e,t,r,n){Fe(127),Fe(142);var i=et();He();var a=R.createNamespaceExportDeclaration(i);return a.decorators=r,a.modifiers=n,q($e(a,e),t)}(t,r,n,i);default:return function(e,t,r,n){var i=se();Q(!0);var a,o,s,u=Ke(151),l=fe();return Ke(41)?(Ke(127)&&(a=function(e){return $e(R.createNamespaceExport(tt()),e)}(l)),Fe(155),o=Ui()):(a=qi(272),(155===me()||10===me()&&!c.hasPrecedingLineBreak())&&(Fe(155),o=Ui())),o&&129===me()&&!c.hasPrecedingLineBreak()&&(s=Ji()),He(),Q(i),q($e(R.createExportDeclaration(r,n,u,a,o,s),e),t)}(t,r,n,i)}default:if(n||i){var a=Ye(275,!0,e.Diagnostics.Declaration_expected);return e.setTextRangePos(a,t),a.decorators=n,a.modifiers=i,a}return}}function ti(e,t){if(18===me()||!ze())return Rn(e,t);He()}function ri(){var e=fe();if(27===me())return $e(R.createOmittedExpression(),e);var t=Je(25),r=ai(),n=Wr();return $e(R.createBindingElement(t,void 0,r,n),e)}function ni(){var e,t=fe(),r=Je(25),n=Ne(),i=it();n&&58!==me()?(e=i,i=void 0):(Fe(58),e=ai());var a=Wr();return $e(R.createBindingElement(r,i,e,a),t)}function ii(){return 18===me()||22===me()||80===me()||Ne()}function ai(e){return 22===me()?function(){var e=fe();Fe(22);var t=kt(10,ri);return Fe(23),$e(R.createArrayBindingPattern(t),e)}():18===me()?function(){var e=fe();Fe(18);var t=kt(9,ni);return Fe(19),$e(R.createObjectBindingPattern(t),e)}():Ze(e)}function oi(){return si(!0)}function si(t){var r,n=fe(),i=_e(),a=ai(e.Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations);t&&79===a.kind&&53===me()&&!c.hasPrecedingLineBreak()&&(r=Ve());var o=Ur(),s=tn(me())?void 0:Wr();return q($e(R.createVariableDeclaration(a,r,o,s),n),i)}function ci(t){var r,n=fe(),i=0;switch(me()){case 113:break;case 119:i|=1;break;case 85:i|=2;break;default:e.Debug.fail()}if(ye(),159===me()&&ke(ui))r=Nt();else{var a=ae();$(t),r=kt(8,t?si:oi),$(a)}return $e(R.createVariableDeclarationList(r,i),n)}function ui(){return mt()&&21===ye()}function li(e,t,r,n){var i=ci(!1);He();var a=R.createVariableStatement(n,i);return a.decorators=r,q($e(a,e),t)}function pi(t,r,n,i){var a=se(),o=e.modifiersToFlags(i);Fe(98);var s=Je(41),c=512&o?Ln():Ze(),u=s?1:0,l=256&o?2:0,p=Yt();1&o&&Q(!0);var d=nr(u|l),f=tr(58,!1),_=ti(u|l,e.Diagnostics.or_expected);return Q(a),q($e(R.createFunctionDeclaration(n,i,s,c,p,d,f,_),t),r)}function di(t,r,n,i){return Ae((function(){if(134===me()?Fe(134):10===me()&&20===ke(ye)?Ae((function(){var e=jt();return"constructor"===e.text?e:void 0})):void 0){var a=Yt(),o=nr(0),s=tr(58,!1),c=ti(0,e.Diagnostics.or_expected),u=R.createConstructorDeclaration(n,i,o,c);return u.typeParameters=a,u.type=s,q($e(u,t),r)}}))}function fi(t,r,n,i,a,o,s,c,u){var l=a?1:0,p=e.some(i,e.isAsyncModifier)?2:0,d=Yt(),f=nr(l|p),_=tr(58,!1),m=ti(l|p,u),g=R.createMethodDeclaration(n,i,a,o,s,d,f,_,m);return g.exclamationToken=c,q($e(g,t),r)}function _i(t,r,n,i,a,o){var s=o||c.hasPrecedingLineBreak()?void 0:Je(53),u=Ur(),l=Z(45056,Wr);return function(t,r,n){if(59!==me()||c.hasPrecedingLineBreak()){if(20===me())return ce(e.Diagnostics.Cannot_start_a_function_call_in_a_type_annotation),void ye();if(!r||ze()){if(!We()){if(n)return void(18===me()&&ce(e.Diagnostics._0_expected,e.tokenToString(26)));Re(t)}}else n?ce(e.Diagnostics._0_expected,e.tokenToString(26)):ce(e.Diagnostics.Expected_for_property_initializer)}else ce(e.Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations)}(a,u,l),q($e(R.createPropertyDeclaration(n,i,a,o||s,u,l),t),r)}function mi(t,r,n,i){var a=Je(41),o=it(),s=Je(57);return a||20===me()||29===me()?fi(t,r,n,i,a,o,s,void 0,e.Diagnostics.or_expected):_i(t,r,n,i,o,s)}function gi(e,t,r,n,i){var a=it(),o=Yt(),s=nr(0),c=tr(58,!1),u=ti(0),l=171===i?R.createGetAccessorDeclaration(r,n,a,s,c,u):R.createSetAccessorDeclaration(r,n,a,s,u);return l.typeParameters=o,c&&172===l.kind&&(l.type=c),q($e(l,e),t)}function hi(){var t;if(59===me())return!0;for(;e.isModifierKind(me());){if(t=me(),e.isClassMemberModifier(t))return!0;ye()}if(41===me()||(rt()&&(t=me(),ye()),22===me()))return!0;if(void 0!==t){if(!e.isKeyword(t)||148===t||136===t)return!0;switch(me()){case 20:case 29:case 53:case 58:case 63:case 57:return!0;default:return ze()}}return!1}function yi(e,t,r,n){qe(124);var i=function(){var e=ie(),t=se();Y(!1),Q(!0);var r=Mn(!1);return Y(e),Q(t),r}();return q($e(R.createClassStaticBlockDeclaration(r,n,i),e),t)}function vi(){if(se()&&132===me()){var t=fe(),r=et(e.Diagnostics.Expression_expected);return ye(),Cn(t,xn(t,r,!0))}return ln()}function Di(){var e=fe();if(Ke(59)){var t=function(e){return ee(16384,e)}(vi);return $e(R.createDecorator(t),e)}}function bi(){for(var t,r,n=fe();r=Di();)t=e.append(t,r);return t&&Ge(t,n)}function xi(t,r,n){var i=fe(),a=me();if(85===me()&&t){if(!Ae(st))return}else{if(r&&124===me()&&ke(Bi))return;if(n&&124===me())return;if(!e.isModifierKind(me())||!Ae(ct))return}return $e(R.createToken(a),i)}function Ei(t,r){for(var n,i,a=fe(),o=!1;i=xi(t,r,o);)124===i.kind&&(o=!0),n=e.append(n,i);return n&&Ge(n,a)}function Si(){var e;if(131===me()){var t=fe();ye(),e=Ge([$e(R.createToken(131),t)],t)}return e}function Ci(){var t=fe();if(26===me())return ye(),$e(R.createSemicolonClassElement(),t);var r=_e(),n=bi(),i=Ei(!0,!0);if(124===me()&&ke(Bi))return yi(t,r,n,i);if(ot(136))return gi(t,r,n,i,171);if(ot(148))return gi(t,r,n,i,172);if(134===me()||10===me()){var a=di(t,r,n,i);if(a)return a}if(or())return cr(t,r,n,i);if(e.tokenIsIdentifierOrKeyword(me())||10===me()||8===me()||41===me()||22===me()){if(e.some(i,Qn)){for(var o=0,s=i;o<s.length;o++)s[o].flags|=8388608;return ee(8388608,(function(){return mi(t,r,n,i)}))}return mi(t,r,n,i)}if(n||i){var c=Ye(79,!0,e.Diagnostics.Declaration_expected);return _i(t,r,n,i,c,void 0)}return e.Debug.fail("Should not have attempted to parse class member declaration.")}function Ti(e,t,r,n){return ki(e,t,r,n,256)}function ki(t,r,n,i,a){var o=se();Fe(84);var s=!Ne()||117===me()&&ke(gt)?void 0:Qe(Ne()),c=Yt();e.some(i,e.isExportModifier)&&Q(!0);var u,l=Ai();return Fe(18)?(u=xt(5,Ci),Fe(19)):u=Nt(),Q(o),q($e(256===a?R.createClassDeclaration(n,i,s,c,l,u):R.createClassExpression(n,i,s,c,l,u),t),r)}function Ai(){if(wi())return xt(22,Ni)}function Ni(){var t=fe(),r=me();e.Debug.assert(94===r||117===r),ye();var n=kt(7,Pi);return $e(R.createHeritageClause(r,n),t)}function Pi(){var e=fe(),t=ln(),r=Fi();return $e(R.createExpressionWithTypeArguments(t,r),e)}function Fi(){return 29===me()?Pt(20,Kr,29,31):void 0}function wi(){return 94===me()||117===me()}function Ii(){var e=fe(),t=_e(),r=it(),n=te(Wr);return q($e(R.createEnumMember(r,n),e),t)}function Oi(){var e,t=fe();return Fe(18)?(e=xt(1,Xn),Fe(19)):e=Nt(),$e(R.createModuleBlock(e),t)}function Li(e,t,r,n,i){var a=16&i,o=et(),s=Ke(24)?Li(fe(),!1,void 0,void 0,4|a):Oi();return q($e(R.createModuleDeclaration(r,n,o,s,i),e),t)}function Mi(e,t,r,n){var i,a,o=0;return 156===me()?(i=et(),o|=1024):(i=jt()).text=Xe(i.text),18===me()?a=Oi():He(),q($e(R.createModuleDeclaration(r,n,i,a,o),e),t)}function Ri(){return 20===ye()}function Bi(){return 18===ye()}function ji(){return 43===ye()}function Ki(){var t=fe(),r=e.tokenIsIdentifierOrKeyword(me())?tt():Jt(10);Fe(58);var n=Hr();return $e(R.createAssertEntry(r,n),t)}function Ji(){var t=fe();Fe(129);var r=c.getTokenPos();if(Fe(18)){var n=c.hasPrecedingLineBreak(),i=kt(24,Ki,!0);if(!Fe(19)){var a=e.lastOrUndefined(S);a&&a.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(a,e.createDetachedDiagnostic(d,r,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return $e(R.createAssertClause(i,n),t)}return i=Ge([],fe(),void 0,!1),$e(R.createAssertClause(i,!1),t)}function Ui(){if(10===me()){var e=jt();return e.text=Xe(e.text),e}return zr()}function qi(e){var t=fe();return $e(268===e?R.createNamedImports(Pt(23,zi,18,19)):R.createNamedExports(Pt(23,Vi,18,19)),t)}function Vi(){var e=_e();return q(Wi(274),e)}function zi(){return Wi(269)}function Wi(t){var r,n=fe(),i=e.isKeyword(me())&&!Pe(),a=c.getTokenPos(),o=c.getTextPos(),s=!1,u=!0,l=tt();if("type"===l.escapedText)if(127===me()){var p=tt();if(127===me()){var d=tt();e.tokenIsIdentifierOrKeyword(me())?(s=!0,r=p,l=f(),u=!1):(r=l,l=d,u=!1)}else e.tokenIsIdentifierOrKeyword(me())?(r=l,u=!1,l=f()):(s=!0,l=p)}else e.tokenIsIdentifierOrKeyword(me())&&(s=!0,l=f());return u&&127===me()&&(r=l,Fe(127),l=f()),269===t&&i&&le(a,o,e.Diagnostics.Identifier_expected),$e(269===t?R.createImportSpecifier(s,r,l):R.createExportSpecifier(s,r,l),n);function f(){return i=e.isKeyword(me())&&!Pe(),a=c.getTokenPos(),o=c.getTextPos(),tt()}}function Hi(t){return function(t,r){return e.some(t.modifiers,(function(e){return e.kind===r}))}(t,93)||e.isImportEqualsDeclaration(t)&&e.isExternalModuleReference(t.moduleReference)||e.isImportDeclaration(t)||e.isExportAssignment(t)||e.isExportDeclaration(t)?t:void 0}function Gi(t){return function(t){return e.isMetaProperty(t)&&100===t.keywordToken&&"meta"===t.name.escapedText}(t)?t:m(t,Gi)}(Ie=we||(we={}))[Ie.SourceElements=0]="SourceElements",Ie[Ie.BlockStatements=1]="BlockStatements",Ie[Ie.SwitchClauses=2]="SwitchClauses",Ie[Ie.SwitchClauseStatements=3]="SwitchClauseStatements",Ie[Ie.TypeMembers=4]="TypeMembers",Ie[Ie.ClassMembers=5]="ClassMembers",Ie[Ie.EnumMembers=6]="EnumMembers",Ie[Ie.HeritageClauseElement=7]="HeritageClauseElement",Ie[Ie.VariableDeclarations=8]="VariableDeclarations",Ie[Ie.ObjectBindingElements=9]="ObjectBindingElements",Ie[Ie.ArrayBindingElements=10]="ArrayBindingElements",Ie[Ie.ArgumentExpressions=11]="ArgumentExpressions",Ie[Ie.ObjectLiteralMembers=12]="ObjectLiteralMembers",Ie[Ie.JsxAttributes=13]="JsxAttributes",Ie[Ie.JsxChildren=14]="JsxChildren",Ie[Ie.ArrayLiteralMembers=15]="ArrayLiteralMembers",Ie[Ie.Parameters=16]="Parameters",Ie[Ie.JSDocParameters=17]="JSDocParameters",Ie[Ie.RestProperties=18]="RestProperties",Ie[Ie.TypeParameters=19]="TypeParameters",Ie[Ie.TypeArguments=20]="TypeArguments",Ie[Ie.TupleElementTypes=21]="TupleElementTypes",Ie[Ie.HeritageClauses=22]="HeritageClauses",Ie[Ie.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",Ie[Ie.AssertEntries=24]="AssertEntries",Ie[Ie.Count=25]="Count",function(e){e[e.False=0]="False",e[e.True=1]="True",e[e.Unknown=2]="Unknown"}(Oe||(Oe={})),function(t){function r(e){var t=fe(),r=(e?Ke:Fe)(18),n=ee(4194304,Gt);(!e||r)&&je(19);var i=R.createJSDocTypeExpression(n);return W(i),$e(i,t)}function n(){for(var e=fe(),t=Ke(18),r=fe(),n=Ft(!1);80===me();)Ee(),ve(),n=$e(R.createJSDocMemberName(n,et()),r);t&&je(19);var i=R.createJSDocNameReference(n);return W(i),$e(i,e)}var i,a,o;function s(t,i){void 0===t&&(t=0);var a=g,o=void 0===i?a.length:t+i;if(i=o-t,e.Debug.assert(t>=0),e.Debug.assert(t<=o),e.Debug.assert(o<=a.length),_(a,t)){var s,u,l,p,f,m=[],h=[];return c.scanRange(t+3,i-5,(function(){var r,n=1,i=t-(a.lastIndexOf("\n",t)+1)+4;function d(e){r||(r=i),m.push(e),i+=e.length}for(ve();H(5););H(4)&&(n=0,i=0);e:for(;;){switch(me()){case 59:0===n||1===n?(v(m),f||(f=fe()),P(E(i)),n=0,r=void 0):d(c.getTokenText());break;case 4:m.push(c.getTokenText()),n=0,i=0;break;case 41:var _=c.getTokenText();1===n||2===n?(n=2,d(_)):(n=1,i+=_.length);break;case 5:var g=c.getTokenText();2===n?m.push(g):void 0!==r&&i+g.length>r&&m.push(g.slice(r-i)),i+=g.length;break;case 1:break e;case 18:n=2;var D=c.getStartPos(),b=A(c.getTextPos()-1);if(b){p||y(m),h.push($e(R.createJSDocText(m.join("")),null!=p?p:t,D)),h.push(b),m=[],p=c.getTextPos();break}default:n=2,d(c.getTokenText())}ve()}v(m),h.length&&m.length&&h.push($e(R.createJSDocText(m.join("")),null!=p?p:t,f)),h.length&&s&&e.Debug.assertIsDefined(f,"having parsed tags implies that the end of the comment span should be set");var x=s&&Ge(s,u,l);return $e(R.createJSDocComment(h.length?Ge(h,t,f):m.length?m.join(""):void 0,x),t,o)}))}function y(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function v(e){for(;e.length&&""===e[e.length-1].trim();)e.pop()}function D(){for(;;){if(ve(),1===me())return!0;if(5!==me()&&4!==me())return!1}}function b(){if(5!==me()&&4!==me()||!ke(D))for(;5===me()||4===me();)ve()}function x(){if((5===me()||4===me())&&ke(D))return"";for(var e=c.hasPrecedingLineBreak(),t=!1,r="";e&&41===me()||5===me()||4===me();)r+=c.getTokenText(),4===me()?(e=!0,t=!0,r=""):41===me()&&(e=!1),ve();return t?r:""}function E(t){e.Debug.assert(59===me());var i=c.getTokenPos();ve();var a,o=G(void 0),u=x();switch(o.escapedText){case"author":a=function(t,r,n,i){var a=fe(),o=function(){for(var e=[],t=!1,r=c.getToken();1!==r&&4!==r;){if(29===r)t=!0;else{if(59===r&&!t)break;if(31===r&&t){e.push(c.getTokenText()),c.setTextPos(c.getTokenPos()+1);break}}e.push(c.getTokenText()),r=ve()}return R.createJSDocText(e.join(""))}(),s=c.getStartPos(),u=C(t,s,n,i);u||(s=c.getStartPos());var l="string"!=typeof u?Ge(e.concatenate([$e(o,a,s)],u),a):o.text+u;return $e(R.createJSDocAuthorTag(r,l),t)}(i,o,t,u);break;case"implements":a=function(e,t,r,n){var i=B();return $e(R.createJSDocImplementsTag(t,i,C(e,fe(),r,n)),e)}(i,o,t,u);break;case"augments":case"extends":a=function(e,t,r,n){var i=B();return $e(R.createJSDocAugmentsTag(t,i,C(e,fe(),r,n)),e)}(i,o,t,u);break;case"class":case"constructor":a=j(i,R.createJSDocClassTag,o,t,u);break;case"public":a=j(i,R.createJSDocPublicTag,o,t,u);break;case"private":a=j(i,R.createJSDocPrivateTag,o,t,u);break;case"protected":a=j(i,R.createJSDocProtectedTag,o,t,u);break;case"readonly":a=j(i,R.createJSDocReadonlyTag,o,t,u);break;case"override":a=j(i,R.createJSDocOverrideTag,o,t,u);break;case"deprecated":V=!0,a=j(i,R.createJSDocDeprecatedTag,o,t,u);break;case"this":a=function(e,t,n,i){var a=r(!0);return b(),$e(R.createJSDocThisTag(t,a,C(e,fe(),n,i)),e)}(i,o,t,u);break;case"enum":a=function(e,t,n,i){var a=r(!0);return b(),$e(R.createJSDocEnumTag(t,a,C(e,fe(),n,i)),e)}(i,o,t,u);break;case"arg":case"argument":case"param":return L(i,o,2,t);case"return":case"returns":a=function(t,r,n,i){e.some(s,e.isJSDocReturnTag)&&le(r.pos,c.getTokenPos(),e.Diagnostics._0_tag_already_specified,r.escapedText);var a=F();return $e(R.createJSDocReturnTag(r,a,C(t,fe(),n,i)),t)}(i,o,t,u);break;case"template":a=function(e,t,n,i){var a=18===me()?r():void 0,o=function(){var e=fe(),t=[];do{b();var r=W();void 0!==r&&t.push(r),x()}while(H(27));return Ge(t,e)}();return $e(R.createJSDocTemplateTag(t,a,o,C(e,fe(),n,i)),e)}(i,o,t,u);break;case"type":a=M(i,o,t,u);break;case"typedef":a=function(t,r,n,i){var a,o=F();x();var s=K();b();var c,u=T(n);if(!o||O(o.type)){for(var l=void 0,p=void 0,f=void 0,_=!1;l=Ae((function(){return U(n)}));)if(_=!0,341===l.kind){if(p){ce(e.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var m=e.lastOrUndefined(S);m&&e.addRelatedInfo(m,e.createDetachedDiagnostic(d,0,0,e.Diagnostics.The_tag_was_first_specified_here));break}p=l}else f=e.append(f,l);if(_){var g=o&&182===o.type.kind,h=R.createJSDocTypeLiteral(f,g);c=(o=p&&p.typeExpression&&!O(p.typeExpression.type)?p.typeExpression:$e(h,t)).end}}return c=c||void 0!==u?fe():(null!==(a=null!=s?s:o)&&void 0!==a?a:r).end,u||(u=C(t,c,n,i)),$e(R.createJSDocTypedefTag(r,o,s,u),t,c)}(i,o,t,u);break;case"callback":a=function(t,r,n,i){var a=K();b();var o=T(n),s=function(t){for(var r,n,i=fe();r=Ae((function(){return q(4,t)}));)n=e.append(n,r);return Ge(n||[],i)}(n),c=Ae((function(){if(H(59)){var e=E(n);if(e&&339===e.kind)return e}})),u=$e(R.createJSDocSignature(void 0,s,c),t);return o||(o=C(t,fe(),n,i)),$e(R.createJSDocCallbackTag(r,u,a,o),t)}(i,o,t,u);break;case"see":a=function(t,r,i,a){var o=22===me()||ke((function(){return 59===ve()&&e.tokenIsIdentifierOrKeyword(ve())&&"link"===c.getTokenValue()}))?void 0:n(),s=void 0!==i&&void 0!==a?C(t,fe(),i,a):void 0;return $e(R.createJSDocSeeTag(r,o,s),t)}(i,o,t,u);break;default:a=function(e,t,r,n){return $e(R.createJSDocUnknownTag(t,C(e,fe(),r,n)),e)}(i,o,t,u)}return a}function C(e,t,r,n){return n||(r+=t-e),T(r,n.slice(r))}function T(e,t){var r,n,i=fe(),a=[],o=[],s=0,u=!0;function l(t){n||(n=e),a.push(t),e+=t.length}void 0!==t&&(""!==t&&l(t),s=1);var p=me();e:for(;;){switch(p){case 4:s=0,a.push(c.getTokenText()),e=0;break;case 59:if(3===s||2===s&&(!u||ke(k))){a.push(c.getTokenText());break}c.setTextPos(c.getTextPos()-1);case 1:break e;case 5:if(2===s||3===s)l(c.getTokenText());else{var d=c.getTokenText();void 0!==n&&e+d.length>n&&a.push(d.slice(n-e)),e+=d.length}break;case 18:s=2;var f=c.getStartPos(),_=A(c.getTextPos()-1);_?(o.push($e(R.createJSDocText(a.join("")),null!=r?r:i,f)),o.push(_),a=[],r=c.getTextPos()):l(c.getTokenText());break;case 61:s=3===s?2:3,l(c.getTokenText());break;case 41:if(0===s){s=1,e+=1;break}default:3!==s&&(s=2),l(c.getTokenText())}u=5===me(),p=ve()}return y(a),v(a),o.length?(a.length&&o.push($e(R.createJSDocText(a.join("")),null!=r?r:i)),Ge(o,i,c.getTextPos())):a.length?a.join(""):void 0}function k(){var e=ve();return 5===e||4===e}function A(t){var r=Ae(N);if(r){ve(),b();var n=fe(),i=e.tokenIsIdentifierOrKeyword(me())?Ft(!0):void 0;if(i)for(;80===me();)Ee(),ve(),i=$e(R.createJSDocMemberName(i,et()),n);for(var a=[];19!==me()&&4!==me()&&1!==me();)a.push(c.getTokenText()),ve();return $e(("link"===r?R.createJSDocLink:"linkcode"===r?R.createJSDocLinkCode:R.createJSDocLinkPlain)(i,a.join("")),t,c.getTextPos())}}function N(){if(x(),18===me()&&59===ve()&&e.tokenIsIdentifierOrKeyword(ve())){var t=c.getTokenValue();if("link"===t||"linkcode"===t||"linkplain"===t)return t}}function P(e){!e||(s?s.push(e):(s=[e],u=e.pos),l=e.end)}function F(){return x(),18===me()?r():void 0}function I(){var t=H(22);t&&b();var r=H(61),n=function(){var e=G();for(Ke(22)&&Fe(23);Ke(24);){var t=G();Ke(22)&&Fe(23),e=wt(e,t)}return e}();return r&&function(t){Ue(t)||Ye(t,!1,e.Diagnostics._0_expected,e.tokenToString(t))}(61),t&&(b(),Je(63)&&zr(),Fe(23)),{name:n,isBracketed:t}}function O(t){switch(t.kind){case 147:return!0;case 182:return O(t.elementType);default:return e.isTypeReferenceNode(t)&&e.isIdentifier(t.typeName)&&"Object"===t.typeName.escapedText&&!t.typeArguments}}function L(t,r,n,i){var a=F(),o=!a;x();var s=I(),c=s.name,u=s.isBracketed,l=x();o&&!ke(N)&&(a=F());var p=C(t,fe(),i,l),d=4!==n&&function(t,r,n,i){if(t&&O(t.type)){for(var a=fe(),o=void 0,s=void 0;o=Ae((function(){return q(n,i,r)}));)(338===o.kind||345===o.kind)&&(s=e.append(s,o));if(s){var c=$e(R.createJSDocTypeLiteral(s,182===t.type.kind),a);return $e(R.createJSDocTypeExpression(c),a)}}}(a,c,n,i);return d&&(a=d,o=!0),$e(1===n?R.createJSDocPropertyTag(r,c,u,a,o,p):R.createJSDocParameterTag(r,c,u,a,o,p),t)}function M(t,n,i,a){e.some(s,e.isJSDocTypeTag)&&le(n.pos,c.getTokenPos(),e.Diagnostics._0_tag_already_specified,n.escapedText);var o=r(!0),u=void 0!==i&&void 0!==a?C(t,fe(),i,a):void 0;return $e(R.createJSDocTypeTag(n,o,u),t)}function B(){var e=Ke(18),t=fe(),r=function(){for(var e=fe(),t=G();Ke(24);){var r=G();t=$e(R.createPropertyAccessExpression(t,r),e)}return t}(),n=Fi(),i=$e(R.createExpressionWithTypeArguments(r,n),t);return e&&Fe(19),i}function j(e,t,r,n,i){return $e(t(r,C(e,fe(),n,i)),e)}function K(t){var r=c.getTokenPos();if(e.tokenIsIdentifierOrKeyword(me())){var n=G();if(Ke(24)){var i=K(!0);return $e(R.createModuleDeclaration(void 0,void 0,n,i,t?4:void 0),r)}return t&&(n.isInJSDocNamespace=!0),n}}function J(t,r){for(;!e.isIdentifier(t)||!e.isIdentifier(r);){if(e.isIdentifier(t)||e.isIdentifier(r)||t.right.escapedText!==r.right.escapedText)return!1;t=t.left,r=r.left}return t.escapedText===r.escapedText}function U(e){return q(1,e)}function q(t,r,n){for(var i=!0,a=!1;;)switch(ve()){case 59:if(i){var o=z(t,r);return!(o&&(338===o.kind||345===o.kind)&&4!==t&&n&&(e.isIdentifier(o.name)||!J(n,o.name.left)))&&o}a=!1;break;case 4:i=!0,a=!1;break;case 41:a&&(i=!1),a=!0;break;case 79:i=!1;break;case 1:return!1}}function z(t,r){e.Debug.assert(59===me());var n=c.getStartPos();ve();var i,a=G();switch(b(),a.escapedText){case"type":return 1===t&&M(n,a);case"prop":case"property":i=1;break;case"arg":case"argument":case"param":i=6;break;default:return!1}return!!(t&i)&&L(n,a,t,r)}function W(){var t=fe(),r=H(22);r&&b();var n,i=G(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);if(r&&(b(),Fe(63),n=ee(4194304,Gt),Fe(23)),!e.nodeIsMissing(i))return $e(R.createTypeParameterDeclaration(i,void 0,n),t)}function H(e){return me()===e&&(ve(),!0)}function G(t){if(!e.tokenIsIdentifierOrKeyword(me()))return Ye(79,!t,t||e.Diagnostics.Identifier_expected);w++;var r=c.getTokenPos(),n=c.getTextPos(),i=me(),a=Xe(c.getTokenValue()),o=$e(R.createIdentifier(a,void 0,i),r,n);return ve(),o}}t.parseJSDocTypeExpressionForTests=function(t,n,i){J("file.js",t,99,void 0,1),c.setText(t,n,i),A=c.scan();var a=r(),o=H("file.js",99,1,!1,[],R.createToken(1),0),s=e.attachFileToDiagnostics(S,o);return C&&(o.jsDocDiagnostics=e.attachFileToDiagnostics(C,o)),U(),a?{jsDocTypeExpression:a,diagnostics:s}:void 0},t.parseJSDocTypeExpression=r,t.parseJSDocNameReference=n,t.parseIsolatedJSDocComment=function(t,r,n){J("",t,99,void 0,1);var i=ee(4194304,(function(){return s(r,n)})),a={languageVariant:0,text:t},o=e.attachFileToDiagnostics(S,a);return U(),i?{jsDoc:i,diagnostics:o}:void 0},t.parseJSDocComment=function(t,r,n){var i=A,a=S.length,o=j,c=ee(4194304,(function(){return s(r,n)}));return e.setParent(c,t),131072&L&&(C||(C=[]),C.push.apply(C,S)),A=i,S.length=a,j=o,c},(a=i||(i={}))[a.BeginningOfLine=0]="BeginningOfLine",a[a.SawAsterisk=1]="SawAsterisk",a[a.SavingComments=2]="SavingComments",a[a.SavingBackticks=3]="SavingBackticks",function(e){e[e.Property=1]="Property",e[e.Parameter=2]="Parameter",e[e.CallbackParameter=4]="CallbackParameter"}(o||(o={}))}(Le=t.JSDocParser||(t.JSDocParser={}))}(l||(l={})),function(t){function r(t,r,i,o,s,c){return void(r?l(t):u(t));function u(t){var r="";if(c&&n(t)&&(r=o.substring(t.pos,t.end)),t._children&&(t._children=void 0),e.setTextRangePosEnd(t,t.pos+i,t.end+i),c&&n(t)&&e.Debug.assert(r===s.substring(t.pos,t.end)),m(t,u,l),e.hasJSDocNodes(t))for(var p=0,d=t.jsDoc;p<d.length;p++)u(d[p]);a(t,c)}function l(t){t._children=void 0,e.setTextRangePosEnd(t,t.pos+i,t.end+i);for(var r=0,n=t;r<n.length;r++)u(n[r])}}function n(e){switch(e.kind){case 10:case 8:case 79:return!0}return!1}function i(t,r,n,i,a){e.Debug.assert(t.end>=r,"Adjusting an element that was entirely before the change range"),e.Debug.assert(t.pos<=n,"Adjusting an element that was entirely after the change range"),e.Debug.assert(t.pos<=t.end);var o=Math.min(t.pos,i),s=t.end>=n?t.end+a:Math.min(t.end,i);e.Debug.assert(o<=s),t.parent&&(e.Debug.assertGreaterThanOrEqual(o,t.parent.pos),e.Debug.assertLessThanOrEqual(s,t.parent.end)),e.setTextRangePosEnd(t,o,s)}function a(t,r){if(r){var n=t.pos,i=function(t){e.Debug.assert(t.pos>=n),n=t.end};if(e.hasJSDocNodes(t))for(var a=0,o=t.jsDoc;a<o.length;a++)i(o[a]);m(t,i),e.Debug.assert(n<=t.end)}}function o(t,r){var n,i=t;if(m(t,(function t(a){if(!e.nodeIsMissing(a)){if(!(a.pos<=r))return e.Debug.assert(a.pos>r),!0;if(a.pos>=i.pos&&(i=a),r<a.end)return m(a,t),!0;e.Debug.assert(a.end<=r),n=a}})),n){var a=function(t){for(;;){var r=e.getLastChild(t);if(!r)return t;t=r}}(n);a.pos>i.pos&&(i=a)}return i}function s(t,r,n,i){var a=t.text;if(n&&(e.Debug.assert(a.length-n.span.length+n.newLength===r.length),i||e.Debug.shouldAssert(3))){var o=a.substr(0,n.span.start),s=r.substr(0,n.span.start);e.Debug.assert(o===s);var c=a.substring(e.textSpanEnd(n.span),a.length),u=r.substring(e.textSpanEnd(e.textChangeRangeNewSpan(n)),r.length);e.Debug.assert(c===u)}}function c(t){var r=t.statements,n=0;e.Debug.assert(n<r.length);var i=r[n],a=-1;return{currentNode:function(o){return o!==a&&(i&&i.end===o&&n<r.length-1&&(n++,i=r[n]),(!i||i.pos!==o)&&function(e){return r=void 0,n=-1,i=void 0,void m(t,a,o);function a(t){return e>=t.pos&&e<t.end&&(m(t,a,o),!0)}function o(t){if(e>=t.pos&&e<t.end)for(var s=0;s<t.length;s++){var c=t[s];if(c){if(c.pos===e)return r=t,n=s,i=c,!0;if(c.pos<e&&e<c.end)return m(c,a,o),!0}}return!1}}(o)),a=o,e.Debug.assert(!i||i.pos===o),i}}}var u,p;t.updateSourceFile=function(t,n,u,p){if(s(t,n,u,p=p||e.Debug.shouldAssert(2)),e.textChangeRangeIsUnchanged(u))return t;if(0===t.statements.length)return l.parseSourceFile(t.fileName,n,t.languageVersion,void 0,!0,t.scriptKind);var d=t;e.Debug.assert(!d.hasBeenIncrementallyParsed),d.hasBeenIncrementallyParsed=!0,l.fixupParentReferences(d);var f=t.text,_=c(t),g=function(t,r){for(var n=1,i=r.span.start,a=0;i>0&&a<=n;a++){var s=o(t,i);e.Debug.assert(s.pos<=i);var c=s.pos;i=Math.max(0,c-1)}var u=e.createTextSpanFromBounds(i,e.textSpanEnd(r.span)),l=r.newLength+(r.span.start-i);return e.createTextChangeRange(u,l)}(t,u);s(t,n,g,p),e.Debug.assert(g.span.start<=u.span.start),e.Debug.assert(e.textSpanEnd(g.span)===e.textSpanEnd(u.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(g))===e.textSpanEnd(e.textChangeRangeNewSpan(u)));var h=e.textChangeRangeNewSpan(g).length-g.span.length;!function(t,n,o,s,c,u,l,p){return void d(t);function d(t){if(e.Debug.assert(t.pos<=t.end),t.pos>o)r(t,!1,c,u,l,p);else{var _=t.end;if(_>=n){if(t.intersectsChange=!0,t._children=void 0,i(t,n,o,s,c),m(t,d,f),e.hasJSDocNodes(t))for(var g=0,h=t.jsDoc;g<h.length;g++)d(h[g]);a(t,p)}else e.Debug.assert(_<n)}}function f(t){if(e.Debug.assert(t.pos<=t.end),t.pos>o)r(t,!0,c,u,l,p);else{var a=t.end;if(a>=n){t.intersectsChange=!0,t._children=void 0,i(t,n,o,s,c);for(var f=0,_=t;f<_.length;f++)d(_[f])}else e.Debug.assert(a<n)}}}(d,g.span.start,e.textSpanEnd(g.span),e.textSpanEnd(e.textChangeRangeNewSpan(g)),h,f,n,p);var y=l.parseSourceFile(t.fileName,n,t.languageVersion,_,!0,t.scriptKind);return y.commentDirectives=function(t,r,n,i,a,o,s,c){if(!t)return r;for(var u,l=!1,p=0,d=t;p<d.length;p++){var f=d[p],_=f.range,m=f.type;if(_.end<n)u=e.append(u,f);else if(_.pos>i){h();var g={range:{pos:_.pos+a,end:_.end+a},type:m};u=e.append(u,g),c&&e.Debug.assert(o.substring(_.pos,_.end)===s.substring(g.range.pos,g.range.end))}}return h(),u;function h(){l||(l=!0,u?r&&u.push.apply(u,r):u=r)}}(t.commentDirectives,y.commentDirectives,g.span.start,e.textSpanEnd(g.span),h,f,n,p),y.impliedNodeFormat=t.impliedNodeFormat,y},t.createSyntaxCursor=c,(p=u||(u={}))[p.Value=-1]="Value"}(p||(p={})),e.isDeclarationFileName=y,e.processCommentPragmas=v,e.processPragmasIntoFields=D;var b=new e.Map;function x(e){if(b.has(e))return b.get(e);var t=new RegExp("(\\s".concat(e,"\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))"),"im");return b.set(e,t),t}var E=/^\/\/\/\s*<(\S+)\s.*?\/>/im,S=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function C(t,r,n){var i=2===r.kind&&E.exec(n);if(i){var a=i[1].toLowerCase(),o=e.commentPragmas[a];if(!(o&&1&o.kind))return;if(o.args){for(var s={},c=0,u=o.args;c<u.length;c++){var l=u[c],p=x(l.name).exec(n);if(!p&&!l.optional)return;if(p){var d=p[2]||p[3];if(l.captureSpan){var f=r.pos+p.index+p[1].length+1;s[l.name]={value:d,pos:f,end:f+d.length}}else s[l.name]=d}}t.push({name:a,args:{arguments:s,range:r}})}else t.push({name:a,args:{arguments:{},range:r}})}else{var _=2===r.kind&&S.exec(n);if(_)return T(t,r,2,_);if(3===r.kind)for(var m=/@(\S+)(\s+.*)?$/gim,g=void 0;g=m.exec(n);)T(t,r,4,g)}}function T(t,r,n,i){if(i){var a=i[1].toLowerCase(),o=e.commentPragmas[a];if(o&&o.kind&n){var s=function(t,r){if(!r)return{};if(!t.args)return{};for(var n=e.trimString(r).split(/\s+/),i={},a=0;a<t.args.length;a++){var o=t.args[a];if(!n[a]&&!o.optional)return"fail";if(o.captureSpan)return e.Debug.fail("Capture spans not yet implemented for non-xml pragmas");i[o.name]=n[a]}return i}(o,i[2]);"fail"!==s&&t.push({name:a,args:{arguments:s,range:r}})}}}function k(e,t){return e.kind===t.kind&&(79===e.kind?e.escapedText===t.escapedText:108===e.kind||e.name.escapedText===t.name.escapedText&&k(e.expression,t.expression))}e.tagNamesAreEquivalent=k}(n||(n={})),function(e){e.compileOnSaveCommandLineOption={name:"compileOnSave",type:"boolean",defaultValueDescription:!1};var t=new e.Map(e.getEntries({preserve:1,"react-native":3,react:2,"react-jsx":4,"react-jsxdev":5}));e.inverseJsxOptionMap=new e.Map(e.arrayFrom(e.mapIterator(t.entries(),(function(e){var t=e[0];return[""+e[1],t]}))));var r=[["es5","lib.es5.d.ts"],["es6","lib.es2015.d.ts"],["es2015","lib.es2015.d.ts"],["es7","lib.es2016.d.ts"],["es2016","lib.es2016.d.ts"],["es2017","lib.es2017.d.ts"],["es2018","lib.es2018.d.ts"],["es2019","lib.es2019.d.ts"],["es2020","lib.es2020.d.ts"],["es2021","lib.es2021.d.ts"],["es2022","lib.es2022.d.ts"],["esnext","lib.esnext.d.ts"],["dom","lib.dom.d.ts"],["dom.iterable","lib.dom.iterable.d.ts"],["webworker","lib.webworker.d.ts"],["webworker.importscripts","lib.webworker.importscripts.d.ts"],["webworker.iterable","lib.webworker.iterable.d.ts"],["scripthost","lib.scripthost.d.ts"],["es2015.core","lib.es2015.core.d.ts"],["es2015.collection","lib.es2015.collection.d.ts"],["es2015.generator","lib.es2015.generator.d.ts"],["es2015.iterable","lib.es2015.iterable.d.ts"],["es2015.promise","lib.es2015.promise.d.ts"],["es2015.proxy","lib.es2015.proxy.d.ts"],["es2015.reflect","lib.es2015.reflect.d.ts"],["es2015.symbol","lib.es2015.symbol.d.ts"],["es2015.symbol.wellknown","lib.es2015.symbol.wellknown.d.ts"],["es2016.array.include","lib.es2016.array.include.d.ts"],["es2017.object","lib.es2017.object.d.ts"],["es2017.sharedmemory","lib.es2017.sharedmemory.d.ts"],["es2017.string","lib.es2017.string.d.ts"],["es2017.intl","lib.es2017.intl.d.ts"],["es2017.typedarrays","lib.es2017.typedarrays.d.ts"],["es2018.asyncgenerator","lib.es2018.asyncgenerator.d.ts"],["es2018.asynciterable","lib.es2018.asynciterable.d.ts"],["es2018.intl","lib.es2018.intl.d.ts"],["es2018.promise","lib.es2018.promise.d.ts"],["es2018.regexp","lib.es2018.regexp.d.ts"],["es2019.array","lib.es2019.array.d.ts"],["es2019.object","lib.es2019.object.d.ts"],["es2019.string","lib.es2019.string.d.ts"],["es2019.symbol","lib.es2019.symbol.d.ts"],["es2020.bigint","lib.es2020.bigint.d.ts"],["es2020.promise","lib.es2020.promise.d.ts"],["es2020.sharedmemory","lib.es2020.sharedmemory.d.ts"],["es2020.string","lib.es2020.string.d.ts"],["es2020.symbol.wellknown","lib.es2020.symbol.wellknown.d.ts"],["es2020.intl","lib.es2020.intl.d.ts"],["es2021.promise","lib.es2021.promise.d.ts"],["es2021.string","lib.es2021.string.d.ts"],["es2021.weakref","lib.es2021.weakref.d.ts"],["es2021.intl","lib.es2021.intl.d.ts"],["es2022.array","lib.es2022.array.d.ts"],["es2022.error","lib.es2022.error.d.ts"],["es2022.object","lib.es2022.object.d.ts"],["es2022.string","lib.es2022.string.d.ts"],["esnext.array","lib.es2022.array.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.bigint","lib.es2020.bigint.d.ts"],["esnext.string","lib.es2022.string.d.ts"],["esnext.promise","lib.es2021.promise.d.ts"],["esnext.weakref","lib.es2021.weakref.d.ts"]];e.libs=r.map((function(e){return e[0]})),e.libMap=new e.Map(r),e.optionsForWatch=[{name:"watchFile",type:new e.Map(e.getEntries({fixedpollinginterval:e.WatchFileKind.FixedPollingInterval,prioritypollinginterval:e.WatchFileKind.PriorityPollingInterval,dynamicprioritypolling:e.WatchFileKind.DynamicPriorityPolling,fixedchunksizepolling:e.WatchFileKind.FixedChunkSizePolling,usefsevents:e.WatchFileKind.UseFsEvents,usefseventsonparentdirectory:e.WatchFileKind.UseFsEventsOnParentDirectory})),category:e.Diagnostics.Watch_and_Build_Modes,description:e.Diagnostics.Specify_how_the_TypeScript_watch_mode_works,defaultValueDescription:e.WatchFileKind.UseFsEvents},{name:"watchDirectory",type:new e.Map(e.getEntries({usefsevents:e.WatchDirectoryKind.UseFsEvents,fixedpollinginterval:e.WatchDirectoryKind.FixedPollingInterval,dynamicprioritypolling:e.WatchDirectoryKind.DynamicPriorityPolling,fixedchunksizepolling:e.WatchDirectoryKind.FixedChunkSizePolling})),category:e.Diagnostics.Watch_and_Build_Modes,description:e.Diagnostics.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality,defaultValueDescription:e.WatchDirectoryKind.UseFsEvents},{name:"fallbackPolling",type:new e.Map(e.getEntries({fixedinterval:e.PollingWatchKind.FixedInterval,priorityinterval:e.PollingWatchKind.PriorityInterval,dynamicpriority:e.PollingWatchKind.DynamicPriority,fixedchunksize:e.PollingWatchKind.FixedChunkSize})),category:e.Diagnostics.Watch_and_Build_Modes,description:e.Diagnostics.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,defaultValueDescription:e.PollingWatchKind.PriorityInterval},{name:"synchronousWatchDirectory",type:"boolean",category:e.Diagnostics.Watch_and_Build_Modes,description:e.Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively,defaultValueDescription:!1},{name:"excludeDirectories",type:"list",element:{name:"excludeDirectory",type:"string",isFilePath:!0,extraValidation:Se},category:e.Diagnostics.Watch_and_Build_Modes,description:e.Diagnostics.Remove_a_list_of_directories_from_the_watch_process},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:!0,extraValidation:Se},category:e.Diagnostics.Watch_and_Build_Modes,description:e.Diagnostics.Remove_a_list_of_files_from_the_watch_mode_s_processing}],e.commonOptionsWithBuild=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_this_message,defaultValueDescription:!1},{name:"help",shortName:"?",type:"boolean",defaultValueDescription:!1},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Watch_input_files,defaultValueDescription:!1},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:e.Diagnostics.Output_Formatting,description:e.Diagnostics.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:!1},{name:"listFiles",type:"boolean",category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:!1},{name:"explainFiles",type:"boolean",category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Print_files_read_during_the_compilation_including_why_it_was_included,defaultValueDescription:!1},{name:"listEmittedFiles",type:"boolean",category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:!1},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Output_Formatting,description:e.Diagnostics.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:!0},{name:"traceResolution",type:"boolean",category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:!1},{name:"diagnostics",type:"boolean",category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Output_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"extendedDiagnostics",type:"boolean",category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:e.Diagnostics.FILE_OR_DIRECTORY,category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:"profile.cpuprofile"},{name:"generateTrace",type:"string",isFilePath:!0,isCommandLineOnly:!0,paramType:e.Diagnostics.DIRECTORY,category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:e.Diagnostics.Projects,description:e.Diagnostics.Enable_incremental_compilation,transpileOptionValue:void 0,defaultValueDescription:e.Diagnostics.false_unless_composite_is_set},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Watch_and_Build_Modes,description:e.Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it,defaultValueDescription:!1},{name:"locale",type:"string",category:e.Diagnostics.Command_line_Options,isCommandLineOnly:!0,description:e.Diagnostics.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:e.Diagnostics.Platform_specific}],e.targetOptionDeclaration={name:"target",shortName:"t",type:new e.Map(e.getEntries({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,es2021:8,es2022:9,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.VERSION,showInSimplifiedHelpView:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:0};var n,i=[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_all_compiler_options,defaultValueDescription:!1},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_the_compiler_s_version,defaultValueDescription:!1},{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,defaultValueDescription:!1},{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,defaultValueDescription:!1},{name:"showConfig",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,isCommandLineOnly:!0,description:e.Diagnostics.Print_the_final_configuration_instead_of_building,defaultValueDescription:!1},{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,defaultValueDescription:!1},e.targetOptionDeclaration,{name:"module",shortName:"m",type:new e.Map(e.getEntries({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,es2020:e.ModuleKind.ES2020,es2022:e.ModuleKind.ES2022,esnext:e.ModuleKind.ESNext,node12:e.ModuleKind.Node12,nodenext:e.ModuleKind.NodeNext})),affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_what_module_code_is_generated,defaultValueDescription:void 0},{name:"lib",type:"list",element:{name:"lib",type:e.libMap,defaultValueDescription:void 0},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.JavaScript_Support,description:e.Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,defaultValueDescription:!1},{name:"checkJs",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.JavaScript_Support,description:e.Diagnostics.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:!1},{name:"jsx",type:t,affectsSourceFile:!0,affectsEmit:!0,affectsModuleResolution:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Specify_what_JSX_code_is_generated,defaultValueDescription:void 0},{name:"declaration",shortName:"d",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,transpileOptionValue:void 0,description:e.Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:e.Diagnostics.false_unless_composite_is_set},{name:"declarationMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,transpileOptionValue:void 0,defaultValueDescription:!1,description:e.Diagnostics.Create_sourcemaps_for_d_ts_files},{name:"emitDeclarationOnly",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"sourceMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,defaultValueDescription:!1,description:e.Diagnostics.Create_source_map_files_for_emitted_JavaScript_files},{name:"outFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output,transpileOptionValue:void 0},{name:"outDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Specify_an_output_folder_for_all_emitted_files},{name:"rootDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_the_root_folder_within_your_source_files,defaultValueDescription:e.Diagnostics.Computed_from_the_list_of_input_files},{name:"composite",type:"boolean",affectsEmit:!0,isTSConfigOnly:!0,category:e.Diagnostics.Projects,transpileOptionValue:void 0,defaultValueDescription:!1,description:e.Diagnostics.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,category:e.Diagnostics.Projects,transpileOptionValue:void 0,defaultValueDescription:".tsbuildinfo",description:e.Diagnostics.Specify_the_folder_for_tsbuildinfo_incremental_compilation_files},{name:"removeComments",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,defaultValueDescription:!1,description:e.Diagnostics.Disable_emitting_comments},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Disable_emitting_files_from_a_compilation,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"importHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,defaultValueDescription:!1},{name:"importsNotUsedAsValues",type:new e.Map(e.getEntries({remove:0,preserve:1,error:2})),affectsEmit:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,defaultValueDescription:0},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:!1},{name:"isolatedModules",type:"boolean",category:e.Diagnostics.Interop_Constraints,description:e.Diagnostics.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,transpileOptionValue:!0,defaultValueDescription:!1},{name:"strict",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enable_all_strict_type_checking_options,defaultValueDescription:!1},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:"strictFunctionTypes",type:"boolean",strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:"strictBindCallApply",type:"boolean",strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:"useUnknownInCatchVariables",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Type_catch_clause_variables_as_unknown_instead_of_any,defaultValueDescription:!1},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Ensure_use_strict_is_always_emitted,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enable_error_reporting_when_a_local_variables_aren_t_read,defaultValueDescription:!1},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:!1},{name:"exactOptionalPropertyTypes",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined,defaultValueDescription:!1},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,defaultValueDescription:!1},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,defaultValueDescription:!1},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Include_undefined_in_index_signature_results,defaultValueDescription:!1},{name:"noImplicitOverride",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,defaultValueDescription:!1},{name:"noPropertyAccessFromIndexSignature",type:"boolean",showInSimplifiedHelpView:!1,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,defaultValueDescription:!1},{name:"moduleResolution",type:new e.Map(e.getEntries({node:e.ModuleResolutionKind.NodeJs,classic:e.ModuleResolutionKind.Classic,node12:e.ModuleResolutionKind.Node12,nodenext:e.ModuleResolutionKind.NodeNext})),affectsModuleResolution:!0,paramType:e.Diagnostics.STRATEGY,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:e.Diagnostics.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:void 0,defaultValueDescription:e.Diagnostics.Computed_from_the_list_of_input_files},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:"types",type:"list",element:{name:"types",type:"string"},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Interop_Constraints,description:e.Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:e.Diagnostics.module_system_or_esModuleInterop},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Interop_Constraints,description:e.Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:!1},{name:"preserveSymlinks",type:"boolean",category:e.Diagnostics.Interop_Constraints,description:e.Diagnostics.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,defaultValueDescription:!1},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:!1},{name:"sourceRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Emit,description:e.Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:"mapRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Emit,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.Emit,description:e.Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"inlineSources",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"experimentalDecorators",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Enable_experimental_support_for_TC39_stage_2_draft_decorators,defaultValueDescription:!1},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files,defaultValueDescription:!1},{name:"jsxFactory",type:"string",category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h,defaultValueDescription:"`React.createElement`"},{name:"jsxFragmentFactory",type:"string",category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment},{name:"jsxImportSource",type:"string",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsModuleResolution:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk,defaultValueDescription:"react"},{name:"resolveJsonModule",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Enable_importing_json_files,defaultValueDescription:!1},{name:"out",type:"string",affectsEmit:!0,isFilePath:!1,category:e.Diagnostics.Backwards_Compatibility,paramType:e.Diagnostics.FILE,transpileOptionValue:void 0,description:e.Diagnostics.Deprecated_setting_Use_outFile_instead},{name:"reactNamespace",type:"string",affectsEmit:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:"`React`"},{name:"skipDefaultLibCheck",type:"boolean",category:e.Diagnostics.Completeness,description:e.Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:!1},{name:"charset",type:"string",category:e.Diagnostics.Backwards_Compatibility,description:e.Diagnostics.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files,defaultValueDescription:"utf8"},{name:"emitBOM",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,defaultValueDescription:!1},{name:"newLine",type:new e.Map(e.getEntries({crlf:0,lf:1})),affectsEmit:!0,paramType:e.Diagnostics.NEWLINE,category:e.Diagnostics.Emit,description:e.Diagnostics.Set_the_newline_character_for_emitting_files,defaultValueDescription:e.Diagnostics.Platform_specific},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Output_Formatting,description:e.Diagnostics.Disable_truncating_types_in_error_messages,defaultValueDescription:!1},{name:"noLib",type:"boolean",category:e.Diagnostics.Language_and_Environment,affectsProgramStructure:!0,description:e.Diagnostics.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,transpileOptionValue:!0,defaultValueDescription:!1},{name:"stripInternal",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,defaultValueDescription:!1},{name:"disableSizeLimit",type:"boolean",affectsProgramStructure:!0,category:e.Diagnostics.Editor_Support,description:e.Diagnostics.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,defaultValueDescription:!1},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Projects,description:e.Diagnostics.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,defaultValueDescription:!1},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Projects,description:e.Diagnostics.Opt_a_project_out_of_multi_project_reference_checking_when_editing,defaultValueDescription:!1},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Projects,description:e.Diagnostics.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,defaultValueDescription:!1},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Backwards_Compatibility,description:e.Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:!1},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:!1},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Emit,transpileOptionValue:void 0,description:e.Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:!1},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:!1},{name:"declarationDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,category:e.Diagnostics.Emit,transpileOptionValue:void 0,description:e.Diagnostics.Specify_the_output_directory_for_generated_declaration_files},{name:"skipLibCheck",type:"boolean",category:e.Diagnostics.Completeness,description:e.Diagnostics.Skip_type_checking_all_d_ts_files,defaultValueDescription:!1},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Disable_error_reporting_for_unused_labels,defaultValueDescription:void 0},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Disable_error_reporting_for_unreachable_code,defaultValueDescription:void 0},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Backwards_Compatibility,description:e.Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:!1},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Backwards_Compatibility,description:e.Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:!1},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Interop_Constraints,description:e.Diagnostics.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:!1},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:e.Diagnostics.JavaScript_Support,description:e.Diagnostics.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,defaultValueDescription:0},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Backwards_Compatibility,description:e.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:!1},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:e.Diagnostics.true_for_ES2022_and_above_including_ESNext},{name:"preserveValueImports",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,defaultValueDescription:!1},{name:"keyofStringsOnly",type:"boolean",category:e.Diagnostics.Backwards_Compatibility,description:e.Diagnostics.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,defaultValueDescription:!1},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:e.Diagnostics.List_of_language_service_plugins,category:e.Diagnostics.Editor_Support}];function s(t){var r=new e.Map,n=new e.Map;return e.forEach(t,(function(e){r.set(e.name.toLowerCase(),e),e.shortName&&n.set(e.shortName,e.name)})),{optionsNameMap:r,shortOptionNames:n}}function c(){return n||(n=s(e.optionDeclarations))}e.optionDeclarations=a(a([],e.commonOptionsWithBuild,!0),i,!0),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.optionsAffectingProgramStructure=e.optionDeclarations.filter((function(e){return!!e.affectsProgramStructure})),e.transpileOptionValueCompilerOptions=e.optionDeclarations.filter((function(t){return e.hasProperty(t,"transpileOptionValue")})),e.optionsForBuild=[{name:"verbose",shortName:"v",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Enable_verbose_logging,type:"boolean",defaultValueDescription:!1},{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",defaultValueDescription:!1},{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",defaultValueDescription:!1},{name:"clean",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Delete_the_outputs_of_all_projects,type:"boolean",defaultValueDescription:!1}],e.buildOpts=a(a([],e.commonOptionsWithBuild,!0),e.optionsForBuild,!0),e.typeAcquisitionDeclarations=[{name:"enableAutoDiscovery",type:"boolean",defaultValueDescription:!1},{name:"enable",type:"boolean",defaultValueDescription:!1},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},{name:"disableFilenameBasedTypeAcquisition",type:"boolean",defaultValueDescription:!1}],e.createOptionNameMap=s,e.getOptionsNameMap=c;var u,l={diagnostic:e.Diagnostics.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:x};function p(e){return e&&void 0!==e.enableAutoDiscovery&&void 0===e.enable?{enable:e.enableAutoDiscovery,include:e.include||[],exclude:e.exclude||[]}:e}function d(t){return f(t,e.createCompilerDiagnostic)}function f(t,r){var n=e.arrayFrom(t.type.keys()).map((function(e){return"'".concat(e,"'")})).join(", ");return r(e.Diagnostics.Argument_for_0_option_must_be_Colon_1,"--".concat(t.name),n)}function _(t,r,n){return he(t,e.trimString(r||""),n)}function m(t,r,n){if(void 0===r&&(r=""),r=e.trimString(r),!e.startsWith(r,"-")){if(""===r)return[];var i=r.split(",");switch(t.element.type){case"number":return e.mapDefined(i,(function(e){return ge(t.element,parseInt(e),n)}));case"string":return e.mapDefined(i,(function(e){return ge(t.element,e||"",n)}));default:return e.mapDefined(i,(function(e){return _(t.element,e,n)}))}}}function g(e){return e.name}function h(t,r,n,i){var a;if(null!==(a=r.alternateMode)&&void 0!==a&&a.getOptionsNameMap().optionsNameMap.has(t.toLowerCase()))return n(r.alternateMode.diagnostic,t);var o=e.getSpellingSuggestion(t,r.optionDeclarations,g);return o?n(r.unknownDidYouMeanDiagnostic,i||t,o.name):n(r.unknownOptionDiagnostic,i||t)}function y(t,r,n){var i,a={},o=[],s=[];return c(r),{options:a,watchOptions:i,fileNames:o,errors:s};function c(r){for(var n=0;n<r.length;){var c=r[n];if(n++,64===c.charCodeAt(0))u(c.slice(1));else if(45===c.charCodeAt(0)){var l=c.slice(45===c.charCodeAt(1)?2:1),p=b(t.getOptionsNameMap,l,!0);if(p)n=v(r,n,t,p,a,s);else{var d=b(L.getOptionsNameMap,l,!0);d?n=v(r,n,L,d,i||(i={}),s):s.push(h(l,t,e.createCompilerDiagnostic,c))}}else o.push(c)}}function u(t){var r=T(t,n||function(t){return e.sys.readFile(t)});if(e.isString(r)){for(var i=[],a=0;;){for(;a<r.length&&r.charCodeAt(a)<=32;)a++;if(a>=r.length)break;var o=a;if(34===r.charCodeAt(o)){for(a++;a<r.length&&34!==r.charCodeAt(a);)a++;a<r.length?(i.push(r.substring(o+1,a)),a++):s.push(e.createCompilerDiagnostic(e.Diagnostics.Unterminated_quoted_string_in_response_file_0,t))}else{for(;r.charCodeAt(a)>32;)a++;i.push(r.substring(o,a))}}c(i)}else s.push(r)}}function v(t,r,n,i,a,o){if(i.isTSConfigOnly)"null"===(s=t[r])?(a[i.name]=void 0,r++):"boolean"===i.type?"false"===s?(a[i.name]=ge(i,!1,o),r++):("true"===s&&r++,o.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,i.name))):(o.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,i.name)),s&&!e.startsWith(s,"-")&&r++);else if(!t[r]&&"boolean"!==i.type&&o.push(e.createCompilerDiagnostic(n.optionTypeMismatchDiagnostic,i.name,U(i))),"null"!==t[r])switch(i.type){case"number":a[i.name]=ge(i,parseInt(t[r]),o),r++;break;case"boolean":var s=t[r];a[i.name]=ge(i,"false"!==s,o),("false"===s||"true"===s)&&r++;break;case"string":a[i.name]=ge(i,t[r]||"",o),r++;break;case"list":var c=m(i,t[r],o);a[i.name]=c||[],c&&r++;break;default:a[i.name]=_(i,t[r],o),r++}else a[i.name]=void 0,r++;return r}function D(e,t){return b(c,e,t)}function b(e,t,r){void 0===r&&(r=!1),t=t.toLowerCase();var n=e(),i=n.optionsNameMap,a=n.shortOptionNames;if(r){var o=a.get(t);void 0!==o&&(t=o)}return i.get(t)}function x(){return u||(u=s(e.buildOpts))}e.defaultInitCompilerOptions={module:e.ModuleKind.CommonJS,target:3,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},e.convertEnableAutoDiscoveryToEnable=p,e.createCompilerDiagnosticForInvalidCustomType=d,e.parseCustomTypeOption=_,e.parseListTypeOption=m,e.parseCommandLineWorker=y,e.compilerOptionsDidYouMeanDiagnostics={alternateMode:l,getOptionsNameMap:c,optionDeclarations:e.optionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Compiler_option_0_expects_an_argument},e.parseCommandLine=function(t,r){return y(e.compilerOptionsDidYouMeanDiagnostics,t,r)},e.getOptionFromName=D;var E={alternateMode:{diagnostic:e.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:c},getOptionsNameMap:x,optionDeclarations:e.buildOpts,unknownOptionDiagnostic:e.Diagnostics.Unknown_build_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Build_option_0_requires_a_value_of_type_1};function S(t,r){var n=e.parseJsonText(t,r);return{config:j(n,n.parseDiagnostics,!1,void 0),error:n.parseDiagnostics.length?n.parseDiagnostics[0]:void 0}}function C(t,r){var n=T(t,r);return e.isString(n)?e.parseJsonText(t,n):{fileName:t,parseDiagnostics:[n]}}function T(t,r){var n;try{n=r(t)}catch(r){return e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,t,r.message)}return void 0===n?e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0,t):n}function k(t){return e.arrayToMap(t,g)}e.parseBuildCommand=function(t){var r=y(E,t),n=r.options,i=r.watchOptions,a=r.fileNames,o=r.errors,s=n;return 0===a.length&&a.push("."),s.clean&&s.force&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force")),s.clean&&s.verbose&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose")),s.clean&&s.watch&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch")),s.watch&&s.dry&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:s,watchOptions:i,projects:a,errors:o}},e.getDiagnosticText=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return e.createCompilerDiagnostic.apply(void 0,arguments).messageText},e.getParsedCommandLineOfConfigFile=function(t,r,n,i,a,o){var s=T(t,(function(e){return n.readFile(e)}));if(e.isString(s)){var c=e.parseJsonText(t,s),u=n.getCurrentDirectory();return c.path=e.toPath(t,u,e.createGetCanonicalFileName(n.useCaseSensitiveFileNames)),c.resolvedPath=c.path,c.originalFileName=c.fileName,Q(c,n,e.getNormalizedAbsolutePath(e.getDirectoryPath(t),u),r,e.getNormalizedAbsolutePath(t,u),void 0,o,i,a)}n.onUnRecoverableConfigFileDiagnostic(s)},e.readConfigFile=function(t,r){var n=T(t,r);return e.isString(n)?S(t,n):{config:{},error:n}},e.parseConfigFileTextToJson=S,e.readJsonConfigFile=C,e.tryReadFile=T;var A,N={optionDeclarations:e.typeAcquisitionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0_Did_you_mean_1};function P(){return A||(A=s(e.optionsForWatch))}var F,w,I,O,L={getOptionsNameMap:P,optionDeclarations:e.optionsForWatch,unknownOptionDiagnostic:e.Diagnostics.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Watch_option_0_requires_a_value_of_type_1};function M(){return F||(F=k(e.optionDeclarations))}function R(){return w||(w=k(e.optionsForWatch))}function B(){return I||(I=k(e.typeAcquisitionDeclarations))}function j(t,r,n,i){var a,o=null===(a=t.statements[0])||void 0===a?void 0:a.expression,s=n?(void 0===O&&(O={name:void 0,type:"object",elementOptions:k([{name:"compilerOptions",type:"object",elementOptions:M(),extraKeyDiagnostics:e.compilerOptionsDidYouMeanDiagnostics},{name:"watchOptions",type:"object",elementOptions:R(),extraKeyDiagnostics:L},{name:"typingOptions",type:"object",elementOptions:B(),extraKeyDiagnostics:N},{name:"typeAcquisition",type:"object",elementOptions:B(),extraKeyDiagnostics:N},{name:"extends",type:"string",category:e.Diagnostics.File_Management},{name:"references",type:"list",element:{name:"references",type:"object"},category:e.Diagnostics.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:e.Diagnostics.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:e.Diagnostics.File_Management,defaultValueDescription:e.Diagnostics.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:e.Diagnostics.File_Management,defaultValueDescription:e.Diagnostics.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},e.compileOnSaveCommandLineOption])}),O):void 0;if(o&&204!==o.kind){if(r.push(e.createDiagnosticForNodeInSourceFile(t,o,e.Diagnostics.The_root_value_of_a_0_file_must_be_an_object,"jsconfig.json"===e.getBaseFileName(t.fileName)?"jsconfig.json":"tsconfig.json")),e.isArrayLiteralExpression(o)){var c=e.find(o.elements,e.isObjectLiteralExpression);if(c)return J(t,c,r,!0,s,i)}return{}}return J(t,o,r,!0,s,i)}function K(e,t){var r;return J(e,null===(r=e.statements[0])||void 0===r?void 0:r.expression,t,!0,void 0,void 0)}function J(t,r,n,i,o,s){return r?l(r,o):i?{}:void 0;function c(e){return o&&o.elementOptions===e}function u(r,a,o,u){for(var d=i?{}:void 0,f=function(r){if(294!==r.kind)return n.push(e.createDiagnosticForNodeInSourceFile(t,r,e.Diagnostics.Property_assignment_expected)),"continue";r.questionToken&&n.push(e.createDiagnosticForNodeInSourceFile(t,r.questionToken,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),p(r.name)||n.push(e.createDiagnosticForNodeInSourceFile(t,r.name,e.Diagnostics.String_literal_with_double_quotes_expected));var f=e.isComputedNonLiteralName(r.name)?void 0:e.getTextOfPropertyName(r.name),_=f&&e.unescapeLeadingUnderscores(f),m=_&&a?a.get(_):void 0;_&&o&&!m&&(a?n.push(h(_,o,(function(n,i,a){return e.createDiagnosticForNodeInSourceFile(t,r.name,n,i,a)}))):n.push(e.createDiagnosticForNodeInSourceFile(t,r.name,o.unknownOptionDiagnostic,_)));var g=l(r.initializer,m);if(typeof _<"u"&&(i&&(d[_]=g),s&&(u||c(a)))){var y=q(m,g);u?y&&s.onSetValidOptionKeyValueInParent(u,m,g):c(a)&&(y?s.onSetValidOptionKeyValueInRoot(_,r.name,g,r.initializer):m||s.onSetUnknownOptionKeyValueInRoot(_,r.name,g,r.initializer))}},_=0,m=r.properties;_<m.length;_++)f(m[_]);return d}function l(r,o){var s;switch(r.kind){case 110:return h(o&&"boolean"!==o.type),g(!0);case 95:return h(o&&"boolean"!==o.type),g(!1);case 104:return h(o&&"extends"===o.name),g(null);case 10:p(r)||n.push(e.createDiagnosticForNodeInSourceFile(t,r,e.Diagnostics.String_literal_with_double_quotes_expected)),h(o&&e.isString(o.type)&&"string"!==o.type);var c=r.text;if(o&&!e.isString(o.type)){var d=o;d.type.has(c.toLowerCase())||(n.push(f(d,(function(n,i,a){return e.createDiagnosticForNodeInSourceFile(t,r,n,i,a)}))),s=!0)}return g(c);case 8:return h(o&&"number"!==o.type),g(Number(r.text));case 218:if(40!==r.operator||8!==r.operand.kind)break;return h(o&&"number"!==o.type),g(-Number(r.operand.text));case 204:h(o&&"object"!==o.type);var _=r;if(o){var m=o;return g(u(_,m.elementOptions,m.extraKeyDiagnostics,m.name))}return g(u(_,void 0,void 0,void 0));case 203:return h(o&&"list"!==o.type),g(function(t,r){if(i)return e.filter(t.map((function(e){return l(e,r)})),(function(e){return void 0!==e}));t.forEach((function(e){return l(e,r)}))}(r.elements,o&&o.element))}return void(o?h(!0):n.push(e.createDiagnosticForNodeInSourceFile(t,r,e.Diagnostics.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal)));function g(i){var c;if(!s){var u=null===(c=null==o?void 0:o.extraValidation)||void 0===c?void 0:c.call(o,i);if(u)return void n.push(e.createDiagnosticForNodeInSourceFile.apply(void 0,a([t,r],u,!1)))}return i}function h(i){i&&(n.push(e.createDiagnosticForNodeInSourceFile(t,r,e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,o.name,U(o))),s=!0)}}function p(r){return e.isStringLiteral(r)&&e.isStringDoubleQuoted(r,t)}}function U(t){return"list"===t.type?"Array":e.isString(t.type)?t.type:"string"}function q(t,r){return!!t&&(!!ee(r)||("list"===t.type?e.isArray(r):typeof r===(e.isString(t.type)?t.type:"string")))}function V(t){return o({},e.arrayFrom(t.entries()).reduce((function(e,t){var r;return o(o({},e),((r={})[t[0]]=t[1],r))}),{}))}function z(t){if(e.length(t)){if(1!==e.length(t))return t;if("**/*"!==t[0])return t}}function W(e){if("string"!==e.type&&"number"!==e.type&&"boolean"!==e.type&&"object"!==e.type)return"list"===e.type?W(e.element):e.type}function H(t,r){return e.forEachEntry(r,(function(e,r){if(e===t)return r}))}function G(e,t){return $(e,c(),t)}function $(t,r,n){var i=r.optionsNameMap,a=new e.Map,o=n&&e.createGetCanonicalFileName(n.useCaseSensitiveFileNames),s=function(r){if(e.hasProperty(t,r)){if(i.has(r)&&(i.get(r).category===e.Diagnostics.Command_line_Options||i.get(r).category===e.Diagnostics.Output_Formatting))return"continue";var s=t[r],c=i.get(r.toLowerCase());if(c){var u=W(c);u?"list"===c.type?a.set(r,s.map((function(e){return H(e,u)}))):a.set(r,H(s,u)):n&&c.isFilePath?a.set(r,e.getRelativePathFromFile(n.configFilePath,e.getNormalizedAbsolutePath(s,e.getDirectoryPath(n.configFilePath)),o)):a.set(r,s)}}};for(var c in t)s(c);return a}function Y(t){return G(e.extend(t,e.defaultInitCompilerOptions))}function X(e,t,r){if(e&&!ee(t))if("list"===e.type){var n=t;if(e.element.isFilePath&&n.length)return n.map(r)}else if(e.isFilePath)return r(t);return t}function Q(e,t,r,n,i,a,o,s,c){return re(void 0,e,t,r,n,c,i,a,o,s)}function Z(e,t){t&&Object.defineProperty(e,"configFile",{enumerable:!1,writable:!1,value:t})}function ee(e){return null==e}function te(t,r){return e.getDirectoryPath(e.getNormalizedAbsolutePath(t,r))}function re(t,r,n,i,a,o,s,c,u,l){void 0===a&&(a={}),void 0===c&&(c=[]),void 0===u&&(u=[]),e.Debug.assert(void 0===t&&void 0!==r||void 0!==t&&void 0===r);var p=[],d=oe(t,r,n,i,s,c,p,l),f=d.raw,_=e.extend(a,d.options||{}),m=o&&d.watchOptions?e.extend(o,d.watchOptions):d.watchOptions||o;_.configFilePath=s&&e.normalizeSlashes(s);var g=function(){var t=x("references",(function(e){return"object"==typeof e}),"object"),n=D(b("files"));if(n){var i="no-prop"===t||e.isArray(t)&&0===t.length,a=e.hasProperty(f,"extends");if(0===n.length&&i&&!a)if(r){var o=s||"tsconfig.json",c=e.Diagnostics.The_files_list_in_config_file_0_is_empty,u=e.firstDefined(e.getTsConfigPropArray(r,"files"),(function(e){return e.initializer})),l=u?e.createDiagnosticForNodeInSourceFile(r,u,c,o):e.createCompilerDiagnostic(c,o);p.push(l)}else E(e.Diagnostics.The_files_list_in_config_file_0_is_empty,s||"tsconfig.json")}var d,_,m=D(b("include")),g=b("exclude"),h=D(g);if("no-prop"===g&&f.compilerOptions){var y=f.compilerOptions.outDir,v=f.compilerOptions.declarationDir;(y||v)&&(h=[y,v].filter((function(e){return!!e})))}return void 0===n&&void 0===m&&(m=["**/*"]),m&&(d=Ee(m,p,!0,r,"include")),h&&(_=Ee(h,p,!1,r,"exclude")),{filesSpecs:n,includeSpecs:m,excludeSpecs:h,validatedFilesSpec:e.filter(n,e.isString),validatedIncludeSpecs:d,validatedExcludeSpecs:_,pathPatterns:void 0}}();r&&(r.configFileSpecs=g),Z(_,r);var h,y,v=e.normalizePath(s?te(s,i):i);return{options:_,watchOptions:m,fileNames:(h=v,y=De(g,h,_,n,u),ie(y,ae(f),c)&&p.push(ne(g,s)),y),projectReferences:function(t){var r,n=x("references",(function(e){return"object"==typeof e}),"object");if(e.isArray(n))for(var i=0,a=n;i<a.length;i++){var o=a[i];"string"!=typeof o.path?E(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(r||(r=[])).push({path:e.getNormalizedAbsolutePath(o.path,t),originalPath:o.path,prepend:o.prepend,circular:o.circular})}return r}(v),typeAcquisition:d.typeAcquisition||le(),raw:f,errors:p,wildcardDirectories:Ce(g,v,n.useCaseSensitiveFileNames),compileOnSave:!!f.compileOnSave};function D(t){return e.isArray(t)?t:void 0}function b(t){return x(t,e.isString,"string")}function x(t,n,i){if(e.hasProperty(f,t)&&!ee(f[t])){if(e.isArray(f[t])){var a=f[t];return!r&&!e.every(a,n)&&p.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,t,i)),a}return E(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,t,"Array"),"not-array"}return"no-prop"}function E(t,n,i){r||p.push(e.createCompilerDiagnostic(t,n,i))}}function ne(t,r){var n=t.includeSpecs,i=t.excludeSpecs;return e.createCompilerDiagnostic(e.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,r||"tsconfig.json",JSON.stringify(n||[]),JSON.stringify(i||[]))}function ie(e,t,r){return 0===e.length&&t&&(!r||0===r.length)}function ae(t){return!e.hasProperty(t,"files")&&!e.hasProperty(t,"references")}function oe(t,r,n,o,s,c,u,l){var p;o=e.normalizeSlashes(o);var d=e.getNormalizedAbsolutePath(s||"",o);if(c.indexOf(d)>=0)return u.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,a(a([],c,!0),[d],!1).join(" -> "))),{raw:t||K(r,u)};var f=t?function(t,r,n,i,a){e.hasProperty(t,"excludes")&&a.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var o,s=ue(t.compilerOptions,n,a,i),c=pe(t.typeAcquisition||t.typingOptions,n,a,i),u=function(e,t,r){return de(R(),e,t,void 0,L,r)}(t.watchOptions,n,a);if(t.compileOnSave=function(t,r,n){if(!e.hasProperty(t,e.compileOnSaveCommandLineOption.name))return!1;var i=fe(e.compileOnSaveCommandLineOption,t.compileOnSave,r,n);return"boolean"==typeof i&&i}(t,n,a),t.extends)if(e.isString(t.extends)){var l=i?te(i,n):n;o=se(t.extends,r,l,a,e.createCompilerDiagnostic)}else a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));return{raw:t,options:s,watchOptions:u,typeAcquisition:c,extendedConfigPath:o}}(t,n,o,s,u):function(t,r,n,a,o){var s,c,u,l,p,d=ce(a),f={onSetValidOptionKeyValueInParent:function(t,r,i){var o;switch(t){case"compilerOptions":o=d;break;case"watchOptions":o=u||(u={});break;case"typeAcquisition":o=s||(s=le(a));break;case"typingOptions":o=c||(c=le(a));break;default:e.Debug.fail("Unknown option")}o[r.name]=_e(r,n,i)},onSetValidOptionKeyValueInRoot:function(i,s,c,u){if("extends"!==i);else{var p=a?te(a,n):n;l=se(c,r,p,o,(function(r,n){return e.createDiagnosticForNodeInSourceFile(t,u,r,n)}))}},onSetUnknownOptionKeyValueInRoot:function(r,n,a,s){"excludes"===r&&o.push(e.createDiagnosticForNodeInSourceFile(t,n,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)),e.find(i,(function(e){return e.name===r}))&&(p=e.append(p,n))}},_=j(t,o,!0,f);return s||(s=c?void 0!==c.enableAutoDiscovery?{enable:c.enableAutoDiscovery,include:c.include,exclude:c.exclude}:c:le(a)),p&&_&&void 0===_.compilerOptions&&o.push(e.createDiagnosticForNodeInSourceFile(t,p[0],e.Diagnostics._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,e.getTextOfPropertyName(p[0]))),{raw:_,options:d,watchOptions:u,typeAcquisition:s,extendedConfigPath:l}}(r,n,o,s,u);if(!(null===(p=f.options)||void 0===p)&&p.paths&&(f.options.pathsBasePath=o),f.extendedConfigPath){c=c.concat([d]);var _=function(t,r,n,i,a,o){var s,c,u,l,p=n.useCaseSensitiveFileNames?r:e.toFileNameLowerCase(r);if(o&&(c=o.get(p))?(u=c.extendedResult,l=c.extendedConfig):((u=C(r,(function(e){return n.readFile(e)}))).parseDiagnostics.length||(l=oe(void 0,u,n,e.getDirectoryPath(r),e.getBaseFileName(r),i,a,o)),o&&o.set(p,{extendedResult:u,extendedConfig:l})),t&&(t.extendedSourceFiles=[u.fileName],u.extendedSourceFiles&&(s=t.extendedSourceFiles).push.apply(s,u.extendedSourceFiles)),!u.parseDiagnostics.length)return l;a.push.apply(a,u.parseDiagnostics)}(r,f.extendedConfigPath,n,c,u,l);if(_&&function(e){return!!e.options}(_)){var m,g=_.raw,h=f.raw,y=function(t){!h[t]&&g[t]&&(h[t]=e.map(g[t],(function(t){return e.isRootedDiskPath(t)?t:e.combinePaths(m||(m=e.convertToRelativePath(e.getDirectoryPath(f.extendedConfigPath),o,e.createGetCanonicalFileName(n.useCaseSensitiveFileNames))),t)})))};y("include"),y("exclude"),y("files"),void 0===h.compileOnSave&&(h.compileOnSave=g.compileOnSave),f.options=e.assign({},_.options,f.options),f.watchOptions=f.watchOptions&&_.watchOptions?e.assign({},_.watchOptions,f.watchOptions):f.watchOptions||_.watchOptions}}return f}function se(t,r,n,i,a){if(t=e.normalizeSlashes(t),e.isRootedDiskPath(t)||e.startsWith(t,"./")||e.startsWith(t,"../")){var o=e.getNormalizedAbsolutePath(t,n);return r.fileExists(o)||e.endsWith(o,".json")||(o="".concat(o,".json"),r.fileExists(o))?o:void i.push(a(e.Diagnostics.File_0_not_found,t))}var s=e.nodeModuleNameResolver(t,e.combinePaths(n,"tsconfig.json"),{moduleResolution:e.ModuleResolutionKind.NodeJs},r,void 0,void 0,!0);if(s.resolvedModule)return s.resolvedModule.resolvedFileName;i.push(a(e.Diagnostics.File_0_not_found,t))}function ce(t){return t&&"jsconfig.json"===e.getBaseFileName(t)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function ue(t,r,n,i){var a=ce(i);return de(M(),t,r,a,e.compilerOptionsDidYouMeanDiagnostics,n),i&&(a.configFilePath=e.normalizeSlashes(i)),a}function le(t){return{enable:!!t&&"jsconfig.json"===e.getBaseFileName(t),include:[],exclude:[]}}function pe(e,t,r,n){var i=le(n),a=p(e);return de(B(),a,t,i,N,r),i}function de(t,r,n,i,a,o){if(r){for(var s in r){var c=t.get(s);c?(i||(i={}))[c.name]=fe(c,r[s],n,o):o.push(h(s,a,e.createCompilerDiagnostic))}return i}}function fe(t,r,n,i){if(q(t,r)){var a=t.type;if("list"===a&&e.isArray(r))return function(t,r,n,i){return e.filter(e.map(r,(function(e){return fe(t.element,e,n,i)})),(function(e){return!!e}))}(t,r,n,i);if(!e.isString(a))return he(t,r,i);var o=ge(t,r,i);return ee(o)?o:me(t,n,o)}i.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,t.name,U(t)))}function _e(t,r,n){if(!ee(n)){if("list"===t.type){var i=t;return i.element.isFilePath||!e.isString(i.element.type)?e.filter(e.map(n,(function(e){return _e(i.element,r,e)})),(function(e){return!!e})):n}return e.isString(t.type)?me(t,r,n):t.type.get(e.isString(n)?n.toLowerCase():n)}}function me(t,r,n){return t.isFilePath&&""===(n=e.getNormalizedAbsolutePath(n,r))&&(n="."),n}function ge(t,r,n){var i;if(!ee(r)){var a=null===(i=t.extraValidation)||void 0===i?void 0:i.call(t,r);if(!a)return r;n.push(e.createCompilerDiagnostic.apply(void 0,a))}}function he(e,t,r){if(!ee(t)){var n=t.toLowerCase(),i=e.type.get(n);if(void 0!==i)return ge(e,i,r);r.push(d(e))}}e.convertToObject=K,e.convertToObjectWorker=J,e.convertToTSConfig=function(t,r,n){var i,a,s,c=e.createGetCanonicalFileName(n.useCaseSensitiveFileNames),u=e.map(e.filter(t.fileNames,null!==(a=null===(i=t.options.configFile)||void 0===i?void 0:i.configFileSpecs)&&void 0!==a&&a.validatedIncludeSpecs?function(t,r,n,i){if(!r)return e.returnTrue;var a=e.getFileMatcherPatterns(t,n,r,i.useCaseSensitiveFileNames,i.getCurrentDirectory()),o=a.excludePattern&&e.getRegexFromPattern(a.excludePattern,i.useCaseSensitiveFileNames),s=a.includeFilePattern&&e.getRegexFromPattern(a.includeFilePattern,i.useCaseSensitiveFileNames);return s?o?function(e){return!(s.test(e)&&!o.test(e))}:function(e){return!s.test(e)}:o?function(e){return o.test(e)}:e.returnTrue}(r,t.options.configFile.configFileSpecs.validatedIncludeSpecs,t.options.configFile.configFileSpecs.validatedExcludeSpecs,n):e.returnTrue),(function(t){return e.getRelativePathFromFile(e.getNormalizedAbsolutePath(r,n.getCurrentDirectory()),e.getNormalizedAbsolutePath(t,n.getCurrentDirectory()),c)})),l=G(t.options,{configFilePath:e.getNormalizedAbsolutePath(r,n.getCurrentDirectory()),useCaseSensitiveFileNames:n.useCaseSensitiveFileNames}),p=t.watchOptions&&function(e){return $(e,P())}(t.watchOptions);return o(o({compilerOptions:o(o({},V(l)),{showConfig:void 0,configFile:void 0,configFilePath:void 0,help:void 0,init:void 0,listFiles:void 0,listEmittedFiles:void 0,project:void 0,build:void 0,version:void 0}),watchOptions:p&&V(p),references:e.map(t.projectReferences,(function(e){return o(o({},e),{path:e.originalPath?e.originalPath:"",originalPath:void 0})})),files:e.length(u)?u:void 0},null!==(s=t.options.configFile)&&void 0!==s&&s.configFileSpecs?{include:z(t.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:t.options.configFile.configFileSpecs.validatedExcludeSpecs}:{}),{compileOnSave:!!t.compileOnSave||void 0})},e.getCompilerOptionsDiffValue=function(t,r){var n,a,o=Y(t);return n=[],a=function(e){return Array(e+1).join(" ")}(2),i.forEach((function(t){if(o.has(t.name)){var r=o.get(t.name),i=Ae(t);r!==i?n.push("".concat(a).concat(t.name,": ").concat(r)):e.hasProperty(e.defaultInitCompilerOptions,t.name)&&n.push("".concat(a).concat(t.name,": ").concat(i))}})),n.join(r)+r},e.generateTSConfig=function(t,r,n){var i=Y(t);return function(){for(var t=e.createMultiMap(),s=0,c=e.optionDeclarations;s<c.length;s++){var u=c[s],l=u.category;o(u)&&t.add(e.getLocaleSpecificMessage(l),u)}var p=0,d=0,f=[];t.forEach((function(t,r){0!==f.length&&f.push({value:""}),f.push({value:"/* ".concat(r," */")});for(var n=0,a=t;n<a.length;n++){var o,s=a[n];o=i.has(s.name)?'"'.concat(s.name,'": ').concat(JSON.stringify(i.get(s.name))).concat((d+=1)===i.size?"":","):'// "'.concat(s.name,'": ').concat(JSON.stringify(Ae(s)),","),f.push({value:o,description:"/* ".concat(s.description&&e.getLocaleSpecificMessage(s.description)||s.name," */")}),p=Math.max(o.length,p)}}));var _=a(2),m=[];m.push("{"),m.push("".concat(_,'"compilerOptions": {')),m.push("".concat(_).concat(_,"/* ").concat(e.getLocaleSpecificMessage(e.Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file)," */")),m.push("");for(var g=0,h=f;g<h.length;g++){var y=h[g],v=y.value,D=y.description,b=void 0===D?"":D;m.push(v&&"".concat(_).concat(_).concat(v).concat(b&&a(p-v.length+2)+b))}if(r.length){m.push("".concat(_,"},")),m.push("".concat(_,'"files": ['));for(var x=0;x<r.length;x++)m.push("".concat(_).concat(_).concat(JSON.stringify(r[x])).concat(x===r.length-1?"":","));m.push("".concat(_,"]"))}else m.push("".concat(_,"}"));return m.push("}"),m.join(n)+n}();function a(e){return Array(e+1).join(" ")}function o(t){var r=t.category,n=t.name,a=t.isCommandLineOnly,o=[e.Diagnostics.Command_line_Options,e.Diagnostics.Editor_Support,e.Diagnostics.Compiler_Diagnostics,e.Diagnostics.Backwards_Compatibility,e.Diagnostics.Watch_and_Build_Modes,e.Diagnostics.Output_Formatting];return!a&&void 0!==r&&(!o.includes(r)||i.has(n))}},e.convertToOptionsWithAbsolutePaths=function(t,r){var n={},i=c().optionsNameMap;for(var a in t)e.hasProperty(t,a)&&(n[a]=X(i.get(a.toLowerCase()),t[a],r));return n.configFilePath&&(n.configFilePath=r(n.configFilePath)),n},e.parseJsonConfigFileContent=function(e,t,r,n,i,a,o,s,c){return re(e,void 0,t,r,n,c,i,a,o,s)},e.parseJsonSourceFileConfigFileContent=Q,e.setConfigFileInOptions=Z,e.canJsonReportNoInputFiles=ae,e.updateErrorForNoInputFiles=function(t,r,n,i,a){var o=i.length;return ie(t,a)?i.push(ne(n,r)):e.filterMutate(i,(function(t){return!function(t){return t.code===e.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}(t)})),o!==i.length},e.convertCompilerOptionsFromJson=function(e,t,r){var n=[];return{options:ue(e,t,n,r),errors:n}},e.convertTypeAcquisitionFromJson=function(e,t,r){var n=[];return{options:pe(e,t,n,r),errors:n}},e.convertJsonOption=fe;var ye=/(^|\/)\*\*\/?$/,ve=/^[^*?]*(?=\/[^/]*[*?])/;function De(t,r,n,i,a){void 0===a&&(a=e.emptyArray),r=e.normalizePath(r);var o,s=e.createGetCanonicalFileName(i.useCaseSensitiveFileNames),c=new e.Map,u=new e.Map,l=new e.Map,p=t.validatedFilesSpec,d=t.validatedIncludeSpecs,f=t.validatedExcludeSpecs,_=e.getSupportedExtensions(n,a),m=e.getSupportedExtensionsWithJsonIfResolveJsonModule(n,_);if(p)for(var g=0,h=p;g<h.length;g++){var y=h[g],v=e.getNormalizedAbsolutePath(y,r);c.set(s(v),v)}if(d&&d.length>0)for(var D=function(t){if(e.fileExtensionIs(t,".json")){if(!o){var n=d.filter((function(t){return e.endsWith(t,".json")})),a=e.map(e.getRegularExpressionsForWildcards(n,r,"files"),(function(e){return"^".concat(e,"$")}));o=a?a.map((function(t){return e.getRegexFromPattern(t,i.useCaseSensitiveFileNames)})):e.emptyArray}if(-1!==e.findIndex(o,(function(e){return e.test(t)}))){var p=s(t);!c.has(p)&&!l.has(p)&&l.set(p,t)}return"continue"}if(function(t,r,n,i,a){var o=e.forEach(i,(function(r){return e.fileExtensionIsOneOf(t,r)?r:void 0}));if(!o)return!1;for(var s=0,c=o;s<c.length;s++){var u=c[s];if(e.fileExtensionIs(t,u))return!1;var l=a(e.changeExtension(t,u));if(r.has(l)||n.has(l)){if(".d.ts"===u&&(e.fileExtensionIs(t,".js")||e.fileExtensionIs(t,".jsx")))continue;return!0}}return!1}(t,c,u,_,s))return"continue";!function(t,r,n,i){var a=e.forEach(n,(function(r){return e.fileExtensionIsOneOf(t,r)?r:void 0}));if(a)for(var o=a.length-1;o>=0;o--){var s=a[o];if(e.fileExtensionIs(t,s))return;var c=i(e.changeExtension(t,s));r.delete(c)}}(t,u,_,s);var f=s(t);!c.has(f)&&!u.has(f)&&u.set(f,t)},b=0,x=i.readDirectory(r,e.flatten(m),f,d,void 0);b<x.length;b++)D(v=x[b]);var E=e.arrayFrom(c.values()),S=e.arrayFrom(u.values());return E.concat(S,e.arrayFrom(l.values()))}function be(t){var r=e.startsWith(t,"**/")?0:t.indexOf("/**/");return-1!==r&&(e.endsWith(t,"/..")?t.length:t.lastIndexOf("/../"))>r}function xe(t,r,n,i,a){var o=e.getRegularExpressionForWildcard(r,e.combinePaths(e.normalizePath(i),a),"exclude"),s=o&&e.getRegexFromPattern(o,n);return!!s&&(!!s.test(t)||!e.hasExtension(t)&&s.test(e.ensureTrailingDirectorySeparator(t)))}function Ee(t,r,n,i,a){return t.filter((function(t){if(!e.isString(t))return!1;var i=Se(t,n);return void 0!==i&&r.push(o.apply(void 0,i)),void 0===i}));function o(t,r){var n=e.getTsConfigPropArrayElementValue(i,a,r);return n?e.createDiagnosticForNodeInSourceFile(i,n,t,r):e.createCompilerDiagnostic(t,r)}}function Se(t,r){return r&&ye.test(t)?[e.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,t]:be(t)?[e.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,t]:void 0}function Ce(t,r,n){var i=t.validatedIncludeSpecs,a=t.validatedExcludeSpecs,o=e.getRegularExpressionForWildcard(a,r,"exclude"),s=o&&new RegExp(o,n?"":"i"),c={};if(void 0!==i){for(var u=[],l=0,p=i;l<p.length;l++){var d=p[l],f=e.normalizePath(e.combinePaths(r,d));if(!s||!s.test(f)){var _=Te(f,n);if(_){var m=_.key,g=_.flags,h=c[m];(void 0===h||h<g)&&(c[m]=g,1===g&&u.push(m))}}}for(var m in c)if(e.hasProperty(c,m))for(var y=0,v=u;y<v.length;y++){var D=v[y];m!==D&&e.containsPath(D,m,r,!n)&&delete c[m]}}return c}function Te(t,r){var n=ve.exec(t);if(n){var i=t.indexOf("?"),a=t.indexOf("*"),o=t.lastIndexOf(e.directorySeparator);return{key:r?n[0]:e.toFileNameLowerCase(n[0]),flags:-1!==i&&i<o||-1!==a&&a<o?1:0}}if(e.isImplicitGlob(t.substring(t.lastIndexOf(e.directorySeparator)+1)))return{key:r?t:e.toFileNameLowerCase(t),flags:1}}function ke(t,r){switch(r.type){case"object":case"string":return"";case"number":return"number"==typeof t?t:"";case"boolean":return"boolean"==typeof t?t:"";case"list":var n=r.element;return e.isArray(t)?t.map((function(e){return ke(e,n)})):"";default:return e.forEachEntry(r.type,(function(e,r){if(e===t)return r}))}}function Ae(t){switch(t.type){case"number":return 1;case"boolean":return!0;case"string":return t.isFilePath?"./":"";case"list":return[];case"object":return{};default:var r=t.type.keys().next();return r.done?e.Debug.fail("Expected 'option.type' to have entries."):r.value}}e.getFileNamesFromConfigSpecs=De,e.isExcludedFile=function(t,r,n,i,a){var o=r.validatedFilesSpec,s=r.validatedIncludeSpecs,c=r.validatedExcludeSpecs;if(!e.length(s)||!e.length(c))return!1;n=e.normalizePath(n);var u=e.createGetCanonicalFileName(i);if(o)for(var l=0,p=o;l<p.length;l++){var d=p[l];if(u(e.getNormalizedAbsolutePath(d,n))===t)return!1}return xe(t,c,i,a,n)},e.matchesExclude=function(t,r,n,i){return xe(t,e.filter(r,(function(e){return!be(e)})),n,i)},e.convertCompilerOptionsForTelemetry=function(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=D(r);void 0!==n&&(t[r]=ke(e[r],n))}return t}}(n||(n={})),function(e){function t(t){t.trace(e.formatMessage.apply(void 0,arguments))}function r(e,t){return!!e.traceResolution&&void 0!==t.trace}function n(t,r){var n;if(r&&t){var i=t.packageJsonContent;"string"==typeof i.name&&"string"==typeof i.version&&(n={name:i.name,subModuleName:r.path.slice(t.packageDirectory.length+e.directorySeparator.length),version:i.version})}return r&&{path:r.path,extension:r.ext,packageId:n}}function i(e){return n(void 0,e)}function s(t){if(t)return e.Debug.assert(void 0===t.packageId),{path:t.path,ext:t.extension}}var c,u,l;function p(t){if(t)return e.Debug.assert(e.extensionIsTS(t.extension)),{fileName:t.path,packageId:t.packageId}}function d(e,t,r,n){var i;return n?((i=n.failedLookupLocations).push.apply(i,r),n):{resolvedModule:e&&{resolvedFileName:e.path,originalPath:!0===e.originalPath?void 0:e.originalPath,extension:e.extension,isExternalLibraryImport:t,packageId:e.packageId},failedLookupLocations:r}}function f(r,n,i,a){if(e.hasProperty(r,n)){var o=r[n];if(typeof o===i&&null!==o)return o;a.traceEnabled&&t(a.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,n,i,null===o?"null":typeof o)}else a.traceEnabled&&t(a.host,e.Diagnostics.package_json_does_not_have_a_0_field,n)}function _(r,n,i,a){var o=f(r,n,"string",a);if(void 0!==o){if(!o)return void(a.traceEnabled&&t(a.host,e.Diagnostics.package_json_had_a_falsy_0_field,n));var s=e.normalizePath(e.combinePaths(i,o));return a.traceEnabled&&t(a.host,e.Diagnostics.package_json_has_0_field_1_that_references_2,n,o,s),s}}function m(e,t,r){return _(e,"typings",t,r)||_(e,"types",t,r)}function g(e,t,r){return _(e,"main",t,r)}function h(r,n){var i=function(r,n){var i=f(r,"typesVersions","object",n);if(void 0!==i)return n.traceEnabled&&t(n.host,e.Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),i}(r,n);if(void 0!==i){if(n.traceEnabled)for(var a in i)e.hasProperty(i,a)&&!e.VersionRange.tryParse(a)&&t(n.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,a);var o=y(i);if(!o)return void(n.traceEnabled&&t(n.host,e.Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,e.versionMajorMinor));var s=o.version,c=o.paths;return"object"!=typeof c?void(n.traceEnabled&&t(n.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,"typesVersions['".concat(s,"']"),"object",typeof c)):o}}function y(t){for(var r in l||(l=new e.Version(e.version)),t)if(e.hasProperty(t,r)){var n=e.VersionRange.tryParse(r);if(void 0!==n&&n.test(l))return{version:r,paths:t[r]}}}function v(t,r){return t.typeRoots?t.typeRoots:(t.configFilePath?n=e.getDirectoryPath(t.configFilePath):r.getCurrentDirectory&&(n=r.getCurrentDirectory()),void 0!==n?function(t,r){return r.directoryExists?(e.forEachAncestorDirectory(e.normalizePath(t),(function(t){var i=e.combinePaths(t,b);r.directoryExists(i)&&(n||(n=[])).push(i)})),n):[e.combinePaths(t,b)];var n}(n,r):void 0);var n}e.trace=t,e.isTraceEnabled=r,(u=c||(c={}))[u.TypeScript=0]="TypeScript",u[u.JavaScript=1]="JavaScript",u[u.Json=2]="Json",u[u.TSConfig=3]="TSConfig",u[u.DtsOnly=4]="DtsOnly",e.getPackageJsonTypesVersionsPaths=y,e.getEffectiveTypeRoots=v;var D,b=e.combinePaths("node_modules","@types");function x(t,r,n){var i="function"==typeof n.useCaseSensitiveFileNames?n.useCaseSensitiveFileNames():n.useCaseSensitiveFileNames;return 0===e.comparePaths(t,r,!i)}function E(t){return e.getEmitModuleResolutionKind(t)===e.ModuleResolutionKind.Node12?D.Node12Default:e.getEmitModuleResolutionKind(t)===e.ModuleResolutionKind.NodeNext?D.NodeNextDefault:D.None}function S(t){var r=new e.Map,n=new e.Map;return{getOwnMap:function(){return r},redirectsMap:n,getOrCreateMapOfCacheRedirects:function(i){if(!i)return r;var a=i.sourceFile.path,o=n.get(a);return o||(o=!t||e.optionsHaveModuleResolutionChanges(t,i.commandLine.options)?new e.Map:r,n.set(a,o)),o},clear:function(){r.clear(),n.clear()},setOwnOptions:function(e){t=e},setOwnMap:function(e){r=e}}}function C(t,r){var n;return{getPackageJsonInfo:function(i){return null==n?void 0:n.get(e.toPath(i,t,r))},setPackageJsonInfo:function(i,a){(n||(n=new e.Map)).set(e.toPath(i,t,r),a)},clear:function(){n=void 0},entries:function(){var t=null==n?void 0:n.entries();return t?e.arrayFrom(t):[]}}}function T(e,t,r,n){var i=e.getOrCreateMapOfCacheRedirects(t),a=i.get(r);return a||(a=n(),i.set(r,a)),a}function k(t,r,n){if(t.configFile){if(0===r.redirectsMap.size)e.Debug.assert(!n||0===n.redirectsMap.size),e.Debug.assert(0===r.getOwnMap().size),e.Debug.assert(!n||0===n.getOwnMap().size),r.redirectsMap.set(t.configFile.path,r.getOwnMap()),null==n||n.redirectsMap.set(t.configFile.path,n.getOwnMap());else{e.Debug.assert(!n||n.redirectsMap.size>0);var i={sourceFile:t.configFile,commandLine:{options:t}};r.setOwnMap(r.getOrCreateMapOfCacheRedirects(i)),null==n||n.setOwnMap(n.getOrCreateMapOfCacheRedirects(i))}r.setOwnOptions(t),null==n||n.setOwnOptions(t)}}function A(t,r,n){return{getOrCreateCacheForDirectory:function(i,a){var o=e.toPath(i,t,r);return T(n,a,o,(function(){return N()}))},clear:function(){n.clear()},update:function(e){k(e,n)}}}function N(){var t=new e.Map,r=new e.Map,n={get:function(e,r){return t.get(i(e,r))},set:function(e,r,a){return t.set(i(e,r),a),n},delete:function(e,r){return t.delete(i(e,r)),n},has:function(e,r){return t.has(i(e,r))},forEach:function(e){return t.forEach((function(t,n){var i=r.get(n),a=i[0],o=i[1];return e(t,a,o)}))},size:function(){return t.size}};return n;function i(e,t){var n=void 0===t?e:"".concat(t,"|").concat(e);return r.set(n,[e,t]),n}}function P(r,n,i,a,o){var s=function(r,n,i,a){var o,s=a.compilerOptions,c=s.baseUrl,u=s.paths,l=s.configFile;if(u&&!e.pathIsRelative(n))return a.traceEnabled&&(c&&t(a.host,e.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,c,n),t(a.host,e.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,n)),le(r,n,e.getPathsBasePath(a.compilerOptions,a.host),u,null!=l&&l.configFileSpecs?(o=l.configFileSpecs).pathPatterns||(o.pathPatterns=e.tryParsePatterns(u)):void 0,i,!1,a)}(r,n,a,o);return s?s.value:e.isExternalModuleNameRelative(n)?function(r,n,i,a,o){if(o.compilerOptions.rootDirs){o.traceEnabled&&t(o.host,e.Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,n);for(var s,c,u=e.normalizePath(e.combinePaths(i,n)),l=0,p=o.compilerOptions.rootDirs;l<p.length;l++){var d=p[l],f=e.normalizePath(d);e.endsWith(f,e.directorySeparator)||(f+=e.directorySeparator);var _=e.startsWith(u,f)&&(void 0===c||c.length<f.length);o.traceEnabled&&t(o.host,e.Diagnostics.Checking_if_0_is_the_longest_matching_prefix_for_1_2,f,u,_),_&&(c=f,s=d)}if(c){o.traceEnabled&&t(o.host,e.Diagnostics.Longest_matching_prefix_for_0_is_1,u,c);var m=u.substr(c.length);o.traceEnabled&&t(o.host,e.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,m,c,u);var g=a(r,u,!e.directoryProbablyExists(i,o.host),o);if(g)return g;o.traceEnabled&&t(o.host,e.Diagnostics.Trying_other_entries_in_rootDirs);for(var h=0,y=o.compilerOptions.rootDirs;h<y.length;h++)if((d=y[h])!==s){var v=e.combinePaths(e.normalizePath(d),m);o.traceEnabled&&t(o.host,e.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,m,d,v);var D=e.getDirectoryPath(v),b=a(r,v,!e.directoryProbablyExists(D,o.host),o);if(b)return b}o.traceEnabled&&t(o.host,e.Diagnostics.Module_resolution_using_rootDirs_has_failed)}}}(r,n,i,a,o):function(r,n,i,a){var o=a.compilerOptions.baseUrl;if(o){a.traceEnabled&&t(a.host,e.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,o,n);var s=e.normalizePath(e.combinePaths(o,n));return a.traceEnabled&&t(a.host,e.Diagnostics.Resolving_module_name_0_relative_to_base_url_1_2,n,o,s),i(r,s,!e.directoryProbablyExists(e.getDirectoryPath(s),a.host),a)}}(r,n,a,o)}function F(t,r,n,i,a,o,s,c){var u=e.getDirectoryPath(n);return R(t|(c===e.ModuleKind.ESNext?D.EsmMode:0),r,u,i,a,o,i.resolveJsonModule?O:I,s)}e.resolveTypeReferenceDirective=function(n,i,a,o,s,u){var l=r(a,o);s&&(a=s.commandLine.options);var d=i?e.getDirectoryPath(i):void 0,f=d?u&&u.getOrCreateCacheForDirectory(d,s):void 0,_=f&&f.get(n,void 0);if(_)return l&&(t(o,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1,n,i),s&&t(o,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,s.sourceFile.fileName),t(o,e.Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,n,d),A(_)),_;var m=v(a,o);l&&(void 0===i?void 0===m?t(o,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,n):t(o,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,n,m):void 0===m?t(o,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,n,i):t(o,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,n,i,m),s&&t(o,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,s.sourceFile.fileName));var g,h=[],y=E(a),D={compilerOptions:a,host:o,traceEnabled:l,failedLookupLocations:h,packageJsonInfoCache:u,features:y,conditions:["node","require","types"]},b=function(){if(m&&m.length)return l&&t(o,e.Diagnostics.Resolving_with_primary_search_path_0,m.join(", ")),e.firstDefined(m,(function(r){var i=e.combinePaths(r,n),a=e.getDirectoryPath(i),s=e.directoryProbablyExists(a,o);return!s&&l&&t(o,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,a),p($(c.DtsOnly,i,!s,D))}));l&&t(o,e.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)}(),S=!0;if(b||(b=function(){var r=i&&e.getDirectoryPath(i);if(void 0!==r){var a;if(l&&t(o,e.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0,r),e.isExternalModuleNameRelative(n)){var s=e.normalizePathAndParts(e.combinePaths(r,n)).path;a=j(c.DtsOnly,s,!1,D,!0)}else{var u=oe(c.DtsOnly,n,r,D,void 0,void 0);a=u&&u.value}return p(a)}l&&t(o,e.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}(),S=!1),b){var C=b.fileName,T=b.packageId,k=a.preserveSymlinks?C:B(C,o,l);g={primary:S,resolvedFileName:k,originalPath:x(C,k,o)?void 0:C,packageId:T,isExternalLibraryImport:K(C)}}return _={resolvedTypeReferenceDirective:g,failedLookupLocations:h},null==f||f.set(n,void 0,_),l&&A(_),_;function A(r){var i;null!==(i=r.resolvedTypeReferenceDirective)&&void 0!==i&&i.resolvedFileName?r.resolvedTypeReferenceDirective.packageId?t(o,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,n,r.resolvedTypeReferenceDirective.resolvedFileName,e.packageIdToString(r.resolvedTypeReferenceDirective.packageId),r.resolvedTypeReferenceDirective.primary):t(o,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,n,r.resolvedTypeReferenceDirective.resolvedFileName,r.resolvedTypeReferenceDirective.primary):t(o,e.Diagnostics.Type_reference_directive_0_was_not_resolved,n)}},e.resolvePackageNameToPackageJson=function(t,n,i,a,o){var s={compilerOptions:i,host:a,traceEnabled:r(i,a),failedLookupLocations:[],packageJsonInfoCache:null==o?void 0:o.getPackageJsonInfoCache(),conditions:e.emptyArray,features:D.None};return e.forEachAncestorDirectory(n,(function(r){if("node_modules"!==e.getBaseFileName(r)){var n=e.combinePaths(r,"node_modules");return Q(e.combinePaths(n,t),!1,s)}}))},e.getAutomaticTypeDirectiveNames=function(t,r){if(t.types)return t.types;var n=[];if(r.directoryExists&&r.getDirectories){var i=v(t,r);if(i)for(var a=0,o=i;a<o.length;a++){var s=o[a];if(r.directoryExists(s))for(var c=0,u=r.getDirectories(s);c<u.length;c++){var l=u[c],p=e.normalizePath(l),d=e.combinePaths(s,p,"package.json");if(!r.fileExists(d)||null!==e.readJson(d,r).typings){var f=e.getBaseFileName(p);46!==f.charCodeAt(0)&&n.push(f)}}}}return n},e.createCacheWithRedirects=S,e.createModeAwareCache=N,e.zipToModeAwareCache=function(t,r,n){e.Debug.assert(r.length===n.length);for(var i=N(),a=0;a<r.length;++a)i.set(r[a],e.getModeForResolutionAtIndex(t,a),n[a]);return i},e.createModuleResolutionCache=function(t,r,n,i,a){var s=A(t,r,i||(i=S(n)));a||(a=S(n));var c=C(t,r);return o(o(o({},c),s),{getOrCreateCacheForModuleName:function(t,r,n){return e.Debug.assert(!e.isExternalModuleNameRelative(t)),T(a,n,void 0===r?t:"".concat(r,"|").concat(t),u)},clear:function(){s.clear(),a.clear(),c.clear()},update:function(e){k(e,i,a)},getPackageJsonInfoCache:function(){return c}});function u(){var n=new e.Map;return{get:function(i){return n.get(e.toPath(i,t,r))},set:function(i,a){var o=e.toPath(i,t,r);if(!n.has(o)){n.set(o,a);for(var s=a.resolvedModule&&(a.resolvedModule.originalPath||a.resolvedModule.resolvedFileName),c=s&&function(n,i){for(var a=e.toPath(e.getDirectoryPath(i),t,r),o=0,s=Math.min(n.length,a.length);o<s&&n.charCodeAt(o)===a.charCodeAt(o);)o++;if(o===n.length&&(a.length===o||a[o]===e.directorySeparator))return n;var c=e.getRootLength(n);if(!(o<c)){var u=n.lastIndexOf(e.directorySeparator,o-1);if(-1!==u)return n.substr(0,Math.max(u,c))}}(o,s),u=o;u!==c;){var l=e.getDirectoryPath(u);if(l===u||n.has(l))break;n.set(l,a),u=l}}}}}},e.createTypeReferenceDirectiveResolutionCache=function(e,t,r,n,i){var a=A(e,t,i||(i=S(r)));return n||(n=C(e,t)),o(o(o({},n),a),{clear:function(){a.clear(),n.clear()}})},e.resolveModuleNameFromCache=function(t,r,n,i){var a=e.getDirectoryPath(r),o=n&&n.getOrCreateCacheForDirectory(a);if(o)return o.get(t,i)},e.resolveModuleName=function(n,i,a,o,s,c,u){var l=r(a,o);c&&(a=c.commandLine.options),l&&(t(o,e.Diagnostics.Resolving_module_0_from_1,n,i),c&&t(o,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,c.sourceFile.fileName));var p=e.getDirectoryPath(i),d=s&&s.getOrCreateCacheForDirectory(p,c),f=d&&d.get(n,u);if(f)l&&t(o,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,n,p);else{var _=a.moduleResolution;if(void 0===_){switch(e.getEmitModuleKind(a)){case e.ModuleKind.CommonJS:_=e.ModuleResolutionKind.NodeJs;break;case e.ModuleKind.Node12:_=e.ModuleResolutionKind.Node12;break;case e.ModuleKind.NodeNext:_=e.ModuleResolutionKind.NodeNext;break;default:_=e.ModuleResolutionKind.Classic}l&&t(o,e.Diagnostics.Module_resolution_kind_is_not_specified_using_0,e.ModuleResolutionKind[_])}else l&&t(o,e.Diagnostics.Explicitly_specified_module_resolution_kind_Colon_0,e.ModuleResolutionKind[_]);switch(e.perfLogger.logStartResolveModule(n),_){case e.ModuleResolutionKind.Node12:f=function(e,t,r,n,i,a,o){return F(D.Node12Default,e,t,r,n,i,a,o)}(n,i,a,o,s,c,u);break;case e.ModuleResolutionKind.NodeNext:f=function(e,t,r,n,i,a,o){return F(D.NodeNextDefault,e,t,r,n,i,a,o)}(n,i,a,o,s,c,u);break;case e.ModuleResolutionKind.NodeJs:f=M(n,i,a,o,s,c);break;case e.ModuleResolutionKind.Classic:f=me(n,i,a,o,s,c);break;default:return e.Debug.fail("Unexpected moduleResolution: ".concat(_))}f&&f.resolvedModule&&e.perfLogger.logInfoEvent('Module "'.concat(n,'" resolved to "').concat(f.resolvedModule.resolvedFileName,'"')),e.perfLogger.logStopResolveModule(f&&f.resolvedModule?""+f.resolvedModule.resolvedFileName:"null"),d&&(d.set(n,u,f),e.isExternalModuleNameRelative(n)||s.getOrCreateCacheForModuleName(n,u,c).set(p,f))}return l&&(f.resolvedModule?f.resolvedModule.packageId?t(o,e.Diagnostics.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,n,f.resolvedModule.resolvedFileName,e.packageIdToString(f.resolvedModule.packageId)):t(o,e.Diagnostics.Module_name_0_was_successfully_resolved_to_1,n,f.resolvedModule.resolvedFileName):t(o,e.Diagnostics.Module_name_0_was_not_resolved,n)),f},e.resolveJSModule=function(t,r,n){var i=function(t,r,n){return R(D.None,t,r,{moduleResolution:e.ModuleResolutionKind.NodeJs,allowJs:!0},n,void 0,w,void 0)}(t,r,n),a=i.resolvedModule,o=i.failedLookupLocations;if(!a)throw new Error("Could not resolve JS module '".concat(t,"' starting at '").concat(r,"'. Looked in: ").concat(o.join(", ")));return a.resolvedFileName},function(e){e[e.None=0]="None",e[e.Imports=2]="Imports",e[e.SelfName=4]="SelfName",e[e.Exports=8]="Exports",e[e.ExportsPatternTrailers=16]="ExportsPatternTrailers",e[e.AllFeatures=30]="AllFeatures",e[e.Node12Default=14]="Node12Default",e[e.NodeNextDefault=30]="NodeNextDefault",e[e.EsmMode=32]="EsmMode"}(D||(D={}));var w=[c.JavaScript],I=[c.TypeScript,c.JavaScript],O=a(a([],I,!0),[c.Json],!1),L=[c.TSConfig];function M(t,r,n,i,a,o,s){return R(D.None,t,e.getDirectoryPath(r),n,i,a,s?L:n.resolveJsonModule?O:I,o)}function R(n,i,a,s,u,l,p,f){var _,m,g=r(s,u),h=[],y={compilerOptions:s,host:u,traceEnabled:g,failedLookupLocations:h,packageJsonInfoCache:l,features:n,conditions:n&D.EsmMode?["node","import","types"]:["node","require","types"]},v=e.forEach(p,(function(r){return function(r){var p,d=P(r,i,a,(function(e,t,r,n){return j(e,t,r,n,!0)}),y);if(d)return ge({resolved:d,isExternalLibraryImport:K(d.path)});if(e.isExternalModuleNameRelative(i)){var _=e.normalizePathAndParts(e.combinePaths(a,i)),m=_.path,h=_.parts,v=j(r,m,!1,y,!0);return v&&ge({resolved:v,isExternalLibraryImport:e.contains(h,"node_modules")})}if(n&D.Imports&&e.startsWith(i,"#")&&(p=function(r,n,i,a,o,s){var c,u;if("#"===n||e.startsWith(n,"#/"))return a.traceEnabled&&t(a.host,e.Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions,n),ge(void 0);var l="function"==typeof a.host.useCaseSensitiveFileNames?a.host.useCaseSensitiveFileNames():a.host.useCaseSensitiveFileNames,p=e.toPath(e.combinePaths(i,"dummy"),null===(u=(c=a.host).getCurrentDirectory)||void 0===u?void 0:u.call(c),e.createGetCanonicalFileName(void 0===l||l)),d=X(p,a.packageJsonInfoCache,a.host,a.compilerOptions);return d?d.packageJsonContent.imports?ne(r,a,o,s,n,d.packageJsonContent.imports,d,!0)||(a.traceEnabled&&t(a.host,e.Diagnostics.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,n,d.packageDirectory),ge(void 0)):(a.traceEnabled&&t(a.host,e.Diagnostics.package_json_scope_0_has_no_imports_defined,d.packageDirectory),ge(void 0)):(a.traceEnabled&&t(a.host,e.Diagnostics.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,p),ge(void 0))}(r,i,a,y,l,f)),!p&&n&D.SelfName&&(p=function(t,r,n,i,a,o){var s,c,u="function"==typeof i.host.useCaseSensitiveFileNames?i.host.useCaseSensitiveFileNames():i.host.useCaseSensitiveFileNames,l=X(e.toPath(e.combinePaths(n,"dummy"),null===(c=(s=i.host).getCurrentDirectory)||void 0===c?void 0:c.call(s),e.createGetCanonicalFileName(void 0===u||u)),i.packageJsonInfoCache,i.host,i.compilerOptions);if(l&&l.packageJsonContent.exports&&"string"==typeof l.packageJsonContent.name){var p=e.getPathComponents(r),d=e.getPathComponents(l.packageJsonContent.name);if(e.every(d,(function(e,t){return p[t]===e}))){var f=p.slice(d.length);return re(l,t,e.length(f)?".".concat(e.directorySeparator).concat(f.join(e.directorySeparator)):".",i,a,o)}}}(r,i,a,y,l,f)),p||(g&&t(u,e.Diagnostics.Loading_module_0_from_node_modules_folder_target_file_type_1,i,c[r]),p=oe(r,i,a,y,l,f)),p){var b=p.value;if(!s.preserveSymlinks&&b&&!b.originalPath){var E=B(b.path,u,g),S=x(E,b.path,u)?void 0:b.path;b=o(o({},b),{path:E,originalPath:S})}return{value:b&&{resolved:b,isExternalLibraryImport:!0}}}}(r)}));return d(null===(_=null==v?void 0:v.value)||void 0===_?void 0:_.resolved,null===(m=null==v?void 0:v.value)||void 0===m?void 0:m.isExternalLibraryImport,h,y.resultFromCache)}function B(r,n,i){if(!n.realpath)return r;var a=e.normalizePath(n.realpath(r));return i&&t(n,e.Diagnostics.Resolving_real_path_for_0_result_1,r,a),e.Debug.assert(n.fileExists(a),"".concat(r," linked to nonexistent file ").concat(a)),a}function j(r,i,a,o,s){if(o.traceEnabled&&t(o.host,e.Diagnostics.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1,i,c[r]),!e.hasTrailingDirectorySeparator(i)){if(!a){var u=e.getDirectoryPath(i);e.directoryProbablyExists(u,o.host)||(o.traceEnabled&&t(o.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,u),a=!0)}var l=V(r,i,a,o);if(l){var p=s?J(l.path):void 0;return n(p?Q(p,!1,o):void 0,l)}}return a||e.directoryProbablyExists(i,o.host)||(o.traceEnabled&&t(o.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,i),a=!0),$(r,i,a,o,s)}function K(t){return e.stringContains(t,e.nodeModulesPathPart)}function J(t){var r=e.normalizePath(t),n=r.lastIndexOf(e.nodeModulesPathPart);if(-1!==n){var i=n+e.nodeModulesPathPart.length,a=U(r,i);return 64===r.charCodeAt(i)&&(a=U(r,a)),r.slice(0,a)}}function U(t,r){var n=t.indexOf(e.directorySeparator,r+1);return-1===n?r:n}function q(e,t,r,n){return i(V(e,t,r,n))}function V(t,r,n,i){if(t===c.Json||t===c.TSConfig){var a=e.tryRemoveExtension(r,".json"),o=a?r.substring(a.length):"";return void 0===a&&t===c.Json?void 0:H(a||r,t,o,n,i)}if(!(i.features&D.EsmMode)){var s=H(r,t,"",n,i);if(s)return s}return z(t,r,n,i)}function z(r,n,i,a){if(e.hasJSFileExtension(n)||e.fileExtensionIs(n,".json")&&a.compilerOptions.resolveJsonModule){var o=e.removeFileExtension(n),s=n.substring(o.length);return a.traceEnabled&&t(a.host,e.Diagnostics.File_name_0_has_a_1_extension_stripping_it,n,s),H(o,r,s,i,a)}}function W(t,r,n,i){return t!==c.TypeScript&&t!==c.DtsOnly||!e.fileExtensionIsOneOf(r,[".d.ts",".d.cts",".d.mts"])?z(t,r,n,i):void 0!==G(r,n,i)?{path:r,ext:e.forEach([".d.ts",".d.cts",".d.mts"],(function(t){return e.fileExtensionIs(r,t)?t:void 0}))}:void 0}function H(t,r,n,i,a){if(!i){var o=e.getDirectoryPath(t);o&&(i=!e.directoryProbablyExists(o,a.host))}switch(r){case c.DtsOnly:switch(n){case".mjs":case".mts":case".d.mts":return s(".d.mts");case".cjs":case".cts":case".d.cts":return s(".d.cts");case".json":return t+=".json",s(".d.ts");default:return s(".d.ts")}case c.TypeScript:switch(n){case".mjs":case".mts":case".d.mts":return s(".mts")||s(".d.mts");case".cjs":case".cts":case".d.cts":return s(".cts")||s(".d.cts");case".json":return t+=".json",s(".d.ts");default:return s(".ts")||s(".tsx")||s(".d.ts")}case c.JavaScript:switch(n){case".mjs":case".mts":case".d.mts":return s(".mjs");case".cjs":case".cts":case".d.cts":return s(".cjs");case".json":return s(".json");default:return s(".js")||s(".jsx")}case c.TSConfig:case c.Json:return s(".json")}function s(e){var r=G(t+e,i,a);return void 0===r?void 0:{path:r,ext:e}}}function G(r,n,i){if(!n){if(i.host.fileExists(r))return i.traceEnabled&&t(i.host,e.Diagnostics.File_0_exist_use_it_as_a_name_resolution_result,r),r;i.traceEnabled&&t(i.host,e.Diagnostics.File_0_does_not_exist,r)}i.failedLookupLocations.push(r)}function $(e,t,r,i,a){void 0===a&&(a=!0);var o=a?Q(t,r,i):void 0;return n(o,Z(e,t,r,i,o&&o.packageJsonContent,o&&o.versionPaths))}function Y(t,r,n,i){var a;if(e.isArray(r))for(var o=0,s=r;o<s.length;o++)u(s[o]);else if("object"==typeof r&&null!==r&&te(r))for(var c in r)u(r[c]);else u(r);return a;function u(r){var o,s;if("string"==typeof r&&e.startsWith(r,"./")&&-1===r.indexOf("*")){var c=e.getPathComponents(r).slice(2);if(c.indexOf("..")>=0||c.indexOf(".")>=0||c.indexOf("node_modules")>=0)return!1;var l=e.combinePaths(t.packageDirectory,r),p=e.getNormalizedAbsolutePath(l,null===(s=(o=n.host).getCurrentDirectory)||void 0===s?void 0:s.call(o)),d=W(i,p,!1,n);if(d)return a=e.appendIfUnique(a,d,(function(e,t){return e.path===t.path})),!0}else if(Array.isArray(r)){for(var f=0,_=r;f<_.length;f++)if(u(_[f]))return!0}else if("object"==typeof r&&null!==r)return e.forEach(e.getOwnKeys(r),(function(t){if("default"===t||e.contains(n.conditions,t)||ae(n.conditions,t))return u(r[t]),!0}))}}function X(t,n,i,a){var o={host:i,compilerOptions:a,traceEnabled:r(a,i),failedLookupLocations:[],packageJsonInfoCache:n,features:0,conditions:[]},s=e.getPathComponents(t);for(s.pop();s.length>0;){var c=Q(e.getPathFromPathComponents(s),!1,o);if(c)return c;s.pop()}}function Q(r,n,i){var a,o,s,c=i.host,u=i.traceEnabled,l=e.combinePaths(r,"package.json");if(n)i.failedLookupLocations.push(l);else{var p=null===(a=i.packageJsonInfoCache)||void 0===a?void 0:a.getPackageJsonInfo(l);if(void 0!==p)return"boolean"!=typeof p?(u&&t(c,e.Diagnostics.File_0_exists_according_to_earlier_cached_lookups,l),p):(p&&u&&t(c,e.Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups,l),void i.failedLookupLocations.push(l));var d=e.directoryProbablyExists(r,c);if(d&&c.fileExists(l)){var f=e.readJson(l,c);u&&t(c,e.Diagnostics.Found_package_json_at_0,l);var _={packageDirectory:r,packageJsonContent:f,versionPaths:h(f,i),resolvedEntrypoints:void 0};return null===(o=i.packageJsonInfoCache)||void 0===o||o.setPackageJsonInfo(l,_),_}d&&u&&t(c,e.Diagnostics.File_0_does_not_exist,l),null===(s=i.packageJsonInfoCache)||void 0===s||s.setPackageJsonInfo(l,d),i.failedLookupLocations.push(l)}}function Z(r,n,a,o,u,l){var p;if(u)switch(r){case c.JavaScript:case c.Json:p=g(u,n,o);break;case c.TypeScript:p=m(u,n,o)||g(u,n,o);break;case c.DtsOnly:p=m(u,n,o);break;case c.TSConfig:p=function(e,t,r){return _(e,"tsconfig",t,r)}(u,n,o);break;default:return e.Debug.assertNever(r)}var d=function(r,n,a,o){var s=G(n,a,o);if(s){var u=function(t,r){var n=e.tryGetExtensionFromPath(r);return void 0!==n&&function(e,t){switch(e){case c.JavaScript:return".js"===t||".jsx"===t;case c.TSConfig:case c.Json:return".json"===t;case c.TypeScript:return".ts"===t||".tsx"===t||".d.ts"===t;case c.DtsOnly:return".d.ts"===t}}(t,n)?{path:r,ext:n}:void 0}(r,s);if(u)return i(u);o.traceEnabled&&t(o.host,e.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,s)}return j(r===c.DtsOnly?c.TypeScript:r,n,a,o,!1)},f=p?!e.directoryProbablyExists(e.getDirectoryPath(p),o.host):void 0,h=a||!e.directoryProbablyExists(n,o.host),y=e.combinePaths(n,r===c.TSConfig?"tsconfig":"index");if(l&&(!p||e.containsPath(n,p))){var v=e.getRelativePathFromDirectory(n,p||y,!1);o.traceEnabled&&t(o.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,l.version,e.version,v);var b=le(r,v,n,l.paths,void 0,d,f||h,o);if(b)return s(b.value)}return p&&s(d(r,p,f,o))||(o.features&D.EsmMode?void 0:V(r,y,h,o))}function ee(t){var r=t.indexOf(e.directorySeparator);return"@"===t[0]&&(r=t.indexOf(e.directorySeparator,r+1)),-1===r?{packageName:t,rest:""}:{packageName:t.slice(0,r),rest:t.slice(r+1)}}function te(t){return e.every(e.getOwnKeys(t),(function(t){return e.startsWith(t,".")}))}function re(r,n,i,a,o,s){if(r.packageJsonContent.exports){if("."===i){var c=void 0;if("string"==typeof r.packageJsonContent.exports||Array.isArray(r.packageJsonContent.exports)||"object"==typeof r.packageJsonContent.exports&&function(t){return!e.some(e.getOwnKeys(t),(function(t){return e.startsWith(t,".")}))}(r.packageJsonContent.exports)?c=r.packageJsonContent.exports:e.hasProperty(r.packageJsonContent.exports,".")&&(c=r.packageJsonContent.exports["."]),c)return ie(n,a,o,s,i,r,!1)(c,"",!1)}else if(te(r.packageJsonContent.exports)){if("object"!=typeof r.packageJsonContent.exports)return a.traceEnabled&&t(a.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,i,r.packageDirectory),ge(void 0);var u=ne(n,a,o,s,i,r.packageJsonContent.exports,r,!1);if(u)return u}return a.traceEnabled&&t(a.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,i,r.packageDirectory),ge(void 0)}}function ne(t,r,n,i,a,o,s,c){var u=ie(t,r,n,i,a,s,c);if(!e.endsWith(a,e.directorySeparator)&&-1===a.indexOf("*")&&e.hasProperty(o,a))return u(f=o[a],"",!1);for(var l=0,p=e.sort(e.filter(e.getOwnKeys(o),(function(t){return-1!==t.indexOf("*")||e.endsWith(t,"/")})),(function(e,t){return e.length-t.length}));l<p.length;l++){var d=p[l];if(r.features&D.ExportsPatternTrailers&&m(d,a)){var f=o[d],_=d.indexOf("*");return u(f,a.substring(d.substring(0,_).length,a.length-(d.length-1-_)),!0)}if(e.endsWith(d,"*")&&e.startsWith(a,d.substring(0,d.length-1)))return u(f=o[d],a.substring(d.length-1),!0);if(e.startsWith(a,d))return u(f=o[d],a.substring(d.length),!1)}function m(t,r){if(e.endsWith(t,"*"))return!1;var n=t.indexOf("*");return-1!==n&&e.startsWith(r,t.substring(0,n))&&e.endsWith(r,t.substring(n+1))}}function ie(r,i,a,o,s,c,u){return function l(p,d,f){var _,m;if("string"==typeof p){if(!f&&d.length>0&&!e.endsWith(p,"/"))return i.traceEnabled&&t(i.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,c.packageDirectory,s),ge(void 0);if(!e.startsWith(p,"./")){if(u&&!e.startsWith(p,"../")&&!e.startsWith(p,"/")&&!e.isRootedDiskPath(p)){var g=f?p.replace(/\*/g,d):p+d;return ge((T=R(i.features,g,c.packageDirectory+"/",i.compilerOptions,i.host,a,[r],o)).resolvedModule?{path:T.resolvedModule.resolvedFileName,extension:T.resolvedModule.extension,packageId:T.resolvedModule.packageId,originalPath:T.resolvedModule.originalPath}:void 0)}return i.traceEnabled&&t(i.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,c.packageDirectory,s),ge(void 0)}var h=(e.pathIsRelative(p)?e.getPathComponents(p).slice(1):e.getPathComponents(p)).slice(1);if(h.indexOf("..")>=0||h.indexOf(".")>=0||h.indexOf("node_modules")>=0)return i.traceEnabled&&t(i.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,c.packageDirectory,s),ge(void 0);var y=e.combinePaths(c.packageDirectory,p),v=e.getPathComponents(d);if(v.indexOf("..")>=0||v.indexOf(".")>=0||v.indexOf("node_modules")>=0)return i.traceEnabled&&t(i.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,c.packageDirectory,s),ge(void 0);var D=e.getNormalizedAbsolutePath(f?y.replace(/\*/g,d):y+d,null===(m=(_=i.host).getCurrentDirectory)||void 0===m?void 0:m.call(_));return ge(n(c,W(r,D,!1,i)))}if("object"==typeof p&&null!==p){if(!Array.isArray(p)){for(var b=0,x=e.getOwnKeys(p);b<x.length;b++){var E=x[b];if(("default"===E||i.conditions.indexOf(E)>=0||ae(i.conditions,E))&&(T=l(p[E],d,f)))return T}return}if(!e.length(p))return i.traceEnabled&&t(i.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,c.packageDirectory,s),ge(void 0);for(var S=0,C=p;S<C.length;S++){var T;if(T=l(C[S],d,f))return T}}else if(null===p)return i.traceEnabled&&t(i.host,e.Diagnostics.package_json_scope_0_explicitly_maps_specifier_1_to_null,c.packageDirectory,s),ge(void 0);return i.traceEnabled&&t(i.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,c.packageDirectory,s),ge(void 0)}}function ae(t,r){if(-1===t.indexOf("types")||!e.startsWith(r,"types@"))return!1;var n=e.VersionRange.tryParse(r.substring(6));return!!n&&n.test(e.version)}function oe(e,t,r,n,i,a){return se(e,t,r,n,!1,i,a)}function se(t,r,n,i,a,o,s){var c=o&&o.getOrCreateCacheForModuleName(r,0===i.features?void 0:i.features&D.EsmMode?e.ModuleKind.ESNext:e.ModuleKind.CommonJS,s);return e.forEachAncestorDirectory(e.normalizeSlashes(n),(function(n){if("node_modules"!==e.getBaseFileName(n))return _e(c,r,n,i)||ge(ce(t,r,n,i,a,o,s))}))}function ce(r,n,i,a,o,s,u){var l=e.combinePaths(i,"node_modules"),p=e.directoryProbablyExists(l,a.host);!p&&a.traceEnabled&&t(a.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,l);var d=o?void 0:ue(r,n,l,p,a,s,u);if(d)return d;if(r===c.TypeScript||r===c.DtsOnly){var f=e.combinePaths(l,"@types"),_=p;return p&&!e.directoryProbablyExists(f,a.host)&&(a.traceEnabled&&t(a.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,f),_=!1),ue(c.DtsOnly,function(r,n){var i=de(r);return n.traceEnabled&&i!==r&&t(n.host,e.Diagnostics.Scoped_package_detected_looking_in_0,i),i}(n,a),f,_,a,s,u)}}function ue(r,a,o,s,c,u,l){var p=e.normalizePath(e.combinePaths(o,a)),d=Q(p,!s,c);if(!(c.features&D.Exports)&&d){var f=V(r,p,!s,c);if(f)return i(f);var _=Z(r,p,!s,c,d.packageJsonContent,d.versionPaths);return n(d,_)}var m=ee(a),g=m.packageName,h=m.rest,y=function(t,r,i,a){var o;if(d&&d.packageJsonContent.exports&&a.features&D.Exports)return null===(o=re(d,t,e.combinePaths(".",h),a,u,l))||void 0===o?void 0:o.value;var s=V(t,r,i,a)||Z(t,r,i,a,d&&d.packageJsonContent,d&&d.versionPaths);return n(d,s)};if(""!==h){var v=e.combinePaths(o,g);if((d=Q(v,!s,c))&&d.versionPaths){c.traceEnabled&&t(c.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,d.versionPaths.version,e.version,h);var b=s&&e.directoryProbablyExists(v,c.host),x=le(r,h,v,d.versionPaths.paths,void 0,y,!b,c);if(x)return x.value}}return y(r,p,!s,c)}function le(r,n,a,o,s,c,u,l){s||(s=e.tryParsePatterns(o));var p=e.matchPatternOrExact(s,n);if(p){var d=e.isString(p)?void 0:e.matchedText(p,n),f=e.isString(p)?p:e.patternText(p);return l.traceEnabled&&t(l.host,e.Diagnostics.Module_name_0_matched_pattern_1,n,f),{value:e.forEach(o[f],(function(n){var o=d?n.replace("*",d):n,s=e.normalizePath(e.combinePaths(a,o));l.traceEnabled&&t(l.host,e.Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1,n,o);var p=e.tryGetExtensionFromPath(n);if(void 0!==p){var f=G(s,u,l);if(void 0!==f)return i({path:f,ext:p})}return c(r,s,u||!e.directoryProbablyExists(e.getDirectoryPath(s),l.host),l)}))}}}e.nodeModuleNameResolver=M,e.nodeModulesPathPart="/node_modules/",e.pathContainsNodeModules=K,e.parseNodeModuleFromPath=J,e.getEntrypointsFromPackageJsonInfo=function(t,n,i,a,s){if(!s&&void 0!==t.resolvedEntrypoints)return t.resolvedEntrypoints;var u,l=s?c.JavaScript:c.TypeScript,p=E(n),d={compilerOptions:n,host:i,traceEnabled:r(n,i),failedLookupLocations:[],packageJsonInfoCache:null==a?void 0:a.getPackageJsonInfoCache(),conditions:["node","require","types"],features:p},f=Z(l,t.packageDirectory,!1,d,t.packageJsonContent,t.versionPaths);if(u=e.append(u,null==f?void 0:f.path),p&D.Exports&&t.packageJsonContent.exports)for(var _=0,m=[["node","import","types"],["node","require","types"]];_<m.length;_++){var g=m[_],h=o(o({},d),{failedLookupLocations:[],conditions:g}),y=Y(t,t.packageJsonContent.exports,h,l);if(y)for(var v=0,b=y;v<b.length;v++){var x=b[v];u=e.appendIfUnique(u,x.path)}}return t.resolvedEntrypoints=u||!1},e.getPackageScopeForPath=X,e.getPackageJsonInfo=Q,e.parsePackageName=ee,e.allKeysStartWithDot=te,e.isApplicableVersionedTypesKey=ae;var pe="__";function de(t){if(e.startsWith(t,"@")){var r=t.replace(e.directorySeparator,pe);if(r!==t)return r.slice(1)}return t}function fe(t){return e.stringContains(t,pe)?"@"+t.replace(pe,e.directorySeparator):t}function _e(r,n,i,a){var o=r&&r.get(i);if(o)return a.traceEnabled&&t(a.host,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,n,i),a.resultFromCache=o,{value:o.resolvedModule&&{path:o.resolvedModule.resolvedFileName,originalPath:o.resolvedModule.originalPath||!0,extension:o.resolvedModule.extension,packageId:o.resolvedModule.packageId}}}function me(t,n,i,a,o,s){var u=[],l={compilerOptions:i,host:a,traceEnabled:r(i,a),failedLookupLocations:u,packageJsonInfoCache:o,features:D.None,conditions:[]},p=e.getDirectoryPath(n),f=_(c.TypeScript)||_(c.JavaScript);return d(f&&f.value,!1,u,l.resultFromCache);function _(r){var n=P(r,t,p,q,l);if(n)return{value:n};if(e.isExternalModuleNameRelative(t)){var i=e.normalizePath(e.combinePaths(p,t));return ge(q(r,i,!1,l))}var a=o&&o.getOrCreateCacheForModuleName(t,void 0,s);return e.forEachAncestorDirectory(p,(function(n){var i=_e(a,t,n,l);if(i)return i;var o=e.normalizePath(e.combinePaths(n,t));return ge(q(r,o,!1,l))}))||(r===c.TypeScript?function(e,t,r){return se(c.DtsOnly,e,t,r,!0,void 0,void 0)}(t,p,l):void 0)}}function ge(e){return void 0!==e?{value:e}:void 0}e.getTypesPackageName=function(e){return"@types/".concat(de(e))},e.mangleScopedPackageName=de,e.getPackageNameFromTypesPackageName=function(t){var r=e.removePrefix(t,"@types/");return r!==t?fe(r):t},e.unmangleScopedPackageName=fe,e.classicNameResolver=me,e.loadModuleFromGlobalCache=function(n,i,a,o,s,u){var l=r(a,o);l&&t(o,e.Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,i,n,s);var p=[],f={compilerOptions:a,host:o,traceEnabled:l,failedLookupLocations:p,packageJsonInfoCache:u,features:D.None,conditions:[]};return d(ce(c.DtsOnly,n,s,f,!1,void 0,void 0),!0,p,f.resultFromCache)}}(n||(n={})),function(e){var t,r;function n(t,r){return t.body&&!t.body.parent&&(e.setParent(t.body,t),e.setParentRecursive(t.body,!1)),t.body?i(t.body,r):1}function i(t,r){void 0===r&&(r=new e.Map);var a=e.getNodeId(t);if(r.has(a))return r.get(a)||0;r.set(a,void 0);var o=function(t,r){switch(t.kind){case 257:case 258:return 0;case 259:if(e.isEnumConst(t))return 2;break;case 265:case 264:if(!e.hasSyntacticModifier(t,1))return 0;break;case 271:var a=t;if(!a.moduleSpecifier&&a.exportClause&&272===a.exportClause.kind){for(var o=0,c=0,u=a.exportClause.elements;c<u.length;c++){var l=s(u[c],r);if(l>o&&(o=l),1===o)return o}return o}break;case 261:var p=0;return e.forEachChild(t,(function(t){var n=i(t,r);switch(n){case 0:return;case 2:return void(p=2);case 1:return p=1,!0;default:e.Debug.assertNever(n)}})),p;case 260:return n(t,r);case 79:if(t.isInJSDocNamespace)return 0}return 1}(t,r);return r.set(a,o),o}function s(t,r){for(var n=t.propertyName||t.name,a=t.parent;a;){if(e.isBlock(a)||e.isModuleBlock(a)||e.isSourceFile(a)){for(var o=void 0,s=0,c=a.statements;s<c.length;s++){var u=c[s];if(e.nodeHasName(u,n)){u.parent||(e.setParent(u,a),e.setParentRecursive(u,!1));var l=i(u,r);if((void 0===o||l>o)&&(o=l),1===o)return o}}if(void 0!==o)return o}a=a.parent}return 1}function c(t){return e.Debug.attachFlowNodeDebugInfo(t),t}(t=e.ModuleInstanceState||(e.ModuleInstanceState={}))[t.NonInstantiated=0]="NonInstantiated",t[t.Instantiated=1]="Instantiated",t[t.ConstEnumOnly=2]="ConstEnumOnly",e.getModuleInstanceState=n,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.IsObjectLiteralOrClassExpressionMethodOrAccessor=128]="IsObjectLiteralOrClassExpressionMethodOrAccessor"}(r||(r={}));var u=function(){var t,r,i,s,u,f,_,m,g,h,y,v,D,b,x,E,S,C,T,k,A,N,P,F,w=!1,I=0,O={flags:1},L={flags:1},M=function(){return e.createBinaryExpressionTrampoline(t,r,n,i,a,void 0);function t(t,r){if(r){r.stackIndex++,e.setParent(t,s);var n=N;Ue(t);var i=s;s=t,r.skip=!1,r.inStrictModeStack[r.stackIndex]=n,r.parentStack[r.stackIndex]=i}else r={stackIndex:0,skip:!1,inStrictModeStack:[void 0],parentStack:[void 0]};var a=t.operatorToken.kind;if(55===a||56===a||60===a||e.isLogicalOrCoalescingAssignmentOperator(a)){if(pe(t)){var o=Z();De(t,o,o),y=ce(o)}else De(t,x,E);r.skip=!0}return r}function r(e,t,r){if(!t.skip){var n=o(e);return 27===r.operatorToken.kind&&he(e),n}}function n(e,t,r){t.skip||Be(e)}function i(e,t,r){if(!t.skip){var n=o(e);return 27===r.operatorToken.kind&&he(e),n}}function a(t,r){if(!r.skip){var n=t.operatorToken.kind;e.isAssignmentOperator(n)&&!e.isAssignmentTarget(t)&&(ve(t.left),63===n&&206===t.left.kind)&&Q(t.left.expression)&&(y=oe(256,y,t))}var i=r.inStrictModeStack[r.stackIndex],a=r.parentStack[r.stackIndex];void 0!==i&&(N=i),void 0!==a&&(s=a),r.skip=!1,r.stackIndex--}function o(t){if(t&&e.isBinaryExpression(t)&&!e.isDestructuringAssignment(t))return t;Be(t)}}();function R(r,n,i,a,o){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(r)||t,r,n,i,a,o)}return function(n,a){t=n,r=a,i=e.getEmitScriptTarget(r),N=function(t,r){return!(!e.getStrictOptionValue(r,"alwaysStrict")||t.isDeclarationFile)||!!t.externalModuleIndicator}(t,a),F=new e.Set,I=0,P=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(O),e.Debug.attachFlowNodeDebugInfo(L),t.locals||(null===e.tracing||void 0===e.tracing||e.tracing.push("bind","bindSourceFile",{path:t.path},!0),Be(t),null===e.tracing||void 0===e.tracing||e.tracing.pop(),t.symbolCount=I,t.classifiableNames=F,function(){if(g){for(var r=u,n=m,i=_,a=s,o=y,l=0,d=g;l<d.length;l++){var f=d[l],h=f.parent.parent;u=e.findAncestor(h.parent,(function(e){return!!(1&Ce(e))}))||t,_=e.getEnclosingBlockScopeContainer(h)||t,y=c({flags:2}),s=f,Be(f.typeExpression);var v=e.getNameOfDeclaration(f);if((e.isJSDocEnumTag(f)||!f.fullName)&&v&&e.isPropertyAccessEntityNameExpression(v.parent)){var D=et(v.parent);if(D){Qe(t.symbol,v.parent,D,!!e.findAncestor(v,(function(t){return e.isPropertyAccessExpression(t)&&"prototype"===t.name.escapedText})),!1);var b=u;switch(e.getAssignmentDeclarationPropertyAccessKind(v.parent)){case 1:case 2:u=e.isExternalOrCommonJsModule(t)?t:void 0;break;case 4:u=v.parent.expression;break;case 3:u=v.parent.expression.name;break;case 5:u=p(t,v.parent.expression)?t:e.isPropertyAccessExpression(v.parent.expression)?v.parent.expression.name:v.parent.expression;break;case 0:return e.Debug.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}u&&q(f,524288,788968),u=b}}else e.isJSDocEnumTag(f)||!f.fullName||79===f.fullName.kind?(s=f.parent,Fe(f,524288,788968)):Be(f.fullName)}u=r,m=n,_=i,s=a,y=o}}()),t=void 0,r=void 0,i=void 0,s=void 0,u=void 0,f=void 0,_=void 0,m=void 0,g=void 0,h=!1,y=void 0,v=void 0,D=void 0,b=void 0,x=void 0,E=void 0,S=void 0,T=void 0,k=!1,w=!1,A=0};function B(e,t){return I++,new P(e,t)}function j(t,r,n){t.flags|=n,r.symbol=t,t.declarations=e.appendIfUnique(t.declarations,r),1955&n&&!t.exports&&(t.exports=e.createSymbolTable()),6240&n&&!t.members&&(t.members=e.createSymbolTable()),t.constEnumOnlyModule&&304&t.flags&&(t.constEnumOnlyModule=!1),111551&n&&e.setValueDeclaration(t,r)}function K(t){if(270===t.kind)return t.isExportEquals?"export=":"default";var r=e.getNameOfDeclaration(t);if(r){if(e.isAmbientModule(t)){var n=e.getTextOfIdentifierOrLiteral(r);return e.isGlobalScopeAugmentation(t)?"__global":'"'.concat(n,'"')}if(161===r.kind){var i=r.expression;if(e.isStringOrNumericLiteralLike(i))return e.escapeLeadingUnderscores(i.text);if(e.isSignedNumericLiteral(i))return e.tokenToString(i.operator)+i.operand.text;e.Debug.fail("Only computed properties with literal names have declaration names")}if(e.isPrivateIdentifier(r)){var a=e.getContainingClass(t);if(!a)return;var o=a.symbol;return e.getSymbolNameForPrivateIdentifier(o,r.escapedText)}return e.isPropertyNameLiteral(r)?e.getEscapedTextOfIdentifierOrLiteral(r):void 0}switch(t.kind){case 170:return"__constructor";case 178:case 173:case 321:return"__call";case 179:case 174:return"__new";case 175:return"__index";case 271:return"__export";case 303:return"export=";case 220:if(2===e.getAssignmentDeclarationKind(t))return"export=";e.Debug.fail("Unknown binary declaration kind");break;case 315:return e.isJSDocConstructSignature(t)?"__new":"__call";case 163:return e.Debug.assert(315===t.parent.kind,"Impossible parameter parent kind",(function(){return"parent is: ".concat(e.SyntaxKind?e.SyntaxKind[t.parent.kind]:t.parent.kind,", expected JSDocFunctionType")})),"arg"+t.parent.parameters.indexOf(t)}}function J(t){return e.isNamedDeclaration(t)?e.declarationNameToString(t.name):e.unescapeLeadingUnderscores(e.Debug.checkDefined(K(t)))}function U(r,n,i,o,s,c,u){e.Debug.assert(u||!e.hasDynamicName(i));var l,p=e.hasSyntacticModifier(i,512)||e.isExportSpecifier(i)&&"default"===i.name.escapedText,d=u?"__computed":p&&n?"default":K(i);if(void 0===d)l=B(0,"__missing");else if(l=r.get(d),2885600&o&&F.add(d),l){if(c&&!l.isReplaceableByMethod)return l;if(l.flags&s)if(l.isReplaceableByMethod)r.set(d,l=B(0,d));else if(!(3&o&&67108864&l.flags)){e.isNamedDeclaration(i)&&e.setParent(i.name,i);var f=2&l.flags?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,_=!0;(384&l.flags||384&o)&&(f=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,_=!1);var m=!1;e.length(l.declarations)&&(p||l.declarations&&l.declarations.length&&270===i.kind&&!i.isExportEquals)&&(f=e.Diagnostics.A_module_cannot_have_multiple_default_exports,_=!1,m=!0);var g=[];e.isTypeAliasDeclaration(i)&&e.nodeIsMissing(i.type)&&e.hasSyntacticModifier(i,1)&&2887656&l.flags&&g.push(R(i,e.Diagnostics.Did_you_mean_0,"export type { ".concat(e.unescapeLeadingUnderscores(i.name.escapedText)," }")));var h=e.getNameOfDeclaration(i)||i;e.forEach(l.declarations,(function(r,n){var i=e.getNameOfDeclaration(r)||r,a=R(i,f,_?J(r):void 0);t.bindDiagnostics.push(m?e.addRelatedInfo(a,R(h,0===n?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):a),m&&g.push(R(i,e.Diagnostics.The_first_export_default_is_here))}));var y=R(h,f,_?J(i):void 0);t.bindDiagnostics.push(e.addRelatedInfo.apply(void 0,a([y],g,!1))),l=B(0,d)}}else r.set(d,l=B(0,d)),c&&(l.isReplaceableByMethod=!0);return j(l,i,o),l.parent?e.Debug.assert(l.parent===n,"Existing symbol parent should match new one"):l.parent=n,l}function q(t,r,n){var i=!!(1&e.getCombinedModifierFlags(t))||function(t){if(t.parent&&e.isModuleDeclaration(t)&&(t=t.parent),!e.isJSDocTypeAlias(t))return!1;if(!e.isJSDocEnumTag(t)&&t.fullName)return!0;var r=e.getNameOfDeclaration(t);return!!r&&!!(e.isPropertyAccessEntityNameExpression(r.parent)&&et(r.parent)||e.isDeclaration(r.parent)&&1&e.getCombinedModifierFlags(r.parent))}(t);if(2097152&r)return 274===t.kind||264===t.kind&&i?U(u.symbol.exports,u.symbol,t,r,n):U(u.locals,void 0,t,r,n);if(e.isJSDocTypeAlias(t)&&e.Debug.assert(e.isInJSFile(t)),!e.isAmbientModule(t)&&(i||64&u.flags)){if(!u.locals||e.hasSyntacticModifier(t,512)&&!K(t))return U(u.symbol.exports,u.symbol,t,r,n);var a=111551&r?1048576:0,o=U(u.locals,void 0,t,a,n);return o.exportSymbol=U(u.symbol.exports,u.symbol,t,r,n),t.localSymbol=o,o}return U(u.locals,void 0,t,r,n)}function V(e){z(e,(function(e){return 255===e.kind?Be(e):void 0})),z(e,(function(e){return 255!==e.kind?Be(e):void 0}))}function z(t,r){void 0===r&&(r=Be),void 0!==t&&e.forEach(t,r)}function W(t){e.forEachChild(t,Be,z)}function H(t){var i=w;if(w=!1,function(t){if(!(1&y.flags))return!1;if(y===O&&(e.isStatementButNotDeclaration(t)&&235!==t.kind||256===t.kind||260===t.kind&&function(t){var i=n(t);return 1===i||2===i&&e.shouldPreserveConstEnums(r)}(t))&&(y=L,!r.allowUnreachableCode)){var i=e.unreachableCodeIsError(r)&&!(8388608&t.flags)&&(!e.isVariableStatement(t)||!!(3&e.getCombinedNodeFlags(t.declarationList))||t.declarationList.declarations.some((function(e){return!!e.initializer})));!function(t,r){if(e.isStatement(t)&&l(t)&&e.isBlock(t.parent)){var n=t.parent.statements,i=e.sliceAfter(n,t);e.getRangesWhere(i,l,(function(e,t){return r(i[e],i[t-1])}))}else r(t,t)}(t,(function(t,r){return Re(i,t,r,e.Diagnostics.Unreachable_code_detected)}))}return!0}(t))return W(t),je(t),void(w=i);switch(t.kind>=236&&t.kind<=252&&!r.allowUnreachableCode&&(t.flowNode=y),t.kind){case 240:!function(e){var t=me(e,ee()),r=Z(),n=Z();ne(t,y),y=t,fe(e.expression,r,n),y=ce(r),_e(e.statement,n,t),ne(t,y),y=ce(n)}(t);break;case 239:!function(e){var t=ee(),r=me(e,Z()),n=Z();ne(t,y),y=t,_e(e.statement,n,r),ne(r,y),y=ce(r),fe(e.expression,t,n),y=ce(n)}(t);break;case 241:!function(e){var t=me(e,ee()),r=Z(),n=Z();Be(e.initializer),ne(t,y),y=t,fe(e.condition,r,n),y=ce(r),_e(e.statement,n,t),Be(e.incrementor),ne(t,y),y=ce(n)}(t);break;case 242:case 243:!function(e){var t=me(e,ee()),r=Z();Be(e.expression),ne(t,y),y=t,243===e.kind&&Be(e.awaitModifier),ne(r,y),Be(e.initializer),254!==e.initializer.kind&&ve(e.initializer),_e(e.statement,r,t),ne(t,y),y=ce(r)}(t);break;case 238:!function(e){var t=Z(),r=Z(),n=Z();fe(e.expression,t,r),y=ce(t),Be(e.thenStatement),ne(n,y),y=ce(r),Be(e.elseStatement),ne(n,y),y=ce(n)}(t);break;case 246:case 250:!function(e){Be(e.expression),246===e.kind&&(k=!0,b&&ne(b,y)),y=O}(t);break;case 245:case 244:!function(e){if(Be(e.label),e.label){var t=function(e){for(var t=T;t;t=t.next)if(t.name===e)return t}(e.label.escapedText);t&&(t.referenced=!0,ge(e,t.breakTarget,t.continueTarget))}else ge(e,v,D)}(t);break;case 251:!function(t){var r=b,n=S,i=Z(),a=Z(),o=Z();if(t.finallyBlock&&(b=a),ne(o,y),S=o,Be(t.tryBlock),ne(i,y),t.catchClause&&(y=ce(o),ne(o=Z(),y),S=o,Be(t.catchClause),ne(i,y)),b=r,S=n,t.finallyBlock){var s=Z();s.antecedents=e.concatenate(e.concatenate(i.antecedents,o.antecedents),a.antecedents),y=s,Be(t.finallyBlock),1&y.flags?y=O:(b&&a.antecedents&&ne(b,te(s,a.antecedents,y)),S&&o.antecedents&&ne(S,te(s,o.antecedents,y)),y=i.antecedents?te(s,i.antecedents,y):O)}else y=ce(i)}(t);break;case 248:!function(t){var r=Z();Be(t.expression);var n=v,i=C;v=r,C=y,Be(t.caseBlock),ne(r,y);var a=e.forEach(t.caseBlock.clauses,(function(e){return 289===e.kind}));t.possiblyExhaustive=!a&&!r.antecedents,a||ne(r,ae(C,t,0,0)),v=n,C=i,y=ce(r)}(t);break;case 262:!function(e){for(var t=e.clauses,n=G(e.parent.expression),i=O,a=0;a<t.length;a++){for(var o=a;!t[a].statements.length&&a+1<t.length;)Be(t[a]),a++;var s=Z();ne(s,n?ae(C,e.parent,o,a+1):C),ne(s,i),y=ce(s);var c=t[a];Be(c),i=y,!(1&y.flags)&&a!==t.length-1&&r.noFallthroughCasesInSwitch&&(c.fallthroughFlowNode=y)}}(t);break;case 288:!function(e){var t=y;y=C,Be(e.expression),y=t,z(e.statements)}(t);break;case 237:!function(e){Be(e.expression),he(e.expression)}(t);break;case 249:!function(t){var n=Z();T={next:T,name:t.label.escapedText,breakTarget:n,continueTarget:void 0,referenced:!1},Be(t.label),Be(t.statement),!T.referenced&&!r.allowUnusedLabels&&function(e,t,r){Re(e,t,t,r)}(e.unusedLabelIsError(r),t.label,e.Diagnostics.Unused_label),T=T.next,ne(n,y),y=ce(n)}(t);break;case 218:!function(e){if(53===e.operator){var t=x;x=E,E=t,W(e),E=x,x=t}else W(e),(45===e.operator||46===e.operator)&&ve(e.operand)}(t);break;case 219:!function(e){W(e),(45===e.operator||46===e.operator)&&ve(e.operand)}(t);break;case 220:if(e.isDestructuringAssignment(t))return w=i,void function(e){w?(w=!1,Be(e.operatorToken),Be(e.right),w=!0,Be(e.left)):(w=!0,Be(e.left),w=!1,Be(e.operatorToken),Be(e.right)),ve(e.left)}(t);M(t);break;case 214:!function(e){W(e),205===e.expression.kind&&ve(e.expression)}(t);break;case 221:!function(e){var t=Z(),r=Z(),n=Z();fe(e.condition,t,r),y=ce(t),Be(e.questionToken),Be(e.whenTrue),ne(n,y),y=ce(r),Be(e.colonToken),Be(e.whenFalse),ne(n,y),y=ce(n)}(t);break;case 253:!function(t){W(t),(t.initializer||e.isForInOrOfStatement(t.parent.parent))&&be(t)}(t);break;case 205:case 206:!function(t){e.isOptionalChain(t)?Se(t):W(t)}(t);break;case 207:!function(t){if(e.isOptionalChain(t))Se(t);else{var r=e.skipParentheses(t.expression);212===r.kind||213===r.kind?(z(t.typeArguments),z(t.arguments),Be(t.expression)):(W(t),106===t.expression.kind&&(y=se(y,t)))}if(205===t.expression.kind){var n=t.expression;e.isIdentifier(n.name)&&Q(n.expression)&&e.isPushOrUnshiftIdentifier(n.name)&&(y=oe(256,y,t))}}(t);break;case 229:!function(t){e.isOptionalChain(t)?Se(t):W(t)}(t);break;case 343:case 336:case 337:!function(t){Be(t.tagName),337!==t.kind&&t.fullName&&(e.setParent(t.fullName,t),e.setParentRecursive(t.fullName,!1)),"string"!=typeof t.comment&&z(t.comment)}(t);break;case 303:V(t.statements),Be(t.endOfFileToken);break;case 234:case 261:V(t.statements);break;case 202:!function(t){e.isBindingPattern(t.name)?(z(t.decorators),z(t.modifiers),Be(t.dotDotDotToken),Be(t.propertyName),Be(t.initializer),Be(t.name)):W(t)}(t);break;case 204:case 203:case 294:case 224:w=i;default:W(t)}je(t),w=i}function G(e){switch(e.kind){case 79:case 80:case 108:case 205:case 206:return Y(e);case 207:return function(e){if(e.arguments)for(var t=0,r=e.arguments;t<r.length;t++)if(Y(r[t]))return!0;return!(205!==e.expression.kind||!Y(e.expression.expression))}(e);case 211:case 229:case 215:return G(e.expression);case 220:return function(e){switch(e.operatorToken.kind){case 63:case 75:case 76:case 77:return Y(e.left);case 34:case 35:case 36:case 37:return Q(e.left)||Q(e.right)||X(e.right,e.left)||X(e.left,e.right);case 102:return Q(e.left);case 101:case 27:return G(e.right)}return!1}(e);case 218:return 53===e.operator&&G(e.operand)}return!1}function $(t){return e.isDottedName(t)||(e.isPropertyAccessExpression(t)||e.isNonNullExpression(t)||e.isParenthesizedExpression(t))&&$(t.expression)||e.isBinaryExpression(t)&&27===t.operatorToken.kind&&$(t.right)||e.isElementAccessExpression(t)&&e.isStringOrNumericLiteralLike(t.argumentExpression)&&$(t.expression)||e.isAssignmentExpression(t)&&$(t.left)}function Y(t){return $(t)||e.isOptionalChain(t)&&Y(t.expression)}function X(t,r){return e.isTypeOfExpression(t)&&Q(t.expression)&&e.isStringLiteralLike(r)}function Q(e){switch(e.kind){case 211:return Q(e.expression);case 220:switch(e.operatorToken.kind){case 63:return Q(e.left);case 27:return Q(e.right)}}return Y(e)}function Z(){return c({flags:4,antecedents:void 0})}function ee(){return c({flags:8,antecedents:void 0})}function te(e,t,r){return c({flags:1024,target:e,antecedents:t,antecedent:r})}function re(e){e.flags|=2048&e.flags?4096:2048}function ne(t,r){!(1&r.flags)&&!e.contains(t.antecedents,r)&&((t.antecedents||(t.antecedents=[])).push(r),re(r))}function ie(t,r,n){return 1&r.flags?r:n?!(110===n.kind&&64&t||95===n.kind&&32&t)||e.isExpressionOfOptionalChainRoot(n)||e.isNullishCoalesce(n.parent)?G(n)?(re(r),c({flags:t,antecedent:r,node:n})):r:O:32&t?r:O}function ae(e,t,r,n){return re(e),c({flags:128,antecedent:e,switchStatement:t,clauseStart:r,clauseEnd:n})}function oe(e,t,r){re(t);var n=c({flags:e,antecedent:t,node:r});return S&&ne(S,n),n}function se(e,t){return re(e),c({flags:512,antecedent:e,node:t})}function ce(e){var t=e.antecedents;return t?1===t.length?t[0]:e:O}function ue(e){for(;;)if(211===e.kind)e=e.expression;else{if(218!==e.kind||53!==e.operator)return 220===e.kind&&(55===e.operatorToken.kind||56===e.operatorToken.kind||60===e.operatorToken.kind);e=e.operand}}function le(t){return t=e.skipParentheses(t),e.isBinaryExpression(t)&&e.isLogicalOrCoalescingAssignmentOperator(t.operatorToken.kind)}function pe(t){for(;e.isParenthesizedExpression(t.parent)||e.isPrefixUnaryExpression(t.parent)&&53===t.parent.operator;)t=t.parent;return!(function(e){var t=e.parent;switch(t.kind){case 238:case 240:case 239:return t.expression===e;case 241:case 221:return t.condition===e}return!1}(t)||le(t.parent)||ue(t.parent)||e.isOptionalChain(t.parent)&&t.parent.expression===t)}function de(e,t,r,n){var i=x,a=E;x=r,E=n,e(t),x=i,E=a}function fe(t,r,n){de(Be,t,r,n),(!t||!le(t)&&!ue(t)&&(!e.isOptionalChain(t)||!e.isOutermostOptionalChain(t)))&&(ne(r,ie(32,y,t)),ne(n,ie(64,y,t)))}function _e(e,t,r){var n=v,i=D;v=t,D=r,Be(e),v=n,D=i}function me(e,t){for(var r=T;r&&249===e.parent.kind;)r.continueTarget=t,r=r.next,e=e.parent;return t}function ge(e,t,r){var n=245===e.kind?t:r;n&&(ne(n,y),y=O)}function he(t){if(207===t.kind){var r=t;106!==r.expression.kind&&e.isDottedName(r.expression)&&(y=se(y,r))}}function ye(e){220===e.kind&&63===e.operatorToken.kind?ve(e.left):ve(e)}function ve(e){if($(e))y=oe(16,y,e);else if(203===e.kind)for(var t=0,r=e.elements;t<r.length;t++){var n=r[t];224===n.kind?ve(n.expression):ye(n)}else if(204===e.kind)for(var i=0,a=e.properties;i<a.length;i++){var o=a[i];294===o.kind?ye(o.initializer):295===o.kind?ve(o.name):296===o.kind&&ve(o.expression)}}function De(t,r,n){var i=Z();55===t.operatorToken.kind||76===t.operatorToken.kind?fe(t.left,i,n):fe(t.left,r,i),y=ce(i),Be(t.operatorToken),e.isLogicalOrCoalescingAssignmentOperator(t.operatorToken.kind)?(de(Be,t.right,r,n),ve(t.left),ne(r,ie(32,y,t)),ne(n,ie(64,y,t))):fe(t.right,r,n)}function be(t){var r=e.isOmittedExpression(t)?void 0:t.name;if(e.isBindingPattern(r))for(var n=0,i=r.elements;n<i.length;n++)be(i[n]);else y=oe(16,y,t)}function xe(e){switch(e.kind){case 205:Be(e.questionDotToken),Be(e.name);break;case 206:Be(e.questionDotToken),Be(e.argumentExpression);break;case 207:Be(e.questionDotToken),z(e.typeArguments),z(e.arguments)}}function Ee(t,r,n){var i=e.isOptionalChainRoot(t)?Z():void 0;(function(t,r,n){de(Be,t,r,n),(!e.isOptionalChain(t)||e.isOutermostOptionalChain(t))&&(ne(r,ie(32,y,t)),ne(n,ie(64,y,t)))})(t.expression,i||r,n),i&&(y=ce(i)),de(xe,t,r,n),e.isOutermostOptionalChain(t)&&(ne(r,ie(32,y,t)),ne(n,ie(64,y,t)))}function Se(e){if(pe(e)){var t=Z();Ee(e,t,t),y=ce(t)}else Ee(e,x,E)}function Ce(t){switch(t.kind){case 225:case 256:case 259:case 204:case 181:case 320:case 285:return 1;case 257:return 65;case 260:case 258:case 194:return 33;case 303:return 37;case 171:case 172:case 168:if(e.isObjectLiteralOrClassExpressionMethodOrAccessor(t))return 173;case 170:case 255:case 167:case 173:case 321:case 315:case 178:case 174:case 175:case 179:case 169:return 45;case 212:case 213:return 61;case 261:return 4;case 166:return t.initializer?4:0;case 291:case 241:case 242:case 243:case 262:return 2;case 234:return e.isFunctionLike(t.parent)||e.isClassStaticBlockDeclaration(t.parent)?0:2}return 0}function Te(e){m&&(m.nextContainer=e),m=e}function ke(r,n,i){switch(u.kind){case 260:return q(r,n,i);case 303:return function(r,n,i){return e.isExternalModule(t)?q(r,n,i):U(t.locals,void 0,r,n,i)}(r,n,i);case 225:case 256:return function(t,r,n){return e.isStatic(t)?U(u.symbol.exports,u.symbol,t,r,n):U(u.symbol.members,u.symbol,t,r,n)}(r,n,i);case 259:return U(u.symbol.exports,u.symbol,r,n,i);case 181:case 320:case 204:case 257:case 285:return U(u.symbol.members,u.symbol,r,n,i);case 178:case 179:case 173:case 174:case 321:case 175:case 168:case 167:case 170:case 171:case 172:case 255:case 212:case 213:case 315:case 343:case 336:case 169:case 258:case 194:return U(u.locals,void 0,r,n,i)}}function Ae(t){8388608&t.flags&&!function(t){var r=e.isSourceFile(t)?t:e.tryCast(t.body,e.isModuleBlock);return!!r&&r.statements.some((function(t){return e.isExportDeclaration(t)||e.isExportAssignment(t)}))}(t)?t.flags|=64:t.flags&=-65}function Ne(e){var t=n(e),r=0!==t;return ke(e,r?512:1024,r?110735:0),t}function Pe(e,t,r){var n=B(t,r);return 106508&t&&(n.parent=u.symbol),j(n,e,t),n}function Fe(t,r,n){switch(_.kind){case 260:q(t,r,n);break;case 303:if(e.isExternalOrCommonJsModule(u)){q(t,r,n);break}default:_.locals||(_.locals=e.createSymbolTable(),Te(_)),U(_.locals,void 0,t,r,n)}}function we(r){!t.parseDiagnostics.length&&!(8388608&r.flags)&&!(4194304&r.flags)&&!e.isIdentifierName(r)&&(N&&r.originalKeywordKind>=117&&r.originalKeywordKind<=125?t.bindDiagnostics.push(R(r,function(r){return e.getContainingClass(r)?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:t.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}(r),e.declarationNameToString(r))):132===r.originalKeywordKind?e.isExternalModule(t)&&e.isInTopLevelContext(r)?t.bindDiagnostics.push(R(r,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,e.declarationNameToString(r))):32768&r.flags&&t.bindDiagnostics.push(R(r,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(r))):125===r.originalKeywordKind&&8192&r.flags&&t.bindDiagnostics.push(R(r,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(r))))}function Ie(r,n){if(n&&79===n.kind){var i=n;if(function(t){return e.isIdentifier(t)&&("eval"===t.escapedText||"arguments"===t.escapedText)}(i)){var a=e.getErrorSpanForNode(t,n);t.bindDiagnostics.push(e.createFileDiagnostic(t,a.start,a.length,function(r){return e.getContainingClass(r)?e.Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:t.externalModuleIndicator?e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:e.Diagnostics.Invalid_use_of_0_in_strict_mode}(r),e.idText(i)))}}}function Oe(e){N&&Ie(e,e.name)}function Le(r){if(i<2&&303!==_.kind&&260!==_.kind&&!e.isFunctionLikeOrClassStaticBlockDeclaration(_)){var n=e.getErrorSpanForNode(t,r);t.bindDiagnostics.push(e.createFileDiagnostic(t,n.start,n.length,function(r){return e.getContainingClass(r)?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:t.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}(r)))}}function Me(r,n,i,a,o){var s=e.getSpanOfTokenAtPosition(t,r.pos);t.bindDiagnostics.push(e.createFileDiagnostic(t,s.start,s.length,n,i,a,o))}function Re(r,n,i,a){!function(r,n,i){var a=e.createFileDiagnostic(t,n.pos,n.end-n.pos,i);r?t.bindDiagnostics.push(a):t.bindSuggestionDiagnostics=e.append(t.bindSuggestionDiagnostics,o(o({},a),{category:e.DiagnosticCategory.Suggestion}))}(r,{pos:e.getTokenPosOfNode(n,t),end:i.end},a)}function Be(r){if(r){e.setParent(r,s),e.tracing&&(r.tracingPath=t.path);var n=N;if(Ue(r),r.kind>159){var i=s;s=r;var a=Ce(r);0===a?H(r):function(t,r){var n=u,i=f,a=_;if(1&r?(213!==t.kind&&(f=u),u=_=t,32&r&&(u.locals=e.createSymbolTable()),Te(u)):2&r&&((_=t).locals=void 0),4&r){var o=y,s=v,l=D,p=b,d=S,m=T,g=k,x=16&r&&!e.hasSyntacticModifier(t,256)&&!t.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(t);x||(y=c({flags:2}),144&r&&(y.node=t)),b=x||170===t.kind||169===t.kind||e.isInJSFile(t)&&(255===t.kind||212===t.kind)?Z():void 0,S=void 0,v=void 0,D=void 0,T=void 0,k=!1,H(t),t.flags&=-2817,!(1&y.flags)&&8&r&&e.nodeIsPresent(t.body)&&(t.flags|=256,k&&(t.flags|=512),t.endFlowNode=y),303===t.kind&&(t.flags|=A,t.endFlowNode=y),b&&(ne(b,y),y=ce(b),(170===t.kind||169===t.kind||e.isInJSFile(t)&&(255===t.kind||212===t.kind))&&(t.returnFlowNode=y)),x||(y=o),v=s,D=l,b=p,S=d,T=m,k=g}else 64&r?(h=!1,H(t),t.flags=h?128|t.flags:-129&t.flags):H(t);u=n,f=i,_=a}(r,a),s=i}else i=s,1===r.kind&&(s=r),je(r),s=i;N=n}}function je(t){if(e.hasJSDocNodes(t))if(e.isInJSFile(t))for(var r=0,n=t.jsDoc;r<n.length;r++)Be(o=n[r]);else for(var i=0,a=t.jsDoc;i<a.length;i++){var o=a[i];e.setParent(o,t),e.setParentRecursive(o,!1)}}function Ke(t){if(!N)for(var r=0,n=t;r<n.length;r++){var i=n[r];if(!e.isPrologueDirective(i))return;if(Je(i))return void(N=!0)}}function Je(r){var n=e.getSourceTextOfNodeFromSourceFile(t,r.expression);return'"use strict"'===n||"'use strict'"===n}function Ue(n){switch(n.kind){case 79:if(n.isInJSDocNamespace){for(var a=n.parent;a&&!e.isJSDocTypeAlias(a);)a=a.parent;Fe(a,524288,788968);break}case 108:return y&&(e.isExpression(n)||295===s.kind)&&(n.flowNode=y),we(n);case 160:y&&e.isPartOfTypeQuery(n)&&(n.flowNode=y);break;case 230:case 106:n.flowNode=y;break;case 80:return function(r){"#constructor"===r.escapedText&&(t.parseDiagnostics.length||t.bindDiagnostics.push(R(r,e.Diagnostics.constructor_is_a_reserved_word,e.declarationNameToString(r))))}(n);case 205:case 206:var o=n;y&&$(o)&&(o.flowNode=y),e.isSpecialPropertyDeclaration(o)&&function(t){108===t.expression.kind?He(t):e.isBindableStaticAccessExpression(t)&&303===t.parent.parent.kind&&(e.isPrototypeAccess(t.expression)?Ye(t,t.parent):Xe(t))}(o),e.isInJSFile(o)&&t.commonJsModuleIndicator&&e.isModuleExportsAccessExpression(o)&&!d(_,"module")&&U(t.locals,void 0,o.expression,134217729,111550);break;case 220:switch(e.getAssignmentDeclarationKind(n)){case 1:ze(n);break;case 2:!function(r){if(Ve(r)){var n=e.getRightMostAssignedExpression(r.right);if(!(e.isEmptyObjectLiteral(n)||u===t&&p(t,n))){if(e.isObjectLiteralExpression(n)&&e.every(n.properties,e.isShorthandPropertyAssignment))return void e.forEach(n.properties,We);var i=e.exportAssignmentIsAlias(r)?2097152:1049092,a=U(t.symbol.exports,t.symbol,r,67108864|i,0);e.setValueDeclaration(a,r)}}}(n);break;case 3:Ye(n.left,n);break;case 6:!function(t){e.setParent(t.left,t),e.setParent(t.right,t),tt(t.left.expression,t.left,!1,!0)}(n);break;case 4:He(n);break;case 5:var c=n.left.expression;if(e.isInJSFile(n)&&e.isIdentifier(c)){var l=d(_,c.escapedText);if(e.isThisInitializedDeclaration(null==l?void 0:l.valueDeclaration)){He(n);break}}!function(r){var n,i=rt(r.left.expression,u)||rt(r.left.expression,_);if(e.isInJSFile(r)||e.isFunctionSymbol(i)){var a=e.getLeftmostAccessExpression(r.left);e.isIdentifier(a)&&2097152&(null===(n=d(u,a.escapedText))||void 0===n?void 0:n.flags)||(e.setParent(r.left,r),e.setParent(r.right,r),e.isIdentifier(r.left.expression)&&u===t&&p(t,r.left.expression)?ze(r):e.hasDynamicName(r)?(Pe(r,67108868,"__computed"),$e(r,Qe(i,r.left.expression,et(r.left),!1,!1))):Xe(e.cast(r.left,e.isBindableStaticNameExpression)))}}(n);break;case 0:break;default:e.Debug.fail("Unknown binary expression special property assignment kind")}return function(t){N&&e.isLeftHandSideExpression(t.left)&&e.isAssignmentOperator(t.operatorToken.kind)&&Ie(t,t.left)}(n);case 291:return function(e){N&&e.variableDeclaration&&Ie(e,e.variableDeclaration.name)}(n);case 214:return function(r){if(N&&79===r.expression.kind){var n=e.getErrorSpanForNode(t,r.expression);t.bindDiagnostics.push(e.createFileDiagnostic(t,n.start,n.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}(n);case 8:return function(r){i<1&&N&&32&r.numericLiteralFlags&&t.bindDiagnostics.push(R(r,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}(n);case 219:return function(e){N&&Ie(e,e.operand)}(n);case 218:return function(e){N&&(45===e.operator||46===e.operator)&&Ie(e,e.operand)}(n);case 247:return function(t){N&&Me(t,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}(n);case 249:return function(t){N&&e.getEmitScriptTarget(r)>=2&&(e.isDeclarationStatement(t.statement)||e.isVariableStatement(t.statement))&&Me(t.label,e.Diagnostics.A_label_is_not_allowed_here)}(n);case 191:return void(h=!0);case 176:break;case 162:return function(t){if(e.isJSDocTemplateTag(t.parent)){var r=e.getEffectiveContainerForJSDocTemplateTag(t.parent);r?(r.locals||(r.locals=e.createSymbolTable()),U(r.locals,void 0,t,262144,526824)):ke(t,262144,526824)}else if(189===t.parent.kind){var n=function(t){var r=e.findAncestor(t,(function(t){return t.parent&&e.isConditionalTypeNode(t.parent)&&t.parent.extendsType===t}));return r&&r.parent}(t.parent);n?(n.locals||(n.locals=e.createSymbolTable()),U(n.locals,void 0,t,262144,526824)):Pe(t,262144,K(t))}else ke(t,262144,526824)}(n);case 163:return at(n);case 253:return it(n);case 202:return n.flowNode=y,it(n);case 166:case 165:return function(e){return ot(e,4|(e.questionToken?16777216:0),0)}(n);case 294:case 295:return ot(n,4,0);case 297:return ot(n,8,900095);case 173:case 174:case 175:return ke(n,131072,0);case 168:case 167:return ot(n,8192|(n.questionToken?16777216:0),e.isObjectLiteralMethod(n)?0:103359);case 255:return function(r){!t.isDeclarationFile&&!(8388608&r.flags)&&e.isAsyncFunction(r)&&(A|=2048),Oe(r),N?(Le(r),Fe(r,16,110991)):ke(r,16,110991)}(n);case 170:return ke(n,16384,0);case 171:return ot(n,32768,46015);case 172:return ot(n,65536,78783);case 178:case 315:case 321:case 179:return function(t){var r=B(131072,K(t));j(r,t,131072);var n=B(2048,"__type");j(n,t,2048),n.members=e.createSymbolTable(),n.members.set(r.escapedName,r)}(n);case 181:case 320:case 194:return function(e){return Pe(e,2048,"__type")}(n);case 330:return function(t){W(t);var r=e.getHostSignatureFromJSDoc(t);r&&168!==r.kind&&j(r.symbol,r,32)}(n);case 204:return function(t){var r,n;if((n=r||(r={}))[n.Property=1]="Property",n[n.Accessor=2]="Accessor",N&&!e.isAssignmentTarget(t))for(var i=new e.Map,a=0,o=t.properties;a<o.length;a++){var s=o[a];if(296!==s.kind&&79===s.name.kind){var c=s.name,u=294===s.kind||295===s.kind||168===s.kind?1:2;if(!i.get(c.escapedText)){i.set(c.escapedText,u);continue}}}return Pe(t,4096,"__object")}(n);case 212:case 213:return function(r){return!t.isDeclarationFile&&!(8388608&r.flags)&&e.isAsyncFunction(r)&&(A|=2048),y&&(r.flowNode=y),Oe(r),Pe(r,16,r.name?r.name.escapedText:"__function")}(n);case 207:switch(e.getAssignmentDeclarationKind(n)){case 7:return function(e){var t=rt(e.arguments[0]),r=303===e.parent.parent.kind;Ze(e,t=Qe(t,e.arguments[0],r,!1,!1),!1)}(n);case 8:return function(e){if(Ve(e)){var t=nt(e.arguments[0],void 0,(function(e,t){return t&&j(t,e,67110400),t}));if(t){var r=1048580;U(t.exports,t,e,r,0)}}}(n);case 9:return function(e){var t=rt(e.arguments[0].expression);t&&t.valueDeclaration&&j(t,t.valueDeclaration,32),Ze(e,t,!0)}(n);case 0:break;default:return e.Debug.fail("Unknown call expression assignment declaration kind")}e.isInJSFile(n)&&function(r){!t.commonJsModuleIndicator&&e.isRequireCall(r,!1)&&Ve(r)}(n);break;case 225:case 256:return N=!0,function(r){256===r.kind?Fe(r,32,899503):(Pe(r,32,r.name?r.name.escapedText:"__class"),r.name&&F.add(r.name.escapedText));var n=r.symbol,i=B(4194308,"prototype"),a=n.exports.get(i.escapedName);a&&(r.name&&e.setParent(r.name,r),t.bindDiagnostics.push(R(a.declarations[0],e.Diagnostics.Duplicate_identifier_0,e.symbolName(i)))),n.exports.set(i.escapedName,i),i.parent=n}(n);case 257:return Fe(n,64,788872);case 258:return Fe(n,524288,788968);case 259:return function(t){return e.isEnumConst(t)?Fe(t,128,899967):Fe(t,256,899327)}(n);case 260:return function(r){if(Ae(r),e.isAmbientModule(r))if(e.hasSyntacticModifier(r,1)&&Me(r,e.Diagnostics.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),e.isModuleAugmentationExternal(r))Ne(r);else{var n=void 0;if(10===r.name.kind){var i=r.name.text;void 0===(n=e.tryParsePattern(i))&&Me(r.name,e.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,i)}var a=ke(r,512,110735);t.patternAmbientModules=e.append(t.patternAmbientModules,n&&!e.isString(n)?{pattern:n,symbol:a}:void 0)}else{var o=Ne(r);0!==o&&((a=r.symbol).constEnumOnlyModule=!(304&a.flags)&&2===o&&!1!==a.constEnumOnlyModule)}}(n);case 285:return function(e){return Pe(e,4096,"__jsxAttributes")}(n);case 284:return function(e,t,r){return ke(e,t,r)}(n,4,0);case 264:case 267:case 269:case 274:return ke(n,2097152,2097152);case 263:return function(r){r.modifiers&&r.modifiers.length&&t.bindDiagnostics.push(R(r,e.Diagnostics.Modifiers_cannot_appear_here));var n=e.isSourceFile(r.parent)?e.isExternalModule(r.parent)?r.parent.isDeclarationFile?void 0:e.Diagnostics.Global_module_exports_may_only_appear_in_declaration_files:e.Diagnostics.Global_module_exports_may_only_appear_in_module_files:e.Diagnostics.Global_module_exports_may_only_appear_at_top_level;n?t.bindDiagnostics.push(R(r,n)):(t.symbol.globalExports=t.symbol.globalExports||e.createSymbolTable(),U(t.symbol.globalExports,t.symbol,r,2097152,2097152))}(n);case 266:return function(e){e.name&&ke(e,2097152,2097152)}(n);case 271:return function(t){u.symbol&&u.symbol.exports?t.exportClause?e.isNamespaceExport(t.exportClause)&&(e.setParent(t.exportClause,t),U(u.symbol.exports,u.symbol,t.exportClause,2097152,2097152)):U(u.symbol.exports,u.symbol,t,8388608,0):Pe(t,8388608,K(t))}(n);case 270:return function(t){if(u.symbol&&u.symbol.exports){var r=e.exportAssignmentIsAlias(t)?2097152:4,n=U(u.symbol.exports,u.symbol,t,r,67108863);t.isExportEquals&&e.setValueDeclaration(n,t)}else Pe(t,111551,K(t))}(n);case 303:return Ke(n.statements),function(){if(Ae(t),e.isExternalModule(t))qe();else if(e.isJsonSourceFile(t)){qe();var r=t.symbol;U(t.symbol.exports,t.symbol,t,4,67108863),t.symbol=r}}();case 234:if(!e.isFunctionLikeOrClassStaticBlockDeclaration(n.parent))return;case 261:return Ke(n.statements);case 338:if(321===n.parent.kind)return at(n);if(320!==n.parent.kind)break;case 345:var f=n;return ke(f,f.isBracketed||f.typeExpression&&314===f.typeExpression.type.kind?16777220:4,0);case 343:case 336:case 337:return(g||(g=[])).push(n)}}function qe(){Pe(t,512,'"'.concat(e.removeFileExtension(t.fileName),'"'))}function Ve(e){return!t.externalModuleIndicator&&(t.commonJsModuleIndicator||(t.commonJsModuleIndicator=e,qe()),!0)}function ze(t){if(Ve(t)){var r=nt(t.left.expression,void 0,(function(e,t){return t&&j(t,e,67110400),t}));if(r){var n=e.isAliasableExpression(t.right)&&(e.isExportsIdentifier(t.left.expression)||e.isModuleExportsAccessExpression(t.left.expression))?2097152:1048580;e.setParent(t.left,t),U(r.exports,r,t.left,n,0)}}}function We(e){U(t.symbol.exports,t.symbol,e,69206016,0)}function He(t){if(e.Debug.assert(e.isInJSFile(t)),!(e.isBinaryExpression(t)&&e.isPropertyAccessExpression(t.left)&&e.isPrivateIdentifier(t.left.name)||e.isPropertyAccessExpression(t)&&e.isPrivateIdentifier(t.name))){var r=e.getThisContainer(t,!1);switch(r.kind){case 255:case 212:var n=r.symbol;if(e.isBinaryExpression(r.parent)&&63===r.parent.operatorToken.kind){var i=r.parent.left;e.isBindableStaticAccessExpression(i)&&e.isPrototypeAccess(i.expression)&&(n=rt(i.expression.expression,f))}n&&n.valueDeclaration&&(n.members=n.members||e.createSymbolTable(),e.hasDynamicName(t)?Ge(t,n,n.members):U(n.members,n,t,67108868,0),j(n,n.valueDeclaration,32));break;case 170:case 166:case 168:case 171:case 172:case 169:var a=r.parent,o=e.isStatic(r)?a.symbol.exports:a.symbol.members;e.hasDynamicName(t)?Ge(t,a.symbol,o):U(o,a.symbol,t,67108868,0,!0);break;case 303:if(e.hasDynamicName(t))break;r.commonJsModuleIndicator?U(r.symbol.exports,r.symbol,t,1048580,0):ke(t,1,111550);break;default:e.Debug.failBadSyntaxKind(r)}}}function Ge(e,t,r){U(r,t,e,4,0,!0,!0),$e(e,t)}function $e(t,r){r&&(r.assignmentDeclarationMembers||(r.assignmentDeclarationMembers=new e.Map)).set(e.getNodeId(t),t)}function Ye(t,r){var n=t.expression,i=n.expression;e.setParent(i,n),e.setParent(n,t),e.setParent(t,r),tt(i,t,!0,!0)}function Xe(t){e.Debug.assert(!e.isIdentifier(t)),e.setParent(t.expression,t),tt(t.expression,t,!1,!1)}function Qe(r,n,i,a,o){if(2097152&(null==r?void 0:r.flags))return r;if(i&&!a){var s=67110400;r=nt(n,r,(function(r,n,i){return n?(j(n,r,s),n):U(i?i.exports:t.jsGlobalAugmentations||(t.jsGlobalAugmentations=e.createSymbolTable()),i,r,s,110735)}))}return o&&r&&r.valueDeclaration&&j(r,r.valueDeclaration,32),r}function Ze(t,r,n){if(r&&function(t){if(1072&t.flags)return!0;var r=t.valueDeclaration;if(r&&e.isCallExpression(r))return!!e.getAssignedExpandoInitializer(r);var n=r?e.isVariableDeclaration(r)?r.initializer:e.isBinaryExpression(r)?r.right:e.isPropertyAccessExpression(r)&&e.isBinaryExpression(r.parent)?r.parent.right:void 0:void 0;if(n=n&&e.getRightMostAssignedExpression(n)){var i=e.isPrototypeAccess(e.isVariableDeclaration(r)?r.name:e.isBinaryExpression(r)?r.left:r);return!!e.getExpandoInitializer(!e.isBinaryExpression(n)||56!==n.operatorToken.kind&&60!==n.operatorToken.kind?n:n.right,i)}return!1}(r)){var i=n?r.members||(r.members=e.createSymbolTable()):r.exports||(r.exports=e.createSymbolTable()),a=0,o=0;e.isFunctionLikeDeclaration(e.getAssignedExpandoInitializer(t))?(a=8192,o=103359):e.isCallExpression(t)&&e.isBindableObjectDefinePropertyCall(t)&&(e.some(t.arguments[2].properties,(function(t){var r=e.getNameOfDeclaration(t);return!!r&&e.isIdentifier(r)&&"set"===e.idText(r)}))&&(a|=65540,o|=78783),e.some(t.arguments[2].properties,(function(t){var r=e.getNameOfDeclaration(t);return!!r&&e.isIdentifier(r)&&"get"===e.idText(r)}))&&(a|=32772,o|=46015)),0===a&&(a=4,o=0),U(i,r,t,67108864|a,-67108865&o)}}function et(t){return e.isBinaryExpression(t.parent)?303===function(t){for(;e.isBinaryExpression(t.parent);)t=t.parent;return t.parent}(t.parent).parent.kind:303===t.parent.parent.kind}function tt(e,t,r,n){var i=rt(e,u)||rt(e,_),a=et(t);Ze(t,i=Qe(i,t.expression,a,r,n),r)}function rt(t,r){if(void 0===r&&(r=u),e.isIdentifier(t))return d(r,t.escapedText);var n=rt(t.expression);return n&&n.exports&&n.exports.get(e.getElementOrPropertyAccessName(t))}function nt(r,n,i){if(p(t,r))return t.symbol;if(e.isIdentifier(r))return i(r,rt(r),n);var a=nt(r.expression,n,i),o=e.getNameOrArgument(r);return e.isPrivateIdentifier(o)&&e.Debug.fail("unexpected PrivateIdentifier"),i(o,a&&a.exports&&a.exports.get(e.getElementOrPropertyAccessName(r)),a)}function it(t){N&&Ie(t,t.name),e.isBindingPattern(t.name)||(e.isInJSFile(t)&&e.isVariableDeclarationInitializedToBareOrAccessedRequire(t)&&!e.getJSDocTypeTag(t)?ke(t,2097152,2097152):e.isBlockOrCatchScoped(t)?Fe(t,2,111551):e.isParameterDeclaration(t)?ke(t,1,111551):ke(t,1,111550))}function at(t){if((338!==t.kind||321===u.kind)&&(N&&!(8388608&t.flags)&&Ie(t,t.name),e.isBindingPattern(t.name)?Pe(t,1,"__"+t.parent.parameters.indexOf(t)):ke(t,1,111551),e.isParameterPropertyDeclaration(t,t.parent))){var r=t.parent.parent;U(r.symbol.members,r.symbol,t,4|(t.questionToken?16777216:0),0)}}function ot(r,n,i){return!t.isDeclarationFile&&!(8388608&r.flags)&&e.isAsyncFunction(r)&&(A|=2048),y&&e.isObjectLiteralOrClassExpressionMethodOrAccessor(r)&&(r.flowNode=y),e.hasDynamicName(r)?Pe(r,n,"__computed"):ke(r,n,i)}}();function l(t){return!(e.isFunctionDeclaration(t)||function(t){switch(t.kind){case 257:case 258:return!0;case 260:return 1!==n(t);case 259:return e.hasSyntacticModifier(t,2048);default:return!1}}(t)||e.isEnumDeclaration(t)||e.isVariableStatement(t)&&!(3&e.getCombinedNodeFlags(t))&&t.declarationList.declarations.some((function(e){return!e.initializer})))}function p(t,r){for(var n=0,i=[r];i.length&&n<100;){if(n++,r=i.shift(),e.isExportsIdentifier(r)||e.isModuleExportsAccessExpression(r))return!0;if(e.isIdentifier(r)){var a=d(t,r.escapedText);if(a&&a.valueDeclaration&&e.isVariableDeclaration(a.valueDeclaration)&&a.valueDeclaration.initializer){var o=a.valueDeclaration.initializer;i.push(o),e.isAssignmentExpression(o,!0)&&(i.push(o.left),i.push(o.right))}}}return!1}function d(t,r){var n=t.locals&&t.locals.get(r);return n?n.exportSymbol||n:e.isSourceFile(t)&&t.jsGlobalAugmentations&&t.jsGlobalAugmentations.has(r)?t.jsGlobalAugmentations.get(r):t.symbol&&t.symbol.exports&&t.symbol.exports.get(r)}e.bindSourceFile=function(t,r){e.performance.mark("beforeBind"),e.perfLogger.logStartBindFile(""+t.fileName),u(t,r),e.perfLogger.logStopBindFile(),e.performance.mark("afterBind"),e.performance.measure("Bind","beforeBind","afterBind")},e.isExportsOrModuleExportsOrAlias=p}(n||(n={})),function(e){e.createGetSymbolWalker=function(t,r,n,i,a,o,s,c,u,l){return function(p){void 0===p&&(p=function(){return!0});var d=[],f=[];return{walkType:function(t){try{return _(t),{visitedTypes:e.getOwnValues(d),visitedSymbols:e.getOwnValues(f)}}finally{e.clear(d),e.clear(f)}},walkSymbol:function(t){try{return h(t),{visitedTypes:e.getOwnValues(d),visitedSymbols:e.getOwnValues(f)}}finally{e.clear(d),e.clear(f)}}};function _(t){if(t&&!d[t.id]&&(d[t.id]=t,!h(t.symbol))){if(524288&t.flags){var r=t,n=r.objectFlags;4&n&&function(t){_(t.target),e.forEach(l(t),_)}(t),32&n&&function(e){_(e.typeParameter),_(e.constraintType),_(e.templateType),_(e.modifiersType)}(t),3&n&&function(t){g(t),e.forEach(t.typeParameters,_),e.forEach(i(t),_),_(t.thisType)}(t),24&n&&g(r)}262144&t.flags&&function(e){_(c(e))}(t),3145728&t.flags&&function(t){e.forEach(t.types,_)}(t),4194304&t.flags&&function(e){_(e.type)}(t),8388608&t.flags&&function(e){_(e.objectType),_(e.indexType),_(e.constraint)}(t)}}function m(i){var a=r(i);a&&_(a.type),e.forEach(i.typeParameters,_);for(var o=0,s=i.parameters;o<s.length;o++)h(s[o]);_(t(i)),_(n(i))}function g(e){for(var t=a(e),r=0,n=t.indexInfos;r<n.length;r++){var i=n[r];_(i.keyType),_(i.type)}for(var o=0,s=t.callSignatures;o<s.length;o++)m(s[o]);for(var c=0,u=t.constructSignatures;c<u.length;c++)m(u[c]);for(var l=0,p=t.properties;l<p.length;l++)h(p[l])}function h(t){if(!t)return!1;var r=e.getSymbolId(t);return!f[r]&&(f[r]=t,!p(t)||(_(o(t)),t.exports&&t.exports.forEach(h),e.forEach(t.declarations,(function(e){if(e.type&&180===e.type.kind){var t=e.type;h(s(u(t.exprName)))}})),!1))}}}}(n||(n={})),function(e){var t,r,n,i,s,u=/^".+"$/,l="(anonymous)",p=1,d=1,f=1,_=1;(r=t||(t={}))[r.AllowsSyncIterablesFlag=1]="AllowsSyncIterablesFlag",r[r.AllowsAsyncIterablesFlag=2]="AllowsAsyncIterablesFlag",r[r.AllowsStringInputFlag=4]="AllowsStringInputFlag",r[r.ForOfFlag=8]="ForOfFlag",r[r.YieldStarFlag=16]="YieldStarFlag",r[r.SpreadFlag=32]="SpreadFlag",r[r.DestructuringFlag=64]="DestructuringFlag",r[r.PossiblyOutOfBounds=128]="PossiblyOutOfBounds",r[r.Element=1]="Element",r[r.Spread=33]="Spread",r[r.Destructuring=65]="Destructuring",r[r.ForOf=13]="ForOf",r[r.ForAwaitOf=15]="ForAwaitOf",r[r.YieldStar=17]="YieldStar",r[r.AsyncYieldStar=19]="AsyncYieldStar",r[r.GeneratorReturnType=1]="GeneratorReturnType",r[r.AsyncGeneratorReturnType=2]="AsyncGeneratorReturnType",function(e){e[e.Yield=0]="Yield",e[e.Return=1]="Return",e[e.Next=2]="Next"}(n||(n={})),function(e){e[e.Normal=0]="Normal",e[e.FunctionReturn=1]="FunctionReturn",e[e.GeneratorNext=2]="GeneratorNext",e[e.GeneratorYield=3]="GeneratorYield"}(i||(i={})),function(e){e[e.None=0]="None",e[e.TypeofEQString=1]="TypeofEQString",e[e.TypeofEQNumber=2]="TypeofEQNumber",e[e.TypeofEQBigInt=4]="TypeofEQBigInt",e[e.TypeofEQBoolean=8]="TypeofEQBoolean",e[e.TypeofEQSymbol=16]="TypeofEQSymbol",e[e.TypeofEQObject=32]="TypeofEQObject",e[e.TypeofEQFunction=64]="TypeofEQFunction",e[e.TypeofEQHostObject=128]="TypeofEQHostObject",e[e.TypeofNEString=256]="TypeofNEString",e[e.TypeofNENumber=512]="TypeofNENumber",e[e.TypeofNEBigInt=1024]="TypeofNEBigInt",e[e.TypeofNEBoolean=2048]="TypeofNEBoolean",e[e.TypeofNESymbol=4096]="TypeofNESymbol",e[e.TypeofNEObject=8192]="TypeofNEObject",e[e.TypeofNEFunction=16384]="TypeofNEFunction",e[e.TypeofNEHostObject=32768]="TypeofNEHostObject",e[e.EQUndefined=65536]="EQUndefined",e[e.EQNull=131072]="EQNull",e[e.EQUndefinedOrNull=262144]="EQUndefinedOrNull",e[e.NEUndefined=524288]="NEUndefined",e[e.NENull=1048576]="NENull",e[e.NEUndefinedOrNull=2097152]="NEUndefinedOrNull",e[e.Truthy=4194304]="Truthy",e[e.Falsy=8388608]="Falsy",e[e.All=16777215]="All",e[e.BaseStringStrictFacts=3735041]="BaseStringStrictFacts",e[e.BaseStringFacts=12582401]="BaseStringFacts",e[e.StringStrictFacts=16317953]="StringStrictFacts",e[e.StringFacts=16776705]="StringFacts",e[e.EmptyStringStrictFacts=12123649]="EmptyStringStrictFacts",e[e.EmptyStringFacts=12582401]="EmptyStringFacts",e[e.NonEmptyStringStrictFacts=7929345]="NonEmptyStringStrictFacts",e[e.NonEmptyStringFacts=16776705]="NonEmptyStringFacts",e[e.BaseNumberStrictFacts=3734786]="BaseNumberStrictFacts",e[e.BaseNumberFacts=12582146]="BaseNumberFacts",e[e.NumberStrictFacts=16317698]="NumberStrictFacts",e[e.NumberFacts=16776450]="NumberFacts",e[e.ZeroNumberStrictFacts=12123394]="ZeroNumberStrictFacts",e[e.ZeroNumberFacts=12582146]="ZeroNumberFacts",e[e.NonZeroNumberStrictFacts=7929090]="NonZeroNumberStrictFacts",e[e.NonZeroNumberFacts=16776450]="NonZeroNumberFacts",e[e.BaseBigIntStrictFacts=3734276]="BaseBigIntStrictFacts",e[e.BaseBigIntFacts=12581636]="BaseBigIntFacts",e[e.BigIntStrictFacts=16317188]="BigIntStrictFacts",e[e.BigIntFacts=16775940]="BigIntFacts",e[e.ZeroBigIntStrictFacts=12122884]="ZeroBigIntStrictFacts",e[e.ZeroBigIntFacts=12581636]="ZeroBigIntFacts",e[e.NonZeroBigIntStrictFacts=7928580]="NonZeroBigIntStrictFacts",e[e.NonZeroBigIntFacts=16775940]="NonZeroBigIntFacts",e[e.BaseBooleanStrictFacts=3733256]="BaseBooleanStrictFacts",e[e.BaseBooleanFacts=12580616]="BaseBooleanFacts",e[e.BooleanStrictFacts=16316168]="BooleanStrictFacts",e[e.BooleanFacts=16774920]="BooleanFacts",e[e.FalseStrictFacts=12121864]="FalseStrictFacts",e[e.FalseFacts=12580616]="FalseFacts",e[e.TrueStrictFacts=7927560]="TrueStrictFacts",e[e.TrueFacts=16774920]="TrueFacts",e[e.SymbolStrictFacts=7925520]="SymbolStrictFacts",e[e.SymbolFacts=16772880]="SymbolFacts",e[e.ObjectStrictFacts=7888800]="ObjectStrictFacts",e[e.ObjectFacts=16736160]="ObjectFacts",e[e.FunctionStrictFacts=7880640]="FunctionStrictFacts",e[e.FunctionFacts=16728e3]="FunctionFacts",e[e.UndefinedFacts=9830144]="UndefinedFacts",e[e.NullFacts=9363232]="NullFacts",e[e.EmptyObjectStrictFacts=16318463]="EmptyObjectStrictFacts",e[e.AllTypeofNE=556800]="AllTypeofNE",e[e.EmptyObjectFacts=16777215]="EmptyObjectFacts",e[e.OrFactsMask=8256]="OrFactsMask",e[e.AndFactsMask=16768959]="AndFactsMask"}(s||(s={}));var m,g,h,y,v,D,b,x,E,S=new e.Map(e.getEntries({string:1,number:2,bigint:4,boolean:8,symbol:16,undefined:65536,object:32,function:64})),C=new e.Map(e.getEntries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384}));!function(e){e[e.Type=0]="Type",e[e.ResolvedBaseConstructorType=1]="ResolvedBaseConstructorType",e[e.DeclaredType=2]="DeclaredType",e[e.ResolvedReturnType=3]="ResolvedReturnType",e[e.ImmediateBaseConstraint=4]="ImmediateBaseConstraint",e[e.EnumTagType=5]="EnumTagType",e[e.ResolvedTypeArguments=6]="ResolvedTypeArguments",e[e.ResolvedBaseTypes=7]="ResolvedBaseTypes"}(m||(m={})),function(e){e[e.Normal=0]="Normal",e[e.Contextual=1]="Contextual",e[e.Inferential=2]="Inferential",e[e.SkipContextSensitive=4]="SkipContextSensitive",e[e.SkipGenericFunctions=8]="SkipGenericFunctions",e[e.IsForSignatureHelp=16]="IsForSignatureHelp",e[e.RestBindingElement=32]="RestBindingElement"}(g||(g={})),function(e){e[e.BivariantCallback=1]="BivariantCallback",e[e.StrictCallback=2]="StrictCallback",e[e.IgnoreReturnTypes=4]="IgnoreReturnTypes",e[e.StrictArity=8]="StrictArity",e[e.Callback=3]="Callback"}(h||(h={})),function(e){e[e.None=0]="None",e[e.Source=1]="Source",e[e.Target=2]="Target",e[e.PropertyCheck=4]="PropertyCheck",e[e.InPropertyCheck=8]="InPropertyCheck"}(y||(y={})),function(e){e[e.None=0]="None",e[e.Source=1]="Source",e[e.Target=2]="Target",e[e.Both=3]="Both"}(v||(v={})),function(e){e[e.IncludeReadonly=1]="IncludeReadonly",e[e.ExcludeReadonly=2]="ExcludeReadonly",e[e.IncludeOptional=4]="IncludeOptional",e[e.ExcludeOptional=8]="ExcludeOptional"}(D||(D={})),function(e){e[e.None=0]="None",e[e.Source=1]="Source",e[e.Target=2]="Target",e[e.Both=3]="Both"}(b||(b={})),function(e){e.resolvedExports="resolvedExports",e.resolvedMembers="resolvedMembers"}(x||(x={})),function(e){e[e.Local=0]="Local",e[e.Parameter=1]="Parameter"}(E||(E={}));var T,k,A,N,P=e.and(B,(function(t){return!e.isAccessor(t)}));!function(e){e[e.GetAccessor=1]="GetAccessor",e[e.SetAccessor=2]="SetAccessor",e[e.PropertyAssignment=4]="PropertyAssignment",e[e.Method=8]="Method",e[e.PrivateStatic=16]="PrivateStatic",e[e.GetOrSetAccessor=3]="GetOrSetAccessor",e[e.PropertyAssignmentOrMethod=12]="PropertyAssignmentOrMethod"}(T||(T={})),function(e){e[e.None=0]="None",e[e.ExportValue=1]="ExportValue",e[e.ExportType=2]="ExportType",e[e.ExportNamespace=4]="ExportNamespace"}(k||(k={})),function(e){e[e.None=0]="None",e[e.StrongArityForUntypedJS=1]="StrongArityForUntypedJS",e[e.VoidIsNonOptional=2]="VoidIsNonOptional"}(A||(A={})),function(e){e[e.Uppercase=0]="Uppercase",e[e.Lowercase=1]="Lowercase",e[e.Capitalize=2]="Capitalize",e[e.Uncapitalize=3]="Uncapitalize"}(N||(N={}));var F,w=new e.Map(e.getEntries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3}));function I(){}function O(){this.flags=0}function L(e){return e.id||(e.id=d,d++),e.id}function M(e){return e.id||(e.id=p,p++),e.id}function R(t,r){var n=e.getModuleInstanceState(t);return 1===n||r&&2===n}function B(e){return 255!==e.kind&&168!==e.kind||!!e.body}function j(t){switch(t.parent.kind){case 269:case 274:return e.isIdentifier(t);default:return e.isDeclarationName(t)}}function K(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function J(e){return!!(1&e.flags)}function U(e){return!!(2&e.flags)}e.getNodeId=L,e.getSymbolId=M,e.isInstantiatedModule=R,e.createTypeChecker=function(t,r){var n,i,s,p,d=e.memoize((function(){var r=new e.Map;return t.getSourceFiles().forEach((function(e){!e.resolvedModules||e.resolvedModules.forEach((function(e){e&&e.packageId&&r.set(e.packageId.name,".d.ts"===e.extension||!!r.get(e.packageId.name))}))})),r})),m=e.objectAllocator.getSymbolConstructor(),g=e.objectAllocator.getTypeConstructor(),h=e.objectAllocator.getSignatureConstructor(),y=0,v=0,D=0,b=0,x=0,E=0,T=0,k=e.createSymbolTable(),A=[1],N=t.getCompilerOptions(),q=e.getEmitScriptTarget(N),V=e.getEmitModuleKind(N),z=e.getUseDefineForClassFields(N),W=e.getAllowSyntheticDefaultImports(N),H=e.getStrictOptionValue(N,"strictNullChecks"),G=e.getStrictOptionValue(N,"strictFunctionTypes"),$=e.getStrictOptionValue(N,"strictBindCallApply"),Y=e.getStrictOptionValue(N,"strictPropertyInitialization"),X=e.getStrictOptionValue(N,"noImplicitAny"),Q=e.getStrictOptionValue(N,"noImplicitThis"),Z=e.getStrictOptionValue(N,"useUnknownInCatchVariables"),ee=!!N.keyofStringsOnly,te=N.suppressExcessPropertyErrors?0:16384,re=N.exactOptionalPropertyTypes,ne=function(){var t=e.createBinaryExpressionTrampoline((function(t,r,i){return r?(r.stackIndex++,r.skip=!1,n(r,void 0),a(r,void 0)):r={checkMode:i,skip:!1,stackIndex:0,typeStack:[void 0,void 0]},e.isInJSFile(t)&&e.getAssignedExpandoInitializer(t)?(r.skip=!0,a(r,Ub(t.right,i)),r):(function(t){var r=t.left,n=t.operatorToken,i=t.right;60===n.kind&&(e.isBinaryExpression(r)&&(56===r.operatorToken.kind||55===r.operatorToken.kind)&&XC(r,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,e.tokenToString(r.operatorToken.kind),e.tokenToString(n.kind)),e.isBinaryExpression(i)&&(56===i.operatorToken.kind||55===i.operatorToken.kind)&&XC(i,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,e.tokenToString(i.operatorToken.kind),e.tokenToString(n.kind)))}(t),63===t.operatorToken.kind&&(204===t.left.kind||203===t.left.kind)&&(r.skip=!0,a(r,gb(t.left,Ub(t.right,i),i,108===t.right.kind))),r)}),(function(e,t,n){if(!t.skip)return r(t,e)}),(function(t,r,o){if(!r.skip){var s=i(r);e.Debug.assertIsDefined(s),n(r,s),a(r,void 0);var c=t.kind;if(55===c||56===c||60===c){if(55===c){var u=e.walkUpParenthesizedExpressions(o.parent);nE(o.left,s,e.isIfStatement(u)?u.thenStatement:void 0)}iE(s,o.left)}}}),(function(e,t,n){if(!t.skip)return r(t,e)}),(function(t,r){var o;if(r.skip)o=i(r);else{var s=function(e){return e.typeStack[e.stackIndex]}(r);e.Debug.assertIsDefined(s);var c=i(r);e.Debug.assertIsDefined(c),o=vb(t.left,t.operatorToken,t.right,s,c,t)}return r.skip=!1,n(r,void 0),a(r,void 0),r.stackIndex--,o}),(function(e,t,r){return a(e,t),e}));return function(r,n){var i=t(r,n);return e.Debug.assertIsDefined(i),i};function r(t,r){if(e.isBinaryExpression(r))return r;a(t,Ub(r,t.checkMode))}function n(e,t){e.typeStack[e.stackIndex]=t}function i(e){return e.typeStack[e.stackIndex+1]}function a(e,t){e.typeStack[e.stackIndex+1]=t}}(),ie=function(){var r,n=t.getResolvedTypeReferenceDirectives();return n&&(r=new e.Map,n.forEach((function(e,r){if(e&&e.resolvedFileName){var n=t.getSourceFile(e.resolvedFileName);n&&a(n,r)}}))),{getReferencedExportContainer:zS,getReferencedImportDeclaration:WS,getReferencedDeclarationWithCollidingName:GS,isDeclarationWithCollidingName:$S,isValueAliasDeclaration:function(t){var r=e.getParseTreeNode(t);return!r||YS(r)},hasGlobalName:mC,isReferencedAliasDeclaration:function(t,r){var n=e.getParseTreeNode(t);return!n||eC(n,r)},getNodeCheckFlags:function(t){var r=e.getParseTreeNode(t);return r?oC(r):0},isTopLevelValueImportEqualsWithEntityName:XS,isDeclarationVisible:Ya,isImplementationOfOverload:tC,isRequiredInitializedParameter:rC,isOptionalUninitializedParameterProperty:nC,isExpandoFunctionDeclaration:iC,getPropertiesOfContainerFunction:aC,createTypeOfDeclaration:dC,createReturnTypeOfSignatureDeclaration:fC,createTypeOfExpression:_C,createLiteralConstValue:vC,isSymbolAccessible:Na,isEntityNameVisible:La,getConstantValue:function(t){var r=e.getParseTreeNode(t,cC);return r?uC(r):void 0},collectLinkedAliases:Xa,getReferencedValueDeclaration:hC,getTypeReferenceSerializationKind:pC,isOptionalParameter:hu,moduleExportsSomeValue:VS,isArgumentsLocalBinding:qS,getExternalModuleFileFromDeclaration:function(t){var r=e.getParseTreeNode(t,e.hasPossibleExternalModuleReference);return r&&xC(r)},getTypeReferenceDirectivesForEntityName:function(e){if(r){var t=790504;(79===e.kind&&Vm(e)||205===e.kind&&!function(e){return e.parent&&227===e.parent.kind&&e.parent.parent&&290===e.parent.parent.kind}(e))&&(t=1160127);var n=Bi(e,t,!0);return n&&n!==Ae?i(n,t):void 0}},getTypeReferenceDirectivesForSymbol:i,isLiteralConstDeclaration:yC,isLateBound:function(t){var r=e.getParseTreeNode(t,e.isDeclaration),n=r&&ra(r);return!!(n&&4096&e.getCheckFlags(n))},getJsxFactoryEntity:DC,getJsxFragmentFactoryEntity:bC,getAllAccessorDeclarations:function(t){var r=172===(t=e.getParseTreeNode(t,e.isGetOrSetAccessorDeclaration)).kind?171:172,n=e.getDeclarationOfKind(ra(t),r);return{firstAccessor:n&&n.pos<t.pos?n:t,secondAccessor:n&&n.pos<t.pos?t:n,setAccessor:172===t.kind?t:n,getAccessor:171===t.kind?t:n}},getSymbolOfExternalModuleSpecifier:function(e){return Ji(e,e,void 0)},isBindingCapturedByNode:function(t,r){var n=e.getParseTreeNode(t),i=e.getParseTreeNode(r);return!!n&&!!i&&(e.isVariableDeclaration(i)||e.isBindingElement(i))&&function(t,r){var n=Yn(t);return!!n&&e.contains(n.capturedBlockScopeBindings,ra(r))}(n,i)},getDeclarationStatementsForSourceFile:function(t,r,n,i){var a=e.getParseTreeNode(t);e.Debug.assert(a&&303===a.kind,"Non-sourcefile node passed into getDeclarationsForSourceFile");var o=ra(t);return o?o.exports?ae.symbolTableToDeclarationStatements(o.exports,t,r,n,i):[]:t.locals?ae.symbolTableToDeclarationStatements(t.locals,t,r,n,i):[]},isImportRequiredByAugmentation:function(t){var r=e.getSourceFileOfNode(t);if(!r.symbol)return!1;var n=xC(t);if(!n||n===r)return!1;for(var i=Qi(r.symbol),a=0,o=e.arrayFrom(i.values());a<o.length;a++){var s=o[a];if(s.mergeId){var c=ta(s);if(c.declarations)for(var u=0,l=c.declarations;u<l.length;u++){var p=l[u];if(e.getSourceFileOfNode(p)===n)return!0}}}return!1}};function i(t,n){if(r&&function(t){if(!t.declarations)return!1;for(var n=t;;){var i=na(n);if(!i)break;n=i}if(n.valueDeclaration&&303===n.valueDeclaration.kind&&512&n.flags)return!1;for(var a=0,o=t.declarations;a<o.length;a++){var s=o[a],c=e.getSourceFileOfNode(s);if(r.has(c.path))return!0}return!1}(t)){for(var i,a=0,o=t.declarations;a<o.length;a++){var s=o[a];if(s.symbol&&s.symbol.flags&n){var c=e.getSourceFileOfNode(s),u=r.get(c.path);if(!u)return;(i||(i=[])).push(u)}}return i}}function a(n,i){if(!r.has(n.path)){r.set(n.path,i);for(var o=0,s=n.referencedFiles;o<s.length;o++){var c=s[o].fileName,u=e.resolveTripleslashReference(c,n.fileName),l=t.getSourceFile(u);l&&a(l,i)}}}}(),ae=function(){return{typeToTypeNode:function(e,t,n,i){return r(t,n,i,(function(t){return c(e,t)}))},indexInfoToIndexSignatureDeclaration:function(e,t,n,i){return r(t,n,i,(function(t){return _(e,t,void 0)}))},signatureToSignatureDeclaration:function(e,t,n,i,a){return r(n,i,a,(function(r){return m(e,t,r)}))},symbolToEntityName:function(e,t,n,i,a){return r(n,i,a,(function(r){return F(e,r,t,!1)}))},symbolToExpression:function(e,t,n,i,a){return r(n,i,a,(function(r){return w(e,r,t)}))},symbolToTypeParameterDeclarations:function(e,t,n,i){return r(t,n,i,(function(t){return x(e,t)}))},symbolToParameterDeclaration:function(e,t,n,i){return r(t,n,i,(function(t){return y(e,t)}))},typeParameterToDeclaration:function(e,t,n,i){return r(t,n,i,(function(t){return h(e,t)}))},symbolTableToDeclarationStatements:function(t,n,s,u,l){return r(n,s,u,(function(r){return function(t,r,n){var s=le(e.factory.createPropertyDeclaration,168,!0),u=le((function(t,r,n,i,a){return e.factory.createPropertySignature(r,n,i,a)}),167,!1),l=r.enclosingDeclaration,p=[],d=new e.Set,f=[],g=r;(r=o(o({},g),{usedSymbolNames:new e.Set(g.usedSymbolNames),remappedSymbolNames:new e.Map,tracker:o(o({},g.tracker),{trackSymbol:function(e,t,n){if(0===Na(e,t,n,!1).accessibility){var i=b(e,r,n);4&e.flags||V(i[0])}else if(g.tracker&&g.tracker.trackSymbol)return g.tracker.trackSymbol(e,t,n);return!1}})})).tracker=i(r,r.tracker),e.forEachEntry(t,(function(t,r){ve(t,e.unescapeLeadingUnderscores(r))}));var y=!n,v=t.get("export=");return v&&t.size>1&&2097152&v.flags&&(t=e.createSymbolTable()).set("export=",v),O(t),k(p);function D(e){return!!e&&79===e.kind}function x(t){return e.isVariableStatement(t)?e.filter(e.map(t.declarationList.declarations,e.getNameOfDeclaration),D):e.filter([e.getNameOfDeclaration(t)],D)}function E(t){var r=e.find(t,e.isExportAssignment),n=e.findIndex(t,e.isModuleDeclaration),i=-1!==n?t[n]:void 0;if(i&&r&&r.isExportEquals&&e.isIdentifier(r.expression)&&e.isIdentifier(i.name)&&e.idText(i.name)===e.idText(r.expression)&&i.body&&e.isModuleBlock(i.body)){var o=e.filter(t,(function(t){return!!(1&e.getEffectiveModifierFlags(t))})),s=i.name,c=i.body;if(e.length(o)&&(i=e.factory.updateModuleDeclaration(i,i.decorators,i.modifiers,i.name,c=e.factory.updateModuleBlock(c,e.factory.createNodeArray(a(a([],i.body.statements,!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.map(e.flatMap(o,(function(e){return x(e)})),(function(t){return e.factory.createExportSpecifier(!1,void 0,t)}))),void 0)],!1)))),t=a(a(a([],t.slice(0,n),!0),[i],!1),t.slice(n+1),!0)),!e.find(t,(function(t){return t!==i&&e.nodeHasName(t,s)}))){p=[];var u=!e.some(c.statements,(function(t){return e.hasSyntacticModifier(t,1)||e.isExportAssignment(t)||e.isExportDeclaration(t)}));e.forEach(c.statements,(function(e){W(e,u?1:0)})),t=a(a([],e.filter(t,(function(e){return e!==i&&e!==r})),!0),p,!0)}}return t}function S(t){var r=e.filter(t,(function(t){return e.isExportDeclaration(t)&&!t.moduleSpecifier&&!!t.exportClause&&e.isNamedExports(t.exportClause)}));if(e.length(r)>1){var n=e.filter(t,(function(t){return!e.isExportDeclaration(t)||!!t.moduleSpecifier||!t.exportClause}));t=a(a([],n,!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(r,(function(t){return e.cast(t.exportClause,e.isNamedExports).elements}))),void 0)],!1)}var i=e.filter(t,(function(t){return e.isExportDeclaration(t)&&!!t.moduleSpecifier&&!!t.exportClause&&e.isNamedExports(t.exportClause)}));if(e.length(i)>1){var o=e.group(i,(function(t){return e.isStringLiteral(t.moduleSpecifier)?">"+t.moduleSpecifier.text:">"}));if(o.length!==i.length)for(var s=function(r){r.length>1&&(t=a(a([],e.filter(t,(function(e){return-1===r.indexOf(e)})),!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(r,(function(t){return e.cast(t.exportClause,e.isNamedExports).elements}))),r[0].moduleSpecifier)],!1))},c=0,u=o;c<u.length;c++)s(u[c])}return t}function T(t){var r=e.findIndex(t,(function(t){return e.isExportDeclaration(t)&&!t.moduleSpecifier&&!t.assertClause&&!!t.exportClause&&e.isNamedExports(t.exportClause)}));if(r>=0){var n=t[r],i=e.mapDefined(n.exportClause.elements,(function(r){if(!r.propertyName){var n=e.indicesOf(t),i=e.filter(n,(function(n){return e.nodeHasName(t[n],r.name)}));if(e.length(i)&&e.every(i,(function(e){return A(t[e])}))){for(var a=0,o=i;a<o.length;a++){var s=o[a];t[s]=P(t[s])}return}}return r}));e.length(i)?t[r]=e.factory.updateExportDeclaration(n,n.decorators,n.modifiers,n.isTypeOnly,e.factory.updateNamedExports(n.exportClause,i),n.moduleSpecifier,n.assertClause):e.orderedRemoveItemAt(t,r)}return t}function k(t){return t=T(t=S(t=E(t))),l&&(e.isSourceFile(l)&&e.isExternalOrCommonJsModule(l)||e.isModuleDeclaration(l))&&(!e.some(t,e.isExternalModuleIndicator)||!e.hasScopeMarker(t)&&e.some(t,e.needsScopeMarker))&&t.push(e.createEmptyExports(e.factory)),t}function A(t){return e.isEnumDeclaration(t)||e.isVariableStatement(t)||e.isFunctionDeclaration(t)||e.isClassDeclaration(t)||e.isModuleDeclaration(t)&&!e.isExternalModuleAugmentation(t)&&!e.isGlobalScopeAugmentation(t)||e.isInterfaceDeclaration(t)||AS(t)}function P(t){var r=-3&(1|e.getEffectiveModifierFlags(t));return e.factory.updateModifiers(t,r)}function I(t){var r=-2&e.getEffectiveModifierFlags(t);return e.factory.updateModifiers(t,r)}function O(t,r,n){r||f.push(new e.Map),t.forEach((function(e){L(e,!1,!!n)})),r||(f[f.length-1].forEach((function(e){L(e,!0,!!n)})),f.pop())}function L(t,n,a){var s=ta(t);if(!d.has(M(s))&&(d.add(M(s)),!n||e.length(t.declarations)&&e.some(t.declarations,(function(t){return!!e.findAncestor(t,(function(e){return e===l}))})))){var c=r;r=function(t){var r=o({},t);return r.typeParameterNames&&(r.typeParameterNames=new e.Map(r.typeParameterNames)),r.typeParameterNamesByText&&(r.typeParameterNamesByText=new e.Set(r.typeParameterNamesByText)),r.typeParameterSymbolList&&(r.typeParameterSymbolList=new e.Set(r.typeParameterSymbolList)),r.tracker=i(r,r.tracker),r}(r);var u=j(t,n,a);return r.reportedDiagnostic&&(g.reportedDiagnostic=r.reportedDiagnostic),r=c,u}}function j(t,i,a){var o,s,c=e.unescapeLeadingUnderscores(t.escapedName),u="default"===t.escapedName;if(!i||131072&r.flags||!e.isStringANonContextualKeyword(c)||u){var p=u&&!!(-113&t.flags||16&t.flags&&e.length(Ac(Yo(t))))&&!(2097152&t.flags),d=!p&&!i&&e.isStringANonContextualKeyword(c)&&!u;(p||d)&&(i=!0);var f=(i?0:1)|(u&&!p?512:0),_=1536&t.flags&&7&t.flags&&"export="!==t.escapedName,m=_&&ue(Yo(t),t);if((8208&t.flags||m)&&Z(Yo(t),t,ve(t,c),f),524288&t.flags&&H(t,c,f),7&t.flags&&"export="!==t.escapedName&&!(4194304&t.flags)&&!(32&t.flags)&&!m)if(a)ce(t)&&(d=!1,p=!1);else{var g=Yo(t),h=ve(t,c);if(16&t.flags||!ue(g,t)){var y=2&t.flags?rh(t)?2:1:void 0,v=!p&&4&t.flags?he(h,t):h,D=t.declarations&&e.find(t.declarations,(function(t){return e.isVariableDeclaration(t)}));D&&e.isVariableDeclarationList(D.parent)&&1===D.parent.declarations.length&&(D=D.parent.parent);var b=null===(o=t.declarations)||void 0===o?void 0:o.find(e.isPropertyAccessExpression);if(b&&e.isBinaryExpression(b.parent)&&e.isIdentifier(b.parent.right)&&(null===(s=g.symbol)||void 0===s?void 0:s.valueDeclaration)&&e.isSourceFile(g.symbol.valueDeclaration)){var x=h===b.parent.right.escapedText?void 0:b.parent.right;W(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(!1,x,h)])),0),r.tracker.trackSymbol(g.symbol,r.enclosingDeclaration,111551)}else W(e.setTextRange(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(v,void 0,K(r,g,t,l,V,n))],y)),D),v!==h?-2&f:f),v!==h&&!i&&(W(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(!1,v,h)])),0),d=!1,p=!1)}else Z(g,t,h,f)}if(384&t.flags&&Q(t,c,f),32&t.flags&&(4&t.flags&&t.valueDeclaration&&e.isBinaryExpression(t.valueDeclaration.parent)&&e.isClassExpression(t.valueDeclaration.parent.right)?oe(t,ve(t,c),f):ie(t,ve(t,c),f)),(1536&t.flags&&(!_||Y(t))||m)&&X(t,c,f),64&t.flags&&!(32&t.flags)&&G(t,c,f),2097152&t.flags&&oe(t,ve(t,c),f),4&t.flags&&"export="===t.escapedName&&ce(t),8388608&t.flags&&t.declarations)for(var E=0,S=t.declarations;E<S.length;E++){var T=S[E],k=Ki(T,T.moduleSpecifier);!k||W(e.factory.createExportDeclaration(void 0,void 0,!1,void 0,e.factory.createStringLiteral(C(k,r))),0)}p?W(e.factory.createExportAssignment(void 0,void 0,!1,e.factory.createIdentifier(ve(t,c))),0):d&&W(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(!1,ve(t,c),c)])),0)}else r.encounteredError=!0}function V(t){if(!e.some(t.declarations,e.isParameterDeclaration)){e.Debug.assertIsDefined(f[f.length-1]),he(e.unescapeLeadingUnderscores(t.escapedName),t);var r=!!(2097152&t.flags)&&!e.some(t.declarations,(function(t){return!!e.findAncestor(t,e.isExportDeclaration)||e.isNamespaceExport(t)||e.isImportEqualsDeclaration(t)&&!e.isExternalModuleReference(t.moduleReference)}));f[r?0:f.length-1].set(M(t),t)}}function z(t){return e.isSourceFile(t)&&(e.isExternalOrCommonJsModule(t)||e.isJsonSourceFile(t))||e.isAmbientModule(t)&&!e.isGlobalScopeAugmentation(t)}function W(t,n){if(e.canHaveModifiers(t)){var i=0,a=r.enclosingDeclaration&&(e.isJSDocTypeAlias(r.enclosingDeclaration)?e.getSourceFileOfNode(r.enclosingDeclaration):r.enclosingDeclaration);1&n&&a&&(z(a)||e.isModuleDeclaration(a))&&A(t)&&(i|=1),y&&!(1&i)&&(!a||!(8388608&a.flags))&&(e.isEnumDeclaration(t)||e.isVariableStatement(t)||e.isFunctionDeclaration(t)||e.isClassDeclaration(t)||e.isModuleDeclaration(t))&&(i|=2),512&n&&(e.isClassDeclaration(t)||e.isInterfaceDeclaration(t)||e.isFunctionDeclaration(t))&&(i|=512),i&&(t=e.factory.updateModifiers(t,i|e.getEffectiveModifierFlags(t)))}p.push(t)}function H(t,i,a){var o,s=gs(t),u=$n(t).typeParameters,l=e.map(u,(function(e){return h(e,r)})),p=null===(o=t.declarations)||void 0===o?void 0:o.find(e.isJSDocTypeAlias),d=e.getTextOfJSDocComment(p?p.comment||p.parent.comment:void 0),f=r.flags;r.flags|=8388608;var _=r.enclosingDeclaration;r.enclosingDeclaration=p;var m=p&&p.typeExpression&&e.isJSDocTypeExpression(p.typeExpression)&&U(r,p.typeExpression.type,V,n)||c(s,r);W(e.setSyntheticLeadingComments(e.factory.createTypeAliasDeclaration(void 0,void 0,ve(t,i),l,m),d?[{kind:3,text:"*\n * "+d.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),a),r.flags=f,r.enclosingDeclaration=_}function G(t,n,i){var o=ms(t),s=is(t),c=e.map(s,(function(e){return h(e,r)})),u=ds(o),l=e.length(u)?mp(u):void 0,p=e.flatMap(Ac(o),(function(e){return pe(e,l)})),d=de(0,o,l,173),f=de(1,o,l,174),_=fe(o,l),m=e.length(u)?[e.factory.createHeritageClause(94,e.mapDefined(u,(function(e){return me(e,111551)})))]:void 0;W(e.factory.createInterfaceDeclaration(void 0,void 0,ve(t,n),c,m,a(a(a(a([],_,!0),f,!0),d,!0),p,!0)),i)}function $(t){return t.exports?e.filter(e.arrayFrom(t.exports.values()),re):[]}function Y(t){return e.every($(t),(function(e){return!(111551&Ni(e).flags)}))}function X(t,n,i){var a=$(t),o=e.arrayToMultiMap(a,(function(e){return e.parent&&e.parent===t?"real":"merged"})),s=o.get("real")||e.emptyArray,c=o.get("merged")||e.emptyArray;if(e.length(s)&&te(s,l=ve(t,n),i,!!(67108880&t.flags)),e.length(c)){var u=e.getSourceFileOfNode(r.enclosingDeclaration),l=ve(t,n),p=e.factory.createModuleBlock([e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.mapDefined(e.filter(c,(function(e){return"export="!==e.escapedName})),(function(n){var i,a,o=e.unescapeLeadingUnderscores(n.escapedName),s=ve(n,o),c=n.declarations&&fi(n);if(!u||(c?u===e.getSourceFileOfNode(c):e.some(n.declarations,(function(t){return e.getSourceFileOfNode(t)===u})))){var l=c&&ki(c,!0);V(l||n);var p=l?ve(l,e.unescapeLeadingUnderscores(l.escapedName)):s;return e.factory.createExportSpecifier(!1,o===p?void 0:p,o)}null===(a=null===(i=r.tracker)||void 0===i?void 0:i.reportNonlocalAugmentation)||void 0===a||a.call(i,u,t,n)}))))]);W(e.factory.createModuleDeclaration(void 0,void 0,e.factory.createIdentifier(l),p,16),0)}}function Q(t,r,n){W(e.factory.createEnumDeclaration(void 0,e.factory.createModifiersFromModifierFlags(fb(t)?2048:0),ve(t,r),e.map(e.filter(Ac(Yo(t)),(function(e){return!!(8&e.flags)})),(function(t){var r=t.declarations&&t.declarations[0]&&e.isEnumMember(t.declarations[0])?uC(t.declarations[0]):void 0;return e.factory.createEnumMember(e.unescapeLeadingUnderscores(t.escapedName),void 0===r?void 0:"string"==typeof r?e.factory.createStringLiteral(r):e.factory.createNumericLiteral(r))}))),n)}function Z(t,i,a,o){for(var s=0,c=ru(t,0);s<c.length;s++){var u=c[s],l=m(u,255,r,{name:e.factory.createIdentifier(a),privateSymbolVisitor:V,bundledImports:n});W(e.setTextRange(l,ee(u)),o)}1536&i.flags&&i.exports&&i.exports.size||te(e.filter(Ac(t),re),a,o,!0)}function ee(t){if(t.declaration&&t.declaration.parent){if(e.isBinaryExpression(t.declaration.parent)&&5===e.getAssignmentDeclarationKind(t.declaration.parent))return t.declaration.parent;if(e.isVariableDeclaration(t.declaration.parent)&&t.declaration.parent.parent)return t.declaration.parent.parent}return t.declaration}function te(t,n,i,a){if(e.length(t)){var s=e.arrayToMultiMap(t,(function(t){return!e.length(t.declarations)||e.some(t.declarations,(function(t){return e.getSourceFileOfNode(t)===e.getSourceFileOfNode(r.enclosingDeclaration)}))?"local":"remote"})).get("local")||e.emptyArray,c=e.parseNodeFactory.createModuleDeclaration(void 0,void 0,e.factory.createIdentifier(n),e.factory.createModuleBlock([]),16);e.setParent(c,l),c.locals=e.createSymbolTable(t),c.symbol=t[0].parent;var u=p;p=[];var d=y;y=!1;var f=o(o({},r),{enclosingDeclaration:c}),_=r;r=f,O(e.createSymbolTable(s),a,!0),r=_,y=d;var m=p;p=u;var g=e.map(m,(function(t){return e.isExportAssignment(t)&&!t.isExportEquals&&e.isIdentifier(t.expression)?e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(!1,t.expression,e.factory.createIdentifier("default"))])):t})),h=e.every(g,(function(t){return e.hasSyntacticModifier(t,1)}))?e.map(g,I):g;W(c=e.factory.updateModuleDeclaration(c,c.decorators,c.modifiers,c.name,e.factory.createModuleBlock(h)),i)}}function re(t){return!!(2887656&t.flags)||!(4194304&t.flags||"prototype"===t.escapedName||t.valueDeclaration&&e.isStatic(t.valueDeclaration)&&e.isClassLike(t.valueDeclaration.parent))}function ne(t){var i=e.mapDefined(t,(function(t){var i,a=r.enclosingDeclaration;r.enclosingDeclaration=t;var o=t.expression;if(e.isEntityNameExpression(o)){if(e.isIdentifier(o)&&""===e.idText(o))return u(void 0);var s=void 0;if(s=(i=J(o,r,V)).introducesError,o=i.node,s)return u(void 0)}return u(e.factory.createExpressionWithTypeArguments(o,e.map(t.typeArguments,(function(e){return U(r,e,V,n)||c(kd(e),r)}))));function u(e){return r.enclosingDeclaration=a,e}}));if(i.length===t.length)return i}function ie(t,n,i){var o,c,u=null===(o=t.declarations)||void 0===o?void 0:o.find(e.isClassLike),l=r.enclosingDeclaration;r.enclosingDeclaration=u||l;var p=is(t),d=e.map(p,(function(e){return h(e,r)})),f=ms(t),_=ds(f),m=u&&e.getEffectiveImplementsTypeNodes(u),g=m&&ne(m)||e.mapDefined(function(t){var r=e.emptyArray;if(t.symbol.declarations)for(var n=0,i=t.symbol.declarations;n<i.length;n++){var a=i[n],o=e.getEffectiveImplementsTypeNodes(a);if(o)for(var s=0,c=o;s<c.length;s++){var u=kd(c[s]);ao(u)||(r===e.emptyArray?r=[u]:r.push(u))}}return r}(f),ge),y=Yo(t),v=!(null===(c=y.symbol)||void 0===c||!c.valueDeclaration)&&e.isClassLike(y.symbol.valueDeclaration),D=v?ls(y):we,b=a(a([],e.length(_)?[e.factory.createHeritageClause(94,e.map(_,(function(e){return _e(e,D,n)})))]:[],!0),e.length(g)?[e.factory.createHeritageClause(117,g)]:[],!0),x=function(t,r,n){if(!e.length(r))return n;var i=new e.Map;e.forEach(n,(function(e){i.set(e.escapedName,e)}));for(var a=0,o=r;a<o.length;a++)for(var s=0,c=Ac(Vs(o[a],t.thisType));s<c.length;s++){var u=c[s],l=i.get(u.escapedName);l&&u.parent===l.parent&&i.delete(u.escapedName)}return e.arrayFrom(i.values())}(f,_,Ac(f)),E=e.filter(x,(function(t){var r=t.valueDeclaration;return!(!r||e.isNamedDeclaration(r)&&e.isPrivateIdentifier(r.name))})),S=e.some(x,(function(t){var r=t.valueDeclaration;return!!r&&e.isNamedDeclaration(r)&&e.isPrivateIdentifier(r.name)}))?[e.factory.createPropertyDeclaration(void 0,void 0,e.factory.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:e.emptyArray,C=e.flatMap(E,(function(e){return s(e,!1,_[0])})),T=e.flatMap(e.filter(Ac(y),(function(e){return!(4194304&e.flags||"prototype"===e.escapedName||re(e))})),(function(e){return s(e,!0,D)})),k=!v&&t.valueDeclaration&&e.isInJSFile(t.valueDeclaration)&&!e.some(ru(y,1))?[e.factory.createConstructorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(8),[],void 0)]:de(1,y,D,170),A=fe(f,_[0]);r.enclosingDeclaration=l,W(e.setTextRange(e.factory.createClassDeclaration(void 0,void 0,n,d,b,a(a(a(a(a([],A,!0),T,!0),k,!0),C,!0),S,!0)),t.declarations&&e.filter(t.declarations,(function(t){return e.isClassDeclaration(t)||e.isClassExpression(t)}))[0]),i)}function ae(t){return e.firstDefined(t,(function(t){if(e.isImportSpecifier(t)||e.isExportSpecifier(t))return e.idText(t.propertyName||t.name);if(e.isBinaryExpression(t)||e.isExportAssignment(t)){var r=e.isExportAssignment(t)?t.expression:t.right;if(e.isPropertyAccessExpression(r))return e.idText(r.name)}if(_i(t)){var n=e.getNameOfDeclaration(t);if(n&&e.isIdentifier(n))return e.idText(n)}}))}function oe(t,n,i){var a,o,s,c,u,l=fi(t);if(!l)return e.Debug.fail();var p=ta(ki(l,!0));if(p){var d=e.isShorthandAmbientModuleSymbol(p)&&ae(t.declarations)||e.unescapeLeadingUnderscores(p.escapedName);"export="===d&&(e.getESModuleInterop(N)||N.allowSyntheticDefaultImports)&&(d="default");var f=ve(p,d);switch(V(p),l.kind){case 202:if(253===(null===(o=null===(a=l.parent)||void 0===a?void 0:a.parent)||void 0===o?void 0:o.kind)){var _=C(p.parent||p,r),m=l.propertyName;W(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamedImports([e.factory.createImportSpecifier(!1,m&&e.isIdentifier(m)?e.factory.createIdentifier(e.idText(m)):void 0,e.factory.createIdentifier(n))])),e.factory.createStringLiteral(_),void 0),0);break}e.Debug.failBadSyntaxKind((null===(s=l.parent)||void 0===s?void 0:s.parent)||l,"Unhandled binding element grandparent kind in declaration serialization");break;case 295:220===(null===(u=null===(c=l.parent)||void 0===c?void 0:c.parent)||void 0===u?void 0:u.kind)&&se(e.unescapeLeadingUnderscores(t.escapedName),f);break;case 253:if(e.isPropertyAccessExpression(l.initializer)){var g=l.initializer,h=e.factory.createUniqueName(n),y=C(p.parent||p,r);W(e.factory.createImportEqualsDeclaration(void 0,void 0,!1,h,e.factory.createExternalModuleReference(e.factory.createStringLiteral(y))),0),W(e.factory.createImportEqualsDeclaration(void 0,void 0,!1,e.factory.createIdentifier(n),e.factory.createQualifiedName(h,g.name)),i);break}case 264:if("export="===p.escapedName&&e.some(p.declarations,e.isJsonSourceFile)){ce(t);break}var v=!(512&p.flags||e.isVariableDeclaration(l));W(e.factory.createImportEqualsDeclaration(void 0,void 0,!1,e.factory.createIdentifier(n),v?F(p,r,67108863,!1):e.factory.createExternalModuleReference(e.factory.createStringLiteral(C(p,r)))),v?i:0);break;case 263:W(e.factory.createNamespaceExportDeclaration(e.idText(l.name)),0);break;case 266:W(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,e.factory.createIdentifier(n),void 0),e.factory.createStringLiteral(C(p.parent||p,r)),void 0),0);break;case 267:W(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamespaceImport(e.factory.createIdentifier(n))),e.factory.createStringLiteral(C(p,r)),void 0),0);break;case 273:W(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamespaceExport(e.factory.createIdentifier(n)),e.factory.createStringLiteral(C(p,r))),0);break;case 269:W(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamedImports([e.factory.createImportSpecifier(!1,n!==d?e.factory.createIdentifier(d):void 0,e.factory.createIdentifier(n))])),e.factory.createStringLiteral(C(p.parent||p,r)),void 0),0);break;case 274:var D=l.parent.parent.moduleSpecifier;se(e.unescapeLeadingUnderscores(t.escapedName),D?d:f,D&&e.isStringLiteralLike(D)?e.factory.createStringLiteral(D.text):void 0);break;case 270:ce(t);break;case 220:case 205:case 206:"default"===t.escapedName||"export="===t.escapedName?ce(t):se(n,f);break;default:return e.Debug.failBadSyntaxKind(l,"Unhandled alias declaration kind in symbol serializer!")}}}function se(t,r,n){W(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(!1,t!==r?r:void 0,t)]),n),0)}function ce(t){if(4194304&t.flags)return!1;var i=e.unescapeLeadingUnderscores(t.escapedName),a="export="===i,o=a||"default"===i,s=t.declarations&&fi(t),c=s&&ki(s,!0);if(c&&e.length(c.declarations)&&e.some(c.declarations,(function(t){return e.getSourceFileOfNode(t)===e.getSourceFileOfNode(l)}))){var u=s&&(e.isExportAssignment(s)||e.isBinaryExpression(s)?e.getExportAssignmentExpression(s):e.getPropertyAssignmentAliasLikeExpression(s)),d=u&&e.isEntityNameExpression(u)?function(t){switch(t.kind){case 79:return t;case 160:do{t=t.left}while(79!==t.kind);return t;case 205:do{if(e.isModuleExportsAccessExpression(t.expression)&&!e.isPrivateIdentifier(t.name))return t.name;t=t.expression}while(79!==t.kind);return t}}(u):void 0,f=d&&Bi(d,67108863,!0,!0,l);(f||c)&&V(f||c);var _=r.tracker.trackSymbol;if(r.tracker.trackSymbol=function(){return!1},o)p.push(e.factory.createExportAssignment(void 0,void 0,a,w(c,r,67108863)));else if(d===u&&d)se(i,e.idText(d));else if(u&&e.isClassExpression(u))se(i,ve(c,e.symbolName(c)));else{var m=he(i,t);W(e.factory.createImportEqualsDeclaration(void 0,void 0,!1,e.factory.createIdentifier(m),F(c,r,67108863,!1)),0),se(i,m)}return r.tracker.trackSymbol=_,!0}m=he(i,t);var g=rm(Yo(ta(t)));return ue(g,t)?Z(g,t,m,o?0:1):W(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(m,void 0,K(r,g,t,l,V,n))],2)),c&&4&c.flags&&"export="===c.escapedName?2:i===m?1:0),o?(p.push(e.factory.createExportAssignment(void 0,void 0,a,e.factory.createIdentifier(m))),!0):i!==m&&(se(i,m),!0)}function ue(t,n){var i=e.getSourceFileOfNode(r.enclosingDeclaration);return 48&e.getObjectFlags(t)&&!e.length(su(t))&&!qa(t)&&!(!e.length(e.filter(Ac(t),re))&&!e.length(ru(t,0)))&&!e.length(ru(t,1))&&!B(n,l)&&!(t.symbol&&e.some(t.symbol.declarations,(function(t){return e.getSourceFileOfNode(t)!==i})))&&!e.some(Ac(t),(function(e){return Ms(e.escapedName)}))&&!e.some(Ac(t),(function(t){return e.some(t.declarations,(function(t){return e.getSourceFileOfNode(t)!==i}))}))&&e.every(Ac(t),(function(t){return e.isIdentifierText(e.symbolName(t),q)}))}function le(t,i,a){return function(o,s,c){var u,p,d,f,_,g=e.getDeclarationModifierFlagsFromSymbol(o),h=!!(8&g);if(s&&2887656&o.flags)return[];if(4194304&o.flags||c&&eu(c,o.escapedName)&&ib(eu(c,o.escapedName))===ib(o)&&(16777216&o.flags)==(16777216&eu(c,o.escapedName).flags)&&cf(Yo(o),no(c,o.escapedName)))return[];var y=-257&g|(s?32:0),v=R(o,r),D=null===(u=o.declarations)||void 0===u?void 0:u.find(e.or(e.isPropertyDeclaration,e.isAccessor,e.isVariableDeclaration,e.isPropertySignature,e.isBinaryExpression,e.isPropertyAccessExpression));if(98304&o.flags&&a){var b=[];if(65536&o.flags&&b.push(e.setTextRange(e.factory.createSetAccessorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(y),v,[e.factory.createParameterDeclaration(void 0,void 0,void 0,"arg",void 0,h?void 0:K(r,Yo(o),o,l,V,n))],void 0),(null===(p=o.declarations)||void 0===p?void 0:p.find(e.isSetAccessor))||D)),32768&o.flags){var x=8&g;b.push(e.setTextRange(e.factory.createGetAccessorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(y),v,[],x?void 0:K(r,Yo(o),o,l,V,n),void 0),(null===(d=o.declarations)||void 0===d?void 0:d.find(e.isGetAccessor))||D))}return b}if(98311&o.flags)return e.setTextRange(t(void 0,e.factory.createModifiersFromModifierFlags((ib(o)?64:0)|y),v,16777216&o.flags?e.factory.createToken(57):void 0,h?void 0:K(r,Yo(o),o,l,V,n),void 0),(null===(f=o.declarations)||void 0===f?void 0:f.find(e.or(e.isPropertyDeclaration,e.isVariableDeclaration)))||D);if(8208&o.flags){var E=ru(Yo(o),0);if(8&y)return e.setTextRange(t(void 0,e.factory.createModifiersFromModifierFlags((ib(o)?64:0)|y),v,16777216&o.flags?e.factory.createToken(57):void 0,void 0,void 0),(null===(_=o.declarations)||void 0===_?void 0:_.find(e.isFunctionLikeDeclaration))||E[0]&&E[0].declaration||o.declarations&&o.declarations[0]);for(var S=[],C=0,T=E;C<T.length;C++){var k=T[C],A=m(k,i,r,{name:v,questionToken:16777216&o.flags?e.factory.createToken(57):void 0,modifiers:y?e.factory.createModifiersFromModifierFlags(y):void 0}),N=k.declaration&&e.isPrototypePropertyAssignment(k.declaration.parent)?k.declaration.parent:k.declaration;S.push(e.setTextRange(A,N))}return S}return e.Debug.fail("Unhandled class member kind! ".concat(o.__debugFlags||o.flags))}}function pe(e,t){return u(e,!1,t)}function de(t,n,i,a){var o=ru(n,t);if(1===t){if(!i&&e.every(o,(function(t){return 0===e.length(t.parameters)})))return[];if(i){var s=ru(i,1);if(!e.length(s)&&e.every(o,(function(t){return 0===e.length(t.parameters)})))return[];if(s.length===o.length){for(var c=!1,u=0;u<s.length;u++)if(!o_(o[u],s[u],!1,!1,!0,uf)){c=!0;break}if(!c)return[]}}for(var l=0,p=0,d=o;p<d.length;p++){var f=d[p];f.declaration&&(l|=e.getSelectedEffectiveModifierFlags(f.declaration,24))}if(l)return[e.setTextRange(e.factory.createConstructorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(l),[],void 0),o[0].declaration)]}for(var _=[],g=0,h=o;g<h.length;g++){var y=h[g],v=m(y,a,r);_.push(e.setTextRange(v,y.declaration))}return _}function fe(e,t){for(var n=[],i=0,a=su(e);i<a.length;i++){var o=a[i];if(t){var s=cu(t,o.keyType);if(s&&cf(o.type,s.type))continue}n.push(_(o,r,void 0))}return n}function _e(t,n,i){var a=me(t,111551);if(a)return a;var o=he("".concat(i,"_base"));return W(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(o,void 0,c(n,r))],2)),0),e.factory.createExpressionWithTypeArguments(e.factory.createIdentifier(o),void 0)}function me(t,n){var i,a;if(t.target&&ka(t.target.symbol,l,n)?(i=e.map(rl(t),(function(e){return c(e,r)})),a=w(t.target.symbol,r,788968)):t.symbol&&ka(t.symbol,l,n)&&(a=w(t.symbol,r,788968)),a)return e.factory.createExpressionWithTypeArguments(a,i)}function ge(t){return me(t,788968)||(t.symbol?e.factory.createExpressionWithTypeArguments(w(t.symbol,r,788968),void 0):void 0)}function he(e,t){var n,i,a=t?M(t):void 0;if(a&&r.remappedSymbolNames.has(a))return r.remappedSymbolNames.get(a);t&&(e=ye(t,e));for(var o=0,s=e;null!==(n=r.usedSymbolNames)&&void 0!==n&&n.has(e);)o++,e="".concat(s,"_").concat(o);return null===(i=r.usedSymbolNames)||void 0===i||i.add(e),a&&r.remappedSymbolNames.set(a,e),e}function ye(t,n){if("default"===n||"__class"===n||"__function"===n){var i=r.flags;r.flags|=16777216;var a=$a(t,r);r.flags=i,n=a.length>0&&e.isSingleOrDoubleQuote(a.charCodeAt(0))?e.stripQuotes(a):a}return"default"===n?n="_default":"export="===n&&(n="_exports"),e.isIdentifierText(n,q)&&!e.isStringANonContextualKeyword(n)?n:"_"+n.replace(/[^a-zA-Z0-9]/g,"_")}function ve(e,t){var n=M(e);return r.remappedSymbolNames.has(n)?r.remappedSymbolNames.get(n):(t=ye(e,t),r.remappedSymbolNames.set(n,t),t)}}(t,r,l)}))}};function r(r,n,a,o){var s,c;e.Debug.assert(void 0===r||0==(8&r.flags));var u={enclosingDeclaration:r,flags:n||0,tracker:a&&a.trackSymbol?a:{trackSymbol:function(){return!1},moduleResolverHost:134217728&n?{getCommonSourceDirectory:t.getCommonSourceDirectory?function(){return t.getCommonSourceDirectory()}:function(){return""},getCurrentDirectory:function(){return t.getCurrentDirectory()},getSymlinkCache:e.maybeBind(t,t.getSymlinkCache),getPackageJsonInfoCache:function(){var e;return null===(e=t.getPackageJsonInfoCache)||void 0===e?void 0:e.call(t)},useCaseSensitiveFileNames:e.maybeBind(t,t.useCaseSensitiveFileNames),redirectTargetsMap:t.redirectTargetsMap,getProjectReferenceRedirect:function(e){return t.getProjectReferenceRedirect(e)},isSourceOfProjectReferenceRedirect:function(e){return t.isSourceOfProjectReferenceRedirect(e)},fileExists:function(e){return t.fileExists(e)},getFileIncludeReasons:function(){return t.getFileIncludeReasons()},readFile:t.readFile?function(e){return t.readFile(e)}:void 0}:void 0},encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0};u.tracker=i(u,u.tracker);var l=o(u);return u.truncating&&1&u.flags&&(null===(c=null===(s=u.tracker)||void 0===s?void 0:s.reportTruncationError)||void 0===c||c.call(s)),u.encounteredError?void 0:l}function i(e,t){var r=t.trackSymbol;return o(o({},t),{reportCyclicStructureError:n(t.reportCyclicStructureError),reportInaccessibleThisError:n(t.reportInaccessibleThisError),reportInaccessibleUniqueSymbolError:n(t.reportInaccessibleUniqueSymbolError),reportLikelyUnsafeImportRequiredError:n(t.reportLikelyUnsafeImportRequiredError),reportNonlocalAugmentation:n(t.reportNonlocalAugmentation),reportPrivateInBaseOfClassExpression:n(t.reportPrivateInBaseOfClassExpression),reportNonSerializableProperty:n(t.reportNonSerializableProperty),trackSymbol:r&&function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=r.apply(void 0,t);return i&&(e.reportedDiagnostic=!0),i}});function n(t){return t&&function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.reportedDiagnostic=!0,t.apply(void 0,r)}}}function s(t){return t.truncating?t.truncating:t.truncating=t.approximateLength>(1&t.flags?e.noTruncationMaximumTruncationLength:e.defaultMaximumTruncationLength)}function c(t,r){n&&n.throwIfCancellationRequested&&n.throwIfCancellationRequested();var i=8388608&r.flags;if(r.flags&=-8388609,!t)return 262144&r.flags?(r.approximateLength+=3,e.factory.createKeywordTypeNode(130)):void(r.encounteredError=!0);if(536870912&r.flags||(t=$c(t)),1&t.flags)return t.aliasSymbol?e.factory.createTypeReferenceNode(T(t.aliasSymbol),f(t.aliasTypeArguments,r)):t===Me?e.addSyntheticLeadingComment(e.factory.createKeywordTypeNode(130),3,"unresolved"):(r.approximateLength+=3,e.factory.createKeywordTypeNode(t===Be?138:130));if(2&t.flags)return e.factory.createKeywordTypeNode(154);if(4&t.flags)return r.approximateLength+=6,e.factory.createKeywordTypeNode(149);if(8&t.flags)return r.approximateLength+=6,e.factory.createKeywordTypeNode(146);if(64&t.flags)return r.approximateLength+=6,e.factory.createKeywordTypeNode(157);if(16&t.flags&&!t.aliasSymbol)return r.approximateLength+=7,e.factory.createKeywordTypeNode(133);if(1024&t.flags&&!(1048576&t.flags)){var a=na(t.symbol),o=k(a,r,788968);if(Ss(a)===t)return o;var u=e.symbolName(t.symbol);return e.isIdentifierText(u,0)?K(o,e.factory.createTypeReferenceNode(u,void 0)):e.isImportTypeNode(o)?(o.isTypeOf=!0,e.factory.createIndexedAccessTypeNode(o,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(u)))):e.isTypeReferenceNode(o)?e.factory.createIndexedAccessTypeNode(e.factory.createTypeQueryNode(o.typeName),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(u))):e.Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}if(1056&t.flags)return k(t.symbol,r,788968);if(128&t.flags)return r.approximateLength+=t.value.length+2,e.factory.createLiteralTypeNode(e.setEmitFlags(e.factory.createStringLiteral(t.value,!!(268435456&r.flags)),16777216));if(256&t.flags){var p=t.value;return r.approximateLength+=(""+p).length,e.factory.createLiteralTypeNode(p<0?e.factory.createPrefixUnaryExpression(40,e.factory.createNumericLiteral(-p)):e.factory.createNumericLiteral(p))}if(2048&t.flags)return r.approximateLength+=e.pseudoBigIntToString(t.value).length+1,e.factory.createLiteralTypeNode(e.factory.createBigIntLiteral(t.value));if(512&t.flags)return r.approximateLength+=t.intrinsicName.length,e.factory.createLiteralTypeNode("true"===t.intrinsicName?e.factory.createTrue():e.factory.createFalse());if(8192&t.flags){if(!(1048576&r.flags)){if(Ta(t.symbol,r.enclosingDeclaration))return r.approximateLength+=6,k(t.symbol,r,111551);r.tracker.reportInaccessibleUniqueSymbolError&&r.tracker.reportInaccessibleUniqueSymbolError()}return r.approximateLength+=13,e.factory.createTypeOperatorNode(153,e.factory.createKeywordTypeNode(150))}if(16384&t.flags)return r.approximateLength+=4,e.factory.createKeywordTypeNode(114);if(32768&t.flags)return r.approximateLength+=9,e.factory.createKeywordTypeNode(152);if(65536&t.flags)return r.approximateLength+=4,e.factory.createLiteralTypeNode(e.factory.createNull());if(131072&t.flags)return r.approximateLength+=5,e.factory.createKeywordTypeNode(143);if(4096&t.flags)return r.approximateLength+=6,e.factory.createKeywordTypeNode(150);if(67108864&t.flags)return r.approximateLength+=6,e.factory.createKeywordTypeNode(147);if(e.isThisTypeParameter(t))return 4194304&r.flags&&(!r.encounteredError&&!(32768&r.flags)&&(r.encounteredError=!0),r.tracker.reportInaccessibleThisError&&r.tracker.reportInaccessibleThisError()),r.approximateLength+=4,e.factory.createThisTypeNode();if(!i&&t.aliasSymbol&&(16384&r.flags||Ca(t.aliasSymbol,r.enclosingDeclaration))){var h=f(t.aliasTypeArguments,r);return!ga(t.aliasSymbol.escapedName)||32&t.aliasSymbol.flags?k(t.aliasSymbol,r,788968,h):e.factory.createTypeReferenceNode(e.factory.createIdentifier(""),h)}var y=e.getObjectFlags(t);if(4&y)return e.Debug.assert(!!(524288&t.flags)),t.node?R(t,j):j(t);if(262144&t.flags||3&y){if(262144&t.flags&&e.contains(r.inferTypeParameters,t))return r.approximateLength+=e.symbolName(t.symbol).length+6,e.factory.createInferTypeNode(g(t,r,void 0));if(4&r.flags&&262144&t.flags&&!Ca(t.symbol,r.enclosingDeclaration)){var v=P(t,r);return r.approximateLength+=e.idText(v).length,e.factory.createTypeReferenceNode(e.factory.createIdentifier(e.idText(v)),void 0)}return t.symbol?k(t.symbol,r,788968):e.factory.createTypeReferenceNode(e.factory.createIdentifier("?"),void 0)}if(1048576&t.flags&&t.origin&&(t=t.origin),3145728&t.flags){var D=1048576&t.flags?function(e){for(var t=[],r=0,n=0;n<e.length;n++){var i=e[n];if(r|=i.flags,!(98304&i.flags)){if(1536&i.flags){var a=512&i.flags?et:Ds(i);if(1048576&a.flags){var o=a.types.length;if(n+o<=e.length&&hd(e[n+o-1])===hd(a.types[o-1])){t.push(a),n+=o-1;continue}}}t.push(i)}}return 65536&r&&t.push(ze),32768&r&&t.push(Je),t||e}(t.types):t.types;if(1===e.length(D))return c(D[0],r);var b=f(D,r,!0);return b&&b.length>0?1048576&t.flags?e.factory.createUnionTypeNode(b):e.factory.createIntersectionTypeNode(b):void(!r.encounteredError&&!(262144&r.flags)&&(r.encounteredError=!0))}if(48&y)return e.Debug.assert(!!(524288&t.flags)),O(t);if(4194304&t.flags){var x=t.type;r.approximateLength+=6;var E=c(x,r);return e.factory.createTypeOperatorNode(140,E)}if(134217728&t.flags){var S=t.texts,C=t.types,A=e.factory.createTemplateHead(S[0]),N=e.factory.createNodeArray(e.map(C,(function(t,n){return e.factory.createTemplateLiteralTypeSpan(c(t,r),(n<C.length-1?e.factory.createTemplateMiddle:e.factory.createTemplateTail)(S[n+1]))})));return r.approximateLength+=2,e.factory.createTemplateLiteralType(A,N)}if(268435456&t.flags){var F=c(t.type,r);return k(t.symbol,r,788968,[F])}if(8388608&t.flags){var w=c(t.objectType,r);return E=c(t.indexType,r),r.approximateLength+=2,e.factory.createIndexedAccessTypeNode(w,E)}return 16777216&t.flags?R(t,(function(t){return function(t){var n=c(t.checkType,r),i=r.inferTypeParameters;r.inferTypeParameters=t.root.inferTypeParameters;var a=c(t.extendsType,r);r.inferTypeParameters=i;var o=I(ed(t)),s=I(td(t));return r.approximateLength+=15,e.factory.createConditionalTypeNode(n,a,o,s)}(t)})):33554432&t.flags?c(t.baseType,r):e.Debug.fail("Should be unreachable.");function I(e){var t,n,i;return 1048576&e.flags?null!==(t=r.visitedTypes)&&void 0!==t&&t.has(ep(e))?(131072&r.flags||(r.encounteredError=!0,null===(i=null===(n=r.tracker)||void 0===n?void 0:n.reportCyclicStructureError)||void 0===i||i.call(n)),l(r)):R(e,(function(e){return c(e,r)})):c(e,r)}function O(t){var n,i=t.id,a=t.symbol;if(a){var o=qa(t)?788968:111551;if(sD(a.valueDeclaration))return k(a,r,o);if(32&a.flags&&!Vo(a)&&!(a.valueDeclaration&&225===a.valueDeclaration.kind&&2048&r.flags)||896&a.flags||function(){var t,n=!!(8192&a.flags)&&e.some(a.declarations,(function(t){return e.isStatic(t)})),o=!!(16&a.flags)&&(a.parent||e.forEach(a.declarations,(function(e){return 303===e.parent.kind||261===e.parent.kind})));if(n||o)return(!!(4096&r.flags)||(null===(t=r.visitedTypes)||void 0===t?void 0:t.has(i)))&&(!(8&r.flags)||Ta(a,r.enclosingDeclaration))}())return k(a,r,o);if(null!==(n=r.visitedTypes)&&void 0!==n&&n.has(i)){var s=function(t){if(t.symbol&&2048&t.symbol.flags&&t.symbol.declarations){var r=e.walkUpParenthesizedTypes(t.symbol.declarations[0].parent);if(258===r.kind)return ra(r)}}(t);return s?k(s,r,788968):l(r)}return R(t,B)}return B(t)}function R(t,n){var i,a,o=t.id,s=16&e.getObjectFlags(t)&&t.symbol&&32&t.symbol.flags,c=4&e.getObjectFlags(t)&&t.node?"N"+L(t.node):16777216&t.flags?"N"+L(t.root.node):t.symbol?(s?"+":"")+M(t.symbol):void 0;r.visitedTypes||(r.visitedTypes=new e.Set),c&&!r.symbolDepth&&(r.symbolDepth=new e.Map);var u=r.enclosingDeclaration&&Yn(r.enclosingDeclaration),p="".concat(ep(t),"|").concat(r.flags);u&&(u.serializedTypes||(u.serializedTypes=new e.Map));var d,f=null===(i=null==u?void 0:u.serializedTypes)||void 0===i?void 0:i.get(p);if(f)return f.truncating&&(r.truncating=!0),r.approximateLength+=f.addedLength,function t(r){return e.nodeIsSynthesized(r)||e.getParseTreeNode(r)!==r?e.setTextRange(e.factory.cloneNode(e.visitEachChild(r,t,e.nullTransformationContext)),r):r}(f);if(c){if((d=r.symbolDepth.get(c)||0)>10)return l(r);r.symbolDepth.set(c,d+1)}r.visitedTypes.add(o);var _=r.approximateLength,m=n(t),g=r.approximateLength-_;return!r.reportedDiagnostic&&!r.encounteredError&&(r.truncating&&(m.truncating=!0),m.addedLength=g,null===(a=null==u?void 0:u.serializedTypes)||void 0===a||a.set(p,m)),r.visitedTypes.delete(o),c&&r.symbolDepth.set(c,d),m}function B(t){if(Ec(t)||t.containsError)return function(t){e.Debug.assert(!!(524288&t.flags));var n,i=t.declaration.readonlyToken?e.factory.createToken(t.declaration.readonlyToken.kind):void 0,a=t.declaration.questionToken?e.factory.createToken(t.declaration.questionToken.kind):void 0;n=yc(t)?e.factory.createTypeOperatorNode(140,c(vc(t),r)):c(_c(t),r);var o=g(fc(t),r,n),s=t.declaration.nameType?c(mc(t),r):void 0,u=c(z_(gc(t),!!(4&Dc(t))),r),l=e.factory.createMappedTypeNode(i,o,s,a,u,void 0);return r.approximateLength+=10,e.setEmitFlags(l,1)}(t);var n=Sc(t);if(!n.properties.length&&!n.indexInfos.length){if(!n.callSignatures.length&&!n.constructSignatures.length)return r.approximateLength+=2,e.setEmitFlags(e.factory.createTypeLiteralNode(void 0),1);if(1===n.callSignatures.length&&!n.constructSignatures.length)return m(n.callSignatures[0],178,r);if(1===n.constructSignatures.length&&!n.callSignatures.length)return m(n.constructSignatures[0],179,r)}var i=e.filter(n.constructSignatures,(function(e){return!!(4&e.flags)}));if(e.some(i)){var a=e.map(i,Ku);return n.callSignatures.length+(n.constructSignatures.length-i.length)+n.indexInfos.length+(2048&r.flags?e.countWhere(n.properties,(function(e){return!(4194304&e.flags)})):e.length(n.properties))&&a.push(function(t){if(0===t.constructSignatures.length)return t;if(t.objectTypeWithoutAbstractConstructSignatures)return t.objectTypeWithoutAbstractConstructSignatures;var r=e.filter(t.constructSignatures,(function(e){return!(4&e.flags)}));if(t.constructSignatures===r)return t;var n=Da(t.symbol,t.members,t.callSignatures,e.some(r)?r:e.emptyArray,t.indexInfos);return t.objectTypeWithoutAbstractConstructSignatures=n,n.objectTypeWithoutAbstractConstructSignatures=n,n}(n)),c(mp(a),r)}var o=r.flags;r.flags|=4194304;var u=function(t){if(s(r))return[e.factory.createPropertySignature(void 0,"...",void 0,void 0)];for(var n=[],i=0,a=t.callSignatures;i<a.length;i++){var o=a[i];n.push(m(o,173,r))}for(var c=0,u=t.constructSignatures;c<u.length;c++)4&(o=u[c]).flags||n.push(m(o,174,r));for(var p=0,f=t.indexInfos;p<f.length;p++){var g=f[p];n.push(_(g,r,1024&t.objectFlags?l(r):void 0))}var h=t.properties;if(!h)return n;for(var y=0,v=0,D=h;v<D.length;v++){var b=D[v];if(y++,2048&r.flags){if(4194304&b.flags)continue;24&e.getDeclarationModifierFlagsFromSymbol(b)&&r.tracker.reportPrivateInBaseOfClassExpression&&r.tracker.reportPrivateInBaseOfClassExpression(e.unescapeLeadingUnderscores(b.escapedName))}if(s(r)&&y+2<h.length-1){n.push(e.factory.createPropertySignature(void 0,"... ".concat(h.length-y," more ..."),void 0,void 0)),d(h[h.length-1],r,n);break}d(b,r,n)}return n.length?n:void 0}(n);r.flags=o;var p=e.factory.createTypeLiteralNode(u);return r.approximateLength+=2,e.setEmitFlags(p,1024&r.flags?0:1),p}function j(t){var n=rl(t);if(t.target===Lt||t.target===Mt){if(2&r.flags){var i=c(n[0],r);return e.factory.createTypeReferenceNode(t.target===Lt?"Array":"ReadonlyArray",[i])}var a=c(n[0],r),o=e.factory.createArrayTypeNode(a);return t.target===Lt?o:e.factory.createTypeOperatorNode(144,o)}if(!(8&t.target.objectFlags)){if(2048&r.flags&&t.symbol.valueDeclaration&&e.isClassLike(t.symbol.valueDeclaration)&&!Ta(t.symbol,r.enclosingDeclaration))return O(t);var s=t.target.outerTypeParameters,u=void(x=0);if(s)for(var l=s.length;x<l;){var p=x,d=$u(s[x]);do{x++}while(x<l&&$u(s[x])===d);if(!e.rangeEquals(s,n,p,x)){var _=f(n.slice(p,x),r),m=r.flags;r.flags|=16;var g=k(d,r,788968,_);r.flags=m,u=u?K(u,g):g}}var h=void 0;if(n.length>0){var y=(t.target.typeParameters||e.emptyArray).length;h=f(n.slice(x,y),r)}E=r.flags,r.flags|=16;var v=k(t.symbol,r,788968,h);return r.flags=E,u?K(u,v):v}if((n=e.sameMap(n,(function(e,r){return z_(e,!!(2&t.target.elementFlags[r]))}))).length>0){var D=nl(t),b=f(n.slice(0,D),r);if(b){if(t.target.labeledElementDeclarations)for(var x=0;x<b.length;x++){var E=t.target.elementFlags[x];b[x]=e.factory.createNamedTupleMember(12&E?e.factory.createToken(25):void 0,e.factory.createIdentifier(e.unescapeLeadingUnderscores(TD(t.target.labeledElementDeclarations[x]))),2&E?e.factory.createToken(57):void 0,4&E?e.factory.createArrayTypeNode(b[x]):b[x])}else for(x=0;x<Math.min(D,b.length);x++){E=t.target.elementFlags[x];b[x]=12&E?e.factory.createRestTypeNode(4&E?e.factory.createArrayTypeNode(b[x]):b[x]):2&E?e.factory.createOptionalTypeNode(b[x]):b[x]}var S=e.setEmitFlags(e.factory.createTupleTypeNode(b),1);return t.target.readonly?e.factory.createTypeOperatorNode(144,S):S}}if(r.encounteredError||524288&r.flags)return S=e.setEmitFlags(e.factory.createTupleTypeNode([]),1),t.target.readonly?e.factory.createTypeOperatorNode(144,S):S;r.encounteredError=!0}function K(t,r){if(e.isImportTypeNode(t)){var n=t.typeArguments,i=t.qualifier;i&&(i=e.isIdentifier(i)?e.factory.updateIdentifier(i,n):e.factory.updateQualifiedName(i,i.left,e.factory.updateIdentifier(i.right,n))),n=r.typeArguments;for(var a=0,o=J(r);a<o.length;a++){var s=o[a];i=i?e.factory.createQualifiedName(i,s):s}return e.factory.updateImportTypeNode(t,t.argument,i,n,t.isTypeOf)}n=t.typeArguments;var c=t.typeName;c=e.isIdentifier(c)?e.factory.updateIdentifier(c,n):e.factory.updateQualifiedName(c,c.left,e.factory.updateIdentifier(c.right,n)),n=r.typeArguments;for(var u=0,l=J(r);u<l.length;u++)s=l[u],c=e.factory.createQualifiedName(c,s);return e.factory.updateTypeReferenceNode(t,c,n)}function J(t){for(var r=t.typeName,n=[];!e.isIdentifier(r);)n.unshift(r.right),r=r.left;return n.unshift(r),n}}function l(t){return t.approximateLength+=3,1&t.flags?e.factory.createKeywordTypeNode(130):e.factory.createTypeReferenceNode(e.factory.createIdentifier("..."),void 0)}function p(t,r){var n;return!!(8192&e.getCheckFlags(t))&&(e.contains(r.reverseMappedStack,t)||(null===(n=r.reverseMappedStack)||void 0===n?void 0:n[0])&&!(16&e.getObjectFlags(e.last(r.reverseMappedStack).propertyType)))}function d(t,r,n){var i,a,o=!!(8192&e.getCheckFlags(t)),s=p(t,r)?we:Xo(t),c=r.enclosingDeclaration;if(r.enclosingDeclaration=void 0,r.tracker.trackSymbol&&4096&e.getCheckFlags(t)&&Ms(t.escapedName))if(t.declarations){var u=e.first(t.declarations);if(Rs(u))if(e.isBinaryExpression(u)){var d=e.getNameOfDeclaration(u);d&&e.isElementAccessExpression(d)&&e.isPropertyAccessEntityNameExpression(d.argumentExpression)&&v(d.argumentExpression,c,r)}else v(u.name.expression,c,r)}else null!==(i=r.tracker)&&void 0!==i&&i.reportNonSerializableProperty&&r.tracker.reportNonSerializableProperty(Ma(t));r.enclosingDeclaration=t.valueDeclaration||(null===(a=t.declarations)||void 0===a?void 0:a[0])||c;var f=R(t,r);r.enclosingDeclaration=c,r.approximateLength+=e.symbolName(t).length+1;var _=16777216&t.flags?e.factory.createToken(57):void 0;if(8208&t.flags&&!Cc(s).length&&!ib(t))for(var g=0,h=ru(kg(s,(function(e){return!(32768&e.flags)})),0);g<h.length;g++){var y=m(h[g],167,r,{name:f,questionToken:_});n.push(E(y))}else{var D=void 0;p(t,r)?D=l(r):(o&&(r.reverseMappedStack||(r.reverseMappedStack=[]),r.reverseMappedStack.push(t)),D=s?K(r,s,t,c):e.factory.createKeywordTypeNode(130),o&&r.reverseMappedStack.pop());var b=ib(t)?[e.factory.createToken(144)]:void 0;b&&(r.approximateLength+=9);var x=e.factory.createPropertySignature(b,f,_,D);n.push(E(x))}function E(r){var n;if(e.some(t.declarations,(function(e){return 345===e.kind}))){var i=null===(n=t.declarations)||void 0===n?void 0:n.find((function(e){return 345===e.kind})),a=e.getTextOfJSDocComment(i.comment);a&&e.setSyntheticLeadingComments(r,[{kind:3,text:"*\n * "+a.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}])}else t.valueDeclaration&&e.setCommentRange(r,t.valueDeclaration);return r}}function f(t,r,n){if(e.some(t)){if(s(r)){if(!n)return[e.factory.createTypeReferenceNode("...",void 0)];if(t.length>2)return[c(t[0],r),e.factory.createTypeReferenceNode("... ".concat(t.length-2," more ..."),void 0),c(t[t.length-1],r)]}for(var i=64&r.flags?void 0:e.createUnderscoreEscapedMultiMap(),a=[],o=0,u=0,l=t;u<l.length;u++){var p=l[u];if(o++,s(r)&&o+2<t.length-1){a.push(e.factory.createTypeReferenceNode("... ".concat(t.length-o," more ..."),void 0));var d=c(t[t.length-1],r);d&&a.push(d);break}r.approximateLength+=2;var f=c(p,r);f&&(a.push(f),i&&e.isIdentifierTypeReference(f)&&i.add(f.typeName.escapedText,[p,a.length-1]))}if(i){var _=r.flags;r.flags|=64,i.forEach((function(t){if(!e.arrayIsHomogeneous(t,(function(e,t){return function(e,t){return e===t||!!e.symbol&&e.symbol===t.symbol||!!e.aliasSymbol&&e.aliasSymbol===t.aliasSymbol}(e[0],t[0])})))for(var n=0,i=t;n<i.length;n++){var o=i[n],s=o[0],u=o[1];a[u]=c(s,r)}})),r.flags=_}return a}}function _(t,r,n){var i=e.getNameFromIndexInfo(t)||"x",a=c(t.keyType,r),o=e.factory.createParameterDeclaration(void 0,void 0,void 0,i,void 0,a,void 0);return n||(n=c(t.type||we,r)),!t.type&&!(2097152&r.flags)&&(r.encounteredError=!0),r.approximateLength+=i.length+4,e.factory.createIndexSignature(void 0,t.isReadonly?[e.factory.createToken(144)]:void 0,[o],n)}function m(t,r,n,i){var a,o,s,u,l,p,d=256&n.flags;d&&(n.flags&=-257),n.approximateLength+=3,32&n.flags&&t.target&&t.mapper&&t.target.typeParameters?p=t.target.typeParameters.map((function(e){return c(Qd(e,t.mapper),n)})):l=t.typeParameters&&t.typeParameters.map((function(e){return h(e,n)}));var f=Ys(t,!0)[0],_=(e.some(f,(function(t){return t!==f[f.length-1]&&!!(32768&e.getCheckFlags(t))}))?t.parameters:f).map((function(e){return y(e,n,170===r,null==i?void 0:i.privateSymbolVisitor,null==i?void 0:i.bundledImports)})),m=function(t,r){if(t.thisParameter)return y(t.thisParameter,r);if(t.declaration){var n=e.getJSDocThisTag(t.declaration);if(n&&n.typeExpression)return e.factory.createParameterDeclaration(void 0,void 0,void 0,"this",void 0,c(kd(n.typeExpression),r))}}(t,n);m&&_.unshift(m);var g,v=Au(t);if(v){var D=2===v.kind||3===v.kind?e.factory.createToken(128):void 0,b=1===v.kind||3===v.kind?e.setEmitFlags(e.factory.createIdentifier(v.parameterName),16777216):e.factory.createThisTypeNode(),x=v.type&&c(v.type,n);g=e.factory.createTypePredicateNode(D,b,x)}else{var E=Pu(t);!E||d&&io(E)?d||(g=e.factory.createKeywordTypeNode(130)):g=function(t,r,n,i,a){if(!ao(r)&&t.enclosingDeclaration){var o=n.declaration&&e.getEffectiveReturnTypeNode(n.declaration);if(e.findAncestor(o,(function(e){return e===t.enclosingDeclaration}))&&o){var s=kd(o);if((262144&s.flags&&s.isThisType?Qd(s,n.mapper):s)===r&&j(o,r)){var u=U(t,o,i,a);if(u)return u}}}return c(r,t)}(n,E,t,null==i?void 0:i.privateSymbolVisitor,null==i?void 0:i.bundledImports)}var S=null==i?void 0:i.modifiers;if(179===r&&4&t.flags){var C=e.modifiersToFlags(S);S=e.factory.createModifiersFromModifierFlags(128|C)}var T=173===r?e.factory.createCallSignature(l,_,g):174===r?e.factory.createConstructSignature(l,_,g):167===r?e.factory.createMethodSignature(S,null!==(a=null==i?void 0:i.name)&&void 0!==a?a:e.factory.createIdentifier(""),null==i?void 0:i.questionToken,l,_,g):168===r?e.factory.createMethodDeclaration(void 0,S,void 0,null!==(o=null==i?void 0:i.name)&&void 0!==o?o:e.factory.createIdentifier(""),void 0,l,_,g,void 0):170===r?e.factory.createConstructorDeclaration(void 0,S,_,void 0):171===r?e.factory.createGetAccessorDeclaration(void 0,S,null!==(s=null==i?void 0:i.name)&&void 0!==s?s:e.factory.createIdentifier(""),_,g,void 0):172===r?e.factory.createSetAccessorDeclaration(void 0,S,null!==(u=null==i?void 0:i.name)&&void 0!==u?u:e.factory.createIdentifier(""),_,void 0):175===r?e.factory.createIndexSignature(void 0,S,_,g):315===r?e.factory.createJSDocFunctionType(_,g):178===r?e.factory.createFunctionTypeNode(l,_,null!=g?g:e.factory.createTypeReferenceNode(e.factory.createIdentifier(""))):179===r?e.factory.createConstructorTypeNode(S,l,_,null!=g?g:e.factory.createTypeReferenceNode(e.factory.createIdentifier(""))):255===r?e.factory.createFunctionDeclaration(void 0,S,void 0,null!=i&&i.name?e.cast(i.name,e.isIdentifier):e.factory.createIdentifier(""),l,_,g,void 0):212===r?e.factory.createFunctionExpression(S,void 0,null!=i&&i.name?e.cast(i.name,e.isIdentifier):e.factory.createIdentifier(""),l,_,g,e.factory.createBlock([])):213===r?e.factory.createArrowFunction(S,l,_,g,void 0,e.factory.createBlock([])):e.Debug.assertNever(r);return p&&(T.typeArguments=e.factory.createNodeArray(p)),T}function g(t,r,n){var i=r.flags;r.flags&=-513;var a=P(t,r),o=Kc(t),s=o&&c(o,r);return r.flags=i,e.factory.createTypeParameterDeclaration(a,n,s)}function h(e,t,r){return void 0===r&&(r=Pc(e)),g(e,t,r&&c(r,t))}function y(t,r,n,i,a){var o=e.getDeclarationOfKind(t,163);!o&&!e.isTransientSymbol(t)&&(o=e.getDeclarationOfKind(t,338));var s=Yo(t);o&&rC(o)&&(s=j_(s)),1073741824&r.flags&&o&&!e.isJSDocParameterTag(o)&&function(e){return!!H&&hu(e)&&!e.initializer}(o)&&(s=sg(s,524288));var c=K(r,s,t,r.enclosingDeclaration,i,a),u=!(8192&r.flags)&&n&&o&&o.modifiers?o.modifiers.map(e.factory.cloneNode):void 0,l=o&&e.isRestParameter(o)||32768&e.getCheckFlags(t)?e.factory.createToken(25):void 0,p=o&&o.name?79===o.name.kind?e.setEmitFlags(e.factory.cloneNode(o.name),16777216):160===o.name.kind?e.setEmitFlags(e.factory.cloneNode(o.name.right),16777216):function t(n){r.tracker.trackSymbol&&e.isComputedPropertyName(n)&&Ls(n)&&v(n.expression,r.enclosingDeclaration,r);var i=e.visitEachChild(n,t,e.nullTransformationContext,void 0,t);return e.isBindingElement(i)&&(i=e.factory.updateBindingElement(i,i.dotDotDotToken,i.propertyName,i.name,void 0)),e.nodeIsSynthesized(i)||(i=e.factory.cloneNode(i)),e.setEmitFlags(i,16777217)}(o.name):e.symbolName(t),d=o&&hu(o)||16384&e.getCheckFlags(t)?e.factory.createToken(57):void 0,f=e.factory.createParameterDeclaration(void 0,u,l,p,d,c,void 0);return r.approximateLength+=e.symbolName(t).length+3,f}function v(t,r,n){if(n.tracker.trackSymbol){var i=e.getFirstIdentifier(t),a=ti(i,i.escapedText,1160127,void 0,void 0,!0);a&&n.tracker.trackSymbol(a,r,111551)}}function D(e,t,r,n){return t.tracker.trackSymbol(e,t.enclosingDeclaration,r),b(e,t,r,n)}function b(t,r,n,i){var a;return 262144&t.flags||!(r.enclosingDeclaration||64&r.flags)||134217728&r.flags?a=[t]:(a=e.Debug.checkDefined(function t(n,a,o){var s,c=Ea(n,r.enclosingDeclaration,a,!!(128&r.flags));if(!c||Sa(c[0],r.enclosingDeclaration,1===c.length?a:xa(a))){var u=ia(c?c[0]:n,r.enclosingDeclaration,a);if(e.length(u)){s=u.map((function(t){return e.some(t.declarations,Ia)?C(t,r):void 0}));var l=u.map((function(e,t){return t}));l.sort((function(t,r){var n=s[t],i=s[r];if(n&&i){var a=e.pathIsRelative(i);return e.pathIsRelative(n)===a?e.moduleSpecifiers.countPathComponents(n)-e.moduleSpecifiers.countPathComponents(i):a?-1:1}return 0}));for(var p=0,d=l.map((function(e){return u[e]}));p<d.length;p++){var f=d[p],_=t(f,xa(a),!1);if(_){if(f.exports&&f.exports.get("export=")&&sa(f.exports.get("export="),n)){c=_;break}c=_.concat(c||[oa(f,n)||n]);break}}}}if(c)return c;if(o||!(6144&n.flags))return o||i||!e.forEach(n.declarations,Ia)?[n]:void 0}(t,n,!0)),e.Debug.assert(a&&a.length>0)),a}function x(t,r){var n;return 524384&$E(t).flags&&(n=e.factory.createNodeArray(e.map(is(t),(function(e){return h(e,r)})))),n}function E(t,r,n){var i;e.Debug.assert(t&&0<=r&&r<t.length);var a=t[r],o=M(a);if(null===(i=n.typeParameterSymbolList)||void 0===i||!i.has(o)){var s;if((n.typeParameterSymbolList||(n.typeParameterSymbolList=new e.Set)).add(o),512&n.flags&&r<t.length-1){var c=a,u=t[r+1];if(1&e.getCheckFlags(u)){var l=function(t){return e.concatenate(ns(t),is(t))}(2097152&c.flags?Pi(c):c);s=f(e.map(l,(function(e){return Od(e,u.mapper)})),n)}else s=x(a,n)}return s}}function S(t){return e.isIndexedAccessTypeNode(t.objectType)?S(t.objectType):t}function C(t,r){var n,i=e.getDeclarationOfKind(t,303);if(!i){var a=e.firstDefined(t.declarations,(function(e){return aa(e,t)}));a&&(i=e.getDeclarationOfKind(a,303))}if(i&&void 0!==i.moduleName)return i.moduleName;if(!i){if(r.tracker.trackReferencedAmbientModule){var s=e.filter(t.declarations,e.isAmbientModule);if(e.length(s))for(var c=0,l=s;c<l.length;c++){var p=l[c];r.tracker.trackReferencedAmbientModule(p,t)}}if(u.test(t.escapedName))return t.escapedName.substring(1,t.escapedName.length-1)}if(!r.enclosingDeclaration||!r.tracker.moduleResolverHost)return u.test(t.escapedName)?t.escapedName.substring(1,t.escapedName.length-1):e.getSourceFileOfNode(e.getNonAugmentationDeclaration(t)).fileName;var d=e.getSourceFileOfNode(e.getOriginalNode(r.enclosingDeclaration)),f=$n(t),_=f.specifierCache&&f.specifierCache.get(d.path);if(!_){var m=!!e.outFile(N),g=r.tracker.moduleResolverHost,h=m?o(o({},N),{baseUrl:g.getCommonSourceDirectory()}):N;_=e.first(e.moduleSpecifiers.getModuleSpecifiers(t,de,h,d,g,{importModuleSpecifierPreference:m?"non-relative":"project-relative",importModuleSpecifierEnding:m?"minimal":void 0})),null!==(n=f.specifierCache)&&void 0!==n||(f.specifierCache=new e.Map),f.specifierCache.set(d.path,_)}return _}function T(t){var r=e.factory.createIdentifier(e.unescapeLeadingUnderscores(t.escapedName));return t.parent?e.factory.createQualifiedName(T(t.parent),r):r}function k(t,r,n,i){var a=D(t,r,n,!(16384&r.flags)),o=111551===n;if(e.some(a[0].declarations,Ia)){var s=a.length>1?g(a,a.length-1,1):void 0,c=i||E(a,0,r),u=C(a[0],r);!(67108864&r.flags)&&e.getEmitModuleResolutionKind(N)!==e.ModuleResolutionKind.Classic&&u.indexOf("/node_modules/")>=0&&(r.encounteredError=!0,r.tracker.reportLikelyUnsafeImportRequiredError&&r.tracker.reportLikelyUnsafeImportRequiredError(u));var l=e.factory.createLiteralTypeNode(e.factory.createStringLiteral(u));if(r.tracker.trackExternalModuleSymbolOfImportTypeNode&&r.tracker.trackExternalModuleSymbolOfImportTypeNode(a[0]),r.approximateLength+=u.length+10,!s||e.isEntityName(s))return s&&((_=e.isIdentifier(s)?s:s.right).typeArguments=void 0),e.factory.createImportTypeNode(l,s,c,o);var p=S(s),d=p.objectType.typeName;return e.factory.createIndexedAccessTypeNode(e.factory.createImportTypeNode(l,d,c,o),p.indexType)}var f=g(a,a.length-1,0);if(e.isIndexedAccessTypeNode(f))return f;if(o)return e.factory.createTypeQueryNode(f);var _,m=(_=e.isIdentifier(f)?f:f.right).typeArguments;return _.typeArguments=void 0,e.factory.createTypeReferenceNode(f,m);function g(t,n,a){var o,s=n===t.length-1?i:E(t,n,r),c=t[n],u=t[n-1];if(0===n)r.flags|=16777216,o=$a(c,r),r.approximateLength+=(o?o.length:0)+1,r.flags^=16777216;else if(u&&Xi(u)){var l=Xi(u);e.forEachEntry(l,(function(t,r){if(sa(t,c)&&!Ms(r)&&"export="!==r)return o=e.unescapeLeadingUnderscores(r),!0}))}if(o||(o=$a(c,r)),r.approximateLength+=o.length+1,!(16&r.flags)&&u&&Us(u)&&Us(u).get(c.escapedName)&&sa(Us(u).get(c.escapedName),c)){var p=g(t,n-1,a);return e.isIndexedAccessTypeNode(p)?e.factory.createIndexedAccessTypeNode(p,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(o))):e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(p,s),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(o)))}var d=e.setEmitFlags(e.factory.createIdentifier(o,s),16777216);return d.symbol=c,n>a?(p=g(t,n-1,a),e.isEntityName(p)?e.factory.createQualifiedName(p,d):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")):d}}function A(e,t,r){var n=ti(t.enclosingDeclaration,e,788968,void 0,e,!1);return!(!n||262144&n.flags&&n===r.symbol)}function P(t,r){var n,i;if(4&r.flags&&r.typeParameterNames){var a=r.typeParameterNames.get(ep(t));if(a)return a}var o=F(t.symbol,r,788968,!0);if(!(79&o.kind))return e.factory.createIdentifier("(Missing type parameter)");if(4&r.flags){for(var s=o.escapedText,c=(null===(n=r.typeParameterNamesByTextNextNameCount)||void 0===n?void 0:n.get(s))||0,u=s;(null===(i=r.typeParameterNamesByText)||void 0===i?void 0:i.has(u))||A(u,r,t);)c++,u="".concat(s,"_").concat(c);u!==s&&(o=e.factory.createIdentifier(u,o.typeArguments)),(r.typeParameterNamesByTextNextNameCount||(r.typeParameterNamesByTextNextNameCount=new e.Map)).set(s,c),(r.typeParameterNames||(r.typeParameterNames=new e.Map)).set(ep(t),o),(r.typeParameterNamesByText||(r.typeParameterNamesByText=new e.Set)).add(s)}return o}function F(t,r,n,i){var a=D(t,r,n);return i&&1!==a.length&&!r.encounteredError&&!(65536&r.flags)&&(r.encounteredError=!0),function t(n,i){var a=E(n,i,r),o=n[i];0===i&&(r.flags|=16777216);var s=$a(o,r);0===i&&(r.flags^=16777216);var c=e.setEmitFlags(e.factory.createIdentifier(s,a),16777216);return c.symbol=o,i>0?e.factory.createQualifiedName(t(n,i-1),c):c}(a,a.length-1)}function w(t,r,n){var i=D(t,r,n);return function t(n,i){var a=E(n,i,r),o=n[i];0===i&&(r.flags|=16777216);var s=$a(o,r);0===i&&(r.flags^=16777216);var c=s.charCodeAt(0);if(e.isSingleOrDoubleQuote(c)&&e.some(o.declarations,Ia))return e.factory.createStringLiteral(C(o,r));var u=35===c?s.length>1&&e.isIdentifierStart(s.charCodeAt(1),q):e.isIdentifierStart(c,q);if(0===i||u){var l=e.setEmitFlags(e.factory.createIdentifier(s,a),16777216);return l.symbol=o,i>0?e.factory.createPropertyAccessExpression(t(n,i-1),l):l}91===c&&(c=(s=s.substring(1,s.length-1)).charCodeAt(0));var p=void 0;return!e.isSingleOrDoubleQuote(c)||8&o.flags?""+ +s===s&&(p=e.factory.createNumericLiteral(+s)):p=e.factory.createStringLiteral(e.stripQuotes(s).replace(/\\./g,(function(e){return e.substring(1)})),39===c),p||((p=e.setEmitFlags(e.factory.createIdentifier(s,a),16777216)).symbol=o),e.factory.createElementAccessExpression(t(n,i-1),p)}(i,i.length-1)}function I(t){var r=e.getNameOfDeclaration(t);return!!r&&e.isStringLiteral(r)}function O(t){var r=e.getNameOfDeclaration(t);return!!(r&&e.isStringLiteral(r)&&(r.singleQuote||!e.nodeIsSynthesized(r)&&e.startsWith(e.getTextOfNode(r,!1),"'")))}function R(t,r){var n=!!e.length(t.declarations)&&e.every(t.declarations,O),i=function(t,r,n){var i=$n(t).nameType;if(i){if(384&i.flags){var a=""+i.value;return e.isIdentifierText(a,e.getEmitScriptTarget(N))||e.isNumericLiteralName(a)?e.isNumericLiteralName(a)&&e.startsWith(a,"-")?e.factory.createComputedPropertyName(e.factory.createNumericLiteral(+a)):e.createPropertyNameNodeForIdentifierOrLiteral(a,e.getEmitScriptTarget(N)):e.factory.createStringLiteral(a,!!n)}if(8192&i.flags)return e.factory.createComputedPropertyName(w(i.symbol,r,111551))}}(t,r,n);if(i)return i;var a=e.unescapeLeadingUnderscores(t.escapedName),o=!!e.length(t.declarations)&&e.every(t.declarations,I);return e.createPropertyNameNodeForIdentifierOrLiteral(a,e.getEmitScriptTarget(N),n,o)}function B(t,r){return t.declarations&&e.find(t.declarations,(function(t){return!(!e.getEffectiveTypeAnnotationNode(t)||r&&!e.findAncestor(t,(function(e){return e===r})))}))}function j(t,r){return!(4&e.getObjectFlags(r))||!e.isTypeReferenceNode(t)||e.length(t.typeArguments)>=Du(r.target.typeParameters)}function K(t,r,n,i,a,o){if(!ao(r)&&i){var s=B(n,i);if(s&&!e.isFunctionLikeDeclaration(s)&&!e.isGetAccessorDeclaration(s)){var u=e.getEffectiveTypeAnnotationNode(s);if(kd(u)===r&&j(u,r)){var l=U(t,u,a,o);if(l)return l}}}var p=t.flags;8192&r.flags&&r.symbol===n&&(!t.enclosingDeclaration||e.some(n.declarations,(function(r){return e.getSourceFileOfNode(r)===e.getSourceFileOfNode(t.enclosingDeclaration)})))&&(t.flags|=1048576);var d=c(r,t);return t.flags=p,d}function J(t,r,n){var i,a,o=!1,s=e.getFirstIdentifier(t);if(e.isInJSFile(t)&&(e.isExportsIdentifier(s)||e.isModuleExportsAccessExpression(s.parent)||e.isQualifiedName(s.parent)&&e.isModuleIdentifier(s.parent.left)&&e.isExportsIdentifier(s.parent.right)))return{introducesError:o=!0,node:t};var c=Bi(s,67108863,!0,!0);if(c&&(0!==Na(c,r.enclosingDeclaration,67108863,!1).accessibility?o=!0:(null===(a=null===(i=r.tracker)||void 0===i?void 0:i.trackSymbol)||void 0===a||a.call(i,c,r.enclosingDeclaration,67108863),null==n||n(c)),e.isIdentifier(t))){var u=Ss(c),l=262144&c.flags&&!Ca(u.symbol,r.enclosingDeclaration)?P(u,r):e.factory.cloneNode(t);return l.symbol=c,{introducesError:o,node:e.setEmitFlags(e.setOriginalNode(l,t),16777216)}}return{introducesError:o,node:t}}function U(r,i,a,o){n&&n.throwIfCancellationRequested&&n.throwIfCancellationRequested();var s=!1,u=e.getSourceFileOfNode(i),l=e.visitNode(i,(function n(i){if(e.isJSDocAllType(i)||317===i.kind)return e.factory.createKeywordTypeNode(130);if(e.isJSDocUnknownType(i))return e.factory.createKeywordTypeNode(154);if(e.isJSDocNullableType(i))return e.factory.createUnionTypeNode([e.visitNode(i.type,n),e.factory.createLiteralTypeNode(e.factory.createNull())]);if(e.isJSDocOptionalType(i))return e.factory.createUnionTypeNode([e.visitNode(i.type,n),e.factory.createKeywordTypeNode(152)]);if(e.isJSDocNonNullableType(i))return e.visitNode(i.type,n);if(e.isJSDocVariadicType(i))return e.factory.createArrayTypeNode(e.visitNode(i.type,n));if(e.isJSDocTypeLiteral(i))return e.factory.createTypeLiteralNode(e.map(i.jsDocPropertyTags,(function(t){var a=e.isIdentifier(t.name)?t.name:t.name.right,o=no(kd(i),a.escapedText),s=o&&t.typeExpression&&kd(t.typeExpression.type)!==o?c(o,r):void 0;return e.factory.createPropertySignature(void 0,a,t.isBracketed||t.typeExpression&&e.isJSDocOptionalType(t.typeExpression.type)?e.factory.createToken(57):void 0,s||t.typeExpression&&e.visitNode(t.typeExpression.type,n)||e.factory.createKeywordTypeNode(130))})));if(e.isTypeReferenceNode(i)&&e.isIdentifier(i.typeName)&&""===i.typeName.escapedText)return e.setOriginalNode(e.factory.createKeywordTypeNode(130),i);if((e.isExpressionWithTypeArguments(i)||e.isTypeReferenceNode(i))&&e.isJSDocIndexSignature(i))return e.factory.createTypeLiteralNode([e.factory.createIndexSignature(void 0,void 0,[e.factory.createParameterDeclaration(void 0,void 0,void 0,"x",void 0,e.visitNode(i.typeArguments[0],n))],e.visitNode(i.typeArguments[1],n))]);var l;if(e.isJSDocFunctionType(i))return e.isJSDocConstructSignature(i)?e.factory.createConstructorTypeNode(i.modifiers,e.visitNodes(i.typeParameters,n),e.mapDefined(i.parameters,(function(t,r){return t.name&&e.isIdentifier(t.name)&&"new"===t.name.escapedText?void(l=t.type):e.factory.createParameterDeclaration(void 0,void 0,m(t),g(t,r),t.questionToken,e.visitNode(t.type,n),void 0)})),e.visitNode(l||i.type,n)||e.factory.createKeywordTypeNode(130)):e.factory.createFunctionTypeNode(e.visitNodes(i.typeParameters,n),e.map(i.parameters,(function(t,r){return e.factory.createParameterDeclaration(void 0,void 0,m(t),g(t,r),t.questionToken,e.visitNode(t.type,n),void 0)})),e.visitNode(i.type,n)||e.factory.createKeywordTypeNode(130));if(e.isTypeReferenceNode(i)&&e.isInJSDoc(i)&&(!j(i,kd(i))||hl(i)||Ae===ul(i,788968,!0)))return e.setOriginalNode(c(kd(i),r),i);if(e.isLiteralImportTypeNode(i)){var p=Yn(i).resolvedSymbol;return!e.isInJSDoc(i)||!p||(i.isTypeOf||788968&p.flags)&&e.length(i.typeArguments)>=Du(is(p))?e.factory.updateImportTypeNode(i,e.factory.updateLiteralTypeNode(i.argument,function(n,i){if(o){if(r.tracker&&r.tracker.moduleResolverHost){var a=xC(n);if(a){var s={getCanonicalFileName:e.createGetCanonicalFileName(!!t.useCaseSensitiveFileNames),getCurrentDirectory:function(){return r.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return r.tracker.moduleResolverHost.getCommonSourceDirectory()}},c=e.getResolvedExternalModuleName(s,a);return e.factory.createStringLiteral(c)}}}else if(r.tracker&&r.tracker.trackExternalModuleSymbolOfImportTypeNode){var u=Ji(i,i,void 0);u&&r.tracker.trackExternalModuleSymbolOfImportTypeNode(u)}return i}(i,i.argument.literal)),i.qualifier,e.visitNodes(i.typeArguments,n,e.isTypeNode),i.isTypeOf):e.setOriginalNode(c(kd(i),r),i)}if(e.isEntityName(i)||e.isEntityNameExpression(i)){var d=J(i,r,a),f=d.introducesError,_=d.node;if(s=s||f,_!==i)return _}return u&&e.isTupleTypeNode(i)&&e.getLineAndCharacterOfPosition(u,i.pos).line===e.getLineAndCharacterOfPosition(u,i.end).line&&e.setEmitFlags(i,1),e.visitEachChild(i,n,e.nullTransformationContext);function m(t){return t.dotDotDotToken||(t.type&&e.isJSDocVariadicType(t.type)?e.factory.createToken(25):void 0)}function g(t,r){return t.name&&e.isIdentifier(t.name)&&"this"===t.name.escapedText?"this":m(t)?"args":"arg".concat(r)}}));if(!s)return l===i?e.setTextRange(e.factory.cloneNode(i),i):l}}(),oe=e.createSymbolTable(),se=Kn(4,"undefined");se.declarations=[];var ce=Kn(1536,"globalThis",8);ce.exports=oe,ce.declarations=[],oe.set(ce.escapedName,ce);var ue,le=Kn(4,"arguments"),pe=Kn(4,"require"),de={getNodeCount:function(){return e.sum(t.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return e.sum(t.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return e.sum(t.getSourceFiles(),"symbolCount")+v},getTypeCount:function(){return y},getInstantiationCount:function(){return b},getRelationCacheSizes:function(){return{assignable:xn.size,identity:Sn.size,subtype:Dn.size,strictSubtype:bn.size}},isUndefinedSymbol:function(e){return e===se},isArgumentsSymbol:function(e){return e===le},isUnknownSymbol:function(e){return e===Ae},getMergedSymbol:ta,getDiagnostics:TS,getGlobalDiagnostics:function(){return kS(),gn.getGlobalDiagnostics()},getRecursionIdentity:n_,getUnmatchedProperties:xm,getTypeOfSymbolAtLocation:function(t,r){var n=e.getParseTreeNode(r);return n?function(t,r){if(t=t.exportSymbol||t,(79===r.kind||80===r.kind)&&(e.isRightSideOfQualifiedNameOrPropertyAccess(r)&&(r=r.parent),e.isExpressionNode(r)&&(!e.isAssignmentTarget(r)||e.isWriteAccess(r)))){var n=jb(r);if(ca(Yn(r).resolvedSymbol)===t)return n}return e.isDeclarationName(r)&&e.isSetAccessor(r.parent)&&jo(r.parent)?qo(r.parent.symbol,!0):Xo(t)}(t,n):Le},getTypeOfSymbol:Yo,getSymbolsOfParameterPropertyDeclaration:function(t,r){var n=e.getParseTreeNode(t,e.isParameter);return void 0===n?e.Debug.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):function(t,r){var n=t.parent,i=t.parent.parent,a=Qn(n.locals,r,111551),o=Qn(Us(i.symbol),r,111551);return a&&o?[a,o]:e.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}(n,e.escapeLeadingUnderscores(r))},getDeclaredTypeOfSymbol:Ss,getPropertiesOfType:Ac,getPropertyOfType:function(t,r){return eu(t,e.escapeLeadingUnderscores(r))},getPrivateIdentifierPropertyOfType:function(t,r,n){var i=e.getParseTreeNode(n);if(i){var a=Vy(e.escapeLeadingUnderscores(r),i);return a?Hy(t,a):void 0}},getTypeOfPropertyOfType:function(t,r){return no(t,e.escapeLeadingUnderscores(r))},getIndexInfoOfType:function(e,t){return cu(e,0===t?He:Ge)},getIndexInfosOfType:su,getSignaturesOfType:ru,getIndexTypeOfType:function(e,t){return uu(e,0===t?He:Ge)},getIndexType:function(e){return Sp(e)},getBaseTypes:ds,getBaseTypeOfLiteralType:x_,getWidenedType:rm,getTypeFromTypeNode:function(t){var r=e.getParseTreeNode(t,e.isTypeNode);return r?kd(r):Le},getParameterType:FD,getParameterIdentifierNameAtPosition:function(e,t){var r;if(315!==(null===(r=e.declaration)||void 0===r?void 0:r.kind)){var n=e.parameters.length-(J(e)?1:0);if(t<n){var i=e.parameters[t];return AD(i)?[i.escapedName,!1]:void 0}var a=e.parameters[n]||Ae;if(AD(a)){var o=Yo(a);if(k_(o)){var s=o.target.labeledElementDeclarations,c=null==s?void 0:s[t-n],u=!(null==c||!c.dotDotDotToken);return c?[TD(c),u]:void 0}if(t===n)return[a.escapedName,!0]}}},getPromisedTypeOfPromise:dx,getAwaitedType:function(e){return hx(e)},getReturnTypeOfSignature:Pu,isNullableType:Oy,getNullableType:B_,getNonNullableType:K_,getNonOptionalType:U_,getTypeArguments:rl,typeToTypeNode:ae.typeToTypeNode,indexInfoToIndexSignatureDeclaration:ae.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:ae.signatureToSignatureDeclaration,symbolToEntityName:ae.symbolToEntityName,symbolToExpression:ae.symbolToExpression,symbolToTypeParameterDeclarations:ae.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:ae.symbolToParameterDeclaration,typeParameterToDeclaration:ae.typeParameterToDeclaration,getSymbolsInScope:function(t,r){var n=e.getParseTreeNode(t);return n?function(t,r){if(16777216&t.flags)return[];var n=e.createSymbolTable(),i=!1;return a(),n.delete("this"),_u(n);function a(){for(;t;){switch(t.locals&&!Xn(t)&&s(t.locals,r),t.kind){case 303:if(!e.isExternalModule(t))break;case 260:c(ra(t).exports,2623475&r);break;case 259:s(ra(t).exports,8&r);break;case 225:t.name&&o(t.symbol,r);case 256:case 257:i||s(Us(ra(t)),788968&r);break;case 212:t.name&&o(t.symbol,r)}e.introducesArgumentsExoticObject(t)&&o(le,r),i=e.isStatic(t),t=t.parent}s(oe,r)}function o(t,r){if(e.getCombinedLocalAndExportSymbolFlags(t)&r){var i=t.escapedName;n.has(i)||n.set(i,t)}}function s(e,t){t&&e.forEach((function(e){o(e,t)}))}function c(t,r){r&&t.forEach((function(t){!e.getDeclarationOfKind(t,274)&&!e.getDeclarationOfKind(t,273)&&o(t,r)}))}}(n,r):[]},getSymbolAtLocation:function(t){var r=e.getParseTreeNode(t);return r?LS(r,!0):void 0},getIndexInfosAtLocation:function(t){var r=e.getParseTreeNode(t);return r?function(t){if(e.isIdentifier(t)&&e.isPropertyAccessExpression(t.parent)&&t.parent.name===t){var r=Dp(t),n=jb(t.parent.expression),i=1048576&n.flags?n.types:[n];return e.flatMap(i,(function(t){return e.filter(su(t),(function(e){return au(r,e.keyType)}))}))}}(r):void 0},getShorthandAssignmentValueSymbol:function(t){var r=e.getParseTreeNode(t);return r?function(e){if(e&&295===e.kind)return Bi(e.name,2208703)}(r):void 0},getExportSpecifierLocalTargetSymbol:function(t){var r=e.getParseTreeNode(t,e.isExportSpecifier);return r?function(t){return e.isExportSpecifier(t)?t.parent.parent.moduleSpecifier?Ei(t.parent.parent,t):Bi(t.propertyName||t.name,2998271):Bi(t,2998271)}(r):void 0},getExportSymbolOfSymbol:function(e){return ta(e.exportSymbol||e)},getTypeAtLocation:function(t){var r=e.getParseTreeNode(t);return r?MS(r):Le},getTypeOfAssignmentPattern:function(t){var r=e.getParseTreeNode(t,e.isAssignmentPattern);return r&&RS(r)||Le},getPropertySymbolOfDestructuringAssignment:function(t){var r=e.getParseTreeNode(t,e.isIdentifier);return r?function(t){var r=RS(e.cast(t.parent.parent,e.isAssignmentPattern));return r&&eu(r,t.escapedText)}(r):void 0},signatureToString:function(t,r,n,i){return Ra(t,e.getParseTreeNode(r),n,i)},typeToString:function(t,r,n){return Ba(t,e.getParseTreeNode(r),n)},symbolToString:function(t,r,n,i){return Ma(t,e.getParseTreeNode(r),n,i)},typePredicateToString:function(t,r,n){return Va(t,e.getParseTreeNode(r),n)},writeSignature:function(t,r,n,i,a){return Ra(t,e.getParseTreeNode(r),n,i,a)},writeType:function(t,r,n,i){return Ba(t,e.getParseTreeNode(r),n,i)},writeSymbol:function(t,r,n,i,a){return Ma(t,e.getParseTreeNode(r),n,i,a)},writeTypePredicate:function(t,r,n,i){return Va(t,e.getParseTreeNode(r),n,i)},getAugmentedPropertiesOfType:JS,getRootSymbols:function t(r){var n=function(t){if(6&e.getCheckFlags(t))return e.mapDefined($n(t).containingType.types,(function(e){return eu(e,t.escapedName)}));if(33554432&t.flags){var r=t,n=r.leftSpread,i=r.rightSpread,a=r.syntheticOrigin;return n?[n,i]:a?[a]:e.singleElementArray(function(e){for(var t,r=e;r=$n(r).target;)t=r;return t}(t))}}(r);return n?e.flatMap(n,t):[r]},getSymbolOfExpando:uD,getContextualType:function(t,r){var n=e.getParseTreeNode(t,e.isExpression);if(n){var i=e.findAncestor(n,e.isCallLikeExpression),a=i&&Yn(i).resolvedSignature;if(4&r&&i){var o=n;do{Yn(o).skipDirectInference=!0,o=o.parent}while(o&&o!==i);Yn(i).resolvedSignature=void 0}var s=Jh(n,r);if(4&r&&i){o=n;do{Yn(o).skipDirectInference=void 0,o=o.parent}while(o&&o!==i);Yn(i).resolvedSignature=a}return s}},getContextualTypeForObjectLiteralElement:function(t){var r=e.getParseTreeNode(t,e.isObjectLiteralElementLike);return r?wh(r):void 0},getContextualTypeForArgumentAtIndex:function(t,r){var n=e.getParseTreeNode(t,e.isCallLikeExpression);return n&&kh(n,r)},getContextualTypeForJsxAttribute:function(t){var r=e.getParseTreeNode(t,e.isJsxAttributeLike);return r&&Lh(r)},isContextSensitive:nf,getTypeOfPropertyOfContextualType:Fh,getFullyQualifiedName:Ri,getResolvedSignature:function(e,t,r){return fe(e,t,r,0)},getResolvedSignatureForSignatureHelp:function(e,t,r){return fe(e,t,r,16)},getExpandedParameters:Ys,hasEffectiveRestParameter:MD,containsArgumentsReference:Su,getConstantValue:function(t){var r=e.getParseTreeNode(t,cC);return r?uC(r):void 0},isValidPropertyAccess:function(t,r){var n=e.getParseTreeNode(t,e.isPropertyAccessOrQualifiedNameOrImportTypeNode);return!!n&&function(e,t){switch(e.kind){case 205:return dv(e,106===e.expression.kind,t,rm(Ub(e.expression)));case 160:return dv(e,!1,t,rm(Ub(e.left)));case 199:return dv(e,!1,t,kd(e))}}(n,e.escapeLeadingUnderscores(r))},isValidPropertyAccessForCompletions:function(t,r,n){var i=e.getParseTreeNode(t,e.isPropertyAccessExpression);return!!i&&pv(i,r,n)},getSignatureFromDeclaration:function(t){var r=e.getParseTreeNode(t,e.isFunctionLike);return r?xu(r):void 0},isImplementationOfOverload:function(t){var r=e.getParseTreeNode(t,e.isFunctionLike);return r?tC(r):void 0},getImmediateAliasedSymbol:ny,getAliasedSymbol:Pi,getEmitResolver:function(e,t){return TS(e,t),ie},getExportsOfModule:Gi,getExportsAndPropertiesOfModule:function(t){var r=Gi(t),n=Vi(t);if(n!==t){var i=Yo(n);Yi(i)&&e.addRange(r,Ac(i))}return r},forEachExportAndPropertyOfModule:function(e,t){Qi(e).forEach((function(e,r){ga(r)||t(e,r)}));var r=Vi(e);if(r!==e){var n=Yo(r);Yi(n)&&function(e,t){3670016&(e=zc(e)).flags&&Sc(e).members.forEach((function(e,r){ya(e,r)&&t(e,r)}))}(n,(function(e,r){t(e,r)}))}},getSymbolWalker:e.createGetSymbolWalker((function(e){return Iu(e)||we}),Au,Pu,ds,Sc,Yo,qm,Pc,e.getFirstIdentifier,rl),getAmbientModules:function(){return At||(At=[],oe.forEach((function(e,t){u.test(t)&&At.push(e)}))),At},getJsxIntrinsicTagNamesAt:function(t){var r=dy(F.IntrinsicElements,t);return r?Ac(r):e.emptyArray},isOptionalParameter:function(t){var r=e.getParseTreeNode(t,e.isParameter);return!!r&&hu(r)},tryGetMemberInModuleExports:function(t,r){return $i(e.escapeLeadingUnderscores(t),r)},tryGetMemberInModuleExportsAndProperties:function(t,r){return function(e,t){var r=$i(e,t);if(r)return r;var n=Vi(t);if(n!==t){var i=Yo(n);return Yi(i)?eu(i,e):void 0}}(e.escapeLeadingUnderscores(t),r)},tryFindAmbientModule:function(e){return gu(e,!0)},tryFindAmbientModuleWithoutAugmentations:function(e){return gu(e,!1)},getApparentType:Vc,getUnionType:sp,isTypeAssignableTo:ff,createAnonymousType:Da,createSignature:Ws,createSymbol:Kn,createIndexInfo:qu,getAnyType:function(){return we},getStringType:function(){return He},getNumberType:function(){return Ge},createPromiseType:VD,createArrayType:jl,getElementTypeOfArrayType:p_,getBooleanType:function(){return et},getFalseType:function(e){return e?Ye:Xe},getTrueType:function(e){return e?Qe:Ze},getVoidType:function(){return rt},getUndefinedType:function(){return Je},getNullType:function(){return ze},getESSymbolType:function(){return tt},getNeverType:function(){return nt},getOptionalType:function(){return qe},getPromiseType:function(){return Fl(!1)},getPromiseLikeType:function(){return wl(!1)},isSymbolAccessible:Na,isArrayType:c_,isTupleType:k_,isArrayLikeType:d_,isTypeInvalidDueToUnionDiscriminant:function(e,t){return t.properties.some((function(t){var r=t.name&&Dp(t.name),n=r&&Os(r)?js(r):void 0,i=void 0===n?void 0:no(e,n);return!!i&&b_(i)&&!ff(MS(t),i)}))},getExactOptionalProperties:function(e){return Ac(e).filter((function(e){return W_(Yo(e))}))},getAllPossiblePropertiesOfTypes:function(t){var r=sp(t);if(!(1048576&r.flags))return JS(r);for(var n=e.createSymbolTable(),i=0,a=t;i<a.length;i++)for(var o=0,s=JS(a[i]);o<s.length;o++){var c=s[o].escapedName;if(!n.has(c)){var u=Wc(r,c);u&&n.set(c,u)}}return e.arrayFrom(n.values())},getSuggestedSymbolForNonexistentProperty:nv,getSuggestionForNonexistentProperty:av,getSuggestedSymbolForNonexistentJSXAttribute:iv,getSuggestedSymbolForNonexistentSymbol:function(t,r,n){return ov(t,e.escapeLeadingUnderscores(r),n)},getSuggestionForNonexistentSymbol:function(t,r,n){return function(t,r,n){var i=ov(t,r,n);return i&&e.symbolName(i)}(t,e.escapeLeadingUnderscores(r),n)},getSuggestedSymbolForNonexistentModule:sv,getSuggestionForNonexistentExport:function(t,r){var n=sv(t,r);return n&&e.symbolName(n)},getSuggestedSymbolForNonexistentClassMember:rv,getBaseConstraintOfType:Lc,getDefaultFromTypeParameter:function(e){return e&&262144&e.flags?Kc(e):void 0},resolveName:function(t,r,n,i){return ti(r,e.escapeLeadingUnderscores(t),n,void 0,void 0,!1,i)},getJsxNamespace:function(t){return e.unescapeLeadingUnderscores(An(t))},getJsxFragmentFactory:function(t){var r=bC(t);return r&&e.unescapeLeadingUnderscores(e.getFirstIdentifier(r).escapedText)},getAccessibleSymbolChain:Ea,getTypePredicateOfSignature:Au,resolveExternalModuleName:function(t){var r=e.getParseTreeNode(t,e.isExpression);return r&&Ki(r,r,!0)},resolveExternalModuleSymbol:Vi,tryGetThisTypeAt:function(t,r){var n=e.getParseTreeNode(t);return n&&mh(n,r)},getTypeArgumentConstraint:function(t){var r=e.getParseTreeNode(t,e.isTypeNode);return r&&function(t){var r=e.tryCast(t.parent,e.isTypeReferenceType);if(r){var n=rx(r);if(n){var i=Pc(n[r.typeArguments.indexOf(t)]);return i&&Qd(i,Id(n,ex(r,n)))}}}(r)},getSuggestionDiagnostics:function(r,i){var a,s=e.getParseTreeNode(r,e.isSourceFile)||e.Debug.fail("Could not determine parsed source file.");if(e.skipTypeChecking(s,N,t))return e.emptyArray;try{return n=i,ES(s),e.Debug.assert(!!(1&Yn(s).flags)),a=e.addRange(a,hn.getDiagnostics(s.fileName)),Nx(CS(s),(function(t,r,n){!e.containsParseError(t)&&!SS(r,!!(8388608&t.flags))&&(a||(a=[])).push(o(o({},n),{category:e.DiagnosticCategory.Suggestion}))})),a||e.emptyArray}finally{n=void 0}},runWithCancellationToken:function(e,t){try{return n=e,t(de)}finally{n=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:is,isDeclarationVisible:Ya,isPropertyAccessible:fv,getTypeOnlyAliasDeclaration:Ii,getMemberOverrideModifierStatus:function(t,r){if(!r.name)return 0;var n=ra(t),i=Ss(n),a=Vs(i),o=Yo(n),s=e.getEffectiveBaseTypeNode(t)&&ds(i),c=null!=s&&s.length?Vs(e.first(s),i.thisType):void 0,u=ls(i),l=r.parent?e.hasOverrideModifier(r):e.hasSyntacticModifier(r,16384),p=e.unescapeLeadingUnderscores(e.getTextOfPropertyName(r.name));return HE(t,o,u,c,i,a,l,e.hasAbstractModifier(r),e.isStatic(r),!1,p)}};function fe(t,r,n,i){var a=e.getParseTreeNode(t,e.isCallLikeExpression);ue=n;var o=a?oD(a,r,i):void 0;return ue=void 0,o}var _e=new e.Map,me=new e.Map,ge=new e.Map,he=new e.Map,ye=new e.Map,ve=new e.Map,De=new e.Map,be=new e.Map,xe=new e.Map,Ee=new e.Map,Se=new e.Map,Ce=new e.Map,Te=[],ke=new e.Map,Ae=Kn(4,"unknown"),Ne=Kn(0,"__resolving__"),Pe=new e.Map,Fe=new e.Map,we=fa(1,"any"),Ie=fa(1,"any"),Oe=fa(1,"any"),Le=fa(1,"error"),Me=fa(1,"unresolved"),Re=fa(1,"any",131072),Be=fa(1,"intrinsic"),je=fa(2,"unknown"),Ke=fa(2,"unknown"),Je=fa(32768,"undefined"),Ue=H?Je:fa(32768,"undefined",131072),qe=fa(32768,"undefined"),Ve=re?fa(32768,"undefined"):Je,ze=fa(65536,"null"),We=H?ze:fa(65536,"null",131072),He=fa(4,"string"),Ge=fa(8,"number"),$e=fa(64,"bigint"),Ye=fa(512,"false"),Xe=fa(512,"false"),Qe=fa(512,"true"),Ze=fa(512,"true");Qe.regularType=Ze,Qe.freshType=Qe,Ze.regularType=Ze,Ze.freshType=Qe,Ye.regularType=Xe,Ye.freshType=Ye,Xe.regularType=Xe,Xe.freshType=Ye;var et=sp([Xe,Ze]),tt=fa(4096,"symbol"),rt=fa(16384,"void"),nt=fa(131072,"never"),it=fa(131072,"never"),at=fa(131072,"never",524288),ot=fa(131072,"never"),st=fa(131072,"never"),ct=fa(67108864,"object"),ut=sp([He,Ge]),lt=sp([He,Ge,tt]),pt=ee?He:lt,dt=sp([Ge,$e]),ft=sp([He,Ge,et,$e,ze,Je]),_t=Md((function(e){return 262144&e.flags?function(e){return e.constraint===je?e:e.restrictiveInstantiation||(e.restrictiveInstantiation=ma(e.symbol),e.restrictiveInstantiation.constraint=je,e.restrictiveInstantiation)}(e):e})),mt=Md((function(e){return 262144&e.flags?Oe:e})),gt=Da(void 0,k,e.emptyArray,e.emptyArray,e.emptyArray),ht=Da(void 0,k,e.emptyArray,e.emptyArray,e.emptyArray);ht.objectFlags|=2048;var yt=Kn(2048,"__type");yt.members=e.createSymbolTable();var vt=Da(yt,k,e.emptyArray,e.emptyArray,e.emptyArray),Dt=Da(void 0,k,e.emptyArray,e.emptyArray,e.emptyArray);Dt.instantiations=new e.Map;var bt=Da(void 0,k,e.emptyArray,e.emptyArray,e.emptyArray);bt.objectFlags|=524288;var xt=Da(void 0,k,e.emptyArray,e.emptyArray,e.emptyArray),Et=Da(void 0,k,e.emptyArray,e.emptyArray,e.emptyArray),St=Da(void 0,k,e.emptyArray,e.emptyArray,e.emptyArray),Ct=ma(),Tt=ma();Tt.constraint=Ct;var kt,At,Nt,Pt,Ft,wt,It,Ot,Lt,Mt,Rt,Bt,jt,Kt,Jt,Ut,qt,Vt,zt,Wt,Ht,Gt,$t,Yt,Xt,Qt,Zt,er,tr,rr,nr,ir,ar,or,sr,cr,ur,lr,pr,dr,fr,_r,mr,gr,hr,yr,vr,Dr,br,xr,Er,Sr=ma(),Cr=vu(1,"<<unresolved>>",0,we),Tr=Ws(void 0,void 0,void 0,e.emptyArray,we,void 0,0,0),kr=Ws(void 0,void 0,void 0,e.emptyArray,Le,void 0,0,0),Ar=Ws(void 0,void 0,void 0,e.emptyArray,we,void 0,0,0),Nr=Ws(void 0,void 0,void 0,e.emptyArray,it,void 0,0,0),Pr=qu(Ge,He,!0),Fr=new e.Map,wr={get yieldType(){return e.Debug.fail("Not supported")},get returnType(){return e.Debug.fail("Not supported")},get nextType(){return e.Debug.fail("Not supported")}},Ir=dE(we,we,we),Or=dE(we,we,je),Lr=dE(nt,we,Je),Mr={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return sr||(sr=Tl("AsyncIterator",3,e))||Dt},getGlobalIterableType:function(e){return or||(or=Tl("AsyncIterable",1,e))||Dt},getGlobalIterableIteratorType:function(e){return cr||(cr=Tl("AsyncIterableIterator",1,e))||Dt},getGlobalGeneratorType:function(e){return ur||(ur=Tl("AsyncGenerator",3,e))||Dt},resolveIterationType:hx,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},Rr={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return tr||(tr=Tl("Iterator",3,e))||Dt},getGlobalIterableType:Ol,getGlobalIterableIteratorType:function(e){return rr||(rr=Tl("IterableIterator",1,e))||Dt},getGlobalGeneratorType:function(e){return nr||(nr=Tl("Generator",3,e))||Dt},resolveIterationType:function(e,t){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},Br=new e.Map,jr=!1,Kr=new e.Map,Jr=0,Ur=0,qr=0,Vr=!1,zr=0,Wr=vd(""),Hr=Dd(0),Gr=bd({negative:!1,base10Value:"0"}),$r=[],Yr=[],Xr=[],Qr=0,Zr=[],en=[],tn=[],rn=[],nn=[],an=[],on=[],sn=[],cn=[],un=[],ln=[],pn=[],dn=[],fn=[],_n=[],mn=[],gn=e.createDiagnosticCollection(),hn=e.createDiagnosticCollection(),yn=new e.Map(e.getEntries({string:He,number:Ge,bigint:$e,boolean:et,symbol:tt,undefined:Je})),vn=sp(e.arrayFrom(S.keys(),vd)),Dn=new e.Map,bn=new e.Map,xn=new e.Map,En=new e.Map,Sn=new e.Map,Cn=new e.Map,Tn=e.createSymbolTable();Tn.set(se.escapedName,se);var kn=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",1===N.jsx?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return function(){for(var r=0,n=t.getSourceFiles();r<n.length;r++){var i=n[r];e.bindSourceFile(i,N)}kt=new e.Map;for(var a,o=0,s=t.getSourceFiles();o<s.length;o++)if(!(i=s[o]).redirectInfo){if(!e.isExternalOrCommonJsModule(i)){var c=i.locals.get("globalThis");if(null!=c&&c.declarations)for(var u=0,l=c.declarations;u<l.length;u++){var p=l[u];gn.add(e.createDiagnosticForNode(p,e.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"))}Hn(oe,i.locals)}i.jsGlobalAugmentations&&Hn(oe,i.jsGlobalAugmentations),i.patternAmbientModules&&i.patternAmbientModules.length&&(Nt=e.concatenate(Nt,i.patternAmbientModules)),i.moduleAugmentations.length&&(a||(a=[])).push(i.moduleAugmentations),i.symbol&&i.symbol.globalExports&&i.symbol.globalExports.forEach((function(e,t){oe.has(t)||oe.set(t,e)}))}if(a)for(var d=0,f=a;d<f.length;d++)for(var _=0,m=f[d];_<m.length;_++){var g=m[_];!e.isGlobalScopeAugmentation(g.parent)||Gn(g)}if(function(t,r,n){function i(t,r){return function(n){return gn.add(e.createDiagnosticForNode(n,r,t))}}r.forEach((function(r,a){var o=t.get(a);o?e.forEach(o.declarations,i(e.unescapeLeadingUnderscores(a),n)):t.set(a,r)}))}(oe,Tn,e.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0),$n(se).type=Ue,$n(le).type=Tl("IArguments",0,!0),$n(Ae).type=Le,$n(ce).type=_a(16,ce),Lt=Tl("Array",1,!0),Ft=Tl("Object",0,!0),wt=Tl("Function",0,!0),It=$&&Tl("CallableFunction",0,!0)||wt,Ot=$&&Tl("NewableFunction",0,!0)||wt,Rt=Tl("String",0,!0),Bt=Tl("Number",0,!0),jt=Tl("Boolean",0,!0),Kt=Tl("RegExp",0,!0),Ut=jl(we),(qt=jl(Ie))===gt&&(qt=Da(void 0,k,e.emptyArray,e.emptyArray,e.emptyArray)),Mt=Ll("ReadonlyArray",1)||Lt,Vt=Mt?Rl(Mt,[we]):Ut,Jt=Ll("ThisType",1),a)for(var h=0,y=a;h<y.length;h++)for(var v=0,D=y[h];v<D.length;v++)g=D[v],e.isGlobalScopeAugmentation(g.parent)||Gn(g);kt.forEach((function(t){var r=t.firstFile,n=t.secondFile,i=t.conflictingSymbols;if(i.size<8)i.forEach((function(t,r){for(var n=t.isBlockScoped,i=t.firstFileLocations,a=t.secondFileLocations,o=n?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,s=0,c=i;s<c.length;s++)Wn(c[s],o,r,a);for(var u=0,l=a;u<l.length;u++)Wn(l[u],o,r,i)}));else{var a=e.arrayFrom(i.keys()).join(", ");gn.add(e.addRelatedInfo(e.createDiagnosticForNode(r,e.Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,a),e.createDiagnosticForNode(n,e.Diagnostics.Conflicts_are_in_this_file))),gn.add(e.addRelatedInfo(e.createDiagnosticForNode(n,e.Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,a),e.createDiagnosticForNode(r,e.Diagnostics.Conflicts_are_in_this_file)))}})),kt=void 0}(),de;function An(t){if(t){var r=e.getSourceFileOfNode(t);if(r)if(e.isJsxOpeningFragment(t)){if(r.localJsxFragmentNamespace)return r.localJsxFragmentNamespace;var n=r.pragmas.get("jsxfrag");if(n){var i=e.isArray(n)?n[0]:n;if(r.localJsxFragmentFactory=e.parseIsolatedEntityName(i.arguments.factory,q),e.visitNode(r.localJsxFragmentFactory,Pn),r.localJsxFragmentFactory)return r.localJsxFragmentNamespace=e.getFirstIdentifier(r.localJsxFragmentFactory).escapedText}var a=bC(t);if(a)return r.localJsxFragmentFactory=a,r.localJsxFragmentNamespace=e.getFirstIdentifier(a).escapedText}else{var o=Nn(r);if(o)return r.localJsxNamespace=o}}return br||(br="React",N.jsxFactory?(xr=e.parseIsolatedEntityName(N.jsxFactory,q),e.visitNode(xr,Pn),xr&&(br=e.getFirstIdentifier(xr).escapedText)):N.reactNamespace&&(br=e.escapeLeadingUnderscores(N.reactNamespace))),xr||(xr=e.factory.createQualifiedName(e.factory.createIdentifier(e.unescapeLeadingUnderscores(br)),"createElement")),br}function Nn(t){if(t.localJsxNamespace)return t.localJsxNamespace;var r=t.pragmas.get("jsx");if(r){var n=e.isArray(r)?r[0]:r;if(t.localJsxFactory=e.parseIsolatedEntityName(n.arguments.factory,q),e.visitNode(t.localJsxFactory,Pn),t.localJsxFactory)return t.localJsxNamespace=e.getFirstIdentifier(t.localJsxFactory).escapedText}}function Pn(t){return e.setTextRangePosEnd(t,-1,-1),e.visitEachChild(t,Pn,e.nullTransformationContext)}function Fn(e,t,r,n,i,a,o){var s=In(t,r,n,i,a,o);return s.skippedOn=e,s}function wn(t,r,n,i,a,o){return t?e.createDiagnosticForNode(t,r,n,i,a,o):e.createCompilerDiagnostic(r,n,i,a,o)}function In(e,t,r,n,i,a){var o=wn(e,t,r,n,i,a);return gn.add(o),o}function On(t,r){t?gn.add(r):hn.add(o(o({},r),{category:e.DiagnosticCategory.Suggestion}))}function Ln(t,r,n,i,a,o,s){if(r.pos<0||r.end<0){if(!t)return;var c=e.getSourceFileOfNode(r);On(t,"message"in n?e.createFileDiagnostic(c,0,0,n,i,a,o,s):e.createDiagnosticForFileFromMessageChain(c,n))}else On(t,"message"in n?e.createDiagnosticForNode(r,n,i,a,o,s):e.createDiagnosticForNodeFromMessageChain(r,n))}function Mn(t,r,n,i,a,o,s){var c=In(t,n,i,a,o,s);if(r){var u=e.createDiagnosticForNode(t,e.Diagnostics.Did_you_forget_to_use_await);e.addRelatedInfo(c,u)}return c}function Rn(t,r){var n=Array.isArray(t)?e.forEach(t,e.getJSDocDeprecatedTag):e.getJSDocDeprecatedTag(t);return n&&e.addRelatedInfo(r,e.createDiagnosticForNode(n,e.Diagnostics.The_declaration_was_marked_as_deprecated_here)),hn.add(r),r}function Bn(e){return!!(134217728&Ay(e))}function jn(t,r,n){return Rn(r,e.createDiagnosticForNode(t,e.Diagnostics._0_is_deprecated,n))}function Kn(e,t,r){v++;var n=new m(33554432|e,t);return n.checkFlags=r||0,n}function Jn(e){var t=0;return 2&e&&(t|=111551),1&e&&(t|=111550),4&e&&(t|=0),8&e&&(t|=900095),16&e&&(t|=110991),32&e&&(t|=899503),64&e&&(t|=788872),256&e&&(t|=899327),128&e&&(t|=899967),512&e&&(t|=110735),8192&e&&(t|=103359),32768&e&&(t|=46015),65536&e&&(t|=78783),262144&e&&(t|=526824),524288&e&&(t|=788968),2097152&e&&(t|=2097152),t}function Un(e,t){t.mergeId||(t.mergeId=f,f++),Zr[t.mergeId]=e}function qn(t){var r=Kn(t.flags,t.escapedName);return r.declarations=t.declarations?t.declarations.slice():[],r.parent=t.parent,t.valueDeclaration&&(r.valueDeclaration=t.valueDeclaration),t.constEnumOnlyModule&&(r.constEnumOnlyModule=!0),t.members&&(r.members=new e.Map(t.members)),t.exports&&(r.exports=new e.Map(t.exports)),Un(r,t),r}function Vn(t,r,n){if(void 0===n&&(n=!1),!(t.flags&Jn(r.flags))||67108864&(r.flags|t.flags)){if(r===t)return t;if(!(33554432&t.flags)){var i=Ni(t);if(i===Ae)return r;t=qn(i)}512&r.flags&&512&t.flags&&t.constEnumOnlyModule&&!r.constEnumOnlyModule&&(t.constEnumOnlyModule=!1),t.flags|=r.flags,r.valueDeclaration&&e.setValueDeclaration(t,r.valueDeclaration),e.addRange(t.declarations,r.declarations),r.members&&(t.members||(t.members=e.createSymbolTable()),Hn(t.members,r.members,n)),r.exports&&(t.exports||(t.exports=e.createSymbolTable()),Hn(t.exports,r.exports,n)),n||Un(t,r)}else if(1024&t.flags)t!==ce&&In(r.declarations&&e.getNameOfDeclaration(r.declarations[0]),e.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Ma(t));else{var a=!!(384&t.flags||384&r.flags),o=!!(2&t.flags||2&r.flags),s=a?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=r.declarations&&e.getSourceFileOfNode(r.declarations[0]),u=t.declarations&&e.getSourceFileOfNode(t.declarations[0]),l=e.isPlainJsFile(c,N.checkJs),p=e.isPlainJsFile(u,N.checkJs),d=Ma(r);if(c&&u&&kt&&!a&&c!==u){var f=-1===e.comparePaths(c.path,u.path)?c:u,_=f===c?u:c,m=e.getOrUpdate(kt,"".concat(f.path,"|").concat(_.path),(function(){return{firstFile:f,secondFile:_,conflictingSymbols:new e.Map}})),g=e.getOrUpdate(m.conflictingSymbols,d,(function(){return{isBlockScoped:o,firstFileLocations:[],secondFileLocations:[]}}));l||h(g.firstFileLocations,r),p||h(g.secondFileLocations,t)}else l||zn(r,s,d,t),p||zn(t,s,d,r)}return t;function h(t,r){if(r.declarations)for(var n=0,i=r.declarations;n<i.length;n++){var a=i[n];e.pushIfUnique(t,a)}}}function zn(t,r,n,i){e.forEach(t.declarations,(function(e){Wn(e,r,n,i.declarations)}))}function Wn(t,r,n,i){for(var a=(e.getExpandoInitializer(t,!1)?e.getNameOfExpando(t):e.getNameOfDeclaration(t))||t,o=function(t,r,n,i,a,o){var s=t?e.createDiagnosticForNode(t,r,n,i,a,o):e.createCompilerDiagnostic(r,n,i,a,o);return gn.lookup(s)||(gn.add(s),s)}(a,r,n),s=function(t){var r=(e.getExpandoInitializer(t,!1)?e.getNameOfExpando(t):e.getNameOfDeclaration(t))||t;if(r===a)return"continue";o.relatedInformation=o.relatedInformation||[];var i=e.createDiagnosticForNode(r,e.Diagnostics._0_was_also_declared_here,n),s=e.createDiagnosticForNode(r,e.Diagnostics.and_here);if(e.length(o.relatedInformation)>=5||e.some(o.relatedInformation,(function(t){return 0===e.compareDiagnostics(t,s)||0===e.compareDiagnostics(t,i)})))return"continue";e.addRelatedInfo(o,e.length(o.relatedInformation)?s:i)},c=0,u=i||e.emptyArray;c<u.length;c++)s(u[c])}function Hn(e,t,r){void 0===r&&(r=!1),t.forEach((function(t,n){var i=e.get(n);e.set(n,i?Vn(i,t,r):t)}))}function Gn(t){var r,n,i,a=t.parent;if((null===(r=a.symbol.declarations)||void 0===r?void 0:r[0])===a)if(e.isGlobalScopeAugmentation(a))Hn(oe,a.symbol.exports);else{var o=Ji(t,t,8388608&t.parent.parent.flags?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,!0);if(!o)return;if(1920&(o=Vi(o)).flags)if(e.some(Nt,(function(e){return o===e.symbol}))){var s=Vn(a.symbol,o,!0);Pt||(Pt=new e.Map),Pt.set(t.text,s)}else{if((null===(n=o.exports)||void 0===n?void 0:n.get("__export"))&&(null===(i=a.symbol.exports)||void 0===i?void 0:i.size))for(var c=Js(o,"resolvedExports"),u=0,l=e.arrayFrom(a.symbol.exports.entries());u<l.length;u++){var p=l[u],d=p[0],f=p[1];c.has(d)&&!o.exports.has(d)&&Vn(c.get(d),f)}Vn(o,a.symbol)}else In(t,e.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,t.text)}else e.Debug.assert(a.symbol.declarations.length>1)}function $n(e){if(33554432&e.flags)return e;var t=M(e);return en[t]||(en[t]=new I)}function Yn(e){var t=L(e);return tn[t]||(tn[t]=new O)}function Xn(t){return 303===t.kind&&!e.isExternalOrCommonJsModule(t)}function Qn(t,r,n){if(n){var i=ta(t.get(r));if(i){if(e.Debug.assert(0==(1&e.getCheckFlags(i)),"Should never get an instantiated symbol here."),i.flags&n)return i;if(2097152&i.flags){var a=Pi(i);if(a===Ae||a.flags&n)return i}}}}function Zn(r,n){var i=e.getSourceFileOfNode(r),a=e.getSourceFileOfNode(n),o=e.getEnclosingBlockScopeContainer(r);if(i!==a){if(V&&(i.externalModuleIndicator||a.externalModuleIndicator)||!e.outFile(N)||Vm(n)||8388608&r.flags||u(n,r))return!0;var s=t.getSourceFiles();return s.indexOf(i)<=s.indexOf(a)}if(r.pos<=n.pos&&(!e.isPropertyDeclaration(r)||!e.isThisProperty(n.parent)||r.initializer||r.exclamationToken)){if(202===r.kind){var c=e.getAncestor(n,202);return c?e.findAncestor(c,e.isBindingElement)!==e.findAncestor(r,e.isBindingElement)||r.pos<c.pos:Zn(e.getAncestor(r,253),n)}return 253===r.kind?!function(t,r){switch(t.parent.parent.kind){case 236:case 241:case 243:if(pi(r,t,o))return!0}var n=t.parent.parent;return e.isForInOrOfStatement(n)&&pi(r,n.expression,o)}(r,n):e.isClassDeclaration(r)?!e.findAncestor(n,(function(t){return e.isComputedPropertyName(t)&&t.parent.parent===r})):e.isPropertyDeclaration(r)?!l(r,n,!1):!e.isParameterPropertyDeclaration(r,r.parent)||!(99===e.getEmitScriptTarget(N)&&z&&e.getContainingClass(r)===e.getContainingClass(n)&&u(n,r))}return!(!(274===n.parent.kind||270===n.parent.kind&&n.parent.isExportEquals||270===n.kind&&n.isExportEquals||4194304&n.flags||Vm(n)||e.findAncestor(n,(function(t){return e.isInterfaceDeclaration(t)||e.isTypeAliasDeclaration(t)})))&&(!u(n,r)||99===e.getEmitScriptTarget(N)&&z&&e.getContainingClass(r)&&(e.isPropertyDeclaration(r)||e.isParameterPropertyDeclaration(r,r.parent))&&l(r,n,!0)));function u(t,r){return!!e.findAncestor(t,(function(n){if(n===o)return"quit";if(e.isFunctionLike(n))return!0;if(e.isClassStaticBlockDeclaration(n))return r.pos<t.pos;var i=e.tryCast(n.parent,e.isPropertyDeclaration);if(i&&i.initializer===n)if(e.isStatic(n.parent)){if(168===r.kind)return!0;if(e.isPropertyDeclaration(r)&&e.getContainingClass(t)===e.getContainingClass(r)){var a=r.name;if((e.isIdentifier(a)||e.isPrivateIdentifier(a))&&function(t,r,n,i,a){for(var o=0,s=n;o<s.length;o++){var c=s[o];if(c.pos>=i&&c.pos<=a){var u=e.factory.createPropertyAccessExpression(e.factory.createThis(),t);if(e.setParent(u.expression,u),e.setParent(u,c),u.flowNode=c.returnFlowNode,!(32768&O_(Qg(u,r,j_(r)))))return!0}}return!1}(a,Yo(ra(r)),e.filter(r.parent.members,e.isClassStaticBlockDeclaration),r.parent.pos,n.pos))return!0}}else if(166!==r.kind||e.isStatic(r)||e.getContainingClass(t)!==e.getContainingClass(r))return!0;return!1}))}function l(t,r,n){return!(r.end>t.end)&&void 0===e.findAncestor(r,(function(r){if(r===t)return"quit";switch(r.kind){case 213:return!0;case 166:return!n||!(e.isPropertyDeclaration(t)&&r.parent===t.parent||e.isParameterPropertyDeclaration(t,t.parent)&&r.parent===t.parent.parent)||"quit";case 234:switch(r.parent.kind){case 171:case 168:case 172:return!0;default:return!1}default:return!1}}))}}function ei(t,r,n){var i=e.getEmitScriptTarget(N),a=r;if(e.isParameter(n)&&a.body&&t.valueDeclaration&&t.valueDeclaration.pos>=a.body.pos&&t.valueDeclaration.end<=a.body.end&&i>=2){var o=Yn(a);return void 0===o.declarationRequiresScopeChange&&(o.declarationRequiresScopeChange=e.forEach(a.parameters,(function(e){return s(e.name)||!!e.initializer&&s(e.initializer)}))||!1),!o.declarationRequiresScopeChange}return!1;function s(t){switch(t.kind){case 213:case 212:case 255:case 170:return!1;case 168:case 171:case 172:case 294:return s(t.name);case 166:return e.hasStaticModifier(t)?i<99||!z:s(t.name);default:return e.isNullishCoalesce(t)||e.isOptionalChain(t)?i<7:e.isBindingElement(t)&&t.dotDotDotToken&&e.isObjectBindingPattern(t.parent)?i<4:!e.isTypeNode(t)&&(e.forEachChild(t,s)||!1)}}}function ti(e,t,r,n,i,a,o,s){return void 0===o&&(o=!1),void 0===s&&(s=!0),ri(e,t,r,n,i,a,o,s,Qn)}function ri(t,n,i,a,o,s,c,u,l){var p,d,f,_,m,g,h,y,v,D=t,b=!1,x=t,E=!1;e:for(;t;){if(t.locals&&!Xn(t)&&(_=l(t.locals,n,i))){var S=!0;if(e.isFunctionLike(t)&&m&&m!==t.body?(i&_.flags&788968&&318!==m.kind&&(S=!!(262144&_.flags)&&(m===t.type||163===m.kind||338===m.kind||339===m.kind||162===m.kind)),i&_.flags&3&&(ei(_,t,m)?S=!1:1&_.flags&&(S=163===m.kind||m===t.type&&!!e.findAncestor(_.valueDeclaration,e.isParameter)))):188===t.kind&&(S=m===t.trueType),S)break e;_=void 0}switch(b=b||ii(t,m),t.kind){case 303:if(!e.isExternalOrCommonJsModule(t))break;E=!0;case 260:var C=(null===(p=ra(t))||void 0===p?void 0:p.exports)||k;if(303===t.kind||e.isModuleDeclaration(t)&&8388608&t.flags&&!e.isGlobalScopeAugmentation(t)){if(_=C.get("default")){var T=e.getLocalSymbolForExportDefault(_);if(T&&_.flags&i&&T.escapedName===n)break e;_=void 0}var A=C.get(n);if(A&&2097152===A.flags&&(e.getDeclarationOfKind(A,274)||e.getDeclarationOfKind(A,273)))break}if("default"!==n&&(_=l(C,n,2623475&i))){if(!e.isSourceFile(t)||!t.commonJsModuleIndicator||null!==(d=_.declarations)&&void 0!==d&&d.some(e.isJSDocTypeAlias))break e;_=void 0}break;case 259:if(_=l((null===(f=ra(t))||void 0===f?void 0:f.exports)||k,n,8&i))break e;break;case 166:if(!e.isStatic(t)){var P=la(t.parent);P&&P.locals&&l(P.locals,n,111551&i)&&(h=t)}break;case 256:case 225:case 257:if(_=l(ra(t).members||k,n,788968&i)){if(!si(_,t)){_=void 0;break}if(m&&e.isStatic(m))return void In(x,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);break e}if(225===t.kind&&32&i){var F=t.name;if(F&&n===F.escapedText){_=t.symbol;break e}}break;case 227:if(m===t.expression&&94===t.parent.token){var w=t.parent.parent;if(e.isClassLike(w)&&(_=l(ra(w).members,n,788968&i)))return void(a&&In(x,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters))}break;case 161:if(v=t.parent.parent,(e.isClassLike(v)||257===v.kind)&&(_=l(ra(v).members,n,788968&i)))return void In(x,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);break;case 213:if(e.getEmitScriptTarget(N)>=2)break;case 168:case 170:case 171:case 172:case 255:if(3&i&&"arguments"===n){_=le;break e}break;case 212:if(3&i&&"arguments"===n){_=le;break e}if(16&i){var I=t.name;if(I&&n===I.escapedText){_=t.symbol;break e}}break;case 164:t.parent&&163===t.parent.kind&&(t=t.parent),t.parent&&(e.isClassElement(t.parent)||256===t.parent.kind)&&(t=t.parent);break;case 343:case 336:case 337:(j=e.getJSDocRoot(t))&&(t=j.parent);break;case 163:m&&(m===t.initializer||m===t.name&&e.isBindingPattern(m))&&(y||(y=t));break;case 202:m&&(m===t.initializer||m===t.name&&e.isBindingPattern(m))&&e.isParameterDeclaration(t)&&!y&&(y=t);break;case 189:if(262144&i){var O=t.typeParameter.name;if(O&&n===O.escapedText){_=t.typeParameter.symbol;break e}}}ai(t)&&(g=t),m=t,t=e.isJSDocTemplateTag(t)?e.getEffectiveContainerForJSDocTemplateTag(t)||t.parent:(e.isJSDocParameterTag(t)||e.isJSDocReturnTag(t))&&e.getHostSignatureFromJSDoc(t)||t.parent}if(s&&_&&(!g||_!==g.symbol)&&(_.isReferenced|=i),!_){if(m&&(e.Debug.assert(303===m.kind),m.commonJsModuleIndicator&&"exports"===n&&i&m.symbol.flags))return m.symbol;c||(_=l(oe,n,i))}if(!_&&D&&e.isInJSFile(D)&&D.parent&&e.isRequireCall(D.parent,!1))return pe;if(_){if(a&&r){if(h&&(99!==e.getEmitScriptTarget(N)||!z)){var L=h.name;return void In(x,e.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,e.declarationNameToString(L),oi(o))}if(x&&(2&i||(32&i||384&i)&&111551==(111551&i))){var M=ca(_);(2&M.flags||32&M.flags||384&M.flags)&&function(t,r){var n;if(e.Debug.assert(!!(2&t.flags||32&t.flags||384&t.flags)),!(67108881&t.flags&&32&t.flags)){var i=null===(n=t.declarations)||void 0===n?void 0:n.find((function(t){return e.isBlockOrCatchScoped(t)||e.isClassLike(t)||259===t.kind}));if(void 0===i)return e.Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(8388608&i.flags||Zn(i,r))){var a=void 0,o=e.declarationNameToString(e.getNameOfDeclaration(i));2&t.flags?a=In(r,e.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,o):32&t.flags?a=In(r,e.Diagnostics.Class_0_used_before_its_declaration,o):256&t.flags?a=In(r,e.Diagnostics.Enum_0_used_before_its_declaration,o):(e.Debug.assert(!!(128&t.flags)),e.shouldPreserveConstEnums(N)&&(a=In(r,e.Diagnostics.Enum_0_used_before_its_declaration,o))),a&&e.addRelatedInfo(a,e.createDiagnosticForNode(i,e.Diagnostics._0_is_declared_here,o))}}}(M,x)}if(_&&E&&111551==(111551&i)&&!(4194304&D.flags)){var R=ta(_);e.length(R.declarations)&&e.every(R.declarations,(function(t){return e.isNamespaceExportDeclaration(t)||e.isSourceFile(t)&&!!t.symbol.globalExports}))&&Ln(!N.allowUmdGlobalAccess,x,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,e.unescapeLeadingUnderscores(n))}if(_&&y&&!b&&111551==(111551&i)){var B=ta(qs(_)),j=e.getRootDeclaration(y);B===ra(y)?In(x,e.Diagnostics.Parameter_0_cannot_reference_itself,e.declarationNameToString(y.name)):B.valueDeclaration&&B.valueDeclaration.pos>y.pos&&j.parent.locals&&l(j.parent.locals,B.escapedName,i)===B&&In(x,e.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(y.name),e.declarationNameToString(x))}if(_&&x&&111551&i&&2097152&_.flags&&!(111551&_.flags)&&!e.isValidTypeOnlyAliasUseSite(x)){var K=Ii(_);if(K){q=274===K.kind?e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type;var J=e.unescapeLeadingUnderscores(n);ni(In(x,q,J),K,J)}}}return _}if(a&&r&&(!x||!function(t,r,n){if(!e.isIdentifier(t)||t.escapedText!==r||NS(t)||Vm(t))return!1;for(var i=e.getThisContainer(t,!1),a=i;a;){if(e.isClassLike(a.parent)){var o=ra(a.parent);if(!o)break;if(eu(Yo(o),r))return In(t,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,oi(n),Ma(o)),!0;if(a===i&&!e.isStatic(a)&&eu(Ss(o).thisType,r))return In(t,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,oi(n)),!0}a=a.parent}return!1}(x,n,o)&&!ci(x)&&!function(t,r,n){var i=1920|(e.isInJSFile(t)?111551:0);if(n===i){var a=Ni(ti(t,r,788968&~i,void 0,void 0,!1)),o=t.parent;if(a){if(e.isQualifiedName(o)){e.Debug.assert(o.left===t,"Should only be resolving left side of qualified name as a namespace");var s=o.right.escapedText;if(eu(Ss(a),s))return In(o,e.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,e.unescapeLeadingUnderscores(r),e.unescapeLeadingUnderscores(s)),!0}return In(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,e.unescapeLeadingUnderscores(r)),!0}}return!1}(x,n,i)&&!function(t,r){return!(!li(r)||274!==t.parent.kind||(In(t,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,r),0))}(x,n)&&!function(t,r,n){if(111551&n){if(li(r))return In(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,e.unescapeLeadingUnderscores(r)),!0;var i=Ni(ti(t,r,788544,void 0,void 0,!1));if(i&&!(1024&i.flags)){var a=e.unescapeLeadingUnderscores(r);return function(e){switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}(r)?In(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later,a):function(t,r){var n=e.findAncestor(t.parent,(function(t){return!e.isComputedPropertyName(t)&&!e.isPropertySignature(t)&&(e.isTypeLiteralNode(t)||"quit")}));if(n&&1===n.members.length){var i=Ss(r);return!!(1048576&i.flags)&&pb(i,384,!0)}return!1}(t,i)?In(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,a,"K"===a?"P":"K"):In(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,a),!0}}return!1}(x,n,i)&&!function(t,r,n){if(111127&n){if(Ni(ti(t,r,1024,void 0,void 0,!1)))return In(t,e.Diagnostics.Cannot_use_namespace_0_as_a_value,e.unescapeLeadingUnderscores(r)),!0}else if(788544&n&&Ni(ti(t,r,1536,void 0,void 0,!1)))return In(t,e.Diagnostics.Cannot_use_namespace_0_as_a_type,e.unescapeLeadingUnderscores(r)),!0;return!1}(x,n,i)&&!function(t,r,n){if(788584&n){var i=Ni(ti(t,r,111127,void 0,void 0,!1));if(i&&!(1920&i.flags))return In(t,e.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,e.unescapeLeadingUnderscores(r)),!0}return!1}(x,n,i))){var U=void 0;if(u&&Qr<10&&((null==(U=ov(D,n,i))?void 0:U.valueDeclaration)&&e.isAmbientModule(U.valueDeclaration)&&e.isGlobalScopeAugmentation(U.valueDeclaration)&&(U=void 0),U)){var q,V=Ma(U),W=Yy(D,U,!1),H=wn(x,q=1920===i||o&&"string"!=typeof o&&e.nodeIsSynthesized(o)?e.Diagnostics.Cannot_find_namespace_0_Did_you_mean_1:W?e.Diagnostics.Could_not_find_name_0_Did_you_mean_1:e.Diagnostics.Cannot_find_name_0_Did_you_mean_1,oi(o),V);On(!W,H),U.valueDeclaration&&e.addRelatedInfo(H,e.createDiagnosticForNode(U.valueDeclaration,e.Diagnostics._0_is_declared_here,V))}if(!U&&o){var G=function(t){for(var r=oi(t),n=e.getScriptTargetFeatures(),i=0,a=e.getOwnKeys(n);i<a.length;i++){var o=a[i],s=e.getOwnKeys(n[o]);if(void 0!==s&&e.contains(s,r))return o}}(o);G?In(x,a,oi(o),G):In(x,a,oi(o))}Qr++}}function ni(t,r,n){return r?e.addRelatedInfo(t,e.createDiagnosticForNode(r,274===r.kind?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,n)):t}function ii(t,r){return 213!==t.kind&&212!==t.kind?e.isTypeQueryNode(t)||(e.isFunctionLikeDeclaration(t)||166===t.kind&&!e.isStatic(t))&&(!r||r!==t.name):!(r&&r===t.name||!t.asteriskToken&&!e.hasSyntacticModifier(t,256)&&e.getImmediatelyInvokedFunctionExpression(t))}function ai(e){switch(e.kind){case 255:case 256:case 257:case 259:case 258:case 260:return!0;default:return!1}}function oi(t){return e.isString(t)?e.unescapeLeadingUnderscores(t):e.declarationNameToString(t)}function si(t,r){if(t.declarations)for(var n=0,i=t.declarations;n<i.length;n++){var a=i[n];if(162===a.kind&&(e.isJSDocTemplateTag(a.parent)?e.getJSDocHost(a.parent):a.parent)===r)return!(e.isJSDocTemplateTag(a.parent)&&e.find(a.parent.parent.tags,e.isJSDocTypeAlias))}return!1}function ci(t){var r=ui(t);return!(!r||!Bi(r,64,!0)||(In(t,e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements,e.getTextOfNode(r)),0))}function ui(t){switch(t.kind){case 79:case 205:return t.parent?ui(t.parent):void 0;case 227:if(e.isEntityNameExpression(t.expression))return t.expression;default:return}}function li(e){return"any"===e||"string"===e||"number"===e||"boolean"===e||"never"===e||"unknown"===e}function pi(t,r,n){return!!r&&!!e.findAncestor(t,(function(t){return t===r||!(t!==n&&(!e.isFunctionLike(t)||e.getImmediatelyInvokedFunctionExpression(t)))&&"quit"}))}function di(e){switch(e.kind){case 264:return e;case 266:return e.parent;case 267:return e.parent.parent;case 269:return e.parent.parent.parent;default:return}}function fi(t){return t.declarations&&e.findLast(t.declarations,_i)}function _i(t){return 264===t.kind||263===t.kind||266===t.kind&&!!t.name||267===t.kind||273===t.kind||269===t.kind||274===t.kind||270===t.kind&&e.exportAssignmentIsAlias(t)||e.isBinaryExpression(t)&&2===e.getAssignmentDeclarationKind(t)&&e.exportAssignmentIsAlias(t)||e.isAccessExpression(t)&&e.isBinaryExpression(t.parent)&&t.parent.left===t&&63===t.parent.operatorToken.kind&&mi(t.parent.right)||295===t.kind||294===t.kind&&mi(t.initializer)||e.isVariableDeclarationInitializedToBareOrAccessedRequire(t)}function mi(t){return e.isAliasableExpression(t)||e.isFunctionExpression(t)&&sD(t)}function gi(t,r){var n=Si(t);if(n){var i=e.getLeftmostAccessExpression(n.expression).arguments[0];return e.isIdentifier(n.name)?Ni(eu(Tu(i),n.name.escapedText)):void 0}if(e.isVariableDeclaration(t)||276===t.moduleReference.kind){var a=Ki(t,e.getExternalModuleRequireArgument(t)||e.getExternalModuleImportEqualsDeclarationExpression(t)),o=Vi(a);return Fi(t,a,o,!1),o}var s=Mi(t.moduleReference,r);return function(t,r){if(Fi(t,void 0,r,!1)&&!t.isTypeOnly){var n=Ii(ra(t)),i=274===n.kind,a=i?e.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:e.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,o=i?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,s=e.unescapeLeadingUnderscores(n.name.escapedText);e.addRelatedInfo(In(t.moduleReference,a),e.createDiagnosticForNode(n,o,s))}}(t,s),s}function hi(e,t,r,n){var i=e.exports.get("export="),a=i?eu(Yo(i),t):e.exports.get(t),o=Ni(a,n);return Fi(r,a,o,!1),o}function yi(t){return e.isExportAssignment(t)&&!t.isExportEquals||e.hasSyntacticModifier(t,512)||e.isExportSpecifier(t)}function vi(t){return e.isStringLiteralLike(t)?e.getModeForUsageLocation(e.getSourceFileOfNode(t),t):void 0}function Di(t){return vi(t)===e.ModuleKind.ESNext&&e.endsWith(t.text,".json")}function bi(t,r,n,i){var a=t&&vi(i);if(t&&void 0!==a){var o=function(t,r){return t===e.ModuleKind.ESNext&&r===e.ModuleKind.CommonJS}(a,t.impliedNodeFormat);if(a===e.ModuleKind.ESNext||o)return o}if(!W)return!1;if(!t||t.isDeclarationFile){var s=hi(r,"default",void 0,!0);return!(s&&e.some(s.declarations,yi)||hi(r,e.escapeLeadingUnderscores("__esModule"),void 0,n))}return e.isSourceFileJS(t)?!t.externalModuleIndicator&&!hi(r,e.escapeLeadingUnderscores("__esModule"),void 0,n):Hi(r)}function xi(t,r){var n,i=Ki(t,t.parent.moduleSpecifier);if(i){var a;a=e.isShorthandAmbientModuleSymbol(i)?i:hi(i,"default",t,r);var o=null===(n=i.declarations)||void 0===n?void 0:n.find(e.isSourceFile),s=Di(t.parent.moduleSpecifier),c=bi(o,i,r,t.parent.moduleSpecifier);if(a||c||s){if(c||s){var u=Vi(i,r)||Ni(i,r);return Fi(t,i,u,!1),u}}else if(Hi(i)){var l=V>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",p=i.exports.get("export=").valueDeclaration,d=In(t.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,Ma(i),l);p&&e.addRelatedInfo(d,e.createDiagnosticForNode(p,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,l))}else!function(t,r){var n,i,a;if(null!==(n=t.exports)&&void 0!==n&&n.has(r.symbol.escapedName))In(r.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Ma(t),Ma(r.symbol));else{var o=In(r.name,e.Diagnostics.Module_0_has_no_default_export,Ma(t)),s=null===(i=t.exports)||void 0===i?void 0:i.get("__export");if(s){var c=null===(a=s.declarations)||void 0===a?void 0:a.find((function(t){var r,n;return!!(e.isExportDeclaration(t)&&t.moduleSpecifier&&(null===(n=null===(r=Ki(t,t.moduleSpecifier))||void 0===r?void 0:r.exports)||void 0===n?void 0:n.has("default")))}));c&&e.addRelatedInfo(o,e.createDiagnosticForNode(c,e.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}(i,t);return Fi(t,a,void 0,!1),a}}function Ei(t,r,n){var i,o;void 0===n&&(n=!1);var s=e.getExternalModuleRequireArgument(t)||t.moduleSpecifier,c=Ki(t,s),u=!e.isPropertyAccessExpression(r)&&r.propertyName||r.name;if(e.isIdentifier(u)){var l=zi(c,s,!1,"default"===u.escapedText&&!(!N.allowSyntheticDefaultImports&&!e.getESModuleInterop(N)));if(l&&u.escapedText){if(e.isShorthandAmbientModuleSymbol(c))return c;var p=void 0;p=Ni(p=c&&c.exports&&c.exports.get("export=")?eu(Yo(l),u.escapedText,!0):function(e,t){if(3&e.flags){var r=e.valueDeclaration.type;if(r)return Ni(eu(kd(r),t))}}(l,u.escapedText),n);var d=function(e,t,r,n){if(1536&e.flags){var i=Xi(e).get(t.escapedText),a=Ni(i,n);return Fi(r,i,a,!1),a}}(l,u,r,n);if(void 0===d&&"default"===u.escapedText){var f=null===(i=c.declarations)||void 0===i?void 0:i.find(e.isSourceFile);(Di(s)||bi(f,c,n,s))&&(d=Vi(c,n)||Ni(c,n))}var _=d&&p&&d!==p?function(t,r){if(t===Ae&&r===Ae)return Ae;if(790504&t.flags)return t;var n=Kn(t.flags|r.flags,t.escapedName);return n.declarations=e.deduplicate(e.concatenate(t.declarations,r.declarations),e.equateValues),n.parent=t.parent||r.parent,t.valueDeclaration&&(n.valueDeclaration=t.valueDeclaration),r.members&&(n.members=new e.Map(r.members)),t.exports&&(n.exports=new e.Map(t.exports)),n}(p,d):d||p;if(!_){var m=Ri(c,t),g=e.declarationNameToString(u),h=sv(u,l);if(void 0!==h){var y=Ma(h),v=In(u,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,m,g,y);h.valueDeclaration&&e.addRelatedInfo(v,e.createDiagnosticForNode(h.valueDeclaration,e.Diagnostics._0_is_declared_here,y))}else null!==(o=c.exports)&&void 0!==o&&o.has("default")?In(u,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,m,g):function(t,r,n,i,o){var s,c,u=null===(c=null===(s=i.valueDeclaration)||void 0===s?void 0:s.locals)||void 0===c?void 0:c.get(r.escapedText),l=i.exports;if(u){var p=null==l?void 0:l.get("export=");if(p)sa(p,u)?function(t,r,n,i){V>=e.ModuleKind.ES2015?In(r,e.getESModuleInterop(N)?e.Diagnostics._0_can_only_be_imported_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,n):e.isInJSFile(t)?In(r,e.getESModuleInterop(N)?e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,n):In(r,e.getESModuleInterop(N)?e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,n,n,i)}(t,r,n,o):In(r,e.Diagnostics.Module_0_has_no_exported_member_1,o,n);else{var d=l?e.find(_u(l),(function(e){return!!sa(e,u)})):void 0,f=d?In(r,e.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,o,n,Ma(d)):In(r,e.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,o,n);u.declarations&&e.addRelatedInfo.apply(void 0,a([f],e.map(u.declarations,(function(t,r){return e.createDiagnosticForNode(t,0===r?e.Diagnostics._0_is_declared_here:e.Diagnostics.and_here,n)})),!1))}}else In(r,e.Diagnostics.Module_0_has_no_exported_member_1,o,n)}(t,u,g,c,m)}return _}}}function Si(t){if(e.isVariableDeclaration(t)&&t.initializer&&e.isPropertyAccessExpression(t.initializer))return t.initializer}function Ci(e,t,r){var n=e.parent.parent.moduleSpecifier?Ei(e.parent.parent,e,r):Bi(e.propertyName||e.name,t,!1,r);return Fi(e,void 0,n,!1),n}function Ti(t,r){return e.isClassExpression(t)?Sb(t).symbol:e.isEntityName(t)||e.isEntityNameExpression(t)?Bi(t,901119,!0,r)||(Sb(t),Yn(t).resolvedSymbol):void 0}function ki(t,r){switch(void 0===r&&(r=!1),t.kind){case 264:case 253:return gi(t,r);case 266:return xi(t,r);case 267:return function(e,t){var r=e.parent.parent.moduleSpecifier,n=Ki(e,r),i=zi(n,r,t,!1);return Fi(e,n,i,!1),i}(t,r);case 273:return function(e,t){var r=e.parent.moduleSpecifier,n=r&&Ki(e,r),i=r&&zi(n,r,t,!1);return Fi(e,n,i,!1),i}(t,r);case 269:case 202:return function(t,r){var n=e.isBindingElement(t)?e.getRootDeclaration(t):t.parent.parent.parent,i=Si(n),a=Ei(n,i||t,r),o=t.propertyName||t.name;return i&&a&&e.isIdentifier(o)?Ni(eu(Yo(a),o.escapedText),r):(Fi(t,void 0,a,!1),a)}(t,r);case 274:return Ci(t,901119,r);case 270:case 220:return function(t,r){var n=Ti(e.isExportAssignment(t)?t.expression:t.right,r);return Fi(t,void 0,n,!1),n}(t,r);case 263:return function(e,t){var r=Vi(e.parent.symbol,t);return Fi(e,void 0,r,!1),r}(t,r);case 295:return Bi(t.name,901119,!0,r);case 294:return function(e,t){return Ti(e.initializer,t)}(t,r);case 206:case 205:return function(t,r){if(e.isBinaryExpression(t.parent)&&t.parent.left===t&&63===t.parent.operatorToken.kind)return Ti(t.parent.right,r)}(t,r);default:return e.Debug.fail()}}function Ai(e,t){return void 0===t&&(t=901119),!(!e||2097152!=(e.flags&(2097152|t))&&!(2097152&e.flags&&67108864&e.flags))}function Ni(e,t){return!t&&Ai(e)?Pi(e):e}function Pi(t){e.Debug.assert(0!=(2097152&t.flags),"Should only get Alias here.");var r=$n(t);if(r.target)r.target===Ne&&(r.target=Ae);else{r.target=Ne;var n=fi(t);if(!n)return e.Debug.fail();var i=ki(n);r.target===Ne?r.target=i||Ae:In(n,e.Diagnostics.Circular_definition_of_import_alias_0,Ma(t))}return r.target}function Fi(t,r,n,i){if(!t||e.isPropertyAccessExpression(t))return!1;var a=ra(t);if(e.isTypeOnlyImportOrExportDeclaration(t))return $n(a).typeOnlyDeclaration=t,!0;var o=$n(a);return wi(o,r,i)||wi(o,n,i)}function wi(t,r,n){var i,a,o;if(r&&(void 0===t.typeOnlyDeclaration||n&&!1===t.typeOnlyDeclaration)){var s=null!==(a=null===(i=r.exports)||void 0===i?void 0:i.get("export="))&&void 0!==a?a:r,c=s.declarations&&e.find(s.declarations,e.isTypeOnlyImportOrExportDeclaration);t.typeOnlyDeclaration=null!==(o=null!=c?c:$n(s).typeOnlyDeclaration)&&void 0!==o&&o}return!!t.typeOnlyDeclaration}function Ii(e){if(2097152&e.flags)return $n(e).typeOnlyDeclaration||void 0}function Oi(e){var t=ra(e),r=Pi(t);r&&(r===Ae||111551&r.flags&&!ZS(r)&&!Ii(t))&&Li(t)}function Li(t){var r=$n(t);if(!r.referenced){r.referenced=!0;var n=fi(t);if(!n)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(n)){var i=Ni(t);(i===Ae||111551&i.flags)&&Sb(n.moduleReference)}}}function Mi(t,r){return 79===t.kind&&e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),79===t.kind||160===t.parent.kind?Bi(t,1920,!1,r):(e.Debug.assert(264===t.parent.kind),Bi(t,901119,!1,r))}function Ri(e,t){return e.parent?Ri(e.parent,t)+"."+Ma(e):Ma(e,t,void 0,20)}function Bi(t,r,n,i,a){if(!e.nodeIsMissing(t)){var o,s=1920|(e.isInJSFile(t)?111551&r:0);if(79===t.kind){var c=r===s||e.nodeIsSynthesized(t)?e.Diagnostics.Cannot_find_namespace_0:Um(e.getFirstIdentifier(t)),u=e.isInJSFile(t)&&!e.nodeIsSynthesized(t)?function(t,r){if(ml(t.parent)){var n=function(t){if(!e.findAncestor(t,(function(t){return e.isJSDocNode(t)||4194304&t.flags?e.isJSDocTypeAlias(t):"quit"}))){var r=e.getJSDocHost(t);if(r&&e.isExpressionStatement(r)&&e.isPrototypePropertyAssignment(r.expression)&&(n=ra(r.expression.left)))return ji(n);if(r&&e.isFunctionExpression(r)&&e.isPrototypePropertyAssignment(r.parent)&&e.isExpressionStatement(r.parent.parent)&&(n=ra(r.parent.left)))return ji(n);if(r&&(e.isObjectLiteralMethod(r)||e.isPropertyAssignment(r))&&e.isBinaryExpression(r.parent.parent)&&6===e.getAssignmentDeclarationKind(r.parent.parent)&&(n=ra(r.parent.parent.left)))return ji(n);var n,i=e.getEffectiveJSDocHost(t);if(i&&e.isFunctionLike(i))return(n=ra(i))&&n.valueDeclaration}}(t.parent);if(n)return ti(n,t.escapedText,r,void 0,t,!0)}}(t,r):void 0;if(!(o=ta(ti(a||t,t.escapedText,r,n||u?void 0:c,t,!0,!1))))return ta(u)}else{if(160!==t.kind&&205!==t.kind)throw e.Debug.assertNever(t,"Unknown entity name kind.");var l=160===t.kind?t.left:t.expression,p=160===t.kind?t.right:t.name,d=Bi(l,s,n,!1,a);if(!d||e.nodeIsMissing(p))return;if(d===Ae)return d;if(d.valueDeclaration&&e.isInJSFile(d.valueDeclaration)&&e.isVariableDeclaration(d.valueDeclaration)&&d.valueDeclaration.initializer&&hD(d.valueDeclaration.initializer)){var f=d.valueDeclaration.initializer.arguments[0],_=Ki(f,f);if(_){var m=Vi(_);m&&(d=m)}}if(!(o=ta(Qn(Xi(d),p.escapedText,r)))){if(!n){var g=Ri(d),h=e.declarationNameToString(p),y=sv(p,d);if(y)return void In(p,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,g,h,Ma(y));var v=e.isQualifiedName(t)&&function(t){for(;e.isQualifiedName(t.parent);)t=t.parent;return t}(t);if(Ft&&788968&r&&v&&!e.isTypeOfExpression(v.parent)&&function(t){var r=e.getFirstIdentifier(t),n=ti(r,r.escapedText,111551,void 0,r,!0);if(n){for(;e.isQualifiedName(r.parent);){if(!(n=eu(Yo(n),r.parent.right.escapedText)))return;r=r.parent}return n}}(v))return void In(v,e.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,e.entityNameToString(v));if(1920&r&&e.isQualifiedName(t.parent)){var D=ta(Qn(Xi(d),p.escapedText,788968));if(D)return void In(t.parent.right,e.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,Ma(D),e.unescapeLeadingUnderscores(t.parent.right.escapedText))}In(p,e.Diagnostics.Namespace_0_has_no_exported_member_1,g,h)}return}}return e.Debug.assert(0==(1&e.getCheckFlags(o)),"Should never get an instantiated symbol here."),!e.nodeIsSynthesized(t)&&e.isEntityName(t)&&(2097152&o.flags||270===t.parent.kind)&&Fi(e.getAliasDeclarationFromName(t),o,void 0,!0),o.flags&r||i?o:Pi(o)}}function ji(t){var r=t.parent.valueDeclaration;if(r)return(e.isAssignmentDeclaration(r)?e.getAssignedExpandoInitializer(r):e.hasOnlyExpressionInitializer(r)?e.getDeclaredExpandoInitializer(r):void 0)||r}function Ki(t,r,n){var i=e.getEmitModuleResolutionKind(N)===e.ModuleResolutionKind.Classic?e.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;return Ji(t,r,n?void 0:i)}function Ji(t,r,n,i){return void 0===i&&(i=!1),e.isStringLiteralLike(r)?Ui(t,r.text,n,r,i):void 0}function Ui(r,n,i,a,o){var s,c,u,l,p,d,f;void 0===o&&(o=!1),e.startsWith(n,"@types/")&&In(a,k=e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,e.removePrefix(n,"@types/"),n);var _=gu(n,!0);if(_)return _;var m=e.getSourceFileOfNode(r),g=e.isStringLiteralLike(r)?r:(null===(s=e.findAncestor(r,e.isImportCall))||void 0===s?void 0:s.arguments[0])||(null===(c=e.findAncestor(r,e.isImportDeclaration))||void 0===c?void 0:c.moduleSpecifier)||(null===(u=e.findAncestor(r,e.isExternalModuleImportEqualsDeclaration))||void 0===u?void 0:u.moduleReference.expression)||(null===(l=e.findAncestor(r,e.isExportDeclaration))||void 0===l?void 0:l.moduleSpecifier)||(null===(p=e.isModuleDeclaration(r)?r:r.parent&&e.isModuleDeclaration(r.parent)&&r.parent.name===r?r.parent:void 0)||void 0===p?void 0:p.name)||(null===(d=e.isLiteralImportTypeNode(r)?r:void 0)||void 0===d?void 0:d.argument.literal),h=g&&e.isStringLiteralLike(g)?e.getModeForUsageLocation(m,g):m.impliedNodeFormat,y=e.getResolvedModule(m,n,h),v=y&&e.getResolutionDiagnostic(N,y),D=y&&(!v||v===e.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&t.getSourceFile(y.resolvedFileName);if(D){if(v&&In(a,v,n,y.resolvedFileName),D.symbol)return y.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(y.extension)&&qi(!1,a,y,n),(e.getEmitModuleResolutionKind(N)===e.ModuleResolutionKind.Node12||e.getEmitModuleResolutionKind(N)===e.ModuleResolutionKind.NodeNext)&&((m.impliedNodeFormat===e.ModuleKind.CommonJS&&!e.findAncestor(r,e.isImportCall)||!!e.findAncestor(r,e.isImportEqualsDeclaration))&&D.impliedNodeFormat===e.ModuleKind.ESNext&&In(a,e.Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_synchronously_Use_dynamic_import_instead,n),h===e.ModuleKind.ESNext&&N.resolveJsonModule&&".json"===y.extension&&In(a,e.Diagnostics.JSON_imports_are_experimental_in_ES_module_mode_imports)),ta(D.symbol);i&&In(a,e.Diagnostics.File_0_is_not_a_module,D.fileName)}else{if(Nt){var b=e.findBestPatternMatch(Nt,(function(e){return e.pattern}),n);if(b)return ta(Pt&&Pt.get(n)||b.symbol)}if(y&&!e.resolutionExtensionIsTSOrJson(y.extension)&&void 0===v||v===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type)o?In(a,k=e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,n,y.resolvedFileName):qi(X&&!!i,a,y,n);else if(i){if(y){var x=t.getProjectReferenceRedirect(y.resolvedFileName);if(x)return void In(a,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,x,y.resolvedFileName)}if(v)In(a,v,n,y.resolvedFileName);else{var E=e.tryExtractTSExtension(n),S=e.pathIsRelative(n)&&!e.hasExtension(n),C=e.getEmitModuleResolutionKind(N),T=C===e.ModuleResolutionKind.Node12||C===e.ModuleResolutionKind.NodeNext;if(E){var k=e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,A=e.removeExtension(n,E);V>=e.ModuleKind.ES2015&&(A+=".mts"===E?".mjs":".cts"===E?".cjs":".js"),In(a,k,E,A)}else if(!N.resolveJsonModule&&e.fileExtensionIs(n,".json")&&e.getEmitModuleResolutionKind(N)!==e.ModuleResolutionKind.Classic&&e.hasJsonModuleEmitEnabled(N))In(a,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,n);else if(h===e.ModuleKind.ESNext&&T&&S){var P=e.getNormalizedAbsolutePath(n,e.getDirectoryPath(m.path)),F=null===(f=kn.find((function(e){var r=e[0];return e[1],t.fileExists(P+r)})))||void 0===f?void 0:f[1];F?In(a,e.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Did_you_mean_0,n+F):In(a,e.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Consider_adding_an_extension_to_the_import_path)}else In(a,i,n)}}}}function qi(t,r,n,i){var a=n.packageId,o=n.resolvedFileName,s=!e.isExternalModuleNameRelative(i)&&a?function(t){return d().has(e.getTypesPackageName(t))}(a.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,a.name,e.mangleScopedPackageName(a.name)):function(e){return!!d().get(e)}(a.name)?e.chainDiagnosticMessages(void 0,e.Diagnostics.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,a.name,i):e.chainDiagnosticMessages(void 0,e.Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,i,e.mangleScopedPackageName(a.name)):void 0;Ln(t,r,e.chainDiagnosticMessages(s,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,i,o))}function Vi(t,r){if(null!=t&&t.exports){var n=function(t,r){if(!t||t===Ae||t===r||1===r.exports.size||2097152&t.flags)return t;var n=$n(t);if(n.cjsExportMerged)return n.cjsExportMerged;var i=33554432&t.flags?t:qn(t);return i.flags=512|i.flags,void 0===i.exports&&(i.exports=e.createSymbolTable()),r.exports.forEach((function(e,t){"export="!==t&&i.exports.set(t,i.exports.has(t)?Vn(i.exports.get(t),e):e)})),$n(i).cjsExportMerged=i,n.cjsExportMerged=i}(ta(Ni(t.exports.get("export="),r)),ta(t));return ta(n)||t}}function zi(t,r,n,i){var a=Vi(t,n);if(!n&&a){if(!(i||1539&a.flags||e.getDeclarationOfKind(a,303))){var o=V>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return In(r,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,o),a}var s=r.parent;if(e.isImportDeclaration(s)&&e.getNamespaceDeclarationNode(s)||e.isImportCall(s)){var c=e.isImportCall(s)?s.arguments[0]:s.moduleSpecifier,u=Yo(a),l=mD(u,a,t,c);if(l)return Wi(a,l,s);if(e.getESModuleInterop(N)){var p=tu(u,0);if((!p||!p.length)&&(p=tu(u,1)),p&&p.length||eu(u,"default",!0))return Wi(a,gD(u,a,t,c),s)}}}return a}function Wi(t,r,n){var i=Kn(t.flags,t.escapedName);i.declarations=t.declarations?t.declarations.slice():[],i.parent=t.parent,i.target=t,i.originatingImport=n,t.valueDeclaration&&(i.valueDeclaration=t.valueDeclaration),t.constEnumOnlyModule&&(i.constEnumOnlyModule=!0),t.members&&(i.members=new e.Map(t.members)),t.exports&&(i.exports=new e.Map(t.exports));var a=Sc(r);return i.type=Da(i,a.members,e.emptyArray,e.emptyArray,a.indexInfos),i}function Hi(e){return void 0!==e.exports.get("export=")}function Gi(e){return _u(Qi(e))}function $i(e,t){var r=Qi(t);if(r)return r.get(e)}function Yi(t){return!(131068&t.flags||1&e.getObjectFlags(t)||c_(t)||k_(t))}function Xi(e){return 6256&e.flags?Js(e,"resolvedExports"):1536&e.flags?Qi(e):e.exports||k}function Qi(e){var t=$n(e);return t.resolvedExports||(t.resolvedExports=ea(e))}function Zi(t,r,n,i){!r||r.forEach((function(r,a){if("default"!==a){var o=t.get(a);if(o){if(n&&i&&o&&Ni(o)!==Ni(r)){var s=n.get(a);s.exportsWithDuplicate?s.exportsWithDuplicate.push(i):s.exportsWithDuplicate=[i]}}else t.set(a,r),n&&i&&n.set(a,{specifierText:e.getTextOfNode(i.moduleSpecifier)})}}))}function ea(t){var r=[];return function t(n){if(n&&n.exports&&e.pushIfUnique(r,n)){var i=new e.Map(n.exports),a=n.exports.get("__export");if(a){var o=e.createSymbolTable(),s=new e.Map;if(a.declarations)for(var c=0,u=a.declarations;c<u.length;c++){var l=u[c];Zi(o,t(Ki(l,l.moduleSpecifier)),s,l)}s.forEach((function(t,r){var n=t.exportsWithDuplicate;if("export="!==r&&n&&n.length&&!i.has(r))for(var a=0,o=n;a<o.length;a++){var c=o[a];gn.add(e.createDiagnosticForNode(c,e.Diagnostics.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,s.get(r).specifierText,e.unescapeLeadingUnderscores(r)))}})),Zi(i,o)}return i}}(t=Vi(t))||k}function ta(e){var t;return e&&e.mergeId&&(t=Zr[e.mergeId])?t:e}function ra(e){return ta(e.symbol&&qs(e.symbol))}function na(e){return ta(e.parent&&qs(e.parent))}function ia(r,n,i){var o=na(r);if(o&&!(262144&r.flags)){var s=e.mapDefined(o.declarations,(function(e){return o&&aa(e,o)})),c=n&&function(r,n){var i,a=e.getSourceFileOfNode(n),o=L(a),s=$n(r);if(s.extendedContainersByFile&&(i=s.extendedContainersByFile.get(o)))return i;if(a&&a.imports){for(var c=0,u=a.imports;c<u.length;c++){var l=u[c];if(!e.nodeIsSynthesized(l)){var p=Ki(n,l,!0);p&&(!oa(p,r)||(i=e.append(i,p)))}}if(e.length(i))return(s.extendedContainersByFile||(s.extendedContainersByFile=new e.Map)).set(o,i),i}if(s.extendedContainers)return s.extendedContainers;for(var d=0,f=t.getSourceFiles();d<f.length;d++){var _=f[d];if(e.isExternalModule(_)){var m=ra(_);!oa(m,r)||(i=e.append(i,m))}}return s.extendedContainers=i||e.emptyArray}(r,n),u=function(t,r){var n=!!e.length(t.declarations)&&e.first(t.declarations);if(111551&r&&n&&n.parent&&e.isVariableDeclaration(n.parent)&&(e.isObjectLiteralExpression(n)&&n===n.parent.initializer||e.isTypeLiteralNode(n)&&n===n.parent.type))return ra(n.parent)}(o,i);if(n&&o.flags&xa(i)&&Ea(o,n,1920,!1))return e.append(e.concatenate(e.concatenate([o],s),c),u);var l=!(o.flags&xa(i))&&788968&o.flags&&524288&Ss(o).flags&&111551===i?ba(n,(function(t){return e.forEachEntry(t,(function(e){if(e.flags&xa(i)&&Yo(e)===Ss(o))return e}))})):void 0,p=a(a(l?[l]:[],s,!0),[o],!1);return p=e.append(p,u),e.addRange(p,c)}var d=e.mapDefined(r.declarations,(function(t){return!e.isAmbientModule(t)&&t.parent&&Ia(t.parent)?ra(t.parent):e.isClassExpression(t)&&e.isBinaryExpression(t.parent)&&63===t.parent.operatorToken.kind&&e.isAccessExpression(t.parent.left)&&e.isEntityNameExpression(t.parent.left.expression)?e.isModuleExportsAccessExpression(t.parent.left)||e.isExportsIdentifier(t.parent.left.expression)?ra(e.getSourceFileOfNode(t)):(Sb(t.parent.left.expression),Yn(t.parent.left.expression).resolvedSymbol):void 0}));if(e.length(d))return e.mapDefined(d,(function(e){return oa(e,r)?e:void 0}))}function aa(e,t){var r=Fa(e),n=r&&r.exports&&r.exports.get("export=");return n&&sa(n,t)?r:void 0}function oa(t,r){if(t===na(r))return r;var n=t.exports&&t.exports.get("export=");if(n&&sa(n,r))return t;var i=Xi(t),a=i.get(r.escapedName);return a&&sa(a,r)?a:e.forEachEntry(i,(function(e){if(sa(e,r))return e}))}function sa(e,t){if(ta(Ni(ta(e)))===ta(Ni(ta(t))))return e}function ca(e){return ta(e&&0!=(1048576&e.flags)?e.exportSymbol:e)}function ua(e){return!!(111551&e.flags||2097152&e.flags&&111551&Pi(e).flags&&!Ii(e))}function la(t){for(var r=0,n=t.members;r<n.length;r++){var i=n[r];if(170===i.kind&&e.nodeIsPresent(i.body))return i}}function pa(t){var n=new g(de,t);return y++,n.id=y,r&&(null===e.tracing||void 0===e.tracing||e.tracing.recordType(n)),n}function da(e){return new g(de,e)}function fa(e,t,r){void 0===r&&(r=0);var n=pa(e);return n.intrinsicName=t,n.objectFlags=r,n}function _a(e,t){var r=pa(524288);return r.objectFlags=e,r.symbol=t,r.members=void 0,r.properties=void 0,r.callSignatures=void 0,r.constructSignatures=void 0,r.indexInfos=void 0,r}function ma(e){var t=pa(262144);return e&&(t.symbol=e),t}function ga(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95!==e.charCodeAt(2)&&64!==e.charCodeAt(2)&&35!==e.charCodeAt(2)}function ha(t){var r;return t.forEach((function(e,t){ya(e,t)&&(r||(r=[])).push(e)})),r||e.emptyArray}function ya(e,t){return!ga(t)&&ua(e)}function va(t,r,n,i,a){var o=t;return o.members=r,o.properties=e.emptyArray,o.callSignatures=n,o.constructSignatures=i,o.indexInfos=a,r!==k&&(o.properties=ha(r)),o}function Da(e,t,r,n,i){return va(_a(16,e),t,r,n,i)}function ba(t,r){for(var n,i=function(t){if(t.locals&&!Xn(t)&&(n=r(t.locals,void 0,!0,t)))return{value:n};switch(t.kind){case 303:if(!e.isExternalOrCommonJsModule(t))break;case 260:var i=ra(t);if(n=r((null==i?void 0:i.exports)||k,void 0,!0,t))return{value:n};break;case 256:case 225:case 257:var a;if((ra(t).members||k).forEach((function(t,r){788968&t.flags&&(a||(a=e.createSymbolTable())).set(r,t)})),a&&(n=r(a,void 0,!1,t)))return{value:n}}},a=t;a;a=a.parent){var o=i(a);if("object"==typeof o)return o.value}return r(oe,void 0,!0)}function xa(e){return 111551===e?111551:1920}function Ea(t,r,n,i,a){if(void 0===a&&(a=new e.Map),t&&!function(e){if(e.declarations&&e.declarations.length){for(var t=0,r=e.declarations;t<r.length;t++)switch(r[t].kind){case 166:case 168:case 171:case 172:continue;default:return!1}return!0}return!1}(t)){var o=$n(t),s=o.accessibleChainCache||(o.accessibleChainCache=new e.Map),c=ba(r,(function(e,t,r,n){return n})),u="".concat(i?0:1,"|").concat(c&&L(c),"|").concat(n);if(s.has(u))return s.get(u);var l=M(t),p=a.get(l);p||a.set(l,p=[]);var d=ba(r,f);return s.set(u,d),d}function f(n,a,o){if(e.pushIfUnique(p,n)){var s=function(n,a,o){return m(n.get(t.escapedName),void 0,a)?[t]:e.forEachEntry(n,(function(n){if(2097152&n.flags&&"export="!==n.escapedName&&"default"!==n.escapedName&&!(e.isUMDExportSymbol(n)&&r&&e.isExternalModule(e.getSourceFileOfNode(r)))&&(!i||e.some(n.declarations,e.isExternalModuleImportEqualsDeclaration))&&(!o||!e.some(n.declarations,e.isNamespaceReexportDeclaration))&&(a||!e.getDeclarationOfKind(n,274))){var s=g(n,Pi(n),a);if(s)return s}if(n.escapedName===t.escapedName&&n.exportSymbol&&m(ta(n.exportSymbol),void 0,a))return[t]}))||(n===oe?g(ce,ce,a):void 0)}(n,a,o);return p.pop(),s}}function _(e,t){return!Sa(e,r,t)||!!Ea(e.parent,r,xa(t),i,a)}function m(r,i,a){return(t===(i||r)||ta(t)===ta(i||r))&&!e.some(r.declarations,Ia)&&(a||_(ta(r),n))}function g(e,t,r){if(m(e,t,r))return[e];var i=Xi(t),a=i&&f(i,!0);return a&&_(e,xa(n))?[e].concat(a):void 0}}function Sa(t,r,n){var i=!1;return ba(r,(function(r){var a=ta(r.get(t.escapedName));return!!a&&(a===t||!!((a=2097152&a.flags&&!e.getDeclarationOfKind(a,274)?Pi(a):a).flags&n)&&(i=!0,!0))})),i}function Ca(e,t){return 0===Pa(e,t,788968,!1,!0).accessibility}function Ta(e,t){return 0===Pa(e,t,111551,!1,!0).accessibility}function ka(e,t,r){return 0===Pa(e,t,r,!1,!1).accessibility}function Aa(t,r,n,i,a,o){if(e.length(t)){for(var s,c=!1,u=0,l=t;u<l.length;u++){var p=l[u],d=Ea(p,r,i,!1);if(d){s=p;var f=Oa(d[0],a);if(f)return f}if(o&&e.some(p.declarations,Ia)){if(a){c=!0;continue}return{accessibility:0}}var _=Aa(ia(p,r,i),r,n,n===p?xa(i):i,a,o);if(_)return _}if(c)return{accessibility:0};if(s)return{accessibility:1,errorSymbolName:Ma(n,r,i),errorModuleName:s!==n?Ma(s,r,1920):void 0}}}function Na(e,t,r,n){return Pa(e,t,r,n,!0)}function Pa(t,r,n,i,a){if(t&&r){var o=Aa([t],r,t,n,i,a);if(o)return o;var s=e.forEach(t.declarations,Fa);return s&&s!==Fa(r)?{accessibility:2,errorSymbolName:Ma(t,r,n),errorModuleName:Ma(s),errorNode:e.isInJSFile(r)?r:void 0}:{accessibility:1,errorSymbolName:Ma(t,r,n)}}return{accessibility:0}}function Fa(t){var r=e.findAncestor(t,wa);return r&&ra(r)}function wa(t){return e.isAmbientModule(t)||303===t.kind&&e.isExternalOrCommonJsModule(t)}function Ia(t){return e.isModuleWithStringLiteralName(t)||303===t.kind&&e.isExternalOrCommonJsModule(t)}function Oa(t,r){var n;if(e.every(e.filter(t.declarations,(function(e){return 79!==e.kind})),(function(r){var n,a;if(!Ya(r)){var o=di(r);return o&&!e.hasSyntacticModifier(o,1)&&Ya(o.parent)?i(r,o):e.isVariableDeclaration(r)&&e.isVariableStatement(r.parent.parent)&&!e.hasSyntacticModifier(r.parent.parent,1)&&Ya(r.parent.parent.parent)?i(r,r.parent.parent):e.isLateVisibilityPaintedStatement(r)&&!e.hasSyntacticModifier(r,1)&&Ya(r.parent)?i(r,r):!!(2097152&t.flags&&e.isBindingElement(r)&&e.isInJSFile(r)&&(null===(n=r.parent)||void 0===n?void 0:n.parent)&&e.isVariableDeclaration(r.parent.parent)&&(null===(a=r.parent.parent.parent)||void 0===a?void 0:a.parent)&&e.isVariableStatement(r.parent.parent.parent.parent)&&!e.hasSyntacticModifier(r.parent.parent.parent.parent,1)&&r.parent.parent.parent.parent.parent&&Ya(r.parent.parent.parent.parent.parent))&&i(r,r.parent.parent.parent.parent)}return!0})))return{accessibility:0,aliasesToMakeVisible:n};function i(t,i){return r&&(Yn(t).isVisible=!0,n=e.appendIfUnique(n,i)),!0}}function La(t,r){var n;n=180===t.parent.kind||e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)||161===t.parent.kind?1160127:160===t.kind||205===t.kind||264===t.parent.kind?1920:788968;var i=e.getFirstIdentifier(t),a=ti(r,i.escapedText,n,void 0,void 0,!1);return a&&262144&a.flags&&788968&n?{accessibility:0}:a&&Oa(a,!0)||{accessibility:1,errorSymbolName:e.getTextOfNode(i),errorNode:i}}function Ma(t,r,n,i,a){void 0===i&&(i=4);var o=70221824;2&i&&(o|=128),1&i&&(o|=512),8&i&&(o|=16384),16&i&&(o|=134217728);var s=4&i?ae.symbolToExpression:ae.symbolToEntityName;return a?c(a).getText():e.usingSingleLineStringWriter(c);function c(i){var a=s(t,n,r,o),c=303===(null==r?void 0:r.kind)?e.createPrinter({removeComments:!0,neverAsciiEscape:!0}):e.createPrinter({removeComments:!0}),u=r&&e.getSourceFileOfNode(r);return c.writeNode(4,a,u,i),i}}function Ra(t,r,n,i,a){return void 0===n&&(n=0),a?o(a).getText():e.usingSingleLineStringWriter(o);function o(a){var o;o=262144&n?1===i?179:178:1===i?174:173;var s=ae.signatureToSignatureDeclaration(t,o,r,70222336|Ua(n)),c=e.createPrinter({removeComments:!0,omitTrailingSemicolon:!0}),u=r&&e.getSourceFileOfNode(r);return c.writeNode(4,s,u,e.getTrailingSemicolonDeferringWriter(a)),a}}function Ba(t,r,n,i){void 0===n&&(n=1064960),void 0===i&&(i=e.createTextWriter(""));var a=N.noErrorTruncation||1&n,o=ae.typeToTypeNode(t,r,70221824|Ua(n)|(a?1:0),i);if(void 0===o)return e.Debug.fail("should always get typenode");var s={removeComments:t!==Me},c=e.createPrinter(s),u=r&&e.getSourceFileOfNode(r);c.writeNode(4,o,u,i);var l=i.getText(),p=a?2*e.noTruncationMaximumTruncationLength:2*e.defaultMaximumTruncationLength;return p&&l&&l.length>=p?l.substr(0,p-3)+"...":l}function ja(e,t){var r=Ja(e.symbol)?Ba(e,e.symbol.valueDeclaration):Ba(e),n=Ja(t.symbol)?Ba(t,t.symbol.valueDeclaration):Ba(t);return r===n&&(r=Ka(e),n=Ka(t)),[r,n]}function Ka(e){return Ba(e,void 0,64)}function Ja(t){return t&&!!t.valueDeclaration&&e.isExpression(t.valueDeclaration)&&!nf(t.valueDeclaration)}function Ua(e){return void 0===e&&(e=0),814775659&e}function qa(t){return!!(t.symbol&&32&t.symbol.flags&&(t===ms(t.symbol)||524288&t.flags&&16777216&e.getObjectFlags(t)))}function Va(t,r,n,i){return void 0===n&&(n=16384),i?a(i).getText():e.usingSingleLineStringWriter(a);function a(i){var a=e.factory.createTypePredicateNode(2===t.kind||3===t.kind?e.factory.createToken(128):void 0,1===t.kind||3===t.kind?e.factory.createIdentifier(t.parameterName):e.factory.createThisTypeNode(),t.type&&ae.typeToTypeNode(t.type,r,70222336|Ua(n))),o=e.createPrinter({removeComments:!0}),s=r&&e.getSourceFileOfNode(r);return o.writeNode(4,a,s,i),i}}function za(e){return 8===e?"private":16===e?"protected":"public"}function Wa(t){return t&&t.parent&&261===t.parent.kind&&e.isExternalModuleAugmentation(t.parent.parent)}function Ha(t){return 303===t.kind||e.isAmbientModule(t)}function Ga(t,r){var n=$n(t).nameType;if(n){if(384&n.flags){var i=""+n.value;return e.isIdentifierText(i,e.getEmitScriptTarget(N))||e.isNumericLiteralName(i)?e.isNumericLiteralName(i)&&e.startsWith(i,"-")?"[".concat(i,"]"):i:'"'.concat(e.escapeString(i,34),'"')}if(8192&n.flags)return"[".concat($a(n.symbol,r),"]")}}function $a(t,r){if(r&&"default"===t.escapedName&&!(16384&r.flags)&&(!(16777216&r.flags)||!t.declarations||r.enclosingDeclaration&&e.findAncestor(t.declarations[0],Ha)!==e.findAncestor(r.enclosingDeclaration,Ha)))return"default";if(t.declarations&&t.declarations.length){var n=e.firstDefined(t.declarations,(function(t){return e.getNameOfDeclaration(t)?t:void 0})),i=n&&e.getNameOfDeclaration(n);if(n&&i){if(e.isCallExpression(n)&&e.isBindableObjectDefinePropertyCall(n))return e.symbolName(t);if(e.isComputedPropertyName(i)&&!(4096&e.getCheckFlags(t))){var a=$n(t).nameType;if(a&&384&a.flags){var o=Ga(t,r);if(void 0!==o)return o}}return e.declarationNameToString(i)}if(n||(n=t.declarations[0]),n.parent&&253===n.parent.kind)return e.declarationNameToString(n.parent.name);switch(n.kind){case 225:case 212:case 213:return r&&!r.encounteredError&&!(131072&r.flags)&&(r.encounteredError=!0),225===n.kind?"(Anonymous class)":"(Anonymous function)"}}var s=Ga(t,r);return void 0!==s?s:e.symbolName(t)}function Ya(t){if(t){var r=Yn(t);return void 0===r.isVisible&&(r.isVisible=!!function(){switch(t.kind){case 336:case 343:case 337:return!!(t.parent&&t.parent.parent&&t.parent.parent.parent&&e.isSourceFile(t.parent.parent.parent));case 202:return Ya(t.parent.parent);case 253:if(e.isBindingPattern(t.name)&&!t.name.elements.length)return!1;case 260:case 256:case 257:case 258:case 255:case 259:case 264:if(e.isExternalModuleAugmentation(t))return!0;var r=ro(t);return 1&e.getCombinedModifierFlags(t)||264!==t.kind&&303!==r.kind&&8388608&r.flags?Ya(r):Xn(r);case 166:case 165:case 171:case 172:case 168:case 167:if(e.hasEffectiveModifier(t,24))return!1;case 170:case 174:case 173:case 175:case 163:case 261:case 178:case 179:case 181:case 177:case 182:case 183:case 186:case 187:case 190:case 196:return Ya(t.parent);case 266:case 267:case 269:return!1;case 162:case 303:case 263:return!0;default:return!1}}()),r.isVisible}return!1}function Xa(t,r){var n,i,a;return t.parent&&270===t.parent.kind?n=ti(t,t.escapedText,2998271,void 0,t,!1):274===t.parent.kind&&(n=Ci(t.parent,2998271)),n&&((a=new e.Set).add(M(n)),function t(n){e.forEach(n,(function(n){var o=di(n)||n;if(r?Yn(n).isVisible=!0:(i=i||[],e.pushIfUnique(i,o)),e.isInternalModuleImportEqualsDeclaration(n)){var s=n.moduleReference,c=ti(n,e.getFirstIdentifier(s).escapedText,901119,void 0,void 0,!1);c&&a&&e.tryAddToSet(a,M(c))&&t(c.declarations)}}))}(n.declarations)),i}function Qa(e,t){var r=Za(e,t);if(r>=0){for(var n=$r.length,i=r;i<n;i++)Yr[i]=!1;return!1}return $r.push(e),Yr.push(!0),Xr.push(t),!0}function Za(e,t){for(var r=$r.length-1;r>=0;r--){if(eo($r[r],Xr[r]))return-1;if($r[r]===e&&Xr[r]===t)return r}return-1}function eo(t,r){switch(r){case 0:return!!$n(t).type;case 5:return!!Yn(t).resolvedEnumType;case 2:return!!$n(t).declaredType;case 1:return!!t.resolvedBaseConstructorType;case 3:return!!t.resolvedReturnType;case 4:return!!t.immediateBaseConstraint;case 6:return!!t.resolvedTypeArguments;case 7:return!!t.baseTypesResolved}return e.Debug.assertNever(r)}function to(){return $r.pop(),Xr.pop(),Yr.pop()}function ro(t){return e.findAncestor(e.getRootDeclaration(t),(function(e){switch(e.kind){case 253:case 254:case 269:case 268:case 267:case 266:return!1;default:return!0}})).parent}function no(e,t){var r=eu(e,t);return r?Yo(r):void 0}function io(e){return e&&0!=(1&e.flags)}function ao(e){return e===Le||!!(1&e.flags&&e.aliasSymbol)}function oo(e,t){if(0!==t)return vo(e,!1,t);var r=ra(e);return r&&$n(r).type||vo(e,!1,t)}function so(t,r,n){if(131072&(t=kg(t,(function(e){return!(98304&e.flags)}))).flags)return gt;if(1048576&t.flags)return Pg(t,(function(e){return so(e,r,n)}));for(var i=sp(e.map(r,Dp)),o=[],s=[],c=0,u=Ac(t);c<u.length;c++){var l=bp(m=u[c],8576);ff(l,i)||24&e.getDeclarationModifierFlagsFromSymbol(m)||!fd(m)?s.push(l):o.push(m)}if(Rp(t)||Bp(i)){if(s.length&&(i=sp(a([i],s,!0))),131072&i.flags)return t;var p=(mr||(mr=Sl("Omit",2,!0)||Ae),mr===Ae?void 0:mr);return p?al(p,[t,i]):Le}for(var d=e.createSymbolTable(),f=0,_=o;f<_.length;f++){var m=_[f];d.set(m.escapedName,_d(m,!1))}var g=Da(n,d,e.emptyArray,e.emptyArray,su(t));return g.objectFlags|=8388608,g}function co(e){return!!(465829888&e.flags)&&ub(Lc(e)||je,32768)}function uo(e){return sg(Cg(e,co)?Pg(e,(function(e){return 465829888&e.flags?Mc(e):e})):e,524288)}function lo(e,t){var r=po(e);return r?Qg(r,t):t}function po(t){var r=function(e){var t=e.parent.parent;switch(t.kind){case 202:case 294:return po(t);case 203:return po(e.parent);case 253:return t.initializer;case 220:return t.right}}(t);if(r&&r.flowNode){var n=fo(t);if(n){var i=e.setTextRange(e.parseNodeFactory.createStringLiteral(n),t),a=e.isLeftHandSideExpression(r)?r:e.parseNodeFactory.createParenthesizedExpression(r),o=e.setTextRange(e.parseNodeFactory.createElementAccessExpression(a,i),t);return e.setParent(i,o),e.setParent(o,t),a!==r&&e.setParent(a,o),o.flowNode=r.flowNode,o}}}function fo(e){var t=e.parent;return 202===e.kind&&200===t.kind?_o(e.propertyName||e.name):294===e.kind||295===e.kind?_o(e.name):""+t.elements.indexOf(e)}function _o(e){var t=Dp(e);return 384&t.flags?""+t.value:void 0}function mo(t,r){if(io(r))return r;var n,i=t.parent;if(H&&8388608&t.flags&&e.isParameterDeclaration(t)?r=K_(r):H&&i.parent.initializer&&!(65536&og(gg(i.parent.initializer)))&&(r=sg(r,524288)),200===i.kind)if(t.dotDotDotToken){if(2&(r=$c(r)).flags||!ay(r))return In(t,e.Diagnostics.Rest_types_may_only_be_created_from_object_types),Le;for(var a=[],o=0,s=i.elements;o<s.length;o++){var c=s[o];c.dotDotDotToken||a.push(c.propertyName||c.name)}n=so(r,a,t.symbol)}else{var u=t.propertyName||t.name;n=lo(t,Vp(r,Dp(u),32,u))}else{var l=uE(65|(t.dotDotDotToken?0:128),r,Je,i),p=i.elements.indexOf(t);n=t.dotDotDotToken?Tg(r,k_)?Pg(r,(function(e){return Yl(e,p)})):jl(l):d_(r)?lo(t,Wp(r,Dd(p),32|($h(t)?16:0),t.name)||Le):l}return t.initializer?e.getEffectiveTypeAnnotationNode(e.walkUpBindingElementsAndPatterns(t))?!H||32768&O_(Tb(t,0))?n:uo(n):kb(t,sp([uo(n),Tb(t,0)],2)):n}function go(t){var r=e.getJSDocType(t);if(r)return kd(r)}function ho(t){var r=e.skipParentheses(t,!0);return 203===r.kind&&0===r.elements.length}function yo(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!0),H&&r?j_(e,t):e}function vo(t,r,n){if(e.isVariableDeclaration(t)&&242===t.parent.parent.kind){var i=Sp(Ly(Ub(t.parent.parent.expression,n)));return 4456448&i.flags?Cp(i):He}if(e.isVariableDeclaration(t)&&243===t.parent.parent.kind)return cE(t.parent.parent)||we;if(e.isBindingPattern(t.parent))return function(e){var t=e.dotDotDotToken?32:0,r=oo(e.parent.parent,t);return r&&mo(e,r)}(t);var a=e.isPropertyDeclaration(t)||e.isPropertySignature(t),o=r&&(a&&!!t.questionToken||e.isParameter(t)&&(!!t.questionToken||mu(t))||yu(t)),s=Ro(t);if(s)return yo(s,a,o);if((X||e.isInJSFile(t))&&e.isVariableDeclaration(t)&&!e.isBindingPattern(t.name)&&!(1&e.getCombinedModifierFlags(t))&&!(8388608&t.flags)){if(!(2&e.getCombinedNodeFlags(t))&&(!t.initializer||function(t){var r=e.skipParentheses(t,!0);return 104===r.kind||79===r.kind&&qm(r)===se}(t.initializer)))return Ie;if(t.initializer&&ho(t.initializer))return qt}if(e.isParameter(t)){var c=t.parent;if(172===c.kind&&Bs(c)){var u=e.getDeclarationOfKind(ra(t.parent),171);if(u){var l=xu(u),p=jC(c);return p&&t===p?(e.Debug.assert(!p.type),Yo(l.thisParameter)):Pu(l)}}if(e.isInJSFile(t)){var d=function(e,t){var r=Eu(e);if(r){var n=e.parameters.indexOf(t);return t.dotDotDotToken?ID(r,n):FD(r,n)}}(c,t);if(d)return d}if(m="this"===t.symbol.escapedName?Dh(c):bh(t))return yo(m,!1,o)}if(e.hasOnlyExpressionInitializer(t)&&t.initializer){if(e.isInJSFile(t)&&!e.isParameter(t)){var f=To(t,ra(t),e.getDeclaredExpandoInitializer(t));if(f)return f}return yo(m=kb(t,Tb(t,n)),a,o)}if(e.isPropertyDeclaration(t)&&(X||e.isInJSFile(t))){if(e.hasStaticModifier(t)){var _=e.filter(t.parent.members,e.isClassStaticBlockDeclaration);return(m=_.length?function(t,r){for(var n=e.startsWith(t.escapedName,"__#")?e.factory.createPrivateIdentifier(t.escapedName.split("@")[1]):e.unescapeLeadingUnderscores(t.escapedName),i=0,a=r;i<a.length;i++){var o=a[i],s=e.factory.createPropertyAccessExpression(e.factory.createThis(),n);e.setParent(s.expression,s),e.setParent(s,o),s.flowNode=o.returnFlowNode;var c=So(s,t);if(X&&(c===Ie||c===qt)&&In(t.valueDeclaration,e.Diagnostics.Member_0_implicitly_has_an_1_type,Ma(t),Ba(c)),!Tg(c,Oy))return Yx(c)}}(t.symbol,_):2&e.getEffectiveModifierFlags(t)?t_(t.symbol):void 0)&&yo(m,!0,o)}var m,g=la(t.parent);return(m=g?Eo(t.symbol,g):2&e.getEffectiveModifierFlags(t)?t_(t.symbol):void 0)&&yo(m,!0,o)}return e.isJsxAttribute(t)?Qe:e.isBindingPattern(t.name)?wo(t.name,!1,!0):void 0}function Do(t){if(t.valueDeclaration&&e.isBinaryExpression(t.valueDeclaration)){var r=$n(t);return void 0===r.isConstructorDeclaredProperty&&(r.isConstructorDeclaredProperty=!1,r.isConstructorDeclaredProperty=!!xo(t)&&e.every(t.declarations,(function(r){return e.isBinaryExpression(r)&&Nh(r)&&(206!==r.left.kind||e.isStringOrNumericLiteralLike(r.left.argumentExpression))&&!ko(void 0,r,t,r)}))),r.isConstructorDeclaredProperty}return!1}function bo(t){var r=t.valueDeclaration;return r&&e.isPropertyDeclaration(r)&&!e.getEffectiveTypeAnnotationNode(r)&&!r.initializer&&(X||e.isInJSFile(r))}function xo(t){if(t.declarations)for(var r=0,n=t.declarations;r<n.length;r++){var i=n[r],a=e.getThisContainer(i,!1);if(a&&(170===a.kind||sD(a)))return a}}function Eo(t,r){var n=e.startsWith(t.escapedName,"__#")?e.factory.createPrivateIdentifier(t.escapedName.split("@")[1]):e.unescapeLeadingUnderscores(t.escapedName),i=e.factory.createPropertyAccessExpression(e.factory.createThis(),n);e.setParent(i.expression,i),e.setParent(i,r),i.flowNode=r.returnFlowNode;var a=So(i,t);return X&&(a===Ie||a===qt)&&In(t.valueDeclaration,e.Diagnostics.Member_0_implicitly_has_an_1_type,Ma(t),Ba(a)),Tg(a,Oy)?void 0:Yx(a)}function So(t,r){var n=(null==r?void 0:r.valueDeclaration)&&(!bo(r)||2&e.getEffectiveModifierFlags(r.valueDeclaration))&&t_(r)||Je;return Qg(t,Ie,n)}function Co(t,r){var n=e.getAssignedExpandoInitializer(t.valueDeclaration);if(n){var i=e.getJSDocTypeTag(n);return i&&i.typeExpression?kd(i.typeExpression):t.valueDeclaration&&To(t.valueDeclaration,t,n)||E_(Sb(n))}var a,o=!1,s=!1;if(Do(t)&&(a=Eo(t,xo(t))),!a){var c=void 0;if(t.declarations){for(var u=void 0,l=0,p=t.declarations;l<p.length;l++){var d=p[l],f=e.isBinaryExpression(d)||e.isCallExpression(d)?d:e.isAccessExpression(d)?e.isBinaryExpression(d.parent)?d.parent:d:void 0;if(f){var _=e.isAccessExpression(f)?e.getAssignmentDeclarationPropertyAccessKind(f):e.getAssignmentDeclarationKind(f);(4===_||e.isBinaryExpression(f)&&Nh(f,_))&&(No(f)?o=!0:s=!0),e.isCallExpression(f)||(u=ko(u,f,t,d)),u||(c||(c=[])).push(e.isBinaryExpression(f)||e.isCallExpression(f)?Ao(t,r,f,_):nt)}}a=u}if(!a){if(!e.length(c))return Le;var m=o&&t.declarations?function(t,r){return e.Debug.assert(t.length===r.length),t.filter((function(t,n){var i=r[n],a=e.isBinaryExpression(i)?i:e.isBinaryExpression(i.parent)?i.parent:void 0;return a&&No(a)}))}(c,t.declarations):void 0;if(s){var g=t_(t);g&&((m||(m=[])).push(g),o=!0)}a=sp(e.some(m,(function(e){return!!(-98305&e.flags)}))?m:c,2)}}var h=rm(yo(a,!1,s&&!o));return t.valueDeclaration&&kg(h,(function(e){return!!(-98305&e.flags)}))===nt?(am(t.valueDeclaration,we),we):h}function To(t,r,n){var i,a;if(e.isInJSFile(t)&&n&&e.isObjectLiteralExpression(n)&&!n.properties.length){for(var o=e.createSymbolTable();e.isBinaryExpression(t)||e.isPropertyAccessExpression(t);){var s=ra(t);!(null===(i=null==s?void 0:s.exports)||void 0===i)&&i.size&&Hn(o,s.exports),t=e.isBinaryExpression(t)?t.parent:t.parent.parent}var c=ra(t);null!==(a=null==c?void 0:c.exports)&&void 0!==a&&a.size&&Hn(o,c.exports);var u=Da(r,o,e.emptyArray,e.emptyArray,e.emptyArray);return u.objectFlags|=8192,u}}function ko(t,r,n,i){var a,o=e.getEffectiveTypeAnnotationNode(r.parent);if(o){var s=rm(kd(o));if(!t)return s;!ao(t)&&!ao(s)&&!cf(t,s)&&Qx(void 0,t,i,s)}if(null!==(a=n.parent)&&void 0!==a&&a.valueDeclaration){var c=e.getEffectiveTypeAnnotationNode(n.parent.valueDeclaration);if(c){var u=eu(kd(c),n.escapedName);if(u)return Xo(u)}}return t}function Ao(t,r,n,i){if(e.isCallExpression(n)){if(r)return Yo(r);var a=Sb(n.arguments[2]),o=no(a,"value");if(o)return o;var s=no(a,"get");if(s){var c=kv(s);if(c)return Pu(c)}var u=no(a,"set");if(u){var l=kv(u);if(l)return jD(l)}return we}if(function(t,r){return e.isPropertyAccessExpression(t)&&108===t.expression.kind&&e.forEachChildRecursively(r,(function(e){return Wm(t,e)}))}(n.left,n.right))return we;var p=r?Yo(r):E_(Sb(n.right));if(524288&p.flags&&2===i&&"export="===t.escapedName){var d=Sc(p),f=e.createSymbolTable();e.copyEntries(d.members,f);var _=f.size;r&&!r.exports&&(r.exports=e.createSymbolTable()),(r||t).exports.forEach((function(t,r){var n,i=f.get(r);if(i&&i!==t)if(111551&t.flags&&111551&i.flags){if(t.valueDeclaration&&i.valueDeclaration&&e.getSourceFileOfNode(t.valueDeclaration)!==e.getSourceFileOfNode(i.valueDeclaration)){var a=e.unescapeLeadingUnderscores(t.escapedName),o=(null===(n=e.tryCast(i.valueDeclaration,e.isNamedDeclaration))||void 0===n?void 0:n.name)||i.valueDeclaration;e.addRelatedInfo(In(t.valueDeclaration,e.Diagnostics.Duplicate_identifier_0,a),e.createDiagnosticForNode(o,e.Diagnostics._0_was_also_declared_here,a)),e.addRelatedInfo(In(o,e.Diagnostics.Duplicate_identifier_0,a),e.createDiagnosticForNode(t.valueDeclaration,e.Diagnostics._0_was_also_declared_here,a))}var s=Kn(t.flags|i.flags,r);s.type=sp([Yo(t),Yo(i)]),s.valueDeclaration=i.valueDeclaration,s.declarations=e.concatenate(i.declarations,t.declarations),f.set(r,s)}else f.set(r,Vn(t,i));else f.set(r,t)}));var m=Da(_!==f.size?void 0:d.symbol,f,d.callSignatures,d.constructSignatures,d.indexInfos);return m.objectFlags|=8192&e.getObjectFlags(p),m.symbol&&32&m.symbol.flags&&p===ms(m.symbol)&&(m.objectFlags|=16777216),m}return m_(p)?(am(n,Ut),Ut):p}function No(t){var r=e.getThisContainer(t,!1);return 170===r.kind||255===r.kind||212===r.kind&&!e.isPrototypePropertyAssignment(r.parent)}function Po(t,r,n){return t.initializer?yo(kb(t,Tb(t,0,e.isBindingPattern(t.name)?wo(t.name,!0,!1):je))):e.isBindingPattern(t.name)?wo(t.name,r,n):(n&&!Mo(t)&&am(t,we),r?Re:we)}function Fo(t,r,n){var i=t.elements,a=e.lastOrUndefined(i),o=a&&202===a.kind&&a.dotDotDotToken?a:void 0;if(0===i.length||1===i.length&&o)return q>=2?function(e){return Rl(Ol(!0),[e])}(we):Ut;var s=e.map(i,(function(t){return e.isOmittedExpression(t)?we:Po(t,r,n)})),c=e.findLastIndex(i,(function(t){return!(t===o||e.isOmittedExpression(t)||$h(t))}),i.length-1)+1,u=Wl(s,e.map(i,(function(e,t){return e===o?4:t>=c?2:1})));return r&&((u=el(u)).pattern=t,u.objectFlags|=262144),u}function wo(t,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),200===t.kind?function(t,r,n){var i,a=e.createSymbolTable(),o=262272;e.forEach(t.elements,(function(e){var t=e.propertyName||e.name;if(e.dotDotDotToken)i=qu(He,we,!1);else{var s=Dp(t);if(Os(s)){var c=js(s),u=Kn(4|(e.initializer?16777216:0),c);u.type=Po(e,r,n),u.bindingElement=e,a.set(u.escapedName,u)}else o|=512}}));var s=Da(void 0,a,e.emptyArray,e.emptyArray,i?[i]:e.emptyArray);return s.objectFlags|=o,r&&(s.pattern=t,s.objectFlags|=262144),s}(t,r,n):Fo(t,r,n)}function Io(e,t){return Lo(vo(e,!0,0),e,t)}function Oo(e){var t=ra(e),r=function(e){return Ht||(Ht=El("SymbolConstructor",e))}(!1);return r&&t&&t===r}function Lo(t,r,n){return t?(4096&t.flags&&Oo(r.parent)&&(t=Ed(r)),n&&om(r,t),8192&t.flags&&(e.isBindingElement(r)||!r.type)&&t.symbol!==ra(r)&&(t=tt),rm(t)):(t=e.isParameter(r)&&r.dotDotDotToken?Ut:we,n&&(Mo(r)||am(r,t)),t)}function Mo(t){var r=e.getRootDeclaration(t);return sx(163===r.kind?r.parent:r)}function Ro(t){var r=e.getEffectiveTypeAnnotationNode(t);if(r)return kd(r)}function Bo(t){var r=$n(t);if(!r.type){var n=function(t){if(4194304&t.flags)return function(t){var r=Ss(na(t));return r.typeParameters?Zu(r,e.map(r.typeParameters,(function(e){return we}))):r}(t);if(t===pe)return we;if(134217728&t.flags&&t.valueDeclaration){var r=ra(e.getSourceFileOfNode(t.valueDeclaration)),n=Kn(r.flags,"exports");n.declarations=r.declarations?r.declarations.slice():[],n.parent=t,n.target=r,r.valueDeclaration&&(n.valueDeclaration=r.valueDeclaration),r.members&&(n.members=new e.Map(r.members)),r.exports&&(n.exports=new e.Map(r.exports));var i=e.createSymbolTable();return i.set("exports",n),Da(t,i,e.emptyArray,e.emptyArray,e.emptyArray)}e.Debug.assertIsDefined(t.valueDeclaration);var a,o=t.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(o)){var s=e.getEffectiveTypeAnnotationNode(o);if(void 0===s)return Z?je:we;var c=MS(s);return io(c)||c===je?c:Le}if(e.isSourceFile(o)&&e.isJsonSourceFile(o))return o.statements.length?rm(E_(Ub(o.statements[0].expression))):gt;if(!Qa(t,0))return 512&t.flags&&!(67108864&t.flags)?zo(t):Go(t);if(270===o.kind)a=Lo(Ro(o)||Sb(o.expression),o);else if(e.isBinaryExpression(o)||e.isInJSFile(o)&&(e.isCallExpression(o)||(e.isPropertyAccessExpression(o)||e.isBindableStaticElementAccessExpression(o))&&e.isBinaryExpression(o.parent)))a=Co(t);else if(e.isPropertyAccessExpression(o)||e.isElementAccessExpression(o)||e.isIdentifier(o)||e.isStringLiteralLike(o)||e.isNumericLiteral(o)||e.isClassDeclaration(o)||e.isFunctionDeclaration(o)||e.isMethodDeclaration(o)&&!e.isObjectLiteralMethod(o)||e.isMethodSignature(o)||e.isSourceFile(o)){if(9136&t.flags)return zo(t);a=e.isBinaryExpression(o.parent)?Co(t):Ro(o)||we}else if(e.isPropertyAssignment(o))a=Ro(o)||Fb(o);else if(e.isJsxAttribute(o))a=Ro(o)||cy(o);else if(e.isShorthandPropertyAssignment(o))a=Ro(o)||Pb(o.name,0);else if(e.isObjectLiteralMethod(o))a=Ro(o)||wb(o,0);else if(e.isParameter(o)||e.isPropertyDeclaration(o)||e.isPropertySignature(o)||e.isVariableDeclaration(o)||e.isBindingElement(o)||e.isJSDocPropertyLikeTag(o))a=Io(o,!0);else if(e.isEnumDeclaration(o))a=zo(t);else if(e.isEnumMember(o))a=Wo(t);else{if(!e.isAccessor(o))return e.Debug.fail("Unhandled declaration kind! "+e.Debug.formatSyntaxKind(o.kind)+" for "+e.Debug.formatSymbol(t));a=qo(t)||e.Debug.fail("Non-write accessor resolution must always produce a type")}return to()?a:512&t.flags&&!(67108864&t.flags)?zo(t):Go(t)}(t);r.type||(r.type=n)}return r.type}function jo(t){if(t)return 171===t.kind?e.getEffectiveReturnTypeNode(t):e.getEffectiveSetAccessorTypeAnnotationNode(t)}function Ko(e){var t=jo(e);return t&&kd(t)}function Jo(t){var r=$n(t);return r.type||(r.type=Uo(t)||e.Debug.fail("Read type of accessor must always produce a type"))}function Uo(t,r){if(void 0===r&&(r=!1),!Qa(t,0))return Le;var n=qo(t,r);return!to()&&(n=we,X)&&In(e.getDeclarationOfKind(t,171),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,Ma(t)),n}function qo(t,r){void 0===r&&(r=!1);var n=e.getDeclarationOfKind(t,171),i=e.getDeclarationOfKind(t,172);if(r){var a=Ko(i);if(a)return c(a,t)}if(n&&e.isInJSFile(n)){var o=go(n);if(o)return c(o,t)}var s=Ko(n);return s?c(s,t):Ko(i)||(n&&n.body?c(HD(n),t):i?(sx(i)||Ln(X,i,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Ma(t)),we):n?(e.Debug.assert(!!n,"there must exist a getter as we are current checking either setter or getter in this function"),sx(n)||Ln(X,n,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Ma(t)),we):void 0);function c(t,r){return 1&e.getCheckFlags(r)?Qd(t,$n(r).mapper):t}}function Vo(t){var r=ls(ms(t));return 8650752&r.flags?r:2097152&r.flags?e.find(r.types,(function(e){return!!(8650752&e.flags)})):void 0}function zo(t){var r=$n(t),n=r;if(!r.type){var i=t.valueDeclaration&&uD(t.valueDeclaration,!1);if(i){var a=cD(t,i);a&&(t=r=a)}n.type=r.type=function(t){var r=t.valueDeclaration;if(1536&t.flags&&e.isShorthandAmbientModuleSymbol(t))return we;if(r&&(220===r.kind||e.isAccessExpression(r)&&220===r.parent.kind))return Co(t);if(512&t.flags&&r&&e.isSourceFile(r)&&r.commonJsModuleIndicator){var n=Vi(t);if(n!==t){if(!Qa(t,0))return Le;var i=ta(t.exports.get("export=")),a=Co(i,i===n?void 0:n);return to()?a:Go(t)}}var o=_a(16,t);if(32&t.flags){var s=Vo(t);return s?mp([o,s]):o}return H&&16777216&t.flags?j_(o):o}(t)}return r.type}function Wo(e){var t=$n(e);return t.type||(t.type=xs(e))}function Ho(t){var r=$n(t);if(!r.type){var n=Pi(t),i=t.declarations&&ki(fi(t),!0),a=e.firstDefined(null==i?void 0:i.declarations,(function(t){return e.isExportAssignment(t)?Ro(t):void 0}));r.type=(null==i?void 0:i.declarations)&&yS(i.declarations)&&t.declarations.length?function(t){var r=e.getSourceFileOfNode(t.declarations[0]),n=e.unescapeLeadingUnderscores(t.escapedName),i=t.declarations.every((function(t){return e.isInJSFile(t)&&e.isAccessExpression(t)&&e.isModuleExportsAccessExpression(t.expression)})),a=i?e.factory.createPropertyAccessExpression(e.factory.createPropertyAccessExpression(e.factory.createIdentifier("module"),e.factory.createIdentifier("exports")),n):e.factory.createPropertyAccessExpression(e.factory.createIdentifier("exports"),n);return i&&e.setParent(a.expression.expression,a.expression),e.setParent(a.expression,a),e.setParent(a,r),a.flowNode=r.endFlowNode,Qg(a,Ie,Je)}(i):yS(t.declarations)?Ie:a||(111551&n.flags?Yo(n):Le)}return r.type}function Go(t){var r=t.valueDeclaration;return e.getEffectiveTypeAnnotationNode(r)?(In(t.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Ma(t)),Le):(X&&(163!==r.kind||r.initializer)&&In(t.valueDeclaration,e.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,Ma(t)),we)}function $o(t){var r;return 65536&e.getCheckFlags(t)&&(r=function(t){var r=$n(t);return!r.writeType&&r.deferralWriteConstituents&&(e.Debug.assertIsDefined(r.deferralParent),e.Debug.assertIsDefined(r.deferralConstituents),r.writeType=1048576&r.deferralParent.flags?sp(r.deferralWriteConstituents):mp(r.deferralWriteConstituents)),r.writeType}(t))||33554432&t.flags&&(r=t.writeType)?r:function(e){if(98304&e.flags){var t=function(e){var t=$n(e);return t.writeType||(t.writeType=Uo(e,!0))}(e);if(t)return t}return Yo(e)}(t)}function Yo(t){var r=e.getCheckFlags(t);return 65536&r?function(t){var r=$n(t);return r.type||(e.Debug.assertIsDefined(r.deferralParent),e.Debug.assertIsDefined(r.deferralConstituents),r.type=1048576&r.deferralParent.flags?sp(r.deferralConstituents):mp(r.deferralConstituents)),r.type}(t):1&r?function(e){var t=$n(e);if(!t.type){if(!Qa(e,0))return t.type=Le;var r=Qd(Yo(t.target),t.mapper);to()||(r=Go(e)),t.type=r}return t.type}(t):262144&r?function(t){if(!t.type){var r=t.mappedType;if(!Qa(t,0))return r.containsError=!0,Le;var n=Qd(gc(r.target||r),Jd(r.mapper,fc(r),t.keyType)),i=H&&16777216&t.flags&&!ub(n,49152)?j_(n,!0):524288&t.checkFlags?H_(n):n;to()||(In(p,e.Diagnostics.Type_of_property_0_circularly_references_itself_in_mapped_type_1,Ma(t),Ba(r)),i=Le),t.type=i}return t.type}(t):8192&r?function(e){var t=$n(e);return t.type||(t.type=bm(e.propertyType,e.mappedType,e.constraintType)),t.type}(t):7&t.flags?Bo(t):9136&t.flags?zo(t):8&t.flags?Wo(t):98304&t.flags?Jo(t):2097152&t.flags?Ho(t):Le}function Xo(e){return z_(Yo(e),!!(16777216&e.flags))}function Qo(t,r){return void 0!==t&&void 0!==r&&0!=(4&e.getObjectFlags(t))&&t.target===r}function Zo(t){return 4&e.getObjectFlags(t)?t.target:t}function es(t,r){return function t(n){if(7&e.getObjectFlags(n)){var i=Zo(n);return i===r||e.some(ds(i),t)}return!!(2097152&n.flags)&&e.some(n.types,t)}(t)}function ts(t,r){for(var n=0,i=r;n<i.length;n++){var a=i[n];t=e.appendIfUnique(t,Es(ra(a)))}return t}function rs(t,r){for(;;){if((t=t.parent)&&e.isBinaryExpression(t)){var n=e.getAssignmentDeclarationKind(t);if(6===n||3===n){var i=ra(t.left);i&&i.parent&&!e.findAncestor(i.parent.valueDeclaration,(function(e){return t===e}))&&(t=i.parent.valueDeclaration)}}if(!t)return;switch(t.kind){case 256:case 225:case 257:case 173:case 174:case 167:case 178:case 179:case 315:case 255:case 168:case 212:case 213:case 258:case 342:case 343:case 337:case 336:case 194:case 188:var a=rs(t,r);if(194===t.kind)return e.append(a,Es(ra(t.typeParameter)));if(188===t.kind)return e.concatenate(a,rd(t));var o=ts(a,e.getEffectiveTypeParameterDeclarations(t)),s=r&&(256===t.kind||225===t.kind||257===t.kind||sD(t))&&ms(ra(t)).thisType;return s?e.append(o,s):o;case 338:var c=e.getParameterSymbolFromJSDoc(t);c&&(t=c.valueDeclaration);break;case 318:return a=rs(t,r),t.tags?ts(a,e.flatMap(t.tags,(function(t){return e.isJSDocTemplateTag(t)?t.typeParameters:void 0}))):a}}}function ns(t){var r=32&t.flags?t.valueDeclaration:e.getDeclarationOfKind(t,257);return e.Debug.assert(!!r,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),rs(r)}function is(t){if(t.declarations){for(var r,n=0,i=t.declarations;n<i.length;n++){var a=i[n];if(257===a.kind||256===a.kind||225===a.kind||sD(a)||e.isTypeAlias(a)){var o=a;r=ts(r,e.getEffectiveTypeParameterDeclarations(o))}}return r}}function as(e){var t=ru(e,1);if(1===t.length){var r=t[0];if(!r.typeParameters&&1===r.parameters.length&&J(r)){var n=CD(r.parameters[0]);return io(n)||p_(n)===we}}return!1}function os(e){if(ru(e,1).length>0)return!0;if(8650752&e.flags){var t=Lc(e);return!!t&&as(t)}return!1}function ss(t){var r=e.getClassLikeDeclarationOfSymbol(t.symbol);return r&&e.getEffectiveBaseTypeNode(r)}function cs(t,r,n){var i=e.length(r),a=e.isInJSFile(n);return e.filter(ru(t,1),(function(t){return(a||i>=Du(t.typeParameters))&&i<=e.length(t.typeParameters)}))}function us(t,r,n){var i=cs(t,r,n),a=e.map(r,kd);return e.sameMap(i,(function(t){return e.some(t.typeParameters)?Ou(t,a,e.isInJSFile(n)):t}))}function ls(t){if(!t.resolvedBaseConstructorType){var r=e.getClassLikeDeclarationOfSymbol(t.symbol),n=r&&e.getEffectiveBaseTypeNode(r),i=ss(t);if(!i)return t.resolvedBaseConstructorType=Je;if(!Qa(t,1))return Le;var a=Ub(i.expression);if(n&&i!==n&&(e.Debug.assert(!n.typeArguments),Ub(n.expression)),2621440&a.flags&&Sc(a),!to())return In(t.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Ma(t.symbol)),t.resolvedBaseConstructorType=Le;if(!(1&a.flags||a===We||os(a))){var o=In(i.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,Ba(a));if(262144&a.flags){var s=Gu(a),c=je;if(s){var u=ru(s,1);u[0]&&(c=Pu(u[0]))}a.symbol.declarations&&e.addRelatedInfo(o,e.createDiagnosticForNode(a.symbol.declarations[0],e.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Ma(a.symbol),Ba(c)))}return t.resolvedBaseConstructorType=Le}t.resolvedBaseConstructorType=a}return t.resolvedBaseConstructorType}function ps(t,r){In(t,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,Ba(r,void 0,2))}function ds(t){if(!t.baseTypesResolved){if(Qa(t,7)&&(8&t.objectFlags?t.resolvedBaseTypes=[fs(t)]:96&t.symbol.flags?(32&t.symbol.flags&&function(t){t.resolvedBaseTypes=e.resolvingEmptyArray;var r=Vc(ls(t));if(!(2621441&r.flags))return t.resolvedBaseTypes=e.emptyArray;var n,i=ss(t),a=r.symbol?Ss(r.symbol):void 0;if(r.symbol&&32&r.symbol.flags&&function(e){var t=e.outerTypeParameters;if(t){var r=t.length-1,n=rl(e);return t[r].symbol!==n[r].symbol}return!0}(a))n=il(i,r.symbol);else if(1&r.flags)n=r;else{var o=us(r,i.typeArguments,i);if(!o.length)return In(i.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments),t.resolvedBaseTypes=e.emptyArray;n=Pu(o[0])}if(ao(n))return t.resolvedBaseTypes=e.emptyArray;var s=$c(n);if(!_s(s)){var c=Zc(void 0,n),u=e.chainDiagnosticMessages(c,e.Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,Ba(s));return gn.add(e.createDiagnosticForNodeFromMessageChain(i.expression,u)),t.resolvedBaseTypes=e.emptyArray}t===s||es(s,t)?(In(t.symbol.valueDeclaration,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,Ba(t,void 0,2)),t.resolvedBaseTypes=e.emptyArray):(t.resolvedBaseTypes===e.resolvingEmptyArray&&(t.members=void 0),t.resolvedBaseTypes=[s])}(t),64&t.symbol.flags&&function(t){if(t.resolvedBaseTypes=t.resolvedBaseTypes||e.emptyArray,t.symbol.declarations)for(var r=0,n=t.symbol.declarations;r<n.length;r++){var i=n[r];if(257===i.kind&&e.getInterfaceBaseTypeNodes(i))for(var a=0,o=e.getInterfaceBaseTypeNodes(i);a<o.length;a++){var s=o[a],c=$c(kd(s));ao(c)||(_s(c)?t===c||es(c,t)?ps(i,t):t.resolvedBaseTypes===e.emptyArray?t.resolvedBaseTypes=[c]:t.resolvedBaseTypes.push(c):In(s,e.Diagnostics.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}}(t)):e.Debug.fail("type must be class or interface"),!to()&&t.symbol.declarations))for(var r=0,n=t.symbol.declarations;r<n.length;r++){var i=n[r];(256===i.kind||257===i.kind)&&ps(i,t)}t.baseTypesResolved=!0}return t.resolvedBaseTypes}function fs(t){return jl(sp(e.sameMap(t.typeParameters,(function(e,r){return 8&t.elementFlags[r]?Vp(e,Ge):e}))||e.emptyArray),t.readonly)}function _s(t){if(262144&t.flags){var r=Lc(t);if(r)return _s(r)}return!!(67633153&t.flags&&!Ec(t)||2097152&t.flags&&e.every(t.types,_s))}function ms(t){var r=$n(t),n=r;if(!r.declaredType){var i=32&t.flags?1:2,a=cD(t,t.valueDeclaration&&function(t){var r,n=t&&uD(t,!0),i=null===(r=null==n?void 0:n.exports)||void 0===r?void 0:r.get("prototype"),a=(null==i?void 0:i.valueDeclaration)&&function(t){if(!t.parent)return!1;for(var r=t.parent;r&&205===r.kind;)r=r.parent;if(r&&e.isBinaryExpression(r)&&e.isPrototypeAccess(r.left)&&63===r.operatorToken.kind){var n=e.getInitializerOfBinaryExpression(r);return e.isObjectLiteralExpression(n)&&n}}(i.valueDeclaration);return a?ra(a):void 0}(t.valueDeclaration));a&&(t=r=a);var o=n.declaredType=r.declaredType=_a(i,t),s=ns(t),c=is(t);(s||c||1===i||!function(t){if(!t.declarations)return!0;for(var r=0,n=t.declarations;r<n.length;r++){var i=n[r];if(257===i.kind){if(128&i.flags)return!1;var a=e.getInterfaceBaseTypeNodes(i);if(a)for(var o=0,s=a;o<s.length;o++){var c=s[o];if(e.isEntityNameExpression(c.expression)){var u=Bi(c.expression,788968,!0);if(!u||!(64&u.flags)||ms(u).thisType)return!1}}}}return!0}(t))&&(o.objectFlags|=4,o.typeParameters=e.concatenate(s,c),o.outerTypeParameters=s,o.localTypeParameters=c,o.instantiations=new e.Map,o.instantiations.set(Yu(o.typeParameters),o),o.target=o,o.resolvedTypeArguments=o.typeParameters,o.thisType=ma(t),o.thisType.isThisType=!0,o.thisType.constraint=o)}return r.declaredType}function gs(t){var r,n=$n(t);if(!n.declaredType){if(!Qa(t,2))return Le;var i=e.Debug.checkDefined(null===(r=t.declarations)||void 0===r?void 0:r.find(e.isTypeAlias),"Type alias symbol with no valid declaration found"),a=e.isJSDocTypeAlias(i)?i.typeExpression:i.type,o=a?kd(a):Le;if(to()){var s=is(t);s&&(n.typeParameters=s,n.instantiations=new e.Map,n.instantiations.set(Yu(s),o))}else o=Le,337===i.kind?In(i.typeExpression.type,e.Diagnostics.Type_alias_0_circularly_references_itself,Ma(t)):In(e.isNamedDeclaration(i)?i.name:i||i,e.Diagnostics.Type_alias_0_circularly_references_itself,Ma(t));n.declaredType=o}return n.declaredType}function hs(t){return!!e.isStringLiteralLike(t)||220===t.kind&&hs(t.left)&&hs(t.right)}function ys(t){var r=t.initializer;if(!r)return!(8388608&t.flags);switch(r.kind){case 10:case 8:case 14:return!0;case 218:return 40===r.operator&&8===r.operand.kind;case 79:return e.nodeIsMissing(r)||!!ra(t.parent).exports.get(r.escapedText);case 220:return hs(r);default:return!1}}function vs(t){var r=$n(t);if(void 0!==r.enumKind)return r.enumKind;var n=!1;if(t.declarations)for(var i=0,a=t.declarations;i<a.length;i++){var o=a[i];if(259===o.kind)for(var s=0,c=o.members;s<c.length;s++){var u=c[s];if(u.initializer&&e.isStringLiteralLike(u.initializer))return r.enumKind=1;ys(u)||(n=!0)}}return r.enumKind=n?0:1}function Ds(e){return 1024&e.flags&&!(1048576&e.flags)?Ss(na(e.symbol)):e}function bs(e){var t=$n(e);if(t.declaredType)return t.declaredType;if(1===vs(e)){D++;var r=[];if(e.declarations)for(var n=0,i=e.declarations;n<i.length;n++){var a=i[n];if(259===a.kind)for(var o=0,s=a.members;o<s.length;o++){var c=s[o],u=sC(c),l=gd(xd(void 0!==u?u:0,D,ra(c)));$n(ra(c)).declaredType=l,r.push(hd(l))}}if(r.length){var p=sp(r,1,e,void 0);return 1048576&p.flags&&(p.flags|=1024,p.symbol=e),t.declaredType=p}}var d=pa(32);return d.symbol=e,t.declaredType=d}function xs(e){var t=$n(e);if(!t.declaredType){var r=bs(na(e));t.declaredType||(t.declaredType=r)}return t.declaredType}function Es(e){var t=$n(e);return t.declaredType||(t.declaredType=ma(e))}function Ss(e){return Cs(e)||Le}function Cs(e){return 96&e.flags?ms(e):524288&e.flags?gs(e):262144&e.flags?Es(e):384&e.flags?bs(e):8&e.flags?xs(e):2097152&e.flags?function(e){var t=$n(e);return t.declaredType||(t.declaredType=Ss(Pi(e)))}(e):void 0}function Ts(e){switch(e.kind){case 130:case 154:case 149:case 146:case 157:case 133:case 150:case 147:case 114:case 152:case 143:case 195:return!0;case 182:return Ts(e.elementType);case 177:return!e.typeArguments||e.typeArguments.every(Ts)}return!1}function ks(t){var r=e.getEffectiveConstraintOfTypeParameter(t);return!r||Ts(r)}function As(t){var r=e.getEffectiveTypeAnnotationNode(t);return r?Ts(r):!e.hasInitializer(t)}function Ns(t){if(t.declarations&&1===t.declarations.length){var r=t.declarations[0];if(r)switch(r.kind){case 166:case 165:return As(r);case 168:case 167:case 170:case 171:case 172:return function(t){var r=e.getEffectiveReturnTypeNode(t),n=e.getEffectiveTypeParameterDeclarations(t);return(170===t.kind||!!r&&Ts(r))&&t.parameters.every(As)&&n.every(ks)}(r)}}return!1}function Ps(t,r,n){for(var i=e.createSymbolTable(),a=0,o=t;a<o.length;a++){var s=o[a];i.set(s.escapedName,n&&Ns(s)?s:Vd(s,r))}return i}function Fs(e,t){for(var r=0,n=t;r<n.length;r++){var i=n[r];!e.has(i.escapedName)&&!ws(i)&&e.set(i.escapedName,i)}}function ws(t){return!!t.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(t.valueDeclaration)&&e.isStatic(t.valueDeclaration)}function Is(t){if(!t.declaredProperties){var r=t.symbol,n=Us(r);t.declaredProperties=ha(n),t.declaredCallSignatures=e.emptyArray,t.declaredConstructSignatures=e.emptyArray,t.declaredIndexInfos=e.emptyArray,t.declaredCallSignatures=Cu(n.get("__call")),t.declaredConstructSignatures=Cu(n.get("__new")),t.declaredIndexInfos=Vu(r)}return t}function Os(e){return!!(8576&e.flags)}function Ls(t){if(!e.isComputedPropertyName(t)&&!e.isElementAccessExpression(t))return!1;var r=e.isComputedPropertyName(t)?t.expression:t.argumentExpression;return e.isEntityNameExpression(r)&&Os(e.isComputedPropertyName(t)?Zh(t):Sb(r))}function Ms(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&64===e.charCodeAt(2)}function Rs(t){var r=e.getNameOfDeclaration(t);return!!r&&Ls(r)}function Bs(t){return!e.hasDynamicName(t)||Rs(t)}function js(t){return 8192&t.flags?t.escapedName:384&t.flags?e.escapeLeadingUnderscores(""+t.value):e.Debug.fail()}function Ks(t,r,n,i){e.Debug.assert(!!i.symbol,"The member is expected to have a symbol.");var a=Yn(i);if(!a.resolvedSymbol){a.resolvedSymbol=i.symbol;var o=e.isBinaryExpression(i)?i.left:i.name,s=e.isElementAccessExpression(o)?Sb(o.argumentExpression):Zh(o);if(Os(s)){var c=js(s),u=i.symbol.flags,l=n.get(c);l||n.set(c,l=Kn(0,c,4096));var p=r&&r.get(c);if(l.flags&Jn(u)||p){var d=p?e.concatenate(p.declarations,l.declarations):l.declarations,f=!(8192&s.flags)&&e.unescapeLeadingUnderscores(c)||e.declarationNameToString(o);e.forEach(d,(function(t){return In(e.getNameOfDeclaration(t)||t,e.Diagnostics.Property_0_was_also_declared_here,f)})),In(o||i,e.Diagnostics.Duplicate_property_0,f),l=Kn(0,c,4096)}return l.nameType=s,function(t,r,n){e.Debug.assert(!!(4096&e.getCheckFlags(t)),"Expected a late-bound symbol."),t.flags|=n,$n(r.symbol).lateSymbol=t,t.declarations?r.symbol.isReplaceableByMethod||t.declarations.push(r):t.declarations=[r],111551&n&&(!t.valueDeclaration||t.valueDeclaration.kind!==r.kind)&&(t.valueDeclaration=r)}(l,i,u),l.parent?e.Debug.assert(l.parent===t,"Existing symbol parent should match new one"):l.parent=t,a.resolvedSymbol=l}}return a.resolvedSymbol}function Js(t,r){var n=$n(t);if(!n[r]){var i="resolvedExports"===r,a=i?1536&t.flags?ea(t):t.exports:t.members;n[r]=a||k;for(var o=e.createSymbolTable(),s=0,c=t.declarations||e.emptyArray;s<c.length;s++){var u=c[s],l=e.getMembersOfDeclaration(u);if(l)for(var p=0,d=l;p<d.length;p++){var f=d[p];i===e.hasStaticModifier(f)&&Rs(f)&&Ks(t,a,o,f)}}var _=t.assignmentDeclarationMembers;if(_)for(var m=0,g=e.arrayFrom(_.values());m<g.length;m++){f=g[m];var h=e.getAssignmentDeclarationKind(f);i===!(3===h||e.isBinaryExpression(f)&&Nh(f,h)||9===h||6===h)&&Rs(f)&&Ks(t,a,o,f)}n[r]=function(t,r){if(null==t||!t.size)return r;if(null==r||!r.size)return t;var n=e.createSymbolTable();return Hn(n,t),Hn(n,r),n}(a,o)||k}return n[r]}function Us(e){return 6256&e.flags?Js(e,"resolvedMembers"):e.members||k}function qs(t){if(106500&t.flags&&"__computed"===t.escapedName){var r=$n(t);if(!r.lateSymbol&&e.some(t.declarations,Rs)){var n=ta(t.parent);e.some(t.declarations,e.hasStaticModifier)?Xi(n):Us(n)}return r.lateSymbol||(r.lateSymbol=t)}return t}function Vs(t,r,n){if(4&e.getObjectFlags(t)){var i=t.target,a=rl(t);if(e.length(i.typeParameters)===e.length(a)){var o=Zu(i,e.concatenate(a,[r||i.thisType]));return n?Vc(o):o}}else if(2097152&t.flags){var s=e.sameMap(t.types,(function(e){return Vs(e,r,n)}));return s!==t.types?mp(s):t}return n?Vc(t):t}function zs(t,r,n,i){var a,o,s,c,u;e.rangeEquals(n,i,0,n.length)?(o=r.symbol?Us(r.symbol):e.createSymbolTable(r.declaredProperties),s=r.declaredCallSignatures,c=r.declaredConstructSignatures,u=r.declaredIndexInfos):(a=Id(n,i),o=Ps(r.declaredProperties,a,1===n.length),s=Fd(r.declaredCallSignatures,a),c=Fd(r.declaredConstructSignatures,a),u=wd(r.declaredIndexInfos,a));var l=ds(r);if(l.length){r.symbol&&o===Us(r.symbol)&&(o=e.createSymbolTable(r.declaredProperties)),va(t,o,s,c,u);for(var p=e.lastOrUndefined(i),d=0,f=l;d<f.length;d++){var _=f[d],m=p?Vs(Qd(_,a),p):_;Fs(o,Ac(m)),s=e.concatenate(s,ru(m,0)),c=e.concatenate(c,ru(m,1));var g=m!==we?su(m):[qu(He,we,!1)];u=e.concatenate(u,e.filter(g,(function(e){return!nu(u,e.keyType)})))}}va(t,o,s,c,u)}function Ws(e,t,r,n,i,a,o,s){var c=new h(de,s);return c.declaration=e,c.typeParameters=t,c.parameters=n,c.thisParameter=r,c.resolvedReturnType=i,c.resolvedTypePredicate=a,c.minArgumentCount=o,c.resolvedMinArgumentCount=void 0,c.target=void 0,c.mapper=void 0,c.compositeSignatures=void 0,c.compositeKind=void 0,c}function Hs(e){var t=Ws(e.declaration,e.typeParameters,e.thisParameter,e.parameters,void 0,void 0,e.minArgumentCount,39&e.flags);return t.target=e.target,t.mapper=e.mapper,t.compositeSignatures=e.compositeSignatures,t.compositeKind=e.compositeKind,t}function Gs(e,t){var r=Hs(e);return r.compositeSignatures=t,r.compositeKind=1048576,r.target=void 0,r.mapper=void 0,r}function $s(t,r){if((24&t.flags)===r)return t;t.optionalCallSignatureCache||(t.optionalCallSignatureCache={});var n=8===r?"inner":"outer";return t.optionalCallSignatureCache[n]||(t.optionalCallSignatureCache[n]=function(t,r){e.Debug.assert(8===r||16===r,"An optional call signature can either be for an inner call chain or an outer call chain, but not both.");var n=Hs(t);return n.flags|=r,n}(t,r))}function Ys(t,r){if(J(t)){var n=t.parameters.length-1,i=Yo(t.parameters[n]);if(k_(i))return[a(i,n)];if(!r&&1048576&i.flags&&e.every(i.types,k_))return e.map(i.types,(function(e){return a(e,n)}))}return[t.parameters];function a(r,n){var i=rl(r),a=r.target.labeledElementDeclarations,o=e.map(i,(function(e,i){var o=!!a&&TD(a[i])||kD(t,n+i,r),s=r.target.elementFlags[i],c=Kn(1,o,12&s?32768:2&s?16384:0);return c.type=4&s?jl(e):e,c}));return e.concatenate(t.parameters.slice(0,n),o)}}function Xs(e,t,r,n,i){for(var a=0,o=e;a<o.length;a++){var s=o[a];if(o_(s,t,r,n,i,r?pf:uf))return s}}function Qs(t,r,n){if(r.typeParameters){if(n>0)return;for(var i=1;i<t.length;i++)if(!Xs(t[i],r,!1,!1,!1))return;return[r]}var a;for(i=0;i<t.length;i++){var o=i===n?r:Xs(t[i],r,!0,!1,!0);if(!o)return;a=e.appendIfUnique(a,o)}return a}function Zs(t){for(var r,n,i=0;i<t.length;i++){if(0===t[i].length)return e.emptyArray;t[i].length>1&&(n=void 0===n?i:-1);for(var a=0,o=t[i];a<o.length;a++){var s=o[a];if(!r||!Xs(r,s,!1,!1,!0)){var c=Qs(t,s,i);if(c){var u=s;if(c.length>1){var l=s.thisParameter,p=e.forEach(c,(function(e){return e.thisParameter}));p&&(l=$_(p,mp(e.mapDefined(c,(function(e){return e.thisParameter&&Yo(e.thisParameter)}))))),(u=Gs(s,c)).thisParameter=l}(r||(r=[])).push(u)}}}}if(!e.length(r)&&-1!==n){for(var d=t[void 0!==n?n:0],f=d.slice(),_=function(t){if(t!==d){var r=t[0];if(e.Debug.assert(!!r,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),!(f=r.typeParameters&&e.some(f,(function(e){return!!e.typeParameters&&!ec(r.typeParameters,e.typeParameters)}))?void 0:e.map(f,(function(t){return function(t,r){var n,i=t.typeParameters||r.typeParameters;t.typeParameters&&r.typeParameters&&(n=Id(r.typeParameters,t.typeParameters));var a=t.declaration,o=function(e,t,r){for(var n=OD(e),i=OD(t),a=n>=i?e:t,o=a===e?t:e,s=a===e?n:i,c=MD(e)||MD(t),u=c&&!MD(a),l=new Array(s+(u?1:0)),p=0;p<s;p++){var d=wD(a,p);a===t&&(d=Qd(d,r));var f=wD(o,p)||je;o===t&&(f=Qd(f,r));var _=mp([d,f]),m=c&&!u&&p===s-1,g=p>=LD(a)&&p>=LD(o),h=p>=n?void 0:kD(e,p),y=p>=i?void 0:kD(t,p),v=Kn(1|(g&&!m?16777216:0),(h===y?h:h?y?void 0:h:y)||"arg".concat(p));v.type=m?jl(_):_,l[p]=v}if(u){var D=Kn(1,"args");D.type=jl(FD(o,s)),o===t&&(D.type=Qd(D.type,r)),l[s]=D}return l}(t,r,n),s=Ws(a,i,function(e,t,r){return e&&t?$_(e,mp([Yo(e),Qd(Yo(t),r)])):e||t}(t.thisParameter,r.thisParameter,n),o,void 0,void 0,Math.max(t.minArgumentCount,r.minArgumentCount),39&(t.flags|r.flags));return s.compositeKind=1048576,s.compositeSignatures=e.concatenate(2097152!==t.compositeKind&&t.compositeSignatures||[t],[r]),n&&(s.mapper=2097152!==t.compositeKind&&t.mapper&&t.compositeSignatures?jd(t.mapper,n):n),s}(t,r)}))))return"break"}},m=0,g=t;m<g.length&&"break"!==_(g[m]);m++);r=f}return r||e.emptyArray}function ec(t,r){if(e.length(t)!==e.length(r))return!1;if(!t||!r)return!0;for(var n=Id(r,t),i=0;i<t.length;i++){var a=t[i],o=r[i];if(a!==o&&!cf(Gu(a)||je,Qd(Gu(o)||je,n)))return!1}return!0}function tc(t){var r=su(t[0]);if(r){for(var n=[],i=function(r){var i=r.keyType;e.every(t,(function(e){return!!cu(e,i)}))&&n.push(qu(i,sp(e.map(t,(function(e){return uu(e,i)}))),e.some(t,(function(e){return cu(e,i).isReadonly}))))},a=0,o=r;a<o.length;a++)i(o[a]);return n}return e.emptyArray}function rc(e,t){return e?t?mp([e,t]):e:t}function nc(t){var r=e.countWhere(t,(function(e){return ru(e,1).length>0})),n=e.map(t,as);if(r>0&&r===e.countWhere(n,(function(e){return e}))){var i=n.indexOf(!0);n[i]=!1}return n}function ic(t){for(var r,n,i,a=t.types,o=nc(a),s=e.countWhere(o,(function(e){return e})),c=function(c){var u=t.types[c];if(!o[c]){var l=ru(u,1);l.length&&s>0&&(l=e.map(l,(function(e){var t=Hs(e);return t.resolvedReturnType=function(e,t,r,n){for(var i=[],a=0;a<t.length;a++)a===n?i.push(e):r[a]&&i.push(Pu(ru(t[a],1)[0]));return mp(i)}(Pu(e),a,o,c),t}))),n=ac(n,l)}r=ac(r,ru(u,0)),i=e.reduceLeft(su(u),(function(e,t){return oc(e,t,!1)}),i)},u=0;u<a.length;u++)c(u);va(t,k,r||e.emptyArray,n||e.emptyArray,i||e.emptyArray)}function ac(t,r){for(var n=function(r){(!t||e.every(t,(function(e){return!o_(e,r,!1,!1,!1,uf)})))&&(t=e.append(t,r))},i=0,a=r;i<a.length;i++)n(a[i]);return t}function oc(t,r,n){if(t)for(var i=0;i<t.length;i++){var a=t[i];if(a.keyType===r.keyType)return t[i]=qu(a.keyType,n?sp([a.type,r.type]):mp([a.type,r.type]),n?a.isReadonly||r.isReadonly:a.isReadonly&&r.isReadonly),t}return e.append(t,r)}function sc(t){var r=ta(t.symbol);if(t.target)va(t,k,e.emptyArray,e.emptyArray,e.emptyArray),va(t,a=Ps(Cc(t.target),t.mapper,!1),n=Fd(ru(t.target,0),t.mapper),i=Fd(ru(t.target,1),t.mapper),o=wd(su(t.target),t.mapper));else if(2048&r.flags){va(t,k,e.emptyArray,e.emptyArray,e.emptyArray);var n=Cu((a=Us(r)).get("__call")),i=Cu(a.get("__new"));va(t,a,n,i,o=Vu(r))}else{var a=k,o=void 0;if(r.exports&&(a=Xi(r),r===ce)){var s=new e.Map;a.forEach((function(e){418&e.flags||s.set(e.escapedName,e)})),a=s}var c=void 0;if(va(t,a,e.emptyArray,e.emptyArray,e.emptyArray),32&r.flags){var u=ls(ms(r));11272192&u.flags?Fs(a=e.createSymbolTable(function(t){var r=ha(t),n=Uu(t);return n?e.concatenate(r,[n]):r}(a)),Ac(u)):u===we&&(c=qu(He,we,!1))}var l=Uu(a);if(l?o=zu(l):(c&&(o=e.append(o,c)),384&r.flags&&(32&Ss(r).flags||e.some(t.properties,(function(e){return!!(296&Yo(e).flags)})))&&(o=e.append(o,Pr))),va(t,a,e.emptyArray,e.emptyArray,o||e.emptyArray),8208&r.flags&&(t.callSignatures=Cu(r)),32&r.flags){var p=ms(r);i=r.members?Cu(r.members.get("__constructor")):e.emptyArray,16&r.flags&&(i=e.addRange(i.slice(),e.mapDefined(t.callSignatures,(function(e){return sD(e.declaration)?Ws(e.declaration,e.typeParameters,e.thisParameter,e.parameters,p,void 0,e.minArgumentCount,39&e.flags):void 0})))),i.length||(i=function(t){var r=ru(ls(t),1),n=e.getClassLikeDeclarationOfSymbol(t.symbol),i=!!n&&e.hasSyntacticModifier(n,128);if(0===r.length)return[Ws(void 0,t.localTypeParameters,void 0,e.emptyArray,t,void 0,0,i?4:0)];for(var a=ss(t),o=e.isInJSFile(a),s=vl(a),c=e.length(s),u=[],l=0,p=r;l<p.length;l++){var d=p[l],f=Du(d.typeParameters),_=e.length(d.typeParameters);if(o||c>=f&&c<=_){var m=_?Mu(d,bu(s,d.typeParameters,f,o)):Hs(d);m.typeParameters=t.localTypeParameters,m.resolvedReturnType=t,m.flags=i?4|m.flags:-5&m.flags,u.push(m)}}return u}(p)),t.constructSignatures=i}}}function cc(e,t,r){return Qd(e,Id([t.indexType,t.objectType],[Dd(0),Wl([r])]))}function uc(t){if(4194304&t.flags){var r=Vc(t.type);return A_(r)?Xl(r):Sp(r)}if(16777216&t.flags){if(t.root.isDistributive){var n=t.checkType,i=uc(n);if(i!==n)return Xd(t,Kd(t.root.checkType,i,t.mapper))}return t}return 1048576&t.flags?Pg(t,uc):2097152&t.flags?mp(e.sameMap(t.types,uc)):t}function lc(t){return 4096&e.getCheckFlags(t)}function pc(e,t,r,n){for(var i=0,a=Ac(e);i<a.length;i++)n(bp(a[i],t));if(1&e.flags)n(He);else for(var o=0,s=su(e);o<s.length;o++){var c=s[o];(!r||134217732&c.keyType.flags)&&n(c.keyType)}}function dc(t){var r,n=e.createSymbolTable();va(t,k,e.emptyArray,e.emptyArray,e.emptyArray);var i=fc(t),a=_c(t),o=mc(t.target||t),s=gc(t.target||t),c=Vc(vc(t)),u=Dc(t),l=ee?128:8576;function p(e){Sg(o?Qd(o,Jd(t.mapper,i,e)):e,(function(a){return function(e,a){if(Os(a)){var l=js(a),p=n.get(l);if(p)p.nameType=sp([p.nameType,a]),p.keyType=sp([p.keyType,e]);else{var d=Os(e)?eu(c,js(e)):void 0,f=!!(4&u||!(8&u)&&d&&16777216&d.flags),_=!!(1&u||!(2&u)&&d&&ib(d)),m=H&&!f&&d&&16777216&d.flags,g=Kn(4|(f?16777216:0),l,262144|(d?lc(d):0)|(_?8:0)|(m?524288:0));g.mappedType=t,g.nameType=a,g.keyType=e,d&&(g.syntheticOrigin=d,g.declarations=o?void 0:d.declarations),n.set(l,g)}}else if(Wu(a)||33&a.flags){var h=qu(5&a.flags?He:40&a.flags?Ge:a,Qd(s,Jd(t.mapper,i,e)),!!(1&u));r=oc(r,h,!0)}}(e,a)}))}yc(t)?pc(c,l,ee,p):Sg(uc(a),p),va(t,n,e.emptyArray,e.emptyArray,r||e.emptyArray)}function fc(e){return e.typeParameter||(e.typeParameter=Es(ra(e.declaration.typeParameter)))}function _c(e){return e.constraintType||(e.constraintType=Pc(fc(e))||Le)}function mc(e){return e.declaration.nameType?e.nameType||(e.nameType=Qd(kd(e.declaration.nameType),e.mapper)):void 0}function gc(e){return e.templateType||(e.templateType=e.declaration.type?Qd(yo(kd(e.declaration.type),!0,!!(4&Dc(e))),e.mapper):Le)}function hc(t){return e.getEffectiveConstraintOfTypeParameter(t.declaration.typeParameter)}function yc(e){var t=hc(e);return 192===t.kind&&140===t.operator}function vc(e){if(!e.modifiersType)if(yc(e))e.modifiersType=Qd(kd(hc(e).type),e.mapper);else{var t=_c(Gp(e.declaration)),r=t&&262144&t.flags?Pc(t):t;e.modifiersType=r&&4194304&r.flags?Qd(r.type,e.mapper):je}return e.modifiersType}function Dc(e){var t=e.declaration;return(t.readonlyToken?40===t.readonlyToken.kind?2:1:0)|(t.questionToken?40===t.questionToken.kind?8:4:0)}function bc(e){var t=Dc(e);return 8&t?-1:4&t?1:0}function xc(e){var t=bc(e),r=vc(e);return t||(Ec(r)?bc(r):0)}function Ec(t){return!!(32&e.getObjectFlags(t))&&Bp(_c(t))}function Sc(t){return t.members||(524288&t.flags?4&t.objectFlags?function(t){var r=Is(t.target),n=e.concatenate(r.typeParameters,[r.thisType]),i=rl(t);zs(t,r,n,i.length===n.length?i:e.concatenate(i,[t]))}(t):3&t.objectFlags?function(t){zs(t,Is(t),e.emptyArray,e.emptyArray)}(t):1024&t.objectFlags?function(t){for(var r=cu(t.source,He),n=Dc(t.mappedType),i=!(1&n),a=4&n?0:16777216,o=r?[qu(He,bm(r.type,t.mappedType,t.constraintType),i&&r.isReadonly)]:e.emptyArray,s=e.createSymbolTable(),c=0,u=Ac(t.source);c<u.length;c++){var l=u[c],p=8192|(i&&ib(l)?8:0),d=Kn(4|l.flags&a,l.escapedName,p);if(d.declarations=l.declarations,d.nameType=$n(l).nameType,d.propertyType=Yo(l),8388608&t.constraintType.type.flags&&262144&t.constraintType.type.objectType.flags&&262144&t.constraintType.type.indexType.flags){var f=t.constraintType.type.objectType,_=cc(t.mappedType,t.constraintType.type,f);d.mappedType=_,d.constraintType=Sp(f)}else d.mappedType=t.mappedType,d.constraintType=t.constraintType;s.set(l.escapedName,d)}va(t,s,e.emptyArray,e.emptyArray,o)}(t):16&t.objectFlags?sc(t):32&t.objectFlags&&dc(t):1048576&t.flags?function(t){var r=Zs(e.map(t.types,(function(e){return e===wt?[kr]:ru(e,0)}))),n=Zs(e.map(t.types,(function(e){return ru(e,1)}))),i=tc(t.types);va(t,k,r,n,i)}(t):2097152&t.flags&&ic(t)),t}function Cc(t){return 524288&t.flags?Sc(t).properties:e.emptyArray}function Tc(e,t){if(524288&e.flags){var r=Sc(e).members.get(t);if(r&&ua(r))return r}}function kc(t){if(!t.resolvedProperties){for(var r=e.createSymbolTable(),n=0,i=t.types;n<i.length;n++){for(var a=i[n],o=0,s=Ac(a);o<s.length;o++){var c=s[o];if(!r.has(c.escapedName)){var u=Gc(t,c.escapedName);u&&r.set(c.escapedName,u)}}if(1048576&t.flags&&0===su(a).length)break}t.resolvedProperties=ha(r)}return t.resolvedProperties}function Ac(e){return 3145728&(e=zc(e)).flags?kc(e):Cc(e)}function Nc(e){return 262144&e.flags?Pc(e):8388608&e.flags?function(e){return Rc(e)?function(e){if(qc(e))return qp(e.objectType,e.indexType);var t=Fc(e.indexType);if(t&&t!==e.indexType){var r=Wp(e.objectType,t,e.accessFlags);if(r)return r}var n=Fc(e.objectType);return n&&n!==e.objectType?Wp(n,e.indexType,e.accessFlags):void 0}(e):void 0}(e):16777216&e.flags?function(e){return Rc(e)?Oc(e):void 0}(e):Lc(e)}function Pc(e){return Rc(e)?Gu(e):void 0}function Fc(e){var t=Kp(e,!1);return t!==e?t:Nc(e)}function wc(e){if(!e.resolvedDefaultConstraint){var t=function(e){return e.resolvedInferredTrueType||(e.resolvedInferredTrueType=e.combinedMapper?Qd(kd(e.root.node.trueType),e.combinedMapper):ed(e))}(e),r=td(e);e.resolvedDefaultConstraint=io(t)?r:io(r)?t:sp([t,r])}return e.resolvedDefaultConstraint}function Ic(e){if(e.root.isDistributive&&e.restrictiveInstantiation!==e){var t=Kp(e.checkType,!1),r=t===e.checkType?Nc(t):t;if(r&&r!==e.checkType){var n=Xd(e,Kd(e.root.checkType,r,e.mapper));if(!(131072&n.flags))return n}}}function Oc(e){return Ic(e)||wc(e)}function Lc(e){if(464781312&e.flags){var t=Bc(e);return t!==xt&&t!==Et?t:void 0}return 4194304&e.flags?pt:void 0}function Mc(e){return Lc(e)||e}function Rc(e){return Bc(e)!==Et}function Bc(t){if(t.resolvedBaseConstraint)return t.resolvedBaseConstraint;var r=[];return t.resolvedBaseConstraint=Vs(n(t),t);function n(t){if(!t.immediateBaseConstraint){if(!Qa(t,4))return Et;var n=void 0;if((r.length<10||r.length<50&&!r_(t,r,r.length))&&(r.push(t),n=function(t){if(262144&t.flags){var r=Gu(t);return t.isThisType||!r?r:i(r)}if(3145728&t.flags){for(var n=[],a=!1,o=0,s=l=t.types;o<s.length;o++){var c=s[o],u=i(c);u?(u!==c&&(a=!0),n.push(u)):a=!0}return a?1048576&t.flags&&n.length===l.length?sp(n):2097152&t.flags&&n.length?mp(n):void 0:t}if(4194304&t.flags)return pt;if(134217728&t.flags){var l=t.types,p=e.mapDefined(l,i);return p.length===l.length?Tp(t.texts,p):He}if(268435456&t.flags)return(r=i(t.type))?Ap(t.symbol,r):He;if(8388608&t.flags){if(qc(t))return i(qp(t.objectType,t.indexType));var d=i(t.objectType),f=i(t.indexType),_=d&&f&&Wp(d,f,t.accessFlags);return _&&i(_)}return 16777216&t.flags?(r=Oc(t))&&i(r):33554432&t.flags?i(t.substitute):t}(Kp(t,!1)),r.pop()),!to()){if(262144&t.flags){var a=Hu(t);if(a){var o=In(a,e.Diagnostics.Type_parameter_0_has_a_circular_constraint,Ba(t));p&&!e.isNodeDescendantOf(a,p)&&!e.isNodeDescendantOf(p,a)&&e.addRelatedInfo(o,e.createDiagnosticForNode(p,e.Diagnostics.Circularity_originates_in_type_at_this_location))}}n=Et}t.immediateBaseConstraint=n||xt}return t.immediateBaseConstraint}function i(e){var t=n(e);return t!==xt&&t!==Et?t:void 0}}function jc(t){if(t.default)t.default===St&&(t.default=Et);else if(t.target){var r=jc(t.target);t.default=r?Qd(r,t.mapper):xt}else{t.default=St;var n=t.symbol&&e.forEach(t.symbol.declarations,(function(t){return e.isTypeParameterDeclaration(t)&&t.default})),i=n?kd(n):xt;t.default===St&&(t.default=i)}return t.default}function Kc(e){var t=jc(e);return t!==xt&&t!==Et?t:void 0}function Jc(t){return!(!t.symbol||!e.forEach(t.symbol.declarations,(function(t){return e.isTypeParameterDeclaration(t)&&t.default})))}function Uc(e){return e.resolvedApparentType||(e.resolvedApparentType=function(e){var t=Wd(e);if(t&&!e.declaration.nameType){var r=Pc(t);if(r&&(c_(r)||k_(r)))return Qd(e,Kd(t,r,e.mapper))}return e}(e))}function qc(t){return 8388608&t.flags&&32&e.getObjectFlags(t.objectType)&&!Ec(t.objectType)&&Bp(t.indexType)}function Vc(t){var r=465829888&t.flags?Lc(t)||je:t;return 32&e.getObjectFlags(r)?Uc(r):2097152&r.flags?function(e){return e.resolvedApparentType||(e.resolvedApparentType=Vs(e,e,!0))}(r):402653316&r.flags?Rt:296&r.flags?Bt:2112&r.flags?function(e){return hr||(hr=Tl("BigInt",0,e))||gt}(q>=7):528&r.flags?jt:12288&r.flags?Pl(q>=2):67108864&r.flags?gt:4194304&r.flags?pt:2&r.flags&&!H?gt:r}function zc(e){return $c(Vc($c(e)))}function Wc(t,r,n){for(var i,a,o,s,c,u=1048576&t.flags,l=u?0:16777216,p=4,d=u?0:8,f=!1,_=0,m=t.types;_<m.length;_++)if(!(ao(P=Vc(m[_]))||131072&P.flags)){var g=(N=eu(P,r,n))?e.getDeclarationModifierFlagsFromSymbol(N):0;if(N){if(u?l|=16777216&N.flags:l&=N.flags,o){if(N!==o)if(($E(N)||N)===($E(o)||o)&&-1===a_(o,N,(function(e,t){return e===t?-1:0})))f=!!o.parent&&!!e.length(is(o.parent));else{s||(s=new e.Map).set(M(o),o);var h=M(N);s.has(h)||s.set(h,N)}}else o=N;u&&ib(N)?d|=8:!u&&!ib(N)&&(d&=-9),d|=(24&g?0:256)|(16&g?512:0)|(8&g?1024:0)|(32&g?2048:0),Ny(N)||(p=2)}else if(u){var y=!Ms(r)&&du(P,r);y?(d|=32|(y.isReadonly?8:0),c=e.append(c,k_(P)?P_(P)||Je:y.type)):!Lm(P)||4194304&e.getObjectFlags(P)?d|=16:(d|=32,c=e.append(c,Je))}}if(o&&!(u&&(s||48&d)&&1536&d)){if(!(s||16&d||c)){if(f){var v=$_(o,o.type);return v.parent=null===(a=null===(i=o.valueDeclaration)||void 0===i?void 0:i.symbol)||void 0===a?void 0:a.parent,v.containingType=t,v.mapper=o.mapper,v}return o}for(var D,b,x,E,S,C=[],T=!1,k=0,A=s?e.arrayFrom(s.values()):[o];k<A.length;k++){var N=A[k];S?N.valueDeclaration&&N.valueDeclaration!==S&&(T=!0):S=N.valueDeclaration,D=e.addRange(D,N.declarations);var P=Yo(N);b||(b=P,x=$n(N).nameType);var F=$o(N);E||F!==P?E=e.append(E||C.slice(),F):P!==b&&(d|=64),(b_(P)||Lp(P))&&(d|=128),131072&P.flags&&(d|=131072),C.push(P)}e.addRange(C,c);var w=Kn(4|l,r,p|d);return w.containingType=t,!T&&S&&(w.valueDeclaration=S,S.symbol.parent&&(w.parent=S.symbol.parent)),w.declarations=D,w.nameType=x,C.length>2?(w.checkFlags|=65536,w.deferralParent=t,w.deferralConstituents=C,w.deferralWriteConstituents=E):(w.type=u?sp(C):mp(C),E&&(w.writeType=u?sp(E):mp(E))),w}}function Hc(t,r,n){var i,a,o=(null===(i=t.propertyCacheWithoutObjectFunctionPropertyAugment)||void 0===i?void 0:i.get(r))||!n?null===(a=t.propertyCache)||void 0===a?void 0:a.get(r):void 0;return!o&&(o=Wc(t,r,n))&&(n?t.propertyCacheWithoutObjectFunctionPropertyAugment||(t.propertyCacheWithoutObjectFunctionPropertyAugment=e.createSymbolTable()):t.propertyCache||(t.propertyCache=e.createSymbolTable())).set(r,o),o}function Gc(t,r,n){var i=Hc(t,r,n);return!i||16&e.getCheckFlags(i)?void 0:i}function $c(t){return 1048576&t.flags&&33554432&t.objectFlags?t.resolvedReducedType||(t.resolvedReducedType=function(t){var r=e.sameMap(t.types,$c);if(r===t.types)return t;var n=sp(r);return 1048576&n.flags&&(n.resolvedReducedType=n),n}(t)):2097152&t.flags?(33554432&t.objectFlags||(t.objectFlags|=33554432|(e.some(kc(t),Yc)?67108864:0)),67108864&t.objectFlags?nt:t):t}function Yc(e){return Xc(e)||Qc(e)}function Xc(t){return!(16777216&t.flags||192!=(131264&e.getCheckFlags(t))||!(131072&Yo(t).flags))}function Qc(t){return!t.valueDeclaration&&!!(1024&e.getCheckFlags(t))}function Zc(t,r){if(2097152&r.flags&&67108864&e.getObjectFlags(r)){var n=e.find(kc(r),Xc);if(n)return e.chainDiagnosticMessages(t,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,Ba(r,void 0,536870912),Ma(n));var i=e.find(kc(r),Qc);if(i)return e.chainDiagnosticMessages(t,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,Ba(r,void 0,536870912),Ma(i))}return t}function eu(e,t,r){if(524288&(e=zc(e)).flags){var n=Sc(e),i=n.members.get(t);if(i&&ua(i))return i;if(r)return;var a=n===bt?wt:n.callSignatures.length?It:n.constructSignatures.length?Ot:void 0;if(a){var o=Tc(a,t);if(o)return o}return Tc(Ft,t)}if(3145728&e.flags)return Gc(e,t,r)}function tu(t,r){if(3670016&t.flags){var n=Sc(t);return 0===r?n.callSignatures:n.constructSignatures}return e.emptyArray}function ru(e,t){return tu(zc(e),t)}function nu(t,r){return e.find(t,(function(e){return e.keyType===r}))}function iu(t,r){for(var n,i,a,o=0,s=t;o<s.length;o++){var c=s[o];c.keyType===He?n=c:au(r,c.keyType)&&(i?(a||(a=[i])).push(c):i=c)}return a?qu(je,mp(e.map(a,(function(e){return e.type}))),e.reduceLeft(a,(function(e,t){return e&&t.isReadonly}),!0)):i||(n&&au(r,He)?n:void 0)}function au(t,r){return ff(t,r)||r===He&&ff(t,Ge)||r===Ge&&!!(128&t.flags)&&e.isNumericLiteralName(t.value)}function ou(t){return 3670016&t.flags?Sc(t).indexInfos:e.emptyArray}function su(e){return ou(zc(e))}function cu(e,t){return nu(su(e),t)}function uu(e,t){var r;return null===(r=cu(e,t))||void 0===r?void 0:r.type}function lu(e,t){return su(e).filter((function(e){return au(t,e.keyType)}))}function pu(e,t){return iu(su(e),t)}function du(t,r){return pu(t,Ms(r)?tt:vd(e.unescapeLeadingUnderscores(r)))}function fu(t){for(var r,n=0,i=e.getEffectiveTypeParameterDeclarations(t);n<i.length;n++){var a=i[n];r=e.appendIfUnique(r,Es(a.symbol))}return r}function _u(e){var t=[];return e.forEach((function(e,r){ga(r)||t.push(e)})),t}function mu(t){return e.isInJSFile(t)&&(t.type&&314===t.type.kind||e.getJSDocParameterTags(t).some((function(e){var t=e.isBracketed,r=e.typeExpression;return t||!!r&&314===r.type.kind})))}function gu(t,r){if(!e.isExternalModuleNameRelative(t)){var n=Qn(oe,'"'+t+'"',512);return n&&r?ta(n):n}}function hu(t){if(e.hasQuestionToken(t)||yu(t)||mu(t))return!0;if(t.initializer){var r=xu(t.parent),n=t.parent.parameters.indexOf(t);return e.Debug.assert(n>=0),n>=LD(r,3)}var i=e.getImmediatelyInvokedFunctionExpression(t.parent);return!!i&&!t.type&&!t.dotDotDotToken&&t.parent.parameters.indexOf(t)>=i.arguments.length}function yu(t){if(!e.isJSDocPropertyLikeTag(t))return!1;var r=t.isBracketed,n=t.typeExpression;return r||!!n&&314===n.type.kind}function vu(e,t,r,n){return{kind:e,parameterName:t,parameterIndex:r,type:n}}function Du(e){var t=0;if(e)for(var r=0;r<e.length;r++)Jc(e[r])||(t=r+1);return t}function bu(t,r,n,i){var a=e.length(r);if(!a)return[];var o=e.length(t);if(i||o>=n&&o<=a){for(var s=t?t.slice():[],c=o;c<a;c++)s[c]=Le;var u=Km(i);for(c=o;c<a;c++){var l=Kc(r[c]);i&&l&&(cf(l,je)||cf(l,gt))&&(l=we),s[c]=l?Qd(l,Id(r,s)):u}return s.length=r.length,s}return t&&t.slice()}function xu(t){var r=Yn(t);if(!r.resolvedSignature){var n=[],i=0,a=0,o=void 0,s=!1,c=e.getImmediatelyInvokedFunctionExpression(t),u=e.isJSDocConstructSignature(t);!c&&e.isInJSFile(t)&&e.isValueSignatureDeclaration(t)&&!e.hasJSDocParameterTags(t)&&!e.getJSDocType(t)&&(i|=32);for(var l=u?1:0;l<t.parameters.length;l++){var p=t.parameters[l],d=p.symbol,f=e.isJSDocParameterTag(p)?p.typeExpression&&p.typeExpression.type:p.type;d&&4&d.flags&&!e.isBindingPattern(p.name)&&(d=ti(p,d.escapedName,111551,void 0,void 0,!1)),0===l&&"this"===d.escapedName?(s=!0,o=p.symbol):n.push(d),f&&195===f.kind&&(i|=2),yu(p)||p.initializer||p.questionToken||e.isRestParameter(p)||c&&n.length>c.arguments.length&&!f||mu(p)||(a=n.length)}if((171===t.kind||172===t.kind)&&Bs(t)&&(!s||!o)){var _=171===t.kind?172:171,m=e.getDeclarationOfKind(ra(t),_);m&&(o=function(e){var t=jC(e);return t&&t.symbol}(m))}var g=170===t.kind?ms(ta(t.parent.symbol)):void 0,h=g?g.localTypeParameters:fu(t);(e.hasRestParameter(t)||e.isInJSFile(t)&&function(t,r){if(e.isJSDocSignature(t)||!Su(t))return!1;var n=e.lastOrUndefined(t.parameters),i=n?e.getJSDocParameterTags(n):e.getJSDocTags(t).filter(e.isJSDocParameterTag),a=e.firstDefined(i,(function(t){return t.typeExpression&&e.isJSDocVariadicType(t.typeExpression.type)?t.typeExpression.type:void 0})),o=Kn(3,"args",32768);return o.type=a?jl(kd(a.type)):Ut,a&&r.pop(),r.push(o),!0}(t,n))&&(i|=1),(e.isConstructorTypeNode(t)&&e.hasSyntacticModifier(t,128)||e.isConstructorDeclaration(t)&&e.hasSyntacticModifier(t.parent,128))&&(i|=4),r.resolvedSignature=Ws(t,h,o,n,void 0,void 0,a,i)}return r.resolvedSignature}function Eu(t){if(e.isInJSFile(t)&&e.isFunctionLikeDeclaration(t)){var r=e.getJSDocTypeTag(t);return(null==r?void 0:r.typeExpression)&&kv(kd(r.typeExpression))}}function Su(t){var r=Yn(t);return void 0===r.containsArgumentsReference&&(8192&r.flags?r.containsArgumentsReference=!0:r.containsArgumentsReference=function t(r){if(!r)return!1;switch(r.kind){case 79:return r.escapedText===le.escapedName&&gC(r)===le;case 166:case 168:case 171:case 172:return 161===r.name.kind&&t(r.name);case 205:case 206:return t(r.expression);case 294:return t(r.initializer);default:return!e.nodeStartsNewLexicalEnvironment(r)&&!e.isPartOfTypeNode(r)&&!!e.forEachChild(r,t)}}(t.body)),r.containsArgumentsReference}function Cu(t){if(!t||!t.declarations)return e.emptyArray;for(var r=[],n=0;n<t.declarations.length;n++){var i=t.declarations[n];if(e.isFunctionLike(i)){if(n>0&&i.body){var a=t.declarations[n-1];if(i.parent===a.parent&&i.kind===a.kind&&i.pos===a.end)continue}r.push(xu(i))}}return r}function Tu(e){var t=Ki(e,e);if(t){var r=Vi(t);if(r)return Yo(r)}return we}function ku(e){if(e.thisParameter)return Yo(e.thisParameter)}function Au(t){if(!t.resolvedTypePredicate){if(t.target){var r=Au(t.target);t.resolvedTypePredicate=r?function(e,t){return vu(e.kind,e.parameterName,e.parameterIndex,Qd(e.type,t))}(r,t.mapper):Cr}else if(t.compositeSignatures)t.resolvedTypePredicate=function(e,t){for(var r,n=[],i=0,a=e;i<a.length;i++){var o=Au(a[i]);if(!o||2===o.kind||3===o.kind){if(2097152!==t)continue;return}if(r){if(!cp(r,o))return}else r=o;n.push(o.type)}if(r){var s=Nu(n,t);return vu(r.kind,r.parameterName,r.parameterIndex,s)}}(t.compositeSignatures,t.compositeKind)||Cr;else{var n=t.declaration&&e.getEffectiveReturnTypeNode(t.declaration),i=void 0;if(!n&&e.isInJSFile(t.declaration)){var a=Eu(t.declaration);a&&t!==a&&(i=Au(a))}t.resolvedTypePredicate=n&&e.isTypePredicateNode(n)?function(t,r){var n=t.parameterName,i=t.type&&kd(t.type);return 191===n.kind?vu(t.assertsModifier?2:0,void 0,void 0,i):vu(t.assertsModifier?3:1,n.escapedText,e.findIndex(r.parameters,(function(e){return e.escapedName===n.escapedText})),i)}(n,t):i||Cr}e.Debug.assert(!!t.resolvedTypePredicate)}return t.resolvedTypePredicate===Cr?void 0:t.resolvedTypePredicate}function Nu(e,t,r){return 2097152!==t?sp(e,r):mp(e)}function Pu(t){if(!t.resolvedReturnType){if(!Qa(t,3))return Le;var r=t.target?Qd(Pu(t.target),t.mapper):t.compositeSignatures?Qd(Nu(e.map(t.compositeSignatures,Pu),t.compositeKind,2),t.mapper):Fu(t.declaration)||(e.nodeIsMissing(t.declaration.body)?we:HD(t.declaration));if(8&t.flags?r=J_(r):16&t.flags&&(r=j_(r)),!to()){if(t.declaration){var n=e.getEffectiveReturnTypeNode(t.declaration);if(n)In(n,e.Diagnostics.Return_type_annotation_circularly_references_itself);else if(X){var i=t.declaration,a=e.getNameOfDeclaration(i);a?In(a,e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,e.declarationNameToString(a)):In(i,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)}}r=we}t.resolvedReturnType=r}return t.resolvedReturnType}function Fu(t){if(170===t.kind)return ms(ta(t.parent.symbol));if(e.isJSDocConstructSignature(t))return kd(t.parameters[0].type);var r=e.getEffectiveReturnTypeNode(t);if(r)return kd(r);if(171===t.kind&&Bs(t)){var n=e.isInJSFile(t)&&go(t);if(n)return n;var i=Ko(e.getDeclarationOfKind(ra(t),172));if(i)return i}return function(e){var t=Eu(e);return t&&Pu(t)}(t)}function wu(e){return!e.resolvedReturnType&&Za(e,3)>=0}function Iu(e){if(J(e)){var t=Yo(e.parameters[e.parameters.length-1]),r=k_(t)?P_(t):t;return r&&uu(r,Ge)}}function Ou(e,t,r,n){var i=Lu(e,bu(t,e.typeParameters,Du(e.typeParameters),r));if(n){var a=Av(Pu(i));if(a){var o=Hs(a);o.typeParameters=n;var s=Hs(i);return s.resolvedReturnType=Ku(o),s}}return i}function Lu(t,r){var n=t.instantiations||(t.instantiations=new e.Map),i=Yu(r),a=n.get(i);return a||n.set(i,a=Mu(t,r)),a}function Mu(e,t){return qd(e,function(e,t){return Id(e.typeParameters,t)}(e,t),!0)}function Ru(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=function(e){return qd(e,Bd(e.typeParameters),!0)}(e)):e}function Bu(t){return t.typeParameters?t.canonicalSignatureCache||(t.canonicalSignatureCache=function(t){return Ou(t,e.map(t.typeParameters,(function(e){return e.target&&!Pc(e.target)?e.target:e})),e.isInJSFile(t.declaration))}(t)):t}function ju(t){var r=t.typeParameters;if(r){if(t.baseSignatureCache)return t.baseSignatureCache;for(var n=Bd(r),i=Id(r,e.map(r,(function(e){return Pc(e)||je}))),a=e.map(r,(function(e){return Qd(e,i)||je})),o=0;o<r.length-1;o++)a=Pd(a,i);return a=Pd(a,n),t.baseSignatureCache=qd(t,Id(r,a),!0)}return t}function Ku(t){if(!t.isolatedSignatureType){var r=t.declaration?t.declaration.kind:0,n=170===r||174===r||179===r,i=_a(16);i.members=k,i.properties=e.emptyArray,i.callSignatures=n?e.emptyArray:[t],i.constructSignatures=n?[t]:e.emptyArray,i.indexInfos=e.emptyArray,t.isolatedSignatureType=i}return t.isolatedSignatureType}function Ju(e){return e.members?Uu(e.members):void 0}function Uu(e){return e.get("__index")}function qu(e,t,r,n){return{keyType:e,type:t,isReadonly:r,declaration:n}}function Vu(t){var r=Ju(t);return r?zu(r):e.emptyArray}function zu(t){if(t.declarations){for(var r=[],n=function(t){if(1===t.parameters.length){var n=t.parameters[0];n.type&&Sg(kd(n.type),(function(n){Wu(n)&&!nu(r,n)&&r.push(qu(n,t.type?kd(t.type):we,e.hasEffectiveModifier(t,64),t))}))}},i=0,a=t.declarations;i<a.length;i++)n(a[i]);return r}return e.emptyArray}function Wu(t){return!!(4108&t.flags)||Lp(t)||!!(2097152&t.flags)&&!Mp(t)&&e.some(t.types,Wu)}function Hu(t){return e.mapDefined(e.filter(t.symbol&&t.symbol.declarations,e.isTypeParameterDeclaration),e.getEffectiveConstraintOfTypeParameter)[0]}function Gu(t){if(!t.constraint)if(t.target){var r=Pc(t.target);t.constraint=r?Qd(r,t.mapper):xt}else{var n=Hu(t);if(n){var i=kd(n);1&i.flags&&!ao(i)&&(i=194===n.parent.parent.kind?pt:je),t.constraint=i}else t.constraint=function(t){var r,n;if(null!==(r=t.symbol)&&void 0!==r&&r.declarations)for(var i=0,a=t.symbol.declarations;i<a.length;i++){var o=a[i];if(189===o.parent.kind){var s=e.walkUpParenthesizedTypesAndGetParentAndChild(o.parent.parent),c=s[0],u=void 0===c?o.parent:c,l=s[1];if(177===l.kind){var p=l,d=rx(p);if(d){var f=p.typeArguments.indexOf(u);if(f<d.length){var _=Pc(d[f]);if(_){var m=Qd(_,Id(d,ex(p,d)));m!==t&&(n=e.append(n,m))}}}}else if(163===l.kind&&l.dotDotDotToken||185===l.kind||196===l.kind&&l.dotDotDotToken)n=e.append(n,jl(je));else if(198===l.kind)n=e.append(n,He);else if(162===l.kind&&194===l.parent.kind)n=e.append(n,pt);else if(194===l.kind&&l.type&&e.skipParentheses(l.type)===o.parent&&188===l.parent.kind&&l.parent.extendsType===l&&194===l.parent.checkType.kind&&l.parent.checkType.type){var g=l.parent.checkType,h=kd(g.type);n=e.append(n,Qd(h,Ld(Es(ra(g.typeParameter)),g.typeParameter.constraint?kd(g.typeParameter.constraint):pt)))}}}return n&&mp(n)}(t)||xt}return t.constraint===xt?void 0:t.constraint}function $u(t){var r=e.getDeclarationOfKind(t.symbol,162),n=e.isJSDocTemplateTag(r.parent)?e.getEffectiveContainerForJSDocTemplateTag(r.parent):r.parent;return n&&ra(n)}function Yu(e){var t="";if(e)for(var r=e.length,n=0;n<r;){for(var i=e[n].id,a=1;n+a<r&&e[n+a].id===i+a;)a++;t.length&&(t+=","),t+=i,a>1&&(t+=":"+a),n+=a}return t}function Xu(e,t){return e?"@".concat(M(e))+(t?":".concat(Yu(t)):""):""}function Qu(t,r){for(var n=0,i=0,a=t;i<a.length;i++){var o=a[i];o.flags&r||(n|=e.getObjectFlags(o))}return 917504&n}function Zu(e,t){var r=Yu(t),n=e.instantiations.get(r);return n||(n=_a(4,e.symbol),e.instantiations.set(r,n),n.objectFlags|=t?Qu(t,0):0,n.target=e,n.resolvedTypeArguments=t),n}function el(e){var t=pa(e.flags);return t.symbol=e.symbol,t.objectFlags=e.objectFlags,t.target=e.target,t.resolvedTypeArguments=e.resolvedTypeArguments,t}function tl(e,t,r,n,i){if(!n){var a=cd(n=sd(t));i=r?Pd(a,r):a}var o=_a(4,e.symbol);return o.target=e,o.node=t,o.mapper=r,o.aliasSymbol=n,o.aliasTypeArguments=i,o}function rl(t){var r,n;if(!t.resolvedTypeArguments){if(!Qa(t,6))return(null===(r=t.target.localTypeParameters)||void 0===r?void 0:r.map((function(){return Le})))||e.emptyArray;var i=t.node,a=i?177===i.kind?e.concatenate(t.target.outerTypeParameters,ex(i,t.target.localTypeParameters)):182===i.kind?[kd(i.elementType)]:e.map(i.elements,kd):e.emptyArray;to()?t.resolvedTypeArguments=t.mapper?Pd(a,t.mapper):a:(t.resolvedTypeArguments=(null===(n=t.target.localTypeParameters)||void 0===n?void 0:n.map((function(){return Le})))||e.emptyArray,In(t.node||p,t.target.symbol?e.Diagnostics.Type_arguments_for_0_circularly_reference_themselves:e.Diagnostics.Tuple_type_arguments_circularly_reference_themselves,t.target.symbol&&Ma(t.target.symbol)))}return t.resolvedTypeArguments}function nl(t){return e.length(t.target.typeParameters)}function il(t,r){var n=Ss(ta(r)),i=n.localTypeParameters;if(i){var a=e.length(t.typeArguments),o=Du(i),s=e.isInJSFile(t);if((X||!s)&&(a<o||a>i.length)){var c=s&&e.isExpressionWithTypeArguments(t)&&!e.isJSDocAugmentsTag(t.parent);if(In(t,o===i.length?c?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:c?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,Ba(n,void 0,2),o,i.length),!s)return Le}return 177===t.kind&&ql(t,e.length(t.typeArguments)!==i.length)?tl(n,t,void 0):Zu(n,e.concatenate(n.outerTypeParameters,bu(vl(t),i,o,s)))}return gl(t,r)?n:Le}function al(t,r,n,i){var a=Ss(t);if(a===Be&&w.has(t.escapedName)&&r&&1===r.length)return Ap(t,r[0]);var o=$n(t),s=o.typeParameters,c=Yu(r)+Xu(n,i),u=o.instantiations.get(c);return u||o.instantiations.set(c,u=Zd(a,Id(s,bu(r,s,Du(s),e.isInJSFile(t.valueDeclaration))),n,i)),u}function ol(t){var r,n=null===(r=t.declarations)||void 0===r?void 0:r.find(e.isTypeAlias);return!(!n||!e.getContainingFunction(n))}function sl(e){return e.parent?"".concat(sl(e.parent),".").concat(e.escapedName):e.escapedName}function cl(e){var t=(160===e.kind?e.right:205===e.kind?e.name:e).escapedText;if(t){var r=160===e.kind?cl(e.left):205===e.kind?cl(e.expression):void 0,n=r?"".concat(sl(r),".").concat(t):t,i=Pe.get(n);return i||(Pe.set(n,i=Kn(524288,t,1048576)),i.parent=r,i.declaredType=Me),i}return Ae}function ul(t,r,n){var i=function(t){switch(t.kind){case 177:return t.typeName;case 227:var r=t.expression;if(e.isEntityNameExpression(r))return r}}(t);if(!i)return Ae;var a=Bi(i,r,n);return a&&a!==Ae?a:n?Ae:cl(i)}function ll(t,r){if(r===Ae)return Le;if(96&(r=function(t){var r=t.valueDeclaration;if(r&&e.isInJSFile(r)&&!(524288&t.flags)&&!e.getExpandoInitializer(r,!1)){var n=e.isVariableDeclaration(r)?e.getDeclaredExpandoInitializer(r):e.getAssignedExpandoInitializer(r);if(n){var i=ra(n);if(i)return cD(i,t)}}}(r)||r).flags)return il(t,r);if(524288&r.flags)return function(t,r){if(1048576&e.getCheckFlags(r)){var n=vl(t),i=Xu(r,n),a=Fe.get(i);return a||((a=fa(1,"error")).aliasSymbol=r,a.aliasTypeArguments=n,Fe.set(i,a)),a}var o=Ss(r),s=$n(r).typeParameters;if(s){var c=e.length(t.typeArguments),u=Du(s);if(c<u||c>s.length)return In(t,u===s.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Ma(r),u,s.length),Le;var l=sd(t),p=!l||!ol(r)&&ol(l)?void 0:l;return al(r,vl(t),p,cd(p))}return gl(t,r)?o:Le}(t,r);var n=Cs(r);return n?gl(t,r)?hd(n):Le:111551&r.flags&&ml(t)?function(e,t){var r=Yn(e);if(!r.resolvedJSDocType){var n=Yo(t),i=n;if(t.valueDeclaration){var a=199===e.kind&&e.qualifier;n.symbol&&n.symbol!==t&&a&&(i=ll(e,n.symbol))}r.resolvedJSDocType=i}return r.resolvedJSDocType}(t,r)||(ul(t,788968),Yo(r)):Le}function pl(e,t){if(3&t.flags||t===e)return e;var r="".concat(ep(e),">").concat(ep(t)),n=Se.get(r);if(n)return n;var i=pa(33554432);return i.baseType=e,i.substitute=t,Se.set(r,i),i}function dl(e){return 183===e.kind&&1===e.elements.length}function fl(e,t,r){return dl(t)&&dl(r)?fl(e,t.elements[0],r.elements[0]):$p(kd(t))===$p(e)?kd(r):void 0}function _l(t,r){for(var n,i=!0;r&&!e.isStatement(r)&&318!==r.kind;){var a=r.parent;if(163===a.kind&&(i=!i),(i||8650752&t.flags)&&188===a.kind&&r===a.trueType){var o=fl(t,a.checkType,a.extendsType);o&&(n=e.append(n,o))}r=a}return n?pl(t,mp(e.append(n,t))):t}function ml(e){return!!(4194304&e.flags)&&(177===e.kind||199===e.kind)}function gl(t,r){return!t.typeArguments||(In(t,e.Diagnostics.Type_0_is_not_generic,r?Ma(r):t.typeName?e.declarationNameToString(t.typeName):l),!1)}function hl(t){if(e.isIdentifier(t.typeName)){var r=t.typeArguments;switch(t.typeName.escapedText){case"String":return gl(t),He;case"Number":return gl(t),Ge;case"Boolean":return gl(t),et;case"Void":return gl(t),rt;case"Undefined":return gl(t),Je;case"Null":return gl(t),ze;case"Function":case"function":return gl(t),wt;case"array":return r&&r.length||X?void 0:Ut;case"promise":return r&&r.length||X?void 0:VD(we);case"Object":if(r&&2===r.length){if(e.isJSDocIndexSignature(t)){var n=kd(r[0]),i=kd(r[1]),a=n===He||n===Ge?[qu(n,i,!1)]:e.emptyArray;return Da(void 0,k,e.emptyArray,e.emptyArray,a)}return we}return gl(t),X?void 0:we}}}function yl(t){var r=Yn(t);if(!r.resolvedType){if(e.isConstTypeReference(t)&&e.isAssertionExpression(t.parent))return r.resolvedSymbol=Ae,r.resolvedType=Sb(t.parent.expression);var n=void 0,i=void 0,a=788968;ml(t)&&((i=hl(t))||((n=ul(t,a,!0))===Ae?n=ul(t,900095):ul(t,a),i=ll(t,n))),i||(i=ll(t,n=ul(t,a))),r.resolvedSymbol=n,r.resolvedType=i}return r.resolvedType}function vl(t){return e.map(t.typeArguments,kd)}function Dl(t){var r=Yn(t);if(!r.resolvedType){var n=e.isThisIdentifier(t.exprName)?_h(t.exprName):Ub(t.exprName);r.resolvedType=hd(rm(n))}return r.resolvedType}function bl(t,r){function n(e){var t=e.declarations;if(t)for(var r=0,n=t;r<n.length;r++){var i=n[r];switch(i.kind){case 256:case 257:case 259:return i}}}if(!t)return r?Dt:gt;var i=Ss(t);return 524288&i.flags?e.length(i.typeParameters)!==r?(In(n(t),e.Diagnostics.Global_type_0_must_have_1_type_parameter_s,e.symbolName(t),r),r?Dt:gt):i:(In(n(t),e.Diagnostics.Global_type_0_must_be_a_class_or_interface_type,e.symbolName(t)),r?Dt:gt)}function xl(t,r){return Cl(t,111551,r?e.Diagnostics.Cannot_find_global_value_0:void 0)}function El(t,r){return Cl(t,788968,r?e.Diagnostics.Cannot_find_global_type_0:void 0)}function Sl(t,r,n){var i=Cl(t,788968,n?e.Diagnostics.Cannot_find_global_type_0:void 0);if(!i||(Ss(i),e.length($n(i).typeParameters)===r))return i;In(i.declarations&&e.find(i.declarations,e.isTypeAliasDeclaration),e.Diagnostics.Global_type_0_must_have_1_type_parameter_s,e.symbolName(i),r)}function Cl(e,t,r){return ti(void 0,e,t,r,e,!1,!1,!1)}function Tl(e,t,r){var n=El(e,r);return n||r?bl(n,t):void 0}function kl(){return pr||(pr=Tl("ImportMeta",0,!0)||gt)}function Al(e){return fr||(fr=Tl("ImportCallOptions",0,e))||gt}function Nl(e){return Wt||(Wt=xl("Symbol",e))}function Pl(e){return Gt||(Gt=Tl("Symbol",0,e))||gt}function Fl(e){return Yt||(Yt=Tl("Promise",1,e))||Dt}function wl(e){return Xt||(Xt=Tl("PromiseLike",1,e))||Dt}function Il(e){return Qt||(Qt=xl("Promise",e))}function Ol(e){return er||(er=Tl("Iterable",1,e))||Dt}function Ll(e,t){void 0===t&&(t=0);var r=Cl(e,788968,void 0);return r&&bl(r,t)}function Ml(e){return gr||(gr=Sl("Awaited",1,e)||(e?Ae:void 0)),gr===Ae?void 0:gr}function Rl(e,t){return e!==Dt?Zu(e,t):gt}function Bl(e){return Rl($t||($t=Tl("TypedPropertyDescriptor",1,!0)||Dt),[e])}function jl(e,t){return Rl(t?Mt:Lt,[e])}function Kl(e){switch(e.kind){case 184:return 2;case 185:return Jl(e);case 196:return e.questionToken?2:e.dotDotDotToken?Jl(e):1;default:return 1}}function Jl(e){return Td(e.type)?4:8}function Ul(t){var r=function(t){return e.isTypeOperatorNode(t)&&144===t.operator}(t.parent);return Td(t)?r?Mt:Lt:Hl(e.map(t.elements,Kl),r,e.some(t.elements,(function(e){return 196!==e.kind}))?void 0:t.elements)}function ql(t,r){return!!sd(t)||Vl(t)&&(182===t.kind?zl(t.elementType):183===t.kind?e.some(t.elements,zl):r||e.some(t.typeArguments,zl))}function Vl(e){var t=e.parent;switch(t.kind){case 190:case 196:case 177:case 186:case 187:case 193:case 188:case 192:case 182:case 183:return Vl(t);case 258:return!0}return!1}function zl(t){switch(t.kind){case 177:return ml(t)||!!(524288&ul(t,788968).flags);case 180:return!0;case 192:return 153!==t.operator&&zl(t.type);case 190:case 184:case 196:case 314:case 312:case 313:case 307:return zl(t.type);case 185:return 182!==t.type.kind||zl(t.type.elementType);case 186:case 187:return e.some(t.types,zl);case 193:return zl(t.objectType)||zl(t.indexType);case 188:return zl(t.checkType)||zl(t.extendsType)||zl(t.trueType)||zl(t.falseType)}return!1}function Wl(t,r,n,i){void 0===n&&(n=!1);var a=Hl(r||e.map(t,(function(e){return 1})),n,i);return a===Dt?gt:t.length?Gl(a,t):a}function Hl(t,r,n){if(1===t.length&&4&t[0])return r?Mt:Lt;var i=e.map(t,(function(e){return 1&e?"#":2&e?"?":4&e?".":"*"})).join()+(r?"R":"")+(n&&n.length?","+e.map(n,L).join(","):""),a=_e.get(i);return a||_e.set(i,a=function(t,r,n){var i,a=t.length,o=e.countWhere(t,(function(e){return!!(9&e)})),s=[],c=0;if(a){i=new Array(a);for(var u=0;u<a;u++){var l=i[u]=ma(),p=t[u];if(!(12&(c|=p))){var d=Kn(4|(2&p?16777216:0),""+u,r?8:0);d.tupleLabelDeclaration=null==n?void 0:n[u],d.type=l,s.push(d)}}}var f=s.length,_=Kn(4,"length");if(12&c)_.type=Ge;else{var m=[];for(u=o;u<=a;u++)m.push(Dd(u));_.type=sp(m)}s.push(_);var g=_a(12);return g.typeParameters=i,g.outerTypeParameters=void 0,g.localTypeParameters=i,g.instantiations=new e.Map,g.instantiations.set(Yu(g.typeParameters),g),g.target=g,g.resolvedTypeArguments=g.typeParameters,g.thisType=ma(),g.thisType.isThisType=!0,g.thisType.constraint=g,g.declaredProperties=s,g.declaredCallSignatures=e.emptyArray,g.declaredConstructSignatures=e.emptyArray,g.declaredIndexInfos=e.emptyArray,g.elementFlags=t,g.minLength=o,g.fixedLength=f,g.hasRestElement=!!(12&c),g.combinedFlags=c,g.readonly=r,g.labeledElementDeclarations=n,g}(t,r,n)),a}function Gl(e,t){return 8&e.objectFlags?$l(e,t):Zu(e,t)}function $l(t,r){var n,i,a;if(!(14&t.combinedFlags))return Zu(t,r);if(8&t.combinedFlags){var o=e.findIndex(r,(function(e,r){return!!(8&t.elementFlags[r]&&1179648&e.flags)}));if(o>=0)return hp(e.map(r,(function(e,r){return 8&t.elementFlags[r]?e:je})))?Pg(r[o],(function(n){return $l(t,e.replaceElement(r,o,n))})):Le}for(var s=[],c=[],u=[],l=-1,d=-1,f=-1,_=function(o){var c=r[o],u=t.elementFlags[o];if(8&u)if(58982400&c.flags||Ec(c))y(c,8,null===(n=t.labeledElementDeclarations)||void 0===n?void 0:n[o]);else if(k_(c)){var l=rl(c);if(l.length+s.length>=1e4)return In(p,e.isPartOfTypeNode(p)?e.Diagnostics.Type_produces_a_tuple_type_that_is_too_large_to_represent:e.Diagnostics.Expression_produces_a_tuple_type_that_is_too_large_to_represent),{value:Le};e.forEach(l,(function(e,t){var r;return y(e,c.target.elementFlags[t],null===(r=c.target.labeledElementDeclarations)||void 0===r?void 0:r[t])}))}else y(d_(c)&&uu(c,Ge)||Le,4,null===(i=t.labeledElementDeclarations)||void 0===i?void 0:i[o]);else y(c,u,null===(a=t.labeledElementDeclarations)||void 0===a?void 0:a[o])},m=0;m<r.length;m++){var g=_(m);if("object"==typeof g)return g.value}for(m=0;m<l;m++)2&c[m]&&(c[m]=1);d>=0&&d<f&&(s[d]=sp(e.sameMap(s.slice(d,f+1),(function(e,t){return 8&c[d+t]?Vp(e,Ge):e}))),s.splice(d+1,f-d),c.splice(d+1,f-d),null==u||u.splice(d+1,f-d));var h=Hl(c,t.readonly,u);return h===Dt?gt:c.length?Zu(h,s):h;function y(e,t,r){1&t&&(l=c.length),4&t&&d<0&&(d=c.length),6&t&&(f=c.length),s.push(e),c.push(t),u&&r?u.push(r):u=void 0}}function Yl(t,r,n){void 0===n&&(n=0);var i=t.target,a=nl(t)-n;return r>i.fixedLength?function(e){var t=P_(e);return t&&jl(t)}(t)||Wl(e.emptyArray):Wl(rl(t).slice(r,a),i.elementFlags.slice(r,a),!1,i.labeledElementDeclarations&&i.labeledElementDeclarations.slice(r,a))}function Xl(t){return sp(e.append(e.arrayOf(t.target.fixedLength,(function(e){return vd(""+e)})),Sp(t.target.readonly?Mt:Lt)))}function Ql(t,r){var n=e.findIndex(t.elementFlags,(function(e){return!(e&r)}));return n>=0?n:t.elementFlags.length}function Zl(t,r){return t.elementFlags.length-e.findLastIndex(t.elementFlags,(function(e){return!(e&r)}))-1}function ep(e){return e.id}function tp(t,r){return e.binarySearch(t,r,ep,e.compareValues)>=0}function rp(t,r){var n=e.binarySearch(t,r,ep,e.compareValues);return n<0&&(t.splice(~n,0,r),!0)}function np(t,r,n){var i=n.flags;if(1048576&i)return ip(t,r|(function(e){return!!(1048576&e.flags&&(e.aliasSymbol||e.origin))}(n)?1048576:0),n.types);if(!(131072&i))if(r|=205258751&i,465829888&i&&(r|=33554432),n===Oe&&(r|=8388608),!H&&98304&i)131072&e.getObjectFlags(n)||(r|=4194304);else{var a=t.length,o=a&&n.id>t[a-1].id?~a:e.binarySearch(t,n,ep,e.compareValues);o<0&&t.splice(~o,0,n)}return r}function ip(e,t,r){for(var n=0,i=r;n<i.length;n++)t=np(e,t,i[n]);return t}function ap(t,r){for(var n=0,i=r;n<i.length;n++){var a=i[n];if(1048576&a.flags){var o=a.origin;a.aliasSymbol||o&&!(1048576&o.flags)?e.pushIfUnique(t,a):o&&1048576&o.flags&&ap(t,o.types)}}}function op(e,t){var r=da(e);return r.types=t,r}function sp(t,r,n,i,a){if(void 0===r&&(r=1),0===t.length)return nt;if(1===t.length)return t[0];var o=[],s=ip(o,0,t);if(0!==r){if(3&s)return 1&s?8388608&s?Oe:we:65536&s||tp(o,je)?je:Ke;if(re&&32768&s){var c=e.binarySearch(o,Ve,ep,e.compareValues);c>=0&&tp(o,Je)&&e.orderedRemoveItemAt(o,c)}if((402664320&s||16384&s&&32768&s)&&function(t,r,n){for(var i=t.length;i>0;){var a=t[--i],o=a.flags;(402653312&o&&4&r||256&o&&8&r||2048&o&&64&r||8192&o&&4096&r||n&&32768&o&&16384&r||yd(a)&&tp(t,a.regularType))&&e.orderedRemoveItemAt(t,i)}}(o,s,!!(2&r)),128&s&&134217728&s&&function(t){var r=e.filter(t,Lp);if(r.length)for(var n=t.length,i=function(){n--;var i=t[n];128&i.flags&&e.some(r,(function(e){return Nm(i,e)}))&&e.orderedRemoveItemAt(t,n)};n>0;)i()}(o),2===r&&!(o=function(t,r){var n=Yu(t),i=Ce.get(n);if(i)return i;for(var a=r&&e.some(t,(function(e){return!!(524288&e.flags)&&!Ec(e)&&Pf(Sc(e))})),o=t.length,s=o,c=0;s>0;){var u=t[--s];if(a||469499904&u.flags)for(var l=61603840&u.flags?e.find(Ac(u),(function(e){return v_(Yo(e))})):void 0,d=l&&hd(Yo(l)),f=0,_=t;f<_.length;f++){var m=_[f];if(u!==m){if(1e5===c&&c/(o-s)*o>1e6)return null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","removeSubtypes_DepthLimit",{typeIds:t.map((function(e){return e.id}))}),void In(p,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);if(c++,l&&61603840&m.flags){var g=no(m,l.escapedName);if(g&&v_(g)&&hd(g)!==d)continue}if(Mf(u,m,bn)&&(!(1&e.getObjectFlags(Zo(u)))||!(1&e.getObjectFlags(Zo(m)))||_f(u,m))){e.orderedRemoveItemAt(t,s);break}}}}return Ce.set(n,t),t}(o,!!(524288&s))))return Le;if(0===o.length)return 65536&s?4194304&s?ze:We:32768&s?4194304&s?Je:Ue:nt}if(!a&&1048576&s){var u=[];ap(u,t);for(var l=[],d=function(t){e.some(u,(function(e){return tp(e.types,t)}))||l.push(t)},f=0,_=o;f<_.length;f++)d(h=_[f]);if(!n&&1===u.length&&0===l.length)return u[0];if(e.reduceLeft(u,(function(e,t){return e+t.types.length}),0)+l.length===o.length){for(var m=0,g=u;m<g.length;m++){var h=g[m];rp(l,h)}a=op(1048576,l)}}return up(o,(36323363&s?0:65536)|(2097152&s?33554432:0),n,i,a)}function cp(e,t){return e.kind===t.kind&&e.parameterIndex===t.parameterIndex}function up(e,t,r,n,i){if(0===e.length)return nt;if(1===e.length)return e[0];var a=(i?1048576&i.flags?"|".concat(Yu(i.types)):2097152&i.flags?"&".concat(Yu(i.types)):"#".concat(i.type.id,"|").concat(Yu(e)):Yu(e))+Xu(r,n),o=me.get(a);return o||((o=pa(1048576)).objectFlags=t|Qu(e,98304),o.types=e,o.origin=i,o.aliasSymbol=r,o.aliasTypeArguments=n,2===e.length&&512&e[0].flags&&512&e[1].flags&&(o.flags|=16,o.intrinsicName="boolean"),me.set(a,o)),o}function lp(e,t,r){var n=r.flags;return 2097152&n?pp(e,t,r.types):(wf(r)?16777216&t||(t|=16777216,e.set(r.id.toString(),r)):(3&n?r===Oe&&(t|=8388608):(H||!(98304&n))&&(re&&r===Ve&&(t|=262144,r=Je),e.has(r.id.toString())||(109440&r.flags&&109440&t&&(t|=67108864),e.set(r.id.toString(),r))),t|=205258751&n),t)}function pp(e,t,r){for(var n=0,i=r;n<i.length;n++)t=lp(e,t,hd(i[n]));return t}function dp(e,t){for(var r=0,n=e;r<n.length;r++){var i=n[r];if(!tp(i.types,t)){var a=128&t.flags?He:256&t.flags?Ge:2048&t.flags?$e:8192&t.flags?tt:void 0;if(!a||!tp(i.types,a))return!1}}return!0}function fp(t,r){return e.every(t,(function(t){return!!(1048576&t.flags)&&e.some(t.types,(function(e){return!!(e.flags&r)}))}))}function _p(e,t){for(var r=0;r<e.length;r++)e[r]=kg(e[r],(function(e){return!(e.flags&t)}))}function mp(t,r,n){var i=new e.Map,a=pp(i,0,t),o=e.arrayFrom(i.values());if(131072&a)return e.contains(o,it)?it:nt;if(H&&98304&a&&84410368&a||67108864&a&&402783228&a||402653316&a&&67238776&a||296&a&&469891796&a||2112&a&&469889980&a||12288&a&&469879804&a||49152&a&&469842940&a||134217728&a&&128&a&&function(t){for(var r=t.length,n=e.filter(t,(function(e){return!!(128&e.flags)}));r>0;){var i=t[--r];if(134217728&i.flags)for(var a=0,o=n;a<o.length;a++){if(df(o[a],i)){e.orderedRemoveItemAt(t,r);break}if(Lp(i))return!0}}return!1}(o))return nt;if(1&a)return 8388608&a?Oe:we;if(!H&&98304&a)return 32768&a?Je:ze;if((4&a&&128&a||8&a&&256&a||64&a&&2048&a||4096&a&&8192&a)&&function(t,r){for(var n=t.length;n>0;){var i=t[--n];(4&i.flags&&128&r||8&i.flags&&256&r||64&i.flags&&2048&r||4096&i.flags&&8192&r)&&e.orderedRemoveItemAt(t,n)}}(o,a),16777216&a&&524288&a&&e.orderedRemoveItemAt(o,e.findIndex(o,wf)),262144&a&&(o[o.indexOf(Je)]=Ve),0===o.length)return je;if(1===o.length)return o[0];var s=Yu(o)+Xu(r,n),c=ge.get(s);if(!c){if(1048576&a)if(function(t){var r,n=e.findIndex(t,(function(t){return!!(65536&e.getObjectFlags(t))}));if(n<0)return!1;for(var i=n+1;i<t.length;){var a=t[i];65536&e.getObjectFlags(a)?((r||(r=[t[n]])).push(a),e.orderedRemoveItemAt(t,i)):i++}if(!r)return!1;for(var o=[],s=[],c=0,u=r;c<u.length;c++)for(var l=0,p=u[c].types;l<p.length;l++)rp(o,a=p[l])&&dp(r,a)&&rp(s,a);return t[n]=up(s,65536),!0}(o))c=mp(o,r,n);else if(fp(o,32768)){var u=re&&e.some(o,(function(e){return tp(e.types,Ve)}))?Ve:Je;_p(o,32768),c=sp([mp(o),u],1,r,n)}else if(fp(o,65536))_p(o,65536),c=sp([mp(o),ze],1,r,n);else{if(!hp(o))return Le;var l=function(e){for(var t=gp(e),r=[],n=0;n<t;n++){for(var i=e.slice(),a=n,o=e.length-1;o>=0;o--)if(1048576&e[o].flags){var s=e[o].types,c=s.length;i[o]=s[a%c],a=Math.floor(a/c)}var u=mp(i);131072&u.flags||r.push(u)}return r}(o);c=sp(l,1,r,n,e.some(l,(function(e){return!!(2097152&e.flags)}))?op(2097152,o):void 0)}else c=function(e,t,r){var n=pa(2097152);return n.objectFlags=Qu(e,98304),n.types=e,n.aliasSymbol=t,n.aliasTypeArguments=r,n}(o,r,n);ge.set(s,c)}return c}function gp(t){return e.reduceLeft(t,(function(e,t){return 1048576&t.flags?e*t.types.length:131072&t.flags?0:e}),1)}function hp(t){var r=gp(t);return!(r>=1e5&&(null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","checkCrossProductUnion_DepthLimit",{typeIds:t.map((function(e){return e.id})),size:r}),In(p,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),1))}function yp(e,t){var r=pa(4194304);return r.type=e,r.stringsOnly=t,r}function vp(e,t){return t?e.resolvedStringIndexType||(e.resolvedStringIndexType=yp(e,!0)):e.resolvedIndexType||(e.resolvedIndexType=yp(e,!1))}function Dp(t){return e.isPrivateIdentifier(t)?nt:e.isIdentifier(t)?vd(e.unescapeLeadingUnderscores(t.escapedText)):hd(e.isComputedPropertyName(t)?Zh(t):Ub(t))}function bp(t,r,n){if(n||!(24&e.getDeclarationModifierFlagsFromSymbol(t))){var i=$n(qs(t)).nameType;if(!i){var a=e.getNameOfDeclaration(t.valueDeclaration);i="default"===t.escapedName?vd("default"):a&&Dp(a)||(e.isKnownSymbol(t)?void 0:vd(e.symbolName(t)))}if(i&&i.flags&r)return i}return nt}function xp(t,r){return!!(t.flags&r||2097152&t.flags&&e.some(t.types,(function(e){return xp(e,r)})))}function Ep(t,r,n){var i=n&&(7&e.getObjectFlags(t)||t.aliasSymbol)?function(e){var t=da(4194304);return t.type=e,t}(t):void 0,a=e.map(Ac(t),(function(e){return bp(e,r)})),o=e.map(su(t),(function(e){return e!==Pr&&xp(e.keyType,r)?e.keyType===He&&8&r?ut:e.keyType:nt}));return sp(e.concatenate(a,o),1,void 0,void 0,i)}function Sp(t,r,n){return void 0===r&&(r=ee),1048576&(t=$c(t)).flags?mp(e.map(t.types,(function(e){return Sp(e,r,n)}))):2097152&t.flags?sp(e.map(t.types,(function(e){return Sp(e,r,n)}))):58982400&t.flags||A_(t)||Ec(t)&&!function(t){var r=fc(t);return function t(n){return!!(68157439&n.flags)||(16777216&n.flags?n.root.isDistributive&&n.checkType===r:137363456&n.flags?e.every(n.types,t):8388608&n.flags?t(n.objectType)&&t(n.indexType):33554432&n.flags?t(n.substitute):!!(268435456&n.flags)&&t(n.type))}(mc(t)||r)}(t)?vp(t,r):32&e.getObjectFlags(t)?function(e,t,r){var n=fc(e),i=_c(e),a=mc(e.target||e);if(!a&&!r)return i;var o=[];if(yc(e)){if(Bp(i))return vp(e,t);pc(Vc(vc(e)),8576,t,c)}else Sg(uc(i),c);Bp(i)&&Sg(i,c);var s=r?kg(sp(o),(function(e){return!(5&e.flags)})):sp(o);return 1048576&s.flags&&1048576&i.flags&&Yu(s.types)===Yu(i.types)?i:s;function c(t){var r=a?Qd(a,Jd(e.mapper,n,t)):t;o.push(r===He?ut:r)}}(t,r,n):t===Oe?Oe:2&t.flags?nt:131073&t.flags?pt:Ep(t,(n?128:402653316)|(r?0:12584),r===ee&&!n)}function Cp(e){if(ee)return e;var t=(_r||(_r=Sl("Extract",2,!0)||Ae),_r===Ae?void 0:_r);return t?al(t,[e,He]):He}function Tp(t,r){var n=e.findIndex(r,(function(e){return!!(1179648&e.flags)}));if(n>=0)return hp(r)?Pg(r[n],(function(i){return Tp(t,e.replaceElement(r,n,i))})):Le;if(e.contains(r,Oe))return Oe;var i=[],a=[],o=t[0];if(!function e(t,r){for(var n=0;n<r.length;n++){var s=r[n];if(101248&s.flags)o+=kp(s)||"",o+=t[n+1];else if(134217728&s.flags){if(o+=s.texts[0],!e(s.texts,s.types))return!1;o+=t[n+1]}else{if(!Bp(s)&&!Op(s))return!1;i.push(s),a.push(o),o=t[n+1]}}return!0}(t,r))return He;if(0===i.length)return vd(o);if(a.push(o),e.every(a,(function(e){return""===e}))&&e.every(i,(function(e){return!!(4&e.flags)})))return He;var s="".concat(Yu(i),"|").concat(e.map(a,(function(e){return e.length})).join(","),"|").concat(a.join("")),c=xe.get(s);return c||xe.set(s,c=function(e,t){var r=pa(134217728);return r.texts=e,r.types=t,r}(a,i)),c}function kp(t){return 128&t.flags?t.value:256&t.flags?""+t.value:2048&t.flags?e.pseudoBigIntToString(t.value):98816&t.flags?t.intrinsicName:void 0}function Ap(e,t){return 1179648&t.flags?Pg(t,(function(t){return Ap(e,t)})):Bp(t)?function(e,t){var r="".concat(M(e),",").concat(ep(t)),n=Ee.get(r);return n||Ee.set(r,n=function(e,t){var r=pa(268435456);return r.symbol=e,r.type=t,r}(e,t)),n}(e,t):128&t.flags?vd(function(e,t){switch(w.get(e.escapedName)){case 0:return t.toUpperCase();case 1:return t.toLowerCase();case 2:return t.charAt(0).toUpperCase()+t.slice(1);case 3:return t.charAt(0).toLowerCase()+t.slice(1)}return t}(e,t.value)):t}function Np(t){if(X)return!1;if(8192&e.getObjectFlags(t))return!0;if(1048576&t.flags)return e.every(t.types,Np);if(2097152&t.flags)return e.some(t.types,Np);if(465829888&t.flags){var r=Bc(t);return r!==t&&Np(r)}return!1}function Pp(t,r){return Os(t)?js(t):r&&e.isPropertyName(r)?e.getPropertyNameForPropertyNameNode(r):void 0}function Fp(t,r){if(8208&r.flags){var n=e.findAncestor(t.parent,(function(t){return!e.isAccessExpression(t)}))||t.parent;return e.isCallLikeExpression(n)?e.isCallOrNewExpression(n)&&e.isIdentifier(t)&&rg(n,t):e.every(r.declarations,(function(t){return!e.isFunctionLike(t)||!!(134217728&e.getCombinedNodeFlags(t))}))}return!0}function wp(t,r,n,i,a,o){var s,c=a&&206===a.kind?a:void 0,u=a&&e.isPrivateIdentifier(a)?void 0:Pp(n,a);if(void 0!==u){if(256&o)return Fh(r,u)||we;var l=eu(r,u);if(l){if(64&o&&a&&l.declarations&&Bn(l)&&Fp(a,l)&&jn(null!==(s=null==c?void 0:c.argumentExpression)&&void 0!==s?s:e.isIndexedAccessTypeNode(a)?a.indexType:a,l.declarations,u),c){if(uv(l,c,lv(c.expression,r.symbol)),ab(c,l,e.getAssignmentTargetKind(c)))return void In(c.argumentExpression,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,Ma(l));if(8&o&&(Yn(a).resolvedSymbol=l),Gy(c,l))return Ie}var p=Yo(l);return c&&1!==e.getAssignmentTargetKind(c)?Qg(c,p):p}if(Tg(r,k_)&&e.isNumericLiteralName(u)&&+u>=0){if(a&&Tg(r,(function(e){return!e.target.hasRestElement}))&&!(16&o)){var d=Ip(a);k_(r)?In(d,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,Ba(r),nl(r),e.unescapeLeadingUnderscores(u)):In(d,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(u),Ba(r))}return D(cu(r,Ge)),Pg(r,(function(e){var t=P_(e)||Je;return 1&o?sp([t,Je]):t}))}}if(!(98304&n.flags)&&lb(n,402665900)){if(131073&r.flags)return r;var f=pu(r,n)||cu(r,He);if(f)return 2&o&&f.keyType!==Ge?void(c&&In(c,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,Ba(n),Ba(t))):a&&f.keyType===He&&!lb(n,12)?(In(d=Ip(a),e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,Ba(n)),1&o?sp([f.type,Je]):f.type):(D(f),1&o?sp([f.type,Je]):f.type);if(131072&n.flags)return nt;if(Np(r))return we;if(c&&!db(r)){if(Lm(r)){if(X&&384&n.flags)return gn.add(e.createDiagnosticForNode(c,e.Diagnostics.Property_0_does_not_exist_on_type_1,n.value,Ba(r))),Je;if(12&n.flags){var _=e.map(r.properties,(function(e){return Yo(e)}));return sp(e.append(_,Je))}}if(r.symbol===ce&&void 0!==u&&ce.exports.has(u)&&418&ce.exports.get(u).flags)In(c,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(u),Ba(r));else if(X&&!N.suppressImplicitAnyIndexErrors&&!(128&o))if(void 0!==u&&tv(u,r)){var m=Ba(r);In(c,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,u,m,m+"["+e.getTextOfNode(c.argumentExpression)+"]")}else if(uu(r,Ge))In(c.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var g=void 0;if(void 0!==u&&(g=av(u,r)))void 0!==g&&In(c.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,u,Ba(r),g);else{var h=function(t,r,n){function i(e){var r=Tc(t,e);if(r){var i=kv(Yo(r));return!!i&&LD(i)>=1&&ff(n,FD(i,0))}return!1}var a=e.isAssignmentTarget(r)?"set":"get";if(i(a)){var o=e.tryGetPropertyAccessOrIdentifierToString(r.expression);return void 0===o?o=a:o+="."+a,o}}(r,c,n);if(void 0!==h)In(c,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,Ba(r),h);else{var y=void 0;if(1024&n.flags)y=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+Ba(n)+"]",Ba(r));else if(8192&n.flags){var v=Ri(n.symbol,c);y=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+v+"]",Ba(r))}else 128&n.flags||256&n.flags?y=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,n.value,Ba(r)):12&n.flags&&(y=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,Ba(n),Ba(r)));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,Ba(i),Ba(r)),gn.add(e.createDiagnosticForNodeFromMessageChain(c,y))}}}return}}return Np(r)?we:(a&&(d=Ip(a),384&n.flags?In(d,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+n.value,Ba(r)):12&n.flags?In(d,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,Ba(r),Ba(n)):In(d,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,Ba(n))),io(n)?n:void 0);function D(t){t&&t.isReadonly&&c&&(e.isAssignmentTarget(c)||e.isDeleteTarget(c))&&In(c,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,Ba(r))}}function Ip(e){return 206===e.kind?e.argumentExpression:193===e.kind?e.indexType:161===e.kind?e.expression:e}function Op(e){return!!(77&e.flags)}function Lp(t){return!!(134217728&t.flags)&&e.every(t.types,Op)}function Mp(e){return!!jp(e)}function Rp(e){return!!(8388608&jp(e))}function Bp(e){return!!(16777216&jp(e))}function jp(t){return 3145728&t.flags?(4194304&t.objectFlags||(t.objectFlags|=4194304|e.reduceLeft(t.types,(function(e,t){return e|jp(t)}),0)),25165824&t.objectFlags):33554432&t.flags?(4194304&t.objectFlags||(t.objectFlags|=4194304|jp(t.substitute)|jp(t.baseType)),25165824&t.objectFlags):(58982400&t.flags||Ec(t)||A_(t)?8388608:0)|(465829888&t.flags&&!Lp(t)?16777216:0)}function Kp(t,r){return 8388608&t.flags?function(t,r){var n=r?"simplifiedForWriting":"simplifiedForReading";if(t[n])return t[n]===Et?t:t[n];t[n]=Et;var i=Kp(t.objectType,r),a=Kp(t.indexType,r),o=function(t,r,n){if(1048576&r.flags){var i=e.map(r.types,(function(e){return Kp(Vp(t,e),n)}));return n?mp(i):sp(i)}}(i,a,r);if(o)return t[n]=o;if(!(465829888&a.flags)){var s=Jp(i,a,r);if(s)return t[n]=s}if(A_(i)&&296&a.flags){var c=F_(i,8&a.flags?0:i.target.fixedLength,0,r);if(c)return t[n]=c}return Ec(i)?t[n]=Pg(qp(i,t.indexType),(function(e){return Kp(e,r)})):t[n]=t}(t,r):16777216&t.flags?function(e,t){var r=e.checkType,n=e.extendsType,i=ed(e),a=td(e);if(131072&a.flags&&$p(i)===$p(r)){if(1&r.flags||ff(tf(r),tf(n)))return Kp(i,t);if(Up(r,n))return nt}else if(131072&i.flags&&$p(a)===$p(r)){if(!(1&r.flags)&&ff(tf(r),tf(n)))return nt;if(1&r.flags||Up(r,n))return Kp(a,t)}return e}(t,r):t}function Jp(t,r,n){if(3145728&t.flags){var i=e.map(t.types,(function(e){return Kp(Vp(e,r),n)}));return 2097152&t.flags||n?mp(i):sp(i)}}function Up(e,t){return!!(131072&sp([rc(e,t),nt]).flags)}function qp(e,t){var r=Id([fc(e)],[t]),n=jd(e.mapper,r);return Qd(gc(e),n)}function Vp(e,t,r,n,i,a){return void 0===r&&(r=0),Wp(e,t,r,n,i,a)||(n?Le:je)}function zp(t,r){return Tg(t,(function(t){if(384&t.flags){var n=js(t);if(e.isNumericLiteralName(n)){var i=+n;return i>=0&&i<r}}return!1}))}function Wp(e,t,r,n,i,a){if(void 0===r&&(r=0),e===Oe||t===Oe)return Oe;if(If(e)&&!(98304&t.flags)&&lb(t,12)&&(t=He),N.noUncheckedIndexedAccess&&32&r&&(r|=1),Bp(t)||(n&&193!==n.kind?A_(e)&&!zp(t,e.target.fixedLength):Rp(e)&&(!k_(e)||!zp(t,e.target.fixedLength)))){if(3&e.flags)return e;var o=1&r,s=e.id+","+t.id+","+o+Xu(i,a),c=be.get(s);return c||be.set(s,c=function(e,t,r,n,i){var a=pa(8388608);return a.objectType=e,a.indexType=t,a.accessFlags=r,a.aliasSymbol=n,a.aliasTypeArguments=i,a}(e,t,o,i,a)),c}var u=zc(e);if(1048576&t.flags&&!(16&t.flags)){for(var l=[],p=!1,d=0,f=t.types;d<f.length;d++){var _=wp(e,u,f[d],t,n,r|(p?128:0));if(_)l.push(_);else{if(!n)return;p=!0}}return p?void 0:4&r?mp(l,i,a):sp(l,1,i,a)}return wp(e,u,t,t,n,72|r)}function Hp(e){var t=Yn(e);if(!t.resolvedType){var r=kd(e.objectType),n=kd(e.indexType),i=sd(e),a=Vp(r,n,0,e,i,cd(i));t.resolvedType=8388608&a.flags&&a.objectType===r&&a.indexType===n?_l(a,e):a}return t.resolvedType}function Gp(e){var t=Yn(e);if(!t.resolvedType){var r=_a(32,e.symbol);r.declaration=e,r.aliasSymbol=sd(e),r.aliasTypeArguments=cd(r.aliasSymbol),t.resolvedType=r,_c(r)}return t.resolvedType}function $p(e){return 33554432&e.flags?e.baseType:8388608&e.flags&&(33554432&e.objectType.flags||33554432&e.indexType.flags)?Vp($p(e.objectType),$p(e.indexType)):e}function Yp(e){return!e.isDistributive&&Xp(e.node.checkType)&&Xp(e.node.extendsType)}function Xp(t){return e.isTupleTypeNode(t)&&1===e.length(t.elements)&&!e.isOptionalTypeNode(t.elements[0])&&!e.isRestTypeNode(t.elements[0])}function Qp(e,t){return Yp(e)&&k_(t)?rl(t)[0]:t}function Zp(t,r,n,i){for(var a,o,s=0;;){if(1e3===s){In(p,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),a=Le;break}var c=Yp(t),u=Qd(Qp(t,$p(t.checkType)),r),l=Mp(u),d=Qd(Qp(t,t.extendsType),r);if(u===Oe||d===Oe)return Oe;var f=void 0;if(t.inferTypeParameters){var _=um(t.inferTypeParameters,void 0,0);l||wm(_.inferences,u,d,1536),f=r?jd(_.mapper,r):_.mapper}var m=f?Qd(Qp(t,t.extendsType),f):d;if(!l&&!Mp(m)){if(!(3&m.flags)&&(1&u.flags&&!c||!ff(ef(u),ef(m)))){1&u.flags&&!c&&(o||(o=[])).push(Qd(kd(t.node.trueType),f||r));var g=kd(t.node.falseType);if(16777216&g.flags){var h=g.root;if(h.node.parent===t.node&&(!h.isDistributive||h.checkType===t.checkType)){t=h;continue}if(D(g,r))continue}a=Qd(g,r);break}if(3&m.flags||ff(tf(u),tf(m))){var y=kd(t.node.trueType),v=f||r;if(D(y,v))continue;a=Qd(y,v);break}}(a=pa(16777216)).root=t,a.checkType=Qd(t.checkType,r),a.extendsType=Qd(t.extendsType,r),a.mapper=r,a.combinedMapper=f,a.aliasSymbol=n||t.aliasSymbol,a.aliasTypeArguments=n?i:Pd(t.aliasTypeArguments,r);break}return o?sp(e.append(o,a)):a;function D(a,o){if(16777216&a.flags&&o){var c=a.root;if(c.outerTypeParameters){var u=jd(a.mapper,o),l=e.map(c.outerTypeParameters,(function(e){return Od(e,u)})),p=Id(c.outerTypeParameters,l),d=c.isDistributive?Od(c.checkType,p):void 0;if(!(d&&d!==c.checkType&&1179648&d.flags))return t=c,r=p,n=void 0,i=void 0,c.aliasSymbol&&s++,!0}}return!1}}function ed(e){return e.resolvedTrueType||(e.resolvedTrueType=Qd(kd(e.root.node.trueType),e.mapper))}function td(e){return e.resolvedFalseType||(e.resolvedFalseType=Qd(kd(e.root.node.falseType),e.mapper))}function rd(t){var r;return t.locals&&t.locals.forEach((function(t){262144&t.flags&&(r=e.append(r,Ss(t)))})),r}function nd(t){return e.isIdentifier(t)?[t]:e.append(nd(t.left),t.right)}function id(t){var r=Yn(t);if(!r.resolvedType){if(t.isTypeOf&&t.typeArguments)return In(t,e.Diagnostics.Type_arguments_cannot_be_used_here),r.resolvedSymbol=Ae,r.resolvedType=Le;if(!e.isLiteralImportTypeNode(t))return In(t.argument,e.Diagnostics.String_literal_expected),r.resolvedSymbol=Ae,r.resolvedType=Le;var n=t.isTypeOf?111551:4194304&t.flags?900095:788968,i=Ki(t,t.argument.literal);if(!i)return r.resolvedSymbol=Ae,r.resolvedType=Le;var a=Vi(i,!1);if(e.nodeIsMissing(t.qualifier))a.flags&n?r.resolvedType=ad(t,r,a,n):(In(t,111551===n?e.Diagnostics.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0,t.argument.literal.text),r.resolvedSymbol=Ae,r.resolvedType=Le);else{for(var o=nd(t.qualifier),s=a,c=void 0;c=o.shift();){var u=o.length?1920:n,l=ta(Ni(s)),p=t.isTypeOf?eu(Yo(l),c.escapedText):Qn(Xi(l),c.escapedText,u);if(!p)return In(c,e.Diagnostics.Namespace_0_has_no_exported_member_1,Ri(s),e.declarationNameToString(c)),r.resolvedType=Le;Yn(c).resolvedSymbol=p,Yn(c.parent).resolvedSymbol=p,s=p}r.resolvedType=ad(t,r,s,n)}}return r.resolvedType}function ad(e,t,r,n){var i=Ni(r);return t.resolvedSymbol=i,111551===n?Yo(r):ll(e,i)}function od(t){var r=Yn(t);if(!r.resolvedType){var n=sd(t);if(0!==Us(t.symbol).size||n){var i=_a(16,t.symbol);i.aliasSymbol=n,i.aliasTypeArguments=cd(n),e.isJSDocTypeLiteral(t)&&t.isArrayType&&(i=jl(i)),r.resolvedType=i}else r.resolvedType=vt}return r.resolvedType}function sd(t){for(var r=t.parent;e.isParenthesizedTypeNode(r)||e.isJSDocTypeExpression(r)||e.isTypeOperatorNode(r)&&144===r.operator;)r=r.parent;return e.isTypeAlias(r)?ra(r):void 0}function cd(e){return e?is(e):void 0}function ud(e){return!!(524288&e.flags)&&!Ec(e)}function ld(e){return Ff(e)||!!(474058748&e.flags)}function pd(t,r){if(!(1048576&t.flags))return t;if(e.every(t.types,ld))return e.find(t.types,Ff)||gt;var n=e.find(t.types,(function(e){return!ld(e)}));return n?e.find(t.types,(function(e){return e!==n&&!ld(e)}))?t:function(t){for(var n=e.createSymbolTable(),i=0,a=Ac(t);i<a.length;i++){var o=a[i];if(!(24&e.getDeclarationModifierFlagsFromSymbol(o))&&fd(o)){var s=65536&o.flags&&!(32768&o.flags),c=Kn(16777220,o.escapedName,lc(o)|(r?8:0));c.type=s?Je:yo(Yo(o),!0),c.declarations=o.declarations,c.nameType=$n(o).nameType,c.syntheticOrigin=o,n.set(o.escapedName,c)}}var u=Da(t.symbol,n,e.emptyArray,e.emptyArray,su(t));return u.objectFlags|=262272,u}(n):t}function dd(t,r,n,i,a){if(1&t.flags||1&r.flags)return we;if(2&t.flags||2&r.flags)return je;if(131072&t.flags)return r;if(131072&r.flags)return t;if(1048576&(t=pd(t,a)).flags)return hp([t,r])?Pg(t,(function(e){return dd(e,r,n,i,a)})):Le;if(1048576&(r=pd(r,a)).flags)return hp([t,r])?Pg(r,(function(e){return dd(t,e,n,i,a)})):Le;if(473960444&r.flags)return t;if(Rp(t)||Rp(r)){if(Ff(t))return r;if(2097152&t.flags){var o=t.types,s=o[o.length-1];if(ud(s)&&ud(r))return mp(e.concatenate(o.slice(0,o.length-1),[dd(s,r,n,i,a)]))}return mp([t,r])}for(var c=e.createSymbolTable(),u=new e.Set,l=t===gt?su(r):tc([t,r]),p=0,d=Ac(r);p<d.length;p++){var f=d[p];24&e.getDeclarationModifierFlagsFromSymbol(f)?u.add(f.escapedName):fd(f)&&c.set(f.escapedName,_d(f,a))}for(var _=0,m=Ac(t);_<m.length;_++){var g=m[_];if(!u.has(g.escapedName)&&fd(g))if(c.has(g.escapedName)){var h=Yo(f=c.get(g.escapedName));if(16777216&f.flags){var y=e.concatenate(g.declarations,f.declarations),v=Kn(4|16777216&g.flags,g.escapedName);v.type=sp([Yo(g),H_(h)],2),v.leftSpread=g,v.rightSpread=f,v.declarations=y,v.nameType=$n(g).nameType,c.set(g.escapedName,v)}}else c.set(g.escapedName,_d(g,a))}var D=Da(n,c,e.emptyArray,e.emptyArray,e.sameMap(l,(function(e){return function(e,t){return e.isReadonly!==t?qu(e.keyType,e.type,t,e.declaration):e}(e,a)})));return D.objectFlags|=4456576|i,D}function fd(t){var r;return!(e.some(t.declarations,e.isPrivateIdentifierClassElementDeclaration)||106496&t.flags&&null!==(r=t.declarations)&&void 0!==r&&r.some((function(t){return e.isClassLike(t.parent)})))}function _d(e,t){var r=65536&e.flags&&!(32768&e.flags);if(!r&&t===ib(e))return e;var n=Kn(4|16777216&e.flags,e.escapedName,lc(e)|(t?8:0));return n.type=r?Je:Yo(e),n.declarations=e.declarations,n.nameType=$n(e).nameType,n.syntheticOrigin=e,n}function md(e,t,r,n){var i=pa(e);return i.symbol=r,i.value=t,i.regularType=n||i,i}function gd(e){if(2944&e.flags){if(!e.freshType){var t=md(e.flags,e.value,e.symbol,e);t.freshType=t,e.freshType=t}return e.freshType}return e}function hd(e){return 2944&e.flags?e.regularType:1048576&e.flags?e.regularType||(e.regularType=Pg(e,hd)):e}function yd(e){return!!(2944&e.flags)&&e.freshType===e}function vd(e){var t;return he.get(e)||(he.set(e,t=md(128,e)),t)}function Dd(e){var t;return ye.get(e)||(ye.set(e,t=md(256,e)),t)}function bd(t){var r,n=e.pseudoBigIntToString(t);return ve.get(n)||(ve.set(n,r=md(2048,t)),r)}function xd(e,t,r){var n,i=t+("string"==typeof e?"@":"#")+e,a=1024|("string"==typeof e?128:256);return De.get(i)||(De.set(i,n=md(a,e,r)),n)}function Ed(t){if(e.isValidESSymbolDeclaration(t)){var r=ra(t),n=$n(r);return n.uniqueESSymbolType||(n.uniqueESSymbolType=function(e){var t=pa(8192);return t.symbol=e,t.escapedName="__@".concat(t.symbol.escapedName,"@").concat(M(t.symbol)),t}(r))}return tt}function Sd(t){var r=Yn(t);return r.resolvedType||(r.resolvedType=function(t){var r=e.getThisContainer(t,!1),n=r&&r.parent;if(n&&(e.isClassLike(n)||257===n.kind)&&!e.isStatic(r)&&(!e.isConstructorDeclaration(r)||e.isNodeDescendantOf(t,r.body)))return ms(ra(n)).thisType;if(n&&e.isObjectLiteralExpression(n)&&e.isBinaryExpression(n.parent)&&6===e.getAssignmentDeclarationKind(n.parent))return ms(ra(n.parent.left).parent).thisType;var i=4194304&t.flags?e.getHostSignatureFromJSDoc(t):void 0;return i&&e.isFunctionExpression(i)&&e.isBinaryExpression(i.parent)&&3===e.getAssignmentDeclarationKind(i.parent)?ms(ra(i.parent.left).parent).thisType:sD(r)&&e.isNodeDescendantOf(t,r.body)?ms(ra(r)).thisType:(In(t,e.Diagnostics.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),Le)}(t)),r.resolvedType}function Cd(e){return kd(Td(e.type)||e.type)}function Td(e){switch(e.kind){case 190:return Td(e.type);case 183:if(1===e.elements.length&&(185===(e=e.elements[0]).kind||196===e.kind&&e.dotDotDotToken))return Td(e.type);break;case 182:return e.elementType}}function kd(e){return _l(Ad(e),e)}function Ad(t){switch(t.kind){case 130:case 310:case 311:return we;case 154:return je;case 149:return He;case 146:return Ge;case 157:return $e;case 133:return et;case 150:return tt;case 114:return rt;case 152:return Je;case 104:return ze;case 143:return nt;case 147:return 131072&t.flags&&!X?we:ct;case 138:return Be;case 191:case 108:return Sd(t);case 195:return function(e){if(104===e.literal.kind)return ze;var t=Yn(e);return t.resolvedType||(t.resolvedType=hd(Ub(e.literal))),t.resolvedType}(t);case 177:case 227:return yl(t);case 176:return t.assertsModifier?rt:et;case 180:return Dl(t);case 182:case 183:return function(t){var r=Yn(t);if(!r.resolvedType){var n=Ul(t);if(n===Dt)r.resolvedType=gt;else if(183===t.kind&&e.some(t.elements,(function(e){return!!(8&Kl(e))}))||!ql(t)){var i=182===t.kind?[kd(t.elementType)]:e.map(t.elements,kd);r.resolvedType=Gl(n,i)}else r.resolvedType=183===t.kind&&0===t.elements.length?n:tl(n,t,void 0)}return r.resolvedType}(t);case 184:return function(e){return yo(kd(e.type),!0)}(t);case 186:return function(t){var r=Yn(t);if(!r.resolvedType){var n=sd(t);r.resolvedType=sp(e.map(t.types,kd),1,n,cd(n))}return r.resolvedType}(t);case 187:return function(t){var r=Yn(t);if(!r.resolvedType){var n=sd(t);r.resolvedType=mp(e.map(t.types,kd),n,cd(n))}return r.resolvedType}(t);case 312:return function(e){var t=kd(e.type);return H?B_(t,65536):t}(t);case 314:return yo(kd(t.type));case 196:return function(e){var t=Yn(e);return t.resolvedType||(t.resolvedType=e.dotDotDotToken?Cd(e):yo(kd(e.type),!0,!!e.questionToken))}(t);case 190:case 313:case 307:return kd(t.type);case 185:return Cd(t);case 316:return function(t){var r=kd(t.type),n=t.parent,i=t.parent.parent;if(e.isJSDocTypeExpression(t.parent)&&e.isJSDocParameterTag(i)){var a=e.getHostSignatureFromJSDoc(i),o=e.isJSDocCallbackTag(i.parent.parent);if(a||o){var s=o?e.lastOrUndefined(i.parent.parent.typeExpression.parameters):e.lastOrUndefined(a.parameters),c=e.getParameterSymbolFromJSDoc(i);if(!s||c&&s.symbol===c&&e.isRestParameter(s))return jl(r)}}return e.isParameter(n)&&e.isJSDocFunctionType(n.parent)?jl(r):yo(r)}(t);case 178:case 179:case 181:case 320:case 315:case 321:return od(t);case 192:return function(t){var r=Yn(t);if(!r.resolvedType)switch(t.operator){case 140:r.resolvedType=Sp(kd(t.type));break;case 153:r.resolvedType=150===t.type.kind?Ed(e.walkUpParenthesizedTypes(t.parent)):Le;break;case 144:r.resolvedType=kd(t.type);break;default:throw e.Debug.assertNever(t.operator)}return r.resolvedType}(t);case 193:return Hp(t);case 194:return Gp(t);case 188:return function(t){var r=Yn(t);if(!r.resolvedType){var n=kd(t.checkType),i=sd(t),a=cd(i),o=rs(t,!0),s=a?o:e.filter(o,(function(e){return zd(e,t)})),c={node:t,checkType:n,extendsType:kd(t.extendsType),isDistributive:!!(262144&n.flags),inferTypeParameters:rd(t),outerTypeParameters:s,instantiations:void 0,aliasSymbol:i,aliasTypeArguments:a};r.resolvedType=Zp(c,void 0),s&&(c.instantiations=new e.Map,c.instantiations.set(Yu(s),r.resolvedType))}return r.resolvedType}(t);case 189:return function(e){var t=Yn(e);return t.resolvedType||(t.resolvedType=Es(ra(e.typeParameter))),t.resolvedType}(t);case 197:return function(t){var r=Yn(t);return r.resolvedType||(r.resolvedType=Tp(a([t.head.text],e.map(t.templateSpans,(function(e){return e.literal.text})),!0),e.map(t.templateSpans,(function(e){return kd(e.type)})))),r.resolvedType}(t);case 199:return id(t);case 79:case 160:case 205:var r=LS(t);return r?Ss(r):Le;default:return Le}}function Nd(e,t,r){if(e&&e.length)for(var n=0;n<e.length;n++){var i=e[n],a=r(i,t);if(i!==a){var o=0===n?[]:e.slice(0,n);for(o.push(a),n++;n<e.length;n++)o.push(r(e[n],t));return o}}return e}function Pd(e,t){return Nd(e,t,Qd)}function Fd(e,t){return Nd(e,t,qd)}function wd(e,t){return Nd(e,t,rf)}function Id(e,t){return 1===e.length?Ld(e[0],t?t[0]:we):function(e,t){return{kind:1,sources:e,targets:t}}(e,t)}function Od(e,t){switch(t.kind){case 0:return e===t.source?t.target:e;case 1:for(var r=t.sources,n=t.targets,i=0;i<r.length;i++)if(e===r[i])return n?n[i]:we;return e;case 2:return t.func(e);case 3:case 4:var a=Od(e,t.mapper1);return a!==e&&3===t.kind?Qd(a,t.mapper2):Od(a,t.mapper2)}}function Ld(e,t){return{kind:0,source:e,target:t}}function Md(e){return{kind:2,func:e}}function Rd(e,t,r){return{kind:e,mapper1:t,mapper2:r}}function Bd(e){return Id(e,void 0)}function jd(e,t){return e?Rd(3,e,t):t}function Kd(e,t,r){return r?Rd(4,Ld(e,t),r):Ld(e,t)}function Jd(e,t,r){return e?Rd(4,e,Ld(t,r)):Ld(t,r)}function Ud(e){var t=ma(e.symbol);return t.target=e,t}function qd(t,r,n){var i;if(t.typeParameters&&!n){i=e.map(t.typeParameters,Ud),r=jd(Id(t.typeParameters,i),r);for(var a=0,o=i;a<o.length;a++)o[a].mapper=r}var s=Ws(t.declaration,i,t.thisParameter&&Vd(t.thisParameter,r),Nd(t.parameters,r,Vd),void 0,void 0,t.minArgumentCount,39&t.flags);return s.target=t,s.mapper=r,s}function Vd(t,r){var n=$n(t);if(n.type&&!gm(n.type))return t;1&e.getCheckFlags(t)&&(t=n.target,r=jd(n.mapper,r));var i=Kn(t.flags,t.escapedName,1|53256&e.getCheckFlags(t));return i.declarations=t.declarations,i.parent=t.parent,i.target=t,i.mapper=r,t.valueDeclaration&&(i.valueDeclaration=t.valueDeclaration),n.nameType&&(i.nameType=n.nameType),i}function zd(t,r){if(t.symbol&&t.symbol.declarations&&1===t.symbol.declarations.length){for(var n=t.symbol.declarations[0].parent,i=r;i!==n;i=i.parent)if(!i||234===i.kind||188===i.kind&&e.forEachChild(i.extendsType,a))return!0;return a(r)}return!0;function a(r){switch(r.kind){case 191:return!!t.isThisType;case 79:return!t.isThisType&&e.isPartOfTypeNode(r)&&function(e){return!(177===e.parent.kind&&e.parent.typeArguments&&e===e.parent.typeName||199===e.parent.kind&&e.parent.typeArguments&&e===e.parent.qualifier)}(r)&&Ad(r)===t;case 180:return!0;case 168:case 167:return!r.type&&!!r.body||e.some(r.typeParameters,a)||e.some(r.parameters,a)||!!r.type&&a(r.type)}return!!e.forEachChild(r,a)}}function Wd(e){var t=_c(e);if(4194304&t.flags){var r=$p(t.type);if(262144&r.flags)return r}}function Hd(t,r,n,i){var a=Wd(t);if(a){var o=Qd(a,r);if(a!==o)return Fg($c(o),(function(n){if(61603843&n.flags&&n!==Oe&&!ao(n)){if(!t.declaration.nameType){var i=void 0;if(c_(n)||1&n.flags&&Za(a,4)<0&&(i=Pc(a))&&Tg(i,e.or(c_,k_)))return function(e,t,r){var n=$d(t,Ge,!0,r);return ao(n)?Le:jl(n,Gd(u_(e),Dc(t)))}(n,t,Kd(a,n,r));if(A_(n))return function(t,r,n,i){var a=t.target.elementFlags,o=e.map(rl(t),(function(e,t){var o=8&a[t]?e:4&a[t]?jl(e):Wl([e],[a[t]]);return Hd(r,Kd(n,o,i))})),s=Gd(t.target.readonly,Dc(r));return Wl(o,e.map(o,(function(e){return 8})),s)}(n,t,a,r);if(k_(n))return function(t,r,n){var i=t.target.elementFlags,a=e.map(rl(t),(function(e,t){return $d(r,vd(""+t),!!(2&i[t]),n)})),o=Dc(r),s=4&o?e.map(i,(function(e){return 1&e?2:e})):8&o?e.map(i,(function(e){return 2&e?1:e})):i,c=Gd(t.target.readonly,o);return e.contains(a,Le)?Le:Wl(a,s,c,t.target.labeledElementDeclarations)}(n,t,Kd(a,n,r))}return Yd(t,Kd(a,n,r))}return n}),n,i)}return Qd(_c(t),r)===Oe?Oe:Yd(t,r,n,i)}function Gd(e,t){return!!(1&t)||!(2&t)&&e}function $d(e,t,r,n){var i=Jd(n,fc(e),t),a=Qd(gc(e.target||e),i),o=Dc(e);return H&&4&o&&!ub(a,49152)?j_(a,!0):H&&8&o&&r?sg(a,524288):a}function Yd(e,t,r,n){var i=_a(64|e.objectFlags,e.symbol);if(32&e.objectFlags){i.declaration=e.declaration;var a=fc(e),o=Ud(a);i.typeParameter=o,t=jd(Ld(a,o),t),o.mapper=t}return i.target=e,i.mapper=t,i.aliasSymbol=r||e.aliasSymbol,i.aliasTypeArguments=r?n:Pd(e.aliasTypeArguments,t),i}function Xd(t,r,n,i){var a=t.root;if(a.outerTypeParameters){var o=e.map(a.outerTypeParameters,(function(e){return Od(e,r)})),s=Yu(o)+Xu(n,i),c=a.instantiations.get(s);if(!c){var u=Id(a.outerTypeParameters,o),l=a.checkType,p=a.isDistributive?Od(l,u):void 0;c=p&&l!==p&&1179648&p.flags?Fg(p,(function(e){return Zp(a,Kd(l,e,u))}),n,i):Zp(a,u,n,i),a.instantiations.set(s,c)}return c}return t}function Qd(e,t){return e&&t?Zd(e,t,void 0,void 0):e}function Zd(t,r,n,i){if(!gm(t))return t;if(100===E||x>=5e6)return null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","instantiateType_DepthLimit",{typeId:t.id,instantiationDepth:E,instantiationCount:x}),In(p,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),Le;b++,x++,E++;var a=function(t,r,n,i){var a=t.flags;if(262144&a)return Od(t,r);if(524288&a){var o=t.objectFlags;if(52&o){if(4&o&&!t.node){var s=t.resolvedTypeArguments,c=Pd(s,r);return c!==s?Gl(t.target,c):t}return 1024&o?function(t,r){var n=Qd(t.mappedType,r);if(!(32&e.getObjectFlags(n)))return t;var i=Qd(t.constraintType,r);return 4194304&i.flags&&vm(Qd(t.source,r),n,i)||t}(t,r):function(t,r,n,i){var a=4&t.objectFlags?t.node:t.symbol.declarations[0],o=Yn(a),s=4&t.objectFlags?o.resolvedType:64&t.objectFlags?t.target:t,c=o.outerTypeParameters;if(!c){var u=rs(a,!0);if(sD(a)){var l=fu(a);u=e.addRange(u,l)}c=u||e.emptyArray;var p=4&t.objectFlags?[a]:t.symbol.declarations;c=(4&s.objectFlags||8192&s.symbol.flags||2048&s.symbol.flags)&&!s.aliasTypeArguments?e.filter(c,(function(t){return e.some(p,(function(e){return zd(t,e)}))})):c,o.outerTypeParameters=c}if(c.length){var d=jd(t.mapper,r),f=e.map(c,(function(e){return Od(e,d)})),_=n||t.aliasSymbol,m=n?i:Pd(t.aliasTypeArguments,r),g=Yu(f)+Xu(_,m);s.instantiations||(s.instantiations=new e.Map,s.instantiations.set(Yu(c)+Xu(s.aliasSymbol,s.aliasTypeArguments),s));var h=s.instantiations.get(g);if(!h){var y=Id(c,f);h=4&s.objectFlags?tl(t.target,t.node,y,_,m):32&s.objectFlags?Hd(s,y,_,m):Yd(s,y,_,m),s.instantiations.set(g,h)}return h}return t}(t,r,n,i)}return t}if(3145728&a){var u=1048576&t.flags?t.origin:void 0,l=u&&3145728&u.flags?u.types:t.types,p=Pd(l,r);if(p===l&&n===t.aliasSymbol)return t;var d=n||t.aliasSymbol,f=n?i:Pd(t.aliasTypeArguments,r);return 2097152&a||u&&2097152&u.flags?mp(p,d,f):sp(p,1,d,f)}if(4194304&a)return Sp(Qd(t.type,r));if(134217728&a)return Tp(t.texts,Pd(t.types,r));if(268435456&a)return Ap(t.symbol,Qd(t.type,r));if(8388608&a)return d=n||t.aliasSymbol,f=n?i:Pd(t.aliasTypeArguments,r),Vp(Qd(t.objectType,r),Qd(t.indexType,r),t.accessFlags,void 0,d,f);if(16777216&a)return Xd(t,jd(t.mapper,r),n,i);if(33554432&a){var _=Qd(t.baseType,r);if(8650752&_.flags)return pl(_,Qd(t.substitute,r));var m=Qd(t.substitute,r);return 3&m.flags||ff(tf(_),tf(m))?_:m}return t}(t,r,n,i);return E--,a}function ef(e){return 262143&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=Qd(e,mt))}function tf(e){return 262143&e.flags?e:(e.restrictiveInstantiation||(e.restrictiveInstantiation=Qd(e,_t),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation),e.restrictiveInstantiation)}function rf(e,t){return qu(e.keyType,Qd(e.type,t),e.isReadonly,e.declaration)}function nf(t){switch(e.Debug.assert(168!==t.kind||e.isObjectLiteralMethod(t)),t.kind){case 212:case 213:case 168:case 255:return af(t);case 204:return e.some(t.properties,nf);case 203:return e.some(t.elements,nf);case 221:return nf(t.whenTrue)||nf(t.whenFalse);case 220:return(56===t.operatorToken.kind||60===t.operatorToken.kind)&&(nf(t.left)||nf(t.right));case 294:return nf(t.initializer);case 211:return nf(t.expression);case 285:return e.some(t.properties,nf)||e.isJsxOpeningElement(t.parent)&&e.some(t.parent.parent.children,nf);case 284:var r=t.initializer;return!!r&&nf(r);case 287:var n=t.expression;return!!n&&nf(n)}return!1}function af(t){return(!e.isFunctionDeclaration(t)||e.isInJSFile(t)&&!!go(t))&&(e.hasContextSensitiveParameters(t)||function(t){return!t.typeParameters&&!e.getEffectiveReturnTypeNode(t)&&!!t.body&&234!==t.body.kind&&nf(t.body)}(t))}function of(t){return(e.isInJSFile(t)&&e.isFunctionDeclaration(t)||e.isFunctionExpressionOrArrowFunction(t)||e.isObjectLiteralMethod(t))&&af(t)}function sf(t){if(524288&t.flags){var r=Sc(t);if(r.constructSignatures.length||r.callSignatures.length){var n=_a(16,t.symbol);return n.members=r.members,n.properties=r.properties,n.callSignatures=e.emptyArray,n.constructSignatures=e.emptyArray,n.indexInfos=e.emptyArray,n}}else if(2097152&t.flags)return mp(e.map(t.types,sf));return t}function cf(e,t){return Mf(e,t,Sn)}function uf(e,t){return Mf(e,t,Sn)?-1:0}function lf(e,t){return Mf(e,t,xn)?-1:0}function pf(e,t){return Mf(e,t,Dn)?-1:0}function df(e,t){return Mf(e,t,Dn)}function ff(e,t){return Mf(e,t,xn)}function _f(t,r){return 1048576&t.flags?e.every(t.types,(function(e){return _f(e,r)})):1048576&r.flags?e.some(r.types,(function(e){return _f(t,e)})):58982400&t.flags?_f(Lc(t)||je,r):r===Ft?!!(67633152&t.flags):r===wt?!!(524288&t.flags)&&ag(t):es(t,Zo(r))||c_(r)&&!u_(r)&&_f(t,Mt)}function mf(e,t){return Mf(e,t,En)}function gf(e,t){return mf(e,t)||mf(t,e)}function hf(e,t,r,n,i,a){return jf(e,t,xn,r,n,i,a)}function yf(e,t,r,n,i,a){return vf(e,t,xn,r,n,i,a,void 0)}function vf(e,t,r,n,i,a,o,s){return!!Mf(e,t,r)||(!n||!bf(i,e,t,r,a,o,s))&&jf(e,t,r,n,a,o,s)}function Df(t){return!!(16777216&t.flags||2097152&t.flags&&e.some(t.types,Df))}function bf(t,r,n,i,a,s,u){if(!t||Df(n))return!1;if(!jf(r,n,i,void 0)&&function(t,r,n,i,a,o,s){for(var c=ru(r,0),u=ru(r,1),l=0,p=[u,c];l<p.length;l++){var d=p[l];if(e.some(d,(function(e){var t=Pu(e);return!(131073&t.flags)&&jf(t,n,i,void 0)}))){var f=s||{};hf(r,n,t,a,o,f);var _=f.errors[f.errors.length-1];return e.addRelatedInfo(_,e.createDiagnosticForNode(t,d===u?e.Diagnostics.Did_you_mean_to_use_new_with_this_expression:e.Diagnostics.Did_you_mean_to_call_this_expression)),!0}}return!1}(t,r,n,i,a,s,u))return!0;switch(t.kind){case 287:case 211:return bf(t.expression,r,n,i,a,s,u);case 220:switch(t.operatorToken.kind){case 63:case 27:return bf(t.right,r,n,i,a,s,u)}break;case 204:return function(t,r,n,i,a,o){return!(131068&n.flags)&&Sf(function(t){var r,n,i,a;return c(this,(function(o){switch(o.label){case 0:if(!e.length(t.properties))return[2];r=0,n=t.properties,o.label=1;case 1:if(!(r<n.length))return[3,8];if(i=n[r],e.isSpreadAssignment(i))return[3,7];if(!(a=bp(ra(i),8576))||131072&a.flags)return[3,7];switch(i.kind){case 172:case 171:case 168:case 295:return[3,2];case 294:return[3,4]}return[3,6];case 2:return[4,{errorNode:i.name,innerExpression:void 0,nameType:a}];case 3:return o.sent(),[3,7];case 4:return[4,{errorNode:i.name,innerExpression:i.initializer,nameType:a,errorMessage:e.isComputedNonLiteralName(i.name)?e.Diagnostics.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:void 0}];case 5:return o.sent(),[3,7];case 6:e.Debug.assertNever(i),o.label=7;case 7:return r++,[3,1];case 8:return[2]}}))}(t),r,n,i,a,o)}(t,r,n,i,s,u);case 203:return function(e,t,r,n,i,a){if(131068&r.flags)return!1;if(g_(t))return Sf(Tf(e,r),t,r,n,i,a);var o=e.contextualType;e.contextualType=r;try{var s=Yh(e,1,!0);return e.contextualType=o,!!g_(s)&&Sf(Tf(e,r),s,r,n,i,a)}finally{e.contextualType=o}}(t,r,n,i,s,u);case 285:return function(t,r,n,i,a,s){var u,l=Sf(function(t){var r,n,i;return c(this,(function(a){switch(a.label){case 0:if(!e.length(t.properties))return[2];r=0,n=t.properties,a.label=1;case 1:return r<n.length?(i=n[r],e.isJsxSpreadAttribute(i)||oy(e.idText(i.name))?[3,3]:[4,{errorNode:i.name,innerExpression:i.initializer,nameType:vd(e.idText(i.name))}]):[3,4];case 2:a.sent(),a.label=3;case 3:return r++,[3,1];case 4:return[2]}}))}(t),r,n,i,a,s);if(e.isJsxOpeningElement(t.parent)&&e.isJsxElement(t.parent.parent)){var p=t.parent.parent,d=hy(my(t)),f=void 0===d?"children":e.unescapeLeadingUnderscores(d),_=vd(f),m=Vp(n,_),g=e.getSemanticJsxChildren(p.children);if(!e.length(g))return l;var h=e.length(g)>1,y=kg(m,h_),v=kg(m,(function(e){return!h_(e)}));if(h){if(y!==nt){var D=Wl(uy(p,0));l=Sf(function(t,r){var n,i,a,o,s;return c(this,(function(c){switch(c.label){case 0:if(!e.length(t.children))return[2];n=0,i=0,c.label=1;case 1:return i<t.children.length?(a=t.children[i],o=Dd(i-n),(s=Cf(a,o,r))?[4,s]:[3,3]):[3,5];case 2:return c.sent(),[3,4];case 3:n++,c.label=4;case 4:return i++,[3,1];case 5:return[2]}}))}(p,E),D,y,i,a,s)||l}else if(!Mf(Vp(r,_),m,i)){l=!0;var b=In(p.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,f,Ba(m));s&&s.skipLogging&&(s.errors||(s.errors=[])).push(b)}}else if(v!==nt){var x=Cf(g[0],_,E);x&&(l=Sf(function(){return c(this,(function(e){switch(e.label){case 0:return[4,x];case 1:return e.sent(),[2]}}))}(),r,n,i,a,s)||l)}else Mf(Vp(r,_),m,i)||(l=!0,b=In(p.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,f,Ba(m)),s&&s.skipLogging&&(s.errors||(s.errors=[])).push(b))}return l;function E(){if(!u){var r=e.getTextOfNode(t.parent.tagName),i=hy(my(t)),a=void 0===i?"children":e.unescapeLeadingUnderscores(i),s=Vp(n,vd(a)),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;u=o(o({},c),{key:"!!ALREADY FORMATTED!!",message:e.formatMessage(void 0,c,r,a,Ba(s))})}return u}}(t,r,n,i,s,u);case 213:return function(t,r,n,i,a,o){if(e.isBlock(t.body)||e.some(t.parameters,e.hasType))return!1;var s=kv(r);if(!s)return!1;var c=ru(n,0);if(!e.length(c))return!1;var u=t.body,l=Pu(s),p=sp(e.map(c,Pu));if(!jf(l,p,i,void 0)){var d=u&&bf(u,l,p,i,void 0,a,o);if(d)return d;var f=o||{};if(jf(l,p,i,u,void 0,a,f),f.errors)return n.symbol&&e.length(n.symbol.declarations)&&e.addRelatedInfo(f.errors[f.errors.length-1],e.createDiagnosticForNode(n.symbol.declarations[0],e.Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature)),0==(2&e.getFunctionFlags(t))&&!no(l,"then")&&jf(VD(l),p,i,void 0)&&e.addRelatedInfo(f.errors[f.errors.length-1],e.createDiagnosticForNode(t,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}(t,r,n,i,s,u)}return!1}function xf(e,t,r){var n=Wp(t,r);if(n)return n;if(1048576&t.flags){var i=qf(e,t);if(i)return Wp(i,r)}}function Ef(e,t){e.contextualType=t;try{return Pb(e,1,t)}finally{e.contextualType=void 0}}function Sf(t,r,n,i,a,o){for(var s=!1,c=t.next();!c.done;c=t.next()){var u=c.value,l=u.errorNode,p=u.innerExpression,d=u.nameType,f=u.errorMessage,_=xf(r,n,d);if(_&&!(8388608&_.flags)){var m=Wp(r,d);if(m){var g=Pp(d,void 0);if(!jf(m,_,i,void 0)&&(s=!0,!p||!bf(p,m,_,i,void 0,a,o))){var h=o||{},y=p?Ef(p,m):m;if(re&&Uf(y,_)){var v=e.createDiagnosticForNode(l,e.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,Ba(y),Ba(_));gn.add(v),h.errors=[v]}else{var D=!!(g&&16777216&(eu(n,g)||Ae).flags),b=!!(g&&16777216&(eu(r,g)||Ae).flags);_=z_(_,D),m=z_(m,D&&b),jf(y,_,i,l,f,a,h)&&y!==m&&jf(m,_,i,l,f,a,h)}if(h.errors){var x=h.errors[h.errors.length-1],E=Os(d)?js(d):void 0,S=void 0!==E?eu(n,E):void 0,C=!1;if(!S){var T=pu(n,d);T&&T.declaration&&!e.getSourceFileOfNode(T.declaration).hasNoDefaultLib&&(C=!0,e.addRelatedInfo(x,e.createDiagnosticForNode(T.declaration,e.Diagnostics.The_expected_type_comes_from_this_index_signature)))}if(!C&&(S&&e.length(S.declarations)||n.symbol&&e.length(n.symbol.declarations))){var k=S&&e.length(S.declarations)?S.declarations[0]:n.symbol.declarations[0];e.getSourceFileOfNode(k).hasNoDefaultLib||e.addRelatedInfo(x,e.createDiagnosticForNode(k,e.Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,!E||8192&d.flags?Ba(d):e.unescapeLeadingUnderscores(E),Ba(n)))}}}}}}return s}function Cf(t,r,n){switch(t.kind){case 287:return{errorNode:t,innerExpression:t.expression,nameType:r};case 11:if(t.containsOnlyTriviaWhiteSpaces)break;return{errorNode:t,innerExpression:void 0,nameType:r,errorMessage:n()};case 277:case 278:case 281:return{errorNode:t,innerExpression:t,nameType:r};default:return e.Debug.assertNever(t,"Found invalid jsx child")}}function Tf(t,r){var n,i,a,o;return c(this,(function(s){switch(s.label){case 0:if(!(n=e.length(t.elements)))return[2];i=0,s.label=1;case 1:return i<n?g_(r)&&!eu(r,""+i)?[3,3]:(a=t.elements[i],e.isOmittedExpression(a)?[3,3]:(o=Dd(i),[4,{errorNode:a,innerExpression:a,nameType:o}])):[3,4];case 2:s.sent(),s.label=3;case 3:return i++,[3,1];case 4:return[2]}}))}function kf(e,t,r,n,i){return jf(e,t,En,r,n,i)}function Af(t,r,n,i,a,o,s,c){if(t===r||function(e){return!e.typeParameters&&(!e.thisParameter||io(CD(e.thisParameter)))&&1===e.parameters.length&&J(e)&&(CD(e.parameters[0])===Ut||io(CD(e.parameters[0])))&&io(Pu(e))}(r))return-1;var u=OD(r);if(!MD(r)&&(8&n?MD(t)||OD(t)>u:LD(t)>u))return 0;t.typeParameters&&t.typeParameters!==r.typeParameters&&(t=Pv(t,r=Bu(r),void 0,s));var l=OD(t),p=BD(t),d=BD(r);if((p||d)&&Qd(p||d,c),p&&d&&l!==u)return 0;var f=r.declaration?r.declaration.kind:0,_=!(3&n)&&G&&168!==f&&167!==f&&170!==f,m=-1,g=ku(t);if(g&&g!==rt){var h=ku(r);if(h){if(!(E=!_&&s(g,h,!1)||s(h,g,i)))return i&&a(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;m&=E}}for(var y=p||d?Math.min(l,u):Math.max(l,u),v=p||d?y-1:-1,D=0;D<y;D++){var b=D===v?ID(t,D):wD(t,D),x=D===v?ID(r,D):wD(r,D);if(b&&x){var E,S=3&n?void 0:kv(K_(b)),C=3&n?void 0:kv(K_(x));if((E=S&&C&&!Au(S)&&!Au(C)&&(98304&O_(b))==(98304&O_(x))?Af(C,S,8&n|(_?2:1),i,a,o,s,c):!(3&n)&&!_&&s(b,x,!1)||s(x,b,i))&&8&n&&D>=LD(t)&&D<LD(r)&&s(b,x,!1)&&(E=0),!E)return i&&a(e.Diagnostics.Types_of_parameters_0_and_1_are_incompatible,e.unescapeLeadingUnderscores(kD(t,D)),e.unescapeLeadingUnderscores(kD(r,D))),0;m&=E}}if(!(4&n)){var T=wu(r)?we:r.declaration&&sD(r.declaration)?ms(ta(r.declaration.symbol)):Pu(r);if(T===rt)return m;var k=wu(t)?we:t.declaration&&sD(t.declaration)?ms(ta(t.declaration.symbol)):Pu(t),A=Au(r);if(A){var N=Au(t);if(N)m&=function(t,r,n,i,a){if(t.kind!==r.kind)return n&&(i(e.Diagnostics.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard),i(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,Va(t),Va(r))),0;if((1===t.kind||3===t.kind)&&t.parameterIndex!==r.parameterIndex)return n&&(i(e.Diagnostics.Parameter_0_is_not_in_the_same_position_as_parameter_1,t.parameterName,r.parameterName),i(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,Va(t),Va(r))),0;var o=t.type===r.type?-1:t.type&&r.type?a(t.type,r.type,n):0;return 0===o&&n&&i(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,Va(t),Va(r)),o}(N,A,i,a,s);else if(e.isIdentifierTypePredicate(A))return i&&a(e.Diagnostics.Signature_0_must_be_a_type_predicate,Ra(t)),0}else!(m&=1&n&&s(T,k,!1)||s(k,T,i))&&i&&o&&o(k,T)}return m}function Nf(e,t){var r=Ru(e),n=Ru(t),i=Pu(r),a=Pu(n);return!(a!==rt&&!Mf(a,i,xn)&&!Mf(i,a,xn))&&function(e,t,r){return 0!==Af(e,t,r?4:0,!1,void 0,void 0,lf,void 0)}(r,n,!0)}function Pf(e){return e!==bt&&0===e.properties.length&&0===e.callSignatures.length&&0===e.constructSignatures.length&&0===e.indexInfos.length}function Ff(t){return 524288&t.flags?!Ec(t)&&Pf(Sc(t)):!!(67108864&t.flags)||(1048576&t.flags?e.some(t.types,Ff):!!(2097152&t.flags)&&e.every(t.types,Ff))}function wf(t){return!!(16&e.getObjectFlags(t)&&(t.members&&Pf(t)||t.symbol&&2048&t.symbol.flags&&0===Us(t.symbol).size))}function If(t){return 524288&t.flags&&!Ec(t)&&0===Ac(t).length&&1===su(t).length&&!!cu(t,He)||3145728&t.flags&&e.every(t.types,If)||!1}function Of(t,r,n){if(t===r)return!0;var i=M(t)+","+M(r),a=Cn.get(i);if(void 0!==a&&(4&a||!(2&a)||!n))return!!(1&a);if(!(t.escapedName===r.escapedName&&256&t.flags&&256&r.flags))return Cn.set(i,6),!1;for(var o=Yo(r),s=0,c=Ac(Yo(t));s<c.length;s++){var u=c[s];if(8&u.flags){var l=eu(o,u.escapedName);if(!(l&&8&l.flags))return n?(n(e.Diagnostics.Property_0_is_missing_in_type_1,e.symbolName(u),Ba(Ss(r),void 0,64)),Cn.set(i,6)):Cn.set(i,2),!1}}return Cn.set(i,1),!0}function Lf(e,t,r,n){var i=e.flags,a=t.flags;return!!(3&a||131072&i||e===Oe)||!(131072&a)&&!!(402653316&i&&4&a||128&i&&1024&i&&128&a&&!(1024&a)&&e.value===t.value||296&i&&8&a||256&i&&1024&i&&256&a&&!(1024&a)&&e.value===t.value||2112&i&&64&a||528&i&&16&a||12288&i&&4096&a||32&i&&32&a&&Of(e.symbol,t.symbol,n)||1024&i&&1024&a&&(1048576&i&&1048576&a&&Of(e.symbol,t.symbol,n)||2944&i&&2944&a&&e.value===t.value&&Of(na(e.symbol),na(t.symbol),n))||32768&i&&(!H||49152&a)||65536&i&&(!H||65536&a)||524288&i&&67108864&a||(r===xn||r===En)&&(1&i||264&i&&!(1024&i)&&(32&a||r===xn&&256&a&&1024&a)))}function Mf(e,t,r){if(yd(e)&&(e=e.regularType),yd(t)&&(t=t.regularType),e===t)return!0;if(r!==Sn){if(r===En&&!(131072&t.flags)&&Lf(t,e,r)||Lf(e,t,r))return!0}else{if(e.flags!==t.flags)return!1;if(67358815&e.flags)return!0}if(524288&e.flags&&524288&t.flags){var n=r.get(Qf(e,t,0,r,!1));if(void 0!==n)return!!(1&n)}return!!(469499904&e.flags||469499904&t.flags)&&jf(e,t,r,void 0)}function Rf(t,r){return 2048&e.getObjectFlags(t)&&oy(r.escapedName)}function Bf(t,r){for(;;){var n=yd(t)?t.regularType:4&e.getObjectFlags(t)&&t.node?Zu(t.target,rl(t)):3145728&t.flags?$c(t):33554432&t.flags?r?t.baseType:t.substitute:25165824&t.flags?Kp(t,r):t;if((n=f_(n)||n)===t)break;t=n}return t}function jf(t,r,n,i,o,s,c){var u,d,f,_,m,g,h,y=0,v=0,D=0,b=0,x=!1,E=0,S=!1;e.Debug.assert(n!==Sn||!i,"no error reporting in identity checking");var C=J(t,r,3,!!i,o);if(h&&M(),x){null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","checkTypeRelatedTo_DepthLimit",{sourceId:t.id,targetId:r.id,depth:v,targetDepth:D});var T=In(i||p,e.Diagnostics.Excessive_stack_depth_comparing_types_0_and_1,Ba(t),Ba(r));c&&(c.errors||(c.errors=[])).push(T)}else if(u){if(s){var k=s();k&&(e.concatenateDiagnosticMessageChains(k,u),u=k)}var A=void 0;if(o&&i&&!C&&t.symbol){var P=$n(t.symbol);if(P.originatingImport&&!e.isImportCall(P.originatingImport)&&jf(Yo(P.target),r,n,void 0)){var w=e.createDiagnosticForNode(P.originatingImport,e.Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead);A=e.append(A,w)}}T=e.createDiagnosticForNodeFromMessageChain(i,u,A),d&&e.addRelatedInfo.apply(void 0,a([T],d,!1)),c&&(c.errors||(c.errors=[])).push(T),(!c||!c.skipLogging)&&gn.add(T)}return i&&c&&c.skipLogging&&0===C&&e.Debug.assert(!!c.errors,"missed opportunity to interact with error."),0!==C;function I(e){u=e.errorInfo,g=e.lastSkippedInfo,h=e.incompatibleStack,E=e.overrideNextErrorInfo,d=e.relatedInfo}function O(){return{errorInfo:u,lastSkippedInfo:g,incompatibleStack:null==h?void 0:h.slice(),overrideNextErrorInfo:E,relatedInfo:null==d?void 0:d.slice()}}function L(e,t,r,n,i){E++,g=void 0,(h||(h=[])).push([e,t,r,n,i])}function M(){var t=h||[];h=void 0;var r=g;if(g=void 0,1===t.length)return R.apply(void 0,t[0]),void(r&&B.apply(void 0,a([void 0],r,!1)));for(var n="",i=[];t.length;){var o=t.pop(),s=o[0],c=o.slice(1);switch(s.code){case e.Diagnostics.Types_of_property_0_are_incompatible.code:0===n.indexOf("new ")&&(n="(".concat(n,")"));var u=""+c[0];n=0===n.length?"".concat(u):e.isIdentifierText(u,e.getEmitScriptTarget(N))?"".concat(n,".").concat(u):"["===u[0]&&"]"===u[u.length-1]?"".concat(n).concat(u):"".concat(n,"[").concat(u,"]");break;case e.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible.code:case e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code:case e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:if(0===n.length){var l=s;s.code===e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?l=e.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible:s.code===e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(l=e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible),i.unshift([l,c[0],c[1]])}else{var p=s.code===e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code||s.code===e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":"",d=s.code===e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||s.code===e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"...";n="".concat(p).concat(n,"(").concat(d,")")}break;case e.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:i.unshift([e.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,c[0],c[1]]);break;case e.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:i.unshift([e.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,c[0],c[1],c[2]]);break;default:return e.Debug.fail("Unhandled Diagnostic: ".concat(s.code))}}n?R(")"===n[n.length-1]?e.Diagnostics.The_types_returned_by_0_are_incompatible_between_these_types:e.Diagnostics.The_types_of_0_are_incompatible_between_these_types,n):i.shift();for(var f=0,_=i;f<_.length;f++){var m=_[f],y=(s=m[0],c=m.slice(1),s.elidedInCompatabilityPyramid);s.elidedInCompatabilityPyramid=!1,R.apply(void 0,a([s],c,!1)),s.elidedInCompatabilityPyramid=y}r&&B.apply(void 0,a([void 0],r,!1))}function R(t,r,n,a,o){e.Debug.assert(!!i),h&&M(),!t.elidedInCompatabilityPyramid&&(u=e.chainDiagnosticMessages(u,t,r,n,a,o))}function B(t,r,i){h&&M();var a=ja(r,i),o=a[0],s=a[1],c=r,l=o;if(b_(r)&&!Kf(i)&&(c=x_(r),e.Debug.assert(!ff(c,i),"generalized source shouldn't be assignable"),l=Ka(c)),262144&i.flags){var p=Lc(i),d=void 0;p&&(ff(c,p)||(d=ff(r,p)))?R(e.Diagnostics._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,d?o:l,s,Ba(p)):(u=void 0,R(e.Diagnostics._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,s,l))}if(t)t===e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1&&re&&Jf(r,i).length&&(t=e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties);else if(n===En)t=e.Diagnostics.Type_0_is_not_comparable_to_type_1;else if(o===s)t=e.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;else if(re&&Jf(r,i).length)t=e.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties;else{if(128&r.flags&&1048576&i.flags){var f=function(t,r){var n=r.types.filter((function(e){return!!(128&e.flags)}));return e.getSpellingSuggestion(t.value,n,(function(e){return e.value}))}(r,i);if(f)return void R(e.Diagnostics.Type_0_is_not_assignable_to_type_1_Did_you_mean_2,l,s,Ba(f))}t=e.Diagnostics.Type_0_is_not_assignable_to_type_1}R(t,l,s)}function j(t,r,n){return k_(t)?t.target.readonly&&l_(r)?(n&&R(e.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,Ba(t),Ba(r)),!1):k_(r)||c_(r):u_(t)&&l_(r)?(n&&R(e.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,Ba(t),Ba(r)),!1):!k_(r)||c_(t)}function K(e,t,r){return J(e,t,3,r)}function J(t,r,a,o,s,c){if(void 0===a&&(a=3),void 0===o&&(o=!1),void 0===c&&(c=0),524288&t.flags&&131068&r.flags)return Lf(t,r,n,o?R:void 0)?-1:(o&&U(t,r,t,r,s),0);var u=Bf(t,!1),l=Bf(r,!0);if(u===l)return-1;if(n===Sn)return u.flags!==l.flags?0:67358815&u.flags?-1:(q(u,l),$(u,l,!1,0,a));if(262144&u.flags&&Nc(u)===l)return-1;if(470302716&u.flags&&1048576&l.flags){var p=l.types,d=2===p.length&&98304&p[0].flags?p[1]:3===p.length&&98304&p[0].flags&&98304&p[1].flags?p[2]:void 0;if(d&&!(98304&d.flags)&&u===(l=Bf(d,!0)))return-1}if(n===En&&!(131072&l.flags)&&Lf(l,u,n)||Lf(u,l,n,o?R:void 0))return-1;if(469499904&u.flags||469499904&l.flags){var f=!(2&c)&&Lm(u)&&16384&e.getObjectFlags(u);if(f&&function(t,r,a){var o;if(!Ty(r)||!X&&8192&e.getObjectFlags(r))return!1;var s=!!(2048&e.getObjectFlags(t));if((n===xn||n===En)&&(Eg(Ft,r)||!s&&Ff(r)))return!1;var c,u=r;1048576&r.flags&&(u=rT(t,r,J)||function(e){if(ub(e,67108864)){var t=kg(e,(function(e){return!(131068&e.flags)}));if(!(131072&t.flags))return t}return e}(r),c=1048576&u.flags?u.types:[u]);for(var l=function(r){if(function(e,t){return e.valueDeclaration&&t.valueDeclaration&&e.valueDeclaration.parent===t.valueDeclaration}(r,t.symbol)&&!Rf(t,r)){if(!Cy(u,r.escapedName,s)){if(a){var n=kg(u,Ty);if(!i)return{value:e.Debug.fail()};if(e.isJsxAttributes(i)||e.isJsxOpeningLikeElement(i)||e.isJsxOpeningLikeElement(i.parent)){r.valueDeclaration&&e.isJsxAttribute(r.valueDeclaration)&&e.getSourceFileOfNode(i)===e.getSourceFileOfNode(r.valueDeclaration.name)&&(i=r.valueDeclaration.name);var l=Ma(r),p=iv(l,n);(f=p?Ma(p):void 0)?R(e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,l,Ba(n),f):R(e.Diagnostics.Property_0_does_not_exist_on_type_1,l,Ba(n))}else{var d=(null===(o=t.symbol)||void 0===o?void 0:o.declarations)&&e.firstOrUndefined(t.symbol.declarations),f=void 0;if(r.valueDeclaration&&e.findAncestor(r.valueDeclaration,(function(e){return e===d}))&&e.getSourceFileOfNode(d)===e.getSourceFileOfNode(i)){var _=r.valueDeclaration;e.Debug.assertNode(_,e.isObjectLiteralElementLike),i=_;var m=_.name;e.isIdentifier(m)&&(f=av(m,n))}void 0!==f?R(e.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Ma(r),Ba(n),f):R(e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Ma(r),Ba(n))}}return{value:!0}}if(c&&!J(Yo(r),function(t,r){var n=function(t,n){var i,a=3145728&(n=Vc(n)).flags?Gc(n,r):Tc(n,r),o=a&&Yo(a)||(null===(i=du(n,r))||void 0===i?void 0:i.type)||Je;return e.append(t,o)};return sp(e.reduceLeft(t,n,void 0)||e.emptyArray)}(c,r.escapedName),3,a))return a&&L(e.Diagnostics.Types_of_property_0_are_incompatible,Ma(r)),{value:!0}}},p=0,d=Ac(t);p<d.length;p++){var f=l(d[p]);if("object"==typeof f)return f.value}return!1}(u,l,o))return o&&B(s,u,r.aliasSymbol?r:l),0;var _=n!==En&&!(2&c)&&2752508&u.flags&&u!==Ft&&2621440&l.flags&&zf(l)&&(Ac(u).length>0||US(u)),m=!!(2048&e.getObjectFlags(u));if(_&&!function(e,t,r){for(var n=0,i=Ac(e);n<i.length;n++)if(Cy(t,i[n].escapedName,r))return!0;return!1}(u,l,m)){if(o){var g=Ba(t.aliasSymbol?t:u),h=Ba(r.aliasSymbol?r:l),y=ru(u,0),v=ru(u,1);y.length>0&&J(Pu(y[0]),l,1,!1)||v.length>0&&J(Pu(v[0]),l,1,!1)?R(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,g,h):R(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,g,h)}return 0}q(u,l);var D=1048576&u.flags&&u.types.length<4&&!(1048576&l.flags)||1048576&l.flags&&l.types.length<4&&!(469499904&u.flags)?V(u,l,o,c):$(u,l,o,c,a);if(D&&!S&&(2097152&l.flags&&(f||_)||ud(l)&&!c_(l)&&!k_(l)&&2097152&u.flags&&3670016&Vc(u).flags&&!e.some(u.types,(function(t){return!!(524288&e.getObjectFlags(t))})))&&(S=!0,D&=$(u,l,o,4,a),S=!1),D)return D}return o&&U(t,r,u,l,s),0}function U(t,r,n,a,o){var s=!!f_(t),c=!!f_(r);n=t.aliasSymbol||s?t:n,a=r.aliasSymbol||c?r:a;var l=E>0;if(l&&E--,524288&n.flags&&524288&a.flags){var p=u;j(n,a,!0),u!==p&&(l=!!u)}if(524288&n.flags&&131068&a.flags)!function(t,r){var n=Ja(t.symbol)?Ba(t,t.symbol.valueDeclaration):Ba(t),i=Ja(r.symbol)?Ba(r,r.symbol.valueDeclaration):Ba(r);(Rt===t&&He===r||Bt===t&&Ge===r||jt===t&&et===r||Pl(!1)===t&&tt===r)&&R(e.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,i,n)}(n,a);else if(n.symbol&&524288&n.flags&&Ft===n)R(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(2048&e.getObjectFlags(n)&&2097152&a.flags){var d=a.types,f=dy(F.IntrinsicAttributes,i),_=dy(F.IntrinsicClassAttributes,i);if(!ao(f)&&!ao(_)&&(e.contains(d,f)||e.contains(d,_)))return}else u=Zc(u,r);o||!l?B(o,n,a):g=[n,a]}function q(t,r){if(e.tracing&&3145728&t.flags&&3145728&r.flags){var n=t,a=r;if(n.objectFlags&a.objectFlags&65536)return;var o=n.types.length,s=a.types.length;o*s>1e6&&e.tracing.instant("checkTypes","traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:t.id,sourceSize:o,targetId:r.id,targetSize:s,pos:null==i?void 0:i.pos,end:null==i?void 0:i.end})}}function V(t,r,i,a){if(1048576&t.flags)return n===En?G(t,r,i&&!(131068&t.flags),a):function(e,t,r,n){for(var i=-1,a=e.types,o=function(e,t){return 1048576&e.flags&&1048576&t.flags&&!(32768&e.types[0].flags)&&32768&t.types[0].flags?wg(t,-32769):t}(e,t),s=0;s<a.length;s++){var c=a[s];if(1048576&o.flags&&a.length>=o.types.length&&a.length%o.types.length==0){var u=J(c,o.types[s%o.types.length],3,!1,void 0,n);if(u){i&=u;continue}}var l=J(c,t,1,r,void 0,n);if(!l)return 0;i&=l}return i}(t,r,i&&!(131068&t.flags),a);if(1048576&r.flags)return W(Y_(t),r,i&&!(131068&t.flags)&&!(131068&r.flags));if(2097152&r.flags)return function(e,t,r,n){for(var i=-1,a=0,o=t.types;a<o.length;a++){var s=J(e,o[a],2,r,void 0,n);if(!s)return 0;i&=s}return i}(Y_(t),r,i,2);if(n===En&&131068&r.flags){var o=e.sameMap(t.types,Mc);if(o!==t.types&&!(2097152&(t=mp(o)).flags))return J(t,r,1,!1)}return G(t,r,!1,1)}function z(e,t){for(var r=-1,n=0,i=e.types;n<i.length;n++){var a=W(i[n],t,!1);if(!a)return 0;r&=a}return r}function W(e,t,r){var n=t.types;if(1048576&t.flags){if(tp(n,e))return-1;var i=eg(t,e);if(i&&(s=J(e,i,2,!1)))return s}for(var a=0,o=n;a<o.length;a++){var s;if(s=J(e,o[a],2,!1))return s}if(r){var c=qf(e,t,J);c&&J(e,c,2,!0)}return 0}function G(e,t,r,n){var i=e.types;if(1048576&e.flags&&tp(i,t))return-1;for(var a=i.length,o=0;o<a;o++){var s=J(i[o],t,1,r&&o===a-1,void 0,n);if(s)return s}return 0}function $(t,r,i,o,s){if(x)return 0;var c=o|(S?8:0),l=Qf(t,r,c,n,!1),p=n.get(l);if(void 0!==p&&(!(i&&2&p)||4&p)){if(Er){var d=24&p;8&d&&Qd(t,Md(Y)),16&d&&Qd(t,Md(Q))}return 1&p?-1:0}if(f){for(var g=l.startsWith("*")?Qf(t,r,c,n,!0):void 0,h=0;h<y;h++)if(l===f[h]||g&&g===f[h])return 3;if(100===v||100===D)return x=!0,0}else f=[],_=[],m=[];var E=y;f[y]=l,y++;var C=b;1&s&&(_[v]=t,v++,!(1&b)&&r_(t,_,v)&&(b|=1)),2&s&&(m[D]=r,D++,!(2&b)&&r_(r,m,D)&&(b|=2));var T,k,A=0;if(Er&&(T=Er,Er=function(e){return A|=e?16:8,T(e)}),3===b?(null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","recursiveTypeRelatedTo_DepthLimit",{sourceId:t.id,sourceIdStack:_.map((function(e){return e.id})),targetId:r.id,targetIdStack:m.map((function(e){return e.id})),depth:v,targetDepth:D}),k=3):(null===e.tracing||void 0===e.tracing||e.tracing.push("checkTypes","structuredTypeRelatedTo",{sourceId:t.id,targetId:r.id}),k=function(t,r,i,o){if(4&o)return ne(t,r,i,void 0,0);var s,c,l=!1,p=O(),d=t.flags,f=r.flags;if(n===Sn){if(3145728&d){var g=z(t,r);return g&&(g&=z(r,t)),g}if(4194304&d)return J(t.type,r.type,3,!1);if(8388608&d&&(s=J(t.objectType,r.objectType,3,!1))&&(s&=J(t.indexType,r.indexType,3,!1))||16777216&d&&t.root.isDistributive===r.root.isDistributive&&(s=J(t.checkType,r.checkType,3,!1))&&(s&=J(t.extendsType,r.extendsType,3,!1))&&(s&=J(ed(t),ed(r),3,!1))&&(s&=J(td(t),td(r),3,!1)))return s;if(33554432&d)return J(t.substitute,r.substitute,3,!1);if(!(524288&d))return 0}else if(3145728&d||3145728&f){if(s=V(t,r,i,o))return s;if((2097152&t.flags||262144&t.flags&&1048576&r.flags)&&(Z=function(t,r){for(var n,i=!1,a=0,o=t;a<o.length;a++)if(465829888&(l=o[a]).flags){for(var s=Nc(l);s&&21233664&s.flags;)s=Nc(s);s&&(n=e.append(n,s),r&&(n=e.append(n,l)))}else 469892092&l.flags&&(i=!0);if(n&&(r||i)){if(i)for(var c=0,u=t;c<u.length;c++){var l;469892092&(l=u[c]).flags&&(n=e.append(n,l))}return mp(n)}}(2097152&t.flags?t.types:[t],!!(1048576&r.flags)))&&Tg(Z,(function(e){return e!==t}))&&(s=J(Z,r,1,!1,void 0,o)))return I(p),s;if(!(465829888&d||524288&d&&1048576&f||2097152&d&&467402752&f))return 0}if(17301504&d&&t.aliasSymbol&&t.aliasTypeArguments&&t.aliasSymbol===r.aliasSymbol&&!t.aliasTypeArgumentsContainsMarker&&!r.aliasTypeArgumentsContainsMarker){if((pe=Hf(t.aliasSymbol))===e.emptyArray)return 1;if(void 0!==(de=he(t.aliasTypeArguments,r.aliasTypeArguments,pe,o)))return de}if(N_(t)&&!t.target.readonly&&(s=J(rl(t)[0],r,1))||N_(r)&&(r.target.readonly||l_(Lc(t)||t))&&(s=J(t,rl(r)[0],2)))return s;if(262144&f){if(32&e.getObjectFlags(t)&&!t.declaration.nameType&&J(Sp(r),_c(t),3)&&!(4&Dc(t))){var h=gc(t),y=Vp(r,fc(t));if(s=J(h,y,3,i))return s}}else if(4194304&f){var b=r.type;if(4194304&d&&(s=J(b,t.type,3,!1)))return s;if(k_(b)){if(s=J(t,Xl(b),2,i))return s}else if(Z=Fc(b)){if(-1===J(t,Sp(Z,r.stringsOnly),2,i))return-1}else if(Ec(b)){var x=mc(b),E=_c(b),S=void 0;if(x&&yc(b)){var C=Vc(vc(b)),T=[];pc(C,8576,!1,(function(e){T.push(Qd(x,Jd(b.mapper,fc(b),e)))})),S=sp(a(a([],T,!0),[x],!1))}else S=x||E;if(-1===J(t,S,2,i))return-1}}else if(8388608&f){if(8388608&d){if((s=J(t.objectType,r.objectType,3,i))&&(s&=J(t.indexType,r.indexType,3,i)),s)return I(p),s;i&&(c=u)}if(n===xn||n===En){var k=r.objectType,A=r.indexType,N=Lc(k)||k,P=Lc(A)||A;if(!Rp(N)&&!Bp(P)&&(Z=Wp(N,P,4|(N!==k?2:0)))){if(i&&c&&I(p),s=J(t,Z,2,i))return s;i&&c&&u&&(u=ge([c])<=ge([u])?c:u)}}i&&(c=void 0)}else if(Ec(r)&&n!==Sn){var F=!!r.declaration.nameType,w=(h=gc(r),Dc(r));if(!(8&w)){if(!F&&8388608&h.flags&&h.objectType===t&&h.indexType===fc(r))return-1;if(!Ec(t)){S=F?mc(r):_c(r);var L=Sp(t,void 0,!0),M=4&w,R=M?rc(S,L):void 0;if(M?!(131072&R.flags):J(S,L,3)){var B=gc(r),j=fc(r),U=wg(B,-98305);if(!F&&8388608&U.flags&&U.indexType===j){if(s=J(t,U.objectType,2,i))return s}else{var q=F?R||S:R?mp([R,j]):j;if(y=Vp(t,q),s=J(y,B,3,i))return s}}c=u,I(p)}}}else if(16777216&f){if(r_(r,m,D,10))return I(p),3;var W=r;if(!W.root.inferTypeParameters&&!function(e){return e.isDistributive&&(zd(e.checkType,e.node.trueType)||zd(e.checkType,e.node.falseType))}(W.root)){var G=!ff(ef(W.checkType),ef(W.extendsType)),$=!G&&ff(tf(W.checkType),tf(W.extendsType));if((s=G?-1:J(t,ed(W),2,!1))&&(s&=$?-1:J(t,td(W),2,!1)))return I(p),s}}else if(134217728&f){if(134217728&d){if(n===En)return function(e,t){var r=e.texts[0],n=t.texts[0],i=e.texts[e.texts.length-1],a=t.texts[t.texts.length-1],o=Math.min(r.length,n.length),s=Math.min(i.length,a.length);return r.slice(0,o)!==n.slice(0,o)||i.slice(i.length-s)!==a.slice(a.length-s)}(t,r)?0:-1;Qd(t,Md(Q))}if(Nm(t,r))return-1}if(8650752&d){if(!(8388608&d&&8388608&f)){if(!(Z=Nc(t))||262144&d&&1&Z.flags){if(s=J(gt,wg(r,-67108865),3))return I(p),s}else{if(s=J(Z,r,1,!1,void 0,o))return I(p),s;if(s=J(Vs(Z,t),r,1,i&&!(f&d&262144),void 0,o))return I(p),s}if(qc(t)){var X=Nc(t.indexType);if(X&&(s=J(Vp(t.objectType,X),r,1,i)))return I(p),s}}}else if(4194304&d){if(s=J(pt,r,1,i))return I(p),s}else if(134217728&d&&!(524288&f)){if(!(134217728&f)&&(Z=Lc(t))&&Z!==t&&(s=J(Z,r,1,i)))return I(p),s}else if(268435456&d)if(268435456&f&&t.symbol===r.symbol){if(s=J(t.type,r.type,3,i))return I(p),s}else{var Z;if((Z=Lc(t))&&(s=J(Z,r,1,i)))return I(p),s}else if(16777216&d){if(r_(t,_,v,10))return I(p),3;if(16777216&f){var te=t.root.inferTypeParameters,re=t.extendsType,ae=void 0;if(te){var oe=um(te,void 0,0,K);wm(oe.inferences,r.extendsType,re,1536),re=Qd(re,oe.mapper),ae=oe.mapper}if(cf(re,r.extendsType)&&(J(t.checkType,r.checkType,3)||J(r.checkType,t.checkType,3))&&((s=J(Qd(ed(t),ae),ed(r),3,i))&&(s&=J(td(t),td(r),3,i)),s))return I(p),s}else{var se=Rc(t)?Ic(t):void 0;if(se&&(s=J(se,r,1,i)))return I(p),s}var ce=wc(t);if(ce&&(s=J(ce,r,1,i)))return I(p),s}else{if(n!==Dn&&n!==bn&&function(t){return!!(32&e.getObjectFlags(t)&&4&Dc(t))}(r)&&Ff(t))return-1;if(Ec(r))return Ec(t)&&(s=function(e,t,r){var i;if((n===En||(n===Sn?Dc(e)===Dc(t):xc(e)<=xc(t)))&&(i=J(_c(t),Qd(_c(e),Md(xc(e)<0?Y:Q)),3,r))){var a=Id([fc(e)],[fc(t)]);if(Qd(mc(e),a)===Qd(mc(t),a))return i&J(Qd(gc(e),a),gc(t),3,r)}return 0}(t,r,i))?(I(p),s):0;var le=!!(131068&d);if(n!==Sn)d=(t=Vc(t)).flags;else if(Ec(t))return 0;if(4&e.getObjectFlags(t)&&4&e.getObjectFlags(r)&&t.target===r.target&&!k_(t)&&!(4096&e.getObjectFlags(t)||4096&e.getObjectFlags(r))){var pe,de;if((pe=$f(t.target))===e.emptyArray)return 1;if(void 0!==(de=he(rl(t),rl(r),pe,o)))return de}else{if(u_(r)?c_(t)||k_(t):c_(r)&&k_(t)&&!t.target.readonly)return n!==Sn?J(uu(t,Ge)||we,uu(r,Ge)||we,3,i):0;if((n===Dn||n===bn)&&Ff(r)&&16384&e.getObjectFlags(r)&&!Ff(t))return 0}if(2621440&d&&524288&f){var fe=i&&u===p.errorInfo&&!le;if((s=ne(t,r,fe,void 0,o))&&(s&=ie(t,r,0,fe))&&(s&=ie(t,r,1,fe))&&(s&=ue(t,r,le,fe,o)),l&&s)u=c||u||p.errorInfo;else if(s)return s}if(2621440&d&&1048576&f){var _e=wg(r,36175872);if(1048576&_e.flags){var me=function(t,r){var i=Xm(Ac(t),r);if(!i)return 0;for(var a=1,o=0,s=i;o<s.length;o++)if((a*=Ng(Xo(p=s[o])))>25)return null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","typeRelatedToDiscriminatedType_DepthLimit",{sourceId:t.id,targetId:r.id,numCombinations:a}),0;for(var c=new Array(i.length),u=new e.Set,l=0;l<i.length;l++){var p,d=Xo(p=i[l]);c[l]=1048576&d.flags?d.types:[d],u.add(p.escapedName)}for(var f=e.cartesianProduct(c),_=[],m=function(a){var o=!1;e:for(var s=0,c=r.types;s<c.length;s++){for(var u=c[s],l=function(e){var o=i[e],s=eu(u,o.escapedName);return s?o===s?"continue":ee(t,r,o,s,(function(t){return a[e]}),!1,0,H||n===En)?void 0:"continue-outer":"continue-outer"},p=0;p<i.length;p++)if("continue-outer"===l(p))continue e;e.pushIfUnique(_,u,e.equateValues),o=!0}if(!o)return{value:0}},g=0,h=f;g<h.length;g++){var y=m(h[g]);if("object"==typeof y)return y.value}for(var v=-1,D=0,b=_;D<b.length;D++){var x=b[D];if((v&=ne(t,x,!1,u,0))&&(v&=ie(t,x,0,!1))&&(v&=ie(t,x,1,!1))&&!(k_(t)&&k_(x))&&(v&=ue(t,x,!1,!1,0)),!v)return v}return v}(t,_e);if(me)return me}}}return 0;function ge(t){return t?e.reduceLeft(t,(function(e,t){return e+1+ge(t.next)}),0):0}function he(t,r,a,o){if(s=function(t,r,i,a,o){if(void 0===t&&(t=e.emptyArray),void 0===r&&(r=e.emptyArray),void 0===i&&(i=e.emptyArray),t.length!==r.length&&n===Sn)return 0;for(var s=t.length<=r.length?t.length:r.length,c=-1,u=0;u<s;u++){var l=u<i.length?i[u]:1,p=7&l;if(4!==p){var d=t[u],f=r[u],_=-1;if(8&l?_=n===Sn?J(d,f,3,!1):uf(d,f):1===p?_=J(d,f,3,a,void 0,o):2===p?_=J(f,d,3,a,void 0,o):3===p?(_=J(f,d,3,!1))||(_=J(d,f,3,a,void 0,o)):(_=J(d,f,3,a,void 0,o))&&(_&=J(f,d,3,a,void 0,o)),!_)return 0;c&=_}}return c}(t,r,a,i,o))return s;if(e.some(a,(function(e){return!!(24&e)})))return c=void 0,void I(p);var d=r&&function(e,t){for(var r=0;r<t.length;r++)if(1==(7&t[r])&&16384&e[r].flags)return!0;return!1}(r,a);if(l=!d,a!==e.emptyArray&&!d){if(l&&(!i||!e.some(a,(function(e){return 0==(7&e)}))))return 0;c=u,I(p)}}}(t,r,i,o),null===e.tracing||void 0===e.tracing||e.tracing.pop()),Er&&(Er=T),1&s&&v--,2&s&&D--,b=C,k){if(-1===k||0===v&&0===D){if(-1===k||3===k)for(h=E;h<y;h++)n.set(f[h],1|A);y=E}}else n.set(l,2|(i?4:0)|A),y=E;return k}function Y(e){return Er&&(e===Ct||e===Tt||e===Sr)&&Er(!1),e}function Q(e){return Er&&(e===Ct||e===Tt||e===Sr)&&Er(!0),e}function Z(e,t){if(!t||0===e.length)return e;for(var r,n=0;n<e.length;n++)t.has(e[n].escapedName)?r||(r=e.slice(0,n)):r&&r.push(e[n]);return r||e}function ee(t,r,n,i,a,o,s,c){var u=e.getDeclarationModifierFlagsFromSymbol(n),l=e.getDeclarationModifierFlagsFromSymbol(i);if(8&u||8&l){if(n.valueDeclaration!==i.valueDeclaration)return o&&(8&u&&8&l?R(e.Diagnostics.Types_have_separate_declarations_of_a_private_property_0,Ma(i)):R(e.Diagnostics.Property_0_is_private_in_type_1_but_not_in_type_2,Ma(i),Ba(8&u?t:r),Ba(8&u?r:t))),0}else if(16&l){if(!function(t,r){return!Zf(r,(function(r){return!!(16&e.getDeclarationModifierFlagsFromSymbol(r))&&!function(e,t){return Zf(e,(function(e){var r=e_(e);return!!r&&es(r,t)}))}(t,e_(r))}))}(n,i))return o&&R(e.Diagnostics.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,Ma(i),Ba(e_(n)||t),Ba(e_(i)||r)),0}else if(16&u)return o&&R(e.Diagnostics.Property_0_is_protected_in_type_1_but_public_in_type_2,Ma(i),Ba(t),Ba(r)),0;var p=function(t,r,n,i,a){var o=H&&!!(48&e.getCheckFlags(r)),s=yo(Xo(r),!1,o);return J(n(t),s,3,i,void 0,a)}(n,i,a,o,s);return p?c||!(16777216&n.flags)||16777216&i.flags?p:(o&&R(e.Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2,Ma(i),Ba(t),Ba(r)),0):(o&&L(e.Diagnostics.Types_of_property_0_are_incompatible,Ma(i)),0)}function te(t,r,n,i){var s=!1;if(n.valueDeclaration&&e.isNamedDeclaration(n.valueDeclaration)&&e.isPrivateIdentifier(n.valueDeclaration.name)&&t.symbol&&32&t.symbol.flags){var c=n.valueDeclaration.name.escapedText,p=e.getSymbolNameForPrivateIdentifier(t.symbol,c);if(p&&eu(t,p)){var f=e.factory.getDeclarationName(t.symbol.valueDeclaration),_=e.factory.getDeclarationName(r.symbol.valueDeclaration);return void R(e.Diagnostics.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,oi(c),oi(""===f.escapedText?l:f),oi(""===_.escapedText?l:_))}}var m=e.arrayFrom(xm(t,r,i,!1));if((!o||o.code!==e.Diagnostics.Class_0_incorrectly_implements_interface_1.code&&o.code!==e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code)&&(s=!0),1===m.length){var g=Ma(n);R.apply(void 0,a([e.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2,g],ja(t,r),!1)),e.length(n.declarations)&&function(t){e.Debug.assert(!!u),d?d.push(t):d=[t]}(e.createDiagnosticForNode(n.declarations[0],e.Diagnostics._0_is_declared_here,g)),s&&u&&E++}else j(t,r,!1)&&(m.length>5?R(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,Ba(t),Ba(r),e.map(m.slice(0,4),(function(e){return Ma(e)})).join(", "),m.length-4):R(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,Ba(t),Ba(r),e.map(m,(function(e){return Ma(e)})).join(", ")),s&&u&&E++)}function ne(t,r,i,a,o){if(n===Sn)return function(e,t,r){if(!(524288&e.flags&&524288&t.flags))return 0;var n=Z(Cc(e),r),i=Z(Cc(t),r);if(n.length!==i.length)return 0;for(var a=-1,o=0,s=n;o<s.length;o++){var c=s[o],u=Tc(t,c.escapedName);if(!u)return 0;var l=a_(c,u,J);if(!l)return 0;a&=l}return a}(t,r,a);var s=-1;if(k_(r)){if(c_(t)||k_(t)){if(!r.target.readonly&&(u_(t)||k_(t)&&t.target.readonly))return 0;var c=nl(t),u=nl(r),l=k_(t)?4&t.target.combinedFlags:4,p=4&r.target.combinedFlags,d=k_(t)?t.target.minLength:0,f=r.target.minLength;if(!l&&c<f)return i&&R(e.Diagnostics.Source_has_0_element_s_but_target_requires_1,c,f),0;if(!p&&u<d)return i&&R(e.Diagnostics.Source_has_0_element_s_but_target_allows_only_1,d,u),0;if(!p&&(l||u<c))return i&&(d<f?R(e.Diagnostics.Target_requires_0_element_s_but_source_may_have_fewer,f):R(e.Diagnostics.Target_allows_only_0_element_s_but_source_may_have_more,u)),0;for(var _=rl(t),m=rl(r),g=Math.min(k_(t)?Ql(t.target,11):0,Ql(r.target,11)),h=Math.min(k_(t)?Zl(t.target,11):0,p?Zl(r.target,11):0),y=!!a,v=0;v<u;v++){var D=v<u-h?v:v+c-u,b=k_(t)&&(v<g||v>=u-h)?t.target.elementFlags[D]:4,x=r.target.elementFlags[v];if(8&x&&!(8&b))return i&&R(e.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,v),0;if(8&b&&!(12&x))return i&&R(e.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,D,v),0;if(1&x&&!(1&b))return i&&R(e.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,v),0;if(!(y&&((12&b||12&x)&&(y=!1),y&&(null==a?void 0:a.has(""+v))))){var E=k_(t)?v<g||v>=u-h?z_(_[D],!!(b&x&2)):F_(t,g,h)||nt:_[0],S=m[v];if(!(B=J(E,8&b&&4&x?jl(S):z_(S,!!(2&x)),3,i,void 0,o)))return i&&(u>1||c>1)&&(v<g||v>=u-h||c-g-h==1?L(e.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,D,v):L(e.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,g,c-h-1,v)),0;s&=B}}return s}if(12&r.target.combinedFlags)return 0}var C=!(n!==Dn&&n!==bn||Lm(t)||m_(t)||k_(t)),T=Em(t,r,C,!1);if(T)return i&&te(t,r,T,C),0;if(Lm(r))for(var k=0,A=Z(Ac(t),a);k<A.length;k++)if(!(Tc(r,(I=A[k]).escapedName)||32768&(E=Yo(I)).flags))return i&&R(e.Diagnostics.Property_0_does_not_exist_on_type_1,Ma(I),Ba(r)),0;for(var N=Ac(r),P=k_(t)&&k_(r),F=0,w=Z(N,a);F<w.length;F++){var I,O=w[F],M=O.escapedName;if(!(4194304&O.flags)&&(!P||e.isNumericLiteralName(M)||"length"===M)&&(I=eu(t,M))&&I!==O){var B;if(!(B=ee(t,r,I,O,Xo,i,o,n===En)))return 0;s&=B}}return s}function ie(t,r,i,a){var o,s;if(n===Sn)return function(e,t,r){var n=ru(e,r),i=ru(t,r);if(n.length!==i.length)return 0;for(var a=-1,o=0;o<n.length;o++){var s=o_(n[o],i[o],!1,!1,!1,J);if(!s)return 0;a&=s}return a}(t,r,i);if(r===bt||t===bt)return-1;var c=t.symbol&&sD(t.symbol.valueDeclaration),u=r.symbol&&sD(r.symbol.valueDeclaration),l=ru(t,c&&1===i?0:i),p=ru(r,u&&1===i?0:i);if(1===i&&l.length&&p.length){var d=!!(4&l[0].flags),f=!!(4&p[0].flags);if(d&&!f)return a&&R(e.Diagnostics.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!function(t,r,n){if(!t.declaration||!r.declaration)return!0;var i=e.getSelectedEffectiveModifierFlags(t.declaration,24),a=e.getSelectedEffectiveModifierFlags(r.declaration,24);return 8===a||16===a&&8!==i||16!==a&&!i||(n&&R(e.Diagnostics.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,za(i),za(a)),!1)}(l[0],p[0],a))return 0}var _=-1,m=1===i?oe:ae,g=e.getObjectFlags(t),h=e.getObjectFlags(r);if(64&g&&64&h&&t.symbol===r.symbol||4&g&&4&h&&t.target===r.target)for(var y=0;y<p.length;y++){if(!(F=se(l[y],p[y],!0,a,m(l[y],p[y]))))return 0;_&=F}else if(1===l.length&&1===p.length){var v=n===En||!!N.noStrictGenericChecks,D=e.first(l),b=e.first(p);if(!(_=se(D,b,v,a,m(D,b)))&&a&&1===i&&g&h&&(170===(null===(o=b.declaration)||void 0===o?void 0:o.kind)||170===(null===(s=D.declaration)||void 0===s?void 0:s.kind))){var x=function(e){return Ra(e,void 0,262144,i)};return R(e.Diagnostics.Type_0_is_not_assignable_to_type_1,x(D),x(b)),R(e.Diagnostics.Types_of_construct_signatures_are_incompatible),_}}else e:for(var E=0,S=p;E<S.length;E++){for(var C=S[E],T=O(),k=a,A=0,P=l;A<P.length;A++){var F,w=P[A];if(F=se(w,C,!0,k,m(w,C))){_&=F,I(T);continue e}k=!1}return k&&R(e.Diagnostics.Type_0_provides_no_match_for_the_signature_1,Ba(t),Ra(C,void 0,void 0,i)),0}return _}function ae(t,r){return 0===t.parameters.length&&0===r.parameters.length?function(t,r){return L(e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,Ba(t),Ba(r))}:function(t,r){return L(e.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible,Ba(t),Ba(r))}}function oe(t,r){return 0===t.parameters.length&&0===r.parameters.length?function(t,r){return L(e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,Ba(t),Ba(r))}:function(t,r){return L(e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible,Ba(t),Ba(r))}}function se(e,t,r,i,a){return Af(r?Ru(e):e,r?Ru(t):t,n===bn?8:0,i,R,a,K,Md(Q))}function ce(t,r,n){var i=J(t.type,r.type,3,n);return!i&&n&&(t.keyType===r.keyType?R(e.Diagnostics._0_index_signatures_are_incompatible,Ba(t.keyType)):R(e.Diagnostics._0_and_1_index_signatures_are_incompatible,Ba(t.keyType),Ba(r.keyType))),i}function ue(t,r,i,a,o){if(n===Sn)return function(e,t){var r=su(e),n=su(t);if(r.length!==n.length)return 0;for(var i=0,a=n;i<a.length;i++){var o=a[i],s=cu(e,o.keyType);if(!s||!J(s.type,o.type,3)||s.isReadonly!==o.isReadonly)return 0}return-1}(t,r);for(var s=su(r),c=e.some(s,(function(e){return e.keyType===He})),u=-1,l=0,p=s;l<p.length;l++){var d=p[l],f=!i&&c&&1&d.type.flags?-1:Ec(t)&&c?J(gc(t),d.type,3,a):le(t,d,a,o);if(!f)return 0;u&=f}return u}function le(t,r,n,i){var a=pu(t,r.keyType);return a?ce(a,r,n):1&i||!G_(t)?(n&&R(e.Diagnostics.Index_signature_for_type_0_is_missing_in_type_1,Ba(r.keyType),Ba(t)),0):function(t,r,n){for(var i=-1,a=r.keyType,o=0,s=2097152&t.flags?kc(t):Cc(t);o<s.length;o++){var c=s[o];if(!Rf(t,c)&&au(bp(c,8576),a)){var u=Xo(c);if(!(f=J(re||32768&u.flags||a===Ge||!(16777216&c.flags)?u:sg(u,524288),r.type,3,n)))return n&&R(e.Diagnostics.Property_0_is_incompatible_with_index_signature,Ma(c)),0;i&=f}}for(var l=0,p=su(t);l<p.length;l++){var d=p[l];if(au(d.keyType,a)){var f;if(!(f=ce(d,r,n)))return 0;i&=f}}return i}(t,r,n)}}function Kf(t){if(16&t.flags)return!1;if(3145728&t.flags)return!!e.forEach(t.types,Kf);if(465829888&t.flags){var r=Nc(t);if(r&&r!==t)return Kf(r)}return v_(t)||!!(134217728&t.flags)}function Jf(t,r){return k_(t)&&k_(r)?e.emptyArray:Ac(r).filter((function(e){return Uf(no(t,e.escapedName),Yo(e))}))}function Uf(e,t){return!!e&&!!t&&ub(e,32768)&&!!W_(t)}function qf(t,r,n){return void 0===n&&(n=lf),rT(t,r,n,!0)||function(t,r){var n=e.getObjectFlags(t);if(20&n&&1048576&r.flags)return e.find(r.types,(function(r){if(524288&r.flags){var i=n&e.getObjectFlags(r);if(4&i)return t.target===r.target;if(16&i)return!!t.aliasSymbol&&t.aliasSymbol===r.aliasSymbol}return!1}))}(t,r)||function(t,r){if(128&e.getObjectFlags(t)&&Cg(r,d_))return e.find(r.types,(function(e){return!d_(e)}))}(t,r)||function(t,r){var n=0;if(ru(t,n).length>0||ru(t,n=1).length>0)return e.find(r.types,(function(e){return ru(e,n).length>0}))}(t,r)||function(t,r){var n;if(!(406978556&t.flags))for(var i=0,a=0,o=r.types;a<o.length;a++){var s=o[a];if(!(406978556&s.flags)){var c=mp([Sp(t),Sp(s)]);if(4194304&c.flags)return s;if(v_(c)||1048576&c.flags){var u=1048576&c.flags?e.countWhere(c.types,v_):1;u>=i&&(n=s,i=u)}}}return n}(t,r)}function Vf(t,r,n,i,a){for(var o=t.types.map((function(e){})),s=0,c=r;s<c.length;s++){var u=c[s],l=u[0],p=u[1],d=Hc(t,p);if(!(a&&d&&16&e.getCheckFlags(d)))for(var f=0,_=0,m=t.types;_<m.length;_++){var g=no(m[_],p);g&&n(l(),g)?o[f]=void 0===o[f]||o[f]:o[f]=!1,f++}}var h=o.indexOf(!0);if(-1===h)return i;for(var y=o.indexOf(!0,h+1);-1!==y;){if(!cf(t.types[h],t.types[y]))return i;y=o.indexOf(!0,y+1)}return t.types[h]}function zf(t){if(524288&t.flags){var r=Sc(t);return 0===r.callSignatures.length&&0===r.constructSignatures.length&&0===r.indexInfos.length&&r.properties.length>0&&e.every(r.properties,(function(e){return!!(16777216&e.flags)}))}return!!(2097152&t.flags)&&e.every(t.types,zf)}function Wf(t,r,n){var i=Zu(t,e.map(t.typeParameters,(function(e){return e===r?n:e})));return i.objectFlags|=4096,i}function Hf(e){var t=$n(e);return Gf(t.typeParameters,t,(function(r,n,i){var a=al(e,Pd(t.typeParameters,Ld(n,i)));return a.aliasTypeArgumentsContainsMarker=!0,a}))}function Gf(t,r,n){var i,a,o;void 0===t&&(t=e.emptyArray);var s=r.variances;if(!s){null===e.tracing||void 0===e.tracing||e.tracing.push("checkTypes","getVariancesWorker",{arity:t.length,id:null!==(o=null!==(i=r.id)&&void 0!==i?i:null===(a=r.declaredType)||void 0===a?void 0:a.id)&&void 0!==o?o:-1}),r.variances=e.emptyArray,s=[];for(var c=function(e){var t=!1,i=!1,a=Er;Er=function(e){return e?i=!0:t=!0};var o=n(r,e,Ct),c=n(r,e,Tt),u=(ff(c,o)?1:0)|(ff(o,c)?2:0);3===u&&ff(n(r,e,Sr),o)&&(u=4),Er=a,(t||i)&&(t&&(u|=8),i&&(u|=16)),s.push(u)},u=0,l=t;u<l.length;u++)c(l[u]);r.variances=s,null===e.tracing||void 0===e.tracing||e.tracing.pop()}return s}function $f(e){return e===Lt||e===Mt||8&e.objectFlags?A:Gf(e.typeParameters,e,Wf)}function Yf(e){return 262144&e.flags&&!Pc(e)}function Xf(t){return function(t){return!!(4&e.getObjectFlags(t))&&!t.node}(t)&&e.some(rl(t),(function(e){return!!(262144&e.flags)||Xf(e)}))}function Qf(e,t,r,n,i){if(n===Sn&&e.id>t.id){var a=e;e=t,t=a}var o=r?":"+r:"";return Xf(e)&&Xf(t)?function(e,t,r,n){var i=[],a="",o=c(e,0),s=c(t,0);return"".concat(a).concat(o,",").concat(s).concat(r);function c(e,t){void 0===t&&(t=0);for(var r=""+e.target.id,o=0,s=rl(e);o<s.length;o++){var u=s[o];if(262144&u.flags){if(n||Yf(u)){var l=i.indexOf(u);l<0&&(l=i.length,i.push(u)),r+="="+l;continue}a="*"}else if(t<4&&Xf(u)){r+="<"+c(u,t+1)+">";continue}r+="-"+u.id}return r}}(e,t,o,i):"".concat(e.id,",").concat(t.id).concat(o)}function Zf(t,r){if(!(6&e.getCheckFlags(t)))return r(t);for(var n=0,i=t.containingType.types;n<i.length;n++){var a=eu(i[n],t.escapedName),o=a&&Zf(a,r);if(o)return o}}function e_(e){return e.parent&&32&e.parent.flags?Ss(na(e)):void 0}function t_(e){var t=e_(e),r=t&&ds(t)[0];return r&&no(r,e.escapedName)}function r_(e,t,r,n){if(void 0===n&&(n=3),r>=n)for(var i=n_(e),a=0,o=0,s=0;s<r;s++){var c=t[s];if(n_(c)===i){if(c.id>=o&&++a>=n)return!0;o=c.id}}return!1}function n_(t){if(524288&t.flags&&!Mm(t)){if(e.getObjectFlags(t)&&t.node)return t.node;if(t.symbol&&!(16&e.getObjectFlags(t)&&32&t.symbol.flags))return t.symbol;if(k_(t))return t.target}if(262144&t.flags)return t.symbol;if(8388608&t.flags){do{t=t.objectType}while(8388608&t.flags);return t}return 16777216&t.flags?t.root:t}function i_(e,t){return 0!==a_(e,t,uf)}function a_(t,r,n){if(t===r)return-1;var i=24&e.getDeclarationModifierFlagsFromSymbol(t);if(i!==(24&e.getDeclarationModifierFlagsFromSymbol(r)))return 0;if(i){if($E(t)!==$E(r))return 0}else if((16777216&t.flags)!=(16777216&r.flags))return 0;return ib(t)!==ib(r)?0:n(Yo(t),Yo(r))}function o_(t,r,n,i,a,o){if(t===r)return-1;if(!function(e,t,r){var n=OD(e),i=OD(t),a=LD(e),o=LD(t),s=MD(e),c=MD(t);return!!(n===i&&a===o&&s===c||r&&a<=o)}(t,r,n)||e.length(t.typeParameters)!==e.length(r.typeParameters))return 0;if(r.typeParameters){for(var s=Id(t.typeParameters,r.typeParameters),c=0;c<r.typeParameters.length;c++)if(!((m=t.typeParameters[c])===(f=r.typeParameters[c])||o(Qd(Gu(m),s)||je,Gu(f)||je)&&o(Qd(Kc(m),s)||je,Kc(f)||je)))return 0;t=qd(t,s,!0)}var u=-1;if(!i){var l=ku(t);if(l){var p=ku(r);if(p){if(!(_=o(l,p)))return 0;u&=_}}}var d=OD(r);for(c=0;c<d;c++){var f,_,m=FD(t,c);if(!(_=o(f=FD(r,c),m)))return 0;u&=_}if(!a){var g=Au(t),h=Au(r);u&=g||h?function(e,t,r){return e&&t&&cp(e,t)?e.type===t.type?-1:e.type&&t.type?r(e.type,t.type):0:0}(g,h,o):o(Pu(t),Pu(r))}return u}function s_(t){return 1===t.length?t[0]:function(e){for(var t,r=0,n=e;r<n.length;r++){var i=n[r],a=x_(i);if(t||(t=a),a===i||a!==t)return!1}return!0}(t)?sp(t):e.reduceLeft(t,(function(e,t){return df(e,t)?t:e}))}function c_(t){return!!(4&e.getObjectFlags(t))&&(t.target===Lt||t.target===Mt)}function u_(t){return!!(4&e.getObjectFlags(t))&&t.target===Mt}function l_(e){return c_(e)&&!u_(e)||k_(e)&&!e.target.readonly}function p_(e){return c_(e)?rl(e)[0]:void 0}function d_(e){return c_(e)||!(98304&e.flags)&&ff(e,Vt)}function f_(t){if(4&e.getObjectFlags(t)&&3&e.getObjectFlags(t.target)){if(33554432&e.getObjectFlags(t))return 67108864&e.getObjectFlags(t)?t.cachedEquivalentBaseType:void 0;t.objectFlags|=33554432;var r=t.target;if(1&e.getObjectFlags(r)){var n=ss(r);if(n&&79!==n.expression.kind&&205!==n.expression.kind)return}var i=ds(r);if(1===i.length&&!Us(t.symbol).size){var a=e.length(r.typeParameters)?Qd(i[0],Id(r.typeParameters,rl(t).slice(0,r.typeParameters.length))):i[0];return e.length(rl(t))>e.length(r.typeParameters)&&(a=Vs(a,e.last(rl(t)))),t.objectFlags|=67108864,t.cachedEquivalentBaseType=a}}}function __(e){return H?e===ot:e===Ue}function m_(e){var t=p_(e);return!!t&&__(t)}function g_(e){return k_(e)||!!eu(e,"0")}function h_(e){return d_(e)||g_(e)}function y_(e){return!(240512&e.flags)}function v_(e){return!!(109440&e.flags)}function D_(t){return 2097152&t.flags?e.some(t.types,v_):!!(109440&t.flags)}function b_(t){return!!(16&t.flags)||(1048576&t.flags?!!(1024&t.flags)||e.every(t.types,v_):v_(t))}function x_(e){return 1024&e.flags?Ds(e):402653312&e.flags?He:256&e.flags?Ge:2048&e.flags?$e:512&e.flags?et:1048576&e.flags?Pg(e,x_):e}function E_(e){return 1024&e.flags&&yd(e)?Ds(e):128&e.flags&&yd(e)?He:256&e.flags&&yd(e)?Ge:2048&e.flags&&yd(e)?$e:512&e.flags&&yd(e)?et:1048576&e.flags?Pg(e,E_):e}function S_(e){return 8192&e.flags?tt:1048576&e.flags?Pg(e,S_):e}function C_(e,t){return Ab(e,t)||(e=S_(E_(e))),e}function T_(e,t,r,n){return e&&v_(e)&&(e=C_(e,t?wE(r,t,n):void 0)),e}function k_(t){return!!(4&e.getObjectFlags(t)&&8&t.target.objectFlags)}function A_(e){return k_(e)&&!!(8&e.target.combinedFlags)}function N_(e){return A_(e)&&1===e.target.elementFlags.length}function P_(e){return F_(e,e.target.fixedLength)}function F_(e,t,r,n){void 0===r&&(r=0),void 0===n&&(n=!1);var i=nl(e)-r;if(t<i){for(var a=rl(e),o=[],s=t;s<i;s++){var c=a[s];o.push(8&e.target.elementFlags[s]?Vp(c,Ge):c)}return n?mp(o):sp(o)}}function w_(e){return"0"===e.value.base10Value}function I_(e){for(var t=0,r=0,n=e;r<n.length;r++)t|=O_(n[r]);return t}function O_(e){return 1048576&e.flags?I_(e.types):128&e.flags?""===e.value?128:0:256&e.flags?0===e.value?256:0:2048&e.flags?w_(e)?2048:0:512&e.flags?e===Ye||e===Xe?512:0:117724&e.flags}function L_(e){return 117632&O_(e)?kg(e,(function(e){return!(117632&O_(e))})):e}function M_(e){return Pg(e,R_)}function R_(e){return 4&e.flags?Wr:8&e.flags?Hr:64&e.flags?Gr:e===Xe||e===Ye||114691&e.flags||128&e.flags&&""===e.value||256&e.flags&&0===e.value||2048&e.flags&&w_(e)?e:nt}function B_(e,t){var r=t&~e.flags&98304;return 0===r?e:sp(32768===r?[e,Je]:65536===r?[e,ze]:[e,Je,ze])}function j_(t,r){return void 0===r&&(r=!1),e.Debug.assert(H),32768&t.flags?t:sp([t,r?Ve:Je])}function K_(e){return H?function(e){var t=sg(e,2097152);return zt||(zt=Cl("NonNullable",524288,void 0)||Ae),zt!==Ae?al(zt,[t]):t}(e):e}function J_(e){return H?sp([e,qe]):e}function U_(e){return H?Ag(e,qe):e}function q_(t,r,n){return n?e.isOutermostOptionalChain(r)?j_(t):J_(t):t}function V_(t,r){return e.isExpressionOfOptionalChainRoot(r)?K_(t):e.isOptionalChain(r)?U_(t):t}function z_(e,t){return re&&t?Ag(e,Ve):e}function W_(e){return re&&(e===Ve||1048576&e.flags&&tp(e.types,Ve))}function H_(e){return re?Ag(e,Ve):sg(e,524288)}function G_(t){return 2097152&t.flags?e.every(t.types,G_):!(!t.symbol||0==(7040&t.symbol.flags)||32&t.symbol.flags||US(t))||!!(1024&e.getObjectFlags(t)&&G_(t.source))}function $_(t,r){var n=Kn(t.flags,t.escapedName,8&e.getCheckFlags(t));n.declarations=t.declarations,n.parent=t.parent,n.type=r,n.target=t,t.valueDeclaration&&(n.valueDeclaration=t.valueDeclaration);var i=$n(t).nameType;return i&&(n.nameType=i),n}function Y_(t){if(!(Lm(t)&&16384&e.getObjectFlags(t)))return t;var r=t.regularType;if(r)return r;var n=t,i=function(t,r){for(var n=e.createSymbolTable(),i=0,a=Cc(t);i<a.length;i++){var o=a[i],s=Yo(o),c=r(s);n.set(o.escapedName,c===s?o:$_(o,c))}return n}(t,Y_),a=Da(n.symbol,i,n.callSignatures,n.constructSignatures,n.indexInfos);return a.flags=n.flags,a.objectFlags|=-16385&n.objectFlags,t.regularType=a,a}function X_(e,t,r){return{parent:e,propertyName:t,siblings:r,resolvedProperties:void 0}}function Q_(e){if(!e.siblings){for(var t=[],r=0,n=Q_(e.parent);r<n.length;r++){var i=n[r];if(Lm(i)){var a=Tc(i,e.propertyName);a&&Sg(Yo(a),(function(e){t.push(e)}))}}e.siblings=t}return e.siblings}function Z_(t){if(!t.resolvedProperties){for(var r=new e.Map,n=0,i=Q_(t);n<i.length;n++){var a=i[n];if(Lm(a)&&!(4194304&e.getObjectFlags(a)))for(var o=0,s=Ac(a);o<s.length;o++){var c=s[o];r.set(c.escapedName,c)}}t.resolvedProperties=e.arrayFrom(r.values())}return t.resolvedProperties}function em(e,t){if(!(4&e.flags))return e;var r=Yo(e),n=nm(r,t&&X_(t,e.escapedName,void 0));return n===r?e:$_(e,n)}function tm(e){var t=ke.get(e.escapedName);if(t)return t;var r=$_(e,Ve);return r.flags|=16777216,ke.set(e.escapedName,r),r}function rm(e){return nm(e,void 0)}function nm(t,r){if(393216&e.getObjectFlags(t)){if(void 0===r&&t.widened)return t.widened;var n=void 0;if(98305&t.flags)n=we;else if(Lm(t))n=function(t,r){for(var n=e.createSymbolTable(),i=0,a=Cc(t);i<a.length;i++){var o=a[i];n.set(o.escapedName,em(o,r))}if(r)for(var s=0,c=Z_(r);s<c.length;s++)o=c[s],n.has(o.escapedName)||n.set(o.escapedName,tm(o));var u=Da(t.symbol,n,e.emptyArray,e.emptyArray,e.sameMap(su(t),(function(e){return qu(e.keyType,rm(e.type),e.isReadonly)})));return u.objectFlags|=532480&e.getObjectFlags(t),u}(t,r);else if(1048576&t.flags){var i=r||X_(void 0,void 0,t.types),a=e.sameMap(t.types,(function(e){return 98304&e.flags?e:nm(e,i)}));n=sp(a,e.some(a,Ff)?2:1)}else 2097152&t.flags?n=mp(e.sameMap(t.types,rm)):(c_(t)||k_(t))&&(n=Zu(t.target,e.sameMap(rl(t),rm)));return n&&void 0===r&&(t.widened=n),n||t}return t}function im(t){var r=!1;if(131072&e.getObjectFlags(t)){if(1048576&t.flags)if(e.some(t.types,Ff))r=!0;else for(var n=0,i=t.types;n<i.length;n++)im(l=i[n])&&(r=!0);if(c_(t)||k_(t))for(var a=0,o=rl(t);a<o.length;a++)im(l=o[a])&&(r=!0);if(Lm(t))for(var s=0,c=Cc(t);s<c.length;s++){var u=c[s],l=Yo(u);131072&e.getObjectFlags(l)&&(im(l)||In(u.valueDeclaration,e.Diagnostics.Object_literal_s_property_0_implicitly_has_an_1_type,Ma(u),Ba(rm(l))),r=!0)}}return r}function am(t,r,n){var i=Ba(rm(r));if(!e.isInJSFile(t)||e.isCheckJsEnabledForFile(e.getSourceFileOfNode(t),N)){var a;switch(t.kind){case 220:case 166:case 165:a=X?e.Diagnostics.Member_0_implicitly_has_an_1_type:e.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 163:var o=t;if(e.isIdentifier(o.name)&&(e.isCallSignatureDeclaration(o.parent)||e.isMethodSignature(o.parent)||e.isFunctionTypeNode(o.parent))&&o.parent.parameters.indexOf(o)>-1&&(ti(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),c=e.declarationNameToString(o.name)+(o.dotDotDotToken?"[]":"");return void Ln(X,t,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,s,c)}a=t.dotDotDotToken?X?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:X?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 202:if(a=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!X)return;break;case 315:return void In(t,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,i);case 255:case 168:case 167:case 171:case 172:case 212:case 213:if(X&&!t.name)return void In(t,3===n?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,i);a=X?3===n?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 194:return void(X&&In(t,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type));default:a=X?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}Ln(X,t,a,e.declarationNameToString(e.getNameOfDeclaration(t)),i)}}function om(t,n,i){r&&X&&131072&e.getObjectFlags(n)&&(!i||!Hh(t))&&(im(n)||am(t,n,i))}function sm(e,t,r){var n=OD(e),i=OD(t),a=RD(e),o=RD(t),s=o?i-1:i,c=a?s:Math.min(n,s),u=ku(e);if(u){var l=ku(t);l&&r(u,l)}for(var p=0;p<c;p++)r(FD(e,p),FD(t,p));o&&r(ID(e,c),o)}function cm(e,t,r){var n=Au(e),i=Au(t);n&&i&&cp(n,i)&&n.type&&i.type?r(n.type,i.type):r(Pu(e),Pu(t))}function um(e,t,r,n){return lm(e.map(fm),t,r,n||lf)}function lm(e,t,r,n){var i={inferences:e,signature:t,flags:r,compareTypes:n,mapper:Md((function(e){return pm(i,e,!0)})),nonFixingMapper:Md((function(e){return pm(i,e,!1)}))};return i}function pm(e,t,r){for(var n=e.inferences,i=0;i<n.length;i++){var a=n[i];if(t===a.typeParameter)return r&&!a.isFixed&&(dm(n),a.isFixed=!0),jm(e,i)}return t}function dm(e){for(var t=0,r=e;t<r.length;t++){var n=r[t];n.isFixed||(n.inferredType=void 0)}}function fm(e){return{typeParameter:e,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function _m(e){return{typeParameter:e.typeParameter,candidates:e.candidates&&e.candidates.slice(),contraCandidates:e.contraCandidates&&e.contraCandidates.slice(),inferredType:e.inferredType,priority:e.priority,topLevel:e.topLevel,isFixed:e.isFixed,impliedArity:e.impliedArity}}function mm(e){return e&&e.mapper}function gm(t){var r=e.getObjectFlags(t);if(1048576&r)return!!(2097152&r);var n=!!(465829888&t.flags||524288&t.flags&&!hm(t)&&(4&r&&(t.node||e.forEach(rl(t),gm))||16&r&&t.symbol&&14384&t.symbol.flags&&t.symbol.declarations||8389664&r)||3145728&t.flags&&!(1024&t.flags)&&!hm(t)&&e.some(t.types,gm));return 3899393&t.flags&&(t.objectFlags|=1048576|(n?2097152:0)),n}function hm(t){if(t.aliasSymbol&&!t.aliasTypeArguments){var r=e.getDeclarationOfKind(t.aliasSymbol,258);return!(!r||!e.findAncestor(r.parent,(function(e){return 303===e.kind||260!==e.kind&&"quit"})))}return!1}function ym(t,r){return!!(t===r||3145728&t.flags&&e.some(t.types,(function(e){return ym(e,r)}))||16777216&t.flags&&(ed(t)===r||td(t)===r))}function vm(t,r,n){if(!jr){var i=t.id+","+r.id+","+n.id;if(Br.has(i))return Br.get(i);jr=!0;var a=function(t,r,n){if(cu(t,He)||0!==Ac(t).length&&Dm(t)){if(c_(t))return jl(bm(rl(t)[0],r,n),u_(t));if(k_(t))return Wl(e.map(rl(t),(function(e){return bm(e,r,n)})),4&Dc(r)?e.sameMap(t.target.elementFlags,(function(e){return 2&e?1:e})):t.target.elementFlags,t.target.readonly,t.target.labeledElementDeclarations);var i=_a(1040,void 0);return i.source=t,i.mappedType=r,i.constraintType=n,i}}(t,r,n);return jr=!1,Br.set(i,a),a}}function Dm(t){return!(524288&e.getObjectFlags(t))||Lm(t)&&e.some(Ac(t),(function(e){return Dm(Yo(e))}))||k_(t)&&e.some(rl(t),Dm)}function bm(e,t,r){var n=Vp(r.type,fc(t)),i=gc(t),a=fm(n);return wm([a],e,i),Sm(a)||je}function xm(t,r,n,i){var a,o,s,u,l,p,d;return c(this,(function(c){switch(c.label){case 0:a=Ac(r),o=0,s=a,c.label=1;case 1:return o<s.length?ws(u=s[o])?[3,5]:n||!(16777216&u.flags||48&e.getCheckFlags(u))?(l=eu(t,u.escapedName))?[3,3]:[4,u]:[3,5]:[3,6];case 2:return c.sent(),[3,5];case 3:return i&&109440&(p=Yo(u)).flags?1&(d=Yo(l)).flags||hd(d)===hd(p)?[3,5]:[4,u]:[3,5];case 4:c.sent(),c.label=5;case 5:return o++,[3,1];case 6:return[2]}}))}function Em(e,t,r,n){var i=xm(e,t,r,n).next();if(!i.done)return i.value}function Sm(e){return e.candidates?sp(e.candidates,2):e.contraCandidates?mp(e.contraCandidates):void 0}function Cm(e){return!!Yn(e).skipDirectInference}function Tm(t){return!(!t.symbol||!e.some(t.symbol.declarations,Cm))}function km(t,r){if(t===r||5&r.flags)return!0;if(128&t.flags){var n=t.value;return!!(8&r.flags&&""!==n&&isFinite(+n)||64&r.flags&&""!==n&&function(t){var r=e.createScanner(99,!1),n=!0;r.setOnError((function(){return n=!1})),r.setText(t+"n");var i=r.scan();40===i&&(i=r.scan());var a=r.getTokenFlags();return n&&9===i&&r.getTextPos()===t.length+1&&!(512&a)}(n)||98816&r.flags&&n===r.intrinsicName)}if(134217728&t.flags){var i=t.texts;return 2===i.length&&""===i[0]&&""===i[1]&&ff(t.types[0],r)}return ff(t,r)}function Am(t,r){return 128&t.flags?Fm([t.value],e.emptyArray,r):134217728&t.flags?e.arraysEqual(t.texts,r.texts)?e.map(t.types,Pm):Fm(t.texts,t.types,r):void 0}function Nm(t,r){var n=Am(t,r);return!!n&&e.every(n,(function(e,t){return km(e,r.types[t])}))}function Pm(e){return 402653317&e.flags?e:Tp(["",""],[e])}function Fm(e,t,r){var n=e.length-1,i=e[0],o=e[n],s=r.texts,c=s.length-1,u=s[0],l=s[c];if(!(0===n&&i.length<u.length+l.length)&&i.startsWith(u)&&o.endsWith(l)){for(var p=o.slice(0,o.length-l.length),d=[],f=0,_=u.length,m=1;m<c;m++){var g=s[m];if(g.length>0){for(var h=f,y=_;!((y=v(h).indexOf(g,y))>=0);){if(++h===e.length)return;y=0}D(h,y),_+=g.length}else if(_<v(f).length)D(f,_+1);else{if(!(f<n))return;D(f+1,0)}}return D(n,v(n).length),d}function v(t){return t<n?e[t]:p}function D(r,n){var i=r===f?vd(v(r).slice(_,n)):Tp(a(a([e[f].slice(_)],e.slice(f+1,r),!0),[v(r).slice(0,n)],!1),t.slice(f,r));d.push(i),f=r,_=n}}function wm(t,r,n,i,a){void 0===i&&(i=0),void 0===a&&(a=!1);var o,s,c,u,l=!1,p=2048,d=!0,f=0;function _(r,s){if(gm(s)){if(r===Oe){var c=o;return o=r,_(s,s),void(o=c)}if(r.aliasSymbol&&r.aliasTypeArguments&&r.aliasSymbol===s.aliasSymbol)return void y(r.aliasTypeArguments,s.aliasTypeArguments,Hf(r.aliasSymbol));if(r===s&&3145728&r.flags){for(var u=0,f=r.types;u<f.length;u++){var v=f[u];_(v,v)}return}if(1048576&s.flags){var x=h(1048576&r.flags?r.types:[r],s.types,Im),C=h(x[0],x[1],Om),T=C[0];if(0===(A=C[1]).length)return;if(s=sp(A),0===T.length)return void m(r,s,1);r=sp(T)}else if(2097152&s.flags&&e.some(s.types,(function(e){return!!D(e)||Ec(e)&&!!D(Wd(e)||nt)}))){if(!(1048576&r.flags)){var k=h(2097152&r.flags?r.types:[r],s.types,cf),A=(T=k[0],k[1]);if(0===T.length||0===A.length)return;r=mp(T),s=mp(A)}}else 41943040&s.flags&&(s=$p(s));if(8650752&s.flags){if(r===Re||r===it||128&i&&(r===Ie||r===qt)||Tm(r))return;var N=D(s);if(N){if(524288&e.getObjectFlags(r))return;if(!N.isFixed){if((void 0===N.priority||i<N.priority)&&(N.candidates=void 0,N.contraCandidates=void 0,N.topLevel=!0,N.priority=i),i===N.priority){var P=o||r;a&&!l?e.contains(N.contraCandidates,P)||(N.contraCandidates=e.append(N.contraCandidates,P),dm(t)):e.contains(N.candidates,P)||(N.candidates=e.append(N.candidates,P),dm(t))}!(128&i)&&262144&s.flags&&N.topLevel&&!ym(n,s)&&(N.topLevel=!1,dm(t))}return void(p=Math.min(p,i))}var F=Kp(s,!1);if(F!==s)_(r,F);else if(8388608&s.flags){var w=Kp(s.indexType,!1);if(465829888&w.flags){var I=Jp(Kp(s.objectType,!1),w,!1);I&&I!==s&&_(r,I)}}}if(!(4&e.getObjectFlags(r)&&4&e.getObjectFlags(s)&&(r.target===s.target||c_(r)&&c_(s)))||r.node&&s.node)if(4194304&r.flags&&4194304&s.flags)a=!a,_(r.type,s.type),a=!a;else if((b_(r)||4&r.flags)&&4194304&s.flags){var O=function(t){var r=e.createSymbolTable();Sg(t,(function(t){if(128&t.flags){var n=e.escapeLeadingUnderscores(t.value),i=Kn(4,n);i.type=we,t.symbol&&(i.declarations=t.symbol.declarations,i.valueDeclaration=t.symbol.valueDeclaration),r.set(n,i)}}));var n=4&t.flags?[qu(He,gt,!1)]:e.emptyArray;return Da(void 0,r,e.emptyArray,e.emptyArray,n)}(r);a=!a,m(O,s.type,256),a=!a}else if(8388608&r.flags&&8388608&s.flags)_(r.objectType,s.objectType),_(r.indexType,s.indexType);else if(268435456&r.flags&&268435456&s.flags)r.symbol===s.symbol&&_(r.type,s.type);else if(33554432&r.flags){_(r.baseType,s);var L=i;i|=4,_(r.substitute,s),i=L}else if(16777216&s.flags)g(r,s,E);else if(3145728&s.flags)b(r,s.types,s.flags);else if(1048576&r.flags)for(var M=0,R=r.types;M<R.length;M++)_(R[M],s);else if(134217728&s.flags)!function(t,r){var n=Am(t,r),i=r.types;if(n||e.every(r.texts,(function(e){return 0===e.length})))for(var a=0;a<i.length;a++)_(n?n[a]:nt,i[a])}(r,s);else{if(r=$c(r),!(512&i&&467927040&r.flags)){var B=Vc(r);if(B!==r&&d&&!(2621440&B.flags))return d=!1,_(B,s);r=B}2621440&r.flags&&g(r,s,S)}else y(rl(r),rl(s),$f(r.target))}}function m(e,t,r){var n=i;i|=r,_(e,t),i=n}function g(t,r,n){var i=t.id+","+r.id,a=s&&s.get(i);if(void 0===a){(s||(s=new e.Map)).set(i,-1);var o=p;p=2048;var l=f,d=n_(t),_=n_(r);e.contains(c,d)&&(f|=1),e.contains(u,_)&&(f|=2),3!==f?((c||(c=[])).push(d),(u||(u=[])).push(_),n(t,r),u.pop(),c.pop()):p=-1,f=l,s.set(i,p),p=Math.min(p,o)}else p=Math.min(p,a)}function h(t,r,n){for(var i,a,o=0,s=r;o<s.length;o++)for(var c=s[o],u=0,l=t;u<l.length;u++){var p=l[u];n(p,c)&&(_(p,c),i=e.appendIfUnique(i,p),a=e.appendIfUnique(a,c))}return[i?e.filter(t,(function(t){return!e.contains(i,t)})):t,a?e.filter(r,(function(t){return!e.contains(a,t)})):r]}function y(e,t,r){for(var n=e.length<t.length?e.length:t.length,i=0;i<n;i++)i<r.length&&2==(7&r[i])?v(e[i],t[i]):_(e[i],t[i])}function v(e,t){G||1024&i?(a=!a,_(e,t),a=!a):_(e,t)}function D(e){if(8650752&e.flags)for(var r=0,n=t;r<n.length;r++){var i=n[r];if(e===i.typeParameter)return i}}function b(t,r,n){var a=0;if(1048576&n){for(var o=void 0,s=1048576&t.flags?t.types:[t],c=new Array(s.length),u=!1,l=0,d=r;l<d.length;l++)if(D(S=d[l]))o=S,a++;else for(var f=0;f<s.length;f++){var g=p;p=2048,_(s[f],S),p===i&&(c[f]=!0),u=u||-1===p,p=Math.min(p,g)}if(0===a){var h=function(t){for(var r,n=0,i=t;n<i.length;n++){var a=i[n],o=2097152&a.flags&&e.find(a.types,(function(e){return!!D(e)}));if(!o||r&&o!==r)return;r=o}return r}(r);return void(h&&m(t,h,1))}if(1===a&&!u){var y=e.flatMap(s,(function(e,t){return c[t]?void 0:e}));if(y.length)return void _(sp(y),o)}}else for(var v=0,b=r;v<b.length;v++)D(S=b[v])?a++:_(t,S);if(2097152&n?1===a:a>0)for(var x=0,E=r;x<E.length;x++){var S;D(S=E[x])&&m(t,S,1)}}function x(t,r,n){if(1048576&n.flags){for(var i=!1,a=0,o=n.types;a<o.length;a++)i=x(t,r,o[a])||i;return i}if(4194304&n.flags){var s=D(n.type);if(s&&!s.isFixed&&!Tm(t)){var c=vm(t,r,n);c&&m(c,s.typeParameter,524288&e.getObjectFlags(t)?16:8)}return!0}if(262144&n.flags){m(Sp(t),n,32);var u=Nc(n);if(u&&x(t,r,u))return!0;var l=e.map(Ac(t),Yo),p=e.map(su(t),(function(e){return e!==Pr?e.type:nt}));return _(sp(e.concatenate(l,p)),gc(r)),!0}return!1}function E(e,t){if(16777216&e.flags)_(e.checkType,t.checkType),_(e.extendsType,t.extendsType),_(ed(e),ed(t)),_(td(e),td(t));else{var r=i;i|=a?64:0,b(e,[ed(t),td(t)],t.flags),i=r}}function S(t,r){if(4&e.getObjectFlags(t)&&4&e.getObjectFlags(r)&&(t.target===r.target||c_(t)&&c_(r)))y(rl(t),rl(r),$f(t.target));else{if(Ec(t)&&Ec(r)){_(_c(t),_c(r)),_(gc(t),gc(r));var n=mc(t),i=mc(r);n&&i&&_(n,i)}if(32&e.getObjectFlags(r)&&!r.declaration.nameType&&x(t,r,_c(r)))return;if(!function(e,t){return k_(e)&&k_(t)?function(e,t){return!(8&t.target.combinedFlags)&&t.target.minLength>e.target.minLength||!t.target.hasRestElement&&(e.target.hasRestElement||t.target.fixedLength<e.target.fixedLength)}(e,t):!!Em(e,t,!1,!0)&&!!Em(t,e,!1,!1)}(t,r)){if(c_(t)||k_(t)){if(k_(r)){var a=nl(t),o=nl(r),s=rl(r),c=r.target.elementFlags;if(k_(t)&&function(t,r){return nl(t)===nl(r)&&e.every(t.target.elementFlags,(function(e,t){return(12&e)==(12&r.target.elementFlags[t])}))}(t,r)){for(var u=0;u<o;u++)_(rl(t)[u],s[u]);return}var l=k_(t)?Math.min(t.target.fixedLength,r.target.fixedLength):0,p=Math.min(k_(t)?Zl(t.target,3):0,r.target.hasRestElement?Zl(r.target,3):0);for(u=0;u<l;u++)_(rl(t)[u],s[u]);if(!k_(t)||a-l-p==1&&4&t.target.elementFlags[l]){var d=rl(t)[l];for(u=l;u<o-p;u++)_(8&c[u]?jl(d):d,s[u])}else{var f=o-l-p;if(2===f&&c[l]&c[l+1]&8&&k_(t)){var g=D(s[l]);g&&void 0!==g.impliedArity&&(_(Yl(t,l,p+a-g.impliedArity),s[l]),_(Yl(t,l+g.impliedArity,p),s[l+1]))}else if(1===f&&8&c[l]){var h=2&r.target.elementFlags[o-1];m(k_(t)?Yl(t,l,p):jl(rl(t)[0]),s[l],h?2:0)}else 1===f&&4&c[l]&&(d=k_(t)?F_(t,l,p):rl(t)[0])&&_(d,s[l])}for(u=0;u<p;u++)_(rl(t)[a-u-1],s[o-u-1]);return}if(c_(r))return void k(t,r)}(function(e,t){for(var r=0,n=Cc(t);r<n.length;r++){var i=n[r],a=eu(e,i.escapedName);a&&_(Yo(a),Yo(i))}})(t,r),C(t,r,0),C(t,r,1),k(t,r)}}}function C(t,r,n){for(var i=ru(t,n),a=ru(r,n),o=i.length,s=a.length,c=o<s?o:s,u=!!(524288&e.getObjectFlags(t)),l=0;l<c;l++)T(ju(i[o-c+l]),Ru(a[s-c+l]),u)}function T(e,t,r){if(!r){var n=l,i=t.declaration?t.declaration.kind:0;l=l||168===i||167===i||170===i,sm(e,t,v),l=n}cm(e,t,_)}function k(t,r){var n=e.getObjectFlags(t)&e.getObjectFlags(r)&32?8:0,i=su(r);if(G_(t))for(var a=0,o=i;a<o.length;a++){for(var s=o[a],c=[],u=0,l=Ac(t);u<l.length;u++){var p=l[u];if(au(bp(p,8576),s.keyType)){var d=Yo(p);c.push(16777216&p.flags?H_(d):d)}}for(var f=0,_=su(t);f<_.length;f++){var g=_[f];au(g.keyType,s.keyType)&&c.push(g.type)}c.length&&m(sp(c),s.type,n)}for(var h=0,y=i;h<y.length;h++){var v=pu(t,(s=y[h]).keyType);v&&m(v.type,s.type,n)}}_(r,n)}function Im(e,t){return re&&t===Ve?e===t:cf(e,t)||!!(4&t.flags&&128&e.flags||8&t.flags&&256&e.flags)}function Om(e,t){return!!(524288&e.flags&&524288&t.flags&&e.symbol&&e.symbol===t.symbol||e.aliasSymbol&&e.aliasTypeArguments&&e.aliasSymbol===t.aliasSymbol)}function Lm(t){return!!(128&e.getObjectFlags(t))}function Mm(t){return!!(32896&e.getObjectFlags(t))}function Rm(t){return 416&t.priority?mp(t.contraCandidates):function(t){return e.reduceLeft(t,(function(e,t){return df(t,e)?t:e}))}(t.contraCandidates)}function Bm(t,r){var n=function(t){if(t.length>1){var r=e.filter(t,Mm);if(r.length){var n=sp(r,2);return e.concatenate(e.filter(t,(function(e){return!Mm(e)})),[n])}}return t}(t.candidates),i=function(e){var t=Pc(e);return!!t&&ub(16777216&t.flags?wc(t):t,406978556)}(t.typeParameter),a=!i&&t.topLevel&&(t.isFixed||!ym(Pu(r),t.typeParameter)),o=i?e.sameMap(n,hd):a?e.sameMap(n,E_):n;return rm(416&t.priority?sp(o,2):function(t){if(!H)return s_(t);var r=e.filter(t,(function(e){return!(98304&e.flags)}));return r.length?B_(s_(r),98304&I_(t)):sp(t,2)}(o))}function jm(t,r){var n=t.inferences[r];if(!n.inferredType){var i=void 0,a=t.signature;if(a){var o=n.candidates?Bm(n,a):void 0;if(n.contraCandidates)i=!o||131072&o.flags||!e.some(n.contraCandidates,(function(e){return df(o,e)}))?Rm(n):o;else if(o)i=o;else if(1&t.flags)i=it;else{var s=Kc(n.typeParameter);s&&(i=Qd(s,function(e,t){return e?Rd(4,e,t):t}(function(t,r){return Md((function(n){return e.findIndex(t.inferences,(function(e){return e.typeParameter===n}))>=r?je:n}))}(t,r),t.nonFixingMapper)))}}else i=Sm(n);n.inferredType=i||Km(!!(2&t.flags));var c=Pc(n.typeParameter);if(c){var u=Qd(c,t.nonFixingMapper);(!i||!t.compareTypes(i,Vs(u,i)))&&(n.inferredType=i=u)}}return n.inferredType}function Km(e){return e?we:je}function Jm(e){for(var t=[],r=0;r<e.inferences.length;r++)t.push(jm(e,r));return t}function Um(t){switch(t.escapedText){case"document":case"console":return e.Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom;case"$":return N.types?e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery;case"describe":case"suite":case"it":case"test":return N.types?e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha;case"process":case"require":case"Buffer":case"module":return N.types?e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode;case"Map":case"Set":case"Promise":case"Symbol":case"WeakMap":case"WeakSet":case"Iterator":case"AsyncIterator":case"SharedArrayBuffer":case"Atomics":case"AsyncIterable":case"AsyncIterableIterator":case"AsyncGenerator":case"AsyncGeneratorFunction":case"BigInt":case"Reflect":case"BigInt64Array":case"BigUint64Array":return e.Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later;case"await":if(e.isCallExpression(t.parent))return e.Diagnostics.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function;default:return 295===t.parent.kind?e.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:e.Diagnostics.Cannot_find_name_0}}function qm(t){var r=Yn(t);return r.resolvedSymbol||(r.resolvedSymbol=!e.nodeIsMissing(t)&&ti(t,t.escapedText,1160127,Um(t),t,!e.isWriteOnlyAccess(t),!1)||Ae),r.resolvedSymbol}function Vm(t){return!!e.findAncestor(t,(function(e){return 180===e.kind||79!==e.kind&&160!==e.kind&&"quit"}))}function zm(t,r,n,i){switch(t.kind){case 79:if(!e.isThisInTypeQuery(t)){var a=qm(t);return a!==Ae?"".concat(i?L(i):"-1","|").concat(ep(r),"|").concat(ep(n),"|").concat(M(a)):void 0}case 108:return"0|".concat(i?L(i):"-1","|").concat(ep(r),"|").concat(ep(n));case 229:case 211:return zm(t.expression,r,n,i);case 160:var o=zm(t.left,r,n,i);return o&&o+"."+t.right.escapedText;case 205:case 206:var s=Hm(t);if(void 0!==s){var c=zm(t.expression,r,n,i);return c&&c+"."+s}}}function Wm(t,r){switch(r.kind){case 211:case 229:return Wm(t,r.expression);case 220:return e.isAssignmentExpression(r)&&Wm(t,r.left)||e.isBinaryExpression(r)&&27===r.operatorToken.kind&&Wm(t,r.right)}switch(t.kind){case 230:return 230===r.kind&&t.keywordToken===r.keywordToken&&t.name.escapedText===r.name.escapedText;case 79:case 80:return e.isThisInTypeQuery(t)?108===r.kind:79===r.kind&&qm(t)===qm(r)||(253===r.kind||202===r.kind)&&ca(qm(t))===ra(r);case 108:return 108===r.kind;case 106:return 106===r.kind;case 229:case 211:return Wm(t.expression,r);case 205:case 206:return e.isAccessExpression(r)&&Hm(t)===Hm(r)&&Wm(t.expression,r.expression);case 160:return e.isAccessExpression(r)&&t.right.escapedText===Hm(r)&&Wm(t.left,r.expression);case 220:return e.isBinaryExpression(t)&&27===t.operatorToken.kind&&Wm(t.right,r)}return!1}function Hm(t){var r;return 205===t.kind?t.name.escapedText:206===t.kind&&e.isStringOrNumericLiteralLike(t.argumentExpression)?e.escapeLeadingUnderscores(t.argumentExpression.text):202===t.kind&&(r=fo(t))?e.escapeLeadingUnderscores(r):163===t.kind?""+t.parent.parameters.indexOf(t):void 0}function Gm(t,r){for(;e.isAccessExpression(t);)if(Wm(t=t.expression,r))return!0;return!1}function $m(t,r){for(;e.isOptionalChain(t);)if(Wm(t=t.expression,r))return!0;return!1}function Ym(t,r){if(t&&1048576&t.flags){var n=Hc(t,r);if(n&&2&e.getCheckFlags(n))return void 0===n.isDiscriminantProperty&&(n.isDiscriminantProperty=192==(192&n.checkFlags)&&!Mp(Yo(n))),!!n.isDiscriminantProperty}return!1}function Xm(e,t){for(var r,n=0,i=e;n<i.length;n++){var a=i[n];if(Ym(t,a.escapedName)){if(r){r.push(a);continue}r=[a]}}return r}function Qm(t){var r=t.types;if(!(r.length<10||65536&e.getObjectFlags(t)||e.countWhere(r,(function(e){return!!(59506688&e.flags)}))<10)){if(void 0===t.keyPropertyName){var n=e.forEach(r,(function(t){return 59506688&t.flags?e.forEach(Ac(t),(function(e){return v_(Yo(e))?e.escapedName:void 0})):void 0})),i=n&&function(t,r){for(var n=new e.Map,i=0,a=function(e){if(61603840&e.flags){var t=no(e,r);if(t){if(!b_(t))return{value:void 0};var a=!1;Sg(t,(function(t){var r=ep(hd(t)),i=n.get(r);i?i!==je&&(n.set(r,je),a=!0):n.set(r,e)})),a||i++}}},o=0,s=t;o<s.length;o++){var c=a(s[o]);if("object"==typeof c)return c.value}return i>=10&&2*i>=t.length?n:void 0}(r,n);t.keyPropertyName=i?n:"",t.constituentMap=i}return t.keyPropertyName.length?t.keyPropertyName:void 0}}function Zm(e,t){var r,n=null===(r=e.constituentMap)||void 0===r?void 0:r.get(ep(hd(t)));return n!==je?n:void 0}function eg(e,t){var r=Qm(e),n=r&&no(t,r);return n&&Zm(e,n)}function tg(e,t){return Wm(e,t)||Gm(e,t)}function rg(e,t){if(e.arguments)for(var r=0,n=e.arguments;r<n.length;r++)if(tg(t,n[r]))return!0;return!(205!==e.expression.kind||!tg(t,e.expression.expression))}function ng(e){return(!e.id||e.id<0)&&(e.id=_,_++),e.id}function ig(e,t){if(e!==t){if(131072&t.flags)return t;var r=kg(e,(function(e){return function(e,t){if(!(1048576&e.flags))return ff(e,t);for(var r=0,n=e.types;r<n.length;r++)if(ff(n[r],t))return!0;return!1}(t,e)}));if(512&t.flags&&yd(t)&&(r=Pg(r,gd)),ff(t,r))return r}return e}function ag(e){var t=Sc(e);return!!(t.callSignatures.length||t.constructSignatures.length||t.members.get("bind")&&df(e,wt))}function og(t,r){void 0===r&&(r=!1);var n=t.flags;if(4&n)return H?16317953:16776705;if(128&n){var i=""===t.value;return H?i?12123649:7929345:i?12582401:16776705}if(40&n)return H?16317698:16776450;if(256&n){var a=0===t.value;return H?a?12123394:7929090:a?12582146:16776450}return 64&n?H?16317188:16775940:2048&n?(a=w_(t),H?a?12122884:7928580:a?12581636:16775940):16&n?H?16316168:16774920:528&n?H?t===Ye||t===Xe?12121864:7927560:t===Ye||t===Xe?12580616:16774920:524288&n?r?16768959:16&e.getObjectFlags(t)&&Ff(t)?H?16318463:16777215:ag(t)?H?7880640:16728e3:H?7888800:16736160:49152&n?9830144:65536&n?9363232:12288&n?H?7925520:16772880:67108864&n?H?7888800:16736160:131072&n?0:465829888&n?Lp(t)?H?7929345:16776705:og(Lc(t)||je,r):1048576&n?e.reduceLeft(t.types,(function(e,t){return e|og(t,r)}),0):2097152&n?(r||(r=ub(t,131068)),function(e,t){for(var r=0,n=16777215,i=0,a=e.types;i<a.length;i++){var o=og(a[i],t);r|=o,n&=o}return 8256&r|16768959&n}(t,r)):16777215}function sg(e,t){return kg(e,(function(e){return 0!=(og(e)&t)}))}function cg(e,t){return t?sp([uo(e),jb(t)]):e}function ug(e,t){var r,n=Dp(t);if(!Os(n))return Le;var i=js(n);return no(e,i)||pg(null===(r=du(e,i))||void 0===r?void 0:r.type)||Le}function lg(e,t){return Tg(e,g_)&&function(e,t){return no(e,""+t)||(Tg(e,k_)?Pg(e,(function(e){return P_(e)||Je})):void 0)}(e,t)||pg(uE(65,e,Je,void 0))||Le}function pg(e){return e&&(N.noUncheckedIndexedAccess?sp([e,Je]):e)}function dg(e){return jl(uE(65,e,Je,void 0)||Le)}function fg(e){return 220===e.parent.kind&&e.parent.left===e||243===e.parent.kind&&e.parent.initializer===e}function _g(e){return ug(mg(e.parent),e.name)}function mg(e){var t=e.parent;switch(t.kind){case 242:return He;case 243:return cE(t)||Le;case 220:return function(e){return 203===e.parent.kind&&fg(e.parent)||294===e.parent.kind&&fg(e.parent.parent)?cg(mg(e),e.right):jb(e.right)}(t);case 214:return Je;case 203:return function(e,t){return lg(mg(e),e.elements.indexOf(t))}(t,e);case 224:return function(e){return dg(mg(e.parent))}(t);case 294:return _g(t);case 295:return function(e){return cg(_g(e),e.objectAssignmentInitializer)}(t)}return Le}function gg(e){return Yn(e).resolvedType||jb(e)}function hg(e){return 253===e.kind?function(e){return e.initializer?gg(e.initializer):242===e.parent.parent.kind?He:243===e.parent.parent.kind&&cE(e.parent.parent)||Le}(e):function(e){var t=e.parent,r=hg(t.parent);return cg(200===t.kind?ug(r,e.propertyName||e.name):e.dotDotDotToken?dg(r):lg(r,t.elements.indexOf(e)),e.initializer)}(e)}function yg(e){switch(e.kind){case 211:return yg(e.expression);case 220:switch(e.operatorToken.kind){case 63:case 75:case 76:case 77:return yg(e.left);case 27:return yg(e.right)}}return e}function vg(e){var t=e.parent;return 211===t.kind||220===t.kind&&63===t.operatorToken.kind&&t.left===e||220===t.kind&&27===t.operatorToken.kind&&t.right===e?vg(t):e}function Dg(e){return 288===e.kind?hd(jb(e.expression)):nt}function bg(e){var t=Yn(e);if(!t.switchTypes){t.switchTypes=[];for(var r=0,n=e.caseBlock.clauses;r<n.length;r++){var i=n[r];t.switchTypes.push(Dg(i))}}return t.switchTypes}function xg(t,r){for(var n=[],i=0,a=t.caseBlock.clauses;i<a.length;i++){var o=a[i];if(288===o.kind){if(e.isStringLiteralLike(o.expression)){n.push(o.expression.text);continue}return e.emptyArray}r&&n.push(void 0)}return n}function Eg(e,t){return e===t||1048576&t.flags&&function(e,t){if(1048576&e.flags){for(var r=0,n=e.types;r<n.length;r++){var i=n[r];if(!tp(t.types,i))return!1}return!0}return!!(1024&e.flags&&Ds(e)===t)||tp(t.types,e)}(e,t)}function Sg(t,r){return 1048576&t.flags?e.forEach(t.types,r):r(t)}function Cg(t,r){return 1048576&t.flags?e.some(t.types,r):r(t)}function Tg(t,r){return 1048576&t.flags?e.every(t.types,r):r(t)}function kg(t,r){if(1048576&t.flags){var n=t.types,i=e.filter(n,r);if(i===n)return t;var a=t.origin,o=void 0;if(a&&1048576&a.flags){var s=a.types,c=e.filter(s,(function(e){return!!(1048576&e.flags)||r(e)}));if(s.length-c.length==n.length-i.length){if(1===c.length)return c[0];o=op(1048576,c)}}return up(i,t.objectFlags,void 0,void 0,o)}return 131072&t.flags||r(t)?t:nt}function Ag(e,t){return kg(e,(function(e){return e!==t}))}function Ng(e){return 1048576&e.flags?e.types.length:1}function Pg(e,t,r){if(131072&e.flags)return e;if(!(1048576&e.flags))return t(e);for(var n,i=e.origin,a=!1,o=0,s=i&&1048576&i.flags?i.types:e.types;o<s.length;o++){var c=s[o],u=1048576&c.flags?Pg(c,t,r):t(c);a||(a=c!==u),u&&(n?n.push(u):n=[u])}return a?n&&sp(n,r?0:1):e}function Fg(t,r,n,i){return 1048576&t.flags&&n?sp(e.map(t.types,r),1,n,i):Pg(t,r)}function wg(e,t){return kg(e,(function(e){return 0!=(e.flags&t)}))}function Ig(e,t){return ub(e,134217804)&&ub(t,402655616)?Pg(e,(function(e){return 4&e.flags?wg(t,402653316):Lp(e)&&!ub(t,402653188)?wg(t,128):8&e.flags?wg(t,264):64&e.flags?wg(t,2112):e})):e}function Og(e){return 0===e.flags}function Lg(e){return 0===e.flags?e.type:e}function Mg(e,t){return t?{flags:0,type:131072&e.flags?it:e}:e}function Rg(e){return Te[e.id]||(Te[e.id]=function(e){var t=_a(256);return t.elementType=e,t}(e))}function Bg(e,t){var r=Y_(x_(Jb(t)));return Eg(r,e.elementType)?e:Rg(sp([e.elementType,r]))}function jg(e){return e.finalArrayType||(e.finalArrayType=function(e){return 131072&e.flags?qt:jl(1048576&e.flags?sp(e.types,2):e)}(e.elementType))}function Kg(t){return 256&e.getObjectFlags(t)?jg(t):t}function Jg(t){return 256&e.getObjectFlags(t)?t.elementType:nt}function Ug(t){var r=vg(t),n=r.parent,i=e.isPropertyAccessExpression(n)&&("length"===n.name.escapedText||207===n.parent.kind&&e.isIdentifier(n.name)&&e.isPushOrUnshiftIdentifier(n.name)),a=206===n.kind&&n.expression===r&&220===n.parent.kind&&63===n.parent.operatorToken.kind&&n.parent.left===n&&!e.isAssignmentTarget(n.parent)&&lb(jb(n.argumentExpression),296);return i||a}function qg(t,r){if(8752&t.flags)return Yo(t);if(7&t.flags){if(262144&e.getCheckFlags(t)){var n=t.syntheticOrigin;if(n&&qg(n))return Yo(t)}var i=t.valueDeclaration;if(i){if(function(t){return(e.isVariableDeclaration(t)||e.isPropertyDeclaration(t)||e.isPropertySignature(t)||e.isParameter(t))&&!!(e.getEffectiveTypeAnnotationNode(t)||e.isInJSFile(t)&&e.hasInitializer(t)&&t.initializer&&e.isFunctionExpressionOrArrowFunction(t.initializer)&&e.getEffectiveReturnTypeNode(t.initializer))}(i))return Yo(t);if(e.isVariableDeclaration(i)&&243===i.parent.parent.kind){var a=i.parent.parent,o=Vg(a.expression,void 0);if(o)return uE(a.awaitModifier?15:13,o,Je,void 0)}r&&e.addRelatedInfo(r,e.createDiagnosticForNode(i,e.Diagnostics._0_needs_an_explicit_type_annotation,Ma(t)))}}}function Vg(t,r){if(!(16777216&t.flags))switch(t.kind){case 79:var n=ca(qm(t));return qg(2097152&n.flags?Pi(n):n,r);case 108:return function(t){var r=e.getThisContainer(t,!1);if(e.isFunctionLike(r)){var n=xu(r);if(n.thisParameter)return qg(n.thisParameter)}if(e.isClassLike(r.parent)){var i=ra(r.parent);return e.isStatic(r)?Yo(i):Ss(i).thisType}}(t);case 106:return hh(t);case 205:var i=Vg(t.expression,r);if(i){var a=t.name,o=void 0;if(e.isPrivateIdentifier(a)){if(!i.symbol)return;o=eu(i,e.getSymbolNameForPrivateIdentifier(i.symbol,a.escapedText))}else o=eu(i,a.escapedText);return o&&qg(o,r)}return;case 211:return Vg(t.expression,r)}}function zg(t){var r=Yn(t),n=r.effectsSignature;if(void 0===n){var i=void 0;237===t.parent.kind?i=Vg(t.expression,void 0):106!==t.expression.kind&&(i=e.isOptionalChain(t)?jy(V_(Ub(t.expression),t.expression),t.expression):Iy(t.expression));var a=ru(i&&Vc(i)||je,0),o=1!==a.length||a[0].typeParameters?e.some(a,Wg)?oD(t):void 0:a[0];n=r.effectsSignature=o&&Wg(o)?o:kr}return n===kr?void 0:n}function Wg(e){return!!(Au(e)||e.declaration&&131072&(Fu(e.declaration)||je).flags)}function Hg(e){var t=$g(e,!1);return yr=e,vr=t,t}function Gg(t){var r=e.skipParentheses(t,!0);return 95===r.kind||220===r.kind&&(55===r.operatorToken.kind&&(Gg(r.left)||Gg(r.right))||56===r.operatorToken.kind&&Gg(r.left)&&Gg(r.right))}function $g(t,r){for(;;){if(t===yr)return vr;var n=t.flags;if(4096&n){if(!r){var i=ng(t),a=un[i];return void 0!==a?a:un[i]=$g(t,!0)}r=!1}if(368&n)t=t.antecedent;else if(512&n){var o=zg(t.node);if(o){var s=Au(o);if(s&&3===s.kind&&!s.type){var c=t.node.arguments[s.parameterIndex];if(c&&Gg(c))return!1}if(131072&Pu(o).flags)return!1}t=t.antecedent}else{if(4&n)return e.some(t.antecedents,(function(e){return $g(e,!1)}));if(8&n){var u=t.antecedents;if(void 0===u||0===u.length)return!1;t=u[0]}else{if(!(128&n)){if(1024&n){yr=void 0;var l=t.target,p=l.antecedents;l.antecedents=t.antecedents;var d=$g(t.antecedent,!1);return l.antecedents=p,d}return!(1&n)}if(t.clauseStart===t.clauseEnd&&XD(t.switchStatement))return!1;t=t.antecedent}}}}function Yg(t,r){for(;;){var n=t.flags;if(4096&n){if(!r){var i=ng(t),a=ln[i];return void 0!==a?a:ln[i]=Yg(t,!0)}r=!1}if(496&n)t=t.antecedent;else if(512&n){if(106===t.node.expression.kind)return!0;t=t.antecedent}else{if(4&n)return e.every(t.antecedents,(function(e){return Yg(e,!1)}));if(!(8&n)){if(1024&n){var o=t.target,s=o.antecedents;o.antecedents=t.antecedents;var c=Yg(t.antecedent,!1);return o.antecedents=s,c}return!!(1&n)}t=t.antecedents[0]}}}function Xg(t){switch(t.kind){case 79:var r=qm(t);return rh(r)||e.isParameterOrCatchClauseVariable(r)&&!eh(r);case 205:case 206:return Xg(t.expression)&&ib(Yn(t).resolvedSymbol||Ae)}return!1}function Qg(t,r,n,i,a){void 0===n&&(n=r),void 0===a&&(a=t.flowNode);var o,s=!1,c=0;if(Vr)return Le;if(!a)return r;zr++;var u=qr,l=Lg(f(a));qr=u;var p=256&e.getObjectFlags(l)&&Ug(t)?qt:Kg(l);return p===st||t.parent&&229===t.parent.kind&&!(131072&p.flags)&&131072&sg(p,2097152).flags?r:p===Ke?je:p;function d(){return s?o:(s=!0,o=zm(t,r,n,i))}function f(a){if(2e3===c)return null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","getTypeAtFlowNode_DepthLimit",{flowId:a.id}),Vr=!0,function(t){var r=e.findAncestor(t,e.isFunctionOrModuleBlock),n=e.getSourceFileOfNode(t),i=e.getSpanOfTokenAtPosition(n,r.statements.pos);gn.add(e.createFileDiagnostic(n,i.start,i.length,e.Diagnostics.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis))}(t),Le;c++;for(var o;;){var s=a.flags;if(4096&s){for(var l=u;l<qr;l++)if(sn[l]===a)return c--,cn[l];o=a}var p=void 0;if(16&s){if(!(p=m(a))){a=a.antecedent;continue}}else if(512&s){if(!(p=h(a))){a=a.antecedent;continue}}else if(96&s)p=v(a);else if(128&s)p=D(a);else if(12&s){if(1===a.antecedents.length){a=a.antecedents[0];continue}p=4&s?b(a):x(a)}else if(256&s){if(!(p=y(a))){a=a.antecedent;continue}}else if(1024&s){var d=a.target,_=d.antecedents;d.antecedents=a.antecedents,p=f(a.antecedent),d.antecedents=_}else if(2&s){var g=a.node;if(g&&g!==i&&205!==t.kind&&206!==t.kind&&108!==t.kind){a=g.flowNode;continue}p=n}else p=Yx(r);return o&&(sn[qr]=o,cn[qr]=p,qr++),c--,p}}function _(e){var r=e.node;return ah(253===r.kind||202===r.kind?hg(r):mg(r),t)}function m(n){var i=n.node;if(Wm(t,i)){if(!Hg(n))return st;if(2===e.getAssignmentTargetKind(i)){var a=f(n.antecedent);return Mg(x_(Lg(a)),Og(a))}if(r===Ie||r===qt){if(function(e){return 253===e.kind&&e.initializer&&ho(e.initializer)||202!==e.kind&&220===e.parent.kind&&ho(e.parent.right)}(i))return Rg(nt);var o=E_(_(n));return ff(o,r)?o:Ut}return 1048576&r.flags?ig(r,_(n)):r}if(Gm(t,i)){if(!Hg(n))return st;if(e.isVariableDeclaration(i)&&(e.isInJSFile(i)||e.isVarConst(i))){var s=e.getDeclaredExpandoInitializer(i);if(s&&(212===s.kind||213===s.kind))return f(n.antecedent)}return r}if(e.isVariableDeclaration(i)&&242===i.parent.parent.kind&&Wm(t,i.parent.parent.expression))return Ly(Lg(f(n.antecedent)))}function g(t,r){var n=e.skipParentheses(r,!0);if(95===n.kind)return st;if(220===n.kind){if(55===n.operatorToken.kind)return g(g(t,n.left),n.right);if(56===n.operatorToken.kind)return sp([g(t,n.left),g(t,n.right)])}return V(t,n,!0)}function h(e){var t=zg(e.node);if(t){var r=Au(t);if(r&&(2===r.kind||3===r.kind)){var n=f(e.antecedent),i=Kg(Lg(n)),a=r.type?q(i,r,e.node,!0):3===r.kind&&r.parameterIndex>=0&&r.parameterIndex<e.node.arguments.length?g(i,e.node.arguments[r.parameterIndex]):i;return a===i?n:Mg(a,Og(n))}if(131072&Pu(t).flags)return st}}function y(n){if(r===Ie||r===qt){var i=n.node,a=207===i.kind?i.expression.expression:i.left.expression;if(Wm(t,yg(a))){var o=f(n.antecedent),s=Lg(o);if(256&e.getObjectFlags(s)){var c=s;if(207===i.kind)for(var u=0,l=i.arguments;u<l.length;u++)c=Bg(c,l[u]);else lb(Jb(i.left.argumentExpression),296)&&(c=Bg(c,i.right));return c===s?o:Mg(c,Og(o))}return o}}}function v(e){var t=f(e.antecedent),r=Lg(t);if(131072&r.flags)return t;var n=0!=(32&e.flags),i=Kg(r),a=V(i,e.node,n);return a===i?t:Mg(a,Og(t))}function D(r){var n=r.switchStatement.expression,i=f(r.antecedent),a=Lg(i);if(Wm(t,n))a=R(a,r.switchStatement,r.clauseStart,r.clauseEnd);else if(215===n.kind&&Wm(t,n.expression))a=function(t,r,n,i){var a=xg(r,!0);if(!a.length)return t;var o,s,c=e.findIndex(a,(function(e){return void 0===e})),u=n===i||c>=n&&c<i;if(c>-1){var l=a.filter((function(e){return void 0!==e})),p=c<n?n-1:n,d=c<i?i-1:i;o=l.slice(p,d),s=YD(p,d,l,u)}else o=a.slice(n,i),s=YD(n,i,a,u);if(u)return kg(t,(function(e){return(og(e)&s)===s}));var f=sg(sp(o.map((function(e){return B(t,e)||t}))),s);return sg(Pg(t,j(f)),s)}(a,r.switchStatement,r.clauseStart,r.clauseEnd);else{H&&($m(n,t)?a=M(a,r.switchStatement,r.clauseStart,r.clauseEnd,(function(e){return!(163840&e.flags)})):215===n.kind&&$m(n.expression,t)&&(a=M(a,r.switchStatement,r.clauseStart,r.clauseEnd,(function(e){return!(131072&e.flags||128&e.flags&&"undefined"===e.value)}))));var o=k(n,a);o&&(a=function(t,r,n,i,a){if(i<a&&1048576&t.flags&&Qm(t)===Hm(r)){var o=bg(n).slice(i,a),s=sp(e.map(o,(function(e){return Zm(t,e)||je})));if(s!==je)return s}return A(t,r,(function(e){return R(e,n,i,a)}))}(a,o,r.switchStatement,r.clauseStart,r.clauseEnd))}return Mg(a,Og(i))}function b(t){for(var i,a=[],o=!1,s=!1,c=0,u=t.antecedents;c<u.length;c++){var l=u[c];if(!i&&128&l.flags&&l.clauseStart===l.clauseEnd)i=l;else{if((d=Lg(p=f(l)))===r&&r===n)return d;e.pushIfUnique(a,d),Eg(d,r)||(o=!0),Og(p)&&(s=!0)}}if(i){var p,d=Lg(p=f(i));if(!e.contains(a,d)&&!XD(i.switchStatement)){if(d===r&&r===n)return d;a.push(d),Eg(d,r)||(o=!0),Og(p)&&(s=!0)}}return Mg(E(a,o?2:1),s)}function x(t){var n=ng(t),i=rn[n]||(rn[n]=new e.Map),a=d();if(!a)return r;var o=i.get(a);if(o)return o;for(var s=Jr;s<Ur;s++)if(nn[s]===t&&an[s]===a&&on[s].length)return Mg(E(on[s],1),!0);for(var c,u=[],l=!1,p=0,_=t.antecedents;p<_.length;p++){var m=_[p],g=void 0;if(c){nn[Ur]=t,an[Ur]=a,on[Ur]=u,Ur++;var h=Dr;Dr=void 0,g=f(m),Dr=h,Ur--;var y=i.get(a);if(y)return y}else g=c=f(m);var v=Lg(g);if(e.pushIfUnique(u,v),Eg(v,r)||(l=!0),v===r)break}var D=E(u,l?2:1);return Og(c)?Mg(D,!0):(i.set(a,D),D)}function E(t,n){if(function(t){for(var r=!1,n=0,i=t;n<i.length;n++){var a=i[n];if(!(131072&a.flags)){if(!(256&e.getObjectFlags(a)))return!1;r=!0}}return r}(t))return Rg(sp(e.map(t,Jg)));var i=sp(e.sameMap(t,Kg),n);return i!==r&&i.flags&r.flags&1048576&&e.arraysEqual(i.types,r.types)?r:i}function k(n,i){var a=1048576&r.flags?r:i;if(1048576&a.flags){var o=function(r){if(e.isBindingPattern(t)||e.isFunctionExpressionOrArrowFunction(t)){if(e.isIdentifier(r)&&(i=(n=qm(r)).valueDeclaration)&&(e.isBindingElement(i)||e.isParameter(i))&&t===i.parent&&!i.initializer&&!i.dotDotDotToken)return i}else if(e.isAccessExpression(r)){if(Wm(t,r.expression))return r}else if(e.isIdentifier(r)){var n;if(rh(n=qm(r))){var i=n.valueDeclaration;if(e.isVariableDeclaration(i)&&!i.type&&i.initializer&&e.isAccessExpression(i.initializer)&&Wm(t,i.initializer.expression))return i.initializer;if(e.isBindingElement(i)&&!i.initializer){var a=i.parent.parent;if(e.isVariableDeclaration(a)&&!a.type&&a.initializer&&(e.isIdentifier(a.initializer)||e.isAccessExpression(a.initializer))&&Wm(t,a.initializer))return i}}}}(n);if(o){var s=Hm(o);if(s&&Ym(a,s))return o}}}function A(t,r,n){var i=Hm(r);if(void 0===i)return t;var a=H&&e.isOptionalChain(r)&&ub(t,98304),o=no(a?sg(t,2097152):t,i);if(!o)return t;var s=n(o=a?j_(o):o);return kg(t,(function(e){var t=function(e,t){var r;return no(e,t)||(null===(r=du(e,t))||void 0===r?void 0:r.type)||je}(e,i);return!(131072&s.flags)&&mf(s,t)}))}function N(e,t,r,n,i){if((36===r||37===r)&&1048576&e.flags){var a=Qm(e);if(a&&a===Hm(t)){var o=Zm(e,jb(n));if(o)return r===(i?36:37)?o:v_(no(o,a)||je)?Ag(e,o):e}}return A(e,t,(function(e){return O(e,r,n,i)}))}function P(e,r,n){if(Wm(t,r))return 2&e.flags&&n?Ke:sg(e,n?4194304:8388608);H&&n&&$m(r,t)&&(e=sg(e,2097152));var i=k(r,e);return i?A(e,i,(function(e){return sg(e,n?4194304:8388608)})):e}function F(t,n,i){return 1048576&t.flags||524288&t.flags&&r!==t||e.isThisTypeParameter(t)||2097152&t.flags&&e.every(t.types,(function(e){return e.symbol!==ce}))?kg(t,(function(e){return function(e,t,r){var n=eu(e,t);return n?!!(16777216&n.flags)||r:!!du(e,t)||!r}(e,n,i)})):t}function w(r,n,i){switch(n.operatorToken.kind){case 63:case 75:case 76:case 77:return P(V(r,n.right,i),n.left,i);case 34:case 35:case 36:case 37:var a=n.operatorToken.kind,o=yg(n.left),s=yg(n.right);if(215===o.kind&&e.isStringLiteralLike(s))return L(r,o,a,s,i);if(215===s.kind&&e.isStringLiteralLike(o))return L(r,s,a,o,i);if(Wm(t,o))return O(r,a,s,i);if(Wm(t,s))return O(r,a,o,i);H&&($m(o,t)?r=I(r,a,s,i):$m(s,t)&&(r=I(r,a,o,i)));var c=k(o,r);if(c)return N(r,c,a,s,i);var u=k(s,r);if(u)return N(r,u,a,o,i);if(K(o))return J(r,a,s,i);if(K(s))return J(r,a,o,i);break;case 102:return function(r,n,i){var a=yg(n.left);if(!Wm(t,a))return i&&H&&$m(a,t)?sg(r,2097152):r;var o=jb(n.right);if(!_f(o,wt))return r;var s,c=eu(o,"prototype");if(c){var u=Yo(c);io(u)||(s=u)}if(io(r)&&(s===Ft||s===wt))return r;if(!s){var l=ru(o,1);s=l.length?sp(e.map(l,(function(e){return Pu(Ru(e))}))):gt}return!i&&1048576&o.flags&&!e.find(o.types,(function(e){return!os(e)}))?r:U(r,s,i,_f)}(r,n,i);case 101:if(e.isPrivateIdentifier(n.left))return function(r,n,i){var a=yg(n.right);if(!Wm(t,a))return r;e.Debug.assertNode(n.left,e.isPrivateIdentifier);var o=Wy(n.left);if(void 0===o)return r;var s=o.parent;return U(r,e.hasStaticModifier(e.Debug.checkDefined(o.valueDeclaration,"should always have a declaration"))?Yo(s):Ss(s),i,_f)}(r,n,i);var l=yg(n.right),p=MS(n.left);if(128&p.flags){var d=e.escapeLeadingUnderscores(p.value);if(W_(r)&&e.isAccessExpression(t)&&Wm(t.expression,l)&&Hm(t)===d)return sg(r,i?524288:65536);if(Wm(t,l))return F(r,d,i)}break;case 27:return V(r,n.right,i);case 55:return i?V(V(r,n.left,!0),n.right,!0):sp([V(r,n.left,!1),V(r,n.right,!1)]);case 56:return i?sp([V(r,n.left,!0),V(r,n.right,!0)]):V(V(r,n.left,!1),n.right,!1)}return r}function I(e,t,r,n){var i=34===t||36===t,a=34===t||35===t?98304:32768,o=jb(r);return i!==n&&Tg(o,(function(e){return!!(e.flags&a)}))||i===n&&Tg(o,(function(e){return!(e.flags&(3|a))}))?sg(e,2097152):e}function O(e,t,r,n){if(1&e.flags)return e;(35===t||37===t)&&(n=!n);var i=jb(r);if(n&&2&e.flags&&(34===t||35===t)&&65536&i.flags)return sp([ze,Je]);if(2&e.flags&&n&&(36===t||37===t))return 67239932&i.flags?i:524288&i.flags?ct:e;if(98304&i.flags){if(!H)return e;var a=34===t||35===t?n?262144:2097152:65536&i.flags?n?131072:1048576:n?65536:524288;return 2&e.flags&&3145728&a?Ke:sg(e,a)}return n?Ig(kg(e,34===t?function(e){return gf(e,i)||function(e,t){return 0!=(524&e.flags)&&0!=(28&t.flags)}(e,i)}:function(e){return gf(e,i)}),i):v_(i)?kg(e,(function(e){return!(D_(e)&&gf(e,i))})):e}function L(e,r,n,i,a){(35===n||37===n)&&(a=!a);var o=yg(r.expression);if(!Wm(t,o))return H&&$m(o,t)&&a===("undefined"!==i.text)?sg(e,2097152):e;if(1&e.flags&&"function"===i.text)return e;if(a&&2&e.flags&&"object"===i.text)return e===Ke?ct:sp([ct,ze]);var s=a?S.get(i.text)||128:C.get(i.text)||32768,c=B(e,i.text);return sg(a&&c?Pg(e,j(c)):e,s)}function M(t,r,n,i,a){return n!==i&&e.every(bg(r).slice(n,i),a)?sg(t,2097152):t}function R(t,r,n,i){var a=bg(r);if(!a.length)return t;var o=a.slice(n,i),s=n===i||e.contains(o,nt);if(2&t.flags&&!s){for(var c=void 0,u=0;u<o.length;u+=1){var l=o[u];if(67239932&l.flags)void 0!==c&&c.push(l);else{if(!(524288&l.flags))return t;void 0===c&&(c=o.slice(0,u)),c.push(ct)}}return sp(void 0===c?o:c)}var p=sp(o),d=131072&p.flags?nt:Ig(kg(t,(function(e){return gf(p,e)})),p);if(!s)return d;var f=kg(t,(function(t){return!(D_(t)&&e.contains(a,hd(function(t){return 2097152&t.flags&&e.find(t.types,v_)||t}(t))))}));return 131072&d.flags?f:sp([d,f])}function B(e,t){switch(t){case"function":return 1&e.flags?e:wt;case"object":return 2&e.flags?sp([ct,ze]):e;default:return yn.get(t)}}function j(e){return function(t){if(df(t,e))return t;if(df(e,t))return e;if(465829888&t.flags){var r=Lc(t)||we;if(df(e,r))return mp([t,e])}return t}}function K(r){return(e.isPropertyAccessExpression(r)&&"constructor"===e.idText(r.name)||e.isElementAccessExpression(r)&&e.isStringLiteralLike(r.argumentExpression)&&"constructor"===r.argumentExpression.text)&&Wm(t,r.expression)}function J(t,r,n,i){if(i?34!==r&&36!==r:35!==r&&37!==r)return t;var a=jb(n);if(!lC(a)&&!os(a))return t;var o=eu(a,"prototype");if(!o)return t;var s=Yo(o),c=io(s)?void 0:s;return c&&c!==Ft&&c!==wt?io(t)?c:kg(t,(function(t){return function(t,r){return 524288&t.flags&&1&e.getObjectFlags(t)||524288&r.flags&&1&e.getObjectFlags(r)?t.symbol===r.symbol:df(t,r)}(t,c)})):t}function U(e,t,r,n){if(!r)return kg(e,(function(e){return!n(e,t)}));if(1048576&e.flags){var i=kg(e,(function(e){return n(e,t)}));if(!(131072&i.flags))return i}return df(t,e)?t:ff(e,t)?e:ff(t,e)?t:mp([e,t])}function q(r,n,i,a){if(n.type&&(!io(r)||n.type!==Ft&&n.type!==wt)){var o=function(t,r){if(1===t.kind||3===t.kind)return r.arguments[t.parameterIndex];var n=e.skipParentheses(r.expression);return e.isAccessExpression(n)?e.skipParentheses(n.expression):void 0}(n,i);if(o){if(Wm(t,o))return U(r,n.type,a,df);H&&a&&$m(o,t)&&!(65536&og(n.type))&&(r=sg(r,2097152));var s=k(o,r);if(s)return A(r,s,(function(e){return U(e,n.type,a,df)}))}}return r}function V(r,n,i){if(e.isExpressionOfOptionalChainRoot(n)||e.isBinaryExpression(n.parent)&&60===n.parent.operatorToken.kind&&n.parent.left===n)return function(e,r,n){if(Wm(t,r))return sg(e,n?2097152:262144);var i=k(r,e);return i?A(e,i,(function(e){return sg(e,n?2097152:262144)})):e}(r,n,i);switch(n.kind){case 79:if(!Wm(t,n)&&T<5){var a=qm(n);if(rh(a)){var o=a.valueDeclaration;if(o&&e.isVariableDeclaration(o)&&!o.type&&o.initializer&&Xg(t)){T++;var s=V(r,o.initializer,i);return T--,s}}}case 108:case 106:case 205:case 206:return P(r,n,i);case 207:return function(r,n,i){if(rg(n,t)){var a=i||!e.isCallChain(n)?zg(n):void 0,o=a&&Au(a);if(o&&(0===o.kind||1===o.kind))return q(r,o,n,i)}if(W_(r)&&e.isAccessExpression(t)&&e.isPropertyAccessExpression(n.expression)){var s=n.expression;if(Wm(t.expression,yg(s.expression))&&e.isIdentifier(s.name)&&"hasOwnProperty"===s.name.escapedText&&1===n.arguments.length){var c=n.arguments[0];if(e.isStringLiteralLike(c)&&Hm(t)===e.escapeLeadingUnderscores(c.text))return sg(r,i?524288:65536)}}return r}(r,n,i);case 211:case 229:return V(r,n.expression,i);case 220:return w(r,n,i);case 218:if(53===n.operator)return V(r,n.operand,!i)}return r}}function Zg(t){return e.findAncestor(t.parent,(function(t){return e.isFunctionLike(t)&&!e.getImmediatelyInvokedFunctionExpression(t)||261===t.kind||303===t.kind||166===t.kind}))}function eh(t){if(!t.valueDeclaration)return!1;var r=e.getRootDeclaration(t.valueDeclaration).parent,n=Yn(r);return 8388608&n.flags||(n.flags|=8388608,function(t){return!!e.findAncestor(t.parent,(function(t){return(e.isFunctionLike(t)||e.isCatchClause(t))&&!!(8388608&Yn(t).flags)}))}(r)||th(r)),t.isAssigned||!1}function th(t){if(79===t.kind){if(e.isAssignmentTarget(t)){var r=qm(t);e.isParameterOrCatchClauseVariable(r)&&(r.isAssigned=!0)}}else e.forEachChild(t,th)}function rh(e){return 3&e.flags&&0!=(2&Ay(e))}function nh(e){return!!(465829888&e.flags&&1146880&Mc(e).flags)}function ih(e){return!(!(465829888&e.flags)||ub(Mc(e),98304))}function ah(t,r,n){return n&&2&n||!Cg(t,nh)||!function(e,t){var r=t.parent;return 205===r.kind||207===r.kind&&r.expression===t||206===r.kind&&r.expression===t&&!(Cg(e,ih)&&Bp(jb(r.argumentExpression)))}(t,r)&&!function(t,r){var n=(e.isIdentifier(t)||e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t))&&!((e.isJsxOpeningElement(t.parent)||e.isJsxSelfClosingElement(t.parent))&&t.parent.tagName===t)&&(r&&32&r?Jh(t,8):Jh(t));return n&&!Mp(n)}(r,n)?t:Pg(t,(function(e){return 465829888&e.flags?Mc(e):e}))}function oh(t){return!!e.findAncestor(t,(function(t){var r=t.parent;return void 0===r?"quit":e.isExportAssignment(r)?r.expression===t&&e.isEntityNameExpression(t):!!e.isExportSpecifier(r)&&(r.name===t||r.propertyName===t)}))}function sh(t,r){if(Ai(t,111551)&&!Vm(r)&&!Ii(t)){var n=Pi(t);111551&n.flags&&(N.isolatedModules||e.shouldPreserveConstEnums(N)&&oh(r)||!ZS(n)?Li(t):function(e){var t=$n(e);t.constEnumReferenced||(t.constEnumReferenced=!0)}(t))}}function ch(t,r){if(e.isThisInTypeQuery(t))return _h(t);var n=qm(t);if(n===Ae)return Le;if(n===le){if(Qy(t))return In(t,e.Diagnostics.arguments_cannot_be_referenced_in_property_initializers),Le;var i=e.getContainingFunction(t);return q<2&&(213===i.kind?In(t,e.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):e.hasSyntacticModifier(i,256)&&In(t,e.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),Yn(i).flags|=8192,Yo(n)}t.parent&&e.isPropertyAccessExpression(t.parent)&&t.parent.expression===t||sh(n,t);var a=ca(n),o=cS(a,t);Bn(o)&&Fp(t,o)&&o.declarations&&jn(t,o.declarations,t.escapedText);var s=a.valueDeclaration;if(s&&32&a.flags)if(256===s.kind&&e.nodeIsDecorated(s))for(i=e.getContainingClass(t);void 0!==i;){if(i===s&&i.name!==t){Yn(s).flags|=16777216,Yn(t).flags|=33554432;break}i=e.getContainingClass(i)}else if(225===s.kind)for(i=e.getThisContainer(t,!1);303!==i.kind;){if(i.parent===s){(e.isPropertyDeclaration(i)&&e.isStatic(i)||e.isClassStaticBlockDeclaration(i))&&(Yn(s).flags|=16777216,Yn(t).flags|=33554432);break}i=e.getThisContainer(i,!1)}!function(t,r){if(!(q>=2||0==(34&r.flags)||!r.valueDeclaration||e.isSourceFile(r.valueDeclaration)||291===r.valueDeclaration.parent.kind)){var n=e.getEnclosingBlockScopeContainer(r.valueDeclaration),i=function(t,r){return!!e.findAncestor(t,(function(t){return t===r?"quit":e.isFunctionLike(t)||t.parent&&e.isPropertyDeclaration(t.parent)&&!e.hasStaticModifier(t.parent)&&t.parent.initializer===t}))}(t,n),a=uh(n);if(a){if(i){var o=!0;if(e.isForStatement(n)&&(l=e.getAncestor(r.valueDeclaration,254))&&l.parent===n){var s=function(t,r){return e.findAncestor(t,(function(e){return e===r?"quit":e===r.initializer||e===r.condition||e===r.incrementor||e===r.statement}))}(t.parent,n);if(s){var c=Yn(s);c.flags|=131072;var u=c.capturedBlockScopeBindings||(c.capturedBlockScopeBindings=[]);e.pushIfUnique(u,r),s===n.initializer&&(o=!1)}}o&&(Yn(a).flags|=65536)}var l;e.isForStatement(n)&&(l=e.getAncestor(r.valueDeclaration,254))&&l.parent===n&&function(t,r){for(var n=t;211===n.parent.kind;)n=n.parent;var i=!1;if(e.isAssignmentTarget(n))i=!0;else if(218===n.parent.kind||219===n.parent.kind){var a=n.parent;i=45===a.operator||46===a.operator}return!!i&&!!e.findAncestor(n,(function(e){return e===r?"quit":e===r.statement}))}(t,n)&&(Yn(r.valueDeclaration).flags|=4194304),Yn(r.valueDeclaration).flags|=524288}i&&(Yn(r.valueDeclaration).flags|=262144)}}(t,n);var c=function(t,r){var n=t.valueDeclaration;if(n){if(e.isBindingElement(n)&&!n.initializer&&!n.dotDotDotToken&&n.parent.elements.length>=2){var i=n.parent.parent;if(253===i.kind&&2&e.getCombinedNodeFlags(n)||163===i.kind){var a=Yn(r);if(!(268435456&a.flags)){a.flags|=268435456;var o=oo(i,0);if(a.flags&=-268435457,o&&1048576&o.flags&&(163!==i.kind||!eh(t)))return 131072&(u=Qg(n.parent,o,o,void 0,r.flowNode)).flags?nt:mo(n,u)}}}if(e.isParameter(n)&&!n.type&&!n.initializer&&!n.dotDotDotToken){var s=n.parent;if(s.parameters.length>=2&&of(s)){var c=Gh(s);if(c&&1===c.parameters.length&&J(c)){var u,l=Yo(c.parameters[0]);if(1048576&l.flags&&Tg(l,k_)&&!eh(t))return Vp(u=Qg(s,l,l,void 0,r.flowNode),Dd(s.parameters.indexOf(n)-(e.getThisParameter(s)?1:0)))}}}}return Yo(t)}(a,t),u=e.getAssignmentTargetKind(t);if(u){if(!(3&a.flags||e.isInJSFile(t)&&512&a.flags))return In(t,384&a.flags?e.Diagnostics.Cannot_assign_to_0_because_it_is_an_enum:32&a.flags?e.Diagnostics.Cannot_assign_to_0_because_it_is_a_class:1536&a.flags?e.Diagnostics.Cannot_assign_to_0_because_it_is_a_namespace:16&a.flags?e.Diagnostics.Cannot_assign_to_0_because_it_is_a_function:2097152&a.flags?e.Diagnostics.Cannot_assign_to_0_because_it_is_an_import:e.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable,Ma(n)),Le;if(ib(a))return 3&a.flags?In(t,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,Ma(n)):In(t,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,Ma(n)),Le}var l=2097152&a.flags;if(3&a.flags){if(1===u)return c}else{if(!l)return c;s=fi(n)}if(!s)return c;c=ah(c,t,r);for(var p=163===e.getRootDeclaration(s).kind,d=Zg(s),f=Zg(t),_=f!==d,m=t.parent&&t.parent.parent&&e.isSpreadAssignment(t.parent)&&fg(t.parent.parent),g=134217728&n.flags;f!==d&&(212===f.kind||213===f.kind||e.isObjectLiteralOrClassExpressionMethodOrAccessor(f))&&(rh(a)&&c!==qt||p&&!eh(a));)f=Zg(f);var h=p||l||_||m||g||e.isBindingElement(s)||c!==Ie&&c!==qt&&(!H||0!=(16387&c.flags)||Vm(t)||274===t.parent.kind)||229===t.parent.kind||253===s.kind&&s.exclamationToken||8388608&s.flags,y=Qg(t,c,h?p?function(e,t){if(Qa(t.symbol,2)){var r=H&&163===t.kind&&t.initializer&&32768&O_(e)&&!(32768&O_(Ub(t.initializer)));return to(),r?sg(e,524288):e}return Go(t.symbol),e}(c,s):c:c===Ie||c===qt?Je:j_(c),f);if(Ug(t)||c!==Ie&&c!==qt){if(!h&&!(32768&O_(c))&&32768&O_(y))return In(t,e.Diagnostics.Variable_0_is_used_before_being_assigned,Ma(n)),c}else if(y===Ie||y===qt)return X&&(In(e.getNameOfDeclaration(s),e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Ma(n),Ba(y)),In(t,e.Diagnostics.Variable_0_implicitly_has_an_1_type,Ma(n),Ba(y))),Yx(y);return u?x_(y):y}function uh(t){return e.findAncestor(t,(function(t){return!t||e.nodeStartsNewLexicalEnvironment(t)?"quit":e.isIterationStatement(t,!1)}))}function lh(e,t){Yn(e).flags|=2,166===t.kind||170===t.kind?Yn(t.parent).flags|=4:Yn(t).flags|=4}function ph(t){return e.isSuperCall(t)?t:e.isFunctionLike(t)?void 0:e.forEachChild(t,ph)}function dh(e){return ls(Ss(ra(e)))===We}function fh(t,r,n){var i=r.parent;e.getClassExtendsHeritageElement(i)&&!dh(i)&&t.flowNode&&!Yg(t.flowNode,!1)&&In(t,n)}function _h(t){var r=Vm(t),n=e.getThisContainer(t,!0),i=!1;switch(170===n.kind&&fh(t,n,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),213===n.kind&&(n=e.getThisContainer(n,!1),i=!0),function(t,r){e.isPropertyDeclaration(r)&&e.hasStaticModifier(r)&&r.initializer&&e.textRangeContainsPositionInclusive(r.initializer,t.pos)&&e.length(r.parent.decorators)&&In(t,e.Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}(t,n),n.kind){case 260:In(t,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 259:In(t,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 170:gh(t,n)&&In(t,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 161:In(t,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name)}!r&&i&&q<2&&lh(t,n);var a=mh(t,!0,n);if(Q){var o=Yo(ce);if(a===o&&i)In(t,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!a){var s=In(t,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(n)){var c=mh(n);c&&c!==o&&e.addRelatedInfo(s,e.createDiagnosticForNode(n,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return a||we}function mh(t,r,n){void 0===r&&(r=!0),void 0===n&&(n=e.getThisContainer(t,!1));var i=e.isInJSFile(t);if(e.isFunctionLike(n)&&(!Eh(t)||e.getThisParameter(n))){var a=function(e){return ku(xu(e))}(n)||i&&function(t){var r=e.getJSDocType(t);if(r&&315===r.kind){var n=r;if(n.parameters.length>0&&n.parameters[0].name&&"this"===n.parameters[0].name.escapedText)return kd(n.parameters[0].type)}var i=e.getJSDocThisTag(t);if(i&&i.typeExpression)return kd(i.typeExpression)}(n);if(!a){var o=function(t){return 212===t.kind&&e.isBinaryExpression(t.parent)&&3===e.getAssignmentDeclarationKind(t.parent)?t.parent.left.expression.expression:168===t.kind&&204===t.parent.kind&&e.isBinaryExpression(t.parent.parent)&&6===e.getAssignmentDeclarationKind(t.parent.parent)?t.parent.parent.left.expression:212===t.kind&&294===t.parent.kind&&204===t.parent.parent.kind&&e.isBinaryExpression(t.parent.parent.parent)&&6===e.getAssignmentDeclarationKind(t.parent.parent.parent)?t.parent.parent.parent.left.expression:212===t.kind&&e.isPropertyAssignment(t.parent)&&e.isIdentifier(t.parent.name)&&("value"===t.parent.name.escapedText||"get"===t.parent.name.escapedText||"set"===t.parent.name.escapedText)&&e.isObjectLiteralExpression(t.parent.parent)&&e.isCallExpression(t.parent.parent.parent)&&t.parent.parent.parent.arguments[2]===t.parent.parent&&9===e.getAssignmentDeclarationKind(t.parent.parent.parent)?t.parent.parent.parent.arguments[0].expression:e.isMethodDeclaration(t)&&e.isIdentifier(t.name)&&("value"===t.name.escapedText||"get"===t.name.escapedText||"set"===t.name.escapedText)&&e.isObjectLiteralExpression(t.parent)&&e.isCallExpression(t.parent.parent)&&t.parent.parent.arguments[2]===t.parent&&9===e.getAssignmentDeclarationKind(t.parent.parent)?t.parent.parent.arguments[0].expression:void 0}(n);if(i&&o){var s=Ub(o).symbol;s&&s.members&&16&s.flags&&(a=Ss(s).thisType)}else sD(n)&&(a=Ss(ta(n.symbol)).thisType);a||(a=Dh(n))}if(a)return Qg(t,a)}if(e.isClassLike(n.parent)){var c=ra(n.parent);return Qg(t,e.isStatic(n)?Yo(c):Ss(c).thisType)}if(e.isSourceFile(n)){if(n.commonJsModuleIndicator){var u=ra(n);return u&&Yo(u)}if(n.externalModuleIndicator)return Je;if(r)return Yo(ce)}}function gh(t,r){return!!e.findAncestor(t,(function(t){return e.isFunctionLikeDeclaration(t)?"quit":163===t.kind&&t.parent===r}))}function hh(t){var r=207===t.parent.kind&&t.parent.expression===t,n=e.getSuperContainer(t,!0),i=n,a=!1;if(!r)for(;i&&213===i.kind;)i=e.getSuperContainer(i,!0),a=q<2;var o,s=0;if(!(o=i)||(r?170!==o.kind:!e.isClassLike(o.parent)&&204!==o.parent.kind||(e.isStatic(o)?168!==o.kind&&167!==o.kind&&171!==o.kind&&172!==o.kind&&166!==o.kind&&169!==o.kind:168!==o.kind&&167!==o.kind&&171!==o.kind&&172!==o.kind&&166!==o.kind&&165!==o.kind&&170!==o.kind))){var c=e.findAncestor(t,(function(e){return e===i?"quit":161===e.kind}));return c&&161===c.kind?In(t,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):r?In(t,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):i&&i.parent&&(e.isClassLike(i.parent)||204===i.parent.kind)?In(t,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):In(t,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),Le}if(!r&&170===n.kind&&fh(t,i,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),e.isStatic(i)||r?(s=512,!r&&q>=2&&q<=8&&(e.isPropertyDeclaration(i)||e.isClassStaticBlockDeclaration(i))&&e.forEachEnclosingBlockScopeContainer(t.parent,(function(t){(!e.isSourceFile(t)||e.isExternalOrCommonJsModule(t))&&(Yn(t).flags|=134217728)}))):s=256,Yn(t).flags|=s,168===i.kind&&e.hasSyntacticModifier(i,256)&&(e.isSuperProperty(t.parent)&&e.isAssignmentTarget(t.parent)?Yn(i).flags|=4096:Yn(i).flags|=2048),a&&lh(t.parent,i),204===i.parent.kind)return q<2?(In(t,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),Le):we;var u=i.parent;if(!e.getClassExtendsHeritageElement(u))return In(t,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),Le;var l=Ss(ra(u)),p=l&&ds(l)[0];return p?170===i.kind&&gh(t,i)?(In(t,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),Le):512===s?ls(l):Vs(p,l.thisType):Le}function yh(t){return 4&e.getObjectFlags(t)&&t.target===Jt?rl(t)[0]:void 0}function vh(t){return Pg(t,(function(t){return 2097152&t.flags?e.forEach(t.types,yh):yh(t)}))}function Dh(t){if(213!==t.kind){if(of(t)){var r=Gh(t);if(r){var n=r.thisParameter;if(n)return Yo(n)}}var i=e.isInJSFile(t);if(Q||i){var a=function(e){return 168!==e.kind&&171!==e.kind&&172!==e.kind||204!==e.parent.kind?212===e.kind&&294===e.parent.kind?e.parent.parent:void 0:e.parent}(t);if(a){for(var o=Bh(a),s=a,c=o;c;){var u=vh(c);if(u)return Qd(u,mm(Uh(a)));if(294!==s.parent.kind)break;c=Bh(s=s.parent.parent)}return rm(o?K_(o):Sb(a))}var l=e.walkUpParenthesizedExpressions(t.parent);if(220===l.kind&&63===l.operatorToken.kind){var p=l.left;if(e.isAccessExpression(p)){var d=p.expression;if(i&&e.isIdentifier(d)){var f=e.getSourceFileOfNode(l);if(f.commonJsModuleIndicator&&qm(d)===f.symbol)return}return rm(Sb(d))}}}}}function bh(t){var r=t.parent;if(of(r)){var n=e.getImmediatelyInvokedFunctionExpression(r);if(n&&n.arguments){var i=Kv(n),a=r.parameters.indexOf(t);if(t.dotDotDotToken)return Ov(i,a,i.length,we,void 0,0);var o=Yn(n),s=o.resolvedSignature;o.resolvedSignature=Tr;var c=a<i.length?E_(Ub(i[a])):t.initializer?void 0:Ue;return o.resolvedSignature=s,c}var u=Gh(r);if(u){var l=r.parameters.indexOf(t)-(e.getThisParameter(r)?1:0);return t.dotDotDotToken&&e.lastOrUndefined(r.parameters)===t?ID(u,l):wD(u,l)}}}function xh(t){var r=e.getEffectiveTypeAnnotationNode(t);if(r)return kd(r);switch(t.kind){case 163:return bh(t);case 202:return function(t){var r=t.parent.parent,n=t.propertyName||t.name,i=xh(r)||202!==r.kind&&r.initializer&&Tb(r,t.dotDotDotToken?32:0);if(i&&!e.isBindingPattern(n)&&!e.isComputedNonLiteralName(n)){if(201===r.name.kind){var a=e.indexOfNode(t.parent.elements,t);return a<0?void 0:Ih(i,a)}var o=Dp(n);if(Os(o))return no(i,js(o))}}(t);case 166:if(e.isStatic(t))return function(t){var r=e.isExpression(t.parent)&&Jh(t.parent);if(r)return Fh(r,ra(t).escapedName)}(t)}}function Eh(t){for(var r=!1;t.parent&&!e.isFunctionLike(t.parent);){if(e.isParameter(t.parent)&&(r||t.parent.initializer===t))return!0;e.isBindingElement(t.parent)&&t.parent.initializer===t&&(r=!0),t=t.parent}return!1}function Sh(t,r){var n=!!(2&e.getFunctionFlags(r)),i=Ch(r);if(i)return wE(t,i,n)||void 0}function Ch(t){var r=Fu(t);if(r)return r;var n=Hh(t);if(n&&!wu(n))return Pu(n);var i=e.getImmediatelyInvokedFunctionExpression(t);return i?Jh(i):void 0}function Th(e,t){var r=Kv(e).indexOf(t);return-1===r?void 0:kh(e,r)}function kh(t,r){if(e.isImportCall(t))return 0===r?He:1===r?Al(!1):we;var n=Yn(t).resolvedSignature===Ar?Ar:oD(t);if(e.isJsxOpeningLikeElement(t)&&0===r)return qh(n,t);var i=n.parameters.length-1;return J(n)&&r>=i?Vp(Yo(n.parameters[i]),Dd(r-i),256):FD(n,r)}function Ah(t,r){var n=t.parent,i=n.left,a=n.operatorToken,o=n.right;switch(a.kind){case 63:case 76:case 75:case 77:return t===o?function(t){var r,n,i=e.getAssignmentDeclarationKind(t);switch(i){case 0:case 4:var a=function(t){if(t.symbol)return t.symbol;if(e.isIdentifier(t))return qm(t);if(e.isPropertyAccessExpression(t)){var r=jb(t.expression);return e.isPrivateIdentifier(t.name)?n(r,t.name):eu(r,t.name.escapedText)}return;function n(e,t){var r=Vy(t.escapedText,t);return r&&Hy(e,r)}}(t.left),o=a&&a.valueDeclaration;return o&&(e.isPropertyDeclaration(o)||e.isPropertySignature(o))?(c=e.getEffectiveTypeAnnotationNode(o))&&Qd(kd(c),$n(a).mapper)||o.initializer&&jb(t.left):0===i?jb(t.left):Ph(t);case 5:if(Nh(t,i))return Ph(t);if(t.left.symbol){var s=t.left.symbol.valueDeclaration;if(!s)return;var c,u=e.cast(t.left,e.isAccessExpression);if(c=e.getEffectiveTypeAnnotationNode(s))return kd(c);if(e.isIdentifier(u.expression)){var l=u.expression,p=ti(l,l.escapedText,111551,void 0,l.escapedText,!0);if(p){var d=p.valueDeclaration&&e.getEffectiveTypeAnnotationNode(p.valueDeclaration);if(d){var f=e.getElementOrPropertyAccessName(u);if(void 0!==f)return Fh(kd(d),f)}return}}return e.isInJSFile(s)?void 0:jb(t.left)}return jb(t.left);case 1:case 6:case 3:var _=null===(r=t.left.symbol)||void 0===r?void 0:r.valueDeclaration;case 2:_||(_=null===(n=t.symbol)||void 0===n?void 0:n.valueDeclaration);var m=_&&e.getEffectiveTypeAnnotationNode(_);return m?kd(m):void 0;case 7:case 8:case 9:return e.Debug.fail("Does not apply");default:return e.Debug.assertNever(i)}}(n):void 0;case 56:case 60:var s=Jh(n,r);return t===o&&(s&&s.pattern||!s&&!e.isDefaultedExpandoInitializer(n))?jb(i):s;case 55:case 27:return t===o?Jh(n,r):void 0;default:return}}function Nh(t,r){if(void 0===r&&(r=e.getAssignmentDeclarationKind(t)),4===r)return!0;if(!e.isInJSFile(t)||5!==r||!e.isIdentifier(t.left.expression))return!1;var n=t.left.expression.escapedText,i=ti(t.left,n,111551,void 0,void 0,!0,!0);return e.isThisInitializedDeclaration(null==i?void 0:i.valueDeclaration)}function Ph(t){if(!t.symbol)return jb(t.left);if(t.symbol.valueDeclaration){var r=e.getEffectiveTypeAnnotationNode(t.symbol.valueDeclaration);if(r){var n=kd(r);if(n)return n}}var i=e.cast(t.left,e.isAccessExpression);if(e.isObjectLiteralMethod(e.getThisContainer(i.expression,!1))){var a=_h(i.expression),o=e.getElementOrPropertyAccessName(i);return void 0!==o&&Fh(a,o)||void 0}}function Fh(t,r,n){return Pg(t,(function(t){var i;if(Ec(t)){var a=_c(t),o=Lc(a)||a,s=n||vd(e.unescapeLeadingUnderscores(r));if(ff(s,o))return qp(t,s)}else if(3670016&t.flags){var c=eu(t,r);if(c)return function(t){return!!(262144&e.getCheckFlags(t)&&!t.type&&Za(t,0)>=0)}(c)?void 0:Yo(c);if(k_(t)){var u=P_(t);if(u&&e.isNumericLiteralName(r)&&+r>=0)return u}return null===(i=iu(ou(t),n||vd(e.unescapeLeadingUnderscores(r))))||void 0===i?void 0:i.type}}),!0)}function wh(t,r){var n=t.parent,i=e.isPropertyAssignment(t)&&xh(t);if(i)return i;var a=Bh(n,r);if(a){if(Bs(t)){var o=ra(t);return Fh(a,o.escapedName,$n(o).nameType)}if(t.name){var s=Dp(t.name);return Pg(a,(function(e){var t;return null===(t=iu(ou(e),s))||void 0===t?void 0:t.type}),!0)}}}function Ih(e,t){return e&&(Fh(e,""+t)||Pg(e,(function(e){return lE(1,e,Je,void 0,!1)}),!0))}function Oh(t){var r=t.parent;return e.isJsxAttributeLike(r)?Jh(t):e.isJsxElement(r)?function(t,r){var n=Bh(t.openingElement.tagName),i=hy(my(t));if(n&&!io(n)&&i&&""!==i){var a=e.getSemanticJsxChildren(t.children),o=a.indexOf(r),s=Fh(n,i);return s&&(1===a.length?s:Pg(s,(function(e){return d_(e)?Vp(e,Dd(o)):e}),!0))}}(r,t):void 0}function Lh(t){if(e.isJsxAttribute(t)){var r=Bh(t.parent);return!r||io(r)?void 0:Fh(r,t.name.escapedText)}return Jh(t.parent)}function Mh(e){switch(e.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 79:case 152:return!0;case 205:case 211:return Mh(e.expression);case 287:return!e.expression||Mh(e.expression)}return!1}function Rh(t,r){return function(t,r){var n=Qm(t),i=n&&e.find(r.properties,(function(e){return e.symbol&&294===e.kind&&e.symbol.escapedName===n&&Mh(e.initializer)})),a=i&&Jb(i.initializer);return a&&Zm(t,a)}(r,t)||Vf(r,e.concatenate(e.map(e.filter(t.properties,(function(e){return!!e.symbol&&294===e.kind&&Mh(e.initializer)&&Ym(r,e.symbol.escapedName)})),(function(e){return[function(){return Jb(e.initializer)},e.symbol.escapedName]})),e.map(e.filter(Ac(r),(function(e){var n;return!!(16777216&e.flags)&&!(null===(n=null==t?void 0:t.symbol)||void 0===n||!n.members)&&!t.symbol.members.has(e.escapedName)&&Ym(r,e.escapedName)})),(function(e){return[function(){return Je},e.escapedName]}))),ff,r)}function Bh(t,r){var n=jh(e.isObjectLiteralMethod(t)?function(t,r){if(e.Debug.assert(e.isObjectLiteralMethod(t)),!(16777216&t.flags))return wh(t,r)}(t,r):Jh(t,r),t,r);if(n&&!(r&&2&r&&8650752&n.flags)){var i=Pg(n,Vc,!0);return 1048576&i.flags&&e.isObjectLiteralExpression(t)?Rh(t,i):1048576&i.flags&&e.isJsxAttributes(t)?function(t,r){return Vf(r,e.concatenate(e.map(e.filter(t.properties,(function(e){return!!e.symbol&&284===e.kind&&Ym(r,e.symbol.escapedName)&&(!e.initializer||Mh(e.initializer))})),(function(e){return[e.initializer?function(){return Jb(e.initializer)}:function(){return Qe},e.symbol.escapedName]})),e.map(e.filter(Ac(r),(function(e){var n;return!!(16777216&e.flags)&&!(null===(n=null==t?void 0:t.symbol)||void 0===n||!n.members)&&!t.symbol.members.has(e.escapedName)&&Ym(r,e.escapedName)})),(function(e){return[function(){return Je},e.escapedName]}))),ff,r)}(t,i):i}}function jh(t,r,n){if(t&&ub(t,465829888)){var i=Uh(r);if(i&&e.some(i.inferences,Lb)){if(n&&1&n)return Kh(t,i.nonFixingMapper);if(i.returnMapper)return Kh(t,i.returnMapper)}}return t}function Kh(t,r){return 465829888&t.flags?Qd(t,r):1048576&t.flags?sp(e.map(t.types,(function(e){return Kh(e,r)})),0):2097152&t.flags?mp(e.map(t.types,(function(e){return Kh(e,r)}))):t}function Jh(t,r){if(16777216&t.flags);else{if(t.contextualType)return t.contextualType;var n=t.parent;switch(n.kind){case 253:case 163:case 166:case 165:case 202:return function(t,r){var n=t.parent;if(e.hasInitializer(n)&&t===n.initializer){var i=xh(n);if(i)return i;if(!(8&r)&&e.isBindingPattern(n.name))return wo(n.name,!0,!1)}}(t,r);case 213:case 246:return function(t){var r=e.getContainingFunction(t);if(r){var n=Ch(r);if(n){var i=e.getFunctionFlags(r);if(1&i){var a=gE(n,2&i?2:1,void 0);if(!a)return;n=a.returnType}if(2&i){var o=Pg(n,yx);return o&&sp([o,zD(o)])}return n}}}(t);case 223:return function(t){var r=e.getContainingFunction(t);if(r){var n=e.getFunctionFlags(r),i=Ch(r);if(i)return t.asteriskToken?i:wE(0,i,0!=(2&n))}}(n);case 217:return function(e,t){var r=Jh(e,t);if(r){var n=yx(r);return n&&sp([n,zD(n)])}}(n,r);case 207:case 208:return Th(n,t);case 210:case 228:return e.isConstTypeReference(n.type)?o(n):kd(n.type);case 220:return Ah(t,r);case 294:case 295:return wh(n,r);case 296:return Jh(n.parent,r);case 203:var i=n;return Ih(Bh(i,r),e.indexOfNode(i.elements,t));case 221:return function(e,t){var r=e.parent;return e===r.whenTrue||e===r.whenFalse?Jh(r,t):void 0}(t,r);case 232:return e.Debug.assert(222===n.parent.kind),function(e,t){if(209===e.parent.kind)return Th(e.parent,t)}(n.parent,t);case 211:var a=e.isInJSFile(n)?e.getJSDocTypeTag(n):void 0;return a?e.isJSDocTypeTag(a)&&e.isConstTypeReference(a.typeExpression.type)?o(n):kd(a.typeExpression.type):Jh(n,r);case 229:return Jh(n,r);case 287:return Oh(n);case 284:case 286:return Lh(n);case 279:case 278:return function(t,r){return e.isJsxOpeningElement(t)&&t.parent.contextualType&&4!==r?t.parent.contextualType:kh(t,0)}(n,r)}}function o(e){return Jh(e)}}function Uh(t){var r=e.findAncestor(t,(function(e){return!!e.inferenceContext}));return r&&r.inferenceContext}function qh(t,r){return 0!==Mv(r)?function(e,t){var r=KD(e,je);r=Vh(t,my(t),r);var n=dy(F.IntrinsicAttributes,t);return ao(n)||(r=rc(n,r)),r}(t,r):function(t,r){var n=my(r),i=function(e){return gy(F.ElementAttributesPropertyNameContainer,e)}(n),a=void 0===i?KD(t,je):""===i?Pu(t):function(e,t){if(e.compositeSignatures){for(var r=[],n=0,i=e.compositeSignatures;n<i.length;n++){var a=Pu(i[n]);if(io(a))return a;var o=no(a,t);if(!o)return;r.push(o)}return mp(r)}var s=Pu(e);return io(s)?s:no(s,t)}(t,i);if(!a)return!!i&&!!e.length(r.attributes.properties)&&In(r,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(i)),je;if(io(a=Vh(r,n,a)))return a;var o=a,s=dy(F.IntrinsicClassAttributes,r);if(!ao(s)){var c=is(s.symbol),u=Pu(t);o=rc(c?Zu(s,bu([u],c,Du(c),e.isInJSFile(r))):s,o)}var l=dy(F.IntrinsicAttributes,r);return ao(l)||(o=rc(l,o)),o}(t,r)}function Vh(t,r,n){var i=function(e){return e&&Qn(e.exports,F.LibraryManagedAttributes,788968)}(r);if(i){var a=Ss(i),o=function(e){if(sy(e.tagName))return Ku(nD(e,t=Dy(e)));var t,r=Sb(e.tagName);return 128&r.flags?(t=vy(r,e))?Ku(nD(e,t)):Le:r}(t);if(524288&i.flags){var s=$n(i).typeParameters;if(e.length(s)>=2)return al(i,bu([o,n],s,2,e.isInJSFile(t)))}if(e.length(a.typeParameters)>=2)return Zu(a,bu([o,n],a.typeParameters,2,e.isInJSFile(t)))}return n}function zh(t){return e.getStrictOptionValue(N,"noImplicitAny")?e.reduceLeft(t,(function(t,r){return t!==r&&t?ec(t.typeParameters,r.typeParameters)?function(t,r){var n,i=t.typeParameters||r.typeParameters;t.typeParameters&&r.typeParameters&&(n=Id(r.typeParameters,t.typeParameters));var a=t.declaration,o=function(e,t,r){for(var n=OD(e),i=OD(t),a=n>=i?e:t,o=a===e?t:e,s=a===e?n:i,c=MD(e)||MD(t),u=c&&!MD(a),l=new Array(s+(u?1:0)),p=0;p<s;p++){var d=wD(a,p);a===t&&(d=Qd(d,r));var f=wD(o,p)||je;o===t&&(f=Qd(f,r));var _=sp([d,f]),m=c&&!u&&p===s-1,g=p>=LD(a)&&p>=LD(o),h=p>=n?void 0:kD(e,p),y=p>=i?void 0:kD(t,p),v=Kn(1|(g&&!m?16777216:0),(h===y?h:h?y?void 0:h:y)||"arg".concat(p));v.type=m?jl(_):_,l[p]=v}if(u){var D=Kn(1,"args");D.type=jl(FD(o,s)),o===t&&(D.type=Qd(D.type,r)),l[s]=D}return l}(t,r,n),s=Ws(a,i,function(e,t,r){return e&&t?$_(e,sp([Yo(e),Qd(Yo(t),r)])):e||t}(t.thisParameter,r.thisParameter,n),o,void 0,void 0,Math.max(t.minArgumentCount,r.minArgumentCount),39&(t.flags|r.flags));return s.compositeKind=2097152,s.compositeSignatures=e.concatenate(2097152===t.compositeKind&&t.compositeSignatures||[t],[r]),n&&(s.mapper=2097152===t.compositeKind&&t.mapper&&t.compositeSignatures?jd(t.mapper,n):n),s}(t,r):void 0:t})):void 0}function Wh(t,r){var n=ru(t,0),i=e.filter(n,(function(t){return!function(t,r){for(var n=0;n<r.parameters.length;n++){var i=r.parameters[n];if(i.initializer||i.questionToken||i.dotDotDotToken||mu(i))break}return r.parameters.length&&e.parameterIsThisKeyword(r.parameters[0])&&n--,!MD(t)&&OD(t)<n}(t,r)}));return 1===i.length?i[0]:zh(i)}function Hh(t){return e.isFunctionExpressionOrArrowFunction(t)||e.isObjectLiteralMethod(t)?Gh(t):void 0}function Gh(t){e.Debug.assert(168!==t.kind||e.isObjectLiteralMethod(t));var r=Eu(t);if(r)return r;var n=Bh(t,1);if(n){if(!(1048576&n.flags))return Wh(n,t);for(var i,a=0,o=n.types;a<o.length;a++){var s=Wh(o[a],t);if(s)if(i){if(!o_(i[0],s,!1,!0,!0,uf))return;i.push(s)}else i=[s]}if(i)return 1===i.length?i[0]:Gs(i[0],i)}}function $h(e){return 202===e.kind&&!!e.initializer||220===e.kind&&63===e.operatorToken.kind}function Yh(t,r,n){for(var i=t.elements,a=i.length,o=[],s=[],c=Bh(t),u=e.isAssignmentTarget(t),l=Nb(t),p=!1,d=0;d<a;d++){var f=i[d];if(224===f.kind){q<2&&EC(f,N.downlevelIteration?1536:1024);var _=Ub(f.expression,r,n);if(d_(_))o.push(_),s.push(8);else if(u){var m=uu(_,Ge)||lE(65,_,Je,void 0,!1)||je;o.push(m),s.push(4)}else o.push(uE(33,_,Je,f.expression)),s.push(4)}else if(re&&226===f.kind)p=!0,o.push(Ve),s.push(2);else{var g=Pb(f,r,Ih(c,o.length),n);o.push(yo(g,!0,p)),s.push(p?2:1)}}return u?Wl(o,s):n||l||c&&Cg(c,g_)?Xh(Wl(o,s,l)):Xh(jl(o.length?sp(e.sameMap(o,(function(e,t){return 8&s[t]?Wp(e,Ge)||we:e})),2):H?ot:Ue,l))}function Xh(t){if(!(4&e.getObjectFlags(t)))return t;var r=t.literalType;return r||((r=t.literalType=el(t)).objectFlags|=294912),r}function Qh(t){switch(t.kind){case 161:return function(e){return lb(Zh(e),296)}(t);case 79:return e.isNumericLiteralName(t.escapedText);case 8:case 10:return e.isNumericLiteralName(t.text);default:return!1}}function Zh(t){var r=Yn(t.expression);if(!r.resolvedType){if((e.isTypeLiteralNode(t.parent.parent)||e.isClassLike(t.parent.parent)||e.isInterfaceDeclaration(t.parent.parent))&&e.isBinaryExpression(t.expression)&&101===t.expression.operatorToken.kind&&171!==t.parent.kind&&172!==t.parent.kind)return r.resolvedType=Le;if(r.resolvedType=Ub(t.expression),e.isPropertyDeclaration(t.parent)&&!e.hasStaticModifier(t.parent)&&e.isClassExpression(t.parent.parent)){var n=uh(e.getEnclosingBlockScopeContainer(t.parent.parent));n&&(Yn(n).flags|=65536,Yn(t).flags|=524288,Yn(t.parent.parent).flags|=524288)}(98304&r.resolvedType.flags||!lb(r.resolvedType,402665900)&&!ff(r.resolvedType,lt))&&In(t,e.Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}return r.resolvedType}function ey(t){var r,n=null===(r=t.declarations)||void 0===r?void 0:r[0];return e.isNumericLiteralName(t.escapedName)||n&&e.isNamedDeclaration(n)&&Qh(n.name)}function ty(t){var r,n=null===(r=t.declarations)||void 0===r?void 0:r[0];return e.isKnownSymbol(t)||n&&e.isNamedDeclaration(n)&&e.isComputedPropertyName(n.name)&&lb(Zh(n.name),4096)}function ry(e,t,r,n){for(var i=[],a=t;a<r.length;a++){var o=r[a];(n===He&&!ty(o)||n===Ge&&ey(o)||n===tt&&ty(o))&&i.push(Yo(r[a]))}return qu(n,i.length?sp(i,2):Je,Nb(e))}function ny(t){e.Debug.assert(0!=(2097152&t.flags),"Should only get Alias here.");var r=$n(t);if(!r.immediateTarget){var n=fi(t);if(!n)return e.Debug.fail();r.immediateTarget=ki(n,!0)}return r.immediateTarget}function iy(t,r){var n=e.isAssignmentTarget(t);!function(t,r){for(var n=new e.Map,i=0,a=t.properties;i<a.length;i++){var o=a[i];if(296!==o.kind){var s=o.name;if(161===s.kind&&OC(s),295===o.kind&&!r&&o.objectAssignmentInitializer&&XC(o.equalsToken,e.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern),80===s.kind&&XC(s,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),o.modifiers)for(var c=0,u=o.modifiers;c<u.length;c++){var l=u[c];(131!==l.kind||168!==o.kind)&&XC(l,e.Diagnostics._0_modifier_cannot_be_used_here,e.getTextOfNode(l))}var p=void 0;switch(o.kind){case 295:RC(o.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context);case 294:MC(o.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional),8===s.kind&&eT(s),p=4;break;case 168:p=8;break;case 171:p=1;break;case 172:p=2;break;default:throw e.Debug.assertNever(o,"Unexpected syntax kind:"+o.kind)}if(!r){var d=e.getPropertyNameForPropertyNameNode(s);if(void 0===d)continue;var f=n.get(d);if(f)if(8&p&&8&f)XC(s,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(s));else if(4&p&&4&f)XC(s,e.Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name,e.getTextOfNode(s));else{if(!(3&p&&3&f))return XC(s,e.Diagnostics.An_object_literal_cannot_have_property_and_accessor_with_the_same_name);if(3===f||p===f)return XC(s,e.Diagnostics.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);n.set(d,p|f)}else n.set(d,p)}}else if(r){var _=e.skipParentheses(o.expression);if(e.isArrayLiteralExpression(_)||e.isObjectLiteralExpression(_))return XC(o.expression,e.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern)}}}(t,n);for(var i=H?e.createSymbolTable():void 0,a=e.createSymbolTable(),o=[],s=gt,c=Bh(t),u=c&&c.pattern&&(200===c.pattern.kind||204===c.pattern.kind),l=Nb(t),p=l?8:0,d=e.isInJSFile(t)&&!e.isInJsonFile(t),f=e.getJSDocEnumTag(t),_=!c&&d&&!f,m=te,g=!1,h=!1,y=!1,v=!1,D=0,b=t.properties;D<b.length;D++){var x=b[D];x.name&&e.isComputedPropertyName(x.name)&&Zh(x.name)}for(var E=0,S=0,C=t.properties;S<C.length;S++){var T=C[S],k=ra(T),A=T.name&&161===T.name.kind?Zh(T.name):void 0;if(294===T.kind||295===T.kind||e.isObjectLiteralMethod(T)){var P=294===T.kind?Fb(T,r):295===T.kind?Pb(!n&&T.objectAssignmentInitializer?T.objectAssignmentInitializer:T.name,r):wb(T,r);if(d){var F=go(T);F?(hf(P,F,T),P=F):f&&f.typeExpression&&hf(P,kd(f.typeExpression),T)}m|=917504&e.getObjectFlags(P);var w=A&&Os(A)?A:void 0,I=w?Kn(4|k.flags,js(w),4096|p):Kn(4|k.flags,k.escapedName,p);if(w&&(I.nameType=w),n)(294===T.kind&&$h(T.initializer)||295===T.kind&&T.objectAssignmentInitializer)&&(I.flags|=16777216);else if(u&&!(512&e.getObjectFlags(c))){var O=eu(c,k.escapedName);O?I.flags|=16777216&O.flags:!N.suppressExcessPropertyErrors&&!cu(c,He)&&In(T.name,e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Ma(k),Ba(c))}I.declarations=k.declarations,I.parent=k.parent,k.valueDeclaration&&(I.valueDeclaration=k.valueDeclaration),I.type=P,I.target=k,k=I,null==i||i.set(I.escapedName,I)}else{if(296===T.kind){if(q<2&&EC(T,2),o.length>0&&(s=dd(s,B(),t.symbol,m,l),o=[],a=e.createSymbolTable(),h=!1,y=!1,v=!1),ay(P=$c(Ub(T.expression)))){var L=pd(P,l);if(i&&ly(L,i,T),E=o.length,ao(s))continue;s=dd(s,L,t.symbol,m,l)}else In(T,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),s=Le;continue}e.Debug.assert(171===T.kind||172===T.kind),bS(T)}!A||8576&A.flags?a.set(k.escapedName,k):ff(A,lt)&&(ff(A,Ge)?y=!0:ff(A,tt)?v=!0:h=!0,n&&(g=!0)),o.push(k)}if(u&&296!==t.parent.kind)for(var M=0,R=Ac(c);M<R.length;M++)I=R[M],!a.get(I.escapedName)&&!eu(s,I.escapedName)&&(16777216&I.flags||In(I.valueDeclaration||I.bindingElement,e.Diagnostics.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),a.set(I.escapedName,I),o.push(I));return ao(s)?Le:s!==gt?(o.length>0&&(s=dd(s,B(),t.symbol,m,l),o=[],a=e.createSymbolTable(),h=!1,y=!1),Pg(s,(function(e){return e===gt?B():e}))):B();function B(){var r=[];h&&r.push(ry(t,E,o,He)),y&&r.push(ry(t,E,o,Ge)),v&&r.push(ry(t,E,o,tt));var i=Da(t.symbol,a,e.emptyArray,e.emptyArray,r);return i.objectFlags|=262272|m,_&&(i.objectFlags|=8192),g&&(i.objectFlags|=512),n&&(i.pattern=t),i}}function ay(t){var r=L_(Pg(t,Mc));return!!(126615553&r.flags||3145728&r.flags&&e.every(r.types,ay))}function oy(t){return e.stringContains(t,"-")}function sy(t){return 79===t.kind&&e.isIntrinsicJsxName(t.escapedText)}function cy(e,t){return e.initializer?Pb(e.initializer,t):Qe}function uy(e,t){for(var r=[],n=0,i=e.children;n<i.length;n++){var a=i[n];if(11===a.kind)a.containsOnlyTriviaWhiteSpaces||r.push(He);else{if(287===a.kind&&!a.expression)continue;r.push(Pb(a,t))}}return r}function ly(t,r,n){for(var i=0,a=Ac(t);i<a.length;i++){var o=a[i];if(!(16777216&o.flags)){var s=r.get(o.escapedName);if(s){var c=In(s.valueDeclaration,e.Diagnostics._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,e.unescapeLeadingUnderscores(s.escapedName));e.addRelatedInfo(c,e.createDiagnosticForNode(n,e.Diagnostics.This_spread_always_overwrites_this_property))}}}}function py(t,r){return function(t,r){for(var n,i=t.attributes,a=H?e.createSymbolTable():void 0,o=e.createSymbolTable(),s=ht,c=!1,u=!1,l=2048,p=hy(my(t)),d=0,f=i.properties;d<f.length;d++){var _=f[d],m=_.symbol;if(e.isJsxAttribute(_)){var g=cy(_,r);l|=917504&e.getObjectFlags(g);var h=Kn(4|m.flags,m.escapedName);h.declarations=m.declarations,h.parent=m.parent,m.valueDeclaration&&(h.valueDeclaration=m.valueDeclaration),h.type=g,h.target=m,o.set(h.escapedName,h),null==a||a.set(h.escapedName,h),_.name.escapedText===p&&(u=!0)}else e.Debug.assert(286===_.kind),o.size>0&&(s=dd(s,S(),i.symbol,l,!1),o=e.createSymbolTable()),io(g=$c(Sb(_.expression,r)))&&(c=!0),ay(g)?(s=dd(s,g,i.symbol,l,!1),a&&ly(g,a,_)):n=n?mp([n,g]):g}c||o.size>0&&(s=dd(s,S(),i.symbol,l,!1));var y=277===t.parent.kind?t.parent:void 0;if(y&&y.openingElement===t&&y.children.length>0){var v=uy(y,r);if(!c&&p&&""!==p){u&&In(i,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(p));var D=Bh(t.attributes),b=D&&Fh(D,p),x=Kn(4,p);x.type=1===v.length?v[0]:b&&Cg(b,g_)?Wl(v):jl(sp(v)),x.valueDeclaration=e.factory.createPropertySignature(void 0,e.unescapeLeadingUnderscores(p),void 0,void 0),e.setParent(x.valueDeclaration,i),x.valueDeclaration.symbol=x;var E=e.createSymbolTable();E.set(p,x),s=dd(s,Da(i.symbol,E,e.emptyArray,e.emptyArray,e.emptyArray),i.symbol,l,!1)}}return c?we:n&&s!==ht?mp([n,s]):n||(s===ht?S():s);function S(){l|=te;var t=Da(i.symbol,o,e.emptyArray,e.emptyArray,e.emptyArray);return t.objectFlags|=262272|l,t}}(t.parent,r)}function dy(e,t){var r=my(t),n=r&&Xi(r),i=n&&Qn(n,e,788968);return i?Ss(i):Le}function fy(t){var r=Yn(t);if(!r.resolvedSymbol){var n=dy(F.IntrinsicElements,t);if(ao(n))return X&&In(t,e.Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,e.unescapeLeadingUnderscores(F.IntrinsicElements)),r.resolvedSymbol=Ae;if(!e.isIdentifier(t.tagName))return e.Debug.fail();var i=eu(n,t.tagName.escapedText);return i?(r.jsxFlags|=1,r.resolvedSymbol=i):uu(n,He)?(r.jsxFlags|=2,r.resolvedSymbol=n.symbol):(In(t,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.idText(t.tagName),"JSX."+F.IntrinsicElements),r.resolvedSymbol=Ae)}return r.resolvedSymbol}function _y(t){var r=t&&e.getSourceFileOfNode(t),n=r&&Yn(r);if(!n||!1!==n.jsxImplicitImportContainer){if(n&&n.jsxImplicitImportContainer)return n.jsxImplicitImportContainer;var i=e.getJSXRuntimeImport(e.getJSXImplicitImportBase(N,r),N);if(i){var a=Ui(t,i,e.getEmitModuleResolutionKind(N)===e.ModuleResolutionKind.Classic?e.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations,t),o=a&&a!==Ae?ta(Ni(a)):void 0;return n&&(n.jsxImplicitImportContainer=o||!1),o}}}function my(e){var t=e&&Yn(e);if(t&&t.jsxNamespace)return t.jsxNamespace;if(!t||!1!==t.jsxNamespace){var r=_y(e);if(!r||r===Ae){var n=An(e);r=ti(e,n,1920,void 0,n,!1)}if(r){var i=Ni(Qn(Xi(Ni(r)),F.JSX,1920));if(i&&i!==Ae)return t&&(t.jsxNamespace=i),i}t&&(t.jsxNamespace=!1)}var a=Ni(Cl(F.JSX,1920,void 0));return a!==Ae?a:void 0}function gy(t,r){var n=r&&Qn(r.exports,t,788968),i=n&&Ss(n),a=i&&Ac(i);if(a){if(0===a.length)return"";if(1===a.length)return a[0].escapedName;a.length>1&&n.declarations&&In(n.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(t))}}function hy(e){return gy(F.ElementChildrenAttributeNameContainer,e)}function yy(t,r){if(4&t.flags)return[Tr];if(128&t.flags){var n=vy(t,r);return n?[nD(r,n)]:(In(r,e.Diagnostics.Property_0_does_not_exist_on_type_1,t.value,"JSX."+F.IntrinsicElements),e.emptyArray)}var i=Vc(t),a=ru(i,1);return 0===a.length&&(a=ru(i,0)),0===a.length&&1048576&i.flags&&(a=Zs(e.map(i.types,(function(e){return yy(e,r)})))),a}function vy(t,r){var n=dy(F.IntrinsicElements,r);if(!ao(n)){var i=t.value,a=eu(n,e.escapeLeadingUnderscores(i));return a?Yo(a):uu(n,He)||void 0}return we}function Dy(t){e.Debug.assert(sy(t.tagName));var r=Yn(t);if(!r.resolvedJsxElementAttributesType){var n=fy(t);return 1&r.jsxFlags?r.resolvedJsxElementAttributesType=Yo(n)||Le:2&r.jsxFlags?r.resolvedJsxElementAttributesType=uu(dy(F.IntrinsicElements,t),He)||Le:r.resolvedJsxElementAttributesType=Le}return r.resolvedJsxElementAttributesType}function by(e){var t=dy(F.ElementClass,e);if(!ao(t))return t}function xy(e){return dy(F.Element,e)}function Ey(e){var t=xy(e);if(t)return sp([t,ze])}function Sy(t){var r=e.isJsxOpeningLikeElement(t);if(r&&function(t){(function(t){if(e.isPropertyAccessExpression(t)){var r=t;do{var n=a(r.name);if(n)return n;r=r.expression}while(e.isPropertyAccessExpression(r));var i=a(r);if(i)return i}function a(t){if(e.isIdentifier(t)&&-1!==e.idText(t).indexOf(":"))return XC(t,e.Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names)}})(t.tagName),FC(t,t.typeArguments);for(var r=new e.Map,n=0,i=t.attributes.properties;n<i.length;n++){var a=i[n];if(286!==a.kind){var o=a.name,s=a.initializer;if(r.get(o.escapedText))return XC(o,e.Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(r.set(o.escapedText,!0),s&&287===s.kind&&!s.expression)return XC(s,e.Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}}(t),function(t){0===(N.jsx||0)&&In(t,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),void 0===xy(t)&&X&&In(t,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}(t),!_y(t)){var n=gn&&2===N.jsx?e.Diagnostics.Cannot_find_name_0:void 0,i=An(t),a=r?t.tagName:t,o=void 0;if(e.isJsxOpeningFragment(t)&&"null"===i||(o=ti(a,i,111551,n,i,!0)),o&&(o.isReferenced=67108863,2097152&o.flags&&!Ii(o)&&Li(o)),e.isJsxOpeningFragment(t)){var s=Nn(e.getSourceFileOfNode(t));s&&ti(a,s,111551,n,s,!0)}}if(r){var c=t,u=oD(c);lD(u,t),function(t,r,n){if(1===t)(i=Ey(n))&&jf(r,i,xn,n.tagName,e.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,o);else if(0===t)(a=by(n))&&jf(r,a,xn,n.tagName,e.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,o);else{var i=Ey(n),a=by(n);if(!i||!a)return;jf(r,sp([i,a]),xn,n.tagName,e.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,o)}function o(){var t=e.getTextOfNode(n.tagName);return e.chainDiagnosticMessages(void 0,e.Diagnostics._0_cannot_be_used_as_a_JSX_component,t)}}(Mv(c),Pu(u),c)}}function Cy(e,t,r){if(524288&e.flags){if(Tc(e,t)||du(e,t)||Ms(t)&&cu(e,He)||r&&oy(t))return!0}else if(3145728&e.flags&&Ty(e))for(var n=0,i=e.types;n<i.length;n++)if(Cy(i[n],t,r))return!0;return!1}function Ty(t){return!!(524288&t.flags&&!(512&e.getObjectFlags(t))||67108864&t.flags||1048576&t.flags&&e.some(t.types,Ty)||2097152&t.flags&&e.every(t.types,Ty))}function ky(t,r){if(function(t){if(t.expression&&e.isCommaSequence(t.expression))XC(t.expression,e.Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}(t),t.expression){var n=Ub(t.expression,r);return t.dotDotDotToken&&n!==we&&!c_(n)&&In(t,e.Diagnostics.JSX_spread_child_must_be_an_array_type),n}return Le}function Ay(t){return t.valueDeclaration?e.getCombinedNodeFlags(t.valueDeclaration):0}function Ny(t){if(8192&t.flags||4&e.getCheckFlags(t))return!0;if(e.isInJSFile(t.valueDeclaration)){var r=t.valueDeclaration.parent;return r&&e.isBinaryExpression(r)&&3===e.getAssignmentDeclarationKind(r)}}function Py(e,t,r,n,i,a){return void 0===a&&(a=!0),Fy(e,t,r,n,i,a?160===e.kind?e.right:199===e.kind?e:202===e.kind&&e.propertyName?e.propertyName:e.name:void 0)}function Fy(t,r,n,i,a,o){var s,c=e.getDeclarationModifierFlagsFromSymbol(a,n);if(r){if(q<2&&wy(a))return o&&In(o,e.Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(128&c)return o&&In(o,e.Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,Ma(a),Ba(e_(a))),!1}if(128&c&&wy(a)&&(e.isThisProperty(t)||e.isThisInitializedObjectBindingExpression(t)||e.isObjectBindingPattern(t.parent)&&e.isThisInitializedDeclaration(t.parent.parent))&&(s=e.getClassLikeDeclarationOfSymbol(na(a)))&&function(t){return!!e.findAncestor(t,(function(t){return!!(e.isConstructorDeclaration(t)&&e.nodeIsPresent(t.body)||e.isPropertyDeclaration(t))||!(!e.isClassLike(t)&&!e.isFunctionLikeDeclaration(t))&&"quit"}))}(t))return o&&In(o,e.Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,Ma(a),e.getTextOfIdentifierOrLiteral(s.name)),!1;if(!(24&c))return!0;if(8&c)return!!FS(t,s=e.getClassLikeDeclarationOfSymbol(na(a)))||(o&&In(o,e.Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,Ma(a),Ba(e_(a))),!1);if(r)return!0;var u=PS(t,(function(t){var r=Ss(ra(t));return function(t,r,n){return Zf(r,(function(r){return!!(16&e.getDeclarationModifierFlagsFromSymbol(r,n))&&!es(t,e_(r))}))?void 0:t}(r,a,n)?r:void 0}));if(!u){var l=void 0;if(32&c||!(l=function(t){var r=e.getThisContainer(t,!1);return r&&e.isFunctionLike(r)?e.getThisParameter(r):void 0}(t))||!l.type)return o&&In(o,e.Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,Ma(a),Ba(e_(a)||i)),!1;var p=kd(l.type);u=(262144&p.flags?Pc(p):p).target}return!!(32&c)||(262144&i.flags&&(i=i.isThisType?Pc(i):Lc(i)),!(!i||!es(i,u))||(o&&In(o,e.Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,Ma(a),Ba(u),Ba(i)),!1))}function wy(e){return!!Zf(e,(function(e){return!(8192&e.flags)}))}function Iy(e){return jy(Ub(e),e)}function Oy(e){return!!(98304&(H?O_(e):e.flags))}function Ly(e){return Oy(e)?K_(e):e}function My(t,r){In(t,32768&r?65536&r?e.Diagnostics.Object_is_possibly_null_or_undefined:e.Diagnostics.Object_is_possibly_undefined:e.Diagnostics.Object_is_possibly_null)}function Ry(t,r){In(t,32768&r?65536&r?e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined:e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null)}function By(t,r,n){if(H&&2&t.flags)return In(r,e.Diagnostics.Object_is_of_type_unknown),Le;var i=98304&(H?O_(t):t.flags);if(i){n(r,i);var a=K_(t);return 229376&a.flags?Le:a}return t}function jy(e,t){return By(e,t,My)}function Ky(t,r){var n=jy(t,r);return 16384&n.flags&&In(r,e.Diagnostics.Object_is_possibly_undefined),n}function Jy(e,t){return 32&e.flags?function(e,t){var r=Ub(e.expression),n=V_(r,e.expression);return q_($y(e,e.expression,jy(n,e.expression),e.name,t),e,n!==r)}(e,t):$y(e,e.expression,Iy(e.expression),e.name,t)}function Uy(t,r){var n=e.isPartOfTypeQuery(t)&&e.isThisIdentifier(t.left)?jy(_h(t.left),t.left):Iy(t.left);return $y(t,t.left,n,t.right,r)}function qy(t){for(;211===t.parent.kind;)t=t.parent;return e.isCallOrNewExpression(t.parent)&&t.parent.expression===t}function Vy(t,r){for(var n=e.getContainingClass(r);n;n=e.getContainingClass(n)){var i=n.symbol,a=e.getSymbolNameForPrivateIdentifier(i,t),o=i.members&&i.members.get(a)||i.exports&&i.exports.get(a);if(o)return o}}function zy(t){!function(t){if(!e.getContainingClass(t))return XC(t,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);if(!e.isForInStatement(t.parent)){if(!e.isExpressionNode(t))return XC(t,e.Diagnostics.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression);var r=e.isBinaryExpression(t.parent)&&101===t.parent.operatorToken.kind;if(!Wy(t)&&!r)return XC(t,e.Diagnostics.Cannot_find_name_0,e.idText(t))}}(t);var r=Wy(t);return r&&uv(r,void 0,!1),we}function Wy(t){if(e.isExpressionNode(t)){var r=Yn(t);return void 0===r.resolvedSymbol&&(r.resolvedSymbol=Vy(t.escapedText,t)),r.resolvedSymbol}}function Hy(e,t){return eu(e,t.escapedName)}function Gy(t,r){return(Do(r)||e.isThisProperty(t)&&bo(r))&&e.getThisContainer(t,!0)===xo(r)}function $y(t,r,n,i,a){var o,s,c=Yn(r).resolvedSymbol,u=e.getAssignmentTargetKind(t),p=Vc(0!==u||qy(t)?rm(n):n),d=io(p)||p===it;if(e.isPrivateIdentifier(i)){q<99&&(0!==u&&EC(t,1048576),1!==u&&EC(t,524288));var f=Vy(i.escapedText,i);if(u&&f&&f.valueDeclaration&&e.isMethodDeclaration(f.valueDeclaration)&&XC(i,e.Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,e.idText(i)),d){if(f)return ao(p)?Le:p;if(!e.getContainingClass(i))return XC(i,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),we}if(!(o=f?Hy(n,f):void 0)&&function(t,r,n){var i,a=Ac(t);a&&e.forEach(a,(function(t){var n=t.valueDeclaration;if(n&&e.isNamedDeclaration(n)&&e.isPrivateIdentifier(n.name)&&n.name.escapedText===r.escapedText)return i=t,!0}));var o=oi(r);if(i){var s=e.Debug.checkDefined(i.valueDeclaration),c=e.Debug.checkDefined(e.getContainingClass(s));if(null!=n&&n.valueDeclaration){var u=n.valueDeclaration,p=e.getContainingClass(u);if(e.Debug.assert(!!p),e.findAncestor(p,(function(e){return c===e}))){var d=In(r,e.Diagnostics.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,o,Ba(t));return e.addRelatedInfo(d,e.createDiagnosticForNode(u,e.Diagnostics.The_shadowing_declaration_of_0_is_defined_here,o),e.createDiagnosticForNode(s,e.Diagnostics.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,o)),!0}}return In(r,e.Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,o,oi(c.name||l)),!0}return!1}(n,i,f))return Le;o&&65536&o.flags&&!(32768&o.flags)&&1!==u&&In(t,e.Diagnostics.Private_accessor_was_defined_without_a_getter)}else{if(d)return e.isIdentifier(r)&&c&&sh(c,t),ao(p)?Le:p;o=eu(p,i.escapedText)}if(e.isIdentifier(r)&&c&&(N.isolatedModules||!o||!ZS(o)||e.shouldPreserveConstEnums(N)&&oh(t))&&sh(c,t),o){Bn(o)&&Fp(t,o)&&o.declarations&&jn(i,o.declarations,i.escapedText),function(t,r,n){var i=t.valueDeclaration;if(i&&!e.getSourceFileOfNode(r).isDeclarationFile){var a,o=e.idText(n);!Qy(r)||function(t){return e.isPropertyDeclaration(t)&&t.questionToken}(i)||e.isAccessExpression(r)&&e.isAccessExpression(r.expression)||Zn(i,n)||!N.useDefineForClassFields&&function(e){if(!(32&e.parent.flags))return!1;for(var t=Yo(e.parent);;){if(!(t=t.symbol&&Zy(t)))return!1;var r=eu(t,e.escapedName);if(r&&r.valueDeclaration)return!0}}(t)?256===i.kind&&177!==r.parent.kind&&!(8388608&i.flags)&&!Zn(i,n)&&(a=In(n,e.Diagnostics.Class_0_used_before_its_declaration,o)):a=In(n,e.Diagnostics.Property_0_is_used_before_its_initialization,o),a&&e.addRelatedInfo(a,e.createDiagnosticForNode(i,e.Diagnostics._0_is_declared_here,o))}}(o,t,i),uv(o,t,lv(r,c)),Yn(t).resolvedSymbol=o;var _=e.isWriteAccess(t);if(Py(t,106===r.kind,_,p,o),ab(t,o,u))return In(i,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,e.idText(i)),Le;s=Gy(t,o)?Ie:_?$o(o):Yo(o)}else{var m=e.isPrivateIdentifier(i)||0!==u&&Rp(n)&&!e.isThisTypeParameter(n)?void 0:du(p,i.escapedText);if(!m||!m.type){var g=Yy(t,n.symbol,!0);return!g&&Np(n)?we:n.symbol===ce?(ce.exports.has(i.escapedText)&&418&ce.exports.get(i.escapedText).flags?In(i,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(i.escapedText),Ba(n)):X&&In(i,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,Ba(n)),we):(i.escapedText&&!ci(t)&&ev(i,e.isThisTypeParameter(n)?p:n,g),Le)}m.isReadonly&&(e.isAssignmentTarget(t)||e.isDeleteTarget(t))&&In(t,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,Ba(p)),s=N.noUncheckedIndexedAccess&&!e.isAssignmentTarget(t)?sp([m.type,Je]):m.type,N.noPropertyAccessFromIndexSignature&&e.isPropertyAccessExpression(t)&&In(i,e.Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,e.unescapeLeadingUnderscores(i.escapedText))}return Xy(t,o,s,i,a)}function Yy(t,r,n){var i=e.getSourceFileOfNode(t);if(i&&void 0===N.checkJs&&void 0===i.checkJsDirective&&(1===i.scriptKind||2===i.scriptKind)){var a=e.forEach(null==r?void 0:r.declarations,e.getSourceFileOfNode);return!(i!==a&&a&&Xn(a)||n&&r&&32&r.flags||t&&n&&e.isPropertyAccessExpression(t)&&108===t.expression.kind)}return!1}function Xy(t,r,n,i,a){var o=e.getAssignmentTargetKind(t);if(1===o)return z_(n,!!(r&&16777216&r.flags));if(r&&!(98311&r.flags)&&!(8192&r.flags&&1048576&n.flags)&&!yS(r.declarations))return n;if(n===Ie)return So(t,r);n=ah(n,t,a);var s=!1;if(H&&Y&&e.isAccessExpression(t)&&108===t.expression.kind){var c=r&&r.valueDeclaration;if(c&&YE(c)&&!e.isStatic(c)){var u=Zg(t);170===u.kind&&u.parent===c.parent&&!(8388608&c.flags)&&(s=!0)}}else H&&r&&r.valueDeclaration&&e.isPropertyAccessExpression(r.valueDeclaration)&&e.getAssignmentDeclarationPropertyAccessKind(r.valueDeclaration)&&Zg(t)===Zg(r.valueDeclaration)&&(s=!0);var l=Qg(t,n,s?j_(n):n);return s&&!(32768&O_(n))&&32768&O_(l)?(In(i,e.Diagnostics.Property_0_is_used_before_being_assigned,Ma(r)),n):o?x_(l):l}function Qy(t){return!!e.findAncestor(t,(function(t){switch(t.kind){case 166:return!0;case 294:case 168:case 171:case 172:case 296:case 161:case 232:case 287:case 284:case 285:case 286:case 279:case 227:case 290:return!1;case 213:case 237:return!(!e.isBlock(t.parent)||!e.isClassStaticBlockDeclaration(t.parent.parent))||"quit";default:return!e.isExpressionNode(t)&&"quit"}}))}function Zy(e){var t=ds(e);if(0!==t.length)return mp(t)}function ev(t,r,n){var i,a;if(!e.isPrivateIdentifier(t)&&1048576&r.flags&&!(131068&r.flags))for(var o=0,s=r.types;o<s.length;o++){var c=s[o];if(!eu(c,t.escapedText)&&!du(c,t.escapedText)){i=e.chainDiagnosticMessages(i,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(t),Ba(c));break}}if(tv(t.escapedText,r)){var u=e.declarationNameToString(t),l=Ba(r);i=e.chainDiagnosticMessages(i,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,u,l,l+"."+u)}else{var p=dx(r);if(p&&eu(p,t.escapedText))i=e.chainDiagnosticMessages(i,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(t),Ba(r)),a=e.createDiagnosticForNode(t,e.Diagnostics.Did_you_forget_to_use_await);else{var d=e.declarationNameToString(t),f=Ba(r),_=function(t,r){var n=Vc(r).symbol;if(n)for(var i=e.getScriptTargetFeatures(),a=0,o=e.getOwnKeys(i);a<o.length;a++){var s=o[a],c=i[s][e.symbolName(n)];if(void 0!==c&&e.contains(c,t))return s}}(d,r);if(void 0!==_)i=e.chainDiagnosticMessages(i,e.Diagnostics.Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later,d,f,_);else{var m=nv(t,r);if(void 0!==m){var g=e.symbolName(m),h=n?e.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2:e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2;i=e.chainDiagnosticMessages(i,h,d,f,g),a=m.valueDeclaration&&e.createDiagnosticForNode(m.valueDeclaration,e.Diagnostics._0_is_declared_here,g)}else{var y=function(t){return N.lib&&!N.lib.includes("dom")&&function(t,r){return 3145728&t.flags?e.every(t.types,r):r(t)}(t,(function(t){return t.symbol&&/^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(e.unescapeLeadingUnderscores(t.symbol.escapedName))}))&&Ff(t)}(r)?e.Diagnostics.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:e.Diagnostics.Property_0_does_not_exist_on_type_1;i=e.chainDiagnosticMessages(Zc(i,r),y,d,f)}}}}var v=e.createDiagnosticForNodeFromMessageChain(t,i);a&&e.addRelatedInfo(v,a),On(!n||i.code!==e.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,v)}function tv(t,r){var n=r.symbol&&eu(Yo(r.symbol),t);return void 0!==n&&!!n.valueDeclaration&&e.isStatic(n.valueDeclaration)}function rv(e,t){return cv(e,Ac(t),106500)}function nv(t,r){var n=Ac(r);if("string"!=typeof t){var i=t.parent;e.isPropertyAccessExpression(i)&&(n=e.filter(n,(function(e){return pv(i,r,e)}))),t=e.idText(t)}return cv(t,n,111551)}function iv(t,r){var n=e.isString(t)?t:e.idText(t),i=Ac(r),a="for"===n?e.find(i,(function(t){return"htmlFor"===e.symbolName(t)})):"class"===n?e.find(i,(function(t){return"className"===e.symbolName(t)})):void 0;return null!=a?a:cv(n,i,111551)}function av(t,r){var n=nv(t,r);return n&&e.symbolName(n)}function ov(t,r,n){return e.Debug.assert(void 0!==r,"outername should always be defined"),ri(t,r,n,void 0,r,!1,!1,!0,(function(t,n,i){var a;return e.Debug.assertEqual(r,n,"name should equal outerName"),Qn(t,n,i)||(a=t===oe?e.mapDefined(["string","number","boolean","object","bigint","symbol"],(function(e){return t.has(e.charAt(0).toUpperCase()+e.slice(1))?Kn(524288,e):void 0})).concat(e.arrayFrom(t.values())):e.arrayFrom(t.values()),cv(e.unescapeLeadingUnderscores(n),a,i))}))}function sv(t,r){return r.exports&&cv(e.idText(t),Gi(r),2623475)}function cv(t,r,n){return e.getSpellingSuggestion(t,r,(function(t){var r=e.symbolName(t);if(!e.startsWith(r,'"')){if(t.flags&n)return r;if(2097152&t.flags){var i=function(e){if($n(e).target!==Ne)return Pi(e)}(t);if(i&&i.flags&n)return r}}}))}function uv(t,r,n){var i=t&&106500&t.flags&&t.valueDeclaration;if(i){var a=e.hasEffectiveModifier(i,8),o=t.valueDeclaration&&e.isNamedDeclaration(t.valueDeclaration)&&e.isPrivateIdentifier(t.valueDeclaration.name);if((a||o)&&(!r||!e.isWriteOnlyAccess(r)||65536&t.flags)){if(n){var s=e.findAncestor(r,e.isFunctionLikeDeclaration);if(s&&s.symbol===t)return}(1&e.getCheckFlags(t)?$n(t).target:t).isReferenced=67108863}}}function lv(t,r){return 108===t.kind||!!r&&e.isEntityNameExpression(t)&&r===qm(e.getFirstIdentifier(t))}function pv(e,t,r){return fv(e,205===e.kind&&106===e.expression.kind,!1,t,r)}function dv(e,t,r,n){if(io(n))return!0;var i=eu(n,r);return!!i&&fv(e,t,!1,n,i)}function fv(t,r,n,i,a){if(io(i))return!0;if(a.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(a.valueDeclaration)){var o=e.getContainingClass(a.valueDeclaration);return!e.isOptionalChain(t)&&!!e.findAncestor(t,(function(e){return e===o}))}return Fy(t,r,n,i,a)}function _v(t){var r=t.initializer;if(254===r.kind){var n=r.declarations[0];if(n&&!e.isBindingPattern(n.name))return ra(n)}else if(79===r.kind)return qm(r)}function mv(e){return 1===su(e).length&&!!cu(e,Ge)}function gv(e,t){return 32&e.flags?function(e,t){var r=Ub(e.expression),n=V_(r,e.expression);return q_(hv(e,jy(n,e.expression),t),e,n!==r)}(e,t):hv(e,Iy(e.expression),t)}function hv(t,r,n){var i=0!==e.getAssignmentTargetKind(t)||qy(t)?rm(r):r,a=t.argumentExpression,o=Ub(a);if(ao(i)||i===it)return i;if(db(i)&&!e.isStringLiteralLike(a))return In(a,e.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal),Le;var s=Wp(i,function(t){var r=e.skipParentheses(t);if(79===r.kind){var n=qm(r);if(3&n.flags)for(var i=t,a=t.parent;a;){if(242===a.kind&&i===a.statement&&_v(a)===n&&mv(jb(a.expression)))return!0;i=a,a=a.parent}}return!1}(a)?Ge:o,e.isAssignmentTarget(t)?4|(Rp(i)&&!e.isThisTypeParameter(i)?2:0):32,t)||Le;return ix(Xy(t,Yn(t).resolvedSymbol,s,a,n),t)}function yv(t){return e.isCallOrNewExpression(t)||e.isTaggedTemplateExpression(t)||e.isJsxOpeningLikeElement(t)}function vv(t){return yv(t)&&e.forEach(t.typeArguments,vS),209===t.kind?Ub(t.template):e.isJsxOpeningLikeElement(t)?Ub(t.attributes):164!==t.kind&&e.forEach(t.arguments,(function(e){Ub(e)})),Tr}function Dv(e){return vv(e),kr}function bv(e){return!!e&&(224===e.kind||231===e.kind&&e.isSpread)}function xv(t){return e.findIndex(t,bv)}function Ev(e){return!!(16384&e.flags)}function Sv(e){return!!(49155&e.flags)}function Cv(t,r,n,i){void 0===i&&(i=!1);var a,o=!1,s=OD(n),c=LD(n);if(209===t.kind)if(a=r.length,222===t.template.kind){var u=e.last(t.template.templateSpans);o=e.nodeIsMissing(u.literal)||!!u.literal.isUnterminated}else{var l=t.template;e.Debug.assert(14===l.kind),o=!!l.isUnterminated}else if(164===t.kind)a=Jv(t,n);else if(e.isJsxOpeningLikeElement(t)){if(o=t.attributes.end===t.end)return!0;a=0===c?r.length:1,s=0===r.length?s:1,c=Math.min(c,1)}else{if(!t.arguments)return e.Debug.assert(208===t.kind),0===LD(n);a=i?r.length+1:r.length,o=t.arguments.end===t.end;var p=xv(r);if(p>=0)return p>=LD(n)&&(MD(n)||p<OD(n))}if(!MD(n)&&a>s)return!1;if(o||a>=c)return!0;for(var d=a;d<c;d++)if(131072&kg(FD(n,d),e.isInJSFile(t)&&!H?Sv:Ev).flags)return!1;return!0}function Tv(t,r){var n=e.length(t.typeParameters),i=Du(t.typeParameters);return!e.some(r)||r.length>=i&&r.length<=n}function kv(e){return Nv(e,0,!1)}function Av(e){return Nv(e,0,!1)||Nv(e,1,!1)}function Nv(e,t,r){if(524288&e.flags){var n=Sc(e);if(r||0===n.properties.length&&0===n.indexInfos.length){if(0===t&&1===n.callSignatures.length&&0===n.constructSignatures.length)return n.callSignatures[0];if(1===t&&1===n.constructSignatures.length&&0===n.callSignatures.length)return n.constructSignatures[0]}}}function Pv(t,r,n,i){var a=um(t.typeParameters,t,0,i),o=RD(r),s=n&&(o&&262144&o.flags?n.nonFixingMapper:n.mapper);return sm(s?qd(r,s):r,t,(function(e,t){wm(a.inferences,e,t)})),n||cm(r,t,(function(e,t){wm(a.inferences,e,t,128)})),Ou(t,Jm(a),e.isInJSFile(r.declaration))}function Fv(t){if(!t)return rt;var r=Ub(t);return e.isOptionalChainRoot(t.parent)?K_(r):e.isOptionalChain(t.parent)?U_(r):r}function wv(t,r,n,i,a){if(e.isJsxOpeningLikeElement(t))return function(e,t,r,n){var i=qh(t,e),a=Eb(e.attributes,i,n,r);return wm(n.inferences,a,i),Jm(n)}(t,r,i,a);if(164!==t.kind){var o=Jh(t,e.every(r.typeParameters,(function(e){return!!Kc(e)}))?8:0);if(o){var s=Uh(t),c=Qd(o,mm(function(t,r){return void 0===r&&(r=0),t&&lm(e.map(t.inferences,_m),t.signature,t.flags|r,t.compareTypes)}(s,1))),u=kv(c),l=u&&u.typeParameters?Ku(Lu(u,u.typeParameters)):c,p=Pu(r);wm(a.inferences,l,p,128);var d=um(r.typeParameters,r,a.flags),f=Qd(o,s&&s.returnMapper);wm(d.inferences,f,p),a.returnMapper=e.some(d.inferences,Lb)?mm(function(t){var r=e.filter(t.inferences,Lb);return r.length?lm(e.map(r,_m),t.signature,t.flags,t.compareTypes):void 0}(d)):void 0}}var _=BD(r),m=_?Math.min(OD(r)-1,n.length):n.length;if(_&&262144&_.flags){var g=e.find(a.inferences,(function(e){return e.typeParameter===_}));g&&(g.impliedArity=e.findIndex(n,bv,m)<0?n.length-m:void 0)}var h=ku(r);if(h){var y=Bv(t);wm(a.inferences,Fv(y),h)}for(var v=0;v<m;v++){var D=n[v];if(226!==D.kind){var b=FD(r,v),x=Eb(D,b,a,i);wm(a.inferences,x,b)}}if(_){var E=Ov(n,m,n.length,_,a,i);wm(a.inferences,E,_)}return Jm(a)}function Iv(e){return 1048576&e.flags?Pg(e,Iv):1&e.flags||l_(Lc(e)||e)?e:k_(e)?Wl(rl(e),e.target.elementFlags,!1,e.target.labeledElementDeclarations):Wl([e],[8])}function Ov(t,r,n,i,a,o){if(r>=n-1&&bv(p=t[n-1]))return Iv(231===p.kind?p.type:Eb(p.expression,i,a,o));for(var s=[],c=[],u=[],l=r;l<n;l++){var p;if(bv(p=t[l])){var d=231===p.kind?p.type:Ub(p.expression);d_(d)?(s.push(d),c.push(8)):(s.push(uE(33,d,Je,224===p.kind?p.expression:p)),c.push(4))}else{var f=Vp(i,Dd(l-r),256),_=Eb(p,f,a,o),m=ub(f,406978556);s.push(m?hd(_):E_(_)),c.push(1)}231===p.kind&&p.tupleNameSource&&u.push(p.tupleNameSource)}return Wl(s,c,!1,e.length(u)===e.length(s)?u:void 0)}function Lv(t,r,n,i){for(var a,o=e.isInJSFile(t.declaration),s=t.typeParameters,c=bu(e.map(r,kd),s,Du(s),o),u=0;u<r.length;u++){e.Debug.assert(void 0!==s[u],"Should not call checkTypeArguments with too many type arguments");var l=Pc(s[u]);if(l){var p=n&&i?function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}:void 0,d=i||e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1;a||(a=Id(s,c));var f=c[u];if(!hf(f,Vs(Qd(l,a),f),n?r[u]:void 0,d,p))return}}return c}function Mv(t){if(sy(t.tagName))return 2;var r=Vc(Ub(t.tagName));return e.length(ru(r,1))?0:e.length(ru(r,0))?1:2}function Rv(t,r,n,i,a,o,s){var c={errors:void 0,skipLogging:!0};if(e.isJsxOpeningLikeElement(t))return function(t,r,n,i,a,o,s){var c=qh(r,t),u=Eb(t.attributes,c,void 0,i);return function(){var r;if(_y(t))return!0;var n=e.isJsxOpeningElement(t)||e.isJsxSelfClosingElement(t)&&!sy(t.tagName)?Ub(t.tagName):void 0;if(!n)return!0;var i=ru(n,0);if(!e.length(i))return!0;var o=DC(t);if(!o)return!0;var c=Bi(o,111551,!0,!1,t);if(!c)return!0;var u=ru(Yo(c),0);if(!e.length(u))return!0;for(var l=!1,p=0,d=0,f=u;d<f.length;d++){var _=ru(FD(f[d],0),0);if(e.length(_))for(var m=0,g=_;m<g.length;m++){var h=g[m];if(l=!0,MD(h))return!0;var y=OD(h);y>p&&(p=y)}}if(!l)return!0;for(var v=1/0,D=0,b=i;D<b.length;D++){var x=LD(b[D]);x<v&&(v=x)}if(v<=p)return!0;if(a){var E=e.createDiagnosticForNode(t.tagName,e.Diagnostics.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3,e.entityNameToString(t.tagName),v,e.entityNameToString(o),p),S=null===(r=LS(t.tagName))||void 0===r?void 0:r.valueDeclaration;S&&e.addRelatedInfo(E,e.createDiagnosticForNode(S,e.Diagnostics._0_is_declared_here,e.entityNameToString(t.tagName))),s&&s.skipLogging&&(s.errors||(s.errors=[])).push(E),s.skipLogging||gn.add(E)}return!1}()&&vf(u,c,n,a?t.tagName:void 0,t.attributes,void 0,o,s)}(t,n,i,a,o,s,c)?void 0:(e.Debug.assert(!o||!!c.errors,"jsx should have errors when reporting errors"),c.errors||e.emptyArray);var u=ku(n);if(u&&u!==rt&&208!==t.kind){var l=Bv(t),p=Fv(l),d=o?l||t:void 0,f=e.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;if(!jf(p,u,i,d,f,s,c))return e.Debug.assert(!o||!!c.errors,"this parameter should have errors when reporting errors"),c.errors||e.emptyArray}for(var _=e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1,m=BD(n),g=m?Math.min(OD(n)-1,r.length):r.length,h=0;h<g;h++){var y=r[h];if(226!==y.kind){var v=FD(n,h),D=Eb(y,v,void 0,a),b=4&a?Y_(D):D;if(!vf(b,v,i,o?y:void 0,y,_,s,c))return e.Debug.assert(!o||!!c.errors,"parameter should have errors when reporting errors"),S(y,b,v),c.errors||e.emptyArray}}if(m){var x=Ov(r,g,r.length,m,void 0,a),E=r.length-g;if(d=o?0===E?t:1===E?r[g]:e.setTextRangePosEnd(jv(t,x),r[g].pos,r[r.length-1].end):void 0,!jf(x,m,i,d,_,void 0,c))return e.Debug.assert(!o||!!c.errors,"rest parameter should have errors when reporting errors"),S(d,x,m),c.errors||e.emptyArray}return;function S(t,r,n){if(t&&o&&c.errors&&c.errors.length){if(px(n))return;var a=px(r);a&&Mf(a,n,i)&&e.addRelatedInfo(c.errors[0],e.createDiagnosticForNode(t,e.Diagnostics.Did_you_forget_to_use_await))}}}function Bv(t){var r=207===t.kind?t.expression:209===t.kind?t.tag:void 0;if(r){var n=e.skipOuterExpressions(r);if(e.isAccessExpression(n))return n.expression}}function jv(t,r,n,i){var a=e.parseNodeFactory.createSyntheticExpression(r,n,i);return e.setTextRange(a,t),e.setParent(a,t),a}function Kv(t){if(209===t.kind){var r=t.template,n=[jv(r,lr||(lr=Tl("TemplateStringsArray",0,!0)||gt))];return 222===r.kind&&e.forEach(r.templateSpans,(function(e){n.push(e.expression)})),n}if(164===t.kind)return function(t){var r=t.parent,n=t.expression;switch(r.kind){case 256:case 225:return[jv(n,Yo(ra(r)))];case 163:var i=r.parent;return[jv(n,170===r.parent.kind?Yo(ra(i)):Le),jv(n,we),jv(n,Ge)];case 166:case 168:case 171:case 172:var a=166!==r.kind&&0!==q;return[jv(n,jS(r)),jv(n,KS(r)),jv(n,a?Bl(MS(r)):we)]}return e.Debug.fail()}(t);if(e.isJsxOpeningLikeElement(t))return t.attributes.properties.length>0||e.isJsxOpeningElement(t)&&t.parent.children.length>0?[t.attributes]:e.emptyArray;var i=t.arguments||e.emptyArray,a=xv(i);if(a>=0){for(var o=i.slice(0,a),s=function(t){var r=i[t],n=224===r.kind&&(Ur?Ub(r.expression):Sb(r.expression));n&&k_(n)?e.forEach(rl(n),(function(e,t){var i,a=n.target.elementFlags[t],s=jv(r,4&a?jl(e):e,!!(12&a),null===(i=n.target.labeledElementDeclarations)||void 0===i?void 0:i[t]);o.push(s)})):o.push(r)},c=a;c<i.length;c++)s(c);return o}return i}function Jv(t,r){switch(t.parent.kind){case 256:case 225:return 1;case 166:return 2;case 168:case 171:case 172:return 0===q||r.parameters.length<=2?2:3;case 163:return 3;default:return e.Debug.fail()}}function Uv(t,r){var n,i,a=e.getSourceFileOfNode(t);if(e.isPropertyAccessExpression(t.expression)){var o=e.getErrorSpanForNode(a,t.expression.name);n=o.start,i=r?o.length:t.end-n}else{var s=e.getErrorSpanForNode(a,t.expression);n=s.start,i=r?s.length:t.end-n}return{start:n,length:i,sourceFile:a}}function qv(t,r,n,i,a,o){if(e.isCallExpression(t)){var s=Uv(t),c=s.sourceFile,u=s.start,l=s.length;return e.createFileDiagnostic(c,u,l,r,n,i,a,o)}return e.createDiagnosticForNode(t,r,n,i,a,o)}function Vv(t,r,n){var i,a=xv(n);if(a>-1)return e.createDiagnosticForNode(n[a],e.Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);for(var o,s=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,u=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY,p=0,d=r;p<d.length;p++){var f=d[p],_=LD(f),m=OD(f);_<s&&(s=_,o=f),c=Math.max(c,m),_<n.length&&_>u&&(u=_),n.length<m&&m<l&&(l=m)}var g=e.some(r,MD),h=g?s:s<c?s+"-"+c:s,y=g?e.Diagnostics.Expected_at_least_0_arguments_but_got_1:1===h&&0===n.length&&function(t){if(!e.isCallExpression(t)||!e.isIdentifier(t.expression))return!1;var r=ti(t.expression,t.expression.escapedText,111551,void 0,void 0,!1),n=null==r?void 0:r.valueDeclaration;if(!(n&&e.isParameter(n)&&e.isFunctionExpressionOrArrowFunction(n.parent)&&e.isNewExpression(n.parent.parent)&&e.isIdentifier(n.parent.parent.expression)))return!1;var i=Il(!1);return!!i&&LS(n.parent.parent.expression,!0)===i}(t)?e.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:e.Diagnostics.Expected_0_arguments_but_got_1;if(s<n.length&&n.length<c)return qv(t,e.Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,n.length,u,l);if(n.length<s){var v=qv(t,y,h,n.length),D=null===(i=null==o?void 0:o.declaration)||void 0===i?void 0:i.parameters[o.thisParameter?n.length+1:n.length];if(D){var b=e.createDiagnosticForNode(D,e.isBindingPattern(D.name)?e.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:e.isRestParameter(D)?e.Diagnostics.Arguments_for_the_rest_parameter_0_were_not_provided:e.Diagnostics.An_argument_for_0_was_not_provided,D.name?e.isBindingPattern(D.name)?void 0:e.idText(e.getFirstIdentifier(D.name)):n.length);return e.addRelatedInfo(v,b)}return v}var x=e.factory.createNodeArray(n.slice(c)),E=e.first(x).pos,S=e.last(x).end;return S===E&&S++,e.setTextRangePosEnd(x,E,S),e.createDiagnosticForNodeArray(e.getSourceFileOfNode(t),x,y,h,n.length)}function zv(t,n,i,o,s,c){var u,l=209===t.kind,p=164===t.kind,d=e.isJsxOpeningLikeElement(t),f=!i&&r;p||(u=t.typeArguments,(l||d||106!==t.expression.kind)&&e.forEach(u,vS));var _=i||[];if(function(t,r,n){var i,a,o,s,c=0,u=-1;e.Debug.assert(!r.length);for(var l=0,p=t;l<p.length;l++){var d=p[l],f=d.declaration&&ra(d.declaration),_=d.declaration&&d.declaration.parent;a&&f!==a?(o=c=r.length,i=_):i&&_===i?o+=1:(i=_,o=c),a=f,U(d)?(s=++u,c++):s=o,r.splice(s,0,n?$s(d,n):d)}}(n,_,s),!_.length)return f&&gn.add(qv(t,e.Diagnostics.Call_target_does_not_contain_any_signatures)),Dv(t);var m,g,h,y,v=Kv(t),D=1===_.length&&!_[0].typeParameters,b=p||D||!e.some(v,nf)?0:4,x=!!(16&o)&&207===t.kind&&t.arguments.hasTrailingComma;if(_.length>1&&(y=W(_,Dn,D,x)),y||(y=W(_,xn,D,x)),y)return y;if(f)if(m)if(1===m.length||m.length>3){var E,S=m[m.length-1];m.length>3&&(E=e.chainDiagnosticMessages(E,e.Diagnostics.The_last_overload_gave_the_following_error),E=e.chainDiagnosticMessages(E,e.Diagnostics.No_overload_matches_this_call));var C=Rv(t,v,S,xn,0,!0,(function(){return E}));if(C)for(var T=0,k=C;T<k.length;T++){var A=k[T];S.declaration&&m.length>3&&e.addRelatedInfo(A,e.createDiagnosticForNode(S.declaration,e.Diagnostics.The_last_overload_is_declared_here)),z(S,A),gn.add(A)}else e.Debug.fail("No error for last overload signature")}else{for(var N=[],P=0,F=Number.MAX_VALUE,w=0,I=0,O=function(r){var n=Rv(t,v,r,xn,0,!0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,I+1,_.length,Ra(r))}));n?(n.length<=F&&(F=n.length,w=I),P=Math.max(P,n.length),N.push(n)):e.Debug.fail("No error for 3 or fewer overload signatures"),I++},L=0,M=m;L<M.length;L++)O(M[L]);var R=P>1?N[w]:e.flatten(N);e.Debug.assert(R.length>0,"No errors reported for 3 or fewer overload signatures");var B=e.chainDiagnosticMessages(e.map(R,e.createDiagnosticMessageChainFromDiagnostic),e.Diagnostics.No_overload_matches_this_call),j=a([],e.flatMap(R,(function(e){return e.relatedInformation})),!0),K=void 0;if(e.every(R,(function(e){return e.start===R[0].start&&e.length===R[0].length&&e.file===R[0].file}))){var q=R[0];K={file:q.file,start:q.start,length:q.length,code:B.code,category:B.category,messageText:B,relatedInformation:j}}else K=e.createDiagnosticForNodeFromMessageChain(t,B,j);z(m[0],K),gn.add(K)}else if(g)gn.add(Vv(t,[g],v));else if(h)Lv(h,t.typeArguments,!0,c);else{var V=e.filter(n,(function(e){return Tv(e,u)}));0===V.length?gn.add(function(t,r,n){var i=n.length;if(1===r.length){var a=Du((p=r[0]).typeParameters),o=e.length(p.typeParameters);return e.createDiagnosticForNodeArray(e.getSourceFileOfNode(t),n,e.Diagnostics.Expected_0_type_arguments_but_got_1,a<o?a+"-"+o:a,i)}for(var s=-1/0,c=1/0,u=0,l=r;u<l.length;u++){var p,d=Du((p=l[u]).typeParameters);o=e.length(p.typeParameters),d>i?c=Math.min(c,d):o<i&&(s=Math.max(s,o))}return s!==-1/0&&c!==1/0?e.createDiagnosticForNodeArray(e.getSourceFileOfNode(t),n,e.Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,i,s,c):e.createDiagnosticForNodeArray(e.getSourceFileOfNode(t),n,e.Diagnostics.Expected_0_type_arguments_but_got_1,s===-1/0?c:s,i)}(t,n,u)):p?c&&gn.add(qv(t,c)):gn.add(Vv(t,V,v))}return function(t,r,n,i){return e.Debug.assert(r.length>0),bS(t),i||1===r.length||r.some((function(e){return!!e.typeParameters}))?function(t,r,n){var i=function(e,t){for(var r=-1,n=-1,i=0;i<e.length;i++){var a=e[i],o=OD(a);if(MD(a)||o>=t)return i;o>n&&(n=o,r=i)}return r}(r,void 0===ue?n.length:ue),a=r[i],o=a.typeParameters;if(!o)return a;var s=yv(t)?t.typeArguments:void 0,c=s?Mu(a,function(e,t,r){for(var n=e.map(MS);n.length>t.length;)n.pop();for(;n.length<t.length;)n.push(Kc(t[n.length])||Pc(t[n.length])||Km(r));return n}(s,o,e.isInJSFile(t))):function(t,r,n,i){return Mu(n,wv(t,n,i,12,um(r,n,e.isInJSFile(t)?2:0)))}(t,o,a,n);return r[i]=c,c}(t,r,n):function(t){var r,n=e.mapDefined(t,(function(e){return e.thisParameter}));n.length&&(r=Hv(n,n.map(CD)));for(var i=e.minAndMax(t,Wv),a=i.min,o=i.max,s=[],c=function(r){var n=e.mapDefined(t,(function(t){return J(t)?r<t.parameters.length-1?t.parameters[r]:e.last(t.parameters):r<t.parameters.length?t.parameters[r]:void 0}));e.Debug.assert(0!==n.length),s.push(Hv(n,e.mapDefined(t,(function(e){return wD(e,r)}))))},u=0;u<o;u++)c(u);var l=e.mapDefined(t,(function(t){return J(t)?e.last(t.parameters):void 0})),p=0;if(0!==l.length){var d=jl(sp(e.mapDefined(t,Iu),2));s.push(Gv(l,d)),p|=1}return t.some(U)&&(p|=2),Ws(t[0].declaration,void 0,r,s,mp(t.map(Pu)),void 0,a,p)}(r)}(t,_,v,!!i);function z(t,r){var n,i,a=m,o=g,s=h,c=(null===(i=null===(n=t.declaration)||void 0===n?void 0:n.symbol)||void 0===i?void 0:i.declarations)||e.emptyArray,u=c.length>1?e.find(c,(function(t){return e.isFunctionLikeDeclaration(t)&&e.nodeIsPresent(t.body)})):void 0;if(u){var l=xu(u),p=!l.typeParameters;W([l],xn,p)&&e.addRelatedInfo(r,e.createDiagnosticForNode(u,e.Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}m=a,g=o,h=s}function W(r,n,i,a){if(void 0===a&&(a=!1),m=void 0,g=void 0,h=void 0,i){var o=r[0];if(e.some(u)||!Cv(t,v,o,a))return;return Rv(t,v,o,n,0,!1,void 0)?void(m=[o]):o}for(var s=0;s<r.length;s++)if(Tv(o=r[s],u)&&Cv(t,v,o,a)){var c=void 0,l=void 0;if(o.typeParameters){var p=void 0;if(e.some(u)){if(!(p=Lv(o,u,!1))){h=o;continue}}else l=um(o.typeParameters,o,e.isInJSFile(t)?2:0),p=wv(t,o,v,8|b,l),b|=4&l.flags?8:0;if(c=Ou(o,p,e.isInJSFile(o.declaration),l&&l.inferredTypeParameters),BD(o)&&!Cv(t,v,c,a)){g=c;continue}}else c=o;if(Rv(t,v,c,n,b,!1,void 0)){(m||(m=[])).push(c);continue}if(b){if(b=0,l&&(c=Ou(o,p=wv(t,o,v,b,l),e.isInJSFile(o.declaration),l&&l.inferredTypeParameters),BD(o)&&!Cv(t,v,c,a))){g=c;continue}if(Rv(t,v,c,n,b,!1,void 0)){(m||(m=[])).push(c);continue}}return r[s]=c,c}}}function Wv(e){var t=e.parameters.length;return J(e)?t-1:t}function Hv(e,t){return Gv(e,sp(t,2))}function Gv(t,r){return $_(e.first(t),r)}function $v(e){return!(!e.typeParameters||!lC(Pu(e)))}function Yv(e,t,r,n){return io(e)||io(t)&&!!(262144&e.flags)||!r&&!n&&!(1048576&t.flags)&&!(131072&$c(t).flags)&&ff(e,wt)}function Xv(t,r,n){if(t.arguments&&q<1){var i=xv(t.arguments);i>=0&&In(t.arguments[i],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var a=Iy(t.expression);if(a===it)return Nr;if(ao(a=Vc(a)))return Dv(t);if(io(a))return t.typeArguments&&In(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),vv(t);var o=ru(a,1);if(o.length){if(!function(t,r){if(!r||!r.declaration)return!0;var n=r.declaration,i=e.getSelectedEffectiveModifierFlags(n,24);if(!i||170!==n.kind)return!0;var a=e.getClassLikeDeclarationOfSymbol(n.parent.symbol),o=Ss(n.parent.symbol);if(!FS(t,a)){var s=e.getContainingClass(t);if(s&&16&i){var c=MS(s);if(Qv(n.parent.symbol,c))return!0}return 8&i&&In(t,e.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,Ba(o)),16&i&&In(t,e.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,Ba(o)),!1}return!0}(t,o[0]))return Dv(t);if(o.some((function(e){return 4&e.flags})))return In(t,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Dv(t);var s=a.symbol&&e.getClassLikeDeclarationOfSymbol(a.symbol);return s&&e.hasSyntacticModifier(s,128)?(In(t,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Dv(t)):zv(t,o,r,n,0)}var c=ru(a,0);if(c.length){var u=zv(t,c,r,n,0);return X||(u.declaration&&!sD(u.declaration)&&Pu(u)!==rt&&In(t,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),ku(u)===rt&&In(t,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),u}return eD(t.expression,a,1),Dv(t)}function Qv(t,r){var n=ds(r);if(!e.length(n))return!1;var i=n[0];if(2097152&i.flags){for(var a=nc(i.types),o=0,s=0,c=i.types;s<c.length;s++){var u=c[s];if(!a[o]&&3&e.getObjectFlags(u)&&(u.symbol===t||Qv(t,u)))return!0;o++}return!1}return i.symbol===t||Qv(t,i)}function Zv(t,r,n){var i,a=0===n,o=hx(r),s=o&&ru(o,n).length>0;if(1048576&r.flags){for(var c=!1,u=0,l=r.types;u<l.length;u++){var p=l[u];if(0!==ru(p,n).length){if(c=!0,i)break}else if(i||(i=e.chainDiagnosticMessages(i,a?e.Diagnostics.Type_0_has_no_call_signatures:e.Diagnostics.Type_0_has_no_construct_signatures,Ba(p)),i=e.chainDiagnosticMessages(i,a?e.Diagnostics.Not_all_constituents_of_type_0_are_callable:e.Diagnostics.Not_all_constituents_of_type_0_are_constructable,Ba(r))),c)break}c||(i=e.chainDiagnosticMessages(void 0,a?e.Diagnostics.No_constituent_of_type_0_is_callable:e.Diagnostics.No_constituent_of_type_0_is_constructable,Ba(r))),i||(i=e.chainDiagnosticMessages(i,a?e.Diagnostics.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:e.Diagnostics.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,Ba(r)))}else i=e.chainDiagnosticMessages(i,a?e.Diagnostics.Type_0_has_no_call_signatures:e.Diagnostics.Type_0_has_no_construct_signatures,Ba(r));var d=a?e.Diagnostics.This_expression_is_not_callable:e.Diagnostics.This_expression_is_not_constructable;if(e.isCallExpression(t.parent)&&0===t.parent.arguments.length){var f=Yn(t).resolvedSymbol;f&&32768&f.flags&&(d=e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without)}return{messageChain:e.chainDiagnosticMessages(i,d),relatedMessage:s?e.Diagnostics.Did_you_forget_to_use_await:void 0}}function eD(t,r,n,i){var a=Zv(t,r,n),o=a.messageChain,s=a.relatedMessage,c=e.createDiagnosticForNodeFromMessageChain(t,o);if(s&&e.addRelatedInfo(c,e.createDiagnosticForNode(t,s)),e.isCallExpression(t.parent)){var u=Uv(t.parent,!0),l=u.start,p=u.length;c.start=l,c.length=p}gn.add(c),tD(r,n,i?e.addRelatedInfo(c,i):c)}function tD(t,r,n){if(t.symbol){var i=$n(t.symbol).originatingImport;if(i&&!e.isImportCall(i)){var a=ru(Yo($n(t.symbol).target),r);if(!a||!a.length)return;e.addRelatedInfo(n,e.createDiagnosticForNode(i,e.Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead))}}}function rD(t,r,n){var i=Ub(t.expression),a=Vc(i);if(ao(a))return Dv(t);var o=ru(a,0),s=ru(a,1).length;if(Yv(i,a,o.length,s))return vv(t);if(function(t,r){return r.length&&e.every(r,(function(e){return 0===e.minArgumentCount&&!J(e)&&e.parameters.length<Jv(t,e)}))}(t,o)){var c=e.getTextOfNode(t.expression,!1);return In(t,e.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,c),Dv(t)}var u=function(t){switch(t.parent.kind){case 256:case 225:return e.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 163:return e.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 166:return e.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 168:case 171:case 172:return e.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return e.Debug.fail()}}(t);if(!o.length){var l=Zv(t.expression,a,0),p=e.chainDiagnosticMessages(l.messageChain,u),d=e.createDiagnosticForNodeFromMessageChain(t.expression,p);return l.relatedMessage&&e.addRelatedInfo(d,e.createDiagnosticForNode(t.expression,l.relatedMessage)),gn.add(d),tD(a,0,d),Dv(t)}return zv(t,o,r,n,0,u)}function nD(t,r){var n=my(t),i=n&&Xi(n),a=i&&Qn(i,F.Element,788968),o=a&&ae.symbolToEntityName(a,788968,t),s=e.factory.createFunctionTypeNode(void 0,[e.factory.createParameterDeclaration(void 0,void 0,void 0,"props",void 0,ae.typeToTypeNode(r,t))],o?e.factory.createTypeReferenceNode(o,void 0):e.factory.createKeywordTypeNode(130)),c=Kn(1,"props");return c.type=r,Ws(s,void 0,void 0,[c],a?Ss(a):Le,void 0,1,0)}function iD(t,r,n){if(sy(t.tagName)){var i=Dy(t),a=nD(t,i);return yf(Eb(t.attributes,qh(a,t),void 0,0),i,t.tagName,t.attributes),e.length(t.typeArguments)&&(e.forEach(t.typeArguments,vS),gn.add(e.createDiagnosticForNodeArray(e.getSourceFileOfNode(t),t.typeArguments,e.Diagnostics.Expected_0_type_arguments_but_got_1,0,e.length(t.typeArguments)))),a}var o=Ub(t.tagName),s=Vc(o);if(ao(s))return Dv(t);var c=yy(o,t);return Yv(o,s,c.length,0)?vv(t):0===c.length?(In(t.tagName,e.Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,e.getTextOfNode(t.tagName)),Dv(t)):zv(t,c,r,n,0)}function aD(t,r,n){switch(t.kind){case 207:return function(t,r,n){if(106===t.expression.kind){var i=hh(t.expression);if(io(i)){for(var a=0,o=t.arguments;a<o.length;a++)Ub(o[a]);return Tr}if(!ao(i)){var s=e.getEffectiveBaseTypeNode(e.getContainingClass(t));if(s)return zv(t,us(i,s.typeArguments,s),r,n,0)}return vv(t)}var c,u=Ub(t.expression);if(e.isCallChain(t)){var l=V_(u,t.expression);c=l===u?0:e.isOutermostOptionalChain(t)?16:8,u=l}else c=0;if((u=By(u,t.expression,Ry))===it)return Nr;var p=Vc(u);if(ao(p))return Dv(t);var d=ru(p,0),f=ru(p,1).length;if(Yv(u,p,d.length,f))return!ao(u)&&t.typeArguments&&In(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),vv(t);if(!d.length){if(f)In(t,e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,Ba(u));else{var _=void 0;if(1===t.arguments.length){var m=e.getSourceFileOfNode(t).text;e.isLineBreak(m.charCodeAt(e.skipTrivia(m,t.expression.end,!0)-1))&&(_=e.createDiagnosticForNode(t.expression,e.Diagnostics.Are_you_missing_a_semicolon))}eD(t.expression,p,0,_)}return Dv(t)}return 8&n&&!t.typeArguments&&d.some($v)?(Ob(t,n),Ar):d.some((function(t){return e.isInJSFile(t.declaration)&&!!e.getJSDocClassTag(t.declaration)}))?(In(t,e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,Ba(u)),Dv(t)):zv(t,d,r,n,c)}(t,r,n);case 208:return Xv(t,r,n);case 209:return function(t,r,n){var i=Ub(t.tag),a=Vc(i);if(ao(a))return Dv(t);var o=ru(a,0),s=ru(a,1).length;if(Yv(i,a,o.length,s))return vv(t);if(!o.length){if(e.isArrayLiteralExpression(t.parent)){var c=e.createDiagnosticForNode(t.tag,e.Diagnostics.It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked);return gn.add(c),Dv(t)}return eD(t.tag,a,0),Dv(t)}return zv(t,o,r,n,0)}(t,r,n);case 164:return rD(t,r,n);case 279:case 278:return iD(t,r,n)}throw e.Debug.assertNever(t,"Branch in 'resolveSignature' should be unreachable.")}function oD(e,t,r){var n=Yn(e),i=n.resolvedSignature;if(i&&i!==Ar&&!t)return i;n.resolvedSignature=Ar;var a=aD(e,t,r||0);return a!==Ar&&(n.resolvedSignature=Jr===Ur?a:i),a}function sD(t){var r;if(!t||!e.isInJSFile(t))return!1;var n=e.isFunctionDeclaration(t)||e.isFunctionExpression(t)?t:e.isVariableDeclaration(t)&&t.initializer&&e.isFunctionExpression(t.initializer)?t.initializer:void 0;if(n){if(e.getJSDocClassTag(t))return!0;var i=ra(n);return!(null===(r=null==i?void 0:i.members)||void 0===r||!r.size)}return!1}function cD(t,r){var n,i;if(r){var a=$n(r);if(!a.inferredClassSymbol||!a.inferredClassSymbol.has(M(t))){var o=e.isTransientSymbol(t)?t:qn(t);return o.exports=o.exports||e.createSymbolTable(),o.members=o.members||e.createSymbolTable(),o.flags|=32&r.flags,!(null===(n=r.exports)||void 0===n)&&n.size&&Hn(o.exports,r.exports),!(null===(i=r.members)||void 0===i)&&i.size&&Hn(o.members,r.members),(a.inferredClassSymbol||(a.inferredClassSymbol=new e.Map)).set(M(o),o),o}return a.inferredClassSymbol.get(M(t))}}function uD(t,r){if(t.parent){var n,i;if(e.isVariableDeclaration(t.parent)&&t.parent.initializer===t){if(!(e.isInJSFile(t)||e.isVarConst(t.parent)&&e.isFunctionLikeDeclaration(t)))return;n=t.parent.name,i=t.parent}else if(e.isBinaryExpression(t.parent)){var a=t.parent,o=t.parent.operatorToken.kind;if(63!==o||!r&&a.right!==t){if(!(56!==o&&60!==o||(e.isVariableDeclaration(a.parent)&&a.parent.initializer===a?(n=a.parent.name,i=a.parent):e.isBinaryExpression(a.parent)&&63===a.parent.operatorToken.kind&&(r||a.parent.right===a)&&(n=a.parent.left,i=n),n&&e.isBindableStaticNameExpression(n)&&e.isSameEntityName(n,a.left))))return}else i=n=a.left}else r&&e.isFunctionDeclaration(t)&&(n=t.name,i=t);if(i&&n&&(r||e.getExpandoInitializer(t,e.isPrototypeAccess(n))))return ra(i)}}function lD(t,r){if(t.declaration&&134217728&t.declaration.flags){var n=pD(r),i=e.tryGetPropertyAccessOrIdentifierToString(e.getInvokedExpression(r));!function(t,r,n,i){Rn(r,n?e.createDiagnosticForNode(t,e.Diagnostics.The_signature_0_of_1_is_deprecated,i,n):e.createDiagnosticForNode(t,e.Diagnostics._0_is_deprecated,i))}(n,t.declaration,i,Ra(t))}}function pD(t){switch((t=e.skipParentheses(t)).kind){case 207:case 164:case 208:return pD(t.expression);case 209:return pD(t.tag);case 279:case 278:return pD(t.tagName);case 206:return t.argumentExpression;case 205:return t.name;case 177:var r=t;return e.isQualifiedName(r.typeName)?r.typeName.right:r;default:return t}}function dD(t){if(!e.isCallExpression(t))return!1;var r=t.expression;if(e.isPropertyAccessExpression(r)&&"for"===r.name.escapedText&&(r=r.expression),!e.isIdentifier(r)||"Symbol"!==r.escapedText)return!1;var n=Nl(!1);return!!n&&n===ti(r,"Symbol",111551,void 0,void 0,!1)}function fD(t){if(function(t){if(V===e.ModuleKind.ES2015)return XC(t,e.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node12_or_nodenext);if(t.typeArguments)return XC(t,e.Diagnostics.Dynamic_import_cannot_have_type_arguments);var r=t.arguments;if(V!==e.ModuleKind.ESNext&&V!==e.ModuleKind.NodeNext&&(kC(r),r.length>1))return XC(r[1],e.Diagnostics.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext);if(0===r.length||r.length>2)return XC(t,e.Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments);var n=e.find(r,e.isSpreadElement);!!n&&XC(n,e.Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element)}(t),0===t.arguments.length)return WD(t,we);for(var r=t.arguments[0],n=Sb(r),i=t.arguments.length>1?Sb(t.arguments[1]):void 0,a=2;a<t.arguments.length;++a)Sb(t.arguments[a]);if((32768&n.flags||65536&n.flags||!ff(n,He))&&In(r,e.Diagnostics.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0,Ba(n)),i){var o=Al(!0);o!==gt&&hf(i,B_(o,32768),t.arguments[1])}var s=Ki(t,r);if(s){var c=zi(s,r,!0,!1);if(c)return WD(t,mD(Yo(c),c,s,r)||gD(Yo(c),c,s,r))}return WD(t,we)}function _D(t,r,n){var i=e.createSymbolTable(),a=Kn(2097152,"default");return a.parent=r,a.nameType=vd("default"),a.target=Ni(t),i.set("default",a),Da(n,i,e.emptyArray,e.emptyArray,e.emptyArray)}function mD(e,t,r,n){if(Di(n)&&e&&!ao(e)){var i=e;if(!i.defaultOnlyType){var a=_D(t,r);i.defaultOnlyType=a}return i.defaultOnlyType}}function gD(t,r,n,i){var a;if(W&&t&&!ao(t)){var o=t;if(!o.syntheticType)if(bi(null===(a=n.declarations)||void 0===a?void 0:a.find(e.isSourceFile),n,!1,i)){var s=Kn(2048,"__type"),c=_D(r,n,s);s.type=c,o.syntheticType=ay(t)?dd(t,c,s,0,!1):c}else o.syntheticType=t;return o.syntheticType}return t}function hD(t){if(!e.isRequireCall(t,!0))return!1;if(!e.isIdentifier(t.expression))return e.Debug.fail();var r=ti(t.expression,t.expression.escapedText,111551,void 0,void 0,!0);if(r===pe)return!0;if(2097152&r.flags)return!1;var n=16&r.flags?255:3&r.flags?253:0;if(0!==n){var i=e.getDeclarationOfKind(r,n);return!!i&&!!(8388608&i.flags)}return!1}function yD(t){(function(t){return!!(t.questionDotToken||32&t.flags)&&XC(t.template,e.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain)})(t)||FC(t,t.typeArguments),q<2&&EC(t,262144);var r=oD(t);return lD(r,t),Pu(r)}function vD(e){switch(e.kind){case 10:case 14:case 8:case 9:case 110:case 95:case 203:case 204:case 222:return!0;case 211:return vD(e.expression);case 218:var t=e.operator,r=e.operand;return 40===t&&(8===r.kind||9===r.kind)||39===t&&8===r.kind;case 205:case 206:var n=MS(e.expression).symbol;return n&&2097152&n.flags&&(n=Pi(n)),!!(n&&384&n.flags&&1===vs(n))}return!1}function DD(t,n,i,a){var o=Ub(i,a);if(e.isConstTypeReference(n))return vD(i)||In(i,e.Diagnostics.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals),hd(o);vS(n),o=Y_(x_(o));var s=kd(n);return r&&!ao(s)&&(mf(s,rm(o))||kf(o,s,t,e.Diagnostics.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first)),s}function bD(e){return 32&e.flags?function(e){var t=Ub(e.expression),r=V_(t,e.expression);return q_(K_(r),e,r!==t)}(e):K_(Ub(e.expression))}function xD(t){return function(t){var r=t.name.escapedText;switch(t.keywordToken){case 103:if("target"!==r)return XC(t.name,e.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,t.name.escapedText,e.tokenToString(t.keywordToken),"target");break;case 100:if("meta"!==r)XC(t.name,e.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,t.name.escapedText,e.tokenToString(t.keywordToken),"meta")}}(t),103===t.keywordToken?SD(t):100===t.keywordToken?function(t){V===e.ModuleKind.Node12||V===e.ModuleKind.NodeNext?e.getSourceFileOfNode(t).impliedNodeFormat!==e.ModuleKind.ESNext&&In(t,e.Diagnostics.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output):V<e.ModuleKind.ES2020&&V!==e.ModuleKind.System&&In(t,e.Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node12_or_nodenext);var r=e.getSourceFileOfNode(t);return e.Debug.assert(!!(2097152&r.flags),"Containing file is missing import meta node flag."),"meta"===t.name.escapedText?kl():Le}(t):e.Debug.assertNever(t.keywordToken)}function ED(t){switch(t.keywordToken){case 100:return function(){if(!dr){var t=Kn(0,"ImportMetaExpression"),r=kl(),n=Kn(4,"meta",8);n.parent=t,n.type=r;var i=e.createSymbolTable([n]);t.members=i,dr=Da(t,i,e.emptyArray,e.emptyArray,e.emptyArray)}return dr}();case 103:var r=SD(t);return ao(r)?Le:function(t){var r=Kn(0,"NewTargetExpression"),n=Kn(4,"target",8);n.parent=r,n.type=t;var i=e.createSymbolTable([n]);return r.members=i,Da(r,i,e.emptyArray,e.emptyArray,e.emptyArray)}(r);default:e.Debug.assertNever(t.keywordToken)}}function SD(t){var r=e.getNewTargetContainer(t);return r?170===r.kind?Yo(ra(r.parent)):Yo(ra(r)):(In(t,e.Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),Le)}function CD(t){var r=Yo(t);if(H){var n=t.valueDeclaration;if(n&&e.hasInitializer(n))return j_(r)}return r}function TD(t){return e.Debug.assert(e.isIdentifier(t.name)),t.name.escapedText}function kD(e,t,r){var n=e.parameters.length-(J(e)?1:0);if(t<n)return e.parameters[t].escapedName;var i=e.parameters[n]||Ae,a=r||Yo(i);if(k_(a)){var o=a.target.labeledElementDeclarations,s=t-n;return o&&TD(o[s])||i.escapedName+"_"+s}return i.escapedName}function AD(t){return t.valueDeclaration&&e.isParameter(t.valueDeclaration)&&e.isIdentifier(t.valueDeclaration.name)}function ND(t){return 196===t.kind||e.isParameter(t)&&t.name&&e.isIdentifier(t.name)}function PD(e,t){var r=e.parameters.length-(J(e)?1:0);if(t<r){var n=e.parameters[t].valueDeclaration;return n&&ND(n)?n:void 0}var i=e.parameters[r]||Ae,a=Yo(i);if(k_(a)){var o=a.target.labeledElementDeclarations;return o&&o[t-r]}return i.valueDeclaration&&ND(i.valueDeclaration)?i.valueDeclaration:void 0}function FD(e,t){return wD(e,t)||we}function wD(e,t){var r=e.parameters.length-(J(e)?1:0);if(t<r)return CD(e.parameters[t]);if(J(e)){var n=Yo(e.parameters[r]),i=t-r;if(!k_(n)||n.target.hasRestElement||i<n.target.fixedLength)return Vp(n,Dd(i))}}function ID(t,r){var n=OD(t),i=LD(t),a=RD(t);if(a&&r>=n-1)return r===n-1?a:jl(Vp(a,Ge));for(var o=[],s=[],c=[],u=r;u<n;u++){!a||u<n-1?(o.push(FD(t,u)),s.push(u<i?1:2)):(o.push(a),s.push(8));var l=PD(t,u);l&&c.push(l)}return Wl(o,s,!1,e.length(c)===e.length(o)?c:void 0)}function OD(e){var t=e.parameters.length;if(J(e)){var r=Yo(e.parameters[t-1]);if(k_(r))return t+r.target.fixedLength-(r.target.hasRestElement?0:1)}return t}function LD(t,r){var n=1&r,i=2&r;if(i||void 0===t.resolvedMinArgumentCount){var a=void 0;if(J(t)){var o=Yo(t.parameters[t.parameters.length-1]);if(k_(o)){var s=e.findIndex(o.target.elementFlags,(function(e){return!(1&e)})),c=s<0?o.target.fixedLength:s;c>0&&(a=t.parameters.length-1+c)}}if(void 0===a){if(!n&&32&t.flags)return 0;a=t.minArgumentCount}if(i)return a;for(var u=a-1;u>=0&&!(131072&kg(FD(t,u),Ev).flags);u--)a=u;t.resolvedMinArgumentCount=a}return t.resolvedMinArgumentCount}function MD(e){if(J(e)){var t=Yo(e.parameters[e.parameters.length-1]);return!k_(t)||t.target.hasRestElement}return!1}function RD(e){if(J(e)){var t=Yo(e.parameters[e.parameters.length-1]);if(!k_(t))return t;if(t.target.hasRestElement)return Yl(t,t.target.fixedLength)}}function BD(e){var t=RD(e);return!t||c_(t)||io(t)||0!=(131072&$c(t).flags)?void 0:t}function jD(e){return KD(e,nt)}function KD(e,t){return e.parameters.length>0?FD(e,0):t}function JD(t,r){if(r.typeParameters){if(t.typeParameters)return;t.typeParameters=r.typeParameters}r.thisParameter&&(!(a=t.thisParameter)||a.valueDeclaration&&!a.valueDeclaration.type)&&(a||(t.thisParameter=$_(r.thisParameter,void 0)),UD(t.thisParameter,Yo(r.thisParameter)));for(var n=t.parameters.length-(J(t)?1:0),i=0;i<n;i++){var a=t.parameters[i];e.getEffectiveTypeAnnotationNode(a.valueDeclaration)||UD(a,wD(r,i))}J(t)&&(a=e.last(t.parameters),!e.isTransientSymbol(a)&&e.getEffectiveTypeAnnotationNode(a.valueDeclaration)||UD(a,ID(r,n)))}function UD(e,t){var r=$n(e);if(!r.type){var n=e.valueDeclaration;r.type=t||Io(n,!0),79!==n.name.kind&&(r.type===je&&(r.type=wo(n.name)),qD(n.name,r.type))}}function qD(t,r){for(var n=0,i=t.elements;n<i.length;n++){var a=i[n];if(!e.isOmittedExpression(a)){var o=mo(a,r);79===a.name.kind?$n(ra(a)).type=o:qD(a.name,o)}}}function VD(e){var t=Fl(!0);return t!==Dt?Zu(t,[e=yx(gx(e))||je]):je}function zD(e){var t=wl(!0);return t!==Dt?Zu(t,[e=yx(gx(e))||je]):je}function WD(t,r){var n=VD(r);return n===je?(In(t,e.isImportCall(t)?e.Diagnostics.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:e.Diagnostics.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),Le):(Il(!0)||In(t,e.isImportCall(t)?e.Diagnostics.A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: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),n)}function HD(t,r){if(!t.body)return Le;var n,i,a,o=e.getFunctionFlags(t),s=0!=(2&o),c=0!=(1&o),u=rt;if(234!==t.body.kind)n=Sb(t.body,r&&-9&r),s&&(n=gx(fx(n,!1,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)));else if(c){var l=ZD(t,r);l?l.length>0&&(n=sp(l,2)):u=nt;var p=function(t,r){var n=[],i=[],a=0!=(2&e.getFunctionFlags(t));return e.forEachYieldExpression(t.body,(function(t){var o,s=t.expression?Ub(t.expression,r):Ue;if(e.pushIfUnique(n,$D(t,s,we,a)),t.asteriskToken){var c=gE(s,a?19:17,t.expression);o=c&&c.nextType}else o=Jh(t);o&&e.pushIfUnique(i,o)})),{yieldTypes:n,nextTypes:i}}(t,r),d=p.yieldTypes,f=p.nextTypes;i=e.some(d)?sp(d,2):void 0,a=e.some(f)?mp(f):void 0}else{var _=ZD(t,r);if(!_)return 2&o?WD(t,nt):nt;if(0===_.length)return 2&o?WD(t,rt):rt;n=sp(_,2)}if(n||i||a){if(i&&om(t,i,3),n&&om(t,n,1),a&&om(t,a,2),n&&v_(n)||i&&v_(i)||a&&v_(a)){var m=Hh(t),g=m?m===xu(t)?c?void 0:n:jh(Pu(m),t):void 0;c?(i=T_(i,g,0,s),n=T_(n,g,1,s),a=T_(a,g,2,s)):n=function(e,t,r){return e&&v_(e)&&(e=C_(e,t?r?dx(t):t:void 0)),e}(n,g,s)}i&&(i=rm(i)),n&&(n=rm(n)),a&&(a=rm(a))}return c?GD(i||nt,n||u,a||Sh(2,t)||je,s):s?VD(n||u):n||u}function GD(e,t,r,n){var i=n?Mr:Rr,a=i.getGlobalGeneratorType(!1);if(e=i.resolveIterationType(e,void 0)||je,t=i.resolveIterationType(t,void 0)||je,r=i.resolveIterationType(r,void 0)||je,a===Dt){var o=i.getGlobalIterableIteratorType(!1),s=o!==Dt?DE(o,i):void 0,c=s?s.returnType:we,u=s?s.nextType:Je;return ff(t,c)&&ff(u,r)?o!==Dt?Rl(o,[e]):(i.getGlobalIterableIteratorType(!0),gt):(i.getGlobalGeneratorType(!0),gt)}return Rl(a,[e,t,r])}function $D(t,r,n,i){var a=t.expression||t,o=t.asteriskToken?uE(i?19:17,r,n,a):r;return i?hx(o,a,t.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 YD(e,t,r,n){var i=0;if(n){for(var a=t;a<r.length;a++)i|=C.get(r[a])||32768;for(a=e;a<t;a++)i&=~(C.get(r[a])||0);for(a=0;a<e;a++)i|=C.get(r[a])||32768}else{for(a=e;a<t;a++)i|=S.get(r[a])||128;for(a=0;a<e;a++)i&=~(S.get(r[a])||0)}return i}function XD(t){var r=Yn(t);return void 0!==r.isExhaustive?r.isExhaustive:r.isExhaustive=function(t){if(215===t.expression.kind){var r=jb(t.expression.expression),n=YD(0,0,xg(t,!1),!0),i=Lc(r)||r;return 3&i.flags?556800==(556800&n):!!(131072&kg(i,(function(e){return(og(e)&n)===n})).flags)}var a=jb(t.expression);if(!b_(a))return!1;var o=bg(t);return!(!o.length||e.some(o,y_))&&function(t,r){return 1048576&t.flags?!e.forEach(t.types,(function(t){return!e.contains(r,t)})):e.contains(r,t)}(Pg(a,hd),o)}(t)}function QD(e){return e.endFlowNode&&Hg(e.endFlowNode)}function ZD(t,r){var n=e.getFunctionFlags(t),i=[],a=QD(t),o=!1;if(e.forEachReturnStatement(t.body,(function(s){var c=s.expression;if(c){var u=Sb(c,r&&-9&r);2&n&&(u=gx(fx(u,!1,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member))),131072&u.flags&&(o=!0),e.pushIfUnique(i,u)}else a=!0})),0!==i.length||a||!o&&!function(e){switch(e.kind){case 212:case 213:return!0;case 168:return 204===e.parent.kind;default:return!1}}(t))return H&&i.length&&a&&!(sD(t)&&i.some((function(e){return e.symbol===t.symbol})))&&e.pushIfUnique(i,Je),i}function eb(t,n){if(r){var i=e.getFunctionFlags(t),a=n&&LE(n,i);if((!a||!ub(a,16385))&&167!==t.kind&&!e.nodeIsMissing(t.body)&&234===t.body.kind&&QD(t)){var o=512&t.flags,s=e.getEffectiveReturnTypeNode(t)||t;if(a&&131072&a.flags)In(s,e.Diagnostics.A_function_returning_never_cannot_have_a_reachable_end_point);else if(a&&!o)In(s,e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value);else if(a&&H&&!ff(Je,a))In(s,e.Diagnostics.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(N.noImplicitReturns){if(!a){if(!o)return;if(ME(t,Pu(xu(t))))return}In(s,e.Diagnostics.Not_all_code_paths_return_a_value)}}}}function tb(t,r){if(e.Debug.assert(168!==t.kind||e.isObjectLiteralMethod(t)),bS(t),e.isFunctionExpression(t)&&$x(t,t.name),r&&4&r&&nf(t)){if(!e.getEffectiveReturnTypeNode(t)&&!e.hasContextSensitiveParameters(t)){var n=Gh(t);if(n&&gm(Pu(n))){var i=Yn(t);if(i.contextFreeType)return i.contextFreeType;var a=HD(t,r),o=Ws(void 0,void 0,void 0,e.emptyArray,a,void 0,0,0),s=Da(t.symbol,k,[o],e.emptyArray,e.emptyArray);return s.objectFlags|=524288,i.contextFreeType=s}}return bt}return!PC(t)&&212===t.kind&&LC(t),function(t,r){var n=Yn(t);if(!(1024&n.flags)){var i=Gh(t);if(!(1024&n.flags)){n.flags|=1024;var a=e.firstOrUndefined(ru(Yo(ra(t)),0));if(!a)return;if(nf(t))if(i){var o=Uh(t);r&&2&r&&function(t,r,n){for(var i=t.parameters.length-(J(t)?1:0),a=0;a<i;a++){var o=t.parameters[a].valueDeclaration;if(o.type){var s=e.getEffectiveTypeAnnotationNode(o);s&&wm(n.inferences,kd(s),FD(r,a))}}var c=RD(r);if(c&&262144&c.flags){JD(t,qd(r,n.nonFixingMapper));var u=OD(r)-1;wm(n.inferences,ID(t,u),c)}}(a,i,o),JD(a,o?qd(i,o.mapper):i)}else!function(e){e.thisParameter&&UD(e.thisParameter);for(var t=0,r=e.parameters;t<r.length;t++)UD(r[t])}(a);if(i&&!Fu(t)&&!a.resolvedReturnType){var s=HD(t,r);a.resolvedReturnType||(a.resolvedReturnType=s)}Wb(t)}}}(t,r),Yo(ra(t))}function rb(e,t,r,n){if(void 0===n&&(n=!1),!ff(t,dt)){var i=n&&px(t);return Mn(e,!!i&&ff(i,dt),r),!1}return!0}function nb(t){if(!e.isCallExpression(t)||!e.isBindableObjectDefinePropertyCall(t))return!1;var r=Sb(t.arguments[2]);if(no(r,"value")){var n=eu(r,"writable"),i=n&&Yo(n);if(!i||i===Ye||i===Xe)return!0;if(n&&n.valueDeclaration&&e.isPropertyAssignment(n.valueDeclaration)){var a=Ub(n.valueDeclaration.initializer);if(a===Ye||a===Xe)return!0}return!1}return!eu(r,"set")}function ib(t){return!!(8&e.getCheckFlags(t)||4&t.flags&&64&e.getDeclarationModifierFlagsFromSymbol(t)||3&t.flags&&2&Ay(t)||98304&t.flags&&!(65536&t.flags)||8&t.flags||e.some(t.declarations,nb))}function ab(t,r,n){var i,a;if(0===n)return!1;if(ib(r)){if(4&r.flags&&e.isAccessExpression(t)&&108===t.expression.kind){var o=e.getContainingFunction(t);if(!o||170!==o.kind&&!sD(o))return!0;if(r.valueDeclaration){var s=e.isBinaryExpression(r.valueDeclaration),c=o.parent===r.valueDeclaration.parent,u=o===r.valueDeclaration.parent,l=s&&(null===(i=r.parent)||void 0===i?void 0:i.valueDeclaration)===o.parent,p=s&&(null===(a=r.parent)||void 0===a?void 0:a.valueDeclaration)===o;return!(c||u||l||p)}}return!0}if(e.isAccessExpression(t)){var d=e.skipParentheses(t.expression);if(79===d.kind){var f=Yn(d).resolvedSymbol;if(2097152&f.flags){var _=fi(f);return!!_&&267===_.kind}}}return!1}function ob(t,r,n){var i=e.skipOuterExpressions(t,7);return 79===i.kind||e.isAccessExpression(i)?!(32&i.flags&&(In(t,n),1)):(In(t,r),!1)}function sb(t){Ub(t.expression);var r=e.skipParentheses(t.expression);if(!e.isAccessExpression(r))return In(r,e.Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference),et;e.isPropertyAccessExpression(r)&&e.isPrivateIdentifier(r.name)&&In(r,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);var n=ca(Yn(r).resolvedSymbol);return n&&(ib(n)&&In(r,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),function(t,r){var n=Yo(r);H&&!(131075&n.flags)&&!(re?16777216&r.flags:32768&O_(n))&&In(t,e.Diagnostics.The_operand_of_a_delete_operator_must_be_optional)}(r,n)),et}function cb(e){return ub(e,2112)?lb(e,3)||ub(e,296)?dt:$e:Ge}function ub(e,t){if(e.flags&t)return!0;if(3145728&e.flags)for(var r=0,n=e.types;r<n.length;r++)if(ub(n[r],t))return!0;return!1}function lb(e,t,r){return!!(e.flags&t)||!(r&&114691&e.flags)&&(!!(296&t)&&ff(e,Ge)||!!(2112&t)&&ff(e,$e)||!!(402653316&t)&&ff(e,He)||!!(528&t)&&ff(e,et)||!!(16384&t)&&ff(e,rt)||!!(131072&t)&&ff(e,nt)||!!(65536&t)&&ff(e,ze)||!!(32768&t)&&ff(e,Je)||!!(4096&t)&&ff(e,tt)||!!(67108864&t)&&ff(e,ct))}function pb(t,r,n){return 1048576&t.flags?e.every(t.types,(function(e){return pb(e,r,n)})):lb(t,r,n)}function db(t){return!!(16&e.getObjectFlags(t))&&!!t.symbol&&fb(t.symbol)}function fb(e){return 0!=(128&e.flags)}function _b(t,r,n,i,a){void 0===a&&(a=!1);var o=t.properties,s=o[n];if(294===s.kind||295===s.kind){var c=s.name,u=Dp(c);if(Os(u)){var l=eu(r,js(u));l&&(uv(l,s,a),Py(s,!1,!0,r,l))}var p=lo(s,Vp(r,u,32,c));return gb(295===s.kind?s:s.initializer,p)}if(296===s.kind){if(!(n<o.length-1)){q<99&&EC(s,4);var d=[];if(i)for(var f=0,_=i;f<_.length;f++){var m=_[f];e.isSpreadAssignment(m)||d.push(m.name)}return p=so(r,d,r.symbol),kC(i,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),gb(s.expression,p)}In(s,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern)}else In(s,e.Diagnostics.Property_assignment_expected)}function mb(t,r,n,i,a){var o=t.elements,s=o[n];if(226!==s.kind){if(224!==s.kind){var c=Dd(n);if(d_(r)){var u=Wp(r,c,32|($h(s)?16:0),jv(s,c))||Le;return gb(s,lo(s,$h(s)?sg(u,524288):u),a)}return gb(s,i,a)}if(n<o.length-1)In(s,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);else{var l=s.expression;if(220!==l.kind||63!==l.operatorToken.kind)return kC(t.elements,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),gb(l,Tg(r,k_)?Pg(r,(function(e){return Yl(e,n)})):jl(i),a);In(l.operatorToken,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}}}function gb(t,r,n,i){var a;if(295===t.kind){var o=t;o.objectAssignmentInitializer&&(H&&!(32768&O_(Ub(o.objectAssignmentInitializer)))&&(r=sg(r,524288)),function(e,t,r,n,i){var a=t.kind;63!==a||204!==e.kind&&203!==e.kind?vb(e,t,r,55===a||56===a||60===a?aE(e,n):Ub(e,n),Ub(r,n),i):gb(e,Ub(r,n),n,108===r.kind)}(o.name,o.equalsToken,o.objectAssignmentInitializer,n)),a=t.name}else a=t;return 220===a.kind&&63===a.operatorToken.kind&&(ne(a,n),a=a.left),204===a.kind?function(e,t,r){var n=e.properties;if(H&&0===n.length)return jy(t,e);for(var i=0;i<n.length;i++)_b(e,t,i,n,r);return t}(a,r,i):203===a.kind?function(e,t,r){var n=e.elements;q<2&&N.downlevelIteration&&EC(e,512);for(var i=uE(193,t,Je,e)||Le,a=N.noUncheckedIndexedAccess?void 0:i,o=0;o<n.length;o++){var s=i;224===e.elements[o].kind&&(s=a=null!=a?a:uE(65,t,Je,e)||Le),mb(e,t,o,s,r)}return t}(a,r,n):function(t,r,n){var i=Ub(t,n);return ob(t,296===t.parent.kind?e.Diagnostics.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:e.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,296===t.parent.kind?e.Diagnostics.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:e.Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)&&yf(r,i,t,t),e.isPrivateIdentifierPropertyAccessExpression(t)&&EC(t.parent,1048576),r}(a,r,n)}function hb(t){switch((t=e.skipParentheses(t)).kind){case 79:case 10:case 13:case 209:case 222:case 14:case 8:case 9:case 110:case 95:case 104:case 152:case 212:case 225:case 213:case 203:case 204:case 215:case 229:case 278:case 277:return!0;case 221:return hb(t.whenTrue)&&hb(t.whenFalse);case 220:return!e.isAssignmentOperator(t.operatorToken.kind)&&hb(t.left)&&hb(t.right);case 218:case 219:switch(t.operator){case 53:case 39:case 40:case 54:return!0}return!1;default:return!1}}function yb(e,t){return 0!=(98304&t.flags)||mf(e,t)}function vb(t,n,i,a,o,s){var c,u=n.kind;switch(u){case 41:case 42:case 66:case 67:case 43:case 68:case 44:case 69:case 40:case 65:case 47:case 70:case 48:case 71:case 49:case 72:case 51:case 74:case 52:case 78:case 50:case 73:if(a===it||o===it)return it;a=jy(a,t),o=jy(o,i);var l=void 0;if(528&a.flags&&528&o.flags&&void 0!==(l=function(e){switch(e){case 51:case 74:return 56;case 52:case 78:return 37;case 50:case 73:return 55;default:return}}(n.kind)))return In(s||n,e.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,e.tokenToString(n.kind),e.tokenToString(l)),Ge;var p,d=rb(t,a,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),f=rb(i,o,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0);if(lb(a,3)&&lb(o,3)||!ub(a,2112)&&!ub(o,2112))p=Ge;else if(E(a,o)){switch(u){case 49:case 72:k();break;case 42:case 67:q<3&&In(s,e.Diagnostics.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}p=$e}else k(E),p=Le;return d&&f&&C(p),p;case 39:case 64:if(a===it||o===it)return it;!lb(a,402653316)&&!lb(o,402653316)&&(a=jy(a,t),o=jy(o,i));var _=void 0;if(lb(a,296,!0)&&lb(o,296,!0)?_=Ge:lb(a,2112,!0)&&lb(o,2112,!0)?_=$e:lb(a,402653316,!0)||lb(o,402653316,!0)?_=He:(io(a)||io(o))&&(_=ao(a)||ao(o)?Le:we),_&&!S(u))return _;if(!_){var m=402655727;return k((function(e,t){return lb(e,m)&&lb(t,m)})),we}return 64===u&&C(_),_;case 29:case 31:case 32:case 33:return S(u)&&(a=x_(jy(a,t)),o=x_(jy(o,i)),T((function(e,t){return mf(e,t)||mf(t,e)||ff(e,dt)&&ff(t,dt)}))),et;case 34:case 35:case 36:case 37:return T((function(e,t){return yb(e,t)||yb(t,e)})),et;case 102:return function(t,r,n,i){return n===it||i===it?it:(!io(n)&&pb(n,131068)&&In(t,e.Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),io(i)||US(i)||df(i,wt)||In(r,e.Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type),et)}(t,i,a,o);case 101:return function(t,r,n,i){if(n===it||i===it)return it;e.isPrivateIdentifier(t)?(q<99&&EC(t,2097152),!Yn(t).resolvedSymbol&&e.getContainingClass(t)&&ev(t,i,Yy(t,i.symbol,!0))):pb(n=jy(n,t),402665900)||lb(n,407109632)||In(t,e.Diagnostics.The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or_symbol);var a=Nc(i=jy(i,r));return(!pb(i,126091264)||a&&(lb(i,3145728)&&!pb(a,126091264)||!ub(a,126615552)))&&In(r,e.Diagnostics.The_right_hand_side_of_an_in_expression_must_not_be_a_primitive),et}(t,i,a,o);case 55:case 76:var g=4194304&og(a)?sp([M_(H?a:x_(o)),o]):a;return 76===u&&C(o),g;case 56:case 75:var h=8388608&og(a)?sp([L_(a),o],2):a;return 75===u&&C(o),h;case 60:case 77:var y=262144&og(a)?sp([K_(a),o],2):a;return 77===u&&C(o),y;case 63:var v=e.isBinaryExpression(t.parent)?e.getAssignmentDeclarationKind(t.parent):0;return function(t,r){if(2===t)for(var n=0,i=Cc(r);n<i.length;n++){var a=i[n],o=Yo(a);if(o.symbol&&32&o.symbol.flags){var s=a.escapedName,c=ti(a.valueDeclaration,s,788968,void 0,s,!1);(null==c?void 0:c.declarations)&&c.declarations.some(e.isJSDocTypedefTag)&&(zn(c,e.Diagnostics.Duplicate_identifier_0,e.unescapeLeadingUnderscores(s),a),zn(a,e.Diagnostics.Duplicate_identifier_0,e.unescapeLeadingUnderscores(s),c))}}}(v,o),function(r){var n;switch(r){case 2:return!0;case 1:case 5:case 6:case 3:case 4:var a=ra(t),o=e.getAssignedExpandoInitializer(i);return!!o&&e.isObjectLiteralExpression(o)&&!(null===(n=null==a?void 0:a.exports)||void 0===n||!n.size);default:return!1}}(v)?((!(524288&o.flags)||2!==v&&6!==v&&!Ff(o)&&!ag(o)&&!(1&e.getObjectFlags(o)))&&C(o),a):(C(o),Y_(o));case 27:if(!N.allowUnreachableCode&&hb(t)&&(79!==(c=i).kind||"eval"!==c.escapedText)){var D=e.getSourceFileOfNode(t),b=D.text,x=e.skipTrivia(b,t.pos);D.parseDiagnostics.some((function(t){return t.code===e.Diagnostics.JSX_expressions_must_have_one_parent_element.code&&e.textSpanContainsPosition(t,x)}))||In(t,e.Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return o;default:return e.Debug.fail()}function E(e,t){return lb(e,2112)&&lb(t,2112)}function S(r){var n=ub(a,12288)?t:ub(o,12288)?i:void 0;return!n||(In(n,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(r)),!1)}function C(n){if(r&&e.isAssignmentOperator(u)&&ob(t,e.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)&&(!e.isIdentifier(t)||"exports"!==e.unescapeLeadingUnderscores(t.escapedText))){var o=void 0;re&&e.isPropertyAccessExpression(t)&&ub(n,32768)&&Uf(n,no(jb(t.expression),t.name.escapedText))&&(o=e.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target),yf(n,a,t,i,o)}}function T(e){return!e(a,o)&&(k(e),!0)}function k(t){var r,i=!1,c=s||n;if(t){var u=yx(a),l=yx(o);i=!(u===a&&l===o)&&!(!u||!l)&&t(u,l)}var p=a,d=o;!i&&t&&(p=(r=function(e,t,r){var n=e,i=t,a=x_(e),o=x_(t);return r(a,o)||(n=a,i=o),[n,i]}(a,o,t))[0],d=r[1]);var f=ja(p,d),_=f[0],m=f[1];(function(t,r,i,a){var o;switch(n.kind){case 36:case 34:o="false";break;case 37:case 35:o="true"}if(o)return Mn(t,r,e.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap,o,i,a)})(c,i,_,m)||Mn(c,i,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2,e.tokenToString(n.kind),_,m)}}function Db(t){var r=t.parent;return e.isParenthesizedExpression(r)&&Db(r)||e.isElementAccessExpression(r)&&r.argumentExpression===t}function bb(t){for(var r=[t.head.text],n=[],i=0,a=t.templateSpans;i<a.length;i++){var o=a[i],s=Ub(o.expression);ub(s,12288)&&In(o.expression,e.Diagnostics.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String),r.push(o.literal.text),n.push(ff(s,ft)?s:He)}return Nb(t)||Db(t)||Cg(Jh(t)||je,xb)?Tp(r,n):He}function xb(e){return!!(134217856&e.flags||58982400&e.flags&&ub(Lc(e)||je,402653316))}function Eb(t,r,n,i){var a=function(t){return 285!==t.kind||e.isJsxSelfClosingElement(t.parent)?t:t.parent.parent}(t),o=a.contextualType,s=a.inferenceContext;try{a.contextualType=r,a.inferenceContext=n;var c=Ub(t,1|i|(n?2:0));return ub(c,2944)&&Ab(c,jh(r,t))?hd(c):c}finally{a.contextualType=o,a.inferenceContext=s}}function Sb(e,t){if(t&&0!==t)return Ub(e,t);var r=Yn(e);if(!r.resolvedType){var n=Jr,i=Dr;Jr=Ur,Dr=void 0,r.resolvedType=Ub(e,t),Dr=i,Jr=n}return r.resolvedType}function Cb(t){return 210===(t=e.skipParentheses(t,!0)).kind||228===t.kind||e.isJSDocTypeAssertion(t)}function Tb(t,r,n){var i=e.getEffectiveInitializer(t),a=Kb(i)||(n?Eb(i,n,void 0,r||0):Sb(i,r));return e.isParameter(t)&&201===t.name.kind&&k_(a)&&!a.target.hasRestElement&&nl(a)<t.name.elements.length?function(t,r){for(var n=r.elements,i=rl(t).slice(),a=t.target.elementFlags.slice(),o=nl(t);o<n.length;o++){var s=n[o];(o<n.length-1||202!==s.kind||!s.dotDotDotToken)&&(i.push(!e.isOmittedExpression(s)&&$h(s)?Po(s,!1,!1):we),a.push(2),!e.isOmittedExpression(s)&&!$h(s)&&am(s,we))}return Wl(i,a,t.target.readonly)}(a,t.name):a}function kb(t,r){var n=2&e.getCombinedNodeFlags(t)||e.isDeclarationReadonly(t)?r:E_(r);if(e.isInJSFile(t)){if(__(n))return am(t,we),we;if(m_(n))return am(t,Ut),Ut}return n}function Ab(t,r){if(r){if(3145728&r.flags){var n=r.types;return e.some(n,(function(e){return Ab(t,e)}))}if(58982400&r.flags){var i=Lc(r)||je;return ub(i,4)&&ub(t,128)||ub(i,8)&&ub(t,256)||ub(i,64)&&ub(t,2048)||ub(i,4096)&&ub(t,8192)||Ab(t,i)}return!!(406847616&r.flags&&ub(t,128)||256&r.flags&&ub(t,256)||2048&r.flags&&ub(t,2048)||512&r.flags&&ub(t,512)||8192&r.flags&&ub(t,8192))}return!1}function Nb(t){var r=t.parent;return e.isAssertionExpression(r)&&e.isConstTypeReference(r.type)||e.isJSDocTypeAssertion(r)&&e.isConstTypeReference(e.getJSDocTypeAssertionType(r))||(e.isParenthesizedExpression(r)||e.isArrayLiteralExpression(r)||e.isSpreadElement(r))&&Nb(r)||(e.isPropertyAssignment(r)||e.isShorthandPropertyAssignment(r)||e.isTemplateSpan(r))&&Nb(r.parent)}function Pb(e,t,r,n){var i=Ub(e,t,n);return Nb(e)?hd(i):Cb(e)?i:C_(i,jh(2===arguments.length?Jh(e):r,e))}function Fb(e,t){return 161===e.name.kind&&Zh(e.name),Pb(e.initializer,t)}function wb(e,t){return JC(e),161===e.name.kind&&Zh(e.name),Ib(e,tb(e,t),t)}function Ib(t,r,n){if(n&&10&n){var i=Nv(r,0,!0),a=Nv(r,1,!0),o=i||a;if(o&&o.typeParameters){var s=Bh(t,2);if(s){var c=Nv(K_(s),i?0:1,!1);if(c&&!c.typeParameters){if(8&n)return Ob(t,n),bt;var u=Uh(t),l=u.signature&&Pu(u.signature),p=l&&Av(l);if(p&&!p.typeParameters&&!e.every(u.inferences,Lb)){var d=function(t,r){for(var n,i,a=[],o=0,s=r;o<s.length;o++){var c=(f=s[o]).symbol.escapedName;if(Mb(t.inferredTypeParameters,c)||Mb(a,c)){var u=ma(Kn(262144,Rb(e.concatenate(t.inferredTypeParameters,a),c)));u.target=f,n=e.append(n,f),i=e.append(i,u),a.push(u)}else a.push(f)}if(i)for(var l=Id(n,i),p=0,d=i;p<d.length;p++){var f;(f=d[p]).mapper=l}return a}(u,o.typeParameters),f=Lu(o,d),_=e.map(u.inferences,(function(e){return fm(e.typeParameter)}));if(sm(f,c,(function(e,t){wm(_,e,t,0,!0)})),e.some(_,Lb)&&(cm(f,c,(function(e,t){wm(_,e,t)})),!function(e,t){for(var r=0;r<e.length;r++)if(Lb(e[r])&&Lb(t[r]))return!0;return!1}(u.inferences,_)))return function(e,t){for(var r=0;r<e.length;r++)!Lb(e[r])&&Lb(t[r])&&(e[r]=t[r])}(u.inferences,_),u.inferredTypeParameters=e.concatenate(u.inferredTypeParameters,d),Ku(f)}return Ku(Pv(o,c,u))}}}}return r}function Ob(e,t){2&t&&(Uh(e).flags|=4)}function Lb(e){return!(!e.candidates&&!e.contraCandidates)}function Mb(t,r){return e.some(t,(function(e){return e.symbol.escapedName===r}))}function Rb(e,t){for(var r=t.length;r>1&&t.charCodeAt(r-1)>=48&&t.charCodeAt(r-1)<=57;)r--;for(var n=t.slice(0,r),i=1;;i++){var a=n+i;if(!Mb(e,a))return a}}function Bb(e){var t=kv(e);if(t&&!t.typeParameters)return Pu(t)}function jb(t){var r=Kb(t);if(r)return r;if(67108864&t.flags&&Dr){var n=Dr[L(t)];if(n)return n}var i=zr,a=Ub(t);return zr!==i&&((Dr||(Dr=[]))[L(t)]=a,e.setNodeFlags(t,67108864|t.flags)),a}function Kb(t){var r=e.skipParentheses(t,!0);if(e.isJSDocTypeAssertion(r)){var n=e.getJSDocTypeAssertionType(r);if(!e.isConstTypeReference(n))return kd(n)}if(r=e.skipParentheses(t),!e.isCallExpression(r)||106===r.expression.kind||e.isRequireCall(r,!0)||dD(r)){if(e.isAssertionExpression(r)&&!e.isConstTypeReference(r.type))return kd(r.type);if(8===t.kind||10===t.kind||110===t.kind||95===t.kind)return Ub(t)}else if(n=e.isCallChain(r)?function(e){var t=Ub(e.expression),r=V_(t,e.expression),n=Bb(t);return n&&q_(n,e,r!==t)}(r):Bb(Iy(r.expression)))return n}function Jb(e){var t=Yn(e);if(t.contextFreeType)return t.contextFreeType;var r=e.contextualType;e.contextualType=we;try{return t.contextFreeType=Ub(e,4)}finally{e.contextualType=r}}function Ub(t,i,a){null===e.tracing||void 0===e.tracing||e.tracing.push("check","checkExpression",{kind:t.kind,pos:t.pos,end:t.end,path:t.tracingPath});var o=p;p=t,x=0;var s=Ib(t,function(t,i,a){var o=t.kind;if(n)switch(o){case 225:case 212:case 213:n.throwIfCancellationRequested()}switch(o){case 79:return ch(t,i);case 80:return zy(t);case 108:return _h(t);case 106:return hh(t);case 104:return We;case 14:case 10:return gd(vd(t.text));case 8:return eT(t),gd(Dd(+t.text));case 9:return function(t){e.isLiteralTypeNode(t.parent)||e.isPrefixUnaryExpression(t.parent)&&e.isLiteralTypeNode(t.parent.parent)||!(q<7)||XC(t,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020)}(t),gd(bd({negative:!1,base10Value:e.parsePseudoBigInt(t.text)}));case 110:return Qe;case 95:return Ye;case 222:return bb(t);case 13:return Kt;case 203:return Yh(t,i,a);case 204:return iy(t,i);case 205:return Jy(t,i);case 160:return Uy(t,i);case 206:return gv(t,i);case 207:if(100===t.expression.kind)return fD(t);case 208:return function(t,r){var n;FC(t,t.typeArguments);var i=oD(t,void 0,r);if(i===Ar)return at;if(lD(i,t),106===t.expression.kind)return rt;if(208===t.kind){var a=i.declaration;if(a&&170!==a.kind&&174!==a.kind&&179!==a.kind&&!e.isJSDocConstructSignature(a)&&!sD(a))return X&&In(t,e.Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),we}if(e.isInJSFile(t)&&hD(t))return Tu(t.arguments[0]);var o=Pu(i);if(12288&o.flags&&dD(t))return Ed(e.walkUpParenthesizedExpressions(t.parent));if(207===t.kind&&!t.questionDotToken&&237===t.parent.kind&&16384&o.flags&&Au(i))if(e.isDottedName(t.expression)){if(!zg(t)){var s=In(t.expression,e.Diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);Vg(t.expression,s)}}else In(t.expression,e.Diagnostics.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name);if(e.isInJSFile(t)){var c=uD(t,!1);if(null!==(n=null==c?void 0:c.exports)&&void 0!==n&&n.size){var u=Da(c,c.exports,e.emptyArray,e.emptyArray,e.emptyArray);return u.objectFlags|=8192,mp([o,u])}}return o}(t,i);case 209:return yD(t);case 211:return function(t,r){if(e.hasJSDocNodes(t)&&e.isJSDocTypeAssertion(t)){var n=e.getJSDocTypeAssertionType(t);return DD(n,n,t.expression,r)}return Ub(t.expression,r)}(t,i);case 225:return function(e){return zE(e),bS(e),Yo(ra(e))}(t);case 212:case 213:return tb(t,i);case 215:return function(e){return Ub(e.expression),vn}(t);case 210:case 228:return function(t){if(210===t.kind){var r=e.getSourceFileOfNode(t);r&&e.fileExtensionIsOneOf(r.fileName,[".cts",".mts"])&&XC(t,e.Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead)}return DD(t,t.type,t.expression)}(t);case 229:return bD(t);case 230:return xD(t);case 214:return sb(t);case 216:return function(e){return Ub(e.expression),Ue}(t);case 217:return function(t){if(r){var n=e.getContainingFunctionOrClassStaticBlock(t);if(n&&e.isClassStaticBlockDeclaration(n))In(t,e.Diagnostics.Await_expression_cannot_be_used_inside_a_class_static_block);else if(!(32768&t.flags))if(e.isInTopLevelContext(t)){if(!GC(o=e.getSourceFileOfNode(t))){var i=void 0;if(!e.isEffectiveExternalModule(o,N)){i||(i=e.getSpanOfTokenAtPosition(o,t.pos));var a=e.createFileDiagnostic(o,i.start,i.length,e.Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module);gn.add(a)}(V!==e.ModuleKind.ES2022&&V!==e.ModuleKind.ESNext&&V!==e.ModuleKind.System&&(V!==e.ModuleKind.NodeNext||e.getSourceFileOfNode(t).impliedNodeFormat!==e.ModuleKind.ESNext)||q<4)&&(i=e.getSpanOfTokenAtPosition(o,t.pos),a=e.createFileDiagnostic(o,i.start,i.length,e.Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher),gn.add(a))}}else{var o;if(!GC(o=e.getSourceFileOfNode(t))){if(i=e.getSpanOfTokenAtPosition(o,t.pos),a=e.createFileDiagnostic(o,i.start,i.length,e.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),n&&170!==n.kind&&0==(2&e.getFunctionFlags(n))){var s=e.createDiagnosticForNode(n,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(a,s)}gn.add(a)}}Eh(t)&&In(t,e.Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer)}var c=Ub(t.expression),u=fx(c,!0,t,e.Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return u===c&&!ao(u)&&!(3&c.flags)&&On(!1,e.createDiagnosticForNode(t,e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression)),u}(t);case 218:return function(t){var r=Ub(t.operand);if(r===it)return it;switch(t.operand.kind){case 8:switch(t.operator){case 40:return gd(Dd(-t.operand.text));case 39:return gd(Dd(+t.operand.text))}break;case 9:if(40===t.operator)return gd(bd({negative:!0,base10Value:e.parsePseudoBigInt(t.operand.text)}))}switch(t.operator){case 39:case 40:case 54:return jy(r,t.operand),ub(r,12288)&&In(t.operand,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(t.operator)),39===t.operator?(ub(r,2112)&&In(t.operand,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1,e.tokenToString(t.operator),Ba(x_(r))),Ge):cb(r);case 53:aE(t.operand);var n=12582912&og(r);return 4194304===n?Ye:8388608===n?Qe:et;case 45:case 46:return rb(t.operand,jy(r,t.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&ob(t.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),cb(r)}return Le}(t);case 219:return function(t){var r=Ub(t.operand);return r===it?it:(rb(t.operand,jy(r,t.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&ob(t.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),cb(r))}(t);case 220:return ne(t,i);case 221:return function(e,t){var r=aE(e.condition);return nE(e.condition,r,e.whenTrue),sp([Ub(e.whenTrue,t),Ub(e.whenFalse,t)],2)}(t,i);case 224:return function(e,t){return q<2&&EC(e,N.downlevelIteration?1536:1024),uE(33,Ub(e.expression,t),Je,e.expression)}(t,i);case 226:return Ue;case 223:return function(t){r&&(8192&t.flags||$C(t,e.Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body),Eh(t)&&In(t,e.Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer));var n=e.getContainingFunction(t);if(!n)return we;var i=e.getFunctionFlags(n);if(!(1&i))return we;var a=0!=(2&i);t.asteriskToken&&(a&&q<99&&EC(t,26624),!a&&q<2&&N.downlevelIteration&&EC(t,256));var o=Fu(n),s=o&&IE(o,a),c=s&&s.yieldType||we,u=s&&s.nextType||we,l=a?hx(u)||we:u,p=t.expression?Ub(t.expression):Ue,d=$D(t,p,l,a);if(o&&d&&yf(d,c,t.expression||t,t.expression),t.asteriskToken)return pE(a?19:17,1,p,t.expression)||we;if(o)return wE(2,o,a)||we;var f=Sh(2,n);if(!f&&(f=we,r&&X&&!e.expressionResultIsUnused(t))){var _=Jh(t);(!_||io(_))&&In(t,e.Diagnostics.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}return f}(t);case 231:return function(e){return e.isSpread?Vp(e.type,Ge):e.type}(t);case 287:return ky(t,i);case 277:case 278:return function(e,t){return bS(e),xy(e)||we}(t);case 281:return function(t){Sy(t.openingFragment);var r=e.getSourceFileOfNode(t);return e.getJSXTransformEnabled(N)&&(N.jsxFactory||r.pragmas.has("jsx"))&&!N.jsxFragmentFactory&&!r.pragmas.has("jsxfrag")&&In(t,N.jsxFactory?e.Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:e.Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),uy(t),xy(t)||we}(t);case 285:return py(t,i);case 279:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return Le}(t,i,a),i);return db(s)&&function(t,r){205===t.parent.kind&&t.parent.expression===t||206===t.parent.kind&&t.parent.expression===t||(79===t.kind||160===t.kind)&&wS(t)||180===t.parent.kind&&t.parent.exprName===t||274===t.parent.kind||In(t,e.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query),N.isolatedModules&&(e.Debug.assert(!!(128&r.symbol.flags)),8388608&r.symbol.valueDeclaration.flags&&In(t,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided))}(t,s),p=o,null===e.tracing||void 0===e.tracing||e.tracing.pop(),s}function qb(t){t.expression&&$C(t.expression,e.Diagnostics.Type_expected),vS(t.constraint),vS(t.default);var n=Es(ra(t));Lc(n),function(e){return jc(e)!==Et}(n)||In(t.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,Ba(n));var i=Pc(n),a=Kc(n);i&&a&&hf(a,Vs(Qd(i,Ld(n,a)),a),t.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),r&&JE(t.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function Vb(t){CC(t),Xx(t);var r=e.getContainingFunction(t);e.hasSyntacticModifier(t,16476)&&(170===r.kind&&e.nodeIsPresent(r.body)||In(t,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation),170===r.kind&&e.isIdentifier(t.name)&&"constructor"===t.name.escapedText&&In(t.name,e.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)),t.questionToken&&e.isBindingPattern(t.name)&&r.body&&In(t,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),t.name&&e.isIdentifier(t.name)&&("this"===t.name.escapedText||"new"===t.name.escapedText)&&(0!==r.parameters.indexOf(t)&&In(t,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,t.name.escapedText),(170===r.kind||174===r.kind||179===r.kind)&&In(t,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),213===r.kind&&In(t,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter),(171===r.kind||172===r.kind)&&In(t,e.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)),t.dotDotDotToken&&!e.isBindingPattern(t.name)&&!ff($c(Yo(t.symbol)),Vt)&&In(t,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function zb(t,r,n){for(var i=0,a=t.elements;i<a.length;i++){var o=a[i];if(!e.isOmittedExpression(o)){var s=o.name;if(79===s.kind&&s.escapedText===n)return In(r,e.Diagnostics.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,n),!0;if((201===s.kind||200===s.kind)&&zb(s,r,n))return!0}}}function Wb(t){175===t.kind?function(t){CC(t)||function(t){var r=t.parameters[0];if(1!==t.parameters.length)return XC(r?r.name:t,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter);if(kC(t.parameters,e.Diagnostics.An_index_signature_cannot_have_a_trailing_comma),r.dotDotDotToken)return XC(r.dotDotDotToken,e.Diagnostics.An_index_signature_cannot_have_a_rest_parameter);if(e.hasEffectiveModifiers(r))return XC(r.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(r.questionToken)return XC(r.questionToken,e.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);if(r.initializer)return XC(r.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);if(!r.type)return XC(r.name,e.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);var n=kd(r.type);Cg(n,(function(e){return!!(8576&e.flags)}))||Mp(n)?XC(r.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):Tg(n,Wu)?!t.type&&XC(t,e.Diagnostics.An_index_signature_must_have_a_type_annotation):XC(r.name,e.Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}(t)}(t):(178===t.kind||255===t.kind||179===t.kind||173===t.kind||170===t.kind||174===t.kind)&&PC(t);var n=e.getFunctionFlags(t);if(4&n||(3==(3&n)&&q<99&&EC(t,6144),2==(3&n)&&q<4&&EC(t,64),0!=(3&n)&&q<2&&EC(t,128)),UE(e.getEffectiveTypeParameterDeclarations(t)),function(t){var r=e.filter(e.getJSDocTags(t),e.isJSDocParameterTag);if(e.length(r)){var n=e.isInJSFile(t),i=new e.Set,a=new e.Set;if(e.forEach(t.parameters,(function(t,r){var n=t.name;e.isIdentifier(n)&&i.add(n.escapedText),e.isBindingPattern(n)&&a.add(r)})),Su(t)){var o=e.lastOrUndefined(r);n&&o&&e.isIdentifier(o.name)&&o.typeExpression&&o.typeExpression.type&&!i.has(o.name.escapedText)&&!c_(kd(o.typeExpression.type))&&In(o.name,e.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,e.idText(o.name))}else e.forEach(r,(function(t,r){var o=t.name;a.has(r)||e.isIdentifier(o)&&i.has(o.escapedText)||(e.isQualifiedName(o)?n&&In(o,e.Diagnostics.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,e.entityNameToString(o),e.entityNameToString(o.left)):Ln(n,o,e.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,e.idText(o)))}))}}(t),e.forEach(t.parameters,Vb),t.type&&vS(t.type),r){!function(t){q>=2||!e.hasRestParameter(t)||8388608&t.flags||e.nodeIsMissing(t.body)||e.forEach(t.parameters,(function(t){t.name&&!e.isBindingPattern(t.name)&&t.name.escapedText===le.escapedName&&Fn("noEmit",t,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}))}(t);var i=e.getEffectiveReturnTypeNode(t);if(X&&!i)switch(t.kind){case 174:In(t,e.Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 173:In(t,e.Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type)}if(i){var a=e.getFunctionFlags(t);if(1==(5&a)){var o=kd(i);if(o===rt)In(i,e.Diagnostics.A_generator_cannot_have_a_void_type_annotation);else{var s=wE(0,o,0!=(2&a))||we;hf(GD(s,wE(1,o,0!=(2&a))||s,wE(2,o,0!=(2&a))||je,!!(2&a)),o,i)}}else 2==(3&a)&&function(t,r){var n=kd(r);if(q>=2){if(ao(n))return;var i=Fl(!0);if(i!==Dt&&!Qo(n,i))return void In(r,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,Ba(yx(n)||rt))}else{if(function(t){Dx(t&&e.getEntityNameFromTypeNode(t))}(r),ao(n))return;var a=e.getEntityNameFromTypeNode(r);if(void 0===a)return void In(r,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,Ba(n));var o=Bi(a,111551,!0),s=o?Yo(o):Le;if(ao(s))return void(79===a.kind&&"Promise"===a.escapedText&&Zo(n)===Fl(!1)?In(r,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):In(r,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(a)));var c=function(e){return Zt||(Zt=Tl("PromiseConstructorLike",0,e))||gt}(!0);if(c===gt)return void In(r,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(a));if(!hf(s,c,r,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 u=a&&e.getFirstIdentifier(a),l=Qn(t.locals,u.escapedText,111551);if(l)return void In(l.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(u),e.entityNameToString(a))}fx(n,!1,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(t,i)}175!==t.kind&&315!==t.kind&&Ax(t)}}function Hb(t){for(var r=new e.Map,n=0,i=t.members;n<i.length;n++){var a=i[n];if(165===a.kind){var o=void 0,s=a.name;switch(s.kind){case 10:case 8:o=s.text;break;case 79:o=e.idText(s);break;default:continue}r.get(o)?(In(e.getNameOfDeclaration(a.symbol.valueDeclaration),e.Diagnostics.Duplicate_identifier_0,o),In(a.name,e.Diagnostics.Duplicate_identifier_0,o)):r.set(o,!0)}}}function Gb(t){if(257===t.kind){var r=ra(t);if(r.declarations&&r.declarations.length>0&&r.declarations[0]!==t)return}var n=Ju(ra(t));if(null!=n&&n.declarations){for(var i=new e.Map,a=function(e){1===e.parameters.length&&e.parameters[0].type&&Sg(kd(e.parameters[0].type),(function(t){var r=i.get(ep(t));r?r.declarations.push(e):i.set(ep(t),{type:t,declarations:[e]})}))},o=0,s=n.declarations;o<s.length;o++)a(s[o]);i.forEach((function(t){if(t.declarations.length>1)for(var r=0,n=t.declarations;r<n.length;r++)In(n[r],e.Diagnostics.Duplicate_index_signature_for_type_0,Ba(t.type))}))}}function $b(t){!CC(t)&&!function(t){if(e.isComputedPropertyName(t.name)&&e.isBinaryExpression(t.name.expression)&&101===t.name.expression.operatorToken.kind)return XC(t.parent.members[0],e.Diagnostics.A_mapped_type_may_not_declare_properties_or_methods);if(e.isClassLike(t.parent)){if(e.isStringLiteral(t.name)&&"constructor"===t.name.text)return XC(t.name,e.Diagnostics.Classes_may_not_have_a_field_named_constructor);if(KC(t.name,e.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return!0;if(q<2&&e.isPrivateIdentifier(t.name))return XC(t.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}else if(257===t.parent.kind){if(KC(t.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(t.initializer)return XC(t.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(e.isTypeLiteralNode(t.parent)){if(KC(t.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(t.initializer)return XC(t.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}if(8388608&t.flags&&qC(t),e.isPropertyDeclaration(t)&&t.exclamationToken&&(!e.isClassLike(t.parent)||!t.type||t.initializer||8388608&t.flags||e.isStatic(t)||e.hasAbstractModifier(t))){var r=t.initializer?e.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:t.type?e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context:e.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return XC(t.exclamationToken,r)}}(t)&&OC(t.name),Xx(t),Yb(t),e.hasSyntacticModifier(t,128)&&166===t.kind&&t.initializer&&In(t,e.Diagnostics.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,e.declarationNameToString(t.name))}function Yb(t){if(e.isPrivateIdentifier(t.name)&&q<99){for(var r=e.getEnclosingBlockScopeContainer(t);r;r=e.getEnclosingBlockScopeContainer(r))Yn(r).flags|=67108864;if(e.isClassExpression(t.parent)){var n=uh(t.parent);n&&(Yn(t.name).flags|=524288,Yn(n).flags|=65536)}}}function Xb(t){Wb(t),function(t){var r=e.isInJSFile(t)?e.getJSDocTypeParameterDeclarations(t):void 0,n=t.typeParameters||r&&e.firstOrUndefined(r);if(n){var i=n.pos===n.end?n.pos:e.skipTrivia(e.getSourceFileOfNode(t).text,n.pos);return YC(t,i,n.end-i,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}(t)||function(t){var r=e.getEffectiveReturnTypeNode(t);if(r)XC(r,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}(t),vS(t.body);var n=ra(t);if(t===e.getDeclarationOfKind(n,t.kind)&&ux(n),!e.nodeIsMissing(t.body)&&r){var i=t.parent;if(e.getClassExtendsHeritageElement(i)){lh(t.parent,i);var a=dh(i),o=ph(t.body);if(o){if(a&&In(o,e.Diagnostics.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),(99!==e.getEmitScriptTarget(N)||!z)&&(e.some(t.parent.members,(function(t){return!!e.isPrivateIdentifierClassElementDeclaration(t)||166===t.kind&&!e.isStatic(t)&&!!t.initializer}))||e.some(t.parameters,(function(t){return e.hasSyntacticModifier(t,16476)}))))if(function(t,r){var n=e.walkUpParenthesizedExpressions(t.parent);return e.isExpressionStatement(n)&&n.parent===r}(o,t.body)){for(var s=void 0,c=0,u=t.body.statements;c<u.length;c++){var l=u[c];if(e.isExpressionStatement(l)&&e.isSuperCall(e.skipOuterExpressions(l.expression))){s=l;break}if(!e.isPrologueDirective(l)&&Qb(l))break}void 0===s&&In(t,e.Diagnostics.A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}else In(o,e.Diagnostics.A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers)}else a||In(t,e.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call)}}}function Qb(t){return 106===t.kind||108===t.kind||!e.isThisContainerOrFunctionBlock(t)&&!!e.forEachChild(t,Qb)}function Zb(t){if(r){if(!PC(t)&&!function(t){if(!(8388608&t.flags)&&181!==t.parent.kind&&257!==t.parent.kind){if(q<1)return XC(t.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(q<2&&e.isPrivateIdentifier(t.name))return XC(t.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(void 0===t.body&&!e.hasSyntacticModifier(t,128))return YC(t,t.end-1,1,e.Diagnostics._0_expected,"{")}if(t.body){if(e.hasSyntacticModifier(t,128))return XC(t,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(181===t.parent.kind||257===t.parent.kind)return XC(t.body,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts)}if(t.typeParameters)return XC(t.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!function(e){return jC(e)||e.parameters.length===(171===e.kind?0:1)}(t))return XC(t.name,171===t.kind?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(172===t.kind){if(t.type)return XC(t.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var r=e.Debug.checkDefined(e.getSetAccessorValueParameter(t),"Return value does not match parameter count assertion.");if(r.dotDotDotToken)return XC(r.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(r.questionToken)return XC(r.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(r.initializer)return XC(t.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}(t)&&OC(t.name),Cx(t),Wb(t),171===t.kind&&!(8388608&t.flags)&&e.nodeIsPresent(t.body)&&256&t.flags&&(512&t.flags||In(t.name,e.Diagnostics.A_get_accessor_must_return_a_value)),161===t.name.kind&&Zh(t.name),Bs(t)){var n=ra(t),i=e.getDeclarationOfKind(n,171),a=e.getDeclarationOfKind(n,172);if(i&&a&&!(1&oC(i))){Yn(i).flags|=1;var o=e.getEffectiveModifierFlags(i),s=e.getEffectiveModifierFlags(a);(128&o)!=(128&s)&&(In(i.name,e.Diagnostics.Accessors_must_both_be_abstract_or_non_abstract),In(a.name,e.Diagnostics.Accessors_must_both_be_abstract_or_non_abstract)),(16&o&&!(24&s)||8&o&&!(8&s))&&(In(i.name,e.Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter),In(a.name,e.Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter));var c=Ko(i),u=Ko(a);c&&u&&hf(c,u,i,e.Diagnostics.The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type)}}var l=Jo(ra(t));171===t.kind&&eb(t,l)}vS(t.body),Yb(t)}function ex(t,r){return bu(e.map(t.typeArguments,kd),r,Du(r),e.isInJSFile(t))}function tx(t,r){for(var n,i,a=!0,o=0;o<r.length;o++){var s=Pc(r[o]);s&&(n||(i=Id(r,n=ex(t,r))),a=a&&hf(n[o],Qd(s,i),t.typeArguments[o],e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1))}return a}function rx(t){var r=yl(t);if(!ao(r)){var n=Yn(t).resolvedSymbol;if(n)return 524288&n.flags&&$n(n).typeParameters||(4&e.getObjectFlags(r)?r.target.localTypeParameters:void 0)}}function nx(t){FC(t,t.typeArguments),177===t.kind&&void 0!==t.typeName.jsdocDotPos&&!e.isInJSFile(t)&&!e.isInJSDoc(t)&&YC(t,t.typeName.jsdocDotPos,1,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments),e.forEach(t.typeArguments,vS);var n=yl(t);if(!ao(n)){if(t.typeArguments&&r){var i=rx(t);i&&tx(t,i)}var a=Yn(t).resolvedSymbol;a&&(e.some(a.declarations,(function(e){return AS(e)&&!!(134217728&e.flags)}))&&jn(pD(t),a.declarations,a.escapedName),32&n.flags&&8&a.flags&&In(t,e.Diagnostics.Enum_type_0_has_members_with_initializers_that_are_not_literals,Ba(n)))}}function ix(t,r){if(!(8388608&t.flags))return t;var n=t.objectType,i=t.indexType;if(ff(i,Sp(n,!1)))return 206===r.kind&&e.isAssignmentTarget(r)&&32&e.getObjectFlags(n)&&1&Dc(n)&&In(r,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,Ba(n)),t;var a=Vc(n);if(cu(a,Ge)&&lb(i,296))return t;if(Rp(n)){var o=Pp(i,r);if(o){var s=Sg(a,(function(e){return eu(e,o)}));if(s&&24&e.getDeclarationModifierFlagsFromSymbol(s))return In(r,e.Diagnostics.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,e.unescapeLeadingUnderscores(o)),Le}}return In(r,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,Ba(i),Ba(n)),Le}function ax(t){(function(t){var r;if(null!==(r=t.members)&&void 0!==r&&r.length)XC(t.members[0],e.Diagnostics.A_mapped_type_may_not_declare_properties_or_methods)})(t),vS(t.typeParameter),vS(t.nameType),vS(t.type),t.type||am(t,we);var r=Gp(t),n=mc(r);n?hf(n,pt,t.nameType):hf(_c(r),pt,e.getEffectiveConstraintOfTypeParameter(t.typeParameter))}function ox(t){(function(t){if(153===t.operator){if(150!==t.type.kind)return XC(t.type,e.Diagnostics._0_expected,e.tokenToString(150));var r=e.walkUpParenthesizedTypes(t.parent);switch(e.isInJSFile(r)&&e.isJSDocTypeExpression(r)&&(r=r.parent,e.isJSDocTypeTag(r)&&(r=r.parent.parent)),r.kind){case 253:var n=r;if(79!==n.name.kind)return XC(t,e.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!e.isVariableDeclarationInVariableStatement(n))return XC(t,e.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(2&n.parent.flags))return XC(r.name,e.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 166:if(!e.isStatic(r)||!e.hasEffectiveReadonlyModifier(r))return XC(r.name,e.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 165:if(!e.hasSyntacticModifier(r,64))return XC(r.name,e.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:XC(t,e.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(144===t.operator&&182!==t.type.kind&&183!==t.type.kind)$C(t,e.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,e.tokenToString(150))})(t),vS(t.type)}function sx(t){return(e.hasEffectiveModifier(t,8)||e.isPrivateIdentifierClassElementDeclaration(t))&&!!(8388608&t.flags)}function cx(t,r){var n=e.getCombinedModifierFlags(t);return 257!==t.parent.kind&&256!==t.parent.kind&&225!==t.parent.kind&&8388608&t.flags&&(!(2&n)&&!(e.isModuleBlock(t.parent)&&e.isModuleDeclaration(t.parent.parent)&&e.isGlobalScopeAugmentation(t.parent.parent))&&(n|=1),n|=2),n&r}function ux(t){if(r){var n,i,o,s=0,c=155,u=!1,l=!0,p=!1,d=t.declarations,f=0!=(16384&t.flags),_=!1,m=!1,g=!1,h=[];if(d)for(var y=0,v=d;y<v.length;y++){var D=v[y],b=8388608&D.flags,x=D.parent&&(257===D.parent.kind||181===D.parent.kind)||b;if(x&&(o=void 0),(256===D.kind||225===D.kind)&&!b&&(g=!0),255===D.kind||168===D.kind||167===D.kind||170===D.kind){h.push(D);var E=cx(D,155);s|=E,c&=E,u=u||e.hasQuestionToken(D),l=l&&e.hasQuestionToken(D);var S=e.nodeIsPresent(D.body);S&&n?f?m=!0:_=!0:(null==o?void 0:o.parent)===D.parent&&o.end!==D.pos&&w(o),S?n||(n=D):p=!0,o=D,x||(i=D)}}if(m&&e.forEach(h,(function(t){In(t,e.Diagnostics.Multiple_constructor_implementations_are_not_allowed)})),_&&e.forEach(h,(function(t){In(e.getNameOfDeclaration(t)||t,e.Diagnostics.Duplicate_function_implementation)})),g&&!f&&16&t.flags&&d){var C=e.filter(d,(function(e){return 256===e.kind})).map((function(t){return e.createDiagnosticForNode(t,e.Diagnostics.Consider_adding_a_declare_modifier_to_this_class)}));e.forEach(d,(function(r){var n=256===r.kind?e.Diagnostics.Class_declaration_cannot_implement_overload_list_for_0:255===r.kind?e.Diagnostics.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:void 0;n&&e.addRelatedInfo.apply(void 0,a([In(e.getNameOfDeclaration(r)||r,n,e.symbolName(t))],C,!1))}))}if(i&&!i.body&&!e.hasSyntacticModifier(i,128)&&!i.questionToken&&w(i),p&&(d&&(function(t,r,n,i,a){if(0!=(i^a)){var o=cx(F(t,r),n);e.forEach(t,(function(t){var r=cx(t,n)^o;1&r?In(e.getNameOfDeclaration(t),e.Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported):2&r?In(e.getNameOfDeclaration(t),e.Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient):24&r?In(e.getNameOfDeclaration(t)||t,e.Diagnostics.Overload_signatures_must_all_be_public_private_or_protected):128&r&&In(e.getNameOfDeclaration(t),e.Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract)}))}}(d,n,155,s,c),function(t,r,n,i){if(n!==i){var a=e.hasQuestionToken(F(t,r));e.forEach(t,(function(t){e.hasQuestionToken(t)!==a&&In(e.getNameOfDeclaration(t),e.Diagnostics.Overload_signatures_must_all_be_optional_or_required)}))}}(d,n,u,l)),n))for(var T=Cu(t),k=xu(n),A=0,N=T;A<N.length;A++){var P=N[A];if(!Nf(k,P)){e.addRelatedInfo(In(P.declaration,e.Diagnostics.This_overload_signature_is_not_compatible_with_its_implementation_signature),e.createDiagnosticForNode(n,e.Diagnostics.The_implementation_signature_is_declared_here));break}}}function F(e,t){return void 0!==t&&t.parent===e[0].parent?t:e[0]}function w(t){if(!t.name||!e.nodeIsMissing(t.name)){var r=!1,n=e.forEachChild(t.parent,(function(e){if(r)return e;r=e===t}));if(n&&n.pos===t.end&&n.kind===t.kind){var i=n.name||n,a=n.name;if(t.name&&a&&(e.isPrivateIdentifier(t.name)&&e.isPrivateIdentifier(a)&&t.name.escapedText===a.escapedText||e.isComputedPropertyName(t.name)&&e.isComputedPropertyName(a)||e.isPropertyNameLiteral(t.name)&&e.isPropertyNameLiteral(a)&&e.getEscapedTextOfIdentifierOrLiteral(t.name)===e.getEscapedTextOfIdentifierOrLiteral(a)))return void(168!==t.kind&&167!==t.kind||e.isStatic(t)===e.isStatic(n)||In(i,e.isStatic(t)?e.Diagnostics.Function_overload_must_be_static:e.Diagnostics.Function_overload_must_not_be_static));if(e.nodeIsPresent(n.body))return void In(i,e.Diagnostics.Function_implementation_name_must_be_0,e.declarationNameToString(t.name))}var o=t.name||t;f?In(o,e.Diagnostics.Constructor_implementation_is_missing):e.hasSyntacticModifier(t,128)?In(o,e.Diagnostics.All_declarations_of_an_abstract_method_must_be_consecutive):In(o,e.Diagnostics.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}}}function lx(t){if(r){var n=t.localSymbol;if((n||(n=ra(t)).exportSymbol)&&e.getDeclarationOfKind(n,t.kind)===t){for(var i=0,a=0,o=0,s=0,c=n.declarations;s<c.length;s++){var u=h(m=c[s]),l=cx(m,513);1&l?512&l?o|=u:i|=u:a|=u}var p=i&a,d=o&(i|a);if(p||d)for(var f=0,_=n.declarations;f<_.length;f++){u=h(m=_[f]);var m,g=e.getNameOfDeclaration(m);u&d?In(g,e.Diagnostics.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,e.declarationNameToString(g)):u&p&&In(g,e.Diagnostics.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,e.declarationNameToString(g))}}}function h(t){var r=t;switch(r.kind){case 257:case 258:case 343:case 336:case 337:return 2;case 260:return e.isAmbientModule(r)||0!==e.getModuleInstanceState(r)?5:4;case 256:case 259:case 297:return 3;case 303:return 7;case 270:case 220:var n=r,i=e.isExportAssignment(n)?n.expression:n.right;if(!e.isEntityNameExpression(i))return 1;r=i;case 264:case 267:case 266:var a=0,o=Pi(ra(r));return e.forEach(o.declarations,(function(e){a|=h(e)})),a;case 253:case 202:case 255:case 269:case 79:return 1;default:return e.Debug.failBadSyntaxKind(r)}}}function px(e,t,r,n){var i=dx(e,t);return i&&hx(i,t,r,n)}function dx(t,r){if(!io(t)){var n=t;if(n.promisedTypeOfPromise)return n.promisedTypeOfPromise;if(Qo(t,Fl(!1)))return n.promisedTypeOfPromise=rl(t)[0];if(!pb(t,262140)){var i=no(t,"then");if(!io(i)){var a=i?ru(i,0):e.emptyArray;if(0===a.length)return void(r&&In(r,e.Diagnostics.A_promise_must_have_a_then_method));var o=sg(sp(e.map(a,jD)),2097152);if(!io(o)){var s=ru(o,0);return 0===s.length?void(r&&In(r,e.Diagnostics.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback)):n.promisedTypeOfPromise=sp(e.map(s,jD),2)}}}}}function fx(e,t,r,n,i){return(t?hx(e,r,n,i):yx(e,r,n,i))||Le}function _x(e){if(pb(e,262140))return!1;var t=no(e,"then");return!!t&&ru(sg(t,2097152),0).length>0}function mx(e){var t;if(16777216&e.flags){var r=Ml(!1);return!!r&&e.aliasSymbol===r&&1===(null===(t=e.aliasTypeArguments)||void 0===t?void 0:t.length)}return!1}function gx(e){return 1048576&e.flags?Pg(e,gx):mx(e)?e.aliasTypeArguments[0]:e}function hx(t,r,n,i){var a=yx(t,r,n,i);return a&&function(t){if(io(t)||mx(t))return t;if(Rp(t)){var r=Lc(t);if(!r||3&r.flags||Ff(r)||_x(r)){var n=Ml(!0);if(n)return al(n,[gx(t)])}}return e.Debug.assert(void 0===dx(t),"type provided should not be a non-generic 'promise'-like."),t}(a)}function yx(t,r,n,i){if(io(t)||mx(t))return t;var a=t;if(a.awaitedTypeOfType)return a.awaitedTypeOfType;if(1048576&t.flags){var o=r?function(e){return yx(e,r,n,i)}:yx;return a.awaitedTypeOfType=Pg(t,o)}var s=dx(t);if(s){if(t.id===s.id||mn.lastIndexOf(s.id)>=0)return void(r&&In(r,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));mn.push(t.id);var c=yx(s,r,n,i);return mn.pop(),c?a.awaitedTypeOfType=c:void 0}if(!_x(t))return a.awaitedTypeOfType=t;r&&(e.Debug.assertIsDefined(n),In(r,n,i))}function vx(t){var r=oD(t);lD(r,t);var n=Pu(r);if(!(1&n.flags)){var i,a;switch(t.parent.kind){case 256:i=e.Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1,a=sp([Yo(ra(t.parent)),rt]);break;case 166:case 163:i=e.Diagnostics.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any,a=rt;break;case 168:case 171:case 172:i=e.Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1,a=sp([Bl(MS(t.parent)),rt]);break;default:return e.Debug.fail()}hf(n,a,t,i)}}function Dx(t){if(t){var r=e.getFirstIdentifier(t),n=2097152|(79===t.kind?788968:1920),i=ti(r,r.escapedText,n,void 0,void 0,!0);i&&2097152&i.flags&&ua(i)&&!ZS(Pi(i))&&!Ii(i)&&Li(i)}}function bx(t){var r=xx(t);r&&e.isEntityName(r)&&Dx(r)}function xx(e){if(e)switch(e.kind){case 187:case 186:return Ex(e.types);case 188:return Ex([e.trueType,e.falseType]);case 190:case 196:return xx(e.type);case 177:return e.typeName}}function Ex(t){for(var r,n=0,i=t;n<i.length;n++){for(var a=i[n];190===a.kind||196===a.kind;)a=a.type;if(143!==a.kind&&(H||(195!==a.kind||104!==a.literal.kind)&&152!==a.kind)){var o=xx(a);if(!o)return;if(r){if(!e.isIdentifier(r)||!e.isIdentifier(o)||r.escapedText!==o.escapedText)return}else r=o}}return r}function Sx(t){var r=e.getEffectiveTypeAnnotationNode(t);return e.isRestParameter(t)?e.getRestParameterElementType(r):r}function Cx(t){if(t.decorators&&e.nodeCanBeDecorated(t,t.parent,t.parent.parent)){N.experimentalDecorators||In(t,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);var r=t.decorators[0];if(EC(r,8),163===t.kind&&EC(r,32),N.emitDecoratorMetadata)switch(EC(r,16),t.kind){case 256:var n=e.getFirstConstructorWithBody(t);if(n)for(var i=0,a=n.parameters;i<a.length;i++)bx(Sx(a[i]));break;case 171:case 172:var o=171===t.kind?172:171,s=e.getDeclarationOfKind(ra(t),o);bx(jo(t)||s&&jo(s));break;case 168:for(var c=0,u=t.parameters;c<u.length;c++)bx(Sx(u[c]));bx(e.getEffectiveReturnTypeNode(t));break;case 166:bx(e.getEffectiveTypeAnnotationNode(t));break;case 163:bx(Sx(t));for(var l=0,p=t.parent.parameters;l<p.length;l++)bx(Sx(p[l]))}e.forEach(t.decorators,vx)}}function Tx(e){switch(e.kind){case 79:return e;case 205:return e.name;default:return}}function kx(t){var n;Cx(t),Wb(t);var i=e.getFunctionFlags(t);if(t.name&&161===t.name.kind&&Zh(t.name),Bs(t)){var a=ra(t),o=t.localSymbol||a,s=null===(n=o.declarations)||void 0===n?void 0:n.find((function(e){return e.kind===t.kind&&!(131072&e.flags)}));t===s&&ux(o),a.parent&&ux(a)}var c=167===t.kind?void 0:t.body;if(vS(c),eb(t,Fu(t)),r&&!e.getEffectiveReturnTypeNode(t)&&(e.nodeIsMissing(c)&&!sx(t)&&am(t,we),1&i&&e.nodeIsPresent(c)&&Pu(xu(t))),e.isInJSFile(t)){var u=e.getJSDocTypeTag(t);u&&u.typeExpression&&!Wh(kd(u.typeExpression),t)&&In(u.typeExpression.type,e.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}function Ax(t){if(r){var n=e.getSourceFileOfNode(t),i=Kr.get(n.path);i||(i=[],Kr.set(n.path,i)),i.push(t)}}function Nx(t,r){for(var n=0,i=t;n<i.length;n++){var a=i[n];switch(a.kind){case 256:case 225:wx(a,r),Ox(a,r);break;case 303:case 260:case 234:case 262:case 241:case 242:case 243:jx(a,r);break;case 170:case 212:case 255:case 213:case 168:case 171:case 172:a.body&&jx(a,r),Ox(a,r);break;case 167:case 173:case 174:case 178:case 179:case 258:case 257:Ox(a,r);break;case 189:Ix(a,r);break;default:e.Debug.assertNever(a,"Node should not have been registered for unused identifiers check")}}}function Px(t,r,n){var i=e.getNameOfDeclaration(t)||t,a=AS(t)?e.Diagnostics._0_is_declared_but_never_used:e.Diagnostics._0_is_declared_but_its_value_is_never_read;n(t,0,e.createDiagnosticForNode(i,a,r))}function Fx(t){return e.isIdentifier(t)&&95===e.idText(t).charCodeAt(0)}function wx(t,r){for(var n=0,i=t.members;n<i.length;n++){var a=i[n];switch(a.kind){case 168:case 166:case 171:case 172:if(172===a.kind&&32768&a.symbol.flags)break;var o=ra(a);!o.isReferenced&&(e.hasEffectiveModifier(a,8)||e.isNamedDeclaration(a)&&e.isPrivateIdentifier(a.name))&&!(8388608&a.flags)&&r(a,0,e.createDiagnosticForNode(a.name,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Ma(o)));break;case 170:for(var s=0,c=a.parameters;s<c.length;s++){var u=c[s];!u.symbol.isReferenced&&e.hasSyntacticModifier(u,8)&&r(u,0,e.createDiagnosticForNode(u.name,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read,e.symbolName(u.symbol)))}break;case 175:case 233:case 169:break;default:e.Debug.fail("Unexpected class member")}}}function Ix(t,r){var n=t.typeParameter;Lx(n)&&r(t,1,e.createDiagnosticForNode(t,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.idText(n.name)))}function Ox(t,r){var n=ra(t).declarations;if(n&&e.last(n)===t)for(var i=e.getEffectiveTypeParameterDeclarations(t),a=new e.Set,o=0,s=i;o<s.length;o++){var c=s[o];if(Lx(c)){var u=e.idText(c.name),l=c.parent;if(189!==l.kind&&l.typeParameters.every(Lx)){if(e.tryAddToSet(a,l)){var p=e.getSourceFileOfNode(l),d=e.isJSDocTemplateTag(l)?e.rangeOfNode(l):e.rangeOfTypeParameters(p,l.typeParameters),f=1===l.typeParameters.length,_=f?e.Diagnostics._0_is_declared_but_its_value_is_never_read:e.Diagnostics.All_type_parameters_are_unused,m=f?u:void 0;r(c,1,e.createFileDiagnostic(p,d.pos,d.end-d.pos,_,m))}}else r(c,1,e.createDiagnosticForNode(c,e.Diagnostics._0_is_declared_but_its_value_is_never_read,u))}}}function Lx(e){return!(262144&ta(e.symbol).isReferenced||Fx(e.name))}function Mx(e,t,r,n){var i=String(n(t)),a=e.get(i);a?a[1].push(r):e.set(i,[t,[r]])}function Rx(t){return e.tryCast(e.getRootDeclaration(t),e.isParameter)}function Bx(t){return e.isBindingElement(t)?e.isObjectBindingPattern(t.parent)?!(!t.propertyName||!Fx(t.name)):Fx(t.name):e.isAmbientModule(t)||(e.isVariableDeclaration(t)&&e.isForInOrOfStatement(t.parent.parent)||Jx(t))&&Fx(t.name)}function jx(t,r){var n=new e.Map,i=new e.Map,a=new e.Map;t.locals.forEach((function(t){if(!(262144&t.flags?!(3&t.flags)||3&t.isReferenced:t.isReferenced||t.exportSymbol)&&t.declarations)for(var o=0,s=t.declarations;o<s.length;o++){var c=s[o];if(!Bx(c))if(Jx(c))Mx(n,Ux(c),c,L);else if(e.isBindingElement(c)&&e.isObjectBindingPattern(c.parent))(c===e.last(c.parent.elements)||!e.last(c.parent.elements).dotDotDotToken)&&Mx(i,c.parent,c,L);else if(e.isVariableDeclaration(c))Mx(a,c.parent,c,L);else{var u=t.valueDeclaration&&Rx(t.valueDeclaration),l=t.valueDeclaration&&e.getNameOfDeclaration(t.valueDeclaration);u&&l?!e.isParameterPropertyDeclaration(u,u.parent)&&!e.parameterIsThisKeyword(u)&&!Fx(l)&&(e.isBindingElement(c)&&e.isArrayBindingPattern(c.parent)?Mx(i,c.parent,c,L):r(u,1,e.createDiagnosticForNode(l,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.symbolName(t)))):Px(c,e.symbolName(t),r)}}})),n.forEach((function(t){var n=t[0],i=t[1],a=n.parent;if((n.name?1:0)+(n.namedBindings?267===n.namedBindings.kind?1:n.namedBindings.elements.length:0)===i.length)r(a,0,1===i.length?e.createDiagnosticForNode(a,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.idText(e.first(i).name)):e.createDiagnosticForNode(a,e.Diagnostics.All_imports_in_import_declaration_are_unused));else for(var o=0,s=i;o<s.length;o++){var c=s[o];Px(c,e.idText(c.name),r)}})),i.forEach((function(t){var n=t[0],i=t[1],o=Rx(n.parent)?1:0;if(n.elements.length===i.length)1===i.length&&253===n.parent.kind&&254===n.parent.parent.kind?Mx(a,n.parent.parent,n.parent,L):r(n,o,1===i.length?e.createDiagnosticForNode(n,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Kx(e.first(i).name)):e.createDiagnosticForNode(n,e.Diagnostics.All_destructured_elements_are_unused));else for(var s=0,c=i;s<c.length;s++){var u=c[s];r(u,o,e.createDiagnosticForNode(u,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Kx(u.name)))}})),a.forEach((function(t){var n=t[0],i=t[1];if(n.declarations.length===i.length)r(n,0,1===i.length?e.createDiagnosticForNode(e.first(i).name,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Kx(e.first(i).name)):e.createDiagnosticForNode(236===n.parent.kind?n.parent:n,e.Diagnostics.All_variables_are_unused));else for(var a=0,o=i;a<o.length;a++){var s=o[a];r(s,0,e.createDiagnosticForNode(s,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Kx(s.name)))}}))}function Kx(t){switch(t.kind){case 79:return e.idText(t);case 201:case 200:return Kx(e.cast(e.first(t.elements),e.isBindingElement).name);default:return e.Debug.assertNever(t)}}function Jx(e){return 266===e.kind||269===e.kind||267===e.kind}function Ux(e){return 266===e.kind?e:267===e.kind?e.parent:e.parent.parent}function qx(t){if(234===t.kind&&ZC(t),e.isFunctionOrModuleBlock(t)){var r=Vr;e.forEach(t.statements,vS),Vr=r}else e.forEach(t.statements,vS);t.locals&&Ax(t)}function Vx(t,r,n){if((null==r?void 0:r.escapedText)!==n||166===t.kind||165===t.kind||168===t.kind||167===t.kind||171===t.kind||172===t.kind||294===t.kind||8388608&t.flags||(e.isImportClause(t)||e.isImportEqualsDeclaration(t)||e.isImportSpecifier(t))&&e.isTypeOnlyImportOrExportDeclaration(t))return!1;var i=e.getRootDeclaration(t);return!(e.isParameter(i)&&e.nodeIsMissing(i.parent.body))}function zx(t){e.findAncestor(t,(function(r){return!!(4&oC(r))&&(79!==t.kind?In(e.getNameOfDeclaration(t),e.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):In(t,e.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0)}))}function Wx(t){e.findAncestor(t,(function(r){return!!(8&oC(r))&&(79!==t.kind?In(e.getNameOfDeclaration(t),e.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):In(t,e.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0)}))}function Hx(t){67108864&oC(e.getEnclosingBlockScopeContainer(t))&&(e.Debug.assert(e.isNamedDeclaration(t)&&e.isIdentifier(t.name)&&"string"==typeof t.name.escapedText,"The target of a WeakMap/WeakSet collision check should be an identifier"),Fn("noEmit",t,e.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,t.name.escapedText))}function Gx(t){var r=!1;if(e.isClassExpression(t)){for(var n=0,i=t.members;n<i.length;n++)if(134217728&oC(i[n])){r=!0;break}}else if(e.isFunctionExpression(t))134217728&oC(t)&&(r=!0);else{var a=e.getEnclosingBlockScopeContainer(t);a&&134217728&oC(a)&&(r=!0)}r&&(e.Debug.assert(e.isNamedDeclaration(t)&&e.isIdentifier(t.name),"The target of a Reflect collision check should be an identifier"),Fn("noEmit",t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,e.declarationNameToString(t.name),"Reflect"))}function $x(t,r){!r||(function(t,r){if((!(V>=e.ModuleKind.ES2015)||V>=e.ModuleKind.Node12&&e.getSourceFileOfNode(t).impliedNodeFormat===e.ModuleKind.CommonJS)&&r&&(Vx(t,r,"require")||Vx(t,r,"exports"))&&(!e.isModuleDeclaration(t)||1===e.getModuleInstanceState(t))){var n=ro(t);303===n.kind&&e.isExternalOrCommonJsModule(n)&&Fn("noEmit",r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(r),e.declarationNameToString(r))}}(t,r),function(t,r){if(r&&!(q>=4)&&Vx(t,r,"Promise")&&(!e.isModuleDeclaration(t)||1===e.getModuleInstanceState(t))){var n=ro(t);303===n.kind&&e.isExternalOrCommonJsModule(n)&&2048&n.flags&&Fn("noEmit",r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(r),e.declarationNameToString(r))}}(t,r),function(e,t){q<=8&&(Vx(e,t,"WeakMap")||Vx(e,t,"WeakSet"))&&fn.push(e)}(t,r),function(e,t){t&&q>=2&&q<=8&&Vx(e,t,"Reflect")&&_n.push(e)}(t,r),e.isClassLike(t)?(JE(r,e.Diagnostics.Class_name_cannot_be_0),8388608&t.flags||function(t){q>=1&&"Object"===t.escapedText&&(V<e.ModuleKind.ES2015||e.getSourceFileOfNode(t).impliedNodeFormat===e.ModuleKind.CommonJS)&&In(t,e.Diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,e.ModuleKind[V])}(r)):e.isEnumDeclaration(t)&&JE(r,e.Diagnostics.Enum_name_cannot_be_0))}function Yx(e){return e===Ie?we:e===qt?Ut:e}function Xx(t){var r;if(Cx(t),e.isBindingElement(t)||vS(t.type),t.name){if(161===t.name.kind&&(Zh(t.name),t.initializer&&Sb(t.initializer)),e.isBindingElement(t)){e.isObjectBindingPattern(t.parent)&&t.dotDotDotToken&&q<5&&EC(t,4),t.propertyName&&161===t.propertyName.kind&&Zh(t.propertyName);var n=t.parent.parent,i=oo(n,t.dotDotDotToken?32:0),a=t.propertyName||t.name;if(i&&!e.isBindingPattern(a)){var o=Dp(a);if(Os(o)){var s=eu(i,js(o));s&&(uv(s,void 0,!1),Py(t,!!n.initializer&&106===n.initializer.kind,!1,i,s))}}}if(e.isBindingPattern(t.name)&&(201===t.name.kind&&q<2&&N.downlevelIteration&&EC(t,512),e.forEach(t.name.elements,vS)),t.initializer&&e.isParameterDeclaration(t)&&e.nodeIsMissing(e.getContainingFunction(t).body))return void In(t,e.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);if(e.isBindingPattern(t.name)){var c=t.initializer&&242!==t.parent.parent.kind,u=0===t.name.elements.length;if(c||u){var l=Io(t);if(c){var p=Sb(t.initializer);H&&u?Ky(p,t):yf(p,Io(t),t,t.initializer)}u&&(e.isArrayBindingPattern(t.name)?uE(65,l,Je,t):H&&Ky(l,t))}return}var d=ra(t);if(2097152&d.flags&&e.isVariableDeclarationInitializedToBareOrAccessedRequire(t))return void oS(t);var f=Yx(Yo(d));if(t===d.valueDeclaration){var _=e.getEffectiveInitializer(t);_&&(!e.isInJSFile(t)||!e.isObjectLiteralExpression(_)||0!==_.properties.length&&!e.isPrototypeAccess(t.name)||null===(r=d.exports)||void 0===r||!r.size)&&242!==t.parent.parent.kind&&yf(Sb(_),f,t,_,void 0),d.declarations&&d.declarations.length>1&&e.some(d.declarations,(function(r){return r!==t&&e.isVariableLike(r)&&!Zx(r,t)}))&&In(t.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(t.name))}else{var m=Yx(Io(t));!ao(f)&&!ao(m)&&!cf(f,m)&&!(67108864&d.flags)&&Qx(d.valueDeclaration,f,t,m),t.initializer&&yf(Sb(t.initializer),m,t,t.initializer,void 0),d.valueDeclaration&&!Zx(t,d.valueDeclaration)&&In(t.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(t.name))}166!==t.kind&&165!==t.kind&&(lx(t),(253===t.kind||202===t.kind)&&function(t){if(0==(3&e.getCombinedNodeFlags(t))&&!e.isParameterDeclaration(t)&&(253!==t.kind||t.initializer)){var r=ra(t);if(1&r.flags){if(!e.isIdentifier(t.name))return e.Debug.fail();var n=ti(t,t.name.escapedText,3,void 0,void 0,!1);if(n&&n!==r&&2&n.flags&&3&Ay(n)){var i=e.getAncestor(n.valueDeclaration,254),a=236===i.parent.kind&&i.parent.parent?i.parent.parent:void 0;if(!a||!(234===a.kind&&e.isFunctionLike(a.parent)||261===a.kind||260===a.kind||303===a.kind)){var o=Ma(n);In(t,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,o,o)}}}}}(t),$x(t,t.name))}}function Qx(t,r,n,i){var a=e.getNameOfDeclaration(n),o=166===n.kind||165===n.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(a),c=In(a,o,s,Ba(r),Ba(i));t&&e.addRelatedInfo(c,e.createDiagnosticForNode(t,e.Diagnostics._0_was_also_declared_here,s))}function Zx(t,r){if(163===t.kind&&253===r.kind||253===t.kind&&163===r.kind)return!0;if(e.hasQuestionToken(t)!==e.hasQuestionToken(r))return!1;return e.getSelectedEffectiveModifierFlags(t,504)===e.getSelectedEffectiveModifierFlags(r,504)}function eE(t){null===e.tracing||void 0===e.tracing||e.tracing.push("check","checkVariableDeclaration",{kind:t.kind,pos:t.pos,end:t.end,path:t.tracingPath}),function(t){if(242!==t.parent.parent.kind&&243!==t.parent.parent.kind)if(8388608&t.flags)qC(t);else if(!t.initializer){if(e.isBindingPattern(t.name)&&!e.isBindingPattern(t.parent))return XC(t,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(t))return XC(t,e.Diagnostics.const_declarations_must_be_initialized)}if(t.exclamationToken&&(236!==t.parent.parent.kind||!t.type||t.initializer||8388608&t.flags)){var r=t.initializer?e.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:t.type?e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context:e.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return XC(t.exclamationToken,r)}(V<e.ModuleKind.ES2015||e.getSourceFileOfNode(t).impliedNodeFormat===e.ModuleKind.CommonJS)&&V!==e.ModuleKind.System&&!(8388608&t.parent.parent.flags)&&e.hasSyntacticModifier(t.parent.parent,1)&&VC(t.name),(e.isLet(t)||e.isVarConst(t))&&zC(t.name)}(t),Xx(t),null===e.tracing||void 0===e.tracing||e.tracing.pop()}function tE(t){return function(t){if(t.dotDotDotToken){var r=t.parent.elements;if(t!==e.last(r))return XC(t,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(kC(r,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),t.propertyName)return XC(t.name,e.Diagnostics.A_rest_element_cannot_have_a_property_name)}if(t.dotDotDotToken&&t.initializer)YC(t,t.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}(t),Xx(t)}function rE(t){!CC(t)&&!WC(t.declarationList)&&function(t){if(!HC(t.parent)){if(e.isLet(t.declarationList))return XC(t,e.Diagnostics.let_declarations_can_only_be_declared_inside_a_block);if(e.isVarConst(t.declarationList))XC(t,e.Diagnostics.const_declarations_can_only_be_declared_inside_a_block)}}(t),e.forEach(t.declarationList.declarations,vS)}function nE(t,r,n){if(H&&!O_(r)){var i=e.isBinaryExpression(t)?t.right:t;if(!e.isPropertyAccessExpression(i)||!Cb(i.expression)){var a=e.isIdentifier(i)?i:e.isPropertyAccessExpression(i)?i.name:e.isBinaryExpression(i)&&e.isIdentifier(i.right)?i.right:void 0,o=ru(r,0),s=!!px(r);if(0!==o.length||s){var c=a&&LS(a);(c||s)&&(c&&e.isBinaryExpression(t.parent)&&function(t,r){for(;e.isBinaryExpression(t)&&55===t.operatorToken.kind;){if(e.forEachChild(t.right,(function t(n){if(e.isIdentifier(n)){var i=LS(n);if(i&&i===r)return!0}return e.forEachChild(n,t)})))return!0;t=t.parent}return!1}(t.parent,c)||c&&n&&function(t,r,n,i){return!!e.forEachChild(r,(function r(a){if(e.isIdentifier(a)){var o=LS(a);if(o&&o===i){if(e.isIdentifier(t))return!0;for(var s=n.parent,c=a.parent;s&&c;){if(e.isIdentifier(s)&&e.isIdentifier(c)||108===s.kind&&108===c.kind)return LS(s)===LS(c);if(e.isPropertyAccessExpression(s)&&e.isPropertyAccessExpression(c)){if(LS(s.name)!==LS(c.name))return!1;c=c.expression,s=s.expression}else{if(!e.isCallExpression(s)||!e.isCallExpression(c))return!1;c=c.expression,s=s.expression}}}}return e.forEachChild(a,r)}))}(t,n,a,c)||(s?Mn(i,!0,e.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,Ka(r)):In(i,e.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead)))}}}}function iE(t,r){return 16384&t.flags&&In(r,e.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness),t}function aE(e,t){return iE(Ub(e,t),e)}function oE(t){BC(t);var r=Ly(Ub(t.expression));if(254===t.initializer.kind){var n=t.initializer.declarations[0];n&&e.isBindingPattern(n.name)&&In(n.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),sE(t)}else{var i=t.initializer,a=Ub(i);203===i.kind||204===i.kind?In(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):ff(function(e){var t=Cp(Sp(e));return 131072&t.flags?He:t}(r),a)?ob(i,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):In(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}(r===nt||!lb(r,126091264))&&In(t.expression,e.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,Ba(r)),vS(t.statement),t.locals&&Ax(t)}function sE(e){var t=e.initializer;t.declarations.length>=1&&eE(t.declarations[0])}function cE(e){return uE(e.awaitModifier?15:13,Iy(e.expression),Je,e.expression)}function uE(e,t,r,n){return io(t)?t:lE(e,t,r,n,!0)||we}function lE(t,r,n,i,a){var o,s,c=0!=(2&t);if(r!==nt){var u=q>=2,l=!u&&N.downlevelIteration,p=N.noUncheckedIndexedAccess&&!!(128&t);if(u||l||c){var d=gE(r,t,u?i:void 0);if(a&&d){var f=8&t?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:32&t?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:64&t?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:16&t?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;f&&hf(n,d.nextType,i,f)}if(d||u)return p?pg(d&&d.yieldType):d&&d.yieldType}var _=r,m=!1,g=!1;if(4&t){if(1048576&_.flags){var h=r.types,y=e.filter(h,(function(e){return!(402653316&e.flags)}));y!==h&&(_=sp(y,2))}else 402653316&_.flags&&(_=nt);if((g=_!==r)&&(q<1&&i&&(In(i,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),m=!0),131072&_.flags))return p?pg(He):He}if(!d_(_)){if(i&&!m){var v=(o=!!(4&t)&&!g,l?o?[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]:[e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:pE(t,0,r,void 0)?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:function(e){switch(e){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return!0}return!1}(null===(s=r.symbol)||void 0===s?void 0:s.escapedName)?[e.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:o?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,!0]:[e.Diagnostics.Type_0_is_not_an_array_type,!0]),D=v[0];Mn(i,v[1]&&!!px(_),D,Ba(_))}return g?p?pg(He):He:void 0}var b=uu(_,Ge);return g&&b?402653316&b.flags&&!N.noUncheckedIndexedAccess?He:sp(p?[b,He,Je]:[b,He],2):128&t?pg(b):b}EE(i,r,c)}function pE(e,t,r,n){if(!io(r)){var i=gE(r,e,n);return i&&i[K(t)]}}function dE(e,t,r){if(void 0===e&&(e=nt),void 0===t&&(t=nt),void 0===r&&(r=je),67359327&e.flags&&180227&t.flags&&180227&r.flags){var n=Yu([e,t,r]),i=Fr.get(n);return i||(i={yieldType:e,returnType:t,nextType:r},Fr.set(n,i)),i}return{yieldType:e,returnType:t,nextType:r}}function fE(t){for(var r,n,i,a=0,o=t;a<o.length;a++){var s=o[a];if(void 0!==s&&s!==wr){if(s===Ir)return Ir;r=e.append(r,s.yieldType),n=e.append(n,s.returnType),i=e.append(i,s.nextType)}}return r||n||i?dE(r&&sp(r),n&&sp(n),i&&mp(i)):wr}function _E(e,t){return e[t]}function mE(e,t,r){return e[t]=r}function gE(t,r,n){if(io(t))return Ir;if(!(1048576&t.flags)){var i=yE(t,r,n);return i===wr?void(n&&EE(n,t,!!(2&r))):i}var a=2&r?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",o=_E(t,a);if(o)return o===wr?void 0:o;for(var s,c=0,u=t.types;c<u.length;c++){var l=yE(u[c],r,n);if(l===wr)return n&&EE(n,t,!!(2&r)),void mE(t,a,wr);s=e.append(s,l)}var p=s?fE(s):wr;return mE(t,a,p),p===wr?void 0:p}function hE(e,t){if(e===wr)return wr;if(e===Ir)return Ir;var r=e.yieldType,n=e.returnType,i=e.nextType;return t&&Ml(!0),dE(hx(r,t)||we,hx(n,t)||we,i)}function yE(e,t,r){if(io(e))return Ir;var n;if(2&t&&(n=vE(e,Mr)||bE(e,Mr)))return 8&t?hE(n,r):n;if(1&t&&(n=vE(e,Rr)||bE(e,Rr))){if(!(2&t))return n;if(n!==wr)return mE(e,"iterationTypesOfAsyncIterable",hE(n,r))}return 2&t&&(n=xE(e,Mr,r))!==wr?n:1&t&&(n=xE(e,Rr,r))!==wr?2&t?mE(e,"iterationTypesOfAsyncIterable",n?hE(n,r):wr):n:wr}function vE(e,t){return _E(e,t.iterableCacheKey)}function DE(e,t){var r=vE(e,t)||xE(e,t,void 0);return r===wr?Lr:r}function bE(e,t){var r;if(Qo(e,r=t.getGlobalIterableType(!1))||Qo(e,r=t.getGlobalIterableIteratorType(!1))){var n=rl(e)[0],i=DE(r,t),a=i.returnType,o=i.nextType;return mE(e,t.iterableCacheKey,dE(t.resolveIterationType(n,void 0)||n,t.resolveIterationType(a,void 0)||a,o))}if(Qo(e,t.getGlobalGeneratorType(!1))){var s=rl(e);return n=s[0],a=s[1],o=s[2],mE(e,t.iterableCacheKey,dE(t.resolveIterationType(n,void 0)||n,t.resolveIterationType(a,void 0)||a,o))}}function xE(t,r,n){var i,a=eu(t,function(t){var r=Nl(!1),n=r&&no(Yo(r),e.escapeLeadingUnderscores(t));return n&&Os(n)?js(n):"__@".concat(t)}(r.iteratorSymbolName)),o=!a||16777216&a.flags?void 0:Yo(a);if(io(o))return mE(t,r.iterableCacheKey,Ir);var s=o?ru(o,0):void 0;if(!e.some(s))return mE(t,r.iterableCacheKey,wr);var c=null!==(i=SE(mp(e.map(s,Pu)),r,n))&&void 0!==i?i:wr;return mE(t,r.iterableCacheKey,c)}function EE(t,r,n){var i=n?e.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:e.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator;Mn(t,!!px(r),i,Ba(r))}function SE(e,t,r){if(io(e))return Ir;var n=CE(e,t)||function(e,t){var r=t.getGlobalIterableIteratorType(!1);if(Qo(e,r)){var n=rl(e)[0],i=CE(r,t)||FE(r,t,void 0),a=i===wr?Lr:i,o=a.returnType,s=a.nextType;return mE(e,t.iteratorCacheKey,dE(n,o,s))}if(Qo(e,t.getGlobalIteratorType(!1))||Qo(e,t.getGlobalGeneratorType(!1))){var c=rl(e);return n=c[0],o=c[1],s=c[2],mE(e,t.iteratorCacheKey,dE(n,o,s))}}(e,t)||FE(e,t,r);return n===wr?void 0:n}function CE(e,t){return _E(e,t.iteratorCacheKey)}function TE(e,t){var r=no(e,"done")||Ye;return ff(0===t?Ye:Qe,r)}function kE(e){return TE(e,0)}function AE(e){return TE(e,1)}function NE(e){if(io(e))return Ir;var t=_E(e,"iterationTypesOfIteratorResult");if(t)return t;if(Qo(e,function(e){return ir||(ir=Tl("IteratorYieldResult",1,e))||Dt}(!1)))return mE(e,"iterationTypesOfIteratorResult",dE(rl(e)[0],void 0,void 0));if(Qo(e,function(e){return ar||(ar=Tl("IteratorReturnResult",1,e))||Dt}(!1)))return mE(e,"iterationTypesOfIteratorResult",dE(void 0,rl(e)[0],void 0));var r=kg(e,kE),n=r!==nt?no(r,"value"):void 0,i=kg(e,AE),a=i!==nt?no(i,"value"):void 0;return mE(e,"iterationTypesOfIteratorResult",n||a?dE(n,a||rt,void 0):wr)}function PE(t,r,n,i){var a,o,s,c,u=eu(t,n);if(u||"next"===n){var l=!u||"next"===n&&16777216&u.flags?void 0:"next"===n?Yo(u):sg(Yo(u),2097152);if(io(l))return"next"===n?Ir:Or;var p,d,f=l?ru(l,0):e.emptyArray;if(0===f.length)return i&&In(i,"next"===n?r.mustHaveANextMethodDiagnostic:r.mustBeAMethodDiagnostic,n),"next"===n?Ir:void 0;if((null==l?void 0:l.symbol)&&1===f.length){var _=r.getGlobalGeneratorType(!1),m=r.getGlobalIteratorType(!1),g=(null===(o=null===(a=_.symbol)||void 0===a?void 0:a.members)||void 0===o?void 0:o.get(n))===l.symbol,h=!g&&(null===(c=null===(s=m.symbol)||void 0===s?void 0:s.members)||void 0===c?void 0:c.get(n))===l.symbol;if(g||h){var y=g?_:m,v=l.mapper;return dE(Od(y.typeParameters[0],v),Od(y.typeParameters[1],v),"next"===n?Od(y.typeParameters[2],v):void 0)}}for(var D,b,x=0,E=f;x<E.length;x++){var S=E[x];"throw"!==n&&e.some(S.parameters)&&(D=e.append(D,FD(S,0))),b=e.append(b,Pu(S))}if("throw"!==n){var C=D?sp(D):je;if("next"===n)d=C;else if("return"===n){var T=r.resolveIterationType(C,i)||we;p=e.append(p,T)}}var k,A=b?mp(b):nt,N=NE(r.resolveIterationType(A,i)||we);return N===wr?(i&&In(i,r.mustHaveAValueDiagnostic,n),k=we,p=e.append(p,we)):(k=N.yieldType,p=e.append(p,N.returnType)),dE(k,sp(p),d)}}function FE(e,t,r){var n=fE([PE(e,t,"next",r),PE(e,t,"return",r),PE(e,t,"throw",r)]);return mE(e,t.iteratorCacheKey,n)}function wE(e,t,r){if(!io(t)){var n=IE(t,r);return n&&n[K(e)]}}function IE(e,t){if(io(e))return Ir;var r=t?Mr:Rr;return gE(e,t?2:1,void 0)||SE(e,r,void 0)}function OE(t){ZC(t)||function(t){for(var r=t;r;){if(e.isFunctionLikeOrClassStaticBlockDeclaration(r))return XC(t,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(r.kind){case 249:if(t.label&&r.label.escapedText===t.label.escapedText)return!(244!==t.kind||e.isIterationStatement(r.statement,!0))&&XC(t,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement);break;case 248:if(245===t.kind&&!t.label)return!1;break;default:if(e.isIterationStatement(r,!1)&&!t.label)return!1}r=r.parent}t.label?XC(t,245===t.kind?e.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement):XC(t,245===t.kind?e.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:e.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement)}(t)}function LE(e,t){var r=!!(2&t);return 1&t?wE(1,e,r)||Le:r?yx(e)||Le:e}function ME(t,r){var n=LE(r,e.getFunctionFlags(t));return!!n&&ub(n,16387)}function RE(t){ZC(t)||e.isIdentifier(t.expression)&&!t.expression.escapedText&&function(t,r,n,i,a){var o=e.getSourceFileOfNode(t);if(!GC(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return gn.add(e.createFileDiagnostic(o,e.textSpanEnd(s),0,r,n,i,a)),!0}}(t,e.Diagnostics.Line_break_not_permitted_here),t.expression&&Ub(t.expression)}function BE(t,r,n){var i=su(t);if(0!==i.length){for(var a=0,o=Cc(t);a<o.length;a++){var s=o[a];n&&4194304&s.flags||jE(t,s,bp(s,8576,!0),Xo(s))}var c=r.valueDeclaration;if(c&&e.isClassLike(c))for(var u=0,l=c.members;u<l.length;u++){var p=l[u];if(!e.isStatic(p)&&!Bs(p)){var d=ra(p);jE(t,d,jb(p.name.expression),Xo(d))}}if(i.length>1)for(var f=0,_=i;f<_.length;f++)KE(t,_[f])}}function jE(t,r,n,i){var a=r.valueDeclaration,o=e.getNameOfDeclaration(a);if(!o||!e.isPrivateIdentifier(o))for(var s=lu(t,n),c=2&e.getObjectFlags(t)?e.getDeclarationOfKind(t.symbol,257):void 0,u=a&&220===a.kind||o&&161===o.kind||na(r)===t.symbol?a:void 0,l=function(n){var a=n.declaration&&na(ra(n.declaration))===t.symbol?n.declaration:void 0,o=u||a||(c&&!e.some(ds(t),(function(e){return!!Tc(e,r.escapedName)&&!!uu(e,n.keyType)}))?c:void 0);o&&!ff(i,n.type)&&In(o,e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,Ma(r),Ba(i),Ba(n.keyType),Ba(n.type))},p=0,d=s;p<d.length;p++)l(d[p])}function KE(t,r){for(var n=r.declaration,i=lu(t,r.keyType),a=2&e.getObjectFlags(t)?e.getDeclarationOfKind(t.symbol,257):void 0,o=n&&na(ra(n))===t.symbol?n:void 0,s=function(n){if(n===r)return"continue";var i=n.declaration&&na(ra(n.declaration))===t.symbol?n.declaration:void 0,s=o||i||(a&&!e.some(ds(t),(function(e){return!!cu(e,r.keyType)&&!!uu(e,n.keyType)}))?a:void 0);s&&!ff(r.type,n.type)&&In(s,e.Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3,Ba(r.keyType),Ba(r.type),Ba(n.keyType),Ba(n.type))},c=0,u=i;c<u.length;c++)s(u[c])}function JE(e,t){switch(e.escapedText){case"any":case"unknown":case"never":case"number":case"bigint":case"boolean":case"string":case"symbol":case"void":case"object":In(e,t,e.escapedText)}}function UE(t){if(t)for(var n=!1,i=0;i<t.length;i++){var a=t[i];if(qb(a),r){a.default?(n=!0,qE(a.default,t,i)):n&&In(a,e.Diagnostics.Required_type_parameters_may_not_follow_optional_type_parameters);for(var o=0;o<i;o++)t[o].symbol===a.symbol&&In(a.name,e.Diagnostics.Duplicate_identifier_0,e.declarationNameToString(a.name))}}}function qE(t,r,n){!function t(i){if(177===i.kind){var a=yl(i);if(262144&a.flags)for(var o=n;o<r.length;o++)a.symbol===ra(r[o])&&In(i,e.Diagnostics.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters)}e.forEachChild(i,t)}(t)}function VE(t){if(!t.declarations||1!==t.declarations.length){var r=$n(t);if(!r.typeParametersChecked){r.typeParametersChecked=!0;var n=function(t){return e.filter(t.declarations,(function(e){return 256===e.kind||257===e.kind}))}(t);if(!n||n.length<=1)return;if(!function(t,r){for(var n=e.length(r),i=Du(r),a=0,o=t;a<o.length;a++){var s=o[a],c=e.getEffectiveTypeParameterDeclarations(s),u=c.length;if(u<i||u>n)return!1;for(var l=0;l<u;l++){var p=c[l],d=r[l];if(p.name.escapedText!==d.symbol.escapedName)return!1;var f=e.getEffectiveConstraintOfTypeParameter(p),_=f&&kd(f),m=Pc(d);if(_&&m&&!cf(_,m))return!1;var g=p.default&&kd(p.default),h=Kc(d);if(g&&h&&!cf(g,h))return!1}}return!0}(n,Ss(t).localTypeParameters))for(var i=Ma(t),a=0,o=n;a<o.length;a++)In(o[a].name,e.Diagnostics.All_declarations_of_0_must_have_identical_type_parameters,i)}}}function zE(t){(function(t){var r=e.getSourceFileOfNode(t);(function(t){var r=!1,n=!1;if(!CC(t)&&t.heritageClauses)for(var i=0,a=t.heritageClauses;i<a.length;i++){var o=a[i];if(94===o.token){if(r)return $C(o,e.Diagnostics.extends_clause_already_seen);if(n)return $C(o,e.Diagnostics.extends_clause_must_precede_implements_clause);if(o.types.length>1)return $C(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);r=!0}else{if(e.Debug.assert(117===o.token),n)return $C(o,e.Diagnostics.implements_clause_already_seen);n=!0}wC(o)}})(t)||AC(t.typeParameters,r)})(t),Cx(t),$x(t,t.name),UE(e.getEffectiveTypeParameterDeclarations(t)),lx(t);var n=ra(t),i=Ss(n),a=Vs(i),o=Yo(n);VE(n),ux(n),function(t){for(var r=new e.Map,n=new e.Map,i=new e.Map,a=0,o=t.members;a<o.length;a++){var s=o[a];if(170===s.kind)for(var c=0,u=s.parameters;c<u.length;c++){var l=u[c];e.isParameterPropertyDeclaration(l,s)&&!e.isBindingPattern(l.name)&&h(r,l.name,l.name.escapedText,3)}else{var p=e.isStatic(s),d=s.name;if(!d)continue;var f=e.isPrivateIdentifier(d),_=f&&p?16:0,m=f?i:p?n:r,g=d&&e.getPropertyNameForPropertyNameNode(d);if(g)switch(s.kind){case 171:h(m,d,g,1|_);break;case 172:h(m,d,g,2|_);break;case 166:h(m,d,g,3|_);break;case 168:h(m,d,g,8|_)}}}function h(t,r,n,i){var a=t.get(n);if(a)if((16&a)!=(16&i))In(r,e.Diagnostics.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,e.getTextOfNode(r));else{var o=!!(8&a),s=!!(8&i);o||s?o!==s&&In(r,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(r)):a&i&-17?In(r,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(r)):t.set(n,a|i)}else t.set(n,i)}}(t),8388608&t.flags||function(t){for(var r=0,n=t.members;r<n.length;r++){var i=n[r],a=i.name;if(e.isStatic(i)&&a){var o=e.getPropertyNameForPropertyNameNode(a);switch(o){case"name":case"length":case"caller":case"arguments":case"prototype":In(a,e.Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,o,$a(ra(t)))}}}}(t);var s=e.getEffectiveBaseTypeNode(t);if(s){e.forEach(s.typeArguments,vS),q<2&&EC(s.parent,1);var c=e.getClassExtendsHeritageElement(t);c&&c!==s&&Ub(c.expression);var u=ds(i);if(u.length&&r){var l=u[0],p=ls(i),d=Vc(p);if(function(t,r){var n=ru(t,1);if(n.length){var i=n[0].declaration;i&&e.hasEffectiveModifier(i,8)&&(FS(r,e.getClassLikeDeclarationOfSymbol(t.symbol))||In(r,e.Diagnostics.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,Ri(t.symbol)))}}(d,s),vS(s.expression),e.some(s.typeArguments)){e.forEach(s.typeArguments,vS);for(var f=0,_=cs(d,s.typeArguments,s);f<_.length&&tx(s,_[f].typeParameters);f++);}if(hf(a,b=Vs(l,i.thisType),void 0)?hf(o,sf(d),t.name||t,e.Diagnostics.Class_static_side_0_incorrectly_extends_base_class_static_side_1):GE(t,a,b,e.Diagnostics.Class_0_incorrectly_extends_base_class_1),8650752&p.flags&&(as(o)?ru(p,1).some((function(e){return 4&e.flags}))&&!e.hasSyntacticModifier(t,128)&&In(t.name||t,e.Diagnostics.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract):In(t.name||t,e.Diagnostics.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any)),!(d.symbol&&32&d.symbol.flags||8650752&p.flags)){var m=us(d,s.typeArguments,s);e.forEach(m,(function(e){return!sD(e.declaration)&&!cf(Pu(e),l)}))&&In(s.expression,e.Diagnostics.Base_constructors_must_all_have_the_same_return_type)}!function(t,r){var n,i;e:for(var a=0,o=Ac(r);a<o.length;a++){var s=o[a],c=$E(s);if(!(4194304&c.flags)){var u=Tc(t,c.escapedName);if(u){var l=$E(u),p=e.getDeclarationModifierFlagsFromSymbol(c);if(e.Debug.assert(!!l,"derived should point to something, even if it is the base class' declaration."),l===c){var d=e.getClassLikeDeclarationOfSymbol(t.symbol);if(128&p&&(!d||!e.hasSyntacticModifier(d,128))){for(var f=0,_=ds(t);f<_.length;f++){var m=_[f];if(m!==r){var g=Tc(m,c.escapedName),h=g&&$E(g);if(h&&h!==c)continue e}}225===d.kind?In(d,e.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,Ma(s),Ba(r)):In(d,e.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,Ba(t),Ma(s),Ba(r))}}else{var y=e.getDeclarationModifierFlagsFromSymbol(l);if(8&p||8&y)continue;var v=void 0,D=98308&c.flags,b=98308&l.flags;if(D&&b){if(128&p&&!(c.valueDeclaration&&e.isPropertyDeclaration(c.valueDeclaration)&&c.valueDeclaration.initializer)||c.valueDeclaration&&257===c.valueDeclaration.parent.kind||l.valueDeclaration&&e.isBinaryExpression(l.valueDeclaration))continue;var x=4!==D&&4===b;if(x||4===D&&4!==b){var E=x?e.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:e.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;In(e.getNameOfDeclaration(l.valueDeclaration)||l.valueDeclaration,E,Ma(c),Ba(r),Ba(t))}else if(z){var S=null===(n=l.declarations)||void 0===n?void 0:n.find((function(e){return 166===e.kind&&!e.initializer}));if(S&&!(33554432&l.flags)&&!(128&p)&&!(128&y)&&(null===(i=l.declarations)||void 0===i||!i.some((function(e){return!!(8388608&e.flags)})))){var C=la(e.getClassLikeDeclarationOfSymbol(t.symbol)),T=S.name;if(S.exclamationToken||!C||!e.isIdentifier(T)||!H||!XE(T,t,C)){var k=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;In(e.getNameOfDeclaration(l.valueDeclaration)||l.valueDeclaration,k,Ma(c),Ba(r))}}}continue}if(Ny(c)){if(Ny(l)||4&l.flags)continue;e.Debug.assert(!!(98304&l.flags)),v=e.Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else v=98304&c.flags?e.Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:e.Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;In(e.getNameOfDeclaration(l.valueDeclaration)||l.valueDeclaration,v,Ba(r),Ma(c),Ba(t))}}}}}(i,l)}}!function(t,r,n,i){for(var a=e.getEffectiveBaseTypeNode(t)&&ds(r),o=null!=a&&a.length?Vs(e.first(a),r.thisType):void 0,s=ls(r),c=function(a){if(e.hasAmbientModifier(a))return"continue";e.isConstructorDeclaration(a)&&e.forEach(a.parameters,(function(c){e.isParameterPropertyDeclaration(c,a)&&WE(t,i,s,o,r,n,c,!0)})),WE(t,i,s,o,r,n,a,!1)},u=0,l=t.members;u<l.length;u++)c(l[u])}(t,i,a,o);var g=e.getEffectiveImplementsTypeNodes(t);if(g)for(var h=0,y=g;h<y.length;h++){var v=y[h];if((!e.isEntityNameExpression(v.expression)||e.isOptionalChain(v.expression))&&In(v.expression,e.Diagnostics.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),nx(v),r){var D=$c(kd(v));if(!ao(D))if(_s(D)){var b,x=D.symbol&&32&D.symbol.flags?e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:e.Diagnostics.Class_0_incorrectly_implements_interface_1;hf(a,b=Vs(D,i.thisType),void 0)||GE(t,a,b,x)}else In(v,e.Diagnostics.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}r&&(BE(i,n),BE(o,n,!0),Gb(t),function(t){if(H&&Y&&!(8388608&t.flags))for(var r=la(t),n=0,i=t.members;n<i.length;n++){var a=i[n];if(!(2&e.getEffectiveModifierFlags(a))&&!e.isStatic(a)&&YE(a)){var o=a.name;if(e.isIdentifier(o)||e.isPrivateIdentifier(o)){var s=Yo(ra(a));3&s.flags||32768&O_(s)||(!r||!XE(o,s,r))&&In(a.name,e.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,e.declarationNameToString(o))}}}}(t))}function WE(t,r,n,i,a,o,s,c,u){void 0===u&&(u=!0);var l=s.name&&LS(s.name)||LS(s);return l?HE(t,r,n,i,a,o,e.hasOverrideModifier(s),e.hasAbstractModifier(s),e.isStatic(s),c,e.symbolName(l),u?s:void 0):0}function HE(t,r,n,i,a,o,s,c,u,l,p,d){var f=e.isInJSFile(t),_=!!(8388608&t.flags);if(i&&(s||N.noImplicitOverride)){var m=e.escapeLeadingUnderscores(p),g=u?n:i,h=eu(u?r:o,m),y=eu(g,m),v=Ba(i);if(h&&!y&&s){if(d){var D=rv(p,g);D?In(d,f?e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,v,Ma(D)):In(d,f?e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,v)}return 2}if(h&&(null==y?void 0:y.declarations)&&N.noImplicitOverride&&!_){var b=e.some(y.declarations,e.hasAbstractModifier);if(s)return 0;if(!b)return d&&In(d,l?f?e.Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:e.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:f?e.Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0,v),1;if(c&&b)return d&&In(d,e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,v),1}}else if(s){if(d){var x=Ba(a);In(d,f?e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:e.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,x)}return 2}return 0}function GE(t,r,n,i){for(var a=!1,o=function(t){if(e.isStatic(t))return"continue";var i=t.name&&LS(t.name)||LS(t);if(i){var o=eu(r,i.escapedName),s=eu(n,i.escapedName);if(o&&s){hf(Yo(o),Yo(s),t.name||t,void 0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,Ma(i),Ba(r),Ba(n))}))||(a=!0)}}},s=0,c=t.members;s<c.length;s++)o(c[s]);a||hf(r,n,t.name||t,i)}function $E(t){return 1&e.getCheckFlags(t)?t.target:t}function YE(t){return 166===t.kind&&!e.hasAbstractModifier(t)&&!t.exclamationToken&&!t.initializer}function XE(t,r,n){var i=e.factory.createPropertyAccessExpression(e.factory.createThis(),t);return e.setParent(i.expression,i),e.setParent(i,n),i.flowNode=n.returnFlowNode,!(32768&O_(Qg(i,r,j_(r))))}function QE(t){if(CC(t)||function(t){var r=!1;if(t.heritageClauses)for(var n=0,i=t.heritageClauses;n<i.length;n++){var a=i[n];if(94!==a.token)return e.Debug.assert(117===a.token),$C(a,e.Diagnostics.Interface_declaration_cannot_have_implements_clause);if(r)return $C(a,e.Diagnostics.extends_clause_already_seen);r=!0,wC(a)}}(t),UE(t.typeParameters),r){JE(t.name,e.Diagnostics.Interface_name_cannot_be_0),lx(t);var n=ra(t);if(VE(n),t===e.getDeclarationOfKind(n,257)){var i=Ss(n),a=Vs(i);if(function(t,r){var n=ds(t);if(n.length<2)return!0;var i=new e.Map;e.forEach(Is(t).declaredProperties,(function(e){i.set(e.escapedName,{prop:e,containingType:t})}));for(var a=!0,o=0,s=n;o<s.length;o++)for(var c=s[o],u=0,l=Ac(Vs(c,t.thisType));u<l.length;u++){var p=l[u],d=i.get(p.escapedName);if(d){if(d.containingType!==t&&!i_(d.prop,p)){a=!1;var f=Ba(d.containingType),_=Ba(c),m=e.chainDiagnosticMessages(void 0,e.Diagnostics.Named_property_0_of_types_1_and_2_are_not_identical,Ma(p),f,_);m=e.chainDiagnosticMessages(m,e.Diagnostics.Interface_0_cannot_simultaneously_extend_types_1_and_2,Ba(t),f,_),gn.add(e.createDiagnosticForNodeFromMessageChain(r,m))}}else i.set(p.escapedName,{prop:p,containingType:c})}return a}(i,t.name)){for(var o=0,s=ds(i);o<s.length;o++)hf(a,Vs(s[o],i.thisType),t.name,e.Diagnostics.Interface_0_incorrectly_extends_interface_1);BE(i,n)}}Hb(t)}e.forEach(e.getInterfaceBaseTypeNodes(t),(function(t){(!e.isEntityNameExpression(t.expression)||e.isOptionalChain(t.expression))&&In(t.expression,e.Diagnostics.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),nx(t)})),e.forEach(t.members,vS),r&&(Gb(t),Ax(t))}function ZE(e){var t=Yn(e);if(!(16384&t.flags)){t.flags|=16384;for(var r=0,n=0,i=e.members;n<i.length;n++){var a=i[n],o=eS(a,r);Yn(a).enumMemberValue=o,r="number"==typeof o?o+1:void 0}}}function eS(t,r){if(e.isComputedNonLiteralName(t.name))In(t.name,e.Diagnostics.Computed_property_names_are_not_allowed_in_enums);else{var n=e.getTextOfPropertyName(t.name);e.isNumericLiteralName(n)&&!e.isInfinityOrNaNString(n)&&In(t.name,e.Diagnostics.An_enum_member_cannot_have_a_numeric_name)}if(t.initializer)return function(t){var r=vs(ra(t.parent)),n=e.isEnumConst(t.parent),i=t.initializer,a=1!==r||ys(t)?s(i):void 0;if(void 0!==a)n&&"number"==typeof a&&!isFinite(a)&&In(i,isNaN(a)?e.Diagnostics.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:e.Diagnostics.const_enum_member_initializer_was_evaluated_to_a_non_finite_value);else{if(1===r)return In(i,e.Diagnostics.Computed_values_are_not_permitted_in_an_enum_with_string_valued_members),0;if(n)In(i,e.Diagnostics.const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values);else if(8388608&t.parent.flags)In(i,e.Diagnostics.In_ambient_enum_declarations_member_initializer_must_be_constant_expression);else{var o=Ub(i);lb(o,296)?hf(o,Ss(ra(t.parent)),i,void 0):In(i,e.Diagnostics.Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead,Ba(o))}}return a;function s(r){switch(r.kind){case 218:var n=s(r.operand);if("number"==typeof n)switch(r.operator){case 39:return n;case 40:return-n;case 54:return~n}break;case 220:var i=s(r.left),a=s(r.right);if("number"==typeof i&&"number"==typeof a)switch(r.operatorToken.kind){case 51:return i|a;case 50:return i&a;case 48:return i>>a;case 49:return i>>>a;case 47:return i<<a;case 52:return i^a;case 41:return i*a;case 43:return i/a;case 39:return i+a;case 40:return i-a;case 44:return i%a;case 42:return Math.pow(i,a)}else if("string"==typeof i&&"string"==typeof a&&39===r.operatorToken.kind)return i+a;break;case 10:case 14:return r.text;case 8:return eT(r),+r.text;case 211:return s(r.expression);case 79:var o=r;return e.isInfinityOrNaNString(o.escapedText)?+o.escapedText:e.nodeIsMissing(r)?0:c(r,ra(t.parent),o.escapedText);case 206:case 205:if(tS(r)){var u=jb(r.expression);if(u.symbol&&384&u.symbol.flags){var l=void 0;return l=205===r.kind?r.name.escapedText:e.escapeLeadingUnderscores(e.cast(r.argumentExpression,e.isLiteralExpression).text),c(r,u.symbol,l)}}}}function c(r,n,i){var a=n.exports.get(i);if(a){var o=a.valueDeclaration;if(o!==t)return o&&Zn(o,t)&&e.isEnumDeclaration(o.parent)?sC(o):(In(r,e.Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),0);In(r,e.Diagnostics.Property_0_is_used_before_being_assigned,Ma(a))}}}(t);if(!(8388608&t.parent.flags)||e.isEnumConst(t.parent)||0!==vs(ra(t.parent))){if(void 0!==r)return r;In(t.name,e.Diagnostics.Enum_member_must_have_initializer)}}function tS(t){return jb(t)!==Le&&(79===t.kind||205===t.kind&&tS(t.expression)||206===t.kind&&tS(t.expression)&&e.isStringLiteralLike(t.argumentExpression))}function rS(t){e.isPrivateIdentifier(t.name)&&In(t,e.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}function nS(t){if(r){var n=e.isGlobalScopeAugmentation(t),i=8388608&t.flags;n&&!i&&In(t.name,e.Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);var a=e.isAmbientModule(t);if(fS(t,a?e.Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:e.Diagnostics.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module))return;CC(t)||!i&&10===t.name.kind&&XC(t.name,e.Diagnostics.Only_ambient_modules_can_use_quoted_names),e.isIdentifier(t.name)&&$x(t,t.name),lx(t);var o=ra(t);if(512&o.flags&&!i&&o.declarations&&o.declarations.length>1&&R(t,e.shouldPreserveConstEnums(N))){var s=function(t){var r=t.declarations;if(r)for(var n=0,i=r;n<i.length;n++){var a=i[n];if((256===a.kind||255===a.kind&&e.nodeIsPresent(a.body))&&!(8388608&a.flags))return a}}(o);s&&(e.getSourceFileOfNode(t)!==e.getSourceFileOfNode(s)?In(t.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):t.pos<s.pos&&In(t.name,e.Diagnostics.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged));var c=e.getDeclarationOfKind(o,256);c&&function(t,r){var n=e.getEnclosingBlockScopeContainer(t),i=e.getEnclosingBlockScopeContainer(r);return Xn(n)?Xn(i):!Xn(i)&&n===i}(t,c)&&(Yn(t).flags|=32768)}if(a)if(e.isExternalModuleAugmentation(t)){if((n||33554432&ra(t).flags)&&t.body)for(var u=0,l=t.body.statements;u<l.length;u++)iS(l[u],n)}else Xn(t.parent)?n?In(t.name,e.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(t.name))&&In(t.name,e.Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name):In(t.name,n?e.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:e.Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}t.body&&(vS(t.body),e.isGlobalScopeAugmentation(t)||Ax(t))}function iS(t,r){var n;switch(t.kind){case 236:for(var i=0,a=t.declarationList.declarations;i<a.length;i++)iS(a[i],r);break;case 270:case 271:$C(t,e.Diagnostics.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 264:case 265:$C(t,e.Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 202:case 253:var o=t.name;if(e.isBindingPattern(o)){for(var s=0,c=o.elements;s<c.length;s++)iS(c[s],r);break}case 256:case 259:case 255:case 257:case 260:case 258:if(r)return;var u=ra(t);if(u){var l=!(33554432&u.flags);l||(l=!(null===(n=u.parent)||void 0===n||!n.declarations)&&e.isExternalModuleAugmentation(u.parent.declarations[0]))}}}function aS(t){var r=e.getExternalModuleName(t);if(!r||e.nodeIsMissing(r))return!1;if(!e.isStringLiteral(r))return In(r,e.Diagnostics.String_literal_expected),!1;var n=261===t.parent.kind&&e.isAmbientModule(t.parent.parent);if(303!==t.parent.kind&&!n)return In(r,271===t.kind?e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace:e.Diagnostics.Import_declarations_in_a_namespace_cannot_reference_a_module),!1;if(n&&e.isExternalModuleNameRelative(r.text)&&!Wa(t))return In(t,e.Diagnostics.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1;if(!e.isImportEqualsDeclaration(t)&&t.assertClause){for(var i=!1,a=0,o=t.assertClause.elements;a<o.length;a++){var s=o[a];e.isStringLiteral(s.value)||(i=!0,In(s.value,e.Diagnostics.Import_assertion_values_must_be_string_literal_expressions))}return!i}return!0}function oS(t){var r=ra(t),n=Pi(r);if(n!==Ae){var i=(1160127&(r=ta(r.exportSymbol||r)).flags?111551:0)|(788968&r.flags?788968:0)|(1920&r.flags?1920:0);if(n.flags&i&&In(t,274===t.kind?e.Diagnostics.Export_declaration_conflicts_with_exported_declaration_of_0:e.Diagnostics.Import_declaration_conflicts_with_local_declaration_of_0,Ma(r)),N.isolatedModules&&!e.isTypeOnlyImportOrExportDeclaration(t)&&!(8388608&t.flags)){var a=Ii(r),o=!(111551&n.flags);if(o||a)switch(t.kind){case 266:case 269:case 264:N.preserveValueImports&&(e.Debug.assertIsDefined(t.name,"An ImportClause with a symbol should have a name"),ni(In(t,o?e.Diagnostics._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:e.Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled,s=e.idText(269===t.kind&&t.propertyName||t.name)),o?void 0:a,s)),o&&264===t.kind&&e.hasEffectiveModifier(t,1)&&In(t,e.Diagnostics.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_the_isolatedModules_flag_is_provided);break;case 274:var s;if(e.getSourceFileOfNode(a)!==e.getSourceFileOfNode(t))return void ni(In(t,o?e.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:e.Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isolatedModules_is_enabled,s=e.idText(t.propertyName||t.name)),o?void 0:a,s)}}if(e.isImportSpecifier(t)){var c=cS(r,t);sS(c)&&c.declarations&&jn(t,c.declarations,c.escapedName)}}}function sS(t){return!!t.declarations&&e.every(t.declarations,(function(t){return!!(134217728&e.getCombinedNodeFlags(t))}))}function cS(t,r){if(!(2097152&t.flags))return t;var n=Pi(t);if(n===Ae)return n;for(;2097152&t.flags;){var i=ny(t);if(!i)break;if(i===n)break;if(i.declarations&&e.length(i.declarations)){if(sS(i)){jn(r,i.declarations,i.escapedName);break}if(t===n)break;t=i}}return n}function uS(t){$x(t,t.name),oS(t),269===t.kind&&"default"===e.idText(t.propertyName||t.name)&&e.getESModuleInterop(N)&&V!==e.ModuleKind.System&&(V<e.ModuleKind.ES2015||e.getSourceFileOfNode(t).impliedNodeFormat===e.ModuleKind.CommonJS)&&EC(t,131072)}function lS(t){var r;if(t.assertClause){if((V===e.ModuleKind.NodeNext&&t.moduleSpecifier&&vi(t.moduleSpecifier))!==e.ModuleKind.ESNext&&V!==e.ModuleKind.ESNext)return XC(t.assertClause,V===e.ModuleKind.NodeNext?e.Diagnostics.Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:e.Diagnostics.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext);if(e.isImportDeclaration(t)?null===(r=t.importClause)||void 0===r?void 0:r.isTypeOnly:t.isTypeOnly)return XC(t.assertClause,e.Diagnostics.Import_assertions_cannot_be_used_with_type_only_imports_or_exports)}}function pS(t){if(!fS(t,e.isInJSFile(t)?e.Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:e.Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!CC(t)&&e.hasEffectiveModifiers(t)&&$C(t,e.Diagnostics.An_import_declaration_cannot_have_modifiers),aS(t)){var r=t.importClause;r&&!function(t){var r;return t.isTypeOnly&&t.name&&t.namedBindings?XC(t,e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both):!(!t.isTypeOnly||268!==(null===(r=t.namedBindings)||void 0===r?void 0:r.kind))&&tT(t.namedBindings)}(r)&&(r.name&&uS(r),r.namedBindings)&&(267===r.namedBindings.kind?(uS(r.namedBindings),V!==e.ModuleKind.System&&(V<e.ModuleKind.ES2015||e.getSourceFileOfNode(t).impliedNodeFormat===e.ModuleKind.CommonJS)&&e.getESModuleInterop(N)&&EC(t,65536)):Ki(t,t.moduleSpecifier)&&e.forEach(r.namedBindings.elements,uS))}lS(t)}}function dS(t){if(!fS(t,e.isInJSFile(t)?e.Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:e.Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!CC(t)&&e.hasEffectiveModifiers(t)&&$C(t,e.Diagnostics.An_export_declaration_cannot_have_modifiers),t.moduleSpecifier&&t.exportClause&&e.isNamedExports(t.exportClause)&&e.length(t.exportClause.elements)&&0===q&&EC(t,4194304),function(t){var r;!!t.isTypeOnly&&(272===(null===(r=t.exportClause)||void 0===r?void 0:r.kind)?tT(t.exportClause):XC(t,e.Diagnostics.Only_named_exports_may_use_export_type))}(t),!t.moduleSpecifier||aS(t))if(t.exportClause&&!e.isNamespaceExport(t.exportClause)){e.forEach(t.exportClause.elements,gS);var r=261===t.parent.kind&&e.isAmbientModule(t.parent.parent),n=!r&&261===t.parent.kind&&!t.moduleSpecifier&&8388608&t.flags;303!==t.parent.kind&&!r&&!n&&In(t,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var i=Ki(t,t.moduleSpecifier);i&&Hi(i)?In(t.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Ma(i)):t.exportClause&&oS(t.exportClause),V!==e.ModuleKind.System&&(V<e.ModuleKind.ES2015||e.getSourceFileOfNode(t).impliedNodeFormat===e.ModuleKind.CommonJS)&&(t.exportClause?e.getESModuleInterop(N)&&EC(t,65536):EC(t,32768))}lS(t)}}function fS(e,t){var r=303===e.parent.kind||261===e.parent.kind||260===e.parent.kind;return r||$C(e,t),!r}function _S(t){return e.isImportDeclaration(t)&&t.importClause&&!t.importClause.isTypeOnly&&function(t){return e.forEachImportClauseDeclaration(t,(function(e){return!!ra(e).isReferenced}))}(t.importClause)&&!eC(t.importClause,!0)&&!function(t){return e.forEachImportClauseDeclaration(t,(function(e){return!!$n(ra(e)).constEnumReferenced}))}(t.importClause)}function mS(t){return e.isImportEqualsDeclaration(t)&&e.isExternalModuleReference(t.moduleReference)&&!t.isTypeOnly&&ra(t).isReferenced&&!eC(t,!1)&&!$n(ra(t)).constEnumReferenced}function gS(t){if(oS(t),e.getEmitDeclarations(N)&&Xa(t.propertyName||t.name,!0),t.parent.parent.moduleSpecifier)e.getESModuleInterop(N)&&V!==e.ModuleKind.System&&(V<e.ModuleKind.ES2015||e.getSourceFileOfNode(t).impliedNodeFormat===e.ModuleKind.CommonJS)&&"default"===e.idText(t.propertyName||t.name)&&EC(t,131072);else{var r=t.propertyName||t.name,n=ti(r,r.escapedText,2998271,void 0,void 0,!0);if(n&&(n===se||n===ce||n.declarations&&Xn(ro(n.declarations[0]))))In(r,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,e.idText(r));else{Oi(t);var i=n&&(2097152&n.flags?Pi(n):n);(!i||i===Ae||111551&i.flags)&&Sb(t.propertyName||t.name)}}}function hS(t){var r=ra(t),n=$n(r);if(!n.exportsChecked){var i=r.exports.get("export=");if(i&&function(t){return e.forEachEntry(t.exports,(function(e,t){return"export="!==t}))}(r)){var a=fi(i)||i.valueDeclaration;a&&!Wa(a)&&!e.isInJSFile(a)&&In(a,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}var o=Qi(r);o&&o.forEach((function(t,r){var n=t.declarations,i=t.flags;if("__export"!==r&&!(1984&i)){var a=e.countWhere(n,P);if(!(524288&i&&a<=2)&&a>1&&!yS(n))for(var o=0,s=n;o<s.length;o++){var c=s[o];B(c)&&gn.add(e.createDiagnosticForNode(c,e.Diagnostics.Cannot_redeclare_exported_variable_0,e.unescapeLeadingUnderscores(r)))}}})),n.exportsChecked=!0}}function yS(t){return t&&t.length>1&&t.every((function(t){return e.isInJSFile(t)&&e.isAccessExpression(t)&&(e.isExportsIdentifier(t.expression)||e.isModuleExportsAccessExpression(t.expression))}))}function vS(t){if(t){var i=p;p=t,x=0,function(t){e.isInJSFile(t)&&e.forEach(t.jsDoc,(function(t){var r=t.tags;return e.forEach(r,vS)}));var i=t.kind;if(n)switch(i){case 260:case 256:case 257:case 255:n.throwIfCancellationRequested()}switch(i>=236&&i<=252&&t.flowNode&&!Hg(t.flowNode)&&Ln(!1===N.allowUnreachableCode,t,e.Diagnostics.Unreachable_code_detected),i){case 162:return qb(t);case 163:return Vb(t);case 166:return $b(t);case 165:return function(t){return e.isPrivateIdentifier(t.name)&&In(t,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),$b(t)}(t);case 179:case 178:case 173:case 174:case 175:return Wb(t);case 168:case 167:return function(t){JC(t)||OC(t.name),kx(t),e.hasSyntacticModifier(t,128)&&168===t.kind&&t.body&&In(t,e.Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,e.declarationNameToString(t.name)),e.isPrivateIdentifier(t.name)&&!e.getContainingClass(t)&&In(t,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),Yb(t)}(t);case 169:return function(t){CC(t),e.forEachChild(t,vS)}(t);case 170:return Xb(t);case 171:case 172:return Zb(t);case 177:return nx(t);case 176:return function(t){var r=function(e){switch(e.parent.kind){case 213:case 173:case 255:case 212:case 178:case 168:case 167:var t=e.parent;if(e===t.type)return t}}(t);if(r){var n=xu(r),i=Au(n);if(i){vS(t.type);var a=t.parameterName;if(0===i.kind||2===i.kind)Sd(a);else if(i.parameterIndex>=0)J(n)&&i.parameterIndex===n.parameters.length-1?In(a,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter):i.type&&hf(i.type,Yo(n.parameters[i.parameterIndex]),t.type,void 0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)}));else if(a){for(var o=!1,s=0,c=r.parameters;s<c.length;s++){var u=c[s].name;if(e.isBindingPattern(u)&&zb(u,a,i.parameterName)){o=!0;break}}o||In(t.parameterName,e.Diagnostics.Cannot_find_parameter_0,i.parameterName)}}}else In(t,e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods)}(t);case 180:return function(e){Dl(e)}(t);case 181:return function(t){if(e.forEach(t.members,vS),r){var n=od(t);BE(n,n.symbol),Gb(t),Hb(t)}}(t);case 182:return function(e){vS(e.elementType)}(t);case 183:return function(t){for(var r=t.elements,n=!1,i=!1,a=e.some(r,e.isNamedTupleMember),o=0,s=r;o<s.length;o++){var c=s[o];if(196!==c.kind&&a){XC(c,e.Diagnostics.Tuple_members_must_all_have_names_or_all_not_have_names);break}var u=Kl(c);if(8&u){var l=kd(c.type);if(!d_(l)){In(c,e.Diagnostics.A_rest_element_type_must_be_an_array_type);break}(c_(l)||k_(l)&&4&l.target.combinedFlags)&&(i=!0)}else if(4&u){if(i){XC(c,e.Diagnostics.A_rest_element_cannot_follow_another_rest_element);break}i=!0}else if(2&u){if(i){XC(c,e.Diagnostics.An_optional_element_cannot_follow_a_rest_element);break}n=!0}else if(n){XC(c,e.Diagnostics.A_required_element_cannot_follow_an_optional_element);break}}e.forEach(t.elements,vS),kd(t)}(t);case 186:case 187:return function(t){e.forEach(t.types,vS),kd(t)}(t);case 190:case 184:case 185:return vS(t.type);case 191:return function(e){Sd(e)}(t);case 192:return ox(t);case 188:return function(t){e.forEachChild(t,vS)}(t);case 189:return function(t){e.findAncestor(t,(function(e){return e.parent&&188===e.parent.kind&&e.parent.extendsType===e}))||XC(t,e.Diagnostics.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),vS(t.typeParameter),Ax(t)}(t);case 197:return function(e){for(var t=0,r=e.templateSpans;t<r.length;t++){var n=r[t];vS(n.type),hf(kd(n.type),ft,n.type)}kd(e)}(t);case 199:return function(e){vS(e.argument),kd(e)}(t);case 196:return function(t){t.dotDotDotToken&&t.questionToken&&XC(t,e.Diagnostics.A_tuple_member_cannot_be_both_optional_and_rest),184===t.type.kind&&XC(t.type,e.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type),185===t.type.kind&&XC(t.type,e.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),vS(t.type),kd(t)}(t);case 326:return function(t){var r=e.getEffectiveJSDocHost(t);if(r&&(e.isClassDeclaration(r)||e.isClassExpression(r))){var n=e.getJSDocTags(r).filter(e.isJSDocAugmentsTag);e.Debug.assert(n.length>0),n.length>1&&In(n[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var i=Tx(t.class.expression),a=e.getClassExtendsHeritageElement(r);if(a){var o=Tx(a.expression);o&&i.escapedText!==o.escapedText&&In(i,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(t.tagName),e.idText(i),e.idText(o))}}else In(r,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(t.tagName))}(t);case 327:return function(t){var r=e.getEffectiveJSDocHost(t);(!r||!e.isClassDeclaration(r)&&!e.isClassExpression(r))&&In(r,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(t.tagName))}(t);case 343:case 336:case 337:return function(t){t.typeExpression||In(t.name,e.Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),t.name&&JE(t.name,e.Diagnostics.Type_alias_name_cannot_be_0),vS(t.typeExpression),UE(e.getEffectiveTypeParameterDeclarations(t))}(t);case 342:return function(e){vS(e.constraint);for(var t=0,r=e.typeParameters;t<r.length;t++)vS(r[t])}(t);case 341:case 338:case 345:return function(e){vS(e.typeExpression)}(t);case 315:!function(t){r&&!t.type&&!e.isJSDocConstructSignature(t)&&am(t,we),Wb(t)}(t);case 313:case 312:case 310:case 311:case 320:return DS(t),void e.forEachChild(t,vS);case 316:return void function(t){DS(t),vS(t.type);var r=t.parent;if(e.isParameter(r)&&e.isJSDocFunctionType(r.parent))e.last(r.parent.parameters)!==r&&In(t,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);else{e.isJSDocTypeExpression(r)||In(t,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var n=t.parent.parent;if(e.isJSDocParameterTag(n)){var i=e.getParameterSymbolFromJSDoc(n);if(i){var a=e.getHostSignatureFromJSDoc(n);(!a||e.last(a.parameters).symbol!==i)&&In(t,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}else In(t,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature)}}(t);case 307:return vS(t.type);case 331:case 333:case 332:return function(t){var r=e.getJSDocHost(t);r&&e.isPrivateIdentifierClassElementDeclaration(r)&&In(t,e.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}(t);case 193:return function(e){vS(e.objectType),vS(e.indexType),ix(Hp(e),e)}(t);case 194:return ax(t);case 255:return function(e){r&&(kx(e),LC(e),$x(e,e.name))}(t);case 234:case 261:return qx(t);case 236:return rE(t);case 237:return function(e){ZC(e),Ub(e.expression)}(t);case 238:return function(t){ZC(t);var r=aE(t.expression);nE(t.expression,r,t.thenStatement),vS(t.thenStatement),235===t.thenStatement.kind&&In(t.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),vS(t.elseStatement)}(t);case 239:return function(e){ZC(e),vS(e.statement),aE(e.expression)}(t);case 240:return function(e){ZC(e),aE(e.expression),vS(e.statement)}(t);case 241:return function(t){ZC(t)||t.initializer&&254===t.initializer.kind&&WC(t.initializer),t.initializer&&(254===t.initializer.kind?e.forEach(t.initializer.declarations,eE):Ub(t.initializer)),t.condition&&aE(t.condition),t.incrementor&&Ub(t.incrementor),vS(t.statement),t.locals&&Ax(t)}(t);case 242:return oE(t);case 243:return function(t){BC(t);var r=e.getContainingFunctionOrClassStaticBlock(t);if(t.awaitModifier?r&&e.isClassStaticBlockDeclaration(r)?XC(t.awaitModifier,e.Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block):2==(6&e.getFunctionFlags(r))&&q<99&&EC(t,16384):N.downlevelIteration&&q<2&&EC(t,256),254===t.initializer.kind)sE(t);else{var n=t.initializer,i=cE(t);if(203===n.kind||204===n.kind)gb(n,i||Le);else{var a=Ub(n);ob(n,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),i&&yf(i,a,n,t.expression)}}vS(t.statement),t.locals&&Ax(t)}(t);case 244:case 245:return OE(t);case 246:return function(t){var r;if(!ZC(t)){var n=e.getContainingFunctionOrClassStaticBlock(t);if(n&&e.isClassStaticBlockDeclaration(n))return void $C(t,e.Diagnostics.A_return_statement_cannot_be_used_inside_a_class_static_block);if(!n)return void $C(t,e.Diagnostics.A_return_statement_can_only_be_used_within_a_function_body);var i=Pu(xu(n)),a=e.getFunctionFlags(n);if(H||t.expression||131072&i.flags){var o=t.expression?Sb(t.expression):Je;if(172===n.kind)t.expression&&In(t,e.Diagnostics.Setters_cannot_return_a_value);else if(170===n.kind)t.expression&&!yf(o,i,t,t.expression)&&In(t,e.Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(Fu(n)){var s=null!==(r=LE(i,a))&&void 0!==r?r:i,c=2&a?fx(o,!1,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):o;s&&yf(c,s,t,t.expression)}}else 170!==n.kind&&N.noImplicitReturns&&!ME(n,i)&&In(t,e.Diagnostics.Not_all_code_paths_return_a_value)}}(t);case 247:return function(t){ZC(t)||32768&t.flags&&$C(t,e.Diagnostics.with_statements_are_not_allowed_in_an_async_function_block),Ub(t.expression);var r=e.getSourceFileOfNode(t);if(!GC(r)){var n=e.getSpanOfTokenAtPosition(r,t.pos).start;YC(r,n,t.statement.pos-n,e.Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}(t);case 248:return function(t){ZC(t);var n,i=!1,a=Ub(t.expression),o=b_(a);e.forEach(t.caseBlock.clauses,(function(t){if(289===t.kind&&!i&&(void 0===n?n=t:(XC(t,e.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),i=!0)),r&&288===t.kind){var s=Ub(t.expression),c=b_(s),u=a;(!c||!o)&&(s=c?x_(s):s,u=x_(a)),yb(u,s)||kf(s,u,t.expression,void 0)}e.forEach(t.statements,vS),N.noFallthroughCasesInSwitch&&t.fallthroughFlowNode&&Hg(t.fallthroughFlowNode)&&In(t,e.Diagnostics.Fallthrough_case_in_switch)})),t.caseBlock.locals&&Ax(t.caseBlock)}(t);case 249:return function(t){ZC(t)||e.findAncestor(t.parent,(function(r){return e.isFunctionLike(r)?"quit":249===r.kind&&r.label.escapedText===t.label.escapedText&&(XC(t.label,e.Diagnostics.Duplicate_label_0,e.getTextOfNode(t.label)),!0)})),vS(t.statement)}(t);case 250:return RE(t);case 251:return function(t){ZC(t),qx(t.tryBlock);var r=t.catchClause;if(r){if(r.variableDeclaration){var n=r.variableDeclaration,i=e.getEffectiveTypeAnnotationNode(e.getRootDeclaration(n));if(i){var a=vo(n,!1,0);a&&!(3&a.flags)&&$C(i,e.Diagnostics.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified)}else if(n.initializer)$C(n.initializer,e.Diagnostics.Catch_clause_variable_cannot_have_an_initializer);else{var o=r.block.locals;o&&e.forEachKey(r.locals,(function(t){var r=o.get(t);(null==r?void 0:r.valueDeclaration)&&0!=(2&r.flags)&&XC(r.valueDeclaration,e.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause,t)}))}}qx(r.block)}t.finallyBlock&&qx(t.finallyBlock)}(t);case 253:return eE(t);case 202:return tE(t);case 256:return function(t){e.some(t.decorators)&&e.some(t.members,(function(t){return e.hasStaticModifier(t)&&e.isPrivateIdentifierClassElementDeclaration(t)}))&&XC(t.decorators[0],e.Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),!t.name&&!e.hasSyntacticModifier(t,512)&&$C(t,e.Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name),zE(t),e.forEach(t.members,vS),Ax(t)}(t);case 257:return QE(t);case 258:return function(t){CC(t),JE(t.name,e.Diagnostics.Type_alias_name_cannot_be_0),lx(t),UE(t.typeParameters),138===t.type.kind?(!w.has(t.name.escapedText)||1!==e.length(t.typeParameters))&&In(t.type,e.Diagnostics.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types):(vS(t.type),Ax(t))}(t);case 259:return function(t){if(r){CC(t),$x(t,t.name),lx(t),t.members.forEach(rS),ZE(t);var n=ra(t);if(t===e.getDeclarationOfKind(n,t.kind)){if(n.declarations&&n.declarations.length>1){var i=e.isEnumConst(t);e.forEach(n.declarations,(function(t){e.isEnumDeclaration(t)&&e.isEnumConst(t)!==i&&In(e.getNameOfDeclaration(t),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}))}var a=!1;e.forEach(n.declarations,(function(t){if(259!==t.kind)return!1;var r=t;if(!r.members.length)return!1;var n=r.members[0];n.initializer||(a?In(n.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):a=!0)}))}}}(t);case 260:return nS(t);case 265:return pS(t);case 264:return function(t){if(!fS(t,e.isInJSFile(t)?e.Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:e.Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)&&(CC(t),e.isInternalModuleImportEqualsDeclaration(t)||aS(t)))if(uS(t),e.hasSyntacticModifier(t,1)&&Oi(t),276!==t.moduleReference.kind){var r=Pi(ra(t));if(r!==Ae){if(111551&r.flags){var n=e.getFirstIdentifier(t.moduleReference);1920&Bi(n,112575).flags||In(n,e.Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,e.declarationNameToString(n))}788968&r.flags&&JE(t.name,e.Diagnostics.Import_name_cannot_be_0)}t.isTypeOnly&&XC(t,e.Diagnostics.An_import_alias_cannot_use_import_type)}else V>=e.ModuleKind.ES2015&&void 0===e.getSourceFileOfNode(t).impliedNodeFormat&&!t.isTypeOnly&&!(8388608&t.flags)&&XC(t,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)}(t);case 271:return dS(t);case 270:return function(t){if(!fS(t,t.isExportEquals?e.Diagnostics.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:e.Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration)){var r=303===t.parent.kind?t.parent:t.parent.parent;if(260===r.kind&&!e.isAmbientModule(r))return void(t.isExportEquals?In(t,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace):In(t,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module));!CC(t)&&e.hasEffectiveModifiers(t)&&$C(t,e.Diagnostics.An_export_assignment_cannot_have_modifiers);var n=e.getEffectiveTypeAnnotationNode(t);if(n&&hf(Sb(t.expression),kd(n),t.expression),79===t.expression.kind){var i=t.expression,a=Bi(i,67108863,!0,!0,t);if(a){sh(a,i);var o=2097152&a.flags?Pi(a):a;(o===Ae||111551&o.flags)&&Sb(t.expression)}else Sb(t.expression);e.getEmitDeclarations(N)&&Xa(t.expression,!0)}else Sb(t.expression);hS(r),8388608&t.flags&&!e.isEntityNameExpression(t.expression)&&XC(t.expression,e.Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),t.isExportEquals&&!(8388608&t.flags)&&(V>=e.ModuleKind.ES2015&&e.getSourceFileOfNode(t).impliedNodeFormat!==e.ModuleKind.CommonJS?XC(t,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):V===e.ModuleKind.System&&XC(t,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}}(t);case 235:case 252:return void ZC(t);case 275:(function(e){Cx(e)})(t)}}(t),p=i}}function DS(t){e.isInJSFile(t)||XC(t,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function bS(t){var r=Yn(e.getSourceFileOfNode(t));1&r.flags||(r.deferredNodes||(r.deferredNodes=new e.Set),r.deferredNodes.add(t))}function xS(t){null===e.tracing||void 0===e.tracing||e.tracing.push("check","checkDeferredNode",{kind:t.kind,pos:t.pos,end:t.end,path:t.tracingPath});var r=p;switch(p=t,x=0,t.kind){case 207:case 208:case 209:case 164:case 279:vv(t);break;case 212:case 213:case 168:case 167:!function(t){e.Debug.assert(168!==t.kind||e.isObjectLiteralMethod(t));var r=e.getFunctionFlags(t),n=Fu(t);if(eb(t,n),t.body)if(e.getEffectiveReturnTypeNode(t)||Pu(xu(t)),234===t.body.kind)vS(t.body);else{var i=Ub(t.body),a=n&&LE(n,r);a&&yf(2==(3&r)?fx(i,!1,t.body,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):i,a,t.body,t.body)}}(t);break;case 171:case 172:Zb(t);break;case 225:!function(t){e.forEach(t.members,vS),Ax(t)}(t);break;case 278:!function(e){Sy(e)}(t);break;case 277:!function(e){Sy(e.openingElement),sy(e.closingElement.tagName)?fy(e.closingElement):Ub(e.closingElement.tagName),uy(e)}(t)}p=r,null===e.tracing||void 0===e.tracing||e.tracing.pop()}function ES(r){null===e.tracing||void 0===e.tracing||e.tracing.push("check","checkSourceFile",{path:r.path},!0),e.performance.mark("beforeCheck"),function(r){var n=Yn(r);if(!(1&n.flags)){if(e.skipTypeChecking(r,N,t))return;(function(t){!!(8388608&t.flags)&&function(t){for(var r=0,n=t.statements;r<n.length;r++){var i=n[r];if((e.isDeclaration(i)||236===i.kind)&&QC(i))return!0}}(t)})(r),e.clear(pn),e.clear(dn),e.clear(fn),e.clear(_n),e.forEach(r.statements,vS),vS(r.endOfFileToken),function(e){var t=Yn(e);t.deferredNodes&&t.deferredNodes.forEach(xS)}(r),e.isExternalOrCommonJsModule(r)&&Ax(r),!r.isDeclarationFile&&(N.noUnusedLocals||N.noUnusedParameters)&&Nx(CS(r),(function(t,r,n){!e.containsParseError(t)&&SS(r,!!(8388608&t.flags))&&gn.add(n)})),2===N.importsNotUsedAsValues&&!r.isDeclarationFile&&e.isExternalModule(r)&&function(t){for(var r=0,n=t.statements;r<n.length;r++){var i=n[r];(_S(i)||mS(i))&&In(i,e.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error)}}(r),e.isExternalOrCommonJsModule(r)&&hS(r),pn.length&&(e.forEach(pn,zx),e.clear(pn)),dn.length&&(e.forEach(dn,Wx),e.clear(dn)),fn.length&&(e.forEach(fn,Hx),e.clear(fn)),_n.length&&(e.forEach(_n,Gx),e.clear(_n)),n.flags|=1}}(r),e.performance.mark("afterCheck"),e.performance.measure("Check","beforeCheck","afterCheck"),null===e.tracing||void 0===e.tracing||e.tracing.pop()}function SS(t,r){if(r)return!1;switch(t){case 0:return!!N.noUnusedLocals;case 1:return!!N.noUnusedParameters;default:return e.Debug.assertNever(t)}}function CS(t){return Kr.get(t.path)||e.emptyArray}function TS(r,i){try{return n=i,function(r){if(kS(),r){var n=gn.getGlobalDiagnostics(),i=n.length;ES(r);var a=gn.getDiagnostics(r.fileName),o=gn.getGlobalDiagnostics();if(o!==n){var s=e.relativeComplement(n,o,e.compareDiagnostics);return e.concatenate(s,a)}return 0===i&&o.length>0?e.concatenate(o,a):a}return e.forEach(t.getSourceFiles(),ES),gn.getDiagnostics()}(r)}finally{n=void 0}}function kS(){if(!r)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function AS(e){switch(e.kind){case 162:case 256:case 257:case 258:case 259:case 343:case 336:case 337:return!0;case 266:return e.isTypeOnly;case 269:case 274:return e.parent.parent.isTypeOnly;default:return!1}}function NS(e){for(;160===e.parent.kind;)e=e.parent;return 177===e.parent.kind}function PS(t,r){for(var n;(t=e.getContainingClass(t))&&!(n=r(t)););return n}function FS(e,t){return!!PS(e,(function(e){return e===t}))}function wS(e){return void 0!==function(e){for(;160===e.parent.kind;)e=e.parent;return 264===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:270===e.parent.kind&&e.parent.expression===e?e.parent:void 0}(e)}function IS(t){if(e.isDeclarationName(t))return ra(t.parent);if(e.isInJSFile(t)&&205===t.parent.kind&&t.parent===t.parent.parent.left&&!e.isPrivateIdentifier(t)&&!e.isJSDocMemberName(t)){var r=function(t){switch(e.getAssignmentDeclarationKind(t.parent.parent)){case 1:case 3:return ra(t.parent);case 4:case 2:case 5:return ra(t.parent.parent)}}(t);if(r)return r}if(270===t.parent.kind&&e.isEntityNameExpression(t)){var n=Bi(t,2998271,!0);if(n&&n!==Ae)return n}else if(e.isEntityName(t)&&wS(t)){var i=e.getAncestor(t,264);return e.Debug.assert(void 0!==i),Mi(t,!0)}if(e.isEntityName(t)){var a=function(t){for(var r=t.parent;e.isQualifiedName(r);)t=r,r=r.parent;if(r&&199===r.kind&&r.qualifier===t)return r}(t);if(a){kd(a);var o=Yn(t).resolvedSymbol;return o===Ae?void 0:o}}for(;e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(t);)t=t.parent;if(function(e){for(;205===e.parent.kind;)e=e.parent;return 227===e.parent.kind}(t)){var s=0;227===t.parent.kind?(s=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)&&(s|=111551)):s=1920,s|=2097152;var c=e.isEntityNameExpression(t)?Bi(t,s):void 0;if(c)return c}if(338===t.parent.kind)return e.getParameterSymbolFromJSDoc(t.parent);if(162===t.parent.kind&&342===t.parent.parent.kind){e.Debug.assert(!e.isInJSFile(t));var u=e.getTypeParameterFromJsDoc(t.parent);return u&&u.symbol}if(e.isExpressionNode(t)){if(e.nodeIsMissing(t))return;var l=e.findAncestor(t,e.or(e.isJSDocLinkLike,e.isJSDocNameReference,e.isJSDocMemberName));if(s=l?901119:111551,79===t.kind){if(e.isJSXTagName(t)&&sy(t))return(_=fy(t.parent))===Ae?void 0:_;var p=Bi(t,s,!1,!l,e.getHostSignatureFromJSDoc(t));if(!p&&l){var d=e.findAncestor(t,e.or(e.isClassLike,e.isInterfaceDeclaration));if(d)return OS(t,ra(d))}return p}if(e.isPrivateIdentifier(t))return Wy(t);if(205===t.kind||160===t.kind){var f=Yn(t);return f.resolvedSymbol?f.resolvedSymbol:(205===t.kind?Jy(t,0):Uy(t,0),!f.resolvedSymbol&&l&&e.isQualifiedName(t)?OS(t):f.resolvedSymbol)}if(e.isJSDocMemberName(t))return OS(t)}else if(NS(t)){var _;return(_=Bi(t,s=177===t.parent.kind?788968:1920,!1,!0))&&_!==Ae?_:cl(t)}return 176===t.parent.kind?Bi(t,1):void 0}function OS(t,r){if(e.isEntityName(t)){var n=901119,i=Bi(t,n,!1,!0,e.getHostSignatureFromJSDoc(t));if(!i&&e.isIdentifier(t)&&r&&(i=ta(Qn(Xi(r),t.escapedText,n))),i)return i}var a=e.isIdentifier(t)?r:OS(t.left),o=e.isIdentifier(t)?t.escapedText:t.right.escapedText;if(a){var s=111551&a.flags&&eu(Yo(a),"prototype");return eu(s?Yo(s):Ss(a),o)}}function LS(t,r){if(303===t.kind)return e.isExternalModule(t)?ta(t.symbol):void 0;var n=t.parent,i=n.parent;if(!(16777216&t.flags)){if(j(t)){var a=ra(n);return e.isImportOrExportSpecifier(t.parent)&&t.parent.propertyName===t?ny(a):a}if(e.isLiteralComputedPropertyDeclarationName(t))return ra(n.parent);if(79===t.kind){if(wS(t))return IS(t);if(202===n.kind&&200===i.kind&&t===n.propertyName){if(o=eu(MS(i),t.escapedText))return o}else if(e.isMetaProperty(n)){var o;if(o=eu(MS(n),t.escapedText))return o;if(103===n.keywordToken)return SD(n).symbol}}switch(t.kind){case 79:case 80:case 205:case 160:if(!e.isThisInTypeQuery(t))return IS(t);case 108:var s=e.getThisContainer(t,!1);if(e.isFunctionLike(s)){var c=xu(s);if(c.thisParameter)return c.thisParameter}if(e.isInExpressionContext(t))return Ub(t).symbol;case 191:return Sd(t).symbol;case 106:return Ub(t).symbol;case 134:var u=t.parent;return u&&170===u.kind?u.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(t.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(t.parent.parent)===t||(265===t.parent.kind||271===t.parent.kind)&&t.parent.moduleSpecifier===t||e.isInJSFile(t)&&e.isRequireCall(t.parent,!1)||e.isImportCall(t.parent)||e.isLiteralTypeNode(t.parent)&&e.isLiteralImportTypeNode(t.parent.parent)&&t.parent.parent.argument===t.parent)return Ki(t,t,r);if(e.isCallExpression(n)&&e.isBindableObjectDefinePropertyCall(n)&&n.arguments[1]===t)return ra(n);case 8:var l=e.isElementAccessExpression(n)?n.argumentExpression===t?jb(n.expression):void 0:e.isLiteralTypeNode(n)&&e.isIndexedAccessTypeNode(i)?kd(i.objectType):void 0;return l&&eu(l,e.escapeLeadingUnderscores(t.text));case 88:case 98:case 38:case 84:return ra(t.parent);case 199:return e.isLiteralImportTypeNode(t)?LS(t.argument.literal,r):void 0;case 93:return e.isExportAssignment(t.parent)?e.Debug.checkDefined(t.parent.symbol):void 0;case 100:case 103:return e.isMetaProperty(t.parent)?ED(t.parent).symbol:void 0;case 230:return Ub(t).symbol;default:return}}}function MS(t){if(e.isSourceFile(t)&&!e.isExternalModule(t)||16777216&t.flags)return Le;var r,n=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(t),i=n&&ms(ra(n.class));if(e.isPartOfTypeNode(t)){var a=kd(t);return i?Vs(a,i.thisType):a}if(e.isExpressionNode(t))return BS(t);if(i&&!n.isImplements){var o=e.firstOrUndefined(ds(i));return o?Vs(o,i.thisType):Le}if(AS(t))return Ss(r=ra(t));if(function(t){return 79===t.kind&&AS(t.parent)&&e.getNameOfDeclaration(t.parent)===t}(t))return(r=LS(t))?Ss(r):Le;if(e.isDeclaration(t))return Yo(r=ra(t));if(j(t))return(r=LS(t))?Yo(r):Le;if(e.isBindingPattern(t))return vo(t.parent,!0,0)||Le;if(wS(t)&&(r=LS(t))){var s=Ss(r);return ao(s)?Yo(r):s}return e.isMetaProperty(t.parent)&&t.parent.keywordToken===t.kind?ED(t.parent):Le}function RS(t){if(e.Debug.assert(204===t.kind||203===t.kind),243===t.parent.kind)return gb(t,cE(t.parent)||Le);if(220===t.parent.kind)return gb(t,jb(t.parent.right)||Le);if(294===t.parent.kind){var r=e.cast(t.parent.parent,e.isObjectLiteralExpression);return _b(r,RS(r)||Le,e.indexOfNode(r.properties,t.parent))}var n=e.cast(t.parent,e.isArrayLiteralExpression),i=RS(n)||Le,a=uE(65,i,Je,t.parent)||Le;return mb(n,i,n.elements.indexOf(t),a)}function BS(t){return e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),hd(jb(t))}function jS(t){var r=ra(t.parent);return e.isStatic(t)?Yo(r):Ss(r)}function KS(t){var r=t.name;switch(r.kind){case 79:return vd(e.idText(r));case 8:case 10:return vd(r.text);case 161:var n=Zh(r);return lb(n,12288)?n:He;default:return e.Debug.fail("Unsupported property name.")}}function JS(t){t=Vc(t);var r=e.createSymbolTable(Ac(t)),n=ru(t,0).length?It:ru(t,1).length?Ot:void 0;return n&&e.forEach(Ac(n),(function(e){r.has(e.escapedName)||r.set(e.escapedName,e)})),ha(r)}function US(t){return e.typeHasCallOrConstructSignatures(t,de)}function qS(t){if(e.isGeneratedIdentifier(t))return!1;var r=e.getParseTreeNode(t,e.isIdentifier);if(!r)return!1;var n=r.parent;return!(!n||(e.isPropertyAccessExpression(n)||e.isPropertyAssignment(n))&&n.name===r||gC(r)!==le)}function VS(t){var r=Ki(t.parent,t);if(!r||e.isShorthandAmbientModuleSymbol(r))return!0;var n=Hi(r),i=$n(r=Vi(r));return void 0===i.exportsSomeValue&&(i.exportsSomeValue=n?!!(111551&r.flags):e.forEachEntry(Qi(r),(function(e){return(e=Ni(e))&&!!(111551&e.flags)}))),i.exportsSomeValue}function zS(t,r){var n,i=e.getParseTreeNode(t,e.isIdentifier);if(i){var a=gC(i,function(t){return e.isModuleOrEnumDeclaration(t.parent)&&t===t.parent.name}(i));if(a){if(1048576&a.flags){var o=ta(a.exportSymbol);if(!r&&944&o.flags&&!(3&o.flags))return;a=o}var s=na(a);if(s){if(512&s.flags&&303===(null===(n=s.valueDeclaration)||void 0===n?void 0:n.kind)){var c=s.valueDeclaration;return c!==e.getSourceFileOfNode(i)?void 0:c}return e.findAncestor(i.parent,(function(t){return e.isModuleOrEnumDeclaration(t)&&ra(t)===s}))}}}}function WS(t){if(t.generatedImportReference)return t.generatedImportReference;var r=e.getParseTreeNode(t,e.isIdentifier);if(r){var n=gC(r);if(Ai(n,111551)&&!Ii(n))return fi(n)}}function HS(t){if(418&t.flags&&t.valueDeclaration&&!e.isSourceFile(t.valueDeclaration)){var r=$n(t);if(void 0===r.isDeclarationWithCollidingName){var n=e.getEnclosingBlockScopeContainer(t.valueDeclaration);if(e.isStatementWithLocals(n)||function(t){return t.valueDeclaration&&e.isBindingElement(t.valueDeclaration)&&291===e.walkUpBindingElementsAndPatterns(t.valueDeclaration).parent.kind}(t)){var i=Yn(t.valueDeclaration);if(ti(n.parent,t.escapedName,111551,void 0,void 0,!1))r.isDeclarationWithCollidingName=!0;else if(262144&i.flags){var a=524288&i.flags,o=e.isIterationStatement(n,!1),s=234===n.kind&&e.isIterationStatement(n.parent,!1);r.isDeclarationWithCollidingName=!(e.isBlockScopedContainerTopLevel(n)||a&&(o||s))}else r.isDeclarationWithCollidingName=!1}}return r.isDeclarationWithCollidingName}return!1}function GS(t){if(!e.isGeneratedIdentifier(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r){var n=gC(r);if(n&&HS(n))return n.valueDeclaration}}}function $S(t){var r=e.getParseTreeNode(t,e.isDeclaration);if(r){var n=ra(r);if(n)return HS(n)}return!1}function YS(t){switch(t.kind){case 264:return QS(ra(t));case 266:case 267:case 269:case 274:var r=ra(t);return!!r&&QS(r)&&!Ii(r);case 271:var n=t.exportClause;return!!n&&(e.isNamespaceExport(n)||e.some(n.elements,YS));case 270:return!t.expression||79!==t.expression.kind||QS(ra(t))}return!1}function XS(t){var r=e.getParseTreeNode(t,e.isImportEqualsDeclaration);return!(void 0===r||303!==r.parent.kind||!e.isInternalModuleImportEqualsDeclaration(r))&&QS(ra(r))&&r.moduleReference&&!e.nodeIsMissing(r.moduleReference)}function QS(t){if(!t)return!1;var r=ca(Pi(t));return r===Ae||!!(111551&r.flags)&&(e.shouldPreserveConstEnums(N)||!ZS(r))}function ZS(e){return fb(e)||!!e.constEnumOnlyModule}function eC(t,r){if(_i(t)){var n=ra(t),i=n&&$n(n);if(null!=i&&i.referenced)return!0;var a=$n(n).target;if(a&&1&e.getEffectiveModifierFlags(t)&&111551&a.flags&&(e.shouldPreserveConstEnums(N)||!ZS(a)))return!0}return!!r&&!!e.forEachChild(t,(function(e){return eC(e,r)}))}function tC(t){if(e.nodeIsPresent(t.body)){if(e.isGetAccessor(t)||e.isSetAccessor(t))return!1;var r=Cu(ra(t));return r.length>1||1===r.length&&r[0].declaration!==t}return!1}function rC(t){return!(!H||hu(t)||e.isJSDocParameterTag(t)||!t.initializer||e.hasSyntacticModifier(t,16476))}function nC(t){return H&&hu(t)&&!t.initializer&&e.hasSyntacticModifier(t,16476)}function iC(t){var r=e.getParseTreeNode(t,e.isFunctionDeclaration);if(!r)return!1;var n=ra(r);return!!(n&&16&n.flags)&&!!e.forEachEntry(Xi(n),(function(t){return 111551&t.flags&&t.valueDeclaration&&e.isPropertyAccessExpression(t.valueDeclaration)}))}function aC(t){var r=e.getParseTreeNode(t,e.isFunctionDeclaration);if(!r)return e.emptyArray;var n=ra(r);return n&&Ac(Yo(n))||e.emptyArray}function oC(e){var t,r=e.id||0;return r<0||r>=tn.length?0:(null===(t=tn[r])||void 0===t?void 0:t.flags)||0}function sC(e){return ZE(e.parent),Yn(e).enumMemberValue}function cC(e){switch(e.kind){case 297:case 205:case 206:return!0}return!1}function uC(t){if(297===t.kind)return sC(t);var r=Yn(t).resolvedSymbol;if(r&&8&r.flags){var n=r.valueDeclaration;if(e.isEnumConst(n.parent))return sC(n)}}function lC(e){return!!(524288&e.flags)&&ru(e,0).length>0}function pC(t,r){var n,i,a=e.getParseTreeNode(t,e.isEntityName);if(!a||r&&!(r=e.getParseTreeNode(r)))return e.TypeReferenceSerializationKind.Unknown;var o=!1;if(e.isQualifiedName(a)){var s=Bi(e.getFirstIdentifier(a),111551,!0,!0,r);o=!(null===(n=null==s?void 0:s.declarations)||void 0===n||!n.every(e.isTypeOnlyImportOrExportDeclaration))}var c=Bi(a,111551,!0,!0,r),u=c&&2097152&c.flags?Pi(c):c;o||(o=!(null===(i=null==c?void 0:c.declarations)||void 0===i||!i.every(e.isTypeOnlyImportOrExportDeclaration)));var l=Bi(a,788968,!0,!1,r);if(u&&u===l){var p=Il(!1);if(p&&u===p)return e.TypeReferenceSerializationKind.Promise;var d=Yo(u);if(d&&os(d))return o?e.TypeReferenceSerializationKind.TypeWithCallSignature:e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!l)return o?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown;var f=Ss(l);return ao(f)?o?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown:3&f.flags?e.TypeReferenceSerializationKind.ObjectType:lb(f,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:lb(f,528)?e.TypeReferenceSerializationKind.BooleanType:lb(f,296)?e.TypeReferenceSerializationKind.NumberLikeType:lb(f,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:lb(f,402653316)?e.TypeReferenceSerializationKind.StringLikeType:k_(f)?e.TypeReferenceSerializationKind.ArrayLikeType:lb(f,12288)?e.TypeReferenceSerializationKind.ESSymbolType:lC(f)?e.TypeReferenceSerializationKind.TypeWithCallSignature:c_(f)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function dC(t,r,n,i,a){var o=e.getParseTreeNode(t,e.isVariableLikeOrAccessor);if(!o)return e.factory.createToken(130);var s=ra(o),c=!s||133120&s.flags?Le:E_(Yo(s));return 8192&c.flags&&c.symbol===s&&(n|=1048576),a&&(c=j_(c)),ae.typeToTypeNode(c,r,1024|n,i)}function fC(t,r,n,i){var a=e.getParseTreeNode(t,e.isFunctionLike);if(!a)return e.factory.createToken(130);var o=xu(a);return ae.typeToTypeNode(Pu(o),r,1024|n,i)}function _C(t,r,n,i){var a=e.getParseTreeNode(t,e.isExpression);if(!a)return e.factory.createToken(130);var o=rm(BS(a));return ae.typeToTypeNode(o,r,1024|n,i)}function mC(t){return oe.has(e.escapeLeadingUnderscores(t))}function gC(t,r){var n=Yn(t).resolvedSymbol;if(n)return n;var i=t;if(r){var a=t.parent;e.isDeclaration(a)&&t===a.name&&(i=ro(a))}return ti(i,t.escapedText,3257279,void 0,void 0,!0)}function hC(t){if(!e.isGeneratedIdentifier(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r){var n=gC(r);if(n)return ca(n).valueDeclaration}}}function yC(t){return!!(e.isDeclarationReadonly(t)||e.isVariableDeclaration(t)&&e.isVarConst(t))&&yd(Yo(ra(t)))}function vC(t,r){return function(t,r,n){var i=1024&t.flags?ae.symbolToExpression(t.symbol,111551,r,void 0,n):t===Qe?e.factory.createTrue():t===Ye&&e.factory.createFalse();if(i)return i;var a=t.value;return"object"==typeof a?e.factory.createBigIntLiteral(a):"number"==typeof a?e.factory.createNumericLiteral(a):e.factory.createStringLiteral(a)}(Yo(ra(t)),t,r)}function DC(t){return t?(An(t),e.getSourceFileOfNode(t).localJsxFactory||xr):xr}function bC(t){if(t){var r=e.getSourceFileOfNode(t);if(r){if(r.localJsxFragmentFactory)return r.localJsxFragmentFactory;var n=r.pragmas.get("jsxfrag"),i=e.isArray(n)?n[0]:n;if(i)return r.localJsxFragmentFactory=e.parseIsolatedEntityName(i.arguments.factory,q),r.localJsxFragmentFactory}}if(N.jsxFragmentFactory)return e.parseIsolatedEntityName(N.jsxFragmentFactory,q)}function xC(t){var r=260===t.kind?e.tryCast(t.name,e.isStringLiteral):e.getExternalModuleName(t),n=Ji(r,r,void 0);if(n)return e.getDeclarationOfKind(n,303)}function EC(t,r){if((i&r)!==r&&N.importHelpers){var n=e.getSourceFileOfNode(t);if(e.isEffectiveExternalModule(n,N)&&!(8388608&t.flags)){var a=function(t,r){return s||(s=Ui(t,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,r)||Ae),s}(n,t);if(a!==Ae)for(var o=r&~i,c=1;c<=4194304;c<<=1)if(o&c){var u=SC(c),l=Qn(a.exports,e.escapeLeadingUnderscores(u),111551);l?524288&c?e.some(Cu(l),(function(e){return OD(e)>3}))||In(t,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,u,4):1048576&c?e.some(Cu(l),(function(e){return OD(e)>4}))||In(t,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,u,5):1024&c&&(e.some(Cu(l),(function(e){return OD(e)>2}))||In(t,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,u,3)):In(t,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,u)}i|=r}}}function SC(t){switch(t){case 1:return"__extends";case 2:return"__assign";case 4:return"__rest";case 8:return"__decorate";case 16:return"__metadata";case 32:return"__param";case 64:return"__awaiter";case 128:return"__generator";case 256:return"__values";case 512:return"__read";case 1024:return"__spreadArray";case 2048:return"__await";case 4096:return"__asyncGenerator";case 8192:return"__asyncDelegator";case 16384:return"__asyncValues";case 32768:return"__exportStar";case 65536:return"__importStar";case 131072:return"__importDefault";case 262144:return"__makeTemplateObject";case 524288:return"__classPrivateFieldGet";case 1048576:return"__classPrivateFieldSet";case 2097152:return"__classPrivateFieldIn";case 4194304:return"__createBinding";default:return e.Debug.fail("Unrecognized helper")}}function CC(t){return function(t){if(!t.decorators)return!1;if(!e.nodeCanBeDecorated(t,t.parent,t.parent.parent))return 168!==t.kind||e.nodeIsPresent(t.body)?$C(t,e.Diagnostics.Decorators_are_not_valid_here):$C(t,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(171===t.kind||172===t.kind){var r=e.getAllAccessorDeclarations(t.parent.members,t);if(r.firstAccessor.decorators&&t===r.secondAccessor)return $C(t,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}return!1}(t)||function(t){var r=function(t){return!!t.modifiers&&(function(t){switch(t.kind){case 171:case 172:case 170:case 166:case 165:case 168:case 167:case 175:case 260:case 265:case 264:case 271:case 270:case 212:case 213:case 163:return!1;default:if(261===t.parent.kind||303===t.parent.kind)return!1;switch(t.kind){case 255:return TC(t,131);case 256:case 179:return TC(t,126);case 257:case 236:case 258:case 169:return!0;case 259:return TC(t,85);default:e.Debug.fail()}}}(t)?$C(t,e.Diagnostics.Modifiers_cannot_appear_here):void 0)}(t);if(void 0!==r)return r;for(var n,i,a,o,s=0,c=0,u=t.modifiers;c<u.length;c++){var l=u[c];if(144!==l.kind){if(165===t.kind||167===t.kind)return XC(l,e.Diagnostics._0_modifier_cannot_appear_on_a_type_member,e.tokenToString(l.kind));if(175===t.kind&&(124!==l.kind||!e.isClassLike(t.parent)))return XC(l,e.Diagnostics._0_modifier_cannot_appear_on_an_index_signature,e.tokenToString(l.kind))}switch(l.kind){case 85:if(259!==t.kind)return XC(t,e.Diagnostics.A_class_member_cannot_have_the_0_keyword,e.tokenToString(85));break;case 158:if(16384&s)return XC(l,e.Diagnostics._0_modifier_already_seen,"override");if(2&s)return XC(l,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(64&s)return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"override","readonly");if(256&s)return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"override","async");s|=16384,o=l;break;case 123:case 122:case 121:var p=za(e.modifierToFlag(l.kind));if(28&s)return XC(l,e.Diagnostics.Accessibility_modifier_already_seen);if(16384&s)return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,p,"override");if(32&s)return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,p,"static");if(64&s)return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,p,"readonly");if(256&s)return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,p,"async");if(261===t.parent.kind||303===t.parent.kind)return XC(l,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,p);if(128&s)return 121===l.kind?XC(l,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,p,"abstract"):XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,p,"abstract");if(e.isPrivateIdentifierClassElementDeclaration(t))return XC(l,e.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);s|=e.modifierToFlag(l.kind);break;case 124:if(32&s)return XC(l,e.Diagnostics._0_modifier_already_seen,"static");if(64&s)return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","readonly");if(256&s)return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","async");if(261===t.parent.kind||303===t.parent.kind)return XC(l,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(163===t.kind)return XC(l,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"static");if(128&s)return XC(l,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(16384&s)return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","override");s|=32,n=l;break;case 144:if(64&s)return XC(l,e.Diagnostics._0_modifier_already_seen,"readonly");if(166!==t.kind&&165!==t.kind&&175!==t.kind&&163!==t.kind)return XC(l,e.Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);s|=64;break;case 93:if(1&s)return XC(l,e.Diagnostics._0_modifier_already_seen,"export");if(2&s)return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","declare");if(128&s)return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","abstract");if(256&s)return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","async");if(e.isClassLike(t.parent))return XC(l,e.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(163===t.kind)return XC(l,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"export");s|=1;break;case 88:var d=303===t.parent.kind?t.parent:t.parent.parent;if(260===d.kind&&!e.isAmbientModule(d))return XC(l,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(!(1&s))return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","default");s|=512;break;case 135:if(2&s)return XC(l,e.Diagnostics._0_modifier_already_seen,"declare");if(256&s)return XC(l,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(16384&s)return XC(l,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(e.isClassLike(t.parent)&&!e.isPropertyDeclaration(t))return XC(l,e.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(163===t.kind)return XC(l,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"declare");if(8388608&t.parent.flags&&261===t.parent.kind)return XC(l,e.Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(e.isPrivateIdentifierClassElementDeclaration(t))return XC(l,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"declare");s|=2,i=l;break;case 126:if(128&s)return XC(l,e.Diagnostics._0_modifier_already_seen,"abstract");if(256!==t.kind&&179!==t.kind){if(168!==t.kind&&166!==t.kind&&171!==t.kind&&172!==t.kind)return XC(l,e.Diagnostics.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(256!==t.parent.kind||!e.hasSyntacticModifier(t.parent,128))return XC(l,e.Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class);if(32&s)return XC(l,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(8&s)return XC(l,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(256&s&&a)return XC(a,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");if(16384&s)return XC(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"abstract","override")}if(e.isNamedDeclaration(t)&&80===t.name.kind)return XC(l,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");s|=128;break;case 131:if(256&s)return XC(l,e.Diagnostics._0_modifier_already_seen,"async");if(2&s||8388608&t.parent.flags)return XC(l,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(163===t.kind)return XC(l,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"async");if(128&s)return XC(l,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");s|=256,a=l}}return 170===t.kind?32&s?XC(n,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):16384&s?XC(o,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"override"):!!(256&s)&&XC(a,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):(265===t.kind||264===t.kind)&&2&s?XC(i,e.Diagnostics.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare"):163===t.kind&&16476&s&&e.isBindingPattern(t.name)?XC(t,e.Diagnostics.A_parameter_property_may_not_be_declared_using_a_binding_pattern):163===t.kind&&16476&s&&t.dotDotDotToken?XC(t,e.Diagnostics.A_parameter_property_cannot_be_declared_using_a_rest_parameter):!!(256&s)&&function(t,r){switch(t.kind){case 168:case 255:case 212:case 213:return!1}return XC(r,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}(t,a)}(t)}function TC(e,t){return e.modifiers.length>1||e.modifiers[0].kind!==t}function kC(t,r){return void 0===r&&(r=e.Diagnostics.Trailing_comma_not_allowed),!(!t||!t.hasTrailingComma)&&YC(t[0],t.end-1,1,r)}function AC(t,r){if(t&&0===t.length){var n=t.pos-1;return YC(r,n,e.skipTrivia(r.text,t.end)+1-n,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function NC(t){if(q>=3){var r=t.body&&e.isBlock(t.body)&&e.findUseStrictPrologue(t.body.statements);if(r){var n=function(t){return e.filter(t,(function(t){return!!t.initializer||e.isBindingPattern(t.name)||e.isRestParameter(t)}))}(t.parameters);if(e.length(n)){e.forEach(n,(function(t){e.addRelatedInfo(In(t,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(r,e.Diagnostics.use_strict_directive_used_here))}));var i=n.map((function(t,r){return 0===r?e.createDiagnosticForNode(t,e.Diagnostics.Non_simple_parameter_declared_here):e.createDiagnosticForNode(t,e.Diagnostics.and_here)}));return e.addRelatedInfo.apply(void 0,a([In(r,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],i,!1)),!0}}}return!1}function PC(t){var r=e.getSourceFileOfNode(t);return CC(t)||AC(t.typeParameters,r)||function(t){for(var r=!1,n=t.length,i=0;i<n;i++){var a=t[i];if(a.dotDotDotToken){if(i!==n-1)return XC(a.dotDotDotToken,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);if(8388608&a.flags||kC(t,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),a.questionToken)return XC(a.questionToken,e.Diagnostics.A_rest_parameter_cannot_be_optional);if(a.initializer)return XC(a.name,e.Diagnostics.A_rest_parameter_cannot_have_an_initializer)}else if(hu(a)){if(r=!0,a.questionToken&&a.initializer)return XC(a.name,e.Diagnostics.Parameter_cannot_have_question_mark_and_initializer)}else if(r&&!a.initializer)return XC(a.name,e.Diagnostics.A_required_parameter_cannot_follow_an_optional_parameter)}}(t.parameters)||function(t,r){if(!e.isArrowFunction(t))return!1;t.typeParameters&&!(e.length(t.typeParameters)>1||t.typeParameters.hasTrailingComma||t.typeParameters[0].constraint)&&r&&e.fileExtensionIsOneOf(r.fileName,[".mts",".cts"])&&XC(t.typeParameters[0],e.Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);var n=t.equalsGreaterThanToken;return e.getLineAndCharacterOfPosition(r,n.pos).line!==e.getLineAndCharacterOfPosition(r,n.end).line&&XC(n,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}(t,r)||e.isFunctionLikeDeclaration(t)&&NC(t)}function FC(t,r){return kC(r)||function(t,r){if(r&&0===r.length){var n=e.getSourceFileOfNode(t),i=r.pos-1;return YC(n,i,e.skipTrivia(n.text,r.end)+1-i,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}(t,r)}function wC(t){var r=t.types;if(kC(r))return!0;if(r&&0===r.length){var n=e.tokenToString(t.token);return YC(t,r.pos,0,e.Diagnostics._0_list_cannot_be_empty,n)}return e.some(r,IC)}function IC(e){return FC(e,e.typeArguments)}function OC(t){if(161!==t.kind)return!1;var r=t;return 220===r.expression.kind&&27===r.expression.operatorToken.kind&&XC(r.expression,e.Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name)}function LC(t){if(t.asteriskToken){if(e.Debug.assert(255===t.kind||212===t.kind||168===t.kind),8388608&t.flags)return XC(t.asteriskToken,e.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);if(!t.body)return XC(t.asteriskToken,e.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator)}}function MC(e,t){return!!e&&XC(e,t)}function RC(e,t){return!!e&&XC(e,t)}function BC(t){if(ZC(t))return!0;if(243===t.kind&&t.awaitModifier&&!(32768&t.flags)){var r=e.getSourceFileOfNode(t);if(e.isInTopLevelContext(t))GC(r)||(e.isEffectiveExternalModule(r,N)||gn.add(e.createDiagnosticForNode(t.awaitModifier,e.Diagnostics.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module)),(V!==e.ModuleKind.ES2022&&V!==e.ModuleKind.ESNext&&V!==e.ModuleKind.System&&(V!==e.ModuleKind.NodeNext||e.getSourceFileOfNode(t).impliedNodeFormat!==e.ModuleKind.ESNext)||q<4)&&gn.add(e.createDiagnosticForNode(t.awaitModifier,e.Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher)));else if(!GC(r)){var n=e.createDiagnosticForNode(t.awaitModifier,e.Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),i=e.getContainingFunction(t);if(i&&170!==i.kind){e.Debug.assert(0==(2&e.getFunctionFlags(i)),"Enclosing function should never be an async function.");var a=e.createDiagnosticForNode(i,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(n,a)}return gn.add(n),!0}return!1}if(e.isForOfStatement(t)&&!(32768&t.flags)&&e.isIdentifier(t.initializer)&&"async"===t.initializer.escapedText)return XC(t.initializer,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async),!1;if(254===t.initializer.kind){var o=t.initializer;if(!WC(o)){var s=o.declarations;if(!s.length)return!1;if(s.length>1)return n=242===t.kind?e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement,$C(o.declarations[1],n);var c=s[0];if(c.initializer){n=242===t.kind?e.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:e.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return XC(c.name,n)}if(c.type)return XC(c,n=242===t.kind?e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:e.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation)}}return!1}function jC(t){if(t.parameters.length===(171===t.kind?1:2))return e.getThisParameter(t)}function KC(t,r){if(function(t){return e.isDynamicName(t)&&!Ls(t)}(t))return XC(t,r)}function JC(t){if(PC(t))return!0;if(168===t.kind){if(204===t.parent.kind){if(t.modifiers&&(1!==t.modifiers.length||131!==e.first(t.modifiers).kind))return $C(t,e.Diagnostics.Modifiers_cannot_appear_here);if(MC(t.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(RC(t.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(void 0===t.body)return YC(t,t.end-1,1,e.Diagnostics._0_expected,"{")}if(LC(t))return!0}if(e.isClassLike(t.parent)){if(q<2&&e.isPrivateIdentifier(t.name))return XC(t.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(8388608&t.flags)return KC(t.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(168===t.kind&&!t.body)return KC(t.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(257===t.parent.kind)return KC(t.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(181===t.parent.kind)return KC(t.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 UC(t){return e.isStringOrNumericLiteralLike(t)||218===t.kind&&40===t.operator&&8===t.operand.kind}function qC(t){var r=t.initializer;if(r){var n=!(UC(r)||function(t){if((e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t)&&UC(t.argumentExpression))&&e.isEntityNameExpression(t.expression))return!!(1024&Sb(t).flags)}(r)||110===r.kind||95===r.kind||function(e){return 9===e.kind||218===e.kind&&40===e.operator&&9===e.operand.kind}(r)),i=e.isDeclarationReadonly(t)||e.isVariableDeclaration(t)&&e.isVarConst(t);if(!i||t.type)return XC(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(n)return XC(r,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference);if(!i||n)return XC(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function VC(t){if(79===t.kind){if("__esModule"===e.idText(t))return function(t,r,n,i,a,o){return!GC(e.getSourceFileOfNode(r))&&(Fn(t,r,n,i,a,o),!0)}("noEmit",t,e.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else for(var r=0,n=t.elements;r<n.length;r++){var i=n[r];if(!e.isOmittedExpression(i))return VC(i.name)}return!1}function zC(t){if(79===t.kind){if(119===t.originalKeywordKind)return XC(t,e.Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else for(var r=0,n=t.elements;r<n.length;r++){var i=n[r];e.isOmittedExpression(i)||zC(i.name)}return!1}function WC(t){var r=t.declarations;return!!kC(t.declarations)||!t.declarations.length&&YC(t,r.pos,r.end-r.pos,e.Diagnostics.Variable_declaration_list_cannot_be_empty)}function HC(e){switch(e.kind){case 238:case 239:case 240:case 247:case 241:case 242:case 243:return!1;case 249:return HC(e.parent)}return!0}function GC(e){return e.parseDiagnostics.length>0}function $C(t,r,n,i,a){var o=e.getSourceFileOfNode(t);if(!GC(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return gn.add(e.createFileDiagnostic(o,s.start,s.length,r,n,i,a)),!0}return!1}function YC(t,r,n,i,a,o,s){var c=e.getSourceFileOfNode(t);return!GC(c)&&(gn.add(e.createFileDiagnostic(c,r,n,i,a,o,s)),!0)}function XC(t,r,n,i,a){return!GC(e.getSourceFileOfNode(t))&&(gn.add(e.createDiagnosticForNode(t,r,n,i,a)),!0)}function QC(t){return 257!==t.kind&&258!==t.kind&&265!==t.kind&&264!==t.kind&&271!==t.kind&&270!==t.kind&&263!==t.kind&&!e.hasSyntacticModifier(t,515)&&$C(t,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function ZC(t){if(8388608&t.flags){if(!Yn(t).hasReportedStatementInAmbientContext&&(e.isFunctionLike(t.parent)||e.isAccessor(t.parent)))return Yn(t).hasReportedStatementInAmbientContext=$C(t,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);if(234===t.parent.kind||261===t.parent.kind||303===t.parent.kind){var r=Yn(t.parent);if(!r.hasReportedStatementInAmbientContext)return r.hasReportedStatementInAmbientContext=$C(t,e.Diagnostics.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function eT(t){if(32&t.numericLiteralFlags){var r=void 0;if(q>=1?r=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(t,195)?r=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(t,297)&&(r=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),r){var n=e.isPrefixUnaryExpression(t.parent)&&40===t.parent.operator,i=(n?"-":"")+"0o"+t.text;return XC(n?t.parent:t,r,i)}}return function(t){var r=-1!==e.getTextOfNode(t).indexOf("."),n=16&t.numericLiteralFlags;r||n||+t.text<=Math.pow(2,53)-1||On(!1,e.createDiagnosticForNode(t,e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}(t),!1}function tT(t){return!!e.forEach(t.elements,(function(t){if(t.isTypeOnly)return $C(t,269===t.kind?e.Diagnostics.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:e.Diagnostics.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)}))}function rT(t,r,n,i){if(1048576&r.flags&&2621440&t.flags){var a=eg(r,t);if(a)return a;var o=Ac(t);if(o){var s=Xm(o,r);if(s)return Vf(r,e.map(s,(function(e){return[function(){return Yo(e)},e.escapedName]})),n,void 0,i)}}}},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"}(F||(F={})),e.signatureHasRestParameter=J,e.signatureHasLiteralTypes=U}(n||(n={})),function(e){function t(t,r,n,i){if(void 0===t||void 0===r)return t;var a,o=r(t);return o===t?t:void 0!==o?(a=e.isArray(o)?(i||c)(o):o,e.Debug.assertNode(a,n),a):void 0}function r(t,r,n,i,a){if(void 0===t||void 0===r)return t;var o,s=t.length;(void 0===i||i<0)&&(i=0),(void 0===a||a>s-i)&&(a=s-i);var c,u=-1,l=-1;(i>0||a<s)&&(o=[],c=t.hasTrailingComma&&i+a===s);for(var p=0;p<a;p++){var d=t[p+i],f=void 0!==d?r(d):void 0;if((void 0!==o||void 0===f||f!==d)&&(void 0===o&&(o=t.slice(0,p),c=t.hasTrailingComma,u=t.pos,l=t.end),f))if(e.isArray(f))for(var _=0,m=f;_<m.length;_++){var g=m[_];e.Debug.assertNode(g,n),o.push(g)}else e.Debug.assertNode(f,n),o.push(f)}if(o){var h=e.factory.createNodeArray(o,c);return e.setTextRangePosEnd(h,u,l),h}return t}function n(t,n,i,a,o,s){return void 0===s&&(s=r),i.startLexicalEnvironment(),t=s(t,n,e.isStatement,a),o&&(t=i.factory.ensureUseStrict(t)),e.factory.mergeLexicalEnvironment(t,i.endLexicalEnvironment())}function i(t,n,i,o){var s;return void 0===o&&(o=r),i.startLexicalEnvironment(),t&&(i.setLexicalEnvironmentFlags(1,!0),s=o(t,n,e.isParameterDeclaration),2&i.getLexicalEnvironmentFlags()&&e.getEmitScriptTarget(i.getCompilerOptions())>=2&&(s=function(t,r){for(var n,i=0;i<t.length;i++){var o=t[i],s=a(o,r);(n||s!==o)&&(n||(n=t.slice(0,i)),n[i]=s)}return n?e.setTextRange(r.factory.createNodeArray(n,t.hasTrailingComma),t):t}(s,i)),i.setLexicalEnvironmentFlags(1,!1)),i.suspendLexicalEnvironment(),s}function a(t,r){return t.dotDotDotToken?t:e.isBindingPattern(t.name)?function(e,t){var r=t.factory;return t.addInitializationStatement(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(e.name,void 0,e.type,e.initializer?r.createConditionalExpression(r.createStrictEquality(r.getGeneratedNameForNode(e),r.createVoidZero()),void 0,e.initializer,void 0,r.getGeneratedNameForNode(e)):r.getGeneratedNameForNode(e))]))),r.updateParameterDeclaration(e,e.decorators,e.modifiers,e.dotDotDotToken,r.getGeneratedNameForNode(e),e.questionToken,e.type,void 0)}(t,r):t.initializer?function(t,r,n,i){var a=i.factory;return i.addInitializationStatement(a.createIfStatement(a.createTypeCheck(a.cloneNode(r),"undefined"),e.setEmitFlags(e.setTextRange(a.createBlock([a.createExpressionStatement(e.setEmitFlags(e.setTextRange(a.createAssignment(e.setEmitFlags(a.cloneNode(r),48),e.setEmitFlags(n,1584|e.getEmitFlags(n))),t),1536))]),t),1953))),a.updateParameterDeclaration(t,t.decorators,t.modifiers,t.dotDotDotToken,t.name,t.questionToken,t.type,void 0)}(t,t.name,t.initializer,r):t}function o(r,n,i,a){void 0===a&&(a=t),i.resumeLexicalEnvironment();var o=a(r,n,e.isConciseBody),s=i.endLexicalEnvironment();if(e.some(s)){if(!o)return i.factory.createBlock(s);var c=i.factory.converters.convertToFunctionBlock(o),u=e.factory.mergeLexicalEnvironment(c.statements,s);return i.factory.updateBlock(c,u)}return o}function s(r,n,i){i.startBlockScope();var a=t(r,n,e.isStatement,i.factory.liftToBlock),o=i.endBlockScope();return e.some(o)?e.isBlock(a)?(o.push.apply(o,a.statements),i.factory.updateBlock(a,o)):(o.push(a),i.factory.createBlock(o)):a}function c(t){return e.Debug.assert(t.length<=1,"Too many nodes written to output."),e.singleOrUndefined(t)}e.visitNode=t,e.visitNodes=r,e.visitLexicalEnvironment=n,e.visitParameterList=i,e.visitFunctionBody=o,e.visitIterationBody=s,e.visitEachChild=function(a,c,u,l,p,d){if(void 0===l&&(l=r),void 0===d&&(d=t),void 0!==a){var f=a.kind;if(f>0&&f<=159||191===f)return a;var _=u.factory;switch(f){case 79:return e.Debug.type(a),_.updateIdentifier(a,l(a.typeArguments,c,e.isTypeNodeOrTypeParameterDeclaration));case 160:return e.Debug.type(a),_.updateQualifiedName(a,d(a.left,c,e.isEntityName),d(a.right,c,e.isIdentifier));case 161:return e.Debug.type(a),_.updateComputedPropertyName(a,d(a.expression,c,e.isExpression));case 162:return e.Debug.type(a),_.updateTypeParameterDeclaration(a,d(a.name,c,e.isIdentifier),d(a.constraint,c,e.isTypeNode),d(a.default,c,e.isTypeNode));case 163:return e.Debug.type(a),_.updateParameterDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.dotDotDotToken,p,e.isDotDotDotToken),d(a.name,c,e.isBindingName),d(a.questionToken,p,e.isQuestionToken),d(a.type,c,e.isTypeNode),d(a.initializer,c,e.isExpression));case 164:return e.Debug.type(a),_.updateDecorator(a,d(a.expression,c,e.isExpression));case 165:return e.Debug.type(a),_.updatePropertySignature(a,l(a.modifiers,c,e.isModifier),d(a.name,c,e.isPropertyName),d(a.questionToken,p,e.isToken),d(a.type,c,e.isTypeNode));case 166:return e.Debug.type(a),_.updatePropertyDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.name,c,e.isPropertyName),d(a.questionToken||a.exclamationToken,p,e.isQuestionOrExclamationToken),d(a.type,c,e.isTypeNode),d(a.initializer,c,e.isExpression));case 167:return e.Debug.type(a),_.updateMethodSignature(a,l(a.modifiers,c,e.isModifier),d(a.name,c,e.isPropertyName),d(a.questionToken,p,e.isQuestionToken),l(a.typeParameters,c,e.isTypeParameterDeclaration),l(a.parameters,c,e.isParameterDeclaration),d(a.type,c,e.isTypeNode));case 168:return e.Debug.type(a),_.updateMethodDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.asteriskToken,p,e.isAsteriskToken),d(a.name,c,e.isPropertyName),d(a.questionToken,p,e.isQuestionToken),l(a.typeParameters,c,e.isTypeParameterDeclaration),i(a.parameters,c,u,l),d(a.type,c,e.isTypeNode),o(a.body,c,u,d));case 170:return e.Debug.type(a),_.updateConstructorDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),i(a.parameters,c,u,l),o(a.body,c,u,d));case 171:return e.Debug.type(a),_.updateGetAccessorDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.name,c,e.isPropertyName),i(a.parameters,c,u,l),d(a.type,c,e.isTypeNode),o(a.body,c,u,d));case 172:return e.Debug.type(a),_.updateSetAccessorDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.name,c,e.isPropertyName),i(a.parameters,c,u,l),o(a.body,c,u,d));case 169:return e.Debug.type(a),u.startLexicalEnvironment(),u.suspendLexicalEnvironment(),_.updateClassStaticBlockDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),o(a.body,c,u,d));case 173:return e.Debug.type(a),_.updateCallSignature(a,l(a.typeParameters,c,e.isTypeParameterDeclaration),l(a.parameters,c,e.isParameterDeclaration),d(a.type,c,e.isTypeNode));case 174:return e.Debug.type(a),_.updateConstructSignature(a,l(a.typeParameters,c,e.isTypeParameterDeclaration),l(a.parameters,c,e.isParameterDeclaration),d(a.type,c,e.isTypeNode));case 175:return e.Debug.type(a),_.updateIndexSignature(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),l(a.parameters,c,e.isParameterDeclaration),d(a.type,c,e.isTypeNode));case 176:return e.Debug.type(a),_.updateTypePredicateNode(a,d(a.assertsModifier,c,e.isAssertsKeyword),d(a.parameterName,c,e.isIdentifierOrThisTypeNode),d(a.type,c,e.isTypeNode));case 177:return e.Debug.type(a),_.updateTypeReferenceNode(a,d(a.typeName,c,e.isEntityName),l(a.typeArguments,c,e.isTypeNode));case 178:return e.Debug.type(a),_.updateFunctionTypeNode(a,l(a.typeParameters,c,e.isTypeParameterDeclaration),l(a.parameters,c,e.isParameterDeclaration),d(a.type,c,e.isTypeNode));case 179:return e.Debug.type(a),_.updateConstructorTypeNode(a,l(a.modifiers,c,e.isModifier),l(a.typeParameters,c,e.isTypeParameterDeclaration),l(a.parameters,c,e.isParameterDeclaration),d(a.type,c,e.isTypeNode));case 180:return e.Debug.type(a),_.updateTypeQueryNode(a,d(a.exprName,c,e.isEntityName));case 181:return e.Debug.type(a),_.updateTypeLiteralNode(a,l(a.members,c,e.isTypeElement));case 182:return e.Debug.type(a),_.updateArrayTypeNode(a,d(a.elementType,c,e.isTypeNode));case 183:return e.Debug.type(a),_.updateTupleTypeNode(a,l(a.elements,c,e.isTypeNode));case 184:return e.Debug.type(a),_.updateOptionalTypeNode(a,d(a.type,c,e.isTypeNode));case 185:return e.Debug.type(a),_.updateRestTypeNode(a,d(a.type,c,e.isTypeNode));case 186:return e.Debug.type(a),_.updateUnionTypeNode(a,l(a.types,c,e.isTypeNode));case 187:return e.Debug.type(a),_.updateIntersectionTypeNode(a,l(a.types,c,e.isTypeNode));case 188:return e.Debug.type(a),_.updateConditionalTypeNode(a,d(a.checkType,c,e.isTypeNode),d(a.extendsType,c,e.isTypeNode),d(a.trueType,c,e.isTypeNode),d(a.falseType,c,e.isTypeNode));case 189:return e.Debug.type(a),_.updateInferTypeNode(a,d(a.typeParameter,c,e.isTypeParameterDeclaration));case 199:return e.Debug.type(a),_.updateImportTypeNode(a,d(a.argument,c,e.isTypeNode),d(a.qualifier,c,e.isEntityName),r(a.typeArguments,c,e.isTypeNode),a.isTypeOf);case 196:return e.Debug.type(a),_.updateNamedTupleMember(a,t(a.dotDotDotToken,c,e.isDotDotDotToken),t(a.name,c,e.isIdentifier),t(a.questionToken,c,e.isQuestionToken),t(a.type,c,e.isTypeNode));case 190:return e.Debug.type(a),_.updateParenthesizedType(a,d(a.type,c,e.isTypeNode));case 192:return e.Debug.type(a),_.updateTypeOperatorNode(a,d(a.type,c,e.isTypeNode));case 193:return e.Debug.type(a),_.updateIndexedAccessTypeNode(a,d(a.objectType,c,e.isTypeNode),d(a.indexType,c,e.isTypeNode));case 194:return e.Debug.type(a),_.updateMappedTypeNode(a,d(a.readonlyToken,p,e.isReadonlyKeywordOrPlusOrMinusToken),d(a.typeParameter,c,e.isTypeParameterDeclaration),d(a.nameType,c,e.isTypeNode),d(a.questionToken,p,e.isQuestionOrPlusOrMinusToken),d(a.type,c,e.isTypeNode),l(a.members,c,e.isTypeElement));case 195:return e.Debug.type(a),_.updateLiteralTypeNode(a,d(a.literal,c,e.isExpression));case 197:return e.Debug.type(a),_.updateTemplateLiteralType(a,d(a.head,c,e.isTemplateHead),l(a.templateSpans,c,e.isTemplateLiteralTypeSpan));case 198:return e.Debug.type(a),_.updateTemplateLiteralTypeSpan(a,d(a.type,c,e.isTypeNode),d(a.literal,c,e.isTemplateMiddleOrTemplateTail));case 200:return e.Debug.type(a),_.updateObjectBindingPattern(a,l(a.elements,c,e.isBindingElement));case 201:return e.Debug.type(a),_.updateArrayBindingPattern(a,l(a.elements,c,e.isArrayBindingElement));case 202:return e.Debug.type(a),_.updateBindingElement(a,d(a.dotDotDotToken,p,e.isDotDotDotToken),d(a.propertyName,c,e.isPropertyName),d(a.name,c,e.isBindingName),d(a.initializer,c,e.isExpression));case 203:return e.Debug.type(a),_.updateArrayLiteralExpression(a,l(a.elements,c,e.isExpression));case 204:return e.Debug.type(a),_.updateObjectLiteralExpression(a,l(a.properties,c,e.isObjectLiteralElementLike));case 205:return 32&a.flags?(e.Debug.type(a),_.updatePropertyAccessChain(a,d(a.expression,c,e.isExpression),d(a.questionDotToken,p,e.isQuestionDotToken),d(a.name,c,e.isMemberName))):(e.Debug.type(a),_.updatePropertyAccessExpression(a,d(a.expression,c,e.isExpression),d(a.name,c,e.isMemberName)));case 206:return 32&a.flags?(e.Debug.type(a),_.updateElementAccessChain(a,d(a.expression,c,e.isExpression),d(a.questionDotToken,p,e.isQuestionDotToken),d(a.argumentExpression,c,e.isExpression))):(e.Debug.type(a),_.updateElementAccessExpression(a,d(a.expression,c,e.isExpression),d(a.argumentExpression,c,e.isExpression)));case 207:return 32&a.flags?(e.Debug.type(a),_.updateCallChain(a,d(a.expression,c,e.isExpression),d(a.questionDotToken,p,e.isQuestionDotToken),l(a.typeArguments,c,e.isTypeNode),l(a.arguments,c,e.isExpression))):(e.Debug.type(a),_.updateCallExpression(a,d(a.expression,c,e.isExpression),l(a.typeArguments,c,e.isTypeNode),l(a.arguments,c,e.isExpression)));case 208:return e.Debug.type(a),_.updateNewExpression(a,d(a.expression,c,e.isExpression),l(a.typeArguments,c,e.isTypeNode),l(a.arguments,c,e.isExpression));case 209:return e.Debug.type(a),_.updateTaggedTemplateExpression(a,d(a.tag,c,e.isExpression),r(a.typeArguments,c,e.isTypeNode),d(a.template,c,e.isTemplateLiteral));case 210:return e.Debug.type(a),_.updateTypeAssertion(a,d(a.type,c,e.isTypeNode),d(a.expression,c,e.isExpression));case 211:return e.Debug.type(a),_.updateParenthesizedExpression(a,d(a.expression,c,e.isExpression));case 212:return e.Debug.type(a),_.updateFunctionExpression(a,l(a.modifiers,c,e.isModifier),d(a.asteriskToken,p,e.isAsteriskToken),d(a.name,c,e.isIdentifier),l(a.typeParameters,c,e.isTypeParameterDeclaration),i(a.parameters,c,u,l),d(a.type,c,e.isTypeNode),o(a.body,c,u,d));case 213:return e.Debug.type(a),_.updateArrowFunction(a,l(a.modifiers,c,e.isModifier),l(a.typeParameters,c,e.isTypeParameterDeclaration),i(a.parameters,c,u,l),d(a.type,c,e.isTypeNode),d(a.equalsGreaterThanToken,p,e.isEqualsGreaterThanToken),o(a.body,c,u,d));case 214:return e.Debug.type(a),_.updateDeleteExpression(a,d(a.expression,c,e.isExpression));case 215:return e.Debug.type(a),_.updateTypeOfExpression(a,d(a.expression,c,e.isExpression));case 216:return e.Debug.type(a),_.updateVoidExpression(a,d(a.expression,c,e.isExpression));case 217:return e.Debug.type(a),_.updateAwaitExpression(a,d(a.expression,c,e.isExpression));case 218:return e.Debug.type(a),_.updatePrefixUnaryExpression(a,d(a.operand,c,e.isExpression));case 219:return e.Debug.type(a),_.updatePostfixUnaryExpression(a,d(a.operand,c,e.isExpression));case 220:return e.Debug.type(a),_.updateBinaryExpression(a,d(a.left,c,e.isExpression),d(a.operatorToken,p,e.isBinaryOperatorToken),d(a.right,c,e.isExpression));case 221:return e.Debug.type(a),_.updateConditionalExpression(a,d(a.condition,c,e.isExpression),d(a.questionToken,p,e.isQuestionToken),d(a.whenTrue,c,e.isExpression),d(a.colonToken,p,e.isColonToken),d(a.whenFalse,c,e.isExpression));case 222:return e.Debug.type(a),_.updateTemplateExpression(a,d(a.head,c,e.isTemplateHead),l(a.templateSpans,c,e.isTemplateSpan));case 223:return e.Debug.type(a),_.updateYieldExpression(a,d(a.asteriskToken,p,e.isAsteriskToken),d(a.expression,c,e.isExpression));case 224:return e.Debug.type(a),_.updateSpreadElement(a,d(a.expression,c,e.isExpression));case 225:return e.Debug.type(a),_.updateClassExpression(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.name,c,e.isIdentifier),l(a.typeParameters,c,e.isTypeParameterDeclaration),l(a.heritageClauses,c,e.isHeritageClause),l(a.members,c,e.isClassElement));case 227:return e.Debug.type(a),_.updateExpressionWithTypeArguments(a,d(a.expression,c,e.isExpression),l(a.typeArguments,c,e.isTypeNode));case 228:return e.Debug.type(a),_.updateAsExpression(a,d(a.expression,c,e.isExpression),d(a.type,c,e.isTypeNode));case 229:return 32&a.flags?(e.Debug.type(a),_.updateNonNullChain(a,d(a.expression,c,e.isExpression))):(e.Debug.type(a),_.updateNonNullExpression(a,d(a.expression,c,e.isExpression)));case 230:return e.Debug.type(a),_.updateMetaProperty(a,d(a.name,c,e.isIdentifier));case 232:return e.Debug.type(a),_.updateTemplateSpan(a,d(a.expression,c,e.isExpression),d(a.literal,c,e.isTemplateMiddleOrTemplateTail));case 234:return e.Debug.type(a),_.updateBlock(a,l(a.statements,c,e.isStatement));case 236:return e.Debug.type(a),_.updateVariableStatement(a,l(a.modifiers,c,e.isModifier),d(a.declarationList,c,e.isVariableDeclarationList));case 237:return e.Debug.type(a),_.updateExpressionStatement(a,d(a.expression,c,e.isExpression));case 238:return e.Debug.type(a),_.updateIfStatement(a,d(a.expression,c,e.isExpression),d(a.thenStatement,c,e.isStatement,_.liftToBlock),d(a.elseStatement,c,e.isStatement,_.liftToBlock));case 239:return e.Debug.type(a),_.updateDoStatement(a,s(a.statement,c,u),d(a.expression,c,e.isExpression));case 240:return e.Debug.type(a),_.updateWhileStatement(a,d(a.expression,c,e.isExpression),s(a.statement,c,u));case 241:return e.Debug.type(a),_.updateForStatement(a,d(a.initializer,c,e.isForInitializer),d(a.condition,c,e.isExpression),d(a.incrementor,c,e.isExpression),s(a.statement,c,u));case 242:return e.Debug.type(a),_.updateForInStatement(a,d(a.initializer,c,e.isForInitializer),d(a.expression,c,e.isExpression),s(a.statement,c,u));case 243:return e.Debug.type(a),_.updateForOfStatement(a,d(a.awaitModifier,p,e.isAwaitKeyword),d(a.initializer,c,e.isForInitializer),d(a.expression,c,e.isExpression),s(a.statement,c,u));case 244:return e.Debug.type(a),_.updateContinueStatement(a,d(a.label,c,e.isIdentifier));case 245:return e.Debug.type(a),_.updateBreakStatement(a,d(a.label,c,e.isIdentifier));case 246:return e.Debug.type(a),_.updateReturnStatement(a,d(a.expression,c,e.isExpression));case 247:return e.Debug.type(a),_.updateWithStatement(a,d(a.expression,c,e.isExpression),d(a.statement,c,e.isStatement,_.liftToBlock));case 248:return e.Debug.type(a),_.updateSwitchStatement(a,d(a.expression,c,e.isExpression),d(a.caseBlock,c,e.isCaseBlock));case 249:return e.Debug.type(a),_.updateLabeledStatement(a,d(a.label,c,e.isIdentifier),d(a.statement,c,e.isStatement,_.liftToBlock));case 250:return e.Debug.type(a),_.updateThrowStatement(a,d(a.expression,c,e.isExpression));case 251:return e.Debug.type(a),_.updateTryStatement(a,d(a.tryBlock,c,e.isBlock),d(a.catchClause,c,e.isCatchClause),d(a.finallyBlock,c,e.isBlock));case 253:return e.Debug.type(a),_.updateVariableDeclaration(a,d(a.name,c,e.isBindingName),d(a.exclamationToken,p,e.isExclamationToken),d(a.type,c,e.isTypeNode),d(a.initializer,c,e.isExpression));case 254:return e.Debug.type(a),_.updateVariableDeclarationList(a,l(a.declarations,c,e.isVariableDeclaration));case 255:return e.Debug.type(a),_.updateFunctionDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.asteriskToken,p,e.isAsteriskToken),d(a.name,c,e.isIdentifier),l(a.typeParameters,c,e.isTypeParameterDeclaration),i(a.parameters,c,u,l),d(a.type,c,e.isTypeNode),o(a.body,c,u,d));case 256:return e.Debug.type(a),_.updateClassDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.name,c,e.isIdentifier),l(a.typeParameters,c,e.isTypeParameterDeclaration),l(a.heritageClauses,c,e.isHeritageClause),l(a.members,c,e.isClassElement));case 257:return e.Debug.type(a),_.updateInterfaceDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.name,c,e.isIdentifier),l(a.typeParameters,c,e.isTypeParameterDeclaration),l(a.heritageClauses,c,e.isHeritageClause),l(a.members,c,e.isTypeElement));case 258:return e.Debug.type(a),_.updateTypeAliasDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.name,c,e.isIdentifier),l(a.typeParameters,c,e.isTypeParameterDeclaration),d(a.type,c,e.isTypeNode));case 259:return e.Debug.type(a),_.updateEnumDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.name,c,e.isIdentifier),l(a.members,c,e.isEnumMember));case 260:return e.Debug.type(a),_.updateModuleDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.name,c,e.isModuleName),d(a.body,c,e.isModuleBody));case 261:return e.Debug.type(a),_.updateModuleBlock(a,l(a.statements,c,e.isStatement));case 262:return e.Debug.type(a),_.updateCaseBlock(a,l(a.clauses,c,e.isCaseOrDefaultClause));case 263:return e.Debug.type(a),_.updateNamespaceExportDeclaration(a,d(a.name,c,e.isIdentifier));case 264:return e.Debug.type(a),_.updateImportEqualsDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),a.isTypeOnly,d(a.name,c,e.isIdentifier),d(a.moduleReference,c,e.isModuleReference));case 265:return e.Debug.type(a),_.updateImportDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.importClause,c,e.isImportClause),d(a.moduleSpecifier,c,e.isExpression),d(a.assertClause,c,e.isAssertClause));case 292:return e.Debug.type(a),_.updateAssertClause(a,l(a.elements,c,e.isAssertEntry),a.multiLine);case 293:return e.Debug.type(a),_.updateAssertEntry(a,d(a.name,c,e.isAssertionKey),d(a.value,c,e.isExpressionNode));case 266:return e.Debug.type(a),_.updateImportClause(a,a.isTypeOnly,d(a.name,c,e.isIdentifier),d(a.namedBindings,c,e.isNamedImportBindings));case 267:return e.Debug.type(a),_.updateNamespaceImport(a,d(a.name,c,e.isIdentifier));case 273:return e.Debug.type(a),_.updateNamespaceExport(a,d(a.name,c,e.isIdentifier));case 268:return e.Debug.type(a),_.updateNamedImports(a,l(a.elements,c,e.isImportSpecifier));case 269:return e.Debug.type(a),_.updateImportSpecifier(a,a.isTypeOnly,d(a.propertyName,c,e.isIdentifier),d(a.name,c,e.isIdentifier));case 270:return e.Debug.type(a),_.updateExportAssignment(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),d(a.expression,c,e.isExpression));case 271:return e.Debug.type(a),_.updateExportDeclaration(a,l(a.decorators,c,e.isDecorator),l(a.modifiers,c,e.isModifier),a.isTypeOnly,d(a.exportClause,c,e.isNamedExportBindings),d(a.moduleSpecifier,c,e.isExpression),d(a.assertClause,c,e.isAssertClause));case 272:return e.Debug.type(a),_.updateNamedExports(a,l(a.elements,c,e.isExportSpecifier));case 274:return e.Debug.type(a),_.updateExportSpecifier(a,a.isTypeOnly,d(a.propertyName,c,e.isIdentifier),d(a.name,c,e.isIdentifier));case 276:return e.Debug.type(a),_.updateExternalModuleReference(a,d(a.expression,c,e.isExpression));case 277:return e.Debug.type(a),_.updateJsxElement(a,d(a.openingElement,c,e.isJsxOpeningElement),l(a.children,c,e.isJsxChild),d(a.closingElement,c,e.isJsxClosingElement));case 278:return e.Debug.type(a),_.updateJsxSelfClosingElement(a,d(a.tagName,c,e.isJsxTagNameExpression),l(a.typeArguments,c,e.isTypeNode),d(a.attributes,c,e.isJsxAttributes));case 279:return e.Debug.type(a),_.updateJsxOpeningElement(a,d(a.tagName,c,e.isJsxTagNameExpression),l(a.typeArguments,c,e.isTypeNode),d(a.attributes,c,e.isJsxAttributes));case 280:return e.Debug.type(a),_.updateJsxClosingElement(a,d(a.tagName,c,e.isJsxTagNameExpression));case 281:return e.Debug.type(a),_.updateJsxFragment(a,d(a.openingFragment,c,e.isJsxOpeningFragment),l(a.children,c,e.isJsxChild),d(a.closingFragment,c,e.isJsxClosingFragment));case 284:return e.Debug.type(a),_.updateJsxAttribute(a,d(a.name,c,e.isIdentifier),d(a.initializer,c,e.isStringLiteralOrJsxExpression));case 285:return e.Debug.type(a),_.updateJsxAttributes(a,l(a.properties,c,e.isJsxAttributeLike));case 286:return e.Debug.type(a),_.updateJsxSpreadAttribute(a,d(a.expression,c,e.isExpression));case 287:return e.Debug.type(a),_.updateJsxExpression(a,d(a.expression,c,e.isExpression));case 288:return e.Debug.type(a),_.updateCaseClause(a,d(a.expression,c,e.isExpression),l(a.statements,c,e.isStatement));case 289:return e.Debug.type(a),_.updateDefaultClause(a,l(a.statements,c,e.isStatement));case 290:return e.Debug.type(a),_.updateHeritageClause(a,l(a.types,c,e.isExpressionWithTypeArguments));case 291:return e.Debug.type(a),_.updateCatchClause(a,d(a.variableDeclaration,c,e.isVariableDeclaration),d(a.block,c,e.isBlock));case 294:return e.Debug.type(a),_.updatePropertyAssignment(a,d(a.name,c,e.isPropertyName),d(a.initializer,c,e.isExpression));case 295:return e.Debug.type(a),_.updateShorthandPropertyAssignment(a,d(a.name,c,e.isIdentifier),d(a.objectAssignmentInitializer,c,e.isExpression));case 296:return e.Debug.type(a),_.updateSpreadAssignment(a,d(a.expression,c,e.isExpression));case 297:return e.Debug.type(a),_.updateEnumMember(a,d(a.name,c,e.isPropertyName),d(a.initializer,c,e.isExpression));case 303:return e.Debug.type(a),_.updateSourceFile(a,n(a.statements,c,u));case 348:return e.Debug.type(a),_.updatePartiallyEmittedExpression(a,d(a.expression,c,e.isExpression));case 349:return e.Debug.type(a),_.updateCommaListExpression(a,l(a.elements,c,e.isExpression));default:return a}}}}(n||(n={})),function(e){e.createSourceMapGenerator=function(t,r,n,i,o){var c,u,l=o.extendedDiagnostics?e.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):e.performance.nullTimer,p=l.enter,d=l.exit,f=[],_=[],m=new e.Map,g=[],h=[],y="",v=0,D=0,b=0,x=0,E=0,S=0,C=!1,T=0,k=0,A=0,N=0,P=0,F=0,w=!1,I=!1,O=!1;return{getSources:function(){return f},addSource:L,setSourceContent:M,addName:R,addMapping:B,appendSourceMap:function(t,r,n,i,o,s){e.Debug.assert(t>=T,"generatedLine cannot backtrack"),e.Debug.assert(r>=0,"generatedCharacter cannot be negative"),p();for(var c,u=[],l=a(n.mappings),f=l.next();!f.done;f=l.next()){var _=f.value;if(s&&(_.generatedLine>s.line||_.generatedLine===s.line&&_.generatedCharacter>s.character))break;if(!o||!(_.generatedLine<o.line||o.line===_.generatedLine&&_.generatedCharacter<o.character)){var m=void 0,g=void 0,h=void 0,y=void 0;if(void 0!==_.sourceIndex){if(void 0===(m=u[_.sourceIndex])){var v=n.sources[_.sourceIndex],D=n.sourceRoot?e.combinePaths(n.sourceRoot,v):v,b=e.combinePaths(e.getDirectoryPath(i),D);u[_.sourceIndex]=m=L(b),n.sourcesContent&&"string"==typeof n.sourcesContent[_.sourceIndex]&&M(m,n.sourcesContent[_.sourceIndex])}g=_.sourceLine,h=_.sourceCharacter,n.names&&void 0!==_.nameIndex&&(c||(c=[]),void 0===(y=c[_.nameIndex])&&(c[_.nameIndex]=y=R(n.names[_.nameIndex])))}var x=_.generatedLine-(o?o.line:0),E=x+t,S=o&&o.line===_.generatedLine?_.generatedCharacter-o.character:_.generatedCharacter;B(E,0===x?S+r:S,m,g,h,y)}}d()},toJSON:U,toString:function(){return JSON.stringify(U())}};function L(r){p();var n=e.getRelativePathToDirectoryOrUrl(i,r,t.getCurrentDirectory(),t.getCanonicalFileName,!0),a=m.get(n);return void 0===a&&(a=_.length,_.push(n),f.push(r),m.set(n,a)),d(),a}function M(e,t){if(p(),null!==t){for(c||(c=[]);c.length<e;)c.push(null);c[e]=t}d()}function R(t){p(),u||(u=new e.Map);var r=u.get(t);return void 0===r&&(r=g.length,g.push(t),u.set(t,r)),d(),r}function B(t,r,n,i,a,o){e.Debug.assert(t>=T,"generatedLine cannot backtrack"),e.Debug.assert(r>=0,"generatedCharacter cannot be negative"),e.Debug.assert(void 0===n||n>=0,"sourceIndex cannot be negative"),e.Debug.assert(void 0===i||i>=0,"sourceLine cannot be negative"),e.Debug.assert(void 0===a||a>=0,"sourceCharacter cannot be negative"),p(),(function(e,t){return!w||T!==e||k!==t}(t,r)||function(e,t,r){return void 0!==e&&void 0!==t&&void 0!==r&&A===e&&(N>t||N===t&&P>r)}(n,i,a))&&(K(),T=t,k=r,I=!1,O=!1,w=!0),void 0!==n&&void 0!==i&&void 0!==a&&(A=n,N=i,P=a,I=!0,void 0!==o&&(F=o,O=!0)),d()}function j(e){h.push(e),h.length>=1024&&J()}function K(){if(w&&(!C||v!==T||D!==k||b!==A||x!==N||E!==P||S!==F)){if(p(),v<T){do{j(59),v++}while(v<T);D=0}else e.Debug.assertEqual(v,T,"generatedLine cannot backtrack"),C&&j(44);q(k-D),D=k,I&&(q(A-b),b=A,q(N-x),x=N,q(P-E),E=P,O&&(q(F-S),S=F)),C=!0,d()}}function J(){h.length>0&&(y+=String.fromCharCode.apply(void 0,h),h.length=0)}function U(){return K(),J(),{version:3,file:r,sourceRoot:n,sources:_,names:g,mappings:y,sourcesContent:c}}function q(e){e<0?e=1+(-e<<1):e<<=1;do{var t=31&e;(e>>=5)>0&&(t|=32),j(s(t))}while(e>0)}};var t=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,r=/^\s*(\/\/[@#] .*)?$/;function n(e){return"string"==typeof e||null===e}function i(t){return null!==t&&"object"==typeof t&&3===t.version&&"string"==typeof t.file&&"string"==typeof t.mappings&&e.isArray(t.sources)&&e.every(t.sources,e.isString)&&(void 0===t.sourceRoot||null===t.sourceRoot||"string"==typeof t.sourceRoot)&&(void 0===t.sourcesContent||null===t.sourcesContent||e.isArray(t.sourcesContent)&&e.every(t.sourcesContent,n))&&(void 0===t.names||null===t.names||e.isArray(t.names)&&e.every(t.names,e.isString))}function a(e){var t,r=!1,n=0,i=0,a=0,o=0,s=0,u=0,l=0;return{get pos(){return n},get error(){return t},get state(){return p(!0,!0)},next:function(){for(;!r&&n<e.length;){var t=e.charCodeAt(n);if(59!==t){if(44!==t){var c=!1,f=!1;if(a+=h(),m())return d();if(a<0)return _("Invalid generatedCharacter found");if(!g()){if(c=!0,o+=h(),m())return d();if(o<0)return _("Invalid sourceIndex found");if(g())return _("Unsupported Format: No entries after sourceIndex");if(s+=h(),m())return d();if(s<0)return _("Invalid sourceLine found");if(g())return _("Unsupported Format: No entries after sourceLine");if(u+=h(),m())return d();if(u<0)return _("Invalid sourceCharacter found");if(!g()){if(f=!0,l+=h(),m())return d();if(l<0)return _("Invalid nameIndex found");if(!g())return _("Unsupported Error Format: Entries after nameIndex")}}return{value:p(c,f),done:r}}n++}else i++,a=0,n++}return d()}};function p(e,t){return{generatedLine:i,generatedCharacter:a,sourceIndex:e?o:void 0,sourceLine:e?s:void 0,sourceCharacter:e?u:void 0,nameIndex:t?l:void 0}}function d(){return r=!0,{value:void 0,done:!0}}function f(e){void 0===t&&(t=e)}function _(e){return f(e),d()}function m(){return void 0!==t}function g(){return n===e.length||44===e.charCodeAt(n)||59===e.charCodeAt(n)}function h(){for(var t=!0,r=0,i=0;t;n++){if(n>=e.length)return f("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var a=c(e.charCodeAt(n));if(-1===a)return f("Invalid character in VLQ"),-1;t=0!=(32&a),i|=(31&a)<<r,r+=5}return 0==(1&i)?i>>=1:i=-(i>>=1),i}}function o(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function s(t){return t>=0&&t<26?65+t:t>=26&&t<52?97+t-26:t>=52&&t<62?48+t-52:62===t?43:63===t?47:e.Debug.fail("".concat(t,": not a base64 value"))}function c(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 u(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function l(e,t){return e.generatedPosition===t.generatedPosition&&e.sourceIndex===t.sourceIndex&&e.sourcePosition===t.sourcePosition}function p(t,r){return e.Debug.assert(t.sourceIndex===r.sourceIndex),e.compareValues(t.sourcePosition,r.sourcePosition)}function d(t,r){return e.compareValues(t.generatedPosition,r.generatedPosition)}function f(e){return e.sourcePosition}function _(e){return e.generatedPosition}e.getLineInfo=function(e,t){return{getLineCount:function(){return t.length},getLineText:function(r){return e.substring(t[r],t[r+1])}}},e.tryGetSourceMappingURL=function(n){for(var i=n.getLineCount()-1;i>=0;i--){var a=n.getLineText(i),o=t.exec(a);if(o)return e.trimStringEnd(o[1]);if(!a.match(r))break}},e.isRawSourceMap=i,e.tryParseRawSourceMap=function(e){try{var t=JSON.parse(e);if(i(t))return t}catch{}},e.decodeMappings=a,e.sameMapping=function(e,t){return e===t||e.generatedLine===t.generatedLine&&e.generatedCharacter===t.generatedCharacter&&e.sourceIndex===t.sourceIndex&&e.sourceLine===t.sourceLine&&e.sourceCharacter===t.sourceCharacter&&e.nameIndex===t.nameIndex},e.isSourceMapping=o,e.createDocumentPositionMapper=function(t,r,n){var i,s,c,m=e.getDirectoryPath(n),g=r.sourceRoot?e.getNormalizedAbsolutePath(r.sourceRoot,m):m,h=e.getNormalizedAbsolutePath(r.file,m),y=t.getSourceFileLike(h),v=r.sources.map((function(t){return e.getNormalizedAbsolutePath(t,g)})),D=new e.Map(v.map((function(e,r){return[t.getCanonicalFileName(e),r]})));return{getSourcePosition:function(t){var r=function(){if(void 0===s){for(var t=[],r=0,n=x();r<n.length;r++){var i=n[r];t.push(i)}s=e.sortAndDeduplicate(t,d,l)}return s}();if(!e.some(r))return t;var n=e.binarySearchKey(r,t.pos,_,e.compareValues);n<0&&(n=~n);var i=r[n];return void 0!==i&&u(i)?{fileName:v[i.sourceIndex],pos:i.sourcePosition}:t},getGeneratedPosition:function(r){var n=D.get(t.getCanonicalFileName(r.fileName));if(void 0===n)return r;var i=function(t){if(void 0===c){for(var r=[],n=0,i=x();n<i.length;n++){var a=i[n];if(u(a)){var o=r[a.sourceIndex];o||(r[a.sourceIndex]=o=[]),o.push(a)}}c=r.map((function(t){return e.sortAndDeduplicate(t,p,l)}))}return c[t]}(n);if(!e.some(i))return r;var a=e.binarySearchKey(i,r.pos,f,e.compareValues);a<0&&(a=~a);var o=i[a];return void 0===o||o.sourceIndex!==n?r:{fileName:h,pos:o.generatedPosition}}};function b(n){var i,a,s=void 0!==y?e.getPositionOfLineAndCharacter(y,n.generatedLine,n.generatedCharacter,!0):-1;if(o(n)){var c=t.getSourceFileLike(v[n.sourceIndex]);i=r.sources[n.sourceIndex],a=void 0!==c?e.getPositionOfLineAndCharacter(c,n.sourceLine,n.sourceCharacter,!0):-1}return{generatedPosition:s,source:i,sourceIndex:n.sourceIndex,sourcePosition:a,nameIndex:n.nameIndex}}function x(){if(void 0===i){var n=a(r.mappings),o=e.arrayFrom(n,b);void 0!==n.error?(t.log&&t.log("Encountered error while decoding sourcemap: ".concat(n.error)),i=e.emptyArray):i=o}return i}},e.identitySourceMapConsumer={getSourcePosition:e.identity,getGeneratedPosition:e.identity}}(n||(n={})),function(e){function t(t){return(t=e.getOriginalNode(t))?e.getNodeId(t):0}function r(e){return void 0!==e.propertyName&&"default"===e.propertyName.escapedText}function n(t){if(e.getNamespaceDeclarationNode(t))return!0;var n=t.importClause&&t.importClause.namedBindings;if(!n||!e.isNamedImports(n))return!1;for(var i=0,a=0,o=n.elements;a<o.length;a++)r(o[a])&&i++;return i>0&&i!==n.elements.length||!!(n.elements.length-i)&&e.isDefaultImport(t)}function i(t){return!n(t)&&(e.isDefaultImport(t)||!!t.importClause&&e.isNamedImports(t.importClause.namedBindings)&&function(t){return!(!t||!e.isNamedImports(t))&&e.some(t.elements,r)}(t.importClause.namedBindings))}function a(t,r,n){if(e.isBindingPattern(t.name))for(var i=0,o=t.name.elements;i<o.length;i++){var s=o[i];e.isOmittedExpression(s)||(n=a(s,r,n))}else if(!e.isGeneratedIdentifier(t.name)){var c=e.idText(t.name);r.get(c)||(r.set(c,!0),n=e.append(n,t.name))}return n}function o(e,t,r){var n=e[t];return n?n.push(r):e[t]=n=[r],n}function s(t){return e.isStringLiteralLike(t)||8===t.kind||e.isKeyword(t.kind)||e.isIdentifier(t)}function c(t){if(e.isExpressionStatement(t)){var r=e.skipParentheses(t.expression);return e.isSuperCall(r)?r:void 0}}function u(t){return function(t){return e.isPropertyDeclaration(t)&&e.hasStaticModifier(t)}(t)||e.isClassStaticBlockDeclaration(t)}e.getOriginalNodeId=t,e.chainBundle=function(t,r){return function(n){return 303===n.kind?r(n):function(n){return t.factory.createBundle(e.map(n.sourceFiles,r),n.prepends)}(n)}},e.getExportNeedsImportStarHelper=function(t){return!!e.getNamespaceDeclarationNode(t)},e.getImportNeedsImportStarHelper=n,e.getImportNeedsImportDefaultHelper=i,e.collectExternalModuleInfo=function(r,s,c,u){for(var l,p,d=[],f=e.createMultiMap(),_=[],m=new e.Map,g=!1,h=!1,y=!1,v=!1,D=0,b=s.statements;D<b.length;D++){var x=b[D];switch(x.kind){case 265:d.push(x),!y&&n(x)&&(y=!0),!v&&i(x)&&(v=!0);break;case 264:276===x.moduleReference.kind&&d.push(x);break;case 271:if(x.moduleSpecifier)if(x.exportClause)if(d.push(x),e.isNamedExports(x.exportClause))A(x);else{var E=x.exportClause.name;m.get(e.idText(E))||(o(_,t(x),E),m.set(e.idText(E),!0),l=e.append(l,E)),y=!0}else d.push(x),h=!0;else A(x);break;case 270:x.isExportEquals&&!p&&(p=x);break;case 236:if(e.hasSyntacticModifier(x,1))for(var S=0,C=x.declarationList.declarations;S<C.length;S++){var T=C[S];l=a(T,m,l)}break;case 255:e.hasSyntacticModifier(x,1)&&(e.hasSyntacticModifier(x,512)?g||(o(_,t(x),r.factory.getDeclarationName(x)),g=!0):(E=x.name,m.get(e.idText(E))||(o(_,t(x),E),m.set(e.idText(E),!0),l=e.append(l,E))));break;case 256:e.hasSyntacticModifier(x,1)&&(e.hasSyntacticModifier(x,512)?g||(o(_,t(x),r.factory.getDeclarationName(x)),g=!0):(E=x.name)&&!m.get(e.idText(E))&&(o(_,t(x),E),m.set(e.idText(E),!0),l=e.append(l,E)))}}var k=e.createExternalHelpersImportDeclarationIfNeeded(r.factory,r.getEmitHelperFactory(),s,u,h,y,v);return k&&d.unshift(k),{externalImports:d,exportSpecifiers:f,exportEquals:p,hasExportStarsToExportValues:h,exportedBindings:_,exportedNames:l,externalHelpersImportDeclaration:k};function A(r){for(var n=0,i=e.cast(r.exportClause,e.isNamedExports).elements;n<i.length;n++){var a=i[n];if(!m.get(e.idText(a.name))){var s=a.propertyName||a.name;r.moduleSpecifier||f.add(e.idText(s),a);var u=c.getReferencedImportDeclaration(s)||c.getReferencedValueDeclaration(s);u&&o(_,t(u),a.name),m.set(e.idText(a.name),!0),l=e.append(l,a.name)}}}},e.isSimpleCopiableExpression=s,e.isSimpleInlineableExpression=function(t){return!e.isIdentifier(t)&&s(t)},e.isCompoundAssignment=function(e){return e>=64&&e<=78},e.getNonAssignmentOperatorForCompoundAssignment=function(e){switch(e){case 64:return 39;case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 47;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 78:return 52;case 75:return 56;case 76:return 55;case 77:return 60}},e.getSuperCallFromStatement=c,e.findSuperStatementIndex=function(e,t){for(var r=t;r<e.length;r+=1)if(c(e[r]))return r;return-1},e.getProperties=function(t,r,n){return e.filter(t.members,(function(t){return function(t,r,n){return e.isPropertyDeclaration(t)&&(!!t.initializer||!r)&&e.hasStaticModifier(t)===n}(t,r,n)}))},e.getStaticPropertiesAndClassStaticBlock=function(t){return e.filter(t.members,u)},e.isInitializedProperty=function(e){return 166===e.kind&&void 0!==e.initializer},e.isNonStaticMethodOrAccessorWithPrivateName=function(t){return!e.isStatic(t)&&e.isMethodOrAccessor(t)&&e.isPrivateIdentifier(t.name)}}(n||(n={})),function(e){var t;function r(t,n){var i=e.getTargetOfBindingOrAssignmentElement(t);return e.isBindingOrAssignmentPattern(i)?function(t,n){for(var i=0,a=e.getElementsOfBindingOrAssignmentPattern(t);i<a.length;i++)if(r(a[i],n))return!0;return!1}(i,n):!!e.isIdentifier(i)&&i.escapedText===n}function n(t){var r=e.tryGetPropertyNameOfBindingOrAssignmentElement(t);if(r&&e.isComputedPropertyName(r)&&!e.isLiteralExpression(r.expression))return!0;var i=e.getTargetOfBindingOrAssignmentElement(t);return!!i&&e.isBindingOrAssignmentPattern(i)&&function(t){return!!e.forEach(e.getElementsOfBindingOrAssignmentPattern(t),n)}(i)}function i(t,r,n,c,u){var l=e.getTargetOfBindingOrAssignmentElement(r);if(!u){var p=e.visitNode(e.getInitializerOfBindingOrAssignmentElement(r),t.visitor,e.isExpression);p?n?(n=function(e,t,r,n){return t=s(e,t,!0,n),e.context.factory.createConditionalExpression(e.context.factory.createTypeCheck(t,"undefined"),void 0,r,void 0,t)}(t,n,p,c),!e.isSimpleInlineableExpression(p)&&e.isBindingOrAssignmentPattern(l)&&(n=s(t,n,!0,c))):n=p:n||(n=t.context.factory.createVoidZero())}e.isObjectBindingOrAssignmentPattern(l)?function(t,r,n,a,c){var u=e.getElementsOfBindingOrAssignmentPattern(n),l=u.length;1!==l&&(a=s(t,a,!e.isDeclarationBindingElement(r)||0!==l,c));for(var p,d,f=0;f<l;f++){var _=u[f];if(e.getRestIndicatorOfBindingOrAssignmentElement(_)){if(f===l-1){p&&(t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(p),a,c,n),p=void 0);var m=t.context.getEmitHelperFactory().createRestHelper(a,u,d,n);i(t,_,m,_)}}else{var g=e.getPropertyNameOfBindingOrAssignmentElement(_);!(t.level>=1)||49152&_.transformFlags||49152&e.getTargetOfBindingOrAssignmentElement(_).transformFlags||e.isComputedPropertyName(g)?(p&&(t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(p),a,c,n),p=void 0),m=o(t,a,g),e.isComputedPropertyName(g)&&(d=e.append(d,m.argumentExpression)),i(t,_,m,_)):p=e.append(p,e.visitNode(_,t.visitor))}}p&&t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(p),a,c,n)}(t,r,l,n,c):e.isArrayBindingOrAssignmentPattern(l)?function(t,r,n,o,c){var u=e.getElementsOfBindingOrAssignmentPattern(n),l=u.length;t.level<1&&t.downlevelIteration?o=s(t,e.setTextRange(t.context.getEmitHelperFactory().createReadHelper(o,l>0&&e.getRestIndicatorOfBindingOrAssignmentElement(u[l-1])?void 0:l),c),!1,c):(1!==l&&(t.level<1||0===l)||e.every(u,e.isOmittedExpression))&&(o=s(t,o,!e.isDeclarationBindingElement(r)||0!==l,c));for(var p,d,f=0;f<l;f++){var _=u[f];if(t.level>=1)if(32768&_.transformFlags||t.hasTransformedPriorElement&&!a(_)){t.hasTransformedPriorElement=!0;var m=t.context.factory.createTempVariable(void 0);t.hoistTempVariables&&t.context.hoistVariableDeclaration(m),d=e.append(d,[m,_]),p=e.append(p,t.createArrayBindingOrAssignmentElement(m))}else p=e.append(p,_);else{if(e.isOmittedExpression(_))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(_)){if(f===l-1){var g=t.context.factory.createArraySliceCall(o,f);i(t,_,g,_)}}else g=t.context.factory.createElementAccessExpression(o,f),i(t,_,g,_)}}if(p&&t.emitBindingOrAssignment(t.createArrayBindingOrAssignmentPattern(p),o,c,n),d)for(var h=0,y=d;h<y.length;h++){var v=y[h],D=v[0];i(t,_=v[1],D,_)}}(t,r,l,n,c):t.emitBindingOrAssignment(l,n,c,r)}function a(t){var r=e.getTargetOfBindingOrAssignmentElement(t);if(!r||e.isOmittedExpression(r))return!0;var n=e.tryGetPropertyNameOfBindingOrAssignmentElement(t);if(n&&!e.isPropertyNameLiteral(n))return!1;var i=e.getInitializerOfBindingOrAssignmentElement(t);return!(i&&!e.isSimpleInlineableExpression(i))&&(e.isBindingOrAssignmentPattern(r)?e.every(e.getElementsOfBindingOrAssignmentPattern(r),a):e.isIdentifier(r))}function o(t,r,n){if(e.isComputedPropertyName(n)){var i=s(t,e.visitNode(n.expression,t.visitor),!1,n);return t.context.factory.createElementAccessExpression(r,i)}if(e.isStringOrNumericLiteralLike(n))return i=e.factory.cloneNode(n),t.context.factory.createElementAccessExpression(r,i);var a=t.context.factory.createIdentifier(e.idText(n));return t.context.factory.createPropertyAccessExpression(r,a)}function s(t,r,n,i){if(e.isIdentifier(r)&&n)return r;var a=t.context.factory.createTempVariable(void 0);return t.hoistTempVariables?(t.context.hoistVariableDeclaration(a),t.emitExpression(e.setTextRange(t.context.factory.createAssignment(a,r),i))):t.emitBindingOrAssignment(a,r,i,void 0),a}function c(e){return e}(t=e.FlattenLevel||(e.FlattenLevel={}))[t.All=0]="All",t[t.ObjectRest=1]="ObjectRest",e.flattenDestructuringAssignment=function(t,a,o,u,l,p){var d,f=t;if(e.isDestructuringAssignment(t))for(d=t.right;e.isEmptyArrayLiteral(t.left)||e.isEmptyObjectLiteral(t.left);){if(!e.isDestructuringAssignment(d))return e.visitNode(d,a,e.isExpression);f=t=d,d=t.right}var _,m={context:o,level:u,downlevelIteration:!!o.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:g,emitBindingOrAssignment:function(t,r,n,i){e.Debug.assertNode(t,p?e.isIdentifier:e.isExpression);var s=p?p(t,r,n):e.setTextRange(o.factory.createAssignment(e.visitNode(t,a,e.isExpression),r),n);s.original=i,g(s)},createArrayBindingOrAssignmentPattern:function(t){return function(t,r){return t.createArrayLiteralExpression(e.map(r,t.converters.convertToArrayAssignmentElement))}(o.factory,t)},createObjectBindingOrAssignmentPattern:function(t){return function(t,r){return t.createObjectLiteralExpression(e.map(r,t.converters.convertToObjectAssignmentElement))}(o.factory,t)},createArrayBindingOrAssignmentElement:c,visitor:a};if(d&&(d=e.visitNode(d,a,e.isExpression),e.isIdentifier(d)&&r(t,d.escapedText)||n(t)?d=s(m,d,!1,f):l?d=s(m,d,!0,f):e.nodeIsSynthesized(t)&&(f=d)),i(m,t,d,f,e.isDestructuringAssignment(t)),d&&l){if(!e.some(_))return d;_.push(d)}return o.factory.inlineExpressions(_)||o.factory.createOmittedExpression();function g(t){_=e.append(_,t)}},e.flattenDestructuringBinding=function(t,a,o,c,u,l,p){void 0===l&&(l=!1);var d,f=[],_=[],m={context:o,level:c,downlevelIteration:!!o.getCompilerOptions().downlevelIteration,hoistTempVariables:l,emitExpression:function(t){d=e.append(d,t)},emitBindingOrAssignment:A,createArrayBindingOrAssignmentPattern:function(t){return function(t,r){return e.Debug.assertEachNode(r,e.isArrayBindingElement),t.createArrayBindingPattern(r)}(o.factory,t)},createObjectBindingOrAssignmentPattern:function(t){return function(t,r){return e.Debug.assertEachNode(r,e.isBindingElement),t.createObjectBindingPattern(r)}(o.factory,t)},createArrayBindingOrAssignmentElement:function(e){return function(e,t){return e.createBindingElement(void 0,void 0,t)}(o.factory,e)},visitor:a};if(e.isVariableDeclaration(t)){var g=e.getInitializerOfBindingOrAssignmentElement(t);g&&(e.isIdentifier(g)&&r(t,g.escapedText)||n(t))&&(g=s(m,e.visitNode(g,m.visitor),!1,g),t=o.factory.updateVariableDeclaration(t,t.name,void 0,void 0,g))}if(i(m,t,u,t,p),d){var h=o.factory.createTempVariable(void 0);if(l){var y=o.factory.inlineExpressions(d);d=void 0,A(h,y,void 0,void 0)}else{o.hoistVariableDeclaration(h);var v=e.last(f);v.pendingExpressions=e.append(v.pendingExpressions,o.factory.createAssignment(h,v.value)),e.addRange(v.pendingExpressions,d),v.value=h}}for(var D=0,b=f;D<b.length;D++){var x=b[D],E=x.pendingExpressions,S=x.name,C=(y=x.value,x.location),T=x.original,k=o.factory.createVariableDeclaration(S,void 0,void 0,E?o.factory.inlineExpressions(e.append(E,y)):y);k.original=T,e.setTextRange(k,C),_.push(k)}return _;function A(t,r,n,i){e.Debug.assertNode(t,e.isBindingName),d&&(r=o.factory.inlineExpressions(e.append(d,r)),d=void 0),f.push({pendingExpressions:d,name:t,value:r,location:n,original:i})}}}(n||(n={})),function(e){var t,r;function n(t){return t.templateFlags?e.factory.createVoidZero():e.factory.createStringLiteral(t.text)}function i(t,r){var n=t.rawText;if(void 0===n){e.Debug.assertIsDefined(r,"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."),n=e.getSourceTextOfNodeFromSourceFile(r,t);var i=14===t.kind||17===t.kind;n=n.substring(1,n.length-(i?1:2))}return n=n.replace(/\r\n?/g,"\n"),e.setTextRange(e.factory.createStringLiteral(n),t)}(r=t=e.ProcessLevel||(e.ProcessLevel={}))[r.LiftRestriction=0]="LiftRestriction",r[r.All=1]="All",e.processTaggedTemplateExpression=function(r,a,o,s,c,u){var l=e.visitNode(a.tag,o,e.isExpression),p=[void 0],d=[],f=[],_=a.template;if(u===t.LiftRestriction&&!e.hasInvalidEscape(_))return e.visitEachChild(a,o,r);if(e.isNoSubstitutionTemplateLiteral(_))d.push(n(_)),f.push(i(_,s));else{d.push(n(_.head)),f.push(i(_.head,s));for(var m=0,g=_.templateSpans;m<g.length;m++){var h=g[m];d.push(n(h.literal)),f.push(i(h.literal,s)),p.push(e.visitNode(h.expression,o,e.isExpression))}}var y=r.getEmitHelperFactory().createTemplateObjectHelper(e.factory.createArrayLiteralExpression(d),e.factory.createArrayLiteralExpression(f));if(e.isExternalModule(s)){var v=e.factory.createUniqueName("templateObject");c(v),p[0]=e.factory.createLogicalOr(v,e.factory.createAssignment(v,y))}else p[0]=y;return e.factory.createCallExpression(l,void 0,p)}}(n||(n={})),function(e){var t,r,n;(r=t||(t={}))[r.ClassAliases=1]="ClassAliases",r[r.NamespaceExports=2]="NamespaceExports",r[r.NonQualifiedEnumMembers=8]="NonQualifiedEnumMembers",function(e){e[e.None=0]="None",e[e.HasStaticInitializedProperties=1]="HasStaticInitializedProperties",e[e.HasConstructorDecorators=2]="HasConstructorDecorators",e[e.HasMemberDecorators=4]="HasMemberDecorators",e[e.IsExportOfNamespace=8]="IsExportOfNamespace",e[e.IsNamedExternalExport=16]="IsNamedExternalExport",e[e.IsDefaultExternalExport=32]="IsDefaultExternalExport",e[e.IsDerivedClass=64]="IsDerivedClass",e[e.UseImmediatelyInvokedFunctionExpression=128]="UseImmediatelyInvokedFunctionExpression",e[e.HasAnyDecorators=6]="HasAnyDecorators",e[e.NeedsName=5]="NeedsName",e[e.MayNeedImmediatelyInvokedFunctionExpression=7]="MayNeedImmediatelyInvokedFunctionExpression",e[e.IsExported=56]="IsExported"}(n||(n={})),e.transformTypeScript=function(t){var r,n,i,a,o,s,c,u,l,p,d=t.factory,f=t.getEmitHelperFactory,_=t.startLexicalEnvironment,m=t.resumeLexicalEnvironment,g=t.endLexicalEnvironment,h=t.hoistVariableDeclaration,y=t.getEmitResolver(),v=t.getCompilerOptions(),D=e.getStrictOptionValue(v,"strictNullChecks"),b=e.getEmitScriptTarget(v),x=e.getEmitModuleKind(v),E=t.onEmitNode,S=t.onSubstituteNode;return t.onEmitNode=function(t,n,i){var a=p,o=r;e.isSourceFile(n)&&(r=n),2&u&&function(t){return 260===e.getOriginalNode(t).kind}(n)&&(p|=2),8&u&&function(t){return 259===e.getOriginalNode(t).kind}(n)&&(p|=8),E(t,n,i),p=a,r=o},t.onSubstituteNode=function(t,r){return r=S(t,r),1===t?function(t){switch(t.kind){case 79:return function(t){return function(t){if(1&u&&33554432&y.getNodeCheckFlags(t)){var r=y.getReferencedValueDeclaration(t);if(r){var n=l[r.id];if(n){var i=d.cloneNode(n);return e.setSourceMapRange(i,t),e.setCommentRange(i,t),i}}}}(t)||Be(t)||t}(t);case 205:case 206:return function(e){return je(e)}(t)}return t}(r):e.isShorthandPropertyAssignment(r)?function(t){if(2&u){var r=t.name,n=Be(r);if(n){if(t.objectAssignmentInitializer){var i=d.createAssignment(n,t.objectAssignmentInitializer);return e.setTextRange(d.createPropertyAssignment(r,i),t)}return e.setTextRange(d.createPropertyAssignment(r,n),t)}}return t}(r):r},t.enableSubstitution(205),t.enableSubstitution(206),function(t){return 304===t.kind?function(t){return d.createBundle(t.sourceFiles.map(C),e.mapDefined(t.prepends,(function(t){return 306===t.kind?e.createUnparsedSourceFile(t,"js"):t})))}(t):C(t)};function C(n){if(n.isDeclarationFile)return n;r=n;var i=T(n,R);return e.addEmitHelpers(i,t.readEmitHelpers()),r=void 0,i}function T(t,r){var n=a,i=o,u=s,l=c;!function(t){switch(t.kind){case 303:case 262:case 261:case 234:a=t,o=void 0,s=void 0;break;case 256:case 255:if(e.hasSyntacticModifier(t,2))break;t.name?ve(t):e.Debug.assert(256===t.kind||e.hasSyntacticModifier(t,512)),e.isClassDeclaration(t)&&(o=t)}}(t);var p=r(t);return a!==n&&(s=u),a=n,o=i,c=l,p}function k(e){return T(e,A)}function A(e){return 1&e.transformFlags?M(e):e}function N(e){return T(e,P)}function P(r){switch(r.kind){case 265:case 264:case 270:case 271:return function(r){if(e.getParseTreeNode(r)!==r)return 1&r.transformFlags?e.visitEachChild(r,k,t):r;switch(r.kind){case 265:return function(t){if(!t.importClause)return t;if(!t.importClause.isTypeOnly){var r=e.visitNode(t.importClause,Se,e.isImportClause);return r||1===v.importsNotUsedAsValues||2===v.importsNotUsedAsValues?d.updateImportDeclaration(t,void 0,void 0,r,t.moduleSpecifier,t.assertClause):void 0}}(r);case 264:return Ae(r);case 270:return function(r){return y.isValueAliasDeclaration(r)?e.visitEachChild(r,k,t):void 0}(r);case 271:return function(t){if(!t.isTypeOnly){if(!t.exportClause||e.isNamespaceExport(t.exportClause))return t;var r=!!t.moduleSpecifier&&(1===v.importsNotUsedAsValues||2===v.importsNotUsedAsValues),n=e.visitNode(t.exportClause,(function(t){return function(t,r){return e.isNamespaceExport(t)?function(t){return d.updateNamespaceExport(t,e.visitNode(t.name,k,e.isIdentifier))}(t):function(t,r){var n=e.visitNodes(t.elements,ke,e.isExportSpecifier);return r||e.some(n)?d.updateNamedExports(t,n):void 0}(t,r)}(t,r)}),e.isNamedExportBindings);return n?d.updateExportDeclaration(t,void 0,void 0,t.isTypeOnly,n,t.moduleSpecifier,t.assertClause):void 0}}(r);default:e.Debug.fail("Unhandled ellided statement")}}(r);default:return A(r)}}function F(e){return T(e,w)}function w(t){if(271!==t.kind&&265!==t.kind&&266!==t.kind&&(264!==t.kind||276!==t.moduleReference.kind))return 1&t.transformFlags||e.hasSyntacticModifier(t,1)?M(t):t}function I(e){return T(e,O)}function O(t){switch(t.kind){case 170:return fe(t);case 166:return de(t);case 175:case 171:case 172:case 168:case 169:return A(t);case 233:return t;default:return e.Debug.failBadSyntaxKind(t)}}function L(t){if(!(18654&e.modifierToFlag(t.kind)||n&&93===t.kind))return t}function M(o){if(e.isStatement(o)&&e.hasSyntacticModifier(o,2))return d.createNotEmittedStatement(o);switch(o.kind){case 93:case 88:return n?void 0:o;case 123:case 121:case 122:case 126:case 158:case 85:case 135:case 144:case 182:case 183:case 184:case 185:case 181:case 176:case 162:case 130:case 154:case 133:case 149:case 146:case 143:case 114:case 150:case 179:case 178:case 180:case 177:case 186:case 187:case 188:case 190:case 191:case 192:case 193:case 194:case 195:case 175:case 164:case 263:return;case 258:case 257:return d.createNotEmittedStatement(o);case 166:return de(o);case 170:return fe(o);case 256:return function(i){if(!(j(i)||n&&e.hasSyntacticModifier(i,1)))return e.visitEachChild(i,k,t);var a=function(t,r){var n=0;e.some(r)&&(n|=1);var i=e.getEffectiveBaseTypeNode(t);return i&&104!==e.skipOuterExpressions(i.expression).kind&&(n|=64),e.classOrConstructorParameterIsDecorated(t)&&(n|=2),e.childIsDecorated(t)&&(n|=4),Ne(t)?n|=8:function(t){return Pe(t)&&e.hasSyntacticModifier(t,512)}(t)?n|=32:Fe(t)&&(n|=16),b<=1&&7&n&&(n|=128),n}(i,e.getProperties(i,!0,!0));128&a&&t.startLexicalEnvironment();var o=i.name||(5&a?d.getGeneratedNameForNode(i):void 0),s=2&a?function(r,n){var i=e.moveRangePastDecorators(r),a=function(r){if(16777216&y.getNodeCheckFlags(r)){0==(1&u)&&(u|=1,t.enableSubstitution(79),l=[]);var n=d.createUniqueName(r.name&&!e.isGeneratedIdentifier(r.name)?e.idText(r.name):"default");return l[e.getOriginalNodeId(r)]=n,h(n),n}}(r),o=b<=2?d.getInternalName(r,!1,!0):d.getLocalName(r,!1,!0),s=e.visitNodes(r.heritageClauses,k,e.isHeritageClause),c=K(r),p=d.createClassExpression(void 0,void 0,n,void 0,s,c);e.setOriginalNode(p,r),e.setTextRange(p,i);var f=d.createVariableStatement(void 0,d.createVariableDeclarationList([d.createVariableDeclaration(o,void 0,void 0,a?d.createAssignment(a,p):p)],1));return e.setOriginalNode(f,r),e.setTextRange(f,i),e.setCommentRange(f,r),f}(i,o):function(t,r,n){var i=128&n?void 0:e.visitNodes(t.modifiers,L,e.isModifier),a=d.createClassDeclaration(void 0,i,r,void 0,e.visitNodes(t.heritageClauses,k,e.isHeritageClause),K(t)),o=e.getEmitFlags(t);return 1&n&&(o|=32),e.setTextRange(a,t),e.setOriginalNode(a,t),e.setEmitFlags(a,o),a}(i,o,a),c=[s];if(W(c,i,!1),W(c,i,!0),function(t,r){var n=function(t){var r=z(t,t,function(t){var r=t.decorators,n=q(e.getFirstConstructorWithBody(t));if(r||n)return{decorators:r,parameters:n}}(t));if(r){var n=l&&l[e.getOriginalNodeId(t)],i=b<=2?d.getInternalName(t,!1,!0):d.getLocalName(t,!1,!0),a=f().createDecorateHelper(r,i),o=d.createAssignment(i,n?d.createAssignment(n,a):a);return e.setEmitFlags(o,1536),e.setSourceMapRange(o,e.moveRangePastDecorators(t)),o}}(r);n&&t.push(e.setOriginalNode(d.createExpressionStatement(n),r))}(c,i),128&a){var p=e.createTokenRange(e.skipTrivia(r.text,i.members.end),19),_=d.getInternalName(i),m=d.createPartiallyEmittedExpression(_);e.setTextRangeEnd(m,p.end),e.setEmitFlags(m,1536);var g=d.createReturnStatement(m);e.setTextRangePos(g,p.pos),e.setEmitFlags(g,1920),c.push(g),e.insertStatementsAfterStandardPrologue(c,t.endLexicalEnvironment());var v=d.createImmediatelyInvokedArrowFunction(c);e.setEmitFlags(v,33554432);var D=d.createVariableStatement(void 0,d.createVariableDeclarationList([d.createVariableDeclaration(d.getLocalName(i,!1,!1),void 0,void 0,v)]));e.setOriginalNode(D,i),e.setCommentRange(D,i),e.setSourceMapRange(D,e.moveRangePastDecorators(i)),e.startOnNewLine(D),c=[D]}return 8&a?Ie(c,i):(128&a||2&a)&&(32&a?c.push(d.createExportDefault(d.getLocalName(i,!1,!0))):16&a&&c.push(d.createExternalModuleExport(d.getLocalName(i,!1,!0)))),c.length>1&&(c.push(d.createEndOfDeclarationMarker(i)),e.setEmitFlags(s,4194304|e.getEmitFlags(s))),e.singleOrMany(c)}(o);case 225:return function(r){if(!j(r))return e.visitEachChild(r,k,t);var n=d.createClassExpression(void 0,void 0,r.name,void 0,e.visitNodes(r.heritageClauses,k,e.isHeritageClause),K(r));return e.setOriginalNode(n,r),e.setTextRange(n,r),n}(o);case 290:return function(r){if(117!==r.token)return e.visitEachChild(r,k,t)}(o);case 227:return function(t){return d.updateExpressionWithTypeArguments(t,e.visitNode(t.expression,k,e.isLeftHandSideExpression),void 0)}(o);case 168:return function(r){if(pe(r)){var n=d.updateMethodDeclaration(r,void 0,e.visitNodes(r.modifiers,L,e.isModifier),r.asteriskToken,le(r),void 0,void 0,e.visitParameterList(r.parameters,k,t),void 0,e.visitFunctionBody(r.body,k,t));return n!==r&&(e.setCommentRange(n,r),e.setSourceMapRange(n,e.moveRangePastDecorators(r))),n}}(o);case 171:return function(r){if(me(r)){var n=d.updateGetAccessorDeclaration(r,void 0,e.visitNodes(r.modifiers,L,e.isModifier),le(r),e.visitParameterList(r.parameters,k,t),void 0,e.visitFunctionBody(r.body,k,t)||d.createBlock([]));return n!==r&&(e.setCommentRange(n,r),e.setSourceMapRange(n,e.moveRangePastDecorators(r))),n}}(o);case 172:return function(r){if(me(r)){var n=d.updateSetAccessorDeclaration(r,void 0,e.visitNodes(r.modifiers,L,e.isModifier),le(r),e.visitParameterList(r.parameters,k,t),e.visitFunctionBody(r.body,k,t)||d.createBlock([]));return n!==r&&(e.setCommentRange(n,r),e.setSourceMapRange(n,e.moveRangePastDecorators(r))),n}}(o);case 255:return function(r){if(!pe(r))return d.createNotEmittedStatement(r);var n=d.updateFunctionDeclaration(r,void 0,e.visitNodes(r.modifiers,L,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,k,t),void 0,e.visitFunctionBody(r.body,k,t)||d.createBlock([]));if(Ne(r)){var i=[n];return Ie(i,r),i}return n}(o);case 212:return function(r){return pe(r)?d.updateFunctionExpression(r,e.visitNodes(r.modifiers,L,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,k,t),void 0,e.visitFunctionBody(r.body,k,t)||d.createBlock([])):d.createOmittedExpression()}(o);case 213:return function(r){return d.updateArrowFunction(r,e.visitNodes(r.modifiers,L,e.isModifier),void 0,e.visitParameterList(r.parameters,k,t),void 0,r.equalsGreaterThanToken,e.visitFunctionBody(r.body,k,t))}(o);case 163:return function(t){if(!e.parameterIsThisKeyword(t)){var r=d.updateParameterDeclaration(t,void 0,void 0,t.dotDotDotToken,e.visitNode(t.name,k,e.isBindingName),void 0,void 0,e.visitNode(t.initializer,k,e.isExpression));return r!==t&&(e.setCommentRange(r,t),e.setTextRange(r,e.moveRangePastModifiers(t)),e.setSourceMapRange(r,e.moveRangePastModifiers(t)),e.setEmitFlags(r.name,32)),r}}(o);case 211:return function(r){var n=e.skipOuterExpressions(r.expression,-7);if(e.isAssertionExpression(n)){var i=e.visitNode(r.expression,k,e.isExpression);return d.createPartiallyEmittedExpression(i,r)}return e.visitEachChild(r,k,t)}(o);case 210:case 228:return function(t){var r=e.visitNode(t.expression,k,e.isExpression);return d.createPartiallyEmittedExpression(r,t)}(o);case 207:return function(t){return d.updateCallExpression(t,e.visitNode(t.expression,k,e.isExpression),void 0,e.visitNodes(t.arguments,k,e.isExpression))}(o);case 208:return function(t){return d.updateNewExpression(t,e.visitNode(t.expression,k,e.isExpression),void 0,e.visitNodes(t.arguments,k,e.isExpression))}(o);case 209:return function(t){return d.updateTaggedTemplateExpression(t,e.visitNode(t.tag,k,e.isExpression),void 0,e.visitNode(t.template,k,e.isExpression))}(o);case 229:return function(t){var r=e.visitNode(t.expression,k,e.isLeftHandSideExpression);return d.createPartiallyEmittedExpression(r,t)}(o);case 259:return function(t){if(!function(t){return!e.isEnumConst(t)||e.shouldPreserveConstEnums(v)}(t))return d.createNotEmittedStatement(t);var n=[],o=2,s=be(n,t);s&&(x!==e.ModuleKind.System||a!==r)&&(o|=512);var c=Me(t),u=Re(t),l=e.hasSyntacticModifier(t,1)?d.getExternalModuleOrNamespaceExportName(i,t,!1,!0):d.getLocalName(t,!1,!0),p=d.createLogicalOr(l,d.createAssignment(l,d.createObjectLiteralExpression()));if(ye(t)){var f=d.getLocalName(t,!1,!0);p=d.createAssignment(f,p)}var m=d.createExpressionStatement(d.createCallExpression(d.createFunctionExpression(void 0,void 0,void 0,void 0,[d.createParameterDeclaration(void 0,void 0,void 0,c)],void 0,function(t,r){var n=i;i=r;var a=[];_();var o=e.map(t.members,he);return e.insertStatementsAfterStandardPrologue(a,g()),e.addRange(a,o),i=n,d.createBlock(e.setTextRange(d.createNodeArray(a),t.members),!0)}(t,u)),void 0,[p]));return e.setOriginalNode(m,t),s&&(e.setSyntheticLeadingComments(m,void 0),e.setSyntheticTrailingComments(m,void 0)),e.setTextRange(m,t),e.addEmitFlags(m,o),n.push(m),n.push(d.createEndOfDeclarationMarker(t)),n}(o);case 236:return function(r){if(Ne(r)){var n=e.getInitializedVariables(r.declarationList);return 0===n.length?void 0:e.setTextRange(d.createExpressionStatement(d.inlineExpressions(e.map(n,ge))),r)}return e.visitEachChild(r,k,t)}(o);case 253:return function(t){return d.updateVariableDeclaration(t,e.visitNode(t.name,k,e.isBindingName),void 0,void 0,e.visitNode(t.initializer,k,e.isExpression))}(o);case 260:return xe(o);case 264:return Ae(o);case 278:return function(t){return d.updateJsxSelfClosingElement(t,e.visitNode(t.tagName,k,e.isJsxTagNameExpression),void 0,e.visitNode(t.attributes,k,e.isJsxAttributes))}(o);case 279:return function(t){return d.updateJsxOpeningElement(t,e.visitNode(t.tagName,k,e.isJsxTagNameExpression),void 0,e.visitNode(t.attributes,k,e.isJsxAttributes))}(o);default:return e.visitEachChild(o,k,t)}}function R(r){var n=e.getStrictOptionValue(v,"alwaysStrict")&&!(e.isExternalModule(r)&&x>=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(r);return d.updateSourceFile(r,e.visitLexicalEnvironment(r.statements,N,t,0,n))}function B(e){return!!(4096&e.transformFlags)}function j(t){return e.some(t.decorators)||e.some(t.typeParameters)||e.some(t.heritageClauses,B)||e.some(t.members,B)}function K(t){var r=[],n=e.getFirstConstructorWithBody(t),i=n&&e.filter(n.parameters,(function(t){return e.isParameterPropertyDeclaration(t,n)}));if(i)for(var a=0,o=i;a<o.length;a++){var s=o[a];e.isIdentifier(s.name)&&r.push(e.setOriginalNode(d.createPropertyDeclaration(void 0,void 0,s.name,void 0,void 0,void 0),s))}return e.addRange(r,e.visitNodes(t.members,I,e.isClassElement)),e.setTextRange(d.createNodeArray(r),t.members)}function J(t,r){return e.filter(t.members,r?function(e){return function(e,t){return U(e,!0,t)}(e,t)}:function(e){return function(e,t){return U(e,!1,t)}(e,t)})}function U(t,r,n){return e.nodeOrChildIsDecorated(t,n)&&r===e.isStatic(t)}function q(t){var r;if(t)for(var n=t.parameters,i=n.length>0&&e.parameterIsThisKeyword(n[0]),a=i?1:0,o=i?n.length-1:n.length,s=0;s<o;s++){var c=n[s+a];(r||c.decorators)&&(r||(r=new Array(o)),r[s]=c.decorators)}return r}function V(t,r){switch(r.kind){case 171:case 172:return function(t,r){if(r.body){var n=e.getAllAccessorDeclarations(t.members,r),i=n.firstAccessor,a=n.secondAccessor,o=n.setAccessor,s=i.decorators?i:a&&a.decorators?a:void 0;if(s&&r===s){var c=s.decorators,u=q(o);if(c||u)return{decorators:c,parameters:u}}}}(t,r);case 168:return function(e){if(e.body){var t=e.decorators,r=q(e);if(t||r)return{decorators:t,parameters:r}}}(r);case 166:return function(e){var t=e.decorators;if(t)return{decorators:t}}(r);default:return}}function z(t,r,n){if(n){var i=[];return e.addRange(i,e.map(n.decorators,G)),e.addRange(i,e.flatMap(n.parameters,$)),function(e,t,r){!function(e,t,r){v.emitDecoratorMetadata&&(Y(e)&&r.push(f().createMetadataHelper("design:type",Z(e))),Q(e)&&r.push(f().createMetadataHelper("design:paramtypes",ee(e,t))),X(e)&&r.push(f().createMetadataHelper("design:returntype",te(e))))}(e,t,r)}(t,r,i),i}}function W(t,r,n){e.addRange(t,e.map(function(e,t){for(var r,n=0,i=J(e,t);n<i.length;n++){var a=H(e,i[n]);a&&(r?r.push(a):r=[a])}return r}(r,n),we))}function H(t,r){var n=z(r,t,V(t,r));if(n){var i=function(t,r){return e.isStatic(r)?d.getDeclarationName(t):function(e){return d.createPropertyAccessExpression(d.getDeclarationName(e),"prototype")}(t)}(t,r),a=ue(r,!e.hasSyntacticModifier(r,2)),o=b>0?166===r.kind?d.createVoidZero():d.createNull():void 0,s=f().createDecorateHelper(n,i,a,o);return e.setTextRange(s,e.moveRangePastDecorators(r)),e.setEmitFlags(s,1536),s}}function G(t){return e.visitNode(t.expression,k,e.isExpression)}function $(t,r){var n;if(t){n=[];for(var i=0,a=t;i<a.length;i++){var o=a[i],s=f().createParamHelper(G(o),r);e.setTextRange(s,o.expression),e.setEmitFlags(s,1536),n.push(s)}}return n}function Y(e){var t=e.kind;return 168===t||171===t||172===t||166===t}function X(e){return 168===e.kind}function Q(t){switch(t.kind){case 256:case 225:return void 0!==e.getFirstConstructorWithBody(t);case 168:case 171:case 172:return!0}return!1}function Z(t){switch(t.kind){case 166:case 163:return re(t.type);case 172:case 171:return re(function(t){var r=y.getAllAccessorDeclarations(t);return r.setAccessor&&e.getSetAccessorTypeAnnotationNode(r.setAccessor)||r.getAccessor&&e.getEffectiveReturnTypeNode(r.getAccessor)}(t));case 256:case 225:case 168:return d.createIdentifier("Function");default:return d.createVoidZero()}}function ee(t,r){var n=e.isClassLike(t)?e.getFirstConstructorWithBody(t):e.isFunctionLike(t)&&e.nodeIsPresent(t.body)?t:void 0,i=[];if(n)for(var a=function(t,r){if(r&&171===t.kind){var n=e.getAllAccessorDeclarations(r.members,t).setAccessor;if(n)return n.parameters}return t.parameters}(n,r),o=a.length,s=0;s<o;s++){var c=a[s];0===s&&e.isIdentifier(c.name)&&"this"===c.name.escapedText||(c.dotDotDotToken?i.push(re(e.getRestParameterElementType(c.type))):i.push(Z(c)))}return d.createArrayLiteralExpression(i)}function te(t){return e.isFunctionLike(t)&&t.type?re(t.type):e.isAsyncFunction(t)?d.createIdentifier("Promise"):d.createVoidZero()}function re(t){if(void 0===t)return d.createIdentifier("Object");switch(t.kind){case 114:case 152:case 143:return d.createVoidZero();case 190:return re(t.type);case 178:case 179:return d.createIdentifier("Function");case 182:case 183:return d.createIdentifier("Array");case 176:case 133:return d.createIdentifier("Boolean");case 197:case 149:return d.createIdentifier("String");case 147:return d.createIdentifier("Object");case 195:switch(t.literal.kind){case 10:case 14:return d.createIdentifier("String");case 218:case 8:return d.createIdentifier("Number");case 9:return ce();case 110:case 95:return d.createIdentifier("Boolean");case 104:return d.createVoidZero();default:return e.Debug.failBadSyntaxKind(t.literal)}case 146:return d.createIdentifier("Number");case 157:return ce();case 150:return b<2?se():d.createIdentifier("Symbol");case 177:return function(t){var r=y.getTypeReferenceSerializationKind(t.typeName,o||a);switch(r){case e.TypeReferenceSerializationKind.Unknown:if(e.findAncestor(t,(function(t){return t.parent&&e.isConditionalTypeNode(t.parent)&&(t.parent.trueType===t||t.parent.falseType===t)})))return d.createIdentifier("Object");var n=ae(t.typeName),i=d.createTempVariable(h);return d.createConditionalExpression(d.createTypeCheck(d.createAssignment(i,n),"function"),void 0,i,void 0,d.createIdentifier("Object"));case e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue:return oe(t.typeName);case e.TypeReferenceSerializationKind.VoidNullableOrNeverType:return d.createVoidZero();case e.TypeReferenceSerializationKind.BigIntLikeType:return ce();case e.TypeReferenceSerializationKind.BooleanType:return d.createIdentifier("Boolean");case e.TypeReferenceSerializationKind.NumberLikeType:return d.createIdentifier("Number");case e.TypeReferenceSerializationKind.StringLikeType:return d.createIdentifier("String");case e.TypeReferenceSerializationKind.ArrayLikeType:return d.createIdentifier("Array");case e.TypeReferenceSerializationKind.ESSymbolType:return b<2?se():d.createIdentifier("Symbol");case e.TypeReferenceSerializationKind.TypeWithCallSignature:return d.createIdentifier("Function");case e.TypeReferenceSerializationKind.Promise:return d.createIdentifier("Promise");case e.TypeReferenceSerializationKind.ObjectType:return d.createIdentifier("Object");default:return e.Debug.assertNever(r)}}(t);case 187:case 186:return ne(t.types);case 188:return ne([t.trueType,t.falseType]);case 192:if(144===t.operator)return re(t.type);break;case 180:case 193:case 194:case 181:case 130:case 154:case 191:case 199:case 310:case 311:case 315:case 316:case 317:break;case 312:case 313:case 314:return re(t.type);default:return e.Debug.failBadSyntaxKind(t)}return d.createIdentifier("Object")}function ne(t){for(var r,n=0,i=t;n<i.length;n++){for(var a=i[n];190===a.kind;)a=a.type;if(143!==a.kind&&(D||(195!==a.kind||104!==a.literal.kind)&&152!==a.kind)){var o=re(a);if(e.isIdentifier(o)&&"Object"===o.escapedText)return o;if(r){if(!e.isIdentifier(r)||!e.isIdentifier(o)||r.escapedText!==o.escapedText)return d.createIdentifier("Object")}else r=o}}return r||d.createVoidZero()}function ie(e,t){return d.createLogicalAnd(d.createStrictInequality(d.createTypeOfExpression(e),d.createStringLiteral("undefined")),t)}function ae(e){if(79===e.kind){var t=oe(e);return ie(t,t)}if(79===e.left.kind)return ie(oe(e.left),oe(e));var r=ae(e.left),n=d.createTempVariable(h);return d.createLogicalAnd(d.createLogicalAnd(r.left,d.createStrictInequality(d.createAssignment(n,r.right),d.createVoidZero())),d.createPropertyAccessExpression(n,e.right))}function oe(t){switch(t.kind){case 79:var r=e.setParent(e.setTextRange(e.parseNodeFactory.cloneNode(t),t),t.parent);return r.original=void 0,e.setParent(r,e.getParseTreeNode(a)),r;case 160:return function(e){return d.createPropertyAccessExpression(oe(e.left),e.right)}(t)}}function se(){return d.createConditionalExpression(d.createTypeCheck(d.createIdentifier("Symbol"),"function"),void 0,d.createIdentifier("Symbol"),void 0,d.createIdentifier("Object"))}function ce(){return b<99?d.createConditionalExpression(d.createTypeCheck(d.createIdentifier("BigInt"),"function"),void 0,d.createIdentifier("BigInt"),void 0,d.createIdentifier("Object")):d.createIdentifier("BigInt")}function ue(t,r){var n=t.name;return e.isPrivateIdentifier(n)?d.createIdentifier(""):e.isComputedPropertyName(n)?r&&!e.isSimpleInlineableExpression(n.expression)?d.getGeneratedNameForNode(n):n.expression:e.isIdentifier(n)?d.createStringLiteral(e.idText(n)):d.cloneNode(n)}function le(t){var r=t.name;if(e.isComputedPropertyName(r)&&(!e.hasStaticModifier(t)&&c||e.some(t.decorators))){var n=e.visitNode(r.expression,k,e.isExpression),i=e.skipPartiallyEmittedExpressions(n);if(!e.isSimpleInlineableExpression(i)){var a=d.getGeneratedNameForNode(r);return h(a),d.updateComputedPropertyName(r,d.createAssignment(a,n))}}return e.visitNode(r,k,e.isPropertyName)}function pe(t){return!e.nodeIsMissing(t.body)}function de(t){if(!(8388608&t.flags||e.hasSyntacticModifier(t,128))){var r=d.updatePropertyDeclaration(t,void 0,e.visitNodes(t.modifiers,k,e.isModifier),le(t),void 0,void 0,e.visitNode(t.initializer,k));return r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t))),r}}function fe(r){if(pe(r))return d.updateConstructorDeclaration(r,void 0,void 0,e.visitParameterList(r.parameters,k,t),function(r,n){var i=n&&e.filter(n.parameters,(function(t){return e.isParameterPropertyDeclaration(t,n)}));if(!e.some(i))return e.visitFunctionBody(r,k,t);var a=[];m();var o=d.copyPrologue(r.statements,a,!1,k),s=e.findSuperStatementIndex(r.statements,o);s>=0&&e.addRange(a,e.visitNodes(r.statements,k,e.isStatement,o,s+1-o));var c=e.mapDefined(i,_e);s>=0?e.addRange(a,c):a=e.addRange(c,a),e.addRange(a,e.visitNodes(r.statements,k,e.isStatement,s+1)),a=d.mergeLexicalEnvironment(a,g());var u=d.createBlock(e.setTextRange(d.createNodeArray(a),r.statements),!0);return e.setTextRange(u,r),e.setOriginalNode(u,r),u}(r.body,r))}function _e(t){var r=t.name;if(e.isIdentifier(r)){var n=e.setParent(e.setTextRange(d.cloneNode(r),r),r.parent);e.setEmitFlags(n,1584);var i=e.setParent(e.setTextRange(d.cloneNode(r),r),r.parent);return e.setEmitFlags(i,1536),e.startOnNewLine(e.removeAllComments(e.setTextRange(e.setOriginalNode(d.createExpressionStatement(d.createAssignment(e.setTextRange(d.createPropertyAccessExpression(d.createThis(),n),t.name),i)),t),e.moveRangePos(t,-1))))}}function me(t){return!(e.nodeIsMissing(t.body)&&e.hasSyntacticModifier(t,128))}function ge(r){var n=r.name;return e.isBindingPattern(n)?e.flattenDestructuringAssignment(r,k,t,0,!1,Oe):e.setTextRange(d.createAssignment(Le(n),e.visitNode(r.initializer,k,e.isExpression)),r)}function he(r){var n=ue(r,!1),a=function(r){var n=y.getConstantValue(r);return void 0!==n?"string"==typeof n?d.createStringLiteral(n):d.createNumericLiteral(n):(0==(8&u)&&(u|=8,t.enableSubstitution(79)),r.initializer?e.visitNode(r.initializer,k,e.isExpression):d.createVoidZero())}(r),o=d.createAssignment(d.createElementAccessExpression(i,n),a),s=10===a.kind?o:d.createAssignment(d.createElementAccessExpression(i,o),n);return e.setTextRange(d.createExpressionStatement(e.setTextRange(s,r)),r)}function ye(t){return Ne(t)||Pe(t)&&x!==e.ModuleKind.ES2015&&x!==e.ModuleKind.ES2020&&x!==e.ModuleKind.ES2022&&x!==e.ModuleKind.ESNext&&x!==e.ModuleKind.System}function ve(t){s||(s=new e.Map);var r=De(t);s.has(r)||s.set(r,t)}function De(t){return e.Debug.assertNode(t.name,e.isIdentifier),t.name.escapedText}function be(t,r){var n=d.createVariableStatement(e.visitNodes(r.modifiers,L,e.isModifier),d.createVariableDeclarationList([d.createVariableDeclaration(d.getLocalName(r,!1,!0))],303===a.kind?0:1));if(e.setOriginalNode(n,r),ve(r),function(e){if(s){var t=De(e);return s.get(t)===e}return!0}(r))return 259===r.kind?e.setSourceMapRange(n.declarationList,r):e.setSourceMapRange(n,r),e.setCommentRange(n,r),e.addEmitFlags(n,4195328),t.push(n),!0;var i=d.createMergeDeclarationMarker(n);return e.setEmitFlags(i,4195840),t.push(i),!1}function xe(o){if(!function(t){var r=e.getParseTreeNode(t,e.isModuleDeclaration);return!r||e.isInstantiatedModule(r,e.shouldPreserveConstEnums(v))}(o))return d.createNotEmittedStatement(o);e.Debug.assertNode(o.name,e.isIdentifier,"A TypeScript namespace should have an Identifier name."),0==(2&u)&&(u|=2,t.enableSubstitution(79),t.enableSubstitution(295),t.enableEmitNotification(260));var c=[],l=2,p=be(c,o);p&&(x!==e.ModuleKind.System||a!==r)&&(l|=512);var f=Me(o),m=Re(o),h=e.hasSyntacticModifier(o,1)?d.getExternalModuleOrNamespaceExportName(i,o,!1,!0):d.getLocalName(o,!1,!0),y=d.createLogicalOr(h,d.createAssignment(h,d.createObjectLiteralExpression()));if(ye(o)){var D=d.getLocalName(o,!1,!0);y=d.createAssignment(D,y)}var b=d.createExpressionStatement(d.createCallExpression(d.createFunctionExpression(void 0,void 0,void 0,void 0,[d.createParameterDeclaration(void 0,void 0,void 0,f)],void 0,function(t,r){var a=i,o=n,c=s;i=r,n=t,s=void 0;var u,l,p=[];if(_(),t.body)if(261===t.body.kind)T(t.body,(function(t){return e.addRange(p,e.visitNodes(t.statements,F,e.isStatement))})),u=t.body.statements,l=t.body;else{var f=xe(t.body);f&&(e.isArray(f)?e.addRange(p,f):p.push(f));var m=Ee(t).body;u=e.moveRangePos(m.statements,-1)}e.insertStatementsAfterStandardPrologue(p,g()),i=a,n=o,s=c;var h=d.createBlock(e.setTextRange(d.createNodeArray(p),u),!0);return e.setTextRange(h,l),(!t.body||261!==t.body.kind)&&e.setEmitFlags(h,1536|e.getEmitFlags(h)),h}(o,m)),void 0,[y]));return e.setOriginalNode(b,o),p&&(e.setSyntheticLeadingComments(b,void 0),e.setSyntheticTrailingComments(b,void 0)),e.setTextRange(b,o),e.addEmitFlags(b,l),c.push(b),c.push(d.createEndOfDeclarationMarker(o)),c}function Ee(e){if(260===e.body.kind)return Ee(e.body)||e.body}function Se(t){e.Debug.assert(!t.isTypeOnly);var r=Ke(t)?t.name:void 0,n=e.visitNode(t.namedBindings,Ce,e.isNamedImportBindings);return r||n?d.updateImportClause(t,!1,r,n):void 0}function Ce(t){if(267===t.kind)return Ke(t)?t:void 0;var r=v.preserveValueImports&&(1===v.importsNotUsedAsValues||2===v.importsNotUsedAsValues),n=e.visitNodes(t.elements,Te,e.isImportSpecifier);return r||e.some(n)?d.updateNamedImports(t,n):void 0}function Te(e){return!e.isTypeOnly&&Ke(e)?e:void 0}function ke(e){return!e.isTypeOnly&&y.isValueAliasDeclaration(e)?e:void 0}function Ae(n){if(!n.isTypeOnly){if(e.isExternalModuleImportEqualsDeclaration(n)){var a=Ke(n);return a||1!==v.importsNotUsedAsValues?a?e.visitEachChild(n,k,t):void 0:e.setOriginalNode(e.setTextRange(d.createImportDeclaration(void 0,void 0,void 0,n.moduleReference.expression,void 0),n),n)}if(function(t){return Ke(t)||!e.isExternalModule(r)&&y.isTopLevelValueImportEqualsWithEntityName(t)}(n)){var o=e.createExpressionFromEntityName(d,n.moduleReference);return e.setEmitFlags(o,3584),Fe(n)||!Ne(n)?e.setOriginalNode(e.setTextRange(d.createVariableStatement(e.visitNodes(n.modifiers,L,e.isModifier),d.createVariableDeclarationList([e.setOriginalNode(d.createVariableDeclaration(n.name,void 0,void 0,o),n)])),n),n):e.setOriginalNode(function(t,r,n){return e.setTextRange(d.createExpressionStatement(d.createAssignment(d.getNamespaceMemberName(i,t,!1,!0),r)),n)}(n.name,o,n),n)}}}function Ne(t){return void 0!==n&&e.hasSyntacticModifier(t,1)}function Pe(t){return void 0===n&&e.hasSyntacticModifier(t,1)}function Fe(t){return Pe(t)&&!e.hasSyntacticModifier(t,512)}function we(e){return d.createExpressionStatement(e)}function Ie(t,r){var n=d.createAssignment(d.getExternalModuleOrNamespaceExportName(i,r,!1,!0),d.getLocalName(r));e.setSourceMapRange(n,e.createRange(r.name?r.name.pos:r.pos,r.end));var a=d.createExpressionStatement(n);e.setSourceMapRange(a,e.createRange(-1,r.end)),t.push(a)}function Oe(t,r,n){return e.setTextRange(d.createAssignment(Le(t),r),n)}function Le(e){return d.getNamespaceMemberName(i,e,!1,!0)}function Me(t){var r=d.getGeneratedNameForNode(t);return e.setSourceMapRange(r,t.name),r}function Re(e){return d.getGeneratedNameForNode(e)}function Be(t){if(u&p&&!e.isGeneratedIdentifier(t)&&!e.isLocalName(t)){var r=y.getReferencedExportContainer(t,!1);if(r&&303!==r.kind&&(2&p&&260===r.kind||8&p&&259===r.kind))return e.setTextRange(d.createPropertyAccessExpression(d.getGeneratedNameForNode(r),t),t)}}function je(t){var r=function(t){if(!v.isolatedModules)return e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t)?y.getConstantValue(t):void 0}(t);if(void 0!==r){e.setConstantValue(t,r);var n="string"==typeof r?d.createStringLiteral(r):d.createNumericLiteral(r);if(!v.removeComments){var i=e.getOriginalNode(t,e.isAccessExpression),a=e.isPropertyAccessExpression(i)?e.declarationNameToString(i.name):e.getTextOfNode(i.argumentExpression);e.addSyntheticTrailingComment(n,3," ".concat(a," "))}return n}return t}function Ke(e){return v.preserveValueImports?y.isValueAliasDeclaration(e):y.isReferencedAliasDeclaration(e)}}}(n||(n={})),function(e){var t,r,n;(r=t||(t={}))[r.ClassAliases=1]="ClassAliases",r[r.ClassStaticThisOrSuperReference=2]="ClassStaticThisOrSuperReference",function(e){e.Field="f",e.Method="m",e.Accessor="a"}(e.PrivateIdentifierKind||(e.PrivateIdentifierKind={})),function(e){e[e.None=0]="None",e[e.ClassWasDecorated=1]="ClassWasDecorated",e[e.NeedsClassConstructorReference=2]="NeedsClassConstructorReference",e[e.NeedsClassSuperReference=4]="NeedsClassSuperReference",e[e.NeedsSubstitutionForThisInClassStaticField=8]="NeedsSubstitutionForThisInClassStaticField"}(n||(n={})),e.transformClassFields=function(t){var r=t.factory,n=t.hoistVariableDeclaration,i=t.endLexicalEnvironment,o=t.startLexicalEnvironment,s=t.resumeLexicalEnvironment,c=t.addBlockScopedVariable,u=t.getEmitResolver(),l=t.getCompilerOptions(),p=e.getEmitScriptTarget(l),d=e.getUseDefineForClassFields(l),f=p<9,_=p<9,m=_&&p>=2,g=t.onSubstituteNode;t.onSubstituteNode=function(t,n){return n=g(t,n),1===t?function(t){switch(t.kind){case 79:return function(t){return function(t){if(1&y&&33554432&u.getNodeCheckFlags(t)){var n=u.getReferencedValueDeclaration(t);if(n){var i=v[n.id];if(i){var a=r.cloneNode(i);return e.setSourceMapRange(a,t),e.setCommentRange(a,t),a}}}}(t)||t}(t);case 108:return function(t){if(2&y&&x){var n=x.facts,i=x.classConstructor;if(1&n)return r.createParenthesizedExpression(r.createVoidZero());if(i)return e.setTextRange(e.setOriginalNode(r.cloneNode(i),t),t)}return t}(t)}return t}(n):n};var h=t.onEmitNode;t.onEmitNode=function(t,r,n){var i=e.getOriginalNode(r);if(i.id){var a=T.get(i.id);if(a){var o=x,s=E;return x=a,E=a,h(t,r,n),x=o,void(E=s)}}switch(r.kind){case 212:if(e.isArrowFunction(i)||262144&e.getEmitFlags(r))break;case 255:case 170:return o=x,s=E,x=void 0,E=void 0,h(t,r,n),x=o,void(E=s);case 171:case 172:case 168:case 166:return o=x,s=E,E=x,x=void 0,h(t,r,n),x=o,void(E=s);case 161:return o=x,s=E,x=E,E=void 0,h(t,r,n),x=o,void(E=s)}h(t,r,n)};var y,v,D,b,x,E,S,C=[],T=new e.Map;return e.chainBundle(t,(function(r){var n=t.getCompilerOptions();if(r.isDeclarationFile||d&&e.getEmitScriptTarget(n)>=9)return r;var i=e.visitEachChild(r,N,t);return e.addEmitHelpers(i,t.readEmitHelpers()),i}));function k(i,o){if(8388608&i.transformFlags)switch(i.kind){case 225:case 256:return function(i){if(!e.forEach(i.members,j))return e.visitEachChild(i,N,t);var a=D;if(D=void 0,C.push(x),x=void 0,f){var o=e.getNameOfDeclaration(i);o&&e.isIdentifier(o)&&(Y().className=e.idText(o));var s=K(i);e.some(s)&&(Y().weakSetName=Z("instances",s[0].name))}var l=e.isClassDeclaration(i)?function(t){var i,a=J(t);if(a&&($().facts=a),8&a&&H(),2&a){var o=r.createTempVariable(n,!0);$().classConstructor=r.cloneNode(o),i=r.createAssignment(o,r.getInternalName(t))}var s=e.getEffectiveBaseTypeNode(t),c=!(!s||104===e.skipOuterExpressions(s.expression).kind),u=[r.updateClassDeclaration(t,void 0,t.modifiers,t.name,void 0,e.visitNodes(t.heritageClauses,P,e.isHeritageClause),U(t,c))];i&&X().unshift(i),e.some(D)&&u.push(r.createExpressionStatement(r.inlineExpressions(D)));var l=e.getStaticPropertiesAndClassStaticBlock(t);return e.some(l)&&V(u,l,r.getInternalName(t)),u}(i):function(i){var a=J(i);a&&($().facts=a),8&a&&H();var o,s=!!(1&a),l=e.getStaticPropertiesAndClassStaticBlock(i),p=e.getEffectiveBaseTypeNode(i),d=!(!p||104===e.skipOuterExpressions(p.expression).kind),_=16777216&u.getNodeCheckFlags(i);function m(){var e=u.getNodeCheckFlags(i),t=16777216&e,a=524288&e;return r.createTempVariable(a?c:n,!!t)}2&a&&(o=m(),$().classConstructor=r.cloneNode(o));var g=r.updateClassExpression(i,e.visitNodes(i.decorators,N,e.isDecorator),i.modifiers,i.name,void 0,e.visitNodes(i.heritageClauses,P,e.isHeritageClause),U(i,d));if(f&&e.some(l,(function(t){return e.isClassStaticBlockDeclaration(t)||!!t.initializer||e.isPrivateIdentifier(t.name)}))||e.some(D)){if(s)return e.Debug.assertIsDefined(b,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),b&&D&&e.some(D)&&b.push(r.createExpressionStatement(r.inlineExpressions(D))),b&&e.some(l)&&V(b,l,r.getInternalName(i)),o?r.inlineExpressions([r.createAssignment(o,g),o]):g;var h=[];if(o||(o=m()),_){0==(1&y)&&(y|=1,t.enableSubstitution(79),v=[]);var x=r.cloneNode(o);x.autoGenerateFlags&=-9,v[e.getOriginalNodeId(i)]=x}return e.setEmitFlags(g,65536|e.getEmitFlags(g)),h.push(e.startOnNewLine(r.createAssignment(o,g))),e.addRange(h,e.map(D,e.startOnNewLine)),e.addRange(h,function(t,r){for(var n=[],i=0,a=t;i<a.length;i++){var o=a[i],s=e.isClassStaticBlockDeclaration(o)?R(o):W(o,r);!s||(e.startOnNewLine(s),e.setSourceMapRange(s,e.moveRangePastModifiers(o)),e.setCommentRange(s,o),e.setOriginalNode(s,o),n.push(s))}return n}(l,o)),h.push(e.startOnNewLine(o)),r.inlineExpressions(h)}return g}(i);return x=C.pop(),D=a,l}(i);case 166:return I(i);case 236:return function(r){var n=b;b=[];var i=e.visitEachChild(r,N,t),o=e.some(b)?a([i],b,!0):i;return b=n,o}(i);case 80:return function(t){return!f||e.isStatement(t.parent)?t:e.setOriginalNode(r.createIdentifier(""),t)}(i);case 169:return function(r){if(!f)return e.visitEachChild(r,w,t)}(i)}if(8388608&i.transformFlags||33554432&i.transformFlags&&m&&S&&x)switch(i.kind){case 218:case 219:return function(i,a){if(45===i.operator||46===i.operator)if(f&&e.isPrivateIdentifierPropertyAccessExpression(i.operand)){var o=void 0;if(o=te(i.operand.name)){var s=M(e.visitNode(i.operand.expression,N,e.isExpression)),c=s.readExpression,u=s.initializeExpression,l=O(o,c),p=e.isPrefixUnaryExpression(i)||a?void 0:r.createTempVariable(n);return l=B(o,u||c,l=e.expandPreOrPostfixIncrementOrDecrementExpression(r,i,l,n,p),63),e.setOriginalNode(l,i),e.setTextRange(l,i),p&&(l=r.createComma(l,p),e.setTextRange(l,i)),l}}else if(m&&e.isSuperProperty(i.operand)&&S&&x){var d=x.classConstructor,_=x.superClassReference;if(1&x.facts){var g=G(i.operand);return e.isPrefixUnaryExpression(i)?r.updatePrefixUnaryExpression(i,g):r.updatePostfixUnaryExpression(i,g)}if(d&&_){var h=void 0,y=void 0;if(e.isPropertyAccessExpression(i.operand)?e.isIdentifier(i.operand.name)&&(y=h=r.createStringLiteralFromNode(i.operand.name)):e.isSimpleInlineableExpression(i.operand.argumentExpression)?y=h=i.operand.argumentExpression:(y=r.createTempVariable(n),h=r.createAssignment(y,e.visitNode(i.operand.argumentExpression,N,e.isExpression))),h&&y)return l=r.createReflectGetCall(_,y,d),e.setTextRange(l,i.operand),p=a?void 0:r.createTempVariable(n),l=e.expandPreOrPostfixIncrementOrDecrementExpression(r,i,l,n,p),l=r.createReflectSetCall(_,h,l,d),e.setOriginalNode(l,i),e.setTextRange(l,i),p&&(l=r.createComma(l,p),e.setTextRange(l,i)),l}}return e.visitEachChild(i,N,t)}(i,o);case 220:return function(i,o){if(e.isDestructuringAssignment(i)){var s=D;D=void 0,i=r.updateBinaryExpression(i,e.visitNode(i.left,F),i.operatorToken,e.visitNode(i.right,N));var c=e.some(D)?r.inlineExpressions(e.compact(a(a([],D,!0),[i],!1))):i;return D=s,c}if(e.isAssignmentExpression(i))if(f&&e.isPrivateIdentifierPropertyAccessExpression(i.left)){var u=te(i.left.name);if(u)return e.setTextRange(e.setOriginalNode(B(u,i.left.expression,i.right,i.operatorToken.kind),i),i)}else if(m&&e.isSuperProperty(i.left)&&S&&x){var l=x.classConstructor,p=x.superClassReference;if(1&x.facts)return r.updateBinaryExpression(i,G(i.left),i.operatorToken,e.visitNode(i.right,N,e.isExpression));if(l&&p){var d=e.isElementAccessExpression(i.left)?e.visitNode(i.left.argumentExpression,N,e.isExpression):e.isIdentifier(i.left.name)?r.createStringLiteralFromNode(i.left.name):void 0;if(d){var _=e.visitNode(i.right,N,e.isExpression);if(e.isCompoundAssignment(i.operatorToken.kind)){var g=d;e.isSimpleInlineableExpression(d)||(g=r.createTempVariable(n),d=r.createAssignment(g,d));var h=r.createReflectGetCall(p,g,l);e.setOriginalNode(h,i.left),e.setTextRange(h,i.left),_=r.createBinaryExpression(h,e.getNonAssignmentOperatorForCompoundAssignment(i.operatorToken.kind),_),e.setTextRange(_,i)}var y=o?void 0:r.createTempVariable(n);return y&&(_=r.createAssignment(y,_),e.setTextRange(y,i)),_=r.createReflectSetCall(p,d,_,l),e.setOriginalNode(_,i),e.setTextRange(_,i),y&&(_=r.createComma(_,y),e.setTextRange(_,i)),_}}}return 101===i.operatorToken.kind&&e.isPrivateIdentifier(i.left)?function(r){if(!f)return r;var n=r.left;e.Debug.assertNode(n,e.isPrivateIdentifier),e.Debug.assert(101===r.operatorToken.kind);var i=te(n);if(i){var a=e.visitNode(r.right,N,e.isExpression);return e.setOriginalNode(t.getEmitHelperFactory().createClassPrivateFieldInHelper(i.brandCheckIdentifier,a),r)}return e.visitEachChild(r,N,t)}(i):e.visitEachChild(i,N,t)}(i,o);case 207:return function(i){if(f&&e.isPrivateIdentifierPropertyAccessExpression(i.expression)){var o=r.createCallBinding(i.expression,n,p),s=o.thisArg,c=o.target;return e.isCallChain(i)?r.updateCallChain(i,r.createPropertyAccessChain(e.visitNode(c,N),i.questionDotToken,"call"),void 0,void 0,a([e.visitNode(s,N,e.isExpression)],e.visitNodes(i.arguments,N,e.isExpression),!0)):r.updateCallExpression(i,r.createPropertyAccessExpression(e.visitNode(c,N),"call"),void 0,a([e.visitNode(s,N,e.isExpression)],e.visitNodes(i.arguments,N,e.isExpression),!0))}if(m&&e.isSuperProperty(i.expression)&&S&&(null==x?void 0:x.classConstructor)){var u=r.createFunctionCallCall(e.visitNode(i.expression,N,e.isExpression),x.classConstructor,e.visitNodes(i.arguments,N,e.isExpression));return e.setOriginalNode(u,i),e.setTextRange(u,i),u}return e.visitEachChild(i,N,t)}(i);case 209:return function(i){if(f&&e.isPrivateIdentifierPropertyAccessExpression(i.tag)){var a=r.createCallBinding(i.tag,n,p),o=a.thisArg,s=a.target;return r.updateTaggedTemplateExpression(i,r.createCallExpression(r.createPropertyAccessExpression(e.visitNode(s,N),"bind"),void 0,[e.visitNode(o,N,e.isExpression)]),void 0,e.visitNode(i.template,N,e.isTemplateLiteral))}if(m&&e.isSuperProperty(i.tag)&&S&&(null==x?void 0:x.classConstructor)){var c=r.createFunctionBindCall(e.visitNode(i.tag,N,e.isExpression),x.classConstructor,[]);return e.setOriginalNode(c,i),e.setTextRange(c,i),r.updateTaggedTemplateExpression(i,c,void 0,e.visitNode(i.template,N,e.isTemplateLiteral))}return e.visitEachChild(i,N,t)}(i);case 205:return function(n){if(f&&e.isPrivateIdentifier(n.name)){var i=te(n.name);if(i)return e.setTextRange(e.setOriginalNode(O(i,n.expression),n),n)}if(m&&e.isSuperProperty(n)&&e.isIdentifier(n.name)&&S&&x){var a=x.classConstructor,o=x.superClassReference;if(1&x.facts)return G(n);if(a&&o){var s=r.createReflectGetCall(o,r.createStringLiteralFromNode(n.name),a);return e.setOriginalNode(s,n.expression),e.setTextRange(s,n.expression),s}}return e.visitEachChild(n,N,t)}(i);case 206:return function(n){if(m&&e.isSuperProperty(n)&&S&&x){var i=x.classConstructor,a=x.superClassReference;if(1&x.facts)return G(n);if(i&&a){var o=r.createReflectGetCall(a,e.visitNode(n.argumentExpression,N,e.isExpression),i);return e.setOriginalNode(o,n.expression),e.setTextRange(o,n.expression),o}}return e.visitEachChild(n,N,t)}(i);case 237:return function(t){return r.updateExpressionStatement(t,e.visitNode(t.expression,A,e.isExpression))}(i);case 241:return function(n){return r.updateForStatement(n,e.visitNode(n.initializer,A,e.isForInitializer),e.visitNode(n.condition,N,e.isExpression),e.visitNode(n.incrementor,A,e.isExpression),e.visitIterationBody(n.statement,N,t))}(i);case 255:case 212:case 170:case 168:case 171:case 172:var s=S;S=void 0;var l=e.visitEachChild(i,N,t);return S=s,l}return e.visitEachChild(i,N,t)}function A(e){return k(e,!0)}function N(e){return k(e,!1)}function P(i){switch(i.kind){case 290:return e.visitEachChild(i,P,t);case 227:return function(i){if(4&((null==x?void 0:x.facts)||0)){var a=r.createTempVariable(n,!0);return $().superClassReference=a,r.updateExpressionWithTypeArguments(i,r.createAssignment(a,e.visitNode(i.expression,N,e.isExpression)),void 0)}return e.visitEachChild(i,N,t)}(i)}return N(i)}function F(t){switch(t.kind){case 204:case 203:return function(t){return e.isArrayLiteralExpression(t)?r.updateArrayLiteralExpression(t,e.visitNodes(t.elements,ne,e.isExpression)):r.updateObjectLiteralExpression(t,e.visitNodes(t.properties,ie,e.isObjectLiteralElementLike))}(t);default:return N(t)}}function w(n){switch(n.kind){case 170:return;case 171:case 172:case 168:return function(n){if(e.Debug.assert(!e.some(n.decorators)),!f||!e.isPrivateIdentifier(n.name))return e.visitEachChild(n,w,t);var i=te(n.name);if(e.Debug.assert(i,"Undeclared private name for property declaration."),!i.isValid)return n;var a=function(t){e.Debug.assert(e.isPrivateIdentifier(t.name));var r=te(t.name);if(e.Debug.assert(r,"Undeclared private name for property declaration."),"m"===r.kind)return r.methodName;if("a"===r.kind){if(e.isGetAccessor(t))return r.getterName;if(e.isSetAccessor(t))return r.setterName}}(n);a&&X().push(r.createAssignment(a,r.createFunctionExpression(e.filter(n.modifiers,(function(t){return!e.isStaticModifier(t)})),n.asteriskToken,a,void 0,e.visitParameterList(n.parameters,w,t),void 0,e.visitFunctionBody(n.body,w,t))))}(n);case 166:return I(n);case 161:return function(n){var i=e.visitEachChild(n,N,t);if(e.some(D)){var a=D;a.push(i.expression),D=[],i=r.updateComputedPropertyName(i,r.inlineExpressions(a))}return i}(n);case 233:return n;default:return N(n)}}function I(i){if(e.Debug.assert(!e.some(i.decorators)),e.isPrivateIdentifier(i.name)){if(!f)return e.isStatic(i)?e.visitEachChild(i,N,t):r.updatePropertyDeclaration(i,void 0,e.visitNodes(i.modifiers,N,e.isModifier),i.name,void 0,void 0,void 0);var a=te(i.name);if(e.Debug.assert(a,"Undeclared private name for property declaration."),!a.isValid)return i}var o=function(t,i){if(e.isComputedPropertyName(t)){var a=e.visitNode(t.expression,N,e.isExpression),o=e.skipPartiallyEmittedExpressions(a),s=e.isSimpleInlineableExpression(o);if((!e.isAssignmentExpression(o)||!e.isGeneratedIdentifier(o.left))&&!s&&i){var l=r.getGeneratedNameForNode(t);return 524288&u.getNodeCheckFlags(t)?c(l):n(l),r.createAssignment(l,a)}return s||e.isIdentifier(o)?void 0:a}}(i.name,!!i.initializer||d);if(o&&!e.isSimpleInlineableExpression(o)&&X().push(o),e.isStatic(i)&&!f&&!d){var s=z(i,r.createThis());if(s){var l=r.createClassStaticBlockDeclaration(void 0,void 0,r.createBlock([s]));return e.setOriginalNode(l,i),e.setCommentRange(l,i),e.setCommentRange(s,{pos:-1,end:-1}),e.setSyntheticLeadingComments(s,void 0),e.setSyntheticTrailingComments(s,void 0),l}}}function O(t,r){return L(t,e.visitNode(r,N,e.isExpression))}function L(r,n){switch(e.setCommentRange(n,e.moveRangePos(n,-1)),r.kind){case"a":return t.getEmitHelperFactory().createClassPrivateFieldGetHelper(n,r.brandCheckIdentifier,r.kind,r.getterName);case"m":return t.getEmitHelperFactory().createClassPrivateFieldGetHelper(n,r.brandCheckIdentifier,r.kind,r.methodName);case"f":return t.getEmitHelperFactory().createClassPrivateFieldGetHelper(n,r.brandCheckIdentifier,r.kind,r.variableName);default:e.Debug.assertNever(r,"Unknown private element type")}}function M(t){var i=e.nodeIsSynthesized(t)?t:r.cloneNode(t);if(e.isSimpleInlineableExpression(t))return{readExpression:i,initializeExpression:void 0};var a=r.createTempVariable(n);return{readExpression:a,initializeExpression:r.createAssignment(a,i)}}function R(t){if(f){x&&T.set(e.getOriginalNodeId(t),x),o();var n=S;S=t;var a=e.visitNodes(t.body.statements,N,e.isStatement);a=r.mergeLexicalEnvironment(a,i()),S=n;var s=r.createImmediatelyInvokedArrowFunction(a);return e.setOriginalNode(s,t),e.setTextRange(s,t),e.addEmitFlags(s,2),s}}function B(n,i,a,o){if(i=e.visitNode(i,N,e.isExpression),a=e.visitNode(a,N,e.isExpression),e.isCompoundAssignment(o)){var s=M(i),c=s.readExpression;i=s.initializeExpression||c,a=r.createBinaryExpression(L(n,c),e.getNonAssignmentOperatorForCompoundAssignment(o),a)}switch(e.setCommentRange(i,e.moveRangePos(i,-1)),n.kind){case"a":return t.getEmitHelperFactory().createClassPrivateFieldSetHelper(i,n.brandCheckIdentifier,a,n.kind,n.setterName);case"m":return t.getEmitHelperFactory().createClassPrivateFieldSetHelper(i,n.brandCheckIdentifier,a,n.kind,void 0);case"f":return t.getEmitHelperFactory().createClassPrivateFieldSetHelper(i,n.brandCheckIdentifier,a,n.kind,n.variableName);default:e.Debug.assertNever(n,"Unknown private element type")}}function j(t){return e.isPropertyDeclaration(t)||e.isClassStaticBlockDeclaration(t)||f&&t.name&&e.isPrivateIdentifier(t.name)}function K(t){return e.filter(t.members,e.isNonStaticMethodOrAccessorWithPrivateName)}function J(t){var r=0,n=e.getOriginalNode(t);e.isClassDeclaration(n)&&e.classOrConstructorParameterIsDecorated(n)&&(r|=1);for(var i=0,a=t.members;i<a.length;i++){var o=a[i];!e.isStatic(o)||(o.name&&e.isPrivateIdentifier(o.name)&&f&&(r|=2),(e.isPropertyDeclaration(o)||e.isClassStaticBlockDeclaration(o))&&(_&&8192&o.transformFlags&&(1&(r|=8)||(r|=2)),m&&33554432&o.transformFlags&&(1&r||(r|=6))))}return r}function U(n,o){var c=[];if(f){for(var u=0,l=n.members;u<l.length;u++){var p=l[u];e.isPrivateIdentifierClassElementDeclaration(p)&&Q(p)}e.some(K(n))&&function(){var t=Y().weakSetName;e.Debug.assert(t,"weakSetName should be set in private identifier environment"),X().push(r.createAssignment(t,r.createNewExpression(r.createIdentifier("WeakSet"),void 0,[])))}()}var _=function(n,o){var c=e.visitNode(e.getFirstConstructorWithBody(n),N,e.isConstructorDeclaration),u=n.members.filter(q);if(!e.some(u))return c;var l=e.visitParameterList(c?c.parameters:void 0,N,t),p=function(n,o,c){var u,l=e.getProperties(n,!1,!1);d||(l=e.filter(l,(function(t){return!!t.initializer||e.isPrivateIdentifier(t.name)})));var p=K(n),_=e.some(l)||e.some(p);if(!o&&!_)return e.visitFunctionBody(void 0,N,t);s();var m=!o&&c,g=0,h=0,y=-1,v=[];!(null===(u=null==o?void 0:o.body)||void 0===u)&&u.statements&&(h=r.copyPrologue(o.body.statements,v,!1,N),(y=e.findSuperStatementIndex(o.body.statements,h))>=0&&(g=y+1,v=a(a(a([],v.slice(0,h),!0),e.visitNodes(o.body.statements,N,e.isStatement,h,g-h),!0),v.slice(h),!0))),m&&v.push(r.createExpressionStatement(r.createCallExpression(r.createSuper(),void 0,[r.createSpreadElement(r.createIdentifier("arguments"))])));var D=0;if(null!=o&&o.body)if(d)v=v.filter((function(t){return!e.isParameterPropertyDeclaration(e.getOriginalNode(t),o)}));else{for(var b=0,x=o.body.statements;b<x.length;b++){var E=x[b];e.isParameterPropertyDeclaration(e.getOriginalNode(E),o)&&D++}if(D>0){var S=e.visitNodes(o.body.statements,N,e.isStatement,g,D);y>=0?e.addRange(v,S):v=m?a(a([v[0]],S,!0),v.slice(1),!0):a(a([],S,!0),v,!0),g+=D}}var C=r.createThis();return function(t,n,i){if(f&&e.some(n)){var a=Y().weakSetName;e.Debug.assert(a,"weakSetName should be set in private identifier environment"),t.push(r.createExpressionStatement(function(t,r){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(r,"add"),void 0,[t])}(i,a)))}}(v,p,C),V(v,l,C),o&&e.addRange(v,e.visitNodes(o.body.statements,T,e.isStatement,g+h)),v=r.mergeLexicalEnvironment(v,i()),e.setTextRange(r.createBlock(e.setTextRange(r.createNodeArray(v),o?o.body.statements:n.members),!0),o?o.body:void 0);function T(t){if(!d||!e.isParameterPropertyDeclaration(e.getOriginalNode(t),o))return N(t)}}(n,c,o);return p?e.startOnNewLine(e.setOriginalNode(e.setTextRange(r.createConstructorDeclaration(void 0,void 0,null!=l?l:[],p),c||n),c)):void 0}(n,o),m=e.visitNodes(n.members,w,e.isClassElement);return _&&c.push(_),!f&&e.some(D)&&(c.push(r.createClassStaticBlockDeclaration(void 0,void 0,r.createBlock([r.createExpressionStatement(r.inlineExpressions(D))]))),D=void 0),e.addRange(c,m),e.setTextRange(r.createNodeArray(c),n.members)}function q(t){return!e.isStatic(t)&&!e.hasSyntacticModifier(e.getOriginalNode(t),128)&&(d?p<9:e.isInitializedProperty(t)||f&&e.isPrivateIdentifierClassElementDeclaration(t))}function V(t,r,n){for(var i=0,a=r;i<a.length;i++){var o=a[i];if(!e.isStatic(o)||f||d){var s=z(o,n);!s||t.push(s)}}}function z(t,n){var i=e.isClassStaticBlockDeclaration(t)?R(t):W(t,n);if(i){var a=r.createExpressionStatement(i);return e.setSourceMapRange(a,e.moveRangePastModifiers(t)),e.setCommentRange(a,t),e.setOriginalNode(a,t),e.setSyntheticLeadingComments(i,void 0),e.setSyntheticTrailingComments(i,void 0),a}}function W(t,n){var i=S,a=function(t,n){var i,a=!d,o=e.isComputedPropertyName(t.name)&&!e.isSimpleInlineableExpression(t.name.expression)?r.updateComputedPropertyName(t.name,r.getGeneratedNameForNode(t.name)):t.name;if(e.hasStaticModifier(t)&&(S=t),f&&e.isPrivateIdentifier(o)){var s=te(o);if(s)return"f"===s.kind?s.isStatic?function(t,r){return e.factory.createAssignment(t,e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment("value",r||e.factory.createVoidZero())]))}(s.variableName,e.visitNode(t.initializer,N,e.isExpression)):function(t,r,n){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(n,"set"),void 0,[t,r||e.factory.createVoidZero()])}(n,e.visitNode(t.initializer,N,e.isExpression),s.brandCheckIdentifier):void 0;e.Debug.fail("Undeclared private name for property declaration.")}if(!e.isPrivateIdentifier(o)&&!e.hasStaticModifier(t)||t.initializer){var c=e.getOriginalNode(t);if(!e.hasSyntacticModifier(c,128)){var u=t.initializer||a?null!==(i=e.visitNode(t.initializer,N,e.isExpression))&&void 0!==i?i:r.createVoidZero():e.isParameterPropertyDeclaration(c,c.parent)&&e.isIdentifier(o)?o:r.createVoidZero();if(a||e.isPrivateIdentifier(o)){var l=e.createMemberAccessForPropertyName(r,n,o,o);return r.createAssignment(l,u)}var p=e.isComputedPropertyName(o)?o.expression:e.isIdentifier(o)?r.createStringLiteral(e.unescapeLeadingUnderscores(o.escapedText)):o,_=r.createPropertyDescriptor({value:u,configurable:!0,writable:!0,enumerable:!0});return r.createObjectDefinePropertyCall(n,p,_)}}}(t,n);return a&&e.hasStaticModifier(t)&&(null==x?void 0:x.facts)&&(e.setOriginalNode(a,t),e.addEmitFlags(a,2),T.set(e.getOriginalNodeId(a),x)),S=i,a}function H(){0==(2&y)&&(y|=2,t.enableSubstitution(108),t.enableEmitNotification(255),t.enableEmitNotification(212),t.enableEmitNotification(170),t.enableEmitNotification(171),t.enableEmitNotification(172),t.enableEmitNotification(168),t.enableEmitNotification(166),t.enableEmitNotification(161))}function G(t){return e.isPropertyAccessExpression(t)?r.updatePropertyAccessExpression(t,r.createVoidZero(),t.name):r.updateElementAccessExpression(t,r.createVoidZero(),e.visitNode(t.argumentExpression,N,e.isExpression))}function $(){return x||(x={facts:0,classConstructor:void 0,superClassReference:void 0,privateIdentifierEnvironment:void 0})}function Y(){var t=$();return t.privateIdentifierEnvironment||(t.privateIdentifierEnvironment={className:"",identifiers:new e.Map}),t.privateIdentifierEnvironment}function X(){return D||(D=[])}function Q(t){var n,i=e.getTextOfPropertyName(t.name),a=$().classConstructor,o=Y(),s=o.weakSetName,c=[],u=t.name.escapedText,l=o.identifiers.get(u),p=!function(e){return"#constructor"===e.escapedText}(t.name)&&void 0===l;if(e.hasStaticModifier(t))if(e.Debug.assert(a,"weakSetName should be set in private identifier environment"),e.isPropertyDeclaration(t)){var d=ee(i,t);o.identifiers.set(u,{kind:"f",variableName:d,brandCheckIdentifier:a,isStatic:!0,isValid:p})}else if(e.isMethodDeclaration(t)){var f=ee(i,t);o.identifiers.set(u,{kind:"m",methodName:f,brandCheckIdentifier:a,isStatic:!0,isValid:p})}else if(e.isGetAccessorDeclaration(t)){var _=ee(i+"_get",t);"a"===(null==l?void 0:l.kind)&&l.isStatic&&!l.getterName?l.getterName=_:o.identifiers.set(u,{kind:"a",getterName:_,setterName:void 0,brandCheckIdentifier:a,isStatic:!0,isValid:p})}else if(e.isSetAccessorDeclaration(t)){var m=ee(i+"_set",t);"a"===(null==l?void 0:l.kind)&&l.isStatic&&!l.setterName?l.setterName=m:o.identifiers.set(u,{kind:"a",getterName:void 0,setterName:m,brandCheckIdentifier:a,isStatic:!0,isValid:p})}else e.Debug.assertNever(t,"Unknown class element type.");else if(e.isPropertyDeclaration(t)){var g=ee(i,t);o.identifiers.set(u,{kind:"f",brandCheckIdentifier:g,isStatic:!1,variableName:void 0,isValid:p}),c.push(r.createAssignment(g,r.createNewExpression(r.createIdentifier("WeakMap"),void 0,[])))}else e.isMethodDeclaration(t)?(e.Debug.assert(s,"weakSetName should be set in private identifier environment"),o.identifiers.set(u,{kind:"m",methodName:ee(i,t),brandCheckIdentifier:s,isStatic:!1,isValid:p})):e.isAccessor(t)?(e.Debug.assert(s,"weakSetName should be set in private identifier environment"),e.isGetAccessor(t)?(_=ee(i+"_get",t),"a"!==(null==l?void 0:l.kind)||l.isStatic||l.getterName?o.identifiers.set(u,{kind:"a",getterName:_,setterName:void 0,brandCheckIdentifier:s,isStatic:!1,isValid:p}):l.getterName=_):(m=ee(i+"_set",t),"a"!==(null==l?void 0:l.kind)||l.isStatic||l.setterName?o.identifiers.set(u,{kind:"a",getterName:void 0,setterName:m,brandCheckIdentifier:s,isStatic:!1,isValid:p}):l.setterName=m)):e.Debug.assertNever(t,"Unknown class element type.");(n=X()).push.apply(n,c)}function Z(e,t){var i=Y().className,a=i?"_".concat(i):"",o=r.createUniqueName("".concat(a,"_").concat(e),16);return 524288&u.getNodeCheckFlags(t)?c(o):n(o),o}function ee(e,t){return Z(e.substring(1),t.name)}function te(e){var t;if(null!=x&&x.privateIdentifierEnvironment&&(n=x.privateIdentifierEnvironment.identifiers.get(e.escapedText)))return n;for(var r=C.length-1;r>=0;--r){var n,i=C[r];if(i&&(n=null===(t=i.privateIdentifierEnvironment)||void 0===t?void 0:t.identifiers.get(e.escapedText)))return n}}function re(i){var a=r.getGeneratedNameForNode(i),o=te(i.name);if(!o)return e.visitEachChild(i,N,t);var s=i.expression;return(e.isThisProperty(i)||e.isSuperProperty(i)||!e.isSimpleCopiableExpression(i.expression))&&(s=r.createTempVariable(n,!0),X().push(r.createBinaryExpression(s,63,e.visitNode(i.expression,N,e.isExpression)))),r.createAssignmentTargetWrapper(a,B(o,s,a,63))}function ne(t){var n=e.getTargetOfBindingOrAssignmentElement(t);if(n){var i=void 0;if(e.isPrivateIdentifierPropertyAccessExpression(n))i=re(n);else if(m&&e.isSuperProperty(n)&&S&&x){var a=x.classConstructor,o=x.superClassReference;if(1&x.facts)i=G(n);else if(a&&o){var s=e.isElementAccessExpression(n)?e.visitNode(n.argumentExpression,N,e.isExpression):e.isIdentifier(n.name)?r.createStringLiteralFromNode(n.name):void 0;if(s){var c=r.createTempVariable(void 0);i=r.createAssignmentTargetWrapper(c,r.createReflectSetCall(o,s,c,a))}}}if(i)return e.isAssignmentExpression(t)?r.updateBinaryExpression(t,i,t.operatorToken,e.visitNode(t.right,N,e.isExpression)):e.isSpreadElement(t)?r.updateSpreadElement(t,i):i}return e.visitNode(t,F)}function ie(t){if(e.isObjectBindingOrAssignmentElement(t)&&!e.isShorthandPropertyAssignment(t)){var n=e.getTargetOfBindingOrAssignmentElement(t),i=void 0;if(n)if(e.isPrivateIdentifierPropertyAccessExpression(n))i=re(n);else if(m&&e.isSuperProperty(n)&&S&&x){var a=x.classConstructor,o=x.superClassReference;if(1&x.facts)i=G(n);else if(a&&o){var s=e.isElementAccessExpression(n)?e.visitNode(n.argumentExpression,N,e.isExpression):e.isIdentifier(n.name)?r.createStringLiteralFromNode(n.name):void 0;if(s){var c=r.createTempVariable(void 0);i=r.createAssignmentTargetWrapper(c,r.createReflectSetCall(o,s,c,a))}}}if(e.isPropertyAssignment(t)){var u=e.getInitializerOfBindingOrAssignmentElement(t);return r.updatePropertyAssignment(t,e.visitNode(t.name,N,e.isPropertyName),i?u?r.createAssignment(i,e.visitNode(u,N)):i:e.visitNode(t.initializer,F,e.isExpression))}if(e.isSpreadAssignment(t))return r.updateSpreadAssignment(t,i||e.visitNode(t.expression,F,e.isExpression));e.Debug.assert(void 0===i,"Should not have generated a wrapped target")}return e.visitNode(t,N)}}}(n||(n={})),function(e){var t,r,n;function i(t,r,n,i){var a=0!=(4096&r.getNodeCheckFlags(n)),o=[];return i.forEach((function(r,n){var i=e.unescapeLeadingUnderscores(n),s=[];s.push(t.createPropertyAssignment("get",t.createArrowFunction(void 0,void 0,[],void 0,void 0,e.setEmitFlags(t.createPropertyAccessExpression(e.setEmitFlags(t.createSuper(),4),i),4)))),a&&s.push(t.createPropertyAssignment("set",t.createArrowFunction(void 0,void 0,[t.createParameterDeclaration(void 0,void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,t.createAssignment(e.setEmitFlags(t.createPropertyAccessExpression(e.setEmitFlags(t.createSuper(),4),i),4),t.createIdentifier("v"))))),o.push(t.createPropertyAssignment(i,t.createObjectLiteralExpression(s)))})),t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createUniqueName("_super",48),void 0,void 0,t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"create"),void 0,[t.createNull(),t.createObjectLiteralExpression(o,!0)]))],2))}(r=t||(t={}))[r.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper",function(e){e[e.NonTopLevel=1]="NonTopLevel",e[e.HasLexicalThis=2]="HasLexicalThis"}(n||(n={})),e.transformES2017=function(t){var r,n,o,s,c=t.factory,u=t.getEmitHelperFactory,l=t.resumeLexicalEnvironment,p=t.endLexicalEnvironment,d=t.hoistVariableDeclaration,f=t.getEmitResolver(),_=t.getCompilerOptions(),m=e.getEmitScriptTarget(_),g=0,h=[],y=0,v=t.onEmitNode,D=t.onSubstituteNode;return t.onEmitNode=function(t,n,i){if(1&r&&function(e){var t=e.kind;return 256===t||170===t||168===t||171===t||172===t}(n)){var a=6144&f.getNodeCheckFlags(n);if(a!==g){var o=g;return g=a,v(t,n,i),void(g=o)}}else if(r&&h[e.getNodeId(n)])return o=g,g=0,v(t,n,i),void(g=o);v(t,n,i)},t.onSubstituteNode=function(t,r){return r=D(t,r),1===t&&g?function(t){switch(t.kind){case 205:return K(t);case 206:return J(t);case 207:return function(t){var r=t.expression;if(e.isSuperProperty(r)){var n=e.isPropertyAccessExpression(r)?K(r):J(r);return c.createCallExpression(c.createPropertyAccessExpression(n,"call"),void 0,a([c.createThis()],t.arguments,!0))}return t}(t)}return t}(r):r},e.chainBundle(t,(function(r){if(r.isDeclarationFile)return r;b(1,!1),b(2,!e.isEffectiveStrictModeSourceFile(r,_));var n=e.visitEachChild(r,T,t);return e.addEmitHelpers(n,t.readEmitHelpers()),n}));function b(e,t){y=t?y|e:y&~e}function x(e){return 0!=(y&e)}function E(){return x(2)}function S(e,t,r){var n=e&~y;if(n){b(n,!0);var i=t(r);return b(n,!1),i}return t(r)}function C(r){return e.visitEachChild(r,T,t)}function T(r){if(0==(256&r.transformFlags))return r;switch(r.kind){case 131:return;case 217:return function(r){return x(1)?e.setOriginalNode(e.setTextRange(c.createYieldExpression(void 0,e.visitNode(r.expression,T,e.isExpression)),r),r):e.visitEachChild(r,T,t)}(r);case 168:return S(3,A,r);case 255:return S(3,N,r);case 212:return S(3,P,r);case 213:return S(1,F,r);case 205:return o&&e.isPropertyAccessExpression(r)&&106===r.expression.kind&&o.add(r.name.escapedText),e.visitEachChild(r,T,t);case 206:return o&&106===r.expression.kind&&(s=!0),e.visitEachChild(r,T,t);case 171:case 172:case 170:case 256:case 225:return S(3,C,r);default:return e.visitEachChild(r,T,t)}}function k(r){if(e.isNodeWithPossibleHoistedDeclaration(r))switch(r.kind){case 236:return function(r){if(I(r.declarationList)){var n=O(r.declarationList,!1);return n?c.createExpressionStatement(n):void 0}return e.visitEachChild(r,T,t)}(r);case 241:return function(r){var n=r.initializer;return c.updateForStatement(r,I(n)?O(n,!1):e.visitNode(r.initializer,T,e.isForInitializer),e.visitNode(r.condition,T,e.isExpression),e.visitNode(r.incrementor,T,e.isExpression),e.visitIterationBody(r.statement,k,t))}(r);case 242:return function(r){return c.updateForInStatement(r,I(r.initializer)?O(r.initializer,!0):e.visitNode(r.initializer,T,e.isForInitializer),e.visitNode(r.expression,T,e.isExpression),e.visitIterationBody(r.statement,k,t))}(r);case 243:return function(r){return c.updateForOfStatement(r,e.visitNode(r.awaitModifier,T,e.isToken),I(r.initializer)?O(r.initializer,!0):e.visitNode(r.initializer,T,e.isForInitializer),e.visitNode(r.expression,T,e.isExpression),e.visitIterationBody(r.statement,k,t))}(r);case 291:return function(r){var i,a=new e.Set;if(w(r.variableDeclaration,a),a.forEach((function(t,r){n.has(r)&&(i||(i=new e.Set(n)),i.delete(r))})),i){var o=n;n=i;var s=e.visitEachChild(r,k,t);return n=o,s}return e.visitEachChild(r,k,t)}(r);case 234:case 248:case 262:case 288:case 289:case 251:case 239:case 240:case 238:case 247:case 249:return e.visitEachChild(r,k,t);default:return e.Debug.assertNever(r,"Unhandled node.")}return T(r)}function A(r){return c.updateMethodDeclaration(r,void 0,e.visitNodes(r.modifiers,T,e.isModifier),r.asteriskToken,r.name,void 0,void 0,e.visitParameterList(r.parameters,T,t),void 0,2&e.getFunctionFlags(r)?B(r):e.visitFunctionBody(r.body,T,t))}function N(r){return c.updateFunctionDeclaration(r,void 0,e.visitNodes(r.modifiers,T,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,T,t),void 0,2&e.getFunctionFlags(r)?B(r):e.visitFunctionBody(r.body,T,t))}function P(r){return c.updateFunctionExpression(r,e.visitNodes(r.modifiers,T,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,T,t),void 0,2&e.getFunctionFlags(r)?B(r):e.visitFunctionBody(r.body,T,t))}function F(r){return c.updateArrowFunction(r,e.visitNodes(r.modifiers,T,e.isModifier),void 0,e.visitParameterList(r.parameters,T,t),void 0,r.equalsGreaterThanToken,2&e.getFunctionFlags(r)?B(r):e.visitFunctionBody(r.body,T,t))}function w(t,r){var n=t.name;if(e.isIdentifier(n))r.add(n.escapedText);else for(var i=0,a=n.elements;i<a.length;i++){var o=a[i];e.isOmittedExpression(o)||w(o,r)}}function I(t){return!!t&&e.isVariableDeclarationList(t)&&!(3&t.flags)&&t.declarations.some(R)}function O(t,r){!function(t){e.forEach(t.declarations,L)}(t);var n=e.getInitializedVariables(t);return 0===n.length?r?e.visitNode(c.converters.convertToAssignmentElementTarget(t.declarations[0].name),T,e.isExpression):void 0:c.inlineExpressions(e.map(n,M))}function L(t){var r=t.name;if(e.isIdentifier(r))d(r);else for(var n=0,i=r.elements;n<i.length;n++){var a=i[n];e.isOmittedExpression(a)||L(a)}}function M(t){var r=e.setSourceMapRange(c.createAssignment(c.converters.convertToAssignmentElementTarget(t.name),t.initializer),t);return e.visitNode(r,T,e.isExpression)}function R(t){var r=t.name;if(e.isIdentifier(r))return n.has(r.escapedText);for(var i=0,a=r.elements;i<a.length;i++){var o=a[i];if(!e.isOmittedExpression(o)&&R(o))return!0}return!1}function B(a){l();var d=e.getOriginalNode(a,e.isFunctionLike).type,_=m<2?function(t){var r=t&&e.getEntityNameFromTypeNode(t);if(r&&e.isEntityName(r)){var n=f.getTypeReferenceSerializationKind(r);if(n===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||n===e.TypeReferenceSerializationKind.Unknown)return r}}(d):void 0,g=213===a.kind,y=0!=(8192&f.getNodeCheckFlags(a)),v=n;n=new e.Set;for(var D=0,b=a.parameters;D<b.length;D++)w(b[D],n);var x,S=o,C=s;if(g||(o=new e.Set,s=!1),g){var k=u().createAwaiterHelper(E(),y,_,j(a.body)),A=p();if(e.some(A)){var N=c.converters.convertToFunctionBlock(k);x=c.updateBlock(N,e.setTextRange(c.createNodeArray(e.concatenate(A,N.statements)),N.statements))}else x=k}else{var P=[],F=c.copyPrologue(a.body.statements,P,!1,T);P.push(c.createReturnStatement(u().createAwaiterHelper(E(),y,_,j(a.body,F)))),e.insertStatementsAfterStandardPrologue(P,p());var I=m>=2&&6144&f.getNodeCheckFlags(a);if(I&&(0==(1&r)&&(r|=1,t.enableSubstitution(207),t.enableSubstitution(205),t.enableSubstitution(206),t.enableEmitNotification(256),t.enableEmitNotification(168),t.enableEmitNotification(171),t.enableEmitNotification(172),t.enableEmitNotification(170),t.enableEmitNotification(236)),o.size)){var O=i(c,f,a,o);h[e.getNodeId(O)]=!0,e.insertStatementsAfterStandardPrologue(P,[O])}N=c.createBlock(P,!0),e.setTextRange(N,a.body),I&&s&&(4096&f.getNodeCheckFlags(a)?e.addEmitHelper(N,e.advancedAsyncSuperHelper):2048&f.getNodeCheckFlags(a)&&e.addEmitHelper(N,e.asyncSuperHelper)),x=N}return n=v,g||(o=S,s=C),x}function j(t,r){return e.isBlock(t)?c.updateBlock(t,e.visitNodes(t.statements,k,e.isStatement,r)):c.converters.convertToFunctionBlock(e.visitNode(t,k,e.isConciseBody))}function K(t){return 106===t.expression.kind?e.setTextRange(c.createPropertyAccessExpression(c.createUniqueName("_super",48),t.name),t):t}function J(t){return 106===t.expression.kind?function(t,r){return 4096&g?e.setTextRange(c.createPropertyAccessExpression(c.createCallExpression(c.createUniqueName("_superIndex",48),void 0,[t]),"value"),r):e.setTextRange(c.createCallExpression(c.createUniqueName("_superIndex",48),void 0,[t]),r)}(t.argumentExpression,t):t}},e.createSuperAccessVariableStatement=i}(n||(n={})),function(e){var t,r,n;(r=t||(t={}))[r.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper",function(e){e[e.None=0]="None",e[e.HasLexicalThis=1]="HasLexicalThis",e[e.IterationContainer=2]="IterationContainer",e[e.AncestorFactsMask=3]="AncestorFactsMask",e[e.SourceFileIncludes=1]="SourceFileIncludes",e[e.SourceFileExcludes=2]="SourceFileExcludes",e[e.StrictModeSourceFileIncludes=0]="StrictModeSourceFileIncludes",e[e.ClassOrFunctionIncludes=1]="ClassOrFunctionIncludes",e[e.ClassOrFunctionExcludes=2]="ClassOrFunctionExcludes",e[e.ArrowFunctionIncludes=0]="ArrowFunctionIncludes",e[e.ArrowFunctionExcludes=2]="ArrowFunctionExcludes",e[e.IterationStatementIncludes=2]="IterationStatementIncludes",e[e.IterationStatementExcludes=0]="IterationStatementExcludes"}(n||(n={})),e.transformES2018=function(t){var r=t.factory,n=t.getEmitHelperFactory,i=t.resumeLexicalEnvironment,o=t.endLexicalEnvironment,s=t.hoistVariableDeclaration,c=t.getEmitResolver(),u=t.getCompilerOptions(),l=e.getEmitScriptTarget(u),p=t.onEmitNode;t.onEmitNode=function(t,r,n){if(1&f&&function(e){var t=e.kind;return 256===t||170===t||168===t||171===t||172===t}(r)){var i=6144&c.getNodeCheckFlags(r);if(i!==b){var a=b;return b=i,p(t,r,n),void(b=a)}}else if(f&&E[e.getNodeId(r)])return a=b,b=0,p(t,r,n),void(b=a);p(t,r,n)};var d=t.onSubstituteNode;t.onSubstituteNode=function(t,n){return n=d(t,n),1===t&&b?function(t){switch(t.kind){case 205:return Y(t);case 206:return X(t);case 207:return function(t){var n=t.expression;if(e.isSuperProperty(n)){var i=e.isPropertyAccessExpression(n)?Y(n):X(n);return r.createCallExpression(r.createPropertyAccessExpression(i,"call"),void 0,a([r.createThis()],t.arguments,!0))}return t}(t)}return t}(n):n};var f,_,m,g,h,y,v,D=!1,b=0,x=0,E=[];return e.chainBundle(t,(function(n){if(n.isDeclarationFile)return n;g=n;var i=function(n){var i=S(2,e.isEffectiveStrictModeSourceFile(n,u)?0:1);D=!1;var a=e.visitEachChild(n,k,t),o=e.concatenate(a.statements,h&&[r.createVariableStatement(void 0,r.createVariableDeclarationList(h))]),s=r.updateSourceFile(a,e.setTextRange(r.createNodeArray(o),n.statements));return C(i),s}(n);return e.addEmitHelpers(i,t.readEmitHelpers()),g=void 0,h=void 0,i}));function S(e,t){var r=x;return x=3&(x&~e|t),r}function C(e){x=e}function T(t){h=e.append(h,r.createVariableDeclaration(t))}function k(e){return w(e,!1)}function A(e){return w(e,!0)}function N(e){if(131!==e.kind)return e}function P(e,t,r,n){if(function(e,t){return x!==(x&~e|t)}(r,n)){var i=S(r,n),a=e(t);return C(i),a}return e(t)}function F(r){return e.visitEachChild(r,k,t)}function w(i,o){if(0==(128&i.transformFlags))return i;switch(i.kind){case 217:return function(i){return 2&_&&1&_?e.setOriginalNode(e.setTextRange(r.createYieldExpression(void 0,n().createAwaitHelper(e.visitNode(i.expression,k,e.isExpression))),i),i):e.visitEachChild(i,k,t)}(i);case 223:return function(i){if(2&_&&1&_){if(i.asteriskToken){var a=e.visitNode(e.Debug.checkDefined(i.expression),k,e.isExpression);return e.setOriginalNode(e.setTextRange(r.createYieldExpression(void 0,n().createAwaitHelper(r.updateYieldExpression(i,i.asteriskToken,e.setTextRange(n().createAsyncDelegatorHelper(e.setTextRange(n().createAsyncValuesHelper(a),a)),a)))),i),i)}return e.setOriginalNode(e.setTextRange(r.createYieldExpression(void 0,M(i.expression?e.visitNode(i.expression,k,e.isExpression):r.createVoidZero())),i),i)}return e.visitEachChild(i,k,t)}(i);case 246:return function(n){return 2&_&&1&_?r.updateReturnStatement(n,M(n.expression?e.visitNode(n.expression,k,e.isExpression):r.createVoidZero())):e.visitEachChild(n,k,t)}(i);case 249:return function(n){if(2&_){var i=e.unwrapInnermostStatementOfLabel(n);return 243===i.kind&&i.awaitModifier?L(i,n):r.restoreEnclosingLabel(e.visitNode(i,k,e.isStatement,r.liftToBlock),n)}return e.visitEachChild(n,k,t)}(i);case 204:return function(i){if(32768&i.transformFlags){var a=function(t){for(var n,i=[],a=0,o=t;a<o.length;a++){var s=o[a];if(296===s.kind){n&&(i.push(r.createObjectLiteralExpression(n)),n=void 0);var c=s.expression;i.push(e.visitNode(c,k,e.isExpression))}else n=e.append(n,294===s.kind?r.createPropertyAssignment(s.name,e.visitNode(s.initializer,k,e.isExpression)):e.visitNode(s,k,e.isObjectLiteralElementLike))}return n&&i.push(r.createObjectLiteralExpression(n)),i}(i.properties);a.length&&204!==a[0].kind&&a.unshift(r.createObjectLiteralExpression());var o=a[0];if(a.length>1){for(var s=1;s<a.length;s++)o=n().createAssignHelper([o,a[s]]);return o}return n().createAssignHelper(a)}return e.visitEachChild(i,k,t)}(i);case 220:return function(n,i){return e.isDestructuringAssignment(n)&&32768&n.left.transformFlags?e.flattenDestructuringAssignment(n,k,t,1,!i):27===n.operatorToken.kind?r.updateBinaryExpression(n,e.visitNode(n.left,A,e.isExpression),n.operatorToken,e.visitNode(n.right,i?A:k,e.isExpression)):e.visitEachChild(n,k,t)}(i,o);case 349:return function(n,i){if(i)return e.visitEachChild(n,A,t);for(var a,o=0;o<n.elements.length;o++){var s=n.elements[o],c=e.visitNode(s,o<n.elements.length-1?A:k,e.isExpression);(a||c!==s)&&(a||(a=n.elements.slice(0,o)),a.push(c))}var u=a?e.setTextRange(r.createNodeArray(a),n.elements):n.elements;return r.updateCommaListExpression(n,u)}(i,o);case 291:return function(n){if(n.variableDeclaration&&e.isBindingPattern(n.variableDeclaration.name)&&32768&n.variableDeclaration.name.transformFlags){var i=r.getGeneratedNameForNode(n.variableDeclaration.name),o=r.updateVariableDeclaration(n.variableDeclaration,n.variableDeclaration.name,void 0,void 0,i),s=e.flattenDestructuringBinding(o,k,t,1),c=e.visitNode(n.block,k,e.isBlock);return e.some(s)&&(c=r.updateBlock(c,a([r.createVariableStatement(void 0,s)],c.statements,!0))),r.updateCatchClause(n,r.updateVariableDeclaration(n.variableDeclaration,i,void 0,void 0,void 0),c)}return e.visitEachChild(n,k,t)}(i);case 236:return function(r){if(e.hasSyntacticModifier(r,1)){var n=D;D=!0;var i=e.visitEachChild(r,k,t);return D=n,i}return e.visitEachChild(r,k,t)}(i);case 253:return function(e){if(D){var t=D;D=!1;var r=I(e,!0);return D=t,r}return I(e,!1)}(i);case 239:case 240:case 242:return P(F,i,0,2);case 243:return L(i,void 0);case 241:return P(O,i,0,2);case 216:case 237:return function(r){return e.visitEachChild(r,A,t)}(i);case 170:return P(K,i,2,1);case 168:return P(q,i,2,1);case 171:return P(J,i,2,1);case 172:return P(U,i,2,1);case 255:return P(V,i,2,1);case 212:return P(W,i,2,1);case 213:return P(z,i,2,0);case 163:return B(i);case 211:return function(r,n){return e.visitEachChild(r,n?A:k,t)}(i,o);case 209:return function(r){return e.processTaggedTemplateExpression(t,r,k,g,T,e.ProcessLevel.LiftRestriction)}(i);case 205:return y&&e.isPropertyAccessExpression(i)&&106===i.expression.kind&&y.add(i.name.escapedText),e.visitEachChild(i,k,t);case 206:return y&&106===i.expression.kind&&(v=!0),e.visitEachChild(i,k,t);case 256:case 225:return P(F,i,2,1);default:return e.visitEachChild(i,k,t)}}function I(r,n){return e.isBindingPattern(r.name)&&32768&r.name.transformFlags?e.flattenDestructuringBinding(r,k,t,1,void 0,n):e.visitEachChild(r,k,t)}function O(n){return r.updateForStatement(n,e.visitNode(n.initializer,A,e.isForInitializer),e.visitNode(n.condition,k,e.isExpression),e.visitNode(n.incrementor,A,e.isExpression),e.visitIterationBody(n.statement,k,t))}function L(i,a){var o=S(0,2);32768&i.initializer.transformFlags&&(i=function(t){var n=e.skipParentheses(t.initializer);if(e.isVariableDeclarationList(n)||e.isAssignmentPattern(n)){var i=void 0,a=void 0,o=r.createTempVariable(void 0),s=[e.createForOfBindingStatement(r,n,o)];return e.isBlock(t.statement)?(e.addRange(s,t.statement.statements),i=t.statement,a=t.statement.statements):t.statement&&(e.append(s,t.statement),i=t.statement,a=t.statement),r.updateForOfStatement(t,t.awaitModifier,e.setTextRange(r.createVariableDeclarationList([e.setTextRange(r.createVariableDeclaration(o),t.initializer)],1),t.initializer),t.expression,e.setTextRange(r.createBlock(e.setTextRange(r.createNodeArray(s),a),!0),i))}return t}(i));var c=i.awaitModifier?function(i,a,o){var c=e.visitNode(i.expression,k,e.isExpression),u=e.isIdentifier(c)?r.getGeneratedNameForNode(c):r.createTempVariable(void 0),l=e.isIdentifier(c)?r.getGeneratedNameForNode(u):r.createTempVariable(void 0),p=r.createUniqueName("e"),d=r.getGeneratedNameForNode(p),f=r.createTempVariable(void 0),_=e.setTextRange(n().createAsyncValuesHelper(c),i.expression),m=r.createCallExpression(r.createPropertyAccessExpression(u,"next"),void 0,[]),g=r.createPropertyAccessExpression(l,"done"),h=r.createPropertyAccessExpression(l,"value"),y=r.createFunctionCallCall(f,u,[]);s(p),s(f);var v=2&o?r.inlineExpressions([r.createAssignment(p,r.createVoidZero()),_]):_,D=e.setEmitFlags(e.setTextRange(r.createForStatement(e.setEmitFlags(e.setTextRange(r.createVariableDeclarationList([e.setTextRange(r.createVariableDeclaration(u,void 0,void 0,v),i.expression),r.createVariableDeclaration(l)]),i.expression),2097152),r.createComma(r.createAssignment(l,M(m)),r.createLogicalNot(g)),void 0,function(n,i){var a,o,s=e.createForOfBindingStatement(r,n.initializer,i),c=[e.visitNode(s,k,e.isStatement)],u=e.visitIterationBody(n.statement,k,t);return e.isBlock(u)?(e.addRange(c,u.statements),a=u,o=u.statements):c.push(u),e.setEmitFlags(e.setTextRange(r.createBlock(e.setTextRange(r.createNodeArray(c),o),!0),a),432)}(i,h)),i),256);return e.setOriginalNode(D,i),r.createTryStatement(r.createBlock([r.restoreEnclosingLabel(D,a)]),r.createCatchClause(r.createVariableDeclaration(d),e.setEmitFlags(r.createBlock([r.createExpressionStatement(r.createAssignment(p,r.createObjectLiteralExpression([r.createPropertyAssignment("error",d)])))]),1)),r.createBlock([r.createTryStatement(r.createBlock([e.setEmitFlags(r.createIfStatement(r.createLogicalAnd(r.createLogicalAnd(l,r.createLogicalNot(g)),r.createAssignment(f,r.createPropertyAccessExpression(u,"return"))),r.createExpressionStatement(M(y))),1)]),void 0,e.setEmitFlags(r.createBlock([e.setEmitFlags(r.createIfStatement(p,r.createThrowStatement(r.createPropertyAccessExpression(p,"error"))),1)]),1))]))}(i,a,o):r.restoreEnclosingLabel(e.visitEachChild(i,k,t),a);return C(o),c}function M(e){return 1&_?r.createYieldExpression(void 0,n().createAwaitHelper(e)):r.createAwaitExpression(e)}function R(t){return e.Debug.assertNode(t,e.isParameter),B(t)}function B(n){return null!=m&&m.has(n)?r.updateParameterDeclaration(n,void 0,void 0,n.dotDotDotToken,e.isBindingPattern(n.name)?r.getGeneratedNameForNode(n):n.name,void 0,void 0,void 0):32768&n.transformFlags?r.updateParameterDeclaration(n,void 0,void 0,n.dotDotDotToken,r.getGeneratedNameForNode(n),void 0,void 0,e.visitNode(n.initializer,k,e.isExpression)):e.visitEachChild(n,k,t)}function j(t){for(var r,n=0,i=t.parameters;n<i.length;n++){var a=i[n];r?r.add(a):32768&a.transformFlags&&(r=new e.Set)}return r}function K(n){var i=_,a=m;_=e.getFunctionFlags(n),m=j(n);var o=r.updateConstructorDeclaration(n,void 0,n.modifiers,e.visitParameterList(n.parameters,R,t),G(n));return _=i,m=a,o}function J(n){var i=_,a=m;_=e.getFunctionFlags(n),m=j(n);var o=r.updateGetAccessorDeclaration(n,void 0,n.modifiers,e.visitNode(n.name,k,e.isPropertyName),e.visitParameterList(n.parameters,R,t),void 0,G(n));return _=i,m=a,o}function U(n){var i=_,a=m;_=e.getFunctionFlags(n),m=j(n);var o=r.updateSetAccessorDeclaration(n,void 0,n.modifiers,e.visitNode(n.name,k,e.isPropertyName),e.visitParameterList(n.parameters,R,t),G(n));return _=i,m=a,o}function q(n){var i=_,a=m;_=e.getFunctionFlags(n),m=j(n);var o=r.updateMethodDeclaration(n,void 0,1&_?e.visitNodes(n.modifiers,N,e.isModifier):n.modifiers,2&_?void 0:n.asteriskToken,e.visitNode(n.name,k,e.isPropertyName),e.visitNode(void 0,k,e.isToken),void 0,e.visitParameterList(n.parameters,R,t),void 0,2&_&&1&_?H(n):G(n));return _=i,m=a,o}function V(n){var i=_,a=m;_=e.getFunctionFlags(n),m=j(n);var o=r.updateFunctionDeclaration(n,void 0,1&_?e.visitNodes(n.modifiers,N,e.isModifier):n.modifiers,2&_?void 0:n.asteriskToken,n.name,void 0,e.visitParameterList(n.parameters,R,t),void 0,2&_&&1&_?H(n):G(n));return _=i,m=a,o}function z(n){var i=_,a=m;_=e.getFunctionFlags(n),m=j(n);var o=r.updateArrowFunction(n,n.modifiers,void 0,e.visitParameterList(n.parameters,R,t),void 0,n.equalsGreaterThanToken,G(n));return _=i,m=a,o}function W(n){var i=_,a=m;_=e.getFunctionFlags(n),m=j(n);var o=r.updateFunctionExpression(n,1&_?e.visitNodes(n.modifiers,N,e.isModifier):n.modifiers,2&_?void 0:n.asteriskToken,n.name,void 0,e.visitParameterList(n.parameters,R,t),void 0,2&_&&1&_?H(n):G(n));return _=i,m=a,o}function H(a){i();var s=[],u=r.copyPrologue(a.body.statements,s,!1,k);$(s,a);var p=y,d=v;y=new e.Set,v=!1;var _=r.createReturnStatement(n().createAsyncGeneratorHelper(r.createFunctionExpression(void 0,r.createToken(41),a.name&&r.getGeneratedNameForNode(a.name),void 0,[],void 0,r.updateBlock(a.body,e.visitLexicalEnvironment(a.body.statements,k,t,u))),!!(1&x))),m=l>=2&&6144&c.getNodeCheckFlags(a);if(m){0==(1&f)&&(f|=1,t.enableSubstitution(207),t.enableSubstitution(205),t.enableSubstitution(206),t.enableEmitNotification(256),t.enableEmitNotification(168),t.enableEmitNotification(171),t.enableEmitNotification(172),t.enableEmitNotification(170),t.enableEmitNotification(236));var g=e.createSuperAccessVariableStatement(r,c,a,y);E[e.getNodeId(g)]=!0,e.insertStatementsAfterStandardPrologue(s,[g])}s.push(_),e.insertStatementsAfterStandardPrologue(s,o());var h=r.updateBlock(a.body,s);return m&&v&&(4096&c.getNodeCheckFlags(a)?e.addEmitHelper(h,e.advancedAsyncSuperHelper):2048&c.getNodeCheckFlags(a)&&e.addEmitHelper(h,e.asyncSuperHelper)),y=p,v=d,h}function G(t){var n;i();var a=0,s=[],c=null!==(n=e.visitNode(t.body,k,e.isConciseBody))&&void 0!==n?n:r.createBlock([]);e.isBlock(c)&&(a=r.copyPrologue(c.statements,s,!1,k)),e.addRange(s,$(void 0,t));var u=o();if(a>0||e.some(s)||e.some(u)){var l=r.converters.convertToFunctionBlock(c,!0);return e.insertStatementsAfterStandardPrologue(s,u),e.addRange(s,l.statements.slice(a)),r.updateBlock(l,e.setTextRange(r.createNodeArray(s),l.statements))}return c}function $(n,i){for(var a=!1,o=0,s=i.parameters;o<s.length;o++){var c=s[o];if(a){if(e.isBindingPattern(c.name)){if(c.name.elements.length>0){var u=e.flattenDestructuringBinding(c,k,t,0,r.getGeneratedNameForNode(c));if(e.some(u)){var l=r.createVariableDeclarationList(u),p=r.createVariableStatement(void 0,l);e.setEmitFlags(p,1048576),n=e.append(n,p)}}else if(c.initializer){var d=r.getGeneratedNameForNode(c),f=e.visitNode(c.initializer,k,e.isExpression),_=r.createAssignment(d,f);p=r.createExpressionStatement(_),e.setEmitFlags(p,1048576),n=e.append(n,p)}}else if(c.initializer){d=r.cloneNode(c.name),e.setTextRange(d,c.name),e.setEmitFlags(d,48),f=e.visitNode(c.initializer,k,e.isExpression),e.addEmitFlags(f,1584),_=r.createAssignment(d,f),e.setTextRange(_,c),e.setEmitFlags(_,1536);var m=r.createBlock([r.createExpressionStatement(_)]);e.setTextRange(m,c),e.setEmitFlags(m,1953);var g=r.createTypeCheck(r.cloneNode(c.name),"undefined");p=r.createIfStatement(g,m),e.startOnNewLine(p),e.setTextRange(p,c),e.setEmitFlags(p,1050528),n=e.append(n,p)}}else 32768&c.transformFlags&&(a=!0,u=e.flattenDestructuringBinding(c,k,t,1,r.getGeneratedNameForNode(c),!1,!0),e.some(u)&&(l=r.createVariableDeclarationList(u),p=r.createVariableStatement(void 0,l),e.setEmitFlags(p,1048576),n=e.append(n,p)))}return n}function Y(t){return 106===t.expression.kind?e.setTextRange(r.createPropertyAccessExpression(r.createUniqueName("_super",48),t.name),t):t}function X(t){return 106===t.expression.kind?function(t,n){return 4096&b?e.setTextRange(r.createPropertyAccessExpression(r.createCallExpression(r.createIdentifier("_superIndex"),void 0,[t]),"value"),n):e.setTextRange(r.createCallExpression(r.createIdentifier("_superIndex"),void 0,[t]),n)}(t.argumentExpression,t):t}}}(n||(n={})),function(e){e.transformES2019=function(t){var r=t.factory;return e.chainBundle(t,(function(r){return r.isDeclarationFile?r:e.visitEachChild(r,n,t)}));function n(i){return 0==(64&i.transformFlags)?i:291===i.kind?function(i){return i.variableDeclaration?e.visitEachChild(i,n,t):r.updateCatchClause(i,r.createVariableDeclaration(r.createTempVariable(void 0)),e.visitNode(i.block,n,e.isBlock))}(i):e.visitEachChild(i,n,t)}}}(n||(n={})),function(e){e.transformES2020=function(t){var r=t.factory,n=t.hoistVariableDeclaration;return e.chainBundle(t,(function(r){return r.isDeclarationFile?r:e.visitEachChild(r,i,t)}));function i(a){if(0==(32&a.transformFlags))return a;switch(a.kind){case 207:var l=o(a,!1);return e.Debug.assertNotNode(l,e.isSyntheticReference),l;case 205:case 206:return e.isOptionalChain(a)?(l=c(a,!1,!1),e.Debug.assertNotNode(l,e.isSyntheticReference),l):e.visitEachChild(a,i,t);case 220:return 60===a.operatorToken.kind?function(t){var a=e.visitNode(t.left,i,e.isExpression),o=a;return e.isSimpleCopiableExpression(a)||(o=r.createTempVariable(n),a=r.createAssignment(o,a)),e.setTextRange(r.createConditionalExpression(u(a,o),void 0,o,void 0,e.visitNode(t.right,i,e.isExpression)),t)}(a):e.visitEachChild(a,i,t);case 214:return function(t){return e.isOptionalChain(e.skipParentheses(t.expression))?e.setOriginalNode(s(t.expression,!1,!0),t):r.updateDeleteExpression(t,e.visitNode(t.expression,i,e.isExpression))}(a);default:return e.visitEachChild(a,i,t)}}function a(t,n,i){var a=s(t.expression,n,i);return e.isSyntheticReference(a)?r.createSyntheticReferenceExpression(r.updateParenthesizedExpression(t,a.expression),a.thisArg):r.updateParenthesizedExpression(t,a)}function o(n,o){if(e.isOptionalChain(n))return c(n,o,!1);if(e.isParenthesizedExpression(n.expression)&&e.isOptionalChain(e.skipParentheses(n.expression))){var s=a(n.expression,!0,!1),u=e.visitNodes(n.arguments,i,e.isExpression);return e.isSyntheticReference(s)?e.setTextRange(r.createFunctionCallCall(s.expression,s.thisArg,u),n):r.updateCallExpression(n,s,void 0,u)}return e.visitEachChild(n,i,t)}function s(t,s,u){switch(t.kind){case 211:return a(t,s,u);case 205:case 206:return function(t,a,o){if(e.isOptionalChain(t))return c(t,a,o);var s,u=e.visitNode(t.expression,i,e.isExpression);return e.Debug.assertNotNode(u,e.isSyntheticReference),a&&(e.isSimpleCopiableExpression(u)?s=u:(s=r.createTempVariable(n),u=r.createAssignment(s,u))),u=205===t.kind?r.updatePropertyAccessExpression(t,u,e.visitNode(t.name,i,e.isIdentifier)):r.updateElementAccessExpression(t,u,e.visitNode(t.argumentExpression,i,e.isExpression)),s?r.createSyntheticReferenceExpression(u,s):u}(t,s,u);case 207:return o(t,s);default:return e.visitNode(t,i,e.isExpression)}}function c(t,a,o){var c=function(t){e.Debug.assertNotNode(t,e.isNonNullChain);for(var r=[t];!t.questionDotToken&&!e.isTaggedTemplateExpression(t);)t=e.cast(e.skipPartiallyEmittedExpressions(t.expression),e.isOptionalChain),e.Debug.assertNotNode(t,e.isNonNullChain),r.unshift(t);return{expression:t.expression,chain:r}}(t),l=c.expression,p=c.chain,d=s(e.skipPartiallyEmittedExpressions(l),e.isCallChain(p[0]),!1),f=e.isSyntheticReference(d)?d.thisArg:void 0,_=e.isSyntheticReference(d)?d.expression:d,m=r.restoreOuterExpressions(l,_,8);e.isSimpleCopiableExpression(_)||(_=r.createTempVariable(n),m=r.createAssignment(_,m));for(var g,h=_,y=0;y<p.length;y++){var v=p[y];switch(v.kind){case 205:case 206:y===p.length-1&&a&&(e.isSimpleCopiableExpression(h)?g=h:(g=r.createTempVariable(n),h=r.createAssignment(g,h))),h=205===v.kind?r.createPropertyAccessExpression(h,e.visitNode(v.name,i,e.isIdentifier)):r.createElementAccessExpression(h,e.visitNode(v.argumentExpression,i,e.isExpression));break;case 207:0===y&&f?(e.isGeneratedIdentifier(f)||(f=r.cloneNode(f),e.addEmitFlags(f,1536)),h=r.createFunctionCallCall(h,106===f.kind?r.createThis():f,e.visitNodes(v.arguments,i,e.isExpression))):h=r.createCallExpression(h,void 0,e.visitNodes(v.arguments,i,e.isExpression))}e.setOriginalNode(h,v)}var D=o?r.createConditionalExpression(u(m,_,!0),void 0,r.createTrue(),void 0,r.createDeleteExpression(h)):r.createConditionalExpression(u(m,_,!0),void 0,r.createVoidZero(),void 0,h);return e.setTextRange(D,t),g?r.createSyntheticReferenceExpression(D,g):D}function u(e,t,n){return r.createBinaryExpression(r.createBinaryExpression(e,r.createToken(n?36:37),r.createNull()),r.createToken(n?56:55),r.createBinaryExpression(t,r.createToken(n?36:37),r.createVoidZero()))}}}(n||(n={})),function(e){e.transformES2021=function(t){var r=t.hoistVariableDeclaration,n=t.factory;return e.chainBundle(t,(function(r){return r.isDeclarationFile?r:e.visitEachChild(r,i,t)}));function i(a){if(0==(16&a.transformFlags))return a;if(220===a.kind){var o=a;if(e.isLogicalOrCoalescingAssignmentExpression(o))return function(t){var a=t.operatorToken,o=e.getNonAssignmentOperatorForCompoundAssignment(a.kind),s=e.skipParentheses(e.visitNode(t.left,i,e.isLeftHandSideExpression)),c=s,u=e.skipParentheses(e.visitNode(t.right,i,e.isExpression));if(e.isAccessExpression(s)){var l=e.isSimpleCopiableExpression(s.expression),p=l?s.expression:n.createTempVariable(r),d=l?s.expression:n.createAssignment(p,s.expression);if(e.isPropertyAccessExpression(s))c=n.createPropertyAccessExpression(p,s.name),s=n.createPropertyAccessExpression(d,s.name);else{var f=e.isSimpleCopiableExpression(s.argumentExpression),_=f?s.argumentExpression:n.createTempVariable(r);c=n.createElementAccessExpression(p,_),s=n.createElementAccessExpression(d,f?s.argumentExpression:n.createAssignment(_,s.argumentExpression))}}return n.createBinaryExpression(s,o,n.createParenthesizedExpression(n.createAssignment(c,u)))}(o)}return e.visitEachChild(a,i,t)}}}(n||(n={})),function(e){e.transformESNext=function(t){return e.chainBundle(t,(function(n){return n.isDeclarationFile?n:e.visitEachChild(n,r,t)}));function r(n){return 0==(4&n.transformFlags)?n:(n.kind,e.visitEachChild(n,r,t))}}}(n||(n={})),function(e){e.transformJsx=function(r){var n,i,a=r.factory,o=r.getEmitHelperFactory,s=r.getCompilerOptions();return e.chainBundle(r,(function(t){if(t.isDeclarationFile)return t;n=t,(i={}).importSpecifier=e.getJSXImplicitImportBase(s,t);var o=e.visitEachChild(t,p,r);e.addEmitHelpers(o,r.readEmitHelpers());var c=o.statements;if(i.filenameDeclaration&&(c=e.insertStatementAfterCustomPrologue(c.slice(),a.createVariableStatement(void 0,a.createVariableDeclarationList([i.filenameDeclaration],2)))),i.utilizedImplicitRuntimeImports)for(var u=0,l=e.arrayFrom(i.utilizedImplicitRuntimeImports.entries());u<l.length;u++){var d=l[u],f=d[0],_=d[1];if(e.isExternalModule(t)){var m=a.createImportDeclaration(void 0,void 0,a.createImportClause(!1,void 0,a.createNamedImports(e.arrayFrom(_.values()))),a.createStringLiteral(f),void 0);e.setParentRecursive(m,!1),c=e.insertStatementAfterCustomPrologue(c.slice(),m)}else if(e.isExternalOrCommonJsModule(t)){var g=a.createVariableStatement(void 0,a.createVariableDeclarationList([a.createVariableDeclaration(a.createObjectBindingPattern(e.map(e.arrayFrom(_.values()),(function(e){return a.createBindingElement(void 0,e.propertyName,e.name)}))),void 0,void 0,a.createCallExpression(a.createIdentifier("require"),void 0,[a.createStringLiteral(f)]))],2));e.setParentRecursive(g,!1),c=e.insertStatementAfterCustomPrologue(c.slice(),g)}}return c!==o.statements&&(o=a.updateSourceFile(o,c)),i=void 0,o}));function c(){if(i.filenameDeclaration)return i.filenameDeclaration.name;var e=a.createVariableDeclaration(a.createUniqueName("_jsxFileName",48),void 0,void 0,a.createStringLiteral(n.fileName));return i.filenameDeclaration=e,i.filenameDeclaration.name}function u(e){return l(function(e){return 5===s.jsx?"jsxDEV":e?"jsxs":"jsx"}(e))}function l(t){var r,n,o="createElement"===t?i.importSpecifier:e.getJSXRuntimeImport(i.importSpecifier,s),c=null===(n=null===(r=i.utilizedImplicitRuntimeImports)||void 0===r?void 0:r.get(o))||void 0===n?void 0:n.get(t);if(c)return c.name;i.utilizedImplicitRuntimeImports||(i.utilizedImplicitRuntimeImports=new e.Map);var u=i.utilizedImplicitRuntimeImports.get(o);u||(u=new e.Map,i.utilizedImplicitRuntimeImports.set(o,u));var l=a.createUniqueName("_".concat(t),112),p=a.createImportSpecifier(!1,a.createIdentifier(t),l);return l.generatedImportReference=p,u.set(t,p),l}function p(t){return 2&t.transformFlags?function(t){switch(t.kind){case 277:return _(t,!1);case 278:return m(t,!1);case 281:return g(t,!1);case 287:return P(t);default:return e.visitEachChild(t,p,r)}}(t):t}function d(t){switch(t.kind){case 11:return function(t){var r=function(t){for(var r,n=0,i=-1,a=0;a<t.length;a++){var o=t.charCodeAt(a);e.isLineBreak(o)?(-1!==n&&-1!==i&&(r=k(r,t.substr(n,i-n+1))),n=-1):e.isWhiteSpaceSingleLine(o)||(i=a,-1===n&&(n=a))}return-1!==n?k(r,t.substr(n)):r}(t.text);return void 0===r?void 0:a.createStringLiteral(r)}(t);case 287:return P(t);case 277:return _(t,!0);case 278:return m(t,!0);case 281:return g(t,!0);default:return e.Debug.failBadSyntaxKind(t)}}function f(t){return void 0===i.importSpecifier||function(t){for(var r=!1,n=0,i=t.attributes.properties;n<i.length;n++){var a=i[n];if(e.isJsxSpreadAttribute(a))r=!0;else if(r&&e.isJsxAttribute(a)&&"key"===a.name.escapedText)return!0}return!1}(t)}function _(e,t){return(f(e.openingElement)?D:y)(e.openingElement,e.children,t,e)}function m(e,t){return(f(e)?D:y)(e,void 0,t,e)}function g(e,t){return(void 0===i.importSpecifier?x:b)(e.openingFragment,e.children,t,e)}function h(t){var r=e.getSemanticJsxChildren(t);if(1===e.length(r)&&!r[0].dotDotDotToken){var n=d(r[0]);return n&&a.createPropertyAssignment("children",n)}var i=e.mapDefined(t,d);return e.length(i)?a.createPropertyAssignment("children",a.createArrayLiteralExpression(i)):void 0}function y(t,r,n,i){var o=N(t),s=r&&r.length?h(r):void 0,c=e.find(t.attributes.properties,(function(t){return!!t.name&&e.isIdentifier(t.name)&&"key"===t.name.escapedText})),u=c?e.filter(t.attributes.properties,(function(e){return e!==c})):t.attributes.properties;return v(o,e.length(u)?E(u,s):a.createObjectLiteralExpression(s?[s]:e.emptyArray),c,r||e.emptyArray,n,i)}function v(t,r,i,o,l,p){var d,f=e.getSemanticJsxChildren(o),_=e.length(f)>1||!(null===(d=f[0])||void 0===d||!d.dotDotDotToken),m=[t,r];if(i&&m.push(T(i.initializer)),5===s.jsx){var g=e.getOriginalNode(n);if(g&&e.isSourceFile(g)){void 0===i&&m.push(a.createVoidZero()),m.push(_?a.createTrue():a.createFalse());var h=e.getLineAndCharacterOfPosition(g,p.pos);m.push(a.createObjectLiteralExpression([a.createPropertyAssignment("fileName",c()),a.createPropertyAssignment("lineNumber",a.createNumericLiteral(h.line+1)),a.createPropertyAssignment("columnNumber",a.createNumericLiteral(h.character+1))])),m.push(a.createThis())}}var y=e.setTextRange(a.createCallExpression(u(_),void 0,m),p);return l&&e.startOnNewLine(y),y}function D(t,o,c,u){var p=N(t),f=t.attributes.properties,_=e.length(f)?E(f):a.createNull(),m=void 0===i.importSpecifier?e.createJsxFactoryExpression(a,r.getEmitResolver().getJsxFactoryEntity(n),s.reactNamespace,t):l("createElement"),g=e.createExpressionForJsxElement(a,m,p,_,e.mapDefined(o,d),u);return c&&e.startOnNewLine(g),g}function b(e,t,r,n){var i;if(t&&t.length){var o=function(e){var t=h(e);return t&&a.createObjectLiteralExpression([t])}(t);o&&(i=o)}return v(l("Fragment"),i||a.createObjectLiteralExpression([]),void 0,t,r,n)}function x(t,i,o,c){var u=e.createExpressionForJsxFragment(a,r.getEmitResolver().getJsxFactoryEntity(n),r.getEmitResolver().getJsxFragmentFactoryEntity(n),s.reactNamespace,e.mapDefined(i,d),t,c);return o&&e.startOnNewLine(u),u}function E(t,r){var n=e.getEmitScriptTarget(s);return n&&n>=5?a.createObjectLiteralExpression(function(t,r){var n=e.flatten(e.spanMap(t,e.isJsxSpreadAttribute,(function(t,r){return e.map(t,(function(t){return r?function(t){return a.createSpreadAssignment(e.visitNode(t.expression,p,e.isExpression))}(t):C(t)}))})));return r&&n.push(r),n}(t,r)):function(t,r){var n=e.flatten(e.spanMap(t,e.isJsxSpreadAttribute,(function(t,r){return r?e.map(t,S):a.createObjectLiteralExpression(e.map(t,C))})));return e.isJsxSpreadAttribute(t[0])&&n.unshift(a.createObjectLiteralExpression()),r&&n.push(a.createObjectLiteralExpression([r])),e.singleOrUndefined(n)||o().createAssignHelper(n)}(t,r)}function S(t){return e.visitNode(t.expression,p,e.isExpression)}function C(t){var r=function(t){var r=t.name,n=e.idText(r);return/^[A-Za-z_]\w*$/.test(n)?r:a.createStringLiteral(n)}(t),n=T(t.initializer);return a.createPropertyAssignment(r,n)}function T(t){if(void 0===t)return a.createTrue();if(10===t.kind){var r=void 0!==t.singleQuote?t.singleQuote:!e.isStringDoubleQuoted(t,n),i=a.createStringLiteral(function(e){var t=A(e);return t===e?void 0:t}(t.text)||t.text,r);return e.setTextRange(i,t)}return 287===t.kind?void 0===t.expression?a.createTrue():e.visitNode(t.expression,p,e.isExpression):e.Debug.failBadSyntaxKind(t)}function k(e,t){var r=A(t);return void 0===e?r:e+" "+r}function A(r){return r.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,(function(r,n,i,a,o,s,c){if(o)return e.utf16EncodeAsString(parseInt(o,10));if(s)return e.utf16EncodeAsString(parseInt(s,16));var u=t.get(c);return u?e.utf16EncodeAsString(u):r}))}function N(t){if(277===t.kind)return N(t.openingElement);var r=t.tagName;return e.isIdentifier(r)&&e.isIntrinsicJsxName(r.escapedText)?a.createStringLiteral(e.idText(r)):e.createExpressionFromEntityName(a,r)}function P(t){var r=e.visitNode(t.expression,p,e.isExpression);return t.dotDotDotToken?a.createSpreadElement(r):r}};var t=new e.Map(e.getEntries({quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}))}(n||(n={})),function(e){e.transformES2016=function(t){var r=t.factory,n=t.hoistVariableDeclaration;return e.chainBundle(t,(function(r){return r.isDeclarationFile?r:e.visitEachChild(r,i,t)}));function i(a){return 0==(512&a.transformFlags)?a:220===a.kind?function(a){switch(a.operatorToken.kind){case 67:return function(t){var a,o,s=e.visitNode(t.left,i,e.isExpression),c=e.visitNode(t.right,i,e.isExpression);if(e.isElementAccessExpression(s)){var u=r.createTempVariable(n),l=r.createTempVariable(n);a=e.setTextRange(r.createElementAccessExpression(e.setTextRange(r.createAssignment(u,s.expression),s.expression),e.setTextRange(r.createAssignment(l,s.argumentExpression),s.argumentExpression)),s),o=e.setTextRange(r.createElementAccessExpression(u,l),s)}else e.isPropertyAccessExpression(s)?(u=r.createTempVariable(n),a=e.setTextRange(r.createPropertyAccessExpression(e.setTextRange(r.createAssignment(u,s.expression),s.expression),s.name),s),o=e.setTextRange(r.createPropertyAccessExpression(u,s.name),s)):(a=s,o=s);return e.setTextRange(r.createAssignment(a,e.setTextRange(r.createGlobalMethodCall("Math","pow",[o,c]),t)),t)}(a);case 42:return function(t){var n=e.visitNode(t.left,i,e.isExpression),a=e.visitNode(t.right,i,e.isExpression);return e.setTextRange(r.createGlobalMethodCall("Math","pow",[n,a]),t)}(a);default:return e.visitEachChild(a,i,t)}}(a):e.visitEachChild(a,i,t)}}}(n||(n={})),function(e){var t,r,n,i,o,s,c;function u(e,t){return{kind:e,expression:t}}(r=t||(t={}))[r.CapturedThis=1]="CapturedThis",r[r.BlockScopedBindings=2]="BlockScopedBindings",function(e){e[e.Body=1]="Body",e[e.Initializer=2]="Initializer"}(n||(n={})),function(e){e[e.ToOriginal=0]="ToOriginal",e[e.ToOutParameter=1]="ToOutParameter"}(i||(i={})),function(e){e[e.Break=2]="Break",e[e.Continue=4]="Continue",e[e.Return=8]="Return"}(o||(o={})),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.StaticInitializer=16384]="StaticInitializer",e[e.AncestorFactsMask=32767]="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=32670]="FunctionExcludes",e[e.AsyncFunctionBodyIncludes=69]="AsyncFunctionBodyIncludes",e[e.AsyncFunctionBodyExcludes=32662]="AsyncFunctionBodyExcludes",e[e.ArrowFunctionIncludes=66]="ArrowFunctionIncludes",e[e.ArrowFunctionExcludes=15232]="ArrowFunctionExcludes",e[e.ConstructorIncludes=73]="ConstructorIncludes",e[e.ConstructorExcludes=32662]="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.StaticInitializerIncludes=16449]="StaticInitializerIncludes",e[e.StaticInitializerExcludes=32670]="StaticInitializerExcludes",e[e.NewTarget=32768]="NewTarget",e[e.CapturedLexicalThis=65536]="CapturedLexicalThis",e[e.SubtreeFactsMask=-32768]="SubtreeFactsMask",e[e.ArrowFunctionSubtreeExcludes=0]="ArrowFunctionSubtreeExcludes",e[e.FunctionSubtreeExcludes=98304]="FunctionSubtreeExcludes"}(s||(s={})),function(e){e[e.None=0]="None",e[e.UnpackedSpread=1]="UnpackedSpread",e[e.PackedSpread=2]="PackedSpread"}(c||(c={})),e.transformES2015=function(t){var r,n,i,o,s,c,l=t.factory,p=t.getEmitHelperFactory,d=t.startLexicalEnvironment,f=t.resumeLexicalEnvironment,_=t.endLexicalEnvironment,m=t.hoistVariableDeclaration,g=t.getCompilerOptions(),h=t.getEmitResolver(),y=t.onSubstituteNode,v=t.onEmitNode;function D(t){o=e.append(o,l.createVariableDeclaration(t))}return t.onEmitNode=function(t,r,n){if(1&c&&e.isFunctionLike(r)){var i=b(32670,8&e.getEmitFlags(r)?81:65);return v(t,r,n),void x(i,0,0)}v(t,r,n)},t.onSubstituteNode=function(t,r){return r=y(t,r),1===t?function(t){switch(t.kind){case 79:return function(t){if(2&c&&!e.isInternalName(t)){var r=h.getReferencedDeclarationWithCollidingName(t);if(r&&(!e.isClassLike(r)||!function(t,r){var n=e.getParseTreeNode(r);if(!n||n===t||n.end<=t.pos||n.pos>=t.end)return!1;for(var i=e.getEnclosingBlockScopeContainer(t);n;){if(n===i||n===t)return!1;if(e.isClassElement(n)&&n.parent===t)return!0;n=n.parent}return!1}(r,t)))return e.setTextRange(l.getGeneratedNameForNode(e.getNameOfDeclaration(r)),t)}return t}(t);case 108:return function(t){return 1&c&&16&i?e.setTextRange(l.createUniqueName("_this",48),t):t}(t)}return t}(r):e.isIdentifier(r)?function(t){if(2&c&&!e.isInternalName(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r&&function(e){switch(e.parent.kind){case 202:case 256:case 259:case 253:return e.parent.name===e&&h.isDeclarationWithCollidingName(e.parent)}return!1}(r))return e.setTextRange(l.getGeneratedNameForNode(r),t)}return t}(r):r},e.chainBundle(t,(function(a){if(a.isDeclarationFile)return a;r=a,n=a.text;var s=function(t){var r=b(8064,64),n=[],i=[];d();var a=l.copyPrologue(t.statements,n,!1,C);return e.addRange(i,e.visitNodes(t.statements,C,e.isStatement,a)),o&&i.push(l.createVariableStatement(void 0,l.createVariableDeclarationList(o))),l.mergeLexicalEnvironment(n,_()),J(n,t),x(r,0,0),l.updateSourceFile(t,e.setTextRange(l.createNodeArray(e.concatenate(n,i)),t.statements))}(a);return e.addEmitHelpers(s,t.readEmitHelpers()),r=void 0,n=void 0,o=void 0,i=0,s}));function b(e,t){var r=i;return i=32767&(i&~e|t),r}function x(e,t,r){i=-32768&(i&~t|r)|e}function E(e){return 0!=(8192&i)&&246===e.kind&&!e.expression}function S(t){return 0!=(1024&t.transformFlags)||void 0!==s||8192&i&&function(t){return 2097152&t.transformFlags&&(e.isReturnStatement(t)||e.isIfStatement(t)||e.isWithStatement(t)||e.isSwitchStatement(t)||e.isCaseBlock(t)||e.isCaseClause(t)||e.isDefaultClause(t)||e.isTryStatement(t)||e.isCatchClause(t)||e.isLabeledStatement(t)||e.isIterationStatement(t,!1)||e.isBlock(t))}(t)||e.isIterationStatement(t,!1)&&_e(t)||0!=(33554432&e.getEmitFlags(t))}function C(e){return S(e)?N(e,!1):e}function T(e){return S(e)?N(e,!0):e}function k(t){if(S(t)){var r=e.getOriginalNode(t);if(e.isPropertyDeclaration(r)&&e.hasStaticModifier(r)){var n=b(32670,16449),i=N(t,!1);return x(n,98304,0),i}return N(t,!1)}return t}function A(e){return 106===e.kind?Oe(!0):C(e)}function N(n,o){switch(n.kind){case 124:return;case 256:return function(t){var r=l.createVariableDeclaration(l.getLocalName(t,!0),void 0,void 0,w(t));e.setOriginalNode(r,t);var n=[],i=l.createVariableStatement(void 0,l.createVariableDeclarationList([r]));if(e.setOriginalNode(i,t),e.setTextRange(i,t),e.startOnNewLine(i),n.push(i),e.hasSyntacticModifier(t,1)){var a=e.hasSyntacticModifier(t,512)?l.createExportDefault(l.getLocalName(t)):l.createExternalModuleExport(l.getLocalName(t));e.setOriginalNode(a,i),n.push(a)}var o=e.getEmitFlags(t);return 0==(4194304&o)&&(n.push(l.createEndOfDeclarationMarker(t)),e.setEmitFlags(i,4194304|o)),e.singleOrMany(n)}(n);case 225:return function(e){return w(e)}(n);case 163:return function(t){if(!t.dotDotDotToken)return e.isBindingPattern(t.name)?e.setOriginalNode(e.setTextRange(l.createParameterDeclaration(void 0,void 0,void 0,l.getGeneratedNameForNode(t),void 0,void 0,void 0),t),t):t.initializer?e.setOriginalNode(e.setTextRange(l.createParameterDeclaration(void 0,void 0,void 0,t.name,void 0,void 0,void 0),t),t):t}(n);case 255:return function(r){var n=s;s=void 0;var a=b(32670,65),o=e.visitParameterList(r.parameters,C,t),c=$(r),u=32768&i?l.getLocalName(r):r.name;return x(a,98304,0),s=n,l.updateFunctionDeclaration(r,void 0,e.visitNodes(r.modifiers,C,e.isModifier),r.asteriskToken,u,void 0,o,void 0,c)}(n);case 213:return function(r){8192&r.transformFlags&&!(16384&i)&&(i|=65536);var n=s;s=void 0;var a=b(15232,66),o=l.createFunctionExpression(void 0,void 0,void 0,void 0,e.visitParameterList(r.parameters,C,t),void 0,$(r));return e.setTextRange(o,r),e.setOriginalNode(o,r),e.setEmitFlags(o,8),x(a,0,0),s=n,o}(n);case 212:return function(r){var n=262144&e.getEmitFlags(r)?b(32662,69):b(32670,65),a=s;s=void 0;var o=e.visitParameterList(r.parameters,C,t),c=$(r),u=32768&i?l.getLocalName(r):r.name;return x(n,98304,0),s=a,l.updateFunctionExpression(r,void 0,r.asteriskToken,u,void 0,o,void 0,c)}(n);case 253:return Q(n);case 79:return F(n);case 254:return function(r){if(3&r.flags||262144&r.transformFlags){3&r.flags&&Le();var n=e.flatMap(r.declarations,1&r.flags?X:Q),i=l.createVariableDeclarationList(n);return e.setOriginalNode(i,r),e.setTextRange(i,r),e.setCommentRange(i,r),262144&r.transformFlags&&(e.isBindingPattern(r.declarations[0].name)||e.isBindingPattern(e.last(r.declarations).name))&&e.setSourceMapRange(i,function(t){for(var r=-1,n=-1,i=0,a=t;i<a.length;i++){var o=a[i];r=-1===r?o.pos:-1===o.pos?r:Math.min(r,o.pos),n=Math.max(n,o.end)}return e.createRange(r,n)}(n)),i}return e.visitEachChild(r,C,t)}(n);case 248:return function(r){if(void 0!==s){var n=s.allowedNonLabeledJumps;s.allowedNonLabeledJumps|=2;var i=e.visitEachChild(r,C,t);return s.allowedNonLabeledJumps=n,i}return e.visitEachChild(r,C,t)}(n);case 262:return function(r){var n=b(7104,0),i=e.visitEachChild(r,C,t);return x(n,0,0),i}(n);case 234:return function(r,n){if(n)return e.visitEachChild(r,C,t);var a=256&i?b(7104,512):b(6976,128),o=e.visitEachChild(r,C,t);return x(a,0,0),o}(n,!1);case 245:case 244:return function(r){if(s){var n=245===r.kind?2:4;if(!(r.label&&s.labels&&s.labels.get(e.idText(r.label))||!r.label&&s.allowedNonLabeledJumps&n)){var i=void 0,a=r.label;a?245===r.kind?(i="break-".concat(a.escapedText),xe(s,!0,e.idText(a),i)):(i="continue-".concat(a.escapedText),xe(s,!1,e.idText(a),i)):245===r.kind?(s.nonLocalJumps|=2,i="break"):(s.nonLocalJumps|=4,i="continue");var o=l.createStringLiteral(i);if(s.loopOutParameters.length){for(var c=s.loopOutParameters,u=void 0,p=0;p<c.length;p++){var d=ve(c[p],1);u=0===p?d:l.createBinaryExpression(u,27,d)}o=l.createBinaryExpression(u,27,o)}return l.createReturnStatement(o)}}return e.visitEachChild(r,C,t)}(n);case 249:return function(t){s&&!s.labels&&(s.labels=new e.Map);var r=e.unwrapInnermostStatementOfLabel(t,s&&Z);return e.isIterationStatement(r,!1)?function(e,t){switch(e.kind){case 239:case 240:return re(e,t);case 241:return ne(e,t);case 242:return ie(e,t);case 243:return ae(e,t)}}(r,t):l.restoreEnclosingLabel(e.visitNode(r,C,e.isStatement,l.liftToBlock),t,s&&ee)}(n);case 239:case 240:return re(n,void 0);case 241:return ne(n,void 0);case 242:return ie(n,void 0);case 243:return ae(n,void 0);case 237:case 216:return function(r){return e.visitEachChild(r,T,t)}(n);case 204:return function(r){for(var n=r.properties,a=-1,o=!1,s=0;s<n.length;s++){var c=n[s];if(524288&c.transformFlags&&4&i||(o=161===e.Debug.checkDefined(c.name).kind)){a=s;break}}if(a<0)return e.visitEachChild(r,C,t);var u=l.createTempVariable(m),p=[],d=l.createAssignment(u,e.setEmitFlags(l.createObjectLiteralExpression(e.visitNodes(n,C,e.isObjectLiteralElementLike,0,a),r.multiLine),o?65536:0));return r.multiLine&&e.startOnNewLine(d),p.push(d),function(t,r,n,i){for(var a=r.properties,o=a.length,s=i;s<o;s++){var c=a[s];switch(c.kind){case 171:case 172:var u=e.getAllAccessorDeclarations(r.properties,c);c===u.firstAccessor&&t.push(H(n,u,r,!!r.multiLine));break;case 168:t.push(ke(c,n,r,r.multiLine));break;case 294:t.push(Ce(c,n,r.multiLine));break;case 295:t.push(Te(c,n,r.multiLine));break;default:e.Debug.failBadSyntaxKind(r)}}}(p,r,u,a),p.push(r.multiLine?e.startOnNewLine(e.setParent(e.setTextRange(l.cloneNode(u),u),u.parent)):u),l.inlineExpressions(p)}(n);case 291:return function(r){var n,i=b(7104,0);if(e.Debug.assert(!!r.variableDeclaration,"Catch clause variable should always be present when downleveling ES2015."),e.isBindingPattern(r.variableDeclaration.name)){var o=l.createTempVariable(void 0),s=l.createVariableDeclaration(o);e.setTextRange(s,r.variableDeclaration);var c=e.flattenDestructuringBinding(r.variableDeclaration,C,t,0,o),u=l.createVariableDeclarationList(c);e.setTextRange(u,r.variableDeclaration);var p=l.createVariableStatement(void 0,u);n=l.updateCatchClause(r,s,function(t,r){var n=e.visitNodes(t.statements,C,e.isStatement);return l.updateBlock(t,a([r],n,!0))}(r.block,p))}else n=e.visitEachChild(r,C,t);return x(i,0,0),n}(n);case 295:return function(t){return e.setTextRange(l.createPropertyAssignment(t.name,F(l.cloneNode(t.name))),t)}(n);case 161:case 223:return function(r){return e.visitEachChild(r,C,t)}(n);case 203:return function(r){return e.some(r.elements,e.isSpreadElement)?Ne(r.elements,!1,!!r.multiLine,!!r.elements.hasTrailingComma):e.visitEachChild(r,C,t)}(n);case 207:return function(t){if(33554432&e.getEmitFlags(t))return function(t){var r=e.cast(e.cast(e.skipOuterExpressions(t.expression),e.isArrowFunction).body,e.isBlock),n=function(t){return e.isVariableStatement(t)&&!!e.first(t.declarationList.declarations).initializer},i=s;s=void 0;var a=e.visitNodes(r.statements,k,e.isStatement);s=i;var o=e.filter(a,n),c=e.filter(a,(function(e){return!n(e)})),u=e.cast(e.first(o),e.isVariableStatement).declarationList.declarations[0],p=e.skipOuterExpressions(u.initializer),d=e.tryCast(p,e.isAssignmentExpression);!d&&e.isBinaryExpression(p)&&27===p.operatorToken.kind&&(d=e.tryCast(p.left,e.isAssignmentExpression));var f=e.cast(d?e.skipOuterExpressions(d.right):p,e.isCallExpression),_=e.cast(e.skipOuterExpressions(f.expression),e.isFunctionExpression),m=_.body.statements,g=0,h=-1,y=[];if(d){var v=e.tryCast(m[g],e.isExpressionStatement);v&&(y.push(v),g++),y.push(m[g]),g++,y.push(l.createExpressionStatement(l.createAssignment(d.left,e.cast(u.name,e.isIdentifier))))}for(;!e.isReturnStatement(e.elementAt(m,h));)h--;return e.addRange(y,m,g,h),h<-1&&e.addRange(y,m,h+1),e.addRange(y,c),e.addRange(y,o,1),l.restoreOuterExpressions(t.expression,l.restoreOuterExpressions(u.initializer,l.restoreOuterExpressions(d&&d.right,l.updateCallExpression(f,l.restoreOuterExpressions(f.expression,l.updateFunctionExpression(_,void 0,void 0,void 0,void 0,_.parameters,void 0,l.updateBlock(_.body,y))),void 0,f.arguments))))}(t);var r=e.skipOuterExpressions(t.expression);return 106===r.kind||e.isSuperProperty(r)||e.some(t.arguments,e.isSpreadElement)?Ae(t,!0):l.updateCallExpression(t,e.visitNode(t.expression,A,e.isExpression),void 0,e.visitNodes(t.arguments,C,e.isExpression))}(n);case 208:return function(r){if(e.some(r.arguments,e.isSpreadElement)){var n=l.createCallBinding(l.createPropertyAccessExpression(r.expression,"bind"),m),i=n.target,o=n.thisArg;return l.createNewExpression(l.createFunctionApplyCall(e.visitNode(i,C,e.isExpression),o,Ne(l.createNodeArray(a([l.createVoidZero()],r.arguments,!0)),!0,!1,!1)),void 0,[])}return e.visitEachChild(r,C,t)}(n);case 211:return function(r,n){return e.visitEachChild(r,n?T:C,t)}(n,o);case 220:return Y(n,o);case 349:return function(r,n){if(n)return e.visitEachChild(r,T,t);for(var i,a=0;a<r.elements.length;a++){var o=r.elements[a],s=e.visitNode(o,a<r.elements.length-1?T:C,e.isExpression);(i||s!==o)&&(i||(i=r.elements.slice(0,a)),i.push(s))}var c=i?e.setTextRange(l.createNodeArray(i),r.elements):r.elements;return l.updateCommaListExpression(r,c)}(n,o);case 14:case 15:case 16:case 17:return function(t){return e.setTextRange(l.createStringLiteral(t.text),t)}(n);case 10:return function(t){return t.hasExtendedUnicodeEscape?e.setTextRange(l.createStringLiteral(t.text),t):t}(n);case 8:return function(t){return 384&t.numericLiteralFlags?e.setTextRange(l.createNumericLiteral(t.text),t):t}(n);case 209:return function(n){return e.processTaggedTemplateExpression(t,n,C,r,D,e.ProcessLevel.All)}(n);case 222:return function(t){for(var r=l.createStringLiteral(t.head.text),n=0,i=t.templateSpans;n<i.length;n++){var a=i[n],o=[e.visitNode(a.expression,C,e.isExpression)];a.literal.text.length>0&&o.push(l.createStringLiteral(a.literal.text)),r=l.createCallExpression(l.createPropertyAccessExpression(r,"concat"),void 0,o)}return e.setTextRange(r,t)}(n);case 224:return function(t){return e.visitNode(t.expression,C,e.isExpression)}(n);case 106:return Oe(!1);case 108:return function(e){return 2&i&&!(16384&i)&&(i|=65536),s?2&i?(s.containsLexicalThis=!0,e):s.thisName||(s.thisName=l.createUniqueName("this")):e}(n);case 230:return function(e){return 103===e.keywordToken&&"target"===e.name.escapedText?(i|=32768,l.createUniqueName("_newTarget",48)):e}(n);case 168:return function(t){e.Debug.assert(!e.isComputedPropertyName(t.name));var r=G(t,e.moveRangePos(t,-1),void 0,void 0);return e.setEmitFlags(r,512|e.getEmitFlags(r)),e.setTextRange(l.createPropertyAssignment(t.name,r),t)}(n);case 171:case 172:return function(r){e.Debug.assert(!e.isComputedPropertyName(r.name));var n=s;s=void 0;var i,a=b(32670,65),o=e.visitParameterList(r.parameters,C,t),c=$(r);return i=171===r.kind?l.updateGetAccessorDeclaration(r,r.decorators,r.modifiers,r.name,o,r.type,c):l.updateSetAccessorDeclaration(r,r.decorators,r.modifiers,r.name,o,c),x(a,98304,0),s=n,i}(n);case 236:return function(r){var n,i=b(0,e.hasSyntacticModifier(r,1)?32:0);if(s&&0==(3&r.declarationList.flags)&&!function(t){return 1===t.declarationList.declarations.length&&!!t.declarationList.declarations[0].initializer&&!!(33554432&e.getEmitFlags(t.declarationList.declarations[0].initializer))}(r)){for(var a=void 0,o=0,c=r.declarationList.declarations;o<c.length;o++){var u=c[o];if(ge(s,u),u.initializer){var p=void 0;e.isBindingPattern(u.name)?p=e.flattenDestructuringAssignment(u,C,t,0):(p=l.createBinaryExpression(u.name,63,e.visitNode(u.initializer,C,e.isExpression)),e.setTextRange(p,u)),a=e.append(a,p)}}n=a?e.setTextRange(l.createExpressionStatement(l.inlineExpressions(a)),r):void 0}else n=e.visitEachChild(r,C,t);return x(i,0,0),n}(n);case 246:return function(r){return s?(s.nonLocalJumps|=8,E(r)&&(r=P(r)),l.createReturnStatement(l.createObjectLiteralExpression([l.createPropertyAssignment(l.createIdentifier("value"),r.expression?e.visitNode(r.expression,C,e.isExpression):l.createVoidZero())]))):E(r)?P(r):e.visitEachChild(r,C,t)}(n);default:return e.visitEachChild(n,C,t)}}function P(t){return e.setOriginalNode(l.createReturnStatement(l.createUniqueName("_this",48)),t)}function F(e){return s&&h.isArgumentsLocalBinding(e)?s.argumentsName||(s.argumentsName=l.createUniqueName("arguments")):e}function w(o){o.name&&Le();var c=e.getClassExtendsHeritageElement(o),u=l.createFunctionExpression(void 0,void 0,void 0,void 0,c?[l.createParameterDeclaration(void 0,void 0,void 0,l.createUniqueName("_super",48))]:[],void 0,function(o,c){var u=[],m=l.getInternalName(o),g=e.isIdentifierANonContextualKeyword(m)?l.getGeneratedNameForNode(m):m;d(),function(t,r,n){n&&t.push(e.setTextRange(l.createExpressionStatement(p().createExtendsHelper(l.getInternalName(r))),n))}(u,o,c),function(r,n,o,c){var u=s;s=void 0;var p=b(32662,73),d=e.getFirstConstructorWithBody(n),m=function(t,r){if(!t||!r||e.some(t.parameters))return!1;var n=e.firstOrUndefined(t.body.statements);if(!n||!e.nodeIsSynthesized(n)||237!==n.kind)return!1;var i=n.expression;if(!e.nodeIsSynthesized(i)||207!==i.kind)return!1;var a=i.expression;if(!e.nodeIsSynthesized(a)||106!==a.kind)return!1;var o=e.singleOrUndefined(i.arguments);if(!o||!e.nodeIsSynthesized(o)||224!==o.kind)return!1;var s=o.expression;return e.isIdentifier(s)&&"arguments"===s.escapedText}(d,void 0!==c),g=l.createFunctionDeclaration(void 0,void 0,void 0,o,void 0,function(r,n){return e.visitParameterList(r&&!n?r.parameters:void 0,C,t)||[]}(d,m),void 0,function(t,r,n,o){var s=!!n&&104!==e.skipOuterExpressions(n.expression).kind;if(!t)return function(t,r){var n=[];f(),l.mergeLexicalEnvironment(n,_()),r&&n.push(l.createReturnStatement(L()));var i=l.createNodeArray(n);e.setTextRange(i,t.members);var a=l.createBlock(i,!0);return e.setTextRange(a,t),e.setEmitFlags(a,1536),a}(r,s);var c=[],u=[];f();var p,d=e.takeWhile(t.body.statements,e.isPrologueDirective),m=function(t,r){for(var n=r.length;n<t.length;n+=1){var i=e.getSuperCallFromStatement(t[n]);if(i)return{superCall:i,superStatementIndex:n}}return{superStatementIndex:-1}}(t.body.statements,d),g=m.superCall,h=m.superStatementIndex,y=-1===h?d.length:h+1,v=y;if(o||(v=l.copyStandardPrologue(t.body.statements,c,v,!1)),o||(v=l.copyCustomPrologue(t.body.statements,u,v,C,void 0)),o?p=L():g&&(p=function(e){return Ae(e,!1)}(g)),p&&(i|=8192),R(c,t),K(c,t,o),e.addRange(u,e.visitNodes(t.body.statements,C,e.isStatement,v)),l.mergeLexicalEnvironment(c,_()),q(c,t,!1),s||p)if(!p||y!==t.body.statements.length||8192&t.body.transformFlags)h<=d.length?U(u,t,p||O()):(U(c,t,O()),p&&function(t,r){Me();var n=l.createExpressionStatement(l.createBinaryExpression(l.createThis(),63,r));e.insertStatementAfterCustomPrologue(t,n),e.setCommentRange(n,e.getOriginalNode(r).parent)}(u,p)),I(t.body)||u.push(l.createReturnStatement(l.createUniqueName("_this",48)));else{var D=e.cast(e.cast(p,e.isBinaryExpression).left,e.isCallExpression),b=l.createReturnStatement(p);e.setCommentRange(b,e.getCommentRange(D)),e.setEmitFlags(D,1536),u.push(b)}else J(c,t);var x=l.createBlock(e.setTextRange(l.createNodeArray(a(a(a(a([],d,!0),c,!0),h<=d.length?e.emptyArray:e.visitNodes(t.body.statements,C,e.isStatement,d.length,h),!0),u,!0)),t.body.statements),!0);return e.setTextRange(x,t.body),x}(d,n,c,m));e.setTextRange(g,d||n),c&&e.setEmitFlags(g,8),r.push(g),x(p,98304,0),s=u}(u,o,g,c),function(t,n){for(var i=0,a=n.members;i<a.length;i++){var o=a[i];switch(o.kind){case 233:t.push(V(o));break;case 168:t.push(z(Re(n,o),o,n));break;case 171:case 172:var s=e.getAllAccessorDeclarations(n.members,o);o===s.firstAccessor&&t.push(W(Re(n,o),s,n));break;case 170:case 169:break;default:e.Debug.failBadSyntaxKind(o,r&&r.fileName)}}}(u,o);var h=e.createTokenRange(e.skipTrivia(n,o.members.end),19),y=l.createPartiallyEmittedExpression(g);e.setTextRangeEnd(y,h.end),e.setEmitFlags(y,1536);var v=l.createReturnStatement(y);e.setTextRangePos(v,h.pos),e.setEmitFlags(v,1920),u.push(v),e.insertStatementsAfterStandardPrologue(u,_());var D=l.createBlock(e.setTextRange(l.createNodeArray(u),o.members),!0);return e.setEmitFlags(D,1536),D}(o,c));e.setEmitFlags(u,65536&e.getEmitFlags(o)|524288);var m=l.createPartiallyEmittedExpression(u);e.setTextRangeEnd(m,o.end),e.setEmitFlags(m,1536);var g=l.createPartiallyEmittedExpression(m);e.setTextRangeEnd(g,e.skipTrivia(n,o.pos)),e.setEmitFlags(g,1536);var h=l.createParenthesizedExpression(l.createCallExpression(g,void 0,c?[e.visitNode(c.expression,C,e.isExpression)]:[]));return e.addSyntheticLeadingComment(h,3,"* @class "),h}function I(t){if(246===t.kind)return!0;if(238===t.kind){var r=t;if(r.elseStatement)return I(r.thenStatement)&&I(r.elseStatement)}else if(234===t.kind){var n=e.lastOrUndefined(t.statements);if(n&&I(n))return!0}return!1}function O(){return e.setEmitFlags(l.createThis(),4)}function L(){return l.createLogicalOr(l.createLogicalAnd(l.createStrictInequality(l.createUniqueName("_super",48),l.createNull()),l.createFunctionApplyCall(l.createUniqueName("_super",48),O(),l.createIdentifier("arguments"))),O())}function M(t){return void 0!==t.initializer||e.isBindingPattern(t.name)}function R(t,r){if(!e.some(r.parameters,M))return!1;for(var n=!1,i=0,a=r.parameters;i<a.length;i++){var o=a[i],s=o.name,c=o.initializer;o.dotDotDotToken||(e.isBindingPattern(s)?n=B(t,o,s,c)||n:c&&(j(t,o,s,c),n=!0))}return n}function B(r,n,i,a){return i.elements.length>0?(e.insertStatementAfterCustomPrologue(r,e.setEmitFlags(l.createVariableStatement(void 0,l.createVariableDeclarationList(e.flattenDestructuringBinding(n,C,t,0,l.getGeneratedNameForNode(n)))),1048576)),!0):!!a&&(e.insertStatementAfterCustomPrologue(r,e.setEmitFlags(l.createExpressionStatement(l.createAssignment(l.getGeneratedNameForNode(n),e.visitNode(a,C,e.isExpression))),1048576)),!0)}function j(t,r,n,i){i=e.visitNode(i,C,e.isExpression);var a=l.createIfStatement(l.createTypeCheck(l.cloneNode(n),"undefined"),e.setEmitFlags(e.setTextRange(l.createBlock([l.createExpressionStatement(e.setEmitFlags(e.setTextRange(l.createAssignment(e.setEmitFlags(e.setParent(e.setTextRange(l.cloneNode(n),n),n.parent),48),e.setEmitFlags(i,1584|e.getEmitFlags(i))),r),1536))]),r),1953));e.startOnNewLine(a),e.setTextRange(a,r),e.setEmitFlags(a,1050528),e.insertStatementAfterCustomPrologue(t,a)}function K(r,n,i){var a=[],o=e.lastOrUndefined(n.parameters);if(!function(e,t){return!(!e||!e.dotDotDotToken||t)}(o,i))return!1;var s=79===o.name.kind?e.setParent(e.setTextRange(l.cloneNode(o.name),o.name),o.name.parent):l.createTempVariable(void 0);e.setEmitFlags(s,48);var c=79===o.name.kind?l.cloneNode(o.name):s,u=n.parameters.length-1,p=l.createLoopVariable();a.push(e.setEmitFlags(e.setTextRange(l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(s,void 0,void 0,l.createArrayLiteralExpression([]))])),o),1048576));var d=l.createForStatement(e.setTextRange(l.createVariableDeclarationList([l.createVariableDeclaration(p,void 0,void 0,l.createNumericLiteral(u))]),o),e.setTextRange(l.createLessThan(p,l.createPropertyAccessExpression(l.createIdentifier("arguments"),"length")),o),e.setTextRange(l.createPostfixIncrement(p),o),l.createBlock([e.startOnNewLine(e.setTextRange(l.createExpressionStatement(l.createAssignment(l.createElementAccessExpression(c,0===u?p:l.createSubtract(p,l.createNumericLiteral(u))),l.createElementAccessExpression(l.createIdentifier("arguments"),p))),o))]));return e.setEmitFlags(d,1048576),e.startOnNewLine(d),a.push(d),79!==o.name.kind&&a.push(e.setEmitFlags(e.setTextRange(l.createVariableStatement(void 0,l.createVariableDeclarationList(e.flattenDestructuringBinding(o,C,t,0,c))),o),1048576)),e.insertStatementsAfterCustomPrologue(r,a),!0}function J(e,t){return!!(65536&i&&213!==t.kind)&&(U(e,t,l.createThis()),!0)}function U(t,r,n){Me();var i=l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(l.createUniqueName("_this",48),void 0,void 0,n)]));e.setEmitFlags(i,1050112),e.setSourceMapRange(i,r),e.insertStatementAfterCustomPrologue(t,i)}function q(t,r,n){if(32768&i){var a=void 0;switch(r.kind){case 213:return t;case 168:case 171:case 172:a=l.createVoidZero();break;case 170:a=l.createPropertyAccessExpression(e.setEmitFlags(l.createThis(),4),"constructor");break;case 255:case 212:a=l.createConditionalExpression(l.createLogicalAnd(e.setEmitFlags(l.createThis(),4),l.createBinaryExpression(e.setEmitFlags(l.createThis(),4),102,l.getLocalName(r))),void 0,l.createPropertyAccessExpression(e.setEmitFlags(l.createThis(),4),"constructor"),void 0,l.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(r)}var o=l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(l.createUniqueName("_newTarget",48),void 0,void 0,a)]));e.setEmitFlags(o,1050112),n&&(t=t.slice()),e.insertStatementAfterCustomPrologue(t,o)}return t}function V(t){return e.setTextRange(l.createEmptyStatement(),t)}function z(r,n,i){var a,o=e.getCommentRange(n),s=e.getSourceMapRange(n),c=G(n,n,void 0,i),u=e.visitNode(n.name,C,e.isPropertyName);if(!e.isPrivateIdentifier(u)&&e.getUseDefineForClassFields(t.getCompilerOptions())){var p=e.isComputedPropertyName(u)?u.expression:e.isIdentifier(u)?l.createStringLiteral(e.unescapeLeadingUnderscores(u.escapedText)):u;a=l.createObjectDefinePropertyCall(r,p,l.createPropertyDescriptor({value:c,enumerable:!1,writable:!0,configurable:!0}))}else{var d=e.createMemberAccessForPropertyName(l,r,u,n.name);a=l.createAssignment(d,c)}e.setEmitFlags(c,1536),e.setSourceMapRange(c,s);var f=e.setTextRange(l.createExpressionStatement(a),n);return e.setOriginalNode(f,n),e.setCommentRange(f,o),e.setEmitFlags(f,48),f}function W(t,r,n){var i=l.createExpressionStatement(H(t,r,n,!1));return e.setEmitFlags(i,1536),e.setSourceMapRange(i,e.getSourceMapRange(r.firstAccessor)),i}function H(t,r,n,i){var a=r.firstAccessor,o=r.getAccessor,s=r.setAccessor,c=e.setParent(e.setTextRange(l.cloneNode(t),t),t.parent);e.setEmitFlags(c,1568),e.setSourceMapRange(c,a.name);var u=e.visitNode(a.name,C,e.isPropertyName);if(e.isPrivateIdentifier(u))return e.Debug.failBadSyntaxKind(u,"Encountered unhandled private identifier while transforming ES2015.");var p=e.createExpressionForPropertyName(l,u);e.setEmitFlags(p,1552),e.setSourceMapRange(p,a.name);var d=[];if(o){var f=G(o,void 0,void 0,n);e.setSourceMapRange(f,e.getSourceMapRange(o)),e.setEmitFlags(f,512);var _=l.createPropertyAssignment("get",f);e.setCommentRange(_,e.getCommentRange(o)),d.push(_)}if(s){var m=G(s,void 0,void 0,n);e.setSourceMapRange(m,e.getSourceMapRange(s)),e.setEmitFlags(m,512);var g=l.createPropertyAssignment("set",m);e.setCommentRange(g,e.getCommentRange(s)),d.push(g)}d.push(l.createPropertyAssignment("enumerable",o||s?l.createFalse():l.createTrue()),l.createPropertyAssignment("configurable",l.createTrue()));var h=l.createCallExpression(l.createPropertyAccessExpression(l.createIdentifier("Object"),"defineProperty"),void 0,[c,p,l.createObjectLiteralExpression(d,!0)]);return i&&e.startOnNewLine(h),h}function G(r,n,a,o){var c=s;s=void 0;var u=o&&e.isClassLike(o)&&!e.isStatic(r)?b(32670,73):b(32670,65),p=e.visitParameterList(r.parameters,C,t),d=$(r);return 32768&i&&!a&&(255===r.kind||212===r.kind)&&(a=l.getGeneratedNameForNode(r)),x(u,98304,0),s=c,e.setOriginalNode(e.setTextRange(l.createFunctionExpression(void 0,r.asteriskToken,a,void 0,p,void 0,d),n),r)}function $(t){var n,i,a,o=!1,s=!1,c=[],u=[],p=t.body;if(f(),e.isBlock(p)&&(a=l.copyStandardPrologue(p.statements,c,0,!1),a=l.copyCustomPrologue(p.statements,u,a,C,e.isHoistedFunction),a=l.copyCustomPrologue(p.statements,u,a,C,e.isHoistedVariableStatement)),o=R(u,t)||o,o=K(u,t,!1)||o,e.isBlock(p))a=l.copyCustomPrologue(p.statements,u,a,C),n=p.statements,e.addRange(u,e.visitNodes(p.statements,C,e.isStatement,a)),!o&&p.multiLine&&(o=!0);else{e.Debug.assert(213===t.kind),n=e.moveRangeEnd(p,-1);var d=t.equalsGreaterThanToken;!e.nodeIsSynthesized(d)&&!e.nodeIsSynthesized(p)&&(e.rangeEndIsOnSameLineAsRangeStart(d,p,r)?s=!0:o=!0);var m=e.visitNode(p,C,e.isExpression),g=l.createReturnStatement(m);e.setTextRange(g,p),e.moveSyntheticComments(g,p),e.setEmitFlags(g,1440),u.push(g),i=p}if(l.mergeLexicalEnvironment(c,_()),q(c,t,!1),J(c,t),e.some(c)&&(o=!0),u.unshift.apply(u,c),e.isBlock(p)&&e.arrayIsEqualTo(u,p.statements))return p;var h=l.createBlock(e.setTextRange(l.createNodeArray(u),n),o);return e.setTextRange(h,t.body),!o&&s&&e.setEmitFlags(h,1),i&&e.setTokenSourceMapRange(h,19,i),e.setOriginalNode(h,t.body),h}function Y(r,n){return e.isDestructuringAssignment(r)?e.flattenDestructuringAssignment(r,C,t,0,!n):27===r.operatorToken.kind?l.updateBinaryExpression(r,e.visitNode(r.left,T,e.isExpression),r.operatorToken,e.visitNode(r.right,n?T:C,e.isExpression)):e.visitEachChild(r,C,t)}function X(r){var n=r.name;return e.isBindingPattern(n)?Q(r):!r.initializer&&function(e){var t=h.getNodeCheckFlags(e),r=262144&t,n=524288&t;return!(0!=(64&i)||r&&n&&0!=(512&i))&&0==(4096&i)&&(!h.isDeclarationWithCollidingName(e)||n&&!r&&0==(6144&i))}(r)?l.updateVariableDeclaration(r,r.name,void 0,void 0,l.createVoidZero()):e.visitEachChild(r,C,t)}function Q(r){var n,i=b(32,0);return n=e.isBindingPattern(r.name)?e.flattenDestructuringBinding(r,C,t,0,void 0,0!=(32&i)):e.visitEachChild(r,C,t),x(i,0,0),n}function Z(t){s.labels.set(e.idText(t.label),!0)}function ee(t){s.labels.set(e.idText(t.label),!1)}function te(r,n,a,o,c){var u=b(r,n),p=function(r,n,a,o){if(!_e(r)){var c=void 0;s&&(c=s.allowedNonLabeledJumps,s.allowedNonLabeledJumps=6);var u=o?o(r,n,void 0,a):l.restoreEnclosingLabel(e.isForStatement(r)?function(t){return l.updateForStatement(t,e.visitNode(t.initializer,T,e.isForInitializer),e.visitNode(t.condition,C,e.isExpression),e.visitNode(t.incrementor,T,e.isExpression),e.visitNode(t.statement,C,e.isStatement,l.liftToBlock))}(r):e.visitEachChild(r,C,t),n,s&&ee);return s&&(s.allowedNonLabeledJumps=c),u}var p=function(t){var r;switch(t.kind){case 241:case 242:case 243:var n=t.initializer;n&&254===n.kind&&(r=n)}var i=[],a=[];if(r&&3&e.getCombinedNodeFlags(r))for(var o=pe(t)||de(t)||fe(t),c=0,u=r.declarations;c<u.length;c++)Se(t,u[c],i,a,o);var l={loopParameters:i,loopOutParameters:a};return s&&(s.argumentsName&&(l.argumentsName=s.argumentsName),s.thisName&&(l.thisName=s.thisName),s.hoistedLocalVariables&&(l.hoistedLocalVariables=s.hoistedLocalVariables)),l}(r),f=[],m=s;s=p;var g,h=pe(r)?function(t,r){var n=l.createUniqueName("_loop_init"),a=0!=(524288&t.initializer.transformFlags),o=0;r.containsLexicalThis&&(o|=8),a&&4&i&&(o|=262144);var s=[];return s.push(l.createVariableStatement(void 0,t.initializer)),De(r.loopOutParameters,2,1,s),{functionName:n,containsYield:a,functionDeclaration:l.createVariableStatement(void 0,e.setEmitFlags(l.createVariableDeclarationList([l.createVariableDeclaration(n,void 0,void 0,e.setEmitFlags(l.createFunctionExpression(void 0,a?l.createToken(41):void 0,void 0,void 0,void 0,void 0,e.visitNode(l.createBlock(s,!0),C,e.isBlock)),o))]),2097152)),part:l.createVariableDeclarationList(e.map(r.loopOutParameters,ye))}}(r,p):void 0,y=me(r)?function(t,r,n){var a=l.createUniqueName("_loop");d();var o=e.visitNode(t.statement,C,e.isStatement,l.liftToBlock),s=_(),c=[];(de(t)||fe(t))&&(r.conditionVariable=l.createUniqueName("inc"),t.incrementor?c.push(l.createIfStatement(r.conditionVariable,l.createExpressionStatement(e.visitNode(t.incrementor,C,e.isExpression)),l.createExpressionStatement(l.createAssignment(r.conditionVariable,l.createTrue())))):c.push(l.createIfStatement(l.createLogicalNot(r.conditionVariable),l.createExpressionStatement(l.createAssignment(r.conditionVariable,l.createTrue())))),de(t)&&c.push(l.createIfStatement(l.createPrefixUnaryExpression(53,e.visitNode(t.condition,C,e.isExpression)),e.visitNode(l.createBreakStatement(),C,e.isStatement)))),e.isBlock(o)?e.addRange(c,o.statements):c.push(o),De(r.loopOutParameters,1,1,c),e.insertStatementsAfterStandardPrologue(c,s);var u=l.createBlock(c,!0);e.isBlock(o)&&e.setOriginalNode(u,o);var p=0!=(524288&t.statement.transformFlags),f=524288;return r.containsLexicalThis&&(f|=8),p&&0!=(4&i)&&(f|=262144),{functionName:a,containsYield:p,functionDeclaration:l.createVariableStatement(void 0,e.setEmitFlags(l.createVariableDeclarationList([l.createVariableDeclaration(a,void 0,void 0,e.setEmitFlags(l.createFunctionExpression(void 0,p?l.createToken(41):void 0,void 0,void 0,r.loopParameters,void 0,u),f))]),2097152)),part:be(a,r,n,p)}}(r,p,m):void 0;if(s=m,h&&f.push(h.functionDeclaration),y&&f.push(y.functionDeclaration),function(e,t,r){var n;if(t.argumentsName&&(r?r.argumentsName=t.argumentsName:(n||(n=[])).push(l.createVariableDeclaration(t.argumentsName,void 0,void 0,l.createIdentifier("arguments")))),t.thisName&&(r?r.thisName=t.thisName:(n||(n=[])).push(l.createVariableDeclaration(t.thisName,void 0,void 0,l.createIdentifier("this")))),t.hoistedLocalVariables)if(r)r.hoistedLocalVariables=t.hoistedLocalVariables;else{n||(n=[]);for(var i=0,a=t.hoistedLocalVariables;i<a.length;i++){var o=a[i];n.push(l.createVariableDeclaration(o))}}if(t.loopOutParameters.length){n||(n=[]);for(var s=0,c=t.loopOutParameters;s<c.length;s++){var u=c[s];n.push(l.createVariableDeclaration(u.outParamName))}}t.conditionVariable&&(n||(n=[]),n.push(l.createVariableDeclaration(t.conditionVariable,void 0,void 0,l.createFalse()))),n&&e.push(l.createVariableStatement(void 0,l.createVariableDeclarationList(n)))}(f,p,m),h&&f.push(function(t,r){var n=l.createCallExpression(t,void 0,[]),i=r?l.createYieldExpression(l.createToken(41),e.setEmitFlags(n,8388608)):n;return l.createExpressionStatement(i)}(h.functionName,h.containsYield)),y)if(o)g=o(r,n,y.part,a);else{var v=he(r,h,l.createBlock(y.part,!0));g=l.restoreEnclosingLabel(v,n,s&&ee)}else{var D=he(r,h,e.visitNode(r.statement,C,e.isStatement,l.liftToBlock));g=l.restoreEnclosingLabel(D,n,s&&ee)}return f.push(g),f}(a,o,u,c);return x(u,0,0),p}function re(e,t){return te(0,1280,e,t)}function ne(e,t){return te(5056,3328,e,t)}function ie(e,t){return te(3008,5376,e,t)}function ae(e,t){return te(3008,5376,e,t,g.downlevelIteration?ue:ce)}function oe(r,n,i){var a=[],o=r.initializer;if(e.isVariableDeclarationList(o)){3&r.initializer.flags&&Le();var s=e.firstOrUndefined(o.declarations);if(s&&e.isBindingPattern(s.name)){var c=e.flattenDestructuringBinding(s,C,t,0,n),u=e.setTextRange(l.createVariableDeclarationList(c),r.initializer);e.setOriginalNode(u,r.initializer),e.setSourceMapRange(u,e.createRange(c[0].pos,e.last(c).end)),a.push(l.createVariableStatement(void 0,u))}else a.push(e.setTextRange(l.createVariableStatement(void 0,e.setOriginalNode(e.setTextRange(l.createVariableDeclarationList([l.createVariableDeclaration(s?s.name:l.createTempVariable(void 0),void 0,void 0,n)]),e.moveRangePos(o,-1)),o)),e.moveRangeEnd(o,-1)))}else{var p=l.createAssignment(o,n);e.isDestructuringAssignment(p)?a.push(l.createExpressionStatement(Y(p,!0))):(e.setTextRangeEnd(p,o.end),a.push(e.setTextRange(l.createExpressionStatement(e.visitNode(p,C,e.isExpression)),e.moveRangeEnd(o,-1))))}if(i)return se(e.addRange(a,i));var d=e.visitNode(r.statement,C,e.isStatement,l.liftToBlock);return e.isBlock(d)?l.updateBlock(d,e.setTextRange(l.createNodeArray(e.concatenate(a,d.statements)),d.statements)):(a.push(d),se(a))}function se(t){return e.setEmitFlags(l.createBlock(l.createNodeArray(t),!0),432)}function ce(t,r,n){var i=e.visitNode(t.expression,C,e.isExpression),a=l.createLoopVariable(),o=e.isIdentifier(i)?l.getGeneratedNameForNode(i):l.createTempVariable(void 0);e.setEmitFlags(i,48|e.getEmitFlags(i));var c=e.setTextRange(l.createForStatement(e.setEmitFlags(e.setTextRange(l.createVariableDeclarationList([e.setTextRange(l.createVariableDeclaration(a,void 0,void 0,l.createNumericLiteral(0)),e.moveRangePos(t.expression,-1)),e.setTextRange(l.createVariableDeclaration(o,void 0,void 0,i),t.expression)]),t.expression),2097152),e.setTextRange(l.createLessThan(a,l.createPropertyAccessExpression(o,"length")),t.expression),e.setTextRange(l.createPostfixIncrement(a),t.expression),oe(t,l.createElementAccessExpression(o,a),n)),t);return e.setEmitFlags(c,256),e.setTextRange(c,t),l.restoreEnclosingLabel(c,r,s&&ee)}function ue(t,r,n,i){var a=e.visitNode(t.expression,C,e.isExpression),o=e.isIdentifier(a)?l.getGeneratedNameForNode(a):l.createTempVariable(void 0),c=e.isIdentifier(a)?l.getGeneratedNameForNode(o):l.createTempVariable(void 0),u=l.createUniqueName("e"),d=l.getGeneratedNameForNode(u),f=l.createTempVariable(void 0),_=e.setTextRange(p().createValuesHelper(a),t.expression),g=l.createCallExpression(l.createPropertyAccessExpression(o,"next"),void 0,[]);m(u),m(f);var h=1024&i?l.inlineExpressions([l.createAssignment(u,l.createVoidZero()),_]):_,y=e.setEmitFlags(e.setTextRange(l.createForStatement(e.setEmitFlags(e.setTextRange(l.createVariableDeclarationList([e.setTextRange(l.createVariableDeclaration(o,void 0,void 0,h),t.expression),l.createVariableDeclaration(c,void 0,void 0,g)]),t.expression),2097152),l.createLogicalNot(l.createPropertyAccessExpression(c,"done")),l.createAssignment(c,g),oe(t,l.createPropertyAccessExpression(c,"value"),n)),t),256);return l.createTryStatement(l.createBlock([l.restoreEnclosingLabel(y,r,s&&ee)]),l.createCatchClause(l.createVariableDeclaration(d),e.setEmitFlags(l.createBlock([l.createExpressionStatement(l.createAssignment(u,l.createObjectLiteralExpression([l.createPropertyAssignment("error",d)])))]),1)),l.createBlock([l.createTryStatement(l.createBlock([e.setEmitFlags(l.createIfStatement(l.createLogicalAnd(l.createLogicalAnd(c,l.createLogicalNot(l.createPropertyAccessExpression(c,"done"))),l.createAssignment(f,l.createPropertyAccessExpression(o,"return"))),l.createExpressionStatement(l.createFunctionCallCall(f,o,[]))),1)]),void 0,e.setEmitFlags(l.createBlock([e.setEmitFlags(l.createIfStatement(u,l.createThrowStatement(l.createPropertyAccessExpression(u,"error"))),1)]),1))]))}function le(e){return 0!=(131072&h.getNodeCheckFlags(e))}function pe(t){return e.isForStatement(t)&&!!t.initializer&&le(t.initializer)}function de(t){return e.isForStatement(t)&&!!t.condition&&le(t.condition)}function fe(t){return e.isForStatement(t)&&!!t.incrementor&&le(t.incrementor)}function _e(e){return me(e)||pe(e)}function me(e){return 0!=(65536&h.getNodeCheckFlags(e))}function ge(t,r){t.hoistedLocalVariables||(t.hoistedLocalVariables=[]),function r(n){if(79===n.kind)t.hoistedLocalVariables.push(n);else for(var i=0,a=n.elements;i<a.length;i++){var o=a[i];e.isOmittedExpression(o)||r(o.name)}}(r.name)}function he(t,r,n){switch(t.kind){case 241:return function(t,r,n){var i=t.condition&&le(t.condition),a=i||t.incrementor&&le(t.incrementor);return l.updateForStatement(t,e.visitNode(r?r.part:t.initializer,T,e.isForInitializer),e.visitNode(i?void 0:t.condition,C,e.isExpression),e.visitNode(a?void 0:t.incrementor,T,e.isExpression),n)}(t,r,n);case 242:return function(t,r){return l.updateForInStatement(t,e.visitNode(t.initializer,C,e.isForInitializer),e.visitNode(t.expression,C,e.isExpression),r)}(t,n);case 243:return function(t,r){return l.updateForOfStatement(t,void 0,e.visitNode(t.initializer,C,e.isForInitializer),e.visitNode(t.expression,C,e.isExpression),r)}(t,n);case 239:return function(t,r){return l.updateDoStatement(t,r,e.visitNode(t.expression,C,e.isExpression))}(t,n);case 240:return function(t,r){return l.updateWhileStatement(t,e.visitNode(t.expression,C,e.isExpression),r)}(t,n);default:return e.Debug.failBadSyntaxKind(t,"IterationStatement expected")}}function ye(e){return l.createVariableDeclaration(e.originalName,void 0,void 0,e.outParamName)}function ve(e,t){var r=0===t?e.outParamName:e.originalName,n=0===t?e.originalName:e.outParamName;return l.createBinaryExpression(n,63,r)}function De(e,t,r,n){for(var i=0,a=e;i<a.length;i++){var o=a[i];o.flags&t&&n.push(l.createExpressionStatement(ve(o,r)))}}function be(t,r,n,i){var a=[],o=!(-5&r.nonLocalJumps||r.labeledNonLocalBreaks||r.labeledNonLocalContinues),s=l.createCallExpression(t,void 0,e.map(r.loopParameters,(function(e){return e.name}))),c=i?l.createYieldExpression(l.createToken(41),e.setEmitFlags(s,8388608)):s;if(o)a.push(l.createExpressionStatement(c)),De(r.loopOutParameters,1,0,a);else{var u=l.createUniqueName("state"),p=l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(u,void 0,void 0,c)]));if(a.push(p),De(r.loopOutParameters,1,0,a),8&r.nonLocalJumps){var d=void 0;n?(n.nonLocalJumps|=8,d=l.createReturnStatement(u)):d=l.createReturnStatement(l.createPropertyAccessExpression(u,"value")),a.push(l.createIfStatement(l.createTypeCheck(u,"object"),d))}if(2&r.nonLocalJumps&&a.push(l.createIfStatement(l.createStrictEquality(u,l.createStringLiteral("break")),l.createBreakStatement())),r.labeledNonLocalBreaks||r.labeledNonLocalContinues){var f=[];Ee(r.labeledNonLocalBreaks,!0,u,n,f),Ee(r.labeledNonLocalContinues,!1,u,n,f),a.push(l.createSwitchStatement(u,l.createCaseBlock(f)))}}return a}function xe(t,r,n,i){r?(t.labeledNonLocalBreaks||(t.labeledNonLocalBreaks=new e.Map),t.labeledNonLocalBreaks.set(n,i)):(t.labeledNonLocalContinues||(t.labeledNonLocalContinues=new e.Map),t.labeledNonLocalContinues.set(n,i))}function Ee(e,t,r,n,i){!e||e.forEach((function(e,a){var o=[];if(!n||n.labels&&n.labels.get(a)){var s=l.createIdentifier(a);o.push(t?l.createBreakStatement(s):l.createContinueStatement(s))}else xe(n,t,a,e),o.push(l.createReturnStatement(r));i.push(l.createCaseClause(l.createStringLiteral(e),o))}))}function Se(t,r,n,i,a){var o=r.name;if(e.isBindingPattern(o))for(var s=0,c=o.elements;s<c.length;s++){var u=c[s];e.isOmittedExpression(u)||Se(t,u,n,i,a)}else{n.push(l.createParameterDeclaration(void 0,void 0,void 0,o));var p=h.getNodeCheckFlags(r);if(4194304&p||a){var d=l.createUniqueName("out_"+e.idText(o)),f=0;4194304&p&&(f|=1),e.isForStatement(t)&&(t.initializer&&h.isBindingCapturedByNode(t.initializer,r)&&(f|=2),(t.condition&&h.isBindingCapturedByNode(t.condition,r)||t.incrementor&&h.isBindingCapturedByNode(t.incrementor,r))&&(f|=1)),i.push({flags:f,originalName:o,outParamName:d})}}}function Ce(t,r,n){var i=l.createAssignment(e.createMemberAccessForPropertyName(l,r,e.visitNode(t.name,C,e.isPropertyName)),e.visitNode(t.initializer,C,e.isExpression));return e.setTextRange(i,t),n&&e.startOnNewLine(i),i}function Te(t,r,n){var i=l.createAssignment(e.createMemberAccessForPropertyName(l,r,e.visitNode(t.name,C,e.isPropertyName)),l.cloneNode(t.name));return e.setTextRange(i,t),n&&e.startOnNewLine(i),i}function ke(t,r,n,i){var a=l.createAssignment(e.createMemberAccessForPropertyName(l,r,e.visitNode(t.name,C,e.isPropertyName)),G(t,t,void 0,n));return e.setTextRange(a,t),i&&e.startOnNewLine(a),a}function Ae(r,n){if(16384&r.transformFlags||106===r.expression.kind||e.isSuperProperty(e.skipOuterExpressions(r.expression))){var i=l.createCallBinding(r.expression,m),a=i.target,o=i.thisArg;106===r.expression.kind&&e.setEmitFlags(o,4);var s=void 0;if(s=16384&r.transformFlags?l.createFunctionApplyCall(e.visitNode(a,A,e.isExpression),106===r.expression.kind?o:e.visitNode(o,C,e.isExpression),Ne(r.arguments,!0,!1,!1)):e.setTextRange(l.createFunctionCallCall(e.visitNode(a,A,e.isExpression),106===r.expression.kind?o:e.visitNode(o,C,e.isExpression),e.visitNodes(r.arguments,C,e.isExpression)),r),106===r.expression.kind){var c=l.createLogicalOr(s,O());s=n?l.createAssignment(l.createUniqueName("_this",48),c):c}return e.setOriginalNode(s,r)}return e.visitEachChild(r,C,t)}function Ne(t,r,n,i){var a=t.length,o=e.flatten(e.spanMap(t,Pe,(function(e,t,r,o){return t(e,n,i&&o===a)})));if(1===o.length){var s=o[0];if(r&&!g.downlevelIteration||e.isPackedArrayLiteral(s.expression)||e.isCallToHelper(s.expression,"___spreadArray"))return s.expression}for(var c=p(),u=0!==o[0].kind,d=u?l.createArrayLiteralExpression():o[0].expression,f=u?0:1;f<o.length;f++){var _=o[f];d=c.createSpreadArrayHelper(d,_.expression,1===_.kind&&!r)}return d}function Pe(t){return e.isSpreadElement(t)?Fe:Ie}function Fe(t){return e.map(t,we)}function we(t){var r=e.visitNode(t.expression,C,e.isExpression),n=e.isCallToHelper(r,"___read"),i=n||e.isPackedArrayLiteral(r)?2:1;return g.downlevelIteration&&1===i&&!e.isArrayLiteralExpression(r)&&!n&&(r=p().createReadHelper(r,void 0),i=2),u(i,r)}function Ie(t,r,n){return u(0,l.createArrayLiteralExpression(e.visitNodes(l.createNodeArray(t,n),C,e.isExpression),r))}function Oe(e){return 8&i&&!e?l.createPropertyAccessExpression(l.createUniqueName("_super",48),"prototype"):l.createUniqueName("_super",48)}function Le(){0==(2&c)&&(c|=2,t.enableSubstitution(79))}function Me(){0==(1&c)&&(c|=1,t.enableSubstitution(108),t.enableEmitNotification(170),t.enableEmitNotification(168),t.enableEmitNotification(171),t.enableEmitNotification(172),t.enableEmitNotification(213),t.enableEmitNotification(212),t.enableEmitNotification(255))}function Re(t,r){return e.isStatic(r)?l.getInternalName(t):l.createPropertyAccessExpression(l.getInternalName(t),"prototype")}}}(n||(n={})),function(e){e.transformES5=function(t){var r,n,i=t.factory,a=t.getCompilerOptions();(1===a.jsx||3===a.jsx)&&(r=t.onEmitNode,t.onEmitNode=function(t,i,a){switch(i.kind){case 279:case 280:case 278:var o=i.tagName;n[e.getOriginalNodeId(o)]=!0}r(t,i,a)},t.enableEmitNotification(279),t.enableEmitNotification(280),t.enableEmitNotification(278),n=[]);var o=t.onSubstituteNode;return t.onSubstituteNode=function(t,r){return r.id&&n&&n[r.id]?o(t,r):(r=o(t,r),e.isPropertyAccessExpression(r)?function(t){if(e.isPrivateIdentifier(t.name))return t;var r=s(t.name);return r?e.setTextRange(i.createElementAccessExpression(t.expression,r),t):t}(r):e.isPropertyAssignment(r)?function(t){var r=e.isIdentifier(t.name)&&s(t.name);return r?i.updatePropertyAssignment(t,r,t.initializer):t}(r):r)},t.enableSubstitution(205),t.enableSubstitution(294),e.chainBundle(t,(function(e){return e}));function s(t){var r=t.originalKeywordKind||(e.nodeIsSynthesized(t)?e.stringToToken(e.idText(t)):void 0);if(void 0!==r&&r>=81&&r<=116)return e.setTextRange(i.createStringLiteralFromNode(t),t)}}}(n||(n={})),function(e){var t,r,n,i,o,s;(r=t||(t={}))[r.Nop=0]="Nop",r[r.Statement=1]="Statement",r[r.Assign=2]="Assign",r[r.Break=3]="Break",r[r.BreakWhenTrue=4]="BreakWhenTrue",r[r.BreakWhenFalse=5]="BreakWhenFalse",r[r.Yield=6]="Yield",r[r.YieldStar=7]="YieldStar",r[r.Return=8]="Return",r[r.Throw=9]="Throw",r[r.Endfinally=10]="Endfinally",function(e){e[e.Open=0]="Open",e[e.Close=1]="Close"}(n||(n={})),function(e){e[e.Exception=0]="Exception",e[e.With=1]="With",e[e.Switch=2]="Switch",e[e.Loop=3]="Loop",e[e.Labeled=4]="Labeled"}(i||(i={})),function(e){e[e.Try=0]="Try",e[e.Catch=1]="Catch",e[e.Finally=2]="Finally",e[e.Done=3]="Done"}(o||(o={})),function(e){e[e.Next=0]="Next",e[e.Throw=1]="Throw",e[e.Return=2]="Return",e[e.Break=3]="Break",e[e.Yield=4]="Yield",e[e.YieldStar=5]="YieldStar",e[e.Catch=6]="Catch",e[e.Endfinally=7]="Endfinally"}(s||(s={})),e.transformGenerators=function(t){var r=t.factory,n=t.getEmitHelperFactory,i=t.resumeLexicalEnvironment,o=t.endLexicalEnvironment,s=t.hoistFunctionDeclaration,c=t.hoistVariableDeclaration,u=t.getCompilerOptions(),l=e.getEmitScriptTarget(u),p=t.getEmitResolver(),d=t.onSubstituteNode;t.onSubstituteNode=function(t,n){return n=d(t,n),1===t?function(t){return e.isIdentifier(t)?function(t){if(!e.isGeneratedIdentifier(t)&&f&&f.has(e.idText(t))){var n=e.getOriginalNode(t);if(e.isIdentifier(n)&&n.parent){var i=p.getReferencedValueDeclaration(n);if(i){var a=_[e.getOriginalNodeId(i)];if(a){var o=e.setParent(e.setTextRange(r.cloneNode(a),a),a.parent);return e.setSourceMapRange(o,t),e.setCommentRange(o,t),o}}}}return t}(t):t}(n):n};var f,_,m,g,h,y,v,D,b,x,E,S,C,T,k,A,N,P,F,w,I,O,L=1,M=0,R=0;return e.chainBundle(t,(function(r){if(r.isDeclarationFile||0==(2048&r.transformFlags))return r;var n=e.visitEachChild(r,B,t);return e.addEmitHelpers(n,t.readEmitHelpers()),n}));function B(r){var n=r.transformFlags;return g?function(r){switch(r.kind){case 239:case 240:return function(r){return g?(oe(),r=e.visitEachChild(r,B,t),ce(),r):e.visitEachChild(r,B,t)}(r);case 248:return function(r){return g&&re({kind:2,isScript:!0,breakLabel:-1}),r=e.visitEachChild(r,B,t),g&&ue(),r}(r);case 249:return function(r){return g&&function(e){re({kind:4,isScript:!0,labelText:e,breakLabel:-1})}(e.idText(r.label)),r=e.visitEachChild(r,B,t),g&&le(),r}(r);default:return j(r)}}(r):m?j(r):e.isFunctionLikeDeclaration(r)&&r.asteriskToken?function(t){switch(t.kind){case 255:return K(t);case 212:return J(t);default:return e.Debug.failBadSyntaxKind(t)}}(r):2048&n?e.visitEachChild(r,B,t):r}function j(i){switch(i.kind){case 255:return K(i);case 212:return J(i);case 171:case 172:return function(r){var n=m,i=g;return m=!1,g=!1,r=e.visitEachChild(r,B,t),m=n,g=i,r}(i);case 236:return function(t){if(!(524288&t.transformFlags)){if(1048576&e.getEmitFlags(t))return t;for(var n=0,i=t.declarationList.declarations;n<i.length;n++){var a=i[n];c(a.name)}var o=e.getInitializedVariables(t.declarationList);return 0===o.length?void 0:e.setSourceMapRange(r.createExpressionStatement(r.inlineExpressions(e.map(o,$))),t)}G(t.declarationList)}(i);case 241:return function(n){g&&oe();var i=n.initializer;if(i&&e.isVariableDeclarationList(i)){for(var a=0,o=i.declarations;a<o.length;a++){var s=o[a];c(s.name)}var u=e.getInitializedVariables(i);n=r.updateForStatement(n,u.length>0?r.inlineExpressions(e.map(u,$)):void 0,e.visitNode(n.condition,B,e.isExpression),e.visitNode(n.incrementor,B,e.isExpression),e.visitIterationBody(n.statement,B,t))}else n=e.visitEachChild(n,B,t);return g&&ce(),n}(i);case 242:return function(n){g&&oe();var i=n.initializer;if(e.isVariableDeclarationList(i)){for(var a=0,o=i.declarations;a<o.length;a++){var s=o[a];c(s.name)}n=r.updateForInStatement(n,i.declarations[0].name,e.visitNode(n.expression,B,e.isExpression),e.visitNode(n.statement,B,e.isStatement,r.liftToBlock))}else n=e.visitEachChild(n,B,t);return g&&ce(),n}(i);case 245:return function(r){if(g){var n=me(r.label&&e.idText(r.label));if(n>0)return ve(n,r)}return e.visitEachChild(r,B,t)}(i);case 244:return function(r){if(g){var n=ge(r.label&&e.idText(r.label));if(n>0)return ve(n,r)}return e.visitEachChild(r,B,t)}(i);case 246:return function(t){return function(t,n){return e.setTextRange(r.createReturnStatement(r.createArrayLiteralExpression(t?[ye(2),t]:[ye(2)])),n)}(e.visitNode(t.expression,B,e.isExpression),t)}(i);default:return 524288&i.transformFlags?function(i){switch(i.kind){case 220:return function(n){var i=e.getExpressionAssociativity(n);switch(i){case 0:return function(n){return Y(n.right)?e.isLogicalOperator(n.operatorToken.kind)?function(t){var r=ee(),n=Z();return xe(n,e.visitNode(t.left,B,e.isExpression),t.left),55===t.operatorToken.kind?Ce(r,n,t.left):Se(r,n,t.left),xe(n,e.visitNode(t.right,B,e.isExpression),t.right),te(r),n}(n):27===n.operatorToken.kind?q(n):r.updateBinaryExpression(n,Q(e.visitNode(n.left,B,e.isExpression)),n.operatorToken,e.visitNode(n.right,B,e.isExpression)):e.visitEachChild(n,B,t)}(n);case 1:return function(n){var i=n.left,a=n.right;if(Y(a)){var o=void 0;switch(i.kind){case 205:o=r.updatePropertyAccessExpression(i,Q(e.visitNode(i.expression,B,e.isLeftHandSideExpression)),i.name);break;case 206:o=r.updateElementAccessExpression(i,Q(e.visitNode(i.expression,B,e.isLeftHandSideExpression)),Q(e.visitNode(i.argumentExpression,B,e.isExpression)));break;default:o=e.visitNode(i,B,e.isExpression)}var s=n.operatorToken.kind;return e.isCompoundAssignment(s)?e.setTextRange(r.createAssignment(o,e.setTextRange(r.createBinaryExpression(Q(o),e.getNonAssignmentOperatorForCompoundAssignment(s),e.visitNode(a,B,e.isExpression)),n)),n):r.updateBinaryExpression(n,o,n.operatorToken,e.visitNode(a,B,e.isExpression))}return e.visitEachChild(n,B,t)}(n);default:return e.Debug.assertNever(i)}}(i);case 349:return function(t){for(var n=[],i=0,a=t.elements;i<a.length;i++){var o=a[i];e.isBinaryExpression(o)&&27===o.operatorToken.kind?n.push(q(o)):(Y(o)&&n.length>0&&(Te(1,[r.createExpressionStatement(r.inlineExpressions(n))]),n=[]),n.push(e.visitNode(o,B,e.isExpression)))}return r.inlineExpressions(n)}(i);case 221:return function(r){if(Y(r.whenTrue)||Y(r.whenFalse)){var n=ee(),i=ee(),a=Z();return Ce(n,e.visitNode(r.condition,B,e.isExpression),r.condition),xe(a,e.visitNode(r.whenTrue,B,e.isExpression),r.whenTrue),Ee(i),te(n),xe(a,e.visitNode(r.whenFalse,B,e.isExpression),r.whenFalse),te(i),a}return e.visitEachChild(r,B,t)}(i);case 223:return function(t){var i=ee(),a=e.visitNode(t.expression,B,e.isExpression);return t.asteriskToken?function(e,t){Te(7,[e],t)}(0==(8388608&e.getEmitFlags(t.expression))?e.setTextRange(n().createValuesHelper(a),t):a,t):function(e,t){Te(6,[e],t)}(a,t),te(i),function(t){return e.setTextRange(r.createCallExpression(r.createPropertyAccessExpression(T,"sent"),void 0,[]),t)}(t)}(i);case 203:return function(e){return V(e.elements,void 0,void 0,e.multiLine)}(i);case 204:return function(t){var n=t.properties,i=t.multiLine,a=X(n),o=Z();xe(o,r.createObjectLiteralExpression(e.visitNodes(n,B,e.isObjectLiteralElementLike,0,a),i));var s=e.reduceLeft(n,c,[],a);return s.push(i?e.startOnNewLine(e.setParent(e.setTextRange(r.cloneNode(o),o),o.parent)):o),r.inlineExpressions(s);function c(n,a){Y(a)&&n.length>0&&(be(r.createExpressionStatement(r.inlineExpressions(n))),n=[]);var s=e.createExpressionForObjectLiteralElementLike(r,t,a,o),c=e.visitNode(s,B,e.isExpression);return c&&(i&&e.startOnNewLine(c),n.push(c)),n}}(i);case 206:return function(n){return Y(n.argumentExpression)?r.updateElementAccessExpression(n,Q(e.visitNode(n.expression,B,e.isLeftHandSideExpression)),e.visitNode(n.argumentExpression,B,e.isExpression)):e.visitEachChild(n,B,t)}(i);case 207:return function(n){if(!e.isImportCall(n)&&e.forEach(n.arguments,Y)){var i=r.createCallBinding(n.expression,c,l,!0),a=i.target,o=i.thisArg;return e.setOriginalNode(e.setTextRange(r.createFunctionApplyCall(Q(e.visitNode(a,B,e.isLeftHandSideExpression)),o,V(n.arguments)),n),n)}return e.visitEachChild(n,B,t)}(i);case 208:return function(n){if(e.forEach(n.arguments,Y)){var i=r.createCallBinding(r.createPropertyAccessExpression(n.expression,"bind"),c),a=i.target,o=i.thisArg;return e.setOriginalNode(e.setTextRange(r.createNewExpression(r.createFunctionApplyCall(Q(e.visitNode(a,B,e.isExpression)),o,V(n.arguments,r.createVoidZero())),void 0,[]),n),n)}return e.visitEachChild(n,B,t)}(i);default:return e.visitEachChild(i,B,t)}}(i):2099200&i.transformFlags?e.visitEachChild(i,B,t):i}}function K(n){if(n.asteriskToken)n=e.setOriginalNode(e.setTextRange(r.createFunctionDeclaration(void 0,n.modifiers,void 0,n.name,void 0,e.visitParameterList(n.parameters,B,t),void 0,U(n.body)),n),n);else{var i=m,a=g;m=!1,g=!1,n=e.visitEachChild(n,B,t),m=i,g=a}return m?void s(n):n}function J(n){if(n.asteriskToken)n=e.setOriginalNode(e.setTextRange(r.createFunctionExpression(void 0,void 0,n.name,void 0,e.visitParameterList(n.parameters,B,t),void 0,U(n.body)),n),n);else{var i=m,a=g;m=!1,g=!1,n=e.visitEachChild(n,B,t),m=i,g=a}return n}function U(t){var a=[],s=m,c=g,u=h,l=y,p=v,d=D,f=b,_=x,j=L,K=E,J=S,U=C,q=T;m=!0,g=!1,h=void 0,y=void 0,v=void 0,D=void 0,b=void 0,x=void 0,L=1,E=void 0,S=void 0,C=void 0,T=r.createTempVariable(void 0),i();var V=r.copyPrologue(t.statements,a,!1,B);z(t.statements,V);var W=function(){M=0,R=0,k=void 0,A=!1,N=!1,P=void 0,F=void 0,w=void 0,I=void 0,O=void 0;var t=function(){if(E){for(var t=0;t<E.length;t++)Pe(t);ke(E.length)}else ke(0);if(P){var n=r.createPropertyAccessExpression(T,"label"),i=r.createSwitchStatement(n,r.createCaseBlock(P));return[e.startOnNewLine(i)]}return F||[]}();return n().createGeneratorHelper(e.setEmitFlags(r.createFunctionExpression(void 0,void 0,void 0,void 0,[r.createParameterDeclaration(void 0,void 0,void 0,T)],void 0,r.createBlock(t,t.length>0)),524288))}();return e.insertStatementsAfterStandardPrologue(a,o()),a.push(r.createReturnStatement(W)),m=s,g=c,h=u,y=l,v=p,D=d,b=f,x=_,L=j,E=K,S=J,C=U,T=q,e.setTextRange(r.createBlock(a,t.multiLine),t)}function q(t){var n=[];return i(t.left),i(t.right),r.inlineExpressions(n);function i(t){e.isBinaryExpression(t)&&27===t.operatorToken.kind?(i(t.left),i(t.right)):(Y(t)&&n.length>0&&(Te(1,[r.createExpressionStatement(r.inlineExpressions(n))]),n=[]),n.push(e.visitNode(t,B,e.isExpression)))}}function V(t,n,i,o){var s,c=X(t);if(c>0){s=Z();var u=e.visitNodes(t,B,e.isExpression,0,c);xe(s,r.createArrayLiteralExpression(n?a([n],u,!0):u)),n=void 0}var l=e.reduceLeft(t,(function(t,i){if(Y(i)&&t.length>0){var c=void 0!==s;s||(s=Z()),xe(s,c?r.createArrayConcatCall(s,[r.createArrayLiteralExpression(t,o)]):r.createArrayLiteralExpression(n?a([n],t,!0):t,o)),n=void 0,t=[]}return t.push(e.visitNode(i,B,e.isExpression)),t}),[],c);return s?r.createArrayConcatCall(s,[r.createArrayLiteralExpression(l,o)]):e.setTextRange(r.createArrayLiteralExpression(n?a([n],l,!0):l,o),i)}function z(e,t){void 0===t&&(t=0);for(var r=e.length,n=t;n<r;n++)H(e[n])}function W(t){e.isBlock(t)?z(t.statements):H(t)}function H(n){var i=g;g||(g=Y(n)),function(n){switch(n.kind){case 234:return function(t){Y(t)?z(t.statements):be(e.visitNode(t,B,e.isStatement))}(n);case 237:return function(t){be(e.visitNode(t,B,e.isStatement))}(n);case 238:return function(t){if(Y(t))if(Y(t.thenStatement)||Y(t.elseStatement)){var r=ee(),n=t.elseStatement?ee():void 0;Ce(t.elseStatement?n:r,e.visitNode(t.expression,B,e.isExpression),t.expression),W(t.thenStatement),t.elseStatement&&(Ee(r),te(n),W(t.elseStatement)),te(r)}else be(e.visitNode(t,B,e.isStatement));else be(e.visitNode(t,B,e.isStatement))}(n);case 239:return function(t){if(Y(t)){var r=ee(),n=ee();se(r),te(n),W(t.statement),te(r),Se(n,e.visitNode(t.expression,B,e.isExpression)),ce()}else be(e.visitNode(t,B,e.isStatement))}(n);case 240:return function(t){if(Y(t)){var r=ee(),n=se(r);te(r),Ce(n,e.visitNode(t.expression,B,e.isExpression)),W(t.statement),Ee(r),ce()}else be(e.visitNode(t,B,e.isStatement))}(n);case 241:return function(t){if(Y(t)){var n=ee(),i=ee(),a=se(i);if(t.initializer){var o=t.initializer;e.isVariableDeclarationList(o)?G(o):be(e.setTextRange(r.createExpressionStatement(e.visitNode(o,B,e.isExpression)),o))}te(n),t.condition&&Ce(a,e.visitNode(t.condition,B,e.isExpression)),W(t.statement),te(i),t.incrementor&&be(e.setTextRange(r.createExpressionStatement(e.visitNode(t.incrementor,B,e.isExpression)),t.incrementor)),Ee(n),ce()}else be(e.visitNode(t,B,e.isStatement))}(n);case 242:return function(t){if(Y(t)){var n=Z(),i=Z(),a=r.createLoopVariable(),o=t.initializer;c(a),xe(n,r.createArrayLiteralExpression()),be(r.createForInStatement(i,e.visitNode(t.expression,B,e.isExpression),r.createExpressionStatement(r.createCallExpression(r.createPropertyAccessExpression(n,"push"),void 0,[i])))),xe(a,r.createNumericLiteral(0));var s=ee(),u=ee(),l=se(u);te(s),Ce(l,r.createLessThan(a,r.createPropertyAccessExpression(n,"length")));var p=void 0;if(e.isVariableDeclarationList(o)){for(var d=0,f=o.declarations;d<f.length;d++){var _=f[d];c(_.name)}p=r.cloneNode(o.declarations[0].name)}else p=e.visitNode(o,B,e.isExpression),e.Debug.assert(e.isLeftHandSideExpression(p));xe(p,r.createElementAccessExpression(n,a)),W(t.statement),te(u),be(r.createExpressionStatement(r.createPostfixIncrement(a))),Ee(s),ce()}else be(e.visitNode(t,B,e.isStatement))}(n);case 244:return function(t){var r=ge(t.label?e.idText(t.label):void 0);r>0?Ee(r,t):be(t)}(n);case 245:return function(t){var r=me(t.label?e.idText(t.label):void 0);r>0?Ee(r,t):be(t)}(n);case 246:return function(t){!function(e,t){Te(8,[e],t)}(e.visitNode(t.expression,B,e.isExpression),t)}(n);case 247:return function(t){Y(t)?(function(e){var t=ee(),r=ee();te(t),re({kind:1,expression:e,startLabel:t,endLabel:r})}(Q(e.visitNode(t.expression,B,e.isExpression))),W(t.statement),e.Debug.assert(1===ae()),te(ne().endLabel)):be(e.visitNode(t,B,e.isStatement))}(n);case 248:return function(t){if(Y(t.caseBlock)){for(var n=t.caseBlock,i=n.clauses.length,a=function(){var e=ee();return re({kind:2,isScript:!1,breakLabel:e}),e}(),o=Q(e.visitNode(t.expression,B,e.isExpression)),s=[],c=-1,u=0;u<i;u++){var l=n.clauses[u];s.push(ee()),289===l.kind&&-1===c&&(c=u)}for(var p=0,d=[];p<i;){var f=0;for(u=p;u<i;u++)if(288===(l=n.clauses[u]).kind){if(Y(l.expression)&&d.length>0)break;d.push(r.createCaseClause(e.visitNode(l.expression,B,e.isExpression),[ve(s[u],l.expression)]))}else f++;d.length&&(be(r.createSwitchStatement(o,r.createCaseBlock(d))),p+=d.length,d=[]),f>0&&(p+=f,f=0)}for(Ee(c>=0?s[c]:a),u=0;u<i;u++)te(s[u]),z(n.clauses[u].statements);ue()}else be(e.visitNode(t,B,e.isStatement))}(n);case 249:return function(t){Y(t)?(function(e){re({kind:4,isScript:!1,labelText:e,breakLabel:ee()})}(e.idText(t.label)),W(t.statement),le()):be(e.visitNode(t,B,e.isStatement))}(n);case 250:return function(t){var n;!function(e,t){Te(9,[e],t)}(e.visitNode(null!==(n=t.expression)&&void 0!==n?n:r.createVoidZero(),B,e.isExpression),t)}(n);case 251:return function(n){Y(n)?(function(){var e=ee(),t=ee();te(e),re({kind:0,state:0,startLabel:e,endLabel:t}),De()}(),W(n.tryBlock),n.catchClause&&(function(n){var i;if(e.Debug.assert(0===ae()),e.isGeneratedIdentifier(n.name))i=n.name,c(n.name);else{var a=e.idText(n.name);i=Z(a),f||(f=new e.Map,_=[],t.enableSubstitution(79)),f.set(a,!0),_[e.getOriginalNodeId(n)]=i}var o=ie();e.Debug.assert(o.state<1),Ee(o.endLabel);var s=ee();te(s),o.state=1,o.catchVariable=i,o.catchLabel=s,xe(i,r.createCallExpression(r.createPropertyAccessExpression(T,"sent"),void 0,[])),De()}(n.catchClause.variableDeclaration),W(n.catchClause.block)),n.finallyBlock&&(function(){e.Debug.assert(0===ae());var t=ie();e.Debug.assert(t.state<2),Ee(t.endLabel);var r=ee();te(r),t.state=2,t.finallyLabel=r}(),W(n.finallyBlock)),function(){e.Debug.assert(0===ae());var t=ne();t.state<2?Ee(t.endLabel):Te(10),te(t.endLabel),De(),t.state=3}()):be(e.visitEachChild(n,B,t))}(n);default:be(e.visitNode(n,B,e.isStatement))}}(n),g=i}function G(t){for(var n=0,i=t.declarations;n<i.length;n++){var a=i[n],o=r.cloneNode(a.name);e.setCommentRange(o,a.name),c(o)}for(var s=e.getInitializedVariables(t),u=s.length,l=0,p=[];l<u;){for(var d=l;d<u&&!(Y((a=s[d]).initializer)&&p.length>0);d++)p.push($(a));p.length&&(be(r.createExpressionStatement(r.inlineExpressions(p))),l+=p.length,p=[])}}function $(t){return e.setSourceMapRange(r.createAssignment(e.setSourceMapRange(r.cloneNode(t.name),t.name),e.visitNode(t.initializer,B,e.isExpression)),t)}function Y(e){return!!e&&0!=(524288&e.transformFlags)}function X(e){for(var t=e.length,r=0;r<t;r++)if(Y(e[r]))return r;return-1}function Q(t){if(e.isGeneratedIdentifier(t)||4096&e.getEmitFlags(t))return t;var n=r.createTempVariable(c);return xe(n,t,t),n}function Z(e){var t=e?r.createUniqueName(e):r.createTempVariable(void 0);return c(t),t}function ee(){b||(b=[]);var e=L;return L++,b[e]=-1,e}function te(t){e.Debug.assert(void 0!==b,"No labels were defined."),b[t]=E?E.length:0}function re(e){h||(h=[],v=[],y=[],D=[]);var t=v.length;return v[t]=0,y[t]=E?E.length:0,h[t]=e,D.push(e),t}function ne(){var t=ie();if(void 0===t)return e.Debug.fail("beginBlock was never called.");var r=v.length;return v[r]=1,y[r]=E?E.length:0,h[r]=t,D.pop(),t}function ie(){return e.lastOrUndefined(D)}function ae(){var e=ie();return e&&e.kind}function oe(){re({kind:3,isScript:!0,breakLabel:-1,continueLabel:-1})}function se(e){var t=ee();return re({kind:3,isScript:!1,breakLabel:t,continueLabel:e}),t}function ce(){e.Debug.assert(3===ae());var t=ne(),r=t.breakLabel;t.isScript||te(r)}function ue(){e.Debug.assert(2===ae());var t=ne(),r=t.breakLabel;t.isScript||te(r)}function le(){e.Debug.assert(4===ae());var t=ne();t.isScript||te(t.breakLabel)}function pe(e){return 2===e.kind||3===e.kind}function de(e){return 4===e.kind}function fe(e){return 3===e.kind}function _e(e,t){for(var r=t;r>=0;r--){var n=D[r];if(!de(n))break;if(n.labelText===e)return!0}return!1}function me(e){if(D)if(e)for(var t=D.length-1;t>=0;t--){if(de(r=D[t])&&r.labelText===e)return r.breakLabel;if(pe(r)&&_e(e,t-1))return r.breakLabel}else for(t=D.length-1;t>=0;t--){var r;if(pe(r=D[t]))return r.breakLabel}return 0}function ge(e){if(D)if(e){for(var t=D.length-1;t>=0;t--)if(fe(r=D[t])&&_e(e,t-1))return r.continueLabel}else for(t=D.length-1;t>=0;t--){var r;if(fe(r=D[t]))return r.continueLabel}return 0}function he(e){if(void 0!==e&&e>0){void 0===x&&(x=[]);var t=r.createNumericLiteral(-1);return void 0===x[e]?x[e]=[t]:x[e].push(t),t}return r.createOmittedExpression()}function ye(t){var n=r.createNumericLiteral(t);return e.addSyntheticTrailingComment(n,3,function(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}}(t)),n}function ve(t,n){return e.Debug.assertLessThan(0,t,"Invalid label"),e.setTextRange(r.createReturnStatement(r.createArrayLiteralExpression([ye(3),he(t)])),n)}function De(){Te(0)}function be(e){e?Te(1,[e]):De()}function xe(e,t,r){Te(2,[e,t],r)}function Ee(e,t){Te(3,[e],t)}function Se(e,t,r){Te(4,[e,t],r)}function Ce(e,t,r){Te(5,[e,t],r)}function Te(e,t,r){void 0===E&&(E=[],S=[],C=[]),void 0===b&&te(ee());var n=E.length;E[n]=e,S[n]=t,C[n]=r}function ke(e){(function(e){if(!N)return!0;if(!b||!x)return!1;for(var t=0;t<b.length;t++)if(b[t]===e&&x[t])return!0;return!1})(e)&&(Ne(e),O=void 0,we(void 0,void 0)),F&&P&&Ae(!1),function(){if(void 0!==x&&void 0!==k)for(var e=0;e<k.length;e++){var t=k[e];if(void 0!==t)for(var r=0,n=t;r<n.length;r++){var i=n[r],a=x[i];if(void 0!==a)for(var o=0,s=a;o<s.length;o++)s[o].text=String(e)}}}()}function Ae(e){if(P||(P=[]),F){if(O)for(var t=O.length-1;t>=0;t--){var n=O[t];F=[r.createWithStatement(n.expression,r.createBlock(F))]}if(I){var i=I.startLabel,a=I.catchLabel,o=I.finallyLabel,s=I.endLabel;F.unshift(r.createExpressionStatement(r.createCallExpression(r.createPropertyAccessExpression(r.createPropertyAccessExpression(T,"trys"),"push"),void 0,[r.createArrayLiteralExpression([he(i),he(a),he(o),he(s)])]))),I=void 0}e&&F.push(r.createExpressionStatement(r.createAssignment(r.createPropertyAccessExpression(T,"label"),r.createNumericLiteral(R+1))))}P.push(r.createCaseClause(r.createNumericLiteral(R),F||[])),F=void 0}function Ne(e){if(b)for(var t=0;t<b.length;t++)b[t]===e&&(!F||(Ae(!A),A=!1,N=!1,R++),void 0===k&&(k=[]),void 0===k[R]?k[R]=[t]:k[R].push(t))}function Pe(t){if(Ne(t),function(e){if(h)for(;M<v.length&&y[M]<=e;M++){var t=h[M],r=v[M];switch(t.kind){case 0:0===r?(w||(w=[]),F||(F=[]),w.push(I),I=t):1===r&&(I=w.pop());break;case 1:0===r?(O||(O=[]),O.push(t)):1===r&&O.pop()}}}(t),!A){A=!1,N=!1;var n=E[t];if(0!==n){if(10===n)return A=!0,void Fe(r.createReturnStatement(r.createArrayLiteralExpression([ye(7)])));var i=S[t];if(1===n)return Fe(i[0]);var a=C[t];switch(n){case 2:return function(t,n,i){Fe(e.setTextRange(r.createExpressionStatement(r.createAssignment(t,n)),i))}(i[0],i[1],a);case 3:return function(t,n){A=!0,Fe(e.setEmitFlags(e.setTextRange(r.createReturnStatement(r.createArrayLiteralExpression([ye(3),he(t)])),n),384))}(i[0],a);case 4:return function(t,n,i){Fe(e.setEmitFlags(r.createIfStatement(n,e.setEmitFlags(e.setTextRange(r.createReturnStatement(r.createArrayLiteralExpression([ye(3),he(t)])),i),384)),1))}(i[0],i[1],a);case 5:return function(t,n,i){Fe(e.setEmitFlags(r.createIfStatement(r.createLogicalNot(n),e.setEmitFlags(e.setTextRange(r.createReturnStatement(r.createArrayLiteralExpression([ye(3),he(t)])),i),384)),1))}(i[0],i[1],a);case 6:return function(t,n){A=!0,Fe(e.setEmitFlags(e.setTextRange(r.createReturnStatement(r.createArrayLiteralExpression(t?[ye(4),t]:[ye(4)])),n),384))}(i[0],a);case 7:return function(t,n){A=!0,Fe(e.setEmitFlags(e.setTextRange(r.createReturnStatement(r.createArrayLiteralExpression([ye(5),t])),n),384))}(i[0],a);case 8:return we(i[0],a);case 9:return function(t,n){A=!0,N=!0,Fe(e.setTextRange(r.createThrowStatement(t),n))}(i[0],a)}}}}function Fe(e){e&&(F?F.push(e):F=[e])}function we(t,n){A=!0,N=!0,Fe(e.setEmitFlags(e.setTextRange(r.createReturnStatement(r.createArrayLiteralExpression(t?[ye(2),t]:[ye(2)])),n),384))}}}(n||(n={})),function(e){e.transformModule=function(r){var n=r.factory,i=r.getEmitHelperFactory,o=r.startLexicalEnvironment,s=r.endLexicalEnvironment,c=r.hoistVariableDeclaration,u=r.getCompilerOptions(),l=r.getEmitResolver(),p=r.getEmitHost(),d=e.getEmitScriptTarget(u),f=e.getEmitModuleKind(u),_=r.onSubstituteNode,m=r.onEmitNode;r.onSubstituteNode=function(t,r){return(r=_(t,r)).id&&b[r.id]?r:1===t?function(t){switch(t.kind){case 79:return Q(t);case 207:return function(t){if(e.isIdentifier(t.expression)){var r=Q(t.expression);if(b[e.getNodeId(r)]=!0,!(e.isIdentifier(r)||4096&e.getEmitFlags(t.expression)))return e.addEmitFlags(n.updateCallExpression(t,r,void 0,t.arguments),536870912)}return t}(t);case 209:return function(t){if(e.isIdentifier(t.tag)){var r=Q(t.tag);if(b[e.getNodeId(r)]=!0,!(e.isIdentifier(r)||4096&e.getEmitFlags(t.tag)))return e.addEmitFlags(n.updateTaggedTemplateExpression(t,r,void 0,t.template),536870912)}return t}(t);case 220:return function(t){if(e.isAssignmentOperator(t.operatorToken.kind)&&e.isIdentifier(t.left)&&!e.isGeneratedIdentifier(t.left)&&!e.isLocalName(t.left)&&!e.isDeclarationNameOfEnumOrNamespace(t.left)){var r=Z(t.left);if(r){for(var n=t,i=0,a=r;i<a.length;i++){var o=a[i];b[e.getNodeId(n)]=!0,n=Y(o,n,t)}return n}}return t}(t)}return t}(r):e.isShorthandPropertyAssignment(r)?function(t){var r=t.name,i=Q(r);if(i!==r){if(t.objectAssignmentInitializer){var a=n.createAssignment(i,t.objectAssignmentInitializer);return e.setTextRange(n.createPropertyAssignment(r,a),t)}return e.setTextRange(n.createPropertyAssignment(r,i),t)}return t}(r):r},r.onEmitNode=function(t,r,n){303===r.kind?(g=r,h=v[e.getOriginalNodeId(g)],m(t,r,n),g=void 0,h=void 0):m(t,r,n)},r.enableSubstitution(207),r.enableSubstitution(209),r.enableSubstitution(79),r.enableSubstitution(220),r.enableSubstitution(295),r.enableEmitNotification(303);var g,h,y,v=[],D=[],b=[];return e.chainBundle(r,(function(t){if(t.isDeclarationFile||!(e.isEffectiveExternalModule(t,u)||4194304&t.transformFlags||e.isJsonSourceFile(t)&&e.hasJsonModuleEmitEnabled(u)&&e.outFile(u)))return t;g=t,h=e.collectExternalModuleInfo(r,t,l,u),v[e.getOriginalNodeId(t)]=h;var n=function(t){switch(t){case e.ModuleKind.AMD:return S;case e.ModuleKind.UMD:return C;default:return E}}(f)(t);return g=void 0,h=void 0,y=!1,n}));function x(){return!(h.exportEquals||!e.isExternalModule(g))}function E(t){o();var i=[],a=e.getStrictOptionValue(u,"alwaysStrict")||!u.noImplicitUseStrict&&e.isExternalModule(g),c=n.copyPrologue(t.statements,i,a&&!e.isJsonSourceFile(t),P);if(x()&&e.append(i,$()),e.length(h.exportedNames))for(var l=0;l<h.exportedNames.length;l+=50)e.append(i,n.createExpressionStatement(e.reduceLeft(h.exportedNames.slice(l,l+50),(function(t,r){return n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.createIdentifier(e.idText(r))),t)}),n.createVoidZero())));e.append(i,e.visitNode(h.externalHelpersImportDeclaration,P,e.isStatement)),e.addRange(i,e.visitNodes(t.statements,P,e.isStatement,c)),N(i,!1),e.insertStatementsAfterStandardPrologue(i,s());var p=n.updateSourceFile(t,e.setTextRange(n.createNodeArray(i),t.statements));return e.addEmitHelpers(p,r.readEmitHelpers()),p}function S(t){var i=n.createIdentifier("define"),o=e.tryGetModuleNameFromFile(n,t,p,u),s=e.isJsonSourceFile(t)&&t,c=T(t,!0),l=c.aliasedModuleNames,d=c.unaliasedModuleNames,f=c.importAliasNames,_=n.updateSourceFile(t,e.setTextRange(n.createNodeArray([n.createExpressionStatement(n.createCallExpression(i,void 0,a(a([],o?[o]:[],!0),[n.createArrayLiteralExpression(s?e.emptyArray:a(a([n.createStringLiteral("require"),n.createStringLiteral("exports")],l,!0),d,!0)),s?s.statements.length?s.statements[0].expression:n.createObjectLiteralExpression():n.createFunctionExpression(void 0,void 0,void 0,void 0,a([n.createParameterDeclaration(void 0,void 0,void 0,"require"),n.createParameterDeclaration(void 0,void 0,void 0,"exports")],f,!0),void 0,A(t))],!1)))]),t.statements));return e.addEmitHelpers(_,r.readEmitHelpers()),_}function C(t){var i=T(t,!1),o=i.aliasedModuleNames,s=i.unaliasedModuleNames,c=i.importAliasNames,l=e.tryGetModuleNameFromFile(n,t,p,u),d=n.createFunctionExpression(void 0,void 0,void 0,void 0,[n.createParameterDeclaration(void 0,void 0,void 0,"factory")],void 0,e.setTextRange(n.createBlock([n.createIfStatement(n.createLogicalAnd(n.createTypeCheck(n.createIdentifier("module"),"object"),n.createTypeCheck(n.createPropertyAccessExpression(n.createIdentifier("module"),"exports"),"object")),n.createBlock([n.createVariableStatement(void 0,[n.createVariableDeclaration("v",void 0,void 0,n.createCallExpression(n.createIdentifier("factory"),void 0,[n.createIdentifier("require"),n.createIdentifier("exports")]))]),e.setEmitFlags(n.createIfStatement(n.createStrictInequality(n.createIdentifier("v"),n.createIdentifier("undefined")),n.createExpressionStatement(n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("module"),"exports"),n.createIdentifier("v")))),1)]),n.createIfStatement(n.createLogicalAnd(n.createTypeCheck(n.createIdentifier("define"),"function"),n.createPropertyAccessExpression(n.createIdentifier("define"),"amd")),n.createBlock([n.createExpressionStatement(n.createCallExpression(n.createIdentifier("define"),void 0,a(a([],l?[l]:[],!0),[n.createArrayLiteralExpression(a(a([n.createStringLiteral("require"),n.createStringLiteral("exports")],o,!0),s,!0)),n.createIdentifier("factory")],!1)))])))],!0),void 0)),f=n.updateSourceFile(t,e.setTextRange(n.createNodeArray([n.createExpressionStatement(n.createCallExpression(d,void 0,[n.createFunctionExpression(void 0,void 0,void 0,void 0,a([n.createParameterDeclaration(void 0,void 0,void 0,"require"),n.createParameterDeclaration(void 0,void 0,void 0,"exports")],c,!0),void 0,A(t))]))]),t.statements));return e.addEmitHelpers(f,r.readEmitHelpers()),f}function T(t,r){for(var i=[],a=[],o=[],s=0,c=t.amdDependencies;s<c.length;s++){var d=c[s];d.name?(i.push(n.createStringLiteral(d.path)),o.push(n.createParameterDeclaration(void 0,void 0,void 0,d.name))):a.push(n.createStringLiteral(d.path))}for(var f=0,_=h.externalImports;f<_.length;f++){var m=_[f],y=e.getExternalModuleNameLiteral(n,m,g,p,l,u),v=e.getLocalNameForExternalImport(n,m,g);y&&(r&&v?(e.setEmitFlags(v,4),i.push(y),o.push(n.createParameterDeclaration(void 0,void 0,void 0,v))):a.push(y))}return{aliasedModuleNames:i,unaliasedModuleNames:a,importAliasNames:o}}function k(t){if(!e.isImportEqualsDeclaration(t)&&!e.isExportDeclaration(t)&&e.getExternalModuleNameLiteral(n,t,g,p,l,u)){var r=e.getLocalNameForExternalImport(n,t,g),i=R(t,r);if(i!==r)return n.createExpressionStatement(n.createAssignment(r,i))}}function A(r){o();var i=[],a=n.copyPrologue(r.statements,i,!u.noImplicitUseStrict,P);x()&&e.append(i,$()),e.length(h.exportedNames)&&e.append(i,n.createExpressionStatement(e.reduceLeft(h.exportedNames,(function(t,r){return n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.createIdentifier(e.idText(r))),t)}),n.createVoidZero()))),e.append(i,e.visitNode(h.externalHelpersImportDeclaration,P,e.isStatement)),f===e.ModuleKind.AMD&&e.addRange(i,e.mapDefined(h.externalImports,k)),e.addRange(i,e.visitNodes(r.statements,P,e.isStatement,a)),N(i,!0),e.insertStatementsAfterStandardPrologue(i,s());var c=n.createBlock(i,!0);return y&&e.addEmitHelper(c,t),c}function N(t,r){if(h.exportEquals){var i=e.visitNode(h.exportEquals.expression,w);if(i)if(r){var a=n.createReturnStatement(i);e.setTextRange(a,h.exportEquals),e.setEmitFlags(a,1920),t.push(a)}else a=n.createExpressionStatement(n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("module"),"exports"),i)),e.setTextRange(a,h.exportEquals),e.setEmitFlags(a,1536),t.push(a)}}function P(t){switch(t.kind){case 265:return function(t){var r,i=e.getNamespaceDeclarationNode(t);if(f!==e.ModuleKind.AMD){if(!t.importClause)return e.setOriginalNode(e.setTextRange(n.createExpressionStatement(B(t)),t),t);var a=[];i&&!e.isDefaultImport(t)?a.push(n.createVariableDeclaration(n.cloneNode(i.name),void 0,void 0,R(t,B(t)))):(a.push(n.createVariableDeclaration(n.getGeneratedNameForNode(t),void 0,void 0,R(t,B(t)))),i&&e.isDefaultImport(t)&&a.push(n.createVariableDeclaration(n.cloneNode(i.name),void 0,void 0,n.getGeneratedNameForNode(t)))),r=e.append(r,e.setOriginalNode(e.setTextRange(n.createVariableStatement(void 0,n.createVariableDeclarationList(a,d>=2?2:0)),t),t))}else i&&e.isDefaultImport(t)&&(r=e.append(r,n.createVariableStatement(void 0,n.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(n.createVariableDeclaration(n.cloneNode(i.name),void 0,void 0,n.getGeneratedNameForNode(t)),t),t)],d>=2?2:0))));if(J(t)){var o=e.getOriginalNodeId(t);D[o]=U(D[o],t)}else r=U(r,t);return e.singleOrMany(r)}(t);case 264:return function(t){var r;if(e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(t),"import= for internal module references should be handled in an earlier transformer."),f!==e.ModuleKind.AMD?r=e.hasSyntacticModifier(t,1)?e.append(r,e.setOriginalNode(e.setTextRange(n.createExpressionStatement(Y(t.name,B(t))),t),t)):e.append(r,e.setOriginalNode(e.setTextRange(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(n.cloneNode(t.name),void 0,void 0,B(t))],d>=2?2:0)),t),t)):e.hasSyntacticModifier(t,1)&&(r=e.append(r,e.setOriginalNode(e.setTextRange(n.createExpressionStatement(Y(n.getExportName(t),n.getLocalName(t))),t),t))),J(t)){var i=e.getOriginalNodeId(t);D[i]=q(D[i],t)}else r=q(r,t);return e.singleOrMany(r)}(t);case 271:return function(t){if(t.moduleSpecifier){var r=n.getGeneratedNameForNode(t);if(t.exportClause&&e.isNamedExports(t.exportClause)){var a=[];f!==e.ModuleKind.AMD&&a.push(e.setOriginalNode(e.setTextRange(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(r,void 0,void 0,B(t))])),t),t));for(var o=0,s=t.exportClause.elements;o<s.length;o++){var c=s[o];if(0===d)a.push(e.setOriginalNode(e.setTextRange(n.createExpressionStatement(i().createCreateBindingHelper(r,n.createStringLiteralFromNode(c.propertyName||c.name),c.propertyName?n.createStringLiteralFromNode(c.name):void 0)),c),c));else{var l=!(!e.getESModuleInterop(u)||67108864&e.getEmitFlags(t)||"default"!==e.idText(c.propertyName||c.name)),p=n.createPropertyAccessExpression(l?i().createImportDefaultHelper(r):r,c.propertyName||c.name);a.push(e.setOriginalNode(e.setTextRange(n.createExpressionStatement(Y(n.getExportName(c),p,void 0,!0)),c),c))}}return e.singleOrMany(a)}return t.exportClause?((a=[]).push(e.setOriginalNode(e.setTextRange(n.createExpressionStatement(Y(n.cloneNode(t.exportClause.name),function(t,r){return!e.getESModuleInterop(u)||67108864&e.getEmitFlags(t)?r:e.getExportNeedsImportStarHelper(t)?i().createImportStarHelper(r):r}(t,f!==e.ModuleKind.AMD?B(t):e.isExportNamespaceAsDefaultDeclaration(t)?r:n.createIdentifier(e.idText(t.exportClause.name))))),t),t)),e.singleOrMany(a)):e.setOriginalNode(e.setTextRange(n.createExpressionStatement(i().createExportStarHelper(f!==e.ModuleKind.AMD?B(t):r)),t),t)}}(t);case 270:return function(t){if(!t.isExportEquals){var r,i=t.original;if(i&&J(i)){var a=e.getOriginalNodeId(t);D[a]=G(D[a],n.createIdentifier("default"),e.visitNode(t.expression,w),t,!0)}else r=G(r,n.createIdentifier("default"),e.visitNode(t.expression,w),t,!0);return e.singleOrMany(r)}}(t);case 236:return function(t){var i,a,o;if(e.hasSyntacticModifier(t,1)){for(var s=void 0,c=!1,u=0,l=t.declarationList.declarations;u<l.length;u++){var p=l[u];if(e.isIdentifier(p.name)&&e.isLocalName(p.name))s||(s=e.visitNodes(t.modifiers,X,e.isModifier)),a=e.append(a,p);else if(p.initializer)if(!e.isBindingPattern(p.name)&&(e.isArrowFunction(p.initializer)||e.isFunctionExpression(p.initializer)||e.isClassExpression(p.initializer))){var d=n.createAssignment(e.setTextRange(n.createPropertyAccessExpression(n.createIdentifier("exports"),p.name),p.name),n.createIdentifier(e.getTextOfIdentifierOrLiteral(p.name))),f=n.createVariableDeclaration(p.name,p.exclamationToken,p.type,e.visitNode(p.initializer,w));a=e.append(a,f),o=e.append(o,d),c=!0}else o=e.append(o,K(p))}if(a&&(i=e.append(i,n.updateVariableStatement(t,s,n.updateVariableDeclarationList(t.declarationList,a)))),o){var _=e.setOriginalNode(e.setTextRange(n.createExpressionStatement(n.inlineExpressions(o)),t),t);c&&e.removeAllComments(_),i=e.append(i,_)}}else i=e.append(i,e.visitEachChild(t,w,r));if(J(t)){var m=e.getOriginalNodeId(t);D[m]=V(D[m],t)}else i=V(i,t);return e.singleOrMany(i)}(t);case 255:return function(t){var i;if(i=e.hasSyntacticModifier(t,1)?e.append(i,e.setOriginalNode(e.setTextRange(n.createFunctionDeclaration(void 0,e.visitNodes(t.modifiers,X,e.isModifier),t.asteriskToken,n.getDeclarationName(t,!0,!0),void 0,e.visitNodes(t.parameters,w),void 0,e.visitEachChild(t.body,w,r)),t),t)):e.append(i,e.visitEachChild(t,w,r)),J(t)){var a=e.getOriginalNodeId(t);D[a]=W(D[a],t)}else i=W(i,t);return e.singleOrMany(i)}(t);case 256:return function(t){var i;if(i=e.hasSyntacticModifier(t,1)?e.append(i,e.setOriginalNode(e.setTextRange(n.createClassDeclaration(void 0,e.visitNodes(t.modifiers,X,e.isModifier),n.getDeclarationName(t,!0,!0),void 0,e.visitNodes(t.heritageClauses,w),e.visitNodes(t.members,w)),t),t)):e.append(i,e.visitEachChild(t,w,r)),J(t)){var a=e.getOriginalNodeId(t);D[a]=W(D[a],t)}else i=W(i,t);return e.singleOrMany(i)}(t);case 350:return function(t){if(J(t)&&236===t.original.kind){var r=e.getOriginalNodeId(t);D[r]=V(D[r],t.original)}return t}(t);case 351:return function(t){var r=e.getOriginalNodeId(t),n=D[r];return n?(delete D[r],e.append(n,t)):t}(t);default:return w(t)}}function F(t,i){if(!(71307264&t.transformFlags))return t;switch(t.kind){case 241:return function(t){return n.updateForStatement(t,e.visitNode(t.initializer,I,e.isForInitializer),e.visitNode(t.condition,w,e.isExpression),e.visitNode(t.incrementor,I,e.isExpression),e.visitIterationBody(t.statement,w,r))}(t);case 237:return function(t){return n.updateExpressionStatement(t,e.visitNode(t.expression,I,e.isExpression))}(t);case 211:return function(t,r){return n.updateParenthesizedExpression(t,e.visitNode(t.expression,r?I:w,e.isExpression))}(t,i);case 348:return function(t,r){return n.updatePartiallyEmittedExpression(t,e.visitNode(t.expression,r?I:w,e.isExpression))}(t,i);case 207:if(e.isImportCall(t)&&void 0===g.impliedNodeFormat)return function(t){var r=e.getExternalModuleNameLiteral(n,t,g,p,l,u),i=e.visitNode(e.firstOrUndefined(t.arguments),w),a=!r||i&&e.isStringLiteral(i)&&i.text===r.text?i:r,o=!!(8192&t.transformFlags);switch(u.module){case e.ModuleKind.AMD:return L(a,o);case e.ModuleKind.UMD:return function(t,r){if(y=!0,e.isSimpleCopiableExpression(t)){var i=e.isGeneratedIdentifier(t)?t:e.isStringLiteral(t)?n.createStringLiteralFromNode(t):e.setEmitFlags(e.setTextRange(n.cloneNode(t),t),1536);return n.createConditionalExpression(n.createIdentifier("__syncRequire"),void 0,M(t,r),void 0,L(i,r))}var a=n.createTempVariable(c);return n.createComma(n.createAssignment(a,t),n.createConditionalExpression(n.createIdentifier("__syncRequire"),void 0,M(a,r),void 0,L(a,r)))}(null!=a?a:n.createVoidZero(),o);case e.ModuleKind.CommonJS:default:return M(a,o)}}(t);break;case 220:if(e.isDestructuringAssignment(t))return function(t,n){return O(t.left)?e.flattenDestructuringAssignment(t,w,r,0,!n,j):e.visitEachChild(t,w,r)}(t,i);break;case 218:case 219:return function(t,i){if((45===t.operator||46===t.operator)&&e.isIdentifier(t.operand)&&!e.isGeneratedIdentifier(t.operand)&&!e.isLocalName(t.operand)&&!e.isDeclarationNameOfEnumOrNamespace(t.operand)){var a=Z(t.operand);if(a){var o=void 0,s=e.visitNode(t.operand,w,e.isExpression);e.isPrefixUnaryExpression(t)?s=n.updatePrefixUnaryExpression(t,s):(s=n.updatePostfixUnaryExpression(t,s),i||(o=n.createTempVariable(c),s=n.createAssignment(o,s),e.setTextRange(s,t)),s=n.createComma(s,n.cloneNode(t.operand)),e.setTextRange(s,t));for(var u=0,l=a;u<l.length;u++){var p=l[u];b[e.getNodeId(s)]=!0,s=Y(p,s),e.setTextRange(s,t)}return o&&(b[e.getNodeId(s)]=!0,s=n.createComma(s,o),e.setTextRange(s,t)),s}}return e.visitEachChild(t,w,r)}(t,i)}return e.visitEachChild(t,w,r)}function w(e){return F(e,!1)}function I(e){return F(e,!0)}function O(t){if(e.isObjectLiteralExpression(t))for(var r=0,n=t.properties;r<n.length;r++)switch((o=n[r]).kind){case 294:if(O(o.initializer))return!0;break;case 295:if(O(o.name))return!0;break;case 296:if(O(o.expression))return!0;break;case 168:case 171:case 172:return!1;default:e.Debug.assertNever(o,"Unhandled object member kind")}else if(e.isArrayLiteralExpression(t))for(var i=0,a=t.elements;i<a.length;i++){var o=a[i];if(e.isSpreadElement(o)){if(O(o.expression))return!0}else if(O(o))return!0}else if(e.isIdentifier(t))return e.length(Z(t))>(e.isExportName(t)?1:0);return!1}function L(t,r){var a,o=n.createUniqueName("resolve"),s=n.createUniqueName("reject"),c=[n.createParameterDeclaration(void 0,void 0,void 0,o),n.createParameterDeclaration(void 0,void 0,void 0,s)],l=n.createBlock([n.createExpressionStatement(n.createCallExpression(n.createIdentifier("require"),void 0,[n.createArrayLiteralExpression([t||n.createOmittedExpression()]),o,s]))]);d>=2?a=n.createArrowFunction(void 0,void 0,c,void 0,void 0,l):(a=n.createFunctionExpression(void 0,void 0,void 0,void 0,c,void 0,l),r&&e.setEmitFlags(a,8));var p=n.createNewExpression(n.createIdentifier("Promise"),void 0,[a]);return e.getESModuleInterop(u)?n.createCallExpression(n.createPropertyAccessExpression(p,n.createIdentifier("then")),void 0,[i().createImportStarCallbackHelper()]):p}function M(t,r){var a,o=n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Promise"),"resolve"),void 0,[]),s=n.createCallExpression(n.createIdentifier("require"),void 0,t?[t]:[]);return e.getESModuleInterop(u)&&(s=i().createImportStarHelper(s)),d>=2?a=n.createArrowFunction(void 0,void 0,[],void 0,void 0,s):(a=n.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,n.createBlock([n.createReturnStatement(s)])),r&&e.setEmitFlags(a,8)),n.createCallExpression(n.createPropertyAccessExpression(o,"then"),void 0,[a])}function R(t,r){return!e.getESModuleInterop(u)||67108864&e.getEmitFlags(t)?r:e.getImportNeedsImportStarHelper(t)?i().createImportStarHelper(r):e.getImportNeedsImportDefaultHelper(t)?i().createImportDefaultHelper(r):r}function B(t){var r=e.getExternalModuleNameLiteral(n,t,g,p,l,u),i=[];return r&&i.push(r),n.createCallExpression(n.createIdentifier("require"),void 0,i)}function j(t,r,i){var a=Z(t);if(a){for(var o=e.isExportName(t)?r:n.createAssignment(t,r),s=0,c=a;s<c.length;s++){var u=c[s];e.setEmitFlags(o,4),o=Y(u,o,i)}return o}return n.createAssignment(t,r)}function K(t){return e.isBindingPattern(t.name)?e.flattenDestructuringAssignment(e.visitNode(t,w),void 0,r,0,!1,j):n.createAssignment(e.setTextRange(n.createPropertyAccessExpression(n.createIdentifier("exports"),t.name),t.name),t.initializer?e.visitNode(t.initializer,w):n.createVoidZero())}function J(t){return 0!=(4194304&e.getEmitFlags(t))}function U(e,t){if(h.exportEquals)return e;var r=t.importClause;if(!r)return e;r.name&&(e=H(e,r));var n=r.namedBindings;if(n)switch(n.kind){case 267:e=H(e,n);break;case 268:for(var i=0,a=n.elements;i<a.length;i++)e=H(e,a[i],!0)}return e}function q(e,t){return h.exportEquals?e:H(e,t)}function V(e,t){if(h.exportEquals)return e;for(var r=0,n=t.declarationList.declarations;r<n.length;r++)e=z(e,n[r]);return e}function z(t,r){if(h.exportEquals)return t;if(e.isBindingPattern(r.name))for(var n=0,i=r.name.elements;n<i.length;n++){var a=i[n];e.isOmittedExpression(a)||(t=z(t,a))}else e.isGeneratedIdentifier(r.name)||(t=H(t,r));return t}function W(t,r){return h.exportEquals||(e.hasSyntacticModifier(r,1)&&(t=G(t,e.hasSyntacticModifier(r,512)?n.createIdentifier("default"):n.getDeclarationName(r),n.getLocalName(r),r)),r.name&&(t=H(t,r))),t}function H(t,r,i){var a=n.getDeclarationName(r),o=h.exportSpecifiers.get(e.idText(a));if(o)for(var s=0,c=o;s<c.length;s++){var u=c[s];t=G(t,u.name,a,u.name,void 0,i)}return t}function G(t,r,i,a,o,s){return e.append(t,function(t,r,i,a,o){var s=e.setTextRange(n.createExpressionStatement(Y(t,r,void 0,o)),i);return e.startOnNewLine(s),a||e.setEmitFlags(s,1536),s}(r,i,a,o,s))}function $(){var t;return t=0===d?n.createExpressionStatement(Y(n.createIdentifier("__esModule"),n.createTrue())):n.createExpressionStatement(n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Object"),"defineProperty"),void 0,[n.createIdentifier("exports"),n.createStringLiteral("__esModule"),n.createObjectLiteralExpression([n.createPropertyAssignment("value",n.createTrue())])])),e.setEmitFlags(t,1048576),t}function Y(t,r,i,a){return e.setTextRange(a&&0!==d?n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Object"),"defineProperty"),void 0,[n.createIdentifier("exports"),n.createStringLiteralFromNode(t),n.createObjectLiteralExpression([n.createPropertyAssignment("enumerable",n.createTrue()),n.createPropertyAssignment("get",n.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,n.createBlock([n.createReturnStatement(r)])))])]):n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.cloneNode(t)),r),i)}function X(e){switch(e.kind){case 93:case 88:return}return e}function Q(t){var r,i;if(4096&e.getEmitFlags(t)){var a=e.getExternalHelpersModuleName(g);return a?n.createPropertyAccessExpression(a,t):t}if((!e.isGeneratedIdentifier(t)||64&t.autoGenerateFlags)&&!e.isLocalName(t)){var o=l.getReferencedExportContainer(t,e.isExportName(t));if(o&&303===o.kind)return e.setTextRange(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.cloneNode(t)),t);var s=l.getReferencedImportDeclaration(t);if(s){if(e.isImportClause(s))return e.setTextRange(n.createPropertyAccessExpression(n.getGeneratedNameForNode(s.parent),n.createIdentifier("default")),t);if(e.isImportSpecifier(s)){var c=s.propertyName||s.name;return e.setTextRange(n.createPropertyAccessExpression(n.getGeneratedNameForNode((null===(i=null===(r=s.parent)||void 0===r?void 0:r.parent)||void 0===i?void 0:i.parent)||s),n.cloneNode(c)),t)}}}return t}function Z(t){if(!e.isGeneratedIdentifier(t)){var r=l.getReferencedImportDeclaration(t)||l.getReferencedValueDeclaration(t);if(r)return h&&h.exportedBindings[e.getOriginalNodeId(r)]}}};var t={name:"typescript:dynamicimport-sync-require",scoped:!0,text:'\n var __syncRequire = typeof module === "object" && typeof module.exports === "object";'}}(n||(n={})),function(e){e.transformSystemModule=function(t){var r=t.factory,n=t.startLexicalEnvironment,i=t.endLexicalEnvironment,a=t.hoistVariableDeclaration,o=t.getCompilerOptions(),s=t.getEmitResolver(),c=t.getEmitHost(),u=t.onSubstituteNode,l=t.onEmitNode;t.onSubstituteNode=function(t,n){return function(e){return h&&e.id&&h[e.id]}(n=u(t,n))?n:1===t?function(t){switch(t.kind){case 79:return function(t){var n,i;if(4096&e.getEmitFlags(t)){var a=e.getExternalHelpersModuleName(p);return a?r.createPropertyAccessExpression(a,t):t}if(!e.isGeneratedIdentifier(t)&&!e.isLocalName(t)){var o=s.getReferencedImportDeclaration(t);if(o){if(e.isImportClause(o))return e.setTextRange(r.createPropertyAccessExpression(r.getGeneratedNameForNode(o.parent),r.createIdentifier("default")),t);if(e.isImportSpecifier(o))return e.setTextRange(r.createPropertyAccessExpression(r.getGeneratedNameForNode((null===(i=null===(n=o.parent)||void 0===n?void 0:n.parent)||void 0===i?void 0:i.parent)||o),r.cloneNode(o.propertyName||o.name)),t)}}return t}(t);case 220:return function(t){if(e.isAssignmentOperator(t.operatorToken.kind)&&e.isIdentifier(t.left)&&!e.isGeneratedIdentifier(t.left)&&!e.isLocalName(t.left)&&!e.isDeclarationNameOfEnumOrNamespace(t.left)){var r=Y(t.left);if(r){for(var n=t,i=0,a=r;i<a.length;i++)n=J(a[i],X(n));return n}}return t}(t);case 230:return function(t){return e.isImportMeta(t)?r.createPropertyAccessExpression(_,r.createIdentifier("meta")):t}(t)}return t}(n):4===t?function(t){return 295===t.kind?function(t){var n,i,a=t.name;if(!e.isGeneratedIdentifier(a)&&!e.isLocalName(a)){var o=s.getReferencedImportDeclaration(a);if(o){if(e.isImportClause(o))return e.setTextRange(r.createPropertyAssignment(r.cloneNode(a),r.createPropertyAccessExpression(r.getGeneratedNameForNode(o.parent),r.createIdentifier("default"))),t);if(e.isImportSpecifier(o))return e.setTextRange(r.createPropertyAssignment(r.cloneNode(a),r.createPropertyAccessExpression(r.getGeneratedNameForNode((null===(i=null===(n=o.parent)||void 0===n?void 0:n.parent)||void 0===i?void 0:i.parent)||o),r.cloneNode(o.propertyName||o.name))),t)}}return t}(t):t}(n):n},t.onEmitNode=function(t,r,n){if(303===r.kind){var i=e.getOriginalNodeId(r);p=r,d=y[i],f=D[i],h=b[i],_=x[i],h&&delete b[i],l(t,r,n),p=void 0,d=void 0,f=void 0,_=void 0,h=void 0}else l(t,r,n)},t.enableSubstitution(79),t.enableSubstitution(295),t.enableSubstitution(220),t.enableSubstitution(230),t.enableEmitNotification(303);var p,d,f,_,m,g,h,y=[],v=[],D=[],b=[],x=[];return e.chainBundle(t,(function(a){if(a.isDeclarationFile||!(e.isEffectiveExternalModule(a,o)||4194304&a.transformFlags))return a;var u=e.getOriginalNodeId(a);p=a,g=a,d=y[u]=e.collectExternalModuleInfo(t,a,s,o),f=r.createUniqueName("exports"),D[u]=f,_=x[u]=r.createUniqueName("context");var l=function(t){for(var n=new e.Map,i=[],a=0,u=t;a<u.length;a++){var l=u[a],d=e.getExternalModuleNameLiteral(r,l,p,c,s,o);if(d){var f=d.text,_=n.get(f);void 0!==_?i[_].externalImports.push(l):(n.set(f,i.length),i.push({name:d,externalImports:[l]}))}}return i}(d.externalImports),v=function(t,a){var s=[];n();var c=e.getStrictOptionValue(o,"alwaysStrict")||!o.noImplicitUseStrict&&e.isExternalModule(p),u=r.copyPrologue(t.statements,s,c,C);s.push(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration("__moduleName",void 0,void 0,r.createLogicalAnd(_,r.createPropertyAccessExpression(_,"id")))]))),e.visitNode(d.externalHelpersImportDeclaration,C,e.isStatement);var l=e.visitNodes(t.statements,C,e.isStatement,u);e.addRange(s,m),e.insertStatementsAfterStandardPrologue(s,i());var f=function(e){if(d.hasExportStarsToExportValues){if(!d.exportedNames&&0===d.exportSpecifiers.size){for(var t=!1,n=0,i=d.externalImports;n<i.length;n++){var a=i[n];if(271===a.kind&&a.exportClause){t=!0;break}}if(!t){var o=E(void 0);return e.push(o),o.name}}var s=[];if(d.exportedNames)for(var c=0,u=d.exportedNames;c<u.length;c++){var l=u[c];"default"!==l.escapedText&&s.push(r.createPropertyAssignment(r.createStringLiteralFromNode(l),r.createTrue()))}var p=r.createUniqueName("exportedNames");e.push(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(p,void 0,void 0,r.createObjectLiteralExpression(s,!0))])));var f=E(p);return e.push(f),f.name}}(s),g=1048576&t.transformFlags?r.createModifiersFromModifierFlags(256):void 0,h=r.createObjectLiteralExpression([r.createPropertyAssignment("setters",S(f,a)),r.createPropertyAssignment("execute",r.createFunctionExpression(g,void 0,void 0,void 0,[],void 0,r.createBlock(l,!0)))],!0);return s.push(r.createReturnStatement(h)),r.createBlock(s,!0)}(a,l),T=r.createFunctionExpression(void 0,void 0,void 0,void 0,[r.createParameterDeclaration(void 0,void 0,void 0,f),r.createParameterDeclaration(void 0,void 0,void 0,_)],void 0,v),k=e.tryGetModuleNameFromFile(r,a,c,o),A=r.createArrayLiteralExpression(e.map(l,(function(e){return e.name}))),N=e.setEmitFlags(r.updateSourceFile(a,e.setTextRange(r.createNodeArray([r.createExpressionStatement(r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("System"),"register"),void 0,k?[k,A,T]:[A,T]))]),a.statements)),1024);return e.outFile(o)||e.moveEmitHelpers(N,v,(function(e){return!e.scoped})),h&&(b[u]=h,h=void 0),p=void 0,d=void 0,f=void 0,_=void 0,m=void 0,g=void 0,N}));function E(t){var n=r.createUniqueName("exportStar"),i=r.createIdentifier("m"),a=r.createIdentifier("n"),o=r.createIdentifier("exports"),s=r.createStrictInequality(a,r.createStringLiteral("default"));return t&&(s=r.createLogicalAnd(s,r.createLogicalNot(r.createCallExpression(r.createPropertyAccessExpression(t,"hasOwnProperty"),void 0,[a])))),r.createFunctionDeclaration(void 0,void 0,void 0,n,void 0,[r.createParameterDeclaration(void 0,void 0,void 0,i)],void 0,r.createBlock([r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(o,void 0,void 0,r.createObjectLiteralExpression([]))])),r.createForInStatement(r.createVariableDeclarationList([r.createVariableDeclaration(a)]),i,r.createBlock([e.setEmitFlags(r.createIfStatement(s,r.createExpressionStatement(r.createAssignment(r.createElementAccessExpression(o,a),r.createElementAccessExpression(i,a)))),1)])),r.createExpressionStatement(r.createCallExpression(f,void 0,[o]))],!0))}function S(t,n){for(var i=[],a=0,o=n;a<o.length;a++){for(var s=o[a],c=e.forEach(s.externalImports,(function(t){return e.getLocalNameForExternalImport(r,t,p)})),u=c?r.getGeneratedNameForNode(c):r.createUniqueName(""),l=[],d=0,_=s.externalImports;d<_.length;d++){var m=_[d],g=e.getLocalNameForExternalImport(r,m,p);switch(m.kind){case 265:if(!m.importClause)break;case 264:e.Debug.assert(void 0!==g),l.push(r.createExpressionStatement(r.createAssignment(g,u)));break;case 271:if(e.Debug.assert(void 0!==g),m.exportClause)if(e.isNamedExports(m.exportClause)){for(var h=[],y=0,v=m.exportClause.elements;y<v.length;y++){var D=v[y];h.push(r.createPropertyAssignment(r.createStringLiteral(e.idText(D.name)),r.createElementAccessExpression(u,r.createStringLiteral(e.idText(D.propertyName||D.name)))))}l.push(r.createExpressionStatement(r.createCallExpression(f,void 0,[r.createObjectLiteralExpression(h,!0)])))}else l.push(r.createExpressionStatement(r.createCallExpression(f,void 0,[r.createStringLiteral(e.idText(m.exportClause.name)),u])));else l.push(r.createExpressionStatement(r.createCallExpression(t,void 0,[u])))}}i.push(r.createFunctionExpression(void 0,void 0,void 0,void 0,[r.createParameterDeclaration(void 0,void 0,void 0,u)],void 0,r.createBlock(l,!0)))}return r.createArrayLiteralExpression(i,!0)}function C(t){switch(t.kind){case 265:return function(t){var n;if(t.importClause&&a(e.getLocalNameForExternalImport(r,t,p)),w(t)){var i=e.getOriginalNodeId(t);v[i]=I(v[i],t)}else n=I(n,t);return e.singleOrMany(n)}(t);case 264:return function(t){var n;if(e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(t),"import= for internal module references should be handled in an earlier transformer."),a(e.getLocalNameForExternalImport(r,t,p)),w(t)){var i=e.getOriginalNodeId(t);v[i]=O(v[i],t)}else n=O(n,t);return e.singleOrMany(n)}(t);case 271:return function(t){e.Debug.assertIsDefined(t)}(t);case 270:return function(t){if(!t.isExportEquals){var n=e.visitNode(t.expression,W,e.isExpression),i=t.original;if(!i||!w(i))return K(r.createIdentifier("default"),n,!0);var a=e.getOriginalNodeId(t);v[a]=j(v[a],r.createIdentifier("default"),n,!0)}}(t);default:return U(t)}}function T(t){if(e.isBindingPattern(t.name))for(var n=0,i=t.name.elements;n<i.length;n++){var o=i[n];e.isOmittedExpression(o)||T(o)}else a(r.cloneNode(t.name))}function k(t){return 0==(2097152&e.getEmitFlags(t))&&(303===g.kind||0==(3&e.getOriginalNode(t).flags))}function A(r,n){var i=n?N:P;return e.isBindingPattern(r.name)?e.flattenDestructuringAssignment(r,W,t,0,!1,i):r.initializer?i(r.name,e.visitNode(r.initializer,W,e.isExpression)):r.name}function N(e,t,r){return F(e,t,r,!0)}function P(e,t,r){return F(e,t,r,!1)}function F(t,n,i,o){return a(r.cloneNode(t)),o?J(t,X(e.setTextRange(r.createAssignment(t,n),i))):X(e.setTextRange(r.createAssignment(t,n),i))}function w(t){return 0!=(4194304&e.getEmitFlags(t))}function I(e,t){if(d.exportEquals)return e;var r=t.importClause;if(!r)return e;r.name&&(e=B(e,r));var n=r.namedBindings;if(n)switch(n.kind){case 267:e=B(e,n);break;case 268:for(var i=0,a=n.elements;i<a.length;i++)e=B(e,a[i])}return e}function O(e,t){return d.exportEquals?e:B(e,t)}function L(e,t,r){if(d.exportEquals)return e;for(var n=0,i=t.declarationList.declarations;n<i.length;n++){var a=i[n];(a.initializer||r)&&(e=M(e,a,r))}return e}function M(t,n,i){if(d.exportEquals)return t;if(e.isBindingPattern(n.name))for(var a=0,o=n.name.elements;a<o.length;a++){var s=o[a];e.isOmittedExpression(s)||(t=M(t,s,i))}else if(!e.isGeneratedIdentifier(n.name)){var c=void 0;i&&(t=j(t,n.name,r.getLocalName(n)),c=e.idText(n.name)),t=B(t,n,c)}return t}function R(t,n){if(d.exportEquals)return t;var i;if(e.hasSyntacticModifier(n,1)){var a=e.hasSyntacticModifier(n,512)?r.createStringLiteral("default"):n.name;t=j(t,a,r.getLocalName(n)),i=e.getTextOfIdentifierOrLiteral(a)}return n.name&&(t=B(t,n,i)),t}function B(t,n,i){if(d.exportEquals)return t;var a=r.getDeclarationName(n),o=d.exportSpecifiers.get(e.idText(a));if(o)for(var s=0,c=o;s<c.length;s++){var u=c[s];u.name.escapedText!==i&&(t=j(t,u.name,a))}return t}function j(t,r,n,i){return e.append(t,K(r,n,i))}function K(t,n,i){var a=r.createExpressionStatement(J(t,n));return e.startOnNewLine(a),i||e.setEmitFlags(a,1536),a}function J(t,n){var i=e.isIdentifier(t)?r.createStringLiteralFromNode(t):t;return e.setEmitFlags(n,1536|e.getEmitFlags(n)),e.setCommentRange(r.createCallExpression(f,void 0,[i,n]),n)}function U(n){switch(n.kind){case 236:return function(t){if(!k(t.declarationList))return e.visitNode(t,W,e.isStatement);for(var n,i=e.hasSyntacticModifier(t,1),a=w(t),o=0,s=t.declarationList.declarations;o<s.length;o++){var c=s[o];c.initializer?n=e.append(n,A(c,i&&!a)):T(c)}var u;if(n&&(u=e.append(u,e.setTextRange(r.createExpressionStatement(r.inlineExpressions(n)),t))),a){var l=e.getOriginalNodeId(t);v[l]=L(v[l],t,i)}else u=L(u,t,!1);return e.singleOrMany(u)}(n);case 255:return function(n){if(m=e.hasSyntacticModifier(n,1)?e.append(m,r.updateFunctionDeclaration(n,n.decorators,e.visitNodes(n.modifiers,$,e.isModifier),n.asteriskToken,r.getDeclarationName(n,!0,!0),void 0,e.visitNodes(n.parameters,W,e.isParameterDeclaration),void 0,e.visitNode(n.body,W,e.isBlock))):e.append(m,e.visitEachChild(n,W,t)),w(n)){var i=e.getOriginalNodeId(n);v[i]=R(v[i],n)}else m=R(m,n)}(n);case 256:return function(t){var n,i=r.getLocalName(t);if(a(i),n=e.append(n,e.setTextRange(r.createExpressionStatement(r.createAssignment(i,e.setTextRange(r.createClassExpression(e.visitNodes(t.decorators,W,e.isDecorator),void 0,t.name,void 0,e.visitNodes(t.heritageClauses,W,e.isHeritageClause),e.visitNodes(t.members,W,e.isClassElement)),t))),t)),w(t)){var o=e.getOriginalNodeId(t);v[o]=R(v[o],t)}else n=R(n,t);return e.singleOrMany(n)}(n);case 241:return q(n,!0);case 242:return function(n){var i=g;return g=n,n=r.updateForInStatement(n,V(n.initializer),e.visitNode(n.expression,W,e.isExpression),e.visitIterationBody(n.statement,U,t)),g=i,n}(n);case 243:return function(n){var i=g;return g=n,n=r.updateForOfStatement(n,n.awaitModifier,V(n.initializer),e.visitNode(n.expression,W,e.isExpression),e.visitIterationBody(n.statement,U,t)),g=i,n}(n);case 239:return function(n){return r.updateDoStatement(n,e.visitIterationBody(n.statement,U,t),e.visitNode(n.expression,W,e.isExpression))}(n);case 240:return function(n){return r.updateWhileStatement(n,e.visitNode(n.expression,W,e.isExpression),e.visitIterationBody(n.statement,U,t))}(n);case 249:return function(t){return r.updateLabeledStatement(t,t.label,e.visitNode(t.statement,U,e.isStatement,r.liftToBlock))}(n);case 247:return function(t){return r.updateWithStatement(t,e.visitNode(t.expression,W,e.isExpression),e.visitNode(t.statement,U,e.isStatement,r.liftToBlock))}(n);case 248:return function(t){return r.updateSwitchStatement(t,e.visitNode(t.expression,W,e.isExpression),e.visitNode(t.caseBlock,U,e.isCaseBlock))}(n);case 262:return function(t){var n=g;return g=t,t=r.updateCaseBlock(t,e.visitNodes(t.clauses,U,e.isCaseOrDefaultClause)),g=n,t}(n);case 288:return function(t){return r.updateCaseClause(t,e.visitNode(t.expression,W,e.isExpression),e.visitNodes(t.statements,U,e.isStatement))}(n);case 289:case 251:return function(r){return e.visitEachChild(r,U,t)}(n);case 291:return function(t){var n=g;return g=t,t=r.updateCatchClause(t,t.variableDeclaration,e.visitNode(t.block,U,e.isBlock)),g=n,t}(n);case 234:return function(r){var n=g;return g=r,r=e.visitEachChild(r,U,t),g=n,r}(n);case 350:return function(t){if(w(t)&&236===t.original.kind){var r=e.getOriginalNodeId(t),n=e.hasSyntacticModifier(t.original,1);v[r]=L(v[r],t.original,n)}return t}(n);case 351:return function(t){var r=e.getOriginalNodeId(t),n=v[r];if(n)return delete v[r],e.append(n,t);var i=e.getOriginalNode(t);return e.isModuleOrEnumDeclaration(i)?e.append(B(n,i),t):t}(n);default:return W(n)}}function q(n,i){var a=g;return g=n,n=r.updateForStatement(n,e.visitNode(n.initializer,i?V:H,e.isForInitializer),e.visitNode(n.condition,W,e.isExpression),e.visitNode(n.incrementor,H,e.isExpression),e.visitIterationBody(n.statement,i?U:W,t)),g=a,n}function V(t){if(function(t){return e.isVariableDeclarationList(t)&&k(t)}(t)){for(var n=void 0,i=0,a=t.declarations;i<a.length;i++){var o=a[i];n=e.append(n,A(o,!1)),o.initializer||T(o)}return n?r.inlineExpressions(n):r.createOmittedExpression()}return e.visitNode(t,H,e.isExpression)}function z(n,i){if(!(71307264&n.transformFlags))return n;switch(n.kind){case 241:return q(n,!1);case 237:return function(t){return r.updateExpressionStatement(t,e.visitNode(t.expression,H,e.isExpression))}(n);case 211:return function(t,n){return r.updateParenthesizedExpression(t,e.visitNode(t.expression,n?H:W,e.isExpression))}(n,i);case 348:return function(t,n){return r.updatePartiallyEmittedExpression(t,e.visitNode(t.expression,n?H:W,e.isExpression))}(n,i);case 220:if(e.isDestructuringAssignment(n))return function(r,n){return G(r.left)?e.flattenDestructuringAssignment(r,W,t,0,!n):e.visitEachChild(r,W,t)}(n,i);break;case 207:if(e.isImportCall(n))return function(t){var n=e.getExternalModuleNameLiteral(r,t,p,c,s,o),i=e.visitNode(e.firstOrUndefined(t.arguments),W),a=!n||i&&e.isStringLiteral(i)&&i.text===n.text?i:n;return r.createCallExpression(r.createPropertyAccessExpression(_,r.createIdentifier("import")),void 0,a?[a]:[])}(n);break;case 218:case 219:return function(n,i){if((45===n.operator||46===n.operator)&&e.isIdentifier(n.operand)&&!e.isGeneratedIdentifier(n.operand)&&!e.isLocalName(n.operand)&&!e.isDeclarationNameOfEnumOrNamespace(n.operand)){var o=Y(n.operand);if(o){var s=void 0,c=e.visitNode(n.operand,W,e.isExpression);e.isPrefixUnaryExpression(n)?c=r.updatePrefixUnaryExpression(n,c):(c=r.updatePostfixUnaryExpression(n,c),i||(s=r.createTempVariable(a),c=r.createAssignment(s,c),e.setTextRange(c,n)),c=r.createComma(c,r.cloneNode(n.operand)),e.setTextRange(c,n));for(var u=0,l=o;u<l.length;u++)c=J(l[u],X(c));return s&&(c=r.createComma(c,s),e.setTextRange(c,n)),c}}return e.visitEachChild(n,W,t)}(n,i)}return e.visitEachChild(n,W,t)}function W(e){return z(e,!1)}function H(e){return z(e,!0)}function G(t){if(e.isAssignmentExpression(t,!0))return G(t.left);if(e.isSpreadElement(t))return G(t.expression);if(e.isObjectLiteralExpression(t))return e.some(t.properties,G);if(e.isArrayLiteralExpression(t))return e.some(t.elements,G);if(e.isShorthandPropertyAssignment(t))return G(t.name);if(e.isPropertyAssignment(t))return G(t.initializer);if(e.isIdentifier(t)){var r=s.getReferencedExportContainer(t);return void 0!==r&&303===r.kind}return!1}function $(e){switch(e.kind){case 93:case 88:return}return e}function Y(t){var n;if(!e.isGeneratedIdentifier(t)){var i=s.getReferencedImportDeclaration(t)||s.getReferencedValueDeclaration(t);if(i){var a=s.getReferencedExportContainer(t,!1);a&&303===a.kind&&(n=e.append(n,r.getDeclarationName(i))),n=e.addRange(n,d&&d.exportedBindings[e.getOriginalNodeId(i)])}}return n}function X(t){return void 0===h&&(h=[]),h[e.getNodeId(t)]=!0,t}}}(n||(n={})),function(e){e.transformECMAScriptModule=function(t){var r,n,i,o=t.factory,s=t.getEmitHelperFactory,c=t.getEmitHost(),u=t.getEmitResolver(),l=t.getCompilerOptions(),p=e.getEmitScriptTarget(l),d=t.onEmitNode,f=t.onSubstituteNode;return t.onEmitNode=function(t,n,i){e.isSourceFile(n)?((e.isExternalModule(n)||l.isolatedModules)&&l.importHelpers&&(r=new e.Map),d(t,n,i),r=void 0):d(t,n,i)},t.onSubstituteNode=function(t,n){return n=f(t,n),r&&e.isIdentifier(n)&&4096&e.getEmitFlags(n)?function(t){var n=e.idText(t),i=r.get(n);return i||r.set(n,i=o.createUniqueName(n,48)),i}(n):n},t.enableEmitNotification(303),t.enableSubstitution(79),e.chainBundle(t,(function(r){if(r.isDeclarationFile)return r;if(e.isExternalModule(r)||l.isolatedModules){n=r,i=void 0;var c=function(r){var n=e.createExternalHelpersImportDeclarationIfNeeded(o,s(),r,l);if(n){var i=[],a=o.copyPrologue(r.statements,i);return e.append(i,n),e.addRange(i,e.visitNodes(r.statements,_,e.isStatement,a)),o.updateSourceFile(r,e.setTextRange(o.createNodeArray(i),r.statements))}return e.visitEachChild(r,_,t)}(r);return n=void 0,i&&(c=o.updateSourceFile(c,e.setTextRange(o.createNodeArray(e.insertStatementsAfterCustomPrologue(c.statements.slice(),i)),c.statements))),!e.isExternalModule(r)||e.some(c.statements,e.isExternalModuleIndicator)?c:o.updateSourceFile(c,e.setTextRange(o.createNodeArray(a(a([],c.statements,!0),[e.createEmptyExports(o)],!1)),c.statements))}return r}));function _(t){switch(t.kind){case 264:return e.getEmitScriptTarget(l)>=e.ModuleKind.ES2020?function(t){var r;return e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(t),"import= for internal module references should be handled in an earlier transformer."),r=function(t,r){return e.hasSyntacticModifier(r,1)&&(t=e.append(t,o.createExportDeclaration(void 0,void 0,r.isTypeOnly,o.createNamedExports([o.createExportSpecifier(!1,void 0,e.idText(r.name))])))),t}(r=e.append(r,e.setOriginalNode(e.setTextRange(o.createVariableStatement(void 0,o.createVariableDeclarationList([o.createVariableDeclaration(o.cloneNode(t.name),void 0,void 0,m(t))],p>=2?2:0)),t),t)),t),e.singleOrMany(r)}(t):void 0;case 270:return function(e){return e.isExportEquals?void 0:e}(t);case 271:return function(t){if(void 0!==l.module&&l.module>e.ModuleKind.ES2015||!t.exportClause||!e.isNamespaceExport(t.exportClause)||!t.moduleSpecifier)return t;var r=t.exportClause.name,n=o.getGeneratedNameForNode(r),i=o.createImportDeclaration(void 0,void 0,o.createImportClause(!1,void 0,o.createNamespaceImport(n)),t.moduleSpecifier,t.assertClause);e.setOriginalNode(i,t.exportClause);var a=e.isExportNamespaceAsDefaultDeclaration(t)?o.createExportDefault(n):o.createExportDeclaration(void 0,void 0,!1,o.createNamedExports([o.createExportSpecifier(!1,n,r)]));return e.setOriginalNode(a,t),[i,a]}(t)}return t}function m(t){var r=e.getExternalModuleNameLiteral(o,t,e.Debug.checkDefined(n),c,u,l),a=[];if(r&&a.push(r),!i){var s=o.createUniqueName("_createRequire",48),d=o.createImportDeclaration(void 0,void 0,o.createImportClause(!1,void 0,o.createNamedImports([o.createImportSpecifier(!1,o.createIdentifier("createRequire"),s)])),o.createStringLiteral("module")),f=o.createUniqueName("__require",48),_=o.createVariableStatement(void 0,o.createVariableDeclarationList([o.createVariableDeclaration(f,void 0,void 0,o.createCallExpression(o.cloneNode(s),void 0,[o.createPropertyAccessExpression(o.createMetaProperty(100,o.createIdentifier("meta")),o.createIdentifier("url"))]))],p>=2?2:0));i=[d,_]}var m=i[1].declarationList.declarations[0].name;return e.Debug.assertNode(m,e.isIdentifier),o.createCallExpression(o.cloneNode(m),void 0,a)}}}(n||(n={})),function(e){e.transformNodeModule=function(t){var r=t.onSubstituteNode,n=t.onEmitNode,i=e.transformECMAScriptModule(t),a=t.onSubstituteNode,o=t.onEmitNode;t.onSubstituteNode=r,t.onEmitNode=n;var s,c=e.transformModule(t),u=t.onSubstituteNode,l=t.onEmitNode;return t.onSubstituteNode=function(t,n){return e.isSourceFile(n)?(s=n,r(t,n)):s?s.impliedNodeFormat===e.ModuleKind.ESNext?a(t,n):u(t,n):r(t,n)},t.onEmitNode=function(t,r,i){return e.isSourceFile(r)&&(s=r),s?s.impliedNodeFormat===e.ModuleKind.ESNext?o(t,r,i):l(t,r,i):n(t,r,i)},t.enableSubstitution(303),t.enableEmitNotification(303),function(r){return 303===r.kind?p(r):function(r){return t.factory.createBundle(e.map(r.sourceFiles,p),r.prepends)}(r)};function p(t){if(t.isDeclarationFile)return t;s=t;var r=function(t){return t.impliedNodeFormat===e.ModuleKind.ESNext?i:c}(t)(t);return s=void 0,e.Debug.assert(e.isSourceFile(r)),r}}}(n||(n={})),function(e){function t(t){return e.isVariableDeclaration(t)||e.isPropertyDeclaration(t)||e.isPropertySignature(t)||e.isPropertyAccessExpression(t)||e.isBindingElement(t)||e.isConstructorDeclaration(t)?r:e.isSetAccessor(t)||e.isGetAccessor(t)?function(r){return{diagnosticMessage:172===t.kind?e.isStatic(t)?r.errorModuleName?e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:r.errorModuleName?e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:e.isStatic(t)?r.errorModuleName?2===r.accessibility?e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:r.errorModuleName?2===r.accessibility?e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1,errorNode:t.name,typeName:t.name}}:e.isConstructSignatureDeclaration(t)||e.isCallSignatureDeclaration(t)||e.isMethodDeclaration(t)||e.isMethodSignature(t)||e.isFunctionDeclaration(t)||e.isIndexSignatureDeclaration(t)?function(r){var n;switch(t.kind){case 174:n=r.errorModuleName?e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 173:n=r.errorModuleName?e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 175:n=r.errorModuleName?e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 168:case 167:n=e.isStatic(t)?r.errorModuleName?2===r.accessibility?e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:256===t.parent.kind?r.errorModuleName?2===r.accessibility?e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:r.errorModuleName?e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 255:n=r.errorModuleName?2===r.accessibility?e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return e.Debug.fail("This is unknown kind for signature: "+t.kind)}return{diagnosticMessage:n,errorNode:t.name||t}}:e.isParameter(t)?e.isParameterPropertyDeclaration(t,t.parent)&&e.hasSyntacticModifier(t.parent,8)?r:function(r){var n=function(r){switch(t.parent.kind){case 170:return r.errorModuleName?2===r.accessibility?e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 174:case 179:return r.errorModuleName?e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 173:return r.errorModuleName?e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 175:return r.errorModuleName?e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 168:case 167:return e.isStatic(t.parent)?r.errorModuleName?2===r.accessibility?e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:256===t.parent.parent.kind?r.errorModuleName?2===r.accessibility?e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:r.errorModuleName?e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 255:case 178:return r.errorModuleName?2===r.accessibility?e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 172:case 171:return r.errorModuleName?2===r.accessibility?e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return e.Debug.fail("Unknown parent for parameter: ".concat(e.SyntaxKind[t.parent.kind]))}}(r);return void 0!==n?{diagnosticMessage:n,errorNode:t,typeName:t.name}:void 0}:e.isTypeParameterDeclaration(t)?function(){var r;switch(t.parent.kind){case 256:r=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 257:r=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 194:r=e.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 179:case 174:r=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 173:r=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 168:case 167:r=e.isStatic(t.parent)?e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:256===t.parent.parent.kind?e.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:e.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 178:case 255:r=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 258:r=e.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return e.Debug.fail("This is unknown parent for type parameter: "+t.parent.kind)}return{diagnosticMessage:r,errorNode:t,typeName:t.name}}:e.isExpressionWithTypeArguments(t)?function(){return{diagnosticMessage:e.isClassDeclaration(t.parent.parent)?e.isHeritageClause(t.parent)&&117===t.parent.token?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:t.parent.parent.name?e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0:e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,errorNode:t,typeName:e.getNameOfDeclaration(t.parent.parent)}}:e.isImportEqualsDeclaration(t)?function(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:t,typeName:t.name}}:e.isTypeAliasDeclaration(t)||e.isJSDocTypeAlias(t)?function(r){return{diagnosticMessage:r.errorModuleName?e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:e.isJSDocTypeAlias(t)?e.Debug.checkDefined(t.typeExpression):t.type,typeName:e.isJSDocTypeAlias(t)?e.getNameOfDeclaration(t):t.name}}:e.Debug.assertNever(t,"Attempted to set a declaration diagnostic context for unhandled node kind: ".concat(e.SyntaxKind[t.kind]));function r(r){var n=function(r){return 253===t.kind||202===t.kind?r.errorModuleName?2===r.accessibility?e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1:166===t.kind||205===t.kind||165===t.kind||163===t.kind&&e.hasSyntacticModifier(t.parent,8)?e.isStatic(t)?r.errorModuleName?2===r.accessibility?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:256===t.parent.kind||163===t.kind?r.errorModuleName?2===r.accessibility?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:r.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1:void 0}(r);return void 0!==n?{diagnosticMessage:n,errorNode:t,typeName:t.name}:void 0}}e.canProduceDiagnostics=function(t){return e.isVariableDeclaration(t)||e.isPropertyDeclaration(t)||e.isPropertySignature(t)||e.isBindingElement(t)||e.isSetAccessor(t)||e.isGetAccessor(t)||e.isConstructSignatureDeclaration(t)||e.isCallSignatureDeclaration(t)||e.isMethodDeclaration(t)||e.isMethodSignature(t)||e.isFunctionDeclaration(t)||e.isParameter(t)||e.isTypeParameterDeclaration(t)||e.isExpressionWithTypeArguments(t)||e.isImportEqualsDeclaration(t)||e.isTypeAliasDeclaration(t)||e.isConstructorDeclaration(t)||e.isIndexSignatureDeclaration(t)||e.isPropertyAccessExpression(t)||e.isJSDocTypeAlias(t)},e.createGetSymbolAccessibilityDiagnosticForNodeName=function(r){return e.isSetAccessor(r)||e.isGetAccessor(r)?function(t){var n=function(t){return e.isStatic(r)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:256===r.parent.kind?t.errorModuleName?2===t.accessibility?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:t.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}(t);return void 0!==n?{diagnosticMessage:n,errorNode:r,typeName:r.name}:void 0}:e.isMethodSignature(r)||e.isMethodDeclaration(r)?function(t){var n=function(t){return e.isStatic(r)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:256===r.parent.kind?t.errorModuleName?2===t.accessibility?e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1:t.errorModuleName?e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}(t);return void 0!==n?{diagnosticMessage:n,errorNode:r,typeName:r.name}:void 0}:t(r)},e.createGetSymbolAccessibilityDiagnosticForNode=t}(n||(n={})),function(e){function t(t,r){var n=r.text.substring(t.pos,t.end);return e.stringContains(n,"@internal")}function r(r,n){var i=e.getParseTreeNode(r);if(i&&163===i.kind){var a=i.parent.parameters.indexOf(i),o=a>0?i.parent.parameters[a-1]:void 0,s=n.text,c=o?e.concatenate(e.getTrailingCommentRanges(s,e.skipTrivia(s,o.end+1,!1,!0)),e.getLeadingCommentRanges(s,r.pos)):e.getTrailingCommentRanges(s,e.skipTrivia(s,r.pos,!1,!0));return c&&c.length&&t(e.last(c),n)}var u=i&&e.getLeadingCommentRangesOfNode(i,n);return!!e.forEach(u,(function(e){return t(e,n)}))}e.getDeclarationDiagnostics=function(t,r,n){var a=t.getCompilerOptions();return e.transformNodes(r,t,e.factory,a,n?[n]:e.filter(t.getSourceFiles(),e.isSourceFileNotJson),[i],!1).diagnostics},e.isInternalDeclaration=r;var n=531469;function i(t){var i,c,u,l,p,d,f,_,m,g,h,y,v=function(){return e.Debug.fail("Diagnostic emitted without context")},D=v,b=!0,x=!1,E=!1,S=!1,C=!1,T=t.factory,k=t.getEmitHost(),A={trackSymbol:function(e,t,r){if(262144&e.flags)return!1;var n=O(N.isSymbolAccessible(e,t,r,!0));return I(N.getTypeReferenceDirectivesForSymbol(e,r)),n},reportInaccessibleThisError:function(){(f||_)&&t.addDiagnostic(e.createDiagnosticForNode(f||_,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,L(),"this"))},reportInaccessibleUniqueSymbolError:function(){(f||_)&&t.addDiagnostic(e.createDiagnosticForNode(f||_,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,L(),"unique symbol"))},reportCyclicStructureError:function(){(f||_)&&t.addDiagnostic(e.createDiagnosticForNode(f||_,e.Diagnostics.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,L()))},reportPrivateInBaseOfClassExpression:function(r){(f||_)&&t.addDiagnostic(e.createDiagnosticForNode(f||_,e.Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected,r))},reportLikelyUnsafeImportRequiredError:function(r){(f||_)&&t.addDiagnostic(e.createDiagnosticForNode(f||_,e.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,L(),r))},reportTruncationError:function(){(f||_)&&t.addDiagnostic(e.createDiagnosticForNode(f||_,e.Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))},moduleResolverHost:k,trackReferencedAmbientModule:function(t,r){var n=N.getTypeReferenceDirectivesForSymbol(r,67108863);if(e.length(n))return I(n);var i=e.getSourceFileOfNode(t);g.set(e.getOriginalNodeId(i),i)},trackExternalModuleSymbolOfImportTypeNode:function(e){x||(d||(d=[])).push(e)},reportNonlocalAugmentation:function(r,n,i){var a,o=null===(a=n.declarations)||void 0===a?void 0:a.find((function(t){return e.getSourceFileOfNode(t)===r})),s=e.filter(i.declarations,(function(t){return e.getSourceFileOfNode(t)!==r}));if(s)for(var c=0,u=s;c<u.length;c++){var l=u[c];t.addDiagnostic(e.addRelatedInfo(e.createDiagnosticForNode(l,e.Diagnostics.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),e.createDiagnosticForNode(o,e.Diagnostics.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}},reportNonSerializableProperty:function(r){(f||_)&&t.addDiagnostic(e.createDiagnosticForNode(f||_,e.Diagnostics.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,r))}},N=t.getEmitResolver(),P=t.getCompilerOptions(),F=P.noResolve,w=P.stripInternal;return function(r){if(303===r.kind&&r.isDeclarationFile)return r;if(304===r.kind){x=!0,g=new e.Map,h=new e.Map;var n=!1,o=T.createBundle(e.map(r.sourceFiles,(function(r){if(!r.isDeclarationFile){if(n=n||r.hasNoDefaultLib,m=r,i=r,u=void 0,p=!1,l=new e.Map,D=v,S=!1,C=!1,R(r,g),B(r,h),e.isExternalOrCommonJsModule(r)||e.isJsonSourceFile(r)){E=!1,b=!1;var a=e.isSourceFileJS(r)?T.createNodeArray(M(r,!0)):e.visitNodes(r.statements,te);return T.updateSourceFile(r,[T.createModuleDeclaration([],[T.createModifier(135)],T.createStringLiteral(e.getResolvedExternalModuleName(t.getEmitHost(),r)),T.createModuleBlock(e.setTextRange(T.createNodeArray(Z(a)),r.statements)))],!0,[],[],!1,[])}b=!0;var o=e.isSourceFileJS(r)?T.createNodeArray(M(r)):e.visitNodes(r.statements,te);return T.updateSourceFile(r,Z(o),!0,[],[],!1,[])}})),e.mapDefined(r.prepends,(function(t){if(306===t.kind){var r=e.createUnparsedSourceFile(t,"dts",w);return n=n||!!r.hasNoDefaultLib,R(r,g),I(r.typeReferenceDirectives),B(r,h),r}return t})));o.syntheticFileReferences=[],o.syntheticTypeReferences=j(),o.syntheticLibReferences=L(),o.hasNoDefaultLib=n;var s=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(r,k,!0).declarationFilePath)),f=J(o.syntheticFileReferences,s);return g.forEach(f),o}b=!0,S=!1,C=!1,i=r,m=r,D=v,x=!1,E=!1,p=!1,u=void 0,l=new e.Map,c=void 0,g=R(m,new e.Map),h=B(m,new e.Map);var _,A=[],N=J(A,e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(r,k,!0).declarationFilePath)));if(e.isSourceFileJS(m))_=T.createNodeArray(M(r)),g.forEach(N),y=e.filter(_,e.isAnyImportSyntax);else{var F=e.visitNodes(r.statements,te);_=e.setTextRange(T.createNodeArray(Z(F)),r.statements),g.forEach(N),y=e.filter(_,e.isAnyImportSyntax),e.isExternalModule(r)&&(!E||S&&!C)&&(_=e.setTextRange(T.createNodeArray(a(a([],_,!0),[e.createEmptyExports(T)],!1)),_))}var O=T.updateSourceFile(r,_,!0,A,j(),r.hasNoDefaultLib,L());return O.exportedModulesFromDeclarationEmit=d,O;function L(){return e.map(e.arrayFrom(h.keys()),(function(e){return{fileName:e,pos:-1,end:-1}}))}function j(){return c?e.mapDefined(e.arrayFrom(c.keys()),K):[]}function K(t){if(y)for(var r=0,n=y;r<n.length;r++){var i=n[r];if(e.isImportEqualsDeclaration(i)&&e.isExternalModuleReference(i.moduleReference)){var a=i.moduleReference.expression;if(e.isStringLiteralLike(a)&&a.text===t)return}else if(e.isImportDeclaration(i)&&e.isStringLiteral(i.moduleSpecifier)&&i.moduleSpecifier.text===t)return}return{fileName:t,pos:-1,end:-1}}function J(t,n){return function(i){var a;if(i.isDeclarationFile)a=i.fileName;else{if(x&&e.contains(r.sourceFiles,i))return;var o=e.getOutputPathsFor(i,k,!0);a=o.declarationFilePath||o.jsFilePath||i.fileName}if(a){var s=e.moduleSpecifiers.getModuleSpecifier(P,m,e.toPath(n,k.getCurrentDirectory(),k.getCanonicalFileName),e.toPath(a,k.getCurrentDirectory(),k.getCanonicalFileName),k);if(!e.pathIsRelative(s))return void I([s]);var c=e.getRelativePathToDirectoryOrUrl(n,a,k.getCurrentDirectory(),k.getCanonicalFileName,!1);if(e.startsWith(c,"./")&&e.hasExtension(c)&&(c=c.substring(2)),e.startsWith(c,"node_modules/")||e.pathContainsNodeModules(c))return;t.push({pos:-1,end:-1,fileName:c})}}}};function I(t){if(t){c=c||new e.Set;for(var r=0,n=t;r<n.length;r++){var i=n[r];c.add(i)}}}function O(r){if(0===r.accessibility){if(r&&r.aliasesToMakeVisible)if(u)for(var n=0,i=r.aliasesToMakeVisible;n<i.length;n++){var a=i[n];e.pushIfUnique(u,a)}else u=r.aliasesToMakeVisible}else{var o=D(r);if(o)return o.typeName?t.addDiagnostic(e.createDiagnosticForNode(r.errorNode||o.errorNode,o.diagnosticMessage,e.getTextOfNode(o.typeName),r.errorSymbolName,r.errorModuleName)):t.addDiagnostic(e.createDiagnosticForNode(r.errorNode||o.errorNode,o.diagnosticMessage,r.errorSymbolName,r.errorModuleName)),!0}return!1}function L(){return f?e.declarationNameToString(f):_&&e.getNameOfDeclaration(_)?e.declarationNameToString(e.getNameOfDeclaration(_)):_&&e.isExportAssignment(_)?_.isExportEquals?"export=":"default":"(Missing)"}function M(t,r){var i=D;D=function(r){return r.errorNode&&e.canProduceDiagnostics(r.errorNode)?e.createGetSymbolAccessibilityDiagnosticForNode(r.errorNode)(r):{diagnosticMessage:r.errorModuleName?e.Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:e.Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:r.errorNode||t}};var a=N.getDeclarationStatementsForSourceFile(t,n,A,r);return D=i,a}function R(t,r){return F||!e.isUnparsedSource(t)&&e.isSourceFileJS(t)||e.forEach(t.referencedFiles,(function(n){var i=k.getSourceFileFromReference(t,n);i&&r.set(e.getOriginalNodeId(i),i)})),r}function B(t,r){return e.forEach(t.libReferenceDirectives,(function(t){k.getLibFileFromReference(t)&&r.set(e.toFileNameLowerCase(t.fileName),!0)})),r}function j(t){return 79===t.kind?t:201===t.kind?T.updateArrayBindingPattern(t,e.visitNodes(t.elements,r)):T.updateObjectBindingPattern(t,e.visitNodes(t.elements,r));function r(e){return 226===e.kind?e:T.updateBindingElement(e,e.dotDotDotToken,e.propertyName,j(e.name),J(e)?e.initializer:void 0)}}function K(t,r,n){var i;p||(i=D,D=e.createGetSymbolAccessibilityDiagnosticForNode(t));var a=T.updateParameterDeclaration(t,void 0,function(t,r,n){return e.factory.createModifiersFromModifierFlags(o(t,r,n))}(t,r),t.dotDotDotToken,j(t.name),N.isOptionalParameter(t)?t.questionToken||T.createToken(57):void 0,q(t,n||t.type,!0),U(t));return p||(D=i),a}function J(t){return function(t){switch(t.kind){case 166:case 165:return!e.hasEffectiveModifier(t,8);case 163:case 253:return!0}return!1}(t)&&N.isLiteralConstDeclaration(e.getParseTreeNode(t))}function U(t){if(J(t))return N.createLiteralConstValue(e.getParseTreeNode(t),A)}function q(t,r,a){if(!(!a&&e.hasEffectiveModifier(t,8)||J(t))){var o,s=163===t.kind&&(N.isRequiredInitializedParameter(t)||N.isOptionalUninitializedParameterProperty(t));return r&&!s?e.visitNode(r,ee):e.getParseTreeNode(t)?172===t.kind?T.createKeywordTypeNode(130):(f=t.name,p||(o=D,D=e.createGetSymbolAccessibilityDiagnosticForNode(t)),253===t.kind||202===t.kind?c(N.createTypeOfDeclaration(t,i,n,A)):163===t.kind||166===t.kind||165===t.kind?t.initializer?c(N.createTypeOfDeclaration(t,i,n,A,s)||N.createTypeOfExpression(t.initializer,i,n,A)):c(N.createTypeOfDeclaration(t,i,n,A,s)):c(N.createReturnTypeOfSignatureDeclaration(t,i,n,A))):r?e.visitNode(r,ee):T.createKeywordTypeNode(130)}function c(e){return f=void 0,p||(D=o),e||T.createKeywordTypeNode(130)}}function V(t){switch((t=e.getParseTreeNode(t)).kind){case 255:case 260:case 257:case 256:case 258:case 259:return!N.isDeclarationVisible(t);case 253:return!z(t);case 264:case 265:case 271:case 270:return!1;case 169:return!0}return!1}function z(t){return!e.isOmittedExpression(t)&&(e.isBindingPattern(t.name)?e.some(t.name.elements,z):N.isDeclarationVisible(t))}function W(t,r,n){if(!e.hasEffectiveModifier(t,8)){var i=e.map(r,(function(e){return K(e,n)}));if(i)return T.createNodeArray(i,r.hasTrailingComma)}}function H(t,r){var n;if(!r){var i=e.getThisParameter(t);i&&(n=[K(i)])}if(e.isSetAccessorDeclaration(t)){var a=void 0;if(!r){var o=e.getSetAccessorValueParameter(t);o&&(a=K(o,void 0,ce(t,N.getAllAccessorDeclarations(t))))}a||(a=T.createParameterDeclaration(void 0,void 0,void 0,"value")),n=e.append(n,a)}return T.createNodeArray(n||e.emptyArray)}function G(t,r){return e.hasEffectiveModifier(t,8)?void 0:e.visitNodes(r,ee)}function $(t){return e.isSourceFile(t)||e.isTypeAliasDeclaration(t)||e.isModuleDeclaration(t)||e.isClassDeclaration(t)||e.isInterfaceDeclaration(t)||e.isFunctionLike(t)||e.isIndexSignatureDeclaration(t)||e.isMappedTypeNode(t)}function Y(e,t){O(N.isEntityNameVisible(e,t)),I(N.getTypeReferenceDirectivesForEntityName(e))}function X(t,r){return e.hasJSDocNodes(t)&&e.hasJSDocNodes(r)&&(t.jsDoc=r.jsDoc),e.setCommentRange(t,e.getCommentRange(r))}function Q(r,n){if(n){if(E=E||260!==r.kind&&199!==r.kind,e.isStringLiteralLike(n))if(x){var i=e.getExternalModuleNameFromDeclaration(t.getEmitHost(),N,r);if(i)return T.createStringLiteral(i)}else{var a=N.getSymbolOfExternalModuleSpecifier(n);a&&(d||(d=[])).push(a)}return n}}function Z(t){for(;e.length(u);){var r=u.shift();if(!e.isLateVisibilityPaintedStatement(r))return e.Debug.fail("Late replaced statement was found which is not handled by the declaration transformer!: ".concat(e.SyntaxKind?e.SyntaxKind[r.kind]:r.kind));var n=b;b=r.parent&&e.isSourceFile(r.parent)&&!(e.isExternalModule(r.parent)&&x);var i=ne(r);b=n,l.set(e.getOriginalNodeId(r),i)}return e.visitNodes(t,(function(t){if(e.isLateVisibilityPaintedStatement(t)){var r=e.getOriginalNodeId(t);if(l.has(r)){var n=l.get(r);return l.delete(r),n&&((e.isArray(n)?e.some(n,e.needsScopeMarker):e.needsScopeMarker(n))&&(S=!0),e.isSourceFile(t.parent)&&(e.isArray(n)?e.some(n,e.isExternalModuleIndicator):e.isExternalModuleIndicator(n))&&(E=!0)),n}}return t}))}function ee(r){if(!(ae(r)||e.isDeclaration(r)&&(V(r)||e.hasDynamicName(r)&&!N.isLateBound(e.getParseTreeNode(r)))||e.isFunctionLike(r)&&N.isImplementationOfOverload(r)||e.isSemicolonClassElement(r))){var n;$(r)&&(n=i,i=r);var a=D,o=e.canProduceDiagnostics(r),s=p,c=(181===r.kind||194===r.kind)&&258!==r.parent.kind;if((e.isMethodDeclaration(r)||e.isMethodSignature(r))&&e.hasEffectiveModifier(r,8))return r.symbol&&r.symbol.declarations&&r.symbol.declarations[0]!==r?void 0:v(T.createPropertyDeclaration(void 0,se(r),r.name,void 0,void 0,void 0));if(o&&!p&&(D=e.createGetSymbolAccessibilityDiagnosticForNode(r)),e.isTypeQueryNode(r)&&Y(r.exprName,i),c&&(p=!0),function(e){switch(e.kind){case 174:case 170:case 168:case 171:case 172:case 166:case 165:case 167:case 173:case 175:case 253:case 162:case 227:case 177:case 188:case 178:case 179:case 199:return!0}return!1}(r))switch(r.kind){case 227:(e.isEntityName(r.expression)||e.isEntityNameExpression(r.expression))&&Y(r.expression,i);var u=e.visitEachChild(r,ee,t);return v(T.updateExpressionWithTypeArguments(u,u.expression,u.typeArguments));case 177:return Y(r.typeName,i),u=e.visitEachChild(r,ee,t),v(T.updateTypeReferenceNode(u,u.typeName,u.typeArguments));case 174:return v(T.updateConstructSignature(r,G(r,r.typeParameters),W(r,r.parameters),q(r,r.type)));case 170:return v(T.createConstructorDeclaration(void 0,se(r),W(r,r.parameters,0),void 0));case 168:return e.isPrivateIdentifier(r.name)?v(void 0):v(T.createMethodDeclaration(void 0,se(r),void 0,r.name,r.questionToken,G(r,r.typeParameters),W(r,r.parameters),q(r,r.type),void 0));case 171:if(e.isPrivateIdentifier(r.name))return v(void 0);var l=ce(r,N.getAllAccessorDeclarations(r));return v(T.updateGetAccessorDeclaration(r,void 0,se(r),r.name,H(r,e.hasEffectiveModifier(r,8)),q(r,l),void 0));case 172:return e.isPrivateIdentifier(r.name)?v(void 0):v(T.updateSetAccessorDeclaration(r,void 0,se(r),r.name,H(r,e.hasEffectiveModifier(r,8)),void 0));case 166:return e.isPrivateIdentifier(r.name)?v(void 0):v(T.updatePropertyDeclaration(r,void 0,se(r),r.name,r.questionToken,q(r,r.type),U(r)));case 165:return e.isPrivateIdentifier(r.name)?v(void 0):v(T.updatePropertySignature(r,se(r),r.name,r.questionToken,q(r,r.type)));case 167:return e.isPrivateIdentifier(r.name)?v(void 0):v(T.updateMethodSignature(r,se(r),r.name,r.questionToken,G(r,r.typeParameters),W(r,r.parameters),q(r,r.type)));case 173:return v(T.updateCallSignature(r,G(r,r.typeParameters),W(r,r.parameters),q(r,r.type)));case 175:return v(T.updateIndexSignature(r,void 0,se(r),W(r,r.parameters),e.visitNode(r.type,ee)||T.createKeywordTypeNode(130)));case 253:return e.isBindingPattern(r.name)?ie(r.name):(c=!0,p=!0,v(T.updateVariableDeclaration(r,r.name,void 0,q(r,r.type),U(r))));case 162:return function(t){return 168===t.parent.kind&&e.hasEffectiveModifier(t.parent,8)}(r)&&(r.default||r.constraint)?v(T.updateTypeParameterDeclaration(r,r.name,void 0,void 0)):v(e.visitEachChild(r,ee,t));case 188:var d=e.visitNode(r.checkType,ee),_=e.visitNode(r.extendsType,ee),g=i;i=r.trueType;var h=e.visitNode(r.trueType,ee);i=g;var y=e.visitNode(r.falseType,ee);return v(T.updateConditionalTypeNode(r,d,_,h,y));case 178:return v(T.updateFunctionTypeNode(r,e.visitNodes(r.typeParameters,ee),W(r,r.parameters),e.visitNode(r.type,ee)));case 179:return v(T.updateConstructorTypeNode(r,se(r),e.visitNodes(r.typeParameters,ee),W(r,r.parameters),e.visitNode(r.type,ee)));case 199:return e.isLiteralImportTypeNode(r)?v(T.updateImportTypeNode(r,T.updateLiteralTypeNode(r.argument,Q(r,r.argument.literal)),r.qualifier,e.visitNodes(r.typeArguments,ee,e.isTypeNode),r.isTypeOf)):v(r);default:e.Debug.assertNever(r,"Attempted to process unhandled node kind: ".concat(e.SyntaxKind[r.kind]))}return e.isTupleTypeNode(r)&&e.getLineAndCharacterOfPosition(m,r.pos).line===e.getLineAndCharacterOfPosition(m,r.end).line&&e.setEmitFlags(r,1),v(e.visitEachChild(r,ee,t))}function v(t){return t&&o&&e.hasDynamicName(r)&&function(t){var r;p||(r=D,D=e.createGetSymbolAccessibilityDiagnosticForNodeName(t)),f=t.name,e.Debug.assert(N.isLateBound(e.getParseTreeNode(t))),Y(t.name.expression,i),p||(D=r),f=void 0}(r),$(r)&&(i=n),o&&!p&&(D=a),c&&(p=s),t===r?t:t&&e.setOriginalNode(X(t,r),r)}}function te(t){if(function(e){switch(e.kind){case 255:case 260:case 264:case 257:case 256:case 258:case 259:case 236:case 265:case 271:case 270:return!0}return!1}(t)&&!ae(t)){switch(t.kind){case 271:return e.isSourceFile(t.parent)&&(E=!0),C=!0,T.updateExportDeclaration(t,void 0,t.modifiers,t.isTypeOnly,t.exportClause,Q(t,t.moduleSpecifier),void 0);case 270:if(e.isSourceFile(t.parent)&&(E=!0),C=!0,79===t.expression.kind)return t;var r=T.createUniqueName("_default",16);D=function(){return{diagnosticMessage:e.Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:t}},_=t;var i=T.createVariableDeclaration(r,void 0,N.createTypeOfExpression(t.expression,t,n,A),void 0);return _=void 0,[T.createVariableStatement(b?[T.createModifier(135)]:[],T.createVariableDeclarationList([i],2)),T.updateExportAssignment(t,t.decorators,t.modifiers,r)]}var a=ne(t);return l.set(e.getOriginalNodeId(t),a),t}}function re(t){if(e.isImportEqualsDeclaration(t)||e.hasEffectiveModifier(t,512)||!e.canHaveModifiers(t))return t;var r=T.createModifiersFromModifierFlags(27646&e.getEffectiveModifierFlags(t));return T.updateModifiers(t,r)}function ne(t){if(!ae(t)){switch(t.kind){case 264:return function(t){if(N.isDeclarationVisible(t)){if(276===t.moduleReference.kind){var r=e.getExternalModuleImportEqualsDeclarationExpression(t);return T.updateImportEqualsDeclaration(t,void 0,t.modifiers,t.isTypeOnly,t.name,T.updateExternalModuleReference(t.moduleReference,Q(t,r)))}var n=D;return D=e.createGetSymbolAccessibilityDiagnosticForNode(t),Y(t.moduleReference,i),D=n,t}}(t);case 265:return function(t){if(!t.importClause)return T.updateImportDeclaration(t,void 0,t.modifiers,t.importClause,Q(t,t.moduleSpecifier),void 0);var r=t.importClause&&t.importClause.name&&N.isDeclarationVisible(t.importClause)?t.importClause.name:void 0;if(!t.importClause.namedBindings)return r&&T.updateImportDeclaration(t,void 0,t.modifiers,T.updateImportClause(t.importClause,t.importClause.isTypeOnly,r,void 0),Q(t,t.moduleSpecifier),void 0);if(267===t.importClause.namedBindings.kind){var n=N.isDeclarationVisible(t.importClause.namedBindings)?t.importClause.namedBindings:void 0;return r||n?T.updateImportDeclaration(t,void 0,t.modifiers,T.updateImportClause(t.importClause,t.importClause.isTypeOnly,r,n),Q(t,t.moduleSpecifier),void 0):void 0}var i=e.mapDefined(t.importClause.namedBindings.elements,(function(e){return N.isDeclarationVisible(e)?e:void 0}));return i&&i.length||r?T.updateImportDeclaration(t,void 0,t.modifiers,T.updateImportClause(t.importClause,t.importClause.isTypeOnly,r,i&&i.length?T.updateNamedImports(t.importClause.namedBindings,i):void 0),Q(t,t.moduleSpecifier),void 0):N.isImportRequiredByAugmentation(t)?T.updateImportDeclaration(t,void 0,t.modifiers,void 0,Q(t,t.moduleSpecifier),void 0):void 0}(t)}if(!(e.isDeclaration(t)&&V(t)||e.isFunctionLike(t)&&N.isImplementationOfOverload(t))){var r;$(t)&&(r=i,i=t);var o=e.canProduceDiagnostics(t),s=D;o&&(D=e.createGetSymbolAccessibilityDiagnosticForNode(t));var c=b;switch(t.kind){case 258:return _e(T.updateTypeAliasDeclaration(t,void 0,se(t),t.name,e.visitNodes(t.typeParameters,ee,e.isTypeParameterDeclaration),e.visitNode(t.type,ee,e.isTypeNode)));case 257:return _e(T.updateInterfaceDeclaration(t,void 0,se(t),t.name,G(t,t.typeParameters),ue(t.heritageClauses),e.visitNodes(t.members,ee)));case 255:var u=_e(T.updateFunctionDeclaration(t,void 0,se(t),void 0,t.name,G(t,t.typeParameters),W(t,t.parameters),q(t,t.type),void 0));if(u&&N.isExpandoFunctionDeclaration(t)&&function(t){var r;if(t.body)return!0;var n=null===(r=t.symbol.declarations)||void 0===r?void 0:r.filter((function(t){return e.isFunctionDeclaration(t)&&!t.body}));return!n||n.indexOf(t)===n.length-1}(t)){var p=N.getPropertiesOfContainerFunction(t),d=e.parseNodeFactory.createModuleDeclaration(void 0,void 0,u.name||T.createIdentifier("_default"),T.createModuleBlock([]),16);e.setParent(d,i),d.locals=e.createSymbolTable(p),d.symbol=p[0].parent;var m=[],g=e.mapDefined(p,(function(t){if(t.valueDeclaration&&e.isPropertyAccessExpression(t.valueDeclaration)){D=e.createGetSymbolAccessibilityDiagnosticForNode(t.valueDeclaration);var r=N.createTypeOfDeclaration(t.valueDeclaration,d,n,A);D=s;var i=e.unescapeLeadingUnderscores(t.escapedName),a=e.isStringANonContextualKeyword(i),o=a?T.getGeneratedNameForNode(t.valueDeclaration):T.createIdentifier(i);a&&m.push([o,i]);var c=T.createVariableDeclaration(o,void 0,r,void 0);return T.createVariableStatement(a?void 0:[T.createToken(93)],T.createVariableDeclarationList([c]))}}));m.length?g.push(T.createExportDeclaration(void 0,void 0,!1,T.createNamedExports(e.map(m,(function(e){var t=e[0],r=e[1];return T.createExportSpecifier(!1,t,r)}))))):g=e.mapDefined(g,(function(e){return T.updateModifiers(e,0)}));var h=T.createModuleDeclaration(void 0,se(t),t.name,T.createModuleBlock(g),16);if(!e.hasEffectiveModifier(u,512))return[u,h];var y=T.createModifiersFromModifierFlags(-514&e.getEffectiveModifierFlags(u)|2),v=T.updateFunctionDeclaration(u,void 0,y,void 0,u.name,u.typeParameters,u.parameters,u.type,void 0),x=T.updateModuleDeclaration(h,void 0,y,h.name,h.body),k=T.createExportAssignment(void 0,void 0,!1,h.name);return e.isSourceFile(t.parent)&&(E=!0),C=!0,[v,x,k]}return u;case 260:b=!1;var P=t.body;if(P&&261===P.kind){var F=S,w=C;C=!1,S=!1;var I=Z(e.visitNodes(P.statements,te));8388608&t.flags&&(S=!1),!e.isGlobalScopeAugmentation(t)&&!function(t){return e.some(t,oe)}(I)&&!C&&(I=S?T.createNodeArray(a(a([],I,!0),[e.createEmptyExports(T)],!1)):e.visitNodes(I,re));var O=T.updateModuleBlock(P,I);b=c,S=F,C=w;var L=se(t);return _e(T.updateModuleDeclaration(t,void 0,L,e.isExternalModuleAugmentation(t)?Q(t,t.name):t.name,O))}b=c,L=se(t),b=!1,e.visitNode(P,te);var M=e.getOriginalNodeId(P);return O=l.get(M),l.delete(M),_e(T.updateModuleDeclaration(t,void 0,L,t.name,O));case 256:f=t.name,_=t,y=T.createNodeArray(se(t));var R=G(t,t.typeParameters),B=e.getFirstConstructorWithBody(t),j=void 0;if(B){var K=D;j=e.compact(e.flatMap(B.parameters,(function(t){if(e.hasSyntacticModifier(t,16476)&&!ae(t))return D=e.createGetSymbolAccessibilityDiagnosticForNode(t),79===t.name.kind?X(T.createPropertyDeclaration(void 0,se(t),t.name,t.questionToken,q(t,t.type),U(t)),t):function r(n){for(var i,a=0,o=n.elements;a<o.length;a++){var s=o[a];e.isOmittedExpression(s)||(e.isBindingPattern(s.name)&&(i=e.concatenate(i,r(s.name))),(i=i||[]).push(T.createPropertyDeclaration(void 0,se(t),s.name,void 0,q(s,void 0),void 0)))}return i}(t.name)}))),D=K}var J=e.some(t.members,(function(t){return!!t.name&&e.isPrivateIdentifier(t.name)}))?[T.createPropertyDeclaration(void 0,void 0,T.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,H=e.concatenate(e.concatenate(J,j),e.visitNodes(t.members,ee)),ne=T.createNodeArray(H),ie=e.getEffectiveBaseTypeNode(t);if(ie&&!e.isEntityNameExpression(ie.expression)&&104!==ie.expression.kind){var ce=t.name?e.unescapeLeadingUnderscores(t.name.escapedText):"default",le=T.createUniqueName("".concat(ce,"_base"),16);D=function(){return{diagnosticMessage:e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:ie,typeName:t.name}};var pe=T.createVariableDeclaration(le,void 0,N.createTypeOfExpression(ie.expression,t,n,A),void 0),de=T.createVariableStatement(b?[T.createModifier(135)]:[],T.createVariableDeclarationList([pe],2)),fe=T.createNodeArray(e.map(t.heritageClauses,(function(t){if(94===t.token){var r=D;D=e.createGetSymbolAccessibilityDiagnosticForNode(t.types[0]);var n=T.updateHeritageClause(t,e.map(t.types,(function(t){return T.updateExpressionWithTypeArguments(t,le,e.visitNodes(t.typeArguments,ee))})));return D=r,n}return T.updateHeritageClause(t,e.visitNodes(T.createNodeArray(e.filter(t.types,(function(t){return e.isEntityNameExpression(t.expression)||104===t.expression.kind}))),ee))})));return[de,_e(T.updateClassDeclaration(t,void 0,y,t.name,R,fe,ne))]}return fe=ue(t.heritageClauses),_e(T.updateClassDeclaration(t,void 0,y,t.name,R,fe,ne));case 236:return _e(function(t){if(e.forEach(t.declarationList.declarations,z)){var r=e.visitNodes(t.declarationList.declarations,ee);if(e.length(r))return T.updateVariableStatement(t,T.createNodeArray(se(t)),T.updateVariableDeclarationList(t.declarationList,r))}}(t));case 259:return _e(T.updateEnumDeclaration(t,void 0,T.createNodeArray(se(t)),t.name,T.createNodeArray(e.mapDefined(t.members,(function(e){if(!ae(e)){var t=N.getConstantValue(e);return X(T.updateEnumMember(e,e.name,void 0!==t?"string"==typeof t?T.createStringLiteral(t):T.createNumericLiteral(t):void 0),e)}})))))}return e.Debug.assertNever(t,"Unhandled top-level node in declaration emit: ".concat(e.SyntaxKind[t.kind]))}}function _e(n){return $(t)&&(i=r),o&&(D=s),260===t.kind&&(b=c),n===t?n:(_=void 0,f=void 0,n&&e.setOriginalNode(X(n,t),t))}}function ie(t){return e.flatten(e.mapDefined(t.elements,(function(t){return function(t){if(226!==t.kind&&t.name)return z(t)?e.isBindingPattern(t.name)?ie(t.name):T.createVariableDeclaration(t.name,void 0,q(t,void 0),void 0):void 0}(t)})))}function ae(e){return!!w&&!!e&&r(e,m)}function oe(t){return e.isExportAssignment(t)||e.isExportDeclaration(t)}function se(t){var r=e.getEffectiveModifierFlags(t),n=function(t){var r=11003,n=b&&!function(e){return 257===e.kind}(t)?2:0,i=303===t.parent.kind;return(!i||x&&i&&e.isExternalModule(t.parent))&&(r^=2,n=0),o(t,r,n)}(t);return r===n?t.modifiers:T.createModifiersFromModifierFlags(n)}function ce(t,r){var n=s(t);return!n&&t!==r.firstAccessor&&(n=s(r.firstAccessor),D=e.createGetSymbolAccessibilityDiagnosticForNode(r.firstAccessor)),!n&&r.secondAccessor&&t!==r.secondAccessor&&(n=s(r.secondAccessor),D=e.createGetSymbolAccessibilityDiagnosticForNode(r.secondAccessor)),n}function ue(t){return T.createNodeArray(e.filter(e.map(t,(function(t){return T.updateHeritageClause(t,e.visitNodes(T.createNodeArray(e.filter(t.types,(function(r){return e.isEntityNameExpression(r.expression)||94===t.token&&104===r.expression.kind}))),ee))})),(function(e){return e.types&&!!e.types.length})))}}function o(t,r,n){void 0===r&&(r=27643),void 0===n&&(n=0);var i=e.getEffectiveModifierFlags(t)&r|n;return 512&i&&!(1&i)&&(i^=1),512&i&&2&i&&(i^=2),i}function s(e){if(e)return 171===e.kind?e.type:e.parameters.length>0?e.parameters[0].type:void 0}e.transformDeclarations=i}(n||(n={})),function(e){var t,r,n;function i(t,r,n){if(n)return e.emptyArray;var i=e.getEmitScriptTarget(t),a=e.getEmitModuleKind(t),o=[];return e.addRange(o,r&&e.map(r.before,c)),o.push(e.transformTypeScript),o.push(e.transformClassFields),e.getJSXTransformEnabled(t)&&o.push(e.transformJsx),i<99&&o.push(e.transformESNext),i<8&&o.push(e.transformES2021),i<7&&o.push(e.transformES2020),i<6&&o.push(e.transformES2019),i<5&&o.push(e.transformES2018),i<4&&o.push(e.transformES2017),i<3&&o.push(e.transformES2016),i<2&&(o.push(e.transformES2015),o.push(e.transformGenerators)),o.push(function(t){switch(t){case e.ModuleKind.ESNext:case e.ModuleKind.ES2022:case e.ModuleKind.ES2020:case e.ModuleKind.ES2015:return e.transformECMAScriptModule;case e.ModuleKind.System:return e.transformSystemModule;case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return e.transformNodeModule;default:return e.transformModule}}(a)),i<1&&o.push(e.transformES5),e.addRange(o,r&&e.map(r.after,c)),o}function o(t){var r=[];return r.push(e.transformDeclarations),e.addRange(r,t&&e.map(t.afterDeclarations,u)),r}function s(t,r){return function(n){var i=t(n);return"function"==typeof i?r(n,i):function(t){return function(r){return e.isBundle(r)?t.transformBundle(r):t.transformSourceFile(r)}}(i)}}function c(t){return s(t,e.chainBundle)}function u(e){return s(e,(function(e,t){return t}))}function l(e,t){return t}function p(e,t,r){r(e,t)}(r=t||(t={}))[r.Uninitialized=0]="Uninitialized",r[r.Initialized=1]="Initialized",r[r.Completed=2]="Completed",r[r.Disposed=3]="Disposed",function(e){e[e.Substitution=1]="Substitution",e[e.EmitNotifications=2]="EmitNotifications"}(n||(n={})),e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray},e.getTransformers=function(e,t,r){return{scriptTransformers:i(e,t,r),declarationTransformers:o(t)}},e.noEmitSubstitution=l,e.noEmitNotification=p,e.transformNodes=function(t,r,n,i,o,s,c){for(var u,d,f,_,m,g=new Array(353),h=0,y=[],v=[],D=[],b=[],x=0,E=!1,S=[],C=0,T=l,k=p,A=0,N=[],P={factory:n,getCompilerOptions:function(){return i},getEmitResolver:function(){return t},getEmitHost:function(){return r},getEmitHelperFactory:e.memoize((function(){return e.createEmitHelperFactory(P)})),startLexicalEnvironment:function(){e.Debug.assert(A>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(A<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!E,"Lexical environment is suspended."),y[x]=u,v[x]=d,D[x]=f,b[x]=h,x++,u=void 0,d=void 0,f=void 0,h=0},suspendLexicalEnvironment:function(){e.Debug.assert(A>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(A<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!E,"Lexical environment is already suspended."),E=!0},resumeLexicalEnvironment:function(){e.Debug.assert(A>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(A<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(E,"Lexical environment is not suspended."),E=!1},endLexicalEnvironment:function(){var t;if(e.Debug.assert(A>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(A<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!E,"Lexical environment is suspended."),u||d||f){if(d&&(t=a([],d,!0)),u){var r=n.createVariableStatement(void 0,n.createVariableDeclarationList(u));e.setEmitFlags(r,1048576),t?t.push(r):t=[r]}f&&(t=a(t?a([],t,!0):[],f,!0))}return x--,u=y[x],d=v[x],f=D[x],h=b[x],0===x&&(y=[],v=[],D=[],b=[]),t},setLexicalEnvironmentFlags:function(e,t){h=t?h|e:h&~e},getLexicalEnvironmentFlags:function(){return h},hoistVariableDeclaration:function(t){e.Debug.assert(A>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(A<2,"Cannot modify the lexical environment after transformation has completed.");var r=e.setEmitFlags(n.createVariableDeclaration(t),64);u?u.push(r):u=[r],1&h&&(h|=2)},hoistFunctionDeclaration:function(t){e.Debug.assert(A>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(A<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(t,1048576),d?d.push(t):d=[t]},addInitializationStatement:function(t){e.Debug.assert(A>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(A<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(t,1048576),f?f.push(t):f=[t]},startBlockScope:function(){e.Debug.assert(A>0,"Cannot start a block scope during initialization."),e.Debug.assert(A<2,"Cannot start a block scope after transformation has completed."),S[C]=_,C++,_=void 0},endBlockScope:function(){e.Debug.assert(A>0,"Cannot end a block scope during initialization."),e.Debug.assert(A<2,"Cannot end a block scope after transformation has completed.");var t=e.some(_)?[n.createVariableStatement(void 0,n.createVariableDeclarationList(_.map((function(e){return n.createVariableDeclaration(e)})),1))]:void 0;return C--,_=S[C],0===C&&(S=[]),t},addBlockScopedVariable:function(t){e.Debug.assert(C>0,"Cannot add a block scoped variable outside of an iteration body."),(_||(_=[])).push(t)},requestEmitHelper:function t(r){if(e.Debug.assert(A>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(A<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!r.scoped,"Cannot request a scoped emit helper."),r.dependencies)for(var n=0,i=r.dependencies;n<i.length;n++)t(i[n]);m=e.append(m,r)},readEmitHelpers:function(){e.Debug.assert(A>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(A<2,"Cannot modify the transformation context after transformation has completed.");var t=m;return m=void 0,t},enableSubstitution:function(t){e.Debug.assert(A<2,"Cannot modify the transformation context after transformation has completed."),g[t]|=1},enableEmitNotification:function(t){e.Debug.assert(A<2,"Cannot modify the transformation context after transformation has completed."),g[t]|=2},isSubstitutionEnabled:K,isEmitNotificationEnabled:J,get onSubstituteNode(){return T},set onSubstituteNode(t){e.Debug.assert(A<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==t,"Value must not be 'undefined'"),T=t},get onEmitNode(){return k},set onEmitNode(t){e.Debug.assert(A<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==t,"Value must not be 'undefined'"),k=t},addDiagnostic:function(e){N.push(e)}},F=0,w=o;F<w.length;F++){var I=w[F];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(I)))}e.performance.mark("beforeTransform");var O=s.map((function(e){return e(P)})),L=function(e){for(var t=0,r=O;t<r.length;t++)e=(0,r[t])(e);return e};A=1;for(var M=[],R=0,B=o;R<B.length;R++)I=B[R],null===e.tracing||void 0===e.tracing||e.tracing.push("emit","transformNodes",303===I.kind?{path:I.path}:{kind:I.kind,pos:I.pos,end:I.end}),M.push((c?L:j)(I)),null===e.tracing||void 0===e.tracing||e.tracing.pop();return A=2,e.performance.mark("afterTransform"),e.performance.measure("transformTime","beforeTransform","afterTransform"),{transformed:M,substituteNode:function(t,r){return e.Debug.assert(A<3,"Cannot substitute a node after the result is disposed."),r&&K(r)&&T(t,r)||r},emitNodeWithNotification:function(t,r,n){e.Debug.assert(A<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),r&&(J(r)?k(t,r,n):n(t,r))},isEmitNotificationEnabled:J,dispose:function(){if(A<3){for(var t=0,r=o;t<r.length;t++){var n=r[t];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(n)))}u=void 0,y=void 0,d=void 0,v=void 0,T=void 0,k=void 0,m=void 0,A=3}},diagnostics:N};function j(t){return!t||e.isSourceFile(t)&&t.isDeclarationFile?t:L(t)}function K(t){return 0!=(1&g[t.kind])&&0==(4&e.getEmitFlags(t))}function J(t){return 0!=(2&g[t.kind])||0!=(2&e.getEmitFlags(t))}},e.nullTransformationContext={factory:e.factory,getCompilerOptions:function(){return{}},getEmitResolver:e.notImplemented,getEmitHost:e.notImplemented,getEmitHelperFactory:e.notImplemented,startLexicalEnvironment:e.noop,resumeLexicalEnvironment:e.noop,suspendLexicalEnvironment:e.noop,endLexicalEnvironment:e.returnUndefined,setLexicalEnvironmentFlags:e.noop,getLexicalEnvironmentFlags:function(){return 0},hoistVariableDeclaration:e.noop,hoistFunctionDeclaration:e.noop,addInitializationStatement:e.noop,startBlockScope:e.noop,endBlockScope:e.returnUndefined,addBlockScopedVariable:e.noop,requestEmitHelper:e.noop,readEmitHelpers:e.notImplemented,enableSubstitution:e.noop,enableEmitNotification:e.noop,isSubstitutionEnabled:e.notImplemented,isEmitNotificationEnabled:e.notImplemented,onSubstituteNode:l,onEmitNode:p,addDiagnostic:e.noop}}(n||(n={})),function(e){var t,r,n,i=function(){var e=[];return e[1024]=["{","}"],e[2048]=["(",")"],e[4096]=["<",">"],e[8192]=["[","]"],e}();function o(t,r,n,i,a,o){void 0===i&&(i=!1);var c=e.isArray(n)?n:e.getSourceFilesToEmit(t,n,i),l=t.getCompilerOptions();if(e.outFile(l)){var p=t.getPrependNodes();if(c.length||p.length){var d=e.factory.createBundle(c,p);if(m=r(u(d,t,i),d))return m}}else{if(!a)for(var f=0,_=c;f<_.length;f++){var m,g=_[f];if(m=r(u(g,t,i),g))return m}if(o){var h=s(l);if(h)return r({buildInfoPath:h},void 0)}}}function s(t){var r=t.configFilePath;if(e.isIncrementalCompilation(t)){if(t.tsBuildInfoFile)return t.tsBuildInfoFile;var n,i=e.outFile(t);if(i)n=e.removeFileExtension(i);else{if(!r)return;var a=e.removeFileExtension(r);n=t.outDir?t.rootDir?e.resolvePath(t.outDir,e.getRelativePathFromDirectory(t.rootDir,a,!0)):e.combinePaths(t.outDir,e.getBaseFileName(a)):a}return n+".tsbuildinfo"}}function c(t,r){var n=e.outFile(t),i=t.emitDeclarationOnly?void 0:n,a=i&&l(i,t),o=r||e.getEmitDeclarations(t)?e.removeFileExtension(n)+".d.ts":void 0;return{jsFilePath:i,sourceMapFilePath:a,declarationFilePath:o,declarationMapPath:o&&e.getAreDeclarationMapsEnabled(t)?o+".map":void 0,buildInfoPath:s(t)}}function u(t,r,n){var i=r.getCompilerOptions();if(304===t.kind)return c(i,n);var a=e.getOwnEmitOutputFilePath(t.fileName,r,p(t.fileName,i)),o=e.isJsonSourceFile(t),s=o&&0===e.comparePaths(t.fileName,a,r.getCurrentDirectory(),!r.useCaseSensitiveFileNames()),u=i.emitDeclarationOnly||s?void 0:a,d=!u||e.isJsonSourceFile(t)?void 0:l(u,i),f=n||e.getEmitDeclarations(i)&&!o?e.getDeclarationEmitOutputFilePath(t.fileName,r):void 0;return{jsFilePath:u,sourceMapFilePath:d,declarationFilePath:f,declarationMapPath:f&&e.getAreDeclarationMapsEnabled(i)?f+".map":void 0,buildInfoPath:void 0}}function l(e,t){return t.sourceMap&&!t.inlineSourceMap?e+".map":void 0}function p(t,r){return e.fileExtensionIs(t,".json")?".json":1===r.jsx&&e.fileExtensionIsOneOf(t,[".jsx",".tsx"])?".jsx":e.fileExtensionIsOneOf(t,[".mts",".mjs"])?".mjs":e.fileExtensionIsOneOf(t,[".cts",".cjs"])?".cjs":".js"}function d(t,r,n,i,a){return i?e.resolvePath(i,e.getRelativePathFromDirectory(a?a():v(r,n),t,n)):t}function f(t,r,n,i){return e.changeExtension(d(t,r,n,r.options.declarationDir||r.options.outDir,i),e.getDeclarationEmitExtensionForPath(t))}function _(t,r,n,i){if(!r.options.emitDeclarationOnly){var a=e.fileExtensionIs(t,".json"),o=e.changeExtension(d(t,r,n,r.options.outDir,i),p(t,r.options));return a&&0===e.comparePaths(t,o,e.Debug.checkDefined(r.options.configFilePath),n)?void 0:o}}function m(){var t;return{addOutput:function(e){e&&(t||(t=[])).push(e)},getOutputs:function(){return t||e.emptyArray}}}function g(e,t){var r=c(e.options,!1),n=r.jsFilePath,i=r.sourceMapFilePath,a=r.declarationFilePath,o=r.declarationMapPath,s=r.buildInfoPath;t(n),t(i),t(a),t(o),t(s)}function h(t,r,n,i,a){if(!e.fileExtensionIs(r,".d.ts")){var o=_(r,t,n,a);if(i(o),!e.fileExtensionIs(r,".json")&&(o&&t.options.sourceMap&&i("".concat(o,".map")),e.getEmitDeclarations(t.options))){var s=f(r,t,n,a);i(s),t.options.declarationMap&&i("".concat(s,".map"))}}}function y(t,r,n,i,a){var o;return t.rootDir?(o=e.getNormalizedAbsolutePath(t.rootDir,n),null==a||a(t.rootDir)):t.composite&&t.configFilePath?(o=e.getDirectoryPath(e.normalizeSlashes(t.configFilePath)),null==a||a(o)):o=e.computeCommonSourceDirectoryOfFilenames(r(),n,i),o&&o[o.length-1]!==e.directorySeparator&&(o+=e.directorySeparator),o}function v(t,r){var n=t.options,i=t.fileNames;return y(n,(function(){return e.filter(i,(function(t){return!(n.noEmitForJsFiles&&e.fileExtensionIsOneOf(t,e.supportedJSExtensionsFlat)||e.fileExtensionIs(t,".d.ts"))}))}),e.getDirectoryPath(e.normalizeSlashes(e.Debug.checkDefined(n.configFilePath))),e.createGetCanonicalFileName(!r))}function D(t,r,n,i,a,s,c){var u,l,p=i.scriptTransformers,d=i.declarationTransformers,f=r.getCompilerOptions(),_=f.sourceMap||f.inlineSourceMap||e.getAreDeclarationMapsEnabled(f)?[]:void 0,m=f.listEmittedFiles?[]:void 0,g=e.createDiagnosticCollection(),h=e.getNewLineCharacter(f,(function(){return r.getNewLine()})),y=e.createTextWriter(h),v=e.performance.createTimer("printTime","beforePrint","afterPrint"),D=v.enter,x=v.exit,S=!1;return D(),o(r,(function(i,o){var s,_=i.jsFilePath,h=i.sourceMapFilePath,y=i.declarationFilePath,v=i.declarationMapPath,D=i.buildInfoPath;function x(t){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(s,t,r.getCanonicalFileName))}D&&o&&e.isBundle(o)&&(s=e.getDirectoryPath(e.getNormalizedAbsolutePath(D,r.getCurrentDirectory())),u={commonSourceDirectory:x(r.getCommonSourceDirectory()),sourceFiles:o.sourceFiles.map((function(t){return x(e.getNormalizedAbsolutePath(t.fileName,r.getCurrentDirectory()))}))}),null===e.tracing||void 0===e.tracing||e.tracing.push("emit","emitJsFileOrBundle",{jsFilePath:_}),function(n,i,o,s){if(n&&!a&&i){if(i&&r.isEmitBlocked(i)||f.noEmit)return void(S=!0);var c=e.transformNodes(t,r,e.factory,f,[n],p,!1),l=E({removeComments:f.removeComments,newLine:f.newLine,noEmitHelpers:f.noEmitHelpers,module:f.module,target:f.target,sourceMap:f.sourceMap,inlineSourceMap:f.inlineSourceMap,inlineSources:f.inlineSources,extendedDiagnostics:f.extendedDiagnostics,writeBundleFileInfo:!!u,relativeToBuildInfo:s},{hasGlobalName:t.hasGlobalName,onEmitNode:c.emitNodeWithNotification,isEmitNotificationEnabled:c.isEmitNotificationEnabled,substituteNode:c.substituteNode});e.Debug.assert(1===c.transformed.length,"Should only see one output from the transform"),T(i,o,c.transformed[0],l,f),c.dispose(),u&&(u.js=l.bundleFileInfo)}}(o,_,h,x),null===e.tracing||void 0===e.tracing||e.tracing.pop(),null===e.tracing||void 0===e.tracing||e.tracing.push("emit","emitDeclarationFileOrBundle",{declarationFilePath:y}),function(n,i,o,s){if(n){if(!i)return void((a||f.emitDeclarationOnly)&&(S=!0));var p=e.isSourceFile(n)?[n]:n.sourceFiles,_=c?p:e.filter(p,e.isSourceFileNotJson),m=e.outFile(f)?[e.factory.createBundle(_,e.isSourceFile(n)?void 0:n.prepends)]:_;a&&!e.getEmitDeclarations(f)&&_.forEach(C);var h=e.transformNodes(t,r,e.factory,f,m,d,!1);if(e.length(h.diagnostics))for(var y=0,v=h.diagnostics;y<v.length;y++){var D=v[y];g.add(D)}var b=E({removeComments:f.removeComments,newLine:f.newLine,noEmitHelpers:!0,module:f.module,target:f.target,sourceMap:f.sourceMap,inlineSourceMap:f.inlineSourceMap,extendedDiagnostics:f.extendedDiagnostics,onlyPrintJsDocStyle:!0,writeBundleFileInfo:!!u,recordInternalSection:!!u,relativeToBuildInfo:s},{hasGlobalName:t.hasGlobalName,onEmitNode:h.emitNodeWithNotification,isEmitNotificationEnabled:h.isEmitNotificationEnabled,substituteNode:h.substituteNode}),x=!!h.diagnostics&&!!h.diagnostics.length||!!r.isEmitBlocked(i)||!!f.noEmit;if(S=S||x,(!x||c)&&(e.Debug.assert(1===h.transformed.length,"Should only see one output from the decl transform"),T(i,o,h.transformed[0],b,{sourceMap:!c&&f.declarationMap,sourceRoot:f.sourceRoot,mapRoot:f.mapRoot,extendedDiagnostics:f.extendedDiagnostics}),c&&303===h.transformed[0].kind)){var k=h.transformed[0];l=k.exportedModulesFromDeclarationEmit}h.dispose(),u&&(u.dts=b.bundleFileInfo)}}(o,y,v,x),null===e.tracing||void 0===e.tracing||e.tracing.pop(),null===e.tracing||void 0===e.tracing||e.tracing.push("emit","emitBuildInfo",{buildInfoPath:D}),function(t,i){if(i&&!n&&!S){var a=r.getProgramBuildInfo();if(r.isEmitBlocked(i))return void(S=!0);var o=e.version;e.writeFile(r,g,i,b({bundle:t,program:a,version:o}),!1)}}(u,D),null===e.tracing||void 0===e.tracing||e.tracing.pop(),!S&&m&&(a||(_&&m.push(_),h&&m.push(h),D&&m.push(D)),y&&m.push(y),v&&m.push(v))}),e.getSourceFilesToEmit(r,n,c),c,s,!n),x(),{emitSkipped:S,diagnostics:g.getDiagnostics(),emittedFiles:m,sourceMaps:_,exportedModulesFromDeclarationEmit:l};function C(r){e.isExportAssignment(r)?79===r.expression.kind&&t.collectLinkedAliases(r.expression,!0):e.isExportSpecifier(r)?t.collectLinkedAliases(r.propertyName||r.name,!0):e.forEachChild(r,C)}function T(t,n,i,a,o){var s,c=304===i.kind?i:void 0,u=303===i.kind?i:void 0,l=c?c.sourceFiles:[u];if(function(t,r){return(t.sourceMap||t.inlineSourceMap)&&(303!==r.kind||!e.fileExtensionIs(r.fileName,".json"))}(o,i)&&(s=e.createSourceMapGenerator(r,e.getBaseFileName(e.normalizeSlashes(t)),function(t){var r=e.normalizeSlashes(t.sourceRoot||"");return r&&e.ensureTrailingDirectorySeparator(r)}(o),function(t,n,i){if(t.sourceRoot)return r.getCommonSourceDirectory();if(t.mapRoot){var a=e.normalizeSlashes(t.mapRoot);return i&&(a=e.getDirectoryPath(e.getSourceFilePathInNewDir(i.fileName,r,a))),0===e.getRootLength(a)&&(a=e.combinePaths(r.getCommonSourceDirectory(),a)),a}return e.getDirectoryPath(e.normalizePath(n))}(o,t,u),o)),c?a.writeBundle(c,y,s):a.writeFile(u,y,s),s){_&&_.push({inputSourceFileNames:s.getSources(),sourceMap:s.toJSON()});var p=function(t,n,i,a,o){if(t.inlineSourceMap){var s=n.toString(),c=e.base64encode(e.sys,s);return"data:application/json;base64,".concat(c)}var u=e.getBaseFileName(e.normalizeSlashes(e.Debug.checkDefined(a)));if(t.mapRoot){var l=e.normalizeSlashes(t.mapRoot);return o&&(l=e.getDirectoryPath(e.getSourceFilePathInNewDir(o.fileName,r,l))),0===e.getRootLength(l)?(l=e.combinePaths(r.getCommonSourceDirectory(),l),encodeURI(e.getRelativePathToDirectoryOrUrl(e.getDirectoryPath(e.normalizePath(i)),e.combinePaths(l,u),r.getCurrentDirectory(),r.getCanonicalFileName,!0))):encodeURI(e.combinePaths(l,u))}return encodeURI(u)}(o,s,t,n,u);if(p&&(y.isAtStartOfLine()||y.rawWrite(h),y.writeComment("//# ".concat("sourceMappingURL","=").concat(p))),n){var d=s.toString();e.writeFile(r,g,n,d,!1,l)}}else y.writeLine();e.writeFile(r,g,t,y.getText(),!!f.emitBOM,l),y.clear()}}function b(e){return JSON.stringify(e)}function x(e){return JSON.parse(e)}function E(t,r){void 0===t&&(t={}),void 0===r&&(r={});var n,a,o,s,c,u,l,p,d,f,_,m,g,h,y,v,D,b,x,E=r.hasGlobalName,S=r.onEmitNode,C=void 0===S?e.noEmitNotification:S,T=r.isEmitNotificationEnabled,k=r.substituteNode,A=void 0===k?e.noEmitSubstitution:k,N=r.onBeforeEmitNode,P=r.onAfterEmitNode,F=r.onBeforeEmitNodeArray,w=r.onAfterEmitNodeArray,I=r.onBeforeEmitToken,O=r.onAfterEmitToken,L=!!t.extendedDiagnostics,M=e.getNewLineCharacter(t),R=e.getEmitModuleKind(t),B=new e.Map,j=t.preserveSourceNewlines,K=function(e){f.write(e)},J=t.writeBundleFileInfo?{sections:[]}:void 0,U=J?e.Debug.checkDefined(t.relativeToBuildInfo):void 0,q=t.recordInternalSection,V=0,z="text",W=!0,H=-1,G=-1,$=-1,Y=-1,X=-1,Q=!1,Z=!!t.removeComments,ee=e.performance.createTimerIf(L,"commentTime","beforeComment","afterComment"),te=ee.enter,re=ee.exit,ne=e.factory.parenthesizer,ie=function(){return e.createBinaryExpressionTrampoline((function(e,t){if(t){t.stackIndex++,t.preserveSourceNewlinesStack[t.stackIndex]=j,t.containerPosStack[t.stackIndex]=$,t.containerEndStack[t.stackIndex]=Y,t.declarationListContainerEndStack[t.stackIndex]=X;var r=t.shouldEmitCommentsStack[t.stackIndex]=Pe(e),n=t.shouldEmitSourceMapsStack[t.stackIndex]=Fe(e);null==N||N(e),r&&wr(e),n&&Zr(e),ke(e)}else t={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return t}),(function(e,r,n){return t(e,n,"left")}),(function(e,t,r){var n=27!==e.kind,i=fr(r,r.left,e),a=fr(r,e,r.right);ir(i,n),qr(e.pos),er(e,101===e.kind?qt:Vt),zr(e.end,!0),ir(a,!0)}),(function(e,r,n){return t(e,n,"right")}),(function(e,t){if(ar(fr(e,e.left,e.operatorToken),fr(e,e.operatorToken,e.right)),t.stackIndex>0){var r=t.preserveSourceNewlinesStack[t.stackIndex],n=t.containerPosStack[t.stackIndex],i=t.containerEndStack[t.stackIndex],a=t.declarationListContainerEndStack[t.stackIndex],o=t.shouldEmitCommentsStack[t.stackIndex],s=t.shouldEmitSourceMapsStack[t.stackIndex];Ae(r),s&&en(e),o&&Ir(e,n,i,a),null==P||P(e),t.stackIndex--}}),void 0);function t(t,r,n){var i="left"===n?ne.getParenthesizeLeftSideOfBinaryForOperator(r.operatorToken.kind):ne.getParenthesizeRightSideOfBinaryForOperator(r.operatorToken.kind),a=we(0,1,t);if(a===Re&&(e.Debug.assertIsDefined(b),a=Ie(1,1,t=i(e.cast(b,e.isExpression))),b=void 0),(a===Fr||a===Qr||a===Le)&&e.isBinaryExpression(t))return t;x=i,a(1,t)}}();return be(),{printNode:function(t,r,n){switch(t){case 0:e.Debug.assert(e.isSourceFile(r),"Expected a SourceFile node.");break;case 2:e.Debug.assert(e.isIdentifier(r),"Expected an Identifier node.");break;case 1:e.Debug.assert(e.isExpression(r),"Expected an Expression node.")}switch(r.kind){case 303:return oe(r);case 304:return ae(r);case 305:return function(e){return function(e,t){var r=f;De(t,void 0),ye(4,e,void 0),be(),f=r}(e,ge()),he()}(r)}return se(t,r,n,ge()),he()},printList:function(e,t,r){return ce(e,t,r,ge()),he()},printFile:oe,printBundle:ae,writeNode:se,writeList:ce,writeFile:me,writeBundle:_e,bundleFileInfo:J};function ae(e){return _e(e,ge(),void 0),he()}function oe(e){return me(e,ge(),void 0),he()}function se(e,t,r,n){var i=f;De(n,void 0),ye(e,t,r),be(),f=i}function ce(e,t,r,n){var i=f;De(n,void 0),r&&ve(r),Mt(void 0,t,e),be(),f=i}function ue(){return f.getTextPosWithWriteLine?f.getTextPosWithWriteLine():f.getTextPos()}function le(t,r,n){var i=e.lastOrUndefined(J.sections);i&&i.kind===n?i.end=r:J.sections.push({pos:t,end:r,kind:n})}function pe(t){if(q&&J&&n&&(e.isDeclaration(t)||e.isVariableStatement(t))&&e.isInternalDeclaration(t,n)&&"internal"!==z){var r=z;return fe(f.getTextPos()),V=ue(),z="internal",r}}function de(e){e&&(fe(f.getTextPos()),V=ue(),z=e)}function fe(e){return V<e&&(le(V,e,z),!0)}function _e(r,n,i){var a;m=!1;var o=f;De(n,i),xt(r),bt(r),Be(r),function(t){ht(!!t.hasNoDefaultLib,t.syntheticFileReferences||[],t.syntheticTypeReferences||[],t.syntheticLibReferences||[]);for(var r=0,n=t.prepends;r<n.length;r++){var i=n[r];if(e.isUnparsedSource(i)&&i.syntheticReferences)for(var a=0,o=i.syntheticReferences;a<o.length;a++)Ee(o[a]),Yt()}}(r);for(var s=0,c=r.prepends;s<c.length;s++){var u=c[s];Yt();var l=f.getTextPos(),p=J&&J.sections;if(p&&(J.sections=[]),ye(4,u,void 0),J){var d=J.sections;J.sections=p,u.oldFileOfCurrentEmit?(a=J.sections).push.apply(a,d):(d.forEach((function(t){return e.Debug.assert(e.isBundleFileTextLike(t))})),J.sections.push({pos:l,end:f.getTextPos(),kind:"prepend",data:U(u.fileName),texts:d}))}}V=ue();for(var _=0,g=r.sourceFiles;_<g.length;_++){var h=g[_];ye(0,h,h)}if(J&&r.sourceFiles.length&&fe(f.getTextPos())){var y=function(t){for(var r,n=new e.Set,i=0;i<t.sourceFiles.length;i++){for(var a=t.sourceFiles[i],o=void 0,s=0,c=0,u=a.statements;c<u.length;c++){var l=u[c];if(!e.isPrologueDirective(l))break;n.has(l.expression.text)||(n.add(l.expression.text),(o||(o=[])).push({pos:l.pos,end:l.end,expression:{pos:l.expression.pos,end:l.expression.end,text:l.expression.text}}),s=s<l.end?l.end:s)}o&&(r||(r=[])).push({file:i,text:a.text.substring(0,s),directives:o})}return r}(r);y&&(J.sources||(J.sources={}),J.sources.prologues=y);var v=function(r){var n;if(R!==e.ModuleKind.None&&!t.noEmitHelpers){for(var i=new e.Map,a=0,o=r.sourceFiles;a<o.length;a++){var s=o[a],c=void 0!==e.getExternalHelpersModuleName(s),u=je(s);if(u)for(var l=0,p=u;l<p.length;l++){var d=p[l];!d.scoped&&!c&&!i.get(d.name)&&(i.set(d.name,!0),(n||(n=[])).push(d.name))}}return n}}(r);v&&(J.sources||(J.sources={}),J.sources.helpers=v)}be(),f=o}function me(e,t,r){m=!0;var n=f;De(t,r),xt(e),bt(e),ye(0,e,e),be(),f=n}function ge(){return _||(_=e.createTextWriter(M))}function he(){var e=_.getText();return _.clear(),e}function ye(e,t,r){r&&ve(r),Ne(e,t,void 0)}function ve(e){n=e,v=void 0,D=void 0,e&&an(e)}function De(r,n){r&&t.omitTrailingSemicolon&&(r=e.getTrailingSemicolonDeferringWriter(r)),g=n,W=!(f=r)||!g}function be(){a=[],o=[],s=new e.Set,c=[],u=0,l=[],n=void 0,v=void 0,D=void 0,De(void 0,void 0)}function xe(){return v||(v=e.getLineStarts(n))}function Ee(e,t){if(void 0!==e){var r=pe(e);Ne(4,e,t),de(r)}}function Se(e){void 0!==e&&Ne(2,e,void 0)}function Ce(e,t){void 0!==e&&Ne(1,e,t)}function Te(t){Ne(e.isStringLiteral(t)?6:4,t)}function ke(t){j&&134217728&e.getEmitFlags(t)&&(j=!1)}function Ae(e){j=e}function Ne(e,t,r){x=r,we(0,e,t)(e,t),x=void 0}function Pe(t){return!Z&&!e.isSourceFile(t)}function Fe(t){return!(W||e.isSourceFile(t)||e.isInJsonFile(t)||e.isUnparsedSource(t)||e.isUnparsedPrepend(t))}function we(t,r,n){switch(t){case 0:if(C!==e.noEmitNotification&&(!T||T(n)))return Oe;case 1:if(A!==e.noEmitSubstitution&&(b=A(r,n)||n)!==n)return x&&(b=x(b)),Re;case 2:if(Pe(n))return Fr;case 3:if(Fe(n))return Qr;case 4:return Le;default:return e.Debug.assertNever(t)}}function Ie(e,t,r){return we(e+1,t,r)}function Oe(e,t){var r=Ie(0,e,t);C(e,t,r)}function Le(e,t){if(null==N||N(t),j){var r=j;ke(t),Me(e,t),Ae(r)}else Me(e,t);null==P||P(t),x=void 0}function Me(t,r,i){if(void 0===i&&(i=!0),i){var a=e.getSnippetElement(r);if(a)return function(t,r,n){switch(n.kind){case 1:!function(e,t,r){$t("${".concat(r.order,":")),Me(e,t,!1),$t("}")}(t,r,n);break;case 0:!function(t,r,n){e.Debug.assert(235===r.kind,"A tab stop cannot be attached to a node of kind ".concat(e.Debug.formatSyntaxKind(r.kind),".")),e.Debug.assert(5!==t,"A tab stop cannot be attached to an embedded statement."),$t("$".concat(n.order))}(t,r,n)}}(t,r,a)}if(0===t)return gt(e.cast(r,e.isSourceFile));if(2===t)return Ue(e.cast(r,e.isIdentifier));if(6===t)return Ke(e.cast(r,e.isStringLiteral),!0);if(3===t)return function(e){Ee(e.name),Ht(),qt("in"),Ht(),Ee(e.constraint)}(e.cast(r,e.isTypeParameterDeclaration));if(5===t)return e.Debug.assertNode(r,e.isEmptyStatement),We(!0);if(4===t){switch(r.kind){case 15:case 16:case 17:return Ke(r,!1);case 79:return Ue(r);case 80:return qe(r);case 160:return function(e){(function(e){79===e.kind?Ce(e):Ee(e)})(e.left),Jt("."),Ee(e.right)}(r);case 161:return function(e){Jt("["),Ce(e.expression,ne.parenthesizeExpressionOfComputedPropertyName),Jt("]")}(r);case 162:return function(e){Ee(e.name),e.constraint&&(Ht(),qt("extends"),Ht(),Ee(e.constraint)),e.default&&(Ht(),Vt("="),Ht(),Ee(e.default))}(r);case 163:return function(e){Pt(e,e.decorators),St(e,e.modifiers),Ee(e.dotDotDotToken),Et(e.name,zt),Ee(e.questionToken),e.parent&&315===e.parent.kind&&!e.name?Ee(e.type):Ct(e.type),Tt(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name?e.name.end:e.modifiers?e.modifiers.end:e.decorators?e.decorators.end:e.pos,e,ne.parenthesizeExpressionForDisallowedComma)}(r);case 164:return function(e){Jt("@"),Ce(e.expression,ne.parenthesizeLeftSideOfAccess)}(r);case 165:return function(e){Pt(e,e.decorators),St(e,e.modifiers),Et(e.name,Gt),Ee(e.questionToken),Ct(e.type),Ut()}(r);case 166:return function(e){Pt(e,e.decorators),St(e,e.modifiers),Ee(e.name),Ee(e.questionToken),Ee(e.exclamationToken),Ct(e.type),Tt(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name.end,e),Ut()}(r);case 167:return function(e){yr(e),Pt(e,e.decorators),St(e,e.modifiers),Ee(e.name),Ee(e.questionToken),wt(e,e.typeParameters),It(e,e.parameters),Ct(e.type),Ut(),vr(e)}(r);case 168:return function(e){Pt(e,e.decorators),St(e,e.modifiers),Ee(e.asteriskToken),Ee(e.name),Ee(e.questionToken),tt(e,rt)}(r);case 169:return function(e){Pt(e,e.decorators),St(e,e.modifiers),qt("static"),nt(e.body)}(r);case 170:return function(e){St(e,e.modifiers),qt("constructor"),tt(e,rt)}(r);case 171:case 172:return function(e){Pt(e,e.decorators),St(e,e.modifiers),qt(171===e.kind?"get":"set"),Ht(),Ee(e.name),tt(e,rt)}(r);case 173:return function(e){yr(e),Pt(e,e.decorators),St(e,e.modifiers),wt(e,e.typeParameters),It(e,e.parameters),Ct(e.type),Ut(),vr(e)}(r);case 174:return function(e){yr(e),Pt(e,e.decorators),St(e,e.modifiers),qt("new"),Ht(),wt(e,e.typeParameters),It(e,e.parameters),Ct(e.type),Ut(),vr(e)}(r);case 175:return function(e){Pt(e,e.decorators),St(e,e.modifiers),function(e,t){Mt(e,t,8848)}(e,e.parameters),Ct(e.type),Ut()}(r);case 176:return function(e){e.assertsModifier&&(Ee(e.assertsModifier),Ht()),Ee(e.parameterName),e.type&&(Ht(),qt("is"),Ht(),Ee(e.type))}(r);case 177:return function(e){Ee(e.typeName),Ft(e,e.typeArguments)}(r);case 178:return function(e){yr(e),wt(e,e.typeParameters),Ot(e,e.parameters),Ht(),Jt("=>"),Ht(),Ee(e.type),vr(e)}(r);case 179:return function(e){yr(e),St(e,e.modifiers),qt("new"),Ht(),wt(e,e.typeParameters),It(e,e.parameters),Ht(),Jt("=>"),Ht(),Ee(e.type),vr(e)}(r);case 180:return function(e){qt("typeof"),Ht(),Ee(e.exprName)}(r);case 181:return function(t){Jt("{");var r=1&e.getEmitFlags(t)?768:32897;Mt(t,t.members,524288|r),Jt("}")}(r);case 182:return function(e){Ee(e.elementType,ne.parenthesizeElementTypeOfArrayType),Jt("["),Jt("]")}(r);case 183:return function(t){$e(22,t.pos,Jt,t);var r=1&e.getEmitFlags(t)?528:657;Mt(t,t.elements,524288|r),$e(23,t.elements.end,Jt,t)}(r);case 184:return function(e){Ee(e.type,ne.parenthesizeElementTypeOfArrayType),Jt("?")}(r);case 186:return function(e){Mt(e,e.types,516,ne.parenthesizeMemberOfElementType)}(r);case 187:return function(e){Mt(e,e.types,520,ne.parenthesizeMemberOfElementType)}(r);case 188:return function(e){Ee(e.checkType,ne.parenthesizeMemberOfConditionalType),Ht(),qt("extends"),Ht(),Ee(e.extendsType,ne.parenthesizeMemberOfConditionalType),Ht(),Jt("?"),Ht(),Ee(e.trueType),Ht(),Jt(":"),Ht(),Ee(e.falseType)}(r);case 189:return function(e){qt("infer"),Ht(),Ee(e.typeParameter)}(r);case 190:return function(e){Jt("("),Ee(e.type),Jt(")")}(r);case 227:return function(e){Ce(e.expression,ne.parenthesizeLeftSideOfAccess),Ft(e,e.typeArguments)}(r);case 191:return void qt("this");case 192:return function(e){tr(e.operator,qt),Ht(),Ee(e.type,ne.parenthesizeMemberOfElementType)}(r);case 193:return function(e){Ee(e.objectType,ne.parenthesizeMemberOfElementType),Jt("["),Ee(e.indexType),Jt("]")}(r);case 194:return function(t){var r=e.getEmitFlags(t);Jt("{"),1&r?Ht():(Yt(),Xt()),t.readonlyToken&&(Ee(t.readonlyToken),144!==t.readonlyToken.kind&&qt("readonly"),Ht()),Jt("["),Ne(3,t.typeParameter),t.nameType&&(Ht(),qt("as"),Ht(),Ee(t.nameType)),Jt("]"),t.questionToken&&(Ee(t.questionToken),57!==t.questionToken.kind&&Jt("?")),Jt(":"),Ht(),Ee(t.type),Ut(),1&r?Ht():(Yt(),Qt()),Jt("}")}(r);case 195:return function(e){Ce(e.literal)}(r);case 196:return function(e){Ee(e.dotDotDotToken),Ee(e.name),Ee(e.questionToken),$e(58,e.name.end,Jt,e),Ht(),Ee(e.type)}(r);case 197:return function(e){Ee(e.head),Mt(e,e.templateSpans,262144)}(r);case 198:return function(e){Ee(e.type),Ee(e.literal)}(r);case 199:return function(e){e.isTypeOf&&(qt("typeof"),Ht()),qt("import"),Jt("("),Ee(e.argument),Jt(")"),e.qualifier&&(Jt("."),Ee(e.qualifier)),Ft(e,e.typeArguments)}(r);case 200:return function(e){Jt("{"),Mt(e,e.elements,525136),Jt("}")}(r);case 201:return function(e){Jt("["),Mt(e,e.elements,524880),Jt("]")}(r);case 202:return function(e){Ee(e.dotDotDotToken),e.propertyName&&(Ee(e.propertyName),Jt(":"),Ht()),Ee(e.name),Tt(e.initializer,e.name.end,e,ne.parenthesizeExpressionForDisallowedComma)}(r);case 232:return function(e){Ce(e.expression),Ee(e.literal)}(r);case 233:return void Ut();case 234:return function(e){ze(e,!e.multiLine&&_r(e))}(r);case 236:return function(e){St(e,e.modifiers),Ee(e.declarationList),Ut()}(r);case 235:return We(!1);case 237:return function(t){Ce(t.expression,ne.parenthesizeExpressionOfExpressionStatement),(!e.isJsonSourceFile(n)||e.nodeIsSynthesized(t.expression))&&Ut()}(r);case 238:return function(e){var t=$e(99,e.pos,qt,e);Ht(),$e(20,t,Jt,e),Ce(e.expression),$e(21,e.expression.end,Jt,e),Nt(e,e.thenStatement),e.elseStatement&&(rr(e,e.thenStatement,e.elseStatement),$e(91,e.thenStatement.end,qt,e),238===e.elseStatement.kind?(Ht(),Ee(e.elseStatement)):Nt(e,e.elseStatement))}(r);case 239:return function(t){$e(90,t.pos,qt,t),Nt(t,t.statement),e.isBlock(t.statement)&&!j?Ht():rr(t,t.statement,t.expression),He(t,t.statement.end),Ut()}(r);case 240:return function(e){He(e,e.pos),Nt(e,e.statement)}(r);case 241:return function(e){var t=$e(97,e.pos,qt,e);Ht();var r=$e(20,t,Jt,e);Ge(e.initializer),r=$e(26,e.initializer?e.initializer.end:r,Jt,e),At(e.condition),r=$e(26,e.condition?e.condition.end:r,Jt,e),At(e.incrementor),$e(21,e.incrementor?e.incrementor.end:r,Jt,e),Nt(e,e.statement)}(r);case 242:return function(e){var t=$e(97,e.pos,qt,e);Ht(),$e(20,t,Jt,e),Ge(e.initializer),Ht(),$e(101,e.initializer.end,qt,e),Ht(),Ce(e.expression),$e(21,e.expression.end,Jt,e),Nt(e,e.statement)}(r);case 243:return function(e){var t=$e(97,e.pos,qt,e);Ht(),function(e){e&&(Ee(e),Ht())}(e.awaitModifier),$e(20,t,Jt,e),Ge(e.initializer),Ht(),$e(159,e.initializer.end,qt,e),Ht(),Ce(e.expression),$e(21,e.expression.end,Jt,e),Nt(e,e.statement)}(r);case 244:return function(e){$e(86,e.pos,qt,e),kt(e.label),Ut()}(r);case 245:return function(e){$e(81,e.pos,qt,e),kt(e.label),Ut()}(r);case 246:return function(e){$e(105,e.pos,qt,e),At(e.expression&&Qe(e.expression),Qe),Ut()}(r);case 247:return function(e){var t=$e(116,e.pos,qt,e);Ht(),$e(20,t,Jt,e),Ce(e.expression),$e(21,e.expression.end,Jt,e),Nt(e,e.statement)}(r);case 248:return function(e){var t=$e(107,e.pos,qt,e);Ht(),$e(20,t,Jt,e),Ce(e.expression),$e(21,e.expression.end,Jt,e),Ht(),Ee(e.caseBlock)}(r);case 249:return function(e){Ee(e.label),$e(58,e.label.end,Jt,e),Ht(),Ee(e.statement)}(r);case 250:return function(e){$e(109,e.pos,qt,e),At(Qe(e.expression),Qe),Ut()}(r);case 251:return function(e){$e(111,e.pos,qt,e),Ht(),Ee(e.tryBlock),e.catchClause&&(rr(e,e.tryBlock,e.catchClause),Ee(e.catchClause)),e.finallyBlock&&(rr(e,e.catchClause||e.tryBlock,e.finallyBlock),$e(96,(e.catchClause||e.tryBlock).end,qt,e),Ht(),Ee(e.finallyBlock))}(r);case 252:return function(e){Zt(87,e.pos,qt),Ut()}(r);case 253:return function(e){Ee(e.name),Ee(e.exclamationToken),Ct(e.type),Tt(e.initializer,e.type?e.type.end:e.name.end,e,ne.parenthesizeExpressionForDisallowedComma)}(r);case 254:return function(t){qt(e.isLet(t)?"let":e.isVarConst(t)?"const":"var"),Ht(),Mt(t,t.declarations,528)}(r);case 255:return function(e){et(e)}(r);case 256:return function(e){ot(e)}(r);case 257:return function(e){Pt(e,e.decorators),St(e,e.modifiers),qt("interface"),Ht(),Ee(e.name),wt(e,e.typeParameters),Mt(e,e.heritageClauses,512),Ht(),Jt("{"),Mt(e,e.members,129),Jt("}")}(r);case 258:return function(e){Pt(e,e.decorators),St(e,e.modifiers),qt("type"),Ht(),Ee(e.name),wt(e,e.typeParameters),Ht(),Jt("="),Ht(),Ee(e.type),Ut()}(r);case 259:return function(e){St(e,e.modifiers),qt("enum"),Ht(),Ee(e.name),Ht(),Jt("{"),Mt(e,e.members,145),Jt("}")}(r);case 260:return function(t){St(t,t.modifiers),1024&~t.flags&&(qt(16&t.flags?"namespace":"module"),Ht()),Ee(t.name);var r=t.body;if(!r)return Ut();for(;r&&e.isModuleDeclaration(r);)Jt("."),Ee(r.name),r=r.body;Ht(),Ee(r)}(r);case 261:return function(t){yr(t),e.forEach(t.statements,br),ze(t,_r(t)),vr(t)}(r);case 262:return function(e){$e(18,e.pos,Jt,e),Mt(e,e.clauses,129),$e(19,e.clauses.end,Jt,e,!0)}(r);case 263:return function(e){var t=$e(93,e.pos,qt,e);Ht(),t=$e(127,t,qt,e),Ht(),t=$e(142,t,qt,e),Ht(),Ee(e.name),Ut()}(r);case 264:return function(e){St(e,e.modifiers),$e(100,e.modifiers?e.modifiers.end:e.pos,qt,e),Ht(),e.isTypeOnly&&($e(151,e.pos,qt,e),Ht()),Ee(e.name),Ht(),$e(63,e.name.end,Jt,e),Ht(),function(e){79===e.kind?Ce(e):Ee(e)}(e.moduleReference),Ut()}(r);case 265:return function(e){St(e,e.modifiers),$e(100,e.modifiers?e.modifiers.end:e.pos,qt,e),Ht(),e.importClause&&(Ee(e.importClause),Ht(),$e(155,e.importClause.end,qt,e),Ht()),Ce(e.moduleSpecifier),e.assertClause&&kt(e.assertClause),Ut()}(r);case 266:return function(e){e.isTypeOnly&&($e(151,e.pos,qt,e),Ht()),Ee(e.name),e.name&&e.namedBindings&&($e(27,e.name.end,Jt,e),Ht()),Ee(e.namedBindings)}(r);case 267:return function(e){var t=$e(41,e.pos,Jt,e);Ht(),$e(127,t,qt,e),Ht(),Ee(e.name)}(r);case 273:return function(e){var t=$e(41,e.pos,Jt,e);Ht(),$e(127,t,qt,e),Ht(),Ee(e.name)}(r);case 268:case 272:return function(e){st(e)}(r);case 269:case 274:return function(e){ct(e)}(r);case 270:return function(e){var t=$e(93,e.pos,qt,e);Ht(),e.isExportEquals?$e(63,t,Vt,e):$e(88,t,qt,e),Ht(),Ce(e.expression,e.isExportEquals?ne.getParenthesizeRightSideOfBinaryForOperator(63):ne.parenthesizeExpressionOfExportDefault),Ut()}(r);case 271:return function(e){var t=$e(93,e.pos,qt,e);Ht(),e.isTypeOnly&&(t=$e(151,t,qt,e),Ht()),e.exportClause?Ee(e.exportClause):t=$e(41,t,Jt,e),e.moduleSpecifier&&(Ht(),$e(155,e.exportClause?e.exportClause.end:t,qt,e),Ht(),Ce(e.moduleSpecifier)),e.assertClause&&kt(e.assertClause),Ut()}(r);case 292:return function(e){$e(129,e.pos,qt,e),Ht(),Mt(e,e.elements,526226)}(r);case 293:return function(t){Ee(t.name),Jt(":"),Ht();var r=t.value;0==(512&e.getEmitFlags(r))&&zr(e.getCommentRange(r).pos),Ee(r)}(r);case 275:case 317:case 328:case 329:case 331:case 332:case 333:case 334:case 347:case 351:case 350:return;case 276:return function(e){qt("require"),Jt("("),Ce(e.expression),Jt(")")}(r);case 11:return function(e){f.writeLiteral(e.text)}(r);case 279:case 282:return function(t){if(Jt("<"),e.isJsxOpeningElement(t)){var r=lr(t.tagName,t);ut(t.tagName),Ft(t,t.typeArguments),t.attributes.properties&&t.attributes.properties.length>0&&Ht(),Ee(t.attributes),pr(t.attributes,t),ar(r)}Jt(">")}(r);case 280:case 283:return function(t){Jt("</"),e.isJsxClosingElement(t)&&ut(t.tagName),Jt(">")}(r);case 284:return function(e){Ee(e.name),function(e,t,r,n){r&&(t(e),n(r))}("=",Jt,e.initializer,Te)}(r);case 285:return function(e){Mt(e,e.properties,262656)}(r);case 286:return function(e){Jt("{..."),Ce(e.expression),Jt("}")}(r);case 287:return function(t){var r;if(t.expression||!Z&&!e.nodeIsSynthesized(t)&&function(t){return function(t){var r=!1;return e.forEachTrailingCommentRange((null==n?void 0:n.text)||"",t+1,(function(){return r=!0})),r}(t)||function(t){var r=!1;return e.forEachLeadingCommentRange((null==n?void 0:n.text)||"",t+1,(function(){return r=!0})),r}(t)}(t.pos)){var i=n&&!e.nodeIsSynthesized(t)&&e.getLineAndCharacterOfPosition(n,t.pos).line!==e.getLineAndCharacterOfPosition(n,t.end).line;i&&f.increaseIndent();var a=$e(18,t.pos,Jt,t);Ee(t.dotDotDotToken),Ce(t.expression),$e(19,(null===(r=t.expression)||void 0===r?void 0:r.end)||a,Jt,t),i&&f.decreaseIndent()}}(r);case 288:return function(e){$e(82,e.pos,qt,e),Ht(),Ce(e.expression,ne.parenthesizeExpressionForDisallowedComma),lt(e,e.statements,e.expression.end)}(r);case 289:return function(e){var t=$e(88,e.pos,qt,e);lt(e,e.statements,t)}(r);case 290:return function(e){Ht(),tr(e.token,qt),Ht(),Mt(e,e.types,528)}(r);case 291:return function(e){var t=$e(83,e.pos,qt,e);Ht(),e.variableDeclaration&&($e(20,t,Jt,e),Ee(e.variableDeclaration),$e(21,e.variableDeclaration.end,Jt,e),Ht()),Ee(e.block)}(r);case 294:return function(t){Ee(t.name),Jt(":"),Ht();var r=t.initializer;0==(512&e.getEmitFlags(r))&&zr(e.getCommentRange(r).pos),Ce(r,ne.parenthesizeExpressionForDisallowedComma)}(r);case 295:return function(e){Ee(e.name),e.objectAssignmentInitializer&&(Ht(),Jt("="),Ht(),Ce(e.objectAssignmentInitializer,ne.parenthesizeExpressionForDisallowedComma))}(r);case 296:return function(e){e.expression&&($e(25,e.pos,Jt,e),Ce(e.expression,ne.parenthesizeExpressionForDisallowedComma))}(r);case 297:return function(e){Ee(e.name),Tt(e.initializer,e.name.end,e,ne.parenthesizeExpressionForDisallowedComma)}(r);case 298:return Je(r);case 305:case 299:return function(e){for(var t=0,r=e.texts;t<r.length;t++){var n=r[t];Yt(),Ee(n)}}(r);case 300:case 301:return function(e){var t=ue();Je(e),J&&le(t,f.getTextPos(),300===e.kind?"text":"internal")}(r);case 302:return function(t){var r=ue();if(Je(t),J){var n=e.clone(t.section);n.pos=r,n.end=f.getTextPos(),J.sections.push(n)}}(r);case 303:return gt(r);case 304:return e.Debug.fail("Bundles should be printed using printBundle");case 306:return e.Debug.fail("InputFiles should not be printed");case 307:return mt(r);case 308:return function(e){Ht(),Jt("{"),Ee(e.name),Jt("}")}(r);case 310:return Jt("*");case 311:return Jt("?");case 312:return function(e){Jt("?"),Ee(e.type)}(r);case 313:return function(e){Jt("!"),Ee(e.type)}(r);case 314:return function(e){Ee(e.type),Jt("=")}(r);case 315:return function(e){qt("function"),It(e,e.parameters),Jt(":"),Ee(e.type)}(r);case 185:case 316:return function(e){Jt("..."),Ee(e.type)}(r);case 318:return function(t){if(K("/**"),t.comment){var r=e.getTextOfJSDocComment(t.comment);if(r)for(var n=0,i=r.split(/\r\n?|\n/g);n<i.length;n++){var a=i[n];Yt(),Ht(),Jt("*"),Ht(),K(a)}}t.tags&&(1!==t.tags.length||341!==t.tags[0].kind||t.comment?Mt(t,t.tags,33):(Ht(),Ee(t.tags[0]))),Ht(),K("*/")}(r);case 320:return pt(r);case 321:return dt(r);case 325:case 330:case 335:return function(e){ft(e.tagName),_t(e.comment)}(r);case 326:case 327:return function(e){ft(e.tagName),Ht(),Jt("{"),Ee(e.class),Jt("}"),_t(e.comment)}(r);case 336:return function(e){ft(e.tagName),e.name&&(Ht(),Ee(e.name)),_t(e.comment),dt(e.typeExpression)}(r);case 338:case 345:return function(e){ft(e.tagName),mt(e.typeExpression),Ht(),e.isBracketed&&Jt("["),Ee(e.name),e.isBracketed&&Jt("]"),_t(e.comment)}(r);case 337:case 339:case 340:case 341:return function(e){ft(e.tagName),mt(e.typeExpression),_t(e.comment)}(r);case 342:return function(e){ft(e.tagName),mt(e.constraint),Ht(),Mt(e,e.typeParameters,528),_t(e.comment)}(r);case 343:return function(e){ft(e.tagName),e.typeExpression&&(307===e.typeExpression.kind?mt(e.typeExpression):(Ht(),Jt("{"),K("Object"),e.typeExpression.isArrayType&&(Jt("["),Jt("]")),Jt("}"))),e.fullName&&(Ht(),Ee(e.fullName)),_t(e.comment),e.typeExpression&&320===e.typeExpression.kind&&pt(e.typeExpression)}(r);case 344:return function(e){ft(e.tagName),Ee(e.name),_t(e.comment)}(r)}if(e.isExpression(r)&&(t=1,A!==e.noEmitSubstitution)){var o=A(t,r)||r;o!==r&&(r=o,x&&(r=x(r)))}}if(1===t)switch(r.kind){case 8:case 9:return function(e){Ke(e,!1)}(r);case 10:case 13:case 14:return Ke(r,!1);case 79:return Ue(r);case 80:return qe(r);case 203:return function(e){Rt(e,e.elements,8914|(e.multiLine?65536:0),ne.parenthesizeExpressionForDisallowedComma)}(r);case 204:return function(t){e.forEach(t.properties,xr);var r=65536&e.getEmitFlags(t);r&&Xt();var i=t.multiLine?65536:0,a=n.languageVersion>=1&&!e.isJsonSourceFile(n)?64:0;Mt(t,t.properties,526226|a|i),r&&Qt()}(r);case 205:return function(t){Ce(t.expression,ne.parenthesizeLeftSideOfAccess);var r=t.questionDotToken||e.setTextRangePosEnd(e.factory.createToken(24),t.expression.end,t.name.pos),n=fr(t,t.expression,r),i=fr(t,r,t.name);ir(n,!1),28!==r.kind&&function(t){if(t=e.skipPartiallyEmittedExpressions(t),e.isNumericLiteral(t)){var r=hr(t,!0,!1);return!t.numericLiteralFlags&&!e.stringContains(r,e.tokenToString(24))}if(e.isAccessExpression(t)){var n=e.getConstantValue(t);return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n}}(t.expression)&&!f.hasTrailingComment()&&!f.hasTrailingWhitespace()&&Jt("."),t.questionDotToken?Ee(r):$e(r.kind,t.expression.end,Jt,t),ir(i,!1),Ee(t.name),ar(n,i)}(r);case 206:return function(e){Ce(e.expression,ne.parenthesizeLeftSideOfAccess),Ee(e.questionDotToken),$e(22,e.expression.end,Jt,e),Ce(e.argumentExpression),$e(23,e.argumentExpression.end,Jt,e)}(r);case 207:return function(t){var r=536870912&e.getEmitFlags(t);r&&(Jt("("),jt("0"),Jt(","),Ht()),Ce(t.expression,ne.parenthesizeLeftSideOfAccess),r&&Jt(")"),Ee(t.questionDotToken),Ft(t,t.typeArguments),Rt(t,t.arguments,2576,ne.parenthesizeExpressionForDisallowedComma)}(r);case 208:return function(e){$e(103,e.pos,qt,e),Ht(),Ce(e.expression,ne.parenthesizeExpressionOfNew),Ft(e,e.typeArguments),Rt(e,e.arguments,18960,ne.parenthesizeExpressionForDisallowedComma)}(r);case 209:return function(t){var r=536870912&e.getEmitFlags(t);r&&(Jt("("),jt("0"),Jt(","),Ht()),Ce(t.tag,ne.parenthesizeLeftSideOfAccess),r&&Jt(")"),Ft(t,t.typeArguments),Ht(),Ce(t.template)}(r);case 210:return function(e){Jt("<"),Ee(e.type),Jt(">"),Ce(e.expression,ne.parenthesizeOperandOfPrefixUnary)}(r);case 211:return function(e){var t=$e(20,e.pos,Jt,e),r=lr(e.expression,e);Ce(e.expression,void 0),pr(e.expression,e),ar(r),$e(21,e.expression?e.expression.end:t,Jt,e)}(r);case 212:return function(e){Er(e.name),et(e)}(r);case 213:return function(e){Pt(e,e.decorators),St(e,e.modifiers),tt(e,Ve)}(r);case 214:return function(e){$e(89,e.pos,qt,e),Ht(),Ce(e.expression,ne.parenthesizeOperandOfPrefixUnary)}(r);case 215:return function(e){$e(112,e.pos,qt,e),Ht(),Ce(e.expression,ne.parenthesizeOperandOfPrefixUnary)}(r);case 216:return function(e){$e(114,e.pos,qt,e),Ht(),Ce(e.expression,ne.parenthesizeOperandOfPrefixUnary)}(r);case 217:return function(e){$e(132,e.pos,qt,e),Ht(),Ce(e.expression,ne.parenthesizeOperandOfPrefixUnary)}(r);case 218:return function(e){tr(e.operator,Vt),function(e){var t=e.operand;return 218===t.kind&&(39===e.operator&&(39===t.operator||45===t.operator)||40===e.operator&&(40===t.operator||46===t.operator))}(e)&&Ht(),Ce(e.operand,ne.parenthesizeOperandOfPrefixUnary)}(r);case 219:return function(e){Ce(e.operand,ne.parenthesizeOperandOfPostfixUnary),tr(e.operator,Vt)}(r);case 220:return ie(r);case 221:return function(e){var t=fr(e,e.condition,e.questionToken),r=fr(e,e.questionToken,e.whenTrue),n=fr(e,e.whenTrue,e.colonToken),i=fr(e,e.colonToken,e.whenFalse);Ce(e.condition,ne.parenthesizeConditionOfConditionalExpression),ir(t,!0),Ee(e.questionToken),ir(r,!0),Ce(e.whenTrue,ne.parenthesizeBranchOfConditionalExpression),ar(t,r),ir(n,!0),Ee(e.colonToken),ir(i,!0),Ce(e.whenFalse,ne.parenthesizeBranchOfConditionalExpression),ar(n,i)}(r);case 222:return function(e){Ee(e.head),Mt(e,e.templateSpans,262144)}(r);case 223:return function(e){$e(125,e.pos,qt,e),Ee(e.asteriskToken),At(e.expression&&Qe(e.expression),Ze)}(r);case 224:return function(e){$e(25,e.pos,Jt,e),Ce(e.expression,ne.parenthesizeExpressionForDisallowedComma)}(r);case 225:return function(e){Er(e.name),ot(e)}(r);case 226:case 347:case 350:case 351:return;case 228:return function(e){Ce(e.expression,void 0),e.type&&(Ht(),qt("as"),Ht(),Ee(e.type))}(r);case 229:return function(e){Ce(e.expression,ne.parenthesizeLeftSideOfAccess),Vt("!")}(r);case 230:return function(e){Zt(e.keywordToken,e.pos,Jt),Jt("."),Ee(e.name)}(r);case 231:return e.Debug.fail("SyntheticExpression should never be printed.");case 277:return function(e){Ee(e.openingElement),Mt(e,e.children,262144),Ee(e.closingElement)}(r);case 278:return function(e){Jt("<"),ut(e.tagName),Ft(e,e.typeArguments),Ht(),Ee(e.attributes),Jt("/>")}(r);case 281:return function(e){Ee(e.openingFragment),Mt(e,e.children,262144),Ee(e.closingFragment)}(r);case 346:return e.Debug.fail("SyntaxList should not be printed");case 348:return function(t){var r=e.getEmitFlags(t);!(512&r)&&t.pos!==t.expression.pos&&zr(t.expression.pos),Ce(t.expression),!(1024&r)&&t.end!==t.expression.end&&qr(t.expression.end)}(r);case 349:return function(e){Rt(e,e.elements,528,void 0)}(r);case 352:return e.Debug.fail("SyntheticReferenceExpression should not be printed")}return e.isKeyword(r.kind)?er(r,qt):e.isTokenKind(r.kind)?er(r,Jt):void e.Debug.fail("Unhandled SyntaxKind: ".concat(e.Debug.formatSyntaxKind(r.kind),"."))}function Re(t,r){var n=Ie(1,t,r);e.Debug.assertIsDefined(b),r=b,b=void 0,n(t,r)}function Be(r){var i=!1,a=304===r.kind?r:void 0;if(!a||R!==e.ModuleKind.None){for(var o=a?a.prepends.length:0,s=a?a.sourceFiles.length+o:1,c=0;c<s;c++){var u=a?c<o?a.prepends[c]:a.sourceFiles[c-o]:r,l=e.isSourceFile(u)?u:e.isUnparsedSource(u)?void 0:n,p=t.noEmitHelpers||!!l&&e.hasRecordedExternalHelpers(l),d=(e.isSourceFile(u)||e.isUnparsedSource(u))&&!m,_=e.isUnparsedSource(u)?u.helpers:je(u);if(_)for(var g=0,h=_;g<h.length;g++){var y=h[g];if(y.scoped){if(a)continue}else{if(p)continue;if(d){if(B.get(y.name))continue;B.set(y.name,!0)}}var v=ue();"string"==typeof y.text?nr(y.text):nr(y.text(Pr)),J&&J.sections.push({pos:v,end:f.getTextPos(),kind:"emitHelpers",data:y.name}),i=!0}}return i}}function je(t){var r=e.getEmitHelpers(t);return r&&e.stableSort(r,e.compareEmitHelpers)}function Ke(r,n){var i=hr(r,t.neverAsciiEscape,n);!t.sourceMap&&!t.inlineSourceMap||10!==r.kind&&!e.isTemplateLiteralKind(r.kind)?function(e){f.writeStringLiteral(e)}(i):jt(i)}function Je(e){f.rawWrite(e.parent.text.substring(e.pos,e.end))}function Ue(e){(e.symbol?Kt:K)(gr(e,!1),e.symbol),Mt(e,e.typeArguments,53776)}function qe(e){(e.symbol?Kt:K)(gr(e,!1),e.symbol)}function Ve(e){wt(e,e.typeParameters),Ot(e,e.parameters),Ct(e.type),Ht(),Ee(e.equalsGreaterThanToken)}function ze(t,r){$e(18,t.pos,Jt,t);var n=r||1&e.getEmitFlags(t)?768:129;Mt(t,t.statements,n),$e(19,t.statements.end,Jt,t,!!(1&n))}function We(e){e?Jt(";"):Ut()}function He(e,t){var r=$e(115,t,qt,e);Ht(),$e(20,r,Jt,e),Ce(e.expression),$e(21,e.expression.end,Jt,e)}function Ge(e){void 0!==e&&(254===e.kind?Ee(e):Ce(e))}function $e(t,r,i,a,o){var s=e.getParseTreeNode(a),c=s&&s.kind===a.kind,u=r;if(c&&n&&(r=e.skipTrivia(n.text,r)),c&&a.pos!==u){var l=o&&n&&!e.positionsAreOnSameLine(u,r,n);l&&Xt(),qr(u),l&&Qt()}if(r=tr(t,i,r),c&&a.end!==r){var p=287===a.kind;zr(r,!p,p)}return r}function Ye(e){return 2===e.kind||!!e.hasTrailingNewLine}function Xe(t){return!!n&&(!(!e.some(e.getLeadingCommentRanges(n.text,t.pos),Ye)&&!e.some(e.getSyntheticLeadingComments(t),Ye))||!!e.isPartiallyEmittedExpression(t)&&(!(t.pos===t.expression.pos||!e.some(e.getTrailingCommentRanges(n.text,t.expression.pos),Ye))||Xe(t.expression)))}function Qe(t){if(!Z&&e.isPartiallyEmittedExpression(t)&&Xe(t)){var r=e.getParseTreeNode(t);if(r&&e.isParenthesizedExpression(r)){var n=e.factory.createParenthesizedExpression(t.expression);return e.setOriginalNode(n,t),e.setTextRange(n,r),n}return e.factory.createParenthesizedExpression(t)}return t}function Ze(e){return Qe(ne.parenthesizeExpressionForDisallowedComma(e))}function et(e){Pt(e,e.decorators),St(e,e.modifiers),qt("function"),Ee(e.asteriskToken),Ht(),Se(e.name),tt(e,rt)}function tt(t,r){var n=t.body;if(n)if(e.isBlock(n)){var i=65536&e.getEmitFlags(t);i&&Xt(),yr(t),e.forEach(t.parameters,br),br(t.body),r(t),nt(n),vr(t),i&&Qt()}else r(t),Ht(),Ce(n,ne.parenthesizeConciseBodyOfArrowFunction);else r(t),Ut()}function rt(e){wt(e,e.typeParameters),It(e,e.parameters),Ct(e.type)}function nt(t){null==N||N(t),Ht(),Jt("{"),Xt();var r=function(t){if(1&e.getEmitFlags(t))return!0;if(t.multiLine||!e.nodeIsSynthesized(t)&&!e.rangeIsOnSingleLine(t,n)||or(t,t.statements,2)||cr(t,t.statements,2))return!1;for(var r,i=0,a=t.statements;i<a.length;i++){var o=a[i];if(sr(r,o,2)>0)return!1;r=o}return!0}(t)?it:at;Rr?Rr(t,t.statements,r):r(t),Qt(),Zt(19,t.statements.end,Jt,t),null==P||P(t)}function it(e){at(e,!0)}function at(e,t){var r=vt(e.statements),n=f.getTextPos();Be(e),0===r&&n===f.getTextPos()&&t?(Qt(),Mt(e,e.statements,768),Xt()):Mt(e,e.statements,1,void 0,r)}function ot(t){e.forEach(t.members,xr),Pt(t,t.decorators),St(t,t.modifiers),qt("class"),t.name&&(Ht(),Se(t.name));var r=65536&e.getEmitFlags(t);r&&Xt(),wt(t,t.typeParameters),Mt(t,t.heritageClauses,0),Ht(),Jt("{"),Mt(t,t.members,129),Jt("}"),r&&Qt()}function st(e){Jt("{"),Mt(e,e.elements,525136),Jt("}")}function ct(e){e.isTypeOnly&&(qt("type"),Ht()),e.propertyName&&(Ee(e.propertyName),Ht(),$e(127,e.propertyName.end,qt,e),Ht()),Ee(e.name)}function ut(e){79===e.kind?Ce(e):Ee(e)}function lt(t,r,i){var a=163969;1===r.length&&(e.nodeIsSynthesized(t)||e.nodeIsSynthesized(r[0])||e.rangeStartPositionsAreOnSameLine(t,r[0],n))?(Zt(58,i,Jt,t),Ht(),a&=-130):$e(58,i,Jt,t),Mt(t,r,a)}function pt(t){Mt(t,e.factory.createNodeArray(t.jsDocPropertyTags),33)}function dt(t){t.typeParameters&&Mt(t,e.factory.createNodeArray(t.typeParameters),33),t.parameters&&Mt(t,e.factory.createNodeArray(t.parameters),33),t.type&&(Yt(),Ht(),Jt("*"),Ht(),Ee(t.type))}function ft(e){Jt("@"),Ee(e)}function _t(t){var r=e.getTextOfJSDocComment(t);r&&(Ht(),K(r))}function mt(e){e&&(Ht(),Jt("{"),Ee(e.type),Jt("}"))}function gt(t){Yt();var r=t.statements;!Rr||0!==r.length&&e.isPrologueDirective(r[0])&&!e.nodeIsSynthesized(r[0])?yt(t):Rr(t,r,yt)}function ht(e,t,r,i){if(e){var a=f.getTextPos();Wt('/// <reference no-default-lib="true"/>'),J&&J.sections.push({pos:a,end:f.getTextPos(),kind:"no-default-lib"}),Yt()}if(n&&n.moduleName&&(Wt('/// <amd-module name="'.concat(n.moduleName,'" />')),Yt()),n&&n.amdDependencies)for(var o=0,s=n.amdDependencies;o<s.length;o++){var c=s[o];c.name?Wt('/// <amd-dependency name="'.concat(c.name,'" path="').concat(c.path,'" />')):Wt('/// <amd-dependency path="'.concat(c.path,'" />')),Yt()}for(var u=0,l=t;u<l.length;u++){var p=l[u];a=f.getTextPos(),Wt('/// <reference path="'.concat(p.fileName,'" />')),J&&J.sections.push({pos:a,end:f.getTextPos(),kind:"reference",data:p.fileName}),Yt()}for(var d=0,_=r;d<_.length;d++)p=_[d],a=f.getTextPos(),Wt('/// <reference types="'.concat(p.fileName,'" />')),J&&J.sections.push({pos:a,end:f.getTextPos(),kind:"type",data:p.fileName}),Yt();for(var m=0,g=i;m<g.length;m++)p=g[m],a=f.getTextPos(),Wt('/// <reference lib="'.concat(p.fileName,'" />')),J&&J.sections.push({pos:a,end:f.getTextPos(),kind:"lib",data:p.fileName}),Yt()}function yt(t){var r=t.statements;yr(t),e.forEach(t.statements,br),Be(t);var n=e.findIndex(r,(function(t){return!e.isPrologueDirective(t)}));(function(e){e.isDeclarationFile&&ht(e.hasNoDefaultLib,e.referencedFiles,e.typeReferenceDirectives,e.libReferenceDirectives)})(t),Mt(t,r,1,void 0,-1===n?r.length:n),vr(t)}function vt(t,r,n,i){for(var a=!!r,o=0;o<t.length;o++){var s=t[o];if(!e.isPrologueDirective(s))return o;if(!n||!n.has(s.expression.text)){a&&(a=!1,ve(r)),Yt();var c=f.getTextPos();Ee(s),i&&J&&J.sections.push({pos:c,end:f.getTextPos(),kind:"prologue",data:s.expression.text}),n&&n.add(s.expression.text)}}return t.length}function Dt(e,t){for(var r=0,n=e;r<n.length;r++){var i=n[r];if(!t.has(i.data)){Yt();var a=f.getTextPos();Ee(i),J&&J.sections.push({pos:a,end:f.getTextPos(),kind:"prologue",data:i.data}),t&&t.add(i.data)}}}function bt(t){if(e.isSourceFile(t))vt(t.statements,t);else{for(var r=new e.Set,n=0,i=t.prepends;n<i.length;n++)Dt(i[n].prologues,r);for(var a=0,o=t.sourceFiles;a<o.length;a++){var s=o[a];vt(s.statements,s,r,!0)}ve(void 0)}}function xt(t){if(e.isSourceFile(t)||e.isUnparsedSource(t)){var r=e.getShebang(t.text);if(r)return Wt(r),Yt(),!0}else{for(var n=0,i=t.prepends;n<i.length;n++){var a=i[n];if(e.Debug.assertNode(a,e.isUnparsedSource),xt(a))return!0}for(var o=0,s=t.sourceFiles;o<s.length;o++)if(xt(s[o]))return!0}}function Et(e,t){if(e){var r=K;K=t,Ee(e),K=r}}function St(e,t){t&&t.length&&(Mt(e,t,262656),Ht())}function Ct(e){e&&(Jt(":"),Ht(),Ee(e))}function Tt(e,t,r,n){e&&(Ht(),$e(63,t,Vt,r),Ht(),Ce(e,n))}function kt(e){e&&(Ht(),Ee(e))}function At(e,t){e&&(Ht(),Ce(e,t))}function Nt(t,r){e.isBlock(r)||1&e.getEmitFlags(t)?(Ht(),Ee(r)):(Yt(),Xt(),e.isEmptyStatement(r)?Ne(5,r):Ee(r),Qt())}function Pt(e,t){Mt(e,t,2146305)}function Ft(e,t){Mt(e,t,53776,ne.parenthesizeMemberOfElementType)}function wt(t,r){if(e.isFunctionLike(t)&&t.typeArguments)return Ft(t,t.typeArguments);Mt(t,r,53776)}function It(e,t){Mt(e,t,2576)}function Ot(t,r){!function(t,r){var n=e.singleOrUndefined(r);return n&&n.pos===t.pos&&e.isArrowFunction(t)&&!t.type&&!e.some(t.decorators)&&!e.some(t.modifiers)&&!e.some(t.typeParameters)&&!e.some(n.decorators)&&!e.some(n.modifiers)&&!n.dotDotDotToken&&!n.questionToken&&!n.type&&!n.initializer&&e.isIdentifier(n.name)}(t,r)?It(t,r):Mt(t,r,528)}function Lt(e){switch(60&e){case 0:break;case 16:Jt(",");break;case 4:Ht(),Jt("|");break;case 32:Ht(),Jt("*"),Ht();break;case 8:Ht(),Jt("&")}}function Mt(e,t,r,n,i,a){Bt(Ee,e,t,r,n,i,a)}function Rt(e,t,r,n,i,a){Bt(Ce,e,t,r,n,i,a)}function Bt(t,r,a,o,s,c,u){if(void 0===c&&(c=0),void 0===u&&(u=a?a.length-c:0),!(void 0===a&&16384&o)){var l=void 0===a||c>=a.length||0===u;if(l&&32768&o)return F&&F(a),void(w&&w(a));if(15360&o&&(Jt(function(e){return i[15360&e][0]}(o)),l&&a&&zr(a.pos,!0)),F&&F(a),l)1&o&&(!j||r&&!e.rangeIsOnSingleLine(r,n))?Yt():256&o&&!(524288&o)&&Ht();else{e.Debug.type(a);var p=0==(262144&o),f=p,_=or(r,a,o);_?(Yt(_),f=!1):256&o&&Ht(),128&o&&Xt();for(var m=void 0,g=void 0,h=!1,y=0;y<u;y++){var v=a[c+y];if(32&o)Yt(),Lt(o);else if(m){60&o&&m.end!==(r?r.end:-1)&&qr(m.end),Lt(o),de(g);var D=sr(m,v,o);D>0?(0==(131&o)&&(Xt(),h=!0),Yt(D),f=!1):m&&512&o&&Ht()}g=pe(v),f?zr(e.getCommentRange(v).pos):f=p,d=v.pos,1===t.length?t(v):t(v,s),h&&(Qt(),h=!1),m=v}var b=m?e.getEmitFlags(m):0,x=Z||!!(1024&b),E=(null==a?void 0:a.hasTrailingComma)&&64&o&&16&o;E&&(m&&!x?$e(27,m.end,Jt,m):Jt(",")),m&&(r?r.end:-1)!==m.end&&60&o&&!x&&qr(E&&(null==a?void 0:a.end)?a.end:m.end),128&o&&Qt(),de(g);var S=cr(r,a,o);S?Yt(S):2097408&o&&Ht()}w&&w(a),15360&o&&(l&&a&&qr(a.end),Jt(function(e){return i[15360&e][1]}(o)))}}function jt(e){f.writeLiteral(e)}function Kt(e,t){f.writeSymbol(e,t)}function Jt(e){f.writePunctuation(e)}function Ut(){f.writeTrailingSemicolon(";")}function qt(e){f.writeKeyword(e)}function Vt(e){f.writeOperator(e)}function zt(e){f.writeParameter(e)}function Wt(e){f.writeComment(e)}function Ht(){f.writeSpace(" ")}function Gt(e){f.writeProperty(e)}function $t(e){f.nonEscapingWrite?f.nonEscapingWrite(e):f.write(e)}function Yt(e){void 0===e&&(e=1);for(var t=0;t<e;t++)f.writeLine(t>0)}function Xt(){f.increaseIndent()}function Qt(){f.decreaseIndent()}function Zt(t,r,n,i){return W?tr(t,n,r):function(t,r,n,i,a){if(W||t&&e.isInJsonFile(t))return a(r,n,i);var o=t&&t.emitNode,s=o&&o.flags||0,c=o&&o.tokenSourceMapRanges&&o.tokenSourceMapRanges[r],u=c&&c.source||h;return i=tn(u,c?c.pos:i),0==(128&s)&&i>=0&&nn(u,i),i=a(r,n,i),c&&(i=c.end),0==(256&s)&&i>=0&&nn(u,i),i}(i,t,n,r,tr)}function er(t,r){I&&I(t),r(e.tokenToString(t.kind)),O&&O(t)}function tr(t,r,n){var i=e.tokenToString(t);return r(i),n<0?n:n+i.length}function rr(t,r,n){if(1&e.getEmitFlags(t))Ht();else if(j){var i=fr(t,r,n);i?Yt(i):Ht()}else Yt()}function nr(t){for(var r=t.split(/\r\n?|\n/g),n=e.guessIndentation(r),i=0,a=r;i<a.length;i++){var o=a[i],s=n?o.slice(n):o;s.length&&(Yt(),K(s))}}function ir(e,t){e?(Xt(),Yt(e)):t&&Ht()}function ar(e,t){e&&Qt(),t&&Qt()}function or(t,r,i){if(2&i||j){if(65536&i)return 1;var a=r[0];if(void 0===a)return!t||e.rangeIsOnSingleLine(t,n)?0:1;if(a.pos===d||11===a.kind)return 0;if(t&&!e.positionIsSynthesized(t.pos)&&!e.nodeIsSynthesized(a)&&(!a.parent||e.getOriginalNode(a.parent)===e.getOriginalNode(t)))return j?ur((function(r){return e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(a.pos,t.pos,n,r)})):e.rangeStartPositionsAreOnSameLine(t,a,n)?0:1;if(dr(a,i))return 1}return 1&i?1:0}function sr(t,r,i){if(2&i||j){if(void 0===t||void 0===r||11===r.kind)return 0;if(!e.nodeIsSynthesized(t)&&!e.nodeIsSynthesized(r))return j&&function(t,r){if(r.pos<t.end)return!1;t=e.getOriginalNode(t),r=e.getOriginalNode(r);var n=t.parent;if(!n||n!==r.parent)return!1;var i=e.getContainingNodeArray(t),a=null==i?void 0:i.indexOf(t);return void 0!==a&&a>-1&&i.indexOf(r)===a+1}(t,r)?ur((function(i){return e.getLinesBetweenRangeEndAndRangeStart(t,r,n,i)})):!j&&function(t,r){return(t=e.getOriginalNode(t)).parent&&t.parent===e.getOriginalNode(r).parent}(t,r)?e.rangeEndIsOnSameLineAsRangeStart(t,r,n)?0:1:65536&i?1:0;if(dr(t,i)||dr(r,i))return 1}else if(e.getStartsOnNewLine(r))return 1;return 1&i?1:0}function cr(t,r,i){if(2&i||j){if(65536&i)return 1;var a=e.lastOrUndefined(r);if(void 0===a)return!t||e.rangeIsOnSingleLine(t,n)?0:1;if(t&&!e.positionIsSynthesized(t.pos)&&!e.nodeIsSynthesized(a)&&(!a.parent||a.parent===t)){if(j){var o=e.isNodeArray(r)&&!e.positionIsSynthesized(r.end)?r.end:a.end;return ur((function(r){return e.getLinesBetweenPositionAndNextNonWhitespaceCharacter(o,t.end,n,r)}))}return e.rangeEndPositionsAreOnSameLine(t,a,n)?0:1}if(dr(a,i))return 1}return 1&i&&!(131072&i)?1:0}function ur(t){e.Debug.assert(!!j);var r=t(!0);return 0===r?t(!1):r}function lr(e,t){var r=j&&or(t,[e],0);return r&&ir(r,!1),!!r}function pr(e,t){var r=j&&cr(t,[e],0);r&&Yt(r)}function dr(t,r){if(e.nodeIsSynthesized(t)){var n=e.getStartsOnNewLine(t);return void 0===n?0!=(65536&r):n}return 0!=(65536&r)}function fr(t,r,i){return 131072&e.getEmitFlags(t)?0:(t=mr(t),r=mr(r),i=mr(i),e.getStartsOnNewLine(i)?1:e.nodeIsSynthesized(t)||e.nodeIsSynthesized(r)||e.nodeIsSynthesized(i)?0:j?ur((function(t){return e.getLinesBetweenRangeEndAndRangeStart(r,i,n,t)})):e.rangeEndIsOnSameLineAsRangeStart(r,i,n)?0:1)}function _r(t){return 0===t.statements.length&&e.rangeEndIsOnSameLineAsRangeStart(t,t,n)}function mr(t){for(;211===t.kind&&e.nodeIsSynthesized(t);)t=t.expression;return t}function gr(t,r){return e.isGeneratedIdentifier(t)?Sr(t):(e.isIdentifier(t)||e.isPrivateIdentifier(t))&&(e.nodeIsSynthesized(t)||!t.parent||!n||t.parent&&n&&e.getSourceFileOfNode(t)!==e.getOriginalNode(n))?e.idText(t):10===t.kind&&t.textSourceNode?gr(t.textSourceNode,r):!e.isLiteralExpression(t)||!e.nodeIsSynthesized(t)&&t.parent?e.getSourceTextOfNodeFromSourceFile(n,t,r):t.text}function hr(r,i,a){if(10===r.kind&&r.textSourceNode){var o=r.textSourceNode;if(e.isIdentifier(o)||e.isNumericLiteral(o)){var s=e.isNumericLiteral(o)?o.text:gr(o);return a?'"'.concat(e.escapeJsxAttributeString(s),'"'):i||16777216&e.getEmitFlags(r)?'"'.concat(e.escapeString(s),'"'):'"'.concat(e.escapeNonAsciiString(s),'"')}return hr(o,i,a)}var c=(i?1:0)|(a?2:0)|(t.terminateUnterminatedLiterals?4:0)|(t.target&&99===t.target?8:0);return e.getLiteralText(r,n,c)}function yr(t){t&&524288&e.getEmitFlags(t)||(c.push(u),u=0,l.push(p))}function vr(t){t&&524288&e.getEmitFlags(t)||(u=c.pop(),p=l.pop())}function Dr(t){(!p||p===e.lastOrUndefined(l))&&(p=new e.Set),p.add(t)}function br(t){if(t)switch(t.kind){case 234:case 288:case 289:e.forEach(t.statements,br);break;case 249:case 247:case 239:case 240:br(t.statement);break;case 238:br(t.thenStatement),br(t.elseStatement);break;case 241:case 243:case 242:br(t.initializer),br(t.statement);break;case 248:br(t.caseBlock);break;case 262:e.forEach(t.clauses,br);break;case 251:br(t.tryBlock),br(t.catchClause),br(t.finallyBlock);break;case 291:br(t.variableDeclaration),br(t.block);break;case 236:br(t.declarationList);break;case 254:e.forEach(t.declarations,br);break;case 253:case 163:case 202:case 256:case 267:case 273:Er(t.name);break;case 255:Er(t.name),524288&e.getEmitFlags(t)&&(e.forEach(t.parameters,br),br(t.body));break;case 200:case 201:case 268:e.forEach(t.elements,br);break;case 265:br(t.importClause);break;case 266:Er(t.name),br(t.namedBindings);break;case 269:Er(t.propertyName||t.name)}}function xr(e){if(e)switch(e.kind){case 294:case 295:case 166:case 168:case 171:case 172:Er(e.name)}}function Er(t){t&&(e.isGeneratedIdentifier(t)?Sr(t):e.isBindingPattern(t)&&br(t))}function Sr(t){if(4==(7&t.autoGenerateFlags))return Cr(function(t){for(var r=t.autoGenerateId,n=t,i=n.original;i&&(n=i,!(e.isIdentifier(n)&&4&n.autoGenerateFlags&&n.autoGenerateId!==r));)i=n.original;return n}(t),t.autoGenerateFlags);var r=t.autoGenerateId;return o[r]||(o[r]=function(t){switch(7&t.autoGenerateFlags){case 1:return Ar(0,!!(8&t.autoGenerateFlags));case 2:return Ar(268435456,!!(8&t.autoGenerateFlags));case 3:return Nr(e.idText(t),32&t.autoGenerateFlags?kr:Tr,!!(16&t.autoGenerateFlags),!!(8&t.autoGenerateFlags))}return e.Debug.fail("Unsupported GeneratedIdentifierKind.")}(t))}function Cr(t,r){var n=e.getNodeId(t);return a[n]||(a[n]=function(t,r){switch(t.kind){case 79:return Nr(gr(t),Tr,!!(16&r),!!(8&r));case 260:case 259:return function(t){var r=gr(t.name);return function(t,r){for(var n=r;e.isNodeDescendantOf(n,r);n=n.nextContainer)if(n.locals){var i=n.locals.get(e.escapeLeadingUnderscores(t));if(i&&3257279&i.flags)return!1}return!0}(r,t)?r:Nr(r)}(t);case 265:case 271:return function(t){var r=e.getExternalModuleName(t);return Nr(e.isStringLiteral(r)?e.makeIdentifierFromModuleName(r.text):"module")}(t);case 255:case 256:case 270:return Nr("default");case 225:return Nr("class");case 168:case 171:case 172:return function(t){return e.isIdentifier(t.name)?Cr(t.name):Ar(0)}(t);case 161:return Ar(0,!0);default:return Ar(0)}}(t,r))}function Tr(e){return kr(e)&&!s.has(e)&&!(p&&p.has(e))}function kr(t){return!n||e.isFileLevelUniqueName(n,t,E)}function Ar(e,t){if(e&&!(u&e)&&Tr(r=268435456===e?"_i":"_n"))return u|=e,t&&Dr(r),r;for(;;){var r,n=268435455&u;if(u++,8!==n&&13!==n&&Tr(r=n<26?"_"+String.fromCharCode(97+n):"_"+(n-26)))return t&&Dr(r),r}}function Nr(e,t,r,n){if(void 0===t&&(t=Tr),r&&t(e))return n?Dr(e):s.add(e),e;95!==e.charCodeAt(e.length-1)&&(e+="_");for(var i=1;;){var a=e+i;if(t(a))return n?Dr(a):s.add(a),a;i++}}function Pr(e){return Nr(e,kr,!0)}function Fr(e,t){var r=Ie(2,e,t),n=$,i=Y,a=X;wr(t),r(e,t),Ir(t,n,i,a)}function wr(t){var r=e.getEmitFlags(t),n=e.getCommentRange(t);(function(t,r,n,i){te(),Q=!1;var a=n<0||0!=(512&r)||11===t.kind,o=i<0||0!=(1024&r)||11===t.kind;(n>0||i>0)&&n!==i&&(a||Br(n,347!==t.kind),(!a||n>=0&&0!=(512&r))&&($=n),(!o||i>=0&&0!=(1024&r))&&(Y=i,254===t.kind&&(X=i))),e.forEach(e.getSyntheticLeadingComments(t),Or),re()})(t,r,n.pos,n.end),2048&r&&(Z=!0)}function Ir(t,r,n,i){var a=e.getEmitFlags(t),o=e.getCommentRange(t);2048&a&&(Z=!1),function(t,r,n,i,a,o,s){te();var c=i<0||0!=(1024&r)||11===t.kind;e.forEach(e.getSyntheticTrailingComments(t),Lr),(n>0||i>0)&&n!==i&&($=a,Y=o,X=s,!c&&347!==t.kind&&function(e){$r(e,Vr)}(i)),re()}(t,a,o.pos,o.end,r,n,i)}function Or(e){(e.hasLeadingNewline||2===e.kind)&&f.writeLine(),Mr(e),e.hasTrailingNewLine||2===e.kind?f.writeLine():f.writeSpace(" ")}function Lr(e){f.isAtStartOfLine()||f.writeSpace(" "),Mr(e),e.hasTrailingNewLine&&f.writeLine()}function Mr(t){var r=function(e){return 3===e.kind?"/*".concat(e.text,"*/"):"//".concat(e.text)}(t),n=3===t.kind?e.computeLineStarts(r):void 0;e.writeCommentRange(r,n,f,0,r.length,M)}function Rr(t,r,i){te();var a=r.pos,o=r.end,s=e.getEmitFlags(t),c=Z||o<0||0!=(1024&s);a<0||0!=(512&s)||function(t){var r=e.emitDetachedComments(n.text,xe(),f,Yr,t,M,Z);r&&(D?D.push(r):D=[r])}(r),re(),2048&s&&!Z?(Z=!0,i(t),Z=!1):i(t),te(),c||(Br(r.end,!0),Q&&!f.isAtStartOfLine()&&f.writeLine()),re()}function Br(e,t){Q=!1,t?0===e&&(null==n?void 0:n.isDeclarationFile)?Gr(e,Kr):Gr(e,Ur):0===e&&Gr(e,jr)}function jr(e,t,r,n,i){Xr(e,t)&&Ur(e,t,r,n,i)}function Kr(e,t,r,n,i){Xr(e,t)||Ur(e,t,r,n,i)}function Jr(r,n){return!t.onlyPrintJsDocStyle||e.isJSDocLikeText(r,n)||e.isPinnedComment(r,n)}function Ur(t,r,i,a,o){!Jr(n.text,t)||(Q||(e.emitNewLineBeforeLeadingCommentOfPosition(xe(),f,o,t),Q=!0),rn(t),e.writeCommentRange(n.text,xe(),f,t,r,M),rn(r),a?f.writeLine():3===i&&f.writeSpace(" "))}function qr(e){Z||-1===e||Br(e,!0)}function Vr(t,r,i,a){!Jr(n.text,t)||(f.isAtStartOfLine()||f.writeSpace(" "),rn(t),e.writeCommentRange(n.text,xe(),f,t,r,M),rn(r),a&&f.writeLine())}function zr(e,t,r){Z||(te(),$r(e,t?Vr:r?Wr:Hr),re())}function Wr(t,r,i){rn(t),e.writeCommentRange(n.text,xe(),f,t,r,M),rn(r),2===i&&f.writeLine()}function Hr(t,r,i,a){rn(t),e.writeCommentRange(n.text,xe(),f,t,r,M),rn(r),a?f.writeLine():f.writeSpace(" ")}function Gr(t,r){n&&(-1===$||t!==$)&&(function(t){return void 0!==D&&e.last(D).nodePos===t}(t)?function(t){var r=e.last(D).detachedCommentEndPos;D.length-1?D.pop():D=void 0,e.forEachLeadingCommentRange(n.text,r,t,r)}(r):e.forEachLeadingCommentRange(n.text,t,r,t))}function $r(t,r){n&&(-1===Y||t!==Y&&t!==X)&&e.forEachTrailingCommentRange(n.text,t,r)}function Yr(t,r,i,a,o,s){!Jr(n.text,a)||(rn(a),e.writeCommentRange(t,r,i,a,o,s),rn(o))}function Xr(t,r){return e.isRecognizedTripleSlashComment(n.text,t,r)}function Qr(e,t){var r=Ie(3,e,t);Zr(t),r(e,t),en(t)}function Zr(t){var r=e.getEmitFlags(t),n=e.getSourceMapRange(t);if(e.isUnparsedNode(t)){e.Debug.assertIsDefined(t.parent,"UnparsedNodes must have parent pointers");var i=function(t){return void 0===t.parsedSourceMap&&void 0!==t.sourceMapText&&(t.parsedSourceMap=e.tryParseRawSourceMap(t.sourceMapText)||!1),t.parsedSourceMap||void 0}(t.parent);i&&g&&g.appendSourceMap(f.getLine(),f.getColumn(),i,t.parent.sourceMapPath,t.parent.getLineAndCharacterOfPosition(t.pos),t.parent.getLineAndCharacterOfPosition(t.end))}else{var a=n.source||h;347!==t.kind&&0==(16&r)&&n.pos>=0&&nn(n.source||h,tn(a,n.pos)),64&r&&(W=!0)}}function en(t){var r=e.getEmitFlags(t),n=e.getSourceMapRange(t);e.isUnparsedNode(t)||(64&r&&(W=!1),347!==t.kind&&0==(32&r)&&n.end>=0&&nn(n.source||h,n.end))}function tn(t,r){return t.skipTrivia?t.skipTrivia(r):e.skipTrivia(t.text,r)}function rn(t){if(!(W||e.positionIsSynthesized(t)||on(h))){var r=e.getLineAndCharacterOfPosition(h,t),n=r.line,i=r.character;g.addMapping(f.getLine(),f.getColumn(),H,n,i,void 0)}}function nn(e,t){if(e!==h){var r=h,n=H;an(e),rn(t),function(e,t){h=e,H=t}(r,n)}else rn(t)}function an(e){if(!W){if(h=e,e===y)return void(H=G);on(e)||(H=g.addSource(e.fileName),t.inlineSources&&g.setSourceContent(H,e.text),y=e,G=H)}}function on(t){return e.fileExtensionIs(t.fileName,".json")}}e.isBuildInfoFile=function(t){return e.fileExtensionIs(t,".tsbuildinfo")},e.forEachEmittedFile=o,e.getTsBuildInfoEmitOutputFilePath=s,e.getOutputPathsForBundle=c,e.getOutputPathsFor=u,e.getOutputExtension=p,e.getOutputDeclarationFileName=f,e.getCommonSourceDirectory=y,e.getCommonSourceDirectoryOfConfig=v,e.getAllProjectOutputs=function(t,r){var n=m(),i=n.addOutput,a=n.getOutputs;if(e.outFile(t.options))g(t,i);else{for(var o=e.memoize((function(){return v(t,r)})),c=0,u=t.fileNames;c<u.length;c++){var l=u[c];h(t,l,r,i,o)}i(s(t.options))}return a()},e.getOutputFileNames=function(t,r,n){r=e.normalizePath(r),e.Debug.assert(e.contains(t.fileNames,r),"Expected fileName to be present in command line");var i=m(),a=i.addOutput,o=i.getOutputs;return e.outFile(t.options)?g(t,a):h(t,r,n,a),o()},e.getFirstProjectOutput=function(t,r){if(e.outFile(t.options)){var n=c(t.options,!1).jsFilePath;return e.Debug.checkDefined(n,"project ".concat(t.options.configFilePath," expected to have at least one output"))}for(var i=e.memoize((function(){return v(t,r)})),a=0,o=t.fileNames;a<o.length;a++){var u=o[a];if(!e.fileExtensionIs(u,".d.ts")){if(n=_(u,t,r,i))return n;if(!e.fileExtensionIs(u,".json")&&e.getEmitDeclarations(t.options))return f(u,t,r,i)}}return s(t.options)||e.Debug.fail("project ".concat(t.options.configFilePath," expected to have at least one output"))},e.emitFiles=D,e.getBuildInfoText=b,e.getBuildInfo=x,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,getJsxFragmentFactoryEntity:e.notImplemented,getAllAccessorDeclarations:e.notImplemented,getSymbolOfExternalModuleSpecifier:e.notImplemented,isBindingCapturedByNode:e.notImplemented,getDeclarationStatementsForSourceFile:e.notImplemented,isImportRequiredByAugmentation:e.notImplemented},e.emitUsingBuildInfo=function(t,r,n,i){var o=c(t.options,!1),s=o.buildInfoPath,u=o.jsFilePath,l=o.sourceMapFilePath,p=o.declarationFilePath,d=o.declarationMapPath,f=r.readFile(e.Debug.checkDefined(s));if(!f)return s;var _=r.readFile(e.Debug.checkDefined(u));if(!_)return u;var m=l&&r.readFile(l);if(l&&!m||t.options.inlineSourceMap)return l||"inline sourcemap decoding";var g=p&&r.readFile(p);if(p&&!g)return p;var h=d&&r.readFile(d);if(d&&!h||t.options.inlineSourceMap)return d||"inline sourcemap decoding";var y=x(f);if(!y.bundle||!y.bundle.js||g&&!y.bundle.dts)return s;var v=e.getDirectoryPath(e.getNormalizedAbsolutePath(s,r.getCurrentDirectory())),E=e.createInputFiles(_,g,l,m,d,h,u,p,s,y,!0),S=[],C=e.createPrependNodes(t.projectReferences,n,(function(e){return r.readFile(e)})),T=function(t,r,n){var i,a=e.Debug.checkDefined(t.js),o=(null===(i=a.sources)||void 0===i?void 0:i.prologues)&&e.arrayToMap(a.sources.prologues,(function(e){return e.file}));return t.sourceFiles.map((function(t,i){var a,s,c=null==o?void 0:o.get(i),u=null==c?void 0:c.directives.map((function(t){var r=e.setTextRange(e.factory.createStringLiteral(t.expression.text),t.expression),n=e.setTextRange(e.factory.createExpressionStatement(r),t);return e.setParent(r,n),n})),l=e.factory.createToken(1),p=e.factory.createSourceFile(null!=u?u:[],l,0);return p.fileName=e.getRelativePathFromDirectory(n.getCurrentDirectory(),e.getNormalizedAbsolutePath(t,r),!n.useCaseSensitiveFileNames()),p.text=null!==(a=null==c?void 0:c.text)&&void 0!==a?a:"",e.setTextRangePosWidth(p,0,null!==(s=null==c?void 0:c.text.length)&&void 0!==s?s:0),e.setEachParent(p.statements,p),e.setTextRangePosWidth(l,p.end,0),e.setParent(l,p),p}))}(y.bundle,v,r),k={getPrependNodes:e.memoize((function(){return a(a([],C,!0),[E],!1)})),getCanonicalFileName:r.getCanonicalFileName,getCommonSourceDirectory:function(){return e.getNormalizedAbsolutePath(y.bundle.commonSourceDirectory,v)},getCompilerOptions:function(){return t.options},getCurrentDirectory:function(){return r.getCurrentDirectory()},getNewLine:function(){return r.getNewLine()},getSourceFile:e.returnUndefined,getSourceFileByPath:e.returnUndefined,getSourceFiles:function(){return T},getLibFileFromReference:e.notImplemented,isSourceFileFromExternalLibrary:e.returnFalse,getResolvedProjectReferenceToRedirect:e.returnUndefined,getProjectReferenceRedirect:e.returnUndefined,isSourceOfProjectReferenceRedirect:e.returnFalse,writeFile:function(t,r,n){switch(t){case u:if(_===r)return;break;case l:if(m===r)return;break;case s:var i=x(r);i.program=y.program;var a=y.bundle,o=a.js,c=a.dts,f=a.sourceFiles;return i.bundle.js.sources=o.sources,c&&(i.bundle.dts.sources=c.sources),i.bundle.sourceFiles=f,void S.push({name:t,text:b(i),writeByteOrderMark:n});case p:if(g===r)return;break;case d:if(h===r)return;break;default:e.Debug.fail("Unexpected path: ".concat(t))}S.push({name:t,text:r,writeByteOrderMark:n})},isEmitBlocked:e.returnFalse,readFile:function(e){return r.readFile(e)},fileExists:function(e){return r.fileExists(e)},useCaseSensitiveFileNames:function(){return r.useCaseSensitiveFileNames()},getProgramBuildInfo:e.returnUndefined,getSourceFileFromReference:e.returnUndefined,redirectTargetsMap:e.createMultiMap(),getFileIncludeReasons:e.notImplemented};return D(e.notImplementedResolver,k,void 0,e.getTransformers(t.options,i)),S},(r=t||(t={}))[r.Notification=0]="Notification",r[r.Substitution=1]="Substitution",r[r.Comments=2]="Comments",r[r.SourceMaps=3]="SourceMaps",r[r.Emit=4]="Emit",e.createPrinter=E,function(e){e[e.Auto=0]="Auto",e[e.CountMask=268435455]="CountMask",e[e._i=268435456]="_i"}(n||(n={}))}(n||(n={})),function(e){var t,r;function n(e){e.watcher.close()}e.createCachedDirectoryStructureHost=function(t,r,n){if(t.getDirectories&&t.readDirectory){var i=new e.Map,a=e.createGetCanonicalFileName(n);return{useCaseSensitiveFileNames:n,fileExists:function(e){var r=c(o(e));return r&&d(r.files,u(e))||t.fileExists(e)},readFile:function(e,r){return t.readFile(e,r)},directoryExists:t.directoryExists&&function(r){var n=o(r);return i.has(e.ensureTrailingDirectorySeparator(n))||t.directoryExists(r)},getDirectories:function(e){var r=l(e,o(e));return r?r.directories.slice():t.getDirectories(e)},readDirectory:function(i,a,s,c,p){var d,f=o(i),m=l(i,f);return void 0!==m?e.matchFiles(i,a,s,c,n,r,p,g,_):t.readDirectory(i,a,s,c,p);function g(t){var r=o(t);if(r===f)return m||h(t,r);var n=l(t,r);return void 0!==n?n||h(t,r):e.emptyFileSystemEntries}function h(r,n){if(d&&n===f)return d;var i={files:e.map(t.readDirectory(r,void 0,void 0,["*.*"]),u)||e.emptyArray,directories:t.getDirectories(r)||e.emptyArray};return n===f&&(d=i),i}},createDirectory:t.createDirectory&&function(e){var r=c(o(e)),n=u(e);r&&f(r.directories,n,!0),t.createDirectory(e)},writeFile:t.writeFile&&function(e,r,n){var i=c(o(e));return i&&m(i,u(e),!0),t.writeFile(e,r,n)},addOrDeleteFileOrDirectory:function(e,r){if(void 0===s(r)){var n=c(r);if(n){if(!t.directoryExists)return void g();var i=u(e),a={fileExists:t.fileExists(r),directoryExists:t.directoryExists(r)};return a.directoryExists||d(n.directories,i)?g():m(n,i,a.fileExists),a}}else g()},addOrDeleteFile:function(t,r,n){if(n!==e.FileWatcherEventKind.Changed){var i=c(r);i&&m(i,u(t),n===e.FileWatcherEventKind.Created)}},clearCache:g,realpath:t.realpath&&_}}function o(t){return e.toPath(t,r,a)}function s(t){return i.get(e.ensureTrailingDirectorySeparator(t))}function c(t){return s(e.getDirectoryPath(t))}function u(t){return e.getBaseFileName(e.normalizePath(t))}function l(r,n){var a=s(n=e.ensureTrailingDirectorySeparator(n));if(a)return a;try{return function(r,n){var a;if(!t.realpath||e.ensureTrailingDirectorySeparator(o(t.realpath(r)))===n){var s={files:e.map(t.readDirectory(r,void 0,void 0,["*.*"]),u)||[],directories:t.getDirectories(r)||[]};return i.set(e.ensureTrailingDirectorySeparator(n),s),s}if(null!==(a=t.directoryExists)&&void 0!==a&&a.call(t,r))return i.set(n,!1),!1}(r,n)}catch{return void e.Debug.assert(!i.has(e.ensureTrailingDirectorySeparator(n)))}}function p(e,t){return a(e)===a(t)}function d(t,r){return e.some(t,(function(e){return p(e,r)}))}function f(t,r,n){if(d(t,r)){if(!n)return e.filterMutate(t,(function(e){return!p(e,r)}))}else if(n)return t.push(r)}function _(e){return t.realpath?t.realpath(e):e}function m(e,t,r){f(e.files,t,r)}function g(){i.clear()}},(t=e.ConfigFileProgramReloadLevel||(e.ConfigFileProgramReloadLevel={}))[t.None=0]="None",t[t.Partial=1]="Partial",t[t.Full=2]="Full",e.updateSharedExtendedConfigFileWatcher=function(t,r,n,i,a){var o,s=e.arrayToMap((null===(o=null==r?void 0:r.configFile)||void 0===o?void 0:o.extendedSourceFiles)||e.emptyArray,a);n.forEach((function(e,r){s.has(r)||(e.projects.delete(t),e.close())})),s.forEach((function(r,a){var o=n.get(a);o?o.projects.add(t):n.set(a,{projects:new e.Set([t]),watcher:i(r,a),close:function(){var e=n.get(a);!e||0!==e.projects.size||(e.watcher.close(),n.delete(a))}})}))},e.clearSharedExtendedConfigFileWatcher=function(e,t){t.forEach((function(t){t.projects.delete(e)&&t.close()}))},e.cleanExtendedConfigCache=function e(t,r,n){!t.delete(r)||t.forEach((function(i,a){var o;null!==(o=i.extendedResult.extendedSourceFiles)&&void 0!==o&&o.some((function(e){return n(e)===r}))&&e(t,a,n)}))},e.updatePackageJsonWatch=function(t,r,n){var i=new e.Map(t);e.mutateMap(r,i,{createNewValue:n,onDeleteValue:e.closeFileWatcher})},e.updateMissingFilePathsWatch=function(t,r,n){var i=t.getMissingFilePaths(),a=e.arrayToMap(i,e.identity,e.returnTrue);e.mutateMap(r,a,{createNewValue:n,onDeleteValue:e.closeFileWatcher})},e.updateWatchingWildcardDirectories=function(t,r,i){function a(e,t){return{watcher:i(e,t),flags:t}}e.mutateMap(t,r,{createNewValue:a,onDeleteValue:n,onExistingValue:function(e,r,n){e.flags!==r&&(e.watcher.close(),t.set(n,a(n,r)))}})},e.isIgnoredFileFromWildCardWatching=function(t){var r=t.watchedDirPath,n=t.fileOrDirectory,i=t.fileOrDirectoryPath,a=t.configFileName,o=t.options,s=t.program,c=t.extraFileExtensions,u=t.currentDirectory,l=t.useCaseSensitiveFileNames,p=t.writeLog,d=t.toPath,f=e.removeIgnoredPath(i);if(!f)return p("Project: ".concat(a," Detected ignored path: ").concat(n)),!0;if((i=f)===r)return!1;if(e.hasExtension(i)&&!e.isSupportedSourceFileName(n,o,c))return p("Project: ".concat(a," Detected file add/remove of non supported extension: ").concat(n)),!0;if(e.isExcludedFile(n,o.configFile.configFileSpecs,e.getNormalizedAbsolutePath(e.getDirectoryPath(a),u),l,u))return p("Project: ".concat(a," Detected excluded file: ").concat(n)),!0;if(!s||e.outFile(o)||o.outDir)return!1;if(e.fileExtensionIs(i,".d.ts")){if(o.declarationDir)return!1}else if(!e.fileExtensionIsOneOf(i,e.supportedJSExtensionsFlat))return!1;var _=e.removeFileExtension(i),m=e.isArray(s)?void 0:function(e){return!!e.getState}(s)?s.getProgramOrUndefined():s,g=m||e.isArray(s)?void 0:s;return!(!h(_+".ts")&&!h(_+".tsx")||(p("Project: ".concat(a," Detected output file: ").concat(n)),0));function h(t){return m?!!m.getSourceFileByPath(t):g?g.getState().fileInfos.has(t):!!e.find(s,(function(e){return d(e)===t}))}},e.isEmittedFileOfProgram=function(e,t){return!!e&&e.isEmittedFile(t)},function(e){e[e.None=0]="None",e[e.TriggerOnly=1]="TriggerOnly",e[e.Verbose=2]="Verbose"}(r=e.WatchLogLevel||(e.WatchLogLevel={})),e.getWatchFactory=function(t,n,i,o){e.setSysLog(n===r.Verbose?i:e.noop);var s={watchFile:function(e,r,n,i){return t.watchFile(e,r,n,i)},watchDirectory:function(e,r,n,i){return t.watchDirectory(e,r,0!=(1&n),i)}},c=n!==r.None?{watchFile:d("watchFile"),watchDirectory:d("watchDirectory")}:void 0,u=n===r.Verbose?{watchFile:function(e,t,r,n,a,s){i("FileWatcher:: Added:: ".concat(f(e,r,n,a,s,o)));var u=c.watchFile(e,t,r,n,a,s);return{close:function(){i("FileWatcher:: Close:: ".concat(f(e,r,n,a,s,o))),u.close()}}},watchDirectory:function(t,r,n,a,s,u){var l="DirectoryWatcher:: Added:: ".concat(f(t,n,a,s,u,o));i(l);var p=e.timestamp(),d=c.watchDirectory(t,r,n,a,s,u),_=e.timestamp()-p;return i("Elapsed:: ".concat(_,"ms ").concat(l)),{close:function(){var r="DirectoryWatcher:: Close:: ".concat(f(t,n,a,s,u,o));i(r);var c=e.timestamp();d.close();var l=e.timestamp()-c;i("Elapsed:: ".concat(l,"ms ").concat(r))}}}}:c||s,l=n===r.Verbose?function(e,t,r,n,a){return i("ExcludeWatcher:: Added:: ".concat(f(e,t,r,n,a,o))),{close:function(){return i("ExcludeWatcher:: Close:: ".concat(f(e,t,r,n,a,o)))}}}:e.returnNoopFileWatcher;return{watchFile:p("watchFile"),watchDirectory:p("watchDirectory")};function p(r){return function(n,i,a,o,s,c){var p;return e.matchesExclude(n,"watchFile"===r?null==o?void 0:o.excludeFiles:null==o?void 0:o.excludeDirectories,"boolean"==typeof t.useCaseSensitiveFileNames?t.useCaseSensitiveFileNames:t.useCaseSensitiveFileNames(),(null===(p=t.getCurrentDirectory)||void 0===p?void 0:p.call(t))||"")?l(n,a,o,s,c):u[r].call(void 0,n,i,a,o,s,c)}}function d(t){return function(r,n,c,u,l,p){return s[t].call(void 0,r,(function(){for(var s=[],d=0;d<arguments.length;d++)s[d]=arguments[d];var _="".concat("watchFile"===t?"FileWatcher":"DirectoryWatcher",":: Triggered with ").concat(s[0]," ").concat(void 0!==s[1]?s[1]:"",":: ").concat(f(r,c,u,l,p,o));i(_);var m=e.timestamp();n.call.apply(n,a([void 0],s,!1));var g=e.timestamp()-m;i("Elapsed:: ".concat(g,"ms ").concat(_))}),c,u,l,p)}}function f(e,t,r,n,i,a){return"WatchInfo: ".concat(e," ").concat(t," ").concat(JSON.stringify(r)," ").concat(a?a(n,i):void 0===i?n:"".concat(n," ").concat(i))}},e.getFallbackOptions=function(t){var r=null==t?void 0:t.fallbackPolling;return{watchFile:void 0!==r?r:e.WatchFileKind.PriorityPollingInterval}},e.closeFileWatcherOf=n}(n||(n={})),function(e){function t(t,r){var n=e.getDirectoryPath(r),i=e.isRootedDiskPath(t)?t:e.combinePaths(n,t);return e.normalizePath(i)}function r(e,t){return n(e,t)}function n(t,r,n){void 0===n&&(n=e.sys);var i,a=new e.Map,o=e.createGetCanonicalFileName(n.useCaseSensitiveFileNames),s=e.maybeBind(n,n.createHash)||e.generateDjb2Hash;function c(){return e.getDirectoryPath(e.normalizePath(n.getExecutingFilePath()))}var u=e.getNewLineCharacter(t,(function(){return n.newLine})),l=n.realpath&&function(e){return n.realpath(e)},p={getSourceFile:function(t,n,i){var a;try{e.performance.mark("beforeIORead"),a=p.readFile(t),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(e){i&&i(e.message),a=""}return void 0!==a?e.createSourceFile(t,a,n,r):void 0},getDefaultLibLocation:c,getDefaultLibFileName:function(t){return e.combinePaths(c(),e.getDefaultLibFileName(t))},writeFile:function(r,o,c,u){try{e.performance.mark("beforeIOWrite"),e.writeFileEnsuringDirectories(r,o,c,(function(r,a,o){return function(r,a,o){if(e.isWatchSet(t)&&n.getModifiedTime){i||(i=new e.Map);var c=s(a),u=n.getModifiedTime(r);if(u){var l=i.get(r);if(l&&l.byteOrderMark===o&&l.hash===c&&l.mtime.getTime()===u.getTime())return}n.writeFile(r,a,o);var p=n.getModifiedTime(r)||e.missingFileModifiedTime;i.set(r,{hash:c,byteOrderMark:o,mtime:p})}else n.writeFile(r,a,o)}(r,a,o)}),(function(e){return(p.createDirectory||n.createDirectory)(e)}),(function(e){return function(e){return!!a.has(e)||!!(p.directoryExists||n.directoryExists)(e)&&(a.set(e,!0),!0)}(e)})),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){u&&u(e.message)}},getCurrentDirectory:e.memoize((function(){return n.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return n.useCaseSensitiveFileNames},getCanonicalFileName:o,getNewLine:function(){return u},fileExists:function(e){return n.fileExists(e)},readFile:function(e){return n.readFile(e)},trace:function(e){return n.write(e+u)},directoryExists:function(e){return n.directoryExists(e)},getEnvironmentVariable:function(e){return n.getEnvironmentVariable?n.getEnvironmentVariable(e):""},getDirectories:function(e){return n.getDirectories(e)},realpath:l,readDirectory:function(e,t,r,i,a){return n.readDirectory(e,t,r,i,a)},createDirectory:function(e){return n.createDirectory(e)},createHash:e.maybeBind(n,n.createHash)};return p}function i(t,r){var n="".concat(e.diagnosticCategoryName(t)," TS").concat(t.code,": ").concat(m(t.messageText,r.getNewLine())).concat(r.getNewLine());if(t.file){var i=e.getLineAndCharacterOfPosition(t.file,t.start),a=i.line,o=i.character,s=t.file.fileName,c=e.convertToRelativePath(s,r.getCurrentDirectory(),(function(e){return r.getCanonicalFileName(e)}));return"".concat(c,"(").concat(a+1,",").concat(o+1,"): ")+n}return n}var o,s;e.findConfigFile=function(t,r,n){return void 0===n&&(n="tsconfig.json"),e.forEachAncestorDirectory(t,(function(t){var i=e.combinePaths(t,n);return r(i)?i:void 0}))},e.resolveTripleslashReference=t,e.computeCommonSourceDirectoryOfFilenames=function(t,r,n){var i;return e.forEach(t,(function(t){var a=e.getNormalizedPathComponents(t,r);if(a.pop(),i){for(var o=Math.min(i.length,a.length),s=0;s<o;s++)if(n(i[s])!==n(a[s])){if(0===s)return!0;i.length=s;break}a.length<i.length&&(i.length=a.length)}else i=a}))?"":i?e.getPathFromPathComponents(i):r},e.createCompilerHost=r,e.createCompilerHostWorker=n,e.changeCompilerHostLikeToUseCache=function(t,r,n){var i=t.readFile,a=t.fileExists,o=t.directoryExists,s=t.createDirectory,c=t.writeFile,u=new e.Map,l=new e.Map,p=new e.Map,d=new e.Map,f=function(e,r){var n=i.call(t,r);return u.set(e,void 0!==n&&n),n};t.readFile=function(n){var a=r(n),o=u.get(a);return void 0!==o?!1!==o?o:void 0:e.fileExtensionIs(n,".json")||e.isBuildInfoFile(n)?f(a,n):i.call(t,n)};var _=n?function(t,i,a,o){var s=r(t),c=d.get(s);if(c)return c;var u=n(t,i,a,o);return u&&(e.isDeclarationFileName(t)||e.fileExtensionIs(t,".json"))&&d.set(s,u),u}:void 0;return t.fileExists=function(e){var n=r(e),i=l.get(n);if(void 0!==i)return i;var o=a.call(t,e);return l.set(n,!!o),o},c&&(t.writeFile=function(e,n,i,a,o){var s=r(e);l.delete(s);var p=u.get(s);if(void 0!==p&&p!==n)u.delete(s),d.delete(s);else if(_){var f=d.get(s);f&&f.text!==n&&d.delete(s)}c.call(t,e,n,i,a,o)}),o&&s&&(t.directoryExists=function(e){var n=r(e),i=p.get(n);if(void 0!==i)return i;var a=o.call(t,e);return p.set(n,!!a),a},t.createDirectory=function(e){var n=r(e);p.delete(n),s.call(t,e)}),{originalReadFile:i,originalFileExists:a,originalDirectoryExists:o,originalCreateDirectory:s,originalWriteFile:c,getSourceFileWithCache:_,readFileWithCache:function(e){var t=r(e),n=u.get(t);return void 0!==n?!1!==n?n:void 0:f(t,e)}}},e.getPreEmitDiagnostics=function(t,r,n){var i;return i=e.addRange(i,t.getConfigFileParsingDiagnostics()),i=e.addRange(i,t.getOptionsDiagnostics(n)),i=e.addRange(i,t.getSyntacticDiagnostics(r,n)),i=e.addRange(i,t.getGlobalDiagnostics(n)),i=e.addRange(i,t.getSemanticDiagnostics(r,n)),e.getEmitDeclarations(t.getCompilerOptions())&&(i=e.addRange(i,t.getDeclarationDiagnostics(r,n))),e.sortAndDeduplicateDiagnostics(i||e.emptyArray)},e.formatDiagnostics=function(e,t){for(var r="",n=0,a=e;n<a.length;n++)r+=i(a[n],t);return r},e.formatDiagnostic=i,(s=o=e.ForegroundColorEscapeSequences||(e.ForegroundColorEscapeSequences={})).Grey="",s.Red="",s.Yellow="",s.Blue="",s.Cyan="";var c="",u="",l=" ";function p(t){switch(t){case e.DiagnosticCategory.Error:return o.Red;case e.DiagnosticCategory.Warning:return o.Yellow;case e.DiagnosticCategory.Suggestion:return e.Debug.fail("Should never get an Info diagnostic on the command line.");case e.DiagnosticCategory.Message:return o.Blue}}function d(e,t){return t+e+u}function f(t,r,n,i,a,o){var s=e.getLineAndCharacterOfPosition(t,r),l=s.line,p=s.character,f=e.getLineAndCharacterOfPosition(t,r+n),_=f.line,m=f.character,g=e.getLineAndCharacterOfPosition(t,t.text.length).line,h=_-l>=4,y=(_+1+"").length;h&&(y=Math.max("...".length,y));for(var v="",D=l;D<=_;D++){v+=o.getNewLine(),h&&l+1<D&&D<_-1&&(v+=i+d(e.padLeft("...",y),c)+" "+o.getNewLine(),D=_-1);var b=e.getPositionOfLineAndCharacter(t,D,0),x=D<g?e.getPositionOfLineAndCharacter(t,D+1,0):t.text.length,E=t.text.slice(b,x);if(E=(E=e.trimStringEnd(E)).replace(/\t/g," "),v+=i+d(e.padLeft(D+1+"",y),c)+" ",v+=E+o.getNewLine(),v+=i+d(e.padLeft("",y),c)+" ",v+=a,D===l){var S=D===_?m:void 0;v+=E.slice(0,p).replace(/\S/g," "),v+=E.slice(p,S).replace(/./g,"~")}else v+=D===_?E.slice(0,m).replace(/./g,"~"):E.replace(/./g,"~");v+=u}return v}function _(t,r,n,i){void 0===i&&(i=d);var a=e.getLineAndCharacterOfPosition(t,r),s=a.line,c=a.character,u="";return u+=i(n?e.convertToRelativePath(t.fileName,n.getCurrentDirectory(),(function(e){return n.getCanonicalFileName(e)})):t.fileName,o.Cyan),u+=":",u+=i("".concat(s+1),o.Yellow),(u+=":")+i("".concat(c+1),o.Yellow)}function m(t,r,n){if(void 0===n&&(n=0),e.isString(t))return t;if(void 0===t)return"";var i="";if(n){i+=r;for(var a=0;a<n;a++)i+=" "}if(i+=t.messageText,n++,t.next)for(var o=0,s=t.next;o<s.length;o++)i+=m(s[o],r,n);return i}function g(t,r,n,i){if(0===t.length)return[];for(var a=[],o=new e.Map,s=0,c=t;s<c.length;s++){var u=c[s],l=void 0;o.has(u)?l=o.get(u):o.set(u,l=i(u,r,n)),a.push(l)}return a}function h(e,t){if(void 0!==e.impliedNodeFormat)return y(e,w(e,t))}function y(t,r){var n;if(void 0!==t.impliedNodeFormat){if(t.impliedNodeFormat!==e.ModuleKind.ESNext)return e.isImportCall(e.walkUpParenthesizedExpressions(r.parent))?e.ModuleKind.ESNext:e.ModuleKind.CommonJS;var i=null===(n=e.walkUpParenthesizedExpressions(r.parent))||void 0===n?void 0:n.parent;return i&&e.isImportEqualsDeclaration(i)?e.ModuleKind.CommonJS:e.ModuleKind.ESNext}}function v(t,r,n,i,a){if(0===t.length)return[];for(var o=[],s=new e.Map,c=0,u=0,l=t;u<l.length;u++){var p=l[u],d=void 0,f=h(r,c);c++;var _=void 0!==f?"".concat(f,"|").concat(p):p;s.has(_)?d=s.get(_):s.set(_,d=a(p,f,n,i)),o.push(d)}return o}function D(t,r,n,i){var a;return function t(r,o,s){if(i){var c=i(r,s);if(c)return c}return e.forEach(o,(function(r,i){if(!r||!(null==a?void 0:a.has(r.sourceFile.path))){var o=n(r,s,i);return o||!r?o:((a||(a=new e.Set)).add(r.sourceFile.path),t(r.commandLine.projectReferences,r.references,r))}}))}(t,r,void 0)}function b(t){switch(null==t?void 0:t.kind){case e.FileIncludeKind.Import:case e.FileIncludeKind.ReferenceFile:case e.FileIncludeKind.TypeReferenceDirective:case e.FileIncludeKind.LibReferenceDirective:return!0;default:return!1}}function x(e){return void 0!==e.pos}function E(t,r){var n,i,a,o,s,c,u,l,p,d,f=e.Debug.checkDefined(t(r.file)),_=r.kind,m=r.index;switch(_){case e.FileIncludeKind.Import:var g=w(f,m);if(d=null===(s=null===(o=f.resolvedModules)||void 0===o?void 0:o.get(g.text,h(f,m)))||void 0===s?void 0:s.packageId,-1===g.pos)return{file:f,packageId:d,text:g.text};l=e.skipTrivia(f.text,g.pos),p=g.end;break;case e.FileIncludeKind.ReferenceFile:l=(n=f.referencedFiles[m]).pos,p=n.end;break;case e.FileIncludeKind.TypeReferenceDirective:l=(i=f.typeReferenceDirectives[m]).pos,p=i.end,d=null===(u=null===(c=f.resolvedTypeReferenceDirectiveNames)||void 0===c?void 0:c.get(e.toFileNameLowerCase(f.typeReferenceDirectives[m].fileName),f.impliedNodeFormat))||void 0===u?void 0:u.packageId;break;case e.FileIncludeKind.LibReferenceDirective:l=(a=f.libReferenceDirectives[m]).pos,p=a.end;break;default:return e.Debug.assertNever(_)}return{file:f,pos:l,end:p,packageId:d}}function S(t,r,n,i){switch(e.getEmitModuleResolutionKind(i)){case e.ModuleResolutionKind.Node12:case e.ModuleResolutionKind.NodeNext:return e.fileExtensionIsOneOf(t,[".d.mts",".mts",".mjs"])?e.ModuleKind.ESNext:e.fileExtensionIsOneOf(t,[".d.cts",".cts",".cjs"])?e.ModuleKind.CommonJS:e.fileExtensionIsOneOf(t,[".d.ts",".ts",".tsx",".js",".jsx"])?"module"===(null==(a=e.getPackageScopeForPath(t,r,n,i))?void 0:a.packageJsonContent.type)?e.ModuleKind.ESNext:e.ModuleKind.CommonJS:void 0;default:return}var a}function C(t,r,n,i){var o=t.getCompilerOptions();if(o.noEmit)return t.getSemanticDiagnostics(r,i),r||e.outFile(o)?e.emitSkippedWithNoDiagnostics:t.emitBuildInfo(n,i);if(o.noEmitOnError){var s=a(a(a(a([],t.getOptionsDiagnostics(i),!0),t.getSyntacticDiagnostics(r,i),!0),t.getGlobalDiagnostics(i),!0),t.getSemanticDiagnostics(r,i),!0);if(0===s.length&&e.getEmitDeclarations(t.getCompilerOptions())&&(s=t.getDeclarationDiagnostics(void 0,i)),s.length){var c;if(!r&&!e.outFile(o)){var u=t.emitBuildInfo(n,i);u.diagnostics&&(s=a(a([],s,!0),u.diagnostics,!0)),c=u.emittedFiles}return{diagnostics:s,sourceMaps:void 0,emittedFiles:c,emitSkipped:!0}}}}function T(t,r){return e.filter(t,(function(e){return!e.skippedOn||!r[e.skippedOn]}))}function k(t,r){return void 0===r&&(r=t),{fileExists:function(e){return r.fileExists(e)},readDirectory:function(t,n,i,a,o){return e.Debug.assertIsDefined(r.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),r.readDirectory(t,n,i,a,o)},readFile:function(e){return r.readFile(e)},useCaseSensitiveFileNames:t.useCaseSensitiveFileNames(),getCurrentDirectory:function(){return t.getCurrentDirectory()},onUnRecoverableConfigFileDiagnostic:t.onUnRecoverableConfigFileDiagnostic||e.returnUndefined,trace:t.trace?function(e){return t.trace(e)}:void 0}}function A(t,r,n){if(!t)return e.emptyArray;for(var i,a=0;a<t.length;a++){var o=t[a],s=r(o,a);if(o.prepend&&s&&s.options){if(!e.outFile(s.options))continue;var c=e.getOutputPathsForBundle(s.options,!0),u=c.jsFilePath,l=c.sourceMapFilePath,p=c.declarationFilePath,d=c.declarationMapPath,f=c.buildInfoPath,_=e.createInputFiles(n,u,l,p,d,f);(i||(i=[])).push(_)}}return i||e.emptyArray}function N(t,r){var n=r||t;return e.resolveConfigFileProjectName(n.path)}function P(t,r){switch(r.extension){case".ts":case".d.ts":return;case".tsx":return n();case".jsx":return n()||i();case".js":return i();case".json":return t.resolveJsonModule?void 0:e.Diagnostics.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used}function n(){return t.jsx?void 0:e.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set}function i(){return e.getAllowJSCompilerOption(t)||!e.getStrictOptionValue(t,"noImplicitAny")?void 0:e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type}}function F(e){for(var t=e.imports,r=e.moduleAugmentations,n=t.map((function(e){return e.text})),i=0,a=r;i<a.length;i++){var o=a[i];10===o.kind&&n.push(o.text)}return n}function w(t,r){var n=t.imports,i=t.moduleAugmentations;if(r<n.length)return n[r];for(var a=n.length,o=0,s=i;o<s.length;o++){var c=s[o];if(10===c.kind){if(r===a)return c;a++}}e.Debug.fail("should never ask for module name at index higher than possible module name")}e.formatColorAndReset=d,e.formatLocation=_,e.formatDiagnosticsWithColorAndContext=function(t,r){for(var n="",i=0,a=t;i<a.length;i++){var s=a[i];if(s.file&&(n+=_(h=s.file,y=s.start,r),n+=" - "),n+=d(e.diagnosticCategoryName(s),p(s.category)),n+=d(" TS".concat(s.code,": "),o.Grey),n+=m(s.messageText,r.getNewLine()),s.file&&(n+=r.getNewLine(),n+=f(s.file,s.start,s.length,"",p(s.category),r)),s.relatedInformation){n+=r.getNewLine();for(var c=0,u=s.relatedInformation;c<u.length;c++){var g=u[c],h=g.file,y=g.start,v=g.length,D=g.messageText;h&&(n+=r.getNewLine(),n+=" "+_(h,y,r),n+=f(h,y,v,l,o.Cyan,r)),n+=r.getNewLine(),n+=l+m(D,r.getNewLine())}}n+=r.getNewLine()}return n},e.flattenDiagnosticMessageText=m,e.loadWithLocalCache=g,e.getModeForResolutionAtIndex=h,e.getModeForUsageLocation=y,e.loadWithModeAwareCache=v,e.forEachResolvedProjectReference=function(e,t){return D(void 0,e,(function(e,r){return e&&t(e,r)}))},e.inferredTypesContainingFile="__inferred type names__.ts",e.isReferencedFile=b,e.isReferenceFileLocation=x,e.getReferencedFileLocation=E,e.isProgramUptoDate=function(t,r,n,i,a,o,s,c,u){if(!t||(null==s?void 0:s())||!e.arrayIsEqualTo(t.getRootFileNames(),r))return!1;var l;if(!e.arrayIsEqualTo(t.getProjectReferences(),u,(function(r,n,i){return e.projectReferenceIsEqualTo(r,n)&&d(t.getResolvedProjectReferences()[i],r)}))||t.getSourceFiles().some((function(e){return!function(e){return e.version===i(e.resolvedPath,e.fileName)}(e)||o(e.path)}))||t.getMissingFilePaths().some(a))return!1;var p=t.getCompilerOptions();return!(!e.compareDataObjects(p,n)||p.configFile&&n.configFile&&p.configFile.text!==n.configFile.text);function d(t,r){if(t){if(e.contains(l,t))return!0;var n=N(r),i=c(n);return!(!i||t.commandLine.options.configFile!==i.options.configFile||!e.arrayIsEqualTo(t.commandLine.fileNames,i.fileNames)||((l||(l=[])).push(t),e.forEach(t.references,(function(e,r){return!d(e,t.commandLine.projectReferences[r])}))))}var a=N(r);return!c(a)}},e.getConfigFileParsingDiagnostics=function(e){return e.options.configFile?a(a([],e.options.configFile.parseDiagnostics,!0),e.errors,!0):e.errors},e.getImpliedNodeFormatForFile=S,e.plainJSErrors=new e.Set([e.Diagnostics.Cannot_redeclare_block_scoped_variable_0.code,e.Diagnostics.A_module_cannot_have_multiple_default_exports.code,e.Diagnostics.Another_export_default_is_here.code,e.Diagnostics.The_first_export_default_is_here.code,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,e.Diagnostics.constructor_is_a_reserved_word.code,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode.code,e.Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode.code,e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code,e.Diagnostics.Invalid_use_of_0_in_strict_mode.code,e.Diagnostics.A_label_is_not_allowed_here.code,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode.code,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode.code,e.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code,e.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code,e.Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name.code,e.Diagnostics.A_class_member_cannot_have_the_0_keyword.code,e.Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name.code,e.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,e.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code,e.Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context.code,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer.code,e.Diagnostics.A_get_accessor_cannot_have_parameters.code,e.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern.code,e.Diagnostics.A_rest_element_cannot_have_a_property_name.code,e.Diagnostics.A_rest_element_cannot_have_an_initializer.code,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern.code,e.Diagnostics.A_rest_parameter_cannot_have_an_initializer.code,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list.code,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code,e.Diagnostics.A_return_statement_can_only_be_used_within_a_function_body.code,e.Diagnostics.A_return_statement_cannot_be_used_inside_a_class_static_block.code,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter.code,e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter.code,e.Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code,e.Diagnostics.An_export_declaration_cannot_have_modifiers.code,e.Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code,e.Diagnostics.An_import_declaration_cannot_have_modifiers.code,e.Diagnostics.An_object_member_cannot_be_declared_optional.code,e.Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element.code,e.Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code,e.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause.code,e.Diagnostics.Catch_clause_variable_cannot_have_an_initializer.code,e.Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code,e.Diagnostics.Classes_can_only_extend_a_single_class.code,e.Diagnostics.Classes_may_not_have_a_field_named_constructor.code,e.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code,e.Diagnostics.Duplicate_label_0.code,e.Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments.code,e.Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block.code,e.Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code,e.Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code,e.Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code,e.Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code,e.Diagnostics.Jump_target_cannot_cross_function_boundary.code,e.Diagnostics.Line_terminator_not_permitted_before_arrow.code,e.Diagnostics.Modifiers_cannot_appear_here.code,e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code,e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies.code,e.Diagnostics.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,e.Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code,e.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code,e.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code,e.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code,e.Diagnostics.Trailing_comma_not_allowed.code,e.Diagnostics.Variable_declaration_list_cannot_be_empty.code,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses.code,e.Diagnostics._0_expected.code,e.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code,e.Diagnostics._0_list_cannot_be_empty.code,e.Diagnostics._0_modifier_already_seen.code,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration.code,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element.code,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter.code,e.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind.code,e.Diagnostics._0_modifier_cannot_be_used_here.code,e.Diagnostics._0_modifier_must_precede_1_modifier.code,e.Diagnostics.const_declarations_can_only_be_declared_inside_a_block.code,e.Diagnostics.const_declarations_must_be_initialized.code,e.Diagnostics.extends_clause_already_seen.code,e.Diagnostics.let_declarations_can_only_be_declared_inside_a_block.code,e.Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code]),e.createProgram=function(n,i,o,s,c){var u,l,p,d,f,_,m,y,w,I,O,L,M,R=e.isArray(n)?function(e,t,r,n,i){return{rootNames:e,options:t,host:r,oldProgram:n,configFileParsingDiagnostics:i}}(n,i,o,s,c):n,B=R.rootNames,j=R.options,K=R.configFileParsingDiagnostics,J=R.projectReferences,U=R.oldProgram,q=new e.Map,V=e.createMultiMap(),z={},W={},H=new e.Map,G="number"==typeof j.maxNodeModuleJsDepth?j.maxNodeModuleJsDepth:0,$=0,Y=new e.Map,X=new e.Map;null===e.tracing||void 0===e.tracing||e.tracing.push("program","createProgram",{configFilePath:j.configFilePath,rootDir:j.rootDir},!0),e.performance.mark("beforeProgram");var Q,Z,ee,te,re,ne=R.host||r(j),ie=k(ne),ae=j.noLib,oe=e.memoize((function(){return ne.getDefaultLibFileName(j)})),se=ne.getDefaultLibLocation?ne.getDefaultLibLocation():e.getDirectoryPath(oe()),ce=e.createDiagnosticCollection(),ue=ne.getCurrentDirectory(),le=e.getSupportedExtensions(j),pe=e.getSupportedExtensionsWithJsonIfResolveJsonModule(j,le),de=new e.Map,fe=ne.hasInvalidatedResolution||e.returnFalse;if(ne.resolveModuleNames)te=function(t,r,n,i,a){return ne.resolveModuleNames(e.Debug.checkEachDefined(t),n,i,a,j,r).map((function(t){if(!t||void 0!==t.extension)return t;var r=e.clone(t);return r.extension=e.extensionFromPath(t.resolvedFileName),r}))},Z=null===(u=ne.getModuleResolutionCache)||void 0===u?void 0:u.call(ne);else{Z=e.createModuleResolutionCache(ue,zt,j);var _e=function(t,r,n,i){return e.resolveModuleName(t,n,j,ne,Z,i,r).resolvedModule};te=function(t,r,n,i,a){return v(e.Debug.checkEachDefined(t),r,n,a,_e)}}if(ne.resolveTypeReferenceDirectives)re=function(t,r,n){return ne.resolveTypeReferenceDirectives(e.Debug.checkEachDefined(t),r,n,j)};else{ee=e.createTypeReferenceDirectiveResolutionCache(ue,zt,void 0,null==Z?void 0:Z.getPackageJsonInfoCache());var me=function(t,r,n){return e.resolveTypeReferenceDirective(t,r,j,ne,n,ee).resolvedTypeReferenceDirective};re=function(t,r,n){return g(e.Debug.checkEachDefined(t),r,n,me)}}var ge,he,ye,ve,De,be=new e.Map,xe=new e.Map,Ee=e.createMultiMap(),Se=!1,Ce=new e.Map,Te=ne.useCaseSensitiveFileNames()?new e.Map:void 0,ke=!(null===(l=ne.useSourceOfProjectReferenceRedirect)||void 0===l||!l.call(ne)||j.disableSourceOfProjectReferenceRedirect),Ae=function(t){var r,n,i=t.compilerHost.fileExists,a=t.compilerHost.directoryExists,o=t.compilerHost.getDirectories,s=t.compilerHost.realpath;return t.useSourceOfProjectReferenceRedirect?(t.compilerHost.fileExists=u,a&&(n=t.compilerHost.directoryExists=function(n){return a.call(t.compilerHost,n)?(d(n),!0):!!t.getResolvedProjectReferences()&&(r||(r=new e.Set,t.forEachResolvedProjectReference((function(n){var i=e.outFile(n.commandLine.options);if(i)r.add(e.getDirectoryPath(t.toPath(i)));else{var a=n.commandLine.options.declarationDir||n.commandLine.options.outDir;a&&r.add(t.toPath(a))}}))),f(n,!1))}),o&&(t.compilerHost.getDirectories=function(e){return!t.getResolvedProjectReferences()||a&&a.call(t.compilerHost,e)?o.call(t.compilerHost,e):[]}),s&&(t.compilerHost.realpath=function(e){var r;return(null===(r=t.getSymlinkCache().getSymlinkedFiles())||void 0===r?void 0:r.get(t.toPath(e)))||s.call(t.compilerHost,e)}),{onProgramCreateComplete:c,fileExists:u,directoryExists:n}):{onProgramCreateComplete:e.noop,fileExists:u};function c(){t.compilerHost.fileExists=i,t.compilerHost.directoryExists=a,t.compilerHost.getDirectories=o}function u(r){return!!i.call(t.compilerHost,r)||!(!t.getResolvedProjectReferences()||!e.isDeclarationFileName(r))&&f(r,!0)}function l(r){var n=t.getSourceOfProjectReferenceRedirect(t.toPath(r));return void 0!==n?!e.isString(n)||i.call(t.compilerHost,n):void 0}function p(n){var i=t.toPath(n),a="".concat(i).concat(e.directorySeparator);return e.forEachKey(r,(function(t){return i===t||e.startsWith(t,a)||e.startsWith(i,"".concat(t,"/"))}))}function d(r){var n;if(t.getResolvedProjectReferences()&&!e.containsIgnoredPath(r)&&s&&e.stringContains(r,e.nodeModulesPathPart)){var i=t.getSymlinkCache(),a=e.ensureTrailingDirectorySeparator(t.toPath(r));if(null===(n=i.getSymlinkedDirectories())||void 0===n||!n.has(a)){var o,c=e.normalizePath(s.call(t.compilerHost,r));if(c===r||(o=e.ensureTrailingDirectorySeparator(t.toPath(c)))===a)return void i.setSymlinkedDirectory(a,!1);i.setSymlinkedDirectory(r,{real:e.ensureTrailingDirectorySeparator(c),realPath:o})}}}function f(r,n){var i,a=n?function(e){return l(e)}:function(e){return p(e)},o=a(r);if(void 0!==o)return o;var s=t.getSymlinkCache(),c=s.getSymlinkedDirectories();if(!c)return!1;var u=t.toPath(r);return!!e.stringContains(u,e.nodeModulesPathPart)&&(!(!n||!(null===(i=s.getSymlinkedFiles())||void 0===i?void 0:i.has(u)))||e.firstDefinedIterator(c.entries(),(function(i){var o=i[0],c=i[1];if(c&&e.startsWith(u,o)){var l=a(u.replace(o,c.realPath));if(n&&l){var p=e.getNormalizedAbsolutePath(r,t.compilerHost.getCurrentDirectory());s.setSymlinkedFile(u,"".concat(c.real).concat(p.replace(new RegExp(o,"i"),"")))}return l}}))||!1)}}({compilerHost:ne,getSymlinkCache:lr,useSourceOfProjectReferenceRedirect:ke,toPath:Ye,getResolvedProjectReferences:et,getSourceOfProjectReferenceRedirect:Rt,forEachResolvedProjectReference:Mt}),Ne=Ae.onProgramCreateComplete,Pe=Ae.fileExists,Fe=Ae.directoryExists,we=ne.readFile.bind(ne);null===e.tracing||void 0===e.tracing||e.tracing.push("program","shouldProgramCreateNewSourceFiles",{hasOldProgram:!!U});var Ie,Oe=function(t,r){return!!t&&e.optionsHaveChanges(t.getCompilerOptions(),r,e.sourceFileAffectingCompilerOptions)}(U,j);if(null===e.tracing||void 0===e.tracing||e.tracing.pop(),null===e.tracing||void 0===e.tracing||e.tracing.push("program","tryReuseStructureFromOldProgram",{}),Ie=function(){var t;if(!U)return 0;var r=U.getCompilerOptions();if(e.changesAffectModuleResolution(r,j))return 0;var n=U.getRootFileNames();if(!e.arrayIsEqualTo(n,B)||D(U.getProjectReferences(),U.getResolvedProjectReferences(),(function(t,r,n){var i=Ht((r?r.commandLine.projectReferences:J)[n]);return t?!i||i.sourceFile!==t.sourceFile||!e.arrayIsEqualTo(t.commandLine.fileNames,i.commandLine.fileNames):void 0!==i}),(function(t,r){var n=r?jt(r.sourceFile.path).commandLine.projectReferences:J;return!e.arrayIsEqualTo(t,n,e.projectReferenceIsEqualTo)})))return 0;J&&(he=J.map(Ht));var i=[],a=[];if(Ie=2,U.getMissingFilePaths().some((function(e){return ne.fileExists(e)})))return 0;var o,s,c=U.getSourceFiles();(s=o||(o={}))[s.Exists=0]="Exists",s[s.Modified=1]="Modified";for(var u=new e.Map,l=0,p=c;l<p.length;l++){var d=p[l];if(!(R=ne.getSourceFileByPath?ne.getSourceFileByPath(d.fileName,d.resolvedPath,e.getEmitScriptTarget(j),void 0,Oe):ne.getSourceFile(d.fileName,e.getEmitScriptTarget(j),void 0,Oe)))return 0;e.Debug.assert(!R.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");var f=void 0;if(d.redirectInfo){if(R!==d.redirectInfo.unredirected)return 0;f=!1,R=d}else if(U.redirectTargetsMap.has(d.path)){if(R!==d)return 0;f=!1}else f=R!==d;R.path=d.path,R.originalFileName=d.originalFileName,R.resolvedPath=d.resolvedPath,R.fileName=d.fileName,R.impliedNodeFormat=d.impliedNodeFormat;var _=U.sourceFileToPackageName.get(d.path);if(void 0!==_){var g=u.get(_),h=f?1:0;if(void 0!==g&&1===h||1===g)return 0;u.set(_,h)}f?(e.arrayIsEqualTo(d.libReferenceDirectives,R.libReferenceDirectives,bt)||(Ie=1),d.hasNoDefaultLib!==R.hasNoDefaultLib&&(Ie=1),e.arrayIsEqualTo(d.referencedFiles,R.referencedFiles,bt)||(Ie=1),St(R),e.arrayIsEqualTo(d.imports,R.imports,xt)||(Ie=1),e.arrayIsEqualTo(d.moduleAugmentations,R.moduleAugmentations,xt)||(Ie=1),(3145728&d.flags)!=(3145728&R.flags)&&(Ie=1),e.arrayIsEqualTo(d.typeReferenceDirectives,R.typeReferenceDirectives,bt)||(Ie=1),a.push({oldFile:d,newFile:R})):fe(d.path)&&(Ie=1,a.push({oldFile:d,newFile:R})),i.push(R)}if(2!==Ie)return Ie;for(var y=a.map((function(e){return e.oldFile})),v=0,b=c;v<b.length;v++){var x=b[v];if(!e.contains(y,x))for(var E=0,S=x.ambientModuleNames;E<S.length;E++){var C=S[E];q.set(C,x.fileName)}}for(var T=0,k=a;T<k.length;T++){var A=k[T],N=(d=A.oldFile,F(R=A.newFile)),P=Qe(N,R);e.hasChangesInResolutions(N,P,d.resolvedModules,d,e.moduleResolutionIsEqualTo)?(Ie=1,R.resolvedModules=e.zipToModeAwareCache(R,N,P)):R.resolvedModules=d.resolvedModules;var w=e.map(R.typeReferenceDirectives,(function(t){return e.toFileNameLowerCase(t.fileName)})),I=We(w,R);e.hasChangesInResolutions(w,I,d.resolvedTypeReferenceDirectiveNames,d,e.typeDirectiveIsEqualTo)?(Ie=1,R.resolvedTypeReferenceDirectiveNames=e.zipToModeAwareCache(R,w,I)):R.resolvedTypeReferenceDirectiveNames=d.resolvedTypeReferenceDirectiveNames}if(2!==Ie)return Ie;if(e.changesAffectingProgramStructure(r,j)||(null===(t=ne.hasChangedAutomaticTypeDirectiveNames)||void 0===t?void 0:t.call(ne)))return 1;ge=U.getMissingFilePaths(),e.Debug.assert(i.length===U.getSourceFiles().length);for(var O=0,L=i;O<L.length;O++){var R=L[O];Ce.set(R.path,R)}return U.getFilesByNameMap().forEach((function(e,t){e?e.path!==t?Ce.set(t,Ce.get(e.path)):U.isSourceFileFromExternalLibrary(e)&&X.set(e.path,!0):Ce.set(t,e)})),m=i,V=U.getFileIncludeReasons(),M=U.getFileProcessingDiagnostics(),H=U.getResolvedTypeReferenceDirectives(),xe=U.sourceFileToPackageName,Ee=U.redirectTargetsMap,Se=U.usesUriStyleNodeCoreModules,2}(),null===e.tracing||void 0===e.tracing||e.tracing.pop(),2!==Ie){f=[],_=[],J&&(he||(he=J.map(Ht)),B.length&&(null==he||he.forEach((function(t,r){if(t){var n=e.outFile(t.commandLine.options);if(ke){if(n||e.getEmitModuleKind(t.commandLine.options)===e.ModuleKind.None)for(var i=0,a=t.commandLine.fileNames;i<a.length;i++)kt(u=a[i],{kind:e.FileIncludeKind.SourceFromProjectReference,index:r})}else if(n)kt(e.changeExtension(n,".d.ts"),{kind:e.FileIncludeKind.OutputFromProjectReference,index:r});else if(e.getEmitModuleKind(t.commandLine.options)===e.ModuleKind.None)for(var o=e.memoize((function(){return e.getCommonSourceDirectoryOfConfig(t.commandLine,!ne.useCaseSensitiveFileNames())})),s=0,c=t.commandLine.fileNames;s<c.length;s++){var u=c[s];!e.fileExtensionIs(u,".d.ts")&&!e.fileExtensionIs(u,".json")&&kt(e.getOutputDeclarationFileName(u,t.commandLine,!ne.useCaseSensitiveFileNames(),o),{kind:e.FileIncludeKind.OutputFromProjectReference,index:r})}}})))),null===e.tracing||void 0===e.tracing||e.tracing.push("program","processRootFiles",{count:B.length}),e.forEach(B,(function(t,r){return Dt(t,!1,!1,{kind:e.FileIncludeKind.RootFile,index:r})})),null===e.tracing||void 0===e.tracing||e.tracing.pop();var Le=B.length?e.getAutomaticTypeDirectiveNames(j,ne):e.emptyArray;if(Le.length){null===e.tracing||void 0===e.tracing||e.tracing.push("program","processTypeReferences",{count:Le.length});for(var Me=j.configFilePath?e.getDirectoryPath(j.configFilePath):ne.getCurrentDirectory(),Re=We(Le,e.combinePaths(Me,e.inferredTypesContainingFile)),Be=0;Be<Le.length;Be++)Ut(Le[Be],Re[Be],{kind:e.FileIncludeKind.AutomaticTypeDirectiveFile,typeReference:Le[Be],packageId:null===(p=Re[Be])||void 0===p?void 0:p.packageId});null===e.tracing||void 0===e.tracing||e.tracing.pop()}if(B.length&&!ae){var je=oe();!j.lib&&je?Dt(je,!0,!1,{kind:e.FileIncludeKind.LibFile}):e.forEach(j.lib,(function(t,r){Dt(qt(t),!0,!1,{kind:e.FileIncludeKind.LibFile,index:r})}))}ge=e.arrayFrom(e.mapDefinedIterator(Ce.entries(),(function(e){var t=e[0];return void 0===e[1]?t:void 0}))),m=e.stableSort(f,(function(t,r){return e.compareValues($e(t),$e(r))})).concat(_),f=void 0,_=void 0}if(e.Debug.assert(!!ge),U&&ne.onReleaseOldSourceFile){for(var Ke=0,Je=U.getSourceFiles();Ke<Je.length;Ke++){var Ue=Je[Ke],qe=st(Ue.resolvedPath);(Oe||!qe||Ue.resolvedPath===Ue.path&&qe.resolvedPath!==Ue.path)&&ne.onReleaseOldSourceFile(Ue,U.getCompilerOptions(),!!st(Ue.path))}ne.getParsedCommandLine||U.forEachResolvedProjectReference((function(e){jt(e.sourceFile.path)||ne.onReleaseOldSourceFile(e.sourceFile,U.getCompilerOptions(),!1)}))}U&&ne.onReleaseParsedCommandLine&&D(U.getProjectReferences(),U.getResolvedProjectReferences(),(function(e,t,r){var n=N((null==t?void 0:t.commandLine.projectReferences[r])||U.getProjectReferences()[r]);null!=ye&&ye.has(Ye(n))||ne.onReleaseParsedCommandLine(n,e,U.getCompilerOptions())})),ee=void 0,U=void 0;var Ve={getRootFileNames:function(){return B},getSourceFile:ot,getSourceFileByPath:st,getSourceFiles:function(){return m},getMissingFilePaths:function(){return ge},getModuleResolutionCache:function(){return Z},getFilesByNameMap:function(){return Ce},getCompilerOptions:function(){return j},getSyntacticDiagnostics:function(e,t){return ct(e,lt,t)},getOptionsDiagnostics:function(){return e.sortAndDeduplicateDiagnostics(e.concatenate(ce.getGlobalDiagnostics(),function(){if(!j.configFile)return e.emptyArray;var t=ce.getDiagnostics(j.configFile.fileName);return Mt((function(r){t=e.concatenate(t,ce.getDiagnostics(r.sourceFile.fileName))})),t}()))},getGlobalDiagnostics:function(){return B.length?e.sortAndDeduplicateDiagnostics(nt().getGlobalDiagnostics().slice()):e.emptyArray},getSemanticDiagnostics:function(e,t){return ct(e,dt,t)},getCachedSemanticDiagnostics:function(e){var t;return e?null===(t=z.perFile)||void 0===t?void 0:t.get(e.path):z.allDiagnostics},getSuggestionDiagnostics:function(e,t){return pt((function(){return nt().getSuggestionDiagnostics(e,t)}))},getDeclarationDiagnostics:function(t,r){var n=Ve.getCompilerOptions();return!t||e.outFile(n)?gt(t,r):ct(t,vt,r)},getBindAndCheckDiagnostics:function(e,t){return ft(e,t)},getProgramDiagnostics:ut,getTypeChecker:it,getClassifiableNames:function(){var t;if(!L){it(),L=new e.Set;for(var r=0,n=m;r<n.length;r++)null===(t=n[r].classifiableNames)||void 0===t||t.forEach((function(e){return L.add(e)}))}return L},getDiagnosticsProducingTypeChecker:nt,getCommonSourceDirectory:Xe,emit:function(t,r,n,i,a,o){null===e.tracing||void 0===e.tracing||e.tracing.push("emit","emit",{path:null==t?void 0:t.path},!0);var s=pt((function(){return function(t,r,n,i,a,o,s){if(!s){var c=C(t,r,n,i);if(c)return c}var u=nt().getEmitResolver(e.outFile(j)?void 0:r,i);e.performance.mark("beforeEmit");var l=e.emitFiles(u,Ze(n),r,e.getTransformers(j,o,a),a,!1,s);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),l}(Ve,t,r,n,i,a,o)}));return null===e.tracing||void 0===e.tracing||e.tracing.pop(),s},getCurrentDirectory:function(){return ue},getNodeCount:function(){return nt().getNodeCount()},getIdentifierCount:function(){return nt().getIdentifierCount()},getSymbolCount:function(){return nt().getSymbolCount()},getTypeCount:function(){return nt().getTypeCount()},getInstantiationCount:function(){return nt().getInstantiationCount()},getRelationCacheSizes:function(){return nt().getRelationCacheSizes()},getFileProcessingDiagnostics:function(){return M},getResolvedTypeReferenceDirectives:function(){return H},isSourceFileFromExternalLibrary:rt,isSourceFileDefaultLibrary:function(t){if(t.hasNoDefaultLib)return!0;if(!j.noLib)return!1;var r=ne.useCaseSensitiveFileNames()?e.equateStringsCaseSensitive:e.equateStringsCaseInsensitive;return j.lib?e.some(j.lib,(function(e){return r(t.fileName,qt(e))})):r(t.fileName,oe())},dropDiagnosticsProducingTypeChecker:function(){I=void 0},getSourceFileFromReference:function(e,r){return Ct(t(r.fileName,e.fileName),ot)},getLibFileFromReference:function(t){var r=e.toFileNameLowerCase(t.fileName),n=e.libMap.get(r);if(n)return ot(qt(n))},sourceFileToPackageName:xe,redirectTargetsMap:Ee,usesUriStyleNodeCoreModules:Se,isEmittedFile:function(t){if(j.noEmit)return!1;var r=Ye(t);if(st(r))return!1;var n=e.outFile(j);if(n)return ur(r,n)||ur(r,e.removeFileExtension(n)+".d.ts");if(j.declarationDir&&e.containsPath(j.declarationDir,r,ue,!ne.useCaseSensitiveFileNames()))return!0;if(j.outDir)return e.containsPath(j.outDir,r,ue,!ne.useCaseSensitiveFileNames());if(e.fileExtensionIsOneOf(r,e.supportedJSExtensionsFlat)||e.fileExtensionIs(r,".d.ts")){var i=e.removeFileExtension(r);return!!st(i+".ts")||!!st(i+".tsx")}return!1},getConfigFileParsingDiagnostics:function(){return K||e.emptyArray},getResolvedModuleWithFailedLookupLocationsFromCache:function(t,r,n){return Z&&e.resolveModuleNameFromCache(t,r,Z,n)},getProjectReferences:function(){return J},getResolvedProjectReferences:et,getProjectReferenceRedirect:wt,getResolvedProjectReferenceToRedirect:Lt,getResolvedProjectReferenceByPath:jt,forEachResolvedProjectReference:Mt,isSourceOfProjectReferenceRedirect:Bt,emitBuildInfo:function(t){e.Debug.assert(!e.outFile(j)),null===e.tracing||void 0===e.tracing||e.tracing.push("emit","emitBuildInfo",{},!0),e.performance.mark("beforeEmit");var r=e.emitFiles(e.notImplementedResolver,Ze(t),void 0,e.noTransformers,!1,!0);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),null===e.tracing||void 0===e.tracing||e.tracing.pop(),r},fileExists:Pe,readFile:we,directoryExists:Fe,getSymlinkCache:lr,realpath:null===(d=ne.realpath)||void 0===d?void 0:d.bind(ne),useCaseSensitiveFileNames:function(){return ne.useCaseSensitiveFileNames()},getFileIncludeReasons:function(){return V},structureIsReused:Ie};return Ne(),null==M||M.forEach((function(t){switch(t.kind){case 1:return ce.add(Gt(t.file&&st(t.file),t.fileProcessingReason,t.diagnostic,t.args||e.emptyArray));case 0:var r=E(st,t.reason),n=r.file,i=r.pos,o=r.end;return ce.add(e.createFileDiagnostic.apply(void 0,a([n,e.Debug.checkDefined(i),e.Debug.checkDefined(o)-i,t.diagnostic],t.args||e.emptyArray,!1)));default:e.Debug.assertNever(t)}})),function(){e.stringContains(e.version,"-dev")||e.stringContains(e.version,"-insiders")||(e.getEmitModuleKind(j)===e.ModuleKind.Node12?nr("module",e.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next,"module","node12"):e.getEmitModuleKind(j)===e.ModuleKind.NodeNext?nr("module",e.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next,"module","nodenext"):e.getEmitModuleResolutionKind(j)===e.ModuleResolutionKind.Node12?nr("moduleResolution",e.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next,"moduleResolution","node12"):e.getEmitModuleResolutionKind(j)===e.ModuleResolutionKind.NodeNext&&nr("moduleResolution",e.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next,"moduleResolution","nodenext")),j.strictPropertyInitialization&&!e.getStrictOptionValue(j,"strictNullChecks")&&rr(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks"),j.exactOptionalPropertyTypes&&!e.getStrictOptionValue(j,"strictNullChecks")&&rr(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"exactOptionalPropertyTypes","strictNullChecks"),j.isolatedModules&&(j.out&&rr(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","isolatedModules"),j.outFile&&rr(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"outFile","isolatedModules")),j.inlineSourceMap&&(j.sourceMap&&rr(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),j.mapRoot&&rr(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap")),j.composite&&(!1===j.declaration&&rr(e.Diagnostics.Composite_projects_may_not_disable_declaration_emit,"declaration"),!1===j.incremental&&rr(e.Diagnostics.Composite_projects_may_not_disable_incremental_compilation,"declaration"));var t=e.outFile(j);if(j.tsBuildInfoFile?e.isIncrementalCompilation(j)||rr(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"tsBuildInfoFile","incremental","composite"):j.incremental&&!t&&!j.configFilePath&&ce.add(e.createCompilerDiagnostic(e.Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified)),o=j.suppressOutputPathCheck?void 0:e.getTsBuildInfoEmitOutputFilePath(j),D(J,he,(function(t,r,n){var i=(r?r.commandLine.projectReferences:J)[n],a=r&&r.sourceFile;if(t){var s=t.commandLine.options;if(s.composite&&!s.noEmit||(r?r.commandLine.fileNames:B).length&&(s.composite||ir(a,n,e.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,i.path),s.noEmit&&ir(a,n,e.Diagnostics.Referenced_project_0_may_not_disable_emit,i.path)),i.prepend){var c=e.outFile(s);c?ne.fileExists(c)||ir(a,n,e.Diagnostics.Output_file_0_from_project_1_does_not_exist,c,i.path):ir(a,n,e.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,i.path)}!r&&o&&o===e.getTsBuildInfoEmitOutputFilePath(s)&&(ir(a,n,e.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,o,i.path),de.set(Ye(o),!0))}else ir(a,n,e.Diagnostics.File_0_not_found,i.path)})),j.composite)for(var r=new e.Set(B.map(Ye)),n=0,i=m;n<i.length;n++){var a=i[n];e.sourceFileMayBeEmitted(a,Ve)&&!r.has(a.path)&&Yt(a,e.Diagnostics.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,[a.fileName,j.configFilePath||""])}var o;if(j.paths)for(var s in j.paths)if(e.hasProperty(j.paths,s))if(e.hasZeroOrOneAsteriskCharacter(s)||Qt(!0,s,e.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,s),e.isArray(j.paths[s])){var c=j.paths[s].length;0===c&&Qt(!1,s,e.Diagnostics.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,s);for(var u=0;u<c;u++){var l=j.paths[s][u],p=typeof l;"string"===p?(e.hasZeroOrOneAsteriskCharacter(l)||Xt(s,u,e.Diagnostics.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character,l,s),!j.baseUrl&&!e.pathIsRelative(l)&&!e.pathIsAbsolute(l)&&Xt(s,u,e.Diagnostics.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash)):Xt(s,u,e.Diagnostics.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,l,s,p)}}else Qt(!1,s,e.Diagnostics.Substitutions_for_pattern_0_should_be_an_array,s);!j.sourceMap&&!j.inlineSourceMap&&(j.inlineSources&&rr(e.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"inlineSources"),j.sourceRoot&&rr(e.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"sourceRoot")),j.out&&j.outFile&&rr(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","outFile"),j.mapRoot&&!(j.sourceMap||j.declarationMap)&&rr(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"mapRoot","sourceMap","declarationMap"),j.declarationDir&&(e.getEmitDeclarations(j)||rr(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationDir","declaration","composite"),t&&rr(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"declarationDir",j.out?"out":"outFile")),j.declarationMap&&!e.getEmitDeclarations(j)&&rr(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationMap","declaration","composite"),j.lib&&j.noLib&&rr(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"lib","noLib"),j.noImplicitUseStrict&&e.getStrictOptionValue(j,"alwaysStrict")&&rr(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"noImplicitUseStrict","alwaysStrict");var d=e.getEmitScriptTarget(j),f=e.find(m,(function(t){return e.isExternalModule(t)&&!t.isDeclarationFile}));if(j.isolatedModules){j.module===e.ModuleKind.None&&d<2&&rr(e.Diagnostics.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target"),!1===j.preserveConstEnums&&rr(e.Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled,"preserveConstEnums","isolatedModules");var _=e.find(m,(function(t){return!e.isExternalModule(t)&&!e.isSourceFileJS(t)&&!t.isDeclarationFile&&6!==t.scriptKind}));if(_){var g=e.getErrorSpanForNode(_,_);ce.add(e.createFileDiagnostic(_,g.start,g.length,e.Diagnostics._0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module,e.getBaseFileName(_.fileName)))}}else f&&d<2&&j.module===e.ModuleKind.None&&(g=e.getErrorSpanForNode(f,f.externalModuleIndicator),ce.add(e.createFileDiagnostic(f,g.start,g.length,e.Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none)));if(t&&!j.emitDeclarationOnly&&(j.module&&j.module!==e.ModuleKind.AMD&&j.module!==e.ModuleKind.System?rr(e.Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0,j.out?"out":"outFile","module"):void 0===j.module&&f&&(g=e.getErrorSpanForNode(f,f.externalModuleIndicator),ce.add(e.createFileDiagnostic(f,g.start,g.length,e.Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,j.out?"out":"outFile")))),j.resolveJsonModule&&(e.getEmitModuleResolutionKind(j)!==e.ModuleResolutionKind.NodeJs&&e.getEmitModuleResolutionKind(j)!==e.ModuleResolutionKind.Node12&&e.getEmitModuleResolutionKind(j)!==e.ModuleResolutionKind.NodeNext?rr(e.Diagnostics.Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy,"resolveJsonModule"):e.hasJsonModuleEmitEnabled(j)||rr(e.Diagnostics.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module")),j.outDir||j.rootDir||j.sourceRoot||j.mapRoot){var h=Xe();j.outDir&&""===h&&m.some((function(t){return e.getRootLength(t.fileName)>1}))&&rr(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}if(j.useDefineForClassFields&&0===d&&rr(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),j.checkJs&&!e.getAllowJSCompilerOption(j)&&ce.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),j.emitDeclarationOnly&&(e.getEmitDeclarations(j)||rr(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),j.noEmit&&rr(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),j.emitDecoratorMetadata&&!j.experimentalDecorators&&rr(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),j.jsxFactory?(j.reactNamespace&&rr(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),(4===j.jsx||5===j.jsx)&&rr(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",e.inverseJsxOptionMap.get(""+j.jsx)),e.parseIsolatedEntityName(j.jsxFactory,d)||nr("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,j.jsxFactory)):j.reactNamespace&&!e.isIdentifierText(j.reactNamespace,d)&&nr("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,j.reactNamespace),j.jsxFragmentFactory&&(j.jsxFactory||rr(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),(4===j.jsx||5===j.jsx)&&rr(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",e.inverseJsxOptionMap.get(""+j.jsx)),e.parseIsolatedEntityName(j.jsxFragmentFactory,d)||nr("jsxFragmentFactory",e.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,j.jsxFragmentFactory)),j.reactNamespace&&(4===j.jsx||5===j.jsx)&&rr(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",e.inverseJsxOptionMap.get(""+j.jsx)),j.jsxImportSource&&2===j.jsx&&rr(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",e.inverseJsxOptionMap.get(""+j.jsx)),j.preserveValueImports&&e.getEmitModuleKind(j)<e.ModuleKind.ES2015&&nr("importsNotUsedAsValues",e.Diagnostics.Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later),!j.noEmit&&!j.suppressOutputPathCheck){var y=Ze(),v=new e.Set;e.forEachEmittedFile(y,(function(e){j.emitDeclarationOnly||b(e.jsFilePath,v),b(e.declarationFilePath,v)}))}function b(t,r){if(t){var n=Ye(t);if(Ce.has(n)){var i=void 0;j.configFilePath||(i=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)),i=e.chainDiagnosticMessages(i,e.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,t),cr(t,e.createCompilerDiagnosticFromMessageChain(i))}var a=ne.useCaseSensitiveFileNames()?n:e.toFileNameLowerCase(n);r.has(a)?cr(t,e.createCompilerDiagnostic(e.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,t)):r.add(a)}}}(),e.performance.mark("afterProgram"),e.performance.measure("Program","beforeProgram","afterProgram"),null===e.tracing||void 0===e.tracing||e.tracing.pop(),Ve;function ze(t,r,n){if(!t.length)return e.emptyArray;var i=e.getNormalizedAbsolutePath(r.originalFileName,ue),a=He(r);null===e.tracing||void 0===e.tracing||e.tracing.push("program","resolveModuleNamesWorker",{containingFileName:i}),e.performance.mark("beforeResolveModule");var o=te(t,r,i,n,a);return e.performance.mark("afterResolveModule"),e.performance.measure("ResolveModule","beforeResolveModule","afterResolveModule"),null===e.tracing||void 0===e.tracing||e.tracing.pop(),o}function We(t,r){if(!t.length)return[];var n=e.isString(r)?r:e.getNormalizedAbsolutePath(r.originalFileName,ue),i=e.isString(r)?void 0:He(r);null===e.tracing||void 0===e.tracing||e.tracing.push("program","resolveTypeReferenceDirectiveNamesWorker",{containingFileName:n}),e.performance.mark("beforeResolveTypeReference");var a=re(t,n,i);return e.performance.mark("afterResolveTypeReference"),e.performance.measure("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),null===e.tracing||void 0===e.tracing||e.tracing.pop(),a}function He(t){var r=Lt(t.originalFileName);if(r||!e.fileExtensionIsOneOf(t.originalFileName,[".d.ts",".d.cts",".d.mts"]))return r;var n=Ge(t.path);if(n)return n;if(ne.realpath&&j.preserveSymlinks&&e.stringContains(t.originalFileName,e.nodeModulesPathPart)){var i=Ye(ne.realpath(t.originalFileName));return i===t.path?void 0:Ge(i)}}function Ge(t){var r=Rt(t);return e.isString(r)?Lt(r):r?Mt((function(r){var n=e.outFile(r.commandLine.options);if(n)return Ye(n)===t?r:void 0})):void 0}function $e(t){if(e.containsPath(se,t.fileName,!1)){var r=e.getBaseFileName(t.fileName);if("lib.d.ts"===r||"lib.es6.d.ts"===r)return 0;var n=e.removeSuffix(e.removePrefix(r,"lib."),".d.ts"),i=e.libs.indexOf(n);if(-1!==i)return i+1}return e.libs.length+2}function Ye(t){return e.toPath(t,ue,zt)}function Xe(){if(void 0===w){var t=e.filter(m,(function(t){return e.sourceFileMayBeEmitted(t,Ve)}));w=e.getCommonSourceDirectory(j,(function(){return e.mapDefined(t,(function(e){return e.isDeclarationFile?void 0:e.fileName}))}),ue,zt,(function(r){return function(t,r){for(var n=!0,i=ne.getCanonicalFileName(e.getNormalizedAbsolutePath(r,ue)),a=0,o=t;a<o.length;a++){var s=o[a];s.isDeclarationFile||0!==ne.getCanonicalFileName(e.getNormalizedAbsolutePath(s.fileName,ue)).indexOf(i)&&(Yt(s,e.Diagnostics.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,[s.fileName,r]),n=!1)}return n}(t,r)}))}return w}function Qe(t,r){if(0===Ie&&!r.ambientModuleNames.length)return ze(t,r,void 0);var n=U&&U.getSourceFile(r.fileName);if(n!==r&&r.resolvedModules){for(var i=[],a=0,o=0,s=t;o<s.length;o++){var c=s[o],u=r.resolvedModules.get(c,h(r,a));a++,i.push(u)}return i}var l,p,d,f={};for(a=0;a<t.length;a++){if(c=t[a],r===n&&!fe(n.path)){var _=e.getResolvedModule(n,c,h(n,a));if(_){e.isTraceEnabled(j,ne)&&e.trace(ne,_.packageId?e.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:e.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2,c,e.getNormalizedAbsolutePath(r.originalFileName,ue),_.resolvedFileName,_.packageId&&e.packageIdToString(_.packageId)),(p||(p=new Array(t.length)))[a]=_,(d||(d=[])).push(c);continue}}var m=!1;e.contains(r.ambientModuleNames,c)?(m=!0,e.isTraceEnabled(j,ne)&&e.trace(ne,e.Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1,c,e.getNormalizedAbsolutePath(r.originalFileName,ue))):m=v(c,a),m?(p||(p=new Array(t.length)))[a]=f:(l||(l=[])).push(c)}var g=l&&l.length?ze(l,r,d):e.emptyArray;if(!p)return e.Debug.assert(g.length===t.length),g;var y=0;for(a=0;a<p.length;a++)p[a]?p[a]===f&&(p[a]=void 0):(p[a]=g[y],y++);return e.Debug.assert(y===g.length),p;function v(t,r){if(r>=e.length(null==n?void 0:n.imports)+e.length(null==n?void 0:n.moduleAugmentations))return!1;var i=e.getResolvedModule(n,t,n&&h(n,r)),a=i&&U.getSourceFile(i.resolvedFileName);if(i&&a)return!1;var o=q.get(t);return!!o&&(e.isTraceEnabled(j,ne)&&e.trace(ne,e.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,t,o),!0)}}function Ze(t){return{getPrependNodes:tt,getCanonicalFileName:zt,getCommonSourceDirectory:Ve.getCommonSourceDirectory,getCompilerOptions:Ve.getCompilerOptions,getCurrentDirectory:function(){return ue},getNewLine:function(){return ne.getNewLine()},getSourceFile:Ve.getSourceFile,getSourceFileByPath:Ve.getSourceFileByPath,getSourceFiles:Ve.getSourceFiles,getLibFileFromReference:Ve.getLibFileFromReference,isSourceFileFromExternalLibrary:rt,getResolvedProjectReferenceToRedirect:Lt,getProjectReferenceRedirect:wt,isSourceOfProjectReferenceRedirect:Bt,getSymlinkCache:lr,writeFile:t||function(e,t,r,n,i){return ne.writeFile(e,t,r,n,i)},isEmitBlocked:at,readFile:function(e){return ne.readFile(e)},fileExists:function(t){var r=Ye(t);return!!st(r)||!e.contains(ge,r)&&ne.fileExists(t)},useCaseSensitiveFileNames:function(){return ne.useCaseSensitiveFileNames()},getProgramBuildInfo:function(){return Ve.getProgramBuildInfo&&Ve.getProgramBuildInfo()},getSourceFileFromReference:function(e,t){return Ve.getSourceFileFromReference(e,t)},redirectTargetsMap:Ee,getFileIncludeReasons:Ve.getFileIncludeReasons}}function et(){return he}function tt(){return A(J,(function(e,t){var r;return null===(r=he[t])||void 0===r?void 0:r.commandLine}),(function(e){var t=Ye(e),r=st(t);return r?r.text:Ce.has(t)?void 0:ne.readFile(t)}))}function rt(e){return!!X.get(e.path)}function nt(){return I||(I=e.createTypeChecker(Ve,!0))}function it(){return O||(O=e.createTypeChecker(Ve,!1))}function at(e){return de.has(Ye(e))}function ot(e){return st(Ye(e))}function st(e){return Ce.get(e)||void 0}function ct(t,r,n){return t?r(t,n):e.sortAndDeduplicateDiagnostics(e.flatMap(Ve.getSourceFiles(),(function(e){return n&&n.throwIfCancellationRequested(),r(e,n)})))}function ut(t){var r;if(e.skipTypeChecking(t,j,Ve))return e.emptyArray;var n=ce.getDiagnostics(t.fileName);return null!==(r=t.commentDirectives)&&void 0!==r&&r.length?mt(t,t.commentDirectives,n).diagnostics:n}function lt(t){return e.isSourceFileJS(t)?(t.additionalSyntacticDiagnostics||(t.additionalSyntacticDiagnostics=function(t){return pt((function(){var r=[];return n(t,t),e.forEachChildRecursively(t,n,i),r;function n(t,n){switch(n.kind){case 163:case 166:case 168:if(n.questionToken===t)return r.push(s(t,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 167:case 170:case 171:case 172:case 212:case 255:case 213:case 253:if(n.type===t)return r.push(s(t,e.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(t.kind){case 266:if(t.isTypeOnly)return r.push(s(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 271:if(t.isTypeOnly)return r.push(s(t,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 264:return r.push(s(t,e.Diagnostics.import_can_only_be_used_in_TypeScript_files)),"skip";case 270:if(t.isExportEquals)return r.push(s(t,e.Diagnostics.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 290:if(117===t.token)return r.push(s(t,e.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 257:var i=e.tokenToString(118);return e.Debug.assertIsDefined(i),r.push(s(t,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,i)),"skip";case 260:var a=16&t.flags?e.tokenToString(142):e.tokenToString(141);return e.Debug.assertIsDefined(a),r.push(s(t,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,a)),"skip";case 258:return r.push(s(t,e.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 259:var o=e.Debug.checkDefined(e.tokenToString(92));return r.push(s(t,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,o)),"skip";case 229:return r.push(s(t,e.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 228:return r.push(s(t.type,e.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 210:e.Debug.fail()}}function i(t,n){switch(n.decorators===t&&!j.experimentalDecorators&&r.push(s(n,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)),n.kind){case 256:case 225:case 168:case 170:case 171:case 172:case 212:case 255:case 213:if(t===n.typeParameters)return r.push(o(t,e.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 236:if(t===n.modifiers)return a(n.modifiers,236===n.kind),"skip";break;case 166:if(t===n.modifiers){for(var i=0,c=t;i<c.length;i++){var u=c[i];124!==u.kind&&r.push(s(u,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,e.tokenToString(u.kind)))}return"skip"}break;case 163:if(t===n.modifiers)return r.push(o(t,e.Diagnostics.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 207:case 208:case 227:case 278:case 279:case 209:if(t===n.typeArguments)return r.push(o(t,e.Diagnostics.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip"}}function a(t,n){for(var i=0,a=t;i<a.length;i++){var o=a[i];switch(o.kind){case 85:if(n)continue;case 123:case 121:case 122:case 144:case 135:case 126:case 158:r.push(s(o,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,e.tokenToString(o.kind)))}}}function o(r,n,i,a,o){var s=r.pos;return e.createFileDiagnostic(t,s,r.end-s,n,i,a,o)}function s(r,n,i,a,o){return e.createDiagnosticForNodeInSourceFile(t,r,n,i,a,o)}}))}(t)),e.concatenate(t.additionalSyntacticDiagnostics,t.parseDiagnostics)):t.parseDiagnostics}function pt(t){try{return t()}catch(t){throw t instanceof e.OperationCanceledException&&(O=void 0,I=void 0),t}}function dt(t,r){return e.concatenate(T(ft(t,r),j),ut(t))}function ft(e,t){return yt(e,t,z,_t)}function _t(t,r){return pt((function(){if(e.skipTypeChecking(t,j,Ve))return e.emptyArray;var n=nt();e.Debug.assert(!!t.bindDiagnostics);var i=(1===t.scriptKind||2===t.scriptKind)&&e.isCheckJsEnabledForFile(t,j),a=e.isPlainJsFile(t,j.checkJs),o=!(t.checkJsDirective&&!1===t.checkJsDirective.enabled)&&(3===t.scriptKind||4===t.scriptKind||5===t.scriptKind||a||i||7===t.scriptKind),s=o?t.bindDiagnostics:e.emptyArray,c=o?n.getDiagnostics(t,r):e.emptyArray;return a&&(s=e.filter(s,(function(t){return e.plainJSErrors.has(t.code)})),c=e.filter(c,(function(t){return e.plainJSErrors.has(t.code)}))),function(t,r){for(var n,i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var o=e.flatten(i);if(!r||null===(n=t.commentDirectives)||void 0===n||!n.length)return o;for(var s=mt(t,t.commentDirectives,o),c=s.diagnostics,u=0,l=s.directives.getUnusedExpectations();u<l.length;u++){var p=l[u];c.push(e.createDiagnosticForRange(t,p.range,e.Diagnostics.Unused_ts_expect_error_directive))}return c}(t,o&&!a,s,c,i?t.jsDocDiagnostics:void 0)}))}function mt(t,r,n){var i=e.createCommentDirectivesMap(t,r);return{diagnostics:n.filter((function(t){return-1===function(t,r){var n=t.file,i=t.start;if(!n)return-1;for(var a=e.getLineStarts(n),o=e.computeLineAndCharacterOfPosition(a,i).line-1;o>=0;){if(r.markUsed(o))return o;var s=n.text.slice(a[o],a[o+1]).trim();if(""!==s&&!/^(\s*)\/\/(.*)$/.test(s))return-1;o--}return-1}(t,i)})),directives:i}}function gt(e,t){return yt(e,t,W,ht)}function ht(t,r){return pt((function(){var n=nt().getEmitResolver(t,r);return e.getDeclarationDiagnostics(Ze(e.noop),n,t)||e.emptyArray}))}function yt(t,r,n,i){var a,o=t?null===(a=n.perFile)||void 0===a?void 0:a.get(t.path):n.allDiagnostics;if(o)return o;var s=i(t,r);return t?(n.perFile||(n.perFile=new e.Map)).set(t.path,s):n.allDiagnostics=s,s}function vt(e,t){return e.isDeclarationFile?[]:gt(e,t)}function Dt(t,r,n,i){Tt(e.normalizePath(t),r,n,void 0,i)}function bt(e,t){return e.fileName===t.fileName}function xt(e,t){return 79===e.kind?79===t.kind&&e.escapedText===t.escapedText:10===t.kind&&e.text===t.text}function Et(t,r){var n=e.factory.createStringLiteral(t),i=e.factory.createImportDeclaration(void 0,void 0,void 0,n,void 0);return e.addEmitFlags(i,67108864),e.setParent(n,i),e.setParent(i,r),n.flags&=-9,i.flags&=-9,n}function St(t){if(!t.imports){var r,n,i,a=e.isSourceFileJS(t),o=e.isExternalModule(t);if((j.isolatedModules||o)&&!t.isDeclarationFile){j.importHelpers&&(r=[Et(e.externalHelpersModuleNameText,t)]);var s=e.getJSXRuntimeImport(e.getJSXImplicitImportBase(j,t),j);s&&(r||(r=[])).push(Et(s,t))}for(var c=0,u=t.statements;c<u.length;c++)l(u[c],!1);return(1048576&t.flags||a)&&function(t){for(var n=/import|require/g;null!==n.exec(t.text);){var i=p(t,n.lastIndex);a&&e.isRequireCall(i,!0)||e.isImportCall(i)&&i.arguments.length>=1&&e.isStringLiteralLike(i.arguments[0])?(e.setParentRecursive(i,!1),r=e.append(r,i.arguments[0])):e.isLiteralImportTypeNode(i)&&(e.setParentRecursive(i,!1),r=e.append(r,i.argument.literal))}}(t),t.imports=r||e.emptyArray,t.moduleAugmentations=n||e.emptyArray,void(t.ambientModuleNames=i||e.emptyArray)}function l(a,s){if(e.isAnyImportOrReExport(a)){var c=e.getExternalModuleName(a);c&&e.isStringLiteral(c)&&c.text&&(!s||!e.isExternalModuleNameRelative(c.text))&&(e.setParentRecursive(a,!1),r=e.append(r,c),!Se&&0===$&&!t.isDeclarationFile&&(Se=e.startsWith(c.text,"node:")))}else if(e.isModuleDeclaration(a)&&e.isAmbientModule(a)&&(s||e.hasSyntacticModifier(a,2)||t.isDeclarationFile)){a.name.parent=a;var u=e.getTextOfIdentifierOrLiteral(a.name);if(o||s&&!e.isExternalModuleNameRelative(u))(n||(n=[])).push(a.name);else if(!s){t.isDeclarationFile&&(i||(i=[])).push(u);var p=a.body;if(p)for(var d=0,f=p.statements;d<f.length;d++)l(f[d],!0)}}}function p(t,r){for(var n=t,i=function(e){if(e.pos<=r&&(r<e.end||r===e.end&&1===e.kind))return e};;){var o=a&&e.hasJSDocNodes(n)&&e.forEach(n.jsDoc,i)||e.forEachChild(n,i);if(!o)return n;n=o}}}function Ct(t,r,n,i){if(e.hasExtension(t)){var a=ne.getCanonicalFileName(t);if(!j.allowNonTsExtensions&&!e.forEach(e.flatten(pe),(function(t){return e.fileExtensionIs(a,t)})))return void(n&&(e.hasJSFileExtension(a)?n(e.Diagnostics.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,t):n(e.Diagnostics.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,t,"'"+e.flatten(le).join("', '")+"'")));var o=r(t);if(n)if(o)b(i)&&a===ne.getCanonicalFileName(st(i.file).fileName)&&n(e.Diagnostics.A_file_cannot_have_a_reference_to_itself);else{var s=wt(t);s?n(e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,s,t):n(e.Diagnostics.File_0_not_found,t)}return o}var c=j.allowNonTsExtensions&&r(t);if(c)return c;if(!n||!j.allowNonTsExtensions){var u=e.forEach(le[0],(function(e){return r(t+e)}));return n&&!u&&n(e.Diagnostics.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,t,"'"+e.flatten(le).join("', '")+"'"),u}n(e.Diagnostics.File_0_not_found,t)}function Tt(e,t,r,n,i){Ct(e,(function(e){return Nt(e,t,r,i,n)}),(function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return $t(void 0,i,e,t)}),i)}function kt(e,t){return Tt(e,!1,!1,void 0,t)}function At(t,r,n){!b(n)&&e.some(V.get(r.path),b)?$t(r,n,e.Diagnostics.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[r.fileName,t]):$t(r,n,e.Diagnostics.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[t,r.fileName])}function Nt(t,r,n,i,a){null===e.tracing||void 0===e.tracing||e.tracing.push("program","findSourceFile",{fileName:t,isDefaultLib:r||void 0,fileIncludeKind:e.FileIncludeKind[i.kind]});var o=function(t,r,n,i,a){var o=Ye(t);if(ke){var s=Rt(o);if(!s&&ne.realpath&&j.preserveSymlinks&&e.isDeclarationFileName(t)&&e.stringContains(t,e.nodeModulesPathPart)){var c=Ye(ne.realpath(t));c!==o&&(s=Rt(c))}if(s){var u=e.isString(s)?Nt(s,r,n,i,a):void 0;return u&&Ft(u,o,void 0),u}}var l,p=t;if(Ce.has(o)){var d=Ce.get(o);if(Pt(d||void 0,i),d&&j.forceConsistentCasingInFileNames){var m=d.fileName;Ye(m)!==Ye(t)&&(t=wt(t)||t),e.getNormalizedAbsolutePathWithoutRoot(m,ue)!==e.getNormalizedAbsolutePathWithoutRoot(t,ue)&&At(t,d,i)}return d&&X.get(d.path)&&0===$?(X.set(d.path,!1),j.noResolve||(Kt(d,r),Jt(d)),j.noLib||Vt(d),Y.set(d.path,!1),Wt(d)):d&&Y.get(d.path)&&$<G&&(Y.set(d.path,!1),Wt(d)),d||void 0}if(b(i)&&!ke){var g=It(t);if(g){if(e.outFile(g.commandLine.options))return;var h=Ot(g,t);t=h,l=Ye(h)}}var y=ne.getSourceFile(t,e.getEmitScriptTarget(j),(function(r){return $t(void 0,i,e.Diagnostics.Cannot_read_file_0_Colon_1,[t,r])}),Oe);if(a){var v=e.packageIdToString(a),D=be.get(v);if(D){var x=function(e,t,r,n,i,a){var o=Object.create(e);return o.fileName=r,o.path=n,o.resolvedPath=i,o.originalFileName=a,o.redirectInfo={redirectTarget:e,unredirected:t},X.set(n,$>0),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}(D,y,t,o,Ye(t),p);return Ee.add(D.path,t),Ft(x,o,l),Pt(x,i),xe.set(o,e.packageIdToPackageName(a)),_.push(x),x}y&&(be.set(v,y),xe.set(o,e.packageIdToPackageName(a)))}if(Ft(y,o,l),y){if(X.set(o,$>0),y.fileName=t,y.path=o,y.resolvedPath=Ye(t),y.originalFileName=p,y.impliedNodeFormat=S(y.resolvedPath,null==Z?void 0:Z.getPackageJsonInfoCache(),ne,j),Pt(y,i),ne.useCaseSensitiveFileNames()){var E=e.toFileNameLowerCase(o),C=Te.get(E);C?At(t,C,i):Te.set(E,y)}ae=ae||y.hasNoDefaultLib&&!n,j.noResolve||(Kt(y,r),Jt(y)),j.noLib||Vt(y),Wt(y),r?f.push(y):_.push(y)}return y}(t,r,n,i,a);return null===e.tracing||void 0===e.tracing||e.tracing.pop(),o}function Pt(e,t){e&&V.add(e.path,t)}function Ft(e,t,r){r?(Ce.set(r,e),Ce.set(t,e||!1)):Ce.set(t,e)}function wt(e){var t=It(e);return t&&Ot(t,e)}function It(t){if(he&&he.length&&!e.fileExtensionIs(t,".d.ts")&&!e.fileExtensionIs(t,".json"))return Lt(t)}function Ot(t,r){var n=e.outFile(t.commandLine.options);return n?e.changeExtension(n,".d.ts"):e.getOutputDeclarationFileName(r,t.commandLine,!ne.useCaseSensitiveFileNames())}function Lt(t){void 0===ve&&(ve=new e.Map,Mt((function(e){Ye(j.configFilePath)!==e.sourceFile.path&&e.commandLine.fileNames.forEach((function(t){return ve.set(Ye(t),e.sourceFile.path)}))})));var r=ve.get(Ye(t));return r&&jt(r)}function Mt(t){return e.forEachResolvedProjectReference(he,t)}function Rt(t){if(e.isDeclarationFileName(t))return void 0===De&&(De=new e.Map,Mt((function(t){var r=e.outFile(t.commandLine.options);if(r){var n=e.changeExtension(r,".d.ts");De.set(Ye(n),!0)}else{var i=e.memoize((function(){return e.getCommonSourceDirectoryOfConfig(t.commandLine,!ne.useCaseSensitiveFileNames())}));e.forEach(t.commandLine.fileNames,(function(r){if(!e.fileExtensionIs(r,".d.ts")&&!e.fileExtensionIs(r,".json")){var n=e.getOutputDeclarationFileName(r,t.commandLine,!ne.useCaseSensitiveFileNames(),i);De.set(Ye(n),r)}}))}}))),De.get(t)}function Bt(e){return ke&&!!Lt(e)}function jt(e){if(ye)return ye.get(e)||void 0}function Kt(r,n){e.forEach(r.referencedFiles,(function(i,a){Tt(t(i.fileName,r.fileName),n,!1,void 0,{kind:e.FileIncludeKind.ReferenceFile,file:r.path,index:a})}))}function Jt(t){var r=e.map(t.typeReferenceDirectives,(function(t){return e.toFileNameLowerCase(t.fileName)}));if(r)for(var n=We(r,t),i=0;i<r.length;i++){var a=t.typeReferenceDirectives[i],o=n[i],s=e.toFileNameLowerCase(a.fileName);e.setResolvedTypeReferenceDirective(t,s,o),Ut(s,o,{kind:e.FileIncludeKind.TypeReferenceDirective,file:t.path,index:i})}}function Ut(t,r,n){null===e.tracing||void 0===e.tracing||e.tracing.push("program","processTypeReferenceDirective",{directive:t,hasResolved:!!Qe,refKind:n.kind,refPath:b(n)?n.file:void 0}),function(t,r,n){var i=H.get(t);if(!i||!i.primary){var a=!0;if(r){if(r.isExternalLibraryImport&&$++,r.primary)Tt(r.resolvedFileName,!1,!1,r.packageId,n);else if(i){if(r.resolvedFileName!==i.resolvedFileName){var o=ne.readFile(r.resolvedFileName),s=ot(i.resolvedFileName);o!==s.text&&$t(s,n,e.Diagnostics.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,[t,r.resolvedFileName,i.resolvedFileName])}a=!1}else Tt(r.resolvedFileName,!1,!1,r.packageId,n);r.isExternalLibraryImport&&$--}else $t(void 0,n,e.Diagnostics.Cannot_find_type_definition_file_for_0,[t]);a&&H.set(t,r)}}(t,r,n),null===e.tracing||void 0===e.tracing||e.tracing.pop()}function qt(t){for(var r=t.split("."),n=r[1],i=2;r[i]&&"d"!==r[i];)n+=(2===i?"/":"-")+r[i],i++;var a=e.combinePaths(ue,"__lib_node_modules_lookup_".concat(t,"__.ts")),o=e.resolveModuleName("@typescript/lib-"+n,a,{moduleResolution:e.ModuleResolutionKind.NodeJs},ne,Z);return null!=o&&o.resolvedModule?o.resolvedModule.resolvedFileName:e.combinePaths(se,t)}function Vt(t){e.forEach(t.libReferenceDirectives,(function(r,n){var i=e.toFileNameLowerCase(r.fileName),a=e.libMap.get(i);if(a)Dt(qt(a),!0,!0,{kind:e.FileIncludeKind.LibReferenceDirective,file:t.path,index:n});else{var o=e.removeSuffix(e.removePrefix(i,"lib."),".d.ts"),s=e.getSpellingSuggestion(o,e.libs,e.identity),c=s?e.Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1:e.Diagnostics.Cannot_find_lib_definition_for_0;(M||(M=[])).push({kind:0,reason:{kind:e.FileIncludeKind.LibReferenceDirective,file:t.path,index:n},diagnostic:c,args:[i,s]})}}))}function zt(e){return ne.getCanonicalFileName(e)}function Wt(t){var r;if(St(t),t.imports.length||t.moduleAugmentations.length){var n=F(t),i=Qe(n,t);e.Debug.assert(i.length===n.length);for(var a=(ke?null===(r=He(t))||void 0===r?void 0:r.commandLine.options:void 0)||j,o=0;o<n.length;o++){var s=i[o];if(e.setResolvedModule(t,n[o],s,h(t,o)),s){var c=s.isExternalLibraryImport,u=!e.resolutionExtensionIsTSOrJson(s.extension),l=c&&u,p=s.resolvedFileName;c&&$++;var d=l&&$>G,f=p&&!P(a,s)&&!a.noResolve&&o<t.imports.length&&!d&&!(u&&!e.getAllowJSCompilerOption(a))&&(e.isInJSFile(t.imports[o])||!(4194304&t.imports[o].flags));d?Y.set(t.path,!0):f&&Nt(p,!1,!1,{kind:e.FileIncludeKind.Import,file:t.path,index:o},s.packageId),c&&$--}}}else t.resolvedModules=void 0}function Ht(t){ye||(ye=new e.Map);var r,n,i=N(t),a=Ye(i),o=ye.get(a);if(void 0!==o)return o||void 0;if(ne.getParsedCommandLine){if(!(r=ne.getParsedCommandLine(i)))return Ft(void 0,a,void 0),void ye.set(a,!1);n=e.Debug.checkDefined(r.options.configFile),e.Debug.assert(!n.path||n.path===a),Ft(n,a,void 0)}else{var s=e.getNormalizedAbsolutePath(e.getDirectoryPath(i),ne.getCurrentDirectory());if(Ft(n=ne.getSourceFile(i,100),a,void 0),void 0===n)return void ye.set(a,!1);r=e.parseJsonSourceFileConfigFileContent(n,ie,s,void 0,i)}n.fileName=i,n.path=a,n.resolvedPath=a,n.originalFileName=i;var c={commandLine:r,sourceFile:n};return ye.set(a,c),r.projectReferences&&(c.references=r.projectReferences.map(Ht)),c}function Gt(t,r,n,i){var o,s,c,u=b(r)?r:void 0;t&&(null===(o=V.get(t.path))||void 0===o||o.forEach(_)),r&&_(r),u&&1===(null==s?void 0:s.length)&&(s=void 0);var l=u&&E(st,u),p=s&&e.chainDiagnosticMessages(s,e.Diagnostics.The_file_is_in_the_program_because_Colon),d=t&&e.explainIfFileIsRedirect(t),f=e.chainDiagnosticMessages.apply(void 0,a([d?p?a([p],d,!0):d:p,n],i||e.emptyArray,!1));return l&&x(l)?e.createFileDiagnosticFromMessageChain(l.file,l.pos,l.end-l.pos,f,c):e.createCompilerDiagnosticFromMessageChain(f,c);function _(t){(s||(s=[])).push(e.fileIncludeReasonToDiagnostics(Ve,t)),!u&&b(t)?u=t:u!==t&&(c=e.append(c,function(t){if(b(t)){var r,n=E(st,t);switch(t.kind){case e.FileIncludeKind.Import:r=e.Diagnostics.File_is_included_via_import_here;break;case e.FileIncludeKind.ReferenceFile:r=e.Diagnostics.File_is_included_via_reference_here;break;case e.FileIncludeKind.TypeReferenceDirective:r=e.Diagnostics.File_is_included_via_type_library_reference_here;break;case e.FileIncludeKind.LibReferenceDirective:r=e.Diagnostics.File_is_included_via_library_reference_here;break;default:e.Debug.assertNever(t)}return x(n)?e.createFileDiagnostic(n.file,n.pos,n.end-n.pos,r):void 0}if(j.configFile){var i,a;switch(t.kind){case e.FileIncludeKind.RootFile:if(!j.configFile.configFileSpecs)return;var o=e.getNormalizedAbsolutePath(B[t.index],ue),s=e.getMatchedFileSpec(Ve,o);if(s){i=e.getTsConfigPropArrayElementValue(j.configFile,"files",s),a=e.Diagnostics.File_is_matched_by_files_list_specified_here;break}var c=e.getMatchedIncludeSpec(Ve,o);if(!c)return;i=e.getTsConfigPropArrayElementValue(j.configFile,"include",c),a=e.Diagnostics.File_is_matched_by_include_pattern_specified_here;break;case e.FileIncludeKind.SourceFromProjectReference:case e.FileIncludeKind.OutputFromProjectReference:var u=e.Debug.checkDefined(null==he?void 0:he[t.index]),l=D(J,he,(function(e,t,r){return e===u?{sourceFile:(null==t?void 0:t.sourceFile)||j.configFile,index:r}:void 0}));if(!l)return;var p=l.sourceFile,d=l.index,f=e.firstDefined(e.getTsConfigPropArray(p,"references"),(function(t){return e.isArrayLiteralExpression(t.initializer)?t.initializer:void 0}));return f&&f.elements.length>d?e.createDiagnosticForNodeInSourceFile(p,f.elements[d],t.kind===e.FileIncludeKind.OutputFromProjectReference?e.Diagnostics.File_is_output_from_referenced_project_specified_here:e.Diagnostics.File_is_source_from_referenced_project_specified_here):void 0;case e.FileIncludeKind.AutomaticTypeDirectiveFile:if(!j.types)return;i=tr("types",t.typeReference),a=e.Diagnostics.File_is_entry_point_of_type_library_specified_here;break;case e.FileIncludeKind.LibFile:if(void 0!==t.index){i=tr("lib",j.lib[t.index]),a=e.Diagnostics.File_is_library_specified_here;break}var _=e.forEachEntry(e.targetOptionDeclaration.type,(function(t,r){return t===e.getEmitScriptTarget(j)?r:void 0}));i=_?function(t,r){var n=Zt(t);return n&&e.firstDefined(n,(function(t){return e.isStringLiteral(t.initializer)&&t.initializer.text===r?t.initializer:void 0}))}("target",_):void 0,a=e.Diagnostics.File_is_default_library_for_target_specified_here;break;default:e.Debug.assertNever(t)}return i&&e.createDiagnosticForNodeInSourceFile(j.configFile,i,a)}}(t))),t===r&&(r=void 0)}}function $t(e,t,r,n){(M||(M=[])).push({kind:1,file:e&&e.path,fileProcessingReason:t,diagnostic:r,args:n})}function Yt(e,t,r){ce.add(Gt(e,void 0,t,r))}function Xt(t,r,n,i,a,o){for(var s=!0,c=0,u=er();c<u.length;c++){var l=u[c];if(e.isObjectLiteralExpression(l.initializer))for(var p=0,d=e.getPropertyAssignment(l.initializer,t);p<d.length;p++){var f=d[p].initializer;e.isArrayLiteralExpression(f)&&f.elements.length>r&&(ce.add(e.createDiagnosticForNodeInSourceFile(j.configFile,f.elements[r],n,i,a,o)),s=!1)}}s&&ce.add(e.createCompilerDiagnostic(n,i,a,o))}function Qt(t,r,n,i){for(var a=!0,o=0,s=er();o<s.length;o++){var c=s[o];e.isObjectLiteralExpression(c.initializer)&&sr(c.initializer,t,r,void 0,n,i)&&(a=!1)}a&&ce.add(e.createCompilerDiagnostic(n,i))}function Zt(t){var r=or();return r&&e.getPropertyAssignment(r,t)}function er(){return Zt("paths")||e.emptyArray}function tr(t,r){var n=or();return n&&e.getPropertyArrayElementValue(n,t,r)}function rr(e,t,r,n){ar(!0,t,r,e,t,r,n)}function nr(e,t,r,n){ar(!1,e,void 0,t,r,n)}function ir(t,r,n,i,a){var o=e.firstDefined(e.getTsConfigPropArray(t||j.configFile,"references"),(function(t){return e.isArrayLiteralExpression(t.initializer)?t.initializer:void 0}));o&&o.elements.length>r?ce.add(e.createDiagnosticForNodeInSourceFile(t||j.configFile,o.elements[r],n,i,a)):ce.add(e.createCompilerDiagnostic(n,i,a))}function ar(t,r,n,i,a,o,s){var c=or();(!c||!sr(c,t,r,n,i,a,o,s))&&ce.add(e.createCompilerDiagnostic(i,a,o,s))}function or(){if(void 0===Q){Q=!1;var t=e.getTsConfigObjectLiteralExpression(j.configFile);if(t)for(var r=0,n=e.getPropertyAssignment(t,"compilerOptions");r<n.length;r++){var i=n[r];if(e.isObjectLiteralExpression(i.initializer)){Q=i.initializer;break}}}return Q||void 0}function sr(t,r,n,i,a,o,s,c){for(var u=e.getPropertyAssignment(t,n,i),l=0,p=u;l<p.length;l++){var d=p[l];ce.add(e.createDiagnosticForNodeInSourceFile(j.configFile,r?d.name:d.initializer,a,o,s,c))}return!!u.length}function cr(e,t){de.set(Ye(e),!0),ce.add(t)}function ur(t,r){return 0===e.comparePaths(t,r,ue,!ne.useCaseSensitiveFileNames())}function lr(){return ne.getSymlinkCache?ne.getSymlinkCache():(y||(y=e.createSymlinkCache(ue,zt)),m&&H&&!y.hasProcessedResolutions()&&y.setSymlinksFromResolutions(m,H),y)}},e.emitSkippedWithNoDiagnostics={diagnostics:e.emptyArray,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0},e.handleNoEmitOptions=C,e.filterSemanticDiagnostics=T,e.parseConfigHostFromCompilerHostLike=k,e.createPrependNodes=A,e.resolveProjectReferencePath=N,e.getResolutionDiagnostic=P,e.getModuleNameStringLiteralAt=w}(n||(n={})),function(e){function t(e,t,r,n,i,a){var o=[],s=e.emit(t,(function(e,t,r){o.push({name:e,writeByteOrderMark:r,text:t})}),n,r,i,a),c=s.emitSkipped,u=s.diagnostics,l=s.exportedModulesFromDeclarationEmit;return{outputFiles:o,emitSkipped:c,diagnostics:u,exportedModulesFromDeclarationEmit:l}}e.getFileEmitOutput=t,function(r){var n=0;function i(){return function t(r,i,o){var s=0,c={id:n++,version:function(){return s},clone:function(){return t(new e.Map(r),new e.Map(i),o&&new e.Set(o))},forEach:function(e){return r.forEach(e)},getKeys:function(e){return i.get(e)},getValues:function(e){return r.get(e)},hasKey:function(e){return r.has(e)},keys:function(){return r.keys()},deletedKeys:function(){return o},deleteKey:function(t){(o||(o=new e.Set)).add(t);var n=r.get(t);return!!n&&(n.forEach((function(e){return a(i,e,t)})),r.delete(t),s++,!0)},set:function(t,n){var u=!(null==o||!o.delete(t)),l=r.get(t);return r.set(t,n),null==l||l.forEach((function(e){n.has(e)||(u=!0,a(i,e,t))})),n.forEach((function(r){null!=l&&l.has(r)||(u=!0,function(t,r,n){var i=t.get(r);i||(i=new e.Set,t.set(r,i)),i.add(n)}(i,r,t))})),u&&s++,c}};return c}(new e.Map,new e.Map,void 0)}function a(e,t,r,n){void 0===n&&(n=!0);var i=e.get(t);return!(null==i||!i.delete(r)||(n&&!i.size&&e.delete(t),0))}function o(t){return e.mapDefined(t.declarations,(function(t){var r;return null===(r=e.getSourceFileOfNode(t))||void 0===r?void 0:r.resolvedPath}))}function s(e,t){var r=e.getSymbolAtLocation(t);return r&&o(r)}function c(t,r,n,i){return e.toPath(t.getProjectReferenceRedirect(r)||r,n,i)}function u(t,r,n){var i;if(r.imports&&r.imports.length>0)for(var a=t.getTypeChecker(),o=0,u=r.imports;o<u.length;o++){var l=s(a,u[o]);null==l||l.forEach(E)}var p=e.getDirectoryPath(r.resolvedPath);if(r.referencedFiles&&r.referencedFiles.length>0)for(var d=0,f=r.referencedFiles;d<f.length;d++){var _=f[d];E(c(t,_.fileName,p,n))}if(r.resolvedTypeReferenceDirectiveNames&&r.resolvedTypeReferenceDirectiveNames.forEach((function(e){if(e){var r=e.resolvedFileName;E(c(t,r,p,n))}})),r.moduleAugmentations.length){a=t.getTypeChecker();for(var m=0,g=r.moduleAugmentations;m<g.length;m++){var h=g[m];if(e.isStringLiteral(h)){var y=a.getSymbolAtLocation(h);!y||x(y)}}}for(var v=0,D=t.getTypeChecker().getAmbientModules();v<D.length;v++){var b=D[v];b.declarations&&b.declarations.length>1&&x(b)}return i;function x(t){if(t.declarations)for(var n=0,i=t.declarations;n<i.length;n++){var a=i[n],o=e.getSourceFileOfNode(a);o&&o!==r&&E(o.resolvedPath)}}function E(t){(i||(i=new e.Set)).add(t)}}function l(e,t){return t&&!t.referencedMap==!e}function p(e,t){t.forEach((function(t,r){return d(e,t,r)}))}function d(e,t,r){e.fileInfos.get(r).signature=t,e.hasCalledUpdateShapeSignature.add(r)}function f(r,n,i,a,s,c,u,l){if(void 0===l&&(l=r.useFileVersionAsSignature),e.Debug.assert(!!i),e.Debug.assert(!u||!!r.exportedModulesMap,"Compute visible to outside map only if visibleToOutsideReferencedMap present in the state"),r.hasCalledUpdateShapeSignature.has(i.resolvedPath)||a.has(i.resolvedPath))return!1;var p=r.fileInfos.get(i.resolvedPath);if(!p)return e.Debug.fail();var d,f=p.signature;if(!i.isDeclarationFile&&!l){var _=t(n,i,!0,s,void 0,!0),m=e.firstOrUndefined(_.outputFiles);m&&(e.Debug.assert(e.fileExtensionIsOneOf(m.name,[".d.ts",".d.mts",".d.cts"]),"File extension for signature expected to be dts",(function(){return"Found: ".concat(e.getAnyExtensionFromPath(m.name)," for ").concat(m.name,":: All output files: ").concat(JSON.stringify(_.outputFiles.map((function(e){return e.name}))))})),d=(c||e.generateDjb2Hash)(m.text),u&&d!==f&&function(t,r,n){var i;function a(t){null!=t&&t.length&&(i||(i=new e.Set),t.forEach((function(e){return i.add(e)})))}r?(r.forEach((function(e){return a(o(e))})),i?n.set(t.resolvedPath,i):n.deleteKey(t.resolvedPath)):n.deleteKey(t.resolvedPath)}(i,_.exportedModulesFromDeclarationEmit,u))}if(void 0===d&&(d=i.version,u&&d!==f)){var g=r.referencedMap?r.referencedMap.getValues(i.resolvedPath):void 0;g?u.set(i.resolvedPath,g):u.deleteKey(i.resolvedPath)}return a.set(i.resolvedPath,d),d!==f}function _(t,r){var n=t.referencedMap.getKeys(r);return n?e.arrayFrom(n.keys()):[]}function m(t){return function(t){return e.some(t.moduleAugmentations,(function(t){return e.isGlobalScopeAugmentation(t.parent)}))}(t)||!e.isExternalOrCommonJsModule(t)&&!e.isJsonSourceFile(t)&&!function(t){for(var r=0,n=t.statements;r<n.length;r++){var i=n[r];if(!e.isModuleWithStringLiteralName(i))return!1}return!0}(t)}function g(t,r,n){if(t.allFilesExcludingDefaultLibraryFile)return t.allFilesExcludingDefaultLibraryFile;var i;n&&c(n);for(var a=0,o=r.getSourceFiles();a<o.length;a++){var s=o[a];s!==n&&c(s)}return t.allFilesExcludingDefaultLibraryFile=i||e.emptyArray,t.allFilesExcludingDefaultLibraryFile;function c(e){r.isSourceFileDefaultLibrary(e)||(i||(i=[])).push(e)}}function h(t,r,n){var i=r.getCompilerOptions();return i&&e.outFile(i)?[n]:g(t,r,n)}function y(t,r,n,i,a,o,s){if(m(n))return g(t,r,n);var c=r.getCompilerOptions();if(c&&(c.isolatedModules||e.outFile(c)))return[n];var u=new e.Map;u.set(n.resolvedPath,n);for(var l=_(t,n.resolvedPath);l.length>0;){var p=l.pop();if(!u.has(p)){var d=r.getSourceFileByPath(p);u.set(p,d),d&&f(t,r,d,i,a,o,s)&&l.push.apply(l,_(t,d.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(u.values(),(function(e){return e})))}r.createManyToManyPathMap=i,r.canReuseOldState=l,r.create=function(t,r,n,a){var o=new e.Map,s=t.getCompilerOptions().module!==e.ModuleKind.None?i():void 0,c=s?i():void 0,p=new e.Set,d=l(s,n);t.getTypeChecker();for(var f=0,_=t.getSourceFiles();f<_.length;f++){var g=_[f],h=e.Debug.checkDefined(g.version,"Program intended to be used with Builder should have source files with versions set"),y=d?n.fileInfos.get(g.resolvedPath):void 0;if(s){var v=u(t,g,r);if(v&&s.set(g.resolvedPath,v),d){var D=n.exportedModulesMap.getValues(g.resolvedPath);D&&c.set(g.resolvedPath,D)}}o.set(g.resolvedPath,{version:h,signature:y&&y.signature,affectsGlobalScope:m(g)||void 0,impliedFormat:g.impliedNodeFormat})}return{fileInfos:o,referencedMap:s,exportedModulesMap:c,hasCalledUpdateShapeSignature:p,useFileVersionAsSignature:!a&&!d}},r.releaseCache=function(e){e.allFilesExcludingDefaultLibraryFile=void 0,e.allFileNames=void 0},r.clone=function(t){var r,n;return{fileInfos:new e.Map(t.fileInfos),referencedMap:null===(r=t.referencedMap)||void 0===r?void 0:r.clone(),exportedModulesMap:null===(n=t.exportedModulesMap)||void 0===n?void 0:n.clone(),hasCalledUpdateShapeSignature:new e.Set(t.hasCalledUpdateShapeSignature),useFileVersionAsSignature:t.useFileVersionAsSignature}},r.getFilesAffectedBy=function(t,r,n,i,a,o,s){var c=o||new e.Map,u=r.getSourceFileByPath(n);if(!u)return e.emptyArray;if(!f(t,r,u,c,i,a,s))return[u];var l=(t.referencedMap?y:h)(t,r,u,c,i,a,s);return o||p(t,c),l},r.updateSignaturesFromCache=p,r.updateSignatureOfFile=d,r.updateShapeSignature=f,r.updateExportedFilesMapFromCache=function(t,r){var n;if(r){e.Debug.assert(!!t.exportedModulesMap);var i=r.id,a=r.version();if(t.previousCache){if(t.previousCache.id===i&&t.previousCache.version===a)return;t.previousCache.id=i,t.previousCache.version=a}else t.previousCache={id:i,version:a};null===(n=r.deletedKeys())||void 0===n||n.forEach((function(e){return t.exportedModulesMap.deleteKey(e)})),r.forEach((function(e,r){return t.exportedModulesMap.set(r,e)}))}},r.getAllDependencies=function(t,r,n){var i=r.getCompilerOptions();if(e.outFile(i)||!t.referencedMap||m(n))return function(t,r){if(!t.allFileNames){var n=r.getSourceFiles();t.allFileNames=n===e.emptyArray?e.emptyArray:n.map((function(e){return e.fileName}))}return t.allFileNames}(t,r);for(var a=new e.Set,o=[n.resolvedPath];o.length;){var s=o.pop();if(!a.has(s)){a.add(s);var c=t.referencedMap.getValues(s);if(c)for(var u=c.keys(),l=u.next();!l.done;l=u.next())o.push(l.value)}}return e.arrayFrom(e.mapDefinedIterator(a.keys(),(function(e){var t,n;return null!==(n=null===(t=r.getSourceFileByPath(e))||void 0===t?void 0:t.fileName)&&void 0!==n?n:e})))},r.getReferencedByPaths=_,r.getAllFilesExcludingDefaultLibraryFile=g}(e.BuilderState||(e.BuilderState={}))}(n||(n={})),function(e){var t,r;function n(t,r,n,a){var o=e.BuilderState.create(t,r,n,a);o.program=t;var s=t.getCompilerOptions();o.compilerOptions=s,e.outFile(s)||(o.semanticDiagnosticsPerFile=new e.Map),o.changedFilesSet=new e.Set;var c=e.BuilderState.canReuseOldState(o.referencedMap,n),u=c?n.compilerOptions:void 0,l=c&&n.semanticDiagnosticsPerFile&&!!o.semanticDiagnosticsPerFile&&!e.compilerOptionsAffectSemanticDiagnostics(s,u);if(c){if(!n.currentChangedFilePath){var p=n.currentAffectedFilesSignatures;e.Debug.assert(!(n.affectedFiles||p&&p.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var d=n.changedFilesSet;l&&e.Debug.assert(!d||!e.forEachKey(d,(function(e){return n.semanticDiagnosticsPerFile.has(e)})),"Semantic diagnostics shouldnt be available for changed files"),null==d||d.forEach((function(e){return o.changedFilesSet.add(e)})),!e.outFile(s)&&n.affectedFilesPendingEmit&&(o.affectedFilesPendingEmit=n.affectedFilesPendingEmit.slice(),o.affectedFilesPendingEmitKind=n.affectedFilesPendingEmitKind&&new e.Map(n.affectedFilesPendingEmitKind),o.affectedFilesPendingEmitIndex=n.affectedFilesPendingEmitIndex,o.seenAffectedFiles=new e.Set)}var f=o.referencedMap,_=c?n.referencedMap:void 0,m=l&&!s.skipLibCheck==!u.skipLibCheck,g=m&&!s.skipDefaultLibCheck==!u.skipDefaultLibCheck;return o.fileInfos.forEach((function(a,s){var u,p;if(!c||!(u=n.fileInfos.get(s))||u.version!==a.version||!function(t,r){return t===r||void 0!==t&&void 0!==r&&t.size===r.size&&!e.forEachKey(t,(function(e){return!r.has(e)}))}(p=f&&f.getValues(s),_&&_.getValues(s))||p&&e.forEachKey(p,(function(e){return!o.fileInfos.has(e)&&n.fileInfos.has(e)})))o.changedFilesSet.add(s);else if(l){var d=t.getSourceFileByPath(s);if(d.isDeclarationFile&&!m||d.hasNoDefaultLib&&!g)return;var h=n.semanticDiagnosticsPerFile.get(s);h&&(o.semanticDiagnosticsPerFile.set(s,n.hasReusableDiagnostic?function(t,r,n){if(!t.length)return e.emptyArray;var a=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(r.getCompilerOptions()),r.getCurrentDirectory()));return t.map((function(e){var t=i(e,r,o);t.reportsUnnecessary=e.reportsUnnecessary,t.reportsDeprecated=e.reportDeprecated,t.source=e.source,t.skippedOn=e.skippedOn;var n=e.relatedInformation;return t.relatedInformation=n?n.length?n.map((function(e){return i(e,r,o)})):[]:void 0,t}));function o(t){return e.toPath(t,a,n)}}(h,t,r):h),o.semanticDiagnosticsFromOldState||(o.semanticDiagnosticsFromOldState=new e.Set),o.semanticDiagnosticsFromOldState.add(s))}})),c&&e.forEachEntry(n.fileInfos,(function(e,t){return e.affectsGlobalScope&&!o.fileInfos.has(t)}))?e.BuilderState.getAllFilesExcludingDefaultLibraryFile(o,t,void 0).forEach((function(e){return o.changedFilesSet.add(e.resolvedPath)})):u&&!e.outFile(s)&&e.compilerOptionsAffectEmit(s,u)&&(t.getSourceFiles().forEach((function(e){return b(o,e.resolvedPath,1)})),e.Debug.assert(!o.seenAffectedFiles||!o.seenAffectedFiles.size),o.seenAffectedFiles=o.seenAffectedFiles||new e.Set),c&&e.forEachEntry(n.fileInfos,(function(e,t){o.fileInfos.has(t)&&o.fileInfos.get(t).impliedFormat!==e.impliedFormat&&o.changedFilesSet.add(t)})),o.buildInfoEmitPending=!!o.changedFilesSet.size,o}function i(e,t,r){var n=e.file;return o(o({},e),{file:n?t.getSourceFileByPath(r(n)):void 0})}function a(t,r){e.Debug.assert(!r||!t.affectedFiles||t.affectedFiles[t.affectedFilesIndex-1]!==r||!t.semanticDiagnosticsPerFile.has(r.resolvedPath))}function s(t,r,n){for(;;){var i=t.affectedFiles;if(i){for(var a=t.seenAffectedFiles,o=t.affectedFilesIndex;o<i.length;){var s=i[o];if(!a.has(s.resolvedPath))return t.affectedFilesIndex=o,c(t,s,r,n),s;o++}t.changedFilesSet.delete(t.currentChangedFilePath),t.currentChangedFilePath=void 0,e.BuilderState.updateSignaturesFromCache(t,t.currentAffectedFilesSignatures),t.currentAffectedFilesSignatures.clear(),e.BuilderState.updateExportedFilesMapFromCache(t,t.currentAffectedFilesExportedModulesMap),t.affectedFiles=void 0}var u=t.changedFilesSet.keys().next();if(u.done)return;var l=e.Debug.checkDefined(t.program),p=l.getCompilerOptions();if(e.outFile(p))return e.Debug.assert(!t.semanticDiagnosticsPerFile),l;t.currentAffectedFilesSignatures||(t.currentAffectedFilesSignatures=new e.Map),t.exportedModulesMap&&(t.currentAffectedFilesExportedModulesMap||(t.currentAffectedFilesExportedModulesMap=e.BuilderState.createManyToManyPathMap())),t.affectedFiles=e.BuilderState.getFilesAffectedBy(t,l,u.value,r,n,t.currentAffectedFilesSignatures,t.currentAffectedFilesExportedModulesMap),t.currentChangedFilePath=u.value,t.affectedFilesIndex=0,t.seenAffectedFiles||(t.seenAffectedFiles=new e.Set)}}function c(t,r,n,i){var a;if(u(t,r.resolvedPath),t.allFilesExcludingDefaultLibraryFile!==t.affectedFiles)e.Debug.assert(t.hasCalledUpdateShapeSignature.has(r.resolvedPath)||(null===(a=t.currentAffectedFilesSignatures)||void 0===a?void 0:a.has(r.resolvedPath)),"Signature not updated for affected file: ".concat(r.fileName)),t.compilerOptions.assumeChangesOnlyAffectDirectDependencies||function(t,r,n){var i,a;if(t.exportedModulesMap&&t.changedFilesSet.has(r.resolvedPath)&&l(t,r.resolvedPath)){if(t.compilerOptions.isolatedModules){var o=new e.Map;o.set(r.resolvedPath,!0);for(var s=e.BuilderState.getReferencedByPaths(t,r.resolvedPath);s.length>0;){var c=s.pop();if(!o.has(c)&&(o.set(c,!0),n(t,c),l(t,c))){var u=e.Debug.checkDefined(t.program).getSourceFileByPath(c);s.push.apply(s,e.BuilderState.getReferencedByPaths(t,u.resolvedPath))}}}e.Debug.assert(!!t.currentAffectedFilesExportedModulesMap);var d=new e.Set;null===(i=t.currentAffectedFilesExportedModulesMap.getKeys(r.resolvedPath))||void 0===i||i.forEach((function(e){return p(t,e,d,n)})),null===(a=t.exportedModulesMap.getKeys(r.resolvedPath))||void 0===a||a.forEach((function(e){var r;return!t.currentAffectedFilesExportedModulesMap.hasKey(e)&&!(null!==(r=t.currentAffectedFilesExportedModulesMap.deletedKeys())&&void 0!==r&&r.has(e))&&p(t,e,d,n)}))}}(t,r,(function(t,r){return function(t,r,n,i){if(u(t,r),!t.changedFilesSet.has(r)){var a=e.Debug.checkDefined(t.program),o=a.getSourceFileByPath(r);o&&(e.BuilderState.updateShapeSignature(t,a,o,e.Debug.checkDefined(t.currentAffectedFilesSignatures),n,i,t.currentAffectedFilesExportedModulesMap,!0),e.getEmitDeclarations(t.compilerOptions)&&b(t,r,0))}}(t,r,n,i)}));else{if(!t.cleanedDiagnosticsOfLibFiles){t.cleanedDiagnosticsOfLibFiles=!0;var o=e.Debug.checkDefined(t.program),s=o.getCompilerOptions();e.forEach(o.getSourceFiles(),(function(r){return o.isSourceFileDefaultLibrary(r)&&!e.skipTypeChecking(r,s,o)&&u(t,r.resolvedPath)}))}e.BuilderState.updateShapeSignature(t,e.Debug.checkDefined(t.program),r,e.Debug.checkDefined(t.currentAffectedFilesSignatures),n,i,t.currentAffectedFilesExportedModulesMap)}}function u(e,t){return!e.semanticDiagnosticsFromOldState||(e.semanticDiagnosticsFromOldState.delete(t),e.semanticDiagnosticsPerFile.delete(t),!e.semanticDiagnosticsFromOldState.size)}function l(t,r){return e.Debug.checkDefined(t.currentAffectedFilesSignatures).get(r)!==e.Debug.checkDefined(t.fileInfos.get(r)).signature}function p(e,t,r,n){var i;null===(i=e.referencedMap.getKeys(t))||void 0===i||i.forEach((function(t){return d(e,t,r,n)}))}function d(t,r,n,i){var a,o,s;!e.tryAddToSet(n,r)||(i(t,r),e.Debug.assert(!!t.currentAffectedFilesExportedModulesMap),null===(a=t.currentAffectedFilesExportedModulesMap.getKeys(r))||void 0===a||a.forEach((function(e){return d(t,e,n,i)})),null===(o=t.exportedModulesMap.getKeys(r))||void 0===o||o.forEach((function(e){var r;return!t.currentAffectedFilesExportedModulesMap.hasKey(e)&&!(null!==(r=t.currentAffectedFilesExportedModulesMap.deletedKeys())&&void 0!==r&&r.has(e))&&d(t,e,n,i)})),null===(s=t.referencedMap.getKeys(r))||void 0===s||s.forEach((function(e){return!n.has(e)&&i(t,e)})))}function f(t,r,n,i,a){a?t.buildInfoEmitPending=!1:r===t.program?(t.changedFilesSet.clear(),t.programEmitComplete=!0):(t.seenAffectedFiles.add(r.resolvedPath),void 0!==n&&(t.seenEmittedFiles||(t.seenEmittedFiles=new e.Map)).set(r.resolvedPath,n),i?(t.affectedFilesPendingEmitIndex++,t.buildInfoEmitPending=!0):t.affectedFilesIndex++)}function _(e,t,r){return f(e,r),{result:t,affected:r}}function m(e,t,r,n,i,a){return f(e,r,n,i,a),{result:t,affected:r}}function g(t,r,n){return e.concatenate(function(t,r,n){var i=r.resolvedPath;if(t.semanticDiagnosticsPerFile){var a=t.semanticDiagnosticsPerFile.get(i);if(a)return e.filterSemanticDiagnostics(a,t.compilerOptions)}var o=e.Debug.checkDefined(t.program).getBindAndCheckDiagnostics(r,n);return t.semanticDiagnosticsPerFile&&t.semanticDiagnosticsPerFile.set(i,o),e.filterSemanticDiagnostics(o,t.compilerOptions)}(t,r,n),e.Debug.checkDefined(t.program).getProgramDiagnostics(r))}function h(t,r){for(var n,i=e.getOptionsNameMap().optionsNameMap,a=0,o=e.getOwnKeys(t).sort(e.compareStringsCaseSensitive);a<o.length;a++){var s=o[a],c=s.toLowerCase(),u=i.get(c);((null==u?void 0:u.affectsEmit)||(null==u?void 0:u.affectsSemanticDiagnostics)||"strict"===c||"skiplibcheck"===c||"skipdefaultlibcheck"===c)&&((n||(n={}))[s]=y(u,t[s],r))}return n}function y(e,t,r){if(e)if("list"===e.type){var n=t;if(e.element.isFilePath&&n.length)return n.map(r)}else if(e.isFilePath)return r(t);return t}function v(t,r){return e.Debug.assert(!!t.length),t.map((function(e){var t=D(e,r);t.reportsUnnecessary=e.reportsUnnecessary,t.reportDeprecated=e.reportsDeprecated,t.source=e.source,t.skippedOn=e.skippedOn;var n=e.relatedInformation;return t.relatedInformation=n?n.length?n.map((function(e){return D(e,r)})):[]:void 0,t}))}function D(e,t){var r=e.file;return o(o({},e),{file:r?t(r.resolvedPath):void 0})}function b(t,r,n){t.affectedFilesPendingEmit||(t.affectedFilesPendingEmit=[]),t.affectedFilesPendingEmitKind||(t.affectedFilesPendingEmitKind=new e.Map);var i=t.affectedFilesPendingEmitKind.get(r);t.affectedFilesPendingEmit.push(r),t.affectedFilesPendingEmitKind.set(r,i||n),void 0===t.affectedFilesPendingEmitIndex&&(t.affectedFilesPendingEmitIndex=0)}function x(t){return e.isString(t)?{version:t,signature:t,affectsGlobalScope:void 0,impliedFormat:void 0}:e.isString(t.signature)?t:{version:t.version,signature:!1===t.signature?void 0:t.version,affectsGlobalScope:t.affectsGlobalScope,impliedFormat:t.impliedFormat}}function E(t,r){return{getState:e.notImplemented,backupState:e.noop,restoreState:e.noop,getProgram:n,getProgramOrUndefined:function(){return t().program},releaseProgram:function(){return t().program=void 0},getCompilerOptions:function(){return t().compilerOptions},getSourceFile:function(e){return n().getSourceFile(e)},getSourceFiles:function(){return n().getSourceFiles()},getOptionsDiagnostics:function(e){return n().getOptionsDiagnostics(e)},getGlobalDiagnostics:function(e){return n().getGlobalDiagnostics(e)},getConfigFileParsingDiagnostics:function(){return r},getSyntacticDiagnostics:function(e,t){return n().getSyntacticDiagnostics(e,t)},getDeclarationDiagnostics:function(e,t){return n().getDeclarationDiagnostics(e,t)},getSemanticDiagnostics:function(e,t){return n().getSemanticDiagnostics(e,t)},emit:function(e,t,r,i,a){return n().emit(e,t,r,i,a)},emitBuildInfo:function(e,t){return n().emitBuildInfo(e,t)},getAllDependencies:e.notImplemented,getCurrentDirectory:function(){return n().getCurrentDirectory()},close:e.noop};function n(){return e.Debug.checkDefined(t().program)}}(t=e.BuilderFileEmit||(e.BuilderFileEmit={}))[t.DtsOnly=0]="DtsOnly",t[t.Full=1]="Full",function(e){e[e.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",e[e.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram"}(r=e.BuilderProgramKind||(e.BuilderProgramKind={})),e.getBuilderCreationParameters=function(t,r,n,i,a,o){var s,c,u;return void 0===t?(e.Debug.assert(void 0===r),s=n,u=i,e.Debug.assert(!!u),c=u.getProgram()):e.isArray(t)?(u=i,c=e.createProgram({rootNames:t,options:r,host:n,oldProgram:u&&u.getProgramOrUndefined(),configFileParsingDiagnostics:a,projectReferences:o}),s=n):(c=t,s=r,u=n,a=i),{host:s,newProgram:c,oldProgram:u,configFileParsingDiagnostics:a||e.emptyArray}},e.createBuilderProgram=function(t,i){var o=i.newProgram,c=i.host,u=i.oldProgram,l=i.configFileParsingDiagnostics,p=u&&u.getState();if(p&&o===p.program&&l===o.getConfigFileParsingDiagnostics())return o=void 0,p=void 0,u;var d,y=e.createGetCanonicalFileName(c.useCaseSensitiveFileNames()),D=e.maybeBind(c,c.createHash),x=n(o,y,p,c.disableUseFileVersionAsSignature);o.getProgramBuildInfo=function(){return function(t,r){if(!e.outFile(t.compilerOptions)){var n,i,a,o,s,c,u=e.Debug.checkDefined(t.program).getCurrentDirectory(),l=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(t.compilerOptions),u)),p=[],d=new e.Map,f=e.arrayFrom(t.fileInfos.entries(),(function(r){var n=r[0],i=r[1],a=C(n);e.Debug.assert(p[a-1]===S(n));var o=t.currentAffectedFilesSignatures&&t.currentAffectedFilesSignatures.get(n),s=null!=o?o:i.signature;return i.version===s?i.affectsGlobalScope?{version:i.version,signature:void 0,affectsGlobalScope:!0,impliedFormat:i.impliedFormat}:i.version:void 0!==s?void 0===o?i:{version:i.version,signature:o,affectsGlobalScope:i.affectsGlobalScope,impliedFormat:i.impliedFormat}:{version:i.version,signature:!1,affectsGlobalScope:i.affectsGlobalScope,impliedFormat:i.impliedFormat}}));if(t.referencedMap&&(a=e.arrayFrom(t.referencedMap.keys()).sort(e.compareStringsCaseSensitive).map((function(e){return[C(e),T(t.referencedMap.getValues(e))]}))),t.exportedModulesMap&&(o=e.mapDefined(e.arrayFrom(t.exportedModulesMap.keys()).sort(e.compareStringsCaseSensitive),(function(e){var r;if(t.currentAffectedFilesExportedModulesMap){if(null!==(r=t.currentAffectedFilesExportedModulesMap.deletedKeys())&&void 0!==r&&r.has(e))return;var n=t.currentAffectedFilesExportedModulesMap.getValues(e);if(n)return[C(e),T(n)]}return[C(e),T(t.exportedModulesMap.getValues(e))]}))),t.semanticDiagnosticsPerFile)for(var _=0,m=e.arrayFrom(t.semanticDiagnosticsPerFile.keys()).sort(e.compareStringsCaseSensitive);_<m.length;_++){var g=m[_],y=t.semanticDiagnosticsPerFile.get(g);(s||(s=[])).push(y.length?[C(g),t.hasReusableDiagnostic?y:v(y,S)]:C(g))}if(t.affectedFilesPendingEmit)for(var D=new e.Set,b=0,x=t.affectedFilesPendingEmit.slice(t.affectedFilesPendingEmitIndex).sort(e.compareStringsCaseSensitive);b<x.length;b++){var E=x[b];e.tryAddToSet(D,E)&&(c||(c=[])).push([C(E),t.affectedFilesPendingEmitKind.get(E)])}return{fileNames:p,fileInfos:f,options:h(t.compilerOptions,(function(t){return S(e.getNormalizedAbsolutePath(t,u))})),fileIdsList:n,referencedMap:a,exportedModulesMap:o,semanticDiagnosticsPerFile:s,affectedFilesPendingEmit:c}}function S(t){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(l,t,r))}function C(e){var t=d.get(e);return void 0===t&&(p.push(S(e)),d.set(e,t=p.length)),t}function T(t){var r=e.arrayFrom(t.keys(),C).sort(e.compareValues),a=r.join(),o=null==i?void 0:i.get(a);return void 0===o&&((n||(n=[])).push(r),(i||(i=new e.Map)).set(a,o=n.length)),o}}(x,y)},o=void 0,u=void 0,p=void 0;var S=function(){return x},C=E(S,l);return C.getState=S,C.backupState=function(){e.Debug.assert(void 0===d),d=function(t){var r,n=e.BuilderState.clone(t);return n.semanticDiagnosticsPerFile=t.semanticDiagnosticsPerFile&&new e.Map(t.semanticDiagnosticsPerFile),n.changedFilesSet=new e.Set(t.changedFilesSet),n.affectedFiles=t.affectedFiles,n.affectedFilesIndex=t.affectedFilesIndex,n.currentChangedFilePath=t.currentChangedFilePath,n.currentAffectedFilesSignatures=t.currentAffectedFilesSignatures&&new e.Map(t.currentAffectedFilesSignatures),n.currentAffectedFilesExportedModulesMap=null===(r=t.currentAffectedFilesExportedModulesMap)||void 0===r?void 0:r.clone(),n.seenAffectedFiles=t.seenAffectedFiles&&new e.Set(t.seenAffectedFiles),n.cleanedDiagnosticsOfLibFiles=t.cleanedDiagnosticsOfLibFiles,n.semanticDiagnosticsFromOldState=t.semanticDiagnosticsFromOldState&&new e.Set(t.semanticDiagnosticsFromOldState),n.program=t.program,n.compilerOptions=t.compilerOptions,n.affectedFilesPendingEmit=t.affectedFilesPendingEmit&&t.affectedFilesPendingEmit.slice(),n.affectedFilesPendingEmitKind=t.affectedFilesPendingEmitKind&&new e.Map(t.affectedFilesPendingEmitKind),n.affectedFilesPendingEmitIndex=t.affectedFilesPendingEmitIndex,n.seenEmittedFiles=t.seenEmittedFiles&&new e.Map(t.seenEmittedFiles),n.programEmitComplete=t.programEmitComplete,n}(x)},C.restoreState=function(){x=e.Debug.checkDefined(d),d=void 0},C.getAllDependencies=function(t){return e.BuilderState.getAllDependencies(x,e.Debug.checkDefined(x.program),t)},C.getSemanticDiagnostics=function(t,r){a(x,t);var n=e.Debug.checkDefined(x.program).getCompilerOptions();if(e.outFile(n))return e.Debug.assert(!x.semanticDiagnosticsPerFile),e.Debug.checkDefined(x.program).getSemanticDiagnostics(t,r);if(t)return g(x,t,r);for(;k(r););for(var i,o=0,s=e.Debug.checkDefined(x.program).getSourceFiles();o<s.length;o++){var c=s[o];i=e.addRange(i,g(x,c,r))}return i||e.emptyArray},C.emit=function(n,i,o,s,u){var l,p,d,f=!1;t!==r.EmitAndSemanticDiagnosticsBuilderProgram&&!n&&!e.outFile(x.compilerOptions)&&!x.compilerOptions.noEmit&&x.compilerOptions.noEmitOnError&&(f=!0,l=x.affectedFilesPendingEmit&&x.affectedFilesPendingEmit.slice(),p=x.affectedFilesPendingEmitKind&&new e.Map(x.affectedFilesPendingEmitKind),d=x.affectedFilesPendingEmitIndex),t===r.EmitAndSemanticDiagnosticsBuilderProgram&&a(x,n);var _=e.handleNoEmitOptions(C,n,i,o);if(_)return _;if(f&&(x.affectedFilesPendingEmit=l,x.affectedFilesPendingEmitKind=p,x.affectedFilesPendingEmitIndex=d),!n&&t===r.EmitAndSemanticDiagnosticsBuilderProgram){for(var m=[],g=!1,h=void 0,y=[],v=void 0;v=T(i,o,s,u);)g=g||v.result.emitSkipped,h=e.addRange(h,v.result.diagnostics),y=e.addRange(y,v.result.emittedFiles),m=e.addRange(m,v.result.sourceMaps);return{emitSkipped:g,diagnostics:h||e.emptyArray,emittedFiles:y,sourceMaps:m}}return e.Debug.checkDefined(x.program).emit(n,i||e.maybeBind(c,c.writeFile),o,s,u)},C.releaseProgram=function(){(function(t){e.BuilderState.releaseCache(t),t.program=void 0})(x),d=void 0},t===r.SemanticDiagnosticsBuilderProgram?C.getSemanticDiagnosticsOfNextAffectedFile=k:t===r.EmitAndSemanticDiagnosticsBuilderProgram?(C.getSemanticDiagnosticsOfNextAffectedFile=k,C.emitNextAffectedFile=T,C.emitBuildInfo=function(t,r){if(x.buildInfoEmitPending){var n=e.Debug.checkDefined(x.program).emitBuildInfo(t||e.maybeBind(c,c.writeFile),r);return x.buildInfoEmitPending=!1,n}return e.emitSkippedWithNoDiagnostics}):e.notImplemented(),C;function T(t,r,n,i){var a=s(x,r,D),o=1,u=!1;if(!a)if(e.outFile(x.compilerOptions)){var l=e.Debug.checkDefined(x.program);if(x.programEmitComplete)return;a=l}else{var p=function(t){var r=t.affectedFilesPendingEmit;if(r){for(var n=t.seenEmittedFiles||(t.seenEmittedFiles=new e.Map),i=t.affectedFilesPendingEmitIndex;i<r.length;i++){var a=e.Debug.checkDefined(t.program).getSourceFileByPath(r[i]);if(a){var o=n.get(a.resolvedPath),s=e.Debug.checkDefined(e.Debug.checkDefined(t.affectedFilesPendingEmitKind).get(a.resolvedPath));if(void 0===o||o<s)return t.affectedFilesPendingEmitIndex=i,{affectedFile:a,emitKind:s}}}t.affectedFilesPendingEmit=void 0,t.affectedFilesPendingEmitKind=void 0,t.affectedFilesPendingEmitIndex=void 0}}(x);if(!p){if(!x.buildInfoEmitPending)return;var d=e.Debug.checkDefined(x.program);return m(x,d.emitBuildInfo(t||e.maybeBind(c,c.writeFile),r),d,1,!1,!0)}a=p.affectedFile,o=p.emitKind,u=!0}return m(x,e.Debug.checkDefined(x.program).emit(a===x.program?void 0:a,t||e.maybeBind(c,c.writeFile),r,n||0===o,i),a,o,u)}function k(e,n){for(;;){var i=s(x,e,D);if(!i)return;if(i===x.program)return _(x,x.program.getSemanticDiagnostics(void 0,e),i);if((t===r.EmitAndSemanticDiagnosticsBuilderProgram||x.compilerOptions.noEmit||x.compilerOptions.noEmitOnError)&&b(x,i.resolvedPath,1),!n||!n(i))return _(x,g(x,i,e),i);f(x,i)}}},e.toBuilderStateFileInfo=x,e.createBuildProgramUsingProgramBuildInfo=function(t,r,n){var i,a=e.getDirectoryPath(e.getNormalizedAbsolutePath(r,n.getCurrentDirectory())),o=e.createGetCanonicalFileName(n.useCaseSensitiveFileNames()),s=t.fileNames.map((function(t){return e.toPath(t,a,o)})),c=null===(i=t.fileIdsList)||void 0===i?void 0:i.map((function(t){return new e.Set(t.map(p))})),u=new e.Map;t.fileInfos.forEach((function(e,t){return u.set(p(t+1),x(e))}));var l={fileInfos:u,compilerOptions:t.options?e.convertToOptionsWithAbsolutePaths(t.options,(function(t){return e.getNormalizedAbsolutePath(t,a)})):{},referencedMap:d(t.referencedMap),exportedModulesMap:d(t.exportedModulesMap),semanticDiagnosticsPerFile:t.semanticDiagnosticsPerFile&&e.arrayToMap(t.semanticDiagnosticsPerFile,(function(t){return p(e.isNumber(t)?t:t[0])}),(function(t){return e.isNumber(t)?e.emptyArray:t[1]})),hasReusableDiagnostic:!0,affectedFilesPendingEmit:e.map(t.affectedFilesPendingEmit,(function(e){return p(e[0])})),affectedFilesPendingEmitKind:t.affectedFilesPendingEmit&&e.arrayToMap(t.affectedFilesPendingEmit,(function(e){return p(e[0])}),(function(e){return e[1]})),affectedFilesPendingEmitIndex:t.affectedFilesPendingEmit&&0};return{getState:function(){return l},backupState:e.noop,restoreState:e.noop,getProgram:e.notImplemented,getProgramOrUndefined:e.returnUndefined,releaseProgram:e.noop,getCompilerOptions:function(){return l.compilerOptions},getSourceFile:e.notImplemented,getSourceFiles:e.notImplemented,getOptionsDiagnostics:e.notImplemented,getGlobalDiagnostics:e.notImplemented,getConfigFileParsingDiagnostics:e.notImplemented,getSyntacticDiagnostics:e.notImplemented,getDeclarationDiagnostics:e.notImplemented,getSemanticDiagnostics:e.notImplemented,emit:e.notImplemented,getAllDependencies:e.notImplemented,getCurrentDirectory:e.notImplemented,emitNextAffectedFile:e.notImplemented,getSemanticDiagnosticsOfNextAffectedFile:e.notImplemented,emitBuildInfo:e.notImplemented,close:e.noop};function p(e){return s[e-1]}function d(t){if(t){var r=e.BuilderState.createManyToManyPathMap();return t.forEach((function(e){var t=e[0],n=e[1];return r.set(p(t),function(e){return c[e-1]}(n))})),r}}},e.createRedirectedBuilderProgram=E}(n||(n={})),function(e){e.createSemanticDiagnosticsBuilderProgram=function(t,r,n,i,a,o){return e.createBuilderProgram(e.BuilderProgramKind.SemanticDiagnosticsBuilderProgram,e.getBuilderCreationParameters(t,r,n,i,a,o))},e.createEmitAndSemanticDiagnosticsBuilderProgram=function(t,r,n,i,a,o){return e.createBuilderProgram(e.BuilderProgramKind.EmitAndSemanticDiagnosticsBuilderProgram,e.getBuilderCreationParameters(t,r,n,i,a,o))},e.createAbstractBuilder=function(t,r,n,i,a,o){var s=e.getBuilderCreationParameters(t,r,n,i,a,o),c=s.newProgram,u=s.configFileParsingDiagnostics;return e.createRedirectedBuilderProgram((function(){return{program:c,compilerOptions:c.getCompilerOptions()}}),u)}}(n||(n={})),function(e){function t(t){return e.endsWith(t,"/node_modules/.staging")?e.removeSuffix(t,"/.staging"):e.some(e.ignoredPaths,(function(r){return e.stringContains(t,r)}))?void 0:t}function r(t){var r=e.getRootLength(t);if(t.length===r)return!1;var n=t.indexOf(e.directorySeparator,r);if(-1===n)return!1;var i=t.substring(r,n+1),a=r>1||47!==t.charCodeAt(0);if(a&&0!==t.search(/[a-zA-Z]:/)&&0===i.search(/[a-zA-z]\$\//)){if(-1===(n=t.indexOf(e.directorySeparator,n+1)))return!1;i=t.substring(r+i.length,n+1)}if(a&&0!==i.search(/users\//i))return!0;for(var o=n+1,s=2;s>0;s--)if(0===(o=t.indexOf(e.directorySeparator,o)+1))return!1;return!0}function n(e){var t,r;return!(!(null===(t=e.resolvedModule)||void 0===t?void 0:t.originalPath)&&!(null===(r=e.resolvedTypeReferenceDirective)||void 0===r?void 0:r.originalPath))}e.removeIgnoredPath=t,e.canWatchDirectory=r,e.createResolutionCache=function(i,a,o){var s,c,u,l,p,d,f=e.createMultiMap(),_=[],m=e.createMultiMap(),g=!1,h=e.memoize((function(){return i.getCurrentDirectory()})),y=i.getCachedDirectoryStructureHost(),v=new e.Map,D=e.createCacheWithRedirects(),b=e.createCacheWithRedirects(),x=e.createModuleResolutionCache(h(),i.getCanonicalFileName,void 0,D,b),E=new e.Map,S=e.createCacheWithRedirects(),C=e.createTypeReferenceDirectiveResolutionCache(h(),i.getCanonicalFileName,void 0,x.getPackageJsonInfoCache(),S),T=[".ts",".tsx",".js",".jsx",".json"],k=new e.Map,A=new e.Map,N=a&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(a,h())),P=N&&i.toPath(N),F=void 0!==P?P.split(e.directorySeparator).length:0,w=new e.Map;return{getModuleResolutionCache:function(){return x},startRecordingFilesWithChangedResolutions:function(){s=[]},finishRecordingFilesWithChangedResolutions:function(){var e=s;return s=void 0,e},startCachingPerDirectoryResolution:R,finishCachingPerDirectoryResolution:function(){u=void 0,R(),A.forEach((function(e,t){0===e.refCount&&(A.delete(t),e.watcher.close())})),g=!1},resolveModuleNames:function(t,r,n,i,a){return K({names:t,containingFile:r,redirectedReference:i,cache:v,perDirectoryCacheWithRedirects:D,loader:B,getResolutionWithResolvedFileName:I,shouldRetryResolution:function(t){return!t.resolvedModule||!e.resolutionExtensionIsTSOrJson(t.resolvedModule.extension)},reusedNames:n,logChanges:o,containingSourceFile:a})},getResolvedModuleWithFailedLookupLocationsFromCache:function(e,t,r){var n=v.get(i.toPath(t));if(n)return n.get(e,r)},resolveTypeReferenceDirectives:function(e,t,r){return K({names:e,containingFile:t,redirectedReference:r,cache:E,perDirectoryCacheWithRedirects:S,loader:j,getResolutionWithResolvedFileName:O,shouldRetryResolution:function(e){return void 0===e.resolvedTypeReferenceDirective}})},removeResolutionsFromProjectReferenceRedirects:function(t){if(e.fileExtensionIs(t,".json")){var r=i.getCurrentProgram();if(r){var n=r.getResolvedProjectReferenceByPath(t);!n||n.commandLine.fileNames.forEach((function(e){return Z(i.toPath(e))}))}}},removeResolutionsOfFile:Z,hasChangedAutomaticTypeDirectiveNames:function(){return g},invalidateResolutionOfFile:function(t){Z(t);var r=g;ee(m.get(t),e.returnTrue)&&g&&!r&&i.onChangedAutomaticTypeDirectiveNames()},invalidateResolutionsOfFailedLookupLocations:re,setFilesWithInvalidatedNonRelativeUnresolvedImports:function(t){e.Debug.assert(u===t||void 0===u),u=t},createHasInvalidatedResolution:function(t){if(re(),t)return c=void 0,e.returnTrue;var r=c;return c=void 0,function(e){return!!r&&r.has(e)||M(e)}},isFileWithInvalidatedNonRelativeUnresolvedImports:M,updateTypeRootsWatch:function(){var t=i.getCompilationSettings();if(t.types)ie();else{var r=e.getEffectiveTypeRoots(t,{directoryExists:oe,getCurrentDirectory:h});r?e.mutateMap(w,e.arrayToMap(r,(function(e){return i.toPath(e)})),{createNewValue:ae,onDeleteValue:e.closeFileWatcher}):ie()}},closeTypeRootsWatch:ie,clear:function(){e.clearMap(A,e.closeFileWatcherOf),k.clear(),f.clear(),ie(),v.clear(),E.clear(),m.clear(),_.length=0,l=void 0,p=void 0,d=void 0,R(),g=!1}};function I(e){return e.resolvedModule}function O(e){return e.resolvedTypeReferenceDirective}function L(t,r){return!(void 0===t||r.length<=t.length)&&e.startsWith(r,t)&&r[t.length]===e.directorySeparator}function M(e){if(!u)return!1;var t=u.get(e);return!!t&&!!t.length}function R(){x.clear(),C.clear(),f.forEach(H),f.clear()}function B(t,r,n,a,o){var s,c=e.resolveModuleName(t,r,n,a,x,o);if(!i.getGlobalCache)return c;var u=i.getGlobalCache();if(!(void 0===u||e.isExternalModuleNameRelative(t)||c.resolvedModule&&e.extensionIsTS(c.resolvedModule.extension))){var l=e.loadModuleFromGlobalCache(e.Debug.checkDefined(i.globalCacheResolutionModuleName)(t),i.projectName,n,a,u,x),p=l.resolvedModule,d=l.failedLookupLocations;if(p)return c.resolvedModule=p,(s=c.failedLookupLocations).push.apply(s,d),c}return c}function j(t,r,n,i,a){return e.resolveTypeReferenceDirective(t,r,n,i,a,C)}function K(t){var r,a,o,c=t.names,u=t.containingFile,l=t.redirectedReference,p=t.cache,d=t.perDirectoryCacheWithRedirects,f=t.loader,_=t.getResolutionWithResolvedFileName,m=t.shouldRetryResolution,g=t.reusedNames,h=t.logChanges,y=t.containingSourceFile,v=i.toPath(u),D=p.get(v)||p.set(v,e.createModeAwareCache()).get(v),b=e.getDirectoryPath(v),x=d.getOrCreateMapOfCacheRedirects(l),E=x.get(b);E||(E=e.createModeAwareCache(),x.set(b,E));for(var S=[],C=i.getCompilationSettings(),T=h&&M(v),k=i.getCurrentProgram(),A=k&&k.getResolvedProjectReferenceToRedirect(u),N=A?!l||l.sourceFile.path!==A.sourceFile.path:!!l,P=e.createModeAwareCache(),F=0,w=0,I=c;w<I.length;w++){var O=I[w],L=y?e.getModeForResolutionAtIndex(y,F):void 0;F++;var R=D.get(O,L);if(!P.has(O,L)&&N||!R||R.isInvalidated||T&&!e.isExternalModuleNameRelative(O)&&m(R)){var j=R,K=E.get(O,L);if(K){R=K;var J=(null===(r=i.getCompilerHost)||void 0===r?void 0:r.call(i))||i;if(e.isTraceEnabled(C,J)){var U=_(R);e.trace(J,f===B?null!=U&&U.resolvedFileName?U.packagetId?e.Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:e.Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:e.Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:null!=U&&U.resolvedFileName?U.packagetId?e.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:e.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:e.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved,O,u,e.getDirectoryPath(u),null==U?void 0:U.resolvedFileName,(null==U?void 0:U.packagetId)&&e.packageIdToString(U.packagetId))}}else R=f(O,u,C,(null===(a=i.getCompilerHost)||void 0===a?void 0:a.call(i))||i,l,y),E.set(O,L,R),i.onDiscoveredSymlink&&n(R)&&i.onDiscoveredSymlink();D.set(O,L,R),z(O,R,v,_),j&&$(j,v,_),h&&s&&!q(j,R)&&(s.push(v),h=!1)}else J=(null===(o=i.getCompilerHost)||void 0===o?void 0:o.call(i))||i,e.isTraceEnabled(C,J)&&!P.has(O,L)&&(U=_(R),e.trace(J,f===B?null!=U&&U.resolvedFileName?U.packagetId?e.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:e.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:e.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:null!=U&&U.resolvedFileName?U.packagetId?e.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:e.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:e.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,O,u,null==U?void 0:U.resolvedFileName,(null==U?void 0:U.packagetId)&&e.packageIdToString(U.packagetId)));e.Debug.assert(void 0!==R&&!R.isInvalidated),P.set(O,L,!0),S.push(_(R))}return D.forEach((function(t,r,n){!P.has(r,n)&&!e.contains(g,r)&&($(t,v,_),D.delete(r,n))})),S;function q(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=_(e),n=_(t);return r===n||!(!r||!n)&&r.resolvedFileName===n.resolvedFileName}}function J(t){return e.endsWith(t,"/node_modules/@types")}function U(t,r){if(L(P,r)){t=e.isRootedDiskPath(t)?e.normalizePath(t):e.getNormalizedAbsolutePath(t,h());var n=r.split(e.directorySeparator),i=t.split(e.directorySeparator);return e.Debug.assert(i.length===n.length,"FailedLookup: ".concat(t," failedLookupLocationPath: ").concat(r)),n.length>F+1?{dir:i.slice(0,F+1).join(e.directorySeparator),dirPath:n.slice(0,F+1).join(e.directorySeparator)}:{dir:N,dirPath:P,nonRecursive:!1}}return q(e.getDirectoryPath(e.getNormalizedAbsolutePath(t,h())),e.getDirectoryPath(r))}function q(t,n){for(;e.pathContainsNodeModules(n);)t=e.getDirectoryPath(t),n=e.getDirectoryPath(n);if(e.isNodeModulesDirectory(n))return r(e.getDirectoryPath(n))?{dir:t,dirPath:n}:void 0;var i,a,o=!0;if(void 0!==P)for(;!L(n,P);){var s=e.getDirectoryPath(n);if(s===n)break;o=!1,i=n,a=t,n=s,t=e.getDirectoryPath(t)}return r(n)?{dir:a||t,dirPath:i||n,nonRecursive:o}:void 0}function V(t){return e.fileExtensionIsOneOf(t,T)}function z(t,r,n,a){if(r.refCount)r.refCount++,e.Debug.assertIsDefined(r.files);else{r.refCount=1,e.Debug.assert(0===e.length(r.files)),e.isExternalModuleNameRelative(t)?W(r):f.add(t,r);var o=a(r);o&&o.resolvedFileName&&m.add(i.toPath(o.resolvedFileName),r)}(r.files||(r.files=[])).push(n)}function W(t){e.Debug.assert(!!t.refCount);var r=t.failedLookupLocations;if(r.length){_.push(t);for(var n=!1,a=0,o=r;a<o.length;a++){var s=o[a],c=i.toPath(s),u=U(s,c);if(u){var l=u.dir,p=u.dirPath,d=u.nonRecursive;if(!V(c)){var f=k.get(c)||0;k.set(c,f+1)}p===P?(e.Debug.assert(!d),n=!0):G(l,p,d)}}n&&G(N,P,!0)}}function H(e,t){var r=i.getCurrentProgram();(!r||!r.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(t))&&e.forEach(W)}function G(t,r,n){var i=A.get(r);i?(e.Debug.assert(!!n==!!i.nonRecursive),i.refCount++):A.set(r,{watcher:X(t,r,n),refCount:1,nonRecursive:n})}function $(t,r,n){if(e.unorderedRemoveItem(e.Debug.checkDefined(t.files),r),t.refCount--,!t.refCount){var a=n(t);if(a&&a.resolvedFileName&&m.remove(i.toPath(a.resolvedFileName),t),e.unorderedRemoveItem(_,t)){for(var o=!1,s=0,c=t.failedLookupLocations;s<c.length;s++){var u=c[s],l=i.toPath(u),p=U(u,l);if(p){var d=p.dirPath,f=k.get(l);f&&(1===f?k.delete(l):(e.Debug.assert(f>1),k.set(l,f-1))),d===P?o=!0:Y(d)}}o&&Y(P)}}}function Y(e){A.get(e).refCount--}function X(e,t,r){return i.watchDirectoryOfFailedLookupLocation(e,(function(e){var r=i.toPath(e);y&&y.addOrDeleteFileOrDirectory(e,r),te(r,t===r)}),r?0:1)}function Q(e,t,r){var n=e.get(t);n&&(n.forEach((function(e){return $(e,t,r)})),e.delete(t))}function Z(e){Q(v,e,I),Q(E,e,O)}function ee(t,r){if(!t)return!1;for(var n=!1,i=0,a=t;i<a.length;i++){var o=a[i];if(!o.isInvalidated&&r(o)){o.isInvalidated=n=!0;for(var s=0,u=e.Debug.checkDefined(o.files);s<u.length;s++){var l=u[s];(c||(c=new e.Set)).add(l),g=g||e.endsWith(l,e.inferredTypesContainingFile)}}}return n}function te(r,n){if(n)(d||(d=[])).push(r);else{var a=t(r);if(!a||(r=a,i.fileIsOpen(r)))return!1;var o=e.getDirectoryPath(r);if(J(r)||e.isNodeModulesDirectory(r)||J(o)||e.isNodeModulesDirectory(o))(l||(l=[])).push(r),(p||(p=new e.Set)).add(r);else{if(!V(r)&&!k.has(r)||e.isEmittedFileOfProgram(i.getCurrentProgram(),r))return!1;(l||(l=[])).push(r);var s=e.parseNodeModuleFromPath(r);s&&(p||(p=new e.Set)).add(s)}}i.scheduleInvalidateResolutionsOfFailedLookupLocations()}function re(){if(!l&&!p&&!d)return!1;var e=ee(_,ne);return l=void 0,p=void 0,d=void 0,e}function ne(t){return t.failedLookupLocations.some((function(t){var r=i.toPath(t);return e.contains(l,r)||e.firstDefinedIterator((null==p?void 0:p.keys())||e.emptyIterator,(function(t){return!!e.startsWith(r,t)||void 0}))||(null==d?void 0:d.some((function(e){return L(e,r)})))}))}function ie(){e.clearMap(w,e.closeFileWatcher)}function ae(e,t){return i.watchTypeRootsDirectory(t,(function(r){var n=i.toPath(r);y&&y.addOrDeleteFileOrDirectory(r,n),g=!0,i.onChangedAutomaticTypeDirectiveNames();var a=function(e,t){if(L(P,t))return P;var r=q(e,t);return r&&A.has(r.dirPath)?r.dirPath:void 0}(t,e);a&&te(n,a===n)}),1)}function oe(t){var n=e.getDirectoryPath(e.getDirectoryPath(t)),a=i.toPath(n);return a===P||r(a)}}}(n||(n={})),function(e){!function(t){var r,n,i,s;function c(t,r,n,i){var a=r.importModuleSpecifierPreference,o=r.importModuleSpecifierEnding;return{relativePreference:"relative"===a?0:"non-relative"===a?1:"project-relative"===a?3:2,ending:function(){switch(o){case"minimal":return 0;case"index":return 1;case"js":return 2;default:return function(t){var r=t.imports;return e.firstDefined(r,(function(t){var r=t.text;return e.pathIsRelative(r)?e.hasJSFileExtension(r):void 0}))||!1}(i)||u(n,i.path,t)?2:e.getEmitModuleResolutionKind(n)!==e.ModuleResolutionKind.NodeJs?1:0}}()}}function u(t,r,n){var i;return(e.getEmitModuleResolutionKind(t)===e.ModuleResolutionKind.Node12||e.getEmitModuleResolutionKind(t)===e.ModuleResolutionKind.NodeNext)&&e.getImpliedNodeFormatForFile(r,null===(i=n.getPackageJsonInfoCache)||void 0===i?void 0:i.call(n),function(t){var r;return{fileExists:t.fileExists,readFile:e.Debug.checkDefined(t.readFile),directoryExists:t.directoryExists,getCurrentDirectory:t.getCurrentDirectory,realpath:t.realpath,useCaseSensitiveFileNames:null===(r=t.useCaseSensitiveFileNames)||void 0===r?void 0:r.call(t)}}(n),t)!==e.ModuleKind.CommonJS}function l(t,r,n,i,a,o,s){var c=f(n,a),u=v(n,i,a,s);return e.firstDefined(u,(function(e){return E(e,c,r,a,t)}))||_(i,c,t,a,o)}function p(t,r,n,i){var a,o=e.getSourceFileOfModule(t);if(!o)return e.emptyArray;var s=null===(a=n.getModuleSpecifierCache)||void 0===a?void 0:a.call(n),c=null==s?void 0:s.get(r.path,o.path,i);return[null==c?void 0:c.moduleSpecifiers,o,null==c?void 0:c.modulePaths,s]}function d(t,r,n,i,a,o){var s=!1,u=function(t,r){var n,i=null===(n=t.declarations)||void 0===n?void 0:n.find((function(t){return e.isNonGlobalAmbientModule(t)&&(!e.isExternalModuleAugmentation(t)||!e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(t.name)))}));if(i)return i.name.text;var a=e.mapDefined(t.declarations,(function(t){var n,i,a,o;if(e.isModuleDeclaration(t)){var s=l(t);if((null===(n=null==s?void 0:s.parent)||void 0===n?void 0:n.parent)&&e.isModuleBlock(s.parent)&&e.isAmbientModule(s.parent.parent)&&e.isSourceFile(s.parent.parent.parent)){var c=null===(o=null===(a=null===(i=s.parent.parent.symbol.exports)||void 0===i?void 0:i.get("export="))||void 0===a?void 0:a.valueDeclaration)||void 0===o?void 0:o.expression;if(c){var u=r.getSymbolAtLocation(c);if(u&&(2097152&(null==u?void 0:u.flags)?r.getAliasedSymbol(u):u)===t.symbol)return s.parent.parent}}}function l(e){for(;4&e.flags;)e=e.parent;return e}}))[0];return a?a.name.text:void 0}(t,r);if(u)return{moduleSpecifiers:[u],computedWithoutCache:s};var l=p(t,i,a,o),d=l[0],m=l[1],g=l[2],h=l[3];if(d)return{moduleSpecifiers:d,computedWithoutCache:s};if(!m)return{moduleSpecifiers:e.emptyArray,computedWithoutCache:s};s=!0,g||(g=D(i.path,m.originalFileName,a));var y=function(t,r,n,i,a){var o=f(n.path,i),s=c(i,a,r,n),u=e.forEach(t,(function(t){return e.forEach(i.getFileIncludeReasons().get(e.toPath(t.path,i.getCurrentDirectory(),o.getCanonicalFileName)),(function(t){if(t.kind===e.FileIncludeKind.Import&&t.file===n.path){var r=e.getModuleNameStringLiteralAt(n,t.index).text;return 1===s.relativePreference&&e.pathIsRelative(r)?void 0:r}}))}));if(u)return[u];for(var l,p,d,m=e.some(t,(function(e){return e.isInNodeModules})),g=0,h=t;g<h.length;g++){var y=h[g],v=E(y,o,n,i,r);if(l=e.append(l,v),v&&y.isRedirect)return l;if(!v&&!y.isRedirect){var D=_(y.path,o,r,i,s);e.pathIsBareSpecifier(D)?p=e.append(p,D):(!m||y.isInNodeModules)&&(d=e.append(d,D))}}return null!=p&&p.length?p:null!=l&&l.length?l:e.Debug.checkDefined(d)}(g,n,i,a,o);return null==h||h.set(i.path,m.path,o,g,y),{moduleSpecifiers:y,computedWithoutCache:s}}function f(t,r){return{getCanonicalFileName:e.createGetCanonicalFileName(!r.useCaseSensitiveFileNames||r.useCaseSensitiveFileNames()),importingSourceFileName:t,sourceDirectory:e.getDirectoryPath(t)}}function _(t,r,n,i,a){var o=a.ending,s=a.relativePreference,c=n.baseUrl,u=n.paths,l=n.rootDirs,p=r.sourceDirectory,d=r.getCanonicalFileName,f=l&&function(t,r,n,i,a,o){var s=S(r,t,i);if(void 0!==s){var c=S(n,t,i),u=void 0!==c?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(c,s,i)):s;return e.getEmitModuleResolutionKind(o)===e.ModuleResolutionKind.NodeJs?C(u,a,o):e.removeFileExtension(u)}}(l,t,p,d,o,n)||C(e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(p,t,d)),o,n);if(!c&&!u||0===s)return f;var _=A(t,e.getNormalizedAbsolutePath(e.getPathsBasePath(n,i)||c,i.getCurrentDirectory()),d);if(!_)return f;var g=C(_,o,n),y=u&&b(e.removeFileExtension(_),g,u),v=void 0===y&&void 0!==c?g:y;if(!v)return f;if(1===s)return v;if(3===s){var D=n.configFilePath?e.toPath(e.getDirectoryPath(n.configFilePath),i.getCurrentDirectory(),r.getCanonicalFileName):r.getCanonicalFileName(i.getCurrentDirectory()),x=e.toPath(t,D,d),E=e.startsWith(p,D),T=e.startsWith(x,D);if(E&&!T||!E&&T)return v;var k=h(i,e.getDirectoryPath(x));return h(i,p)!==k?v:f}return 2!==s&&e.Debug.assertNever(s),N(v)||m(f)<m(v)?f:v}function m(t){for(var r=0,n=e.startsWith(t,"./")?2:0;n<t.length;n++)47===t.charCodeAt(n)&&r++;return r}function g(t,r){return e.compareBooleans(r.isRedirect,t.isRedirect)||e.compareNumberOfDirectorySeparators(t.path,r.path)}function h(t,r){return t.getNearestAncestorDirectoryWithPackageJson?t.getNearestAncestorDirectoryWithPackageJson(r):!!e.forEachAncestorDirectory(r,(function(r){return!!t.fileExists(e.combinePaths(r,"package.json"))||void 0}))}function y(t,r,n,i,o){var s,c=e.hostGetCanonicalFileName(n),u=n.getCurrentDirectory(),l=n.isSourceOfProjectReferenceRedirect(r)?n.getProjectReferenceRedirect(r):void 0,p=e.toPath(r,u,c),d=n.redirectTargetsMap.get(p)||e.emptyArray,f=a(a(a([],l?[l]:e.emptyArray,!0),[r],!1),d,!0).map((function(t){return e.getNormalizedAbsolutePath(t,u)})),_=!e.every(f,e.containsIgnoredPath);if(!i){var m=e.forEach(f,(function(t){return!(_&&e.containsIgnoredPath(t))&&o(t,l===t)}));if(m)return m}var g=null===(s=n.getSymlinkCache)||void 0===s?void 0:s.call(n).getSymlinkedDirectoriesByRealpath(),h=e.getNormalizedAbsolutePath(r,u);return g&&e.forEachAncestorDirectory(e.getDirectoryPath(h),(function(r){var n=g.get(e.ensureTrailingDirectorySeparator(e.toPath(r,u,c)));if(n)return!e.startsWithDirectory(t,r,c)&&e.forEach(f,(function(t){if(e.startsWithDirectory(t,r,c))for(var i=e.getRelativePathFromDirectory(r,t,c),a=0,s=n;a<s.length;a++){var u=s[a],p=e.resolvePath(u,i),d=o(p,t===l);if(_=!0,d)return d}}))}))||(i?e.forEach(f,(function(t){return _&&e.containsIgnoredPath(t)?void 0:o(t,t===l)})):void 0)}function v(t,r,n,i,a){var o;void 0===a&&(a=e.toPath(r,n.getCurrentDirectory(),e.hostGetCanonicalFileName(n)));var s=null===(o=n.getModuleSpecifierCache)||void 0===o?void 0:o.call(n);if(s){var c=s.get(t,a,i);if(null!=c&&c.modulePaths)return c.modulePaths}var u=D(t,r,n);return s&&s.setModulePaths(t,a,i,u),u}function D(t,r,n){var i=e.hostGetCanonicalFileName(n),a=new e.Map,o=!1;y(t,r,n,!0,(function(t,r){var n=e.pathContainsNodeModules(t);a.set(t,{path:i(t),isRedirect:r,isInNodeModules:n}),o=o||n}));for(var s,c=[],u=function(t){var r,n=e.ensureTrailingDirectorySeparator(t);a.forEach((function(t,i){var o=t.path,s=t.isRedirect,c=t.isInNodeModules;e.startsWith(o,n)&&((r||(r=[])).push({path:i,isRedirect:s,isInNodeModules:c}),a.delete(i))})),r&&(r.length>1&&r.sort(g),c.push.apply(c,r));var i=e.getDirectoryPath(t);if(i===t)return s=t,"break";s=t=i},l=e.getDirectoryPath(t);0!==a.size;){var p=u(l);if(l=s,"break"===p)break}if(a.size){var d=e.arrayFrom(a.values());d.length>1&&d.sort(g),c.push.apply(c,d)}return c}function b(t,r,n){for(var i in n)for(var a=0,o=n[i];a<o.length;a++){var s=o[a],c=e.removeFileExtension(e.normalizePath(s)),u=c.indexOf("*");if(-1!==u){var l=c.substr(0,u),p=c.substr(u+1);if(r.length>=l.length+p.length&&e.startsWith(r,l)&&e.endsWith(r,p)||!p&&r===e.removeTrailingDirectorySeparator(l)){var d=r.substr(l.length,r.length-p.length-l.length);return i.replace("*",d)}}else if(c===r||c===t)return i}}function x(t,r,n,i,a,o,s){if(void 0===s&&(s=0),"string"==typeof a){var c=e.getNormalizedAbsolutePath(e.combinePaths(n,a),void 0),u=e.hasTSFileExtension(r)?e.removeFileExtension(r)+k(r,t):void 0;switch(s){case 0:if(0===e.comparePaths(r,c)||u&&0===e.comparePaths(u,c))return{moduleFileToTry:i};break;case 1:if(e.containsPath(c,r)){var l=e.getRelativePathFromDirectory(c,r,!1);return{moduleFileToTry:e.getNormalizedAbsolutePath(e.combinePaths(e.combinePaths(i,a),l),void 0)}}break;case 2:var p=c.indexOf("*"),d=c.slice(0,p),f=c.slice(p+1);if(e.startsWith(r,d)&&e.endsWith(r,f)){var _=r.slice(d.length,r.length-f.length);return{moduleFileToTry:i.replace("*",_)}}if(u&&e.startsWith(u,d)&&e.endsWith(u,f))return _=u.slice(d.length,u.length-f.length),{moduleFileToTry:i.replace("*",_)}}}else{if(Array.isArray(a))return e.forEach(a,(function(e){return x(t,r,n,i,e,o)}));if("object"==typeof a&&null!==a){if(e.allKeysStartWithDot(a))return e.forEach(e.getOwnKeys(a),(function(s){var c=e.getNormalizedAbsolutePath(e.combinePaths(i,s),void 0),u=e.endsWith(s,"/")?1:e.stringContains(s,"*")?2:0;return x(t,r,n,c,a[s],o,u)}));for(var m=0,g=e.getOwnKeys(a);m<g.length;m++){var h=g[m];if("default"===h||o.indexOf(h)>=0||e.isApplicableVersionedTypesKey(o,h)){var y=a[h],v=x(t,r,n,i,y,o);if(v)return v}}}}}function E(t,r,n,i,a,s){var c,u,l=t.path,p=t.isRedirect,d=r.getCanonicalFileName,f=r.sourceDirectory;if(i.fileExists&&i.readFile){var _=e.getNodeModulePathParts(l);if(_){var m=l,g=!1;if(!s)for(var h=_.packageRootIndex,y=void 0;;){var v=w(h),D=v.moduleFileToTry,E=v.packageRootPath,S=v.blockedByExports,T=v.verbatimFromExports;if(e.getEmitModuleResolutionKind(a)!==e.ModuleResolutionKind.Classic){if(S)return;if(T)return D}if(E){m=E,g=!0;break}if(y||(y=D),-1===(h=l.indexOf(e.directorySeparator,h+1))){c=y,u=void 0,u=e.removeFileExtension(c),m="/index"!==d(u.substring(_.fileNameIndex))||function(t,r){if(t.fileExists)for(var n=0,i=e.flatten(e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]));n<i.length;n++){var a=r+i[n];if(t.fileExists(a))return a}}(i,u.substring(0,_.fileNameIndex))?u:u.substring(0,_.fileNameIndex);break}}if(!p||g){var A=i.getGlobalTypingsCacheLocation&&i.getGlobalTypingsCacheLocation(),N=d(m.substring(0,_.topLevelNodeModulesIndex));if(e.startsWith(f,N)||A&&e.startsWith(d(A),N)){var P=m.substring(_.topLevelPackageNameIndex+1),F=e.getPackageNameFromTypesPackageName(P);return e.getEmitModuleResolutionKind(a)===e.ModuleResolutionKind.Classic&&F===P?void 0:F}}}}function w(t){var r,s,c=l.substring(0,t),u=e.combinePaths(c,"package.json"),p=l,f=null===(s=null===(r=i.getPackageJsonInfoCache)||void 0===r?void 0:r.call(i))||void 0===s?void 0:s.getPackageJsonInfo(u);if("object"==typeof f||void 0===f&&i.fileExists(u)){var _=(null==f?void 0:f.packageJsonContent)||JSON.parse(i.readFile(u));if(e.getEmitModuleResolutionKind(a)===e.ModuleResolutionKind.Node12||e.getEmitModuleResolutionKind(a)===e.ModuleResolutionKind.NodeNext){var m=["node",n.impliedNodeFormat===e.ModuleKind.ESNext?"import":"require","types"],g=_.exports&&"string"==typeof _.name?x(a,l,c,e.getPackageNameFromTypesPackageName(_.name),_.exports,m):void 0;if(g){var h=e.hasTSFileExtension(g.moduleFileToTry)?{moduleFileToTry:e.removeFileExtension(g.moduleFileToTry)+k(g.moduleFileToTry,a)}:g;return o(o({},h),{verbatimFromExports:!0})}if(_.exports)return{moduleFileToTry:l,blockedByExports:!0}}var y=_.typesVersions?e.getPackageJsonTypesVersionsPaths(_.typesVersions):void 0;if(y){var v=l.slice(c.length+1),D=b(e.removeFileExtension(v),C(v,0,a),y.paths);void 0!==D&&(p=e.combinePaths(c,D))}var E=_.typings||_.types||_.main;if(e.isString(E)){var S=e.toPath(E,c,d);if(e.removeFileExtension(S)===e.removeFileExtension(d(p)))return{packageRootPath:c,moduleFileToTry:p}}}return{moduleFileToTry:p}}}function S(t,r,n){return e.firstDefined(r,(function(e){var r=A(t,e,n);return void 0!==r&&N(r)?void 0:r}))}function C(t,r,n){if(e.fileExtensionIsOneOf(t,[".json",".mjs",".cjs"]))return t;var i=e.removeFileExtension(t);if(e.fileExtensionIsOneOf(t,[".d.mts",".mts",".d.cts",".cts"]))return i+T(t,n);switch(r){case 0:return e.removeSuffix(i,"/index");case 1:return i;case 2:return i+T(t,n);default:return e.Debug.assertNever(r)}}function T(t,r){var n;return null!==(n=k(t,r))&&void 0!==n?n:e.Debug.fail("Extension ".concat(e.extensionFromPath(t)," is unsupported:: FileName:: ").concat(t))}function k(t,r){var n=e.tryGetExtensionFromPath(t);switch(n){case".ts":case".d.ts":return".js";case".tsx":return 1===r.jsx?".jsx":".js";case".js":case".jsx":case".json":return n;case".d.mts":case".mts":case".mjs":return".mjs";case".d.cts":case".cts":case".cjs":return".cjs";default:return}}function A(t,r,n){var i=e.getRelativePathToDirectoryOrUrl(r,t,r,n,!1);return e.isRootedDiskPath(i)?void 0:i}function N(t){return e.startsWith(t,"..")}(n=r||(r={}))[n.Relative=0]="Relative",n[n.NonRelative=1]="NonRelative",n[n.Shortest=2]="Shortest",n[n.ExternalNonRelative=3]="ExternalNonRelative",function(e){e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension"}(i||(i={})),t.updateModuleSpecifier=function(t,r,n,i,a,o){var s=l(t,r,n,i,a,function(t,r,n,i){return{relativePreference:e.isExternalModuleNameRelative(r)?0:1,ending:e.hasJSFileExtension(r)||u(t,n,i)?2:e.getEmitModuleResolutionKind(t)!==e.ModuleResolutionKind.NodeJs||e.endsWith(r,"index")?1:0}}(t,o,n,a),{});if(s!==o)return s},t.getModuleSpecifier=function(e,t,r,n,i){return l(e,t,r,n,i,c(i,{},e,t),{})},t.getNodeModulesPackageName=function(t,r,n,i,a){var o=f(r.path,i),s=v(r.path,n,i,a);return e.firstDefined(s,(function(e){return E(e,o,r,i,t,!0)}))},t.tryGetModuleSpecifiersFromCache=function(e,t,r,n){return p(e,t,r,n)[0]},t.getModuleSpecifiers=function(e,t,r,n,i,a){return d(e,t,r,n,i,a).moduleSpecifiers},t.getModuleSpecifiersWithCacheInfo=d,t.countPathComponents=m,t.forEachFileNameOfModule=y,function(e){e[e.Exact=0]="Exact",e[e.Directory=1]="Directory",e[e.Pattern=2]="Pattern"}(s||(s={})),t.tryGetJSExtensionForFile=k}(e.moduleSpecifiers||(e.moduleSpecifiers={}))}(n||(n={})),function(e){var t=e.sys?{getCurrentDirectory:function(){return e.sys.getCurrentDirectory()},getNewLine:function(){return e.sys.newLine},getCanonicalFileName:e.createGetCanonicalFileName(e.sys.useCaseSensitiveFileNames)}:void 0;function r(r,n){var i=r===e.sys&&t?t:{getCurrentDirectory:function(){return r.getCurrentDirectory()},getNewLine:function(){return r.newLine},getCanonicalFileName:e.createGetCanonicalFileName(r.useCaseSensitiveFileNames)};if(!n)return function(t){return r.write(e.formatDiagnostic(t,i))};var a=new Array(1);return function(t){a[0]=t,r.write(e.formatDiagnosticsWithColorAndContext(a,i)+i.getNewLine()),a[0]=void 0}}function n(t,r,n){return!(!t.clearScreen||n.preserveWatchOutput||n.extendedDiagnostics||n.diagnostics||!e.contains(e.screenStartingMessageCodes,r.code)||(t.clearScreen(),0))}function i(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}):(new Date).toLocaleTimeString()}function o(t,r){return r?function(r,a,o){n(t,r,o);var s="[".concat(e.formatColorAndReset(i(t),e.ForegroundColorEscapeSequences.Grey),"] ");s+="".concat(e.flattenDiagnosticMessageText(r.messageText,t.newLine)).concat(a+a),t.write(s)}:function(r,a,o){var s="";n(t,r,o)||(s+=a),s+="".concat(i(t)," - "),s+="".concat(e.flattenDiagnosticMessageText(r.messageText,t.newLine)).concat(function(t,r){return e.contains(e.screenStartingMessageCodes,t.code)?r+r:r}(r,a)),t.write(s)}}function s(t){return e.countWhere(t,(function(t){return t.category===e.DiagnosticCategory.Error}))}function c(t){return e.filter(t,(function(t){return t.category===e.DiagnosticCategory.Error})).map((function(e){if(void 0!==e.file)return"".concat(e.file.fileName)})).map((function(r){var n=e.find(t,(function(e){return void 0!==e.file&&e.file.fileName===r}));if(void 0!==n){var i=e.getLineAndCharacterOfPosition(n.file,n.start).line;return{fileName:r,line:i+1}}}))}function u(t){return 1===t?e.Diagnostics.Found_1_error_Watching_for_file_changes:e.Diagnostics.Found_0_errors_Watching_for_file_changes}function l(t,r){var n=e.formatColorAndReset(":"+t.line,e.ForegroundColorEscapeSequences.Grey);return e.pathIsAbsolute(t.fileName)&&e.pathIsAbsolute(r)?e.getRelativePathFromDirectory(r,t.fileName,!1)+n:t.fileName+n}function p(t,r,n,i){if(0===t)return"";var a=r.filter((function(e){return void 0!==e})),o=a.map((function(e){return"".concat(e.fileName,":").concat(e.line)})).filter((function(e,t,r){return r.indexOf(e)===t})),s=a[0]&&l(a[0],i.getCurrentDirectory()),c=1===t?e.createCompilerDiagnostic(void 0!==r[0]?e.Diagnostics.Found_1_error_in_1:e.Diagnostics.Found_1_error,t,s):e.createCompilerDiagnostic(0===o.length?e.Diagnostics.Found_0_errors:1===o.length?e.Diagnostics.Found_0_errors_in_the_same_file_starting_at_Colon_1:e.Diagnostics.Found_0_errors_in_1_files,t,1===o.length?s:o.length),u=o.length>1?function(t,r){var n=t.filter((function(e,t,r){return t===r.findIndex((function(t){return(null==t?void 0:t.fileName)===(null==e?void 0:e.fileName)}))}));if(0===n.length)return"";var i=function(e){return Math.log(e)*Math.LOG10E+1},a=n.map((function(r){return[r,e.countWhere(t,(function(e){return e.fileName===r.fileName}))]})),o=a.reduce((function(e,t){return Math.max(e,t[1]||0)}),0),s=e.Diagnostics.Errors_Files.message,c=s.split(" ")[0].length,u=Math.max(c,i(o)),p=Math.max(i(o)-c,0),d="";return d+=" ".repeat(p)+s+"\n",a.forEach((function(e){var t=e[0],n=e[1],i=Math.log(n)*Math.LOG10E+1|0,a=i<u?" ".repeat(u-i):"",o=l(t,r.getCurrentDirectory());d+="".concat(a).concat(n," ").concat(o,"\n")})),d}(a,i):"";return"".concat(n).concat(e.flattenDiagnosticMessageText(c.messageText,n)).concat(n).concat(n).concat(u)}function d(e){return!!e.getState}function f(t,r){var n=t.getCompilerOptions();n.explainFiles?_(d(t)?t.getProgram():t,r):(n.listFiles||n.listFilesOnly)&&e.forEach(t.getSourceFiles(),(function(e){r(e.fileName)}))}function _(t,r){for(var n,i,a=t.getFileIncludeReasons(),o=e.createGetCanonicalFileName(t.useCaseSensitiveFileNames()),s=function(r){return e.convertToRelativePath(r,t.getCurrentDirectory(),o)},c=0,u=t.getSourceFiles();c<u.length;c++){var l=u[c];r("".concat(v(l,s))),null===(n=a.get(l.path))||void 0===n||n.forEach((function(e){return r(" ".concat(y(t,e,s).messageText))})),null===(i=m(l,s))||void 0===i||i.forEach((function(e){return r(" ".concat(e.messageText))}))}}function m(t,r){var n;return t.path!==t.resolvedPath&&(n||(n=[])).push(e.chainDiagnosticMessages(void 0,e.Diagnostics.File_is_output_of_project_reference_source_0,v(t.originalFileName,r))),t.redirectInfo&&(n||(n=[])).push(e.chainDiagnosticMessages(void 0,e.Diagnostics.File_redirects_to_file_0,v(t.redirectInfo.redirectTarget,r))),n}function g(t,r){var n,i=t.getCompilerOptions().configFile;if(null!==(n=null==i?void 0:i.configFileSpecs)&&void 0!==n&&n.validatedFilesSpec){var a=e.createGetCanonicalFileName(t.useCaseSensitiveFileNames()),o=a(r),s=e.getDirectoryPath(e.getNormalizedAbsolutePath(i.fileName,t.getCurrentDirectory()));return e.find(i.configFileSpecs.validatedFilesSpec,(function(t){return a(e.getNormalizedAbsolutePath(t,s))===o}))}}function h(t,r){var n,i,a=t.getCompilerOptions().configFile;if(null!==(n=null==a?void 0:a.configFileSpecs)&&void 0!==n&&n.validatedIncludeSpecs){var o=e.fileExtensionIs(r,".json"),s=e.getDirectoryPath(e.getNormalizedAbsolutePath(a.fileName,t.getCurrentDirectory())),c=t.useCaseSensitiveFileNames();return e.find(null===(i=null==a?void 0:a.configFileSpecs)||void 0===i?void 0:i.validatedIncludeSpecs,(function(t){if(o&&!e.endsWith(t,".json"))return!1;var n=e.getPatternFromSpec(t,s,"files");return!!n&&e.getRegexFromPattern("(".concat(n,")$"),c).test(r)}))}}function y(t,r,n){var i,a,o=t.getCompilerOptions();if(e.isReferencedFile(r)){var s=e.getReferencedFileLocation((function(e){return t.getSourceFileByPath(e)}),r),c=e.isReferenceFileLocation(s)?s.file.text.substring(s.pos,s.end):'"'.concat(s.text,'"'),u=void 0;switch(e.Debug.assert(e.isReferenceFileLocation(s)||r.kind===e.FileIncludeKind.Import,"Only synthetic references are imports"),r.kind){case e.FileIncludeKind.Import:u=e.isReferenceFileLocation(s)?s.packageId?e.Diagnostics.Imported_via_0_from_file_1_with_packageId_2:e.Diagnostics.Imported_via_0_from_file_1:s.text===e.externalHelpersModuleNameText?s.packageId?e.Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:e.Diagnostics.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:s.packageId?e.Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:e.Diagnostics.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;break;case e.FileIncludeKind.ReferenceFile:e.Debug.assert(!s.packageId),u=e.Diagnostics.Referenced_via_0_from_file_1;break;case e.FileIncludeKind.TypeReferenceDirective:u=s.packageId?e.Diagnostics.Type_library_referenced_via_0_from_file_1_with_packageId_2:e.Diagnostics.Type_library_referenced_via_0_from_file_1;break;case e.FileIncludeKind.LibReferenceDirective:e.Debug.assert(!s.packageId),u=e.Diagnostics.Library_referenced_via_0_from_file_1;break;default:e.Debug.assertNever(r)}return e.chainDiagnosticMessages(void 0,u,c,v(s.file,n),s.packageId&&e.packageIdToString(s.packageId))}switch(r.kind){case e.FileIncludeKind.RootFile:if(null===(i=o.configFile)||void 0===i||!i.configFileSpecs)return e.chainDiagnosticMessages(void 0,e.Diagnostics.Root_file_specified_for_compilation);var l=e.getNormalizedAbsolutePath(t.getRootFileNames()[r.index],t.getCurrentDirectory());if(g(t,l))return e.chainDiagnosticMessages(void 0,e.Diagnostics.Part_of_files_list_in_tsconfig_json);var p=h(t,l);return p?e.chainDiagnosticMessages(void 0,e.Diagnostics.Matched_by_include_pattern_0_in_1,p,v(o.configFile,n)):e.chainDiagnosticMessages(void 0,e.Diagnostics.Root_file_specified_for_compilation);case e.FileIncludeKind.SourceFromProjectReference:case e.FileIncludeKind.OutputFromProjectReference:var d=r.kind===e.FileIncludeKind.OutputFromProjectReference,f=e.Debug.checkDefined(null===(a=t.getResolvedProjectReferences())||void 0===a?void 0:a[r.index]);return e.chainDiagnosticMessages(void 0,e.outFile(o)?d?e.Diagnostics.Output_from_referenced_project_0_included_because_1_specified:e.Diagnostics.Source_from_referenced_project_0_included_because_1_specified:d?e.Diagnostics.Output_from_referenced_project_0_included_because_module_is_specified_as_none:e.Diagnostics.Source_from_referenced_project_0_included_because_module_is_specified_as_none,v(f.sourceFile.fileName,n),o.outFile?"--outFile":"--out");case e.FileIncludeKind.AutomaticTypeDirectiveFile:return e.chainDiagnosticMessages(void 0,o.types?r.packageId?e.Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:e.Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions:r.packageId?e.Diagnostics.Entry_point_for_implicit_type_library_0_with_packageId_1:e.Diagnostics.Entry_point_for_implicit_type_library_0,r.typeReference,r.packageId&&e.packageIdToString(r.packageId));case e.FileIncludeKind.LibFile:if(void 0!==r.index)return e.chainDiagnosticMessages(void 0,e.Diagnostics.Library_0_specified_in_compilerOptions,o.lib[r.index]);var _=e.forEachEntry(e.targetOptionDeclaration.type,(function(t,r){return t===e.getEmitScriptTarget(o)?r:void 0}));return e.chainDiagnosticMessages(void 0,_?e.Diagnostics.Default_library_for_target_0:e.Diagnostics.Default_library,_);default:e.Debug.assertNever(r)}}function v(t,r){var n=e.isString(t)?t:t.fileName;return r?r(n):n}function D(t,r,n,i,a,o,u,l){var p=!!t.getCompilerOptions().listFilesOnly,d=t.getConfigFileParsingDiagnostics().slice(),_=d.length;e.addRange(d,t.getSyntacticDiagnostics(void 0,o)),d.length===_&&(e.addRange(d,t.getOptionsDiagnostics(o)),p||(e.addRange(d,t.getGlobalDiagnostics(o)),d.length===_&&e.addRange(d,t.getSemanticDiagnostics(void 0,o))));var m=p?{emitSkipped:!0,diagnostics:e.emptyArray}:t.emit(void 0,a,o,u,l),g=m.emittedFiles,h=m.diagnostics;e.addRange(d,h);var y=e.sortAndDeduplicateDiagnostics(d);if(y.forEach(r),n){var v=t.getCurrentDirectory();e.forEach(g,(function(t){var r=e.getNormalizedAbsolutePath(t,v);n("TSFILE: ".concat(r))})),f(t,n)}return i&&i(s(y),c(y)),{emitResult:m,diagnostics:y}}function b(t,r,n,i,a,o,s,c){var u=D(t,r,n,i,a,o,s,c),l=u.emitResult,p=u.diagnostics;return l.emitSkipped&&p.length>0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:p.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}function x(t,r){return void 0===t&&(t=e.sys),{onWatchStatusChange:r||o(t),watchFile:e.maybeBind(t,t.watchFile)||e.returnNoopFileWatcher,watchDirectory:e.maybeBind(t,t.watchDirectory)||e.returnNoopFileWatcher,setTimeout:e.maybeBind(t,t.setTimeout)||e.noop,clearTimeout:e.maybeBind(t,t.clearTimeout)||e.noop}}function E(t,r){var n=e.memoize((function(){return e.getDirectoryPath(e.normalizePath(t.getExecutingFilePath()))}));return{useCaseSensitiveFileNames:function(){return t.useCaseSensitiveFileNames},getNewLine:function(){return t.newLine},getCurrentDirectory:e.memoize((function(){return t.getCurrentDirectory()})),getDefaultLibLocation:n,getDefaultLibFileName:function(t){return e.combinePaths(n(),e.getDefaultLibFileName(t))},fileExists:function(e){return t.fileExists(e)},readFile:function(e,r){return t.readFile(e,r)},directoryExists:function(e){return t.directoryExists(e)},getDirectories:function(e){return t.getDirectories(e)},readDirectory:function(e,r,n,i,a){return t.readDirectory(e,r,n,i,a)},realpath:e.maybeBind(t,t.realpath),getEnvironmentVariable:e.maybeBind(t,t.getEnvironmentVariable),trace:function(e){return t.write(e+t.newLine)},createDirectory:function(e){return t.createDirectory(e)},writeFile:function(e,r,n){return t.writeFile(e,r,n)},createHash:e.maybeBind(t,t.createHash),createProgram:r||e.createEmitAndSemanticDiagnosticsBuilderProgram,disableUseFileVersionAsSignature:t.disableUseFileVersionAsSignature}}function S(t,r,n,i){void 0===t&&(t=e.sys);var a=function(e){return t.write(e+t.newLine)},o=E(t,r);return e.copyProperties(o,x(t,i)),o.afterProgramCreate=function(r){var i=r.getCompilerOptions(),s=e.getNewLineCharacter(i,(function(){return t.newLine}));D(r,n,a,(function(t){return o.onWatchStatusChange(e.createCompilerDiagnostic(u(t),t),s,i,t)}))},o}function C(t,r,n){r(n),t.exit(e.ExitStatus.DiagnosticsPresent_OutputsSkipped)}e.createDiagnosticReporter=r,e.screenStartingMessageCodes=[e.Diagnostics.Starting_compilation_in_watch_mode.code,e.Diagnostics.File_change_detected_Starting_incremental_compilation.code],e.getLocaleTimeString=i,e.createWatchStatusReporter=o,e.parseConfigFileWithSystem=function(t,r,n,i,a,o){var s=a;s.onUnRecoverableConfigFileDiagnostic=function(e){return C(a,o,e)};var c=e.getParsedCommandLineOfConfigFile(t,r,s,n,i);return s.onUnRecoverableConfigFileDiagnostic=void 0,c},e.getErrorCountForSummary=s,e.getFilesInErrorForSummary=c,e.getWatchErrorSummaryDiagnosticMessage=u,e.getErrorSummaryText=p,e.isBuilderProgram=d,e.listFiles=f,e.explainFiles=_,e.explainIfFileIsRedirect=m,e.getMatchedFileSpec=g,e.getMatchedIncludeSpec=h,e.fileIncludeReasonToDiagnostics=y,e.emitFilesAndReportErrors=D,e.emitFilesAndReportErrorsAndGetExitStatus=b,e.noopFileWatcher={close:e.noop},e.returnNoopFileWatcher=function(){return e.noopFileWatcher},e.createWatchHost=x,e.WatchType={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file"},e.createWatchFactory=function(t,r){var n=t.trace?r.extendedDiagnostics?e.WatchLogLevel.Verbose:r.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,i=n!==e.WatchLogLevel.None?function(e){return t.trace(e)}:e.noop,a=e.getWatchFactory(t,n,i);return a.writeLog=i,a},e.createCompilerHostFromProgramHost=function(t,r,n){void 0===n&&(n=t);var i=t.useCaseSensitiveFileNames(),a=e.memoize((function(){return t.getNewLine()}));return{getSourceFile:function(n,i,a){var o;try{e.performance.mark("beforeIORead"),o=t.readFile(n,r().charset),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(e){a&&a(e.message),o=""}return void 0!==o?e.createSourceFile(n,o,i):void 0},getDefaultLibLocation:e.maybeBind(t,t.getDefaultLibLocation),getDefaultLibFileName:function(e){return t.getDefaultLibFileName(e)},writeFile:function(r,n,i,a){try{e.performance.mark("beforeIOWrite"),e.writeFileEnsuringDirectories(r,n,i,(function(e,r,n){return t.writeFile(e,r,n)}),(function(e){return t.createDirectory(e)}),(function(e){return t.directoryExists(e)})),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){a&&a(e.message)}},getCurrentDirectory:e.memoize((function(){return t.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return i},getCanonicalFileName:e.createGetCanonicalFileName(i),getNewLine:function(){return e.getNewLineCharacter(r(),a)},fileExists:function(e){return t.fileExists(e)},readFile:function(e){return t.readFile(e)},trace:e.maybeBind(t,t.trace),directoryExists:e.maybeBind(n,n.directoryExists),getDirectories:e.maybeBind(n,n.getDirectories),realpath:e.maybeBind(t,t.realpath),getEnvironmentVariable:e.maybeBind(t,t.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(t,t.createHash),readDirectory:e.maybeBind(t,t.readDirectory),disableUseFileVersionAsSignature:t.disableUseFileVersionAsSignature}},e.setGetSourceFileAsHashVersioned=function(t,r){var n=t.getSourceFile,i=e.maybeBind(r,r.createHash)||e.generateDjb2Hash;t.getSourceFile=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var o=n.call.apply(n,a([t],e,!1));return o&&(o.version=i(o.text)),o}},e.createProgramHost=E,e.createWatchCompilerHostOfConfigFile=function(e){var t=e.configFileName,n=e.optionsToExtend,i=e.watchOptionsToExtend,a=e.extraFileExtensions,o=e.system,s=e.createProgram,c=e.reportDiagnostic,u=e.reportWatchStatus,l=c||r(o),p=S(o,s,l,u);return p.onUnRecoverableConfigFileDiagnostic=function(e){return C(o,l,e)},p.configFileName=t,p.optionsToExtend=n,p.watchOptionsToExtend=i,p.extraFileExtensions=a,p},e.createWatchCompilerHostOfFilesAndCompilerOptions=function(e){var t=e.rootFiles,n=e.options,i=e.watchOptions,a=e.projectReferences,o=e.system,s=e.createProgram,c=e.reportDiagnostic,u=e.reportWatchStatus,l=S(o,s,c||r(o),u);return l.rootFiles=t,l.options=n,l.watchOptions=i,l.projectReferences=a,l},e.performIncrementalCompilation=function(t){var n=t.system||e.sys,i=t.host||(t.host=e.createIncrementalCompilerHost(t.options,n)),a=e.createIncrementalProgram(t),o=b(a,t.reportDiagnostic||r(n),(function(e){return i.trace&&i.trace(e)}),t.reportErrorSummary||t.options.pretty?function(e,t){return n.write(p(e,t,n.newLine,i))}:void 0);return t.afterProgramEmitAndDiagnostics&&t.afterProgramEmitAndDiagnostics(a),o}}(n||(n={})),function(e){function t(t,r){if(!e.outFile(t)){var n=e.getTsBuildInfoEmitOutputFilePath(t);if(n){var i=r.readFile(n);if(i){var a=e.getBuildInfo(i);if(a.version===e.version&&a.program)return e.createBuildProgramUsingProgramBuildInfo(a.program,n,r)}}}}function r(t,r){void 0===r&&(r=e.sys);var n=e.createCompilerHostWorker(t,void 0,r);return n.createHash=e.maybeBind(r,r.createHash),n.disableUseFileVersionAsSignature=r.disableUseFileVersionAsSignature,e.setGetSourceFileAsHashVersioned(n,r),e.changeCompilerHostLikeToUseCache(n,(function(t){return e.toPath(t,n.getCurrentDirectory(),n.getCanonicalFileName)})),n}e.readBuilderProgram=t,e.createIncrementalCompilerHost=r,e.createIncrementalProgram=function(n){var i=n.rootNames,a=n.options,o=n.configFileParsingDiagnostics,s=n.projectReferences,c=n.host,u=n.createProgram;return c=c||r(a),(u=u||e.createEmitAndSemanticDiagnosticsBuilderProgram)(i,a,c,t(a,c),o,s)},e.createWatchCompilerHost=function(t,r,n,i,a,o,s,c){return e.isArray(t)?e.createWatchCompilerHostOfFilesAndCompilerOptions({rootFiles:t,options:r,watchOptions:c,projectReferences:s,system:n,createProgram:i,reportDiagnostic:a,reportWatchStatus:o}):e.createWatchCompilerHostOfConfigFile({configFileName:t,optionsToExtend:r,watchOptionsToExtend:s,extraFileExtensions:c,system:n,createProgram:i,reportDiagnostic:a,reportWatchStatus:o})},e.createWatchProgram=function(r){var n,i,s,c,u,l,p,d,f,_,m,g,h=r.extendedConfigCache,y=!1,v=!1,D=new e.Map,b=!1,x=r.useCaseSensitiveFileNames(),E=r.getCurrentDirectory(),S=r.configFileName,C=r.optionsToExtend,T=void 0===C?{}:C,k=r.watchOptionsToExtend,A=r.extraFileExtensions,N=r.createProgram,P=r.rootFiles,F=r.options,w=r.watchOptions,I=r.projectReferences,O=!1,L=!1,M=void 0===S?void 0:e.createCachedDirectoryStructureHost(r,E,x),R=M||r,B=e.parseConfigHostFromCompilerHostLike(r,R),j=ee();S&&r.configFileParsingResult&&(me(r.configFileParsingResult),j=ee()),se(e.Diagnostics.Starting_compilation_in_watch_mode),S&&!r.configFileParsingResult&&(j=e.getNewLineCharacter(T,(function(){return r.getNewLine()})),e.Debug.assert(!P),_e(),j=ee());var K,J=e.createWatchFactory(r,F),U=J.watchFile,q=J.watchDirectory,V=J.writeLog,z=e.createGetCanonicalFileName(x);V("Current directory: ".concat(E," CaseSensitiveFileNames: ").concat(x)),S&&(K=U(S,(function(){e.Debug.assert(!!S),i=e.ConfigFileProgramReloadLevel.Full,pe()}),e.PollingInterval.High,w,e.WatchType.ConfigFile));var W=e.createCompilerHostFromProgramHost(r,(function(){return F}),R);e.setGetSourceFileAsHashVersioned(W,r);var H=W.getSourceFile;W.getSourceFile=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return ie.apply(void 0,a([e,te(e)],t,!1))},W.getSourceFileByPath=ie,W.getNewLine=function(){return j},W.fileExists=ne,W.onReleaseOldSourceFile=function(e,t,r){var n=D.get(e.resolvedPath);void 0!==n&&(re(n)?(_||(_=[])).push(e.path):n.sourceFile===e&&(n.fileWatcher&&n.fileWatcher.close(),D.delete(e.resolvedPath),r||G.removeResolutionsOfFile(e.path)))},W.onReleaseParsedCommandLine=function(t){var r,n=te(t),i=null==d?void 0:d.get(n);!i||(d.delete(n),i.watchedDirectories&&e.clearMap(i.watchedDirectories,e.closeFileWatcherOf),null===(r=i.watcher)||void 0===r||r.close(),e.clearSharedExtendedConfigFileWatcher(n,f))},W.toPath=te,W.getCompilationSettings=function(){return F},W.useSourceOfProjectReferenceRedirect=e.maybeBind(r,r.useSourceOfProjectReferenceRedirect),W.watchDirectoryOfFailedLookupLocation=function(t,r,n){return q(t,r,n,w,e.WatchType.FailedLookupLocations)},W.watchTypeRootsDirectory=function(t,r,n){return q(t,r,n,w,e.WatchType.TypeRoots)},W.getCachedDirectoryStructureHost=function(){return M},W.scheduleInvalidateResolutionsOfFailedLookupLocations=function(){if(!r.setTimeout||!r.clearTimeout)return G.invalidateResolutionsOfFailedLookupLocations();var e=ue();V("Scheduling invalidateFailedLookup".concat(e?", Cancelled earlier one":"")),p=r.setTimeout(le,250)},W.onInvalidatedResolution=pe,W.onChangedAutomaticTypeDirectiveNames=pe,W.fileIsOpen=e.returnFalse,W.getCurrentProgram=Q,W.writeLog=V,W.getParsedCommandLine=ge;var G=e.createResolutionCache(W,S?e.getDirectoryPath(e.getNormalizedAbsolutePath(S,E)):E,!1);W.resolveModuleNames=r.resolveModuleNames?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.resolveModuleNames.apply(r,e)}:function(e,t,r,n,i,a){return G.resolveModuleNames(e,t,r,n,a)},W.resolveTypeReferenceDirectives=r.resolveTypeReferenceDirectives?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.resolveTypeReferenceDirectives.apply(r,e)}:function(e,t,r){return G.resolveTypeReferenceDirectives(e,t,r)};var $=!!r.resolveModuleNames||!!r.resolveTypeReferenceDirectives;return n=t(F,W),Z(),Se(),S&&Te(te(S),F,w,e.WatchType.ExtendedConfigFile),S?{getCurrentProgram:X,getProgram:fe,close:Y}:{getCurrentProgram:X,getProgram:fe,updateRootFileNames:function(t){e.Debug.assert(!S,"Cannot update root file names with config file watch mode"),P=t,pe()},close:Y};function Y(){ue(),G.clear(),e.clearMap(D,(function(e){e&&e.fileWatcher&&(e.fileWatcher.close(),e.fileWatcher=void 0)})),K&&(K.close(),K=void 0),null==h||h.clear(),h=void 0,f&&(e.clearMap(f,e.closeFileWatcherOf),f=void 0),u&&(e.clearMap(u,e.closeFileWatcherOf),u=void 0),s&&(e.clearMap(s,e.closeFileWatcher),s=void 0),d&&(e.clearMap(d,(function(t){var r;null===(r=t.watcher)||void 0===r||r.close(),t.watcher=void 0,t.watchedDirectories&&e.clearMap(t.watchedDirectories,e.closeFileWatcherOf),t.watchedDirectories=void 0})),d=void 0),c&&(e.clearMap(c,e.closeFileWatcher),c=void 0)}function X(){return n}function Q(){return n&&n.getProgramOrUndefined()}function Z(){V("Synchronizing program"),ue();var t=X();b&&(j=ee(),t&&(y||e.changesAffectModuleResolution(t.getCompilerOptions(),F))&&G.clear());var i=G.createHasInvalidatedResolution($||y);return e.isProgramUptoDate(Q(),P,F,oe,ne,i,ce,ge,I)?L&&(v&&se(e.Diagnostics.File_change_detected_Starting_incremental_compilation),n=N(void 0,void 0,W,n,g,I),L=!1):(v&&se(e.Diagnostics.File_change_detected_Starting_incremental_compilation),function(t){V("CreatingProgramWith::"),V(" roots: ".concat(JSON.stringify(P))),V(" options: ".concat(JSON.stringify(F))),I&&V(" projectReferences: ".concat(JSON.stringify(I)));var r=b||!Q();b=!1,L=!1,G.startCachingPerDirectoryResolution(),W.hasInvalidatedResolution=t,W.hasChangedAutomaticTypeDirectiveNames=ce,n=N(P,F,W,n,g,I);var i=e.map(G.getModuleResolutionCache().getPackageJsonInfoCache().entries(),(function(e){var t=e[0],r=e[1];return[W.realpath?te(W.realpath(t)):t,r]}));if(G.finishCachingPerDirectoryResolution(),e.updateMissingFilePathsWatch(n.getProgram(),s||(s=new e.Map),De),e.updatePackageJsonWatch(i,c||(c=new e.Map),be),r&&G.updateTypeRootsWatch(),_){for(var a=0,o=_;a<o.length;a++){var u=o[a];s.has(u)||D.delete(u)}_=void 0}}(i)),y=!1,v=!1,r.afterProgramCreate&&t!==n&&r.afterProgramCreate(n),n}function ee(){return e.getNewLineCharacter(F||T,(function(){return r.getNewLine()}))}function te(t){return e.toPath(t,E,z)}function re(e){return"boolean"==typeof e}function ne(e){var t=te(e);return!re(D.get(t))&&R.fileExists(e)}function ie(t,r,n,i,a){var o=D.get(r);if(!re(o)){if(void 0===o||a||function(e){return"boolean"==typeof e.version}(o)){var s=H(t,n,i);if(o)s?(o.sourceFile=s,o.version=s.version,o.fileWatcher||(o.fileWatcher=he(r,t,ye,e.PollingInterval.Low,w,e.WatchType.SourceFile))):(o.fileWatcher&&o.fileWatcher.close(),D.set(r,!1));else if(s){var c=he(r,t,ye,e.PollingInterval.Low,w,e.WatchType.SourceFile);D.set(r,{sourceFile:s,version:s.version,fileWatcher:c})}else D.set(r,!1);return s&&(s.impliedNodeFormat=e.getImpliedNodeFormatForFile(r,G.getModuleResolutionCache().getPackageJsonInfoCache(),W,W.getCompilationSettings())),s}return o.sourceFile}}function ae(e){var t=D.get(e);void 0!==t&&(re(t)?D.set(e,{version:!1}):t.version=!1)}function oe(e){var t=D.get(e);return t&&t.version?t.version:void 0}function se(t){r.onWatchStatusChange&&r.onWatchStatusChange(e.createCompilerDiagnostic(t),j,F||T)}function ce(){return G.hasChangedAutomaticTypeDirectiveNames()}function ue(){return!!p&&(r.clearTimeout(p),p=void 0,!0)}function le(){p=void 0,G.invalidateResolutionsOfFailedLookupLocations()&&pe()}function pe(){!r.setTimeout||!r.clearTimeout||(l&&r.clearTimeout(l),V("Scheduling update"),l=r.setTimeout(de,250))}function de(){l=void 0,v=!0,fe()}function fe(){switch(i){case e.ConfigFileProgramReloadLevel.Partial:e.perfLogger.logStartUpdateProgram("PartialConfigReload"),V("Reloading new file names and options"),P=e.getFileNamesFromConfigSpecs(F.configFile.configFileSpecs,e.getNormalizedAbsolutePath(e.getDirectoryPath(S),E),F,B,A),e.updateErrorForNoInputFiles(P,e.getNormalizedAbsolutePath(S,E),F.configFile.configFileSpecs,g,O)&&(L=!0),Z();break;case e.ConfigFileProgramReloadLevel.Full:e.perfLogger.logStartUpdateProgram("FullConfigReload"),V("Reloading config file: ".concat(S)),i=e.ConfigFileProgramReloadLevel.None,M&&M.clearCache(),_e(),b=!0,Z(),Se(),Te(te(S),F,w,e.WatchType.ExtendedConfigFile);break;default:e.perfLogger.logStartUpdateProgram("SynchronizeProgram"),Z()}return e.perfLogger.logStopUpdateProgram("Done"),X()}function _e(){me(e.getParsedCommandLineOfConfigFile(S,T,B,h||(h=new e.Map),k,A))}function me(t){P=t.fileNames,F=t.options,w=t.watchOptions,I=t.projectReferences,m=t.wildcardDirectories,g=e.getConfigFileParsingDiagnostics(t).slice(),O=e.canJsonReportNoInputFiles(t.raw),L=!0}function ge(t){var n=te(t),i=null==d?void 0:d.get(n);if(i){if(!i.reloadLevel)return i.parsedCommandLine;if(i.parsedCommandLine&&i.reloadLevel===e.ConfigFileProgramReloadLevel.Partial&&!r.getParsedCommandLine){V("Reloading new file names and options");var a=e.getFileNamesFromConfigSpecs(i.parsedCommandLine.options.configFile.configFileSpecs,e.getNormalizedAbsolutePath(e.getDirectoryPath(t),E),F,B);return i.parsedCommandLine=o(o({},i.parsedCommandLine),{fileNames:a}),i.reloadLevel=void 0,i.parsedCommandLine}}V("Loading config file: ".concat(t));var s=r.getParsedCommandLine?r.getParsedCommandLine(t):function(t){var r=B.onUnRecoverableConfigFileDiagnostic;B.onUnRecoverableConfigFileDiagnostic=e.noop;var n=e.getParsedCommandLineOfConfigFile(t,void 0,B,h||(h=new e.Map),k);return B.onUnRecoverableConfigFileDiagnostic=r,n}(t);return i?(i.parsedCommandLine=s,i.reloadLevel=void 0):(d||(d=new e.Map)).set(n,i={parsedCommandLine:s}),function(t,r,n){var i,a,o,s,c;n.watcher||(n.watcher=U(t,(function(n,i){ve(t,r,i);var a=null==d?void 0:d.get(r);a&&(a.reloadLevel=e.ConfigFileProgramReloadLevel.Full),G.removeResolutionsFromProjectReferenceRedirects(r),pe()}),e.PollingInterval.High,(null===(i=n.parsedCommandLine)||void 0===i?void 0:i.watchOptions)||w,e.WatchType.ConfigFileOfReferencedProject)),null!==(a=n.parsedCommandLine)&&void 0!==a&&a.wildcardDirectories?e.updateWatchingWildcardDirectories(n.watchedDirectories||(n.watchedDirectories=new e.Map),new e.Map(e.getEntries(null===(o=n.parsedCommandLine)||void 0===o?void 0:o.wildcardDirectories)),(function(i,a){var o;return q(i,(function(n){var a=te(n);M&&M.addOrDeleteFileOrDirectory(n,a),ae(a);var o=null==d?void 0:d.get(r);null==o||!o.parsedCommandLine||e.isIgnoredFileFromWildCardWatching({watchedDirPath:te(i),fileOrDirectory:n,fileOrDirectoryPath:a,configFileName:t,options:o.parsedCommandLine.options,program:o.parsedCommandLine.fileNames,currentDirectory:E,useCaseSensitiveFileNames:x,writeLog:V,toPath:te})||o.reloadLevel!==e.ConfigFileProgramReloadLevel.Full&&(o.reloadLevel=e.ConfigFileProgramReloadLevel.Partial,pe())}),a,(null===(o=n.parsedCommandLine)||void 0===o?void 0:o.watchOptions)||w,e.WatchType.WildcardDirectoryOfReferencedProject)})):n.watchedDirectories&&(e.clearMap(n.watchedDirectories,e.closeFileWatcherOf),n.watchedDirectories=void 0),Te(r,null===(s=n.parsedCommandLine)||void 0===s?void 0:s.options,(null===(c=n.parsedCommandLine)||void 0===c?void 0:c.watchOptions)||w,e.WatchType.ExtendedConfigOfReferencedProject)}(t,n,i),s}function he(e,t,r,n,i,a){return U(t,(function(t,n){return r(t,n,e)}),n,i,a)}function ye(t,r,n){ve(t,n,r),r===e.FileWatcherEventKind.Deleted&&D.has(n)&&G.invalidateResolutionOfFile(n),ae(n),pe()}function ve(e,t,r){M&&M.addOrDeleteFile(e,t,r)}function De(t){return null!=d&&d.has(t)?e.noopFileWatcher:he(t,t,Ee,e.PollingInterval.Medium,w,e.WatchType.MissingFile)}function be(t){return D.has(t)?e.noopFileWatcher:he(t,t,xe,e.PollingInterval.High,w,e.WatchType.PackageJson)}function xe(t,r,n){ve(t,n,r),i=e.ConfigFileProgramReloadLevel.Full,y=!0,pe()}function Ee(t,r,n){ve(t,n,r),r===e.FileWatcherEventKind.Created&&s.has(n)&&(s.get(n).close(),s.delete(n),ae(n),pe())}function Se(){m?e.updateWatchingWildcardDirectories(u||(u=new e.Map),new e.Map(e.getEntries(m)),Ce):u&&e.clearMap(u,e.closeFileWatcherOf)}function Ce(t,r){return q(t,(function(r){e.Debug.assert(!!S);var n=te(r);M&&M.addOrDeleteFileOrDirectory(r,n),ae(n),!e.isIgnoredFileFromWildCardWatching({watchedDirPath:te(t),fileOrDirectory:r,fileOrDirectoryPath:n,configFileName:S,extraFileExtensions:A,options:F,program:X()||P,currentDirectory:E,useCaseSensitiveFileNames:x,writeLog:V,toPath:te})&&i!==e.ConfigFileProgramReloadLevel.Full&&(i=e.ConfigFileProgramReloadLevel.Partial,pe())}),r,w,e.WatchType.WildcardDirectory)}function Te(t,r,n,a){e.updateSharedExtendedConfigFileWatcher(t,r,f||(f=new e.Map),(function(t,r){return U(t,(function(n,a){var o;ve(t,r,a),h&&e.cleanExtendedConfigCache(h,r,te);var s=null===(o=f.get(r))||void 0===o?void 0:o.projects;null==s||!s.size||s.forEach((function(t){if(te(S)===t)i=e.ConfigFileProgramReloadLevel.Full;else{var r=null==d?void 0:d.get(t);r&&(r.reloadLevel=e.ConfigFileProgramReloadLevel.Full),G.removeResolutionsFromProjectReferenceRedirects(t)}pe()}))}),e.PollingInterval.High,n,a)}),te)}}}(n||(n={})),function(e){var t;(t=e.UpToDateStatusType||(e.UpToDateStatusType={}))[t.Unbuildable=0]="Unbuildable",t[t.UpToDate=1]="UpToDate",t[t.UpToDateWithUpstreamTypes=2]="UpToDateWithUpstreamTypes",t[t.OutOfDateWithPrepend=3]="OutOfDateWithPrepend",t[t.OutputMissing=4]="OutputMissing",t[t.OutOfDateWithSelf=5]="OutOfDateWithSelf",t[t.OutOfDateWithUpstream=6]="OutOfDateWithUpstream",t[t.UpstreamOutOfDate=7]="UpstreamOutOfDate",t[t.UpstreamBlocked=8]="UpstreamBlocked",t[t.ComputingUpstream=9]="ComputingUpstream",t[t.TsVersionOutputOfDate=10]="TsVersionOutputOfDate",t[t.ContainerOnly=11]="ContainerOnly",e.resolveConfigFileProjectName=function(t){return e.fileExtensionIs(t,".json")?t:e.combinePaths(t,"tsconfig.json")}}(n||(n={})),function(e){var t,r,n,i,o=new Date(-864e13),s=new Date(864e13);function c(t,r){return function(e,t,r){var n,i=e.get(t);return i||(n=r(),e.set(t,n)),i||n}(t,r,(function(){return new e.Map}))}function u(e,t){return t>e?t:e}function l(t){return e.fileExtensionIs(t,".d.ts")}function p(e){return!!e&&!!e.buildOrder}function d(e){return p(e)?e.buildOrder:e}function f(t,r){return function(n){var i=r?"[".concat(e.formatColorAndReset(e.getLocaleTimeString(t),e.ForegroundColorEscapeSequences.Grey),"] "):"".concat(e.getLocaleTimeString(t)," - ");i+="".concat(e.flattenDiagnosticMessageText(n.messageText,t.newLine)).concat(t.newLine+t.newLine),t.write(i)}}function _(t,r,n,i){var a=e.createProgramHost(t,r);return a.getModifiedTime=t.getModifiedTime?function(e){return t.getModifiedTime(e)}:e.returnUndefined,a.setModifiedTime=t.setModifiedTime?function(e,r){return t.setModifiedTime(e,r)}:e.noop,a.deleteFile=t.deleteFile?function(e){return t.deleteFile(e)}:e.noop,a.reportDiagnostic=n||e.createDiagnosticReporter(t),a.reportSolutionBuilderStatus=i||f(t),a.now=e.maybeBind(t,t.now),a}function m(t,r,n,i,a){var o=r,s=r,c=o.getCurrentDirectory(),u=e.createGetCanonicalFileName(o.useCaseSensitiveFileNames()),l=function(t){var r={};return e.commonOptionsWithBuild.forEach((function(n){e.hasProperty(t,n.name)&&(r[n.name]=t[n.name])})),r}(i),p=e.createCompilerHostFromProgramHost(o,(function(){return x.projectCompilerOptions}));e.setGetSourceFileAsHashVersioned(p,o),p.getParsedCommandLine=function(e){return D(x,e,h(x,e))},p.resolveModuleNames=e.maybeBind(o,o.resolveModuleNames),p.resolveTypeReferenceDirectives=e.maybeBind(o,o.resolveTypeReferenceDirectives);var d=p.resolveModuleNames?void 0:e.createModuleResolutionCache(c,u),f=p.resolveTypeReferenceDirectives?void 0:e.createTypeReferenceDirectiveResolutionCache(c,u,void 0,null==d?void 0:d.getPackageJsonInfoCache());if(!p.resolveModuleNames){var _=function(t,r,n,i){return e.resolveModuleName(t,n,x.projectCompilerOptions,p,d,i,r).resolvedModule};p.resolveModuleNames=function(t,r,n,i,a,o){return e.loadWithModeAwareCache(e.Debug.checkEachDefined(t),e.Debug.checkDefined(o),r,i,_)},p.getModuleResolutionCache=function(){return d}}if(!p.resolveTypeReferenceDirectives){var m=function(t,r,n){return e.resolveTypeReferenceDirective(t,r,x.projectCompilerOptions,p,n,x.typeReferenceDirectiveResolutionCache).resolvedTypeReferenceDirective};p.resolveTypeReferenceDirectives=function(t,r,n){return e.loadWithLocalCache(e.Debug.checkEachDefined(t),r,n,m)}}var g=e.createWatchFactory(s,i),y=g.watchFile,v=g.watchDirectory,b=g.writeLog,x={host:o,hostWithWatch:s,currentDirectory:c,getCanonicalFileName:u,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(o),write:e.maybeBind(o,o.trace),options:i,baseCompilerOptions:l,rootNames:n,baseWatchOptions:a,resolvedConfigFilePaths:new e.Map,configFileCache:new e.Map,projectStatus:new e.Map,buildInfoChecked:new e.Map,extendedConfigCache:new e.Map,builderPrograms:new e.Map,diagnostics:new e.Map,projectPendingBuild:new e.Map,projectErrorsReported:new e.Map,compilerHost:p,moduleResolutionCache:d,typeReferenceDirectiveResolutionCache:f,buildOrder:void 0,readFileWithCache:function(e){return o.readFile(e)},projectCompilerOptions:l,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:t,currentInvalidatedProject:void 0,watch:t,allWatchedWildcardDirectories:new e.Map,allWatchedInputFiles:new e.Map,allWatchedConfigFiles:new e.Map,allWatchedExtendedConfigFiles:new e.Map,allWatchedPackageJsonFiles:new e.Map,lastCachedPackageJsonLookups:new e.Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:y,watchDirectory:v,writeLog:b};return x}function g(t,r){return e.toPath(r,t.currentDirectory,t.getCanonicalFileName)}function h(e,t){var r=e.resolvedConfigFilePaths,n=r.get(t);if(void 0!==n)return n;var i=g(e,t);return r.set(t,i),i}function y(e){return!!e.options}function v(e,t){var r=e.configFileCache.get(t);return r&&y(r)?r:void 0}function D(t,r,n){var i=t.configFileCache,a=i.get(n);if(a)return y(a)?a:void 0;var o,s,c=t.parseConfigFileHost,u=t.baseCompilerOptions,l=t.baseWatchOptions,p=t.extendedConfigCache,d=t.host;return d.getParsedCommandLine?(s=d.getParsedCommandLine(r))||(o=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,r)):(c.onUnRecoverableConfigFileDiagnostic=function(e){return o=e},s=e.getParsedCommandLineOfConfigFile(r,u,c,p,l),c.onUnRecoverableConfigFileDiagnostic=e.noop),i.set(n,s||o),s}function b(t,r){return e.resolveConfigFileProjectName(e.resolvePath(t.currentDirectory,r))}function x(t,r){for(var n,i,a=new e.Map,o=new e.Map,s=[],c=0,u=r;c<u.length;c++)l(u[c]);return i?{buildOrder:n||e.emptyArray,circularDiagnostics:i}:n||e.emptyArray;function l(r,c){var u=h(t,r);if(!o.has(u)){if(a.has(u))return void(c||(i||(i=[])).push(e.createCompilerDiagnostic(e.Diagnostics.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,s.join("\r\n"))));a.set(u,!0),s.push(r);var p=D(t,r,u);if(p&&p.projectReferences)for(var d=0,f=p.projectReferences;d<f.length;d++){var _=f[d];l(b(t,_.path),c||_.circular)}s.pop(),o.set(u,!0),(n||(n=[])).push(r)}}}function E(t){return t.buildOrder||function(t){var r=x(t,t.rootNames.map((function(e){return b(t,e)})));t.resolvedConfigFilePaths.clear();var n=new e.Map(d(r).map((function(e){return[h(t,e),!0]}))),i={onDeleteValue:e.noop};return e.mutateMapSkippingNewValues(t.configFileCache,n,i),e.mutateMapSkippingNewValues(t.projectStatus,n,i),e.mutateMapSkippingNewValues(t.buildInfoChecked,n,i),e.mutateMapSkippingNewValues(t.builderPrograms,n,i),e.mutateMapSkippingNewValues(t.diagnostics,n,i),e.mutateMapSkippingNewValues(t.projectPendingBuild,n,i),e.mutateMapSkippingNewValues(t.projectErrorsReported,n,i),t.watch&&(e.mutateMapSkippingNewValues(t.allWatchedConfigFiles,n,{onDeleteValue:e.closeFileWatcher}),t.allWatchedExtendedConfigFiles.forEach((function(e){e.projects.forEach((function(t){n.has(t)||e.projects.delete(t)})),e.close()})),e.mutateMapSkippingNewValues(t.allWatchedWildcardDirectories,n,{onDeleteValue:function(t){return t.forEach(e.closeFileWatcherOf)}}),e.mutateMapSkippingNewValues(t.allWatchedInputFiles,n,{onDeleteValue:function(t){return t.forEach(e.closeFileWatcher)}}),e.mutateMapSkippingNewValues(t.allWatchedPackageJsonFiles,n,{onDeleteValue:function(t){return t.forEach(e.closeFileWatcher)}})),t.buildOrder=r}(t)}function S(t,r,n){var i=r&&b(t,r),a=E(t);if(p(a))return a;if(i){var o=h(t,i);if(-1===e.findIndex(a,(function(e){return h(t,e)===o})))return}var s=i?x(t,[i]):a;return e.Debug.assert(!p(s)),e.Debug.assert(!n||void 0!==i),e.Debug.assert(!n||s[s.length-1]===i),n?s.slice(0,s.length-1):s}function C(t){t.cache&&T(t);var r=t.compilerHost,n=t.host,i=t.readFileWithCache,o=r.getSourceFile,s=e.changeCompilerHostLikeToUseCache(n,(function(e){return g(t,e)}),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.call.apply(o,a([r],e,!1))})),c=s.originalReadFile,u=s.originalFileExists,l=s.originalDirectoryExists,p=s.originalCreateDirectory,d=s.originalWriteFile,f=s.getSourceFileWithCache,_=s.readFileWithCache;t.readFileWithCache=_,r.getSourceFile=f,t.cache={originalReadFile:c,originalFileExists:u,originalDirectoryExists:l,originalCreateDirectory:p,originalWriteFile:d,originalReadFileWithCache:i,originalGetSourceFile:o}}function T(e){if(e.cache){var t=e.cache,r=e.host,n=e.compilerHost,i=e.extendedConfigCache,a=e.moduleResolutionCache,o=e.typeReferenceDirectiveResolutionCache;r.readFile=t.originalReadFile,r.fileExists=t.originalFileExists,r.directoryExists=t.originalDirectoryExists,r.createDirectory=t.originalCreateDirectory,r.writeFile=t.originalWriteFile,n.getSourceFile=t.originalGetSourceFile,e.readFileWithCache=t.originalReadFileWithCache,i.clear(),null==a||a.clear(),null==o||o.clear(),e.cache=void 0}}function k(e,t){e.projectStatus.delete(t),e.diagnostics.delete(t)}function A(e,t,r){var n=e.projectPendingBuild,i=n.get(t);(void 0===i||i<r)&&n.set(t,r)}function N(t,r){t.allProjectBuildPending&&(t.allProjectBuildPending=!1,t.options.watch&&ne(t,e.Diagnostics.Starting_compilation_in_watch_mode),C(t),d(E(t)).forEach((function(r){return t.projectPendingBuild.set(h(t,r),e.ConfigFileProgramReloadLevel.None)})),r&&r.throwIfCancellationRequested())}function P(t,r){return t.projectPendingBuild.delete(r),t.currentInvalidatedProject=void 0,t.diagnostics.has(r)?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:e.ExitStatus.Success}function F(e,t,r,i,a){var o=!0;return{kind:n.UpdateOutputFileStamps,project:t,projectPath:r,buildOrder:a,getCompilerOptions:function(){return i.options},getCurrentDirectory:function(){return e.currentDirectory},updateOutputFileStatmps:function(){J(e,i,r),o=!1},done:function(){return o&&J(e,i,r),P(e,r)}}}function w(r,c,p,d,f,_,m){var y,v,x,E=r===n.Build?i.CreateProgram:i.EmitBundle;return r===n.Build?{kind:r,project:p,projectPath:d,buildOrder:m,getCompilerOptions:function(){return _.options},getCurrentDirectory:function(){return c.currentDirectory},getBuilderProgram:function(){return C(e.identity)},getProgram:function(){return C((function(e){return e.getProgramOrUndefined()}))},getSourceFile:function(e){return C((function(t){return t.getSourceFile(e)}))},getSourceFiles:function(){return T((function(e){return e.getSourceFiles()}))},getOptionsDiagnostics:function(e){return T((function(t){return t.getOptionsDiagnostics(e)}))},getGlobalDiagnostics:function(e){return T((function(t){return t.getGlobalDiagnostics(e)}))},getConfigFileParsingDiagnostics:function(){return T((function(e){return e.getConfigFileParsingDiagnostics()}))},getSyntacticDiagnostics:function(e,t){return T((function(r){return r.getSyntacticDiagnostics(e,t)}))},getAllDependencies:function(e){return T((function(t){return t.getAllDependencies(e)}))},getSemanticDiagnostics:function(e,t){return T((function(r){return r.getSemanticDiagnostics(e,t)}))},getSemanticDiagnosticsOfNextAffectedFile:function(e,t){return C((function(r){return r.getSemanticDiagnosticsOfNextAffectedFile&&r.getSemanticDiagnosticsOfNextAffectedFile(e,t)}))},emit:function(e,t,r,n,a){return e||n?C((function(i){var o,s;return i.emit(e,t,r,n,a||(null===(s=(o=c.host).getCustomTransformers)||void 0===s?void 0:s.call(o,p)))})):(J(i.SemanticDiagnostics,r),E===i.EmitBuildInfo?O(t,r):E===i.Emit?I(t,r,a):void 0)},done:S}:{kind:r,project:p,projectPath:d,buildOrder:m,getCompilerOptions:function(){return _.options},getCurrentDirectory:function(){return c.currentDirectory},emit:function(e,t){return E!==i.EmitBundle?x:j(e,t)},done:S};function S(e,t,r){return J(i.Done,e,t,r),P(c,d)}function C(e){return J(i.CreateProgram),y&&e(y)}function T(t){return C(t)||e.emptyArray}function k(){var r,n;if(e.Debug.assert(void 0===y),c.options.dry)return re(c,e.Diagnostics.A_non_dry_build_would_build_project_0,p),v=t.Success,void(E=i.QueueReferencingProjects);if(c.options.verbose&&re(c,e.Diagnostics.Building_project_0,p),0===_.fileNames.length)return ae(c,d,e.getConfigFileParsingDiagnostics(_)),v=t.None,void(E=i.QueueReferencingProjects);var a=c.host,o=c.compilerHost;c.projectCompilerOptions=_.options,null===(r=c.moduleResolutionCache)||void 0===r||r.update(_.options),null===(n=c.typeReferenceDirectiveResolutionCache)||void 0===n||n.update(_.options),y=a.createProgram(_.fileNames,_.options,o,function(t,r,n){var i=t.options,a=t.builderPrograms,o=t.compilerHost;if(!i.force)return a.get(r)||e.readBuilderProgram(n.options,o)}(c,d,_),e.getConfigFileParsingDiagnostics(_),_.projectReferences),c.watch&&(c.lastCachedPackageJsonLookups.set(d,c.moduleResolutionCache&&e.map(c.moduleResolutionCache.getPackageJsonInfoCache().entries(),(function(e){var t=e[0],r=e[1];return[c.host.realpath&&r?g(c,c.host.realpath(t)):t,r]}))),c.builderPrograms.set(d,y)),E++}function A(e,t,r){var n;e.length?(n=R(c,d,y,_,e,t,r),v=n.buildResult,E=n.step):E++}function N(r){e.Debug.assertIsDefined(y),A(a(a(a(a([],y.getConfigFileParsingDiagnostics(),!0),y.getOptionsDiagnostics(r),!0),y.getGlobalDiagnostics(r),!0),y.getSyntacticDiagnostics(void 0,r),!0),t.SyntaxErrors,"Syntactic")}function F(r){A(e.Debug.checkDefined(y).getSemanticDiagnostics(void 0,r),t.TypeErrors,"Semantic")}function I(r,n,a){var s,f,m;e.Debug.assertIsDefined(y),e.Debug.assert(E===i.Emit),y.backupState();var h,D=[],b=e.emitFilesAndReportErrors(y,(function(e){return(h||(h=[])).push(e)}),void 0,void 0,(function(e,t,r){return D.push({name:e,text:t,writeByteOrderMark:r})}),n,!1,a||(null===(m=(f=c.host).getCustomTransformers)||void 0===m?void 0:m.call(f,p))).emitResult;if(h)return y.restoreState(),s=R(c,d,y,_,h,t.DeclarationEmitErrors,"Declaration file"),v=s.buildResult,E=s.step,{emitSkipped:!0,diagnostics:b.diagnostics};var x=c.host,S=c.compilerHost,C=t.DeclarationOutputUnchanged,T=o,k=!1,A=e.createDiagnosticCollection(),N=new e.Map;return D.forEach((function(n){var i,a=n.name,o=n.text,s=n.writeByteOrderMark;!k&&l(a)&&(x.fileExists(a)&&c.readFileWithCache(a)===o?i=x.getModifiedTime(a):(C&=~t.DeclarationOutputUnchanged,k=!0)),N.set(g(c,a),a),e.writeFile(r?{writeFile:r}:S,A,a,o,s),void 0!==i&&(T=u(i,T))})),B(A,N,T,k,D.length?D[0].name:e.getFirstProjectOutput(_,!x.useCaseSensitiveFileNames()),C),b}function O(r,n){e.Debug.assertIsDefined(y),e.Debug.assert(E===i.EmitBuildInfo);var o=y.emitBuildInfo(r,n);return o.diagnostics.length&&(ie(c,o.diagnostics),c.diagnostics.set(d,a(a([],c.diagnostics.get(d),!0),o.diagnostics,!0)),v=t.EmitErrors&v),o.emittedFiles&&c.write&&o.emittedFiles.forEach((function(e){return L(c,_,e)})),M(c,y,_),E=i.QueueReferencingProjects,o}function B(r,n,a,o,u,l){var p,f=r.getDiagnostics();if(f.length)return p=R(c,d,y,_,f,t.EmitErrors,"Emit"),v=p.buildResult,E=p.step,f;c.write&&n.forEach((function(e){return L(c,_,e)}));var m=K(c,_,a,e.Diagnostics.Updating_unchanged_output_timestamps_of_project_0,n);return c.diagnostics.delete(d),c.projectStatus.set(d,{type:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:o?s:m,oldestOutputFileName:u}),M(c,y,_),E=i.QueueReferencingProjects,v=l,f}function j(a,s){var u,l;if(e.Debug.assert(r===n.UpdateBundle),c.options.dry)return re(c,e.Diagnostics.A_non_dry_build_would_update_output_of_project_0,p),v=t.Success,void(E=i.QueueReferencingProjects);c.options.verbose&&re(c,e.Diagnostics.Updating_output_of_project_0,p);var y=c.compilerHost;c.projectCompilerOptions=_.options;var S=e.emitUsingBuildInfo(_,y,(function(e){var t=b(c,e.path);return D(c,t,h(c,t))}),s||(null===(l=(u=c.host).getCustomTransformers)||void 0===l?void 0:l.call(u,p)));if(e.isString(S))return re(c,e.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,p,te(c,S)),E=i.BuildInvalidatedProjectOfBundle,x=w(n.Build,c,p,d,f,_,m);e.Debug.assert(!!S.length);var C=e.createDiagnosticCollection(),T=new e.Map;return S.forEach((function(t){var r=t.name,n=t.text,i=t.writeByteOrderMark;T.set(g(c,r),r),e.writeFile(a?{writeFile:a}:y,C,r,n,i)})),{emitSkipped:!1,diagnostics:B(C,T,o,!1,S[0].name,t.DeclarationOutputUnchanged)}}function J(t,r,n,a){for(;E<=t&&E<i.Done;){var o=E;switch(E){case i.CreateProgram:k();break;case i.SyntaxDiagnostics:N(r);break;case i.SemanticDiagnostics:F(r);break;case i.Emit:I(n,r,a);break;case i.EmitBuildInfo:O(n,r);break;case i.EmitBundle:j(n,a);break;case i.BuildInvalidatedProjectOfBundle:e.Debug.checkDefined(x).done(r,n,a),E=i.Done;break;case i.QueueReferencingProjects:U(c,p,d,f,_,m,e.Debug.checkDefined(v)),E++;break;case i.Done:default:e.assertType(E)}e.Debug.assert(E>o)}}}function I(t,r,n){var i=t.options;return!(r.type===e.UpToDateStatusType.OutOfDateWithPrepend&&!i.force&&0!==n.fileNames.length&&!e.getConfigFileParsingDiagnostics(n).length&&e.isIncrementalCompilation(n.options))}function O(t,r,i){if(t.projectPendingBuild.size&&!p(r)){if(t.currentInvalidatedProject)return e.arrayIsEqualTo(t.currentInvalidatedProject.buildOrder,r)?t.currentInvalidatedProject:void 0;for(var a=t.options,o=t.projectPendingBuild,s=0;s<r.length;s++){var c=r[s],u=h(t,c),l=t.projectPendingBuild.get(u);if(void 0!==l){i&&(i=!1,ce(t,r));var d=D(t,c,u);if(!d){oe(t,u),o.delete(u);continue}l===e.ConfigFileProgramReloadLevel.Full?($(t,c,u,d),Y(t,u,d),X(t,c,u,d),Q(t,c,u,d),Z(t,c,u,d)):l===e.ConfigFileProgramReloadLevel.Partial&&(d.fileNames=e.getFileNamesFromConfigSpecs(d.options.configFile.configFileSpecs,e.getDirectoryPath(c),d.options,t.parseConfigFileHost),e.updateErrorForNoInputFiles(d.fileNames,c,d.options.configFile.configFileSpecs,d.errors,e.canJsonReportNoInputFiles(d.raw)),Q(t,c,u,d),Z(t,c,u,d));var f=j(t,d,u);if(ue(t,c,f),!a.force){if(f.type===e.UpToDateStatusType.UpToDate){ae(t,u,e.getConfigFileParsingDiagnostics(d)),o.delete(u),a.dry&&re(t,e.Diagnostics.Project_0_is_up_to_date,c);continue}if(f.type===e.UpToDateStatusType.UpToDateWithUpstreamTypes)return ae(t,u,e.getConfigFileParsingDiagnostics(d)),F(t,c,u,d,r)}if(f.type===e.UpToDateStatusType.UpstreamBlocked){ae(t,u,e.getConfigFileParsingDiagnostics(d)),o.delete(u),a.verbose&&re(t,f.upstreamProjectBlocked?e.Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_was_not_built:e.Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_has_errors,c,f.upstreamProjectName);continue}if(f.type===e.UpToDateStatusType.ContainerOnly){ae(t,u,e.getConfigFileParsingDiagnostics(d)),o.delete(u);continue}return w(I(t,f,d)?n.Build:n.UpdateBundle,t,c,u,s,d,r)}}}}function L(e,t,r){var n=e.write;n&&t.options.listEmittedFiles&&n("TSFILE: ".concat(r))}function M(t,r,n){r?(r&&t.write&&e.listFiles(r,t.write),t.host.afterProgramEmitAndDiagnostics&&t.host.afterProgramEmitAndDiagnostics(r),r.releaseProgram()):t.host.afterEmitBundle&&t.host.afterEmitBundle(n),t.projectCompilerOptions=t.baseCompilerOptions}function R(r,n,a,o,s,c,u){var l=!(c&t.SyntaxErrors)&&a&&!e.outFile(a.getCompilerOptions());return ae(r,n,s),r.projectStatus.set(n,{type:e.UpToDateStatusType.Unbuildable,reason:"".concat(u," errors")}),l?{buildResult:c,step:i.EmitBuildInfo}:(M(r,a,o),{buildResult:c,step:i.QueueReferencingProjects})}function B(t,r,n,i){if(n<e.getModifiedTime(t.host,r))return{type:e.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:i,newerInputFileName:r}}function j(t,r,n){if(void 0===r)return{type:e.UpToDateStatusType.Unbuildable,reason:"File deleted mid-build"};var i=t.projectStatus.get(n);if(void 0!==i)return i;var a=function(t,r,n){for(var i=!!t.options.force,a=void 0,c=o,p=t.host,d=0,f=r.fileNames;d<f.length;d++){var _=f[d];if(!p.fileExists(_))return{type:e.UpToDateStatusType.Unbuildable,reason:"".concat(_," does not exist")};if(!i){var m=e.getModifiedTime(p,_);m>c&&(a=_,c=m)}}if(!r.fileNames.length&&!e.canJsonReportNoInputFiles(r.raw))return{type:e.UpToDateStatusType.ContainerOnly};var g,y=e.getAllProjectOutputs(r,!p.useCaseSensitiveFileNames()),v="(none)",b=s,x="(none)",E=o,S=o,C=!1;if(!i)for(var T=0,k=y;T<k.length;T++){var A=k[T];if(!p.fileExists(A)){g=A;break}var N=e.getModifiedTime(p,A);if(N<b&&(b=N,v=A),N<c){C=!0;break}N>E&&(E=N,x=A),l(A)&&(S=u(S,e.getModifiedTime(p,A)))}var P,F=!1,w=!1;if(r.projectReferences){t.projectStatus.set(n,{type:e.UpToDateStatusType.ComputingUpstream});for(var I=0,O=r.projectReferences;I<O.length;I++){var L=O[I];w=w||!!L.prepend;var M=e.resolveProjectReferencePath(L),R=h(t,M),K=j(t,D(t,M,R),R);if(K.type!==e.UpToDateStatusType.ComputingUpstream&&K.type!==e.UpToDateStatusType.ContainerOnly){if(K.type===e.UpToDateStatusType.Unbuildable||K.type===e.UpToDateStatusType.UpstreamBlocked)return{type:e.UpToDateStatusType.UpstreamBlocked,upstreamProjectName:L.path,upstreamProjectBlocked:K.type===e.UpToDateStatusType.UpstreamBlocked};if(K.type!==e.UpToDateStatusType.UpToDate)return{type:e.UpToDateStatusType.UpstreamOutOfDate,upstreamProjectName:L.path};if(!i&&!g){if(K.newestInputFileTime&&K.newestInputFileTime<=b)continue;if(K.newestDeclarationFileContentChangedTime&&K.newestDeclarationFileContentChangedTime<=b){F=!0,P=L.path;continue}return e.Debug.assert(void 0!==v,"Should have an oldest output filename here"),{type:e.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:v,newerProjectName:L.path}}}}}if(void 0!==g)return{type:e.UpToDateStatusType.OutputMissing,missingOutputFileName:g};if(C)return{type:e.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:v,newerInputFileName:a};var J=B(t,r.options.configFilePath,b,v);if(J)return J;var U=e.forEach(r.options.configFile.extendedSourceFiles||e.emptyArray,(function(e){return B(t,e,b,v)}));if(U)return U;var q=e.forEach(t.lastCachedPackageJsonLookups.get(n)||e.emptyArray,(function(e){var r=e[0];return B(t,r,b,v)}));if(q)return q;if(!i&&!t.buildInfoChecked.has(n)){t.buildInfoChecked.set(n,!0);var V=e.getTsBuildInfoEmitOutputFilePath(r.options);if(V){var z=t.readFileWithCache(V),W=z&&e.getBuildInfo(z);if(W&&(W.bundle||W.program)&&W.version!==e.version)return{type:e.UpToDateStatusType.TsVersionOutputOfDate,version:W.version}}}return w&&F?{type:e.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:v,newerProjectName:P}:{type:F?e.UpToDateStatusType.UpToDateWithUpstreamTypes:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:S,newestInputFileTime:c,newestOutputFileTime:E,newestInputFileName:a,newestOutputFileName:x,oldestOutputFileName:v}}(t,r,n);return t.projectStatus.set(n,a),a}function K(t,r,n,i,a){if(r.options.noEmit)return n;var o=t.host,s=e.getAllProjectOutputs(r,!o.useCaseSensitiveFileNames());if(!a||s.length!==a.size)for(var c=!!t.options.verbose,p=o.now?o.now():new Date,d=0,f=s;d<f.length;d++){var _=f[d];a&&a.has(g(t,_))||(c&&(c=!1,re(t,i,r.options.configFilePath)),l(_)&&(n=u(n,e.getModifiedTime(o,_))),o.setModifiedTime(_,p))}return n}function J(t,r,n){if(t.options.dry)return re(t,e.Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0,r.options.configFilePath);var i=K(t,r,o,e.Diagnostics.Updating_output_timestamps_of_project_0);t.projectStatus.set(n,{type:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:i,oldestOutputFileName:e.getFirstProjectOutput(r,!t.host.useCaseSensitiveFileNames())})}function U(r,n,i,a,o,s,c){if(!(c&t.AnyErrors)&&o.options.composite)for(var u=a+1;u<s.length;u++){var l=s[u],p=h(r,l);if(!r.projectPendingBuild.has(p)){var d=D(r,l,p);if(d&&d.projectReferences)for(var f=0,_=d.projectReferences;f<_.length;f++){var m=_[f];if(h(r,b(r,m.path))===i){var g=r.projectStatus.get(p);if(g)switch(g.type){case e.UpToDateStatusType.UpToDate:if(c&t.DeclarationOutputUnchanged){m.prepend?r.projectStatus.set(p,{type:e.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:g.oldestOutputFileName,newerProjectName:n}):g.type=e.UpToDateStatusType.UpToDateWithUpstreamTypes;break}case e.UpToDateStatusType.UpToDateWithUpstreamTypes:case e.UpToDateStatusType.OutOfDateWithPrepend:c&t.DeclarationOutputUnchanged||r.projectStatus.set(p,{type:e.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:g.type===e.UpToDateStatusType.OutOfDateWithPrepend?g.outOfDateOutputFileName:g.oldestOutputFileName,newerProjectName:n});break;case e.UpToDateStatusType.UpstreamBlocked:h(r,b(r,g.upstreamProjectName))===i&&k(r,p)}A(r,p,e.ConfigFileProgramReloadLevel.None);break}}}}}function q(t,r,n,i,a,o){var s=S(t,r,o);if(!s)return e.ExitStatus.InvalidProject_OutputsSkipped;N(t,n);for(var c=!0,u=0;;){var l=O(t,s,c);if(!l)break;c=!1,l.done(n,i,null==a?void 0:a(l.project)),t.diagnostics.has(l.projectPath)||u++}return T(t),se(t,s),function(e,t){if(e.watchAllProjectsPending){e.watchAllProjectsPending=!1;for(var r=0,n=d(t);r<n.length;r++){var i=n[r],a=h(e,i),o=D(e,i,a);$(e,i,a,o),Y(e,a,o),o&&(X(e,i,a,o),Q(e,i,a,o),Z(e,i,a,o))}}}(t,s),p(s)?e.ExitStatus.ProjectReferenceCycle_OutputsSkipped:s.some((function(e){return t.diagnostics.has(h(t,e))}))?u?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.DiagnosticsPresent_OutputsSkipped:e.ExitStatus.Success}function V(t,r,n){var i=S(t,r,n);if(!i)return e.ExitStatus.InvalidProject_OutputsSkipped;if(p(i))return ie(t,i.circularDiagnostics),e.ExitStatus.ProjectReferenceCycle_OutputsSkipped;for(var a=t.options,o=t.host,s=a.dry?[]:void 0,c=0,u=i;c<u.length;c++){var l=u[c],d=h(t,l),f=D(t,l,d);if(void 0!==f){var _=e.getAllProjectOutputs(f,!o.useCaseSensitiveFileNames());if(_.length)for(var m=new e.Set(f.fileNames.map((function(e){return g(t,e)}))),y=0,v=_;y<v.length;y++){var b=v[y];m.has(g(t,b))||o.fileExists(b)&&(s?s.push(b):(o.deleteFile(b),z(t,d,e.ConfigFileProgramReloadLevel.None)))}}else oe(t,d)}return s&&re(t,e.Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0,s.map((function(e){return"\r\n * ".concat(e)})).join("")),e.ExitStatus.Success}function z(t,r,n){t.host.getParsedCommandLine&&n===e.ConfigFileProgramReloadLevel.Partial&&(n=e.ConfigFileProgramReloadLevel.Full),n===e.ConfigFileProgramReloadLevel.Full&&(t.configFileCache.delete(r),t.buildOrder=void 0),t.needsSummary=!0,k(t,r),A(t,r,n),C(t)}function W(e,t,r){e.reportFileChangeDetected=!0,z(e,t,r),H(e)}function H(e){var t=e.hostWithWatch;!t.setTimeout||!t.clearTimeout||(e.timerToBuildInvalidatedProject&&t.clearTimeout(e.timerToBuildInvalidatedProject),e.timerToBuildInvalidatedProject=t.setTimeout(G,250,e))}function G(t){t.timerToBuildInvalidatedProject=void 0,t.reportFileChangeDetected&&(t.reportFileChangeDetected=!1,t.projectErrorsReported.clear(),ne(t,e.Diagnostics.File_change_detected_Starting_incremental_compilation));var r=E(t),n=O(t,r,!1);n&&(n.done(),t.projectPendingBuild.size)?t.watch&&!t.timerToBuildInvalidatedProject&&H(t):(T(t),se(t,r))}function $(t,r,n,i){!t.watch||t.allWatchedConfigFiles.has(n)||t.allWatchedConfigFiles.set(n,t.watchFile(r,(function(){W(t,n,e.ConfigFileProgramReloadLevel.Full)}),e.PollingInterval.High,null==i?void 0:i.watchOptions,e.WatchType.ConfigFile,r))}function Y(t,r,n){e.updateSharedExtendedConfigFileWatcher(r,null==n?void 0:n.options,t.allWatchedExtendedConfigFiles,(function(r,i){return t.watchFile(r,(function(){var r;return null===(r=t.allWatchedExtendedConfigFiles.get(i))||void 0===r?void 0:r.projects.forEach((function(r){return W(t,r,e.ConfigFileProgramReloadLevel.Full)}))}),e.PollingInterval.High,null==n?void 0:n.watchOptions,e.WatchType.ExtendedConfigFile)}),(function(e){return g(t,e)}))}function X(t,r,n,i){!t.watch||e.updateWatchingWildcardDirectories(c(t.allWatchedWildcardDirectories,n),new e.Map(e.getEntries(i.wildcardDirectories)),(function(a,o){return t.watchDirectory(a,(function(o){var s;e.isIgnoredFileFromWildCardWatching({watchedDirPath:g(t,a),fileOrDirectory:o,fileOrDirectoryPath:g(t,o),configFileName:r,currentDirectory:t.currentDirectory,options:i.options,program:t.builderPrograms.get(n)||(null===(s=v(t,n))||void 0===s?void 0:s.fileNames),useCaseSensitiveFileNames:t.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:function(e){return t.writeLog(e)},toPath:function(e){return g(t,e)}})||W(t,n,e.ConfigFileProgramReloadLevel.Partial)}),o,null==i?void 0:i.watchOptions,e.WatchType.WildcardDirectory,r)}))}function Q(t,r,n,i){!t.watch||e.mutateMap(c(t.allWatchedInputFiles,n),e.arrayToMap(i.fileNames,(function(e){return g(t,e)})),{createNewValue:function(a,o){return t.watchFile(o,(function(){return W(t,n,e.ConfigFileProgramReloadLevel.None)}),e.PollingInterval.Low,null==i?void 0:i.watchOptions,e.WatchType.SourceFile,r)},onDeleteValue:e.closeFileWatcher})}function Z(t,r,n,i){!t.watch||!t.lastCachedPackageJsonLookups||e.mutateMap(c(t.allWatchedPackageJsonFiles,n),new e.Map(t.lastCachedPackageJsonLookups.get(n)),{createNewValue:function(a,o){return t.watchFile(a,(function(){return W(t,n,e.ConfigFileProgramReloadLevel.Full)}),e.PollingInterval.High,null==i?void 0:i.watchOptions,e.WatchType.PackageJson,r)},onDeleteValue:e.closeFileWatcher})}function ee(t,r,n,i,a){var o=m(t,r,n,i,a);return{build:function(e,t,r,n){return q(o,e,t,r,n)},clean:function(e){return V(o,e)},buildReferences:function(e,t,r,n){return q(o,e,t,r,n,!0)},cleanReferences:function(e){return V(o,e,!0)},getNextInvalidatedProject:function(e){return N(o,e),O(o,E(o),!1)},getBuildOrder:function(){return E(o)},getUpToDateStatusOfProject:function(e){var t=b(o,e),r=h(o,t);return j(o,D(o,t,r),r)},invalidateProject:function(t,r){return z(o,t,r||e.ConfigFileProgramReloadLevel.None)},buildNextInvalidatedProject:function(){return G(o)},getAllParsedConfigs:function(){return e.arrayFrom(e.mapDefinedIterator(o.configFileCache.values(),(function(e){return y(e)?e:void 0})))},close:function(){return function(t){e.clearMap(t.allWatchedConfigFiles,e.closeFileWatcher),e.clearMap(t.allWatchedExtendedConfigFiles,e.closeFileWatcherOf),e.clearMap(t.allWatchedWildcardDirectories,(function(t){return e.clearMap(t,e.closeFileWatcherOf)})),e.clearMap(t.allWatchedInputFiles,(function(t){return e.clearMap(t,e.closeFileWatcher)})),e.clearMap(t.allWatchedPackageJsonFiles,(function(t){return e.clearMap(t,e.closeFileWatcher)}))}(o)}}}function te(t,r){return e.convertToRelativePath(r,t.currentDirectory,(function(e){return t.getCanonicalFileName(e)}))}function re(t,r){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];t.host.reportSolutionBuilderStatus(e.createCompilerDiagnostic.apply(void 0,a([r],n,!1)))}function ne(t,r){for(var n,i,o=[],s=2;s<arguments.length;s++)o[s-2]=arguments[s];null===(i=(n=t.hostWithWatch).onWatchStatusChange)||void 0===i||i.call(n,e.createCompilerDiagnostic.apply(void 0,a([r],o,!1)),t.host.getNewLine(),t.baseCompilerOptions)}function ie(e,t){var r=e.host;t.forEach((function(e){return r.reportDiagnostic(e)}))}function ae(e,t,r){ie(e,r),e.projectErrorsReported.set(t,!0),r.length&&e.diagnostics.set(t,r)}function oe(e,t){ae(e,t,[e.configFileCache.get(t)])}function se(t,r){if(t.needsSummary){t.needsSummary=!1;var n=t.watch||!!t.host.reportErrorSummary,i=t.diagnostics,o=0,s=[];p(r)?(ce(t,r.buildOrder),ie(t,r.circularDiagnostics),n&&(o+=e.getErrorCountForSummary(r.circularDiagnostics)),n&&(s=a(a([],s,!0),e.getFilesInErrorForSummary(r.circularDiagnostics),!0))):(r.forEach((function(r){var n=h(t,r);t.projectErrorsReported.has(n)||ie(t,i.get(n)||e.emptyArray)})),n&&i.forEach((function(t){return o+=e.getErrorCountForSummary(t)})),n&&i.forEach((function(t){return a(a([],s,!0),e.getFilesInErrorForSummary(t),!0)}))),t.watch?ne(t,e.getWatchErrorSummaryDiagnosticMessage(o),o):t.host.reportErrorSummary&&t.host.reportErrorSummary(o,s)}}function ce(t,r){t.options.verbose&&re(t,e.Diagnostics.Projects_in_this_build_Colon_0,r.map((function(e){return"\r\n * "+te(t,e)})).join(""))}function ue(t,r,n){t.options.verbose&&function(t,r,n){if(t.options.force&&(n.type===e.UpToDateStatusType.UpToDate||n.type===e.UpToDateStatusType.UpToDateWithUpstreamTypes))return re(t,e.Diagnostics.Project_0_is_being_forcibly_rebuilt,te(t,r));switch(n.type){case e.UpToDateStatusType.OutOfDateWithSelf:return re(t,e.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,te(t,r),te(t,n.outOfDateOutputFileName),te(t,n.newerInputFileName));case e.UpToDateStatusType.OutOfDateWithUpstream:return re(t,e.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,te(t,r),te(t,n.outOfDateOutputFileName),te(t,n.newerProjectName));case e.UpToDateStatusType.OutputMissing:return re(t,e.Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist,te(t,r),te(t,n.missingOutputFileName));case e.UpToDateStatusType.UpToDate:if(void 0!==n.newestInputFileTime)return re(t,e.Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2,te(t,r),te(t,n.newestInputFileName||""),te(t,n.oldestOutputFileName||""));break;case e.UpToDateStatusType.OutOfDateWithPrepend:return re(t,e.Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,te(t,r),te(t,n.newerProjectName));case e.UpToDateStatusType.UpToDateWithUpstreamTypes:return re(t,e.Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,te(t,r));case e.UpToDateStatusType.UpstreamOutOfDate:return re(t,e.Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,te(t,r),te(t,n.upstreamProjectName));case e.UpToDateStatusType.UpstreamBlocked:return re(t,n.upstreamProjectBlocked?e.Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:e.Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors,te(t,r),te(t,n.upstreamProjectName));case e.UpToDateStatusType.Unbuildable:return re(t,e.Diagnostics.Failed_to_parse_file_0_Colon_1,te(t,r),n.reason);case e.UpToDateStatusType.TsVersionOutputOfDate:return re(t,e.Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,te(t,r),n.version,e.version);case e.UpToDateStatusType.ContainerOnly:case e.UpToDateStatusType.ComputingUpstream:break;default:e.assertType(n)}}(t,r,n)}(r=t||(t={}))[r.None=0]="None",r[r.Success=1]="Success",r[r.DeclarationOutputUnchanged=2]="DeclarationOutputUnchanged",r[r.ConfigFileErrors=4]="ConfigFileErrors",r[r.SyntaxErrors=8]="SyntaxErrors",r[r.TypeErrors=16]="TypeErrors",r[r.DeclarationEmitErrors=32]="DeclarationEmitErrors",r[r.EmitErrors=64]="EmitErrors",r[r.AnyErrors=124]="AnyErrors",e.isCircularBuildOrder=p,e.getBuildOrderFromAnyBuildOrder=d,e.createBuilderStatusReporter=f,e.createSolutionBuilderHost=function(t,r,n,i,a){void 0===t&&(t=e.sys);var o=_(t,r,n,i);return o.reportErrorSummary=a,o},e.createSolutionBuilderWithWatchHost=function(t,r,n,i,a){void 0===t&&(t=e.sys);var o=_(t,r,n,i),s=e.createWatchHost(t,a);return e.copyProperties(o,s),o},e.createSolutionBuilder=function(e,t,r){return ee(!1,e,t,r)},e.createSolutionBuilderWithWatch=function(e,t,r,n){return ee(!0,e,t,r,n)},function(e){e[e.Build=0]="Build",e[e.UpdateBundle=1]="UpdateBundle",e[e.UpdateOutputFileStamps=2]="UpdateOutputFileStamps"}(n=e.InvalidatedProjectKind||(e.InvalidatedProjectKind={})),function(e){e[e.CreateProgram=0]="CreateProgram",e[e.SyntaxDiagnostics=1]="SyntaxDiagnostics",e[e.SemanticDiagnostics=2]="SemanticDiagnostics",e[e.Emit=3]="Emit",e[e.EmitBundle=4]="EmitBundle",e[e.EmitBuildInfo=5]="EmitBuildInfo",e[e.BuildInvalidatedProjectOfBundle=6]="BuildInvalidatedProjectOfBundle",e[e.QueueReferencingProjects=7]="QueueReferencingProjects",e[e.Done=8]="Done"}(i||(i={}))}(n||(n={})),function(e){var t,r;(t=e.server||(e.server={})).ActionSet="action::set",t.ActionInvalidate="action::invalidate",t.ActionPackageInstalled="action::packageInstalled",t.EventTypesRegistry="event::typesRegistry",t.EventBeginInstallTypes="event::beginInstallTypes",t.EventEndInstallTypes="event::endInstallTypes",t.EventInitializationFailed="event::initializationFailed",(r=t.Arguments||(t.Arguments={})).GlobalCacheLocation="--globalTypingsCacheLocation",r.LogFile="--logFile",r.EnableTelemetry="--enableTelemetry",r.TypingSafeListLocation="--typingSafeListLocation",r.TypesMapLocation="--typesMapLocation",r.NpmLocation="--npmLocation",r.ValidateDefaultNpmLocation="--validateDefaultNpmLocation",t.hasArgument=function(t){return e.sys.args.indexOf(t)>=0},t.findArgument=function(t){var r=e.sys.args.indexOf(t);return r>=0&&r<e.sys.args.length-1?e.sys.args[r+1]:void 0},t.nowString=function(){var t=new Date;return"".concat(e.padLeft(t.getHours().toString(),2,"0"),":").concat(e.padLeft(t.getMinutes().toString(),2,"0"),":").concat(e.padLeft(t.getSeconds().toString(),2,"0"),".").concat(e.padLeft(t.getMilliseconds().toString(),3,"0"))}}(n||(n={})),function(e){!function(t){function r(t,r){return new e.Version(e.getProperty(r,"ts".concat(e.versionMajorMinor))||e.getProperty(r,"latest")).compareTo(t.version)<=0}t.isTypingUpToDate=r;var n,i=["assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","https","http2","inspector","module","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","string_decoder","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib"];function o(e){return t.nodeCoreModules.has(e)?"node":e}t.prefixedNodeCoreModuleList=i.map((function(e){return"node:".concat(e)})),t.nodeCoreModuleList=a(a([],i,!0),t.prefixedNodeCoreModuleList,!0),t.nodeCoreModules=new e.Set(t.nodeCoreModuleList),t.nonRelativeModuleNameForTypingCache=o,t.loadSafeList=function(t,r){var n=e.readConfigFile(r,(function(e){return t.readFile(e)}));return new e.Map(e.getEntries(n.config))},t.loadTypesMap=function(t,r){var n=e.readConfigFile(r,(function(e){return t.readFile(e)}));if(n.config)return new e.Map(e.getEntries(n.config.simpleMap))},t.discoverTypings=function(t,n,i,a,s,c,u,l,p){if(!u||!u.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};var d=new e.Map;i=e.mapDefined(i,(function(t){var r=e.normalizePath(t);if(e.hasJSFileExtension(r))return r}));var f=[];u.include&&C(u.include,"Explicitly included types");var _,m,g=u.exclude||[],h=new e.Set(i.map(e.getDirectoryPath));h.add(a),h.forEach((function(e){T(e,"bower.json","bower_components",f),T(e,"package.json","node_modules",f)})),u.disableFilenameBasedTypeAcquisition||(_=i,(m=e.mapDefined(_,(function(t){if(e.hasJSFileExtension(t)){var r=e.removeFileExtension(e.getBaseFileName(t.toLowerCase())),n=e.removeMinAndVersionNumbers(r);return s.get(n)}}))).length&&C(m,"Inferred typings from file names"),e.some(_,(function(t){return e.fileExtensionIs(t,".jsx")}))&&(n&&n("Inferred 'react' typings due to presence of '.jsx' extension"),S("react"))),l&&C(e.deduplicate(l.map(o),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive),"Inferred typings from unresolved imports"),c.forEach((function(e,t){var n=p.get(t);d.has(t)&&void 0===d.get(t)&&void 0!==n&&r(e,n)&&d.set(t,e.typingLocation)}));for(var y=0,v=g;y<v.length;y++){var D=v[y];d.delete(D)&&n&&n("Typing for ".concat(D," is in exclude list, will be ignored."))}var b=[],x=[];d.forEach((function(e,t){void 0!==e?x.push(e):b.push(t)}));var E={cachedTypingPaths:x,newTypingNames:b,filesToWatch:f};return n&&n("Result: ".concat(JSON.stringify(E))),E;function S(e){d.has(e)||d.set(e,void 0)}function C(t,r){n&&n("".concat(r,": ").concat(JSON.stringify(t))),e.forEach(t,S)}function T(r,i,a,o){var s,c,u=e.combinePaths(r,i);t.fileExists(u)&&(o.push(u),s=e.readConfigFile(u,(function(e){return t.readFile(e)})).config,C(c=e.flatMap([s.dependencies,s.devDependencies,s.optionalDependencies,s.peerDependencies],e.getOwnKeys),"Typing names in '".concat(u,"' dependencies")));var l=e.combinePaths(r,a);if(o.push(l),t.directoryExists(l)){var p=[],f=c?c.map((function(t){return e.combinePaths(l,t,i)})):t.readDirectory(l,[".json"],void 0,void 0,3).filter((function(t){if(e.getBaseFileName(t)!==i)return!1;var r=e.getPathComponents(e.normalizePath(t)),n="@"===r[r.length-3][0];return n&&r[r.length-4].toLowerCase()===a||!n&&r[r.length-3].toLowerCase()===a}));n&&n("Searching for typing names in ".concat(l,"; all files: ").concat(JSON.stringify(f)));for(var _=0,m=f;_<m.length;_++){var g=m[_],h=e.normalizePath(g),y=e.readConfigFile(h,(function(e){return t.readFile(e)})).config;if(y.name){var v=y.types||y.typings;if(v){var D=e.getNormalizedAbsolutePath(v,e.getDirectoryPath(h));t.fileExists(D)?(n&&n(" Package '".concat(y.name,"' provides its own types.")),d.set(y.name,D)):n&&n(" Package '".concat(y.name,"' provides its own types but they are missing."))}else p.push(y.name)}}C(p," Found package names")}}},(n=t.NameValidationResult||(t.NameValidationResult={}))[n.Ok=0]="Ok",n[n.EmptyName=1]="EmptyName",n[n.NameTooLong=2]="NameTooLong",n[n.NameStartsWithDot=3]="NameStartsWithDot",n[n.NameStartsWithUnderscore=4]="NameStartsWithUnderscore",n[n.NameContainsNonURISafeCharacters=5]="NameContainsNonURISafeCharacters";function s(e,t){if(!e)return 1;if(e.length>214)return 2;if(46===e.charCodeAt(0))return 3;if(95===e.charCodeAt(0))return 4;if(t){var r=/^@([^/]+)\/([^/]+)$/.exec(e);if(r){var n=s(r[1],!1);if(0!==n)return{name:r[1],isScopeName:!0,result:n};var i=s(r[2],!1);return 0!==i?{name:r[2],isScopeName:!1,result:i}:0}}return encodeURIComponent(e)!==e?5:0}function c(t,r,n,i){var a=i?"Scope":"Package";switch(r){case 1:return"'".concat(t,"':: ").concat(a," name '").concat(n,"' cannot be empty");case 2:return"'".concat(t,"':: ").concat(a," name '").concat(n,"' should be less than ").concat(214," characters");case 3:return"'".concat(t,"':: ").concat(a," name '").concat(n,"' cannot start with '.'");case 4:return"'".concat(t,"':: ").concat(a," name '").concat(n,"' cannot start with '_'");case 5:return"'".concat(t,"':: ").concat(a," name '").concat(n,"' contains non URI safe characters");case 0:return e.Debug.fail();default:throw e.Debug.assertNever(r)}}t.validatePackageName=function(e){return s(e,!0)},t.renderPackageNameValidationFailure=function(e,t){return"object"==typeof e?c(t,e.result,e.name,e.isScopeName):c(t,e,t,!1)}}(e.JsTyping||(e.JsTyping={}))}(n||(n={})),function(e){var t,r,n;function i(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:r.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:n.Ignore,trimTrailingWhitespace:!0}}!function(e){var t=function(){function e(e){this.text=e}return e.prototype.getText=function(e,t){return 0===e&&t===this.text.length?this.text:this.text.substring(e,t)},e.prototype.getLength=function(){return this.text.length},e.prototype.getChangeRange=function(){},e}();e.fromString=function(e){return new t(e)}}(e.ScriptSnapshot||(e.ScriptSnapshot={})),(t=e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={}))[t.Dependencies=1]="Dependencies",t[t.DevDependencies=2]="DevDependencies",t[t.PeerDependencies=4]="PeerDependencies",t[t.OptionalDependencies=8]="OptionalDependencies",t[t.All=15]="All",function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Auto=2]="Auto"}(e.PackageJsonAutoImportPreference||(e.PackageJsonAutoImportPreference={})),function(e){e[e.Semantic=0]="Semantic",e[e.PartialSemantic=1]="PartialSemantic",e[e.Syntactic=2]="Syntactic"}(e.LanguageServiceMode||(e.LanguageServiceMode={})),e.emptyOptions={},function(e){e.Original="original",e.TwentyTwenty="2020"}(e.SemanticClassificationFormat||(e.SemanticClassificationFormat={})),function(e){e[e.Invoked=1]="Invoked",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions"}(e.CompletionTriggerKind||(e.CompletionTriggerKind={})),function(e){e.Type="Type",e.Parameter="Parameter",e.Enum="Enum"}(e.InlayHintKind||(e.InlayHintKind={})),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"}(r=e.IndentStyle||(e.IndentStyle={})),function(e){e.Ignore="ignore",e.Insert="insert",e.Remove="remove"}(n=e.SemicolonPreference||(e.SemicolonPreference={})),e.getDefaultFormatCodeSettings=i,e.testFormatSettings=i("\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[e.link=22]="link",e[e.linkName=23]="linkName",e[e.linkText=24]="linkText"}(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.link="link",e.linkName="link name",e.linkText="link text"}(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.deprecatedModifier="deprecated",e.dtsModifier=".d.ts",e.tsModifier=".ts",e.tsxModifier=".tsx",e.jsModifier=".js",e.jsxModifier=".jsx",e.jsonModifier=".json",e.dmtsModifier=".d.mts",e.mtsModifier=".mts",e.mjsModifier=".mjs",e.dctsModifier=".d.cts",e.ctsModifier=".cts",e.cjsModifier=".cjs"}(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={}))}(n||(n={})),function(e){var t;function r(t){switch(t.kind){case 253:return e.isInJSFile(t)&&e.getJSDocEnumTag(t)?7:1;case 163:case 202:case 166:case 165:case 294:case 295:case 168:case 167:case 170:case 171:case 172:case 255:case 212:case 213:case 291:case 284:return 1;case 162:case 257:case 258:case 181:return 2;case 343:return void 0===t.name?3:2;case 297:case 256:return 3;case 260:return e.isAmbientModule(t)||1===e.getModuleInstanceState(t)?5:4;case 259:case 268:case 269:case 264:case 265:case 270:case 271:return 7;case 303:return 5}return 7}function n(t){for(;160===t.parent.kind;)t=t.parent;return e.isInternalModuleImportEqualsDeclaration(t.parent)&&t.parent.moduleReference===t}function i(e){return e.expression}function a(e){return e.tag}function s(e){return e.tagName}function c(t,r,n,i,a){var o=i?l(t):u(t);return a&&(o=e.skipOuterExpressions(o)),!!o&&!!o.parent&&r(o.parent)&&n(o.parent)===o}function u(e){return f(e)?e.parent:e}function l(e){return f(e)||_(e)?e.parent:e}function p(t){var r;return e.isIdentifier(t)&&(null===(r=e.tryCast(t.parent,e.isBreakOrContinueStatement))||void 0===r?void 0:r.label)===t}function d(t){var r;return e.isIdentifier(t)&&(null===(r=e.tryCast(t.parent,e.isLabeledStatement))||void 0===r?void 0:r.label)===t}function f(t){var r;return(null===(r=e.tryCast(t.parent,e.isPropertyAccessExpression))||void 0===r?void 0:r.name)===t}function _(t){var r;return(null===(r=e.tryCast(t.parent,e.isElementAccessExpression))||void 0===r?void 0:r.argumentExpression)===t}e.scanner=e.createScanner(99,!0),(t=e.SemanticMeaning||(e.SemanticMeaning={}))[t.None=0]="None",t[t.Value=1]="Value",t[t.Type=2]="Type",t[t.Namespace=4]="Namespace",t[t.All=7]="All",e.getMeaningFromDeclaration=r,e.getMeaningFromLocation=function(t){var i=(t=w(t)).parent;return 303===t.kind?1:e.isExportAssignment(i)||e.isExportSpecifier(i)||e.isExternalModuleReference(i)||e.isImportSpecifier(i)||e.isImportClause(i)||e.isImportEqualsDeclaration(i)&&t===i.name?7:n(t)?function(t){var r=160===t.kind?t:e.isQualifiedName(t.parent)&&t.parent.right===t?t.parent:void 0;return r&&264===r.parent.kind?7:4}(t):e.isDeclarationName(t)?r(i):e.isEntityName(t)&&e.findAncestor(t,e.or(e.isJSDocNameReference,e.isJSDocLinkLike,e.isJSDocMemberName))?7:function(t){switch(e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),t.kind){case 108:return!e.isExpressionNode(t);case 191:return!0}switch(t.parent.kind){case 177:return!0;case 199:return!t.parent.isTypeOf;case 227:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)}return!1}(t)?2:function(e){return function(e){var t=e,r=!0;if(160===t.parent.kind){for(;t.parent&&160===t.parent.kind;)t=t.parent;r=t.right===e}return 177===t.parent.kind&&!r}(e)||function(e){var t=e,r=!0;if(205===t.parent.kind){for(;t.parent&&205===t.parent.kind;)t=t.parent;r=t.name===e}if(!r&&227===t.parent.kind&&290===t.parent.parent.kind){var n=t.parent.parent.parent;return 256===n.kind&&117===t.parent.parent.token||257===n.kind&&94===t.parent.parent.token}return!1}(e)}(t)?4:e.isTypeParameterDeclaration(i)?(e.Debug.assert(e.isJSDocTemplateTag(i.parent)),2):e.isLiteralTypeNode(i)?3:1},e.isInRightSideOfInternalImportEqualsDeclaration=n,e.isCallExpressionTarget=function(t,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),c(t,e.isCallExpression,i,r,n)},e.isNewExpressionTarget=function(t,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),c(t,e.isNewExpression,i,r,n)},e.isCallOrNewExpressionTarget=function(t,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),c(t,e.isCallOrNewExpression,i,r,n)},e.isTaggedTemplateTag=function(t,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),c(t,e.isTaggedTemplateExpression,a,r,n)},e.isDecoratorTarget=function(t,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),c(t,e.isDecorator,i,r,n)},e.isJsxOpeningLikeElementTagName=function(t,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),c(t,e.isJsxOpeningLikeElement,s,r,n)},e.climbPastPropertyAccess=u,e.climbPastPropertyOrElementAccess=l,e.getTargetLabel=function(e,t){for(;e;){if(249===e.kind&&e.label.escapedText===t)return e.label;e=e.parent}},e.hasPropertyAccessExpressionWithName=function(t,r){return!!e.isPropertyAccessExpression(t.expression)&&t.expression.name.text===r},e.isJumpStatementTarget=p,e.isLabelOfLabeledStatement=d,e.isLabelName=function(e){return d(e)||p(e)},e.isTagName=function(t){var r;return(null===(r=e.tryCast(t.parent,e.isJSDocTag))||void 0===r?void 0:r.tagName)===t},e.isRightSideOfQualifiedName=function(t){var r;return(null===(r=e.tryCast(t.parent,e.isQualifiedName))||void 0===r?void 0:r.right)===t},e.isRightSideOfPropertyAccess=f,e.isArgumentExpressionOfElementAccess=_,e.isNameOfModuleDeclaration=function(t){var r;return(null===(r=e.tryCast(t.parent,e.isModuleDeclaration))||void 0===r?void 0:r.name)===t},e.isNameOfFunctionDeclaration=function(t){var r;return e.isIdentifier(t)&&(null===(r=e.tryCast(t.parent,e.isFunctionLike))||void 0===r?void 0:r.name)===t},e.isLiteralNameOfPropertyDeclarationOrIndexAccess=function(t){switch(t.parent.kind){case 166:case 165:case 294:case 297:case 168:case 167:case 171:case 172:case 260:return e.getNameOfDeclaration(t.parent)===t;case 206:return t.parent.argumentExpression===t;case 161:return!0;case 195:return 193===t.parent.parent.kind;default:return!1}},e.isExpressionOfExternalModuleImportEqualsDeclaration=function(t){return e.isExternalModuleImportEqualsDeclaration(t.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(t.parent.parent)===t},e.getContainerNode=function(t){for(e.isJSDocTypeAlias(t)&&(t=t.parent.parent);;){if(!(t=t.parent))return;switch(t.kind){case 303:case 168:case 167:case 255:case 212:case 171:case 172:case 256:case 257:case 259:case 260:return t}}},e.getNodeKind=function t(r){switch(r.kind){case 303:return e.isExternalModule(r)?"module":"script";case 260:return"module";case 256:case 225:return"class";case 257:return"interface";case 258:case 336:case 343:return"type";case 259:return"enum";case 253:return c(r);case 202:return c(e.getRootDeclaration(r));case 213:case 255:case 212:return"function";case 171:return"getter";case 172:return"setter";case 168:case 167:return"method";case 294:var n=r.initializer;return e.isFunctionLike(n)?"method":"property";case 166:case 165:case 295:case 296:return"property";case 175:return"index";case 174:return"construct";case 173:return"call";case 170:case 169:return"constructor";case 162:return"type parameter";case 297:return"enum member";case 163:return e.hasSyntacticModifier(r,16476)?"property":"parameter";case 264:case 269:case 274:case 267:case 273:return"alias";case 220:var i=e.getAssignmentDeclarationKind(r),a=r.right;switch(i){case 7:case 8:case 9:case 0:return"";case 1:case 2:var o=t(a);return""===o?"const":o;case 3:case 5:return e.isFunctionExpression(a)?"method":"property";case 4:return"property";case 6:return"local class";default:return e.assertType(i),""}case 79:return e.isImportClause(r.parent)?"alias":"";case 270:var s=t(r.expression);return""===s?"const":s;default:return""}function c(t){return e.isVarConst(t)?"const":e.isLet(t)?"let":"var"}},e.isThis=function(t){switch(t.kind){case 108:return!0;case 79:return e.identifierIsThisKeyword(t)&&163===t.parent.kind;default:return!1}};var m=/^\/\/\/\s*</;function g(e,t){return y(e.pos,e.end,t)}function h(e,t){return e.pos<t&&t<e.end}function y(e,t,r){return e<=r.pos&&t>=r.end}function v(e,t,r,n){return Math.max(e,r)<Math.min(t,n)}function D(t,r){if(void 0===t||e.nodeIsMissing(t))return!1;switch(t.kind){case 256:case 257:case 259:case 204:case 200:case 181:case 234:case 261:case 262:case 268:case 272:return b(t,19,r);case 291:return D(t.block,r);case 208:if(!t.arguments)return!0;case 207:case 211:case 190:return b(t,21,r);case 178:case 179:return D(t.type,r);case 170:case 171:case 172:case 255:case 212:case 168:case 167:case 174:case 173:case 213:return t.body?D(t.body,r):t.type?D(t.type,r):x(t,21,r);case 260:return!!t.body&&D(t.body,r);case 238:return t.elseStatement?D(t.elseStatement,r):D(t.thenStatement,r);case 237:return D(t.expression,r)||x(t,26,r);case 203:case 201:case 206:case 161:case 183:return b(t,23,r);case 175:return t.type?D(t.type,r):x(t,23,r);case 288:case 289:return!1;case 241:case 242:case 243:case 240:return D(t.statement,r);case 239:return x(t,115,r)?b(t,21,r):D(t.statement,r);case 180:return D(t.exprName,r);case 215:case 214:case 216:case 223:case 224:return D(t.expression,r);case 209:return D(t.template,r);case 222:return D(e.lastOrUndefined(t.templateSpans),r);case 232:return e.nodeIsPresent(t.literal);case 271:case 265:return e.nodeIsPresent(t.moduleSpecifier);case 218:return D(t.operand,r);case 220:return D(t.right,r);case 221:return D(t.whenFalse,r);default:return!0}}function b(t,r,n){var i=t.getChildren(n);if(i.length){var a=e.last(i);if(a.kind===r)return!0;if(26===a.kind&&1!==i.length)return i[i.length-2].kind===r}return!1}function x(e,t,r){return!!E(e,t,r)}function E(t,r,n){return e.find(t.getChildren(n),(function(e){return e.kind===r}))}function S(t){var r=e.find(t.parent.getChildren(),(function(r){return e.isSyntaxList(r)&&g(r,t)}));return e.Debug.assert(!r||e.contains(r.getChildren(),t)),r}function C(e){return 88===e.kind}function T(e){return 84===e.kind}function k(e){return 98===e.kind}function A(t,r){if(!r)switch(t.kind){case 256:case 225:return function(t){if(e.isNamedDeclaration(t))return t.name;if(e.isClassDeclaration(t)){var r=t.modifiers&&e.find(t.modifiers,C);if(r)return r}if(e.isClassExpression(t)){var n=e.find(t.getChildren(),T);if(n)return n}}(t);case 255:case 212:return function(t){if(e.isNamedDeclaration(t))return t.name;if(e.isFunctionDeclaration(t)){var r=e.find(t.modifiers,C);if(r)return r}if(e.isFunctionExpression(t)){var n=e.find(t.getChildren(),k);if(n)return n}}(t)}if(e.isNamedDeclaration(t))return t.name}function N(t,r){if(t.importClause){if(t.importClause.name&&t.importClause.namedBindings)return;if(t.importClause.name)return t.importClause.name;if(t.importClause.namedBindings){if(e.isNamedImports(t.importClause.namedBindings)){var n=e.singleOrUndefined(t.importClause.namedBindings.elements);return n?n.name:void 0}if(e.isNamespaceImport(t.importClause.namedBindings))return t.importClause.namedBindings.name}}if(!r)return t.moduleSpecifier}function P(t,r){if(t.exportClause){if(e.isNamedExports(t.exportClause))return e.singleOrUndefined(t.exportClause.elements)?t.exportClause.elements[0].name:void 0;if(e.isNamespaceExport(t.exportClause))return t.exportClause.name}if(!r)return t.moduleSpecifier}function F(t,r){var n=t.parent;if((e.isModifier(t)&&(r||88!==t.kind)?e.contains(n.modifiers,t):84===t.kind?e.isClassDeclaration(n)||e.isClassExpression(t):98===t.kind?e.isFunctionDeclaration(n)||e.isFunctionExpression(t):118===t.kind?e.isInterfaceDeclaration(n):92===t.kind?e.isEnumDeclaration(n):151===t.kind?e.isTypeAliasDeclaration(n):142===t.kind||141===t.kind?e.isModuleDeclaration(n):100===t.kind?e.isImportEqualsDeclaration(n):136===t.kind?e.isGetAccessorDeclaration(n):148===t.kind&&e.isSetAccessorDeclaration(n))&&(a=A(n,r)))return a;if((113===t.kind||85===t.kind||119===t.kind)&&e.isVariableDeclarationList(n)&&1===n.declarations.length){var i=n.declarations[0];if(e.isIdentifier(i.name))return i.name}if(151===t.kind){if(e.isImportClause(n)&&n.isTypeOnly&&(a=N(n.parent,r)))return a;if(e.isExportDeclaration(n)&&n.isTypeOnly&&(a=P(n,r)))return a}if(127===t.kind){if(e.isImportSpecifier(n)&&n.propertyName||e.isExportSpecifier(n)&&n.propertyName||e.isNamespaceImport(n)||e.isNamespaceExport(n))return n.name;if(e.isExportDeclaration(n)&&n.exportClause&&e.isNamespaceExport(n.exportClause))return n.exportClause.name}if(100===t.kind&&e.isImportDeclaration(n)&&(a=N(n,r)))return a;if(93===t.kind){var a;if(e.isExportDeclaration(n)&&(a=P(n,r)))return a;if(e.isExportAssignment(n))return e.skipOuterExpressions(n.expression)}if(145===t.kind&&e.isExternalModuleReference(n))return n.expression;if(155===t.kind&&(e.isImportDeclaration(n)||e.isExportDeclaration(n))&&n.moduleSpecifier)return n.moduleSpecifier;if((94===t.kind||117===t.kind)&&e.isHeritageClause(n)&&n.token===t.kind&&(a=function(e){if(1===e.types.length)return e.types[0].expression}(n)))return a;if(94===t.kind){if(e.isTypeParameterDeclaration(n)&&n.constraint&&e.isTypeReferenceNode(n.constraint))return n.constraint.typeName;if(e.isConditionalTypeNode(n)&&e.isTypeReferenceNode(n.extendsType))return n.extendsType.typeName}if(137===t.kind&&e.isInferTypeNode(n))return n.typeParameter.name;if(101===t.kind&&e.isTypeParameterDeclaration(n)&&e.isMappedTypeNode(n.parent))return n.name;if(140===t.kind&&e.isTypeOperatorNode(n)&&140===n.operator&&e.isTypeReferenceNode(n.type))return n.type.typeName;if(144===t.kind&&e.isTypeOperatorNode(n)&&144===n.operator&&e.isArrayTypeNode(n.type)&&e.isTypeReferenceNode(n.type.elementType))return n.type.elementType.typeName;if(!r){if((103===t.kind&&e.isNewExpression(n)||114===t.kind&&e.isVoidExpression(n)||112===t.kind&&e.isTypeOfExpression(n)||132===t.kind&&e.isAwaitExpression(n)||125===t.kind&&e.isYieldExpression(n)||89===t.kind&&e.isDeleteExpression(n))&&n.expression)return e.skipOuterExpressions(n.expression);if((101===t.kind||102===t.kind)&&e.isBinaryExpression(n)&&n.operatorToken===t)return e.skipOuterExpressions(n.right);if(127===t.kind&&e.isAsExpression(n)&&e.isTypeReferenceNode(n.type))return n.type.typeName;if(101===t.kind&&e.isForInStatement(n)||159===t.kind&&e.isForOfStatement(n))return e.skipOuterExpressions(n.expression)}return t}function w(e){return F(e,!1)}function I(e,t,r){return L(e,t,!1,r,!1)}function O(e,t){return L(e,t,!0,void 0,!1)}function L(t,r,n,i,a){for(var o,s=t,c=function(){var a=s.getChildren(t),c=e.binarySearchKey(a,r,(function(e,t){return t}),(function(e,o){var s=n?a[e].getFullStart():a[e].getStart(t,!0);return s>r?1:l(a[e])?a[e-1]&&l(a[e-1])?1:0:i&&s===r&&a[e-1]&&a[e-1].getEnd()===r&&l(a[e-1])?1:-1}));return o?{value:o}:c>=0&&a[c]?(s=a[c],"continue-outer"):{value:s}};;){var u=c();if("object"==typeof u)return u.value}function l(e){if((n?e.getFullStart():e.getStart(t,!0))>r)return!1;var s=e.getEnd();if(r<s||r===s&&(1===e.kind||a))return!0;if(i&&s===r){var c=R(r,t,e);if(c&&i(c))return o=c,!0}return!1}}function M(t,r,n){return function r(i){return e.isToken(i)&&i.pos===t.end?i:e.firstDefined(i.getChildren(n),(function(e){return(e.pos<=t.pos&&e.end>t.end||e.pos===t.end)&&H(e,n)?r(e):void 0}))}(r)}function R(t,r,n,i){var a=function a(o){if(B(o)&&1!==o.kind)return o;var s=o.getChildren(r),c=e.binarySearchKey(s,t,(function(e,t){return t}),(function(e,r){return t<s[e].end?!s[e-1]||t>=s[e-1].end?0:1:-1}));if(c>=0&&s[c]){var u=s[c];if(t<u.end){if(u.getStart(r,!i)>=t||!H(u,r)||J(u)){var l=K(s,c,r,o.kind);return l&&j(l,r)}return a(u)}}e.Debug.assert(void 0!==n||303===o.kind||1===o.kind||e.isJSDocCommentContainingNode(o));var p=K(s,s.length,r,o.kind);return p&&j(p,r)}(n||r);return e.Debug.assert(!(a&&J(a))),a}function B(t){return e.isToken(t)&&!J(t)}function j(e,t){if(B(e))return e;var r=e.getChildren(t);if(0===r.length)return e;var n=K(r,r.length,t,e.kind);return n&&j(n,t)}function K(t,r,n,i){for(var a=r-1;a>=0;a--)if(J(t[a]))0===a&&(11===i||278===i)&&e.Debug.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(H(t[a],n))return t[a]}function J(t){return e.isJsxText(t)&&t.containsOnlyTriviaWhiteSpaces}function U(t,r,n){var i=e.tokenToString(t.kind),a=e.tokenToString(r),o=t.getFullStart(),s=n.text.lastIndexOf(a,o);if(-1!==s){if(n.text.lastIndexOf(i,o-1)<s){var c=R(s+1,n);if(c&&c.kind===r)return c}for(var u=t.kind,l=0;;){var p=R(t.getFullStart(),n);if(!p)return;if((t=p).kind===r){if(0===l)return t;l--}else t.kind===u&&l++}}}function q(e,t,r){return t?e.getNonNullableType():r?e.getNonOptionalType():e}function V(t,r,n){var i=n.getTypeAtLocation(t);return e.isOptionalChain(t.parent)&&(i=q(i,e.isOptionalChainRoot(t.parent),!0)),(e.isNewExpression(t.parent)?i.getConstructSignatures():i.getCallSignatures()).filter((function(e){return!!e.typeParameters&&e.typeParameters.length>=r}))}function z(t,r){if(-1!==r.text.lastIndexOf("<",t?t.pos:r.text.length))for(var n=t,i=0,a=0;n;){switch(n.kind){case 29:if((n=R(n.getFullStart(),r))&&28===n.kind&&(n=R(n.getFullStart(),r)),!n||!e.isIdentifier(n))return;if(!i)return e.isDeclarationName(n)?void 0:{called:n,nTypeArguments:a};i--;break;case 49:i=3;break;case 48:i=2;break;case 31:i++;break;case 19:if(!(n=U(n,18,r)))return;break;case 21:if(!(n=U(n,20,r)))return;break;case 23:if(!(n=U(n,22,r)))return;break;case 27:a++;break;case 38:case 79:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 140:case 24:case 51:case 57:case 58:break;default:if(e.isTypeNode(n))break;return}n=R(n.getFullStart(),r)}}function W(t,r,n){return e.formatting.getRangeOfEnclosingComment(t,r,void 0,n)}function H(e,t){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(t)}function G(e,t,r){var n=W(e,t,void 0);return!!n&&r===m.test(e.text.substring(n.pos,n.end))}function $(t,r,n){return e.createTextSpanFromBounds(t.getStart(r),(n||t).getEnd())}function Y(t){if(!t.isUnterminated)return e.createTextSpanFromBounds(t.getStart()+1,t.getEnd()-1)}function X(e,t){return{span:e,newText:t}}function Q(e){return 151===e.kind}function Z(t,r){return{fileExists:function(e){return t.fileExists(e)},getCurrentDirectory:function(){return r.getCurrentDirectory()},readFile:e.maybeBind(r,r.readFile),useCaseSensitiveFileNames:e.maybeBind(r,r.useCaseSensitiveFileNames),getSymlinkCache:e.maybeBind(r,r.getSymlinkCache)||t.getSymlinkCache,getModuleSpecifierCache:e.maybeBind(r,r.getModuleSpecifierCache),getPackageJsonInfoCache:function(){var e;return null===(e=t.getModuleResolutionCache())||void 0===e?void 0:e.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:e.maybeBind(r,r.getGlobalTypingsCacheLocation),redirectTargetsMap:t.redirectTargetsMap,getProjectReferenceRedirect:function(e){return t.getProjectReferenceRedirect(e)},isSourceOfProjectReferenceRedirect:function(e){return t.isSourceOfProjectReferenceRedirect(e)},getNearestAncestorDirectoryWithPackageJson:e.maybeBind(r,r.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return t.getFileIncludeReasons()}}}function ee(e,t){return o(o({},Z(e,t)),{getCommonSourceDirectory:function(){return e.getCommonSourceDirectory()}})}function te(t,r,n,i,a){return e.factory.createImportDeclaration(void 0,void 0,t||r?e.factory.createImportClause(!!a,t,r&&r.length?e.factory.createNamedImports(r):void 0):void 0,"string"==typeof n?re(n,i):n,void 0)}function re(t,r){return e.factory.createStringLiteral(t,0===r)}function ne(t,r){return e.isStringDoubleQuoted(t,r)?1:0}function ie(t,r){if(r.quotePreference&&"auto"!==r.quotePreference)return"single"===r.quotePreference?0:1;var n=t.imports&&e.find(t.imports,(function(t){return e.isStringLiteral(t)&&!e.nodeIsSynthesized(t.parent)}));return n?ne(n,t):1}function ae(t){return"default"!==t.escapedName?t.escapedName:e.firstDefined(t.declarations,(function(t){var r=e.getNameOfDeclaration(t);return r&&79===r.kind?r.escapedText:void 0}))}function oe(t,r,n){return e.textSpanContainsPosition(t,r.getStart(n))&&r.getEnd()<=e.textSpanEnd(t)}function se(e,t){return!!e&&!!t&&e.start===t.start&&e.length===t.length}function ce(t){var r=t.declarations?e.firstOrUndefined(t.declarations):void 0;return!!e.findAncestor(r,(function(t){return!!e.isParameter(t)||!(e.isBindingElement(t)||e.isObjectBindingPattern(t)||e.isArrayBindingPattern(t))&&"quit"}))}e.getLineStartPositionForPosition=function(t,r){return e.getLineStarts(r)[r.getLineAndCharacterOfPosition(t).line]},e.rangeContainsRange=g,e.rangeContainsRangeExclusive=function(e,t){return h(e,t.pos)&&h(e,t.end)},e.rangeContainsPosition=function(e,t){return e.pos<=t&&t<=e.end},e.rangeContainsPositionExclusive=h,e.startEndContainsRange=y,e.rangeContainsStartEnd=function(e,t,r){return e.pos<=t&&e.end>=r},e.rangeOverlapsWithStartEnd=function(e,t,r){return v(e.pos,e.end,t,r)},e.nodeOverlapsWithStartEnd=function(e,t,r,n){return v(e.getStart(t),e.end,r,n)},e.startEndOverlapsWithStartEnd=v,e.positionBelongsToNode=function(t,r,n){return e.Debug.assert(t.pos<=r),r<t.end||!D(t,n)},e.findListItemInfo=function(t){var r=S(t);if(r){var n=r.getChildren();return{listItemIndex:e.indexOfNode(n,t),list:r}}},e.hasChildOfKind=x,e.findChildOfKind=E,e.findContainingList=S,e.getContextualTypeFromParentOrAncestorTypeNode=function(t,r){var n=Me(t,r);if(n)return n;var i=function(t){var r;return e.findAncestor(t,(function(t){return e.isTypeNode(t)&&(r=t),!e.isQualifiedName(t.parent)&&!e.isTypeNode(t.parent)&&!e.isTypeElement(t.parent)})),r}(t);return i&&r.getTypeAtLocation(i)},e.getAdjustedReferenceLocation=w,e.getAdjustedRenameLocation=function(e){return F(e,!0)},e.getTouchingPropertyName=function(t,r){return I(t,r,(function(t){return e.isPropertyNameLiteral(t)||e.isKeyword(t.kind)||e.isPrivateIdentifier(t)}))},e.getTouchingToken=I,e.getTokenAtPosition=O,e.findFirstNonJsxWhitespaceToken=function(e,t){for(var r=O(e,t);J(r);){var n=M(r,r.parent,e);if(!n)return;r=n}return r},e.findTokenOnLeftOfPosition=function(t,r){var n=O(t,r);return e.isToken(n)&&r>n.getStart(t)&&r<n.getEnd()?n:R(r,t)},e.findNextToken=M,e.findPrecedingToken=R,e.isInString=function(t,r,n){if(void 0===n&&(n=R(r,t)),n&&e.isStringTextContainingNode(n)){var i=n.getStart(t),a=n.getEnd();if(i<r&&r<a)return!0;if(r===a)return!!n.isUnterminated}return!1},e.isInsideJsxElementOrAttribute=function(e,t){var r=O(e,t);return!!r&&!!(11===r.kind||29===r.kind&&11===r.parent.kind||29===r.kind&&287===r.parent.kind||r&&19===r.kind&&287===r.parent.kind||29===r.kind&&280===r.parent.kind)},e.isInTemplateString=function(t,r){var n=O(t,r);return e.isTemplateLiteralKind(n.kind)&&r>n.getStart(t)},e.isInJSXText=function(t,r){var n=O(t,r);return!!(e.isJsxText(n)||18===n.kind&&e.isJsxExpression(n.parent)&&e.isJsxElement(n.parent.parent)||29===n.kind&&e.isJsxOpeningLikeElement(n.parent)&&e.isJsxElement(n.parent.parent))},e.isInsideJsxElement=function(e,t){return function(r){for(;r;)if(r.kind>=278&&r.kind<=287||11===r.kind||29===r.kind||31===r.kind||79===r.kind||19===r.kind||18===r.kind||43===r.kind)r=r.parent;else{if(277!==r.kind)return!1;if(t>r.getStart(e))return!0;r=r.parent}return!1}(O(e,t))},e.findPrecedingMatchingToken=U,e.removeOptionality=q,e.isPossiblyTypeArgumentPosition=function t(r,n,i){var a=z(r,n);return void 0!==a&&(e.isPartOfTypeNode(a.called)||0!==V(a.called,a.nTypeArguments,i).length||t(a.called,n,i))},e.getPossibleGenericSignatures=V,e.getPossibleTypeArgumentsInfo=z,e.isInComment=W,e.hasDocComment=function(t,r){var n=O(t,r);return!!e.findAncestor(n,e.isJSDoc)},e.getNodeModifiers=function(t,r){void 0===r&&(r=0);var n=[],i=e.isDeclaration(t)?e.getCombinedNodeFlagsAlwaysIncludeJSDoc(t)&~r:0;return 8&i&&n.push("private"),16&i&&n.push("protected"),4&i&&n.push("public"),(32&i||e.isClassStaticBlockDeclaration(t))&&n.push("static"),128&i&&n.push("abstract"),1&i&&n.push("export"),8192&i&&n.push("deprecated"),8388608&t.flags&&n.push("declare"),270===t.kind&&n.push("export"),n.length>0?n.join(","):""},e.getTypeArgumentOrTypeParameterList=function(t){return 177===t.kind||207===t.kind?t.typeArguments:e.isFunctionLike(t)||256===t.kind||257===t.kind?t.typeParameters:void 0},e.isComment=function(e){return 2===e||3===e},e.isStringOrRegularExpressionOrTemplateLiteral=function(t){return!(10!==t&&13!==t&&!e.isTemplateLiteralKind(t))},e.isPunctuation=function(e){return 18<=e&&e<=78},e.isInsideTemplateLiteral=function(t,r,n){return e.isTemplateLiteralKind(t.kind)&&t.getStart(n)<r&&r<t.end||!!t.isUnterminated&&r===t.end},e.isAccessibilityModifier=function(e){switch(e){case 123:case 121:case 122:return!0}return!1},e.cloneCompilerOptions=function(t){var r=e.clone(t);return e.setConfigFileInOptions(r,t&&t.configFile),r},e.isArrayLiteralOrObjectLiteralDestructuringPattern=function e(t){return!(203!==t.kind&&204!==t.kind||!(220===t.parent.kind&&t.parent.left===t&&63===t.parent.operatorToken.kind||243===t.parent.kind&&t.parent.initializer===t||e(294===t.parent.kind?t.parent.parent:t.parent)))},e.isInReferenceComment=function(e,t){return G(e,t,!0)},e.isInNonReferenceComment=function(e,t){return G(e,t,!1)},e.getReplacementSpanForContextToken=function(e){if(e)switch(e.kind){case 10:case 14:return Y(e);default:return $(e)}},e.createTextSpanFromNode=$,e.createTextSpanFromStringLiteralLikeContent=Y,e.createTextRangeFromNode=function(t,r){return e.createRange(t.getStart(r),t.end)},e.createTextSpanFromRange=function(t){return e.createTextSpanFromBounds(t.pos,t.end)},e.createTextRangeFromSpan=function(t){return e.createRange(t.start,t.start+t.length)},e.createTextChangeFromStartLength=function(t,r,n){return X(e.createTextSpan(t,r),n)},e.createTextChange=X,e.typeKeywords=[130,128,157,133,95,137,140,143,104,146,147,144,149,150,110,114,152,153,154],e.isTypeKeyword=function(t){return e.contains(e.typeKeywords,t)},e.isTypeKeywordToken=Q,e.isTypeKeywordTokenOrIdentifier=function(t){return Q(t)||e.isIdentifier(t)&&"type"===t.text},e.isExternalModuleSymbol=function(e){return!!(1536&e.flags)&&34===e.name.charCodeAt(0)},e.nodeSeenTracker=function(){var t=[];return function(r){var n=e.getNodeId(r);return!t[n]&&(t[n]=!0)}},e.getSnapshotText=function(e){return e.getText(0,e.getLength())},e.repeatString=function(e,t){for(var r="",n=0;n<t;n++)r+=e;return r},e.skipConstraint=function(e){return e.isTypeParameter()&&e.getConstraint()||e},e.getNameFromPropertyName=function(t){return 161===t.kind?e.isStringOrNumericLiteralLike(t.expression)?t.expression.text:void 0:e.isPrivateIdentifier(t)?e.idText(t):e.getTextOfIdentifierOrLiteral(t)},e.programContainsModules=function(e){return e.getSourceFiles().some((function(t){return!(t.isDeclarationFile||e.isSourceFileFromExternalLibrary(t)||!t.externalModuleIndicator&&!t.commonJsModuleIndicator)}))},e.programContainsEsModules=function(e){return e.getSourceFiles().some((function(t){return!t.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(t)&&!!t.externalModuleIndicator}))},e.compilerOptionsIndicateEsModules=function(t){return!!t.module||e.getEmitScriptTarget(t)>=2||!!t.noEmit},e.createModuleSpecifierResolutionHost=Z,e.getModuleSpecifierResolverHost=ee,e.makeImportIfNecessary=function(e,t,r,n){return e||t&&t.length?te(e,t,r,n):void 0},e.makeImport=te,e.makeStringLiteral=re,function(e){e[e.Single=0]="Single",e[e.Double=1]="Double"}(e.QuotePreference||(e.QuotePreference={})),e.quotePreferenceFromString=ne,e.getQuotePreference=ie,e.getQuoteFromPreference=function(t){switch(t){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(t)}},e.symbolNameNoDefault=function(t){var r=ae(t);return void 0===r?void 0:e.unescapeLeadingUnderscores(r)},e.symbolEscapedNameNoDefault=ae,e.isModuleSpecifierLike=function(t){return e.isStringLiteralLike(t)&&(e.isExternalModuleReference(t.parent)||e.isImportDeclaration(t.parent)||e.isRequireCall(t.parent,!1)&&t.parent.arguments[0]===t||e.isImportCall(t.parent)&&t.parent.arguments[0]===t)},e.isObjectBindingElementWithoutPropertyName=function(t){return e.isBindingElement(t)&&e.isObjectBindingPattern(t.parent)&&e.isIdentifier(t.name)&&!t.propertyName},e.getPropertySymbolFromBindingElement=function(e,t){var r=e.getTypeAtLocation(t.parent);return r&&e.getPropertyOfType(r,t.name.text)},e.getParentNodeInSpan=function(t,r,n){if(t)for(;t.parent;){if(e.isSourceFile(t.parent)||!oe(n,t.parent,r))return t;t=t.parent}},e.findModifier=function(t,r){return t.modifiers&&e.find(t.modifiers,(function(e){return e.kind===r}))},e.insertImports=function(t,r,n,i){var a=236===(e.isArray(n)?n[0]:n).kind?e.isRequireVariableStatement:e.isAnyImportSyntax,o=e.filter(r.statements,a),s=e.isArray(n)?e.stableSort(n,e.OrganizeImports.compareImportsOrRequireStatements):[n];if(o.length)if(o&&e.OrganizeImports.importsAreSorted(o))for(var c=0,u=s;c<u.length;c++){var l=u[c],p=e.OrganizeImports.getImportDeclarationInsertionIndex(o,l);if(0===p){var d=o[0]===r.statements[0]?{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude}:{};t.insertNodeBefore(r,o[0],l,!1,d)}else{var f=o[p-1];t.insertNodeAfter(r,f,l)}}else{var _=e.lastOrUndefined(o);_?t.insertNodesAfter(r,_,s):t.insertNodesAtTopOfFile(r,s,i)}else t.insertNodesAtTopOfFile(r,s,i)},e.getTypeKeywordOfTypeOnlyImport=function(t,r){return e.Debug.assert(t.isTypeOnly),e.cast(t.getChildAt(0,r),Q)},e.textSpansEqual=se,e.documentSpansEqual=function(e,t){return e.fileName===t.fileName&&se(e.textSpan,t.textSpan)},e.forEachUnique=function(e,t){if(e)for(var r=0;r<e.length;r++)if(e.indexOf(e[r])===r){var n=t(e[r],r);if(n)return n}},e.isTextWhiteSpaceLike=function(t,r,n){for(var i=r;i<n;i++)if(!e.isWhiteSpaceLike(t.charCodeAt(i)))return!1;return!0},e.isFirstDeclarationOfSymbolParameter=ce;var ue=function(){var t,r,n,i,a=10*e.defaultMaximumTruncationLength;u();var o=function(t){return c(t,e.SymbolDisplayPartKind.text)};return{displayParts:function(){var r=t.length&&t[t.length-1].text;return i>a&&r&&"..."!==r&&(e.isWhiteSpaceLike(r.charCodeAt(r.length-1))||t.push(pe(" ",e.SymbolDisplayPartKind.space)),t.push(pe("...",e.SymbolDisplayPartKind.punctuation))),t},writeKeyword:function(t){return c(t,e.SymbolDisplayPartKind.keyword)},writeOperator:function(t){return c(t,e.SymbolDisplayPartKind.operator)},writePunctuation:function(t){return c(t,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(t){return c(t,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(t){return c(t,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(t){return c(t,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(t){return c(t,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(t){return c(t,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(t){return c(t,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:function(e,r){i>a||(s(),i+=e.length,t.push(le(e,r)))},writeLine:function(){i>a||(i+=1,t.push(he()),r=!0)},write:o,writeComment:o,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 n},increaseIndent:function(){n++},decreaseIndent:function(){n--},clear:u,trackSymbol:function(){return!1},reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function s(){if(!(i>a)&&r){var o=e.getIndentString(n);o&&(i+=o.length,t.push(pe(o,e.SymbolDisplayPartKind.space))),r=!1}}function c(e,r){i>a||(s(),i+=e.length,t.push(pe(e,r)))}function u(){t=[],r=!0,n=0,i=0}}();function le(t,r){return pe(t,3&(i=(n=r).flags)?ce(n)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName:4&i||32768&i||65536&i?e.SymbolDisplayPartKind.propertyName:8&i?e.SymbolDisplayPartKind.enumMemberName:16&i?e.SymbolDisplayPartKind.functionName:32&i?e.SymbolDisplayPartKind.className:64&i?e.SymbolDisplayPartKind.interfaceName:384&i?e.SymbolDisplayPartKind.enumName:1536&i?e.SymbolDisplayPartKind.moduleName:8192&i?e.SymbolDisplayPartKind.methodName:262144&i?e.SymbolDisplayPartKind.typeParameterName:524288&i||2097152&i?e.SymbolDisplayPartKind.aliasName:e.SymbolDisplayPartKind.text);var n,i}function pe(t,r){return{text:t,kind:e.SymbolDisplayPartKind[r]}}function de(t){return pe(e.tokenToString(t),e.SymbolDisplayPartKind.keyword)}function fe(t){return pe(t,e.SymbolDisplayPartKind.text)}function _e(t){return pe(t,e.SymbolDisplayPartKind.linkText)}function me(t,r){return{text:t,kind:e.SymbolDisplayPartKind[e.SymbolDisplayPartKind.linkName],target:{fileName:e.getSourceFileOfNode(r).fileName,textSpan:$(r)}}}function ge(t){return pe(t,e.SymbolDisplayPartKind.link)}e.symbolPart=le,e.displayPart=pe,e.spacePart=function(){return pe(" ",e.SymbolDisplayPartKind.space)},e.keywordPart=de,e.punctuationPart=function(t){return pe(e.tokenToString(t),e.SymbolDisplayPartKind.punctuation)},e.operatorPart=function(t){return pe(e.tokenToString(t),e.SymbolDisplayPartKind.operator)},e.parameterNamePart=function(t){return pe(t,e.SymbolDisplayPartKind.parameterName)},e.propertyNamePart=function(t){return pe(t,e.SymbolDisplayPartKind.propertyName)},e.textOrKeywordPart=function(t){var r=e.stringToToken(t);return void 0===r?fe(t):de(r)},e.textPart=fe,e.typeAliasNamePart=function(t){return pe(t,e.SymbolDisplayPartKind.aliasName)},e.typeParameterNamePart=function(t){return pe(t,e.SymbolDisplayPartKind.typeParameterName)},e.linkTextPart=_e,e.linkNamePart=me,e.linkPart=ge,e.buildLinkParts=function(t,r){var n,i=e.isJSDocLink(t)?"link":e.isJSDocLinkCode(t)?"linkcode":"linkplain",a=[ge("{@".concat(i," "))];if(t.name){var o=null==r?void 0:r.getSymbolAtLocation(t.name),s=function(e){if(0===e.indexOf("()"))return 2;if("<"!==e[0])return 0;for(var t=0,r=0;r<e.length;)if("<"===e[r]&&t++,">"===e[r]&&t--,r++,!t)return r;return 0}(t.text),c=e.getTextOfNode(t.name)+t.text.slice(0,s),u=t.text.slice(s),l=(null==o?void 0:o.valueDeclaration)||(null===(n=null==o?void 0:o.declarations)||void 0===n?void 0:n[0]);l?(a.push(me(c,l)),u&&a.push(_e(u))):a.push(_e(c+(s||0===u.indexOf("://")?"":" ")+u))}else t.text&&a.push(_e(t.text));return a.push(ge("}")),a};function he(){return pe("\n",e.SymbolDisplayPartKind.lineBreak)}function ye(e){try{return e(ue),ue.displayParts()}finally{ue.clear()}}function ve(e){return 0!=(33554432&e.flags)}function De(e){return 0!=(2097152&e.flags)}function be(e,t){void 0===t&&(t=!0);var r=e&&Ee(e);return r&&!t&&Te(r),r}function xe(t,r,n){var i=n(t);return i?e.setOriginalNode(i,t):i=Ee(t,n),i&&!r&&Te(i),i}function Ee(t,r){var n=r?function(e){return xe(e,!0,r)}:be,i=r?function(e){return e&&Ce(e,!0,r)}:function(e){return e&&Se(e)},a=e.visitEachChild(t,n,e.nullTransformationContext,i,n);if(a===t){var o=e.isStringLiteral(t)?e.setOriginalNode(e.factory.createStringLiteralFromNode(t),t):e.isNumericLiteral(t)?e.setOriginalNode(e.factory.createNumericLiteral(t.text,t.numericLiteralFlags),t):e.factory.cloneNode(t);return e.setTextRange(o,t)}return a.parent=void 0,a}function Se(t,r){return void 0===r&&(r=!0),t&&e.factory.createNodeArray(t.map((function(e){return be(e,r)})),t.hasTrailingComma)}function Ce(t,r,n){return e.factory.createNodeArray(t.map((function(e){return xe(e,r,n)})),t.hasTrailingComma)}function Te(e){ke(e),Ae(e)}function ke(e){Ne(e,512,Pe)}function Ae(t){Ne(t,1024,e.getLastChild)}function Ne(t,r,n){e.addEmitFlags(t,r);var i=n(t);i&&Ne(i,r,n)}function Pe(e){return e.forEachChild((function(e){return e}))}function Fe(t,r,n,i,a){e.forEachLeadingCommentRange(n.text,t.pos,Oe(r,n,i,a,e.addSyntheticLeadingComment))}function we(t,r,n,i,a){e.forEachTrailingCommentRange(n.text,t.end,Oe(r,n,i,a,e.addSyntheticTrailingComment))}function Ie(t,r,n,i,a){e.forEachTrailingCommentRange(n.text,t.pos,Oe(r,n,i,a,e.addSyntheticLeadingComment))}function Oe(e,t,r,n,i){return function(a,o,s,c){3===s?(a+=2,o-=2):a+=2,i(e,r||s,t.text.slice(a,o),void 0!==n?n:c)}}function Le(t,r){if(e.startsWith(t,r))return 0;var n=t.indexOf(" "+r);return-1===n&&(n=t.indexOf("."+r)),-1===n&&(n=t.indexOf('"'+r)),-1===n?-1:n+1}function Me(e,t){var r=e.parent;switch(r.kind){case 208:return t.getContextualType(r);case 220:var n=r,i=n.left,a=n.operatorToken,o=n.right;return Re(a.kind)?t.getTypeAtLocation(e===o?i:o):t.getContextualType(e);case 288:return r.expression===e?Be(r,t):void 0;default:return t.getContextualType(e)}}function Re(e){switch(e){case 36:case 34:case 37:case 35:return!0;default:return!1}}function Be(e,t){return t.getTypeAtLocation(e.parent.parent.expression)}function je(e){return 173===e||174===e||175===e||165===e||167===e}function Ke(e){return 255===e||170===e||168===e||171===e||172===e}function Je(e){return 260===e}function Ue(e){return 236===e||237===e||239===e||244===e||245===e||246===e||250===e||252===e||166===e||258===e||265===e||264===e||271===e||263===e||270===e}function qe(t){var r=0,n=0;return e.forEachChild(t,(function i(a){if(Ue(a.kind))26===(null==(o=a.getLastToken(t))?void 0:o.kind)?r++:n++;else if(je(a.kind)){var o;26===(null==(o=a.getLastToken(t))?void 0:o.kind)?r++:o&&27!==o.kind&&e.getLineAndCharacterOfPosition(t,o.getStart(t)).line!==e.getLineAndCharacterOfPosition(t,e.getSpanOfTokenAtPosition(t,o.end).start).line&&n++}return r+n>=5||e.forEachChild(a,i)})),0===r&&n<=1||r/n>.2}function Ve(e,t){return We(e,e.fileExists,t)}function ze(e){try{return e()}catch{return}}function We(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return ze((function(){return t&&t.apply(e,r)}))}function He(t,r){if(!r.fileExists)return[];var n=[];return e.forEachAncestorDirectory(e.getDirectoryPath(t),(function(t){var i=e.combinePaths(t,"package.json");if(r.fileExists(i)){var a=Ge(i,r);a&&n.push(a)}})),n}function Ge(t,r){if(r.readFile){var n=function(e){try{return JSON.parse(e)}catch{return}}(r.readFile(t)||""),i={};if(n)for(var a=0,s=["dependencies","devDependencies","optionalDependencies","peerDependencies"];a<s.length;a++){var c=s[a],u=n[c];if(u){var l=new e.Map;for(var p in u)l.set(p,u[p]);i[c]=l}}var d=[[1,i.dependencies],[2,i.devDependencies],[8,i.optionalDependencies],[4,i.peerDependencies]];return o(o({},i),{parseable:!!n,fileName:t,get:f,has:function(e,t){return!!f(e,t)}})}function f(e,t){void 0===t&&(t=15);for(var r=0,n=d;r<n.length;r++){var i=n[r],a=i[0],o=i[1];if(o&&t&a){var s=o.get(e);if(void 0!==s)return s}}}}function $e(t){return e.some(t.imports,(function(t){var r=t.text;return e.JsTyping.nodeCoreModules.has(r)}))}function Ye(e){return void 0!==e.file&&void 0!==e.start&&void 0!==e.length}function Xe(e){return!(33554432&e.flags||"export="!==e.escapedName&&"default"!==e.escapedName)}function Qe(t){return e.firstDefined(t.declarations,(function(t){var r;return e.isExportAssignment(t)?null===(r=e.tryCast(e.skipOuterExpressions(t.expression),e.isIdentifier))||void 0===r?void 0:r.text:void 0}))}function Ze(t){var r;return e.Debug.checkDefined(t.parent,"Symbol parent was undefined. Flags: ".concat(e.Debug.formatSymbolFlags(t.flags),". ")+"Declarations: ".concat(null===(r=t.declarations)||void 0===r?void 0:r.map((function(t){var r=e.Debug.formatSyntaxKind(t.kind),n=e.isInJSFile(t),i=t.expression;return(n?"[JS]":"")+r+(i?" (expression: ".concat(e.Debug.formatSyntaxKind(i.kind),")"):"")})).join(", "),"."))}function et(t){var r=t.getSourceFile();return!(!r.externalModuleIndicator&&!r.commonJsModuleIndicator)&&(e.isInJSFile(t)||!e.findAncestor(t,e.isGlobalScopeAugmentation))}e.getNewLineOrDefaultFromHost=function(e,t){var r;return(null==t?void 0:t.newLineCharacter)||(null===(r=e.getNewLine)||void 0===r?void 0:r.call(e))||"\r\n"},e.lineBreakPart=he,e.mapToDisplayParts=ye,e.typeToDisplayParts=function(e,t,r,n){return void 0===n&&(n=0),ye((function(i){e.writeType(t,r,17408|n,i)}))},e.symbolToDisplayParts=function(e,t,r,n,i){return void 0===i&&(i=0),ye((function(a){e.writeSymbol(t,r,n,8|i,a)}))},e.signatureToDisplayParts=function(e,t,r,n){return void 0===n&&(n=0),n|=25632,ye((function(i){e.writeSignature(t,r,n,void 0,i)}))},e.isImportOrExportSpecifierName=function(t){return!!t.parent&&e.isImportOrExportSpecifier(t.parent)&&t.parent.propertyName===t},e.getScriptKind=function(t,r){return e.ensureScriptKind(t,r.getScriptKind&&r.getScriptKind(t))},e.getSymbolTarget=function(t,r){for(var n=t;De(n)||ve(n)&&n.target;)n=ve(n)&&n.target?n.target:e.skipAlias(n,r);return n},e.getUniqueSymbolId=function(t,r){return e.getSymbolId(e.skipAlias(t,r))},e.getFirstNonSpaceCharacterPosition=function(t,r){for(;e.isWhiteSpaceLike(t.charCodeAt(r));)r+=1;return r},e.getPrecedingNonSpaceCharacterPosition=function(t,r){for(;r>-1&&e.isWhiteSpaceSingleLine(t.charCodeAt(r));)r-=1;return r+1},e.getSynthesizedDeepClone=be,e.getSynthesizedDeepCloneWithReplacements=xe,e.getSynthesizedDeepClones=Se,e.getSynthesizedDeepClonesWithReplacements=Ce,e.suppressLeadingAndTrailingTrivia=Te,e.suppressLeadingTrivia=ke,e.suppressTrailingTrivia=Ae,e.copyComments=function(e,t){var r=e.getSourceFile();!function(e,t){for(var r=e.getFullStart(),n=e.getStart(),i=r;i<n;i++)if(10===t.charCodeAt(i))return!0;return!1}(e,r.text)?Ie(e,t,r):Fe(e,t,r),we(e,t,r)},e.getUniqueName=function(t,r){for(var n=t,i=1;!e.isFileLevelUniqueName(r,n);i++)n="".concat(t,"_").concat(i);return n},e.getRenameLocation=function(t,r,n,i){for(var a=0,o=-1,s=0,c=t;s<c.length;s++){var u=c[s],l=u.fileName,p=u.textChanges;e.Debug.assert(l===r);for(var d=0,f=p;d<f.length;d++){var _=f[d],m=_.span,g=_.newText,h=Le(g,n);if(-1!==h&&(o=m.start+a+h,!i))return o;a+=g.length-m.length}}return e.Debug.assert(i),e.Debug.assert(o>=0),o},e.copyLeadingComments=Fe,e.copyTrailingComments=we,e.copyTrailingAsLeadingComments=Ie,e.needsParentheses=function(t){return e.isBinaryExpression(t)&&27===t.operatorToken.kind||e.isObjectLiteralExpression(t)||e.isAsExpression(t)&&e.isObjectLiteralExpression(t.expression)},e.getContextualTypeFromParent=Me,e.quote=function(t,r,n){var i=ie(t,r),a=JSON.stringify(n);return 0===i?"'".concat(e.stripQuotes(a).replace(/'/g,"\\'").replace(/\\"/g,'"'),"'"):a},e.isEqualityOperatorKind=Re,e.isStringLiteralOrTemplate=function(e){switch(e.kind){case 10:case 14:case 222:case 209:return!0;default:return!1}},e.hasIndexSignature=function(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()},e.getSwitchedType=Be,e.ANONYMOUS="anonymous function",e.getTypeNodeIfAccessible=function(e,t,r,n){var i=r.getTypeChecker(),a=!0,o=function(){return a=!1},s=i.typeToTypeNode(e,t,1,{trackSymbol:function(e,t,r){return!(a=a&&0===i.isSymbolAccessible(e,t,r,!1).accessibility)},reportInaccessibleThisError:o,reportPrivateInBaseOfClassExpression:o,reportInaccessibleUniqueSymbolError:o,moduleResolverHost:ee(r,n)});return a?s:void 0},e.syntaxRequiresTrailingSemicolonOrASI=Ue,e.syntaxMayBeASICandidate=e.or(je,Ke,Je,Ue),e.positionIsASICandidate=function(t,r,n){var i=e.findAncestor(r,(function(r){return r.end!==t?"quit":e.syntaxMayBeASICandidate(r.kind)}));return!!i&&function(t,r){var n=t.getLastToken(r);if(n&&26===n.kind)return!1;if(je(t.kind)){if(n&&27===n.kind)return!1}else if(Je(t.kind)){if((i=e.last(t.getChildren(r)))&&e.isModuleBlock(i))return!1}else if(Ke(t.kind)){var i;if((i=e.last(t.getChildren(r)))&&e.isFunctionBlock(i))return!1}else if(!Ue(t.kind))return!1;if(239===t.kind)return!0;var a=M(t,e.findAncestor(t,(function(e){return!e.parent})),r);return!a||19===a.kind||r.getLineAndCharacterOfPosition(t.getEnd()).line!==r.getLineAndCharacterOfPosition(a.getStart(r)).line}(i,n)},e.probablyUsesSemicolons=qe,e.tryGetDirectories=function(e,t){return We(e,e.getDirectories,t)||[]},e.tryReadDirectory=function(t,r,n,i,a){return We(t,t.readDirectory,r,n,i,a)||e.emptyArray},e.tryFileExists=Ve,e.tryDirectoryExists=function(t,r){return ze((function(){return e.directoryProbablyExists(r,t)}))||!1},e.tryAndIgnoreErrors=ze,e.tryIOAndConsumeErrors=We,e.findPackageJsons=function(t,r,n){var i=[];return e.forEachAncestorDirectory(t,(function(t){if(t===n)return!0;var a=e.combinePaths(t,"package.json");Ve(r,a)&&i.push(a)})),i},e.findPackageJson=function(t,r){var n;return e.forEachAncestorDirectory(t,(function(t){if("node_modules"===t||(n=e.findConfigFile(t,(function(e){return Ve(r,e)}),"package.json")))return!0})),n},e.getPackageJsonsVisibleToFile=He,e.createPackageJsonInfo=Ge,e.createPackageJsonImportFilter=function(t,r,n){var i,a=(n.getPackageJsonsVisibleToFile&&n.getPackageJsonsVisibleToFile(t.fileName)||He(t.fileName,n)).filter((function(e){return e.parseable}));return{allowsImportingAmbientModule:function(t,r){if(!a.length||!t.valueDeclaration)return!0;var n=c(t.valueDeclaration.getSourceFile().fileName,r);if(typeof n>"u")return!0;var i=e.stripQuotes(t.getName());return!!s(i)||o(n)||o(i)},allowsImportingSourceFile:function(e,t){if(!a.length)return!0;var r=c(e.fileName,t);return!r||o(r)},allowsImportingSpecifier:function(t){return!(a.length&&!s(t)&&!e.pathIsRelative(t)&&!e.isRootedDiskPath(t))||o(t)}};function o(t){for(var r=u(t),n=0,i=a;n<i.length;n++){var o=i[n];if(o.has(r)||o.has(e.getTypesPackageName(r)))return!0}return!1}function s(r){return!!(e.isSourceFileJS(t)&&e.JsTyping.nodeCoreModules.has(r)&&(void 0===i&&(i=$e(t)),i))}function c(i,a){if(e.stringContains(i,"node_modules")){var o=e.moduleSpecifiers.getNodeModulesPackageName(n.getCompilationSettings(),t,i,a,r);if(o&&!e.pathIsRelative(o)&&!e.isRootedDiskPath(o))return u(o)}}function u(t){var r=e.getPathComponents(e.getPackageNameFromTypesPackageName(t)).slice(1);return e.startsWith(r[0],"@")?"".concat(r[0],"/").concat(r[1]):r[0]}},e.consumesNodeCoreModules=$e,e.isInsideNodeModules=function(t){return e.contains(e.getPathComponents(t),"node_modules")},e.isDiagnosticWithLocation=Ye,e.findDiagnosticForNode=function(t,r){var n=$(t),i=e.binarySearchKey(r,n,e.identity,e.compareTextSpans);if(i>=0){var a=r[i];return e.Debug.assertEqual(a.file,t.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),e.cast(a,Ye)}},e.getDiagnosticsWithinSpan=function(t,r){var n,i=e.binarySearchKey(r,t.start,(function(e){return e.start}),e.compareValues);for(i<0&&(i=~i);(null===(n=r[i-1])||void 0===n?void 0:n.start)===t.start;)i--;for(var a=[],o=e.textSpanEnd(t);;){var s=e.tryCast(r[i],Ye);if(!s||s.start>o)break;e.textSpanContainsTextSpan(t,s)&&a.push(s),i++}return a},e.getRefactorContextSpan=function(t){var r=t.startPosition,n=t.endPosition;return e.createTextSpanFromBounds(r,void 0===n?r:n)},e.getFixableErrorSpanExpression=function(t,r){var n=O(t,r.start);return e.findAncestor(n,(function(n){return n.getStart(t)<r.start||n.getEnd()>e.textSpanEnd(r)?"quit":e.isExpression(n)&&se(r,$(n,t))}))},e.mapOneOrMany=function(t,r,n){return void 0===n&&(n=e.identity),t?e.isArray(t)?n(e.map(t,r)):r(t,0):void 0},e.firstOrOnly=function(t){return e.isArray(t)?e.first(t):t},e.getNamesForExportedSymbol=function(t,r){if(Xe(t)){var n=Qe(t);if(n)return n;var i=e.codefix.moduleSymbolToValidIdentifier(Ze(t),r,!1),a=e.codefix.moduleSymbolToValidIdentifier(Ze(t),r,!0);return i===a?i:[i,a]}return t.name},e.getNameForExportedSymbol=function(t,r,n){return Xe(t)?Qe(t)||e.codefix.moduleSymbolToValidIdentifier(Ze(t),r,!!n):t.name},e.stringContainsAt=function(e,t,r){var n=t.length;if(n+r>e.length)return!1;for(var i=0;i<n;i++)if(t.charCodeAt(i)!==e.charCodeAt(i+r))return!1;return!0},e.startsWithUnderscore=function(e){return 95===e.charCodeAt(0)},e.isGlobalDeclaration=function(e){return!et(e)},e.isNonGlobalDeclaration=et,e.isDeprecatedDeclaration=function(t){return!!(8192&e.getCombinedNodeFlagsAlwaysIncludeJSDoc(t))},e.shouldUseUriStyleNodeCoreModules=function(t,r){var n=e.firstDefined(t.imports,(function(t){if(e.JsTyping.nodeCoreModules.has(t.text))return e.startsWith(t.text,"node:")}));return null!=n?n:r.usesUriStyleNodeCoreModules},e.getNewLineKind=function(e){return"\n"===e?1:0},e.diagnosticToString=function(t){return e.isArray(t)?e.formatStringFromArgs(e.getLocaleSpecificMessage(t[0]),t.slice(1)):e.getLocaleSpecificMessage(t)},e.getFormatCodeSettingsForWriting=function(t,r){var n=t.options,i=!n.semicolons||n.semicolons===e.SemicolonPreference.Ignore,a=n.semicolons===e.SemicolonPreference.Remove||i&&!qe(r);return o(o({},n),{semicolons:a?e.SemicolonPreference.Remove:e.SemicolonPreference.Ignore})}}(n||(n={})),function(e){var t;function r(t){var r,n=1,i=e.createMultiMap(),a=new e.Map,o=new e.Map,s={isUsableByFile:function(e){return e===r},isEmpty:function(){return!i.size},clear:function(){i.clear(),a.clear(),r=void 0},add:function(t,c,u,l,p,d,f,_){var m;if(t!==r&&(s.clear(),r=t),p){var g=e.getNodeModulePathParts(p.fileName);if(g){var h=g.topLevelNodeModulesIndex,y=g.topLevelPackageNameIndex,v=g.packageRootIndex;if(m=e.unmangleScopedPackageName(e.getPackageNameFromTypesPackageName(p.fileName.substring(y+1,v))),e.startsWith(t,p.path.substring(0,h))){var D=o.get(m),b=p.fileName.substring(0,y);D?h>D.indexOf(e.nodeModulesPathPart)&&o.set(m,b):o.set(m,b)}}}var x=1===d&&e.getLocalSymbolForExportDefault(c)||c,E=0===d||e.isExternalModuleSymbol(x)?e.unescapeLeadingUnderscores(u):e.getNamesForExportedSymbol(x,void 0),S="string"==typeof E?E:E[0],C="string"==typeof E?void 0:E[1],T=e.stripQuotes(l.name),k=n++,A=e.skipAlias(c,_),N=33554432&c.flags?void 0:c,P=33554432&l.flags?void 0:l;(!N||!P)&&a.set(k,[c,l]),i.add(function(t,r,n,i){var a=n||"";return"".concat(t,"|").concat(e.getSymbolId(e.skipAlias(r,i)),"|").concat(a)}(S,c,e.isExternalModuleNameRelative(T)?void 0:T,_),{id:k,symbolTableKey:u,symbolName:S,capitalizedSymbolName:C,moduleName:T,moduleFile:p,moduleFileName:null==p?void 0:p.fileName,packageName:m,exportKind:d,targetFlags:A.flags,isFromPackageJson:f,symbol:N,moduleSymbol:P})},get:function(e,t){if(e===r){var n=i.get(t);return null==n?void 0:n.map(c)}},search:function(t,n,a,s){t===r&&i.forEach((function(t,r){var i=function(e){var t=e.substring(0,e.indexOf("|")),r=e.substring(e.lastIndexOf("|")+1);return{symbolName:t,ambientModuleName:""===r?void 0:r}}(r),u=i.symbolName,l=i.ambientModuleName,p=n&&t[0].capitalizedSymbolName||u;if(a(p,t[0].targetFlags)){var d=t.map(c).filter((function(r,n){return function(t,r){if(!r||!t.moduleFileName)return!0;var n=o.get(r);return!n||e.startsWith(t.moduleFileName,n)}(r,t[n].packageName)}));d.length&&s(d,p,!!l,r)}}))},releaseSymbols:function(){a.clear()},onFileChanged:function(t,n,i){return!(u(t)&&u(n)||(r&&r!==n.path||i&&e.consumesNodeCoreModules(t)!==e.consumesNodeCoreModules(n)||!e.arrayIsEqualTo(t.moduleAugmentations,n.moduleAugmentations)||!function(t,r){if(!e.arrayIsEqualTo(t.ambientModuleNames,r.ambientModuleNames))return!1;for(var n=-1,i=-1,a=function(a){var o=function(t){return e.isNonGlobalAmbientModule(t)&&t.name.text===a};if(n=e.findIndex(t.statements,o,n+1),i=e.findIndex(r.statements,o,i+1),t.statements[n]!==r.statements[i])return{value:!1}},o=0,s=r.ambientModuleNames;o<s.length;o++){var c=a(s[o]);if("object"==typeof c)return c.value}return!0}(t,n)?(s.clear(),0):(r=n.path,1)))}};return e.Debug.isDebugging&&Object.defineProperty(s,"__cache",{get:function(){return i}}),s;function c(r){if(r.symbol&&r.moduleSymbol)return r;var n=r.id,i=r.exportKind,o=r.targetFlags,s=r.isFromPackageJson,c=r.moduleFileName,u=a.get(n)||e.emptyArray,l=u[0],p=u[1];if(l&&p)return{symbol:l,moduleSymbol:p,moduleFileName:c,exportKind:i,targetFlags:o,isFromPackageJson:s};var d=(s?t.getPackageJsonAutoImportProvider():t.getCurrentProgram()).getTypeChecker(),f=r.moduleSymbol||p||e.Debug.checkDefined(r.moduleFile?d.getMergedSymbol(r.moduleFile.symbol):d.tryFindAmbientModule(r.moduleName)),_=r.symbol||l||e.Debug.checkDefined(2===i?d.resolveExternalModuleSymbol(f):d.tryGetMemberInModuleExportsAndProperties(e.unescapeLeadingUnderscores(r.symbolTableKey),f),"Could not find symbol '".concat(r.symbolName,"' by key '").concat(r.symbolTableKey,"' in module ").concat(f.name));return a.set(n,[_,f]),{symbol:_,moduleSymbol:f,moduleFileName:c,exportKind:i,targetFlags:o,isFromPackageJson:s}}function u(e){return!(e.commonJsModuleIndicator||e.externalModuleIndicator||e.moduleAugmentations||e.ambientModuleNames)}}function n(t,r,n,a){var o,s;i(t.getTypeChecker(),t.getSourceFiles(),(function(e,r){return a(e,r,t,!1)}));var c=n&&(null===(o=r.getPackageJsonAutoImportProvider)||void 0===o?void 0:o.call(r));if(c){var u=e.timestamp();i(c.getTypeChecker(),c.getSourceFiles(),(function(e,t){return a(e,t,c,!0)})),null===(s=r.log)||void 0===s||s.call(r,"forEachExternalModuleToImportFrom autoImportProvider: ".concat(e.timestamp()-u))}}function i(t,r,n){for(var i=0,a=t.getAmbientModules();i<a.length;i++){var o=a[i];e.stringContains(o.name,"*")||n(o,void 0)}for(var s=0,c=r;s<c.length;s++){var u=c[s];e.isExternalOrCommonJsModule(u)&&n(t.getMergedSymbol(u.symbol),u)}}function a(e,t,r){var n=function(e,t){var r=t.resolveExternalModuleSymbol(e);if(r!==e)return{symbol:r,exportKind:2};var n=t.tryGetMemberInModuleExports("default",e);return n?{symbol:n,exportKind:1}:void 0}(e,t);if(n){var i=n.symbol,a=n.exportKind,s=c(i,t,r);return s&&o({symbol:i,exportKind:a},s)}}function s(t,r){return!(r.isUndefinedSymbol(t)||r.isUnknownSymbol(t)||e.isKnownSymbol(t)||e.isPrivateIdentifierSymbol(t))}function c(t,r,n){var i=e.getLocalSymbolForExportDefault(t);if(i)return{symbolForMeaning:i,name:i.name};var a=function(t){return t.declarations&&e.firstDefined(t.declarations,(function(t){var r;return e.isExportAssignment(t)?null===(r=e.tryCast(e.skipOuterExpressions(t.expression),e.isIdentifier))||void 0===r?void 0:r.text:e.isExportSpecifier(t)?(e.Debug.assert("default"===t.name.text,"Expected the specifier to be a default export"),t.propertyName&&t.propertyName.text):void 0}))}(t);if(void 0!==a)return{symbolForMeaning:t,name:a};if(2097152&t.flags){var o=r.getImmediateAliasedSymbol(t);if(o&&o.parent)return c(o,r,n)}return"default"!==t.escapedName&&"export="!==t.escapedName?{symbolForMeaning:t,name:t.getName()}:{symbolForMeaning:t,name:e.getNameForExportedSymbol(t,n.target)}}(t=e.ImportKind||(e.ImportKind={}))[t.Named=0]="Named",t[t.Default=1]="Default",t[t.Namespace=2]="Namespace",t[t.CommonJS=3]="CommonJS",function(e){e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",e[e.UMD=3]="UMD"}(e.ExportKind||(e.ExportKind={})),e.createCacheableExportInfoMap=r,e.isImportableFile=function(t,r,n,i,a,o,s){var c;if(r===n)return!1;var u=null==s?void 0:s.get(r.path,n.path,i);if(void 0!==(null==u?void 0:u.isAutoImportable))return u.isAutoImportable;var l=e.hostGetCanonicalFileName(o),p=null===(c=o.getGlobalTypingsCacheLocation)||void 0===c?void 0:c.call(o),d=!!e.moduleSpecifiers.forEachFileNameOfModule(r.fileName,n.fileName,o,!1,(function(i){var a=t.getSourceFile(i);return(a===n||!a)&&function(t,r,n,i){var a=e.forEachAncestorDirectory(r,(function(t){return"node_modules"===e.getBaseFileName(t)?t:void 0})),o=a&&e.getDirectoryPath(n(a));return void 0===o||e.startsWith(n(t),o)||!!i&&e.startsWith(n(i),o)}(r.fileName,i,l,p)}));if(a){var f=d&&a.allowsImportingSourceFile(n,o);return null==s||s.setIsAutoImportable(r.path,n.path,i,f),f}return d},e.forEachExternalModuleToImportFrom=n,e.getExportInfoMap=function(t,i,o,c){var u,l,p,d,f,_=e.timestamp();null===(u=i.getPackageJsonAutoImportProvider)||void 0===u||u.call(i);var m=(null===(l=i.getCachedExportInfoMap)||void 0===l?void 0:l.call(i))||r({getCurrentProgram:function(){return o},getPackageJsonAutoImportProvider:function(){var e;return null===(e=i.getPackageJsonAutoImportProvider)||void 0===e?void 0:e.call(i)}});if(m.isUsableByFile(t.path))return null===(p=i.log)||void 0===p||p.call(i,"getExportInfoMap: cache hit"),m;null===(d=i.log)||void 0===d||d.call(i,"getExportInfoMap: cache miss or empty; calculating new results");var g=o.getCompilerOptions(),h=0;return n(o,i,!0,(function(r,n,i,o){++h%100==0&&(null==c||c.throwIfCancellationRequested());var u=new e.Map,l=i.getTypeChecker(),p=a(r,l,g);p&&s(p.symbol,l)&&m.add(t.path,p.symbol,1===p.exportKind?"default":"export=",r,n,p.exportKind,o,l),l.forEachExportAndPropertyOfModule(r,(function(i,a){i!==(null==p?void 0:p.symbol)&&s(i,l)&&e.addToSeen(u,a)&&m.add(t.path,i,a,r,n,0,o,l)}))})),null===(f=i.log)||void 0===f||f.call(i,"getExportInfoMap: done in ".concat(e.timestamp()-_," ms")),m},e.getDefaultLikeExportInfo=a}(n||(n={})),function(e){e.createClassifier=function(){var o=e.createScanner(99,!1);function s(i,s,c){var u=0,l=0,p=[],d=function(t){switch(t){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(t)}}(s),f=d.prefix,_=d.pushTemplate;i=f+i;var m=f.length;_&&p.push(15),o.setText(i);var g=0,h=[],y=0;do{u=o.scan(),e.isTrivia(u)||(b(),l=u);var v=o.getTextPos();if(n(o.getTokenPos(),v,m,a(u),h),v>=i.length){var D=r(o,u,e.lastOrUndefined(p));void 0!==D&&(g=D)}}while(1!==u);function b(){switch(u){case 43:case 68:!t[l]&&13===o.reScanSlashToken()&&(u=13);break;case 29:79===l&&y++;break;case 31:y>0&&y--;break;case 130:case 149:case 146:case 133:case 150:y>0&&!c&&(u=79);break;case 15:p.push(u);break;case 18:p.length>0&&p.push(u);break;case 19:if(p.length>0){var r=e.lastOrUndefined(p);15===r?17===(u=o.reScanTemplateToken(!1))?p.pop():e.Debug.assertEqual(u,16,"Should have been a template middle."):(e.Debug.assertEqual(r,18,"Should have been an open brace"),p.pop())}break;default:if(!e.isKeyword(u))break;(24===l||e.isKeyword(l)&&e.isKeyword(u)&&!function(t,r){if(!e.isAccessibilityModifier(t))return!0;switch(r){case 136:case 148:case 134:case 124:return!0;default:return!1}}(l,u))&&(u=79)}}return{endOfLineState:g,spans:h}}return{getClassificationsForLine:function(t,r,n){return function(t,r){for(var n=[],a=t.spans,o=0,s=0;s<a.length;s+=3){var c=a[s],u=a[s+1],l=a[s+2];if(o>=0){var p=c-o;p>0&&n.push({length:p,classification:e.TokenClass.Whitespace})}n.push({length:u,classification:i(l)}),o=c+u}var d=r.length-o;return d>0&&n.push({length:d,classification:e.TokenClass.Whitespace}),{entries:n,finalLexState:t.endOfLineState}}(s(t,r,n),t)},getEncodedLexicalClassifications:s}};var t=e.arrayToNumericMap([79,10,8,9,13,108,45,46,21,23,19,110,95],(function(e){return e}),(function(){return!0}));function r(t,r,n){switch(r){case 10:if(!t.isUnterminated())return;for(var i=t.getTokenText(),a=i.length-1,o=0;92===i.charCodeAt(a-o);)o++;return 0==(1&o)?void 0:34===i.charCodeAt(0)?3:2;case 3:return t.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(r)){if(!t.isUnterminated())return;switch(r){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+r)}}return 15===n?6:void 0}}function n(e,t,r,n,i){if(8!==n){0===e&&r>0&&(e+=r);var a=t-e;a>0&&i.push(e-r,a,n)}}function i(t){switch(t){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 a(t){if(e.isKeyword(t))return 3;if(function(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 102:case 101:case 127:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 74:case 73:case 78:case 70:case 71:case 72:case 64:case 65:case 66:case 68:case 69:case 63:case 27:case 60:case 75:case 76:case 77:return!0;default:return!1}}(t)||function(e){switch(e){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}(t))return 5;if(t>=18&&t<=78)return 10;switch(t){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;default:return e.isTemplateLiteralKind(t)?6:2}}function o(e,t){switch(t){case 260:case 256:case 257:case 255:case 225:case 212:case 213:e.throwIfCancellationRequested()}}function s(t,r,n,i,a){var s=[];return n.forEachChild((function u(l){if(l&&e.textSpanIntersectsWith(a,l.pos,l.getFullWidth())){if(o(r,l.kind),e.isIdentifier(l)&&!e.nodeIsMissing(l)&&i.has(l.escapedText)){var p=t.getSymbolAtLocation(l),d=p&&c(p,e.getMeaningFromLocation(l),t);d&&function(t,r,n){var i=r-t;e.Debug.assert(i>0,"Classification had non-positive length of ".concat(i)),s.push(t),s.push(i),s.push(n)}(l.getStart(n),l.getEnd(),d)}l.forEachChild(u)}})),{spans:s,endOfLineState:0}}function c(t,r,n){var i=t.getFlags();if(0!=(2885600&i))return 32&i?11:384&i?12:524288&i?16:1536&i?4&r||1&r&&function(t){return e.some(t.declarations,(function(t){return e.isModuleDeclaration(t)&&1===e.getModuleInstanceState(t)}))}(t)?14:void 0:2097152&i?c(n.getAliasedSymbol(t),r,n):2&r?64&i?13:262144&i?15:void 0:void 0}function u(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 l(t){e.Debug.assert(t.spans.length%3==0);for(var r=t.spans,n=[],i=0;i<r.length;i+=3)n.push({textSpan:e.createTextSpan(r[i],r[i+1]),classificationType:u(r[i+2])});return n}function p(t,r,n){var i=n.start,a=n.length,s=e.createScanner(99,!1,r.languageVariant,r.text),c=e.createScanner(99,!1,r.languageVariant,r.text),u=[];return y(r),{spans:u,endOfLineState:0};function l(e,t,r){u.push(e),u.push(t),u.push(r)}function p(t,n,i,a){if(3===n){var o=e.parseIsolatedJSDocComment(r.text,i,a);if(o&&o.jsDoc)return e.setParent(o.jsDoc,t),void function(e){var t,r,n,i,a,o,s,c=e.pos;if(e.tags)for(var u=0,p=e.tags;u<p.length;u++){var _=p[u];_.pos!==c&&d(c,_.pos-c),l(_.pos,1,10),l(_.tagName.pos,_.tagName.end-_.tagName.pos,18),c=_.tagName.end;var m=_.tagName.end;switch(_.kind){case 338:var g=_;D(g),m=g.isNameFirst&&(null===(t=g.typeExpression)||void 0===t?void 0:t.end)||g.name.end;break;case 345:var h=_;m=h.isNameFirst&&(null===(r=h.typeExpression)||void 0===r?void 0:r.end)||h.name.end;break;case 342:f(_),c=_.end,m=_.typeParameters.end;break;case 343:var v=_;m=307===(null===(n=v.typeExpression)||void 0===n?void 0:n.kind)&&(null===(i=v.fullName)||void 0===i?void 0:i.end)||(null===(a=v.typeExpression)||void 0===a?void 0:a.end)||m;break;case 336:case 340:case 337:m=_.typeExpression.end;break;case 341:y(_.typeExpression),c=_.end,m=_.typeExpression.end;break;case 339:y(_.typeExpression),c=_.end,m=(null===(o=_.typeExpression)||void 0===o?void 0:o.end)||m;break;case 344:m=(null===(s=_.name)||void 0===s?void 0:s.end)||m;break;case 326:case 327:m=_.class.end}"object"==typeof _.comment?d(_.comment.pos,_.comment.end-_.comment.pos):"string"==typeof _.comment&&d(m,_.end-m)}return void(c!==e.end&&d(c,e.end-c));function D(e){e.isNameFirst&&(d(c,e.name.pos-c),l(e.name.pos,e.name.end-e.name.pos,17),c=e.name.end),e.typeExpression&&(d(c,e.typeExpression.pos-c),y(e.typeExpression),c=e.typeExpression.end),e.isNameFirst||(d(c,e.name.pos-c),l(e.name.pos,e.name.end-e.name.pos,17),c=e.name.end)}}(o.jsDoc)}else if(2===n&&function(t,n){var i=/^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/im,a=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim,o=r.text.substr(t,n),s=i.exec(o);if(!s||!s[3]||!(s[3]in e.commentPragmas))return!1;var c=t;d(c,s[1].length),l(c+=s[1].length,s[2].length,10),l(c+=s[2].length,s[3].length,21),c+=s[3].length;for(var u=s[4],p=c;;){var f=a.exec(u);if(!f)break;var _=c+f.index+f[1].length;_>p&&(d(p,_-p),p=_),l(p,f[2].length,22),p+=f[2].length,f[3].length&&(d(p,f[3].length),p+=f[3].length),l(p,f[4].length,5),p+=f[4].length,f[5].length&&(d(p,f[5].length),p+=f[5].length),l(p,f[6].length,24),p+=f[6].length}(c+=s[4].length)>p&&d(p,c-p),s[5]&&(l(c,s[5].length,10),c+=s[5].length);var m=t+n;return c<m&&d(c,m-c),!0}(i,a))return;d(i,a)}function d(e,t){l(e,t,1)}function f(e){for(var t=0,r=e.getChildren();t<r.length;t++)y(r[t])}function _(t,r,n){var i;for(i=r;i<n&&!e.isLineBreak(t.charCodeAt(i));i++);for(l(r,i-r,1),c.setTextPos(i);c.getTextPos()<n;)m()}function m(){var e=c.getTextPos(),t=c.scan(),r=c.getTextPos(),n=h(t);n&&l(e,r-e,n)}function g(t){if(e.isJSDoc(t)||e.nodeIsMissing(t))return!0;var n=function(e){switch(e.parent&&e.parent.kind){case 279:if(e.parent.tagName===e)return 19;break;case 280:if(e.parent.tagName===e)return 20;break;case 278:if(e.parent.tagName===e)return 21;break;case 284:if(e.parent.name===e)return 22}}(t);if(!e.isToken(t)&&11!==t.kind&&void 0===n)return!1;var i=11===t.kind?t.pos:function(t){for(s.setTextPos(t.pos);;){var n=s.getTextPos();if(!e.couldStartTrivia(r.text,n))return n;var i=s.scan(),a=s.getTextPos(),o=a-n;if(!e.isTrivia(i))return n;switch(i){case 4:case 5:continue;case 2:case 3:p(t,i,n,o),s.setTextPos(a);continue;case 7:var c=r.text,u=c.charCodeAt(n);if(60===u||62===u){l(n,o,1);continue}e.Debug.assert(124===u||61===u),_(c,n,a);break;case 6:break;default:e.Debug.assertNever(i)}}}(t),a=t.end-i;if(e.Debug.assert(a>=0),a>0){var o=n||h(t.kind,t);o&&l(i,a,o)}return!0}function h(t,r){if(e.isKeyword(t))return 3;if((29===t||31===t)&&r&&e.getTypeArgumentOrTypeParameterList(r.parent))return 10;if(e.isPunctuation(t)){if(r){var n=r.parent;if(63===t&&(253===n.kind||166===n.kind||163===n.kind||284===n.kind)||220===n.kind||218===n.kind||219===n.kind||221===n.kind)return 5}return 10}if(8===t)return 4;if(9===t)return 25;if(10===t)return r&&284===r.parent.kind?24:6;if(13===t)return 6;if(e.isTemplateLiteralKind(t))return 6;if(11===t)return 23;if(79===t){if(r){switch(r.parent.kind){case 256:return r.parent.name===r?11:void 0;case 162:return r.parent.name===r?15:void 0;case 257:return r.parent.name===r?13:void 0;case 259:return r.parent.name===r?12:void 0;case 260:return r.parent.name===r?14:void 0;case 163:return r.parent.name===r?e.isThisIdentifier(r)?3:17:void 0}if(e.isConstTypeReference(r.parent))return 3}return 2}}function y(n){if(n&&e.decodedTextSpanIntersectsWith(i,a,n.pos,n.getFullWidth())){o(t,n.kind);for(var s=0,c=n.getChildren(r);s<c.length;s++){var u=c[s];g(u)||y(u)}}}}e.getSemanticClassifications=function(e,t,r,n,i){return l(s(e,t,r,n,i))},e.getEncodedSemanticClassifications=s,e.getSyntacticClassifications=function(e,t,r){return l(p(e,t,r))},e.getEncodedSyntacticClassifications=p}(n||(n={})),function(e){var t;!function(t){var r;function n(e,t,r,n){return{spans:i(e,r,n,t),endOfLineState:0}}function i(t,r,n,i){var c=[];return t&&r&&function(t,r,n,i,c){var u=t.getTypeChecker(),l=!1;function p(d){switch(d.kind){case 260:case 256:case 257:case 255:case 225:case 212:case 213:c.throwIfCancellationRequested()}if(d&&e.textSpanIntersectsWith(n,d.pos,d.getFullWidth())&&0!==d.getFullWidth()){var f=l;if((e.isJsxElement(d)||e.isJsxSelfClosingElement(d))&&(l=!0),e.isJsxExpression(d)&&(l=!1),e.isIdentifier(d)&&!l&&!function(t){var r=t.parent;return r&&(e.isImportClause(r)||e.isImportSpecifier(r)||e.isNamespaceImport(r))}(d)&&!e.isInfinityOrNaNString(d.escapedText)){var _=u.getSymbolAtLocation(d);if(_){2097152&_.flags&&(_=u.getAliasedSymbol(_));var m=function(t,r){var n=t.getFlags();if(32&n)return 0;if(384&n)return 1;if(524288&n)return 5;if(64&n){if(2&r)return 2}else if(262144&n)return 4;var i=t.valueDeclaration||t.declarations&&t.declarations[0];return i&&e.isBindingElement(i)&&(i=a(i)),i&&s.get(i.kind)}(_,e.getMeaningFromLocation(d));if(void 0!==m){var g=0;d.parent&&(e.isBindingElement(d.parent)||s.get(d.parent.kind)===m)&&d.parent.name===d&&(g=1),6===m&&o(d)&&(m=9),m=function(t,r,n){if(7===n||9===n||6===n){var i=t.getTypeAtLocation(r);if(i){var a=function(e){return e(i)||i.isUnion()&&i.types.some(e)};if(6!==n&&a((function(e){return e.getConstructSignatures().length>0})))return 0;if(a((function(e){return e.getCallSignatures().length>0}))&&!a((function(e){return e.getProperties().length>0}))||function(t){for(;o(t);)t=t.parent;return e.isCallExpression(t.parent)&&t.parent.expression===t}(r))return 9===n?11:10}}return n}(u,d,m);var h=_.valueDeclaration;if(h){var y=e.getCombinedModifierFlags(h),v=e.getCombinedNodeFlags(h);32&y&&(g|=2),256&y&&(g|=4),0!==m&&2!==m&&(64&y||2&v||8&_.getFlags())&&(g|=8),(7===m||10===m)&&function(t,r){return e.isBindingElement(t)&&(t=a(t)),e.isVariableDeclaration(t)?(!e.isSourceFile(t.parent.parent.parent)||e.isCatchClause(t.parent))&&t.getSourceFile()===r:!!e.isFunctionDeclaration(t)&&!e.isSourceFile(t.parent)&&t.getSourceFile()===r}(h,r)&&(g|=32),t.isSourceFileDefaultLibrary(h.getSourceFile())&&(g|=16)}else _.declarations&&_.declarations.some((function(e){return t.isSourceFileDefaultLibrary(e.getSourceFile())}))&&(g|=16);i(d,m,g)}}}e.forEachChild(d,p),l=f}}p(r)}(t,r,n,(function(e,t,n){c.push(e.getStart(r),e.getWidth(r),(t+1<<8)+n)}),i),c}function a(t){for(;;){if(!e.isBindingElement(t.parent.parent))return t.parent.parent;t=t.parent.parent}}function o(t){return e.isQualifiedName(t.parent)&&t.parent.right===t||e.isPropertyAccessExpression(t.parent)&&t.parent.name===t}(r=t.TokenEncodingConsts||(t.TokenEncodingConsts={}))[r.typeOffset=8]="typeOffset",r[r.modifierMask=255]="modifierMask",function(e){e[e.class=0]="class",e[e.enum=1]="enum",e[e.interface=2]="interface",e[e.namespace=3]="namespace",e[e.typeParameter=4]="typeParameter",e[e.type=5]="type",e[e.parameter=6]="parameter",e[e.variable=7]="variable",e[e.enumMember=8]="enumMember",e[e.property=9]="property",e[e.function=10]="function",e[e.member=11]="member"}(t.TokenType||(t.TokenType={})),function(e){e[e.declaration=0]="declaration",e[e.static=1]="static",e[e.async=2]="async",e[e.readonly=3]="readonly",e[e.defaultLibrary=4]="defaultLibrary",e[e.local=5]="local"}(t.TokenModifier||(t.TokenModifier={})),t.getSemanticClassifications=function(t,r,i,a){var o=n(t,r,i,a);e.Debug.assert(o.spans.length%3==0);for(var s=o.spans,c=[],u=0;u<s.length;u+=3)c.push({textSpan:e.createTextSpan(s[u],s[u+1]),classificationType:s[u+2]});return c},t.getEncodedSemanticClassifications=n;var s=new e.Map([[253,7],[163,6],[166,9],[260,3],[259,1],[297,8],[256,0],[168,11],[255,10],[212,10],[167,11],[171,9],[172,9],[165,9],[257,2],[258,5],[162,4],[294,9],[295,9]])}((t=e.classifier||(e.classifier={})).v2020||(t.v2020={}))}(n||(n={})),function(e){var t;!function(r){function n(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:e.map((function(e){var r=e.name,n=e.kind,a=e.span;return{name:r,kind:n,kindModifiers:i(e.extension),sortText:t.SortText.LocationPriority,replacementSpan:a}}))}}function i(t){switch(t){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".d.mts":return".d.mts";case".mjs":return".mjs";case".mts":return".mts";case".d.cts":return".d.cts";case".cjs":return".cjs";case".cts":return".cts";case".tsbuildinfo":return e.Debug.fail("Extension ".concat(".tsbuildinfo"," is unsupported."));case void 0:return"";default:return e.Debug.assertNever(t)}}var o,s,c;function u(r,n,i,a,o,s,c){var u=l(n.parent);switch(u.kind){case 195:var f=l(u.parent);switch(f.kind){case 177:var _=f,m=e.findAncestor(u,(function(e){return e.parent===_}));return m?{kind:2,types:d(a.getTypeArgumentConstraint(m)),isNewIdentifier:!1}:void 0;case 193:var h=f,y=h.indexType,v=h.objectType;return e.rangeContainsPosition(y,i)?p(a.getTypeFromTypeNode(v)):void 0;case 199:return{kind:0,paths:g(r,n,o,s,a,c)};case 186:if(!e.isTypeReferenceNode(f.parent))return;var D=function(t,r){return e.mapDefined(t.types,(function(t){return t!==r&&e.isLiteralTypeNode(t)&&e.isStringLiteral(t.literal)?t.literal.text:void 0}))}(f,u);return{kind:2,types:d(a.getTypeArgumentConstraint(f)).filter((function(t){return!e.contains(D,t.value)})),isNewIdentifier:!1};default:return}case 294:return e.isObjectLiteralExpression(u.parent)&&u.name===n?function(r,n){var i=r.getContextualType(n);if(i){var a=r.getContextualType(n,4);return{kind:1,symbols:t.getPropertiesForObjectExpression(i,a,n,r),hasIndexSignature:e.hasIndexSignature(i)}}}(a,u.parent):C();case 206:var b=u,x=b.expression,E=b.argumentExpression;return n===e.skipParentheses(E)?p(a.getTypeAtLocation(x)):void 0;case 207:case 208:if(!function(t){return e.isCallExpression(t.parent)&&e.firstOrUndefined(t.parent.arguments)===t&&e.isIdentifier(t.parent.expression)&&"require"===t.parent.expression.escapedText}(n)&&!e.isImportCall(u)){var S=e.SignatureHelp.getArgumentInfoForCompletions(n,i,r);return S?function(t,r){var n=!1,i=new e.Map,a=[];return r.getResolvedSignature(t.invocation,a,t.argumentCount),{kind:2,types:e.flatMap(a,(function(r){if(e.signatureHasRestParameter(r)||!(t.argumentCount>r.parameters.length)){var a=r.getTypeParameterAtPosition(t.argumentIndex);return n=n||!!(4&a.flags),d(a,i)}})),isNewIdentifier:n}}(S,a):C()}case 265:case 271:case 276:return{kind:0,paths:g(r,n,o,s,a,c)};default:return C()}function C(){return{kind:2,types:d(e.getContextualTypeFromParent(n,a)),isNewIdentifier:!1}}}function l(t){switch(t.kind){case 190:return e.walkUpParenthesizedTypes(t);case 211:return e.walkUpParenthesizedExpressions(t);default:return t}}function p(t){return t&&{kind:1,symbols:e.filter(t.getApparentProperties(),(function(t){return!(t.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(t.valueDeclaration))})),hasIndexSignature:e.hasIndexSignature(t)}}function d(t,r){return void 0===r&&(r=new e.Map),t?(t=e.skipConstraint(t)).isUnion()?e.flatMap(t.types,(function(e){return d(e,r)})):!t.isStringLiteral()||1024&t.flags||!e.addToSeen(r,t.value)?e.emptyArray:[t]:e.emptyArray}function f(e,t,r){return{name:e,kind:t,extension:r}}function _(e){return f(e,"directory",void 0)}function m(t,r,n){var i=function(t,r){var n=Math.max(t.lastIndexOf(e.directorySeparator),t.lastIndexOf(e.altDirectorySeparator)),i=-1!==n?n+1:0,a=t.length-i;return 0===a||e.isIdentifierText(t.substr(i,a),99)?void 0:e.createTextSpan(r+i,a)}(t,r),a=0===t.length?void 0:e.createTextSpan(r,t.length);return n.map((function(t){var r=t.name,n=t.kind,o=t.extension;return-1!==Math.max(r.indexOf(e.directorySeparator),r.indexOf(e.altDirectorySeparator))?{name:r,kind:n,extension:o,span:a}:{name:r,kind:n,extension:o,span:i}}))}function g(t,r,n,i,o,s){return m(r.text,r.getStart(t)+1,function(t,r,n,i,o,s){var c=e.normalizeSlashes(r.text),u=t.path,l=e.getDirectoryPath(u);return function(e){if(e&&e.length>=2&&46===e.charCodeAt(0)){var t=e.length>=3&&46===e.charCodeAt(1)?2:1,r=e.charCodeAt(t);return 47===r||92===r}return!1}(c)||!n.baseUrl&&(e.isRootedDiskPath(c)||e.isUrl(c))?function(t,r,n,i,o,s){var c=h(n,s);return n.rootDirs?function(t,r,n,i,o,s,c){var u=function(t,r,n,i){t=t.map((function(t){return e.normalizePath(e.isRootedDiskPath(t)?t:e.combinePaths(r,t))}));var o=e.firstDefined(t,(function(t){return e.containsPath(t,n,r,i)?n.substr(t.length):void 0}));return e.deduplicate(a(a([],t.map((function(t){return e.combinePaths(t,o)})),!0),[n],!1),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}(t,o.project||s.getCurrentDirectory(),n,!(s.useCaseSensitiveFileNames&&s.useCaseSensitiveFileNames()));return e.flatMap(u,(function(e){return v(r,e,i,s,c)}))}(n.rootDirs,t,r,c,n,i,o):v(t,r,c,i,o)}(c,l,n,i,u,p()):function(t,r,n,i,a){var o=n.baseUrl,s=n.paths,c=[],u=h(n);if(o){var l=n.project||i.getCurrentDirectory(),p=e.normalizePath(e.combinePaths(l,o));v(t,p,u,i,void 0,c),s&&D(c,t,p,u.extensions,s,i)}for(var d=b(t),_=0,m=function(t,r,n){var i=n.getAmbientModules().map((function(t){return e.stripQuotes(t.name)})).filter((function(r){return e.startsWith(r,t)}));if(void 0!==r){var a=e.ensureTrailingDirectorySeparator(r);return i.map((function(t){return e.removePrefix(t,a)}))}return i}(t,d,a);_<m.length;_++){var g=m[_];c.push(f(g,"external module name",void 0))}if(E(i,n,r,d,u,c),e.getEmitModuleResolutionKind(n)===e.ModuleResolutionKind.NodeJs){var y=!1;if(void 0===d)for(var x=function(e){c.some((function(t){return t.name===e}))||(y=!0,c.push(f(e,"external module name",void 0)))},S=0,T=function(t,r){if(!t.readFile||!t.fileExists)return e.emptyArray;for(var n=[],i=0,a=e.findPackageJsons(r,t);i<a.length;i++)for(var o=a[i],s=e.readJson(o,t),c=0,u=C;c<u.length;c++){var l=s[u[c]];if(l)for(var p in l)l.hasOwnProperty(p)&&!e.startsWith(p,"@types/")&&n.push(p)}return n}(i,r);S<T.length;S++)x(T[S]);y||e.forEachAncestorDirectory(r,(function(r){var n=e.combinePaths(r,"node_modules");e.tryDirectoryExists(i,n)&&v(t,n,u,i,void 0,c)}))}return c}(c,l,n,i,o);function p(){var n=e.isStringLiteralLike(r)?e.getModeForUsageLocation(t,r):void 0;return"js"===s.importModuleSpecifierEnding||n===e.ModuleKind.ESNext?2:0}}(t,r,n,i,o,s))}function h(t,r){return void 0===r&&(r=0),{extensions:e.flatten(y(t)),includeExtensionsOption:r}}function y(t){var r=e.getSupportedExtensions(t);return e.getEmitModuleResolutionKind(t)===e.ModuleResolutionKind.NodeJs?e.getSupportedExtensionsWithJsonIfResolveJsonModule(t,r):r}function v(t,r,n,i,a,o){var s=n.extensions,c=n.includeExtensionsOption;void 0===o&&(o=[]),void 0===t&&(t=""),t=e.normalizeSlashes(t),e.hasTrailingDirectorySeparator(t)||(t=e.getDirectoryPath(t)),""===t&&(t="."+e.directorySeparator),t=e.ensureTrailingDirectorySeparator(t);var u=e.resolvePath(r,t),l=e.hasTrailingDirectorySeparator(u)?u:e.getDirectoryPath(u),p=!(i.useCaseSensitiveFileNames&&i.useCaseSensitiveFileNames());if(!e.tryDirectoryExists(i,l))return o;var d=e.tryReadDirectory(i,l,s,void 0,["./*"]);if(d){for(var m=new e.Map,g=0,h=d;g<h.length;g++){var y=h[g];if(y=e.normalizePath(y),!a||0!==e.comparePaths(y,a,r,p)){var v=void 0,b=e.moduleSpecifiers.tryGetJSExtensionForFile(y,i.getCompilationSettings());0!==c||e.fileExtensionIsOneOf(y,[".json",".mts",".cts",".d.mts",".d.cts",".mjs",".cjs"])?(e.fileExtensionIsOneOf(y,[".mts",".cts",".d.mts",".d.cts",".mjs",".cjs"])||2===c)&&b?(v=e.changeExtension(e.getBaseFileName(y),b),m.set(v,b)):(v=e.getBaseFileName(y),m.set(v,e.tryGetExtensionFromPath(y))):(v=e.removeFileExtension(e.getBaseFileName(y)),m.set(v,e.tryGetExtensionFromPath(y)))}}m.forEach((function(e,t){o.push(f(t,"script",e))}))}var x=e.tryGetDirectories(i,l);if(x)for(var E=0,S=x;E<S.length;E++){var C=S[E],T=e.getBaseFileName(e.normalizePath(C));"@types"!==T&&o.push(_(T))}var k=e.findPackageJson(l,i);if(k){var A=e.readJson(k,i).typesVersions;if("object"==typeof A){var N=e.getPackageJsonTypesVersionsPaths(A),P=N&&N.paths,F=u.slice(e.ensureTrailingDirectorySeparator(l).length);P&&D(o,F,l,s,P,i)}}return o}function D(t,r,n,i,a,o){for(var s in a)if(e.hasProperty(a,s)){var c=a[s];if(c)for(var u=function(e,r,n){t.some((function(t){return t.name===e}))||t.push(f(e,r,n))},l=0,p=x(s,c,r,n,i,o);l<p.length;l++){var d=p[l];u(d.name,d.kind,d.extension)}}}function b(t){return T(t)?e.hasTrailingDirectorySeparator(t)?t:e.getDirectoryPath(t):void 0}function x(t,r,n,i,o,s){if(!e.endsWith(t,"*"))return e.stringContains(t,"*")?e.emptyArray:l(t);var c=t.slice(0,t.length-1),u=e.tryRemovePrefix(n,c);return void 0===u?l(c):e.flatMap(r,(function(t){return function(t,r,n,i,o){if(o.readDirectory){var s=e.tryParsePattern(n);if(void 0!==s&&!e.isString(s)){var c=e.resolvePath(s.prefix),u=e.hasTrailingDirectorySeparator(s.prefix)?c:e.getDirectoryPath(c),l=e.hasTrailingDirectorySeparator(s.prefix)?"":e.getBaseFileName(c),p=T(t),d=p?e.hasTrailingDirectorySeparator(t)?t:e.getDirectoryPath(t):void 0,m=p?e.combinePaths(u,l+d):u,g=e.normalizePath(s.suffix),h=e.normalizePath(e.combinePaths(r,m)),y=p?h:e.ensureTrailingDirectorySeparator(h)+l,v=g?"**/*":"./*",D=e.mapDefined(e.tryReadDirectory(o,h,i,void 0,[v]),(function(t){var r=e.tryGetExtensionFromPath(t),n=x(t);return void 0===n?void 0:f(e.removeFileExtension(n),"script",r)})),b=e.mapDefined(e.tryGetDirectories(o,h).map((function(t){return e.combinePaths(h,t)})),(function(e){var t=x(e);return void 0===t?void 0:_(t)}));return a(a([],D,!0),b,!0)}}function x(t){var r=function(t,r,n){return e.startsWith(t,r)&&e.endsWith(t,n)?t.slice(r.length,t.length-n.length):void 0}(e.normalizePath(t),y,g);return void 0===r?void 0:function(t){return t[0]===e.directorySeparator?t.slice(1):t}(r)}}(u,i,t,o,s)}));function l(t){return e.startsWith(t,n)?[_(t)]:e.emptyArray}}function E(t,r,n,i,a,o){void 0===o&&(o=[]);for(var s=new e.Map,c=0,u=e.tryAndIgnoreErrors((function(){return e.getEffectiveTypeRoots(r,t)}))||e.emptyArray;c<u.length;c++)_(u[c]);for(var l=0,p=e.findPackageJsons(n,t);l<p.length;l++){var d=p[l];_(e.combinePaths(e.getDirectoryPath(d),"node_modules/@types"))}return o;function _(n){if(e.tryDirectoryExists(t,n))for(var c=0,u=e.tryGetDirectories(t,n);c<u.length;c++){var l=u[c],p=e.unmangleScopedPackageName(l);if(!r.types||e.contains(r.types,p))if(void 0===i)s.has(p)||(o.push(f(p,"external module name",void 0)),s.set(p,!0));else{var d=e.combinePaths(n,l),_=e.tryRemoveDirectoryPrefix(i,p,e.hostGetCanonicalFileName(t));void 0!==_&&v(_,d,a,t,void 0,o)}}}}r.getStringLiteralCompletions=function(r,i,a,o,s,c,l,p){if(e.isInReferenceComment(r,i))return(d=function(t,r,n,i){var a=e.getTokenAtPosition(t,r),o=e.getLeadingCommentRanges(t.text,a.pos),s=o&&e.find(o,(function(e){return r>=e.pos&&r<=e.end}));if(s){var c=t.text.slice(s.pos,r),u=S.exec(c);if(u){var l=u[1],p=u[2],d=u[3],f=e.getDirectoryPath(t.path),_="path"===p?v(d,f,h(n,1),i,t.path):"types"===p?E(i,n,f,b(d),h(n)):e.Debug.fail();return m(d,s.pos+l.length,_)}}}(r,i,o,s))&&n(d);if(e.isInString(r,i,a)){if(!a||!e.isStringLiteralLike(a))return;var d;return function(r,i,a,o,s,c,u,l){if(void 0!==r){var p=e.createTextSpanFromStringLiteralLikeContent(i);switch(r.kind){case 0:return n(r.paths);case 1:var d=e.createSortedArray();return t.getCompletionEntriesFromSymbols(r.symbols,d,i,i,a,a,o,s,99,c,4,l,u,void 0),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:r.hasIndexSignature,optionalReplacementSpan:p,entries:d};case 2:return d=r.types.map((function(r){return{name:r.value,kindModifiers:"",kind:"string",sortText:t.SortText.LocationPriority,replacementSpan:e.getReplacementSpanForContextToken(i)}})),{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:r.isNewIdentifier,optionalReplacementSpan:p,entries:d};default:return e.Debug.assertNever(r)}}}(d=u(r,a,i,c.getTypeChecker(),o,s,p),a,r,s,c,l,o,p)}},r.getStringLiteralCompletionDetails=function(r,n,a,o,s,c,l,p,d){if(o&&e.isStringLiteralLike(o)){var f=u(n,o,a,s,c,l,d);return f&&function(r,n,a,o,s,c){switch(a.kind){case 0:return(u=e.find(a.paths,(function(e){return e.name===r})))&&t.createCompletionDetails(r,i(u.extension),u.kind,[e.textPart(r)]);case 1:var u;return(u=e.find(a.symbols,(function(e){return e.name===r})))&&t.createCompletionDetailsForSymbol(u,s,o,n,c);case 2:return e.find(a.types,(function(e){return e.value===r}))?t.createCompletionDetails(r,"","type",[e.textPart(r)]):void 0;default:return e.Debug.assertNever(a)}}(r,o,f,n,s,p)}},(s=o||(o={}))[s.Paths=0]="Paths",s[s.Properties=1]="Properties",s[s.Types=2]="Types",function(e){e[e.Exclude=0]="Exclude",e[e.Include=1]="Include",e[e.ModuleSpecifierCompletion=2]="ModuleSpecifierCompletion"}(c||(c={}));var S=/^(\/\/\/\s*<reference\s+(path|types)\s*=\s*(?:'|"))([^\3"]*)$/,C=["dependencies","devDependencies","peerDependencies","optionalDependencies"];function T(t){return e.stringContains(t,e.directorySeparator)}}((t=e.Completions||(e.Completions={})).StringCompletions||(t.StringCompletions={}))}(n||(n={})),function(e){!function(t){var r,n,i,a,s,c,u,l;function p(e){return!!(e&&4&e.kind)}function d(e){return!(!e||32!==e.kind)}function f(e){return(p(e)||d(e))&&!!e.isFromPackageJson}function _(e){return!!(e&&64&e.kind)}function m(r,n,i,a,o,s,c){var u,l,p,d=e.timestamp(),f=e.createPackageJsonImportFilter(a,o,n),_=!1,m=0,g=0,h=0,y=0,v=c({tryResolve:function(r,c){if(c){var u=e.codefix.getModuleSpecifierForBestExportInfo(r,a,i,n,o);return u&&m++,u}var l=s||o.allowIncompleteCompletions&&g<t.moduleSpecifierResolutionLimit,p=!l&&o.allowIncompleteCompletions&&y<t.moduleSpecifierResolutionCacheAttemptLimit,d=l||p?e.codefix.getModuleSpecifierForBestExportInfo(r,a,i,n,o,f,p):void 0;return(!l&&!p||p&&!d)&&(_=!0),g+=(null==d?void 0:d.computedWithoutCacheCount)||0,h+=r.length-g,p&&y++,d},resolutionLimitExceeded:function(){return _}}),D=y?" (".concat((h/y*100).toFixed(1),"% hit rate)"):"";return null===(u=n.log)||void 0===u||u.call(n,"".concat(r,": resolved ").concat(g," module specifiers, plus ").concat(m," ambient and ").concat(h," from cache").concat(D)),null===(l=n.log)||void 0===l||l.call(n,"".concat(r,": response is ").concat(_?"incomplete":"complete")),null===(p=n.log)||void 0===p||p.call(n,"".concat(r,": ").concat(e.timestamp()-d)),v}function g(t,r){var n,i,a=e.compareStringsCaseSensitiveUI(t.sortText,r.sortText);return 0===a&&(a=e.compareStringsCaseSensitiveUI(t.name,r.name)),0===a&&(null===(n=t.data)||void 0===n?void 0:n.moduleSpecifier)&&(null===(i=r.data)||void 0===i?void 0:i.moduleSpecifier)&&(a=e.compareNumberOfDirectorySeparators(t.data.moduleSpecifier,r.data.moduleSpecifier)),0===a?-1:a}function h(e){return!(null==e||!e.moduleSpecifier)}function y(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}function v(t){return{name:e.tokenToString(t),kind:"keyword",kindModifiers:"",sortText:r.GlobalsOrKeywords}}function D(e,t,r){return{kind:4,keywordCompletions:W(e,t),isNewIdentifierLocation:r}}function b(t){return 79===(null==t?void 0:t.kind)?e.createTextSpanFromNode(t):void 0}function x(t,r){return e.isSourceFileJS(t)&&!e.isCheckJsEnabledForFile(t,r)}function E(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}function S(t,r,n){return"object"==typeof n?e.pseudoBigIntToString(n)+"n":e.isString(n)?e.quote(t,r,n):JSON.stringify(n)}function C(e,t,n){return{name:S(e,t,n),kind:"string",kindModifiers:"",sortText:r.LocationPriority}}function T(t,r,n,i,o,s,c,u,l,_,m,g,h,y,v,D,b,x,E,S,C,T){var A,P,O,L,M,R,B,j=e.getReplacementSpanForContextToken(n),K=I(m),J=u.getTypeChecker(),U=m&&function(e){return!!(16&e.kind)}(m),q=m&&function(e){return!!(2&e.kind)}(m)||_;if(m&&function(e){return!!(1&e.kind)}(m))O=_?"this".concat(U?"?.":"","[").concat(F(s,x,l),"]"):"this".concat(U?"?.":".").concat(l);else if((q||U)&&h){O=q?"[".concat(_?F(s,x,l):l,"]"):l,(U||h.questionDotToken)&&(O="?.".concat(O));var V=e.findChildOfKind(h,24,s)||e.findChildOfKind(h,28,s);if(!V)return;var z=e.startsWith(l,h.name.text)?h.name.end:V.end;j=e.createTextSpanFromBounds(V.getStart(s),z)}if(y&&(void 0===O&&(O=l),O="{".concat(O,"}"),"boolean"!=typeof y&&(j=e.createTextSpanFromNode(y,s))),m&&function(e){return!!(8&e.kind)}(m)&&h){void 0===O&&(O=l);var W=e.findPrecedingToken(h.pos,s),H="";W&&e.positionIsASICandidate(W.end,W.parent,s)&&(H=";"),H+="(await ".concat(h.expression.getText(),")"),O=_?"".concat(H).concat(O):"".concat(H).concat(U?"?.":".").concat(O),j=e.createTextSpanFromBounds(h.getStart(s),h.end)}if(d(m)&&(R=[e.textPart(m.moduleSpecifier)],v&&(O=(A=function(t,r,n,i,a,o,s){var c,u,l,p=r.getSourceFile(),d=e.createTextSpanFromNode(e.findAncestor(r,e.or(e.isImportDeclaration,e.isImportEqualsDeclaration))||r,p),f=e.quote(p,s,i.moduleSpecifier),_=i.isDefaultExport?1:"export="===i.exportName?2:0,m=s.includeCompletionsWithSnippetText?"$1":"",g=e.codefix.getImportKind(p,_,o,!0),h=(null===(u=null===(c=e.tryCast(r,e.isImportDeclaration))||void 0===c?void 0:c.importClause)||void 0===u?void 0:u.isTypeOnly)||(null===(l=e.tryCast(r,e.isImportEqualsDeclaration))||void 0===l?void 0:l.isTypeOnly),y=ae(r,n),v=h?" ".concat(e.tokenToString(151)," "):" ",D=y?"".concat(e.tokenToString(151)," "):"",b=a?";":"";switch(g){case 3:return{replacementSpan:d,insertText:"import".concat(v).concat(e.escapeSnippetText(t)).concat(m," = require(").concat(f,")").concat(b)};case 1:return{replacementSpan:d,insertText:"import".concat(v).concat(e.escapeSnippetText(t)).concat(m," from ").concat(f).concat(b)};case 2:return{replacementSpan:d,insertText:"import".concat(v,"* as ").concat(e.escapeSnippetText(t)," from ").concat(f).concat(b)};case 0:return{replacementSpan:d,insertText:"import".concat(v,"{ ").concat(D).concat(e.escapeSnippetText(t)).concat(m," } from ").concat(f).concat(b)}}}(l,v,i,m,D,b,x)).insertText,j=A.replacementSpan,M=!!x.includeCompletionsWithSnippetText||void 0)),64===(null==m?void 0:m.kind)&&(B=!0),x.includeCompletionsWithClassMemberSnippets&&x.includeCompletionsWithInsertText&&3===E&&function(t,r){if(e.isInJSFile(r))return!1;var n=106500;return!!(t.flags&n)&&(e.isClassLike(r)||r.parent&&r.parent.parent&&e.isClassElement(r.parent)&&r===r.parent.name&&e.isClassLike(r.parent.parent)||r.parent&&e.isSyntaxList(r)&&e.isClassLike(r.parent))}(t,o)){var G=void 0;O=(P=k(c,u,b,x,l,t,o,i,S)).insertText,M=P.isSnippet,null!=(G=P.importAdder)&&G.hasFixes()&&(B=!0,K=a.ClassMemberSnippet)}if(C&&!T&&x.includeCompletionsWithSnippetText&&x.jsxAttributeCompletionStyle&&"none"!==x.jsxAttributeCompletionStyle){var $="braces"===x.jsxAttributeCompletionStyle,Y=J.getTypeOfSymbolAtLocation(t,o);"auto"!==x.jsxAttributeCompletionStyle||528&Y.flags||1048576&Y.flags&&e.find(Y.types,(function(e){return!!(528&e.flags)}))||(402653316&Y.flags||1048576&Y.flags&&e.every(Y.types,(function(e){return!!(402686084&e.flags)}))?(O="".concat(e.escapeSnippetText(l),"=").concat(e.quote(s,x,"$1")),M=!0):$=!0),$&&(O="".concat(e.escapeSnippetText(l),"={$1}"),M=!0)}if(void 0===O||x.includeCompletionsWithInsertText)return(p(m)||d(m))&&(L=N(m),B=!v),{name:l,kind:e.SymbolDisplay.getSymbolKind(J,t,o),kindModifiers:e.SymbolDisplay.getSymbolModifiers(J,t),sortText:r,source:K,hasAction:!!B||void 0,isRecommended:w(t,g,J)||void 0,insertText:O,replacementSpan:j,sourceDisplay:R,isSnippet:M,isPackageJsonImport:f(m)||void 0,isImportStatementCompletion:!!v||void 0,data:L}}function k(t,r,n,i,a,s,c,u,l){var p=e.findAncestor(c,e.isClassLike);if(!p)return{insertText:a};var d,f,_=a,m=r.getTypeChecker(),g=c.getSourceFile(),h=function(t){var r=e.textChanges.createWriter(e.getNewLineCharacter(t)),n=e.createPrinter(t,r),i=o(o({},r),{write:function(t){return r.write(e.escapeSnippetText(t))},nonEscapingWrite:r.write,writeLiteral:function(t){return r.writeLiteral(e.escapeSnippetText(t))},writeStringLiteral:function(t){return r.writeStringLiteral(e.escapeSnippetText(t))},writeSymbol:function(t,n){return r.writeSymbol(e.escapeSnippetText(t),n)},writeParameter:function(t){return r.writeParameter(e.escapeSnippetText(t))},writeComment:function(t){return r.writeComment(e.escapeSnippetText(t))},writeProperty:function(t){return r.writeProperty(e.escapeSnippetText(t))}});return{printSnippetList:a};function a(e,t,r){return i.clear(),n.writeList(e,t,r,i),i.getText()}}({removeComments:!0,module:n.module,target:n.target,omitTrailingSemicolon:!1,newLine:e.getNewLineKind(e.getNewLineCharacter(n,e.maybeBind(t,t.getNewLine)))}),y=e.codefix.createImportAdder(g,r,i,t);if(i.includeCompletionsWithSnippetText){d=!0;var v=e.factory.createEmptyStatement();f=e.factory.createBlock([v],!0),e.setSnippetElement(v,{kind:0,order:0})}else f=e.factory.createBlock([],!0);var D=0,b=u&&126===A(u),x=[];if(e.codefix.addNewNodeForMemberSymbol(s,p,g,{program:r,host:t},i,y,(function(t){var r=0;b&&(r|=128),e.isClassElement(t)&&1===m.getMemberOverrideModifierStatus(p,t)&&(r|=16384);var n=0;x.length||(u&&(n=function(t){var r,n=0;return(r=A(t))&&(n|=e.modifierToFlag(r)),e.isPropertyDeclaration(t.parent)&&(n|=e.modifiersToFlags(t.parent.modifiers)),n}(u)),D=t.modifierFlagsCache|r|n),t=e.factory.updateModifiers(t,D&~n),x.push(t)}),f,2,b),x.length)if(l){var E={text:h.printSnippetList(131073,e.factory.createNodeArray(x),g),getLineAndCharacterOfPosition:function(t){return e.getLineAndCharacterOfPosition(this,t)}},S=e.getFormatCodeSettingsForWriting(l,g),C=e.flatMap(x,(function(t){var r=e.textChanges.assignPositionsToNode(t);return e.formatting.formatNodeGivenIndentation(r,E,g.languageVariant,0,0,o(o({},l),{options:S}))}));_=e.textChanges.applyChanges(E.text,C)}else _=h.printSnippetList(131073,e.factory.createNodeArray(x),g);return{insertText:_,isSnippet:d,importAdder:y}}function A(t){return e.isModifier(t)?t.kind:e.isIdentifier(t)&&t.originalKeywordKind&&e.isModifierKind(t.originalKeywordKind)?t.originalKeywordKind:void 0}function N(t){var r=t.fileName?void 0:e.stripQuotes(t.moduleSymbol.name),n=!!t.isFromPackageJson||void 0;return d(t)?{exportName:t.exportName,moduleSpecifier:t.moduleSpecifier,ambientModuleName:r,fileName:t.fileName,isPackageJsonImport:n}:{exportName:t.exportName,exportMapKey:t.exportMapKey,fileName:t.fileName,ambientModuleName:t.fileName?void 0:e.stripQuotes(t.moduleSymbol.name),isPackageJsonImport:!!t.isFromPackageJson||void 0}}function P(e,t,r){var n="default"===e.exportName,i=!!e.isPackageJsonImport;return h(e)?{kind:32,exportName:e.exportName,moduleSpecifier:e.moduleSpecifier,symbolName:t,fileName:e.fileName,moduleSymbol:r,isDefaultExport:n,isFromPackageJson:i}:{kind:4,exportName:e.exportName,exportMapKey:e.exportMapKey,symbolName:t,fileName:e.fileName,moduleSymbol:r,isDefaultExport:n,isFromPackageJson:i}}function F(t,r,n){return/^\d+$/.test(n)?n:e.quote(t,r,n)}function w(e,t,r){return e===t||!!(1048576&e.flags)&&r.getExportSymbolOfSymbol(e)===t}function I(t){return p(t)?e.stripQuotes(t.moduleSymbol.name):d(t)?t.moduleSpecifier:1===(null==t?void 0:t.kind)?a.ThisProperty:64===(null==t?void 0:t.kind)?a.TypeOnlyAlias:void 0}function O(t,r,n,i,a,o,s,c,u,l,p,d,f,m,h,y,v,D,b,x,E,S,C,k){for(var A,N=e.timestamp(),P=function(t){return e.findAncestor(t,(function(t){return e.isFunctionBlock(t)||function(t){return t.parent&&e.isArrowFunction(t.parent)&&t.parent.body===t}(t)||e.isBindingPattern(t)?"quit":e.isVariableDeclaration(t)}))}(a),F=e.probablyUsesSemicolons(o),w=c.getTypeChecker(),I=new e.Map,O=0;O<t.length;O++){var L=t[O],M=null==E?void 0:E[O],R=q(L,u,M,p,!!v);if(R&&!I.get(R.name)&&(1!==p||!S||V(L,S))){var B=R.name,j=R.needsConvertPropertyAccess,K=null!==(A=null==S?void 0:S[e.getSymbolId(L)])&&void 0!==A?A:11,J=T(L,(ue(L,w)?8+K:K).toString(),n,i,a,o,s,c,B,j,M,x,y,D,b,F,f,d,p,m,C,k);if(J){var U=(!M||_(M))&&!(void 0===L.parent&&!e.some(L.declarations,(function(e){return e.getSourceFile()===a.getSourceFile()})));I.set(B,U),e.insertSorted(r,J,g,!0)}}}return l("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(e.timestamp()-N)),{has:function(e){return I.has(e)},add:function(e){return I.set(e,!0)}};function V(t,r){var n=t.flags;if(!e.isSourceFile(a)){if(e.isExportAssignment(a.parent))return!0;if(P&&t.valueDeclaration===P)return!1;var i=e.skipAlias(t,w);if(o.externalModuleIndicator&&!f.allowUmdGlobalAccess&&15===r[e.getSymbolId(t)]&&(16===r[e.getSymbolId(i)]||11===r[e.getSymbolId(i)]))return!1;if(n|=e.getCombinedLocalAndExportSymbolFlags(i),e.isInRightSideOfInternalImportEqualsDeclaration(a))return!!(1920&n);if(h)return ce(t,w)}return!!(111551&n)}}function L(t,r,n,i,o,s,c){if(o.data){var u=U(o.name,o.data,t,s);if(u){var l=J(i,n),p=l.contextToken,d=l.previousToken;return{type:"symbol",symbol:u.symbol,location:e.getTouchingPropertyName(n,i),previousToken:d,contextToken:p,isJsxInitializer:!1,isTypeOnlyLocation:!1,origin:u.origin}}}var f=t.getCompilerOptions(),_=K(t,r,n,x(n,f),i,{includeCompletionsForModuleExports:!0,includeCompletionsWithInsertText:!0},o,s);if(!_)return{type:"none"};if(0!==_.kind)return{type:"request",request:_};var m=_.symbols,g=_.literals,h=_.location,y=_.completionKind,v=_.symbolToOriginInfoMap,D=_.contextToken,b=_.previousToken,E=_.isJsxInitializer,C=_.isTypeOnlyLocation,T=e.find(g,(function(e){return S(n,c,e)===o.name}));return void 0!==T?{type:"literal",literal:T}:e.firstDefined(m,(function(t,r){var n=v[r],i=q(t,e.getEmitScriptTarget(f),n,y,_.isJsxIdentifierExpected);return i&&i.name===o.name&&(o.source===a.ClassMemberSnippet&&106500&t.flags||I(n)===o.source)?{type:"symbol",symbol:t,location:h,origin:n,contextToken:D,previousToken:b,isJsxInitializer:E,isTypeOnlyLocation:C}:void 0}))||{type:"none"}}function M(t,r,n){return B(t,"",r,[e.displayPart(t,n)])}function R(t,r,n,i,a,o,s){var c=r.runWithCancellationToken(a,(function(r){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(r,t,n,i,i,7)})),u=c.displayParts,l=c.documentation,p=c.symbolKind,d=c.tags;return B(t.name,e.SymbolDisplay.getSymbolModifiers(r,t),p,u,l,d,o,s)}function B(e,t,r,n,i,a,o,s){return{name:e,kindModifiers:t,kind:r,displayParts:n,documentation:i,tags:a,codeActions:o,source:s,sourceDisplay:s}}function j(t,r,n){var i=n.getAccessibleSymbolChain(t,r,67108863,!1);return i?e.first(i):t.parent&&(function(e){var t;return!(null===(t=e.declarations)||void 0===t||!t.some((function(e){return 303===e.kind})))}(t.parent)?t:j(t.parent,r,n))}function K(t,r,n,i,a,o,s,c,u){var l=t.getTypeChecker(),p=e.timestamp(),d=e.getTokenAtPosition(n,a);r("getCompletionData: Get current token: "+(e.timestamp()-p)),p=e.timestamp();var f=e.isInComment(n,a,d);r("getCompletionData: Is inside comment: "+(e.timestamp()-p));var _=!1,g=!1;if(f){if(e.hasDocComment(n,a)){if(64===n.text.charCodeAt(a-1))return{kind:1};var h=e.getLineStartPositionForPosition(a,n);if(!/[^\*|\s(/)]/.test(n.text.substring(h,a)))return{kind:2}}var y=function(t,r){return e.findAncestor(t,(function(t){return!(!e.isJSDocTag(t)||!e.rangeContainsPosition(t,r))||!!e.isJSDoc(t)&&"quit"}))}(d,a);if(y){if(y.tagName.pos<=a&&a<=y.tagName.end)return{kind:1};if(function(e){switch(e.kind){case 338:case 345:case 339:case 341:case 343:return!0;default:return!1}}(y)&&y.typeExpression&&307===y.typeExpression.kind&&(!(d=e.getTokenAtPosition(n,a))||!e.isDeclarationName(d)&&(345!==d.parent.kind||d.parent.name!==d))&&(_=Pe(y.typeExpression)),!_&&e.isJSDocParameterTag(y)&&(e.nodeIsMissing(y.name)||y.name.pos<=a&&a<=y.name.end))return{kind:3,tag:y}}if(!_)return void r("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.")}p=e.timestamp();var b=!_&&e.isSourceFileJS(n),x=J(a,n),E=x.previousToken,S=x.contextToken;r("getCompletionData: Get previous token: "+(e.timestamp()-p));var C,T,k,A,N,P=d,F=!1,w=!1,I=!1,O=!1,L=!1,M=!1,R=e.getTouchingPropertyName(n,a),B=0,K=!1;if(S){var U=ie(S);if(K=U.isNewIdentifierLocation,U.keywordCompletion){if(U.isKeywordOnlyCompletion)return{kind:4,keywordCompletions:[v(U.keywordCompletion)],isNewIdentifierLocation:K};B=function(t){if(151===t)return 8;e.Debug.fail("Unknown mapping from SyntaxKind to KeywordCompletionFilters")}(U.keywordCompletion)}if(U.replacementNode&&o.includeCompletionsForImportStatements&&o.includeCompletionsWithInsertText&&(T=U.replacementNode),!T&&(k=S,A=e.timestamp(),N=function(t){return(e.isRegularExpressionLiteral(t)||e.isStringTextContainingNode(t))&&(e.rangeContainsPositionExclusive(e.createTextRangeFromSpan(e.createTextSpanFromNode(t)),a)||a===t.end&&(!!t.isUnterminated||e.isRegularExpressionLiteral(t)))}(k)||function(t){var r=t.parent,i=r.kind;switch(t.kind){case 27:return 253===i||function(t){return 254===t.parent.kind&&!e.isPossiblyTypeArgumentPosition(t,n,l)}(t)||236===i||259===i||Te(i)||257===i||201===i||258===i||e.isClassLike(r)&&!!r.typeParameters&&r.typeParameters.end>=t.pos;case 24:case 22:return 201===i;case 58:return 202===i;case 20:return 291===i||Te(i);case 18:return 259===i;case 29:return 256===i||225===i||257===i||258===i||e.isFunctionLikeKind(i);case 124:return 166===i&&!e.isClassLike(r.parent);case 25:return 163===i||!!r.parent&&201===r.parent.kind;case 123:case 121:case 122:return 163===i&&!e.isConstructorDeclaration(r.parent);case 127:return 269===i||274===i||267===i;case 136:case 148:return!re(t);case 79:if(269===i&&t===r.name&&"type"===t.text)return!1;break;case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 137:return!0;case 151:return 269!==i;case 41:return e.isFunctionLike(t.parent)&&!e.isMethodDeclaration(t.parent)}if($(X(t))&&re(t)||Se(t)&&(!e.isIdentifier(t)||e.isParameterPropertyModifier(X(t))||Pe(t)))return!1;switch(X(t)){case 126:case 84:case 85:case 135:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return!0;case 131:return e.isPropertyDeclaration(t.parent)}if(e.findAncestor(t.parent,e.isClassLike)&&t===E&&Ce(t,a))return!1;var o=e.getAncestor(t.parent,166);if(o&&t!==E&&e.isClassLike(E.parent.parent)&&a<=E.end){if(Ce(t,E.end))return!1;if(63!==t.kind&&(e.isInitializedProperty(o)||e.hasType(o)))return!0}return e.isDeclarationName(t)&&!e.isShorthandPropertyAssignment(t.parent)&&!e.isJsxAttribute(t.parent)&&!(e.isClassLike(t.parent)&&(t!==E||a>E.end))}(k)||function(e){if(8===e.kind){var t=e.getFullText();return"."===t.charAt(t.length-1)}return!1}(k)||function(e){if(11===e.kind)return!0;if(31===e.kind&&e.parent){if(R===e.parent&&(279===R.kind||278===R.kind))return!1;if(279===e.parent.kind)return 279!==R.parent.kind;if(280===e.parent.kind||278===e.parent.kind)return!!e.parent.parent&&277===e.parent.parent.kind}return!1}(k)||e.isBigIntLiteral(k),r("getCompletionsAtPosition: isCompletionListBlocker: "+(e.timestamp()-A)),N))return r("Returning an empty list because completion was requested in an invalid position."),B?D(B,b,Ee()):void 0;var q=S.parent;if(24===S.kind||28===S.kind)switch(F=24===S.kind,w=28===S.kind,q.kind){case 205:P=(C=q).expression;var V=e.getLeftmostAccessExpression(C);if(e.nodeIsMissing(V)||(e.isCallExpression(P)||e.isFunctionLike(P))&&P.end===S.pos&&P.getChildCount(n)&&21!==e.last(P.getChildren(n)).kind)return;break;case 160:P=q.left;break;case 260:P=q.name;break;case 199:P=q;break;case 230:P=q.getFirstToken(n),e.Debug.assert(100===P.kind||103===P.kind);break;default:return}else if(!T&&1===n.languageVariant){if(q&&205===q.kind&&(S=q,q=q.parent),d.parent===R)switch(d.kind){case 31:(277===d.parent.kind||279===d.parent.kind)&&(R=d);break;case 43:278===d.parent.kind&&(R=d)}switch(q.kind){case 280:43===S.kind&&(O=!0,R=S);break;case 220:if(!ne(q))break;case 278:case 277:case 279:M=!0,29===S.kind&&(I=!0,R=S);break;case 287:case 286:19===E.kind&&31===d.kind&&(M=!0);break;case 284:if(q.initializer===E&&E.end<a){M=!0;break}switch(E.kind){case 63:L=!0;break;case 79:M=!0,q!==E.parent&&!q.initializer&&e.findChildOfKind(q,63,n)&&(L=E)}}}}var z=e.timestamp(),W=5,H=!1,Y=!1,Z=[],oe=[],se=[],ue=new e.Map,pe=_||!!T&&e.isTypeOnlyImportOrExportDeclaration(R.parent)||!function(t){return t&&(112===t.kind&&(180===t.parent.kind||e.isTypeOfExpression(t.parent))||128===t.kind&&176===t.parent.kind)}(S)&&(e.isPossiblyTypeArgumentPosition(S,n,l)||e.isPartOfTypeNode(R)||function(t){if(t){var r=t.parent.kind;switch(t.kind){case 58:return 166===r||165===r||163===r||253===r||e.isFunctionLikeKind(r);case 63:return 258===r;case 127:return 228===r;case 29:return 177===r||210===r;case 94:return 162===r}}return!1}(S)),de=e.memoizeOne((function(r){return e.createModuleSpecifierResolutionHost(r?c.getPackageJsonAutoImportProvider():t,c)}));if(F||w)!function(){W=2;var t,r,i=e.isLiteralImportTypeNode(P),a=_||i&&!P.isTypeOf||e.isPartOfTypeNode(P.parent)||e.isPossiblyTypeArgumentPosition(S,n,l),s=e.isInRightSideOfInternalImportEqualsDeclaration(P);if(e.isEntityName(P)||i||e.isPropertyAccessExpression(P)){var c=e.isModuleDeclaration(P.parent);c&&(K=!0);var u=l.getSymbolAtLocation(P);if(u&&1920&(u=e.skipAlias(u,l)).flags){var p=l.getExportsOfModule(u);e.Debug.assertEachIsDefined(p,"getExportsOfModule() should all be defined");for(var d=function(e){return l.isValidPropertyAccess(i?P:P.parent,e.name)},f=function(e){return ce(e,l)},m=c?function(e){var t;return!(!(1920&e.flags)||null!==(t=e.declarations)&&void 0!==t&&t.every((function(e){return e.parent===P.parent})))}:s?function(e){return f(e)||d(e)}:a?f:d,g=0,h=p;g<h.length;g++){var y=h[g];m(y)&&Z.push(y)}if(!a&&u.declarations&&u.declarations.some((function(e){return 303!==e.kind&&260!==e.kind&&259!==e.kind}))){var v=!1;(t=l.getTypeOfSymbolAtLocation(u,P).getNonOptionalType()).isNullableType()&&((r=F&&!w&&!1!==o.includeAutomaticOptionalChainCompletions)||w)&&(t=t.getNonNullableType(),r&&(v=!0)),ye(t,!!(32768&P.flags),v)}return}}a||(l.tryGetThisTypeAt(P,!1),v=!1,(t=l.getTypeAtLocation(P).getNonOptionalType()).isNullableType()&&((r=F&&!w&&!1!==o.includeAutomaticOptionalChainCompletions)||w)&&(t=t.getNonNullableType(),r&&(v=!0)),ye(t,!!(32768&P.flags),v))}();else if(I)Z=l.getJsxIntrinsicTagNamesAt(R),e.Debug.assertEachIsDefined(Z,"getJsxIntrinsicTagNames() should all be defined"),be(),W=1,B=0;else if(O){var fe=S.parent.parent.openingElement.tagName,_e=l.getSymbolAtLocation(fe);_e&&(Z=[_e]),W=1,B=0}else if(!be())return B?D(B,b,K):void 0;r("getCompletionData: Semantic work: "+(e.timestamp()-z));var me=E&&function(t,r,n,i){var a=t.parent;switch(t.kind){case 79:return e.getContextualTypeFromParent(t,i);case 63:switch(a.kind){case 253:return i.getContextualType(a.initializer);case 220:return i.getTypeAtLocation(a.left);case 284:return i.getContextualTypeForJsxAttribute(a);default:return}case 103:return i.getContextualType(a);case 82:var o=e.tryCast(a,e.isCaseClause);return o?e.getSwitchedType(o,i):void 0;case 18:return!e.isJsxExpression(a)||e.isJsxElement(a.parent)||e.isJsxFragment(a.parent)?void 0:i.getContextualTypeForJsxAttribute(a.parent);default:var s=e.SignatureHelp.getArgumentInfoForCompletions(t,r,n);return s?i.getContextualTypeForArgumentAtIndex(s.invocation,s.argumentIndex+(27===t.kind?1:0)):e.isEqualityOperatorKind(t.kind)&&e.isBinaryExpression(a)&&e.isEqualityOperatorKind(a.operatorToken.kind)?i.getTypeAtLocation(a.left):i.getContextualType(t)}}(E,a,n,l),ge=e.mapDefined(me&&(me.isUnion()?me.types:[me]),(function(e){return!e.isLiteral()||1024&e.flags?void 0:e.value})),he=E&&me&&function(t,r,n){return e.firstDefined(r&&(r.isUnion()?r.types:[r]),(function(r){var i=r&&r.symbol;return i&&424&i.flags&&!e.isAbstractConstructorSymbol(i)?j(i,t,n):void 0}))}(E,me,l);return{kind:0,symbols:Z,completionKind:W,isInSnippetScope:g,propertyAccessToConvert:C,isNewIdentifierLocation:K,location:R,keywordFilters:B,literals:ge,symbolToOriginInfoMap:oe,recommendedCompletion:he,previousToken:E,contextToken:S,isJsxInitializer:L,insideJsDocTagTypeExpression:_,symbolToSortTextIdMap:se,isTypeOnlyLocation:pe,isJsxIdentifierExpected:M,isRightOfOpenTag:I,importCompletionNode:T,hasUnresolvedAutoImports:Y};function ye(t,r,n){K=!!t.getStringIndexType(),w&&e.some(t.getCallSignatures())&&(K=!0);var a=199===P.kind?P:P.parent;if(i)Z.push.apply(Z,e.filter(ee(t,l),(function(e){return l.isValidPropertyAccessForCompletions(a,t,e)})));else for(var s=0,c=t.getApparentProperties();s<c.length;s++){var u=c[s];l.isValidPropertyAccessForCompletions(a,t,u)&&ve(u,!1,n)}if(r&&o.includeCompletionsWithInsertText){var p=l.getPromisedTypeOfPromise(t);if(p)for(var d=0,f=p.getApparentProperties();d<f.length;d++)u=f[d],l.isValidPropertyAccessForCompletions(a,p,u)&&ve(u,!0,n)}}function ve(r,i,a){var s,u=e.firstDefined(r.declarations,(function(t){return e.tryCast(e.getNameOfDeclaration(t),e.isComputedPropertyName)}));if(u){var p=De(u.expression),d=p&&l.getSymbolAtLocation(p),f=d&&j(d,S,l);if(f&&e.addToSeen(ue,e.getSymbolId(f))){var _=Z.length;Z.push(f);var m=f.parent;if(m&&e.isExternalModuleSymbol(m)&&l.tryGetMemberInModuleExportsAndProperties(f.name,m)===f){var g=e.isExternalModuleNameRelative(e.stripQuotes(m.name))?null===(s=e.getSourceFileOfModule(m))||void 0===s?void 0:s.fileName:void 0,h=(e.codefix.getModuleSpecifierForBestExportInfo([{exportKind:0,moduleFileName:g,isFromPackageJson:!1,moduleSymbol:m,symbol:f,targetFlags:e.skipAlias(f,l).flags}],n,t,c,o)||{}).moduleSpecifier;if(h){var y={kind:b(6),moduleSymbol:m,isDefaultExport:!1,symbolName:f.name,exportName:f.name,fileName:g,moduleSpecifier:h};oe[_]=y}}else oe[_]={kind:b(2)}}else o.includeCompletionsWithInsertText&&(D(r),v(r),Z.push(r))}else D(r),v(r),Z.push(r);function v(t){(function(t){return!!(t.valueDeclaration&&32&e.getEffectiveModifierFlags(t.valueDeclaration)&&e.isClassLike(t.valueDeclaration.parent))})(t)&&(se[e.getSymbolId(t)]=10)}function D(t){o.includeCompletionsWithInsertText&&(i&&e.addToSeen(ue,e.getSymbolId(t))?oe[Z.length]={kind:b(8)}:a&&(oe[Z.length]={kind:16}))}function b(e){return a?16|e:e}}function De(t){return e.isIdentifier(t)?t:e.isPropertyAccessExpression(t)?De(t.expression):void 0}function be(){return 1===(function(){var t=function(t){if(t){var r=t.parent;switch(t.kind){case 18:if(e.isTypeLiteralNode(r))return r;break;case 26:case 27:case 79:if(165===r.kind&&e.isTypeLiteralNode(r.parent))return r.parent}}}(S);if(!t)return 0;var r=(e.isIntersectionTypeNode(t.parent)?t.parent:void 0)||t,n=te(r,l);if(!n)return 0;var i=l.getTypeFromTypeNode(r),a=ee(n,l),o=ee(i,l),s=new e.Set;return o.forEach((function(e){return s.add(e.escapedName)})),Z=e.concatenate(Z,e.filter(a,(function(e){return!s.has(e.escapedName)}))),W=0,K=!0,1}()||function(){var t,r,n=function(t){if(t){var r=t.parent;switch(t.kind){case 18:case 27:if(e.isObjectLiteralExpression(r)||e.isObjectBindingPattern(r))return r;break;case 41:return e.isMethodDeclaration(r)?e.tryCast(r.parent,e.isObjectLiteralExpression):void 0;case 79:return"async"===t.text&&e.isShorthandPropertyAssignment(t.parent)?t.parent.parent:void 0}}}(S);if(!n)return 0;if(W=0,204===n.kind){var i=function(t,r){return r.getContextualType(t)||(e.isBinaryExpression(t.parent)&&63===t.parent.operatorToken.kind&&t===t.parent.left?r.getTypeAtLocation(t.parent):void 0)}(n,l);if(void 0===i)return 16777216&n.flags?2:(H=!0,0);var a=l.getContextualType(n,4),o=(a||i).getStringIndexType(),s=(a||i).getNumberIndexType();if(K=!!o||!!s,t=Q(i,a,n,l),r=n.properties,0===t.length&&!s)return H=!0,0}else{e.Debug.assert(200===n.kind),K=!1;var c=e.getRootDeclaration(n.parent);if(!e.isVariableLike(c))return e.Debug.fail("Root declaration is not variable-like.");var u=e.hasInitializer(c)||e.hasType(c)||243===c.parent.parent.kind;if(!u&&163===c.kind&&(e.isExpression(c.parent)?u=!!l.getContextualType(c.parent):(168===c.parent.kind||172===c.parent.kind)&&(u=e.isExpression(c.parent.parent)&&!!l.getContextualType(c.parent.parent))),u){var p=l.getTypeAtLocation(n);if(!p)return 2;t=l.getPropertiesOfType(p).filter((function(e){return l.isPropertyAccessible(n,!1,!1,p,e)})),r=n.elements}}return t&&t.length>0&&(Z=e.concatenate(Z,function(t,r){if(0===r.length)return t;for(var n=new e.Set,i=new e.Set,a=0,o=r;a<o.length;a++){var s=o[a];if((294===s.kind||295===s.kind||202===s.kind||168===s.kind||171===s.kind||172===s.kind||296===s.kind)&&!Pe(s)){var c=void 0;if(e.isSpreadAssignment(s))ke(s,n);else if(e.isBindingElement(s)&&s.propertyName)79===s.propertyName.kind&&(c=s.propertyName.escapedText);else{var u=e.getNameOfDeclaration(s);c=u&&e.isPropertyNameLiteral(u)?e.getEscapedTextOfIdentifierOrLiteral(u):void 0}void 0!==c&&i.add(c)}}var l=t.filter((function(e){return!i.has(e.escapedName)}));return Ne(n,l),l}(t,e.Debug.checkDefined(r)))),Ae(),1}()||(T?(K=!0,xe(),1):0)||function(){if(!S)return 0;var t=18===S.kind||27===S.kind?e.tryCast(S.parent,e.isNamedImportsOrExports):e.isTypeKeywordTokenOrIdentifier(S)?e.tryCast(S.parent.parent,e.isNamedImportsOrExports):void 0;if(!t)return 0;e.isTypeKeywordTokenOrIdentifier(S)||(B=8);var r=(268===t.kind?t.parent.parent:t.parent).moduleSpecifier;if(!r)return K=!0,268===t.kind?2:0;var n=l.getSymbolAtLocation(r);if(!n)return K=!0,2;W=3,K=!1;var i=l.getExportsAndPropertiesOfModule(n),a=new e.Set(t.elements.filter((function(e){return!Pe(e)})).map((function(e){return(e.propertyName||e.name).escapedText}))),o=i.filter((function(e){return"default"!==e.escapedName&&!a.has(e.escapedName)}));return Z=e.concatenate(Z,o),o.length||(B=0),1}()||function(){var t,r=!S||18!==S.kind&&27!==S.kind?void 0:e.tryCast(S.parent,e.isNamedExports);if(!r)return 0;var n=e.findAncestor(r,e.or(e.isSourceFile,e.isModuleDeclaration));return W=5,K=!1,null===(t=n.locals)||void 0===t||t.forEach((function(t,r){var i,a;Z.push(t),null!==(a=null===(i=n.symbol)||void 0===i?void 0:i.exports)&&void 0!==a&&a.has(r)&&(se[e.getSymbolId(t)]=12)})),1}()||(function(t){if(t){var r=t.parent;switch(t.kind){case 20:case 27:return e.isConstructorDeclaration(t.parent)?t.parent:void 0;default:if(Se(t))return r.parent}}}(S)?(W=5,K=!0,B=4,1):0)||function(){var t=function(t,r,n,i){switch(n.kind){case 346:return e.tryCast(n.parent,e.isObjectTypeDeclaration);case 1:var a=e.tryCast(e.lastOrUndefined(e.cast(n.parent,e.isSourceFile).statements),e.isObjectTypeDeclaration);if(a&&!e.findChildOfKind(a,19,t))return a;break;case 79:if(e.isPropertyDeclaration(n.parent)&&n.parent.initializer===n)return;if(re(n))return e.findAncestor(n,e.isObjectTypeDeclaration)}if(r){if(134===n.kind||e.isIdentifier(r)&&e.isPropertyDeclaration(r.parent)&&e.isClassLike(n))return e.findAncestor(r,e.isClassLike);switch(r.kind){case 63:return;case 26:case 19:return re(n)&&n.parent.name===n?n.parent.parent:e.tryCast(n,e.isObjectTypeDeclaration);case 18:case 27:return e.tryCast(r.parent,e.isObjectTypeDeclaration);default:if(!re(r))return e.getLineAndCharacterOfPosition(t,r.getEnd()).line!==e.getLineAndCharacterOfPosition(t,i).line&&e.isObjectTypeDeclaration(n)?n:void 0;var o=e.isClassLike(r.parent.parent)?$:G;return o(r.kind)||41===r.kind||e.isIdentifier(r)&&o(e.stringToToken(r.text))?r.parent.parent:void 0}}}(n,S,R,a);if(!t)return 0;if(W=3,K=!0,B=41===S.kind?0:e.isClassLike(t)?2:3,!e.isClassLike(t))return 1;var r=26===S.kind?S.parent.parent:S.parent,i=e.isClassElement(r)?e.getEffectiveModifierFlags(r):0;if(79===S.kind&&!Pe(S))switch(S.getText()){case"private":i|=8;break;case"static":i|=32;break;case"override":i|=16384}if(e.isClassStaticBlockDeclaration(r)&&(i|=32),!(8&i)){var o=e.isClassLike(t)&&16384&i?e.singleElementArray(e.getEffectiveBaseTypeNode(t)):e.getAllSuperTypeNodes(t),s=e.flatMap(o,(function(e){var r=l.getTypeAtLocation(e);return 32&i?(null==r?void 0:r.symbol)&&l.getPropertiesOfType(l.getTypeOfSymbolAtLocation(r.symbol,t)):r&&l.getPropertiesOfType(r)}));Z=e.concatenate(Z,function(t,r,n){for(var i=new e.Set,a=0,o=r;a<o.length;a++){var s=o[a];if(!(166!==s.kind&&168!==s.kind&&171!==s.kind&&172!==s.kind||Pe(s)||e.hasEffectiveModifier(s,8)||e.isStatic(s)!==!!(32&n))){var c=e.getPropertyNameForPropertyNameNode(s.name);c&&i.add(c)}}return t.filter((function(t){return!(i.has(t.escapedName)||!t.declarations||8&e.getDeclarationModifierFlagsFromSymbol(t)||t.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(t.valueDeclaration))}))}(s,t.members,i))}return 1}()||function(){var t=function(t){if(t){var r=t.parent;switch(t.kind){case 31:case 30:case 43:case 79:case 205:case 285:case 284:case 286:if(r&&(278===r.kind||279===r.kind)){if(31===t.kind){var i=e.findPrecedingToken(t.pos,n,void 0);if(!r.typeArguments||i&&43===i.kind)break}return r}if(284===r.kind)return r.parent.parent;break;case 10:if(r&&(284===r.kind||286===r.kind))return r.parent.parent;break;case 19:if(r&&287===r.kind&&r.parent&&284===r.parent.kind)return r.parent.parent.parent;if(r&&286===r.kind)return r.parent.parent}}}(S),r=t&&l.getContextualType(t.attributes);if(!r)return 0;var i=t&&l.getContextualType(t.attributes,4);return Z=e.concatenate(Z,function(t,r){for(var n=new e.Set,i=new e.Set,a=0,o=r;a<o.length;a++){var s=o[a];Pe(s)||(284===s.kind?n.add(s.name.escapedText):e.isJsxSpreadAttribute(s)&&ke(s,i))}var c=t.filter((function(e){return!n.has(e.escapedName)}));return Ne(i,c),c}(Q(r,i,t.attributes,l),t.attributes.properties)),Ae(),W=3,K=!1,1}()||(function(){B=function(t){if(t){var r,n=e.findAncestor(t.parent,(function(t){return e.isClassLike(t)?"quit":!(!e.isFunctionLikeDeclaration(t)||r!==t.body)||(r=t,!1)}));return n&&n}}(S)?5:1,W=1,K=Ee(),E!==S&&e.Debug.assert(!!E,"Expected 'contextToken' to be defined when different from 'previousToken'.");var t=E!==S?E.getStart():a,r=function(t,r,n){for(var i=t;i&&!e.positionBelongsToNode(i,r,n);)i=i.parent;return i}(S,t,n)||n;g=function(t){switch(t.kind){case 303:case 222:case 287:case 234:return!0;default:return e.isStatement(t)}}(r);var i=2887656|(pe?0:111551),s=E&&!e.isValidTypeOnlyAliasUseSite(E);Z=e.concatenate(Z,l.getSymbolsInScope(r,i)),e.Debug.assertEachIsDefined(Z,"getSymbolsInScope() should all be defined");for(var c=0;c<Z.length;c++){var u=Z[c];if(!l.isArgumentsSymbol(u)&&!e.some(u.declarations,(function(e){return e.getSourceFile()===n}))&&(se[e.getSymbolId(u)]=15),s&&!(111551&u.flags)){var p=u.declarations&&e.find(u.declarations,e.isTypeOnlyImportOrExportDeclaration);if(p){var d={kind:64,declaration:p};oe[c]=d}}}if(o.includeCompletionsWithInsertText&&303!==r.kind){var f=l.tryGetThisTypeAt(r,!1);if(f&&!function(e,t,r){var n=r.resolveName("self",void 0,111551,!1);if(n&&r.getTypeOfSymbolAtLocation(n,t)===e)return!0;var i=r.resolveName("global",void 0,111551,!1);if(i&&r.getTypeOfSymbolAtLocation(i,t)===e)return!0;var a=r.resolveName("globalThis",void 0,111551,!1);return!(!a||r.getTypeOfSymbolAtLocation(a,t)!==e)}(f,n,l))for(var _=0,m=ee(f,l);_<m.length;_++)u=m[_],oe[Z.length]={kind:1},Z.push(u),se[e.getSymbolId(u)]=14}xe(),pe&&(B=S&&e.isAssertionExpression(S.parent)?6:7)}(),1))}function xe(){var r,i;if((T||!H&&o.includeCompletionsForModuleExports&&(n.externalModuleIndicator||n.commonJsModuleIndicator||e.compilerOptionsIndicateEsModules(t.getCompilerOptions())||e.programContainsModules(t)))&&(e.Debug.assert(!(null!=s&&s.data),"Should not run 'collectAutoImports' when faster path is available via `data`"),!s||s.source)){var a=E===S&&T&&ae(T,S)?"":E&&e.isIdentifier(E)?E.text.toLowerCase():"",l=null===(r=c.getModuleSpecifierCache)||void 0===r?void 0:r.call(c),p=e.getExportInfoMap(n,c,t,u),d=null===(i=c.getPackageJsonAutoImportProvider)||void 0===i?void 0:i.call(c),f=s?void 0:e.createPackageJsonImportFilter(n,o,c);m("collectAutoImports",c,t,n,o,!!T,(function(t){p.search(n.path,I,(function(t,r){if(!e.isIdentifierText(t,e.getEmitScriptTarget(c.getCompilationSettings()))||!s&&e.isStringANonContextualKeyword(t)||!pe&&!T&&!(111551&r)||pe&&!(790504&r))return!1;var n=t.charCodeAt(0);return(!I||!(n<65||n>90))&&(!!s||le(t,a))}),(function(r,n,i,a){if(!s||e.some(r,(function(t){return s.source===e.stripQuotes(t.moduleSymbol.name)}))){var o=e.find(r,_);if(o){var c=t.tryResolve(r,i)||{},u=c.exportInfo,l=void 0===u?o:u,p=c.moduleSpecifier,d=1===l.exportKind;!function(t,r){var n=e.getSymbolId(t);15!==se[n]&&(oe[Z.length]=r,se[n]=T?11:16,Z.push(t))}(d&&e.getLocalSymbolForExportDefault(l.symbol)||l.symbol,{kind:p?32:4,moduleSpecifier:p,symbolName:n,exportMapKey:a,exportName:2===l.exportKind?"export=":l.symbol.name,fileName:l.moduleFileName,isDefaultExport:d,moduleSymbol:l.moduleSymbol,isFromPackageJson:l.isFromPackageJson})}}})),Y=t.resolutionLimitExceeded()}))}function _(r){var i=e.tryCast(r.moduleSymbol.valueDeclaration,e.isSourceFile);if(!i){var a=e.stripQuotes(r.moduleSymbol.name);return(!e.JsTyping.nodeCoreModules.has(a)||e.startsWith(a,"node:")===e.shouldUseUriStyleNodeCoreModules(n,t))&&(!f||f.allowsImportingAmbientModule(r.moduleSymbol,de(r.isFromPackageJson)))}return e.isImportableFile(r.isFromPackageJson?d:t,n,i,o,f,de(r.isFromPackageJson),l)}}function Ee(){if(S){var e=S.parent.kind,t=X(S);switch(t){case 27:return 207===e||170===e||208===e||203===e||220===e||178===e||204===e;case 20:return 207===e||170===e||208===e||211===e||190===e;case 22:return 203===e||175===e||161===e;case 141:case 142:case 100:return!0;case 24:return 260===e;case 18:return 256===e||204===e;case 63:return 253===e||220===e;case 15:return 222===e;case 16:return 232===e;case 131:return 168===e||295===e;case 41:return 168===e}if($(t))return!0}return!1}function Se(t){return!!t.parent&&e.isParameter(t.parent)&&e.isConstructorDeclaration(t.parent.parent)&&(e.isParameterPropertyModifier(t.kind)||e.isDeclarationName(t))}function Ce(t,r){return 63!==t.kind&&(26===t.kind||!e.positionsAreOnSameLine(t.end,r,n))}function Te(t){return e.isFunctionLikeKind(t)&&170!==t}function ke(e,t){var r=e.expression,n=l.getSymbolAtLocation(r),i=n&&l.getTypeOfSymbolAtLocation(n,r),a=i&&i.properties;a&&a.forEach((function(e){t.add(e.name)}))}function Ae(){Z.forEach((function(t){var r;if(16777216&t.flags){var n=e.getSymbolId(t);se[n]=null!==(r=se[n])&&void 0!==r?r:12}}))}function Ne(t,r){if(0!==t.size)for(var n=0,i=r;n<i.length;n++){var a=i[n];t.has(a.name)&&(se[e.getSymbolId(a)]=13)}}function Pe(e){return e.getStart(n)<=a&&a<=e.getEnd()}}function J(t,r){var n=e.findPrecedingToken(t,r);return n&&t<=n.end&&(e.isMemberName(n)||e.isKeyword(n.kind))?{contextToken:e.findPrecedingToken(n.getFullStart(),r,void 0),previousToken:n}:{contextToken:n,previousToken:n}}function U(t,r,n,i){var a=r.isPackageJsonImport?i.getPackageJsonAutoImportProvider():n,o=a.getTypeChecker(),s=r.ambientModuleName?o.tryFindAmbientModule(r.ambientModuleName):r.fileName?o.getMergedSymbol(e.Debug.checkDefined(a.getSourceFile(r.fileName)).symbol):void 0;if(s){var c="export="===r.exportName?o.resolveExternalModuleSymbol(s):o.tryGetMemberInModuleExportsAndProperties(r.exportName,s);if(c)return{symbol:c="default"===r.exportName&&e.getLocalSymbolForExportDefault(c)||c,origin:P(r,t,s)}}}function q(t,r,n,i,a){var o=function(e){return p(e)||d(e)}(n)?n.symbolName:t.name;if(!(void 0===o||1536&t.flags&&e.isSingleOrDoubleQuote(o.charCodeAt(0))||e.isKnownSymbol(t))){var s={name:o,needsConvertPropertyAccess:!1};if(e.isIdentifierText(o,r,a?1:0)||t.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(t.valueDeclaration))return s;switch(i){case 3:return;case 0:return{name:JSON.stringify(o),needsConvertPropertyAccess:!1};case 2:case 1:return 32===o.charCodeAt(0)?void 0:{name:o,needsConvertPropertyAccess:!0};case 5:case 4:return s;default:e.Debug.assertNever(i)}}}t.moduleSpecifierResolutionLimit=100,t.moduleSpecifierResolutionCacheAttemptLimit=1e3,(n=r=t.SortText||(t.SortText={})).LocalDeclarationPriority="10",n.LocationPriority="11",n.OptionalMember="12",n.MemberDeclaredBySpreadAssignment="13",n.SuggestedClassMembers="14",n.GlobalsOrKeywords="15",n.AutoImportSuggestions="16",n.JavascriptIdentifiers="17",n.DeprecatedLocalDeclarationPriority="18",n.DeprecatedLocationPriority="19",n.DeprecatedOptionalMember="20",n.DeprecatedMemberDeclaredBySpreadAssignment="21",n.DeprecatedSuggestedClassMembers="22",n.DeprecatedGlobalsOrKeywords="23",n.DeprecatedAutoImportSuggestions="24",function(e){e[e.LocalDeclarationPriority=10]="LocalDeclarationPriority",e[e.LocationPriority=11]="LocationPriority",e[e.OptionalMember=12]="OptionalMember",e[e.MemberDeclaredBySpreadAssignment=13]="MemberDeclaredBySpreadAssignment",e[e.SuggestedClassMembers=14]="SuggestedClassMembers",e[e.GlobalsOrKeywords=15]="GlobalsOrKeywords",e[e.AutoImportSuggestions=16]="AutoImportSuggestions",e[e._JavaScriptIdentifiers=17]="_JavaScriptIdentifiers",e[e._DeprecatedStart=18]="_DeprecatedStart",e[e._First=10]="_First",e[e.DeprecatedOffset=8]="DeprecatedOffset"}(i||(i={})),function(e){e.ThisProperty="ThisProperty/",e.ClassMemberSnippet="ClassMemberSnippet/",e.TypeOnlyAlias="TypeOnlyAlias/"}(a=t.CompletionSource||(t.CompletionSource={})),function(e){e[e.ThisType=1]="ThisType",e[e.SymbolMember=2]="SymbolMember",e[e.Export=4]="Export",e[e.Promise=8]="Promise",e[e.Nullable=16]="Nullable",e[e.ResolvedExport=32]="ResolvedExport",e[e.TypeOnlyAlias=64]="TypeOnlyAlias",e[e.SymbolMemberNoExport=2]="SymbolMemberNoExport",e[e.SymbolMemberExport=6]="SymbolMemberExport"}(s||(s={})),function(e){e[e.None=0]="None",e[e.All=1]="All",e[e.ClassElementKeywords=2]="ClassElementKeywords",e[e.InterfaceElementKeywords=3]="InterfaceElementKeywords",e[e.ConstructorParameterKeywords=4]="ConstructorParameterKeywords",e[e.FunctionLikeBodyKeywords=5]="FunctionLikeBodyKeywords",e[e.TypeAssertionKeywords=6]="TypeAssertionKeywords",e[e.TypeKeywords=7]="TypeKeywords",e[e.TypeKeyword=8]="TypeKeyword",e[e.Last=7]="Last"}(c||(c={})),function(e){e[e.Continue=0]="Continue",e[e.Success=1]="Success",e[e.Fail=2]="Fail"}(u||(u={})),t.getCompletionsAtPosition=function(n,i,a,s,c,u,l,p,d,f){var _,v=J(c,s).previousToken;if(!l||e.isInString(s,c,v)||function(t,r,n,i){switch(r){case".":case"@":return!0;case'"':case"'":case"`":return!!n&&e.isStringLiteralOrTemplate(n)&&i===n.getStart(t)+1;case"#":return!!n&&e.isPrivateIdentifier(n)&&!!e.getContainingClass(n);case"<":return!!n&&29===n.kind&&(!e.isBinaryExpression(n.parent)||ne(n.parent));case"/":return!!n&&(e.isStringLiteralLike(n)?!!e.tryGetImportFromModuleSpecifier(n):43===n.kind&&e.isJsxClosingElement(n.parent));case" ":return!!n&&e.isImportKeyword(n)&&303===n.parent.kind;default:return e.Debug.assertNever(r)}}(s,l,v,c)){if(" "===l)return u.includeCompletionsForImportStatements&&u.includeCompletionsWithInsertText?{isGlobalCompletion:!0,isMemberCompletion:!1,isNewIdentifierLocation:!0,isIncomplete:!0,entries:[]}:void 0;var D=i.getCompilerOptions(),S=u.allowIncompleteCompletions?null===(_=n.getIncompleteCompletionsCache)||void 0===_?void 0:_.call(n):void 0;if(S&&3===p&&v&&e.isIdentifier(v)){var T=function(t,r,n,i,a,s,c){var u=t.get();if(u){var l=n.text.toLowerCase(),p=e.getExportInfoMap(r,a,i,c),d=m("continuePreviousIncompleteResponse",a,i,r,s,!1,(function(t){var n=e.mapDefined(u.entries,(function(n){if(!n.hasAction||!n.source||!n.data||h(n.data))return n;if(le(n.name,l)){var s=e.Debug.checkDefined(U(n.name,n.data,i,a)).origin,c=p.get(r.path,n.data.exportMapKey),u=c&&t.tryResolve(c,!e.isExternalModuleNameRelative(e.stripQuotes(s.moduleSymbol.name)));if(!u)return n;var d=o(o({},s),{kind:32,moduleSpecifier:u.moduleSpecifier});return n.data=N(d),n.source=I(d),n.sourceDisplay=[e.textPart(d.moduleSpecifier)],n}}));return t.resolutionLimitExceeded()||(u.isIncomplete=void 0),n}));return u.entries=d,u}}(S,s,v,i,n,u,d);if(T)return T}else null==S||S.clear();var k=t.StringCompletions.getStringLiteralCompletions(s,c,v,D,n,i,a,u);if(k)return k;if(v&&e.isBreakOrContinueStatement(v.parent)&&(81===v.kind||86===v.kind||79===v.kind))return function(t){var n=function(t){for(var n=[],i=new e.Map,a=t;a&&!e.isFunctionLike(a);){if(e.isLabeledStatement(a)){var o=a.label.text;i.has(o)||(i.set(o,!0),n.push({name:o,kindModifiers:"",kind:"label",sortText:r.LocationPriority}))}a=a.parent}return n}(t);if(n.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:n}}(v.parent);var A=K(i,a,s,x(s,D),c,u,void 0,n,d);if(A)switch(A.kind){case 0:var P=function(t,n,i,a,o,s,c,u,l){var p=s.symbols,d=s.contextToken,f=s.completionKind,_=s.isInSnippetScope,m=s.isNewIdentifierLocation,h=s.location,y=s.propertyAccessToConvert,v=s.keywordFilters,D=s.literals,S=s.symbolToOriginInfoMap,T=s.recommendedCompletion,k=s.isJsxInitializer,A=s.isTypeOnlyLocation,N=s.isJsxIdentifierExpected,P=s.isRightOfOpenTag,F=s.importCompletionNode,w=s.insideJsDocTagTypeExpression,I=s.symbolToSortTextIdMap,L=s.hasUnresolvedAutoImports;if(1===e.getLanguageVariant(t.scriptKind)){var M=function(t,n){var i=e.findAncestor(t,(function(e){switch(e.kind){case 280:return!0;case 43:case 31:case 79:case 205:return!1;default:return"quit"}}));if(i){var a=!!e.findChildOfKind(i,31,n),o=i.parent.openingElement.tagName.getText(n)+(a?"":">");return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:e.createTextSpanFromNode(i.tagName),entries:[{name:o,kind:"class",kindModifiers:void 0,sortText:r.LocationPriority}]}}}(h,t);if(M)return M}var R=e.createSortedArray();if(x(t,a)){var B=O(p,R,void 0,d,h,t,n,i,e.getEmitScriptTarget(a),o,f,c,a,u,A,y,N,k,F,T,S,I,N,P);!function(t,n,i,a,o){e.getNameTable(t).forEach((function(t,s){if(t!==n){var c=e.unescapeLeadingUnderscores(s);!i.has(c)&&e.isIdentifierText(c,a)&&(i.add(c),e.insertSorted(o,{name:c,kind:"warning",kindModifiers:"",sortText:r.JavascriptIdentifiers,isFromUncheckedFile:!0},g))}}))}(t,h.pos,B,e.getEmitScriptTarget(a),R)}else{if(!(m||p&&0!==p.length||0!==v))return;O(p,R,void 0,d,h,t,n,i,e.getEmitScriptTarget(a),o,f,c,a,u,A,y,N,k,F,T,S,I,N,P)}if(0!==v)for(var j=new e.Set(R.map((function(e){return e.name}))),K=0,J=W(v,!w&&e.isSourceFileJS(t));K<J.length;K++){var U=J[K];j.has(U.name)||e.insertSorted(R,U,g,!0)}for(var q=new e.Set(R.map((function(e){return e.name}))),V=0,z=function(t,n){var i=[];if(t){var a=t.getSourceFile(),o=t.parent,s=a.getLineAndCharacterOfPosition(t.end).line,c=a.getLineAndCharacterOfPosition(n).line;(e.isImportDeclaration(o)||e.isExportDeclaration(o)&&o.moduleSpecifier)&&t===o.moduleSpecifier&&s===c&&i.push({name:e.tokenToString(129),kind:"keyword",kindModifiers:"",sortText:r.GlobalsOrKeywords})}return i}(d,l);V<z.length;V++)U=z[V],q.has(U.name)||e.insertSorted(R,U,g,!0);for(var H=0,G=D;H<G.length;H++){var $=G[H];e.insertSorted(R,C(t,c,$),g,!0)}return{isGlobalCompletion:_,isIncomplete:!(!c.allowIncompleteCompletions||!L)||void 0,isMemberCompletion:E(f),isNewIdentifierLocation:m,optionalReplacementSpan:b(h),entries:R}}(s,n,i,D,a,A,u,f,c);return null!=P&&P.isIncomplete&&(null==S||S.set(P)),P;case 1:return y(e.JsDoc.getJSDocTagNameCompletions());case 2:return y(e.JsDoc.getJSDocTagCompletions());case 3:return y(e.JsDoc.getJSDocParameterNameCompletions(A.tag));case 4:return function(e,t){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t,entries:e.slice()}}(A.keywordCompletions,A.isNewIdentifierLocation);default:return e.Debug.assertNever(A)}}},t.getCompletionEntriesFromSymbols=O,t.getCompletionEntryDetails=function(r,n,i,o,s,c,u,l,f){var m=r.getTypeChecker(),g=r.getCompilerOptions(),h=s.name,y=s.source,v=s.data,D=e.findPrecedingToken(o,i);if(e.isInString(i,o,D))return t.StringCompletions.getStringLiteralCompletionDetails(h,i,o,D,m,g,c,f,l);var b=L(r,n,i,o,s,c,l);switch(b.type){case"request":var x=b.request;switch(x.kind){case 1:return e.JsDoc.getJSDocTagNameCompletionDetails(h);case 2:return e.JsDoc.getJSDocTagCompletionDetails(h);case 3:return e.JsDoc.getJSDocParameterNameCompletionDetails(h);case 4:return e.some(x.keywordCompletions,(function(e){return e.name===h}))?M(h,"keyword",e.SymbolDisplayPartKind.keyword):void 0;default:return e.Debug.assertNever(x)}case"symbol":var E=b.symbol,C=b.location,T=b.contextToken,A=b.origin,N=b.previousToken,P=function(t,r,n,i,o,s,c,u,l,f,m,g,h,y,v){if(null!=y&&y.moduleSpecifier&&m&&ie(n||m).replacementNode)return{codeActions:void 0,sourceDisplay:[e.textPart(y.moduleSpecifier)]};if(v===a.ClassMemberSnippet){var D=k(c,s,u,h,t,o,r,n,g).importAdder;if(D)return{sourceDisplay:void 0,codeActions:[{changes:e.textChanges.ChangeTracker.with({host:c,formatContext:g,preferences:h},D.writeFixes),description:e.diagnosticToString([e.Diagnostics.Includes_imports_of_types_referenced_by_0,t])}]}}if(_(i)){var b=e.codefix.getPromoteTypeOnlyCompletionAction(l,i.declaration.name,s,c,g,h);return e.Debug.assertIsDefined(b,"Expected to have a code action for promoting type-only alias"),{codeActions:[b],sourceDisplay:void 0}}if(!i||!p(i)&&!d(i))return{codeActions:void 0,sourceDisplay:void 0};var x=i.isFromPackageJson?c.getPackageJsonAutoImportProvider().getTypeChecker():s.getTypeChecker(),E=i.moduleSymbol,S=x.getMergedSymbol(e.skipAlias(o.exportSymbol||o,x)),C=29===(null==n?void 0:n.kind)&&e.isJsxOpeningLikeElement(n.parent),T=e.codefix.getImportCompletionAction(S,E,l,e.getNameForExportedSymbol(o,e.getEmitScriptTarget(u),C),C,c,s,g,m&&e.isIdentifier(m)?m.getStart(l):f,h),A=T.moduleSpecifier,N=T.codeAction;return e.Debug.assert(!(null!=y&&y.moduleSpecifier)||A===y.moduleSpecifier),{sourceDisplay:[e.textPart(A)],codeActions:[N]}}(h,C,T,A,E,r,c,g,i,o,N,u,l,v,y);return R(E,m,i,C,f,P.codeActions,P.sourceDisplay);case"literal":var F=b.literal;return M(S(i,l,F),"string","string"==typeof F?e.SymbolDisplayPartKind.stringLiteral:e.SymbolDisplayPartKind.numericLiteral);case"none":return z().some((function(e){return e.name===h}))?M(h,"keyword",e.SymbolDisplayPartKind.keyword):void 0;default:e.Debug.assertNever(b)}},t.createCompletionDetailsForSymbol=R,t.createCompletionDetails=B,t.getCompletionEntrySymbol=function(e,t,r,n,i,a,o){var s=L(e,t,r,n,i,a,o);return"symbol"===s.type?s.symbol:void 0},function(e){e[e.Data=0]="Data",e[e.JsDocTagName=1]="JsDocTagName",e[e.JsDocTag=2]="JsDocTag",e[e.JsDocParameterName=3]="JsDocParameterName",e[e.Keywords=4]="Keywords"}(l||(l={})),function(e){e[e.ObjectPropertyDeclaration=0]="ObjectPropertyDeclaration",e[e.Global=1]="Global",e[e.PropertyAccess=2]="PropertyAccess",e[e.MemberLike=3]="MemberLike",e[e.String=4]="String",e[e.None=5]="None"}(t.CompletionKind||(t.CompletionKind={}));var V=[],z=e.memoize((function(){for(var t=[],n=81;n<=159;n++)t.push({name:e.tokenToString(n),kind:"keyword",kindModifiers:"",sortText:r.GlobalsOrKeywords});return t}));function W(t,r){if(!r)return H(t);var n=t+7+1;return V[n]||(V[n]=H(t).filter((function(t){return!function(e){switch(e){case 126:case 130:case 157:case 133:case 135:case 92:case 156:case 117:case 137:case 118:case 139:case 140:case 141:case 142:case 143:case 146:case 147:case 158:case 121:case 122:case 123:case 144:case 149:case 150:case 151:case 153:case 154:return!0;default:return!1}}(e.stringToToken(t.name))})))}function H(t){return V[t]||(V[t]=z().filter((function(r){var n=e.stringToToken(r.name);switch(t){case 0:return!1;case 1:return Y(n)||135===n||141===n||151===n||142===n||126===n||e.isTypeKeyword(n)&&152!==n;case 5:return Y(n);case 2:return $(n);case 3:return G(n);case 4:return e.isParameterPropertyModifier(n);case 6:return e.isTypeKeyword(n)||85===n;case 7:return e.isTypeKeyword(n);case 8:return 151===n;default:return e.Debug.assertNever(t)}})))}function G(e){return 144===e}function $(t){switch(t){case 126:case 134:case 136:case 148:case 131:case 135:case 158:return!0;default:return e.isClassMemberModifier(t)}}function Y(t){return 131===t||132===t||127===t||!e.isContextualKeyword(t)&&!$(t)}function X(t){return e.isIdentifier(t)?t.originalKeywordKind||0:t.kind}function Q(t,r,n,i){var a=r&&r!==t,o=!a||3&r.flags?t:i.getUnionType([t,r]),s=function(t,r,n){return t.isUnion()?n.getAllPossiblePropertiesOfTypes(e.filter(t.types,(function(t){return!(131068&t.flags||n.isArrayLikeType(t)||n.isTypeInvalidDueToUnionDiscriminant(t,r)||e.typeHasCallOrConstructSignatures(t,n)||t.isClass()&&Z(t.getApparentProperties()))}))):t.getApparentProperties()}(o,n,i);return o.isClass()&&Z(s)?[]:a?e.filter(s,(function(t){return!e.length(t.declarations)||e.some(t.declarations,(function(e){return e.parent!==n}))})):s}function Z(t){return e.some(t,(function(t){return!!(24&e.getDeclarationModifierFlagsFromSymbol(t))}))}function ee(t,r){return t.isUnion()?e.Debug.checkEachDefined(r.getAllPossiblePropertiesOfTypes(t.types),"getAllPossiblePropertiesOfTypes() should all be defined"):e.Debug.checkEachDefined(t.getApparentProperties(),"getApparentProperties() should all be defined")}function te(t,r){if(t){if(e.isTypeNode(t)&&e.isTypeReferenceType(t.parent))return r.getTypeArgumentConstraint(t);var n=te(t.parent,r);if(n)switch(t.kind){case 165:return r.getTypeOfPropertyOfContextualType(n,t.symbol.escapedName);case 187:case 181:case 186:return n}}}function re(t){return t.parent&&e.isClassOrTypeElement(t.parent)&&e.isObjectTypeDeclaration(t.parent.parent)}function ne(t){var r=t.left;return e.nodeIsMissing(r)}function ie(t){var r,n=!1,i=function(){var i=t.parent;if(e.isImportEqualsDeclaration(i))return r=151===t.kind?void 0:151,se(i.moduleReference)?i:void 0;if(ae(i,t)&&oe(i.parent))return i;if(!e.isNamedImports(i)&&!e.isNamespaceImport(i))return e.isImportKeyword(t)&&e.isSourceFile(i)?(r=151,t):e.isImportKeyword(t)&&e.isImportDeclaration(i)?(r=151,se(i.moduleSpecifier)?i:void 0):void 0;if(!i.parent.isTypeOnly&&(18===t.kind||100===t.kind||27===t.kind)&&(r=151),oe(i)){if(19!==t.kind&&79!==t.kind)return i.parent.parent;n=!0,r=155}}();return{isKeywordOnlyCompletion:n,keywordCompletion:r,isNewIdentifierLocation:!(!i&&151!==r),replacementNode:i&&e.rangeIsOnSingleLine(i,i.getSourceFile())?i:void 0}}function ae(t,r){return e.isImportSpecifier(t)&&(t.isTypeOnly||r===t.name&&e.isTypeKeywordTokenOrIdentifier(r))}function oe(t){return se(t.parent.parent.moduleSpecifier)&&(e.isNamespaceImport(t)||t.elements.length<2)&&!t.parent.name}function se(t){var r;return!!e.nodeIsMissing(t)||!(null!==(r=e.tryCast(e.isExternalModuleReference(t)?t.expression:t,e.isStringLiteralLike))&&void 0!==r&&r.text)}function ce(t,r,n){return void 0===n&&(n=new e.Map),i(t)||i(e.skipAlias(t.exportSymbol||t,r));function i(t){return!!(788968&t.flags)||r.isUnknownSymbol(t)||!!(1536&t.flags)&&e.addToSeen(n,e.getSymbolId(t))&&r.getExportsOfModule(t).some((function(e){return ce(e,r,n)}))}}function ue(t,r){var n=e.skipAlias(t,r).declarations;return!!e.length(n)&&e.every(n,e.isDeprecatedDeclaration)}function le(e,t){if(0===t.length)return!0;for(var r,n=!1,i=0,a=e.length,o=0;o<a;o++){var s=e.charCodeAt(o),c=t.charCodeAt(i);if((s===c||s===pe(c))&&(n||(n=void 0===r||97<=r&&r<=122&&65<=s&&s<=90||95===r&&95!==s),n&&i++,i===t.length))return!0;r=s}return!1}function pe(e){return 97<=e&&e<=122?e-32:e}t.getPropertiesForObjectExpression=Q}(e.Completions||(e.Completions={}))}(n||(n={})),function(e){!function(t){function r(t,r){return{fileName:r.fileName,textSpan:e.createTextSpanFromNode(t,r),kind:"none"}}function n(t){return e.isThrowStatement(t)?[t]:e.isTryStatement(t)?e.concatenate(t.catchClause?n(t.catchClause):t.tryBlock&&n(t.tryBlock),t.finallyBlock&&n(t.finallyBlock)):e.isFunctionLike(t)?void 0:o(t,n)}function i(t){return e.isBreakOrContinueStatement(t)?[t]:e.isFunctionLike(t)?void 0:o(t,i)}function o(t,r){var n=[];return t.forEachChild((function(t){var i=r(t);void 0!==i&&n.push.apply(n,e.toArray(i))})),n}function s(e,t){var r=c(t);return!!r&&r===e}function c(t){return e.findAncestor(t,(function(r){switch(r.kind){case 248:if(244===t.kind)return!1;case 241:case 242:case 243:case 240:case 239:return!t.label||function(t,r){return!!e.findAncestor(t.parent,(function(t){return e.isLabeledStatement(t)?t.label.escapedText===r:"quit"}))}(r,t.label.escapedText);default:return e.isFunctionLike(r)&&"quit"}}))}function u(t,r){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return!(!r||!e.contains(n,r.kind)||(t.push(r),0))}function l(t){var r=[];if(u(r,t.getFirstToken(),97,115,90)&&239===t.kind)for(var n=t.getChildren(),a=n.length-1;a>=0&&!u(r,n[a],115);a--);return e.forEach(i(t.statement),(function(e){s(t,e)&&u(r,e.getFirstToken(),81,86)})),r}function p(e){var t=c(e);if(t)switch(t.kind){case 241:case 242:case 243:case 239:case 240:return l(t);case 248:return d(t)}}function d(t){var r=[];return u(r,t.getFirstToken(),107),e.forEach(t.caseBlock.clauses,(function(n){u(r,n.getFirstToken(),82,88),e.forEach(i(n),(function(e){s(t,e)&&u(r,e.getFirstToken(),81)}))})),r}function f(t,r){var n=[];return u(n,t.getFirstToken(),111),t.catchClause&&u(n,t.catchClause.getFirstToken(),83),t.finallyBlock&&u(n,e.findChildOfKind(t,96,r),96),n}function _(t,r){var i=function(t){for(var r=t;r.parent;){var n=r.parent;if(e.isFunctionBlock(n)||303===n.kind)return n;if(e.isTryStatement(n)&&n.tryBlock===r&&n.catchClause)return r;r=n}}(t);if(i){var a=[];return e.forEach(n(i),(function(t){a.push(e.findChildOfKind(t,109,r))})),e.isFunctionBlock(i)&&e.forEachReturnStatement(i,(function(t){a.push(e.findChildOfKind(t,105,r))})),a}}function m(t,r){var i=e.getContainingFunction(t);if(i){var a=[];return e.forEachReturnStatement(e.cast(i.body,e.isBlock),(function(t){a.push(e.findChildOfKind(t,105,r))})),e.forEach(n(i.body),(function(t){a.push(e.findChildOfKind(t,109,r))})),a}}function g(t){var r=e.getContainingFunction(t);if(r){var n=[];return r.modifiers&&r.modifiers.forEach((function(e){u(n,e,131)})),e.forEachChild(r,(function(t){h(t,(function(t){e.isAwaitExpression(t)&&u(n,t.getFirstToken(),132)}))})),n}}function h(t,r){r(t),!e.isFunctionLike(t)&&!e.isClassLike(t)&&!e.isInterfaceDeclaration(t)&&!e.isModuleDeclaration(t)&&!e.isTypeAliasDeclaration(t)&&!e.isTypeNode(t)&&e.forEachChild(t,(function(e){return h(e,r)}))}t.getDocumentHighlights=function(t,n,i,o,s){var c=e.getTouchingPropertyName(i,o);if(c.parent&&(e.isJsxOpeningElement(c.parent)&&c.parent.tagName===c||e.isJsxClosingElement(c.parent))){var y=c.parent.parent,v=[y.openingElement,y.closingElement].map((function(e){return r(e.tagName,i)}));return[{fileName:i.fileName,highlightSpans:v}]}return function(t,r,n,i,a){var o=new e.Set(a.map((function(e){return e.fileName}))),s=e.FindAllReferences.getReferenceEntriesForNode(t,r,n,a,i,void 0,o);if(s){var c=e.arrayToMultiMap(s.map(e.FindAllReferences.toHighlightSpan),(function(e){return e.fileName}),(function(e){return e.span})),u=e.createGetCanonicalFileName(n.useCaseSensitiveFileNames());return e.mapDefined(e.arrayFrom(c.entries()),(function(t){var r=t[0],i=t[1];if(!o.has(r)){if(!n.redirectTargetsMap.has(e.toPath(r,n.getCurrentDirectory(),u)))return;var s=n.getSourceFile(r);r=e.find(a,(function(e){return!!e.redirectInfo&&e.redirectInfo.redirectTarget===s})).fileName,e.Debug.assert(o.has(r))}return{fileName:r,highlightSpans:i}}))}}(o,c,t,n,s)||function(t,n){var i=function(t,n){switch(t.kind){case 99:case 91:return e.isIfStatement(t.parent)?function(t,n){for(var i=function(t,r){for(var n=[];e.isIfStatement(t.parent)&&t.parent.elseStatement===t;)t=t.parent;for(;;){var i=t.getChildren(r);u(n,i[0],99);for(var a=i.length-1;a>=0&&!u(n,i[a],91);a--);if(!t.elseStatement||!e.isIfStatement(t.elseStatement))break;t=t.elseStatement}return n}(t,n),a=[],o=0;o<i.length;o++){if(91===i[o].kind&&o<i.length-1){for(var s=i[o],c=i[o+1],l=!0,p=c.getStart(n)-1;p>=s.end;p--)if(!e.isWhiteSpaceSingleLine(n.text.charCodeAt(p))){l=!1;break}if(l){a.push({fileName:n.fileName,textSpan:e.createTextSpanFromBounds(s.getStart(),c.end),kind:"reference"}),o++;continue}}a.push(r(i[o],n))}return a}(t.parent,n):void 0;case 105:return o(t.parent,e.isReturnStatement,m);case 109:return o(t.parent,e.isThrowStatement,_);case 111:case 83:case 96:return o(83===t.kind?t.parent.parent:t.parent,e.isTryStatement,f);case 107:return o(t.parent,e.isSwitchStatement,d);case 82:case 88:return e.isDefaultClause(t.parent)||e.isCaseClause(t.parent)?o(t.parent.parent.parent,e.isSwitchStatement,d):void 0;case 81:case 86:return o(t.parent,e.isBreakOrContinueStatement,p);case 97:case 115:case 90:return o(t.parent,(function(t){return e.isIterationStatement(t,!0)}),l);case 134:return i(e.isConstructorDeclaration,[134]);case 136:case 148:return i(e.isAccessor,[136,148]);case 132:return o(t.parent,e.isAwaitExpression,g);case 131:return s(g(t));case 125:return s(function(t){var r=e.getContainingFunction(t);if(r){var n=[];return e.forEachChild(r,(function(t){h(t,(function(t){e.isYieldExpression(t)&&u(n,t.getFirstToken(),125)}))})),n}}(t));default:return e.isModifierKind(t.kind)&&(e.isDeclaration(t.parent)||e.isVariableStatement(t.parent))?s(function(t,r){return e.mapDefined(function(t,r){var n=t.parent;switch(n.kind){case 261:case 303:case 234:case 288:case 289:return 128&r&&e.isClassDeclaration(t)?a(a([],t.members,!0),[t],!1):n.statements;case 170:case 168:case 255:return a(a([],n.parameters,!0),e.isClassLike(n.parent)?n.parent.members:[],!0);case 256:case 225:case 257:case 181:var i=n.members;if(92&r){var o=e.find(n.members,e.isConstructorDeclaration);if(o)return a(a([],i,!0),o.parameters,!0)}else if(128&r)return a(a([],i,!0),[n],!1);return i;case 204:return;default:e.Debug.assertNever(n,"Invalid container kind.")}}(r,e.modifierToFlag(t)),(function(r){return e.findModifier(r,t)}))}(t.kind,t.parent)):void 0}function i(r,i){return o(t.parent,r,(function(t){return e.mapDefined(t.symbol.declarations,(function(t){return r(t)?e.find(t.getChildren(n),(function(t){return e.contains(i,t.kind)})):void 0}))}))}function o(e,t,r){return t(e)?s(r(e,n)):void 0}function s(e){return e&&e.map((function(e){return r(e,n)}))}}(t,n);return i&&[{fileName:n.fileName,highlightSpans:i}]}(c,i)}}(e.DocumentHighlights||(e.DocumentHighlights={}))}(n||(n={})),function(e){function t(e){return!!e.sourceFile}function r(r,i,a){void 0===i&&(i="");var o=new e.Map,s=e.createGetCanonicalFileName(!!r);function c(e,t,r,n,i,a,o){return p(e,t,r,n,i,a,!0,o)}function u(e,t,r,n,i,a,o){return p(e,t,r,n,i,a,!1,o)}function l(r,n){var i=t(r)?r:r.get(e.Debug.checkDefined(n,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return e.Debug.assert(void 0===n||!i||i.sourceFile.scriptKind===n,"Script kind should match provided ScriptKind:".concat(n," and sourceFile.scriptKind: ").concat(null==i?void 0:i.sourceFile.scriptKind,", !entry: ").concat(!i)),i}function p(r,n,i,s,c,u,p,d){var f=6===(d=e.ensureScriptKind(r,d))?100:e.getEmitScriptTarget(i),_=o.size,m=e.getOrUpdate(o,s,(function(){return new e.Map}));if(e.tracing){o.size>_&&e.tracing.instant("session","createdDocumentRegistryBucket",{configFilePath:i.configFilePath,key:s});var g=!e.fileExtensionIs(n,".d.ts")&&e.forEachEntry(o,(function(e,t){return t!==s&&e.has(n)&&t}));g&&e.tracing.instant("session","documentRegistryBucketOverlap",{path:n,key1:g,key2:s})}var h=m.get(n),y=h&&l(h,d);if(!y&&a&&(v=a.getDocument(s,n))&&(e.Debug.assert(p),y={sourceFile:v,languageServiceRefCount:0},D()),y)y.sourceFile.version!==u&&(y.sourceFile=e.updateLanguageServiceSourceFile(y.sourceFile,c,u,c.getChangeRange(y.sourceFile.scriptSnapshot)),a&&a.setDocument(s,n,y.sourceFile)),p&&y.languageServiceRefCount++;else{var v=e.createLanguageServiceSourceFile(r,c,f,u,!1,d);a&&a.setDocument(s,n,v),y={sourceFile:v,languageServiceRefCount:1},D()}return e.Debug.assert(0!==y.languageServiceRefCount),y.sourceFile;function D(){if(h)if(t(h)){var r=new e.Map;r.set(h.sourceFile.scriptKind,h),r.set(d,y),m.set(n,r)}else h.set(d,y);else m.set(n,y)}}function d(r,n,i){var a=e.Debug.checkDefined(o.get(n)),s=a.get(r),c=l(s,i);c.languageServiceRefCount--,e.Debug.assert(c.languageServiceRefCount>=0),0===c.languageServiceRefCount&&(t(s)?a.delete(r):(s.delete(i),1===s.size&&a.set(r,e.firstDefinedIterator(s.values(),e.identity))))}return{acquireDocument:function(t,r,a,o,u){return c(t,e.toPath(t,i,s),r,n(r),a,o,u)},acquireDocumentWithKey:c,updateDocument:function(t,r,a,o,c){return u(t,e.toPath(t,i,s),r,n(r),a,o,c)},updateDocumentWithKey:u,releaseDocument:function(t,r,a){return d(e.toPath(t,i,s),n(r),a)},releaseDocumentWithKey:d,getLanguageServiceRefCounts:function(t,r){return e.arrayFrom(o.entries(),(function(e){var n=e[0],i=e[1].get(t),a=i&&l(i,r);return[n,a&&a.languageServiceRefCount]}))},reportStats:function(){var r=e.arrayFrom(o.keys()).filter((function(e){return e&&"_"===e.charAt(0)})).map((function(e){var r=o.get(e),n=[];return r.forEach((function(e,r){t(e)?n.push({name:r,scriptKind:e.sourceFile.scriptKind,refCount:e.languageServiceRefCount}):e.forEach((function(e,t){return n.push({name:r,scriptKind:t,refCount:e.languageServiceRefCount})}))})),n.sort((function(e,t){return t.refCount-e.refCount})),{bucket:e,sourceFiles:n}}));return JSON.stringify(r,void 0,2)},getKeyForCompilationSettings:n}}function n(t){return e.sourceFileAffectingCompilerOptions.map((function(r){return e.getCompilerOptionValue(t,r)})).join("|")}e.createDocumentRegistry=function(e,t){return r(e,t)},e.createDocumentRegistryInternal=r}(n||(n={})),function(e){!function(t){var r;function n(t,r){return e.forEach(303===t.kind?t.statements:t.body.statements,(function(t){return r(t)||u(t)&&e.forEach(t.body&&t.body.statements,r)}))}function i(t,r){if(t.externalModuleIndicator||void 0!==t.imports)for(var i=0,a=t.imports;i<a.length;i++){var o=a[i];r(e.importFromModuleSpecifier(o),o)}else n(t,(function(t){switch(t.kind){case 271:case 265:(n=t).moduleSpecifier&&e.isStringLiteral(n.moduleSpecifier)&&r(n,n.moduleSpecifier);break;case 264:var n;l(n=t)&&r(n,n.moduleReference.expression)}}))}function a(t,r,n){var i=t.parent;if(i){var a=n.getMergedSymbol(i);return e.isExternalModuleSymbol(a)?{exportingModuleSymbol:a,exportKind:r}:void 0}}function s(e,t){return t.getMergedSymbol(c(e).symbol)}function c(t){if(207===t.kind)return t.getSourceFile();var r=t.parent;return 303===r.kind?r:(e.Debug.assert(261===r.kind),e.cast(r.parent,u))}function u(e){return 260===e.kind&&10===e.name.kind}function l(e){return 276===e.moduleReference.kind&&10===e.moduleReference.expression.kind}t.createImportTracker=function(t,r,a,p){var d=function(t,r,n){for(var a=new e.Map,o=0,s=t;o<s.length;o++){var c=s[o];n&&n.throwIfCancellationRequested(),i(c,(function(t,n){var i=r.getSymbolAtLocation(n);if(i){var o=e.getSymbolId(i).toString(),s=a.get(o);s||a.set(o,s=[]),s.push(t)}}))}return a}(t,a,p);return function(i,f,_){var m=function(t,r,i,a,o,l){var p=a.exportingModuleSymbol,d=a.exportKind,f=e.nodeSeenTracker(),_=e.nodeSeenTracker(),m=[],g=!!p.globalExports,h=g?void 0:[];return v(p),{directImports:m,indirectUsers:y()};function y(){if(g)return t;if(p.declarations)for(var n=0,i=p.declarations;n<i.length;n++){var a=i[n];e.isExternalModuleAugmentation(a)&&r.has(a.getSourceFile().fileName)&&E(a)}return h.map(e.getSourceFileOfNode)}function v(t){var r=S(t);if(r)for(var n=0,i=r;n<i.length;n++){var a=i[n];if(f(a))switch(l&&l.throwIfCancellationRequested(),a.kind){case 207:if(e.isImportCall(a)){D(a);break}if(!g){var u=a.parent;if(2===d&&253===u.kind){var p=u.name;if(79===p.kind){m.push(p);break}}}break;case 79:break;case 264:x(a,a.name,e.hasSyntacticModifier(a,1),!1);break;case 265:m.push(a);var _=a.importClause&&a.importClause.namedBindings;_&&267===_.kind?x(a,_.name,!1,!0):!g&&e.isDefaultImport(a)&&E(c(a));break;case 271:a.exportClause?273===a.exportClause.kind?E(c(a),!0):m.push(a):v(s(a,o));break;case 199:a.isTypeOf&&!a.qualifier&&b(a)&&E(a.getSourceFile(),!0),m.push(a);break;default:e.Debug.failBadSyntaxKind(a,"Unexpected import kind.")}}}function D(t){E(e.findAncestor(t,u)||t.getSourceFile(),!!b(t,!0))}function b(t,r){return void 0===r&&(r=!1),e.findAncestor(t,(function(t){return r&&u(t)?"quit":e.some(t.modifiers,(function(e){return 93===e.kind}))}))}function x(t,r,i,a){if(2===d)a||m.push(t);else if(!g){var s=c(t);e.Debug.assert(303===s.kind||260===s.kind),i||function(t,r,i){var a=i.getSymbolAtLocation(r);return!!n(t,(function(t){if(e.isExportDeclaration(t)){var r=t.exportClause;return!t.moduleSpecifier&&r&&e.isNamedExports(r)&&r.elements.some((function(e){return i.getExportSpecifierLocalTargetSymbol(e)===a}))}}))}(s,r,o)?E(s,!0):E(s)}}function E(t,r){if(void 0===r&&(r=!1),e.Debug.assert(!g),_(t)&&(h.push(t),r)){var n=o.getMergedSymbol(t.symbol);if(n){e.Debug.assert(!!(1536&n.flags));var i=S(n);if(i)for(var a=0,s=i;a<s.length;a++){var u=s[a];e.isImportTypeNode(u)||E(c(u),!0)}}}}function S(t){return i.get(e.getSymbolId(t).toString())}}(t,r,d,f,a,p),g=m.directImports,h=m.indirectUsers;return o({indirectUsers:h},function(t,r,n,i,a){var o=[],s=[];function c(e,t){o.push([e,t])}if(t)for(var u=0,p=t;u<p.length;u++)d(p[u]);return{importSearches:o,singleReferences:s};function d(t){if(264!==t.kind)if(79!==t.kind)if(199!==t.kind){if(10===t.moduleSpecifier.kind){if(271===t.kind)return void(t.exportClause&&e.isNamedExports(t.exportClause)&&_(t.exportClause));var o=t.importClause||{name:void 0,namedBindings:void 0},u=o.name,p=o.namedBindings;if(p)switch(p.kind){case 267:f(p.name);break;case 268:(0===n||1===n)&&_(p);break;default:e.Debug.assertNever(p)}!u||1!==n&&2!==n||a&&u.escapedText!==e.symbolEscapedNameNoDefault(r)||c(u,i.getSymbolAtLocation(u))}}else if(t.qualifier){var d=e.getFirstIdentifier(t.qualifier);d.escapedText===e.symbolName(r)&&s.push(d)}else 2===n&&s.push(t.argument.literal);else f(t);else l(t)&&f(t.name)}function f(e){2===n&&(!a||m(e.escapedText))&&c(e,i.getSymbolAtLocation(e))}function _(e){if(e)for(var t=0,n=e.elements;t<n.length;t++){var o=n[t],u=o.name,l=o.propertyName;m((l||u).escapedText)&&(l?(s.push(l),(!a||u.escapedText===r.escapedName)&&c(u,i.getSymbolAtLocation(u))):c(u,274===o.kind&&o.propertyName?i.getExportSpecifierLocalTargetSymbol(o):i.getSymbolAtLocation(u)))}}function m(e){return e===r.escapedName||0!==n&&"default"===e}}(g,i,f.exportKind,a,_))}},(r=t.ExportKind||(t.ExportKind={}))[r.Named=0]="Named",r[r.Default=1]="Default",r[r.ExportEquals=2]="ExportEquals",function(e){e[e.Import=0]="Import",e[e.Export=1]="Export"}(t.ImportExport||(t.ImportExport={})),t.findModuleReferences=function(e,t,r){for(var n=[],a=e.getTypeChecker(),o=0,s=t;o<s.length;o++){var c=s[o],u=r.valueDeclaration;if(303===(null==u?void 0:u.kind)){for(var l=0,p=c.referencedFiles;l<p.length;l++){var d=p[l];e.getSourceFileFromReference(c,d)===u&&n.push({kind:"reference",referencingFile:c,ref:d})}for(var f=0,_=c.typeReferenceDirectives;f<_.length;f++){d=_[f];var m=e.getResolvedTypeReferenceDirectives().get(d.fileName);void 0!==m&&m.resolvedFileName===u.fileName&&n.push({kind:"reference",referencingFile:c,ref:d})}}i(c,(function(e,t){a.getSymbolAtLocation(t)===r&&n.push({kind:"import",literal:t})}))}return n},t.getImportOrExportSymbol=function(t,r,n,i){return i?o():o()||function(){if(function(t){var r=t.parent;switch(r.kind){case 264:return r.name===t&&l(r);case 269:return!r.propertyName;case 266:case 267:return e.Debug.assert(r.name===t),!0;case 202:return e.isInJSFile(t)&&e.isVariableDeclarationInitializedToBareOrAccessedRequire(r);default:return!1}}(t)){var i=n.getImmediateAliasedSymbol(r);if(i){"export="===(i=function(t,r){if(t.declarations)for(var n=0,i=t.declarations;n<i.length;n++){var a=i[n];if(e.isExportSpecifier(a)&&!a.propertyName&&!a.parent.parent.moduleSpecifier)return r.getExportSpecifierLocalTargetSymbol(a);if(e.isPropertyAccessExpression(a)&&e.isModuleExportsAccessExpression(a.expression)&&!e.isPrivateIdentifier(a.name))return r.getSymbolAtLocation(a);if(e.isShorthandPropertyAssignment(a)&&e.isBinaryExpression(a.parent.parent)&&2===e.getAssignmentDeclarationKind(a.parent.parent))return r.getExportSpecifierLocalTargetSymbol(a.name)}return t}(i,n)).escapedName&&(i=function(t,r){if(2097152&t.flags)return e.Debug.checkDefined(r.getImmediateAliasedSymbol(t));var n=e.Debug.checkDefined(t.valueDeclaration);return e.isExportAssignment(n)?e.Debug.checkDefined(n.expression.symbol):e.isBinaryExpression(n)?e.Debug.checkDefined(n.right.symbol):e.isSourceFile(n)?e.Debug.checkDefined(n.symbol):e.Debug.fail()}(i,n));var a=e.symbolEscapedNameNoDefault(i);if(void 0===a||"default"===a||a===r.escapedName)return{kind:0,symbol:i}}}}();function o(){var a,o=t.parent,u=o.parent;if(r.exportSymbol)return 205===o.kind?(null===(a=r.declarations)||void 0===a?void 0:a.some((function(e){return e===o})))&&e.isBinaryExpression(u)?d(u,!1):void 0:s(r.exportSymbol,c(o));var l=function(t,r){var n=e.isVariableDeclaration(t)?t:e.isBindingElement(t)?e.walkUpBindingElementsAndPatterns(t):void 0;return n?t.name!==r||e.isCatchClause(n.parent)?void 0:e.isVariableStatement(n.parent.parent)?n.parent.parent:void 0:t}(o,t);if(l&&e.hasSyntacticModifier(l,1)){if(e.isImportEqualsDeclaration(l)&&l.moduleReference===t){if(i)return;return{kind:0,symbol:n.getSymbolAtLocation(l.name)}}return s(r,c(l))}if(e.isNamespaceExport(o))return s(r,0);if(e.isExportAssignment(o))return p(o);if(e.isExportAssignment(u))return p(u);if(e.isBinaryExpression(o))return d(o,!0);if(e.isBinaryExpression(u))return d(u,!0);if(e.isJSDocTypedefTag(o))return s(r,0);function p(e){if(e.symbol.parent){var t=e.isExportEquals?2:1;return{kind:1,symbol:r,exportInfo:{exportingModuleSymbol:e.symbol.parent,exportKind:t}}}}function d(t,i){var a;switch(e.getAssignmentDeclarationKind(t)){case 1:a=0;break;case 2:a=2;break;default:return}var o=i?n.getSymbolAtLocation(e.getNameOfAccessExpression(e.cast(t.left,e.isAccessExpression))):r;return o&&s(o,a)}}function s(e,t){var r=a(e,t,n);return r&&{kind:1,symbol:e,exportInfo:r}}function c(t){return e.hasSyntacticModifier(t,512)?1:0}},t.getExportInfo=a}(e.FindAllReferences||(e.FindAllReferences={}))}(n||(n={})),function(e){!function(t){var r,n;function i(e,t){return void 0===t&&(t=1),{kind:t,node:e.name||e,context:c(e)}}function s(e){return e&&void 0===e.kind}function c(t){if(e.isDeclaration(t))return u(t);if(t.parent){if(!e.isDeclaration(t.parent)&&!e.isExportAssignment(t.parent)){if(e.isInJSFile(t)){var r=e.isBinaryExpression(t.parent)?t.parent:e.isAccessExpression(t.parent)&&e.isBinaryExpression(t.parent.parent)&&t.parent.parent.left===t.parent?t.parent.parent:void 0;if(r&&0!==e.getAssignmentDeclarationKind(r))return u(r)}if(e.isJsxOpeningElement(t.parent)||e.isJsxClosingElement(t.parent))return t.parent.parent;if(e.isJsxSelfClosingElement(t.parent)||e.isLabeledStatement(t.parent)||e.isBreakOrContinueStatement(t.parent))return t.parent;if(e.isStringLiteralLike(t)){var n=e.tryGetImportFromModuleSpecifier(t);if(n){var i=e.findAncestor(n,(function(t){return e.isDeclaration(t)||e.isStatement(t)||e.isJSDocTag(t)}));return e.isDeclaration(i)?u(i):i}}var a=e.findAncestor(t,e.isComputedPropertyName);return a?u(a.parent):void 0}if(t.parent.name===t||e.isConstructorDeclaration(t.parent)||e.isExportAssignment(t.parent)||(e.isImportOrExportSpecifier(t.parent)||e.isBindingElement(t.parent))&&t.parent.propertyName===t||88===t.kind&&e.hasSyntacticModifier(t.parent,513))return u(t.parent)}}function u(t){if(t)switch(t.kind){case 253:return e.isVariableDeclarationList(t.parent)&&1===t.parent.declarations.length?e.isVariableStatement(t.parent.parent)?t.parent.parent:e.isForInOrOfStatement(t.parent.parent)?u(t.parent.parent):t.parent:t;case 202:return u(t.parent.parent);case 269:return t.parent.parent.parent;case 274:case 267:return t.parent.parent;case 266:case 273:return t.parent;case 220:return e.isExpressionStatement(t.parent)?t.parent:t;case 243:case 242:return{start:t.initializer,end:t.expression};case 294:case 295:return e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)?u(e.findAncestor(t.parent,(function(t){return e.isBinaryExpression(t)||e.isForInOrOfStatement(t)}))):t;default:return t}}function l(e,t,r){if(r){var n=s(r)?y(r.start,t,r.end):y(r,t);return n.start!==e.start||n.length!==e.length?{contextSpan:n}:void 0}}function p(t,r,a,o,s){if(303!==o.kind){var c=t.getTypeChecker();if(295===o.parent.kind){var u=[];return n.getReferenceEntriesForShorthandPropertyAssignment(o,c,(function(e){return u.push(i(e))})),u}if(106===o.kind||e.isSuperProperty(o.parent)){var l=c.getSymbolAtLocation(o);return l.valueDeclaration&&[i(l.valueDeclaration)]}return d(s,o,t,a,r,{implementations:!0,use:1})}}function d(t,r,i,a,o,s,c){return void 0===s&&(s={}),void 0===c&&(c=new e.Set(a.map((function(e){return e.fileName})))),f(n.getReferencedSymbolsForNode(t,r,i,a,o,s,c))}function f(t){return t&&e.flatMap(t,(function(e){return e.references}))}function _(t){var r=t.getSourceFile();return{sourceFile:r,textSpan:y(e.isComputedPropertyName(t)?t.expression:t,r)}}function m(t,r,i){var a=n.getIntersectingMeaningFromDeclarations(i,t),o=t.declarations&&e.firstOrUndefined(t.declarations)||i,s=e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(r,t,o.getSourceFile(),o,o,a);return{displayParts:s.displayParts,kind:s.symbolKind}}function g(e,t){var r=h(e);if(0===e.kind)return o(o({},r),{isWriteAccess:!1,isDefinition:!1});var n=e.kind,i=e.node;return o(o({},r),{isWriteAccess:D(i),isDefinition:b(i,t),isInString:2===n||void 0})}function h(e){if(0===e.kind)return{textSpan:e.textSpan,fileName:e.fileName};var t=e.node.getSourceFile(),r=y(e.node,t);return o({textSpan:r,fileName:t.fileName},l(r,t,e.context))}function y(t,r,n){var i=t.getStart(r),a=(n||t).getEnd();return e.isStringLiteralLike(t)&&a-i>2&&(e.Debug.assert(void 0===n),i+=1,a-=1),e.createTextSpanFromBounds(i,a)}function v(e){return 0===e.kind?e.textSpan:y(e.node,e.node.getSourceFile())}function D(t){var r=e.getDeclarationFromName(t);return!!r&&function(t){if(8388608&t.flags)return!0;switch(t.kind){case 220:case 202:case 256:case 225:case 88:case 259:case 297:case 274:case 266:case 264:case 269:case 257:case 336:case 343:case 284:case 260:case 263:case 267:case 273:case 163:case 295:case 258:case 162:return!0;case 294:return!e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent);case 255:case 212:case 170:case 168:case 171:case 172:return!!t.body;case 253:case 166:return!!t.initializer||e.isCatchClause(t.parent);case 167:case 165:case 345:case 338:return!1;default:return e.Debug.failBadSyntaxKind(t)}}(r)||88===t.kind||e.isWriteAccess(t)}function b(t,r){var n;if(!r)return!1;var i=e.getDeclarationFromName(t)||(88===t.kind?t.parent:e.isLiteralComputedPropertyDeclarationName(t)||134===t.kind&&e.isConstructorDeclaration(t.parent)?t.parent.parent:void 0),a=i&&e.isBinaryExpression(i)?i.left:void 0;return!(!i||!(null===(n=r.declarations)||void 0===n?void 0:n.some((function(e){return e===i||e===a}))))}(r=t.DefinitionKind||(t.DefinitionKind={}))[r.Symbol=0]="Symbol",r[r.Label=1]="Label",r[r.Keyword=2]="Keyword",r[r.This=3]="This",r[r.String=4]="String",r[r.TripleSlashReference=5]="TripleSlashReference",function(e){e[e.Span=0]="Span",e[e.Node=1]="Node",e[e.StringLiteral=2]="StringLiteral",e[e.SearchedLocalFoundProperty=3]="SearchedLocalFoundProperty",e[e.SearchedPropertyFoundLocal=4]="SearchedPropertyFoundLocal"}(t.EntryKind||(t.EntryKind={})),t.nodeEntry=i,t.isContextWithStartAndEndNode=s,t.getContextNode=u,t.toContextSpan=l,function(e){e[e.Other=0]="Other",e[e.References=1]="References",e[e.Rename=2]="Rename"}(t.FindReferencesUse||(t.FindReferencesUse={})),t.findReferencedSymbols=function(t,r,i,a,s){var c=e.getTouchingPropertyName(a,s),p=n.getReferencedSymbolsForNode(s,c,t,i,r,{use:1}),d=t.getTypeChecker(),f=d.getSymbolAtLocation(c);return p&&p.length?e.mapDefined(p,(function(t){var n=t.definition,i=t.references;return n&&{definition:d.runWithCancellationToken(r,(function(t){return function(t,r,n){var i=function(){switch(t.type){case 0:var i=m(f=t.symbol,r,n),a=i.displayParts,s=i.kind,c=a.map((function(e){return e.text})).join(""),l=f.declarations&&e.firstOrUndefined(f.declarations),p=l?e.getNameOfDeclaration(l)||l:n;return o(o({},_(p)),{name:c,kind:s,displayParts:a,context:u(l)});case 1:return p=t.node,o(o({},_(p)),{name:p.text,kind:"label",displayParts:[e.displayPart(p.text,e.SymbolDisplayPartKind.text)]});case 2:p=t.node;var d=e.tokenToString(p.kind);return o(o({},_(p)),{name:d,kind:"keyword",displayParts:[{text:d,kind:"keyword"}]});case 3:p=t.node;var f,g=(f=r.getSymbolAtLocation(p))&&e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(r,f,p.getSourceFile(),e.getContainerNode(p),p).displayParts||[e.textPart("this")];return o(o({},_(p)),{name:"this",kind:"var",displayParts:g});case 4:return p=t.node,o(o({},_(p)),{name:p.text,kind:"var",displayParts:[e.displayPart(e.getTextOfNode(p),e.SymbolDisplayPartKind.stringLiteral)]});case 5:return{textSpan:e.createTextSpanFromRange(t.reference),sourceFile:t.file,name:t.reference.fileName,kind:"string",displayParts:[e.displayPart('"'.concat(t.reference.fileName,'"'),e.SymbolDisplayPartKind.stringLiteral)]};default:return e.Debug.assertNever(t)}}(),a=i.sourceFile,s=i.textSpan,c=i.name,p=i.kind,d=i.displayParts,f=i.context;return o({containerKind:"",containerName:"",fileName:a.fileName,kind:p,name:c,textSpan:s,displayParts:d},l(s,a,f))}(n,t,c)})),references:i.map((function(e){return g(e,f)}))}})):void 0},t.getImplementationsAtPosition=function(t,r,n,i,s){var c,u=e.getTouchingPropertyName(i,s),l=p(t,r,n,u,s);if(205===u.parent.kind||202===u.parent.kind||206===u.parent.kind||106===u.kind)c=l&&a([],l,!0);else for(var d=l&&a([],l,!0),f=new e.Map;d&&d.length;){var _=d.shift();if(e.addToSeen(f,e.getNodeId(_.node))){c=e.append(c,_);var g=p(t,r,n,_.node,_.node.pos);g&&d.push.apply(d,g)}}var y=t.getTypeChecker();return e.map(c,(function(t){return function(t,r){var n=h(t);if(0!==t.kind){var i=t.node;return o(o({},n),function(t,r){var n=r.getSymbolAtLocation(e.isDeclaration(t)&&t.name?t.name:t);return n?m(n,r,t):204===t.kind?{kind:"interface",displayParts:[e.punctuationPart(20),e.textPart("object literal"),e.punctuationPart(21)]}:225===t.kind?{kind:"local class",displayParts:[e.punctuationPart(20),e.textPart("anonymous local class"),e.punctuationPart(21)]}:{kind:e.getNodeKind(t),displayParts:[]}}(i,r))}return o(o({},n),{kind:"",displayParts:[]})}(t,y)}))},t.findReferenceOrRenameEntries=function(t,r,i,a,o,s,c){return e.map(f(n.getReferencedSymbolsForNode(o,a,t,i,r,s)),(function(e){return c(e,a,t.getTypeChecker())}))},t.getReferenceEntriesForNode=d,t.toRenameLocation=function(t,r,n,i){return o(o({},h(t)),i&&function(t,r,n){if(0!==t.kind&&e.isIdentifier(r)){var i=t.node,a=t.kind,o=i.parent,s=r.text,c=e.isShorthandPropertyAssignment(o);if(c||e.isObjectBindingElementWithoutPropertyName(o)&&o.name===i&&void 0===o.dotDotDotToken){var u={prefixText:s+": "},l={suffixText:": "+s};if(3===a)return u;if(4===a)return l;if(c){var p=o.parent;return e.isObjectLiteralExpression(p)&&e.isBinaryExpression(p.parent)&&e.isModuleExportsAccessExpression(p.parent.left)?u:l}return u}if(e.isImportSpecifier(o)&&!o.propertyName){var d=e.isExportSpecifier(r.parent)?n.getExportSpecifierLocalTargetSymbol(r.parent):n.getSymbolAtLocation(r);return e.contains(d.declarations,o)?{prefixText:s+" as "}:e.emptyOptions}if(e.isExportSpecifier(o)&&!o.propertyName)return r===t.node||n.getSymbolAtLocation(r)===n.getSymbolAtLocation(t.node)?{prefixText:s+" as "}:{suffixText:" as "+s}}return e.emptyOptions}(t,r,n))},t.toReferenceEntry=g,t.toHighlightSpan=function(e){var t=h(e);if(0===e.kind)return{fileName:t.fileName,span:{textSpan:t.textSpan,kind:"reference"}};var r=D(e.node),n=o({textSpan:t.textSpan,kind:r?"writtenReference":"reference",isInString:2===e.kind||void 0},t.contextSpan&&{contextSpan:t.contextSpan});return{fileName:t.fileName,span:n}},t.getTextSpanOfEntry=v,function(r){function n(t,r,n){for(var i,a=0,o=r.get(t.path)||e.emptyArray;a<o.length;a++){var s=o[a];if(e.isReferencedFile(s)){var c=n.getSourceFileByPath(s.file),u=e.getReferencedFileLocation(n.getSourceFileByPath,s);e.isReferenceFileLocation(u)&&(i=e.append(i,{kind:0,fileName:c.fileName,textSpan:e.createTextSpanFromRange(u)}))}}return i}function a(t,r,n){if(t.parent&&e.isNamespaceExportDeclaration(t.parent)){var i=n.getAliasedSymbol(r),a=n.getMergedSymbol(i);if(i!==a)return a}}function o(t,r,n,i,a,o){var c=1536&t.flags&&t.declarations&&e.find(t.declarations,e.isSourceFile);if(c){var l=t.exports.get("export="),d=u(r,t,!!l,n,o);if(!l||!o.has(c.fileName))return d;var f=r.getTypeChecker();return s(r,d,p(t=e.skipAlias(l,f),void 0,n,o,f,i,a))}}function s(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];for(var i,a=0,o=r;a<o.length;a++){var s=o[a];if(s&&s.length){if(!i){i=s;continue}for(var u=function(r){if(!r.definition||0!==r.definition.type)return i.push(r),"continue";var n=r.definition.symbol,a=e.findIndex(i,(function(e){return!!e.definition&&0===e.definition.type&&e.definition.symbol===n}));if(-1===a)return i.push(r),"continue";var o=i[a];i[a]={definition:o.definition,references:o.references.concat(r.references).sort((function(r,n){var i=c(t,r),a=c(t,n);if(i!==a)return e.compareValues(i,a);var o=v(r),s=v(n);return o.start!==s.start?e.compareValues(o.start,s.start):e.compareValues(o.length,s.length)}))}},l=0,p=s;l<p.length;l++)u(p[l])}}return i}function c(e,t){var r=0===t.kind?e.getSourceFile(t.fileName):t.node.getSourceFile();return e.getSourceFiles().indexOf(r)}function u(r,n,a,o,s){e.Debug.assert(!!n.valueDeclaration);var c=e.mapDefined(t.findModuleReferences(r,o,n),(function(t){if("import"===t.kind){var r=t.literal.parent;if(e.isLiteralTypeNode(r)){var n=e.cast(r.parent,e.isImportTypeNode);if(a&&!n.qualifier)return}return i(t.literal)}return{kind:0,fileName:t.referencingFile.fileName,textSpan:e.createTextSpanFromRange(t.ref)}}));if(n.declarations)for(var u=0,l=n.declarations;u<l.length;u++)switch((_=l[u]).kind){case 303:break;case 260:s.has(_.getSourceFile().fileName)&&c.push(i(_.name));break;default:e.Debug.assert(!!(33554432&n.flags),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}var p=n.exports.get("export=");if(null!=p&&p.declarations)for(var d=0,f=p.declarations;d<f.length;d++){var _,m=(_=f[d]).getSourceFile();if(s.has(m.fileName)){var g=e.isBinaryExpression(_)&&e.isPropertyAccessExpression(_.left)?_.left.expression:e.isExportAssignment(_)?e.Debug.checkDefined(e.findChildOfKind(_,93,m)):e.getNameOfDeclaration(_)||_;c.push(i(g))}}return c.length?[{definition:{type:0,symbol:n},references:c}]:e.emptyArray}function l(t){return 144===t.kind&&e.isTypeOperatorNode(t.parent)&&144===t.parent.operator}function p(t,r,n,i,a,o,s){var c=r&&function(t,r,n,i){var a=r.parent;return e.isExportSpecifier(a)&&i?P(r,t,a,n):e.firstDefined(t.declarations,(function(i){if(!i.parent){if(33554432&t.flags)return;e.Debug.fail("Unexpected symbol at ".concat(e.Debug.formatSyntaxKind(r.kind),": ").concat(e.Debug.formatSymbol(t)))}return e.isTypeLiteralNode(i.parent)&&e.isUnionTypeNode(i.parent.parent)?n.getPropertyOfType(n.getTypeFromTypeNode(i.parent.parent),t.name):void 0}))}(t,r,a,!V(s))||t,u=r?K(r,c):7,l=[],p=new m(n,i,r?function(t){switch(t.kind){case 170:case 134:return 1;case 79:if(e.isClassLike(t.parent))return e.Debug.assert(t.parent.name===t),2;default:return 0}}(r):0,a,o,u,s,l),f=V(s)&&c.declarations?e.find(c.declarations,e.isExportSpecifier):void 0;if(f)N(f.name,c,f,p.createSearch(r,t,void 0),p,!0,!0);else if(r&&88===r.kind&&"default"===c.escapedName&&c.parent)F(r,c,p),g(r,c,{exportingModuleSymbol:c.parent,exportKind:1},p);else{var _=p.createSearch(r,c,void 0,{allSearchSymbols:r?R(c,r,a,2===s.use,!!s.providePrefixAndSuffixTextForRename,!!s.implementations):[c]});d(c,p,_)}return l}function d(t,r,n){var i=function(t){var r=t.declarations,n=t.flags,i=t.parent,a=t.valueDeclaration;if(a&&(212===a.kind||225===a.kind))return a;if(r){if(8196&n){var o=e.find(r,(function(t){return e.hasEffectiveModifier(t,8)||e.isPrivateIdentifierClassElementDeclaration(t)}));return o?e.getAncestor(o,256):void 0}if(!r.some(e.isObjectBindingElementWithoutPropertyName)){var s=i&&!(262144&t.flags);if(!s||e.isExternalModuleSymbol(i)&&!i.globalExports){for(var c,u=0,l=r;u<l.length;u++){var p=l[u],d=e.getContainerNode(p);if(c&&c!==d||!d||303===d.kind&&!e.isExternalOrCommonJsModule(d))return;if(c=d,e.isFunctionExpression(c))for(var f=void 0;f=e.getNextJSDocCommentLocation(c);)c=f}return s?c.getSourceFile():c}}}}(t);if(i)T(i,i.getSourceFile(),n,r,!(e.isSourceFile(i)&&!e.contains(r.sourceFiles,i)));else for(var a=0,o=r.sourceFiles;a<o.length;a++){var s=o[a];r.cancellationToken.throwIfCancellationRequested(),D(s,n,r)}}var f,_;r.getReferencedSymbolsForNode=function(t,r,c,d,f,_,m){var g,h;if(void 0===_&&(_={}),void 0===m&&(m=new e.Set(d.map((function(e){return e.fileName})))),1===_.use?r=e.getAdjustedReferenceLocation(r):2===_.use&&(r=e.getAdjustedRenameLocation(r)),e.isSourceFile(r)){var y=e.GoToDefinition.getReferenceAtPosition(r,t,c);if(null==y||!y.file)return;var v=c.getTypeChecker().getMergedSymbol(y.file.symbol);return v?u(c,v,!1,d,m):(A=c.getFileIncludeReasons())?[{definition:{type:5,reference:y.reference,file:r},references:n(y.file,A,c)||e.emptyArray}]:void 0}if(!_.implementations){var D=function(t,r,n){if(e.isTypeKeyword(t.kind))return 114===t.kind&&e.isVoidExpression(t.parent)||144===t.kind&&!l(t)?void 0:function(t,r,n,a){var o=e.flatMap(t,(function(t){return n.throwIfCancellationRequested(),e.mapDefined(x(t,e.tokenToString(r),t),(function(e){if(e.kind===r&&(!a||a(e)))return i(e)}))}));return o.length?[{definition:{type:2,node:o[0].node},references:o}]:void 0}(r,t.kind,n,144===t.kind?l:void 0);if(e.isStaticModifier(t)&&e.isClassStaticBlockDeclaration(t.parent))return[{definition:{type:2,node:t},references:[i(t)]}];if(e.isJumpStatementTarget(t)){var a=e.getTargetLabel(t.parent,t.text);return a&&S(a.parent,a)}return e.isLabelOfLabeledStatement(t)?S(t.parent,t):e.isThis(t)?function(t,r,n){var a=e.getThisContainer(t,!1),o=32;switch(a.kind){case 168:case 167:if(e.isObjectLiteralMethod(a)){o&=e.getSyntacticModifierFlags(a),a=a.parent;break}case 166:case 165:case 170:case 171:case 172:o&=e.getSyntacticModifierFlags(a),a=a.parent;break;case 303:if(e.isExternalModule(a)||M(t))return;case 255:case 212:break;default:return}var s=e.flatMap(303===a.kind?r:[a.getSourceFile()],(function(t){return n.throwIfCancellationRequested(),x(t,"this",e.isSourceFile(a)?t:a).filter((function(t){if(!e.isThis(t))return!1;var r=e.getThisContainer(t,!1);switch(a.kind){case 212:case 255:return a.symbol===r.symbol;case 168:case 167:return e.isObjectLiteralMethod(a)&&a.symbol===r.symbol;case 225:case 256:case 204:return r.parent&&a.symbol===r.parent.symbol&&e.isStatic(r)===!!o;case 303:return 303===r.kind&&!e.isExternalModule(r)&&!M(t)}}))})).map((function(e){return i(e)}));return[{definition:{type:3,node:e.firstDefined(s,(function(t){return e.isParameter(t.node.parent)?t.node:void 0}))||t},references:s}]}(t,r,n):106===t.kind?function(t){var r=e.getSuperContainer(t,!1);if(r){var n=32;switch(r.kind){case 166:case 165:case 168:case 167:case 170:case 171:case 172:n&=e.getSyntacticModifierFlags(r),r=r.parent;break;default:return}var a=r.getSourceFile(),o=e.mapDefined(x(a,"super",r),(function(t){if(106===t.kind){var a=e.getSuperContainer(t,!1);return a&&e.isStatic(a)===!!n&&a.parent.symbol===r.symbol?i(t):void 0}}));return[{definition:{type:0,symbol:r.symbol},references:o}]}}(t):void 0}(r,d,f);if(D)return D}var b=c.getTypeChecker(),E=b.getSymbolAtLocation(e.isConstructorDeclaration(r)&&r.parent.name||r);if(E){if("export="===E.escapedName)return u(c,E.parent,!1,d,m);var C=o(E,c,d,f,_,m);if(C&&!(33554432&E.flags))return C;var T=a(r,E,b),k=T&&o(T,c,d,f,_,m);return s(c,C,p(E,r,d,m,b,f,_),k)}if(!_.implementations&&e.isStringLiteralLike(r)){if(e.isModuleSpecifierLike(r)){var A=c.getFileIncludeReasons(),N=null===(h=null===(g=r.getSourceFile().resolvedModules)||void 0===g?void 0:g.get(r.text,e.getModeForUsageLocation(r.getSourceFile(),r)))||void 0===h?void 0:h.resolvedFileName,P=N?c.getSourceFile(N):void 0;if(P)return[{definition:{type:4,node:r},references:n(P,A,c)||e.emptyArray}]}return function(t,r,n,a){var o=e.getContextualTypeFromParentOrAncestorTypeNode(t,n),s=e.flatMap(r,(function(r){return a.throwIfCancellationRequested(),e.mapDefined(x(r,t.text),(function(a){if(e.isStringLiteralLike(a)&&a.text===t.text){if(!o)return e.isNoSubstitutionTemplateLiteral(a)&&!e.rangeIsOnSingleLine(a,r)?void 0:i(a,2);var s=e.getContextualTypeFromParentOrAncestorTypeNode(a,n);if(o!==n.getStringType()&&o===s)return i(a,2)}}))}));return[{definition:{type:4,node:t},references:s}]}(r,d,b,f)}},r.getReferencesForFileName=function(t,r,i,a){var o,s;void 0===a&&(a=new e.Set(i.map((function(e){return e.fileName}))));var c=null===(o=r.getSourceFile(t))||void 0===o?void 0:o.symbol;if(c)return(null===(s=u(r,c,!1,i,a)[0])||void 0===s?void 0:s.references)||e.emptyArray;var l=r.getFileIncludeReasons(),p=r.getSourceFile(t);return p&&l&&n(p,l,r)||e.emptyArray},(_=f||(f={}))[_.None=0]="None",_[_.Constructor=1]="Constructor",_[_.Class=2]="Class";var m=function(){function r(t,r,n,i,a,o,s,c){this.sourceFiles=t,this.sourceFilesSet=r,this.specialSearchKind=n,this.checker=i,this.cancellationToken=a,this.searchMeaning=o,this.options=s,this.result=c,this.inheritsFromCache=new e.Map,this.markSeenContainingTypeReference=e.nodeSeenTracker(),this.markSeenReExportRHS=e.nodeSeenTracker(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}return r.prototype.includesSourceFile=function(e){return this.sourceFilesSet.has(e.fileName)},r.prototype.getImportSearches=function(e,r){return this.importTracker||(this.importTracker=t.createImportTracker(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(e,r,2===this.options.use)},r.prototype.createSearch=function(t,r,n,i){void 0===i&&(i={});var a=i.text,o=void 0===a?e.stripQuotes(e.symbolName(e.getLocalSymbolForExportDefault(r)||function(t){if(33555968&t.flags){var r=t.declarations&&e.find(t.declarations,(function(t){return!e.isSourceFile(t)&&!e.isModuleDeclaration(t)}));return r&&r.symbol}}(r)||r)):a,s=i.allSearchSymbols,c=void 0===s?[r]:s;return{symbol:r,comingFrom:n,text:o,escapedText:e.escapeLeadingUnderscores(o),parents:this.options.implementations&&t?q(t,r,this.checker):void 0,allSearchSymbols:c,includes:function(t){return e.contains(c,t)}}},r.prototype.referenceAdder=function(t){var r=e.getSymbolId(t),n=this.symbolIdToReferences[r];return n||(n=this.symbolIdToReferences[r]=[],this.result.push({definition:{type:0,symbol:t},references:n})),function(e,t){return n.push(i(e,t))}},r.prototype.addStringOrCommentReference=function(e,t){this.result.push({definition:void 0,references:[{kind:0,fileName:e,textSpan:t}]})},r.prototype.markSearchedSymbols=function(t,r){for(var n=e.getNodeId(t),i=this.sourceFileToSeenSymbols[n]||(this.sourceFileToSeenSymbols[n]=new e.Set),a=!1,o=0,s=r;o<s.length;o++){var c=s[o];a=e.tryAddToSet(i,e.getSymbolId(c))||a}return a},r}();function g(e,t,r,n){var i=n.getImportSearches(t,r),a=i.importSearches,o=i.singleReferences,s=i.indirectUsers;if(o.length)for(var c=n.referenceAdder(t),u=0,l=o;u<l.length;u++){var p=l[u];h(p,n)&&c(p)}for(var d=0,f=a;d<f.length;d++){var _=f[d],m=_[0],g=_[1];C(m.getSourceFile(),n.createSearch(m,g,1),n)}if(s.length){var y=void 0;switch(r.exportKind){case 0:y=n.createSearch(e,t,1);break;case 1:y=2===n.options.use?void 0:n.createSearch(e,t,1,{text:"default"})}if(y)for(var v=0,b=s;v<b.length;v++)D(b[v],y,n)}}function h(t,r){return!(!k(t,r)||2===r.options.use&&(!e.isIdentifier(t)||e.isImportOrExportSpecifier(t.parent)&&"default"===t.escapedText))}function y(e,t){if(e.declarations)for(var r=0,n=e.declarations;r<n.length;r++){var i=n[r],a=i.getSourceFile();C(a,t.createSearch(i,e,0),t,t.includesSourceFile(a))}}function D(t,r,n){void 0!==e.getNameTable(t).get(r.escapedText)&&C(t,r,n)}function b(t,r,n,i,a){void 0===a&&(a=n);var o=e.isParameterPropertyDeclaration(t.parent,t.parent.parent)?e.first(r.getSymbolsOfParameterPropertyDeclaration(t.parent,t.text)):r.getSymbolAtLocation(t);if(o)for(var s=0,c=x(n,o.name,a);s<c.length;s++){var u=c[s];if(e.isIdentifier(u)&&u!==t&&u.escapedText===t.escapedText){var l=r.getSymbolAtLocation(u);if(l===o||r.getShorthandAssignmentValueSymbol(u.parent)===o||e.isExportSpecifier(u.parent)&&P(u,l,u.parent,r)===o){var p=i(u);if(p)return p}}}}function x(t,r,n){return void 0===n&&(n=t),E(t,r,n).map((function(r){return e.getTouchingPropertyName(t,r)}))}function E(t,r,n){void 0===n&&(n=t);var i=[];if(!r||!r.length)return i;for(var a=t.text,o=a.length,s=r.length,c=a.indexOf(r,n.pos);c>=0&&!(c>n.end);){var u=c+s;(0===c||!e.isIdentifierPart(a.charCodeAt(c-1),99))&&(u===o||!e.isIdentifierPart(a.charCodeAt(u),99))&&i.push(c),c=a.indexOf(r,c+s+1)}return i}function S(t,r){var n=t.getSourceFile(),a=r.text,o=e.mapDefined(x(n,a,t),(function(t){return t===r||e.isJumpStatementTarget(t)&&e.getTargetLabel(t,a)===r?i(t):void 0}));return[{definition:{type:1,node:r},references:o}]}function C(e,t,r,n){return void 0===n&&(n=!0),r.cancellationToken.throwIfCancellationRequested(),T(e,e,t,r,n)}function T(e,t,r,n,i){if(n.markSearchedSymbols(t,r.allSearchSymbols))for(var a=0,o=E(t,r.text,e);a<o.length;a++)A(t,o[a],r,n,i)}function k(t,r){return!!(e.getMeaningFromLocation(t)&r.searchMeaning)}function A(r,n,i,a,o){var s=e.getTouchingPropertyName(r,n);if(function(t,r){switch(t.kind){case 80:if(e.isJSDocMemberName(t.parent))return!0;case 79:return t.text.length===r.length;case 14:case 10:var n=t;return(e.isLiteralNameOfPropertyDeclarationOrIndexAccess(n)||e.isNameOfModuleDeclaration(t)||e.isExpressionOfExternalModuleImportEqualsDeclaration(t)||e.isCallExpression(t.parent)&&e.isBindableObjectDefinePropertyCall(t.parent)&&t.parent.arguments[1]===t)&&n.text.length===r.length;case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(t)&&t.text.length===r.length;case 88:return 7===r.length;default:return!1}}(s,i.text)){if(k(s,a)){var c=a.checker.getSymbolAtLocation(s);if(c){var u=s.parent;if(!e.isImportSpecifier(u)||u.propertyName!==s){if(e.isExportSpecifier(u))return e.Debug.assert(79===s.kind),void N(s,c,u,i,a,o);var l=function(t,r,n,i){var a=i.checker;return B(r,n,a,!1,2!==i.options.use||!!i.options.providePrefixAndSuffixTextForRename,(function(n,i,a,o){return a&&j(r)!==j(a)&&(a=void 0),t.includes(a||i||n)?{symbol:!i||6&e.getCheckFlags(n)?n:i,kind:o}:void 0}),(function(e){return!(t.parents&&!t.parents.some((function(t){return L(e.parent,t,i.inheritsFromCache,a)})))}))}(i,c,s,a);if(!l)return void function(t,r,n){var i=t.flags,a=t.valueDeclaration,o=n.checker.getShorthandAssignmentValueSymbol(a),s=a&&e.getNameOfDeclaration(a);!(33554432&i)&&s&&r.includes(o)&&F(s,o,n)}(c,i,a);switch(a.specialSearchKind){case 0:o&&F(s,l,a);break;case 1:!function(t,r,n,i){e.isNewExpressionTarget(t)&&F(t,n.symbol,i);var a=function(){return i.referenceAdder(n.symbol)};if(e.isClassLike(t.parent))e.Debug.assert(88===t.kind||t.parent.name===t),function(t,r,n){var i=w(t);if(i&&i.declarations)for(var a=0,o=i.declarations;a<o.length;a++){var s=o[a],c=e.findChildOfKind(s,134,r);e.Debug.assert(170===s.kind&&!!c),n(c)}t.exports&&t.exports.forEach((function(t){var r=t.valueDeclaration;if(r&&168===r.kind){var i=r.body;i&&U(i,108,(function(t){e.isNewExpressionTarget(t)&&n(t)}))}}))}(n.symbol,r,a());else{var o=function(t){return e.tryGetClassExtendingExpressionWithTypeArguments(e.climbPastPropertyAccess(t).parent)}(t);o&&(function(t,r){var n=w(t.symbol);if(n&&n.declarations)for(var i=0,a=n.declarations;i<a.length;i++){var o=a[i];e.Debug.assert(170===o.kind);var s=o.body;s&&U(s,106,(function(t){e.isCallExpressionTarget(t)&&r(t)}))}}(o,a()),function(e,t){if(!function(e){return!!w(e.symbol)}(e)){var r=e.symbol,n=t.createSearch(void 0,r,void 0);d(r,t,n)}}(o,i))}}(s,r,i,a);break;case 2:!function(t,r,n){F(t,r.symbol,n);var i=t.parent;if(2!==n.options.use&&e.isClassLike(i)){e.Debug.assert(i.name===t);for(var a=n.referenceAdder(r.symbol),o=0,s=i.members;o<s.length;o++){var c=s[o];!e.isMethodOrAccessor(c)||!e.isStatic(c)||c.body&&c.body.forEachChild((function t(r){108===r.kind?a(r):!e.isFunctionLike(r)&&!e.isClassLike(r)&&r.forEachChild(t)}))}}}(s,i,a);break;default:e.Debug.assertNever(a.specialSearchKind)}e.isInJSFile(s)&&202===s.parent.kind&&e.isVariableDeclarationInitializedToBareOrAccessedRequire(s.parent)&&!(c=s.parent.symbol)||function(e,r,n,i){var a=t.getImportOrExportSymbol(e,r,i.checker,1===n.comingFrom);if(a){var o=a.symbol;0===a.kind?V(i.options)||y(o,i):g(e,o,a.exportInfo,i)}}(s,c,i,a)}}}}else!a.options.implementations&&(a.options.findInStrings&&e.isInString(r,n)||a.options.findInComments&&e.isInNonReferenceComment(r,n))&&a.addStringOrCommentReference(r.fileName,e.createTextSpan(n,i.text.length))}function N(r,n,i,a,o,s,c){e.Debug.assert(!c||!!o.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");var u=i.parent,l=i.propertyName,p=i.name,d=u.parent,f=P(r,n,i,o.checker);if(c||a.includes(f)){if(l?r===l?(d.moduleSpecifier||D(),s&&2!==o.options.use&&o.markSeenReExportRHS(p)&&F(p,e.Debug.checkDefined(i.symbol),o)):o.markSeenReExportRHS(r)&&D():2===o.options.use&&"default"===p.escapedText||D(),!V(o.options)||c){var _=88===r.originalKeywordKind||88===i.name.originalKeywordKind?1:0,m=e.Debug.checkDefined(i.symbol),h=t.getExportInfo(m,_,o.checker);h&&g(r,m,h,o)}if(1!==a.comingFrom&&d.moduleSpecifier&&!l&&!V(o.options)){var v=o.checker.getExportSpecifierLocalTargetSymbol(i);v&&y(v,o)}}function D(){s&&F(r,f,o)}}function P(t,r,n,i){return function(t,r){var n=r.parent,i=r.propertyName,a=r.name;return e.Debug.assert(i===t||a===t),i?i===t:!n.parent.moduleSpecifier}(t,n)&&i.getExportSpecifierLocalTargetSymbol(n)||r}function F(t,r,n){var i="kind"in r?r:{kind:void 0,symbol:r},a=i.kind,o=i.symbol,s=n.referenceAdder(o);n.options.implementations?function(t,r,n){if(e.isDeclarationName(t)&&function(t){return 8388608&t.flags?!(e.isInterfaceDeclaration(t)||e.isTypeAliasDeclaration(t)):e.isVariableLike(t)?e.hasInitializer(t):e.isFunctionLikeDeclaration(t)?!!t.body:e.isClassLike(t)||e.isModuleOrEnumDeclaration(t)}(t.parent))r(t);else if(79===t.kind){295===t.parent.kind&&J(t,n.checker,r);var i=I(t);if(i)r(i);else{var a=e.findAncestor(t,(function(t){return!e.isQualifiedName(t.parent)&&!e.isTypeNode(t.parent)&&!e.isTypeElement(t.parent)})),o=a.parent;if(e.hasType(o)&&o.type===a&&n.markSeenContainingTypeReference(o))if(e.hasInitializer(o))c(o.initializer);else if(e.isFunctionLike(o)&&o.body){var s=o.body;234===s.kind?e.forEachReturnStatement(s,(function(e){e.expression&&c(e.expression)})):c(s)}else e.isAssertionExpression(o)&&c(o.expression)}}function c(e){O(e)&&r(e)}}(t,s,n):s(t,a)}function w(e){return e.members&&e.members.get("__constructor")}function I(t){return e.isIdentifier(t)||e.isPropertyAccessExpression(t)?I(t.parent):e.isExpressionWithTypeArguments(t)?e.tryCast(t.parent.parent,e.isClassLike):void 0}function O(e){switch(e.kind){case 211:return O(e.expression);case 213:case 212:case 204:case 225:case 203:return!0;default:return!1}}function L(t,r,n,i){if(t===r)return!0;var a=e.getSymbolId(t)+","+e.getSymbolId(r),o=n.get(a);if(void 0!==o)return o;n.set(a,!1);var s=!!t.declarations&&t.declarations.some((function(t){return e.getAllSuperTypeNodes(t).some((function(e){var t=i.getTypeAtLocation(e);return!!t&&!!t.symbol&&L(t.symbol,r,n,i)}))}));return n.set(a,s),s}function M(e){return 79===e.kind&&163===e.parent.kind&&e.parent.name===e}function R(e,t,r,n,i,a){var o=[];return B(e,t,r,n,!(n&&i),(function(t,r,n){n&&j(e)!==j(n)&&(n=void 0),o.push(n||r||t)}),(function(){return!a})),o}function B(t,r,n,i,o,s,c){var u=e.getContainingObjectLiteralElement(r);if(u){var l=n.getShorthandAssignmentValueSymbol(r.parent);if(l&&i)return s(l,void 0,void 0,3);var p=n.getContextualType(u.parent),d=p&&e.firstDefined(e.getPropertySymbolsFromContextualType(u,n,p,!0),(function(e){return S(e,4)}));if(d)return d;var f=function(t,r){return e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent.parent)?r.getPropertySymbolOfDestructuringAssignment(t):void 0}(r,n),_=f&&s(f,void 0,void 0,4);if(_)return _;var m=l&&s(l,void 0,void 0,3);if(m)return m}var g=a(r,t,n);if(g){var h=s(g,void 0,void 0,1);if(h)return h}var y=S(t);if(y)return y;if(t.valueDeclaration&&e.isParameterPropertyDeclaration(t.valueDeclaration,t.valueDeclaration.parent)){var v=n.getSymbolsOfParameterPropertyDeclaration(e.cast(t.valueDeclaration,e.isParameter),t.name);return e.Debug.assert(2===v.length&&!!(1&v[0].flags)&&!!(4&v[1].flags)),S(1&t.flags?v[1]:v[0])}var D=e.getDeclarationOfKind(t,274);if(!i||D&&!D.propertyName){var b=D&&n.getExportSpecifierLocalTargetSymbol(D);if(b){var x=s(b,void 0,void 0,1);if(x)return x}}if(!i){var E=void 0;return(E=o?e.isObjectBindingElementWithoutPropertyName(r.parent)?e.getPropertySymbolFromBindingElement(n,r.parent):void 0:C(t,n))&&S(E,4)}if(e.Debug.assert(i),o)return(E=C(t,n))&&S(E,4);function S(t,r){return e.firstDefined(n.getRootSymbols(t),(function(i){return s(t,i,void 0,r)||(i.parent&&96&i.parent.flags&&c(i)?function(t,r,n,i){var a=new e.Map;return o(t);function o(t){if(96&t.flags&&e.addToSeen(a,e.getSymbolId(t)))return e.firstDefined(t.declarations,(function(t){return e.firstDefined(e.getAllSuperTypeNodes(t),(function(t){var a=n.getTypeAtLocation(t),s=a&&a.symbol&&n.getPropertyOfType(a,r);return a&&s&&(e.firstDefined(n.getRootSymbols(s),i)||o(a.symbol))}))}))}}(i.parent,i.name,n,(function(e){return s(t,i,e,r)})):void 0)}))}function C(t,r){var n=e.getDeclarationOfKind(t,202);if(n&&e.isObjectBindingElementWithoutPropertyName(n))return e.getPropertySymbolFromBindingElement(r,n)}}function j(t){return!!t.valueDeclaration&&!!(32&e.getEffectiveModifierFlags(t.valueDeclaration))}function K(t,r){var n=e.getMeaningFromLocation(t),i=r.declarations;if(i){var a=void 0;do{a=n;for(var o=0,s=i;o<s.length;o++){var c=s[o],u=e.getMeaningFromDeclaration(c);u&n&&(n|=u)}}while(n!==a)}return n}function J(t,r,n){var i=r.getSymbolAtLocation(t),a=r.getShorthandAssignmentValueSymbol(i.valueDeclaration);if(a)for(var o=0,s=a.getDeclarations();o<s.length;o++){var c=s[o];1&e.getMeaningFromDeclaration(c)&&n(c)}}function U(t,r,n){e.forEachChild(t,(function(e){e.kind===r&&n(e),U(e,r,n)}))}function q(t,r,n){var i=e.isRightSideOfPropertyAccess(t)?t.parent:void 0,a=i&&n.getTypeAtLocation(i.expression),o=e.mapDefined(a&&(a.isUnionOrIntersection()?a.types:a.symbol===r.parent?void 0:[a]),(function(e){return e.symbol&&96&e.symbol.flags?e.symbol:void 0}));return 0===o.length?void 0:o}function V(e){return 2===e.use&&e.providePrefixAndSuffixTextForRename}r.eachExportReference=function(r,n,i,a,o,s,c,u){for(var l=t.createImportTracker(r,new e.Set(r.map((function(e){return e.fileName}))),n,i)(a,{exportKind:c?1:0,exportingModuleSymbol:o},!1),p=l.importSearches,d=l.indirectUsers,f=0,_=p;f<_.length;f++)u(_[f][0]);for(var m=0,g=d;m<g.length;m++)for(var h=0,y=x(g[m],c?"default":s);h<y.length;h++){var v=y[h],D=n.getSymbolAtLocation(v),b=e.some(null==D?void 0:D.declarations,(function(t){return!!e.tryCast(t,e.isExportAssignment)}));e.isIdentifier(v)&&!e.isImportOrExportSpecifier(v.parent)&&(D===a||b)&&u(v)}},r.isSymbolReferencedInFile=function(e,t,r,n){return void 0===n&&(n=r),b(e,t,r,(function(){return!0}),n)||!1},r.eachSymbolReferenceInFile=b,r.someSignatureUsage=function(t,r,n,i){if(!t.name||!e.isIdentifier(t.name))return!1;for(var a=e.Debug.checkDefined(n.getSymbolAtLocation(t.name)),o=0,s=r;o<s.length;o++)for(var c=0,u=x(s[o],a.name);c<u.length;c++){var l=u[c];if(e.isIdentifier(l)&&l!==t.name&&l.escapedText===t.name.escapedText){var p=e.climbPastPropertyAccess(l),d=e.isCallExpression(p.parent)&&p.parent.expression===p?p.parent:void 0,f=n.getSymbolAtLocation(l);if(f&&n.getRootSymbols(f).some((function(e){return e===a}))&&i(l,d))return!0}}return!1},r.getIntersectingMeaningFromDeclarations=K,r.getReferenceEntriesForShorthandPropertyAssignment=J}(n=t.Core||(t.Core={}))}(e.FindAllReferences||(e.FindAllReferences={}))}(n||(n={})),function(e){!function(t){function r(t){return(e.isFunctionExpression(t)||e.isArrowFunction(t)||e.isClassExpression(t))&&e.isVariableDeclaration(t.parent)&&t===t.parent.initializer&&e.isIdentifier(t.parent.name)&&!!(2&e.getCombinedNodeFlags(t.parent))}function n(t){return e.isSourceFile(t)||e.isModuleDeclaration(t)||e.isFunctionDeclaration(t)||e.isFunctionExpression(t)||e.isClassDeclaration(t)||e.isClassExpression(t)||e.isClassStaticBlockDeclaration(t)||e.isMethodDeclaration(t)||e.isMethodSignature(t)||e.isGetAccessorDeclaration(t)||e.isSetAccessorDeclaration(t)}function i(t){return e.isSourceFile(t)||e.isModuleDeclaration(t)&&e.isIdentifier(t.name)||e.isFunctionDeclaration(t)||e.isClassDeclaration(t)||e.isClassStaticBlockDeclaration(t)||e.isMethodDeclaration(t)||e.isMethodSignature(t)||e.isGetAccessorDeclaration(t)||e.isSetAccessorDeclaration(t)||function(t){return(e.isFunctionExpression(t)||e.isClassExpression(t))&&e.isNamedDeclaration(t)}(t)||r(t)}function a(t){return e.isSourceFile(t)?t:e.isNamedDeclaration(t)?t.name:r(t)?t.parent.name:e.Debug.checkDefined(t.modifiers&&e.find(t.modifiers,o))}function o(e){return 88===e.kind}function s(e,t){var r=a(t);return r&&e.getSymbolAtLocation(r)}function c(t,r){if(r.body)return r;if(e.isConstructorDeclaration(r))return e.getFirstConstructorWithBody(r.parent);if(e.isFunctionDeclaration(r)||e.isMethodDeclaration(r)){var n=s(t,r);return n&&n.valueDeclaration&&e.isFunctionLikeDeclaration(n.valueDeclaration)&&n.valueDeclaration.body?n.valueDeclaration:void 0}return r}function u(t,r){var n,a=s(t,r);if(a&&a.declarations){var o=e.indicesOf(a.declarations),c=e.map(a.declarations,(function(e){return{file:e.getSourceFile().fileName,pos:e.pos}}));o.sort((function(t,r){return e.compareStringsCaseSensitive(c[t].file,c[r].file)||c[t].pos-c[r].pos}));for(var u=void 0,l=0,p=e.map(o,(function(e){return a.declarations[e]}));l<p.length;l++){var d=p[l];i(d)&&((!u||u.parent!==d.parent||u.end!==d.pos)&&(n=e.append(n,d)),u=d)}}return n}function l(t,r){var n,i,a;return e.isClassStaticBlockDeclaration(r)?r:e.isFunctionLikeDeclaration(r)?null!==(i=null!==(n=c(t,r))&&void 0!==n?n:u(t,r))&&void 0!==i?i:r:null!==(a=u(t,r))&&void 0!==a?a:r}function p(t,a){for(var o=t.getTypeChecker(),s=!1;;){if(i(a))return l(o,a);var c;if(n(a))return(c=e.findAncestor(a,i))&&l(o,c);if(e.isDeclarationName(a))return i(a.parent)?l(o,a.parent):n(a.parent)?(c=e.findAncestor(a.parent,i))&&l(o,c):e.isVariableDeclaration(a.parent)&&a.parent.initializer&&r(a.parent.initializer)?a.parent.initializer:void 0;if(e.isConstructorDeclaration(a))return i(a.parent)?a.parent:void 0;if(124!==a.kind||!e.isClassStaticBlockDeclaration(a.parent)){if(e.isVariableDeclaration(a)&&a.initializer&&r(a.initializer))return a.initializer;if(!s){var u=o.getSymbolAtLocation(a);if(u&&(2097152&u.flags&&(u=o.getAliasedSymbol(u)),u.valueDeclaration)){s=!0,a=u.valueDeclaration;continue}}return}a=a.parent}}function d(t,n){var i=n.getSourceFile(),a=function(t,n){if(e.isSourceFile(n))return{text:n.fileName,pos:0,end:0};if((e.isFunctionDeclaration(n)||e.isClassDeclaration(n))&&!e.isNamedDeclaration(n)){var i=n.modifiers&&e.find(n.modifiers,o);if(i)return{text:"default",pos:i.getStart(),end:i.getEnd()}}if(e.isClassStaticBlockDeclaration(n)){var a=n.getSourceFile(),s=e.skipTrivia(a.text,e.moveRangePastModifiers(n).pos),c=s+6,u=(p=(l=t.getTypeChecker()).getSymbolAtLocation(n.parent))?"".concat(l.symbolToString(p,n.parent)," "):"";return{text:"".concat(u,"static {}"),pos:s,end:c}}var l,p,d=r(n)?n.parent.name:e.Debug.checkDefined(e.getNameOfDeclaration(n),"Expected call hierarchy item to have a name"),f=e.isIdentifier(d)?e.idText(d):e.isStringOrNumericLiteralLike(d)?d.text:e.isComputedPropertyName(d)&&e.isStringOrNumericLiteralLike(d.expression)?d.expression.text:void 0;if(void 0===f&&(p=(l=t.getTypeChecker()).getSymbolAtLocation(d))&&(f=l.symbolToString(p,n)),void 0===f){var _=e.createPrinter({removeComments:!0,omitTrailingSemicolon:!0});f=e.usingSingleLineStringWriter((function(e){return _.writeNode(4,n,n.getSourceFile(),e)}))}return{text:f,pos:d.getStart(),end:d.getEnd()}}(t,n),s=function(t){var n,i;if(r(t))return e.isModuleBlock(t.parent.parent.parent.parent)&&e.isIdentifier(t.parent.parent.parent.parent.parent.name)?t.parent.parent.parent.parent.parent.name.getText():void 0;switch(t.kind){case 171:case 172:case 168:return 204===t.parent.kind?null===(n=e.getAssignedName(t.parent))||void 0===n?void 0:n.getText():null===(i=e.getNameOfDeclaration(t.parent))||void 0===i?void 0:i.getText();case 255:case 256:case 260:if(e.isModuleBlock(t.parent)&&e.isIdentifier(t.parent.parent.name))return t.parent.parent.name.getText()}}(n),c=e.getNodeKind(n),u=e.getNodeModifiers(n),l=e.createTextSpanFromBounds(e.skipTrivia(i.text,n.getFullStart(),!1,!0),n.getEnd()),p=e.createTextSpanFromBounds(a.pos,a.end);return{file:i.fileName,kind:c,kindModifiers:u,name:a.text,containerName:s,span:l,selectionSpan:p}}function f(e){return void 0!==e}function _(t){if(1===t.kind){var r=t.node;if(e.isCallOrNewExpressionTarget(r,!0,!0)||e.isTaggedTemplateTag(r,!0,!0)||e.isDecoratorTarget(r,!0,!0)||e.isJsxOpeningLikeElementTagName(r,!0,!0)||e.isRightSideOfPropertyAccess(r)||e.isArgumentExpressionOfElementAccess(r)){var n=r.getSourceFile();return{declaration:e.findAncestor(r,i)||n,range:e.createTextRangeFromNode(r,n)}}}}function m(t){return e.getNodeId(t.declaration)}function g(t,r){var n=[],a=function(t,r){function n(n){var i=e.isTaggedTemplateExpression(n)?n.tag:e.isJsxOpeningLikeElement(n)?n.tagName:e.isAccessExpression(n)||e.isClassStaticBlockDeclaration(n)?n:n.expression,a=p(t,i);if(a){var o=e.createTextRangeFromNode(i,n.getSourceFile());if(e.isArray(a))for(var s=0,c=a;s<c.length;s++){var u=c[s];r.push({declaration:u,range:o})}else r.push({declaration:a,range:o})}}return function t(r){if(r&&!(8388608&r.flags)){if(i(r)){if(e.isClassLike(r))for(var a=0,o=r.members;a<o.length;a++){var s=o[a];s.name&&e.isComputedPropertyName(s.name)&&t(s.name.expression)}return}switch(r.kind){case 79:case 264:case 265:case 271:case 257:case 258:return;case 169:return void n(r);case 210:case 228:return void t(r.expression);case 253:case 163:return t(r.name),void t(r.initializer);case 207:case 208:return n(r),t(r.expression),void e.forEach(r.arguments,t);case 209:return n(r),t(r.tag),void t(r.template);case 279:case 278:return n(r),t(r.tagName),void t(r.attributes);case 164:return n(r),void t(r.expression);case 205:case 206:n(r),e.forEachChild(r,t)}e.isPartOfTypeNode(r)||e.forEachChild(r,t)}}}(t,n);switch(r.kind){case 303:!function(t,r){e.forEach(t.statements,r)}(r,a);break;case 260:!function(t,r){!e.hasSyntacticModifier(t,2)&&t.body&&e.isModuleBlock(t.body)&&e.forEach(t.body.statements,r)}(r,a);break;case 255:case 212:case 213:case 168:case 171:case 172:!function(t,r,n){var i=c(t,r);i&&(e.forEach(i.parameters,n),n(i.body))}(t.getTypeChecker(),r,a);break;case 256:case 225:!function(t,r){e.forEach(t.decorators,r);var n=e.getClassExtendsHeritageElement(t);n&&r(n.expression);for(var i=0,a=t.members;i<a.length;i++){var o=a[i];e.forEach(o.decorators,r),e.isPropertyDeclaration(o)?r(o.initializer):e.isConstructorDeclaration(o)&&o.body?(e.forEach(o.parameters,r),r(o.body)):e.isClassStaticBlockDeclaration(o)&&r(o)}}(r,a);break;case 169:!function(e,t){t(e.body)}(r,a);break;default:e.Debug.assertNever(r)}return n}t.resolveCallHierarchyDeclaration=p,t.createCallHierarchyItem=d,t.getIncomingCalls=function(t,r,n){if(e.isSourceFile(r)||e.isModuleDeclaration(r)||e.isClassStaticBlockDeclaration(r))return[];var i=a(r),o=e.filter(e.FindAllReferences.findReferenceOrRenameEntries(t,n,t.getSourceFiles(),i,0,{use:1},_),f);return o?e.group(o,m,(function(r){return function(t,r){return function(e,t){return{from:e,fromSpans:t}}(d(t,r[0].declaration),e.map(r,(function(t){return e.createTextSpanFromRange(t.range)})))}(t,r)})):[]},t.getOutgoingCalls=function(t,r){return 8388608&r.flags||e.isMethodSignature(r)?[]:e.group(g(t,r),m,(function(r){return function(t,r){return function(e,t){return{to:e,fromSpans:t}}(d(t,r[0].declaration),e.map(r,(function(t){return e.createTextSpanFromRange(t.range)})))}(t,r)}))}}(e.CallHierarchy||(e.CallHierarchy={}))}(n||(n={})),function(e){function t(t,n,i,a){var o=i(t);return function(t){var s=a&&a.tryGetSourcePosition({fileName:t,pos:0}),c=function(t){if(i(t)===o)return n;var r=e.tryRemoveDirectoryPrefix(t,o,i);return void 0===r?void 0:n+"/"+r}(s?s.fileName:t);return s?void 0===c?void 0:function(t,n,i,a){var o=e.getRelativePathFromFile(t,n,a);return r(e.getDirectoryPath(i),o)}(s.fileName,c,t,i):c}}function r(t,r){return e.ensurePathIsNonModuleName(function(t,r){return e.normalizePath(e.combinePaths(t,r))}(t,r))}function n(t,r,n,i){if(r){if(r.resolvedModule){var a=s(r.resolvedModule.resolvedFileName);if(a)return a}return e.forEach(r.failedLookupLocations,(function(t){var r=n(t);return r&&e.find(i,(function(e){return e.fileName===r}))?o(t):void 0}))||e.pathIsRelative(t.text)&&e.forEach(r.failedLookupLocations,o)||r.resolvedModule&&{newFileName:r.resolvedModule.resolvedFileName,updated:!1}}function o(t){return e.endsWith(t,"/package.json")?void 0:s(t)}function s(e){var t=n(e);return t&&{newFileName:t,updated:!0}}}function i(t,r){return e.createRange(t.getStart(r)+1,t.end-1)}function a(t,r){if(e.isObjectLiteralExpression(t))for(var n=0,i=t.properties;n<i.length;n++){var a=i[n];e.isPropertyAssignment(a)&&e.isStringLiteral(a.name)&&r(a,a.name.text)}}e.getEditsForFileRename=function(o,s,c,u,l,p,d){var f=e.hostUsesCaseSensitiveFileNames(u),_=e.createGetCanonicalFileName(f),m=t(s,c,_,d),g=t(c,s,_,d);return e.textChanges.ChangeTracker.with({host:u,formatContext:l,preferences:p},(function(t){(function(t,n,o,s,c,u,l){var p=t.getCompilerOptions().configFile;if(p){var d=e.getDirectoryPath(p.fileName),f=e.getTsConfigObjectLiteralExpression(p);f&&a(f,(function(t,r){switch(r){case"files":case"include":case"exclude":if(_(t)||"include"!==r||!e.isArrayLiteralExpression(t.initializer))return;var i=e.mapDefined(t.initializer.elements,(function(t){return e.isStringLiteral(t)?t.text:void 0}));if(0===i.length)return;var o=e.getFileMatcherPatterns(d,[],i,l,u);return void(e.getRegexFromPattern(e.Debug.checkDefined(o.includeFilePattern),l).test(s)&&!e.getRegexFromPattern(e.Debug.checkDefined(o.includeFilePattern),l).test(c)&&n.insertNodeAfter(p,e.last(t.initializer.elements),e.factory.createStringLiteral(g(c))));case"compilerOptions":return void a(t.initializer,(function(t,r){var n=e.getOptionFromName(r);n&&(n.isFilePath||"list"===n.type&&n.element.isFilePath)?_(t):"paths"===r&&a(t.initializer,(function(t){if(e.isArrayLiteralExpression(t.initializer))for(var r=0,n=t.initializer.elements;r<n.length;r++)m(n[r])}))}))}}))}function _(t){for(var r=!1,n=0,i=e.isArrayLiteralExpression(t.initializer)?t.initializer.elements:[t.initializer];n<i.length;n++)r=m(i[n])||r;return r}function m(t){if(!e.isStringLiteral(t))return!1;var a=r(d,t.text),s=o(a);return void 0!==s&&(n.replaceRangeWithText(p,i(t,p),g(s)),!0)}function g(t){return e.getRelativePathFromDirectory(d,t,!l)}})(o,t,m,s,c,u.getCurrentDirectory(),f),function(t,a,o,s,c,u){for(var l=t.getSourceFiles(),p=function(p){var d=o(p.fileName),f=null!=d?d:p.fileName,_=e.getDirectoryPath(f),m=s(p.fileName),g=m||p.fileName,h=e.getDirectoryPath(g),y=void 0!==d||void 0!==m;!function(t,r,n,a){for(var o=0,s=t.referencedFiles||e.emptyArray;o<s.length;o++){var c=s[o];void 0!==(p=n(c.fileName))&&p!==t.text.slice(c.pos,c.end)&&r.replaceRangeWithText(t,c,p)}for(var u=0,l=t.imports;u<l.length;u++){var p,d=l[u];void 0!==(p=a(d))&&p!==d.text&&r.replaceRangeWithText(t,i(d,t),p)}}(p,a,(function(t){if(e.pathIsRelative(t)){var n=r(h,t),i=o(n);return void 0===i?void 0:e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(_,i,u))}}),(function(r){var i=t.getTypeChecker().getSymbolAtLocation(r);if(!(null==i?void 0:i.declarations)||!i.declarations.some((function(t){return e.isAmbientModule(t)}))){var a=void 0!==m?n(r,e.resolveModuleName(r.text,g,t.getCompilerOptions(),c),o,l):function(t,r,i,a,o,s){if(t){var c=e.find(t.declarations,e.isSourceFile).fileName,u=s(c);return void 0===u?{newFileName:c,updated:!1}:{newFileName:u,updated:!0}}var l=e.getModeForUsageLocation(i,r);return n(r,o.resolveModuleNames?o.getResolvedModuleWithFailedLookupLocationsFromCache&&o.getResolvedModuleWithFailedLookupLocationsFromCache(r.text,i.fileName,l):a.getResolvedModuleWithFailedLookupLocationsFromCache(r.text,i.fileName,l),s,a.getSourceFiles())}(i,r,p,t,c,o);return void 0!==a&&(a.updated||y&&e.pathIsRelative(r.text))?e.moduleSpecifiers.updateModuleSpecifier(t.getCompilerOptions(),p,u(f),a.newFileName,e.createModuleSpecifierResolutionHost(t,c),r.text):void 0}}))},d=0,f=l;d<f.length;d++)p(f[d])}(o,t,m,g,u,_)}))},e.getPathUpdater=t}(n||(n={})),function(e){!function(t){function r(t,r,o){var s=i(r,o,t),d=s&&[m(s.reference.fileName,s.fileName,s.unverified)]||e.emptyArray;if(null!=s&&s.file)return d;var _=e.getTouchingPropertyName(r,o);if(_!==r){var g=_.parent,h=t.getTypeChecker();if(158===_.kind||e.isJSDocOverrideTag(_)&&e.rangeContainsPosition(_.tagName,o))return function(t,r){var n=e.findAncestor(r,e.isClassElement);if(n&&n.name){var i=e.findAncestor(n,e.isClassLike);if(i){var a=e.getEffectiveBaseTypeNode(i),o=a?t.getTypeAtLocation(a):void 0;if(o){var s=e.unescapeLeadingUnderscores(e.getTextOfPropertyName(n.name)),c=e.hasStaticModifier(n)?t.getPropertyOfType(t.getTypeOfSymbolAtLocation(o.symbol,i),s):t.getPropertyOfType(o,s);if(c)return u(t,c,r)}}}}(h,_)||e.emptyArray;if(e.isJumpStatementTarget(_)){var y=e.getTargetLabel(_.parent,_.text);return y?[p(h,y,"label",_.text,void 0)]:void 0}if(e.isStaticModifier(_)&&e.isClassStaticBlockDeclaration(_.parent)){var v=_.parent.parent,D=c(v,h),b=e.filter(v.members,e.isClassStaticBlockDeclaration),x=D?h.symbolToString(D,v):"",E=_.getSourceFile();return e.map(b,(function(t){var r=e.moveRangePastModifiers(t).pos;return r=e.skipTrivia(E.text,r),p(h,t,"constructor","static {}",x,{start:r,length:6})}))}var S=c(_,h);if(!S)return e.concatenate(d,function(t,r){return e.mapDefined(r.getIndexInfosAtLocation(t),(function(e){return e.declaration&&f(r,e.declaration)}))}(_,h));var C=function(t,r){var n=function(t){var r=e.findAncestor(t,(function(t){return!e.isRightSideOfPropertyAccess(t)})),n=null==r?void 0:r.parent;return n&&e.isCallLikeExpression(n)&&e.getInvokedExpression(n)===r?n:void 0}(r),i=n&&t.getResolvedSignature(n);return e.tryCast(i&&i.declaration,(function(t){return e.isFunctionLike(t)&&!e.isFunctionTypeNode(t)}))}(h,_);if(C&&(!e.isJsxOpeningLikeElement(_.parent)||!function(e){switch(e.kind){case 170:case 179:case 174:return!0;default:return!1}}(C))){var T=f(h,C);if(h.getRootSymbols(S).some((function(t){return function(t,r){return t===r.symbol||t===r.symbol.parent||e.isAssignmentExpression(r.parent)||!e.isCallLikeExpression(r.parent)&&t===r.parent.symbol}(t,C)})))return[T];var k=u(h,S,_,C)||e.emptyArray;return 106===_.kind?a([T],k,!0):a(a([],k,!0),[T],!1)}if(295===_.parent.kind){var A=h.getShorthandAssignmentValueSymbol(S.valueDeclaration),N=null!=A&&A.declarations?A.declarations.map((function(e){return l(e,h,A,_)})):e.emptyArray;return e.concatenate(N,n(h,_)||e.emptyArray)}if(e.isPropertyName(_)&&e.isBindingElement(g)&&e.isObjectBindingPattern(g.parent)&&_===(g.propertyName||g.name)){var P=e.getNameFromPropertyName(_),F=h.getTypeAtLocation(g.parent);return void 0===P?e.emptyArray:e.flatMap(F.isUnion()?F.types:[F],(function(e){var t=e.getProperty(P);return t&&u(h,t,_)}))}return e.concatenate(d,n(h,_)||u(h,S,_))}}function n(t,r){var n=e.getContainingObjectLiteralElement(r);if(n){var i=n&&t.getContextualType(n.parent);if(i)return e.flatMap(e.getPropertySymbolsFromContextualType(n,t,i,!1),(function(e){return u(t,e,r)}))}}function i(t,r,n){var i,a,o=_(t.referencedFiles,r);if(o)return(u=n.getSourceFileFromReference(t,o))&&{reference:o,fileName:u.fileName,file:u,unverified:!1};var s=_(t.typeReferenceDirectives,r);if(s){var c=n.getResolvedTypeReferenceDirectives().get(s.fileName);return(u=c&&n.getSourceFile(c.resolvedFileName))&&{reference:s,fileName:u.fileName,file:u,unverified:!1}}var u,l=_(t.libReferenceDirectives,r);if(l)return(u=n.getLibFileFromReference(l))&&{reference:l,fileName:u.fileName,file:u,unverified:!1};if(null!==(i=t.resolvedModules)&&void 0!==i&&i.size()){var p=e.getTouchingToken(t,r);if(e.isModuleSpecifierLike(p)&&e.isExternalModuleNameRelative(p.text)&&t.resolvedModules.has(p.text,e.getModeForUsageLocation(t,p))){var d=null===(a=t.resolvedModules.get(p.text,e.getModeForUsageLocation(t,p)))||void 0===a?void 0:a.resolvedFileName,f=d||e.resolvePath(e.getDirectoryPath(t.fileName),p.text);return{file:n.getSourceFile(f),fileName:f,reference:{pos:p.getStart(),end:p.getEnd(),fileName:p.text},unverified:!d}}}}function s(t,r,n){return e.flatMap(!t.isUnion()||32&t.flags?[t]:t.types,(function(e){return e.symbol&&u(r,e.symbol,n)}))}function c(t,r){var n=r.getSymbolAtLocation(t);if((null==n?void 0:n.declarations)&&2097152&n.flags&&function(t,r){if(79!==t.kind)return!1;if(t.parent===r)return!0;switch(r.kind){case 266:case 264:return!0;case 269:return 268===r.parent.kind;case 202:case 253:return e.isInJSFile(r)&&e.isVariableDeclarationInitializedToBareOrAccessedRequire(r);default:return!1}}(t,n.declarations[0])){var i=r.getAliasedSymbol(n);if(i.declarations)return i}return n}function u(t,r,n,i){var a=e.filter(r.declarations,(function(t){return t!==i&&(!e.isAssignmentDeclaration(t)||t===r.valueDeclaration)}))||void 0;return function(){if(32&r.flags&&!(19&r.flags)&&(e.isNewExpressionTarget(n)||134===n.kind))return o((e.find(a,e.isClassLike)||e.Debug.fail("Expected declaration to have at least one class-like declaration")).members,!0)}()||(e.isCallOrNewExpressionTarget(n)||e.isNameOfFunctionDeclaration(n)?o(a,!1):void 0)||e.map(a,(function(e){return l(e,t,r,n)}));function o(i,a){if(i){var o=i.filter(a?e.isConstructorDeclaration:e.isFunctionLike),s=o.filter((function(e){return!!e.body}));return o.length?0!==s.length?s.map((function(e){return l(e,t,r,n)})):[l(e.last(o),t,r,n)]:void 0}}}function l(t,r,n,i){var a=r.symbolToString(n),o=e.SymbolDisplay.getSymbolKind(r,n,i),s=n.parent?r.symbolToString(n.parent,i):"";return p(r,t,o,a,s)}function p(t,r,n,i,a,s){var c=r.getSourceFile();if(!s){var u=e.getNameOfDeclaration(r)||r;s=e.createTextSpanFromNode(u,c)}return o(o({fileName:c.fileName,textSpan:s,kind:n,name:i,containerKind:void 0,containerName:a},e.FindAllReferences.toContextSpan(s,c,e.FindAllReferences.getContextNode(r))),{isLocal:!d(t,r)})}function d(t,r){if(t.isDeclarationVisible(r))return!0;if(!r.parent)return!1;if(e.hasInitializer(r.parent)&&r.parent.initializer===r)return d(t,r.parent);switch(r.kind){case 166:case 171:case 172:case 168:if(e.hasEffectiveModifier(r,8))return!1;case 170:case 294:case 295:case 204:case 225:case 213:case 212:return d(t,r.parent);default:return!1}}function f(e,t){return l(t,e,t.symbol,t)}function _(t,r){return e.find(t,(function(t){return e.textRangeContainsPositionInclusive(t,r)}))}function m(t,r,n){return{fileName:r,textSpan:e.createTextSpanFromBounds(0,0),kind:"script",name:t,containerName:void 0,containerKind:void 0,unverified:n}}t.getDefinitionAtPosition=r,t.getReferenceAtPosition=i,t.getTypeDefinitionAtPosition=function(t,r,n){var i=e.getTouchingPropertyName(r,n);if(i!==r){var a=c(i,t);if(a){var o=t.getTypeOfSymbolAtLocation(a,i),l=function(t,r,n){if(r.symbol===t||t.valueDeclaration&&r.symbol&&e.isVariableDeclaration(t.valueDeclaration)&&t.valueDeclaration.initializer===r.symbol.valueDeclaration){var i=r.getCallSignatures();if(1===i.length)return n.getReturnTypeOfSignature(e.first(i))}}(a,o,t),p=l&&s(l,t,i),d=p&&0!==p.length?p:s(o,t,i);return d.length?d:!(111551&a.flags)&&788968&a.flags?u(t,e.skipAlias(a,t),i):void 0}}},t.getDefinitionAndBoundSpan=function(t,n,i){var a=r(t,n,i);if(a&&0!==a.length){var o=_(n.referencedFiles,i)||_(n.typeReferenceDirectives,i)||_(n.libReferenceDirectives,i);if(o)return{definitions:a,textSpan:e.createTextSpanFromRange(o)};var s=e.getTouchingPropertyName(n,i);return{definitions:a,textSpan:e.createTextSpan(s.getStart(),s.getWidth())}}},t.findReferenceInPosition=_}(e.GoToDefinition||(e.GoToDefinition={}))}(n||(n={})),function(e){!function(t){var r,n,i=["abstract","access","alias","argument","async","augments","author","borrows","callback","class","classdesc","constant","constructor","constructs","copyright","default","deprecated","description","emits","enum","event","example","exports","extends","external","field","file","fileoverview","fires","function","generator","global","hideconstructor","host","ignore","implements","inheritdoc","inner","instance","interface","kind","lends","license","link","listens","member","memberof","method","mixes","module","name","namespace","override","package","param","private","property","protected","public","readonly","requires","returns","see","since","static","summary","template","this","throws","todo","tutorial","type","typedef","var","variation","version","virtual","yields"];function o(t,r){return e.arraysEqual(t,r,(function(e,t){return e.kind===t.kind&&e.text===t.text}))}function s(t,r){return"string"==typeof t?[e.textPart(t)]:e.flatMap(t,(function(t){return 319===t.kind?[e.textPart(t.text)]:e.buildLinkParts(t,r)}))}function c(t,r){var n=t.comment,i=t.kind,o=function(t){switch(t){case 338:return e.parameterNamePart;case 345:return e.propertyNamePart;case 342:return e.typeParameterNamePart;case 343:case 336:return e.typeAliasNamePart;default:return e.textPart}}(i);switch(i){case 327:case 326:return d(t.class);case 342:var c=t,u=[];if(c.constraint&&u.push(e.textPart(c.constraint.getText())),e.length(c.typeParameters)){e.length(u)&&u.push(e.spacePart());var l=c.typeParameters[c.typeParameters.length-1];e.forEach(c.typeParameters,(function(t){u.push(o(t.getText())),l!==t&&u.push.apply(u,[e.punctuationPart(27),e.spacePart()])}))}return n&&u.push.apply(u,a([e.spacePart()],s(n,r),!0)),u;case 341:return d(t.typeExpression);case 343:case 336:case 345:case 338:case 344:var p=t.name;return p?d(p):void 0===n?void 0:s(n,r);default:return void 0===n?void 0:s(n,r)}function d(t){return function(t){return n?t.match(/^https?$/)?a([e.textPart(t)],s(n,r),!0):a([o(t),e.spacePart()],s(n,r),!0):[e.textPart(t)]}(t.getText())}}function u(t){return{name:t,kind:"",kindModifiers:"",displayParts:[e.textPart(t)],documentation:e.emptyArray,tags:void 0,codeActions:void 0}}function l(t,r){switch(t.kind){case 255:case 212:case 168:case 170:case 167:case 213:var n=t;return{commentOwner:t,parameters:n.parameters,hasReturn:p(n,r)};case 294:return l(t.initializer,r);case 256:case 257:case 165:case 259:case 297:case 258:return{commentOwner:t};case 236:var i=t.declarationList.declarations,a=1===i.length&&i[0].initializer?function(t){for(;211===t.kind;)t=t.expression;switch(t.kind){case 212:case 213:return t;case 225:return e.find(t.members,e.isConstructorDeclaration)}}(i[0].initializer):void 0;return a?{commentOwner:t,parameters:a.parameters,hasReturn:p(a,r)}:{commentOwner:t};case 303:return"quit";case 260:return 260===t.parent.kind?void 0:{commentOwner:t};case 237:return l(t.expression,r);case 220:var o=t;return 0===e.getAssignmentDeclarationKind(o)?"quit":e.isFunctionLike(o.right)?{commentOwner:t,parameters:o.right.parameters,hasReturn:p(o.right,r)}:{commentOwner:t};case 166:var s=t.initializer;if(s&&(e.isFunctionExpression(s)||e.isArrowFunction(s)))return{commentOwner:t,parameters:s.parameters,hasReturn:p(s,r)}}}function p(t,r){return!(null==r||!r.generateReturnInDocTemplate)&&(e.isArrowFunction(t)&&e.isExpression(t.body)||e.isFunctionLikeDeclaration(t)&&t.body&&e.isBlock(t.body)&&!!e.forEachReturnStatement(t.body,(function(e){return e})))}t.getJsDocCommentsFromDeclarations=function(t,r){var n=[];return e.forEachUnique(t,(function(t){for(var i=0,a=function(t){switch(t.kind){case 338:case 345:return[t];case 336:case 343:return[t,t.parent];default:return e.getJSDocCommentsAndTags(t)}}(t);i<a.length;i++){var c=a[i];if(!(void 0===c.comment||e.isJSDoc(c)&&343!==t.kind&&336!==t.kind&&c.tags&&c.tags.some((function(e){return 343===e.kind||336===e.kind}))&&!c.tags.some((function(e){return 338===e.kind||339===e.kind})))){var u=s(c.comment,r);e.contains(n,u,o)||n.push(u)}}})),e.flatten(e.intersperse(n,[e.lineBreakPart()]))},t.getJsDocTagsFromDeclarations=function(t,r){var n=[];return e.forEachUnique(t,(function(t){var i=e.getJSDocTags(t);if(!i.some((function(e){return 343===e.kind||336===e.kind}))||i.some((function(e){return 338===e.kind||339===e.kind})))for(var a=0,o=i;a<o.length;a++){var s=o[a];n.push({name:s.tagName.text,text:c(s,r)})}})),n},t.getJSDocTagNameCompletions=function(){return r||(r=e.map(i,(function(t){return{name:t,kind:"keyword",kindModifiers:"",sortText:e.Completions.SortText.LocationPriority}})))},t.getJSDocTagNameCompletionDetails=u,t.getJSDocTagCompletions=function(){return n||(n=e.map(i,(function(t){return{name:"@".concat(t),kind:"keyword",kindModifiers:"",sortText:e.Completions.SortText.LocationPriority}})))},t.getJSDocTagCompletionDetails=u,t.getJSDocParameterNameCompletions=function(t){if(!e.isIdentifier(t.name))return e.emptyArray;var r=t.name.text,n=t.parent,i=n.parent;return e.isFunctionLike(i)?e.mapDefined(i.parameters,(function(i){if(e.isIdentifier(i.name)){var a=i.name.text;if(!n.tags.some((function(r){return r!==t&&e.isJSDocParameterTag(r)&&e.isIdentifier(r.name)&&r.name.escapedText===a}))&&(void 0===r||e.startsWith(a,r)))return{name:a,kind:"parameter",kindModifiers:"",sortText:e.Completions.SortText.LocationPriority}}})):[]},t.getJSDocParameterNameCompletionDetails=function(t){return{name:t,kind:"parameter",kindModifiers:"",displayParts:[e.textPart(t)],documentation:e.emptyArray,tags:void 0,codeActions:void 0}},t.getDocCommentTemplateAtPosition=function(t,r,n,i){var a=e.getTokenAtPosition(r,n),o=e.findAncestor(a,e.isJSDoc);if(!o||void 0===o.comment&&!e.length(o.tags)){var s=a.getStart(r);if(o||!(s<n)){var c=function(t,r){return e.forEachAncestor(t,(function(e){return l(e,r)}))}(a,i);if(c){var u=c.commentOwner,p=c.parameters,d=c.hasReturn;if(!(u.getStart(r)<n)){var f=function(t,r){for(var n=t.text,i=e.getLineStartPositionForPosition(r,t),a=i;a<=r&&e.isWhiteSpaceSingleLine(n.charCodeAt(a));a++);return n.slice(i,a)}(r,n),_=e.hasJSFileExtension(r.fileName),m=(p?function(e,t,r,n){return e.map((function(e,i){var a=e.name,o=e.dotDotDotToken,s=79===a.kind?a.text:"param"+i,c=t?o?"{...any} ":"{any} ":"";return"".concat(r," * @param ").concat(c).concat(s).concat(n)})).join("")}(p||[],_,f,t):"")+(d?function(e,t){return"".concat(e," * @returns").concat(t)}(f,t):"");if(m){var g="/**"+t+f+" * ";return{newText:g+t+m+f+" */"+(s===n?t+f:""),caretOffset:g.length}}return{newText:"/** */",caretOffset:3}}}}}}}(e.JsDoc||(e.JsDoc={}))}(n||(n={})),function(e){!function(t){function r(e,t){switch(e.kind){case 266:case 269:case 264:var r=t.getSymbolAtLocation(e.name),n=t.getAliasedSymbol(r);return r.escapedName!==n.escapedName;default:return!0}}function n(t,r){var n=e.getNameOfDeclaration(t);return!!n&&(a(n,r)||161===n.kind&&i(n.expression,r))}function i(t,r){return a(t,r)||e.isPropertyAccessExpression(t)&&(r.push(t.name.text),!0)&&i(t.expression,r)}function a(t,r){return e.isPropertyNameLiteral(t)&&(r.push(e.getTextOfIdentifierOrLiteral(t)),!0)}function o(t){var r=[],a=e.getNameOfDeclaration(t);if(a&&161===a.kind&&!i(a.expression,r))return e.emptyArray;r.shift();for(var o=e.getContainerNode(t);o;){if(!n(o,r))return e.emptyArray;o=e.getContainerNode(o)}return r.reverse()}function s(t,r){return e.compareValues(t.matchKind,r.matchKind)||e.compareStringsCaseSensitiveUI(t.name,r.name)}function c(t){var r=t.declaration,n=e.getContainerNode(r),i=n&&e.getNameOfDeclaration(n);return{name:t.name,kind:e.getNodeKind(r),kindModifiers:e.getNodeModifiers(r),matchKind:e.PatternMatchKind[t.matchKind],isCaseSensitive:t.isCaseSensitive,fileName:t.fileName,textSpan:e.createTextSpanFromNode(r),containerName:i?i.text:"",containerKind:i?e.getNodeKind(n):""}}t.getNavigateToItems=function(t,n,i,a,u,l){var p=e.createPatternMatcher(a);if(!p)return e.emptyArray;for(var d=[],f=function(e){if(i.throwIfCancellationRequested(),l&&e.isDeclarationFile)return"continue";e.getNamedDeclarations().forEach((function(t,i){!function(e,t,n,i,a,s){var c=e.getMatchForLastSegmentOfPattern(t);if(c)for(var u=0,l=n;u<l.length;u++){var p=l[u];if(r(p,i))if(e.patternContainsDots){var d=e.getFullMatch(o(p),t);d&&s.push({name:t,fileName:a,matchKind:d.kind,isCaseSensitive:d.isCaseSensitive,declaration:p})}else s.push({name:t,fileName:a,matchKind:c.kind,isCaseSensitive:c.isCaseSensitive,declaration:p})}}(p,i,t,n,e.fileName,d)}))},_=0,m=t;_<m.length;_++)f(m[_]);return d.sort(s),(void 0===u?d:d.slice(0,u)).map(c)}}(e.NavigateTo||(e.NavigateTo={}))}(n||(n={})),function(e){!function(t){var r,n,i,a,s,c=/\s+/g,u=[],l=[],p=[];function d(){i=void 0,n=void 0,u=[],a=void 0,p=[]}function f(e){return $(e.getText(i))}function _(e){return e.node.kind}function m(e,t){e.children?e.children.push(t):e.children=[t]}function g(t){e.Debug.assert(!u.length);var r={node:t,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};a=r;for(var n=0,i=t.statements;n<i.length;n++)k(i[n]);return E(),e.Debug.assert(!a&&!u.length),r}function h(e,t){m(a,y(e,t))}function y(t,r){return{node:t,name:r||(e.isDeclaration(t)||e.isExpression(t)?e.getNameOfDeclaration(t):void 0),additionalNodes:void 0,parent:a,children:void 0,indent:a.indent+1}}function v(t){s||(s=new e.Map),s.set(t,!0)}function D(e){for(var t=0;t<e;t++)E()}function b(t,r){for(var n=[];!e.isPropertyNameLiteral(r);){var i=e.getNameOrArgument(r),a=e.getElementOrPropertyAccessName(r);r=r.expression,"prototype"!==a&&!e.isPrivateIdentifier(i)&&n.push(i)}n.push(r);for(var o=n.length-1;o>0;o--)x(t,i=n[o]);return[n.length-1,n[0]]}function x(e,t){var r=y(e,t);m(a,r),u.push(a),l.push(s),s=void 0,a=r}function E(){a.children&&(A(a.children,a),O(a.children)),a=u.pop(),s=l.pop()}function S(e,t,r){x(e,r),k(t),E()}function C(t){t.initializer&&function(e){switch(e.kind){case 213:case 212:case 225:return!0;default:return!1}}(t.initializer)?(x(t),e.forEachChild(t.initializer,k),E()):S(t,t.initializer)}function T(t){return!e.hasDynamicName(t)||220!==t.kind&&e.isPropertyAccessExpression(t.name.expression)&&e.isIdentifier(t.name.expression.expression)&&"Symbol"===e.idText(t.name.expression.expression)}function k(t){var r;if(n.throwIfCancellationRequested(),t&&!e.isToken(t))switch(t.kind){case 170:var i=t;S(i,i.body);for(var a=0,o=i.parameters;a<o.length;a++){var c=o[a];e.isParameterPropertyDeclaration(c,i)&&h(c)}break;case 168:case 171:case 172:case 167:T(t)&&S(t,t.body);break;case 166:T(t)&&C(t);break;case 165:T(t)&&h(t);break;case 266:var u=t;u.name&&h(u.name);var l=u.namedBindings;if(l)if(267===l.kind)h(l);else for(var p=0,d=l.elements;p<d.length;p++)h(d[p]);break;case 295:S(t,t.name);break;case 296:var f=t.expression;e.isIdentifier(f)?h(t,f):h(t);break;case 202:case 294:case 253:var _=t;e.isBindingPattern(_.name)?k(_.name):C(_);break;case 255:var m=t.name;m&&e.isIdentifier(m)&&v(m.text),S(t,t.body);break;case 213:case 212:S(t,t.body);break;case 259:x(t);for(var g=0,y=t.members;g<y.length;g++)V(P=y[g])||h(P);E();break;case 256:case 225:case 257:x(t);for(var A=0,N=t.members;A<N.length;A++){var P;k(P=N[A])}E();break;case 260:S(t,q(t).body);break;case 270:var F=t.expression;(_=e.isObjectLiteralExpression(F)||e.isCallExpression(F)?F:e.isArrowFunction(F)||e.isFunctionExpression(F)?F.body:void 0)?(x(t),k(_),E()):h(t);break;case 274:case 264:case 175:case 173:case 174:case 258:h(t);break;case 207:case 220:var w=e.getAssignmentDeclarationKind(t);switch(w){case 1:case 2:return void S(t,t.right);case 6:case 3:var I=(K=t).left,O=3===w?I.expression:I,L=0,M=void 0;return e.isIdentifier(O.expression)?(v(O.expression.text),M=O.expression):(L=(r=b(K,O.expression))[0],M=r[1]),6===w?e.isObjectLiteralExpression(K.right)&&K.right.properties.length>0&&(x(K,M),e.forEachChild(K.right,k),E()):e.isFunctionExpression(K.right)||e.isArrowFunction(K.right)?S(t,K.right,M):(x(K,M),S(t,K.right,I.name),E()),void D(L);case 7:case 9:var R=t,B=(M=7===w?R.arguments[0]:R.arguments[0].expression,R.arguments[1]),j=b(t,M);return L=j[0],x(t,j[1]),x(t,e.setTextRange(e.factory.createIdentifier(B.text),B)),k(t.arguments[2]),E(),E(),void D(L);case 5:var K,J=(I=(K=t).left).expression;if(e.isIdentifier(J)&&"prototype"!==e.getElementOrPropertyAccessName(I)&&s&&s.has(J.text))return void(e.isFunctionExpression(K.right)||e.isArrowFunction(K.right)?S(t,K.right,J):e.isBindableStaticAccessExpression(I)&&(x(K,J),S(K.left,K.right,e.getNameOrArgument(I)),E()));break;case 4:case 0:case 8:break;default:e.Debug.assertNever(w)}default:e.hasJSDocNodes(t)&&e.forEach(t.jsDoc,(function(t){e.forEach(t.tags,(function(t){e.isJSDocTypeAlias(t)&&h(t)}))})),e.forEachChild(t,k)}}function A(t,r){var n=new e.Map;e.filterMutate(t,(function(t,i){var a=t.name||e.getNameOfDeclaration(t.node),o=a&&f(a);if(!o)return!0;var s=n.get(o);if(!s)return n.set(o,t),!0;if(s instanceof Array){for(var c=0,u=s;c<u.length;c++){var l;if(P(l=u[c],t,i,r))return!1}return s.push(t),!0}return!P(l=s,t,i,r)&&(n.set(o,[l,t]),!0)}))}t.getNavigationBarItems=function(t,r){n=r,i=t;try{return e.map(function(e){var t=[];function r(e){if(n(e)&&(t.push(e),e.children))for(var i=0,a=e.children;i<a.length;i++)r(a[i])}return r(e),t;function n(e){if(e.children)return!0;switch(_(e)){case 256:case 225:case 259:case 257:case 260:case 303:case 258:case 343:case 336:return!0;case 213:case 255:case 212:return t(e);default:return!1}function t(e){if(!e.node.body)return!1;switch(_(e.parent)){case 261:case 303:case 168:case 170:return!0;default:return!1}}}}(g(t)),j)}finally{d()}},t.getNavigationTree=function(e,t){n=t,i=e;try{return B(g(e))}finally{d()}};var N=((r={})[5]=!0,r[3]=!0,r[7]=!0,r[9]=!0,r[0]=!1,r[1]=!1,r[2]=!1,r[8]=!1,r[6]=!0,r[4]=!1,r);function P(t,r,n,i){return!!function(t,r,n,i){function a(t){return e.isFunctionExpression(t)||e.isFunctionDeclaration(t)||e.isVariableDeclaration(t)}var s=e.isBinaryExpression(r.node)||e.isCallExpression(r.node)?e.getAssignmentDeclarationKind(r.node):0,c=e.isBinaryExpression(t.node)||e.isCallExpression(t.node)?e.getAssignmentDeclarationKind(t.node):0;if(N[s]&&N[c]||a(t.node)&&N[s]||a(r.node)&&N[c]||e.isClassDeclaration(t.node)&&F(t.node)&&N[s]||e.isClassDeclaration(r.node)&&N[c]||e.isClassDeclaration(t.node)&&F(t.node)&&a(r.node)||e.isClassDeclaration(r.node)&&a(t.node)&&F(t.node)){var u=t.additionalNodes&&e.lastOrUndefined(t.additionalNodes)||t.node;if(!e.isClassDeclaration(t.node)&&!e.isClassDeclaration(r.node)||a(t.node)||a(r.node)){var l=a(t.node)?t.node:a(r.node)?r.node:void 0;if(void 0!==l){var p=y(e.setTextRange(e.factory.createConstructorDeclaration(void 0,void 0,[],void 0),l));p.indent=t.indent+1,p.children=t.node===l?t.children:r.children,t.children=t.node===l?e.concatenate([p],r.children||[r]):e.concatenate(t.children||[o({},t)],[p])}else(t.children||r.children)&&(t.children=e.concatenate(t.children||[o({},t)],r.children||[r]),t.children&&(A(t.children,t),O(t.children)));u=t.node=e.setTextRange(e.factory.createClassDeclaration(void 0,void 0,t.name||e.factory.createIdentifier("__class__"),void 0,void 0,[]),t.node)}else t.children=e.concatenate(t.children,r.children),t.children&&A(t.children,t);var d=r.node;return i.children[n-1].node.end===u.end?e.setTextRange(u,{pos:u.pos,end:d.end}):(t.additionalNodes||(t.additionalNodes=[]),t.additionalNodes.push(e.setTextRange(e.factory.createClassDeclaration(void 0,void 0,t.name||e.factory.createIdentifier("__class__"),void 0,void 0,[]),r.node))),!0}return 0!==s}(t,r,n,i)||!!function(t,r,n){if(t.kind!==r.kind||t.parent!==r.parent&&(!w(t,n)||!w(r,n)))return!1;switch(t.kind){case 166:case 168:case 171:case 172:return e.isStatic(t)===e.isStatic(r);case 260:return I(t,r)&&U(t)===U(r);default:return!0}}(t.node,r.node,i)&&(function(t,r){var n;t.additionalNodes=t.additionalNodes||[],t.additionalNodes.push(r.node),r.additionalNodes&&(n=t.additionalNodes).push.apply(n,r.additionalNodes),t.children=e.concatenate(t.children,r.children),t.children&&(A(t.children,t),O(t.children))}(t,r),!0)}function F(e){return!!(8&e.flags)}function w(t,r){var n=e.isModuleBlock(t.parent)?t.parent.parent:t.parent;return n===r.node||e.contains(r.additionalNodes,n)}function I(e,t){return e.body&&t.body?e.body.kind===t.body.kind&&(260!==e.body.kind||I(e.body,t.body)):e.body===t.body}function O(e){e.sort(L)}function L(t,r){return e.compareStringsCaseSensitiveUI(M(t.node),M(r.node))||e.compareValues(_(t),_(r))}function M(t){if(260===t.kind)return J(t);var r=e.getNameOfDeclaration(t);if(r&&e.isPropertyName(r)){var n=e.getPropertyNameForPropertyNameNode(r);return n&&e.unescapeLeadingUnderscores(n)}switch(t.kind){case 212:case 213:case 225:return H(t);default:return}}function R(t,r){if(260===t.kind)return $(J(t));if(r){var n=e.isIdentifier(r)?r.text:e.isElementAccessExpression(r)?"[".concat(f(r.argumentExpression),"]"):f(r);if(n.length>0)return $(n)}switch(t.kind){case 303:var i=t;return e.isExternalModule(i)?'"'.concat(e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(i.fileName)))),'"'):"<global>";case 270:return e.isExportAssignment(t)&&t.isExportEquals?"export=":"default";case 213:case 255:case 212:case 256:case 225:return 512&e.getSyntacticModifierFlags(t)?"default":H(t);case 170:return"constructor";case 174:return"new()";case 173:return"()";case 175:return"[]";default:return"<unknown>"}}function B(t){return{text:R(t.node,t.name),kind:e.getNodeKind(t.node),kindModifiers:W(t.node),spans:K(t),nameSpan:t.name&&z(t.name),childItems:e.map(t.children,B)}}function j(t){return{text:R(t.node,t.name),kind:e.getNodeKind(t.node),kindModifiers:W(t.node),spans:K(t),childItems:e.map(t.children,(function(t){return{text:R(t.node,t.name),kind:e.getNodeKind(t.node),kindModifiers:e.getNodeModifiers(t.node),spans:K(t),childItems:p,indent:0,bolded:!1,grayed:!1}}))||p,indent:t.indent,bolded:!1,grayed:!1}}function K(e){var t=[z(e.node)];if(e.additionalNodes)for(var r=0,n=e.additionalNodes;r<n.length;r++){var i=n[r];t.push(z(i))}return t}function J(t){return e.isAmbientModule(t)?e.getTextOfNode(t.name):U(t)}function U(t){for(var r=[e.getTextOfIdentifierOrLiteral(t.name)];t.body&&260===t.body.kind;)t=t.body,r.push(e.getTextOfIdentifierOrLiteral(t.name));return r.join(".")}function q(t){return t.body&&e.isModuleDeclaration(t.body)?q(t.body):t}function V(e){return!e.name||161===e.name.kind}function z(t){return 303===t.kind?e.createTextSpanFromRange(t):e.createTextSpanFromNode(t,i)}function W(t){return t.parent&&253===t.parent.kind&&(t=t.parent),e.getNodeModifiers(t)}function H(t){var r=t.parent;if(t.name&&e.getFullWidth(t.name)>0)return $(e.declarationNameToString(t.name));if(e.isVariableDeclaration(r))return $(e.declarationNameToString(r.name));if(e.isBinaryExpression(r)&&63===r.operatorToken.kind)return f(r.left).replace(c,"");if(e.isPropertyAssignment(r))return f(r.name);if(512&e.getSyntacticModifierFlags(t))return"default";if(e.isClassLike(t))return"<class>";if(e.isCallExpression(r)){var n=G(r.expression);if(void 0!==n){if((n=$(n)).length>150)return"".concat(n," callback");var a=$(e.mapDefined(r.arguments,(function(t){return e.isStringLiteralLike(t)?t.getText(i):void 0})).join(", "));return"".concat(n,"(").concat(a,") callback")}}return"<function>"}function G(t){if(e.isIdentifier(t))return t.text;if(e.isPropertyAccessExpression(t)){var r=G(t.expression),n=t.name.text;return void 0===r?n:"".concat(r,".").concat(n)}}function $(e){return(e=e.length>150?e.substring(0,150)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}}(e.NavigationBar||(e.NavigationBar={}))}(n||(n={})),function(e){!function(t){function r(t,r){var n=e.isStringLiteral(r)&&r.text;return e.isString(n)&&e.some(t.moduleAugmentations,(function(t){return e.isStringLiteral(t)&&t.text===n}))}function n(t){return void 0!==t&&e.isStringLiteralLike(t)?t.text:void 0}function i(t){var r;if(0===t.length)return t;var n=function(t){for(var r,n={defaultImports:[],namespaceImports:[],namedImports:[]},i={defaultImports:[],namespaceImports:[],namedImports:[]},a=0,o=t;a<o.length;a++){var s=o[a];if(void 0!==s.importClause){var c=s.importClause.isTypeOnly?n:i,u=s.importClause,l=u.name,p=u.namedBindings;l&&c.defaultImports.push(s),p&&(e.isNamespaceImport(p)?c.namespaceImports.push(s):c.namedImports.push(s))}else r=r||s}return{importWithoutClause:r,typeOnlyImports:n,regularImports:i}}(t),i=n.importWithoutClause,a=n.typeOnlyImports,c=n.regularImports,u=[];i&&u.push(i);for(var p=0,d=[c,a];p<d.length;p++){var f=d[p],m=f===a,g=f.defaultImports,h=f.namespaceImports,y=f.namedImports;if(m||1!==g.length||1!==h.length||0!==y.length){for(var v=0,D=e.stableSort(h,(function(e,t){return l(e.importClause.namedBindings.name,t.importClause.namedBindings.name)}));v<D.length;v++){var b=D[v];u.push(o(b,void 0,b.importClause.namedBindings))}if(0!==g.length||0!==y.length){var x=void 0,E=[];if(1===g.length)x=g[0].importClause.name;else for(var S=0,C=g;S<C.length;S++)N=C[S],E.push(e.factory.createImportSpecifier(!1,e.factory.createIdentifier("default"),N.importClause.name));E.push.apply(E,_(y));var T=s(E),k=g.length>0?g[0]:y[0],A=0===T.length?x?void 0:e.factory.createNamedImports(e.emptyArray):0===y.length?e.factory.createNamedImports(T):e.factory.updateNamedImports(y[0].importClause.namedBindings,T);m&&x&&A?(u.push(o(k,x,void 0)),u.push(o(null!==(r=y[0])&&void 0!==r?r:k,void 0,A))):u.push(o(k,x,A))}}else{var N=g[0];u.push(o(N,N.importClause.name,h[0].importClause.namedBindings))}}return u}function a(t){if(0===t.length)return t;var r=function(e){for(var t,r=[],n=[],i=0,a=e;i<a.length;i++){var o=a[i];void 0===o.exportClause?t=t||o:o.isTypeOnly?n.push(o):r.push(o)}return{exportWithoutClause:t,namedExports:r,typeOnlyExports:n}}(t),n=r.exportWithoutClause,i=r.namedExports,a=r.typeOnlyExports,o=[];n&&o.push(n);for(var c=0,u=[i,a];c<u.length;c++){var l=u[c];if(0!==l.length){var p=[];p.push.apply(p,e.flatMap(l,(function(t){return t.exportClause&&e.isNamedExports(t.exportClause)?t.exportClause.elements:e.emptyArray})));var d=s(p),f=l[0];o.push(e.factory.updateExportDeclaration(f,f.decorators,f.modifiers,f.isTypeOnly,f.exportClause&&(e.isNamedExports(f.exportClause)?e.factory.updateNamedExports(f.exportClause,d):e.factory.updateNamespaceExport(f.exportClause,f.exportClause.name)),f.moduleSpecifier,f.assertClause))}}return o}function o(t,r,n){return e.factory.updateImportDeclaration(t,t.decorators,t.modifiers,e.factory.updateImportClause(t.importClause,t.importClause.isTypeOnly,r,n),t.moduleSpecifier,t.assertClause)}function s(t){return e.stableSort(t,c)}function c(t,r){return e.compareBooleans(t.isTypeOnly,r.isTypeOnly)||l(t.propertyName||t.name,r.propertyName||r.name)||l(t.name,r.name)}function u(t,r){var i=void 0===t?void 0:n(t),a=void 0===r?void 0:n(r);return e.compareBooleans(void 0===i,void 0===a)||e.compareBooleans(e.isExternalModuleNameRelative(i),e.isExternalModuleNameRelative(a))||e.compareStringsCaseInsensitive(i,a)}function l(t,r){return e.compareStringsCaseInsensitive(t.text,r.text)}function p(t){var r;switch(t.kind){case 264:return null===(r=e.tryCast(t.moduleReference,e.isExternalModuleReference))||void 0===r?void 0:r.expression;case 265:return t.moduleSpecifier;case 236:return t.declarationList.declarations[0].initializer.arguments[0]}}function d(t,r){return u(p(t),p(r))||function(t,r){return e.compareValues(f(t),f(r))}(t,r)}function f(e){var t;switch(e.kind){case 265:return e.importClause?e.importClause.isTypeOnly?1:267===(null===(t=e.importClause.namedBindings)||void 0===t?void 0:t.kind)?2:e.importClause.name?3:4:0;case 264:return 5;case 236:return 6}}function _(t){return e.flatMap(t,(function(t){return e.map(function(t){var r;return(null===(r=t.importClause)||void 0===r?void 0:r.namedBindings)&&e.isNamedImports(t.importClause.namedBindings)?t.importClause.namedBindings.elements:void 0}(t),(function(t){return t.name&&t.propertyName&&t.name.escapedText===t.propertyName.escapedText?e.factory.updateImportSpecifier(t,t.isTypeOnly,void 0,t.name):t}))}))}t.organizeImports=function(t,s,c,l,p,f){var _=e.textChanges.ChangeTracker.fromContext({host:c,formatContext:s,preferences:p}),m=function(n){return e.stableSort(i(function(t,n,i,a){if(a)return t;for(var s=i.getTypeChecker(),c=s.getJsxNamespace(n),u=s.getJsxFragmentFactory(n),l=!!(2&n.transformFlags),p=[],d=0,f=t;d<f.length;d++){var _=f[d],m=_.importClause,g=_.moduleSpecifier;if(m){var h=m.name,y=m.namedBindings;if(h&&!D(h)&&(h=void 0),y)if(e.isNamespaceImport(y))D(y.name)||(y=void 0);else{var v=y.elements.filter((function(e){return D(e.name)}));v.length<y.elements.length&&(y=v.length?e.factory.updateNamedImports(y,v):void 0)}h||y?p.push(o(_,h,y)):r(n,g)&&(n.isDeclarationFile?p.push(e.factory.createImportDeclaration(_.decorators,_.modifiers,void 0,g,void 0)):p.push(_))}else p.push(_)}return p;function D(t){return l&&(t.text===c||u&&t.text===u)||e.FindAllReferences.Core.isSymbolReferencedInFile(t,s,n)}}(n,t,l,f)),(function(e,t){return d(e,t)}))};v(t.statements.filter(e.isImportDeclaration),m),v(t.statements.filter(e.isExportDeclaration),a);for(var g=0,h=t.statements.filter(e.isAmbientModule);g<h.length;g++){var y=h[g];y.body&&(v(y.body.statements.filter(e.isImportDeclaration),m),v(y.body.statements.filter(e.isExportDeclaration),a))}return _.getChanges();function v(r,i){if(0!==e.length(r)){e.suppressLeadingTrivia(r[0]);var a=e.group(r,(function(e){return n(e.moduleSpecifier)})),o=e.stableSort(a,(function(e,t){return u(e[0].moduleSpecifier,t[0].moduleSpecifier)})),l=e.flatMap(o,(function(e){return n(e[0].moduleSpecifier)?i(e):e}));if(0===l.length)_.deleteNodes(t,r,{trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include},!0);else{var p={leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include,suffix:e.getNewLineOrDefaultFromHost(c,s.options)};_.replaceNodeWithNodes(t,r[0],l,p);var d=_.nodeHasTrailingComment(t,r[0],p);_.deleteNodes(t,r.slice(1),{trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include},d)}}}},t.coalesceImports=i,t.coalesceExports=a,t.compareImportOrExportSpecifiers=c,t.compareModuleSpecifiers=u,t.importsAreSorted=function(t){return e.arrayIsSorted(t,d)},t.importSpecifiersAreSorted=function(t){return e.arrayIsSorted(t,c)},t.getImportDeclarationInsertionIndex=function(t,r){var n=e.binarySearch(t,r,e.identity,d);return n<0?~n:n},t.getImportSpecifierInsertionIndex=function(t,r){var n=e.binarySearch(t,r,e.identity,c);return n<0?~n:n},t.compareImportsOrRequireStatements=d}(e.OrganizeImports||(e.OrganizeImports={}))}(n||(n={})),function(e){!function(t){t.collectElements=function(t,r){var l=[];return function(t,r,n){for(var l=40,p=0,d=a(a([],t.statements,!0),[t.endOfFileToken],!1),f=d.length;p<f;){for(;p<f&&!e.isAnyImportSyntax(d[p]);)g(d[p]),p++;if(p===f)break;for(var _=p;p<f&&e.isAnyImportSyntax(d[p]);)o(d[p],t,r,n),p++;var m=p-1;m!==_&&n.push(s(e.findChildOfKind(d[_],100,t).getStart(t),d[m].getEnd(),"imports"))}function g(a){var p;if(0!==l){r.throwIfCancellationRequested(),(e.isDeclaration(a)||e.isVariableStatement(a)||e.isReturnStatement(a)||e.isCallOrNewExpression(a)||1===a.kind)&&o(a,t,r,n),e.isFunctionLike(a)&&e.isBinaryExpression(a.parent)&&e.isPropertyAccessExpression(a.parent.left)&&o(a.parent.left,t,r,n),(e.isBlock(a)||e.isModuleBlock(a))&&i(a.statements.end,t,r,n),(e.isClassLike(a)||e.isInterfaceDeclaration(a))&&i(a.members.end,t,r,n);var d=function(t,r){switch(t.kind){case 234:if(e.isFunctionLike(t.parent))return function(t,r,n){var i=function(t,r,n){if(e.isNodeArrayMultiLine(t.parameters,n)){var i=e.findChildOfKind(t,20,n);if(i)return i}return e.findChildOfKind(r,18,n)}(t,r,n),a=e.findChildOfKind(r,19,n);return i&&a&&c(i,a,t,n,213!==t.kind)}(t.parent,t,r);switch(t.parent.kind){case 239:case 242:case 243:case 241:case 238:case 240:case 247:case 291:return m(t.parent);case 251:var n=t.parent;if(n.tryBlock===t)return m(t.parent);if(n.finallyBlock===t){var i=e.findChildOfKind(n,96,r);if(i)return m(i)}default:return u(e.createTextSpanFromNode(t,r),"code")}case 261:return m(t.parent);case 256:case 225:case 257:case 259:case 262:case 181:case 200:return m(t);case 183:return m(t,!1,!e.isTupleTypeNode(t.parent),22);case 288:case 289:return g(t.statements);case 204:return _(t);case 203:return _(t,22);case 277:return l(t);case 281:return p(t);case 278:case 279:return d(t.attributes);case 222:case 14:return f(t);case 201:return m(t,!1,!e.isBindingElement(t.parent),22);case 213:return o(t);case 207:return a(t)}function a(t){if(t.arguments.length){var n=e.findChildOfKind(t,20,r),i=e.findChildOfKind(t,21,r);if(n&&i&&!e.positionsAreOnSameLine(n.pos,i.pos,r))return c(n,i,t,r,!1,!0)}}function o(t){if(!e.isBlock(t.body)&&!e.positionsAreOnSameLine(t.body.getFullStart(),t.body.getEnd(),r))return u(e.createTextSpanFromBounds(t.body.getFullStart(),t.body.getEnd()),"code",e.createTextSpanFromNode(t))}function l(t){var n=e.createTextSpanFromBounds(t.openingElement.getStart(r),t.closingElement.getEnd()),i=t.openingElement.tagName.getText(r);return u(n,"code",n,!1,"<"+i+">...</"+i+">")}function p(t){var n=e.createTextSpanFromBounds(t.openingFragment.getStart(r),t.closingFragment.getEnd());return u(n,"code",n,!1,"<>...</>")}function d(e){if(0!==e.properties.length)return s(e.getStart(r),e.getEnd(),"code")}function f(e){if(14!==e.kind||0!==e.text.length)return s(e.getStart(r),e.getEnd(),"code")}function _(t,r){return void 0===r&&(r=18),m(t,!1,!e.isArrayLiteralExpression(t.parent)&&!e.isCallExpression(t.parent),r)}function m(n,i,a,o,s){void 0===i&&(i=!1),void 0===a&&(a=!0),void 0===o&&(o=18),void 0===s&&(s=18===o?19:23);var u=e.findChildOfKind(t,o,r),l=e.findChildOfKind(t,s,r);return u&&l&&c(u,l,n,r,i,a)}function g(t){return t.length?u(e.createTextSpanFromRange(t),"code"):void 0}}(a,t);d&&n.push(d),l--,e.isCallExpression(a)?(l++,g(a.expression),l--,a.arguments.forEach(g),null===(p=a.typeArguments)||void 0===p||p.forEach(g)):e.isIfStatement(a)&&a.elseStatement&&e.isIfStatement(a.elseStatement)?(g(a.expression),g(a.thenStatement),l++,g(a.elseStatement),l--):a.forEachChild(g),l++}}}(t,r,l),function(t,r){for(var i=[],a=0,o=t.getLineStarts();a<o.length;a++){var s=o[a],c=t.getLineEndOfPosition(s),l=n(t.text.substring(s,c));if(l&&!e.isInComment(t,s))if(l[1]){var p=i.pop();p&&(p.textSpan.length=c-p.textSpan.start,p.hintSpan.length=c-p.textSpan.start,r.push(p))}else{var d=e.createTextSpanFromBounds(t.text.indexOf("//",s),c);i.push(u(d,"region",d,!1,l[2]||"#region"))}}}(t,l),l.sort((function(e,t){return e.textSpan.start-t.textSpan.start}))};var r=/^#(end)?region(?:\s+(.*))?(?:\r)?$/;function n(t){return t=e.trimStringStart(t),e.startsWith(t,"//")?(t=e.trimString(t.slice(2)),r.exec(t)):null}function i(t,r,i,a){var o=e.getLeadingCommentRanges(r.text,t);if(o){for(var c=-1,u=-1,l=0,p=r.getFullText(),d=0,f=o;d<f.length;d++){var _=f[d],m=_.kind,g=_.pos,h=_.end;switch(i.throwIfCancellationRequested(),m){case 2:if(n(p.slice(g,h))){y(),l=0;break}0===l&&(c=g),u=h,l++;break;case 3:y(),a.push(s(g,h,"comment")),l=0;break;default:e.Debug.assertNever(m)}}y()}function y(){l>1&&a.push(s(c,u,"comment"))}}function o(t,r,n,a){e.isJsxText(t)||i(t.pos,r,n,a)}function s(t,r,n){return u(e.createTextSpanFromBounds(t,r),n)}function c(t,r,n,i,a,o){return void 0===a&&(a=!1),void 0===o&&(o=!0),u(e.createTextSpanFromBounds(o?t.getFullStart():t.getStart(i),r.getEnd()),"code",e.createTextSpanFromNode(n,i),a)}function u(e,t,r,n,i){return void 0===r&&(r=e),void 0===n&&(n=!1),void 0===i&&(i="..."),{textSpan:e,kind:t,hintSpan:r,bannerText:i,autoCollapse:n}}}(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))}(n||(n={})),function(e){var t,r;function n(e,t){return{kind:e,isCaseSensitive:t}}function i(e,t){var r=t.get(e);return r||t.set(e,r=v(e)),r}function a(r,a,o){var s=function(e,t){for(var r=e.length-t.length,n=function(r){if(T(t,(function(t,n){return f(e.charCodeAt(n+r))===t})))return{value:r}},i=0;i<=r;i++){var a=n(i);if("object"==typeof a)return a.value}return-1}(r,a.textLowerCase);if(0===s)return n(a.text.length===r.length?t.exact:t.prefix,e.startsWith(r,a.text));if(a.isLowerCase){if(-1===s)return;for(var c=0,d=i(r,o);c<d.length;c++){var _=d[c];if(u(r,_,a.text,!0))return n(t.substring,u(r,_,a.text,!1))}if(a.text.length<r.length&&p(r.charCodeAt(s)))return n(t.substring,!1)}else{if(r.indexOf(a.text)>0)return n(t.substring,!0);if(a.characterSpans.length>0){var m=i(r,o),g=!!l(r,m,a,!1)||!l(r,m,a,!0)&&void 0;if(void 0!==g)return n(t.camelCase,g)}}}function o(e,t,r){if(T(t.totalTextChunk.text,(function(e){return 32!==e&&42!==e}))){var n=a(e,t.totalTextChunk,r);if(n)return n}for(var i,o=0,c=t.subWordTextChunks;o<c.length;o++)i=s(i,a(e,c[o],r));return i}function s(t,r){return e.min(t,r,c)}function c(t,r){return void 0===t?1:void 0===r?-1:e.compareValues(t.kind,r.kind)||e.compareBooleans(!t.isCaseSensitive,!r.isCaseSensitive)}function u(e,t,r,n,i){return void 0===i&&(i={start:0,length:r.length}),i.length<=t.length&&C(0,i.length,(function(a){return function(e,t,r){return r?f(e)===f(t):e===t}(r.charCodeAt(i.start+a),e.charCodeAt(t.start+a),n)}))}function l(t,r,n,i){for(var a,o,s=n.characterSpans,c=0,l=0;;){if(l===s.length)return!0;if(c===r.length)return!1;for(var d=r[c],f=!1;l<s.length;l++){var _=s[l];if(f&&(!p(n.text.charCodeAt(s[l-1].start))||!p(n.text.charCodeAt(s[l].start)))||!u(t,d,n.text,i,_))break;f=!0,a=void 0===a?c:a,o=void 0===o||o,d=e.createTextSpan(d.start+_.length,d.length-_.length)}!f&&void 0!==o&&(o=!1),c++}}function p(t){if(t>=65&&t<=90)return!0;if(t<127||!e.isUnicodeIdentifierStart(t,99))return!1;var r=String.fromCharCode(t);return r===r.toUpperCase()}function d(t){if(t>=97&&t<=122)return!0;if(t<127||!e.isUnicodeIdentifierStart(t,99))return!1;var r=String.fromCharCode(t);return r===r.toLowerCase()}function f(e){return e>=65&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function _(e){return e>=48&&e<=57}function m(e){return p(e)||d(e)||_(e)||95===e||36===e}function g(e){for(var t=[],r=0,n=0,i=0;i<e.length;i++)m(e.charCodeAt(i))?(0===n&&(r=i),n++):n>0&&(t.push(h(e.substr(r,n))),n=0);return n>0&&t.push(h(e.substr(r,n))),t}function h(e){var t=e.toLowerCase();return{text:e,textLowerCase:t,isLowerCase:e===t,characterSpans:y(e)}}function y(e){return D(e,!1)}function v(e){return D(e,!0)}function D(t,r){for(var n=[],i=0,a=1;a<t.length;a++){var o=_(t.charCodeAt(a-1)),s=_(t.charCodeAt(a)),c=S(t,r,a),u=r&&E(t,a,i);(b(t.charCodeAt(a-1))||b(t.charCodeAt(a))||o!==s||c||u)&&(x(t,i,a)||n.push(e.createTextSpan(i,a-i)),i=a)}return x(t,i,t.length)||n.push(e.createTextSpan(i,t.length-i)),n}function b(e){switch(e){case 33:case 34:case 35:case 37:case 38:case 39:case 40:case 41:case 42:case 44:case 45:case 46:case 47:case 58:case 59:case 63:case 64:case 91:case 92:case 93:case 95:case 123:case 125:return!0}return!1}function x(e,t,r){return T(e,(function(e){return b(e)&&95!==e}),t,r)}function E(e,t,r){return t!==r&&t+1<e.length&&p(e.charCodeAt(t))&&d(e.charCodeAt(t+1))&&T(e,p,r,t)}function S(e,t,r){var n=p(e.charCodeAt(r-1));return p(e.charCodeAt(r))&&(!t||!n)}function C(e,t,r){for(var n=e;n<t;n++)if(!r(n))return!1;return!0}function T(e,t,r,n){return void 0===r&&(r=0),void 0===n&&(n=e.length),C(r,n,(function(r){return t(e.charCodeAt(r),r)}))}(r=t=e.PatternMatchKind||(e.PatternMatchKind={}))[r.exact=0]="exact",r[r.prefix=1]="prefix",r[r.substring=2]="substring",r[r.camelCase=3]="camelCase",e.createPatternMatcher=function(t){var r=new e.Map,n=t.trim().split(".").map((function(e){return function(e){return{totalTextChunk:h(e),subWordTextChunks:g(e)}}(e.trim())}));if(!n.some((function(e){return!e.subWordTextChunks.length})))return{getFullMatch:function(t,i){return function(t,r,n,i){if(o(r,e.last(n),i)&&!(n.length-1>t.length)){for(var a,c=n.length-2,u=t.length-1;c>=0;c-=1,u-=1)a=s(a,o(t[u],n[c],i));return a}}(t,i,n,r)},getMatchForLastSegmentOfPattern:function(t){return o(t,e.last(n),r)},patternContainsDots:n.length>1}},e.breakIntoCharacterSpans=y,e.breakIntoWordSpans=v}(n||(n={})),function(e){e.preProcessFile=function(t,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var i,a,o,s={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},c=[],u=0,l=!1;function p(){return a=o,18===(o=e.scanner.scan())?u++:19===o&&u--,o}function d(){var t=e.scanner.getTokenValue(),r=e.scanner.getTokenPos();return{fileName:t,pos:r,end:r+t.length}}function f(){c.push(d()),_()}function _(){0===u&&(l=!0)}function m(){var t=e.scanner.getToken();return 135===t&&(141===(t=p())&&10===(t=p())&&(i||(i=[]),i.push({ref:d(),depth:u})),!0)}function g(){if(24===a)return!1;var t=e.scanner.getToken();if(100===t){if(20===(t=p())){if(10===(t=p())||14===t)return f(),!0}else{if(10===t)return f(),!0;if(151===t&&e.scanner.lookAhead((function(){var t=e.scanner.scan();return 155!==t&&(41===t||18===t||79===t||e.isKeyword(t))}))&&(t=p()),79===t||e.isKeyword(t))if(155===(t=p())){if(10===(t=p()))return f(),!0}else if(63===t){if(y(!0))return!0}else{if(27!==t)return!0;t=p()}if(18===t){for(t=p();19!==t&&1!==t;)t=p();19===t&&155===(t=p())&&10===(t=p())&&f()}else 41===t&&127===(t=p())&&(79===(t=p())||e.isKeyword(t))&&155===(t=p())&&10===(t=p())&&f()}return!0}return!1}function h(){var t=e.scanner.getToken();if(93===t){if(_(),151===(t=p())&&e.scanner.lookAhead((function(){var t=e.scanner.scan();return 41===t||18===t}))&&(t=p()),18===t){for(t=p();19!==t&&1!==t;)t=p();19===t&&155===(t=p())&&10===(t=p())&&f()}else if(41===t)155===(t=p())&&10===(t=p())&&f();else if(100===t&&(151===(t=p())&&e.scanner.lookAhead((function(){var t=e.scanner.scan();return 79===t||e.isKeyword(t)}))&&(t=p()),(79===t||e.isKeyword(t))&&63===(t=p())&&y(!0)))return!0;return!0}return!1}function y(t,r){void 0===r&&(r=!1);var n=t?p():e.scanner.getToken();return 145===n&&(20===(n=p())&&(10===(n=p())||r&&14===n)&&f(),!0)}function v(){var t=e.scanner.getToken();if(79===t&&"define"===e.scanner.getTokenValue()){if(20!==(t=p()))return!0;if(10===(t=p())||14===t){if(27!==(t=p()))return!0;t=p()}if(22!==t)return!0;for(t=p();23!==t&&1!==t;)(10===t||14===t)&&f(),t=p();return!0}return!1}if(r&&function(){for(e.scanner.setText(t),p();1!==e.scanner.getToken();)m()||g()||h()||n&&(y(!1,!0)||v())||p();e.scanner.setText(void 0)}(),e.processCommentPragmas(s,t),e.processPragmasIntoFields(s,e.noop),l){if(i)for(var D=0,b=i;D<b.length;D++){var x=b[D];c.push(x.ref)}return{referencedFiles:s.referencedFiles,typeReferenceDirectives:s.typeReferenceDirectives,libReferenceDirectives:s.libReferenceDirectives,importedFiles:c,isLibFile:!!s.hasNoDefaultLib,ambientExternalModules:void 0}}var E=void 0;if(i)for(var S=0,C=i;S<C.length;S++)0===(x=C[S]).depth?(E||(E=[]),E.push(x.ref.fileName)):c.push(x.ref);return{referencedFiles:s.referencedFiles,typeReferenceDirectives:s.typeReferenceDirectives,libReferenceDirectives:s.libReferenceDirectives,importedFiles:c,isLibFile:!!s.hasNoDefaultLib,ambientExternalModules:E}}}(n||(n={})),function(e){!function(t){function r(e,t,r,n,a,o){return{canRename:!0,fileToRename:void 0,kind:r,displayName:e,fullDisplayName:t,kindModifiers:n,triggerSpan:i(a,o)}}function n(t){return{canRename:!1,localizedErrorMessage:e.getLocaleSpecificMessage(t)}}function i(t,r){var n=t.getStart(r),i=t.getWidth(r);return e.isStringLiteralLike(t)&&(n+=1,i-=2),e.createTextSpan(n,i)}function a(t){switch(t.kind){case 79:case 80:case 10:case 14:case 108:return!0;case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(t);default:return!1}}t.getRenameInfo=function(t,i,o,s){var c=e.getAdjustedRenameLocation(e.getTouchingPropertyName(i,o));if(a(c)){var u=function(t,i,a,o,s){var c=i.getSymbolAtLocation(t);if(c){var u=c.declarations;if(u&&0!==u.length){if(u.some((function(t){return function(t,r){var n=r.getSourceFile();return t.isSourceFileDefaultLibrary(n)&&e.fileExtensionIs(n.fileName,".d.ts")}(o,t)})))return n(e.Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(!(e.isIdentifier(t)&&88===t.originalKeywordKind&&c.parent&&1536&c.parent.flags)){if(e.isStringLiteralLike(t)&&e.tryGetImportFromModuleSpecifier(t))return s&&s.allowRenameOfImportPath?function(t,r,i){if(!e.isExternalModuleNameRelative(t.text))return n(e.Diagnostics.You_cannot_rename_a_module_via_a_global_import);var a=i.declarations&&e.find(i.declarations,e.isSourceFile);if(a){var o=e.endsWith(t.text,"/index")||e.endsWith(t.text,"/index.js")?void 0:e.tryRemoveSuffix(e.removeFileExtension(a.fileName),"/index"),s=void 0===o?a.fileName:o,c=void 0===o?"module":"directory",u=t.text.lastIndexOf("/")+1;return{canRename:!0,fileToRename:s,kind:c,displayName:s,fullDisplayName:s,kindModifiers:"",triggerSpan:e.createTextSpan(t.getStart(r)+1+u,t.text.length-u)}}}(t,a,c):void 0;var l=e.SymbolDisplay.getSymbolKind(i,c,t),p=e.isImportOrExportSpecifierName(t)||e.isStringOrNumericLiteralLike(t)&&161===t.parent.kind?e.stripQuotes(e.getTextOfIdentifierOrLiteral(t)):void 0;return r(p||i.symbolToString(c),p||i.getFullyQualifiedName(c),l,e.SymbolDisplay.getSymbolModifiers(i,c),t,a)}}}else if(e.isStringLiteralLike(t)){var d=e.getContextualTypeFromParentOrAncestorTypeNode(t,i);if(d&&(128&d.flags||1048576&d.flags&&e.every(d.types,(function(e){return!!(128&e.flags)}))))return r(t.text,t.text,"string","",t,a)}else if(e.isLabelName(t)){var f=e.getTextOfNode(t);return r(f,f,"label","",t,a)}}(c,t.getTypeChecker(),i,t,s);if(u)return u}return n(e.Diagnostics.You_cannot_rename_this_element)},t.nodeIsEligibleForRename=a}(e.Rename||(e.Rename={}))}(n||(n={})),function(e){!function(t){function r(t,r,n){return e.Debug.assert(n.pos<=r),r<n.end||n.getEnd()===r&&e.getTouchingPropertyName(t,r).pos<n.end}t.getSmartSelectionRange=function(t,n){var a,s={textSpan:e.createTextSpanFromBounds(n.getFullStart(),n.getEnd())},c=n;e:for(;;){var d=i(c);if(!d.length)break;for(var f=0;f<d.length;f++){var _=d[f-1],m=d[f],g=d[f+1];if(e.getTokenPosOfNode(m,n,!0)>t)break e;var h=e.singleOrUndefined(e.getTrailingCommentRanges(n.text,m.end));if(h&&2===h.kind&&x(h.pos,h.end),r(n,t,m)){if(e.isBlock(m)||e.isTemplateSpan(m)||e.isTemplateHead(m)||e.isTemplateTail(m)||_&&e.isTemplateHead(_)||e.isVariableDeclarationList(m)&&e.isVariableStatement(c)||e.isSyntaxList(m)&&e.isVariableDeclarationList(c)||e.isVariableDeclaration(m)&&e.isSyntaxList(c)&&1===d.length||e.isJSDocTypeExpression(m)||e.isJSDocSignature(m)||e.isJSDocTypeLiteral(m)){c=m;break}e.isTemplateSpan(c)&&g&&e.isTemplateMiddleOrTemplateTail(g)&&b(m.getFullStart()-2,g.getStart()+1);var y=e.isSyntaxList(m)&&u(_)&&l(g)&&!e.positionsAreOnSameLine(_.getStart(),g.getStart(),n),v=y?_.getEnd():m.getStart(),D=y?g.getStart():p(n,m);e.hasJSDocNodes(m)&&(null===(a=m.jsDoc)||void 0===a?void 0:a.length)&&b(e.first(m.jsDoc).getStart(),D),b(v,D),(e.isStringLiteral(m)||e.isTemplateLiteral(m))&&b(v+1,D-1),c=m;break}if(f===d.length-1)break e}}return s;function b(r,n){if(r!==n){var i=e.createTextSpanFromBounds(r,n);(!s||!e.textSpansEqual(i,s.textSpan)&&e.textSpanIntersectsWithPosition(i,t))&&(s=o({textSpan:i},s&&{parent:s}))}}function x(e,t){b(e,t);for(var r=e;47===n.text.charCodeAt(r);)r++;b(r,t)}};var n=e.or(e.isImportDeclaration,e.isImportEqualsDeclaration);function i(t){if(e.isSourceFile(t))return a(t.getChildAt(0).getChildren(),n);if(e.isMappedTypeNode(t)){var r=t.getChildren(),i=r[0],o=r.slice(1),u=e.Debug.checkDefined(o.pop());e.Debug.assertEqual(i.kind,18),e.Debug.assertEqual(u.kind,19);var l=a(o,(function(e){return e===t.readonlyToken||144===e.kind||e===t.questionToken||57===e.kind}));return[i,c(s(a(l,(function(e){var t=e.kind;return 22===t||162===t||23===t})),(function(e){return 58===e.kind}))),u]}if(e.isPropertySignature(t))return s(o=a(t.getChildren(),(function(r){return r===t.name||e.contains(t.modifiers,r)})),(function(e){return 58===e.kind}));if(e.isParameter(t)){var p=a(t.getChildren(),(function(e){return e===t.dotDotDotToken||e===t.name}));return s(a(p,(function(e){return e===p[0]||e===t.questionToken})),(function(e){return 63===e.kind}))}return e.isBindingElement(t)?s(t.getChildren(),(function(e){return 63===e.kind})):t.getChildren()}function a(e,t){for(var r,n=[],i=0,a=e;i<a.length;i++){var o=a[i];t(o)?(r=r||[]).push(o):(r&&(n.push(c(r)),r=void 0),n.push(o))}return r&&n.push(c(r)),n}function s(t,r,n){if(void 0===n&&(n=!0),t.length<2)return t;var i=e.findIndex(t,r);if(-1===i)return t;var a=t.slice(0,i),o=t[i],s=e.last(t),u=n&&26===s.kind,l=t.slice(i+1,u?t.length-1:void 0),p=e.compact([a.length?c(a):void 0,o,l.length?c(l):void 0]);return u?p.concat(s):p}function c(t){return e.Debug.assertGreaterThanOrEqual(t.length,1),e.setTextRangePosEnd(e.parseNodeFactory.createSyntaxList(t),t[0].pos,e.last(t).end)}function u(e){var t=e&&e.kind;return 18===t||22===t||20===t||279===t}function l(e){var t=e&&e.kind;return 19===t||23===t||21===t||280===t}function p(e,t){switch(t.kind){case 338:case 336:case 345:case 343:case 340:return e.getLineEndOfPosition(t.getStart());default:return t.getEnd()}}}(e.SmartSelectionRange||(e.SmartSelectionRange={}))}(n||(n={})),function(e){!function(t){var r,n,i;function o(t,r,n){for(var i=t.getFullStart(),a=t.parent;a;){var o=e.findPrecedingToken(i,r,a,!0);if(o)return e.rangeContainsRange(n,o);a=a.parent}return e.Debug.fail("Could not find preceding token")}function s(t,r,n){var i=function(t,r){if(29===t.kind||20===t.kind)return{list:g(t.parent,t,r),argumentIndex:0};var n=e.findContainingList(t);return n&&{list:n,argumentIndex:d(n,t)}}(t,n);if(i){var a=i.list,o=i.argumentIndex,s=function(t,r){var n=t.getChildren(),i=e.countWhere(n,(function(e){return 27!==e.kind}));return!r&&n.length>0&&27===e.last(n).kind&&i++,i}(a,e.isInString(n,r,t));return 0!==o&&e.Debug.assertLessThan(o,s),{list:a,argumentIndex:o,argumentCount:s,argumentsSpan:_(a,n)}}}function c(t,r,n){var i=t.parent;if(e.isCallOrNewExpression(i)){var a=i,o=s(t,r,n);if(!o)return;var c=o.list,u=o.argumentIndex,l=o.argumentCount,p=o.argumentsSpan;return{isTypeParameterList:!!i.typeArguments&&i.typeArguments.pos===c.pos,invocation:{kind:0,node:a},argumentsSpan:p,argumentIndex:u,argumentCount:l}}if(e.isNoSubstitutionTemplateLiteral(t)&&e.isTaggedTemplateExpression(i))return e.isInsideTemplateLiteral(t,r,n)?f(i,0,n):void 0;if(e.isTemplateHead(t)&&209===i.parent.kind){var d=i,_=d.parent;return e.Debug.assert(222===d.kind),f(_,u=e.isInsideTemplateLiteral(t,r,n)?0:1,n)}if(e.isTemplateSpan(i)&&e.isTaggedTemplateExpression(i.parent.parent)){var m=i;if(_=i.parent.parent,e.isTemplateTail(t)&&!e.isInsideTemplateLiteral(t,r,n))return;return f(_,u=function(t,r,n,i){return e.Debug.assert(n>=r.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(r)?e.isInsideTemplateLiteral(r,n,i)?0:t+2:t+1}(m.parent.templateSpans.indexOf(m),t,r,n),n)}if(e.isJsxOpeningLikeElement(i)){var g=i.attributes.pos,h=e.skipTrivia(n.text,i.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:i},argumentsSpan:e.createTextSpan(g,h-g),argumentIndex:0,argumentCount:1}}var y=e.getPossibleTypeArgumentsInfo(t,n);if(y){var v=y.called,D=y.nTypeArguments;return{isTypeParameterList:!0,invocation:a={kind:1,called:v},argumentsSpan:p=e.createTextSpanFromBounds(v.getStart(n),t.end),argumentIndex:D,argumentCount:D+1}}}function u(t){return e.isBinaryExpression(t.parent)?u(t.parent):t}function l(t){return e.isBinaryExpression(t.left)?l(t.left)+1:2}function p(t){return"__type"===t.name&&e.firstDefined(t.declarations,(function(t){return e.isFunctionTypeNode(t)?t.parent.symbol:void 0}))||t}function d(e,t){for(var r=0,n=0,i=e.getChildren();n<i.length;n++){var a=i[n];if(a===t)break;27!==a.kind&&r++}return r}function f(t,r,n){var i=e.isNoSubstitutionTemplateLiteral(t.template)?1:t.template.templateSpans.length+1;return 0!==r&&e.Debug.assertLessThan(r,i),{isTypeParameterList:!1,invocation:{kind:0,node:t},argumentsSpan:m(t,n),argumentIndex:r,argumentCount:i}}function _(t,r){var n=t.getFullStart(),i=e.skipTrivia(r.text,t.getEnd(),!1);return e.createTextSpan(n,i-n)}function m(t,r){var n=t.template,i=n.getStart(),a=n.getEnd();return 222===n.kind&&0===e.last(n.templateSpans).literal.getFullWidth()&&(a=e.skipTrivia(r.text,a,!1)),e.createTextSpan(i,a-i)}function g(t,r,n){var i=t.getChildren(n),a=i.indexOf(r);return e.Debug.assert(a>=0&&i.length>a+1),i[a+1]}function h(t){return 0===t.kind?e.getInvokedExpression(t.node):t.called}function y(e){return 0===e.kind?e.node:1===e.kind?e.called:e.node}(n=r||(r={}))[n.Call=0]="Call",n[n.TypeArgs=1]="TypeArgs",n[n.Contextual=2]="Contextual",t.getSignatureHelpItems=function(t,r,n,i,a){var d=t.getTypeChecker(),f=e.findTokenOnLeftOfPosition(r,n);if(f){var _=!!i&&"characterTyped"===i.kind;if(!_||!e.isInString(r,n,f)&&!e.isInComment(r,n)){var m=!!i&&"invoked"===i.kind,g=function(t,r,n,i,a){for(var o=function(t){e.Debug.assert(e.rangeContainsRange(t.parent,t),"Not a subspan",(function(){return"Child: ".concat(e.Debug.formatSyntaxKind(t.kind),", parent: ").concat(e.Debug.formatSyntaxKind(t.parent.kind))}));var a=function(t,r,n,i){return function(t,r,n,i){var a=function(t,r,n,i){if(20===t.kind||27===t.kind){var a=t.parent;switch(a.kind){case 211:case 168:case 212:case 213:var o=s(t,n,r);if(!o)return;var c=o.argumentIndex,p=o.argumentCount,d=o.argumentsSpan,f=e.isMethodDeclaration(a)?i.getContextualTypeForObjectLiteralElement(a):i.getContextualType(a);return f&&{contextualType:f,argumentIndex:c,argumentCount:p,argumentsSpan:d};case 220:var _=u(a),m=i.getContextualType(_),g=20===t.kind?0:l(a)-1,h=l(_);return m&&{contextualType:m,argumentIndex:g,argumentCount:h,argumentsSpan:e.createTextSpanFromNode(a)};default:return}}}(t,n,r,i);if(a){var o=a.contextualType,c=a.argumentIndex,d=a.argumentCount,f=a.argumentsSpan,_=o.getNonNullableType(),m=_.getCallSignatures();if(1===m.length)return{isTypeParameterList:!1,invocation:{kind:2,signature:e.first(m),node:t,symbol:p(_.symbol)},argumentsSpan:f,argumentIndex:c,argumentCount:d}}}(t,r,n,i)||c(t,r,n)}(t,r,n,i);if(a)return{value:a}},d=t;!e.isSourceFile(d)&&(a||!e.isBlock(d));d=d.parent){var f=o(d);if("object"==typeof f)return f.value}}(f,n,r,d,m);if(g){a.throwIfCancellationRequested();var v=function(t,r,n,i,a){var s=t.invocation,c=t.argumentCount;switch(s.kind){case 0:if(a&&!function(t,r,n){if(!e.isCallOrNewExpression(r))return!1;var i=r.getChildren(n);switch(t.kind){case 20:return e.contains(i,t);case 27:var a=e.findContainingList(t);return!!a&&e.contains(i,a);case 29:return o(t,n,r.expression);default:return!1}}(i,s.node,n))return;var u=[],l=r.getResolvedSignatureForSignatureHelp(s.node,u,c);return 0===u.length?void 0:{kind:0,candidates:u,resolvedSignature:l};case 1:var p=s.called;if(a&&!o(i,n,e.isIdentifier(p)?p.parent:p))return;if(0!==(u=e.getPossibleGenericSignatures(p,c,r)).length)return{kind:0,candidates:u,resolvedSignature:e.first(u)};var d=r.getSymbolAtLocation(p);return d&&{kind:1,symbol:d};case 2:return{kind:0,candidates:[s.signature],resolvedSignature:s.signature};default:return e.Debug.assertNever(s)}}(g,d,r,f,_);return a.throwIfCancellationRequested(),v?d.runWithCancellationToken(a,(function(e){return 0===v.kind?D(v.candidates,v.resolvedSignature,g,r,e):function(e,t,r,n){var i=t.argumentCount,a=t.argumentsSpan,o=t.invocation,s=t.argumentIndex,c=n.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);if(c)return{items:[b(e,c,n,y(o),r)],applicableSpan:a,selectedItemIndex:0,argumentIndex:s,argumentCount:i}}(v.symbol,g,r,e)})):e.isSourceFileJS(r)?function(t,r,n){if(2!==t.invocation.kind){var i=h(t.invocation),a=e.isPropertyAccessExpression(i)?i.name.text:void 0,o=r.getTypeChecker();return void 0===a?void 0:e.firstDefined(r.getSourceFiles(),(function(r){return e.firstDefined(r.getNamedDeclarations().get(a),(function(e){var i=e.symbol&&o.getTypeOfSymbolAtLocation(e.symbol,e),a=i&&i.getCallSignatures();if(a&&a.length)return o.runWithCancellationToken(n,(function(e){return D(a,a[0],t,r,e,!0)}))}))}))}}(g,t,a):void 0}}}},function(e){e[e.Candidate=0]="Candidate",e[e.Type=1]="Type"}(i||(i={})),t.getArgumentInfoForCompletions=function(e,t,r){var n=c(e,t,r);return!n||n.isTypeParameterList||0!==n.invocation.kind?void 0:{invocation:n.invocation.node,argumentCount:n.argumentCount,argumentIndex:n.argumentIndex}};var v=70246400;function D(t,r,n,i,o,s){var c,u=n.isTypeParameterList,l=n.argumentCount,p=n.argumentsSpan,d=n.invocation,f=n.argumentIndex,_=y(d),m=2===d.kind?d.symbol:o.getSymbolAtLocation(h(d))||s&&(null===(c=r.declaration)||void 0===c?void 0:c.symbol),g=m?e.symbolToDisplayParts(o,m,s?i:void 0,void 0):e.emptyArray,v=e.map(t,(function(t){return function(t,r,n,i,o,s){var c=(n?E:S)(t,i,o,s);return e.map(c,(function(n){var s=n.isVariadic,c=n.parameters,u=n.prefix,l=n.suffix,p=a(a([],r,!0),u,!0),d=a(a([],l,!0),function(t,r,n){return e.mapToDisplayParts((function(e){e.writePunctuation(":"),e.writeSpace(" ");var i=n.getTypePredicateOfSignature(t);i?n.writeTypePredicate(i,r,void 0,e):n.writeType(n.getReturnTypeOfSignature(t),r,void 0,e)}))}(t,o,i),!0),f=t.getDocumentationComment(i),_=t.getJsDocTags();return{isVariadic:s,prefixDisplayParts:p,suffixDisplayParts:d,separatorDisplayParts:x,parameters:c,documentation:f,tags:_}}))}(t,g,u,o,_,i)}));0!==f&&e.Debug.assertLessThan(f,l);for(var D=0,b=0,C=0;C<v.length;C++){var T=v[C];if(t[C]===r&&(D=b,T.length>1))for(var k=0,A=0,N=T;A<N.length;A++){var P=N[A];if(P.isVariadic||P.parameters.length>=l){D=b+k;break}k++}b+=T.length}e.Debug.assert(-1!==D);var F={items:e.flatMapToMutable(v,e.identity),applicableSpan:p,selectedItemIndex:D,argumentIndex:f,argumentCount:l},w=F.items[D];if(w.isVariadic){var I=e.findIndex(w.parameters,(function(e){return!!e.isRest}));-1<I&&I<w.parameters.length-1?F.argumentIndex=w.parameters.length:F.argumentIndex=Math.min(F.argumentIndex,w.parameters.length-1)}return F}function b(t,r,n,i,o){var s=e.symbolToDisplayParts(n,t),c=e.createPrinter({removeComments:!0}),u=r.map((function(e){return C(e,n,i,o,c)})),l=t.getDocumentationComment(n),p=t.getJsDocTags(n);return{isVariadic:!1,prefixDisplayParts:a(a([],s,!0),[e.punctuationPart(29)],!1),suffixDisplayParts:[e.punctuationPart(31)],separatorDisplayParts:x,parameters:u,documentation:l,tags:p}}var x=[e.punctuationPart(27),e.spacePart()];function E(t,r,n,i){var o=(t.target||t).typeParameters,s=e.createPrinter({removeComments:!0}),c=(o||e.emptyArray).map((function(e){return C(e,r,n,i,s)})),u=t.thisParameter?[r.symbolToParameterDeclaration(t.thisParameter,n,v)]:[];return r.getExpandedParameters(t).map((function(t){var o=e.factory.createNodeArray(a(a([],u,!0),e.map(t,(function(e){return r.symbolToParameterDeclaration(e,n,v)})),!0)),l=e.mapToDisplayParts((function(e){s.writeList(2576,o,i,e)}));return{isVariadic:!1,parameters:c,prefix:[e.punctuationPart(29)],suffix:a([e.punctuationPart(31)],l,!0)}}))}function S(t,r,n,i){var o=e.createPrinter({removeComments:!0}),s=e.mapToDisplayParts((function(a){if(t.typeParameters&&t.typeParameters.length){var s=e.factory.createNodeArray(t.typeParameters.map((function(e){return r.typeParameterToDeclaration(e,n,v)})));o.writeList(53776,s,i,a)}})),c=r.getExpandedParameters(t),u=r.hasEffectiveRestParameter(t)?1===c.length?function(e){return!0}:function(e){return!!(e.length&&32768&e[e.length-1].checkFlags)}:function(e){return!1};return c.map((function(t){return{isVariadic:u(t),parameters:t.map((function(t){return function(t,r,n,i,a){var o=e.mapToDisplayParts((function(e){var o=r.symbolToParameterDeclaration(t,n,v);a.writeNode(4,o,i,e)})),s=r.isOptionalParameter(t.valueDeclaration),c=!!(32768&t.checkFlags);return{name:t.name,documentation:t.getDocumentationComment(r),displayParts:o,isOptional:s,isRest:c}}(t,r,n,i,o)})),prefix:a(a([],s,!0),[e.punctuationPart(20)],!1),suffix:[e.punctuationPart(21)]}}))}function C(t,r,n,i,a){var o=e.mapToDisplayParts((function(e){var o=r.typeParameterToDeclaration(t,n,v);a.writeNode(4,o,i,e)}));return{name:t.symbol.name,documentation:t.symbol.getDocumentationComment(r),displayParts:o,isOptional:!1,isRest:!1}}}(e.SignatureHelp||(e.SignatureHelp={}))}(n||(n={})),function(e){!function(t){function r(e){return"literals"===e.includeInlayParameterNameHints}t.provideInlayHints=function(t){var n=t.file,i=t.program,a=t.span,o=t.cancellationToken,s=t.preferences,c=n.text,u=i.getCompilerOptions(),l=i.getTypeChecker(),p=[];return function t(i){if(i&&0!==i.getFullWidth()){switch(i.kind){case 260:case 256:case 257:case 255:case 225:case 212:case 168:case 213:o.throwIfCancellationRequested()}if(e.textSpanIntersectsWith(a,i.pos,i.getFullWidth())&&!e.isTypeNode(i))return s.includeInlayVariableTypeHints&&e.isVariableDeclaration(i)||s.includeInlayPropertyDeclarationTypeHints&&e.isPropertyDeclaration(i)?function(t){if(t.initializer&&!e.isBindingPattern(t.name)&&!e.getEffectiveTypeAnnotationNode(t)){var r=l.getTypeAtLocation(t);if(!_(r)){var n=D(r);n&&f(n,t.name.end)}}}(i):s.includeInlayEnumMemberValueHints&&e.isEnumMember(i)?function(e){if(!e.initializer){var t=l.getConstantValue(e);void 0!==t&&function(e,t){p.push({text:"= ".concat(v(e,30)),position:t,kind:"Enum",whitespaceBefore:!0})}(t.toString(),e.end)}}(i):function(e){return"literals"===e.includeInlayParameterNameHints||"all"===e.includeInlayParameterNameHints}(s)&&(e.isCallExpression(i)||e.isNewExpression(i))?function(t){var n=t.arguments;if(n&&n.length){var i=[],a=l.getResolvedSignatureForSignatureHelp(t,i);if(a&&i.length)for(var o=0;o<n.length;++o){var c=n[o],u=e.skipParentheses(c);if(!r(s)||h(u)){var p=l.getParameterIdentifierNameAtPosition(a,o);if(p){var f=p[0],_=p[1];if(!s.includeInlayParameterNameHintsWhenArgumentMatchesName&&m(u,f)&&!_)continue;var y=e.unescapeLeadingUnderscores(f);if(g(u,y))continue;d(y,c.getStart(),_)}}}}}(i):(s.includeInlayFunctionParameterTypeHints&&e.isFunctionLikeDeclaration(i)&&e.hasContextSensitiveParameters(i)&&function(t){var r=l.getSignatureFromDeclaration(t);if(r)for(var n=0;n<t.parameters.length&&n<r.parameters.length;++n){var i=t.parameters[n];if(!e.getEffectiveTypeAnnotationNode(i)){var a=y(r.parameters[n]);!a||f(a,i.name.end)}}}(i),s.includeInlayFunctionLikeReturnTypeHints&&function(t){return e.isArrowFunction(t)||e.isFunctionExpression(t)||e.isFunctionDeclaration(t)||e.isMethodDeclaration(t)||e.isGetAccessorDeclaration(t)}(i)&&function(t){if((!e.isArrowFunction(t)||e.findChildOfKind(t,20,n))&&!e.getEffectiveReturnTypeNode(t)&&t.body){var r=l.getSignatureFromDeclaration(t);if(r){var i=l.getReturnTypeOfSignature(r);if(!_(i)){var a=D(i);!a||f(a,function(t){var r=e.findChildOfKind(t,21,n);return r?r.end:t.parameters.end}(t))}}}}(i)),e.forEachChild(i,t)}}(n),p;function d(e,t,r){p.push({text:"".concat(r?"...":"").concat(v(e,30),":"),position:t,kind:"Parameter",whitespaceAfter:!0})}function f(e,t){p.push({text:": ".concat(v(e,30)),position:t,kind:"Type",whitespaceBefore:!0})}function _(e){return e.symbol&&1536&e.symbol.flags}function m(t,r){return e.isIdentifier(t)?t.text===r:!!e.isPropertyAccessExpression(t)&&t.name.text===r}function g(t,r){if(!e.isIdentifierText(r,u.target,e.getLanguageVariant(n.scriptKind)))return!1;var i=e.getLeadingCommentRanges(c,t.pos);if(null==i||!i.length)return!1;var a=function(e){return new RegExp("^\\s?/\\*\\*?\\s?".concat(e,"\\s?\\*\\/\\s?$"))}(r);return e.some(i,(function(e){return a.test(c.substring(e.pos,e.end))}))}function h(t){switch(t.kind){case 218:var r=t.operand;return e.isLiteralExpression(r)||e.isIdentifier(r)&&e.isInfinityOrNaNString(r.escapedText);case 110:case 95:case 104:case 14:case 222:return!0;case 79:var n=t.escapedText;return function(e){return"undefined"===e}(n)||e.isInfinityOrNaNString(n)}return e.isLiteralExpression(t)}function y(t){var r=t.valueDeclaration;if(r&&e.isParameter(r)){var n=l.getTypeOfSymbolAtLocation(t,r);if(!_(n))return D(n)}}function v(e,t){return e.length>t?e.substr(0,t-3)+"...":e}function D(t){var r=e.createPrinter({removeComments:!0});return e.usingSingleLineStringWriter((function(i){var a=l.typeToTypeNode(t,void 0,71286784,i);e.Debug.assertIsDefined(a,"should always get typenode"),r.writeNode(4,a,n,i)}))}}}(e.InlayHints||(e.InlayHints={}))}(n||(n={})),function(e){var t=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function r(t,r,n){var i=e.tryParseRawSourceMap(r);if(i&&i.sources&&i.file&&i.mappings&&(!i.sourcesContent||!i.sourcesContent.some(e.isString)))return e.createDocumentPositionMapper(t,i,n)}e.getSourceMapper=function(t){var r=e.createGetCanonicalFileName(t.useCaseSensitiveFileNames()),n=t.getCurrentDirectory(),i=new e.Map,a=new e.Map;return{tryGetSourcePosition:function t(r){if(e.isDeclarationFileName(r.fileName)&&c(r.fileName)){var n=s(r.fileName).getSourcePosition(r);return n&&n!==r?t(n)||n:void 0}},tryGetGeneratedPosition:function(i){if(!e.isDeclarationFileName(i.fileName)){var a=c(i.fileName);if(a){var o=t.getProgram();if(!o.isSourceOfProjectReferenceRedirect(a.fileName)){var u=o.getCompilerOptions(),l=e.outFile(u),p=l?e.removeFileExtension(l)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(i.fileName,o.getCompilerOptions(),n,o.getCommonSourceDirectory(),r);if(void 0!==p){var d=s(p,i.fileName).getGeneratedPosition(i);return d===i?void 0:d}}}}},toLineColumnOffset:function(e,t){return l(e).getLineAndCharacterOfPosition(t)},clearCache:function(){i.clear(),a.clear()}};function o(t){return e.toPath(t,n,r)}function s(n,i){var s,c=o(n),u=a.get(c);if(u)return u;if(t.getDocumentPositionMapper)s=t.getDocumentPositionMapper(n,i);else if(t.readFile){var p=l(n);s=p&&e.getDocumentPositionMapper({getSourceFileLike:l,getCanonicalFileName:r,log:function(e){return t.log(e)}},n,e.getLineInfo(p.text,e.getLineStarts(p)),(function(e){return!t.fileExists||t.fileExists(e)?t.readFile(e):void 0}))}return a.set(c,s||e.identitySourceMapConsumer),s||e.identitySourceMapConsumer}function c(e){var r=t.getProgram();if(r){var n=o(e),i=r.getSourceFileByPath(n);return i&&i.resolvedPath===n?i:void 0}}function u(r){var n=o(r),a=i.get(n);if(void 0!==a)return a||void 0;if(t.readFile&&(!t.fileExists||t.fileExists(n))){var s=t.readFile(n),c=!!s&&function(t,r){return{text:t,lineMap:r,getLineAndCharacterOfPosition:function(t){return e.computeLineAndCharacterOfPosition(e.getLineStarts(this),t)}}}(s);return i.set(n,c),c||void 0}i.set(n,!1)}function l(e){return t.getSourceFileLike?t.getSourceFileLike(e):c(e)||u(e)}},e.getDocumentPositionMapper=function(n,i,a,o){var s=e.tryGetSourceMappingURL(a);if(s){var c=t.exec(s);if(c){if(c[1]){var u=c[1];return r(n,e.base64decode(e.sys,u),i)}s=void 0}}var l=[];s&&l.push(s),l.push(i+".map");for(var p=s&&e.getNormalizedAbsolutePath(s,e.getDirectoryPath(i)),d=0,f=l;d<f.length;d++){var _=f[d],m=e.getNormalizedAbsolutePath(_,e.getDirectoryPath(i)),g=o(m,p);if(e.isString(g))return r(n,g,m);if(void 0!==g)return g||void 0}}}(n||(n={})),function(e){var t=new e.Map;function r(t){return e.isPropertyAccessExpression(t)?r(t.expression):t}function n(t){switch(t.kind){case 265:var r=t.importClause,n=t.moduleSpecifier;return r&&!r.name&&r.namedBindings&&267===r.namedBindings.kind&&e.isStringLiteral(n)?r.namedBindings.name:void 0;case 264:return t.name;default:return}}function i(e,t){var r=t.getSignatureFromDeclaration(e),n=r?t.getReturnTypeOfSignature(r):void 0;return!!n&&!!t.getPromisedTypeOfPromise(n)}function a(t,r){return e.isReturnStatement(t)&&!!t.expression&&o(t.expression,r)}function o(t,r){if(!s(t)||!c(t)||!t.arguments.every((function(e){return u(e,r)})))return!1;for(var n=t.expression.expression;s(n)||e.isPropertyAccessExpression(n);)if(e.isCallExpression(n)){if(!c(n)||!n.arguments.every((function(e){return u(e,r)})))return!1;n=n.expression.expression}else n=n.expression;return!0}function s(t){return e.isCallExpression(t)&&(e.hasPropertyAccessExpressionWithName(t,"then")||e.hasPropertyAccessExpressionWithName(t,"catch")||e.hasPropertyAccessExpressionWithName(t,"finally"))}function c(t){var r=t.expression.name.text,n="then"===r?2:"catch"===r||"finally"===r?1:0;return!(t.arguments.length>n)&&(t.arguments.length<n||1===n||e.some(t.arguments,(function(t){return 104===t.kind||e.isIdentifier(t)&&"undefined"===t.text})))}function u(r,n){switch(r.kind){case 255:case 212:if(1&e.getFunctionFlags(r))return!1;case 213:t.set(l(r),!0);case 104:return!0;case 79:case 205:var i=n.getSymbolAtLocation(r);return!!i&&(n.isUndefinedSymbol(i)||e.some(e.skipAlias(i,n).declarations,(function(t){return e.isFunctionLike(t)||e.hasInitializer(t)&&!!t.initializer&&e.isFunctionLike(t.initializer)})));default:return!1}}function l(e){return"".concat(e.pos.toString(),":").concat(e.end.toString())}function p(e){switch(e.kind){case 255:case 168:case 212:case 213:return!0;default:return!1}}e.computeSuggestionDiagnostics=function(o,s,c){s.getSemanticDiagnostics(o,c);var u=[],d=s.getTypeChecker();o.impliedNodeFormat!==e.ModuleKind.CommonJS&&!e.fileExtensionIsOneOf(o.fileName,[".cts",".cjs"])&&o.commonJsModuleIndicator&&(e.programContainsEsModules(s)||e.compilerOptionsIndicateEsModules(s.getCompilerOptions()))&&function(t){return t.statements.some((function(t){switch(t.kind){case 236:return t.declarationList.declarations.some((function(t){return!!t.initializer&&e.isRequireCall(r(t.initializer),!0)}));case 237:var n=t.expression;if(!e.isBinaryExpression(n))return e.isRequireCall(n,!0);var i=e.getAssignmentDeclarationKind(n);return 1===i||2===i;default:return!1}}))}(o)&&u.push(e.createDiagnosticForNode(function(t){return e.isBinaryExpression(t)?t.left:t}(o.commonJsModuleIndicator),e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));var f=e.isSourceFileJS(o);if(t.clear(),function r(n){if(f)(function(t,r){var n,i,a,o;if(212===t.kind){if(e.isVariableDeclaration(t.parent)&&(null===(n=t.symbol.members)||void 0===n?void 0:n.size))return!0;var s=r.getSymbolOfExpando(t,!1);return!(!s||!(null===(i=s.exports)||void 0===i?void 0:i.size)&&!(null===(a=s.members)||void 0===a?void 0:a.size))}return 255===t.kind&&!(null===(o=t.symbol.members)||void 0===o||!o.size)})(n,d)&&u.push(e.createDiagnosticForNode(e.isVariableDeclaration(n.parent)?n.parent.name:n,e.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration));else{if(e.isVariableStatement(n)&&n.parent===o&&2&n.declarationList.flags&&1===n.declarationList.declarations.length){var s=n.declarationList.declarations[0].initializer;s&&e.isRequireCall(s,!0)&&u.push(e.createDiagnosticForNode(s,e.Diagnostics.require_call_may_be_converted_to_an_import))}e.codefix.parameterShouldGetTypeFromJSDoc(n)&&u.push(e.createDiagnosticForNode(n.name||n,e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types))}p(n)&&function(r,n,o){(function(t,r){return!e.isAsyncFunction(t)&&t.body&&e.isBlock(t.body)&&function(t,r){return!!e.forEachReturnStatement(t,(function(e){return a(e,r)}))}(t.body,r)&&i(t,r)})(r,n)&&!t.has(l(r))&&o.push(e.createDiagnosticForNode(!r.name&&e.isVariableDeclaration(r.parent)&&e.isIdentifier(r.parent.name)?r.parent.name:r,e.Diagnostics.This_may_be_converted_to_an_async_function))}(n,d,u),n.forEachChild(r)}(o),e.getAllowSyntheticDefaultImports(s.getCompilerOptions()))for(var _=0,m=o.imports;_<m.length;_++){var g=m[_],h=n(e.importFromModuleSpecifier(g));if(h){var y=e.getResolvedModule(o,g.text,e.getModeForUsageLocation(o,g)),v=y&&s.getSourceFile(y.resolvedFileName);v&&v.externalModuleIndicator&&e.isExportAssignment(v.externalModuleIndicator)&&v.externalModuleIndicator.isExportEquals&&u.push(e.createDiagnosticForNode(h,e.Diagnostics.Import_may_be_converted_to_a_default_import))}}return e.addRange(u,o.bindSuggestionDiagnostics),e.addRange(u,s.getSuggestionDiagnostics(o,c)),u.sort((function(e,t){return e.start-t.start}))},e.returnsPromise=i,e.isReturnStatementWithFixablePromiseHandler=a,e.isFixablePromiseHandler=o,e.canBeConvertedToAsync=p}(n||(n={})),function(e){!function(t){var r=70246400;function n(t,r,n){var a=i(t,r,n);if(""!==a)return a;var o=e.getCombinedLocalAndExportSymbolFlags(r);return 32&o?e.getDeclarationOfKind(r,225)?"local class":"class":384&o?"enum":524288&o?"type":64&o?"interface":262144&o?"type parameter":8&o?"enum member":2097152&o?"alias":1536&o?"module":a}function i(t,r,n){var i=t.getRootSymbols(r);if(1===i.length&&8192&e.first(i).flags&&0!==t.getTypeOfSymbolAtLocation(r,n).getNonNullableType().getCallSignatures().length)return"method";if(t.isUndefinedSymbol(r))return"var";if(t.isArgumentsSymbol(r))return"local var";if(108===n.kind&&e.isExpression(n)||e.isThisInTypeQuery(n))return"parameter";var a=e.getCombinedLocalAndExportSymbolFlags(r);return 3&a?e.isFirstDeclarationOfSymbolParameter(r)?"parameter":r.valueDeclaration&&e.isVarConst(r.valueDeclaration)?"const":e.forEach(r.declarations,e.isLet)?"let":o(r)?"local var":"var":16&a?o(r)?"local function":"function":32768&a?"getter":65536&a?"setter":8192&a?"method":16384&a?"constructor":4&a?33554432&a&&6&r.checkFlags?e.forEach(t.getRootSymbols(r),(function(e){if(98311&e.getFlags())return"property"}))||(t.getTypeOfSymbolAtLocation(r,n).getCallSignatures().length?"method":"property"):"property":""}function a(t){if(t.declarations&&t.declarations.length){var r=t.declarations,n=r[0],i=r.slice(1),a=e.length(i)&&e.isDeprecatedDeclaration(n)&&e.some(i,(function(t){return!e.isDeprecatedDeclaration(t)}))?8192:0,o=e.getNodeModifiers(n,a);if(o)return o.split(",")}return[]}function o(t){return!t.parent&&e.forEach(t.declarations,(function(t){if(212===t.kind)return!0;if(253!==t.kind&&255!==t.kind)return!1;for(var r=t.parent;!e.isFunctionBlock(r);r=r.parent)if(303===r.kind||261===r.kind)return!1;return!0}))}t.getSymbolKind=n,t.getSymbolModifiers=function(t,r){if(!r)return"";var n=new e.Set(a(r));if(2097152&r.flags){var i=t.getAliasedSymbol(r);i!==r&&e.forEach(a(i),(function(e){n.add(e)}))}return 16777216&r.flags&&n.add("optional"),n.size>0?e.arrayFrom(n.values()).join(","):""},t.getSymbolDisplayPartsDocumentationAndSymbolKind=function t(a,o,s,c,u,l,p){var d;void 0===l&&(l=e.getMeaningFromLocation(u));var f,_,m,g,h=[],y=[],v=[],D=e.getCombinedLocalAndExportSymbolFlags(o),b=1&l?i(a,o,u):"",x=!1,E=108===u.kind&&e.isInExpressionContext(u)||e.isThisInTypeQuery(u),S=!1;if(108===u.kind&&!E)return{displayParts:[e.keywordPart(108)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==b||32&D||2097152&D){if("getter"===b||"setter"===b)if(z=e.find(o.declarations,(function(e){return e.name===u})))switch(z.kind){case 171:b="getter";break;case 172:b="setter";break;default:e.Debug.assertNever(z)}else b="property";var C=void 0;if(f=E?a.getTypeAtLocation(u):a.getTypeOfSymbolAtLocation(o,u),u.parent&&205===u.parent.kind){var T=u.parent.name;(T===u||T&&0===T.getFullWidth())&&(u=u.parent)}var k=void 0;if(e.isCallOrNewExpression(u)?k=u:(e.isCallExpressionTarget(u)||e.isNewExpressionTarget(u)||u.parent&&(e.isJsxOpeningLikeElement(u.parent)||e.isTaggedTemplateExpression(u.parent))&&e.isFunctionLike(o.valueDeclaration))&&(k=u.parent),k){C=a.getResolvedSignature(k);var A=208===k.kind||e.isCallExpression(k)&&106===k.expression.kind,N=A?f.getConstructSignatures():f.getCallSignatures();if(C&&!e.contains(N,C.target)&&!e.contains(N,C)&&(C=N.length?N[0]:void 0),C){switch(A&&32&D?(b="constructor",ee(f.symbol,b)):2097152&D?(te(b="alias"),h.push(e.spacePart()),A&&(4&C.flags&&(h.push(e.keywordPart(126)),h.push(e.spacePart())),h.push(e.keywordPart(103)),h.push(e.spacePart())),Z(o)):ee(o,b),b){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":h.push(e.punctuationPart(58)),h.push(e.spacePart()),!(16&e.getObjectFlags(f))&&f.symbol&&(e.addRange(h,e.symbolToDisplayParts(a,f.symbol,c,void 0,5)),h.push(e.lineBreakPart())),A&&(4&C.flags&&(h.push(e.keywordPart(126)),h.push(e.spacePart())),h.push(e.keywordPart(103)),h.push(e.spacePart())),re(C,N,262144);break;default:re(C,N)}x=!0,S=N.length>1}}else if(e.isNameOfFunctionDeclaration(u)&&!(98304&D)||134===u.kind&&170===u.parent.kind){var P=u.parent;o.declarations&&e.find(o.declarations,(function(e){return e===(134===u.kind?P.parent:P)}))&&(N=170===P.kind?f.getNonNullableType().getConstructSignatures():f.getNonNullableType().getCallSignatures(),C=a.isImplementationOfOverload(P)?N[0]:a.getSignatureFromDeclaration(P),170===P.kind?(b="constructor",ee(f.symbol,b)):ee(173!==P.kind||2048&f.symbol.flags||4096&f.symbol.flags?o:f.symbol,b),C&&re(C,N),x=!0,S=N.length>1)}}if(32&D&&!x&&!E&&(X(),e.getDeclarationOfKind(o,225)?te("local class"):h.push(e.keywordPart(84)),h.push(e.spacePart()),Z(o),ne(o,s)),64&D&&2&l&&(Y(),h.push(e.keywordPart(118)),h.push(e.spacePart()),Z(o),ne(o,s)),524288&D&&2&l&&(Y(),h.push(e.keywordPart(151)),h.push(e.spacePart()),Z(o),ne(o,s),h.push(e.spacePart()),h.push(e.operatorPart(63)),h.push(e.spacePart()),e.addRange(h,e.typeToDisplayParts(a,e.isConstTypeReference(u.parent)?a.getTypeAtLocation(u.parent):a.getDeclaredTypeOfSymbol(o),c,8388608))),384&D&&(Y(),e.some(o.declarations,(function(t){return e.isEnumDeclaration(t)&&e.isEnumConst(t)}))&&(h.push(e.keywordPart(85)),h.push(e.spacePart())),h.push(e.keywordPart(92)),h.push(e.spacePart()),Z(o)),1536&D&&!E){Y();var F=(z=e.getDeclarationOfKind(o,260))&&z.name&&79===z.name.kind;h.push(e.keywordPart(F?142:141)),h.push(e.spacePart()),Z(o)}if(262144&D&&2&l)if(Y(),h.push(e.punctuationPart(20)),h.push(e.textPart("type parameter")),h.push(e.punctuationPart(21)),h.push(e.spacePart()),Z(o),o.parent)Q(),Z(o.parent,c),ne(o.parent,c);else{var w=e.getDeclarationOfKind(o,162);if(void 0===w)return e.Debug.fail();(z=w.parent)&&(e.isFunctionLikeKind(z.kind)?(Q(),C=a.getSignatureFromDeclaration(z),174===z.kind?(h.push(e.keywordPart(103)),h.push(e.spacePart())):173!==z.kind&&z.name&&Z(z.symbol),e.addRange(h,e.signatureToDisplayParts(a,C,s,32))):258===z.kind&&(Q(),h.push(e.keywordPart(151)),h.push(e.spacePart()),Z(z.symbol),ne(z.symbol,s)))}if(8&D&&(b="enum member",ee(o,"enum member"),297===(null==(z=null===(d=o.declarations)||void 0===d?void 0:d[0])?void 0:z.kind))){var I=a.getConstantValue(z);void 0!==I&&(h.push(e.spacePart()),h.push(e.operatorPart(63)),h.push(e.spacePart()),h.push(e.displayPart(e.getTextOfConstantValue(I),"number"==typeof I?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}if(2097152&o.flags){if(Y(),!x){var O=a.getAliasedSymbol(o);if(O!==o&&O.declarations&&O.declarations.length>0){var L=O.declarations[0],M=e.getNameOfDeclaration(L);if(M){var R=e.isModuleWithStringLiteralName(L)&&e.hasSyntacticModifier(L,2),B="default"!==o.name&&!R,j=t(a,O,e.getSourceFileOfNode(L),L,M,l,B?o:O);h.push.apply(h,j.displayParts),h.push(e.lineBreakPart()),m=j.documentation,g=j.tags}else m=O.getContextualDocumentationComment(L,a),g=O.getJsDocTags(a)}}if(o.declarations)switch(o.declarations[0].kind){case 263:h.push(e.keywordPart(93)),h.push(e.spacePart()),h.push(e.keywordPart(142));break;case 270:h.push(e.keywordPart(93)),h.push(e.spacePart()),h.push(e.keywordPart(o.declarations[0].isExportEquals?63:88));break;case 274:h.push(e.keywordPart(93));break;default:h.push(e.keywordPart(100))}h.push(e.spacePart()),Z(o),e.forEach(o.declarations,(function(t){if(264===t.kind){var r=t;if(e.isExternalModuleImportEqualsDeclaration(r))h.push(e.spacePart()),h.push(e.operatorPart(63)),h.push(e.spacePart()),h.push(e.keywordPart(145)),h.push(e.punctuationPart(20)),h.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(r)),e.SymbolDisplayPartKind.stringLiteral)),h.push(e.punctuationPart(21));else{var n=a.getSymbolAtLocation(r.moduleReference);n&&(h.push(e.spacePart()),h.push(e.operatorPart(63)),h.push(e.spacePart()),Z(n,c))}return!0}}))}if(!x)if(""!==b){if(f)if(E?(Y(),h.push(e.keywordPart(108))):ee(o,b),"property"===b||"getter"===b||"setter"===b||"JSX attribute"===b||3&D||"local var"===b||E){if(h.push(e.punctuationPart(58)),h.push(e.spacePart()),f.symbol&&262144&f.symbol.flags){var K=e.mapToDisplayParts((function(t){var n=a.typeParameterToDeclaration(f,c,r);$().writeNode(4,n,e.getSourceFileOfNode(e.getParseTreeNode(c)),t)}));e.addRange(h,K)}else e.addRange(h,e.typeToDisplayParts(a,f,c));if(o.target&&o.target.tupleLabelDeclaration){var J=o.target.tupleLabelDeclaration;e.Debug.assertNode(J.name,e.isIdentifier),h.push(e.spacePart()),h.push(e.punctuationPart(20)),h.push(e.textPart(e.idText(J.name))),h.push(e.punctuationPart(21))}}else(16&D||8192&D||16384&D||131072&D||98304&D||"method"===b)&&(N=f.getNonNullableType().getCallSignatures()).length&&(re(N[0],N),S=N.length>1)}else b=n(a,o,u);if(0===y.length&&!S&&(y=o.getContextualDocumentationComment(c,a)),0===y.length&&4&D&&o.parent&&o.declarations&&e.forEach(o.parent.declarations,(function(e){return 303===e.kind})))for(var U=0,q=o.declarations;U<q.length;U++)if((z=q[U]).parent&&220===z.parent.kind){var V=a.getSymbolAtLocation(z.parent.right);if(V&&(y=V.getDocumentationComment(a),v=V.getJsDocTags(a),y.length>0))break}if(0===y.length&&e.isIdentifier(u)&&o.valueDeclaration&&e.isBindingElement(o.valueDeclaration)){var z,W=(z=o.valueDeclaration).parent;if(e.isIdentifier(z.name)&&e.isObjectBindingPattern(W)){var H=e.getTextOfIdentifierOrLiteral(z.name),G=a.getTypeAtLocation(W);y=e.firstDefined(G.isUnion()?G.types:[G],(function(e){var t=e.getProperty(H);return t?t.getDocumentationComment(a):void 0}))||e.emptyArray}}return 0===v.length&&!S&&(v=o.getContextualJsDocTags(c,a)),0===y.length&&m&&(y=m),0===v.length&&g&&(v=g),{displayParts:h,documentation:y,symbolKind:b,tags:0===v.length?void 0:v};function $(){return _||(_=e.createPrinter({removeComments:!0})),_}function Y(){h.length&&h.push(e.lineBreakPart()),X()}function X(){p&&(te("alias"),h.push(e.spacePart()))}function Q(){h.push(e.spacePart()),h.push(e.keywordPart(101)),h.push(e.spacePart())}function Z(t,r){p&&t===o&&(t=p);var n=e.symbolToDisplayParts(a,t,r||s,void 0,7);e.addRange(h,n),16777216&o.flags&&h.push(e.punctuationPart(57))}function ee(t,r){Y(),r&&(te(r),t&&!e.some(t.declarations,(function(t){return e.isArrowFunction(t)||(e.isFunctionExpression(t)||e.isClassExpression(t))&&!t.name}))&&(h.push(e.spacePart()),Z(t)))}function te(t){switch(t){case"var":case"function":case"let":case"const":case"constructor":return void h.push(e.textOrKeywordPart(t));default:return h.push(e.punctuationPart(20)),h.push(e.textOrKeywordPart(t)),void h.push(e.punctuationPart(21))}}function re(t,r,n){void 0===n&&(n=0),e.addRange(h,e.signatureToDisplayParts(a,t,c,32|n)),r.length>1&&(h.push(e.spacePart()),h.push(e.punctuationPart(20)),h.push(e.operatorPart(39)),h.push(e.displayPart((r.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),h.push(e.spacePart()),h.push(e.textPart(2===r.length?"overload":"overloads")),h.push(e.punctuationPart(21))),y=t.getDocumentationComment(a),v=t.getJsDocTags(),r.length>1&&0===y.length&&0===v.length&&(y=r[0].getDocumentationComment(a),v=r[0].getJsDocTags())}function ne(t,n){var i=e.mapToDisplayParts((function(i){var o=a.symbolToTypeParameterDeclarations(t,n,r);$().writeList(53776,o,e.getSourceFileOfNode(e.getParseTreeNode(n)),i)}));e.addRange(h,i)}}}(e.SymbolDisplay||(e.SymbolDisplay={}))}(n||(n={})),function(e){function t(t,r){var i=[],a=r.compilerOptions?n(r.compilerOptions,i):{},o=e.getDefaultCompilerOptions();for(var s in o)e.hasProperty(o,s)&&void 0===a[s]&&(a[s]=o[s]);for(var c=0,u=e.transpileOptionValueCompilerOptions;c<u.length;c++){var l=u[c];a[l.name]=l.transpileOptionValue}a.suppressOutputPathCheck=!0,a.allowNonTsExtensions=!0;var p=r.fileName||(r.compilerOptions&&r.compilerOptions.jsx?"module.tsx":"module.ts"),d=e.createSourceFile(p,t,e.getEmitScriptTarget(a));r.moduleName&&(d.moduleName=r.moduleName),r.renamedDependencies&&(d.renamedDependencies=new e.Map(e.getEntries(r.renamedDependencies)));var f,_,m=e.getNewLineCharacter(a),g={getSourceFile:function(t){return t===e.normalizePath(p)?d:void 0},writeFile:function(t,r){e.fileExtensionIs(t,".map")?(e.Debug.assertEqual(_,void 0,"Unexpected multiple source map outputs, file:",t),_=r):(e.Debug.assertEqual(f,void 0,"Unexpected multiple outputs, file:",t),f=r)},getDefaultLibFileName:function(){return"lib.d.ts"},useCaseSensitiveFileNames:function(){return!1},getCanonicalFileName:function(e){return e},getCurrentDirectory:function(){return""},getNewLine:function(){return m},fileExists:function(e){return e===p},readFile:function(){return""},directoryExists:function(){return!0},getDirectories:function(){return[]}},h=e.createProgram([p],a,g);return r.reportDiagnostics&&(e.addRange(i,h.getSyntacticDiagnostics(d)),e.addRange(i,h.getOptionsDiagnostics())),h.emit(void 0,void 0,void 0,void 0,r.transformers),void 0===f?e.Debug.fail("Output generation failed"):{outputText:f,diagnostics:i,sourceMapText:_}}var r;function n(t,n){r=r||e.filter(e.optionDeclarations,(function(t){return"object"==typeof t.type&&!e.forEachEntry(t.type,(function(e){return"number"!=typeof e}))})),t=e.cloneCompilerOptions(t);for(var i=function(r){if(!e.hasProperty(t,r.name))return"continue";var i=t[r.name];e.isString(i)?t[r.name]=e.parseCustomTypeOption(r,i,n):e.forEachEntry(r.type,(function(e){return e===i}))||n.push(e.createCompilerDiagnosticForInvalidCustomType(r))},a=0,o=r;a<o.length;a++)i(o[a]);return t}e.transpileModule=t,e.transpile=function(r,n,i,a,o){var s=t(r,{compilerOptions:n,fileName:i,reportDiagnostics:!!a,moduleName:o});return e.addRange(a,s.diagnostics),s.outputText},e.fixupCompilerOptions=n}(n||(n={})),function(e){!function(t){var r;(r=t.FormattingRequestKind||(t.FormattingRequestKind={}))[r.FormatDocument=0]="FormatDocument",r[r.FormatSelection=1]="FormatSelection",r[r.FormatOnEnter=2]="FormatOnEnter",r[r.FormatOnSemicolon=3]="FormatOnSemicolon",r[r.FormatOnOpeningCurlyBrace=4]="FormatOnOpeningCurlyBrace",r[r.FormatOnClosingCurlyBrace=5]="FormatOnClosingCurlyBrace";var n=function(){function t(e,t,r){this.sourceFile=e,this.formattingRequestKind=t,this.options=r}return t.prototype.updateContext=function(t,r,n,i,a){this.currentTokenSpan=e.Debug.checkDefined(t),this.currentTokenParent=e.Debug.checkDefined(r),this.nextTokenSpan=e.Debug.checkDefined(n),this.nextTokenParent=e.Debug.checkDefined(i),this.contextNode=e.Debug.checkDefined(a),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0},t.prototype.ContextNodeAllOnSameLine=function(){return void 0===this.contextNodeAllOnSameLine&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine},t.prototype.NextNodeAllOnSameLine=function(){return void 0===this.nextNodeAllOnSameLine&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine},t.prototype.TokensAreOnSameLine=function(){if(void 0===this.tokensAreOnSameLine){var e=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,t=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=e===t}return this.tokensAreOnSameLine},t.prototype.ContextNodeBlockIsOnOneLine=function(){return void 0===this.contextNodeBlockIsOnOneLine&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine},t.prototype.NextNodeBlockIsOnOneLine=function(){return void 0===this.nextNodeBlockIsOnOneLine&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine},t.prototype.NodeIsOnOneLine=function(e){return this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line===this.sourceFile.getLineAndCharacterOfPosition(e.getEnd()).line},t.prototype.BlockIsOnOneLine=function(t){var r=e.findChildOfKind(t,18,this.sourceFile),n=e.findChildOfKind(t,19,this.sourceFile);return!(!r||!n)&&this.sourceFile.getLineAndCharacterOfPosition(r.getEnd()).line===this.sourceFile.getLineAndCharacterOfPosition(n.getStart(this.sourceFile)).line},t}();t.FormattingContext=n}(e.formatting||(e.formatting={}))}(n||(n={})),function(e){var t,r,n,i,a;t=e.formatting||(e.formatting={}),i=e.createScanner(99,!1,0),a=e.createScanner(99,!1,1),(n=r||(r={}))[n.Scan=0]="Scan",n[n.RescanGreaterThanToken=1]="RescanGreaterThanToken",n[n.RescanSlashToken=2]="RescanSlashToken",n[n.RescanTemplateToken=3]="RescanTemplateToken",n[n.RescanJsxIdentifier=4]="RescanJsxIdentifier",n[n.RescanJsxText=5]="RescanJsxText",n[n.RescanJsxAttributeValue=6]="RescanJsxAttributeValue",t.getFormattingScanner=function(r,n,o,s,c){var u=1===n?a:i;u.setText(r),u.setTextPos(o);var l,p,d,f,_,m=!0,g=c({advance:function(){_=void 0,u.getStartPos()!==o?m=!!p&&4===e.last(p).kind:u.scan(),l=void 0,p=void 0;for(var t=u.getStartPos();t<s;){var r=u.getToken();if(!e.isTrivia(r))break;u.scan();var n={pos:t,end:u.getStartPos(),kind:r};t=u.getStartPos(),l=e.append(l,n)}d=u.getStartPos()},readTokenInfo:function(r){e.Debug.assert(h());var n=function(e){switch(e.kind){case 33:case 71:case 72:case 49:case 48:return!0}return!1}(r)?1:function(e){return 13===e.kind}(r)?2:function(e){return 16===e.kind||17===e.kind}(r)?3:function(t){if(t.parent)switch(t.parent.kind){case 284:case 279:case 280:case 278:return e.isKeyword(t.kind)||79===t.kind}return!1}(r)?4:function(t){return e.isJsxText(t)}(r)?5:function(t){return t.parent&&e.isJsxAttribute(t.parent)&&t.parent.initializer===t}(r)?6:0;if(_&&n===f)return v(_,r);u.getStartPos()!==d&&(e.Debug.assert(void 0!==_),u.setTextPos(d),u.scan());var i=function(t,r){var n=u.getToken();switch(f=0,r){case 1:if(31===n){f=1;var i=u.reScanGreaterToken();return e.Debug.assert(t.kind===i),i}break;case 2:if(function(e){return 43===e||68===e}(n))return f=2,i=u.reScanSlashToken(),e.Debug.assert(t.kind===i),i;break;case 3:if(19===n)return f=3,u.reScanTemplateToken(!1);break;case 4:return f=4,u.scanJsxIdentifier();case 5:return f=5,u.reScanJsxToken(!1);case 6:return f=6,u.reScanJsxAttributeValue();case 0:break;default:e.Debug.assertNever(r)}return n}(r,n),a=t.createTextRangeWithKind(u.getStartPos(),u.getTextPos(),i);for(p&&(p=void 0);u.getStartPos()<s&&(i=u.scan(),e.isTrivia(i));){var o=t.createTextRangeWithKind(u.getStartPos(),u.getTextPos(),i);if(p||(p=[]),p.push(o),4===i){u.scan();break}}return v(_={leadingTrivia:l,trailingTrivia:p,token:a},r)},readEOFTokenRange:function(){return e.Debug.assert(y()),t.createTextRangeWithKind(u.getStartPos(),u.getTextPos(),1)},isOnToken:h,isOnEOF:y,getCurrentLeadingTrivia:function(){return l},lastTrailingTriviaWasNewLine:function(){return m},skipToEndOf:function(e){u.setTextPos(e.end),d=u.getStartPos(),f=void 0,_=void 0,m=!1,l=void 0,p=void 0},skipToStartOf:function(e){u.setTextPos(e.pos),d=u.getStartPos(),f=void 0,_=void 0,m=!1,l=void 0,p=void 0},getStartPos:function(){var e;return null!==(e=null==_?void 0:_.token.pos)&&void 0!==e?e:u.getTokenPos()}});return _=void 0,u.setText(void 0),g;function h(){var t=_?_.token.kind:u.getToken();return 1!==t&&!e.isTrivia(t)}function y(){return 1===(_?_.token.kind:u.getToken())}function v(t,r){return e.isToken(r)&&t.token.kind!==r.kind&&(t.token.kind=r.kind),t}}}(n||(n={})),function(e){var t,r;(t=e.formatting||(e.formatting={})).anyContext=e.emptyArray,(r=t.RuleAction||(t.RuleAction={}))[r.StopProcessingSpaceActions=1]="StopProcessingSpaceActions",r[r.StopProcessingTokenActions=2]="StopProcessingTokenActions",r[r.InsertSpace=4]="InsertSpace",r[r.InsertNewLine=8]="InsertNewLine",r[r.DeleteSpace=16]="DeleteSpace",r[r.DeleteToken=32]="DeleteToken",r[r.InsertTrailingSemicolon=64]="InsertTrailingSemicolon",r[r.StopAction=3]="StopAction",r[r.ModifySpaceAction=28]="ModifySpaceAction",r[r.ModifyTokenAction=96]="ModifyTokenAction",function(e){e[e.None=0]="None",e[e.CanDeleteNewLines=1]="CanDeleteNewLines"}(t.RuleFlags||(t.RuleFlags={}))}(n||(n={})),function(e){!function(t){function r(e,t,r,n,a,o){return void 0===o&&(o=0),{leftTokenRange:i(t),rightTokenRange:i(r),rule:{debugName:e,context:n,action:a,flags:o}}}function n(e){return{tokens:e,isSpecific:!0}}function i(t){return"number"==typeof t?n([t]):e.isArray(t)?n(t):t}function o(t,r,i){void 0===i&&(i=[]);for(var a=[],o=t;o<=r;o++)e.contains(i,o)||a.push(o);return n(a)}function s(e,t){return function(r){return r.options&&r.options[e]===t}}function c(e){return function(t){return t.options&&t.options.hasOwnProperty(e)&&!!t.options[e]}}function u(e){return function(t){return t.options&&t.options.hasOwnProperty(e)&&!t.options[e]}}function l(e){return function(t){return!t.options||!t.options.hasOwnProperty(e)||!t.options[e]}}function p(e){return function(t){return!t.options||!t.options.hasOwnProperty(e)||!t.options[e]||t.TokensAreOnSameLine()}}function d(e){return function(t){return!t.options||!t.options.hasOwnProperty(e)||!!t.options[e]}}function f(e){return 241===e.contextNode.kind}function _(e){return!f(e)}function m(e){switch(e.contextNode.kind){case 220:return 27!==e.contextNode.operatorToken.kind;case 221:case 188:case 228:case 274:case 269:case 176:case 186:case 187:return!0;case 202:case 258:case 264:case 270:case 253:case 163:case 297:case 166:case 165:return 63===e.currentTokenSpan.kind||63===e.nextTokenSpan.kind;case 242:case 162:return 101===e.currentTokenSpan.kind||101===e.nextTokenSpan.kind||63===e.currentTokenSpan.kind||63===e.nextTokenSpan.kind;case 243:return 159===e.currentTokenSpan.kind||159===e.nextTokenSpan.kind}return!1}function g(e){return!m(e)}function h(e){return!y(e)}function y(t){var r=t.contextNode.kind;return 166===r||165===r||163===r||253===r||e.isFunctionLikeKind(r)}function v(e){return 221===e.contextNode.kind||188===e.contextNode.kind}function D(e){return e.TokensAreOnSameLine()||C(e)}function b(e){return 200===e.contextNode.kind||194===e.contextNode.kind||function(e){return S(e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}(e)}function x(e){return C(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function E(e){return S(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function S(e){return T(e.contextNode)}function C(e){return T(e.nextTokenParent)}function T(e){if(F(e))return!0;switch(e.kind){case 234:case 262:case 204:case 261:return!0}return!1}function k(e){switch(e.contextNode.kind){case 255:case 168:case 167:case 171:case 172:case 173:case 212:case 170:case 213:case 257:return!0}return!1}function A(e){return!k(e)}function N(e){return 255===e.contextNode.kind||212===e.contextNode.kind}function P(e){return F(e.contextNode)}function F(e){switch(e.kind){case 256:case 225:case 257:case 259:case 181:case 260:case 271:case 272:case 265:case 268:return!0}return!1}function w(e){switch(e.currentTokenParent.kind){case 256:case 260:case 259:case 291:case 261:case 248:return!0;case 234:var t=e.currentTokenParent.parent;if(!t||213!==t.kind&&212!==t.kind)return!0}return!1}function I(e){switch(e.contextNode.kind){case 238:case 248:case 241:case 242:case 243:case 240:case 251:case 239:case 247:case 291:return!0;default:return!1}}function O(e){return 204===e.contextNode.kind}function L(e){return function(e){return 207===e.contextNode.kind}(e)||function(e){return 208===e.contextNode.kind}(e)}function M(e){return 27!==e.currentTokenSpan.kind}function R(e){return 23!==e.nextTokenSpan.kind}function B(e){return 21!==e.nextTokenSpan.kind}function j(e){return 213===e.contextNode.kind}function K(e){return 199===e.contextNode.kind}function J(e){return e.TokensAreOnSameLine()&&11!==e.contextNode.kind}function U(e){return 11!==e.contextNode.kind}function q(e){return 277!==e.contextNode.kind&&281!==e.contextNode.kind}function V(e){return 287===e.contextNode.kind||286===e.contextNode.kind}function z(e){return 284===e.nextTokenParent.kind}function W(e){return 284===e.contextNode.kind}function H(e){return 278===e.contextNode.kind}function G(e){return!k(e)&&!C(e)}function $(e){return e.TokensAreOnSameLine()&&!!e.contextNode.decorators&&Y(e.currentTokenParent)&&!Y(e.nextTokenParent)}function Y(t){for(;e.isExpressionNode(t);)t=t.parent;return 164===t.kind}function X(e){return 254===e.currentTokenParent.kind&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function Q(e){return 2!==e.formattingRequestKind}function Z(e){return 260===e.contextNode.kind}function ee(e){return 181===e.contextNode.kind}function te(e){return 174===e.contextNode.kind}function re(e,t){if(29!==e.kind&&31!==e.kind)return!1;switch(t.kind){case 177:case 210:case 258:case 256:case 225:case 257:case 255:case 212:case 213:case 168:case 167:case 173:case 174:case 207:case 208:case 227:return!0;default:return!1}}function ne(e){return re(e.currentTokenSpan,e.currentTokenParent)||re(e.nextTokenSpan,e.nextTokenParent)}function ie(e){return 210===e.contextNode.kind}function ae(e){return 114===e.currentTokenSpan.kind&&216===e.currentTokenParent.kind}function oe(e){return 223===e.contextNode.kind&&void 0!==e.contextNode.expression}function se(e){return 229===e.contextNode.kind}function ce(e){return!function(e){switch(e.contextNode.kind){case 238:case 241:case 242:case 243:case 239:case 240:return!0;default:return!1}}(e)}function ue(t){var r=t.nextTokenSpan.kind,n=t.nextTokenSpan.pos;if(e.isTrivia(r)){var i=t.nextTokenParent===t.currentTokenParent?e.findNextToken(t.currentTokenParent,e.findAncestor(t.currentTokenParent,(function(e){return!e.parent})),t.sourceFile):t.nextTokenParent.getFirstToken(t.sourceFile);if(!i)return!0;r=i.kind,n=i.getStart(t.sourceFile)}return t.sourceFile.getLineAndCharacterOfPosition(t.currentTokenSpan.pos).line===t.sourceFile.getLineAndCharacterOfPosition(n).line?19===r||1===r:233!==r&&26!==r&&(257===t.contextNode.kind||258===t.contextNode.kind?!e.isPropertySignature(t.currentTokenParent)||!!t.currentTokenParent.type||20!==r:e.isPropertyDeclaration(t.currentTokenParent)?!t.currentTokenParent.initializer:241!==t.currentTokenParent.kind&&235!==t.currentTokenParent.kind&&233!==t.currentTokenParent.kind&&22!==r&&20!==r&&39!==r&&40!==r&&43!==r&&13!==r&&27!==r&&222!==r&&15!==r&&14!==r&&24!==r)}function le(t){return e.positionIsASICandidate(t.currentTokenSpan.end,t.currentTokenParent,t.sourceFile)}t.getAllRules=function(){for(var i=[],S=0;S<=159;S++)1!==S&&i.push(S);function T(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return{tokens:i.filter((function(t){return!e.some((function(e){return e===t}))})),isSpecific:!1}}var F={tokens:i,isSpecific:!1},Y=n(a(a([],i,!0),[3],!1)),re=n(a(a([],i,!0),[1],!1)),pe=o(81,159),de=o(29,78),fe=[101,102,159,127,139],_e=a([79],e.typeKeywords,!0),me=Y,ge=n([79,3,84,93,100]),he=n([21,3,90,111,96,91]),ye=[r("IgnoreBeforeComment",F,[2,3],t.anyContext,1),r("IgnoreAfterLineComment",2,F,t.anyContext,1),r("NotSpaceBeforeColon",F,58,[J,g,h],16),r("SpaceAfterColon",58,F,[J,g],4),r("NoSpaceBeforeQuestionMark",F,57,[J,g,h],16),r("SpaceAfterQuestionMarkInConditionalOperator",57,F,[J,v],4),r("NoSpaceAfterQuestionMark",57,F,[J],16),r("NoSpaceBeforeDot",F,[24,28],[J],16),r("NoSpaceAfterDot",[24,28],F,[J],16),r("NoSpaceBetweenImportParenInImportType",100,20,[J,K],16),r("NoSpaceAfterUnaryPrefixOperator",[45,46,54,53],[8,9,79,20,22,18,108,103],[J,g],16),r("NoSpaceAfterUnaryPreincrementOperator",45,[79,20,108,103],[J],16),r("NoSpaceAfterUnaryPredecrementOperator",46,[79,20,108,103],[J],16),r("NoSpaceBeforeUnaryPostincrementOperator",[79,21,23,103],45,[J,ce],16),r("NoSpaceBeforeUnaryPostdecrementOperator",[79,21,23,103],46,[J,ce],16),r("SpaceAfterPostincrementWhenFollowedByAdd",45,39,[J,m],4),r("SpaceAfterAddWhenFollowedByUnaryPlus",39,39,[J,m],4),r("SpaceAfterAddWhenFollowedByPreincrement",39,45,[J,m],4),r("SpaceAfterPostdecrementWhenFollowedBySubtract",46,40,[J,m],4),r("SpaceAfterSubtractWhenFollowedByUnaryMinus",40,40,[J,m],4),r("SpaceAfterSubtractWhenFollowedByPredecrement",40,46,[J,m],4),r("NoSpaceAfterCloseBrace",19,[27,26],[J],16),r("NewLineBeforeCloseBraceInBlockContext",Y,19,[E],8),r("SpaceAfterCloseBrace",19,T(21),[J,w],4),r("SpaceBetweenCloseBraceAndElse",19,91,[J],4),r("SpaceBetweenCloseBraceAndWhile",19,115,[J],4),r("NoSpaceBetweenEmptyBraceBrackets",18,19,[J,O],16),r("SpaceAfterConditionalClosingParen",21,22,[I],4),r("NoSpaceBetweenFunctionKeywordAndStar",98,41,[N],16),r("SpaceAfterStarInGeneratorDeclaration",41,79,[N],4),r("SpaceAfterFunctionInFuncDecl",98,F,[k],4),r("NewLineAfterOpenBraceInBlockContext",18,F,[E],8),r("SpaceAfterGetSetInMember",[136,148],79,[k],4),r("NoSpaceBetweenYieldKeywordAndStar",125,41,[J,oe],16),r("SpaceBetweenYieldOrYieldStarAndOperand",[125,41],F,[J,oe],4),r("NoSpaceBetweenReturnAndSemicolon",105,26,[J],16),r("SpaceAfterCertainKeywords",[113,109,103,89,105,112,132],F,[J],4),r("SpaceAfterLetConstInVariableDeclaration",[119,85],F,[J,X],4),r("NoSpaceBeforeOpenParenInFuncCall",F,20,[J,L,M],16),r("SpaceBeforeBinaryKeywordOperator",F,fe,[J,m],4),r("SpaceAfterBinaryKeywordOperator",fe,F,[J,m],4),r("SpaceAfterVoidOperator",114,F,[J,ae],4),r("SpaceBetweenAsyncAndOpenParen",131,20,[j,J],4),r("SpaceBetweenAsyncAndFunctionKeyword",131,[98,79],[J],4),r("NoSpaceBetweenTagAndTemplateString",[79,21],[14,15],[J],16),r("SpaceBeforeJsxAttribute",F,79,[z,J],4),r("SpaceBeforeSlashInJsxOpeningElement",F,43,[H,J],4),r("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",43,31,[H,J],16),r("NoSpaceBeforeEqualInJsxAttribute",F,63,[W,J],16),r("NoSpaceAfterEqualInJsxAttribute",63,F,[W,J],16),r("NoSpaceAfterModuleImport",[141,145],20,[J],16),r("SpaceAfterCertainTypeScriptKeywords",[126,84,135,88,92,93,94,136,117,100,118,141,142,121,123,122,144,148,124,151,155,140,137],F,[J],4),r("SpaceBeforeCertainTypeScriptKeywords",F,[94,117,155],[J],4),r("SpaceAfterModuleName",10,18,[Z],4),r("SpaceBeforeArrow",F,38,[J],4),r("SpaceAfterArrow",38,F,[J],4),r("NoSpaceAfterEllipsis",25,79,[J],16),r("NoSpaceAfterOptionalParameters",57,[21,27],[J,g],16),r("NoSpaceBetweenEmptyInterfaceBraceBrackets",18,19,[J,ee],16),r("NoSpaceBeforeOpenAngularBracket",_e,29,[J,ne],16),r("NoSpaceBetweenCloseParenAndAngularBracket",21,29,[J,ne],16),r("NoSpaceAfterOpenAngularBracket",29,F,[J,ne],16),r("NoSpaceBeforeCloseAngularBracket",F,31,[J,ne],16),r("NoSpaceAfterCloseAngularBracket",31,[20,22,31,27],[J,ne,A],16),r("SpaceBeforeAt",[21,79],59,[J],4),r("NoSpaceAfterAt",59,F,[J],16),r("SpaceAfterDecorator",F,[126,79,93,88,84,124,123,121,122,136,148,22,41],[$],4),r("NoSpaceBeforeNonNullAssertionOperator",F,53,[J,se],16),r("NoSpaceAfterNewKeywordOnConstructorSignature",103,20,[J,te],16),r("SpaceLessThanAndNonJSXTypeAnnotation",29,29,[J],4)],ve=[r("SpaceAfterConstructor",134,20,[c("insertSpaceAfterConstructor"),J],4),r("NoSpaceAfterConstructor",134,20,[l("insertSpaceAfterConstructor"),J],16),r("SpaceAfterComma",27,F,[c("insertSpaceAfterCommaDelimiter"),J,q,R,B],4),r("NoSpaceAfterComma",27,F,[l("insertSpaceAfterCommaDelimiter"),J,q],16),r("SpaceAfterAnonymousFunctionKeyword",[98,41],20,[c("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),k],4),r("NoSpaceAfterAnonymousFunctionKeyword",[98,41],20,[l("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),k],16),r("SpaceAfterKeywordInControl",pe,20,[c("insertSpaceAfterKeywordsInControlFlowStatements"),I],4),r("NoSpaceAfterKeywordInControl",pe,20,[l("insertSpaceAfterKeywordsInControlFlowStatements"),I],16),r("SpaceAfterOpenParen",20,F,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),J],4),r("SpaceBeforeCloseParen",F,21,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),J],4),r("SpaceBetweenOpenParens",20,20,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),J],4),r("NoSpaceBetweenParens",20,21,[J],16),r("NoSpaceAfterOpenParen",20,F,[l("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),J],16),r("NoSpaceBeforeCloseParen",F,21,[l("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),J],16),r("SpaceAfterOpenBracket",22,F,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),J],4),r("SpaceBeforeCloseBracket",F,23,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),J],4),r("NoSpaceBetweenBrackets",22,23,[J],16),r("NoSpaceAfterOpenBracket",22,F,[l("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),J],16),r("NoSpaceBeforeCloseBracket",F,23,[l("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),J],16),r("SpaceAfterOpenBrace",18,F,[d("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),b],4),r("SpaceBeforeCloseBrace",F,19,[d("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),b],4),r("NoSpaceBetweenEmptyBraceBrackets",18,19,[J,O],16),r("NoSpaceAfterOpenBrace",18,F,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),J],16),r("NoSpaceBeforeCloseBrace",F,19,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),J],16),r("SpaceBetweenEmptyBraceBrackets",18,19,[c("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),r("NoSpaceBetweenEmptyBraceBrackets",18,19,[u("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),J],16),r("SpaceAfterTemplateHeadAndMiddle",[15,16],F,[c("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),U],4,1),r("SpaceBeforeTemplateMiddleAndTail",F,[16,17],[c("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),J],4),r("NoSpaceAfterTemplateHeadAndMiddle",[15,16],F,[l("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),U],16,1),r("NoSpaceBeforeTemplateMiddleAndTail",F,[16,17],[l("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),J],16),r("SpaceAfterOpenBraceInJsxExpression",18,F,[c("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),J,V],4),r("SpaceBeforeCloseBraceInJsxExpression",F,19,[c("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),J,V],4),r("NoSpaceAfterOpenBraceInJsxExpression",18,F,[l("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),J,V],16),r("NoSpaceBeforeCloseBraceInJsxExpression",F,19,[l("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),J,V],16),r("SpaceAfterSemicolonInFor",26,F,[c("insertSpaceAfterSemicolonInForStatements"),J,f],4),r("NoSpaceAfterSemicolonInFor",26,F,[l("insertSpaceAfterSemicolonInForStatements"),J,f],16),r("SpaceBeforeBinaryOperator",F,de,[c("insertSpaceBeforeAndAfterBinaryOperators"),J,m],4),r("SpaceAfterBinaryOperator",de,F,[c("insertSpaceBeforeAndAfterBinaryOperators"),J,m],4),r("NoSpaceBeforeBinaryOperator",F,de,[l("insertSpaceBeforeAndAfterBinaryOperators"),J,m],16),r("NoSpaceAfterBinaryOperator",de,F,[l("insertSpaceBeforeAndAfterBinaryOperators"),J,m],16),r("SpaceBeforeOpenParenInFuncDecl",F,20,[c("insertSpaceBeforeFunctionParenthesis"),J,k],4),r("NoSpaceBeforeOpenParenInFuncDecl",F,20,[l("insertSpaceBeforeFunctionParenthesis"),J,k],16),r("NewLineBeforeOpenBraceInControl",he,18,[c("placeOpenBraceOnNewLineForControlBlocks"),I,x],8,1),r("NewLineBeforeOpenBraceInFunction",me,18,[c("placeOpenBraceOnNewLineForFunctions"),k,x],8,1),r("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",ge,18,[c("placeOpenBraceOnNewLineForFunctions"),P,x],8,1),r("SpaceAfterTypeAssertion",31,F,[c("insertSpaceAfterTypeAssertion"),J,ie],4),r("NoSpaceAfterTypeAssertion",31,F,[l("insertSpaceAfterTypeAssertion"),J,ie],16),r("SpaceBeforeTypeAnnotation",F,[57,58],[c("insertSpaceBeforeTypeAnnotation"),J,y],4),r("NoSpaceBeforeTypeAnnotation",F,[57,58],[l("insertSpaceBeforeTypeAnnotation"),J,y],16),r("NoOptionalSemicolon",26,re,[s("semicolons",e.SemicolonPreference.Remove),ue],32),r("OptionalSemicolon",F,re,[s("semicolons",e.SemicolonPreference.Insert),le],64)],De=[r("NoSpaceBeforeSemicolon",F,26,[J],16),r("SpaceBeforeOpenBraceInControl",he,18,[p("placeOpenBraceOnNewLineForControlBlocks"),I,Q,D],4,1),r("SpaceBeforeOpenBraceInFunction",me,18,[p("placeOpenBraceOnNewLineForFunctions"),k,C,Q,D],4,1),r("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",ge,18,[p("placeOpenBraceOnNewLineForFunctions"),P,Q,D],4,1),r("NoSpaceBeforeComma",F,27,[J],16),r("NoSpaceBeforeOpenBracket",T(131,82),22,[J],16),r("NoSpaceAfterCloseBracket",23,F,[J,G],16),r("SpaceAfterSemicolon",26,F,[J],4),r("SpaceBetweenForAndAwaitKeyword",97,132,[J],4),r("SpaceBetweenStatements",[21,90,91,82],F,[J,q,_],4),r("SpaceAfterTryCatchFinally",[111,83,96],18,[J],4)];return a(a(a([],ye,!0),ve,!0),De,!0)}}(e.formatting||(e.formatting={}))}(n||(n={})),function(e){!function(t){var r;function n(e){var t=0;return 1&e&&(t|=28),2&e&&(t|=96),28&e&&(t|=28),96&e&&(t|=96),t}function i(t){var r=function(e){for(var t=new Array(u*u),r=new Array(t.length),n=0,i=e;n<i.length;n++)for(var o=i[n],s=o.leftTokenRange.isSpecific&&o.rightTokenRange.isSpecific,c=0,p=o.leftTokenRange.tokens;c<p.length;c++)for(var d=p[c],f=0,_=o.rightTokenRange.tokens;f<_.length;f++){var m=a(d,_[f]),g=t[m];void 0===g&&(g=t[m]=[]),l(g,o.rule,s,r,m)}return t}(t);return function(t){var i=r[a(t.currentTokenSpan.kind,t.nextTokenSpan.kind)];if(i){for(var o=[],s=0,c=0,u=i;c<u.length;c++){var l=u[c],p=~n(s);l.action&p&&e.every(l.context,(function(e){return e(t)}))&&(o.push(l),s|=l.action)}if(o.length)return o}}}function a(t,r){return e.Debug.assert(t<=159&&r<=159,"Must compute formatting context from tokens"),t*u+r}t.getFormatContext=function(e,n){return{options:e,getRules:(void 0===r&&(r=i(t.getAllRules())),r),host:n}};var o,s,c=31,u=160;function l(r,n,i,a,s){var u=3&n.action?i?o.StopRulesSpecific:o.StopRulesAny:n.context!==t.anyContext?i?o.ContextRulesSpecific:o.ContextRulesAny:i?o.NoContextRulesSpecific:o.NoContextRulesAny,l=a[s]||0;r.splice(function(e,t){for(var r=0,n=0;n<=t;n+=5)r+=31&e,e>>=5;return r}(l,u),0,n),a[s]=function(t,r){var n=1+(t>>r&c);return e.Debug.assert((n&c)===n,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),t&~(c<<r)|n<<r}(l,u)}(s=o||(o={}))[s.StopRulesSpecific=0]="StopRulesSpecific",s[s.StopRulesAny=5]="StopRulesAny",s[s.ContextRulesSpecific=10]="ContextRulesSpecific",s[s.ContextRulesAny=15]="ContextRulesAny",s[s.NoContextRulesSpecific=20]="NoContextRulesSpecific",s[s.NoContextRulesAny=25]="NoContextRulesAny"}(e.formatting||(e.formatting={}))}(n||(n={})),function(e){!function(t){var r,n,i,a,o,s;function c(t,r,n){var i=e.findPrecedingToken(t,n);return i&&i.kind===r&&t===i.getEnd()?i:void 0}function u(e){for(var t=e;t&&t.parent&&t.parent.end===e.end&&!l(t.parent,t);)t=t.parent;return t}function l(t,r){switch(t.kind){case 256:case 257:return e.rangeContainsRange(t.members,r);case 260:var n=t.body;return!!n&&261===n.kind&&e.rangeContainsRange(n.statements,r);case 303:case 234:case 261:return e.rangeContainsRange(t.statements,r);case 291:return e.rangeContainsRange(t.block.statements,r)}return!1}function p(t,r,n,i){return t?d({pos:e.getLineStartPositionForPosition(t.getStart(r),r),end:t.end},r,n,i):[]}function d(r,n,i,a){var o=function(t,r){return function n(i){var a=e.forEachChild(i,(function(n){return e.startEndContainsRange(n.getStart(r),n.end,t)&&n}));if(a){var o=n(a);if(o)return o}return i}(r)}(r,n);return t.getFormattingScanner(n.text,n.languageVariant,function(t,r,n){var i=t.getStart(n);if(i===r.pos&&t.end===r.end)return i;var a=e.findPrecedingToken(r.pos,n);return!a||a.end>=r.pos?t.pos:a.end}(o,r,n),r.end,(function(s){return f(r,o,t.SmartIndenter.getIndentationForNode(o,r,n,i.options),function(e,r,n){for(var i,a=-1;e;){var o=n.getLineAndCharacterOfPosition(e.getStart(n)).line;if(-1!==a&&o!==a)break;if(t.SmartIndenter.shouldIndentChildNode(r,e,i,n))return r.indentSize;a=o,i=e,e=e.parent}return 0}(o,i.options,n),s,i,a,function(t,r){if(!t.length)return a;var n=t.filter((function(t){return e.rangeOverlapsWithStartEnd(r,t.start,t.start+t.length)})).sort((function(e,t){return e.start-t.start}));if(!n.length)return a;var i=0;return function(t){for(;;){if(i>=n.length)return!1;var r=n[i];if(t.end<=r.start)return!1;if(e.startEndOverlapsWithStartEnd(t.pos,t.end,r.start,r.start+r.length))return!0;i++}};function a(){return!1}}(n.parseDiagnostics,r),n)}))}function f(r,n,i,a,o,s,c,u,l){var p,d,f,m,g=s.options,h=s.getRules,y=s.host,v=new t.FormattingContext(l,c,g),D=-1,b=[];if(o.advance(),o.isOnToken()){var x=l.getLineAndCharacterOfPosition(n.getStart(l)).line,E=x;n.decorators&&(E=l.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(n,l)).line),function n(i,a,s,c,d,f){if(e.rangeOverlapsWithStartEnd(r,i.getStart(l),i.getEnd())){var _=k(i,s,d,f),h=a;for(e.forEachChild(i,(function(e){v(e,-1,i,_,s,c,!1)}),(function(e){b(e,i,s,_)}));o.isOnToken()&&o.getStartPos()<r.end;){var y=o.readTokenInfo(i);if(y.token.end>Math.min(i.end,r.end))break;x(y,i,_,i)}}function v(a,s,c,u,p,d,f,_){var y=a.getStart(l),v=l.getLineAndCharacterOfPosition(y).line,b=v;a.decorators&&(b=l.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(a,l)).line);var E=-1;if(f&&e.rangeContainsRange(r,c)&&-1!==(E=function(r,n,i,a,o){if(e.rangeOverlapsWithStartEnd(a,r,n)||e.rangeContainsStartEnd(a,r,n)){if(-1!==o)return o}else{var s=l.getLineAndCharacterOfPosition(r).line,c=e.getLineStartPositionForPosition(r,l),u=t.SmartIndenter.findFirstNonWhitespaceColumn(c,r,l,g);if(s!==i||r===u){var p=t.SmartIndenter.getBaseIndentation(g);return p>u?p:u}}return-1}(y,a.end,p,r,s))&&(s=E),!e.rangeOverlapsWithStartEnd(r,a.pos,a.end))return a.end<r.pos&&o.skipToEndOf(a),s;if(0===a.getFullWidth())return s;for(;o.isOnToken()&&o.getStartPos()<r.end;){if((S=o.readTokenInfo(i)).token.end>r.end)return s;if(S.token.end>y){S.token.pos>y&&o.skipToStartOf(a);break}x(S,i,u,i)}if(!o.isOnToken()||o.getStartPos()>=r.end)return s;if(e.isToken(a)){var S=o.readTokenInfo(a);if(11!==a.kind)return e.Debug.assert(S.token.end===a.end,"Token end is child end"),x(S,i,u,a),s}var C=164===a.kind?v:d,T=function(e,r,n,i,a,o){var s=t.SmartIndenter.shouldIndentChildNode(g,e)?g.indentSize:0;return o===r?{indentation:r===m?D:a.getIndentation(),delta:Math.min(g.indentSize,a.getDelta(e)+s)}:-1===n?20===e.kind&&r===m?{indentation:D,delta:a.getDelta(e)}:t.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(i,e,r,l)||t.SmartIndenter.childIsUnindentedBranchOfConditionalExpression(i,e,r,l)||t.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(i,e,r,l)?{indentation:a.getIndentation(),delta:s}:{indentation:a.getIndentation()+a.getDelta(e),delta:s}:{indentation:n,delta:s}}(a,v,E,i,u,C);return n(a,h,v,b,T.indentation,T.delta),h=i,_&&203===c.kind&&-1===s&&(s=T.indentation),s}function b(n,a,s,c){e.Debug.assert(e.isNodeArray(n));var u=function(e,t){switch(e.kind){case 170:case 255:case 212:case 168:case 167:case 213:if(e.typeParameters===t)return 29;if(e.parameters===t)return 20;break;case 207:case 208:if(e.typeArguments===t)return 29;if(e.arguments===t)return 20;break;case 177:if(e.typeArguments===t)return 29;break;case 181:return 18}return 0}(a,n),p=c,d=s;if(0!==u)for(;o.isOnToken()&&o.getStartPos()<r.end&&!((y=o.readTokenInfo(a)).token.end>n.pos);)if(y.token.kind===u){d=l.getLineAndCharacterOfPosition(y.token.pos).line,x(y,a,c,a);var f=void 0;if(-1!==D)f=D;else{var _=e.getLineStartPositionForPosition(y.token.pos,l);f=t.SmartIndenter.findFirstNonWhitespaceColumn(_,y.token.pos,l,g)}p=k(a,s,f,g.indentSize)}else x(y,a,c,a);for(var m=-1,h=0;h<n.length;h++)m=v(n[h],m,i,p,d,d,!0,0===h);var y,b=function(e){switch(e){case 20:return 21;case 29:return 31;case 18:return 19}return 0}(u);0!==b&&o.isOnToken()&&o.getStartPos()<r.end&&(27===(y=o.readTokenInfo(a)).token.kind&&e.isCallLikeExpression(a)&&d!==l.getLineAndCharacterOfPosition(y.token.pos).line&&(o.advance(),y=o.isOnToken()?o.readTokenInfo(a):void 0),y&&y.token.kind===b&&e.rangeContainsRange(a,y.token)&&x(y,a,p,a,!0))}function x(t,n,i,a,s){e.Debug.assert(e.rangeContainsRange(n,t.token));var c=o.lastTrailingTriviaWasNewLine(),d=!1;t.leadingTrivia&&N(t.leadingTrivia,n,h,i);var f=0,_=e.rangeContainsRange(r,t.token),g=l.getLineAndCharacterOfPosition(t.token.pos);if(_){var y=u(t.token),v=p;if(f=P(t.token,g,n,h,i),!y)if(0===f){var b=v&&l.getLineAndCharacterOfPosition(v.end).line;d=c&&g.line!==b}else d=1===f}if(t.trailingTrivia&&N(t.trailingTrivia,n,h,i),d){var x=_&&!u(t.token)?i.getIndentationForToken(g.line,t.token.kind,a,!!s):-1,E=!0;if(t.leadingTrivia){var S=i.getIndentationForComment(t.token.kind,x,a);E=A(t.leadingTrivia,S,E,(function(e){return w(e.pos,S,!1)}))}-1!==x&&E&&(w(t.token.pos,x,1===f),m=g.line,D=x)}o.advance(),h=n}}(n,n,x,E,i,a)}if(!o.isOnToken()){var S=t.SmartIndenter.nodeWillIndentChild(g,n,void 0,l,!1)?i+g.indentSize:i,C=o.getCurrentLeadingTrivia();C&&(A(C,S,!1,(function(e){return P(e,l.getLineAndCharacterOfPosition(e.pos),n,n,void 0)})),!1!==g.trimTrailingWhitespace&&function(t){for(var n=p?p.end:r.pos,i=0,a=t;i<a.length;i++){var o=a[i];e.isComment(o.kind)&&(n<o.pos&&M(n,o.pos-1,p),n=o.end+1)}n<r.end&&M(n,r.end,p)}(C))}if(p&&o.getStartPos()>=r.end){var T=o.isOnEOF()?o.readEOFTokenRange():o.isOnToken()?o.readTokenInfo(n).token:void 0;T&&F(T,l.getLineAndCharacterOfPosition(T.pos).line,n,p,f,d,n,void 0)}return b;function k(r,n,i,a){return{getIndentationForComment:function(e,t,r){switch(e){case 19:case 23:case 21:return i+o(r)}return-1!==t?t:i},getIndentationForToken:function(t,a,s,c){return!c&&function(t,i,a){switch(i){case 18:case 19:case 21:case 91:case 115:case 59:return!1;case 43:case 31:switch(a.kind){case 279:case 280:case 278:case 227:return!1}break;case 22:case 23:if(194!==a.kind)return!1}return n!==t&&!(r.decorators&&i===function(t){if(t.modifiers&&t.modifiers.length)return t.modifiers[0].kind;switch(t.kind){case 256:return 84;case 257:return 118;case 255:return 98;case 259:return 259;case 171:return 136;case 172:return 148;case 168:if(t.asteriskToken)return 41;case 166:case 163:var r=e.getNameOfDeclaration(t);if(r)return r.kind}}(r))}(t,a,s)?i+o(s):i},getIndentation:function(){return i},getDelta:o,recomputeIndentation:function(e,n){t.SmartIndenter.shouldIndentChildNode(g,n,r,l)&&(i+=e?g.indentSize:-g.indentSize,a=t.SmartIndenter.shouldIndentChildNode(g,r)?g.indentSize:0)}};function o(e){return t.SmartIndenter.nodeWillIndentChild(g,r,e,l,!0)?a:0}}function A(t,n,i,a){for(var o=0,s=t;o<s.length;o++){var c=s[o],u=e.rangeContainsRange(r,c);switch(c.kind){case 3:u&&I(c,n,!i),i=!1;break;case 2:i&&u&&a(c),i=!1;break;case 4:i=!0}}return i}function N(t,n,i,a){for(var o=0,s=t;o<s.length;o++){var c=s[o];e.isComment(c.kind)&&e.rangeContainsRange(r,c)&&P(c,l.getLineAndCharacterOfPosition(c.pos),n,i,a)}}function P(e,t,n,i,a){var o=0;return u(e)||(p?o=F(e,t.line,n,p,f,d,i,a):O(l.getLineAndCharacterOfPosition(r.pos).line,t.line)),p=e,d=n,f=t.line,o}function F(t,r,n,i,a,o,s,c){v.updateContext(i,o,t,n,s);var u=h(v),p=!1!==v.options.trimTrailingWhitespace,d=0;return u?e.forEachRight(u,(function(o){if(d=function(t,r,n,i,a){var o=a!==n;switch(t.action){case 1:return 0;case 16:if(r.end!==i.pos)return R(r.end,i.pos-r.end),o?2:0;break;case 32:R(r.pos,r.end-r.pos);break;case 8:if(1!==t.flags&&n!==a)return 0;if(1!=a-n)return B(r.end,i.pos-r.end,e.getNewLineOrDefaultFromHost(y,g)),o?0:1;break;case 4:if(1!==t.flags&&n!==a)return 0;if(1!=i.pos-r.end||32!==l.text.charCodeAt(r.end))return B(r.end,i.pos-r.end," "),o?2:0;break;case 64:!function(t,r){r&&b.push(e.createTextChangeFromStartLength(t,0,r))}(r.end,";")}return 0}(o,i,a,t,r),c)switch(d){case 2:n.getStart(l)===t.pos&&c.recomputeIndentation(!1,s);break;case 1:n.getStart(l)===t.pos&&c.recomputeIndentation(!0,s);break;default:e.Debug.assert(0===d)}p=p&&!(16&o.action)&&1!==o.flags})):p=p&&1!==t.kind,r!==a&&p&&O(a,r,i),d}function w(t,r,n){var i=_(r,g);if(n)B(t,0,i);else{var a=l.getLineAndCharacterOfPosition(t),o=e.getStartPositionOfLine(a.line,l);(r!==function(e,t){for(var r=0,n=0;n<t;n++)9===l.text.charCodeAt(e+n)?r+=g.tabSize-r%g.tabSize:r++;return r}(o,a.character)||function(e,t){return e!==l.text.substr(t,e.length)}(i,o))&&B(o,a.character,i)}}function I(r,n,i,a){void 0===a&&(a=!0);var o=l.getLineAndCharacterOfPosition(r.pos).line,s=l.getLineAndCharacterOfPosition(r.end).line;if(o!==s){for(var c=[],u=r.pos,p=o;p<s;p++){var d=e.getEndLinePosition(p,l);c.push({pos:u,end:d}),u=e.getStartPositionOfLine(p+1,l)}if(a&&c.push({pos:u,end:r.end}),0!==c.length){var f=e.getStartPositionOfLine(o,l),m=t.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(f,c[0].pos,l,g),h=0;i&&(h=1,o++);for(var y=n-m.column,v=h;v<c.length;v++,o++){var D=e.getStartPositionOfLine(o,l),b=0===v?m:t.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(c[v].pos,c[v].end,l,g),x=b.column+y;if(x>0){var E=_(x,g);B(D,b.character,E)}else R(D,b.character)}}}else i||w(r.pos,n,!1)}function O(t,r,n){for(var i=t;i<r;i++){var a=e.getStartPositionOfLine(i,l),o=e.getEndLinePosition(i,l);if(!(n&&(e.isComment(n.kind)||e.isStringOrRegularExpressionOrTemplateLiteral(n.kind))&&n.pos<=o&&n.end>o)){var s=L(a,o);-1!==s&&(e.Debug.assert(s===a||!e.isWhiteSpaceSingleLine(l.text.charCodeAt(s-1))),R(s,o+1-s))}}}function L(t,r){for(var n=r;n>=t&&e.isWhiteSpaceSingleLine(l.text.charCodeAt(n));)n--;return n!==r?n+1:-1}function M(e,t,r){O(l.getLineAndCharacterOfPosition(e).line,l.getLineAndCharacterOfPosition(t).line+1,r)}function R(t,r){r&&b.push(e.createTextChangeFromStartLength(t,r,""))}function B(t,r,n){(r||n)&&b.push(e.createTextChangeFromStartLength(t,r,n))}}function _(t,r){if((!a||a.tabSize!==r.tabSize||a.indentSize!==r.indentSize)&&(a={tabSize:r.tabSize,indentSize:r.indentSize},o=s=void 0),r.convertTabsToSpaces){var n=void 0,i=Math.floor(t/r.indentSize),c=t%r.indentSize;return s||(s=[]),void 0===s[i]?(n=e.repeatString(" ",r.indentSize*i),s[i]=n):n=s[i],c?n+e.repeatString(" ",c):n}var u=Math.floor(t/r.tabSize),l=t-u*r.tabSize,p=void 0;return o||(o=[]),void 0===o[u]?o[u]=p=e.repeatString("\t",u):p=o[u],l?p+e.repeatString(" ",l):p}t.createTextRangeWithKind=function(t,r,n){var i={pos:t,end:r,kind:n};return e.Debug.isDebugging&&Object.defineProperty(i,"__debugKind",{get:function(){return e.Debug.formatSyntaxKind(n)}}),i},(n=r||(r={}))[n.Unknown=-1]="Unknown",t.formatOnEnter=function(t,r,n){var i=r.getLineAndCharacterOfPosition(t).line;if(0===i)return[];for(var a=e.getEndLinePosition(i,r);e.isWhiteSpaceSingleLine(r.text.charCodeAt(a));)a--;return e.isLineBreak(r.text.charCodeAt(a))&&a--,d({pos:e.getStartPositionOfLine(i-1,r),end:a+1},r,n,2)},t.formatOnSemicolon=function(e,t,r){return p(u(c(e,26,t)),t,r,3)},t.formatOnOpeningCurly=function(t,r,n){var i=c(t,18,r);if(!i)return[];var a=u(i.parent);return d({pos:e.getLineStartPositionForPosition(a.getStart(r),r),end:t},r,n,4)},t.formatOnClosingCurly=function(e,t,r){return p(u(c(e,19,t)),t,r,5)},t.formatDocument=function(e,t){return d({pos:0,end:e.text.length},e,t,0)},t.formatSelection=function(t,r,n,i){return d({pos:e.getLineStartPositionForPosition(t,n),end:r},n,i,1)},t.formatNodeGivenIndentation=function(e,r,n,i,a,o){var s={pos:e.pos,end:e.end};return t.getFormattingScanner(r.text,n,s.pos,s.end,(function(t){return f(s,e,i,a,t,o,1,(function(e){return!1}),r)}))},function(e){e[e.None=0]="None",e[e.LineAdded=1]="LineAdded",e[e.LineRemoved=2]="LineRemoved"}(i||(i={})),t.getRangeOfEnclosingComment=function(t,r,n,i){void 0===i&&(i=e.getTokenAtPosition(t,r));var a=e.findAncestor(i,e.isJSDoc);if(a&&(i=a.parent),!(i.getStart(t)<=r&&r<i.getEnd())){var o=(n=null===n?void 0:void 0===n?e.findPrecedingToken(r,t):n)&&e.getTrailingCommentRanges(t.text,n.end),s=e.getLeadingCommentRangesOfNode(i,t),c=e.concatenate(o,s);return c&&e.find(c,(function(n){return e.rangeContainsPositionExclusive(n,r)||r===n.end&&(2===n.kind||r===t.getFullWidth())}))}},t.getIndentationString=_}(e.formatting||(e.formatting={}))}(n||(n={})),function(e){var t;!function(r){var n,i,a;function o(e){return e.baseIndentSize||0}function s(e,t,r,n,i,a,s){for(var l,m=e.parent;m;){var g=!0;if(r){var y=e.getStart(i);g=y<r.pos||y>r.end}var v=c(m,e,i),D=v.line===t.line||f(m,e,t.line,i);if(g){var b=null===(l=_(e,i))||void 0===l?void 0:l[0],x=h(e,i,s,!!b&&p(b,i).line>v.line);if(-1!==x||-1!==(x=u(e,m,t,D,i,s)))return x+n}E(s,m,e,i,a)&&!D&&(n+=s.indentSize);var S=d(m,e,t.line,i);m=(e=m).parent,t=S?i.getLineAndCharacterOfPosition(e.getStart(i)):v}return n+o(s)}function c(e,t,r){var n=_(t,r),i=n?n.pos:e.getStart(r);return r.getLineAndCharacterOfPosition(i)}function u(t,r,n,i,a,o){return!e.isDeclaration(t)&&!e.isStatementButNotDeclaration(t)||303!==r.kind&&i?-1:v(n,a,o)}function l(t,r,n,i){var a=e.findNextToken(t,r,i);return a?18===a.kind?1:19===a.kind&&n===p(a,i).line?2:0:0}function p(e,t){return t.getLineAndCharacterOfPosition(e.getStart(t))}function d(t,r,n,i){if(!e.isCallExpression(t)||!e.contains(t.arguments,r))return!1;var a=t.expression.getEnd();return e.getLineAndCharacterOfPosition(i,a).line===n}function f(t,r,n,i){if(238===t.kind&&t.elseStatement===r){var a=e.findChildOfKind(t,91,i);return e.Debug.assert(void 0!==a),p(a,i).line===n}return!1}function _(e,t){return e.parent&&m(e.getStart(t),e.getEnd(),e.parent,t)}function m(t,r,n,i){switch(n.kind){case 177:return a(n.typeArguments);case 204:return a(n.properties);case 203:case 268:case 272:case 200:case 201:return a(n.elements);case 181:return a(n.members);case 255:case 212:case 213:case 168:case 167:case 173:case 170:case 179:case 174:return a(n.typeParameters)||a(n.parameters);case 171:return a(n.parameters);case 256:case 225:case 257:case 258:case 342:return a(n.typeParameters);case 208:case 207:return a(n.typeArguments)||a(n.arguments);case 254:return a(n.declarations)}function a(a){return a&&e.rangeContainsStartEnd(function(e,t,r){for(var n=e.getChildren(r),i=1;i<n.length-1;i++)if(n[i].pos===t.pos&&n[i].end===t.end)return{pos:n[i-1].end,end:n[i+1].getStart(r)};return t}(n,a,i),t,r)?a:void 0}}function g(e,t,r){return e?v(t.getLineAndCharacterOfPosition(e.pos),t,r):-1}function h(e,t,r,n){if(e.parent&&254===e.parent.kind)return-1;var i=_(e,t);if(i){var a=i.indexOf(e);if(-1!==a){var o=y(i,a,t,r);if(-1!==o)return o}return g(i,t,r)+(n?r.indentSize:0)}return-1}function y(t,r,n,i){e.Debug.assert(r>=0&&r<t.length);for(var a=p(t[r],n),o=r-1;o>=0;o--)if(27!==t[o].kind){if(n.getLineAndCharacterOfPosition(t[o].end).line!==a.line)return v(a,n,i);a=p(t[o],n)}return-1}function v(e,t,r){var n=t.getPositionOfLineAndCharacter(e.line,0);return b(n,n+e.character,t,r)}function D(t,r,n,i){for(var a=0,o=0,s=t;s<r;s++){var c=n.text.charCodeAt(s);if(!e.isWhiteSpaceSingleLine(c))break;9===c?o+=i.tabSize+o%i.tabSize:o++,a++}return{column:o,character:a}}function b(e,t,r,n){return D(e,t,r,n).column}function x(t,r,n,i,a){var o=n?n.kind:0;switch(r.kind){case 237:case 256:case 225:case 257:case 259:case 258:case 203:case 234:case 261:case 204:case 181:case 194:case 183:case 262:case 289:case 288:case 211:case 205:case 207:case 208:case 236:case 270:case 246:case 221:case 201:case 200:case 279:case 282:case 278:case 287:case 167:case 173:case 174:case 163:case 178:case 179:case 190:case 209:case 217:case 272:case 268:case 274:case 269:case 166:return!0;case 253:case 294:case 220:if(!t.indentMultiLineObjectLiteralBeginningOnBlankLine&&i&&204===o)return S(i,n);if(220===r.kind&&i&&n&&277===o)return i.getLineAndCharacterOfPosition(e.skipTrivia(i.text,r.pos)).line!==i.getLineAndCharacterOfPosition(e.skipTrivia(i.text,n.pos)).line;if(220!==r.kind)return!0;break;case 239:case 240:case 242:case 243:case 241:case 238:case 255:case 212:case 168:case 170:case 171:case 172:return 234!==o;case 213:return i&&211===o?S(i,n):234!==o;case 271:return 272!==o;case 265:return 266!==o||!!n.namedBindings&&268!==n.namedBindings.kind;case 277:return 280!==o;case 281:return 283!==o;case 187:case 186:if(181===o||183===o)return!1}return a}function E(e,t,r,n,i){return void 0===i&&(i=!1),x(e,t,r,n,!1)&&!(i&&r&&function(e,t){switch(e){case 246:case 250:case 244:case 245:return 234!==t.kind;default:return!1}}(r.kind,t))}function S(t,r){var n=e.skipTrivia(t.text,r.pos);return t.getLineAndCharacterOfPosition(n).line===t.getLineAndCharacterOfPosition(r.end).line}(i=n||(n={}))[i.Unknown=-1]="Unknown",r.getIndentation=function(r,n,i,a){if(void 0===a&&(a=!1),r>n.text.length)return o(i);if(i.indentStyle===e.IndentStyle.None)return 0;var c=e.findPrecedingToken(r,n,void 0,!0),u=t.getRangeOfEnclosingComment(n,r,c||null);if(u&&3===u.kind)return function(t,r,n,i){var a=e.getLineAndCharacterOfPosition(t,r).line-1,o=e.getLineAndCharacterOfPosition(t,i.pos).line;if(e.Debug.assert(o>=0),a<=o)return b(e.getStartPositionOfLine(o,t),r,t,n);var s=e.getStartPositionOfLine(a,t),c=D(s,r,t,n),u=c.column,l=c.character;return 0===u?u:42===t.text.charCodeAt(s+l)?u-1:u}(n,r,i,u);if(!c)return o(i);if(e.isStringOrRegularExpressionOrTemplateLiteral(c.kind)&&c.getStart(n)<=r&&r<c.end)return 0;var d=n.getLineAndCharacterOfPosition(r).line;if(i.indentStyle===e.IndentStyle.Block)return function(t,r,n){for(var i=r;i>0;){var a=t.text.charCodeAt(i);if(!e.isWhiteSpaceLike(a))break;i--}return b(e.getLineStartPositionForPosition(i,t),i,t,n)}(n,r,i);if(27===c.kind&&220!==c.parent.kind){var f=function(t,r,n){var i=e.findListItemInfo(t);return i&&i.listItemIndex>0?y(i.list.getChildren(),i.listItemIndex-1,r,n):-1}(c,n,i);if(-1!==f)return f}var _=function(e,t,r){return t&&m(e,e,t,r)}(r,c.parent,n);return _&&!e.rangeContainsRange(_,c)?g(_,n,i)+i.indentSize:function(t,r,n,i,a,c){for(var u,d=n;d;){if(e.positionBelongsToNode(d,r,t)&&E(c,d,u,t,!0)){var f=p(d,t),_=l(n,d,i,t);return s(d,f,void 0,0!==_?a&&2===_?c.indentSize:0:i!==f.line?c.indentSize:0,t,!0,c)}var m=h(d,t,c,!0);if(-1!==m)return m;u=d,d=d.parent}return o(c)}(n,r,c,d,a,i)},r.getIndentationForNode=function(e,t,r,n){var i=r.getLineAndCharacterOfPosition(e.getStart(r));return s(e,i,t,0,r,!1,n)},r.getBaseIndentation=o,function(e){e[e.Unknown=0]="Unknown",e[e.OpenBrace=1]="OpenBrace",e[e.CloseBrace=2]="CloseBrace"}(a||(a={})),r.isArgumentAndStartLineOverlapsExpressionBeingCalled=d,r.childStartsOnTheSameLineWithElseInIfStatement=f,r.childIsUnindentedBranchOfConditionalExpression=function(t,r,n,i){if(e.isConditionalExpression(t)&&(r===t.whenTrue||r===t.whenFalse)){var a=e.getLineAndCharacterOfPosition(i,t.condition.end).line;if(r===t.whenTrue)return n===a;var o=p(t.whenTrue,i).line,s=e.getLineAndCharacterOfPosition(i,t.whenTrue.end).line;return a===o&&s===n}return!1},r.argumentStartsOnSameLineAsPreviousArgument=function(t,r,n,i){if(e.isCallOrNewExpression(t)){if(!t.arguments)return!1;var a=e.find(t.arguments,(function(e){return e.pos===r.pos}));if(!a)return!1;var o=t.arguments.indexOf(a);if(0===o)return!1;var s=t.arguments[o-1];if(n===e.getLineAndCharacterOfPosition(i,s.getEnd()).line)return!0}return!1},r.getContainingList=_,r.findFirstNonWhitespaceCharacterAndColumn=D,r.findFirstNonWhitespaceColumn=b,r.nodeWillIndentChild=x,r.shouldIndentChildNode=E}((t=e.formatting||(e.formatting={})).SmartIndenter||(t.SmartIndenter={}))}(n||(n={})),function(e){!function(t){function r(t){var r=t.__pos;return e.Debug.assert("number"==typeof r),r}function n(t,r){e.Debug.assert("number"==typeof r),t.__pos=r}function i(t){var r=t.__end;return e.Debug.assert("number"==typeof r),r}function s(t,r){e.Debug.assert("number"==typeof r),t.__end=r}var c,u,l;function p(t,r){return e.skipTrivia(t,r,!1,!0)}(u=c=t.LeadingTriviaOption||(t.LeadingTriviaOption={}))[u.Exclude=0]="Exclude",u[u.IncludeAll=1]="IncludeAll",u[u.JSDoc=2]="JSDoc",u[u.StartLine=3]="StartLine",function(e){e[e.Exclude=0]="Exclude",e[e.ExcludeWhitespace=1]="ExcludeWhitespace",e[e.Include=2]="Include"}(l=t.TrailingTriviaOption||(t.TrailingTriviaOption={}));var d,f={leadingTriviaOption:c.Exclude,trailingTriviaOption:l.Exclude};function _(e,t,r,n){return{pos:m(e,t,n),end:h(e,r,n)}}function m(t,r,n,i){var a,o;void 0===i&&(i=!1);var s=n.leadingTriviaOption;if(s===c.Exclude)return r.getStart(t);if(s===c.StartLine){var u=r.getStart(t),l=e.getLineStartPositionForPosition(u,t);return e.rangeContainsPosition(r,l)?l:u}if(s===c.JSDoc){var d=e.getJSDocCommentRanges(r,t.text);if(null!=d&&d.length)return e.getLineStartPositionForPosition(d[0].pos,t)}var f=r.getFullStart(),_=r.getStart(t);if(f===_)return _;var m=e.getLineStartPositionForPosition(f,t);if(e.getLineStartPositionForPosition(_,t)===m)return s===c.IncludeAll?f:_;if(i){var g=(null===(a=e.getLeadingCommentRanges(t.text,f))||void 0===a?void 0:a[0])||(null===(o=e.getTrailingCommentRanges(t.text,f))||void 0===o?void 0:o[0]);if(g)return e.skipTrivia(t.text,g.end,!0,!0)}var h=f>0?1:0,y=e.getStartPositionOfLine(e.getLineOfLocalPosition(t,m)+h,t);return y=p(t.text,y),e.getStartPositionOfLine(e.getLineOfLocalPosition(t,y),t)}function g(t,r,n){var i=r.end;if(n.trailingTriviaOption===l.Include){var a=e.getTrailingCommentRanges(t.text,i);if(a)for(var o=e.getLineOfLocalPosition(t,r.end),s=0,c=a;s<c.length;s++){var u=c[s];if(2===u.kind||e.getLineOfLocalPosition(t,u.pos)>o)break;if(e.getLineOfLocalPosition(t,u.end)>o)return e.skipTrivia(t.text,u.end,!0,!0)}}}function h(t,r,n){var i,a=r.end,o=n.trailingTriviaOption;if(o===l.Exclude)return a;if(o===l.ExcludeWhitespace){var s=e.concatenate(e.getTrailingCommentRanges(t.text,a),e.getLeadingCommentRanges(t.text,a));return(null===(i=null==s?void 0:s[s.length-1])||void 0===i?void 0:i.end)||a}var c=g(t,r,n);if(c)return c;var u=e.skipTrivia(t.text,a,!0);return u===a||o!==l.Include&&!e.isLineBreak(t.text.charCodeAt(u-1))?a:u}function y(e,t){return!!t&&!!e.parent&&(27===t.kind||26===t.kind&&204===e.parent.kind)}!function(e){e[e.Remove=0]="Remove",e[e.ReplaceWithSingleNode=1]="ReplaceWithSingleNode",e[e.ReplaceWithMultipleNodes=2]="ReplaceWithMultipleNodes",e[e.Text=3]="Text"}(d||(d={})),t.isThisTypeAnnotatable=function(t){return e.isFunctionExpression(t)||e.isFunctionDeclaration(t)};var v,D,b=function(){function t(t,r){this.newLineCharacter=t,this.formatContext=r,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new e.Map,this.deletedNodes=[]}return t.fromContext=function(r){return new t(e.getNewLineOrDefaultFromHost(r.host,r.formatContext.options),r.formatContext)},t.with=function(e,r){var n=t.fromContext(e);return r(n),n.getChanges()},t.prototype.pushRaw=function(t,r){e.Debug.assertEqual(t.fileName,r.fileName);for(var n=0,i=r.textChanges;n<i.length;n++){var a=i[n];this.changes.push({kind:d.Text,sourceFile:t,text:a.newText,range:e.createTextRangeFromSpan(a.span)})}},t.prototype.deleteRange=function(e,t){this.changes.push({kind:d.Remove,sourceFile:e,range:t})},t.prototype.delete=function(e,t){this.deletedNodes.push({sourceFile:e,node:t})},t.prototype.deleteNode=function(e,t,r){void 0===r&&(r={leadingTriviaOption:c.IncludeAll}),this.deleteRange(e,_(e,t,t,r))},t.prototype.deleteNodes=function(e,t,r,n){void 0===r&&(r={leadingTriviaOption:c.IncludeAll});for(var i=0,a=t;i<a.length;i++){var o=a[i],s=m(e,o,r,n),u=h(e,o,r);this.deleteRange(e,{pos:s,end:u}),n=!!g(e,o,r)}},t.prototype.deleteModifier=function(t,r){this.deleteRange(t,{pos:r.getStart(t),end:e.skipTrivia(t.text,r.end,!0)})},t.prototype.deleteNodeRange=function(e,t,r,n){void 0===n&&(n={leadingTriviaOption:c.IncludeAll});var i=m(e,t,n),a=h(e,r,n);this.deleteRange(e,{pos:i,end:a})},t.prototype.deleteNodeRangeExcludingEnd=function(e,t,r,n){void 0===n&&(n={leadingTriviaOption:c.IncludeAll});var i=m(e,t,n),a=void 0===r?e.text.length:m(e,r,n);this.deleteRange(e,{pos:i,end:a})},t.prototype.replaceRange=function(e,t,r,n){void 0===n&&(n={}),this.changes.push({kind:d.ReplaceWithSingleNode,sourceFile:e,range:t,options:n,node:r})},t.prototype.replaceNode=function(e,t,r,n){void 0===n&&(n=f),this.replaceRange(e,_(e,t,t,n),r,n)},t.prototype.replaceNodeRange=function(e,t,r,n,i){void 0===i&&(i=f),this.replaceRange(e,_(e,t,r,i),n,i)},t.prototype.replaceRangeWithNodes=function(e,t,r,n){void 0===n&&(n={}),this.changes.push({kind:d.ReplaceWithMultipleNodes,sourceFile:e,range:t,options:n,nodes:r})},t.prototype.replaceNodeWithNodes=function(e,t,r,n){void 0===n&&(n=f),this.replaceRangeWithNodes(e,_(e,t,t,n),r,n)},t.prototype.replaceNodeWithText=function(e,t,r){this.replaceRangeWithText(e,_(e,t,t,f),r)},t.prototype.replaceNodeRangeWithNodes=function(e,t,r,n,i){void 0===i&&(i=f),this.replaceRangeWithNodes(e,_(e,t,r,i),n,i)},t.prototype.nodeHasTrailingComment=function(e,t,r){return void 0===r&&(r=f),!!g(e,t,r)},t.prototype.nextCommaToken=function(t,r){var n=e.findNextToken(r,r.parent,t);return n&&27===n.kind?n:void 0},t.prototype.replacePropertyAssignment=function(e,t,r){var n=this.nextCommaToken(e,t)?"":","+this.newLineCharacter;this.replaceNode(e,t,r,{suffix:n})},t.prototype.insertNodeAt=function(t,r,n,i){void 0===i&&(i={}),this.replaceRange(t,e.createRange(r),n,i)},t.prototype.insertNodesAt=function(t,r,n,i){void 0===i&&(i={}),this.replaceRangeWithNodes(t,e.createRange(r),n,i)},t.prototype.insertNodeAtTopOfFile=function(e,t,r){this.insertAtTopOfFile(e,t,r)},t.prototype.insertNodesAtTopOfFile=function(e,t,r){this.insertAtTopOfFile(e,t,r)},t.prototype.insertAtTopOfFile=function(t,r,n){var i=function(t){for(var r,n=0,i=t.statements;n<i.length;n++){var a=i[n];if(!e.isPrologueDirective(a))break;r=a}var o=0,s=t.text;if(r)return o=r.end,m(),o;var c=e.getShebang(s);void 0!==c&&(o=c.length,m());var u=e.getLeadingCommentRanges(s,o);if(!u)return o;for(var l,p,d=0,f=u;d<f.length;d++){var _=f[d];if(3===_.kind){if(e.isPinnedComment(s,_.pos)){l={range:_,pinnedOrTripleSlash:!0};continue}}else if(e.isRecognizedTripleSlashComment(s,_.pos,_.end)){l={range:_,pinnedOrTripleSlash:!0};continue}if(l){if(l.pinnedOrTripleSlash)break;if(t.getLineAndCharacterOfPosition(_.pos).line>=t.getLineAndCharacterOfPosition(l.range.end).line+2)break}if(t.statements.length&&(void 0===p&&(p=t.getLineAndCharacterOfPosition(t.statements[0].getStart()).line),p<t.getLineAndCharacterOfPosition(_.end).line+2))break;l={range:_,pinnedOrTripleSlash:!1}}return l&&(o=l.range.end,m()),o;function m(){if(o<s.length){var t=s.charCodeAt(o);e.isLineBreak(t)&&++o<s.length&&13===t&&10===s.charCodeAt(o)&&o++}}}(t),a={prefix:0===i?void 0:this.newLineCharacter,suffix:(e.isLineBreak(t.text.charCodeAt(i))?"":this.newLineCharacter)+(n?this.newLineCharacter:"")};e.isArray(r)?this.insertNodesAt(t,i,r,a):this.insertNodeAt(t,i,r,a)},t.prototype.insertFirstParameter=function(t,r,n){var i=e.firstOrUndefined(r);i?this.insertNodeBefore(t,i,n):this.insertNodeAt(t,r.pos,n)},t.prototype.insertNodeBefore=function(e,t,r,n,i){void 0===n&&(n=!1),void 0===i&&(i={}),this.insertNodeAt(e,m(e,t,i),r,this.getOptionsForInsertNodeBefore(t,r,n))},t.prototype.insertModifierAt=function(t,r,n,i){void 0===i&&(i={}),this.insertNodeAt(t,r,e.factory.createToken(n),i)},t.prototype.insertModifierBefore=function(e,t,r){return this.insertModifierAt(e,r.getStart(e),t,{suffix:" "})},t.prototype.insertCommentBeforeLine=function(t,r,n,i){var a=e.getStartPositionOfLine(r,t),o=e.getFirstNonSpaceCharacterPosition(t.text,a),s=A(t,o),c=e.getTouchingToken(t,s?o:n),u=t.text.slice(a,o),l="".concat(s?"":this.newLineCharacter,"//").concat(i).concat(this.newLineCharacter).concat(u);this.insertText(t,c.getStart(t),l)},t.prototype.insertJsdocCommentBefore=function(t,r,n){var i=r.getStart(t);if(r.jsDoc)for(var a=0,o=r.jsDoc;a<o.length;a++){var s=o[a];this.deleteRange(t,{pos:e.getLineStartPositionForPosition(s.getStart(t),t),end:h(t,s,{})})}var c=e.getPrecedingNonSpaceCharacterPosition(t.text,i-1),u=t.text.slice(c,i);this.insertNodeAt(t,i,n,{preserveLeadingWhitespace:!1,suffix:this.newLineCharacter+u})},t.prototype.createJSDocText=function(t,r){var n=e.flatMap(r.jsDoc,(function(t){return e.isString(t.comment)?e.factory.createJSDocText(t.comment):t.comment})),i=e.singleOrUndefined(r.jsDoc);return i&&e.positionsAreOnSameLine(i.pos,i.end,t)&&0===e.length(n)?void 0:e.factory.createNodeArray(e.intersperse(n,e.factory.createJSDocText("\n")))},t.prototype.replaceJSDocComment=function(t,r,n){this.insertJsdocCommentBefore(t,function(e){if(213!==e.kind)return e;var t=166===e.parent.kind?e.parent:e.parent.parent;return t.jsDoc=e.jsDoc,t.jsDocCache=e.jsDocCache,t}(r),e.factory.createJSDocComment(this.createJSDocText(t,r),e.factory.createNodeArray(n)))},t.prototype.addJSDocTags=function(t,r,n){var i=e.flatMapToMutable(r.jsDoc,(function(e){return e.tags})),o=n.filter((function(t){return!i.some((function(r,n){var a=function(t,r){if(t.kind===r.kind)switch(t.kind){case 338:var n=t,i=r;return e.isIdentifier(n.name)&&e.isIdentifier(i.name)&&n.name.escapedText===i.name.escapedText?e.factory.createJSDocParameterTag(void 0,i.name,!1,i.typeExpression,i.isNameFirst,n.comment):void 0;case 339:return e.factory.createJSDocReturnTag(void 0,r.typeExpression,t.comment);case 341:return e.factory.createJSDocTypeTag(void 0,r.typeExpression,t.comment)}}(r,t);return a&&(i[n]=a),!!a}))}));this.replaceJSDocComment(t,r,a(a([],i,!0),o,!0))},t.prototype.filterJSDocTags=function(t,r,n){this.replaceJSDocComment(t,r,e.filter(e.flatMapToMutable(r.jsDoc,(function(e){return e.tags})),n))},t.prototype.replaceRangeWithText=function(e,t,r){this.changes.push({kind:d.Text,sourceFile:e,range:t,text:r})},t.prototype.insertText=function(t,r,n){this.replaceRangeWithText(t,e.createRange(r),n)},t.prototype.tryInsertTypeAnnotation=function(t,r,n){var i,a;if(e.isFunctionLike(r)){if(!(a=e.findChildOfKind(r,21,t))){if(!e.isArrowFunction(r))return!1;a=e.first(r.parameters)}}else a=null!==(i=253===r.kind?r.exclamationToken:r.questionToken)&&void 0!==i?i:r.name;return this.insertNodeAt(t,a.end,n,{prefix:": "}),!0},t.prototype.tryInsertThisTypeAnnotation=function(t,r,n){var i=e.findChildOfKind(r,20,t).getStart(t)+1,a=r.parameters.length?", ":"";this.insertNodeAt(t,i,n,{prefix:"this: ",suffix:a})},t.prototype.insertTypeParameters=function(t,r,n){var i=(e.findChildOfKind(r,20,t)||e.first(r.parameters)).getStart(t);this.insertNodesAt(t,i,n,{prefix:"<",suffix:">",joiner:", "})},t.prototype.getOptionsForInsertNodeBefore=function(t,r,n){return e.isStatement(t)||e.isClassElement(t)?{suffix:n?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(t)?{suffix:", "}:e.isParameter(t)?e.isParameter(r)?{suffix:", "}:{}:e.isStringLiteral(t)&&e.isImportDeclaration(t.parent)||e.isNamedImports(t)?{suffix:", "}:e.isImportSpecifier(t)?{suffix:","+(n?this.newLineCharacter:" ")}:e.Debug.failBadSyntaxKind(t)},t.prototype.insertNodeAtConstructorStart=function(t,r,n){var i=e.firstOrUndefined(r.body.statements);i&&r.body.multiLine?this.insertNodeBefore(t,i,n):this.replaceConstructorBody(t,r,a([n],r.body.statements,!0))},t.prototype.insertNodeAtConstructorStartAfterSuperCall=function(t,r,n){var i=e.find(r.body.statements,(function(t){return e.isExpressionStatement(t)&&e.isSuperCall(t.expression)}));i&&r.body.multiLine?this.insertNodeAfter(t,i,n):this.replaceConstructorBody(t,r,a(a([],r.body.statements,!0),[n],!1))},t.prototype.insertNodeAtConstructorEnd=function(t,r,n){var i=e.lastOrUndefined(r.body.statements);i&&r.body.multiLine?this.insertNodeAfter(t,i,n):this.replaceConstructorBody(t,r,a(a([],r.body.statements,!0),[n],!1))},t.prototype.replaceConstructorBody=function(t,r,n){this.replaceNode(t,r.body,e.factory.createBlock(n,!0))},t.prototype.insertNodeAtEndOfScope=function(t,r,n){var i=m(t,r.getLastToken(),{});this.insertNodeAt(t,i,n,{prefix:e.isLineBreak(t.text.charCodeAt(r.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},t.prototype.insertNodeAtClassStart=function(e,t,r){this.insertNodeAtStartWorker(e,t,r)},t.prototype.insertNodeAtObjectStart=function(e,t,r){this.insertNodeAtStartWorker(e,t,r)},t.prototype.insertNodeAtStartWorker=function(e,t,r){var n,i=null!==(n=this.guessIndentationFromExistingMembers(e,t))&&void 0!==n?n:this.computeIndentationForNewMember(e,t);this.insertNodeAt(e,E(t).pos,r,this.getInsertNodeAtStartInsertOptions(e,t,i))},t.prototype.guessIndentationFromExistingMembers=function(t,r){for(var n,i=r,a=0,o=E(r);a<o.length;a++){var s=o[a];if(e.rangeStartPositionsAreOnSameLine(i,s,t))return;var c=s.getStart(t),u=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(e.getLineStartPositionForPosition(c,t),c,t,this.formatContext.options);if(void 0===n)n=u;else if(u!==n)return;i=s}return n},t.prototype.computeIndentationForNewMember=function(t,r){var n,i=r.getStart(t);return e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(e.getLineStartPositionForPosition(i,t),i,t,this.formatContext.options)+(null!==(n=this.formatContext.options.indentSize)&&void 0!==n?n:4)},t.prototype.getInsertNodeAtStartInsertOptions=function(t,r,n){var i=0===E(r).length,a=e.addToSeen(this.classesWithNodesInsertedAtStart,e.getNodeId(r),{node:r,sourceFile:t}),o=e.isObjectLiteralExpression(r)&&(!e.isJsonSourceFile(t)||!i);return{indentation:n,prefix:(e.isObjectLiteralExpression(r)&&e.isJsonSourceFile(t)&&i&&!a?",":"")+this.newLineCharacter,suffix:o?",":""}},t.prototype.insertNodeAfterComma=function(e,t,r){var n=this.insertNodeAfterWorker(e,this.nextCommaToken(e,t)||t,r);this.insertNodeAt(e,n,r,this.getInsertNodeAfterOptions(e,t))},t.prototype.insertNodeAfter=function(e,t,r){var n=this.insertNodeAfterWorker(e,t,r);this.insertNodeAt(e,n,r,this.getInsertNodeAfterOptions(e,t))},t.prototype.insertNodeAtEndOfList=function(e,t,r){this.insertNodeAt(e,t.end,r,{prefix:", "})},t.prototype.insertNodesAfter=function(t,r,n){var i=this.insertNodeAfterWorker(t,r,e.first(n));this.insertNodesAt(t,i,n,this.getInsertNodeAfterOptions(t,r))},t.prototype.insertNodeAfterWorker=function(t,r,n){return function(t,r){return(e.isPropertySignature(t)||e.isPropertyDeclaration(t))&&e.isClassOrTypeElement(r)&&161===r.name.kind||e.isStatementButNotDeclaration(t)&&e.isStatementButNotDeclaration(r)}(r,n)&&59!==t.text.charCodeAt(r.end-1)&&this.replaceRange(t,e.createRange(r.end),e.factory.createToken(26)),h(t,r,{})},t.prototype.getInsertNodeAfterOptions=function(t,r){var n=this.getInsertNodeAfterOptionsWorker(r);return o(o({},n),{prefix:r.end===t.end&&e.isStatement(r)?n.prefix?"\n".concat(n.prefix):"\n":n.prefix})},t.prototype.getInsertNodeAfterOptionsWorker=function(t){switch(t.kind){case 256:case 260:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 253:case 10:case 79:return{prefix:", "};case 294:return{suffix:","+this.newLineCharacter};case 93:return{prefix:" "};case 163:return{};default:return e.Debug.assert(e.isStatement(t)||e.isClassOrTypeElement(t)),{suffix:this.newLineCharacter}}},t.prototype.insertName=function(t,r,n){if(e.Debug.assert(!r.name),213===r.kind){var i=e.findChildOfKind(r,38,t),a=e.findChildOfKind(r,20,t);a?(this.insertNodesAt(t,a.getStart(t),[e.factory.createToken(98),e.factory.createIdentifier(n)],{joiner:" "}),N(this,t,i)):(this.insertText(t,e.first(r.parameters).getStart(t),"function ".concat(n,"(")),this.replaceRange(t,i,e.factory.createToken(21))),234!==r.body.kind&&(this.insertNodesAt(t,r.body.getStart(t),[e.factory.createToken(18),e.factory.createToken(105)],{joiner:" ",suffix:" "}),this.insertNodesAt(t,r.body.end,[e.factory.createToken(26),e.factory.createToken(19)],{joiner:" "}))}else{var o=e.findChildOfKind(r,212===r.kind?98:84,t).end;this.insertNodeAt(t,o,e.factory.createIdentifier(n),{prefix:" "})}},t.prototype.insertExportModifier=function(e,t){this.insertText(e,t.getStart(e),"export ")},t.prototype.insertImportSpecifierAtIndex=function(t,r,n,i){var a=n.elements[i-1];a?this.insertNodeInListAfter(t,a,r):this.insertNodeBefore(t,n.elements[0],r,!e.positionsAreOnSameLine(n.elements[0].getStart(),n.parent.parent.getStart(),t))},t.prototype.insertNodeInListAfter=function(t,r,n,i){if(void 0===i&&(i=e.formatting.SmartIndenter.getContainingList(r,t)),i){var a=e.indexOfNode(i,r);if(!(a<0)){var o=r.getEnd();if(a!==i.length-1){var s=e.getTokenAtPosition(t,r.end);if(s&&y(r,s)){var c=i[a+1],u=p(t.text,c.getFullStart()),l="".concat(e.tokenToString(s.kind)).concat(t.text.substring(s.end,u));this.insertNodesAt(t,u,[n],{suffix:l})}}else{var d=r.getStart(t),f=e.getLineStartPositionForPosition(d,t),_=void 0,m=!1;if(1===i.length)_=27;else{var g=e.findPrecedingToken(r.pos,t);_=y(r,g)?g.kind:27,m=e.getLineStartPositionForPosition(i[a-1].getStart(t),t)!==f}if(function(t,r){for(var n=r;n<t.length;){var i=t.charCodeAt(n);if(!e.isWhiteSpaceSingleLine(i))return 47===i;n++}return!1}(t.text,r.end)&&(m=!0),m){this.replaceRange(t,e.createRange(o),e.factory.createToken(_));for(var h=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(f,d,t,this.formatContext.options),v=e.skipTrivia(t.text,o,!0,!1);v!==o&&e.isLineBreak(t.text.charCodeAt(v-1));)v--;this.replaceRange(t,e.createRange(v),n,{indentation:h,prefix:this.newLineCharacter})}else this.replaceRange(t,e.createRange(o),n,{prefix:"".concat(e.tokenToString(_)," ")})}}}else e.Debug.fail("node is not a list element")},t.prototype.parenthesizeExpression=function(t,r){this.replaceRange(t,e.rangeOfNode(r),e.factory.createParenthesizedExpression(r))},t.prototype.finishClassesWithNodesInsertedAtStart=function(){var t=this;this.classesWithNodesInsertedAtStart.forEach((function(r){var n=r.node,i=r.sourceFile,a=function(t,r){var n=e.findChildOfKind(t,18,r),i=e.findChildOfKind(t,19,r);return[null==n?void 0:n.end,null==i?void 0:i.end]}(n,i),o=a[0],s=a[1];if(void 0!==o&&void 0!==s){var c=0===E(n).length,u=e.positionsAreOnSameLine(o,s,i);c&&u&&o!==s-1&&t.deleteRange(i,e.createRange(o,s-1)),u&&t.insertText(i,s-1,t.newLineCharacter)}}))},t.prototype.finishDeleteDeclarations=function(){for(var t=this,r=new e.Set,n=function(t,n){i.deletedNodes.some((function(r){return r.sourceFile===t&&e.rangeContainsRangeExclusive(r.node,n)}))||(e.isArray(n)?i.deleteRange(t,e.rangeOfTypeParameters(t,n)):D.deleteDeclaration(i,r,t,n))},i=this,a=0,o=this.deletedNodes;a<o.length;a++){var s=o[a];n(s.sourceFile,s.node)}r.forEach((function(n){var i=n.getSourceFile(),a=e.formatting.SmartIndenter.getContainingList(n,i);if(n===e.last(a)){var o=e.findLastIndex(a,(function(e){return!r.has(e)}),a.length-2);-1!==o&&t.deleteRange(i,{pos:a[o].end,end:x(i,a[o+1])})}}))},t.prototype.getChanges=function(e){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();for(var t=v.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,e),r=0,n=this.newFiles;r<n.length;r++){var i=n[r],a=i.oldFile,o=i.fileName,s=i.statements;t.push(v.newFileChanges(a,o,s,this.newLineCharacter,this.formatContext))}return t},t.prototype.createNewFile=function(e,t,r){this.newFiles.push({oldFile:e,fileName:t,statements:r})},t}();function x(t,r){return e.skipTrivia(t.text,m(t,r,{leadingTriviaOption:c.IncludeAll}),!1,!0)}function E(t){return e.isObjectLiteralExpression(t)?t.properties:t.members}function S(t,r){for(var n=r.length-1;n>=0;n--){var i=r[n],a=i.span,o=i.newText;t="".concat(t.substring(0,a.start)).concat(o).concat(t.substring(e.textSpanEnd(a)))}return t}function C(t){var n=e.visitEachChild(t,C,e.nullTransformationContext,T,C),a=e.nodeIsSynthesized(n)?n:Object.create(n);return e.setTextRangePosEnd(a,r(t),i(t)),a}function T(t,n,a,o,s){var c=e.visitNodes(t,n,a,o,s);if(!c)return c;var u=c===t?e.factory.createNodeArray(c.slice(0)):c;return e.setTextRangePosEnd(u,r(t),i(t)),u}function k(t){var r=0,i=e.createTextWriter(t);function a(t,n){if(n||!function(t){return e.skipTrivia(t,0)===t.length}(t)){r=i.getTextPos();for(var a=0;e.isWhiteSpaceLike(t.charCodeAt(t.length-a-1));)a++;r-=a}}return{onBeforeEmitNode:function(e){e&&n(e,r)},onAfterEmitNode:function(e){e&&s(e,r)},onBeforeEmitNodeArray:function(e){e&&n(e,r)},onAfterEmitNodeArray:function(e){e&&s(e,r)},onBeforeEmitToken:function(e){e&&n(e,r)},onAfterEmitToken:function(e){e&&s(e,r)},write:function(e){i.write(e),a(e,!1)},writeComment:function(e){i.writeComment(e)},writeKeyword:function(e){i.writeKeyword(e),a(e,!1)},writeOperator:function(e){i.writeOperator(e),a(e,!1)},writePunctuation:function(e){i.writePunctuation(e),a(e,!1)},writeTrailingSemicolon:function(e){i.writeTrailingSemicolon(e),a(e,!1)},writeParameter:function(e){i.writeParameter(e),a(e,!1)},writeProperty:function(e){i.writeProperty(e),a(e,!1)},writeSpace:function(e){i.writeSpace(e),a(e,!1)},writeStringLiteral:function(e){i.writeStringLiteral(e),a(e,!1)},writeSymbol:function(e,t){i.writeSymbol(e,t),a(e,!1)},writeLine:function(e){i.writeLine(e)},increaseIndent:function(){i.increaseIndent()},decreaseIndent:function(){i.decreaseIndent()},getText:function(){return i.getText()},rawWrite:function(e){i.rawWrite(e),a(e,!1)},writeLiteral:function(e){i.writeLiteral(e),a(e,!0)},getTextPos:function(){return i.getTextPos()},getLine:function(){return i.getLine()},getColumn:function(){return i.getColumn()},getIndent:function(){return i.getIndent()},isAtStartOfLine:function(){return i.isAtStartOfLine()},hasTrailingComment:function(){return i.hasTrailingComment()},hasTrailingWhitespace:function(){return i.hasTrailingWhitespace()},clear:function(){i.clear(),r=0}}}function A(t,r){return!(e.isInComment(t,r)||e.isInString(t,r)||e.isInTemplateString(t,r)||e.isInJSXText(t,r))}function N(e,t,r,n){void 0===n&&(n={leadingTriviaOption:c.IncludeAll});var i=m(t,r,n),a=h(t,r,n);e.deleteRange(t,{pos:i,end:a})}function P(t,r,n,i){var a=e.Debug.checkDefined(e.formatting.SmartIndenter.getContainingList(i,n)),o=e.indexOfNode(a,i);e.Debug.assert(-1!==o),1!==a.length?(e.Debug.assert(!r.has(i),"Deleting a node twice"),r.add(i),t.deleteRange(n,{pos:x(n,i),end:o===a.length-1?h(n,i,{}):x(n,a[o+1])})):N(t,n,i)}t.ChangeTracker=b,t.getNewFileText=function(e,t,r,n){return v.newFileChangesWorker(void 0,t,e,r,n)},function(t){function r(t,r,i,a,o){var s=i.map((function(e){return 4===e?"":n(e,t,a).text})).join(a),c=e.createSourceFile("any file name",s,99,!0,r);return S(s,e.formatting.formatDocument(c,o))+a}function n(t,r,n){var i=k(n),a=e.getNewLineKind(n);return e.createPrinter({newLine:a,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},i).writeNode(4,t,r,i),{text:i.getText(),node:C(t)}}t.getTextChangesFromChanges=function(t,r,i,a){return e.mapDefined(e.group(t,(function(e){return e.sourceFile.path})),(function(t){for(var s=t[0].sourceFile,c=e.stableSort(t,(function(e,t){return e.range.pos-t.range.pos||e.range.end-t.range.end})),u=function(t){e.Debug.assert(c[t].range.end<=c[t+1].range.pos,"Changes overlap",(function(){return"".concat(JSON.stringify(c[t].range)," and ").concat(JSON.stringify(c[t+1].range))}))},l=0;l<c.length-1;l++)u(l);var p=e.mapDefined(c,(function(t){var c=e.createTextSpanFromRange(t.range),u=function(t,r,i,a,s){var c;if(t.kind===d.Remove)return"";if(t.kind===d.Text)return t.text;var u=t.options,l=void 0===u?{}:u,p=t.range.pos,f=function(t){return function(t,r,i,a,s,c,u){var l=a.indentation,p=a.prefix,d=a.delta,f=n(t,r,s),_=f.node,m=f.text;u&&u(_,m);var g=e.getFormatCodeSettingsForWriting(c,r),h=void 0!==l?l:e.formatting.SmartIndenter.getIndentation(i,r,g,p===s||e.getLineStartPositionForPosition(i,r)===i);void 0===d&&(d=e.formatting.SmartIndenter.shouldIndentChildNode(g,t)&&g.indentSize||0);var y={text:m,getLineAndCharacterOfPosition:function(t){return e.getLineAndCharacterOfPosition(this,t)}};return S(m,e.formatting.formatNodeGivenIndentation(_,y,r.languageVariant,h,d,o(o({},c),{options:g})))}(t,r,p,l,i,a,s)},_=t.kind===d.ReplaceWithMultipleNodes?t.nodes.map((function(t){return e.removeSuffix(f(t),i)})).join((null===(c=t.options)||void 0===c?void 0:c.joiner)||i):f(t.node),m=l.preserveLeadingWhitespace||void 0!==l.indentation||e.getLineStartPositionForPosition(p,r)===p?_:_.replace(/^\s+/,"");return(l.prefix||"")+m+(!l.suffix||e.endsWith(m,l.suffix)?"":l.suffix)}(t,s,r,i,a);if(c.length!==u.length||!e.stringContainsAt(s.text,u,c.start))return e.createTextChange(c,u)}));return p.length>0?{fileName:s.fileName,textChanges:p}:void 0}))},t.newFileChanges=function(t,n,i,a,o){var s=r(t,e.getScriptKindFromFileName(n),i,a,o);return{fileName:n,textChanges:[e.createTextChange(e.createTextSpan(0,0),s)],isNewFile:!0}},t.newFileChangesWorker=r,t.getNonformattedText=n}(v||(v={})),t.applyChanges=S,t.assignPositionsToNode=C,t.createWriter=k,t.isValidLocationToAddComment=A,function(t){function r(t,r,n){if(n.parent.name){var i=e.Debug.checkDefined(e.getTokenAtPosition(r,n.pos-1));t.deleteRange(r,{pos:i.getStart(r),end:n.end})}else N(t,r,e.getAncestor(n,265))}t.deleteDeclaration=function(t,n,i,a){switch(a.kind){case 163:var o=a.parent;e.isArrowFunction(o)&&1===o.parameters.length&&!e.findChildOfKind(o,20,i)?t.replaceNodeWithText(i,a,"()"):P(t,n,i,a);break;case 265:case 264:N(t,i,a,{leadingTriviaOption:i.imports.length&&a===e.first(i.imports).parent||a===e.find(i.statements,e.isAnyImportSyntax)?c.Exclude:e.hasJSDocNodes(a)?c.JSDoc:c.StartLine});break;case 202:var s=a.parent;201===s.kind&&a!==e.last(s.elements)?N(t,i,a):P(t,n,i,a);break;case 253:!function(t,r,n,i){var a=i.parent;if(291!==a.kind)if(1===a.declarations.length){var o=a.parent;switch(o.kind){case 243:case 242:t.replaceNode(n,i,e.factory.createObjectLiteralExpression());break;case 241:N(t,n,a);break;case 236:N(t,n,o,{leadingTriviaOption:e.hasJSDocNodes(o)?c.JSDoc:c.StartLine});break;default:e.Debug.assertNever(o)}}else P(t,r,n,i);else t.deleteNodeRange(n,e.findChildOfKind(a,20,n),e.findChildOfKind(a,21,n))}(t,n,i,a);break;case 162:P(t,n,i,a);break;case 269:var u=a.parent;1===u.elements.length?r(t,i,u):P(t,n,i,a);break;case 267:r(t,i,a);break;case 26:N(t,i,a,{trailingTriviaOption:l.Exclude});break;case 98:N(t,i,a,{leadingTriviaOption:c.Exclude});break;case 256:case 255:N(t,i,a,{leadingTriviaOption:e.hasJSDocNodes(a)?c.JSDoc:c.StartLine});break;default:a.parent?e.isImportClause(a.parent)&&a.parent.name===a?function(t,r,n){if(n.namedBindings){var i=n.name.getStart(r),a=e.getTokenAtPosition(r,n.name.end);if(a&&27===a.kind){var o=e.skipTrivia(r.text,a.end,!1,!0);t.deleteRange(r,{pos:i,end:o})}else N(t,r,n.name)}else N(t,r,n.parent)}(t,i,a.parent):e.isCallExpression(a.parent)&&e.contains(a.parent.arguments,a)?P(t,n,i,a):N(t,i,a):N(t,i,a)}}}(D||(D={})),t.deleteNode=N}(e.textChanges||(e.textChanges={}))}(n||(n={})),function(e){!function(t){var r=e.createMultiMap(),n=new e.Map;function i(e,t,r,n,i,a){return{fixName:e,description:t,changes:r,fixId:n,fixAllDescription:i,commands:a?[a]:void 0}}function s(e,t){return{changes:e,commands:t}}function c(t,r,n){for(var i=0,a=l(t);i<a.length;i++){var o=a[i];e.contains(r,o.code)&&n(o)}}function l(t){var r=t.program,n=t.sourceFile,i=t.cancellationToken;return a(a(a([],r.getSemanticDiagnostics(n,i),!0),r.getSyntacticDiagnostics(n,i),!0),e.computeSuggestionDiagnostics(n,r,i),!0)}t.createCodeFixActionWithoutFixAll=function(t,r,n){return i(t,e.diagnosticToString(n),r,void 0,void 0)},t.createCodeFixAction=function(t,r,n,a,o,s){return i(t,e.diagnosticToString(n),r,a,e.diagnosticToString(o),s)},t.createCodeFixActionMaybeFixAll=function(t,r,n,a,o,s){return i(t,e.diagnosticToString(n),r,a,o&&e.diagnosticToString(o),s)},t.registerCodeFix=function(t){for(var i=0,a=t.errorCodes;i<a.length;i++){var o=a[i];r.add(String(o),t)}if(t.fixIds)for(var s=0,c=t.fixIds;s<c.length;s++){var u=c[s];e.Debug.assert(!n.has(u)),n.set(u,t)}},t.getSupportedErrorCodes=function(){return e.arrayFrom(r.keys())},t.getFixes=function(t){var n=l(t),i=r.get(String(t.errorCode));return e.flatMap(i,(function(r){return e.map(r.getCodeActions(t),function(t,r){for(var n=t.errorCodes,i=0,a=0,s=r;a<s.length;a++){var c=s[a];if(e.contains(n,c.code)&&i++,i>1)break}var l=i<2;return function(e){var t=e.fixId,r=e.fixAllDescription,n=u(e,["fixId","fixAllDescription"]);return l?n:o(o({},n),{fixId:t,fixAllDescription:r})}}(r,n))}))},t.getAllFixes=function(t){return n.get(e.cast(t.fixId,e.isString)).getAllCodeActions(t)},t.createCombinedCodeActions=s,t.createFileTextChanges=function(e,t){return{fileName:e,textChanges:t}},t.codeFixAll=function(t,r,n){var i=[];return s(e.textChanges.ChangeTracker.with(t,(function(e){return c(t,r,(function(t){return n(e,t,i)}))})),0===i.length?void 0:i)},t.eachDiagnostic=c}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){var t,r;t=e.refactor||(e.refactor={}),r=new e.Map,t.registerRefactor=function(e,t){r.set(e,t)},t.getApplicableRefactors=function(n){return e.arrayFrom(e.flatMapIterator(r.values(),(function(e){var r;return n.cancellationToken&&n.cancellationToken.isCancellationRequested()||null===(r=e.kinds)||void 0===r||!r.some((function(e){return t.refactorKindBeginsWith(e,n.kind)}))?void 0:e.getAvailableActions(n)})))},t.getEditsForRefactor=function(e,t,n){var i=r.get(t);return i&&i.getEditsForAction(e,n)}}(n||(n={})),function(e){!function(t){var r="addConvertToUnknownForNonOverlappingTypes",n=[e.Diagnostics.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first.code];function i(t,r,n){var i=e.isAsExpression(n)?e.factory.createAsExpression(n.expression,e.factory.createKeywordTypeNode(154)):e.factory.createTypeAssertion(e.factory.createKeywordTypeNode(154),n.expression);t.replaceNode(r,n.expression,i)}function a(t,r){if(!e.isInJSFile(t))return e.findAncestor(e.getTokenAtPosition(t,r),(function(t){return e.isAsExpression(t)||e.isTypeAssertionExpression(t)}))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=a(n.sourceFile,n.span.start);if(void 0!==o){var s=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,o)}));return[t.createCodeFixAction(r,s,e.Diagnostics.Add_unknown_conversion_for_non_overlapping_types,r,e.Diagnostics.Add_unknown_to_all_conversions_of_non_overlapping_types)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){var r=a(t.file,t.start);r&&i(e,t.file,r)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){var t;(t=e.codefix||(e.codefix={})).registerCodeFix({errorCodes:[e.Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,e.Diagnostics.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code],getCodeActions:function(r){var n=r.sourceFile,i=e.textChanges.ChangeTracker.with(r,(function(t){var r=e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([]),void 0);t.insertNodeAtEndOfScope(n,n,r)}));return[t.createCodeFixActionWithoutFixAll("addEmptyExportDeclaration",i,e.Diagnostics.Add_export_to_make_this_file_into_a_module)]}})}(n||(n={})),function(e){!function(t){var r="addMissingAsync",n=[e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Type_0_is_not_comparable_to_type_1.code];function i(n,i,a,o){var s=a((function(t){return function(t,r,n,i){if(!i||!i.has(e.getNodeId(n))){null==i||i.add(e.getNodeId(n));var a=e.factory.updateModifiers(e.getSynthesizedDeepClone(n,!0),e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(256|e.getSyntacticModifierFlags(n))));t.replaceNode(r,n,a)}}(t,n.sourceFile,i,o)}));return t.createCodeFixAction(r,s,e.Diagnostics.Add_async_modifier_to_containing_function,r,e.Diagnostics.Add_all_missing_async_modifiers)}function a(t,r){if(r){var n=e.getTokenAtPosition(t,r.start);return e.findAncestor(n,(function(n){return n.getStart(t)<r.start||n.getEnd()>e.textSpanEnd(r)?"quit":(e.isArrowFunction(n)||e.isMethodDeclaration(n)||e.isFunctionExpression(n)||e.isFunctionDeclaration(n))&&e.textSpansEqual(r,e.createTextSpanFromNode(n,t))}))}}t.registerCodeFix({fixIds:[r],errorCodes:n,getCodeActions:function(t){var r=t.sourceFile,n=t.errorCode,o=t.cancellationToken,s=t.program,c=t.span,u=e.find(s.getDiagnosticsProducingTypeChecker().getDiagnostics(r,o),function(t,r){return function(n){var i=n.start,a=n.length,o=n.relatedInformation,s=n.code;return e.isNumber(i)&&e.isNumber(a)&&e.textSpansEqual({start:i,length:a},t)&&s===r&&!!o&&e.some(o,(function(t){return t.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}))}}(c,n)),l=a(r,u&&u.relatedInformation&&e.find(u.relatedInformation,(function(t){return t.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})));if(l)return[i(t,l,(function(r){return e.textChanges.ChangeTracker.with(t,r)}))]},getAllCodeActions:function(r){var o=r.sourceFile,s=new e.Set;return t.codeFixAll(r,n,(function(t,n){var c=n.relatedInformation&&e.find(n.relatedInformation,(function(t){return t.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})),u=a(o,c);if(u)return i(r,u,(function(e){return e(t),[]}),s)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="addMissingAwait",n=e.Diagnostics.Property_0_does_not_exist_on_type_1.code,i=[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],o=a([e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,e.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap.code,e.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined.code,e.Diagnostics.Type_0_is_not_an_array_type.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators.code,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.code,e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,n],i,!0);function s(t,r,n,i,a){var o=e.getFixableErrorSpanExpression(t,n);return o&&function(t,r,n,i,a){var o=a.getDiagnosticsProducingTypeChecker().getDiagnostics(t,i);return e.some(o,(function(t){var i=t.start,a=t.length,o=t.relatedInformation,s=t.code;return e.isNumber(i)&&e.isNumber(a)&&e.textSpansEqual({start:i,length:a},n)&&s===r&&!!o&&e.some(o,(function(t){return t.code===e.Diagnostics.Did_you_forget_to_use_await.code}))}))}(t,r,n,i,a)&&l(o)?o:void 0}function c(r,n,i,a,s,c){var u=r.sourceFile,d=r.program,f=r.cancellationToken,_=function(t,r,n,i,a){var s=function(t,r){if(e.isPropertyAccessExpression(t.parent)&&e.isIdentifier(t.parent.expression))return{identifiers:[t.parent.expression],isCompleteFix:!0};if(e.isIdentifier(t))return{identifiers:[t],isCompleteFix:!0};if(e.isBinaryExpression(t)){for(var n=void 0,i=!0,a=0,o=[t.left,t.right];a<o.length;a++){var s=o[a],c=r.getTypeAtLocation(s);if(r.getPromisedTypeOfPromise(c)){if(!e.isIdentifier(s)){i=!1;continue}(n||(n=[])).push(s)}}return n&&{identifiers:n,isCompleteFix:i}}}(t,a);if(s){for(var c,u=s.isCompleteFix,p=function(t){var s=a.getSymbolAtLocation(t);if(!s)return"continue";var p=e.tryCast(s.valueDeclaration,e.isVariableDeclaration),d=p&&e.tryCast(p.name,e.isIdentifier),f=e.getAncestor(p,236);if(!p||!f||p.type||!p.initializer||f.getSourceFile()!==r||e.hasSyntacticModifier(f,1)||!d||!l(p.initializer))return u=!1,"continue";var _=i.getSemanticDiagnostics(r,n);if(e.FindAllReferences.Core.eachSymbolReferenceInFile(d,a,r,(function(n){return t!==n&&!function(t,r,n,i){var a=e.isPropertyAccessExpression(t.parent)?t.parent.name:e.isBinaryExpression(t.parent)?t.parent:t,s=e.find(r,(function(e){return e.start===a.getStart(n)&&e.start+e.length===a.getEnd()}));return s&&e.contains(o,s.code)||1&i.getTypeAtLocation(a).flags}(n,_,r,a)})))return u=!1,"continue";(c||(c=[])).push({expression:p.initializer,declarationSymbol:s})},d=0,f=s.identifiers;d<f.length;d++)p(f[d]);return c&&{initializers:c,needsSecondPassForFixAll:!u}}}(n,u,f,d,a);if(_){var m=s((function(t){e.forEach(_.initializers,(function(e){var r=e.expression;return p(t,i,u,a,r,c)})),c&&_.needsSecondPassForFixAll&&p(t,i,u,a,n,c)}));return t.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",m,1===_.initializers.length?[e.Diagnostics.Add_await_to_initializer_for_0,_.initializers[0].declarationSymbol.name]:e.Diagnostics.Add_await_to_initializers)}}function u(n,i,a,o,s,c){var u=s((function(e){return p(e,a,n.sourceFile,o,i,c)}));return t.createCodeFixAction(r,u,e.Diagnostics.Add_await,r,e.Diagnostics.Fix_all_expressions_possibly_missing_await)}function l(t){return 32768&t.kind||!!e.findAncestor(t,(function(t){return t.parent&&e.isArrowFunction(t.parent)&&t.parent.body===t||e.isBlock(t)&&(255===t.parent.kind||212===t.parent.kind||213===t.parent.kind||168===t.parent.kind)}))}function p(t,r,a,o,s,c){if(e.isBinaryExpression(s))for(var u=0,l=[s.left,s.right];u<l.length;u++){var p=l[u];if(!(c&&e.isIdentifier(p)&&(m=o.getSymbolAtLocation(p))&&c.has(e.getSymbolId(m)))){var f=o.getTypeAtLocation(p),_=o.getPromisedTypeOfPromise(f)?e.factory.createAwaitExpression(p):p;t.replaceNode(a,p,_)}}else if(r===n&&e.isPropertyAccessExpression(s.parent)){if(c&&e.isIdentifier(s.parent.expression)&&(m=o.getSymbolAtLocation(s.parent.expression))&&c.has(e.getSymbolId(m)))return;t.replaceNode(a,s.parent.expression,e.factory.createParenthesizedExpression(e.factory.createAwaitExpression(s.parent.expression))),d(t,s.parent.expression,a)}else if(e.contains(i,r)&&e.isCallOrNewExpression(s.parent)){if(c&&e.isIdentifier(s)&&(m=o.getSymbolAtLocation(s))&&c.has(e.getSymbolId(m)))return;t.replaceNode(a,s,e.factory.createParenthesizedExpression(e.factory.createAwaitExpression(s))),d(t,s,a)}else{var m;if(c&&e.isVariableDeclaration(s.parent)&&e.isIdentifier(s.parent.name)&&(m=o.getSymbolAtLocation(s.parent.name))&&!e.tryAddToSet(c,e.getSymbolId(m)))return;t.replaceNode(a,s,e.factory.createAwaitExpression(s))}}function d(t,r,n){var i=e.findPrecedingToken(r.pos,n);i&&e.positionIsASICandidate(i.end,i.parent,n)&&t.insertText(n,r.getStart(n),";")}t.registerCodeFix({fixIds:[r],errorCodes:o,getCodeActions:function(t){var r=t.sourceFile,n=t.errorCode,i=s(r,n,t.span,t.cancellationToken,t.program);if(i){var a=t.program.getTypeChecker(),o=function(r){return e.textChanges.ChangeTracker.with(t,r)};return e.compact([c(t,i,n,a,o),u(t,i,n,a,o)])}},getAllCodeActions:function(r){var n=r.sourceFile,i=r.program,a=r.cancellationToken,l=r.program.getTypeChecker(),p=new e.Set;return t.codeFixAll(r,o,(function(e,t){var o=s(n,t.code,t,a,i);if(o){var d=function(t){return t(e),[]};return c(r,o,t.code,l,d,p)||u(r,o,t.code,l,d,p)}}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="addMissingConst",n=[e.Diagnostics.Cannot_find_name_0.code,e.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code];function i(t,r,n,i,s){var c=e.getTokenAtPosition(r,n),u=e.findAncestor(c,(function(t){return e.isForInOrOfStatement(t.parent)?t.parent.initializer===t:!function(e){switch(e.kind){case 79:case 203:case 204:case 294:case 295:return!0;default:return!1}}(t)&&"quit"}));if(u)return a(t,u,r,s);var l=c.parent;if(e.isBinaryExpression(l)&&63===l.operatorToken.kind&&e.isExpressionStatement(l.parent))return a(t,c,r,s);if(e.isArrayLiteralExpression(l)){var p=i.getTypeChecker();return e.every(l.elements,(function(t){return function(t,r){var n=e.isIdentifier(t)?t:e.isAssignmentExpression(t,!0)&&e.isIdentifier(t.left)?t.left:void 0;return!!n&&!r.getSymbolAtLocation(n)}(t,p)}))?a(t,l,r,s):void 0}var d=e.findAncestor(c,(function(t){return!!e.isExpressionStatement(t.parent)||!function(e){switch(e.kind){case 79:case 220:case 27:return!0;default:return!1}}(t)&&"quit"}));return d&&o(d,i.getTypeChecker())?a(t,d,r,s):void 0}function a(t,r,n,i){(!i||e.tryAddToSet(i,r))&&t.insertModifierBefore(n,85,r)}function o(t,r){return!!e.isBinaryExpression(t)&&(27===t.operatorToken.kind?e.every([t.left,t.right],(function(e){return o(e,r)})):63===t.operatorToken.kind&&e.isIdentifier(t.left)&&!r.getSymbolAtLocation(t.left))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span.start,n.program)}));if(a.length>0)return[t.createCodeFixAction(r,a,e.Diagnostics.Add_const_to_unresolved_variable,r,e.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[r],getAllCodeActions:function(r){var a=new e.Set;return t.codeFixAll(r,n,(function(e,t){return i(e,t.file,t.start,r.program,a)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="addMissingDeclareProperty",n=[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 i(t,r,n,i){var a=e.getTokenAtPosition(r,n);if(e.isIdentifier(a)){var o=a.parent;166===o.kind&&(!i||e.tryAddToSet(i,o))&&t.insertModifierBefore(r,135,o)}}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span.start)}));if(a.length>0)return[t.createCodeFixAction(r,a,e.Diagnostics.Prefix_with_declare,r,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[r],getAllCodeActions:function(r){var a=new e.Set;return t.codeFixAll(r,n,(function(e,t){return i(e,t.file,t.start,a)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="addMissingInvocationForDecorator",n=[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 i(t,r,n){var i=e.getTokenAtPosition(r,n),a=e.findAncestor(i,e.isDecorator);e.Debug.assert(!!a,"Expected position to be owned by a decorator.");var o=e.factory.createCallExpression(a.expression,void 0,void 0);t.replaceNode(r,a.expression,o)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span.start)}));return[t.createCodeFixAction(r,a,e.Diagnostics.Call_decorator_expression,r,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return i(e,t.file,t.start)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="addNameToNamelessParameter",n=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];function i(t,r,n){var i=e.getTokenAtPosition(r,n),a=i.parent;if(!e.isParameter(a))return e.Debug.fail("Tried to add a parameter name to a non-parameter: "+e.Debug.formatSyntaxKind(i.kind));var o=a.parent.parameters.indexOf(a);e.Debug.assert(!a.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.factory.createTypeReferenceNode(a.name,void 0),c=e.factory.createParameterDeclaration(void 0,a.modifiers,a.dotDotDotToken,"arg"+o,a.questionToken,a.dotDotDotToken?e.factory.createArrayTypeNode(s):s,a.initializer);t.replaceNode(r,a,c)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span.start)}));return[t.createCodeFixAction(r,a,e.Diagnostics.Add_parameter_name,r,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return i(e,t.file,t.start)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="addOptionalPropertyUndefined",n=[e.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code];function i(t,r,n){var i,a,s=o(e.getFixableErrorSpanExpression(t,r),n);if(!s)return e.emptyArray;var c=s.source,u=s.target,l=function(t,r,n){return e.isPropertyAccessExpression(r)&&!!n.getExactOptionalProperties(n.getTypeAtLocation(r.expression)).length&&n.getTypeAtLocation(t)===n.getUndefinedType()}(c,u,n)?n.getTypeAtLocation(u.expression):n.getTypeAtLocation(u);return null!==(a=null===(i=l.symbol)||void 0===i?void 0:i.declarations)&&void 0!==a&&a.some((function(t){return e.getSourceFileOfNode(t).fileName.match(/\.d\.ts$/)}))?e.emptyArray:n.getExactOptionalProperties(l)}function o(t,r){var n;if(t){if(e.isBinaryExpression(t.parent)&&63===t.parent.operatorToken.kind)return{source:t.parent.right,target:t.parent.left};if(e.isVariableDeclaration(t.parent)&&t.parent.initializer)return{source:t.parent.initializer,target:t.parent.name};if(e.isCallExpression(t.parent)){var i=r.getSymbolAtLocation(t.parent.expression);if(null==i||!i.valueDeclaration||!e.isFunctionLikeKind(i.valueDeclaration.kind)||!e.isExpression(t))return;var a=t.parent.arguments.indexOf(t);if(-1===a)return;var s=i.valueDeclaration.parameters[a].name;if(e.isIdentifier(s))return{source:t,target:s}}else if(e.isPropertyAssignment(t.parent)&&e.isIdentifier(t.parent.name)||e.isShorthandPropertyAssignment(t.parent)){var c=o(t.parent.parent,r);if(!c)return;var u=r.getPropertyOfType(r.getTypeAtLocation(c.target),t.parent.name.text),l=null===(n=null==u?void 0:u.declarations)||void 0===n?void 0:n[0];return l?{source:e.isPropertyAssignment(t.parent)?t.parent.initializer:t.parent.name,target:l}:void 0}}}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.program.getTypeChecker(),s=i(n.sourceFile,n.span,o);if(s.length){var c=e.textChanges.ChangeTracker.with(n,(function(t){return function(t,r){for(var n=0,i=r;n<i.length;n++){var o=i[n].valueDeclaration;if(o&&(e.isPropertySignature(o)||e.isPropertyDeclaration(o))&&o.type){var s=e.factory.createUnionTypeNode(a(a([],186===o.type.kind?o.type.types:[o.type],!0),[e.factory.createTypeReferenceNode("undefined")],!1));t.replaceNode(o.getSourceFile(),o.type,s)}}}(t,s)}));return[t.createCodeFixActionWithoutFixAll(r,c,e.Diagnostics.Add_undefined_to_optional_property_type)]}},fixIds:[r]})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="annotateWithTypeFromJSDoc",n=[e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];function i(t,r){var n=e.getTokenAtPosition(t,r);return e.tryCast(e.isParameter(n.parent)?n.parent.parent:n.parent,a)}function a(t){return function(t){return e.isFunctionLikeDeclaration(t)||253===t.kind||165===t.kind||166===t.kind}(t)&&o(t)}function o(t){return e.isFunctionLikeDeclaration(t)?t.parameters.some(o)||!t.type&&!!e.getJSDocReturnType(t):!t.type&&!!e.getJSDocType(t)}function s(t,r,n){if(e.isFunctionLikeDeclaration(n)&&(e.getJSDocReturnType(n)||n.parameters.some((function(t){return!!e.getJSDocType(t)})))){if(!n.typeParameters){var i=e.getJSDocTypeParameterDeclarations(n);i.length&&t.insertTypeParameters(r,n,i)}var a=e.isArrowFunction(n)&&!e.findChildOfKind(n,20,r);a&&t.insertNodeBefore(r,e.first(n.parameters),e.factory.createToken(20));for(var o=0,s=n.parameters;o<s.length;o++){var u=s[o];if(!u.type){var l=e.getJSDocType(u);l&&t.tryInsertTypeAnnotation(r,u,c(l))}}if(a&&t.insertNodeAfter(r,e.last(n.parameters),e.factory.createToken(21)),!n.type){var p=e.getJSDocReturnType(n);p&&t.tryInsertTypeAnnotation(r,n,c(p))}}else{var d=e.Debug.checkDefined(e.getJSDocType(n),"A JSDocType for this declaration should exist");e.Debug.assert(!n.type,"The JSDocType decl should have a type"),t.tryInsertTypeAnnotation(r,n,c(d))}}function c(t){switch(t.kind){case 310:case 311:return e.factory.createTypeReferenceNode("any",e.emptyArray);case 314:return function(t){return e.factory.createUnionTypeNode([e.visitNode(t.type,c),e.factory.createTypeReferenceNode("undefined",e.emptyArray)])}(t);case 313:return c(t.type);case 312:return function(t){return e.factory.createUnionTypeNode([e.visitNode(t.type,c),e.factory.createTypeReferenceNode("null",e.emptyArray)])}(t);case 316:return function(t){return e.factory.createArrayTypeNode(e.visitNode(t.type,c))}(t);case 315:return function(t){var r;return e.factory.createFunctionTypeNode(e.emptyArray,t.parameters.map(u),null!==(r=t.type)&&void 0!==r?r:e.factory.createKeywordTypeNode(130))}(t);case 177:return function(t){var r=t.typeName,n=t.typeArguments;if(e.isIdentifier(t.typeName)){if(e.isJSDocIndexSignature(t))return function(t){var r=e.factory.createParameterDeclaration(void 0,void 0,void 0,146===t.typeArguments[0].kind?"n":"s",void 0,e.factory.createTypeReferenceNode(146===t.typeArguments[0].kind?"number":"string",[]),void 0),n=e.factory.createTypeLiteralNode([e.factory.createIndexSignature(void 0,void 0,[r],t.typeArguments[1])]);return e.setEmitFlags(n,1),n}(t);var i=t.typeName.text;switch(t.typeName.text){case"String":case"Boolean":case"Object":case"Number":i=i.toLowerCase();break;case"array":case"date":case"promise":i=i[0].toUpperCase()+i.slice(1)}r=e.factory.createIdentifier(i),n="Array"!==i&&"Promise"!==i||t.typeArguments?e.visitNodes(t.typeArguments,c):e.factory.createNodeArray([e.factory.createTypeReferenceNode("any",e.emptyArray)])}return e.factory.createTypeReferenceNode(r,n)}(t);default:var r=e.visitEachChild(t,c,e.nullTransformationContext);return e.setEmitFlags(r,1),r}}function u(t){var r=t.parent.parameters.indexOf(t),n=316===t.type.kind&&r===t.parent.parameters.length-1,i=t.name||(n?"rest":"arg"+r),a=n?e.factory.createToken(25):t.dotDotDotToken;return e.factory.createParameterDeclaration(t.decorators,t.modifiers,a,i,t.questionToken,e.visitNode(t.type,c),t.initializer)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=i(n.sourceFile,n.span.start);if(a){var o=e.textChanges.ChangeTracker.with(n,(function(e){return s(e,n.sourceFile,a)}));return[t.createCodeFixAction(r,o,e.Diagnostics.Annotate_with_type_from_JSDoc,r,e.Diagnostics.Annotate_everything_with_types_from_JSDoc)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){var r=i(t.file,t.start);r&&s(e,t.file,r)}))}}),t.parameterShouldGetTypeFromJSDoc=a}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="convertFunctionToEs6Class",n=[e.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration.code];function i(t,r,n,i,s,c){var u=i.getSymbolAtLocation(e.getTokenAtPosition(r,n));if(u&&u.valueDeclaration&&19&u.flags){var l=u.valueDeclaration;if(e.isFunctionDeclaration(l))t.replaceNode(r,l,function(t){var r=f(u);t.body&&r.unshift(e.factory.createConstructorDeclaration(void 0,void 0,t.parameters,t.body));var n=a(t,93);return e.factory.createClassDeclaration(void 0,n,t.name,void 0,void 0,r)}(l));else if(e.isVariableDeclaration(l)){var p=function(t){var r=t.initializer;if(r&&e.isFunctionExpression(r)&&e.isIdentifier(t.name)){var n=f(t.symbol);r.body&&n.unshift(e.factory.createConstructorDeclaration(void 0,void 0,r.parameters,r.body));var i=a(t.parent.parent,93);return e.factory.createClassDeclaration(void 0,i,t.name,void 0,void 0,n)}}(l);if(!p)return;var d=l.parent.parent;e.isVariableDeclarationList(l.parent)&&l.parent.declarations.length>1?(t.delete(r,l),t.insertNodeAfter(r,d,p)):t.replaceNode(r,d,p)}}function f(n){var i=[];return n.members&&n.members.forEach((function(e,n){if("constructor"===n&&e.valueDeclaration)t.delete(r,e.valueDeclaration.parent);else{var a=u(e,void 0);a&&i.push.apply(i,a)}})),n.exports&&n.exports.forEach((function(t){if("prototype"===t.name&&t.declarations){var r=t.declarations[0];1===t.declarations.length&&e.isPropertyAccessExpression(r)&&e.isBinaryExpression(r.parent)&&63===r.parent.operatorToken.kind&&e.isObjectLiteralExpression(r.parent.right)&&(n=u(r.parent.right.symbol,void 0))&&i.push.apply(i,n)}else{var n;(n=u(t,[e.factory.createToken(124)]))&&i.push.apply(i,n)}})),i;function u(n,i){var u=[];if(!(8192&n.flags||4096&n.flags))return u;var l=n.valueDeclaration,p=l.parent,d=p.right;if(!function(t,r){return e.isAccessExpression(t)?!(!e.isPropertyAccessExpression(t)||!o(t))||e.isFunctionLike(r):e.every(t.properties,(function(t){return!!(e.isMethodDeclaration(t)||e.isGetOrSetAccessorDeclaration(t)||e.isPropertyAssignment(t)&&e.isFunctionExpression(t.initializer)&&t.name||o(t))}))}(l,d))return u;var f=p.parent&&237===p.parent.kind?p.parent:p;if(t.delete(r,f),!d)return u.push(e.factory.createPropertyDeclaration([],i,n.name,void 0,void 0,void 0)),u;if(e.isAccessExpression(l)&&(e.isFunctionExpression(d)||e.isArrowFunction(d))){var _=e.getQuotePreference(r,s),m=function(t,r,n){if(e.isPropertyAccessExpression(t))return t.name;var i=t.argumentExpression;return e.isNumericLiteral(i)?i:e.isStringLiteralLike(i)?e.isIdentifierText(i.text,e.getEmitScriptTarget(r))?e.factory.createIdentifier(i.text):e.isNoSubstitutionTemplateLiteral(i)?e.factory.createStringLiteral(i.text,0===n):i:void 0}(l,c,_);return m?h(u,d,m):u}if(e.isObjectLiteralExpression(d))return e.flatMap(d.properties,(function(t){return e.isMethodDeclaration(t)||e.isGetOrSetAccessorDeclaration(t)?u.concat(t):e.isPropertyAssignment(t)&&e.isFunctionExpression(t.initializer)?h(u,t.initializer,t.name):o(t)?u:[]}));if(e.isSourceFileJS(r)||!e.isPropertyAccessExpression(l))return u;var g=e.factory.createPropertyDeclaration(void 0,i,l.name,void 0,void 0,d);return e.copyLeadingComments(p.parent,g,r),u.push(g),u;function h(t,n,o){return e.isFunctionExpression(n)?function(t,n,o){var s=e.concatenate(i,a(n,131)),c=e.factory.createMethodDeclaration(void 0,s,void 0,o,void 0,void 0,n.parameters,void 0,n.body);return e.copyLeadingComments(p,c,r),t.concat(c)}(t,n,o):function(t,n,o){var s,c=n.body;s=234===c.kind?c:e.factory.createBlock([e.factory.createReturnStatement(c)]);var u=e.concatenate(i,a(n,131)),l=e.factory.createMethodDeclaration(void 0,u,void 0,o,void 0,void 0,n.parameters,void 0,s);return e.copyLeadingComments(p,l,r),t.concat(l)}(t,n,o)}}}}function a(t,r){return e.filter(t.modifiers,(function(e){return e.kind===r}))}function o(t){return!!t.name&&!(!e.isIdentifier(t.name)||"constructor"!==t.name.text)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span.start,n.program.getTypeChecker(),n.preferences,n.program.getCompilerOptions())}));return[t.createCodeFixAction(r,a,e.Diagnostics.Convert_function_to_an_ES2015_class,r,e.Diagnostics.Convert_all_constructor_functions_to_classes)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){return i(t,r.file,r.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions())}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r,n,i="convertToAsyncFunction",o=[e.Diagnostics.This_may_be_converted_to_an_async_function.code],s=!0;function c(t,r,n,i){var a,o=e.getTokenAtPosition(r,n);if(a=e.isIdentifier(o)&&e.isVariableDeclaration(o.parent)&&o.parent.initializer&&e.isFunctionLikeDeclaration(o.parent.initializer)?o.parent.initializer:e.tryCast(e.getContainingFunction(e.getTokenAtPosition(r,n)),e.canBeConvertedToAsync)){var s=new e.Map,c=e.isInJSFile(a),l=function(t,r){if(!t.body)return new e.Set;var n=new e.Set;return e.forEachChild(t.body,(function t(i){u(i,r,"then")?(n.add(e.getNodeId(i)),e.forEach(i.arguments,t)):u(i,r,"catch")||u(i,r,"finally")?(n.add(e.getNodeId(i)),e.forEachChild(i,t)):d(i,r)?n.add(e.getNodeId(i)):e.forEachChild(i,t)})),n}(a,i),p=function(t,r,n){var i=new e.Map,a=e.createMultiMap();return e.forEachChild(t,(function t(o){if(e.isIdentifier(o)){var s=r.getSymbolAtLocation(o);if(s){var c=C(r.getTypeAtLocation(o),r),u=e.getSymbolId(s).toString();if(!c||e.isParameter(o.parent)||e.isFunctionLikeDeclaration(o.parent)||n.has(u)){if(o.parent&&(e.isParameter(o.parent)||e.isVariableDeclaration(o.parent)||e.isBindingElement(o.parent))){var l=o.text,p=a.get(l);if(p&&p.some((function(e){return e!==s}))){var d=f(o,a);i.set(u,d.identifier),n.set(u,d),a.add(l,s)}else{var _=e.getSynthesizedDeepClone(o);n.set(u,N(_)),a.add(l,s)}}}else{var m=e.firstOrUndefined(c.parameters),g=(null==m?void 0:m.valueDeclaration)&&e.isParameter(m.valueDeclaration)&&e.tryCast(m.valueDeclaration.name,e.isIdentifier)||e.factory.createUniqueName("result",16),h=f(g,a);n.set(u,h),a.add(g.text,s)}}}else e.forEachChild(o,t)})),e.getSynthesizedDeepCloneWithReplacements(t,!0,(function(t){if(e.isBindingElement(t)&&e.isIdentifier(t.name)&&e.isObjectBindingPattern(t.parent)){if((a=(n=r.getSymbolAtLocation(t.name))&&i.get(String(e.getSymbolId(n))))&&a.text!==(t.name||t.propertyName).getText())return e.factory.createBindingElement(t.dotDotDotToken,t.propertyName||t.name,a,t.initializer)}else if(e.isIdentifier(t)){var n,a;if(a=(n=r.getSymbolAtLocation(t))&&i.get(String(e.getSymbolId(n))))return e.factory.createIdentifier(a.text)}}))}(a,i,s);if(e.returnsPromise(p,i)){var m=p.body&&e.isBlock(p.body)?function(t,r){var n=[];return e.forEachReturnStatement(t,(function(t){e.isReturnStatementWithFixablePromiseHandler(t,r)&&n.push(t)})),n}(p.body,i):e.emptyArray,h={checker:i,synthNamesMap:s,setOfExpressionsToReturn:l,isInJSFile:c};if(m.length){var y=a.modifiers?a.modifiers.end:a.decorators?e.skipTrivia(r.text,a.decorators.end):a.getStart(r),v=a.modifiers?{prefix:" "}:{suffix:" "};t.insertModifierAt(r,y,131,v);for(var D=function(n){if(e.forEachChild(n,(function i(a){if(e.isCallExpression(a)){var o=g(a,a,h,!1);if(_())return!0;t.replaceNodeWithNodes(r,n,o)}else if(!e.isFunctionLike(a)&&(e.forEachChild(a,i),_()))return!0})),_())return{value:void 0}},b=0,x=m;b<x.length;b++){var E=D(x[b]);if("object"==typeof E)return E.value}}}}}function u(t,r,n){if(!e.isCallExpression(t))return!1;var i=e.hasPropertyAccessExpressionWithName(t,n)&&r.getTypeAtLocation(t);return!(!i||!r.getPromisedTypeOfPromise(i))}function l(t,r){return 0!=(4&e.getObjectFlags(t))&&t.target===r}function p(t,r,n){if("finally"!==t.expression.name.escapedText){var i=n.getTypeAtLocation(t.expression.expression);if(l(i,n.getPromiseType())||l(i,n.getPromiseLikeType())){if("then"!==t.expression.name.escapedText)return e.elementAt(t.typeArguments,0);if(r===e.elementAt(t.arguments,0))return e.elementAt(t.typeArguments,0);if(r===e.elementAt(t.arguments,1))return e.elementAt(t.typeArguments,1)}}}function d(t,r){return!!e.isExpression(t)&&!!r.getPromisedTypeOfPromise(r.getTypeAtLocation(t))}function f(t,r){var n=(r.get(t.text)||e.emptyArray).length;return N(0===n?t:e.factory.createIdentifier(t.text+"_"+n))}function _(){return!s}function m(){return s=!1,e.emptyArray}function g(t,r,n,i,a){if(u(r,n.checker,"then"))return function(t,r,n,i,a,o){if(!r||h(i,r))return D(t,n,i,a,o);if(n&&!h(i,n))return m();var s=k(r,i),c=g(t.expression.expression,t.expression.expression,i,!0,s);if(_())return m();var u=E(r,a,o,s,t,i);return _()?m():e.concatenate(c,u)}(r,e.elementAt(r.arguments,0),e.elementAt(r.arguments,1),n,i,a);if(u(r,n.checker,"catch"))return D(r,e.elementAt(r.arguments,0),n,i,a);if(u(r,n.checker,"finally"))return function(t,r,n,i,a){if(!r||h(n,r))return g(t,t.expression.expression,n,i,a);var o=y(t,n,a),s=g(t,t.expression.expression,n,!0,o);if(_())return m();var c=E(r,i,void 0,void 0,t,n);if(_())return m();var u=e.factory.createBlock(s),l=e.factory.createBlock(c);return v(t,n,e.factory.createTryStatement(u,void 0,l),o,a)}(r,e.elementAt(r.arguments,0),n,i,a);if(e.isPropertyAccessExpression(r))return g(t,r.expression,n,i,a);var o=n.checker.getTypeAtLocation(r);return o&&n.checker.getPromisedTypeOfPromise(o)?(e.Debug.assertNode(e.getOriginalNode(r).parent,e.isPropertyAccessExpression),function(t,r,n,i,a){if(L(t,n)){var o=e.getSynthesizedDeepClone(r);return i&&(o=e.factory.createAwaitExpression(o)),[e.factory.createReturnStatement(o)]}return b(a,e.factory.createAwaitExpression(r),void 0)}(t,r,n,i,a)):m()}function h(t,r){var n=t.checker;if(104===r.kind)return!0;if(e.isIdentifier(r)&&!e.isGeneratedIdentifier(r)&&"undefined"===e.idText(r)){var i=n.getSymbolAtLocation(r);return!i||n.isUndefinedSymbol(i)}return!1}function y(t,r,n){var i;return n&&!L(t,r)&&(O(n)?(i=n,r.synthNamesMap.forEach((function(t,i){if(t.identifier.text===n.identifier.text){var a=function(t){return N(e.factory.createUniqueName(t.identifier.text,16))}(n);r.synthNamesMap.set(i,a)}}))):i=N(e.factory.createUniqueName("result",16),n.types),I(i)),i}function v(t,r,n,i,a){var o,s=[];if(i&&!L(t,r)){o=e.getSynthesizedDeepClone(I(i));var c=i.types,u=r.checker.getUnionType(c,2),l=r.isInJSFile?void 0:r.checker.typeToTypeNode(u,void 0,void 0),p=[e.factory.createVariableDeclaration(o,void 0,l)],d=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList(p,1));s.push(d)}return s.push(n),a&&o&&function(e){return 1===e.kind}(a)&&s.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(w(a)),void 0,void 0,o)],2))),s}function D(t,r,n,i,a){if(!r||h(n,r))return g(t,t.expression.expression,n,i,a);var o=k(r,n),s=y(t,n,a),c=g(t,t.expression.expression,n,!0,s);if(_())return m();var u=E(r,i,s,o,t,n);if(_())return m();var l=e.factory.createBlock(c),p=e.factory.createCatchClause(o&&e.getSynthesizedDeepClone(F(o)),e.factory.createBlock(u));return v(t,n,e.factory.createTryStatement(l,p,void 0),s,a)}function b(t,r,n){return!t||A(t)?[e.factory.createExpressionStatement(r)]:O(t)&&t.hasBeenDeclared?[e.factory.createExpressionStatement(e.factory.createAssignment(e.getSynthesizedDeepClone(P(t)),r))]:[e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(F(t)),void 0,n,r)],2))]}function x(t,r){if(r&&t){var n=e.factory.createUniqueName("result",16);return a(a([],b(N(n),t,r),!0),[e.factory.createReturnStatement(n)],!1)}return[e.factory.createReturnStatement(t)]}function E(t,r,n,i,a,o){var s;switch(t.kind){case 104:break;case 205:case 79:if(!i)break;var c=e.factory.createCallExpression(e.getSynthesizedDeepClone(t),void 0,O(i)?[P(i)]:[]);if(L(a,o))return x(c,p(a,t,o.checker));var u=o.checker.getTypeAtLocation(t),l=o.checker.getSignaturesOfType(u,0);if(!l.length)return m();var f=l[0].getReturnType(),_=b(n,e.factory.createAwaitExpression(c),p(a,t,o.checker));return n&&n.types.push(o.checker.getAwaitedType(f)||f),_;case 212:case 213:var g=t.body,h=null===(s=C(o.checker.getTypeAtLocation(t),o.checker))||void 0===s?void 0:s.getReturnType();if(e.isBlock(g)){for(var y=[],v=!1,D=0,E=g.statements;D<E.length;D++){var k=E[D];if(e.isReturnStatement(k))if(v=!0,e.isReturnStatementWithFixablePromiseHandler(k,o.checker))y=y.concat(T(o,k,r,n));else{var A=h&&k.expression?S(o.checker,h,k.expression):k.expression;y.push.apply(y,x(A,p(a,t,o.checker)))}else{if(r&&e.forEachReturnStatement(k,e.returnTrue))return m();y.push(k)}}return L(a,o)?y.map((function(t){return e.getSynthesizedDeepClone(t)})):function(t,r,n,i){for(var a=[],o=0,s=t;o<s.length;o++){var c=s[o];if(e.isReturnStatement(c)){if(c.expression){var u=d(c.expression,n.checker)?e.factory.createAwaitExpression(c.expression):c.expression;void 0===r?a.push(e.factory.createExpressionStatement(u)):O(r)&&r.hasBeenDeclared?a.push(e.factory.createExpressionStatement(e.factory.createAssignment(P(r),u))):a.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(F(r),void 0,void 0,u)],2)))}}else a.push(e.getSynthesizedDeepClone(c))}return!i&&void 0!==r&&a.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(F(r),void 0,void 0,e.factory.createIdentifier("undefined"))],2))),a}(y,n,o,v)}var N=e.isFixablePromiseHandler(g,o.checker)?T(o,e.factory.createReturnStatement(g),r,n):e.emptyArray;if(N.length>0)return N;if(h){if(A=S(o.checker,h,g),L(a,o))return x(A,p(a,t,o.checker));var w=b(n,A,void 0);return n&&n.types.push(o.checker.getAwaitedType(h)||h),w}return m();default:return m()}return e.emptyArray}function S(t,r,n){var i=e.getSynthesizedDeepClone(n);return t.getPromisedTypeOfPromise(r)?e.factory.createAwaitExpression(i):i}function C(t,r){var n=r.getSignaturesOfType(t,0);return e.lastOrUndefined(n)}function T(t,r,n,i){var a=[];return e.forEachChild(r,(function r(o){if(e.isCallExpression(o)){var s=g(o,o,t,n,i);if((a=a.concat(s)).length>0)return}else e.isFunctionLike(o)||e.forEachChild(o,r)})),a}function k(t,r){var n,i=[];if(e.isFunctionLikeDeclaration(t)?t.parameters.length>0&&(n=function t(r){return e.isIdentifier(r)?a(r):function(t,r,n){return void 0===r&&(r=e.emptyArray),void 0===n&&(n=[]),{kind:1,bindingPattern:t,elements:r,types:n}}(r,e.flatMap(r.elements,(function(r){return e.isOmittedExpression(r)?[]:[t(r.name)]})))}(t.parameters[0].name)):e.isIdentifier(t)?n=a(t):e.isPropertyAccessExpression(t)&&e.isIdentifier(t.name)&&(n=a(t.name)),n&&(!("identifier"in n)||"undefined"!==n.identifier.text))return n;function a(t){var n=function(e){return e.symbol?e.symbol:r.checker.getSymbolAtLocation(e)}(function(e){return e.original?e.original:e}(t));return n&&r.synthNamesMap.get(e.getSymbolId(n).toString())||N(t,i)}}function A(t){return!t||(O(t)?!t.identifier.text:e.every(t.elements,A))}function N(e,t){return void 0===t&&(t=[]),{kind:0,identifier:e,types:t,hasBeenDeclared:!1,hasBeenReferenced:!1}}function P(e){return e.hasBeenReferenced=!0,e.identifier}function F(e){return O(e)?I(e):w(e)}function w(e){for(var t=0,r=e.elements;t<r.length;t++)F(r[t]);return e.bindingPattern}function I(e){return e.hasBeenDeclared=!0,e.identifier}function O(e){return 0===e.kind}function L(t,r){return!!t.original&&r.setOfExpressionsToReturn.has(e.getNodeId(t.original))}t.registerCodeFix({errorCodes:o,getCodeActions:function(r){s=!0;var n=e.textChanges.ChangeTracker.with(r,(function(e){return c(e,r.sourceFile,r.span.start,r.program.getTypeChecker())}));return s?[t.createCodeFixAction(i,n,e.Diagnostics.Convert_to_async_function,i,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[i],getAllCodeActions:function(e){return t.codeFixAll(e,o,(function(t,r){return c(t,r.file,r.start,e.program.getTypeChecker())}))}}),(n=r||(r={}))[n.Identifier=0]="Identifier",n[n.BindingPattern=1]="BindingPattern"}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){function r(t,r,n,i){for(var a=0,o=t.imports;a<o.length;a++){var s=o[a],c=e.getResolvedModule(t,s.text,e.getModeForUsageLocation(t,s));if(c&&c.resolvedFileName===r.fileName){var u=e.importFromModuleSpecifier(s);switch(u.kind){case 264:n.replaceNode(t,u,e.makeImport(u.name,void 0,s,i));break;case 207:e.isRequireCall(u,!1)&&n.replaceNode(t,u,e.factory.createPropertyAccessExpression(e.getSynthesizedDeepClone(u),"default"))}}}}function n(t,r,n,s,c){var u={original:p(t),additional:new e.Set},d=function(t,r,n){var a=new e.Map;return i(t,(function(t){var i=t.name,o=i.text,s=i.originalKeywordKind;!a.has(o)&&(void 0!==s&&e.isNonContextualKeyword(s)||r.resolveName(o,t,111551,!0))&&a.set(o,l("_".concat(o),n))})),a}(t,r,u);!function(t,r,n){i(t,(function(i,a){if(!a){var o=i.name.text;n.replaceNode(t,i,e.factory.createIdentifier(r.get(o)||o))}}))}(t,d,n);for(var f,_=!1,m=0,g=e.filter(t.statements,e.isVariableStatement);m<g.length;m++){var h=g[m],y=o(t,h,n,r,u,s,c);y&&e.copyEntries(y,null!=f?f:f=new e.Map)}for(var v=0,D=e.filter(t.statements,(function(t){return!e.isVariableStatement(t)}));v<D.length;v++){h=D[v];var b=a(t,h,r,n,u,s,d,f,c);_=_||b}return null==f||f.forEach((function(e,r){n.replaceNode(t,r,e)})),_}function i(t,r){t.forEachChild((function n(i){if(e.isPropertyAccessExpression(i)&&e.isExportsOrModuleExportsOrAlias(t,i.expression)&&e.isIdentifier(i.name)){var a=i.parent;r(i,e.isBinaryExpression(a)&&a.left===i&&63===a.operatorToken.kind)}i.forEachChild(n)}))}function a(t,r,n,i,a,l,p,d,_){switch(r.kind){case 236:return o(t,r,i,n,a,l,_),!1;case 237:var m=r.expression;switch(m.kind){case 207:return e.isRequireCall(m,!0)&&i.replaceNode(t,r,e.makeImport(void 0,void 0,m.arguments[0],_)),!1;case 220:return 63===m.operatorToken.kind&&function(t,r,n,i,a,o){var l=n.left,p=n.right;if(!e.isPropertyAccessExpression(l))return!1;if(e.isExportsOrModuleExportsOrAlias(t,l)){if(!e.isExportsOrModuleExportsOrAlias(t,p)){var d=e.isObjectLiteralExpression(p)?function(t,r){var n=e.mapAllOrFail(t.properties,(function(t){switch(t.kind){case 171:case 172:case 295:case 296:return;case 294:return e.isIdentifier(t.name)?function(t,r,n){var i=[e.factory.createToken(93)];switch(r.kind){case 212:var a=r.name;if(a&&a.text!==t)return o();case 213:return f(t,i,r,n);case 225:return function(t,r,n,i){return e.factory.createClassDeclaration(e.getSynthesizedDeepClones(n.decorators),e.concatenate(r,e.getSynthesizedDeepClones(n.modifiers)),t,e.getSynthesizedDeepClones(n.typeParameters),e.getSynthesizedDeepClones(n.heritageClauses),u(n.members,i))}(t,i,r,n);default:return o()}function o(){return g(i,e.factory.createIdentifier(t),u(r,n))}}(t.name.text,t.initializer,r):void 0;case 168:return e.isIdentifier(t.name)?f(t.name.text,[e.factory.createToken(93)],t,r):void 0;default:e.Debug.assertNever(t,"Convert to ES6 got invalid prop kind ".concat(t.kind))}}));return n&&[n,!1]}(p,o):e.isRequireCall(p,!0)?function(t,r){var n=t.text,i=r.getSymbolAtLocation(t),a=i?i.exports:e.emptyMap;return a.has("export=")?[[c(n)],!0]:a.has("default")?a.size>1?[[s(n),c(n)],!0]:[[c(n)],!0]:[[s(n)],!1]}(p.arguments[0],r):void 0;return d?(i.replaceNodeWithNodes(t,n.parent,d[0]),d[1]):(i.replaceRangeWithText(t,e.createRange(l.getStart(t),p.pos),"export default"),!0)}i.delete(t,n.parent)}else e.isExportsOrModuleExportsOrAlias(t,l.expression)&&function(t,r,n,i){var a=r.left.name.text,o=i.get(a);if(void 0!==o){var s=[g(void 0,o,r.right),h([e.factory.createExportSpecifier(!1,o,a)])];n.replaceNodeWithNodes(t,r.parent,s)}else!function(t,r,n){var i=t.left,a=t.right,o=t.parent,s=i.name.text;if(!(e.isFunctionExpression(a)||e.isArrowFunction(a)||e.isClassExpression(a))||a.name&&a.name.text!==s)n.replaceNodeRangeWithNodes(r,i.expression,e.findChildOfKind(i,24,r),[e.factory.createToken(93),e.factory.createToken(85)],{joiner:" ",suffix:" "});else{n.replaceRange(r,{pos:i.getStart(r),end:a.getStart(r)},e.factory.createToken(93),{suffix:" "}),a.name||n.insertName(r,a,s);var c=e.findChildOfKind(o,26,r);c&&n.delete(r,c)}}(r,t,n)}(t,n,i,a);return!1}(t,n,m,i,p,d)}default:return!1}}function o(r,n,i,a,o,s,c){var u,p=n.declarationList,d=!1,f=e.map(p.declarations,(function(n){var i=n.name,u=n.initializer;if(u){if(e.isExportsOrModuleExportsOrAlias(r,u))return d=!0,y([]);if(e.isRequireCall(u,!0))return d=!0,function(r,n,i,a,o,s){switch(r.kind){case 200:var c=e.mapAllOrFail(r.elements,(function(t){return t.dotDotDotToken||t.initializer||t.propertyName&&!e.isIdentifier(t.propertyName)||!e.isIdentifier(t.name)?void 0:m(t.propertyName&&t.propertyName.text,t.name.text)}));if(c)return y([e.makeImport(void 0,c,n,s)]);case 201:var u=l(t.moduleSpecifierToValidIdentifier(n.text,o),a);return y([e.makeImport(e.factory.createIdentifier(u),void 0,n,s),g(void 0,e.getSynthesizedDeepClone(r),e.factory.createIdentifier(u))]);case 79:return function(t,r,n,i,a){for(var o,s=n.getSymbolAtLocation(t),c=new e.Map,u=!1,p=0,d=i.original.get(t.text);p<d.length;p++){var f=d[p];if(n.getSymbolAtLocation(f)===s&&f!==t){var _=f.parent;if(e.isPropertyAccessExpression(_)){var m=_.name.text;if("default"===m){u=!0;var g=f.getText();(null!=o?o:o=new e.Map).set(_,e.factory.createIdentifier(g))}else{e.Debug.assert(_.expression===f,"Didn't expect expression === use");var h=c.get(m);void 0===h&&(h=l(m,i),c.set(m,h)),(null!=o?o:o=new e.Map).set(_,e.factory.createIdentifier(h))}}else u=!0}}var v=0===c.size?void 0:e.arrayFrom(e.mapIterator(c.entries(),(function(t){var r=t[0],n=t[1];return e.factory.createImportSpecifier(!1,r===n?void 0:e.factory.createIdentifier(r),e.factory.createIdentifier(n))})));return v||(u=!0),y([e.makeImport(u?e.getSynthesizedDeepClone(t):void 0,v,r,a)],o)}(r,n,i,a,s);default:return e.Debug.assertNever(r,"Convert to ES module got invalid name kind ".concat(r.kind))}}(i,u.arguments[0],a,o,s,c);if(e.isPropertyAccessExpression(u)&&e.isRequireCall(u.expression,!0))return d=!0,function(t,r,n,i,a){switch(t.kind){case 200:case 201:var o=l(r,i);return y([_(o,r,n,a),g(void 0,t,e.factory.createIdentifier(o))]);case 79:return y([_(t.text,r,n,a)]);default:return e.Debug.assertNever(t,"Convert to ES module got invalid syntax form ".concat(t.kind))}}(i,u.name.text,u.expression.arguments[0],o,c)}return y([e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([n],p.flags))])}));if(d)return i.replaceNodeWithNodes(r,n,e.flatMap(f,(function(e){return e.newImports}))),e.forEach(f,(function(t){t.useSitesToUnqualify&&e.copyEntries(t.useSitesToUnqualify,null!=u?u:u=new e.Map)})),u}function s(e){return h(void 0,e)}function c(t){return h([e.factory.createExportSpecifier(!1,void 0,"default")],t)}function u(t,r){return r&&e.some(e.arrayFrom(r.keys()),(function(r){return e.rangeContainsRange(t,r)}))?e.isArray(t)?e.getSynthesizedDeepClonesWithReplacements(t,!0,n):e.getSynthesizedDeepCloneWithReplacements(t,!0,n):t;function n(e){if(205===e.kind){var t=r.get(e);return r.delete(e),t}}}function l(e,t){for(;t.original.has(e)||t.additional.has(e);)e="_".concat(e);return t.additional.add(e),e}function p(t){var r=e.createMultiMap();return d(t,(function(e){return r.add(e.text,e)})),r}function d(t,r){e.isIdentifier(t)&&function(e){var t=e.parent;switch(t.kind){case 205:return t.name!==e;case 202:case 269:return t.propertyName!==e;default:return!0}}(t)&&r(t),t.forEachChild((function(e){return d(e,r)}))}function f(t,r,n,i){return e.factory.createFunctionDeclaration(e.getSynthesizedDeepClones(n.decorators),e.concatenate(r,e.getSynthesizedDeepClones(n.modifiers)),e.getSynthesizedDeepClone(n.asteriskToken),t,e.getSynthesizedDeepClones(n.typeParameters),e.getSynthesizedDeepClones(n.parameters),e.getSynthesizedDeepClone(n.type),e.factory.converters.convertToFunctionBlock(u(n.body,i)))}function _(t,r,n,i){return"default"===r?e.makeImport(e.factory.createIdentifier(t),void 0,n,i):e.makeImport(void 0,[m(r,t)],n,i)}function m(t,r){return e.factory.createImportSpecifier(!1,void 0!==t&&t!==r?e.factory.createIdentifier(t):void 0,e.factory.createIdentifier(r))}function g(t,r,n){return e.factory.createVariableStatement(t,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(r,void 0,void 0,n)],2))}function h(t,r){return e.factory.createExportDeclaration(void 0,void 0,!1,t&&e.factory.createNamedExports(t),void 0===r?void 0:e.factory.createStringLiteral(r))}function y(e,t){return{newImports:e,useSitesToUnqualify:t}}t.registerCodeFix({errorCodes:[e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module.code],getCodeActions:function(i){var a=i.sourceFile,o=i.program,s=i.preferences,c=e.textChanges.ChangeTracker.with(i,(function(t){if(n(a,o.getTypeChecker(),t,e.getEmitScriptTarget(o.getCompilerOptions()),e.getQuotePreference(a,s)))for(var i=0,c=o.getSourceFiles();i<c.length;i++){var u=c[i];r(u,a,t,e.getQuotePreference(u,s))}}));return[t.createCodeFixActionWithoutFixAll("convertToEsModule",c,e.Diagnostics.Convert_to_ES_module)]}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="correctQualifiedNameToIndexedAccessType",n=[e.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code];function i(t,r){var n=e.findAncestor(e.getTokenAtPosition(t,r),e.isQualifiedName);return e.Debug.assert(!!n,"Expected position to be owned by a qualified name."),e.isIdentifier(n.left)?n:void 0}function a(t,r,n){var i=n.right.text,a=e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(n.left,void 0),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(i)));t.replaceNode(r,n,a)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=i(n.sourceFile,n.span.start);if(o){var s=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,n.sourceFile,o)})),c="".concat(o.left.text,'["').concat(o.right.text,'"]');return[t.createCodeFixAction(r,s,[e.Diagnostics.Rewrite_as_the_indexed_access_type_0,c],r,e.Diagnostics.Rewrite_all_as_indexed_access_types)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){var r=i(t.file,t.start);r&&a(e,t.file,r)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r=[e.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type.code],n="convertToTypeOnlyExport";function i(t,r){return e.tryCast(e.getTokenAtPosition(r,t.start).parent,e.isExportSpecifier)}function a(t,n,i){if(n){var a=n.parent,o=a.parent,s=function(t,n){var i=t.parent;if(1===i.elements.length)return i.elements;var a=e.getDiagnosticsWithinSpan(e.createTextSpanFromNode(i),n.program.getSemanticDiagnostics(n.sourceFile,n.cancellationToken));return e.filter(i.elements,(function(n){var i;return n===t||(null===(i=e.findDiagnosticForNode(n,a))||void 0===i?void 0:i.code)===r[0]}))}(n,i);if(s.length===a.elements.length)t.insertModifierBefore(i.sourceFile,151,a);else{var c=e.factory.updateExportDeclaration(o,o.decorators,o.modifiers,!1,e.factory.updateNamedExports(a,e.filter(a.elements,(function(t){return!e.contains(s,t)}))),o.moduleSpecifier,void 0),u=e.factory.createExportDeclaration(void 0,void 0,!0,e.factory.createNamedExports(s),o.moduleSpecifier,void 0);t.replaceNode(i.sourceFile,o,c,{leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude}),t.insertNodeAfter(i.sourceFile,o,u)}}}t.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,i(r.span,r.sourceFile),r)}));if(o.length)return[t.createCodeFixAction(n,o,e.Diagnostics.Convert_to_type_only_export,n,e.Diagnostics.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[n],getAllCodeActions:function(n){var o=new e.Map;return t.codeFixAll(n,r,(function(t,r){var s=i(r,n.sourceFile);s&&e.addToSeen(o,e.getNodeId(s.parent.parent))&&a(t,s,n)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r=[e.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code],n="convertToTypeOnlyImport";function i(t,r){return e.tryCast(e.getTokenAtPosition(r,t.start).parent,e.isImportDeclaration)}function a(t,r,n){if(null!=r&&r.importClause){var i=r.importClause;t.insertText(n.sourceFile,r.getStart()+6," type"),i.name&&i.namedBindings&&(t.deleteNodeRangeExcludingEnd(n.sourceFile,i.name,r.importClause.namedBindings),t.insertNodeBefore(n.sourceFile,r,e.factory.updateImportDeclaration(r,void 0,void 0,e.factory.createImportClause(!0,i.name,void 0),r.moduleSpecifier,void 0)))}}t.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=e.textChanges.ChangeTracker.with(r,(function(e){a(e,i(r.span,r.sourceFile),r)}));if(o.length)return[t.createCodeFixAction(n,o,e.Diagnostics.Convert_to_type_only_import,n,e.Diagnostics.Convert_all_imports_not_used_as_a_value_to_type_only_imports)]},fixIds:[n],getAllCodeActions:function(e){return t.codeFixAll(e,r,(function(t,r){a(t,i(r,e.sourceFile),e)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="convertLiteralTypeToMappedType",n=[e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code];function i(t,r){var n=e.getTokenAtPosition(t,r);if(e.isIdentifier(n)){var i=e.cast(n.parent.parent,e.isPropertySignature),a=n.getText(t);return{container:e.cast(i.parent,e.isTypeLiteralNode),typeNode:i.type,constraint:a,name:"K"===a?"P":"K"}}}function a(t,r,n){var i=n.container,a=n.typeNode,o=n.constraint,s=n.name;t.replaceNode(r,i,e.factory.createMappedTypeNode(void 0,e.factory.createTypeParameterDeclaration(s,e.factory.createTypeReferenceNode(o)),void 0,void 0,a,void 0))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=i(o,s.start);if(c){var u=c.name,l=c.constraint,p=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c)}));return[t.createCodeFixAction(r,p,[e.Diagnostics.Convert_0_to_1_in_0,l,u],r,e.Diagnostics.Convert_all_type_literals_to_mapped_type)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){var r=i(t.file,t.start);r&&a(e,t.file,r)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r=[e.Diagnostics.Class_0_incorrectly_implements_interface_1.code,e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],n="fixClassIncorrectlyImplementsInterface";function i(t,r){return e.Debug.checkDefined(e.getContainingClass(e.getTokenAtPosition(t,r)),"There should be a containing class")}function a(t){return!(t.valueDeclaration&&8&e.getEffectiveModifierFlags(t.valueDeclaration))}function o(r,n,i,o,s,c){var u=r.program.getTypeChecker(),l=function(t,r){var n=e.getEffectiveBaseTypeNode(t);if(!n)return e.createSymbolTable();var i=r.getTypeAtLocation(n),o=r.getPropertiesOfType(i);return e.createSymbolTable(o.filter(a))}(o,u),p=u.getTypeAtLocation(n),d=u.getPropertiesOfType(p).filter(e.and(a,(function(e){return!l.has(e.escapedName)}))),f=u.getTypeAtLocation(o),_=e.find(o.members,(function(t){return e.isConstructorDeclaration(t)}));f.getNumberIndexType()||g(p,1),f.getStringIndexType()||g(p,0);var m=t.createImportAdder(i,r.program,c,r.host);function g(e,n){var a=u.getIndexInfoOfType(e,n);a&&h(i,o,u.indexInfoToIndexSignatureDeclaration(a,o,void 0,t.getNoopSymbolTrackerWithResolver(r)))}function h(e,t,r){_?s.insertNodeAfter(e,_,r):s.insertNodeAtClassStart(e,t,r)}t.createMissingMemberNodes(o,d,i,r,c,m,(function(e){return h(i,o,e)})),m.writeFixes(s)}t.registerCodeFix({errorCodes:r,getCodeActions:function(r){var a=r.sourceFile,s=r.span,c=i(a,s.start);return e.mapDefined(e.getEffectiveImplementsTypeNodes(c),(function(i){var s=e.textChanges.ChangeTracker.with(r,(function(e){return o(r,i,a,c,e,r.preferences)}));return 0===s.length?void 0:t.createCodeFixAction(n,s,[e.Diagnostics.Implement_interface_0,i.getText(a)],n,e.Diagnostics.Implement_all_unimplemented_interfaces)}))},fixIds:[n],getAllCodeActions:function(n){var a=new e.Map;return t.codeFixAll(n,r,(function(t,r){var s=i(r.file,r.start);if(e.addToSeen(a,e.getNodeId(s)))for(var c=0,u=e.getEffectiveImplementsTypeNodes(s);c<u.length;c++){var l=u[c];o(n,l,r.file,s,t,n.preferences)}}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){t.importFixName="import";var r,n,i,s="fixMissingImport",c=[e.Diagnostics.Cannot_find_name_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,e.Diagnostics.Cannot_find_namespace_0.code,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code,e.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code,e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code];function u(t,r,n,i,a){var o=r.getCompilerOptions(),s=[],c=[],u=new e.Map,p=new e.Map;return{addImportFromDiagnostic:function(e,t){var r=y(t,e.code,e.start,n);!r||!r.fixes.length||d(r)},addImportFromExportedSymbol:function(s,c){var u=e.Debug.checkDefined(s.parent),p=e.getNameForExportedSymbol(s,e.getEmitScriptTarget(o)),_=r.getTypeChecker(),m=_.getMergedSymbol(e.skipAlias(s,_)),h=f(t,m,u,p,!1,a,r,i,n),y=g(t,r),v=l(t,h,u,p,r,void 0,!!c,y,a,i);v&&d({fixes:[v],symbolName:p,errorIdentifierText:void 0})},writeFixes:function(r){for(var n=e.getQuotePreference(t,i),a=0,l=s;a<l.length;a++){var d=l[a];N(r,t,d)}for(var f=0,_=c;f<_.length;f++)d=_[f],P(r,t,d,n);var m;u.forEach((function(n){var i=n.importClauseOrBindingPattern,a=n.defaultImport,s=n.namedImports;A(r,t,i,a,e.arrayFrom(s.entries(),(function(e){var t=e[0];return{addAsTypeOnly:e[1],name:t}})),o)})),p.forEach((function(t,r){var i=t.useRequire,a=t.defaultImport,o=t.namedImports,s=t.namespaceLikeImport,c=(i?O:I)(r.slice(2),n,a,o&&e.arrayFrom(o.entries(),(function(e){var t=e[0];return{addAsTypeOnly:e[1],name:t}})),s);m=e.combine(m,c)})),m&&e.insertImports(r,t,m,!0)},hasFixes:function(){return s.length>0||c.length>0||u.size>0||p.size>0}};function d(t){var r,n,i,a,o,l,d,f,_,m,g,h=t.fixes,y=t.symbolName,v=e.first(h);switch(v.kind){case 0:s.push(v);break;case 1:c.push(v);break;case 2:var D=v.importClauseOrBindingPattern,b=v.importKind,x=v.addAsTypeOnly,E=String(e.getNodeId(D));if((k=u.get(E))||u.set(E,k={importClauseOrBindingPattern:D,defaultImport:void 0,namedImports:new e.Map}),0===b){var S=null==k?void 0:k.namedImports.get(y);k.namedImports.set(y,A(S,x))}else e.Debug.assert(void 0===k.defaultImport||k.defaultImport.name===y,"(Add to Existing) Default import should be missing or match symbolName"),k.defaultImport={name:y,addAsTypeOnly:A(null===(r=k.defaultImport)||void 0===r?void 0:r.addAsTypeOnly,x)};break;case 3:var C=v.moduleSpecifier,T=(b=v.importKind,v.useRequire),k=(i=C,a=b,o=T,l=x=v.addAsTypeOnly,d=N(i,!0),f=N(i,!1),_=p.get(d),m=p.get(f),g={defaultImport:void 0,namedImports:void 0,namespaceLikeImport:void 0,useRequire:o},1===a&&2===l?_||(p.set(d,g),g):1===l&&(_||m)?_||m:m||(p.set(f,g),g));switch(e.Debug.assert(k.useRequire===T,"(Add new) Tried to add an `import` and a `require` for the same module"),b){case 1:e.Debug.assert(void 0===k.defaultImport||k.defaultImport.name===y,"(Add new) Default import should be missing or match symbolName"),k.defaultImport={name:y,addAsTypeOnly:A(null===(n=k.defaultImport)||void 0===n?void 0:n.addAsTypeOnly,x)};break;case 0:S=(k.namedImports||(k.namedImports=new e.Map)).get(y),k.namedImports.set(y,A(S,x));break;case 3:case 2:e.Debug.assert(void 0===k.namespaceLikeImport||k.namespaceLikeImport.name===y,"Namespacelike import shoudl be missing or match symbolName"),k.namespaceLikeImport={importKind:b,name:y,addAsTypeOnly:x}}break;case 4:break;default:e.Debug.assertNever(v,"fix wasn't never - got kind ".concat(v.kind))}function A(e,t){return Math.max(null!=e?e:0,t)}function N(e,t){return"".concat(t?1:0,"|").concat(e)}}}function l(t,r,n,i,a,o,s,c,u,l){e.Debug.assert(r.some((function(e){return e.moduleSymbol===n||e.symbol.parent===n})),"Some exportInfo should match the specified moduleSymbol");var p=e.createPackageJsonImportFilter(t,l,u);return D(_(r,i,o,s,c,a,t,u,l),t,a,p,u)}function p(e){return{description:e.description,changes:e.changes,commands:e.commands}}function d(t,r,n,i){var a,o,s=n.getCompilerOptions(),c=l(n.getTypeChecker(),!1);if(c)return c;var u=null===(o=null===(a=i.getPackageJsonAutoImportProvider)||void 0===a?void 0:a.call(i))||void 0===o?void 0:o.getTypeChecker();return e.Debug.checkDefined(u&&l(u,!0),"Could not find symbol in specified module for code actions");function l(n,i){var a=e.getDefaultLikeExportInfo(r,n,s);if(a&&e.skipAlias(a.symbol,n)===t)return{symbol:a.symbol,moduleSymbol:r,moduleFileName:void 0,exportKind:a.exportKind,targetFlags:e.skipAlias(t,n).flags,isFromPackageJson:i};var o=n.tryGetMemberInModuleExportsAndProperties(t.name,r);return o&&e.skipAlias(o,n)===t?{symbol:o,moduleSymbol:r,moduleFileName:void 0,exportKind:0,targetFlags:e.skipAlias(t,n).flags,isFromPackageJson:i}:void 0}}function f(t,r,n,i,a,o,s,c,u){var l=[],p=s.getCompilerOptions(),d=e.memoizeOne((function(t){return e.createModuleSpecifierResolutionHost(t?o.getPackageJsonAutoImportProvider():s,o)}));return e.forEachExternalModuleToImportFrom(s,o,u,(function(o,s,c,u){var d=c.getTypeChecker();if(!s||o===n||!e.startsWith(t.fileName,e.getDirectoryPath(s.fileName))){var _=e.getDefaultLikeExportInfo(o,d,p);_&&(_.name===i||R(o,e.getEmitScriptTarget(p),a)===i)&&e.skipAlias(_.symbol,d)===r&&f(c,s,u)&&l.push({symbol:_.symbol,moduleSymbol:o,moduleFileName:null==s?void 0:s.fileName,exportKind:_.exportKind,targetFlags:e.skipAlias(_.symbol,d).flags,isFromPackageJson:u});for(var m=0,g=d.getExportsAndPropertiesOfModule(o);m<g.length;m++){var h=g[m];h.name===i&&d.getMergedSymbol(e.skipAlias(h,d))===r&&f(c,s,u)&&l.push({symbol:h,moduleSymbol:o,moduleFileName:null==s?void 0:s.fileName,exportKind:0,targetFlags:e.skipAlias(h,d).flags,isFromPackageJson:u})}}})),l;function f(r,n,i){var a;return!n||e.isImportableFile(r,t,n,c,void 0,d(i),null===(a=o.getModuleSpecifierCache)||void 0===a?void 0:a.call(o))}}function _(t,r,n,i,o,s,c,u,l){var p=s.getTypeChecker(),d=e.flatMap(t,(function(t){return function(t,r,n,i){var a=t.moduleSymbol,o=t.exportKind,s=t.targetFlags,c=t.symbol;if(!(111551&s)&&e.isSourceFileJS(n))return e.emptyArray;var u=E(n,o,i);return e.mapDefined(n.imports,(function(t){var n=e.importFromModuleSpecifier(t);return e.isVariableDeclarationInitializedToRequire(n.parent)?r.resolveExternalModuleName(t)===a?{declaration:n.parent,importKind:u,symbol:c,targetFlags:s}:void 0:265!==n.kind&&264!==n.kind||r.getSymbolAtLocation(t)!==a?void 0:{declaration:n,importKind:u,symbol:c,targetFlags:s}}))}(t,p,c,s.getCompilerOptions())})),f=void 0===n?void 0:function(t,r,n,i){return e.firstDefined(t,(function(t){var a=t.declaration,o=function(t){var r,n,i;switch(t.kind){case 253:return null===(r=e.tryCast(t.name,e.isIdentifier))||void 0===r?void 0:r.text;case 264:return t.name.text;case 265:return null===(i=e.tryCast(null===(n=t.importClause)||void 0===n?void 0:n.namedBindings,e.isNamespaceImport))||void 0===i?void 0:i.name.text;default:return e.Debug.assertNever(t)}}(a),s=e.tryGetModuleSpecifierFromDeclaration(a);if(o&&s){var c=function(t,r){var n;switch(t.kind){case 253:return r.resolveExternalModuleName(t.initializer.arguments[0]);case 264:return r.getAliasedSymbol(t.symbol);case 265:var i=e.tryCast(null===(n=t.importClause)||void 0===n?void 0:n.namedBindings,e.isNamespaceImport);return i&&r.getAliasedSymbol(i.symbol);default:return e.Debug.assertNever(t)}}(a,i);if(c&&c.exports.has(e.escapeLeadingUnderscores(r)))return{kind:0,namespacePrefix:o,position:n,moduleSpecifier:s}}}))}(d,r,n,p),_=function(t,r,n,i){return e.firstDefined(t,(function(t){var a=t.declaration,o=t.importKind,s=t.symbol,c=t.targetFlags;if(3!==o&&2!==o&&264!==a.kind){if(253===a.kind)return 0!==o&&1!==o||200!==a.name.kind?void 0:{kind:2,importClauseOrBindingPattern:a.name,importKind:o,moduleSpecifier:a.initializer.arguments[0].text,addAsTypeOnly:4};var u=a.importClause;if(u&&e.isStringLiteralLike(a.moduleSpecifier)){var l=u.name,p=u.namedBindings;if(!u.isTypeOnly||0===o&&p){var d=m(r,!1,s,c,n,i);if(!(1===o&&(l||2===d&&p)||0===o&&267===(null==p?void 0:p.kind)))return{kind:2,importClauseOrBindingPattern:u,importKind:o,moduleSpecifier:a.moduleSpecifier.text,addAsTypeOnly:d}}}}}))}(d,i,p,s.getCompilerOptions()),g=_?[_]:function(t,r,n,i,a,o,s,c,u){var l=e.firstDefined(r,(function(t){return function(t,r,n,i,a){var o=t.declaration,s=t.importKind,c=t.symbol,u=t.targetFlags,l=e.tryGetModuleSpecifierFromDeclaration(o);if(l)return{kind:3,moduleSpecifier:l,importKind:s,addAsTypeOnly:n?4:m(r,!0,c,u,i,a),useRequire:n}}(t,o,s,n.getTypeChecker(),n.getCompilerOptions())}));return l?[l]:h(n,i,a,o,s,t,c,u).fixes}(t,d,s,c,n,i,o,u,l);return a(a([],f?[f]:e.emptyArray,!0),g,!0)}function m(e,t,r,n,i,a){return e?t&&2===a.importsNotUsedAsValues||a.isolatedModules&&a.preserveValueImports&&(!(111551&n)||i.getTypeOnlyAliasDeclaration(r))?2:1:4}function g(t,r){if(!e.isSourceFileJS(t))return!1;if(t.commonJsModuleIndicator&&!t.externalModuleIndicator)return!0;if(t.externalModuleIndicator&&!t.commonJsModuleIndicator)return!1;var n=r.getCompilerOptions();if(n.configFile)return e.getEmitModuleKind(n)<e.ModuleKind.ES2015;for(var i=0,a=r.getSourceFiles();i<a.length;i++){var o=a[i];if(o!==t&&e.isSourceFileJS(o)&&!r.isSourceFileFromExternalLibrary(o)){if(o.commonJsModuleIndicator&&!o.externalModuleIndicator)return!0;if(o.externalModuleIndicator&&!o.commonJsModuleIndicator)return!1}}return!0}function h(t,r,n,i,a,o,s,c,u){var l=e.isSourceFileJS(r),p=t.getCompilerOptions(),d=e.createModuleSpecifierResolutionHost(t,s),f=e.memoizeOne((function(e){return e?s.getPackageJsonAutoImportProvider().getTypeChecker():t.getTypeChecker()})),_=u?function(t){return{moduleSpecifiers:e.moduleSpecifiers.tryGetModuleSpecifiersFromCache(t,r,d,c),computedWithoutCache:!1}}:function(t,n){return e.moduleSpecifiers.getModuleSpecifiersWithCacheInfo(t,n,p,r,d,c)},g=0,h=e.flatMap(o,(function(e,t){var o=f(e.isFromPackageJson),s=_(e.moduleSymbol,o),c=s.computedWithoutCache,u=s.moduleSpecifiers,d=!!(111551&e.targetFlags),h=m(i,!0,e.symbol,e.targetFlags,o,p);return g+=c?1:0,null==u?void 0:u.map((function(i){return!d&&l&&void 0!==n?{kind:1,moduleSpecifier:i,position:n,exportInfo:e,isReExport:t>0}:{kind:3,moduleSpecifier:i,importKind:E(r,e.exportKind,p),useRequire:a,addAsTypeOnly:h,exportInfo:e,isReExport:t>0}}))}));return{computedWithoutCacheCount:g,fixes:h}}function y(t,r,n,i){var a,s=e.getTokenAtPosition(t.sourceFile,n);if(r===e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code)a=function(t,r){var n,i=t.sourceFile,a=t.program,o=t.host,s=t.preferences,c=a.getTypeChecker(),u=function(t,r){var n=e.isIdentifier(t)?r.getSymbolAtLocation(t):void 0;if(e.isUMDExportSymbol(n))return n;var i=t.parent;return e.isJsxOpeningLikeElement(i)&&i.tagName===t||e.isJsxOpeningFragment(i)?e.tryCast(r.resolveName(r.getJsxNamespace(i),e.isJsxOpeningLikeElement(i)?t:i,111551,!1),e.isUMDExportSymbol):void 0}(r,c);if(u){var l=c.getAliasedSymbol(u),p=u.name,d=[{symbol:u,moduleSymbol:l,moduleFileName:void 0,exportKind:3,targetFlags:l.flags,isFromPackageJson:!1}],f=g(i,a);return{fixes:_(d,p,e.isIdentifier(r)?r.getStart(i):void 0,!1,f,a,i,o,s),symbolName:p,errorIdentifierText:null===(n=e.tryCast(r,e.isIdentifier))||void 0===n?void 0:n.text}}}(t,s);else{if(!e.isIdentifier(s))return;if(r===e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){var c=C(t.sourceFile,t.program.getTypeChecker(),s,t.program.getCompilerOptions()),u=S(t.sourceFile,s,c,t.program);return u&&{fixes:[u],symbolName:c,errorIdentifierText:s.text}}a=function(t,r,n){var i=t.sourceFile,a=t.program,o=t.cancellationToken,s=t.host,c=t.preferences,u=a.getTypeChecker(),l=a.getCompilerOptions(),p=C(i,u,r,l);e.Debug.assert("default"!==p,"'default' isn't a legal identifier and couldn't occur here");var d=e.isValidTypeOnlyAliasUseSite(r),f=g(i,a),m=function(t,r,n,i,a,o,s,c,u){var l,p=e.createMultiMap(),d=e.createPackageJsonImportFilter(a,u,c),f=null===(l=c.getModuleSpecifierCache)||void 0===l?void 0:l.call(c),_=e.memoizeOne((function(t){return e.createModuleSpecifierResolutionHost(t?c.getPackageJsonAutoImportProvider():o,c)}));function m(t,r,n,i,o,s){var c=_(s);if(r&&e.isImportableFile(o,a,r,u,d,c,f)||!r&&d.allowsImportingAmbientModule(t,c)){var l=o.getTypeChecker();p.add(e.getUniqueSymbolId(n,l).toString(),{symbol:n,moduleSymbol:t,moduleFileName:null==r?void 0:r.fileName,exportKind:i,targetFlags:e.skipAlias(n,l).flags,isFromPackageJson:s})}}return e.forEachExternalModuleToImportFrom(o,c,s,(function(a,o,s,c){var u=s.getTypeChecker();i.throwIfCancellationRequested();var l=s.getCompilerOptions(),p=e.getDefaultLikeExportInfo(a,u,l);p&&(p.name===t||R(a,e.getEmitScriptTarget(l),r)===t)&&M(p.symbolForMeaning,n)&&m(a,o,p.symbol,p.exportKind,s,c);var d=u.tryGetMemberInModuleExportsAndProperties(t,a);d&&M(d,n)&&m(a,o,d,0,s,c)})),p}(p,e.isJSXTagName(r),e.getMeaningFromLocation(r),o,i,a,n,s,c);return{fixes:e.arrayFrom(e.flatMapIterator(m.entries(),(function(e){return e[0],_(e[1],p,r.getStart(i),d,f,a,i,s,c)}))),symbolName:p,errorIdentifierText:r.text}}(t,s,i)}var l=e.createPackageJsonImportFilter(t.sourceFile,t.preferences,t.host);return a&&o(o({},a),{fixes:v(a.fixes,t.sourceFile,t.program,l,t.host)})}function v(t,r,n,i,a){var o=function(t){return e.toPath(t,a.getCurrentDirectory(),e.hostGetCanonicalFileName(a))};return e.sort(t,(function(t,a){return e.compareValues(t.kind,a.kind)||b(t,a,r,n,i.allowsImportingSpecifier,o)}))}function D(t,r,n,i,a){if(e.some(t))return 0===t[0].kind||2===t[0].kind?t[0]:t.reduce((function(t,o){return-1===b(o,t,r,n,i.allowsImportingSpecifier,(function(t){return e.toPath(t,a.getCurrentDirectory(),e.hostGetCanonicalFileName(a))}))?o:t}))}function b(t,r,n,i,a,o){return 0!==t.kind&&0!==r.kind?e.compareBooleans(a(r.moduleSpecifier),a(t.moduleSpecifier))||function(t,r,n,i){return e.startsWith(t,"node:")&&!e.startsWith(r,"node:")?e.shouldUseUriStyleNodeCoreModules(n,i)?-1:1:e.startsWith(r,"node:")&&!e.startsWith(t,"node:")?e.shouldUseUriStyleNodeCoreModules(n,i)?1:-1:0}(t.moduleSpecifier,r.moduleSpecifier,n,i)||e.compareBooleans(x(t,n,i.getCompilerOptions(),o),x(r,n,i.getCompilerOptions(),o))||e.compareNumberOfDirectorySeparators(t.moduleSpecifier,r.moduleSpecifier):0}function x(t,r,n,i){var a;if(t.isReExport&&(null===(a=t.exportInfo)||void 0===a?void 0:a.moduleFileName)&&e.getEmitModuleResolutionKind(n)===e.ModuleResolutionKind.NodeJs&&function(t){return"index"===e.getBaseFileName(t,[".js",".jsx",".d.ts",".ts",".tsx"],!0)}(t.exportInfo.moduleFileName)){var o=i(e.getDirectoryPath(t.exportInfo.moduleFileName));return e.startsWith(r.path,o)}return!1}function E(t,r,n,i){switch(r){case 0:return 0;case 1:return 1;case 2:return function(t,r,n){var i=e.getAllowSyntheticDefaultImports(r),a=e.isInJSFile(t);if(!a&&e.getEmitModuleKind(r)>=e.ModuleKind.ES2015)return i?1:2;if(a)return e.isExternalModule(t)||n?i?1:2:3;for(var o=0,s=t.statements;o<s.length;o++){var c=s[o];if(e.isImportEqualsDeclaration(c)&&!e.nodeIsMissing(c.moduleReference))return 3}return i?1:3}(t,n,!!i);case 3:return function(t,r,n){if(e.getAllowSyntheticDefaultImports(r))return 1;var i=e.getEmitModuleKind(r);switch(i){case e.ModuleKind.AMD:case e.ModuleKind.CommonJS:case e.ModuleKind.UMD:return e.isInJSFile(t)&&(e.isExternalModule(t)||n)?2:3;case e.ModuleKind.System:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ES2022:case e.ModuleKind.ESNext:case e.ModuleKind.None:return 2;case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return t.impliedNodeFormat===e.ModuleKind.ESNext?2:3;default:return e.Debug.assertNever(i,"Unexpected moduleKind ".concat(i))}}(t,n,!!i);default:return e.Debug.assertNever(r)}}function S(t,r,n,i){var a=i.getTypeChecker(),o=a.resolveName(n,r,111551,!0);if(o){var s=a.getTypeOnlyAliasDeclaration(o);if(s&&e.getSourceFileOfNode(s)===t)return{kind:4,typeOnlyAliasDeclaration:s}}}function C(t,r,n,i){var a=n.parent;if((e.isJsxOpeningLikeElement(a)||e.isJsxClosingElement(a))&&a.tagName===n&&function(e){return 2===e||3===e}(i.jsx)){var o=r.getJsxNamespace(t);if(function(t,r,n){if(e.isIntrinsicJsxName(r.text))return!0;var i=n.resolveName(t,r,111551,!0);return!i||e.some(i.declarations,e.isTypeOnlyImportOrExportDeclaration)&&!(111551&i.flags)}(o,n,r))return o}return n.text}function T(r,n,i,a,o,c,u){var l,p=e.textChanges.ChangeTracker.with(r,(function(t){l=function(t,r,n,i,a,o,s){switch(i.kind){case 0:return N(t,r,i),[e.Diagnostics.Change_0_to_1,n,"".concat(i.namespacePrefix,".").concat(n)];case 1:return P(t,r,i,o),[e.Diagnostics.Change_0_to_1,n,F(i.moduleSpecifier,o)+n];case 2:var c=i.importClauseOrBindingPattern,u=i.importKind,l=i.addAsTypeOnly,p=i.moduleSpecifier;A(t,r,c,1===u?{name:n,addAsTypeOnly:l}:void 0,0===u?[{name:n,addAsTypeOnly:l}]:e.emptyArray,s);var d=e.stripQuotes(p);return a?[e.Diagnostics.Import_0_from_1,n,d]:[e.Diagnostics.Update_import_from_0,d];case 3:u=i.importKind,p=i.moduleSpecifier,l=i.addAsTypeOnly;var f=i.useRequire?O:I,_=1===u?{name:n,addAsTypeOnly:l}:void 0,m=0===u?[{name:n,addAsTypeOnly:l}]:void 0,g=2===u||3===u?{importKind:u,name:n,addAsTypeOnly:l}:void 0;return e.insertImports(t,r,f(p,o,_,m,g),!0),a?[e.Diagnostics.Import_0_from_1,n,p]:[e.Diagnostics.Add_import_from_0,p];case 4:var h=function(t,r,n,i){var a=n.preserveValueImports&&n.isolatedModules;switch(r.kind){case 269:if(r.isTypeOnly){if(r.parent.elements.length>1&&e.OrganizeImports.importSpecifiersAreSorted(r.parent.elements)){t.delete(i,r);var o=e.factory.updateImportSpecifier(r,!1,r.propertyName,r.name),s=e.OrganizeImports.getImportSpecifierInsertionIndex(r.parent.elements,o);t.insertImportSpecifierAtIndex(i,o,r.parent,s)}else t.deleteRange(i,r.getFirstToken());return r}return e.Debug.assert(r.parent.parent.isTypeOnly),c(r.parent.parent),r.parent.parent;case 266:return c(r),r;case 267:return c(r.parent),r.parent;case 264:return t.deleteRange(i,r.getChildAt(1)),r;default:e.Debug.failBadSyntaxKind(r)}function c(n){if(t.delete(i,e.getTypeKeywordOfTypeOnlyImport(n,i)),a){var o=e.tryCast(n.namedBindings,e.isNamedImports);if(o&&o.elements.length>1){e.OrganizeImports.importSpecifiersAreSorted(o.elements)&&269===r.kind&&0!==o.elements.indexOf(r)&&(t.delete(i,r),t.insertImportSpecifierAtIndex(i,r,o,0));for(var s=0,c=o.elements;s<c.length;s++){var u=c[s];u!==r&&!u.isTypeOnly&&t.insertModifierBefore(i,151,u)}}}}}(t,i.typeOnlyAliasDeclaration,s,r);return 269===h.kind?[e.Diagnostics.Remove_type_from_import_of_0_from_1,n,k(h.parent.parent)]:[e.Diagnostics.Remove_type_from_import_declaration_from_0,k(h)];default:return e.Debug.assertNever(i,"Unexpected fix kind ".concat(i.kind))}}(t,n,i,a,o,c,u)}));return t.createCodeFixAction(t.importFixName,p,l,s,e.Diagnostics.Add_all_missing_imports)}function k(t){var r,n;return 264===t.kind?(null===(n=e.tryCast(null===(r=e.tryCast(t.moduleReference,e.isExternalModuleReference))||void 0===r?void 0:r.expression,e.isStringLiteralLike))||void 0===n?void 0:n.text)||t.moduleReference.getText():e.cast(t.parent.moduleSpecifier,e.isStringLiteral).text}function A(t,r,n,i,o,s){var c;if(200!==n.kind){var u=n.isTypeOnly&&e.some(a([i],o,!0),(function(e){return 4===(null==e?void 0:e.addAsTypeOnly)})),l=n.namedBindings&&(null===(c=e.tryCast(n.namedBindings,e.isNamedImports))||void 0===c?void 0:c.elements),p=u&&s.preserveValueImports&&s.isolatedModules;if(i&&(e.Debug.assert(!n.name,"Cannot add a default import to an import clause that already has one"),t.insertNodeAt(r,n.getStart(r),e.factory.createIdentifier(i.name),{suffix:", "})),o.length){var d=e.stableSort(o.map((function(t){return e.factory.createImportSpecifier((!n.isTypeOnly||u)&&w(t),void 0,e.factory.createIdentifier(t.name))})),e.OrganizeImports.compareImportOrExportSpecifiers);if((null==l?void 0:l.length)&&e.OrganizeImports.importSpecifiersAreSorted(l))for(var f=0,_=d;f<_.length;f++){var m=_[f],g=p&&!m.isTypeOnly?0:e.OrganizeImports.getImportSpecifierInsertionIndex(l,m);t.insertImportSpecifierAtIndex(r,m,n.namedBindings,g)}else if(null!=l&&l.length)for(var h=0,y=d;h<y.length;h++)m=y[h],t.insertNodeInListAfter(r,e.last(l),m,l);else if(d.length){var v=e.factory.createNamedImports(d);n.namedBindings?t.replaceNode(r,n.namedBindings,v):t.insertNodeAfter(r,e.Debug.checkDefined(n.name,"Import clause must have either named imports or a default import"),v)}}if(u&&(t.delete(r,e.getTypeKeywordOfTypeOnlyImport(n,r)),p&&l))for(var D=0,b=l;D<b.length;D++)S=b[D],t.insertModifierBefore(r,151,S)}else{i&&C(n,i.name,"default");for(var x=0,E=o;x<E.length;x++){var S=E[x];C(n,S.name,void 0)}}function C(n,i,a){var o=e.factory.createBindingElement(void 0,a,i);n.elements.length?t.insertNodeInListAfter(r,e.last(n.elements),o):t.replaceNode(r,n,e.factory.createObjectBindingPattern([o]))}}function N(e,t,r){var n=r.namespacePrefix,i=r.position;e.insertText(t,i,n+".")}function P(e,t,r,n){var i=r.moduleSpecifier,a=r.position;e.insertText(t,a,F(i,n))}function F(t,r){var n=e.getQuoteFromPreference(r);return"import(".concat(n).concat(t).concat(n,").")}function w(e){return 2===e.addAsTypeOnly}function I(t,r,n,i,a){var o,s=e.makeStringLiteral(t,r);if(void 0!==n||(null==i?void 0:i.length)){var c=(!n||w(n))&&e.every(i,w);o=e.combine(o,e.makeImport(n&&e.factory.createIdentifier(n.name),null==i?void 0:i.map((function(t){var r=t.addAsTypeOnly,n=t.name;return e.factory.createImportSpecifier(!c&&2===r,void 0,e.factory.createIdentifier(n))})),t,r,c))}if(a){var u=3===a.importKind?e.factory.createImportEqualsDeclaration(void 0,void 0,w(a),e.factory.createIdentifier(a.name),e.factory.createExternalModuleReference(s)):e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(w(a),void 0,e.factory.createNamespaceImport(e.factory.createIdentifier(a.name))),s,void 0);o=e.combine(o,u)}return e.Debug.checkDefined(o)}function O(t,r,n,i,a){var o,s=e.makeStringLiteral(t,r);if(n||(null==i?void 0:i.length)){var c=(null==i?void 0:i.map((function(t){var r=t.name;return e.factory.createBindingElement(void 0,void 0,r)})))||[];n&&c.unshift(e.factory.createBindingElement(void 0,"default",n.name));var u=L(e.factory.createObjectBindingPattern(c),s);o=e.combine(o,u)}return a&&(u=L(a.name,s),o=e.combine(o,u)),e.Debug.checkDefined(o)}function L(t,r){return e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration("string"==typeof t?e.factory.createIdentifier(t):t,void 0,void 0,e.factory.createCallExpression(e.factory.createIdentifier("require"),void 0,[r]))],2))}function M(t,r){var n=t.declarations;return e.some(n,(function(t){return!!(e.getMeaningFromDeclaration(t)&r)}))}function R(t,r,n){return B(e.removeFileExtension(e.stripQuotes(t.name)),r,n)}function B(t,r,n){var i=e.getBaseFileName(e.removeSuffix(t,"/index")),a="",o=!0,s=i.charCodeAt(0);e.isIdentifierStart(s,r)?(a+=String.fromCharCode(s),n&&(a=a.toUpperCase())):o=!1;for(var c=1;c<i.length;c++){var u=i.charCodeAt(c),l=e.isIdentifierPart(u,r);if(l){var p=String.fromCharCode(u);o||(p=p.toUpperCase()),a+=p}o=l}return e.isStringANonContextualKeyword(a)?"_".concat(a):a||"_"}t.registerCodeFix({errorCodes:c,getCodeActions:function(t){var r=t.errorCode,n=t.preferences,i=t.sourceFile,a=t.span,o=t.program,s=y(t,r,a.start,!0);if(s){var c=s.fixes,u=s.symbolName,l=s.errorIdentifierText,p=e.getQuotePreference(i,n);return c.map((function(e){return T(t,i,u,e,u!==l,p,o.getCompilerOptions())}))}},fixIds:[s],getAllCodeActions:function(r){var n=u(r.sourceFile,r.program,!0,r.preferences,r.host);return t.eachDiagnostic(r,c,(function(e){return n.addImportFromDiagnostic(e,r)})),t.createCombinedCodeActions(e.textChanges.ChangeTracker.with(r,n.writeFixes))}}),t.createImportAdder=function(e,t,r,n){return u(e,t,!1,r,n)},(n=r||(r={}))[n.UseNamespace=0]="UseNamespace",n[n.JsdocTypeImport=1]="JsdocTypeImport",n[n.AddToExisting=2]="AddToExisting",n[n.AddNew=3]="AddNew",n[n.PromoteTypeOnly=4]="PromoteTypeOnly",function(e){e[e.Allowed=1]="Allowed",e[e.Required=2]="Required",e[e.NotAllowed=4]="NotAllowed"}(i||(i={})),t.getImportCompletionAction=function(t,r,n,i,a,o,s,c,u,_){var m=s.getCompilerOptions(),h=e.pathIsBareSpecifier(e.stripQuotes(r.name))?[d(t,r,s,o)]:f(n,t,r,i,a,o,s,_,!0),y=g(n,s),v=e.isValidTypeOnlyAliasUseSite(e.getTokenAtPosition(n,u)),D=e.Debug.checkDefined(l(n,h,r,i,s,u,v,y,o,_));return{moduleSpecifier:D.moduleSpecifier,codeAction:p(T({host:o,formatContext:c,preferences:_},n,i,D,!1,e.getQuotePreference(n,_),m))}},t.getPromoteTypeOnlyCompletionAction=function(e,t,r,n,i,a){var o=r.getCompilerOptions(),s=C(e,r.getTypeChecker(),t,o),c=S(e,t,s,r),u=s!==t.text;return c&&p(T({host:n,formatContext:i,preferences:a},e,s,c,u,1,o))},t.getModuleSpecifierForBestExportInfo=function(t,r,n,i,a,s,c){var u=h(n,r,void 0,!1,!1,t,i,a,c),l=u.fixes,p=u.computedWithoutCacheCount,d=D(l,r,n,s||e.createPackageJsonImportFilter(r,a,i),i);return d&&o(o({},d),{computedWithoutCacheCount:p})},t.getImportKind=E,t.moduleSymbolToValidIdentifier=R,t.moduleSpecifierToValidIdentifier=B}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r,n="fixOverrideModifier",i="fixAddOverrideModifier",a="fixRemoveOverrideModifier",o=[e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,e.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,e.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code,e.Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code,e.Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code],s=((r={})[e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]={descriptions:e.Diagnostics.Add_override_modifier,fixId:i,fixAllDescriptions:e.Diagnostics.Add_all_missing_override_modifiers},r[e.Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]={descriptions:e.Diagnostics.Add_override_modifier,fixId:i,fixAllDescriptions:e.Diagnostics.Add_all_missing_override_modifiers},r[e.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]={descriptions:e.Diagnostics.Remove_override_modifier,fixId:a,fixAllDescriptions:e.Diagnostics.Remove_all_unnecessary_override_modifiers},r[e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code]={descriptions:e.Diagnostics.Remove_override_modifier,fixId:a,fixAllDescriptions:e.Diagnostics.Remove_override_modifier},r[e.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]={descriptions:e.Diagnostics.Add_override_modifier,fixId:i,fixAllDescriptions:e.Diagnostics.Add_all_missing_override_modifiers},r[e.Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]={descriptions:e.Diagnostics.Add_override_modifier,fixId:i,fixAllDescriptions:e.Diagnostics.Add_all_missing_override_modifiers},r[e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]={descriptions:e.Diagnostics.Add_override_modifier,fixId:i,fixAllDescriptions:e.Diagnostics.Remove_all_unnecessary_override_modifiers},r[e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]={descriptions:e.Diagnostics.Remove_override_modifier,fixId:a,fixAllDescriptions:e.Diagnostics.Remove_all_unnecessary_override_modifiers},r[e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code]={descriptions:e.Diagnostics.Remove_override_modifier,fixId:a,fixAllDescriptions:e.Diagnostics.Remove_all_unnecessary_override_modifiers},r);function c(t,r,n,i){switch(n){case e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:case e.Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:case e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:case e.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:case e.Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:return function(t,r,n){var i=l(r,n);if(e.isSourceFileJS(r))t.addJSDocTags(r,i,[e.factory.createJSDocOverrideTag(e.factory.createIdentifier("override"))]);else{var a=i.modifiers||e.emptyArray,o=e.find(a,e.isStaticModifier),s=e.find(a,e.isAbstractModifier),c=e.find(a,(function(t){return e.isAccessibilityModifier(t.kind)})),u=s?s.end:o?o.end:c?c.end:i.decorators?e.skipTrivia(r.text,i.decorators.end):i.getStart(r),p=c||o||s?{prefix:" "}:{suffix:" "};t.insertModifierAt(r,u,158,p)}}(t,r.sourceFile,i);case e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:case e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code:case e.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:case e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code:return function(t,r,n){var i=l(r,n);if(e.isSourceFileJS(r))t.filterJSDocTags(r,i,e.not(e.isJSDocOverrideTag));else{var a=i.modifiers&&e.find(i.modifiers,(function(e){return 158===e.kind}));e.Debug.assertIsDefined(a),t.deleteModifier(r,a)}}(t,r.sourceFile,i);default:e.Debug.fail("Unexpected error code: "+n)}}function u(t){switch(t.kind){case 170:case 166:case 168:case 171:case 172:return!0;case 163:return e.isParameterPropertyDeclaration(t,t.parent);default:return!1}}function l(t,r){var n=e.getTokenAtPosition(t,r),i=e.findAncestor(n,(function(t){return e.isClassLike(t)?"quit":u(t)}));return e.Debug.assert(i&&u(i)),i}t.registerCodeFix({errorCodes:o,getCodeActions:function(r){var i=r.errorCode,a=r.span,o=s[i];if(!o)return e.emptyArray;var u=o.descriptions,l=o.fixId,p=o.fixAllDescriptions,d=e.textChanges.ChangeTracker.with(r,(function(e){return c(e,r,i,a.start)}));return[t.createCodeFixActionMaybeFixAll(n,d,u,l,p)]},fixIds:[n,i,a],getAllCodeActions:function(e){return t.codeFixAll(e,o,(function(t,r){var n=r.code,i=r.start,a=s[n];!a||a.fixId!==e.fixId||c(t,e,n,i)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="fixNoPropertyAccessFromIndexSignature",n=[e.Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code];function i(t,r,n,i){var a=e.getQuotePreference(r,i),o=e.factory.createStringLiteral(n.name.text,0===a);t.replaceNode(r,n,e.isPropertyAccessChain(n)?e.factory.createElementAccessChain(n.expression,n.questionDotToken,o):e.factory.createElementAccessExpression(n.expression,o))}function a(t,r){return e.cast(e.getTokenAtPosition(t,r).parent,e.isPropertyAccessExpression)}t.registerCodeFix({errorCodes:n,fixIds:[r],getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=n.preferences,u=a(o,s.start),l=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,u,c)}));return[t.createCodeFixAction(r,l,[e.Diagnostics.Use_element_access_for_0,u.name.text],r,e.Diagnostics.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){return i(t,r.file,a(r.file,r.start),e.preferences)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="fixImplicitThis",n=[e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];function i(t,r,n,i){var a=e.getTokenAtPosition(r,n);if(e.isThis(a)){var o=e.getThisContainer(a,!1);if((e.isFunctionDeclaration(o)||e.isFunctionExpression(o))&&!e.isSourceFile(e.getThisContainer(o,!1))){var s=e.Debug.checkDefined(e.findChildOfKind(o,98,r)),c=o.name,u=e.Debug.checkDefined(o.body);return e.isFunctionExpression(o)?c&&e.FindAllReferences.Core.isSymbolReferencedInFile(c,i,r,u)?void 0:(t.delete(r,s),c&&t.delete(r,c),t.insertText(r,u.pos," =>"),[e.Diagnostics.Convert_function_expression_0_to_arrow_function,c?c.text:e.ANONYMOUS]):(t.replaceNode(r,s,e.factory.createToken(85)),t.insertText(r,c.end," = "),t.insertText(r,u.pos," =>"),[e.Diagnostics.Convert_function_declaration_0_to_arrow_function,c.text])}}}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a,o=n.sourceFile,s=n.program,c=n.span,u=e.textChanges.ChangeTracker.with(n,(function(e){a=i(e,o,c.start,s.getTypeChecker())}));return a?[t.createCodeFixAction(r,u,a,r,e.Diagnostics.Fix_all_implicit_this_errors)]:e.emptyArray},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){i(t,r.file,r.start,e.program.getTypeChecker())}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){var t,r,n;t=e.codefix||(e.codefix={}),r="fixIncorrectNamedTupleSyntax",n=[e.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,e.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code],t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=n.sourceFile,a=n.span,o=function(t,r){var n=e.getTokenAtPosition(t,r);return e.findAncestor(n,(function(e){return 196===e.kind}))}(i,a.start),s=e.textChanges.ChangeTracker.with(n,(function(t){return function(t,r,n){if(n){for(var i=n.type,a=!1,o=!1;184===i.kind||185===i.kind||190===i.kind;)184===i.kind?a=!0:185===i.kind&&(o=!0),i=i.type;var s=e.factory.updateNamedTupleMember(n,n.dotDotDotToken||(o?e.factory.createToken(25):void 0),n.name,n.questionToken||(a?e.factory.createToken(57):void 0),i);s!==n&&t.replaceNode(r,n,s)}}(t,i,o)}));return[t.createCodeFixAction(r,s,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,r,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[r]})}(n||(n={})),function(e){!function(t){var r="fixSpelling",n=[e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,e.Diagnostics.Could_not_find_name_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_namespace_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2.code,e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,e.Diagnostics.No_overload_matches_this_call.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code];function i(t,r,n,i){var a=e.getTokenAtPosition(t,r),o=a.parent;if(i!==e.Diagnostics.No_overload_matches_this_call.code&&i!==e.Diagnostics.Type_0_is_not_assignable_to_type_1.code||e.isJsxAttribute(o)){var s,c=n.program.getTypeChecker();if(e.isPropertyAccessExpression(o)&&o.name===a){e.Debug.assert(e.isMemberName(a),"Expected an identifier for spelling (property access)");var u=c.getTypeAtLocation(o.expression);32&o.flags&&(u=c.getNonNullableType(u)),s=c.getSuggestedSymbolForNonexistentProperty(a,u)}else if(e.isBinaryExpression(o)&&101===o.operatorToken.kind&&o.left===a&&e.isPrivateIdentifier(a)){var l=c.getTypeAtLocation(o.right);s=c.getSuggestedSymbolForNonexistentProperty(a,l)}else if(e.isQualifiedName(o)&&o.right===a){var p=c.getSymbolAtLocation(o.left);p&&1536&p.flags&&(s=c.getSuggestedSymbolForNonexistentModule(o.right,p))}else if(e.isImportSpecifier(o)&&o.name===a){e.Debug.assertNode(a,e.isIdentifier,"Expected an identifier for spelling (import)");var d=function(t,r,n){if(n&&e.isStringLiteralLike(n.moduleSpecifier)){var i=e.getResolvedModule(t,n.moduleSpecifier.text,e.getModeForUsageLocation(t,n.moduleSpecifier));if(i)return r.program.getSourceFile(i.resolvedFileName)}}(t,n,e.findAncestor(a,e.isImportDeclaration));d&&d.symbol&&(s=c.getSuggestedSymbolForNonexistentModule(a,d.symbol))}else if(e.isJsxAttribute(o)&&o.name===a){e.Debug.assertNode(a,e.isIdentifier,"Expected an identifier for JSX attribute");var f=e.findAncestor(a,e.isJsxOpeningLikeElement),_=c.getContextualTypeForArgumentAtIndex(f,0);s=c.getSuggestedSymbolForNonexistentJSXAttribute(a,_)}else if(e.hasSyntacticModifier(o,16384)&&e.isClassElement(o)&&o.name===a){var m=e.findAncestor(a,e.isClassLike),g=m?e.getEffectiveBaseTypeNode(m):void 0,h=g?c.getTypeAtLocation(g):void 0;h&&(s=c.getSuggestedSymbolForNonexistentClassMember(e.getTextOfNode(a),h))}else{var y=e.getMeaningFromLocation(a),v=e.getTextOfNode(a);e.Debug.assert(void 0!==v,"name should be defined"),s=c.getSuggestedSymbolForNonexistentSymbol(a,v,function(e){var t=0;return 4&e&&(t|=1920),2&e&&(t|=788968),1&e&&(t|=111551),t}(y))}return void 0===s?void 0:{node:a,suggestedSymbol:s}}}function a(t,r,n,i,a){var o=e.symbolName(i);if(!e.isIdentifierText(o,a)&&e.isPropertyAccessExpression(n.parent)){var s=i.valueDeclaration;s&&e.isNamedDeclaration(s)&&e.isPrivateIdentifier(s.name)?t.replaceNode(r,n,e.factory.createIdentifier(o)):t.replaceNode(r,n.parent,e.factory.createElementAccessExpression(n.parent.expression,e.factory.createStringLiteral(o)))}else t.replaceNode(r,n,e.factory.createIdentifier(o))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.errorCode,c=i(o,n.span.start,n,s);if(c){var u=c.node,l=c.suggestedSymbol,p=e.getEmitScriptTarget(n.host.getCompilationSettings()),d=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,u,l,p)}));return[t.createCodeFixAction("spelling",d,[e.Diagnostics.Change_spelling_to_0,e.symbolName(l)],r,e.Diagnostics.Fix_all_detected_spelling_errors)]}},fixIds:[r],getAllCodeActions:function(r){return t.codeFixAll(r,n,(function(t,n){var o=i(n.file,n.start,r,n.code),s=e.getEmitScriptTarget(r.host.getCompilationSettings());o&&a(t,r.sourceFile,o.node,o.suggestedSymbol,s)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r,n,i="returnValueCorrect",a="fixAddReturnStatement",o="fixRemoveBracesFromArrowFunctionBody",s="fixWrapTheBlockWithParen",c=[e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code];function u(t,r,n){var i=t.createSymbol(4,r.escapedText);i.type=t.getTypeAtLocation(n);var a=e.createSymbolTable([i]);return t.createAnonymousType(void 0,a,[],[],[])}function l(t,n,i,a){if(n.body&&e.isBlock(n.body)&&1===e.length(n.body.statements)){var o=e.first(n.body.statements);if(e.isExpressionStatement(o)&&p(t,n,t.getTypeAtLocation(o.expression),i,a))return{declaration:n,kind:r.MissingReturnStatement,expression:o.expression,statement:o,commentSource:o.expression};if(e.isLabeledStatement(o)&&e.isExpressionStatement(o.statement)){var s=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(o.label,o.statement.expression)]);if(p(t,n,u(t,o.label,o.statement.expression),i,a))return e.isArrowFunction(n)?{declaration:n,kind:r.MissingParentheses,expression:s,statement:o,commentSource:o.statement.expression}:{declaration:n,kind:r.MissingReturnStatement,expression:s,statement:o,commentSource:o.statement.expression}}else if(e.isBlock(o)&&1===e.length(o.statements)){var c=e.first(o.statements);if(e.isLabeledStatement(c)&&e.isExpressionStatement(c.statement)&&(s=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(c.label,c.statement.expression)]),p(t,n,u(t,c.label,c.statement.expression),i,a)))return{declaration:n,kind:r.MissingReturnStatement,expression:s,statement:o,commentSource:c}}}}function p(t,r,n,i,a){if(a){var o=t.getSignatureFromDeclaration(r);if(o){e.hasSyntacticModifier(r,256)&&(n=t.createPromiseType(n));var s=t.createSignature(r,o.typeParameters,o.thisParameter,o.parameters,n,void 0,o.minArgumentCount,o.flags);n=t.createAnonymousType(void 0,e.createSymbolTable(),[s],[],[])}else n=t.getAnyType()}return t.isTypeAssignableTo(n,i)}function d(t,r,n,i){var a=e.getTokenAtPosition(r,n);if(a.parent){var o=e.findAncestor(a.parent,e.isFunctionLikeDeclaration);switch(i){case e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:return o&&o.body&&o.type&&e.rangeContainsRange(o.type,a)?l(t,o,t.getTypeFromTypeNode(o.type),!1):void 0;case e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!o||!e.isCallExpression(o.parent)||!o.body)return;var s=o.parent.arguments.indexOf(o),c=t.getContextualTypeForArgumentAtIndex(o.parent,s);return c?l(t,o,c,!0):void 0;case e.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!e.isDeclarationName(a)||!e.isVariableLike(a.parent)&&!e.isJsxAttribute(a.parent))return;var u=function(t){switch(t.kind){case 253:case 163:case 202:case 166:case 294:return t.initializer;case 284:return t.initializer&&(e.isJsxExpression(t.initializer)?t.initializer.expression:void 0);case 295:case 165:case 297:case 345:case 338:return}}(a.parent);return u&&e.isFunctionLikeDeclaration(u)&&u.body?l(t,u,t.getTypeAtLocation(a.parent),!0):void 0}}}function f(t,r,n,i){e.suppressLeadingAndTrailingTrivia(n);var a=e.probablyUsesSemicolons(r);t.replaceNode(r,i,e.factory.createReturnStatement(n),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude,suffix:a?";":void 0})}function _(t,r,n,i,a,o){var s=o||e.needsParentheses(i)?e.factory.createParenthesizedExpression(i):i;e.suppressLeadingAndTrailingTrivia(a),e.copyComments(a,s),t.replaceNode(r,n.body,s)}function m(t,r,n,i){t.replaceNode(r,n.body,e.factory.createParenthesizedExpression(i))}function g(r,n,o){var s=e.textChanges.ChangeTracker.with(r,(function(e){return f(e,r.sourceFile,n,o)}));return t.createCodeFixAction(i,s,e.Diagnostics.Add_a_return_statement,a,e.Diagnostics.Add_all_missing_return_statement)}function h(r,n,a){var o=e.textChanges.ChangeTracker.with(r,(function(e){return m(e,r.sourceFile,n,a)}));return t.createCodeFixAction(i,o,e.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,s,e.Diagnostics.Wrap_all_object_literal_with_parentheses)}(n=r||(r={}))[n.MissingReturnStatement=0]="MissingReturnStatement",n[n.MissingParentheses=1]="MissingParentheses",t.registerCodeFix({errorCodes:c,fixIds:[a,o,s],getCodeActions:function(n){var a=n.program,s=n.sourceFile,c=n.span.start,u=n.errorCode,l=d(a.getTypeChecker(),s,c,u);if(l)return l.kind===r.MissingReturnStatement?e.append([g(n,l.expression,l.statement)],e.isArrowFunction(l.declaration)?function(r,n,a,s){var c=e.textChanges.ChangeTracker.with(r,(function(e){return _(e,r.sourceFile,n,a,s,!1)}));return t.createCodeFixAction(i,c,e.Diagnostics.Remove_braces_from_arrow_function_body,o,e.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}(n,l.declaration,l.expression,l.commentSource):void 0):[h(n,l.declaration,l.expression)]},getAllCodeActions:function(r){return t.codeFixAll(r,c,(function(t,n){var i=d(r.program.getTypeChecker(),n.file,n.start,n.code);if(i)switch(r.fixId){case a:f(t,n.file,i.expression,i.statement);break;case o:if(!e.isArrowFunction(i.declaration))return;_(t,n.file,i.declaration,i.expression,i.commentSource,!1);break;case s:if(!e.isArrowFunction(i.declaration))return;m(t,n.file,i.declaration,i.expression);break;default:e.Debug.fail(JSON.stringify(r.fixId))}}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r,n,i="fixMissingMember",o="fixMissingProperties",s="fixMissingAttributes",c="fixMissingFunctionDeclaration",u=[e.Diagnostics.Property_0_does_not_exist_on_type_1.code,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,e.Diagnostics.Cannot_find_name_0.code];function l(t,r,n,i,a){var o=e.getTokenAtPosition(t,r),s=o.parent;if(n===e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code){if(18!==o.kind||!e.isObjectLiteralExpression(s)||!e.isCallExpression(s.parent))return;var c=e.findIndex(s.parent.arguments,(function(e){return e===s}));if(c<0)return;var u=e.singleOrUndefined(i.getSignaturesOfType(i.getTypeAtLocation(s.parent.expression),0));if(!(u&&u.declaration&&u.parameters[c]))return;var l=u.parameters[c].valueDeclaration;if(!(l&&e.isParameter(l)&&e.isIdentifier(l.name)))return;var d=e.arrayFrom(i.getUnmatchedProperties(i.getTypeAtLocation(s),i.getTypeAtLocation(l),!1,!1));return e.length(d)?{kind:3,token:l.name,properties:d,indentation:0,parentDeclaration:s}:void 0}if(e.isMemberName(o)){if(e.isIdentifier(o)&&e.hasInitializer(s)&&s.initializer&&e.isObjectLiteralExpression(s.initializer))return d=e.arrayFrom(i.getUnmatchedProperties(i.getTypeAtLocation(s.initializer),i.getTypeAtLocation(o),!1,!1)),e.length(d)?{kind:3,token:o,properties:d,indentation:void 0,parentDeclaration:s.initializer}:void 0;if(e.isIdentifier(o)&&e.isJsxOpeningLikeElement(o.parent)){var f=function(t,r,n){var i=t.getContextualType(n.attributes);if(void 0===i)return e.emptyArray;var a=i.getProperties();if(!e.length(a))return e.emptyArray;for(var o=new e.Set,s=0,c=n.attributes.properties;s<c.length;s++){var u=c[s];if(e.isJsxAttribute(u)&&o.add(u.name.escapedText),e.isJsxSpreadAttribute(u))for(var l=0,p=t.getTypeAtLocation(u.expression).getProperties();l<p.length;l++){var d=p[l];o.add(d.escapedName)}}return e.filter(a,(function(t){return e.isIdentifierText(t.name,r,1)&&!(16777216&t.flags||48&e.getCheckFlags(t)||o.has(t.escapedName))}))}(i,e.getEmitScriptTarget(a.getCompilerOptions()),o.parent);return e.length(f)?{kind:4,token:o,attributes:f,parentDeclaration:o.parent}:void 0}if(e.isIdentifier(o)&&e.isCallExpression(s))return{kind:2,token:o,call:s,sourceFile:t,modifierFlags:0,parentDeclaration:t};if(e.isPropertyAccessExpression(s)){var _=e.skipConstraint(i.getTypeAtLocation(s.expression)),m=_.symbol;if(m&&m.declarations){if(e.isIdentifier(o)&&e.isCallExpression(s.parent)){var g=e.find(m.declarations,e.isModuleDeclaration),h=null==g?void 0:g.getSourceFile();if(g&&h&&!p(a,h))return{kind:2,token:o,call:s.parent,sourceFile:t,modifierFlags:1,parentDeclaration:g};var y=e.find(m.declarations,e.isSourceFile);if(t.commonJsModuleIndicator)return;if(y&&!p(a,y))return{kind:2,token:o,call:s.parent,sourceFile:y,modifierFlags:1,parentDeclaration:y}}var v=e.find(m.declarations,e.isClassLike);if(v||!e.isPrivateIdentifier(o)){var D=v||e.find(m.declarations,e.isInterfaceDeclaration);if(D&&!p(a,D.getSourceFile())){var b=(_.target||_)!==i.getDeclaredTypeOfSymbol(m);if(b&&(e.isPrivateIdentifier(o)||e.isInterfaceDeclaration(D)))return;var x=D.getSourceFile(),E=(b?32:0)|(e.startsWithUnderscore(o.text)?8:0),S=e.isSourceFileJS(x);return{kind:1,token:o,call:e.tryCast(s.parent,e.isCallExpression),modifierFlags:E,parentDeclaration:D,declSourceFile:x,isJSFile:S}}var C=e.find(m.declarations,e.isEnumDeclaration);if(C&&!e.isPrivateIdentifier(o)&&!p(a,C.getSourceFile()))return{kind:0,token:o,parentDeclaration:C}}}}}}function p(e,t){return e.isSourceFileFromExternalLibrary(t)||e.isSourceFileDefaultLibrary(t)}function d(r,n){return n.isJSFile?e.singleElementArray(function(r,n){var a=n.parentDeclaration,o=n.declSourceFile,s=n.modifierFlags,c=n.token;if(!e.isInterfaceDeclaration(a)){var u=e.textChanges.ChangeTracker.with(r,(function(e){return f(e,o,a,c,!!(32&s))}));if(0!==u.length){var l=32&s?e.Diagnostics.Initialize_static_property_0:e.isPrivateIdentifier(c)?e.Diagnostics.Declare_a_private_field_named_0:e.Diagnostics.Initialize_property_0_in_the_constructor;return t.createCodeFixAction(i,u,[l,c.text],i,e.Diagnostics.Add_all_missing_members)}}}(r,n)):function(r,n){var a=n.parentDeclaration,o=n.declSourceFile,s=n.modifierFlags,c=n.token,u=c.text,l=32&s,p=m(r.program.getTypeChecker(),a,c),d=function(t){return e.textChanges.ChangeTracker.with(r,(function(e){return g(e,o,a,u,p,t)}))},f=[t.createCodeFixAction(i,d(32&s),[l?e.Diagnostics.Declare_static_property_0:e.Diagnostics.Declare_property_0,u],i,e.Diagnostics.Add_all_missing_members)];return l||e.isPrivateIdentifier(c)||(8&s&&f.unshift(t.createCodeFixActionWithoutFixAll(i,d(8),[e.Diagnostics.Declare_private_property_0,u])),f.push(function(r,n,a,o,s){var c=e.factory.createKeywordTypeNode(149),u=e.factory.createParameterDeclaration(void 0,void 0,void 0,"x",void 0,c,void 0),l=e.factory.createIndexSignature(void 0,void 0,[u],s),p=e.textChanges.ChangeTracker.with(r,(function(e){return e.insertNodeAtClassStart(n,a,l)}));return t.createCodeFixActionWithoutFixAll(i,p,[e.Diagnostics.Add_index_signature_for_property_0,o])}(r,o,a,c.text,p))),f}(r,n)}function f(t,r,n,i,a){var o=i.text;if(a){if(225===n.kind)return;var s=n.name.getText(),c=_(e.factory.createIdentifier(s),o);t.insertNodeAfter(r,n,c)}else if(e.isPrivateIdentifier(i)){var u=e.factory.createPropertyDeclaration(void 0,void 0,o,void 0,void 0,void 0),l=h(n);l?t.insertNodeAfter(r,l,u):t.insertNodeAtClassStart(r,n,u)}else{var p=e.getFirstConstructorWithBody(n);if(!p)return;var d=_(e.factory.createThis(),o);t.insertNodeAtConstructorEnd(r,p,d)}}function _(t,r){return e.factory.createExpressionStatement(e.factory.createAssignment(e.factory.createPropertyAccessExpression(t,r),S()))}function m(t,r,n){var i;if(220===n.parent.parent.kind){var a=n.parent.parent,o=n.parent===a.left?a.right:a.left,s=t.getWidenedType(t.getBaseTypeOfLiteralType(t.getTypeAtLocation(o)));i=t.typeToTypeNode(s,r,1)}else{var c=t.getContextualType(n.parent);i=c?t.typeToTypeNode(c,void 0,1):void 0}return i||e.factory.createKeywordTypeNode(130)}function g(t,r,n,i,a,o){var s=e.factory.createPropertyDeclaration(void 0,o?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(o)):void 0,i,void 0,a,void 0),c=h(n);c?t.insertNodeAfter(r,c,s):t.insertNodeAtClassStart(r,n,s)}function h(t){for(var r,n=0,i=t.members;n<i.length;n++){var a=i[n];if(!e.isPropertyDeclaration(a))break;r=a}return r}function y(r,n,i,a,o,s,c){var u=t.createImportAdder(c,r.program,r.preferences,r.host),l=t.createSignatureDeclarationFromCallExpression(168,r,u,i,a,o,s),p=e.findAncestor(i,(function(t){return e.isMethodDeclaration(t)||e.isConstructorDeclaration(t)}));p&&p.parent===s?n.insertNodeAfter(c,p,l):n.insertNodeAtClassStart(c,s,l),u.writeFixes(n)}function v(t,r,n){var i=n.token,a=n.parentDeclaration,o=e.some(a.members,(function(e){var t=r.getTypeAtLocation(e);return!!(t&&402653316&t.flags)})),s=e.factory.createEnumMember(i,o?e.factory.createStringLiteral(i.text):void 0);t.replaceNode(a.getSourceFile(),a,e.factory.updateEnumDeclaration(a,a.decorators,a.modifiers,a.name,e.concatenate(a.members,e.singleElementArray(s))),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude})}function D(r,n,i){var a=t.createImportAdder(n.sourceFile,n.program,n.preferences,n.host),o=t.createSignatureDeclarationFromCallExpression(255,n,a,i.call,e.idText(i.token),i.modifierFlags,i.parentDeclaration);r.insertNodeAtEndOfScope(i.sourceFile,i.parentDeclaration,o)}function b(r,n,i){var o=t.createImportAdder(n.sourceFile,n.program,n.preferences,n.host),s=e.getQuotePreference(n.sourceFile,n.preferences),c=n.program.getTypeChecker(),u=i.parentDeclaration.attributes,l=e.some(u.properties,e.isJsxSpreadAttribute),p=e.map(i.attributes,(function(t){var r=E(n,c,o,s,c.getTypeOfSymbol(t)),i=e.factory.createIdentifier(t.name),a=e.factory.createJsxAttribute(i,e.factory.createJsxExpression(void 0,r));return e.setParent(i,a),a})),d=e.factory.createJsxAttributes(l?a(a([],p,!0),u.properties,!0):a(a([],u.properties,!0),p,!0)),f={prefix:u.pos===u.end?" ":void 0};r.replaceNode(n.sourceFile,u,d,f)}function x(r,n,i){var o=t.createImportAdder(n.sourceFile,n.program,n.preferences,n.host),s=e.getQuotePreference(n.sourceFile,n.preferences),c=e.getEmitScriptTarget(n.program.getCompilerOptions()),u=n.program.getTypeChecker(),l=e.map(i.properties,(function(t){var r=E(n,u,o,s,u.getTypeOfSymbol(t));return e.factory.createPropertyAssignment(e.createPropertyNameNodeForIdentifierOrLiteral(t.name,c,0===s),r)})),p={leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude,indentation:i.indentation};r.replaceNode(n.sourceFile,i.parentDeclaration,e.factory.createObjectLiteralExpression(a(a([],i.parentDeclaration.properties,!0),l,!0),!0),p)}function E(r,n,i,a,o){if(3&o.flags)return S();if(134217732&o.flags)return e.factory.createStringLiteral("",0===a);if(8&o.flags)return e.factory.createNumericLiteral(0);if(64&o.flags)return e.factory.createBigIntLiteral("0n");if(16&o.flags)return e.factory.createFalse();if(1056&o.flags){var s=o.symbol.exports?e.firstOrUndefined(e.arrayFrom(o.symbol.exports.values())):o.symbol,c=n.symbolToExpression(o.symbol.parent?o.symbol.parent:o.symbol,111551,void 0,void 0);return void 0===s||void 0===c?e.factory.createNumericLiteral(0):e.factory.createPropertyAccessExpression(c,n.symbolToString(s))}if(256&o.flags)return e.factory.createNumericLiteral(o.value);if(2048&o.flags)return e.factory.createBigIntLiteral(o.value);if(128&o.flags)return e.factory.createStringLiteral(o.value,0===a);if(512&o.flags)return o===n.getFalseType()||o===n.getFalseType(!0)?e.factory.createFalse():e.factory.createTrue();if(65536&o.flags)return e.factory.createNull();if(1048576&o.flags){var u=e.firstDefined(o.types,(function(e){return E(r,n,i,a,e)}));return null!=u?u:S()}if(n.isArrayLikeType(o))return e.factory.createArrayLiteralExpression();if(function(t){return 524288&t.flags&&(128&e.getObjectFlags(t)||t.symbol&&e.tryCast(e.singleOrUndefined(t.symbol.declarations),e.isTypeLiteralNode))}(o)){var l=e.map(n.getPropertiesOfType(o),(function(t){var o=t.valueDeclaration?E(r,n,i,a,n.getTypeAtLocation(t.valueDeclaration)):S();return e.factory.createPropertyAssignment(t.name,o)}));return e.factory.createObjectLiteralExpression(l,!0)}if(16&e.getObjectFlags(o)){if(void 0===e.find(o.symbol.declarations||e.emptyArray,e.or(e.isFunctionTypeNode,e.isMethodSignature,e.isMethodDeclaration)))return S();var p=n.getSignaturesOfType(o,0);if(void 0===p)return S();var d=t.createSignatureDeclarationFromSignature(212,r,a,p[0],t.createStubbedBody(e.Diagnostics.Function_not_implemented.message,a),void 0,void 0,void 0,void 0,i);return null!=d?d:S()}if(1&e.getObjectFlags(o)){var f=e.getClassLikeDeclarationOfSymbol(o.symbol);if(void 0===f||e.hasAbstractModifier(f))return S();var _=e.getFirstConstructorWithBody(f);return _&&e.length(_.parameters)?S():e.factory.createNewExpression(e.factory.createIdentifier(o.symbol.name),void 0,void 0)}return S()}function S(){return e.factory.createIdentifier("undefined")}t.registerCodeFix({errorCodes:u,getCodeActions:function(r){var n=r.program.getTypeChecker(),a=l(r.sourceFile,r.span.start,r.errorCode,n,r.program);if(a){if(3===a.kind){var u=e.textChanges.ChangeTracker.with(r,(function(e){return x(e,r,a)}));return[t.createCodeFixAction(o,u,e.Diagnostics.Add_missing_properties,o,e.Diagnostics.Add_all_missing_properties)]}return 4===a.kind?(u=e.textChanges.ChangeTracker.with(r,(function(e){return b(e,r,a)})),[t.createCodeFixAction(s,u,e.Diagnostics.Add_missing_attributes,s,e.Diagnostics.Add_all_missing_attributes)]):2===a.kind?(u=e.textChanges.ChangeTracker.with(r,(function(e){return D(e,r,a)})),[t.createCodeFixAction(c,u,[e.Diagnostics.Add_missing_function_declaration_0,a.token.text],c,e.Diagnostics.Add_all_missing_function_declarations)]):0===a.kind?(u=e.textChanges.ChangeTracker.with(r,(function(e){return v(e,r.program.getTypeChecker(),a)})),[t.createCodeFixAction(i,u,[e.Diagnostics.Add_missing_enum_member_0,a.token.text],i,e.Diagnostics.Add_all_missing_members)]):e.concatenate(function(r,n){var a=n.parentDeclaration,o=n.declSourceFile,s=n.modifierFlags,c=n.token,u=n.call;if(void 0!==u&&!e.isPrivateIdentifier(c)){var l=c.text,p=function(t){return e.textChanges.ChangeTracker.with(r,(function(e){return y(r,e,u,c,t,a,o)}))},d=[t.createCodeFixAction(i,p(32&s),[32&s?e.Diagnostics.Declare_static_method_0:e.Diagnostics.Declare_method_0,l],i,e.Diagnostics.Add_all_missing_members)];return 8&s&&d.unshift(t.createCodeFixActionWithoutFixAll(i,p(8),[e.Diagnostics.Declare_private_method_0,l])),d}}(r,a),d(r,a))}},fixIds:[i,c,o,s],getAllCodeActions:function(r){var n=r.program,i=r.fixId,a=n.getTypeChecker(),p=new e.Map,d=new e.Map;return t.createCombinedCodeActions(e.textChanges.ChangeTracker.with(r,(function(_){t.eachDiagnostic(r,u,(function(t){var n=l(t.file,t.start,t.code,a,r.program);if(n&&e.addToSeen(p,e.getNodeId(n.parentDeclaration)+"#"+n.token.text))if(i===c&&2===n.kind)D(_,r,n);else if(i===o&&3===n.kind)x(_,r,n);else if(i===s&&4===n.kind)b(_,r,n);else if(0===n.kind&&v(_,a,n),1===n.kind){var u=n.parentDeclaration,f=n.token,m=e.getOrUpdate(d,u,(function(){return[]}));m.some((function(e){return e.token.text===f.text}))||m.push(n)}})),d.forEach((function(i,o){for(var s=t.getAllSupers(o,a),c=function(t){if(s.some((function(e){var r=d.get(e);return!!r&&r.some((function(e){return e.token.text===t.token.text}))})))return"continue";var i=t.parentDeclaration,a=t.declSourceFile,o=t.modifierFlags,c=t.token,u=t.call,l=t.isJSFile;if(u&&!e.isPrivateIdentifier(c))y(r,_,u,c,32&o,i,a);else if(l&&!e.isInterfaceDeclaration(i))f(_,a,i,c,!!(32&o));else{var p=m(n.getTypeChecker(),i,c);g(_,a,i,c.text,p,32&o)}},u=0,l=i;u<l.length;u++)c(l[u])}))})))}}),(n=r||(r={}))[n.Enum=0]="Enum",n[n.ClassOrInterface=1]="ClassOrInterface",n[n.Function=2]="Function",n[n.ObjectLiteral=3]="ObjectLiteral",n[n.JsxAttributes=4]="JsxAttributes"}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="addMissingNewOperator",n=[e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code];function i(t,r,n){var i=e.cast(function(t,r){for(var n=e.getTokenAtPosition(t,r.start),i=e.textSpanEnd(r);n.end<i;)n=n.parent;return n}(r,n),e.isCallExpression),a=e.factory.createNewExpression(i.expression,i.typeArguments,i.arguments);t.replaceNode(r,i,a)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=n.sourceFile,o=n.span,s=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,a,o)}));return[t.createCodeFixAction(r,s,e.Diagnostics.Add_missing_new_operator_to_call,r,e.Diagnostics.Add_missing_new_operator_to_all_calls)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){return i(t,e.sourceFile,r)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="installTypesPackage",n=e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations.code,i=[n,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code];function a(e,t){return{type:"install package",file:e,packageName:t}}function o(t,r){var n=e.tryCast(e.getTokenAtPosition(t,r),e.isStringLiteral);if(n){var i=n.text,a=e.parsePackageName(i).packageName;return e.isExternalModuleNameRelative(a)?void 0:a}}function s(t,r,i){var a;return i===n?e.JsTyping.nodeCoreModules.has(t)?"@types/node":void 0:null!==(a=r.isKnownTypesPackageName)&&void 0!==a&&a.call(r,t)?e.getTypesPackageName(t):void 0}t.registerCodeFix({errorCodes:i,getCodeActions:function(n){var i=n.host,c=n.sourceFile,u=o(c,n.span.start);if(void 0!==u){var l=s(u,i,n.errorCode);return void 0===l?[]:[t.createCodeFixAction("fixCannotFindModule",[],[e.Diagnostics.Install_0,l],r,e.Diagnostics.Install_all_missing_types_packages,a(c.fileName,l))]}},fixIds:[r],getAllCodeActions:function(n){return t.codeFixAll(n,i,(function(t,i,c){var u=o(i.file,i.start);if(void 0!==u)if(n.fixId===r){var l=s(u,n.host,i.code);l&&c.push(a(i.file.fileName,l))}else e.Debug.fail("Bad fixId: ".concat(n.fixId))}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r=[e.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,e.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code],n="fixClassDoesntImplementInheritedAbstractMember";function i(t,r){var n=e.getTokenAtPosition(t,r);return e.cast(n.parent,e.isClassLike)}function a(r,n,i,a,s){var c=e.getEffectiveBaseTypeNode(r),u=i.program.getTypeChecker(),l=u.getTypeAtLocation(c),p=u.getPropertiesOfType(l).filter(o),d=t.createImportAdder(n,i.program,s,i.host);t.createMissingMemberNodes(r,p,n,i,s,d,(function(e){return a.insertNodeAtClassStart(n,r,e)})),d.writeFixes(a)}function o(t){var r=e.getSyntacticModifierFlags(e.first(t.getDeclarations()));return!(8&r||!(128&r))}t.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=e.textChanges.ChangeTracker.with(r,(function(e){return a(i(o,s.start),o,r,e,r.preferences)}));return 0===c.length?void 0:[t.createCodeFixAction(n,c,e.Diagnostics.Implement_inherited_abstract_class,n,e.Diagnostics.Implement_all_inherited_abstract_classes)]},fixIds:[n],getAllCodeActions:function(n){var o=new e.Map;return t.codeFixAll(n,r,(function(t,r){var s=i(r.file,r.start);e.addToSeen(o,e.getNodeId(s))&&a(s,n.sourceFile,n,t,n.preferences)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="classSuperMustPrecedeThisAccess",n=[e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code];function i(e,t,r,n){e.insertNodeAtConstructorStart(t,r,n),e.delete(t,n)}function a(t,r){var n=e.getTokenAtPosition(t,r);if(108===n.kind){var i=e.getContainingFunction(n),a=o(i.body);return a&&!a.expression.arguments.some((function(t){return e.isPropertyAccessExpression(t)&&t.expression===n}))?{constructor:i,superCall:a}:void 0}}function o(t){return e.isExpressionStatement(t)&&e.isSuperCall(t.expression)?t:e.isFunctionLike(t)?void 0:e.forEachChild(t,o)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=a(o,s.start);if(c){var u=c.constructor,l=c.superCall,p=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,o,u,l)}));return[t.createCodeFixAction(r,p,e.Diagnostics.Make_super_call_the_first_statement_in_the_constructor,r,e.Diagnostics.Make_all_super_calls_the_first_statement_in_their_constructor)]}},fixIds:[r],getAllCodeActions:function(r){var o=r.sourceFile,s=new e.Map;return t.codeFixAll(r,n,(function(t,r){var n=a(r.file,r.start);if(n){var c=n.constructor,u=n.superCall;e.addToSeen(s,e.getNodeId(c.parent))&&i(t,o,c,u)}}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="constructorForDerivedNeedSuperCall",n=[e.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call.code];function i(t,r){var n=e.getTokenAtPosition(t,r);return e.Debug.assert(e.isConstructorDeclaration(n.parent),"token should be at the constructor declaration"),n.parent}function a(t,r,n){var i=e.factory.createExpressionStatement(e.factory.createCallExpression(e.factory.createSuper(),void 0,e.emptyArray));t.insertNodeAtConstructorStart(r,n,i)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=i(o,s.start),u=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c)}));return[t.createCodeFixAction(r,u,e.Diagnostics.Add_missing_super_call,r,e.Diagnostics.Add_all_missing_super_calls)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){return a(t,e.sourceFile,i(r.file,r.start))}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="enableExperimentalDecorators",n=[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.code];function i(r,n){t.setJsonCompilerOptionValue(r,n,"experimentalDecorators",e.factory.createTrue())}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=n.program.getCompilerOptions().configFile;if(void 0!==a){var o=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,a)}));return[t.createCodeFixActionWithoutFixAll(r,o,e.Diagnostics.Enable_the_experimentalDecorators_option_in_your_configuration_file)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t){var r=e.program.getCompilerOptions().configFile;void 0!==r&&i(t,r)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="fixEnableJsxFlag",n=[e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code];function i(r,n){t.setJsonCompilerOptionValue(r,n,"jsx",e.factory.createStringLiteral("react"))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=n.program.getCompilerOptions().configFile;if(void 0!==a){var o=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,a)}));return[t.createCodeFixActionWithoutFixAll(r,o,e.Diagnostics.Enable_the_jsx_flag_in_your_configuration_file)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t){var r=e.program.getCompilerOptions().configFile;void 0!==r&&i(t,r)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){var t;(t=e.codefix||(e.codefix={})).registerCodeFix({errorCodes:[e.Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code,e.Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code],getCodeActions:function(r){var n=r.program.getCompilerOptions(),i=n.configFile;if(void 0!==i){var a=[],o=e.getEmitModuleKind(n);if(o>=e.ModuleKind.ES2015&&o<e.ModuleKind.ESNext){var s=e.textChanges.ChangeTracker.with(r,(function(r){t.setJsonCompilerOptionValue(r,i,"module",e.factory.createStringLiteral("esnext"))}));a.push(t.createCodeFixActionWithoutFixAll("fixModuleOption",s,[e.Diagnostics.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))}var c=e.getEmitScriptTarget(n);return(c<4||c>99)&&(s=e.textChanges.ChangeTracker.with(r,(function(r){if(e.getTsConfigObjectLiteralExpression(i)){var n=[["target",e.factory.createStringLiteral("es2017")]];o===e.ModuleKind.CommonJS&&n.push(["module",e.factory.createStringLiteral("commonjs")]),t.setJsonCompilerOptionValues(r,i,n)}})),a.push(t.createCodeFixActionWithoutFixAll("fixTargetOption",s,[e.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))),a.length?a:void 0}}})}(n||(n={})),function(e){!function(t){var r="fixPropertyAssignment",n=[e.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code];function i(t,r,n){t.replaceNode(r,n,e.factory.createPropertyAssignment(n.name,n.objectAssignmentInitializer))}function a(t,r){return e.cast(e.getTokenAtPosition(t,r).parent,e.isShorthandPropertyAssignment)}t.registerCodeFix({errorCodes:n,fixIds:[r],getCodeActions:function(n){var o=a(n.sourceFile,n.span.start),s=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,o)}));return[t.createCodeFixAction(r,s,[e.Diagnostics.Change_0_to_1,"=",":"],r,[e.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return i(e,t.file,a(t.file,t.start))}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="extendsInterfaceBecomesImplements",n=[e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];function i(t,r){var n=e.getTokenAtPosition(t,r),i=e.getContainingClass(n).heritageClauses,a=i[0].getFirstToken();return 94===a.kind?{extendsToken:a,heritageClauses:i}:void 0}function a(t,r,n,i){if(t.replaceNode(r,n,e.factory.createToken(117)),2===i.length&&94===i[0].token&&117===i[1].token){var a=i[1].getFirstToken(),o=a.getFullStart();t.replaceRange(r,{pos:o,end:o},e.factory.createToken(27));for(var s=r.text,c=a.end;c<s.length&&e.isWhiteSpaceSingleLine(s.charCodeAt(c));)c++;t.deleteRange(r,{pos:a.getStart(),end:c})}}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=i(o,n.span.start);if(s){var c=s.extendsToken,u=s.heritageClauses,l=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c,u)}));return[t.createCodeFixAction(r,l,e.Diagnostics.Change_extends_to_implements,r,e.Diagnostics.Change_all_extended_interfaces_to_implements)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){var r=i(t.file,t.start);r&&a(e,t.file,r.extendsToken,r.heritageClauses)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="forgottenThisPropertyAccess",n=e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,i=[e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,n];function a(t,r,i){var a=e.getTokenAtPosition(t,r);if(e.isIdentifier(a)||e.isPrivateIdentifier(a))return{node:a,className:i===n?e.getContainingClass(a).name.text:void 0}}function o(t,r,n){var i=n.node,a=n.className;e.suppressLeadingAndTrailingTrivia(i),t.replaceNode(r,i,e.factory.createPropertyAccessExpression(a?e.factory.createIdentifier(a):e.factory.createThis(),i))}t.registerCodeFix({errorCodes:i,getCodeActions:function(n){var i=n.sourceFile,s=a(i,n.span.start,n.errorCode);if(s){var c=e.textChanges.ChangeTracker.with(n,(function(e){return o(e,i,s)}));return[t.createCodeFixAction(r,c,[e.Diagnostics.Add_0_to_unresolved_variable,s.className||"this"],r,e.Diagnostics.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,i,(function(t,r){var n=a(r.file,r.start,r.code);n&&o(t,e.sourceFile,n)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="fixInvalidJsxCharacters_expression",n="fixInvalidJsxCharacters_htmlEntity",i=[e.Diagnostics.Unexpected_token_Did_you_mean_or_gt.code,e.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace.code];t.registerCodeFix({errorCodes:i,fixIds:[r,n],getCodeActions:function(i){var a=i.sourceFile,s=i.preferences,c=i.span,u=e.textChanges.ChangeTracker.with(i,(function(e){return o(e,s,a,c.start,!1)})),l=e.textChanges.ChangeTracker.with(i,(function(e){return o(e,s,a,c.start,!0)}));return[t.createCodeFixAction(r,u,e.Diagnostics.Wrap_invalid_character_in_an_expression_container,r,e.Diagnostics.Wrap_all_invalid_characters_in_an_expression_container),t.createCodeFixAction(n,l,e.Diagnostics.Convert_invalid_character_to_its_html_entity_code,n,e.Diagnostics.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions:function(e){return t.codeFixAll(e,i,(function(t,r){return o(t,e.preferences,r.file,r.start,e.fixId===n)}))}});var a={">":"&gt;","}":"&rbrace;"};function o(t,r,n,i,o){var s=n.getText()[i];if(function(t){return e.hasProperty(a,t)}(s)){var c=o?a[s]:"{".concat(e.quote(n,r,s),"}");t.replaceRangeWithText(n,{pos:i,end:i+1},c)}}}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="deleteUnmatchedParameter",n="renameUnmatchedParameter",i=[e.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code];function a(t,r){var n=e.getTokenAtPosition(t,r);if(n.parent&&e.isJSDocParameterTag(n.parent)&&e.isIdentifier(n.parent.name)){var i=n.parent,a=e.getHostSignatureFromJSDoc(i);if(a)return{signature:a,name:n.parent.name,jsDocParameterTag:i}}}t.registerCodeFix({fixIds:[r,n],errorCodes:i,getCodeActions:function(i){var o=[],s=a(i.sourceFile,i.span.start);if(s)return e.append(o,function(n,i){var a=i.name,o=i.signature,s=i.jsDocParameterTag,c=e.textChanges.ChangeTracker.with(n,(function(e){return e.filterJSDocTags(n.sourceFile,o,(function(e){return e!==s}))}));return t.createCodeFixAction(r,c,[e.Diagnostics.Delete_unused_param_tag_0,a.getText(n.sourceFile)],r,e.Diagnostics.Delete_all_unused_param_tags)}(i,s)),e.append(o,function(r,i){var a=i.name,o=i.signature,s=i.jsDocParameterTag;if(e.length(o.parameters)){for(var c=r.sourceFile,u=e.getJSDocTags(o),l=new e.Set,p=0,d=u;p<d.length;p++){var f=d[p];e.isJSDocParameterTag(f)&&e.isIdentifier(f.name)&&l.add(f.name.escapedText)}var _=e.firstDefined(o.parameters,(function(t){return e.isIdentifier(t.name)&&!l.has(t.name.escapedText)?t.name.getText(c):void 0}));if(void 0!==_){var m=e.factory.updateJSDocParameterTag(s,s.tagName,e.factory.createIdentifier(_),s.isBracketed,s.typeExpression,s.isNameFirst,s.comment),g=e.textChanges.ChangeTracker.with(r,(function(t){return t.replaceJSDocComment(c,o,e.map(u,(function(e){return e===s?m:e})))}));return t.createCodeFixActionWithoutFixAll(n,g,[e.Diagnostics.Rename_param_tag_name_0_to_1,a.getText(c),_])}}}(i,s)),o},getAllCodeActions:function(n){var o=new e.Map;return t.createCombinedCodeActions(e.textChanges.ChangeTracker.with(n,(function(s){t.eachDiagnostic(n,i,(function(t){var r=a(t.file,t.start);r&&o.set(r.signature,e.append(o.get(r.signature),r.jsDocParameterTag))})),o.forEach((function(t,i){if(n.fixId===r){var a=new e.Set(t);s.filterJSDocTags(i.getSourceFile(),i,(function(e){return!a.has(e)}))}}))})))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="unusedIdentifier",n="unusedIdentifier_prefix",i="unusedIdentifier_delete",a="unusedIdentifier_deleteImports",o="unusedIdentifier_infer",s=[e.Diagnostics._0_is_declared_but_its_value_is_never_read.code,e.Diagnostics._0_is_declared_but_never_used.code,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,e.Diagnostics.All_imports_in_import_declaration_are_unused.code,e.Diagnostics.All_destructured_elements_are_unused.code,e.Diagnostics.All_variables_are_unused.code,e.Diagnostics.All_type_parameters_are_unused.code];function c(t,r,n){t.replaceNode(r,n.parent,e.factory.createKeywordTypeNode(154))}function u(n,a){return t.createCodeFixAction(r,n,a,i,e.Diagnostics.Delete_all_unused_declarations)}function l(t,r,n){t.delete(r,e.Debug.checkDefined(e.cast(n.parent,e.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function p(e){return 100===e.kind||79===e.kind&&(269===e.parent.kind||266===e.parent.kind)}function d(t){return 100===t.kind?e.tryCast(t.parent,e.isImportDeclaration):void 0}function f(t,r){return e.isVariableDeclarationList(r.parent)&&e.first(r.parent.getChildren(t))===r}function _(e,t,r){e.delete(t,236===r.parent.kind?r.parent:r)}function m(t,r,n,i){r!==e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&(137===i.kind&&(i=e.cast(i.parent,e.isInferTypeNode).typeParameter.name),e.isIdentifier(i)&&function(e){switch(e.parent.kind){case 163:case 162:return!0;case 253:switch(e.parent.parent.parent.kind){case 243:case 242:return!0}}return!1}(i)&&(t.replaceNode(n,i,e.factory.createIdentifier("_".concat(i.text))),e.isParameter(i.parent)&&e.getJSDocParameterTags(i.parent).forEach((function(r){e.isIdentifier(r.name)&&t.replaceNode(n,r.name,e.factory.createIdentifier("_".concat(r.name.text)))}))))}function g(t,r,n,i,a,o,s,c){(function(t,r,n,i,a,o,s,c){var u=t.parent;if(e.isParameter(u))!function(t,r,n,i,a,o,s,c){void 0===c&&(c=!1),function(t,r,n,i,a,o,s){var c=n.parent;switch(c.kind){case 168:case 170:var u=c.parameters.indexOf(n),l=e.isMethodDeclaration(c)?c.name:c,p=e.FindAllReferences.Core.getReferencedSymbolsForNode(c.pos,l,a,i,o);if(p)for(var d=0,f=p;d<f.length;d++)for(var _=0,m=f[d].references;_<m.length;_++){var g=m[_];if(1===g.kind){var h=e.isSuperKeyword(g.node)&&e.isCallExpression(g.node.parent)&&g.node.parent.arguments.length>u,v=e.isPropertyAccessExpression(g.node.parent)&&e.isSuperKeyword(g.node.parent.expression)&&e.isCallExpression(g.node.parent.parent)&&g.node.parent.parent.arguments.length>u,D=(e.isMethodDeclaration(g.node.parent)||e.isMethodSignature(g.node.parent))&&g.node.parent!==n.parent&&g.node.parent.parameters.length>u;if(h||v||D)return!1}}return!0;case 255:return!c.name||!function(t,r,n){return!!e.FindAllReferences.Core.eachSymbolReferenceInFile(n,t,r,(function(t){return e.isIdentifier(t)&&e.isCallExpression(t.parent)&&t.parent.arguments.indexOf(t)>=0}))}(t,r,c.name)||y(c,n,s);case 212:case 213:return y(c,n,s);case 172:return!1;case 171:return!0;default:return e.Debug.failBadSyntaxKind(c)}}(i,r,n,a,o,s,c)&&(n.modifiers&&n.modifiers.length>0&&(!e.isIdentifier(n.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(n.name,i,r))?n.modifiers.forEach((function(e){return t.deleteModifier(r,e)})):!n.initializer&&h(n,i,a)&&t.delete(r,n))}(r,n,u,i,a,o,s,c);else if(!(c&&e.isIdentifier(t)&&e.FindAllReferences.Core.isSymbolReferencedInFile(t,i,n))){var l=e.isImportClause(u)?t:e.isComputedPropertyName(u)?u.parent:u;e.Debug.assert(l!==n,"should not delete whole source file"),r.delete(n,l)}})(r,n,t,i,a,o,s,c),e.isIdentifier(r)&&e.FindAllReferences.Core.eachSymbolReferenceInFile(r,i,t,(function(r){e.isPropertyAccessExpression(r.parent)&&r.parent.name===r&&(r=r.parent),!c&&function(t){return(e.isBinaryExpression(t.parent)&&t.parent.left===t||(e.isPostfixUnaryExpression(t.parent)||e.isPrefixUnaryExpression(t.parent))&&t.parent.operand===t)&&e.isExpressionStatement(t.parent.parent)}(r)&&n.delete(t,r.parent.parent)}))}function h(t,r,n){var i=t.parent.parameters.indexOf(t);return!e.FindAllReferences.Core.someSignatureUsage(t.parent,n,r,(function(e,t){return!t||t.arguments.length>i}))}function y(t,r,n){var i=t.parameters,a=i.indexOf(r);return e.Debug.assert(-1!==a,"The parameter should already be in the list"),n?i.slice(a+1).every((function(t){return e.isIdentifier(t.name)&&!t.symbol.isReferenced})):a===i.length-1}t.registerCodeFix({errorCodes:s,getCodeActions:function(i){var s=i.errorCode,h=i.sourceFile,y=i.program,v=i.cancellationToken,D=y.getTypeChecker(),b=y.getSourceFiles(),x=e.getTokenAtPosition(h,i.span.start);if(e.isJSDocTemplateTag(x))return[u(e.textChanges.ChangeTracker.with(i,(function(e){return e.delete(h,x)})),e.Diagnostics.Remove_template_tag)];if(29===x.kind)return[u(S=e.textChanges.ChangeTracker.with(i,(function(e){return l(e,h,x)})),e.Diagnostics.Remove_type_parameters)];var E=d(x);if(E){var S=e.textChanges.ChangeTracker.with(i,(function(e){return e.delete(h,E)}));return[t.createCodeFixAction(r,S,[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(E)],a,e.Diagnostics.Delete_all_unused_imports)]}if(p(x)&&(N=e.textChanges.ChangeTracker.with(i,(function(e){return g(h,x,e,D,b,y,v,!1)}))).length)return[t.createCodeFixAction(r,N,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,x.getText(h)],a,e.Diagnostics.Delete_all_unused_imports)];if(e.isObjectBindingPattern(x.parent)||e.isArrayBindingPattern(x.parent)){if(e.isParameter(x.parent.parent)){var C=x.parent.elements,T=[C.length>1?e.Diagnostics.Remove_unused_declarations_for_Colon_0:e.Diagnostics.Remove_unused_declaration_for_Colon_0,e.map(C,(function(e){return e.getText(h)})).join(", ")];return[u(e.textChanges.ChangeTracker.with(i,(function(t){return function(t,r,n){e.forEach(n.elements,(function(e){return t.delete(r,e)}))}(t,h,x.parent)})),T)]}return[u(e.textChanges.ChangeTracker.with(i,(function(e){return e.delete(h,x.parent.parent)})),e.Diagnostics.Remove_unused_destructuring_declaration)]}if(f(h,x))return[u(e.textChanges.ChangeTracker.with(i,(function(e){return _(e,h,x.parent)})),e.Diagnostics.Remove_variable_statement)];var k=[];if(137===x.kind){S=e.textChanges.ChangeTracker.with(i,(function(e){return c(e,h,x)}));var A=e.cast(x.parent,e.isInferTypeNode).typeParameter.name.text;k.push(t.createCodeFixAction(r,S,[e.Diagnostics.Replace_infer_0_with_unknown,A],o,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var N;(N=e.textChanges.ChangeTracker.with(i,(function(e){return g(h,x,e,D,b,y,v,!1)}))).length&&(A=e.isComputedPropertyName(x.parent)?x.parent:x,k.push(u(N,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,A.getText(h)])))}var P=e.textChanges.ChangeTracker.with(i,(function(e){return m(e,s,h,x)}));return P.length&&k.push(t.createCodeFixAction(r,P,[e.Diagnostics.Prefix_0_with_an_underscore,x.getText(h)],n,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),k},fixIds:[n,i,a,o],getAllCodeActions:function(r){var u=r.sourceFile,y=r.program,v=r.cancellationToken,D=y.getTypeChecker(),b=y.getSourceFiles();return t.codeFixAll(r,s,(function(t,s){var x=e.getTokenAtPosition(u,s.start);switch(r.fixId){case n:m(t,s.code,u,x);break;case a:var E=d(x);E?t.delete(u,E):p(x)&&g(u,x,t,D,b,y,v,!0);break;case i:if(137===x.kind||p(x))break;if(e.isJSDocTemplateTag(x))t.delete(u,x);else if(29===x.kind)l(t,u,x);else if(e.isObjectBindingPattern(x.parent)){if(x.parent.parent.initializer)break;(!e.isParameter(x.parent.parent)||h(x.parent.parent,D,b))&&t.delete(u,x.parent.parent)}else{if(e.isArrayBindingPattern(x.parent.parent)&&x.parent.parent.parent.initializer)break;f(u,x)?_(t,u,x.parent):g(u,x,t,D,b,y,v,!0)}break;case o:137===x.kind&&c(t,u,x);break;default:e.Debug.fail(JSON.stringify(r.fixId))}}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="fixUnreachableCode",n=[e.Diagnostics.Unreachable_code_detected.code];function i(t,r,n,i,a){var o=e.getTokenAtPosition(r,n),s=e.findAncestor(o,e.isStatement);if(s.getStart(r)!==o.getStart(r)){var c=JSON.stringify({statementKind:e.Debug.formatSyntaxKind(s.kind),tokenKind:e.Debug.formatSyntaxKind(o.kind),errorCode:a,start:n,length:i});e.Debug.fail("Token and statement should start at the same point. "+c)}var u=(e.isBlock(s.parent)?s.parent:s).parent;if(!e.isBlock(s.parent)||s===e.first(s.parent.statements))switch(u.kind){case 238:if(u.elseStatement){if(e.isBlock(s.parent))break;return void t.replaceNode(r,s,e.factory.createBlock(e.emptyArray))}case 240:case 241:return void t.delete(r,u)}if(e.isBlock(s.parent)){var l=n+i,p=e.Debug.checkDefined(function(e,t){for(var r,n=0,i=e;n<i.length;n++){var a=i[n];if(!t(a))break;r=a}return r}(e.sliceAfter(s.parent.statements,s),(function(e){return e.pos<l})),"Some statement should be last");t.deleteNodeRange(r,s,p)}else t.delete(r,s)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){if(!n.program.getSyntacticDiagnostics(n.sourceFile,n.cancellationToken).length){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span.start,n.span.length,n.errorCode)}));return[t.createCodeFixAction(r,a,e.Diagnostics.Remove_unreachable_code,r,e.Diagnostics.Remove_all_unreachable_code)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return i(e,t.file,t.start,t.length,t.code)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="fixUnusedLabel",n=[e.Diagnostics.Unused_label.code];function i(t,r,n){var i=e.getTokenAtPosition(r,n),a=e.cast(i.parent,e.isLabeledStatement),o=i.getStart(r),s=a.statement.getStart(r),c=e.positionsAreOnSameLine(o,s,r)?s:e.skipTrivia(r.text,e.findChildOfKind(a,58,r).end,!0);t.deleteRange(r,{pos:o,end:c})}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span.start)}));return[t.createCodeFixAction(r,a,e.Diagnostics.Remove_unused_label,r,e.Diagnostics.Remove_all_unused_labels)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return i(e,t.file,t.start)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="fixJSDocTypes_plain",n="fixJSDocTypes_nullable",i=[e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments.code];function a(e,t,r,n,i){e.replaceNode(t,r,i.typeToTypeNode(n,r,void 0))}function o(t,r,n){var i=e.findAncestor(e.getTokenAtPosition(t,r),s),a=i&&i.type;return a&&{typeNode:a,type:n.getTypeFromTypeNode(a)}}function s(e){switch(e.kind){case 228:case 173:case 174:case 255:case 171:case 175:case 194:case 168:case 167:case 163:case 166:case 165:case 172:case 258:case 210:case 253:return!0;default:return!1}}t.registerCodeFix({errorCodes:i,getCodeActions:function(i){var s=i.sourceFile,c=i.program.getTypeChecker(),u=o(s,i.span.start,c);if(u){var l=u.typeNode,p=u.type,d=l.getText(s),f=[_(p,r,e.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript)];return 312===l.kind&&f.push(_(c.getNullableType(p,32768),n,e.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),f}function _(r,n,o){var u=e.textChanges.ChangeTracker.with(i,(function(e){return a(e,s,l,r,c)}));return t.createCodeFixAction("jdocTypes",u,[e.Diagnostics.Change_0_to_1,d,c.typeToString(r)],n,o)}},fixIds:[r,n],getAllCodeActions:function(e){var r=e.fixId,s=e.program,c=e.sourceFile,u=s.getTypeChecker();return t.codeFixAll(e,i,(function(e,t){var i=o(t.file,t.start,u);if(i){var s=i.typeNode,l=i.type,p=312===s.kind&&r===n?u.getNullableType(l,32768):l;a(e,c,s,p,u)}}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="fixMissingCallParentheses",n=[e.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code];function i(e,t,r){e.replaceNodeWithText(t,r,"".concat(r.text,"()"))}function a(t,r){var n=e.getTokenAtPosition(t,r);if(e.isPropertyAccessExpression(n.parent)){for(var i=n.parent;e.isPropertyAccessExpression(i.parent);)i=i.parent;return i.name}if(e.isIdentifier(n))return n}t.registerCodeFix({errorCodes:n,fixIds:[r],getCodeActions:function(n){var o=a(n.sourceFile,n.span.start);if(o){var s=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,o)}));return[t.createCodeFixAction(r,s,e.Diagnostics.Add_missing_call_parentheses,r,e.Diagnostics.Add_all_missing_call_parentheses)]}},getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){var r=a(t.file,t.start);r&&i(e,t.file,r)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="fixAwaitInSyncFunction",n=[e.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,e.Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code];function i(t){return t.type?t.type:e.isVariableDeclaration(t.parent)&&t.parent.type&&e.isFunctionTypeNode(t.parent.type)?t.parent.type.type:void 0}function a(t,r){var n=e.getTokenAtPosition(t,r),a=e.getContainingFunction(n);if(a){var o;switch(a.kind){case 168:o=a.name;break;case 255:case 212:o=e.findChildOfKind(a,98,t);break;case 213:var s=a.typeParameters?29:20;o=e.findChildOfKind(a,s,t)||e.first(a.parameters);break;default:return}return o&&{insertBefore:o,returnType:i(a)}}}function o(t,r,n){var i=n.insertBefore,a=n.returnType;if(a){var o=e.getEntityNameFromTypeNode(a);(!o||79!==o.kind||"Promise"!==o.text)&&t.replaceNode(r,a,e.factory.createTypeReferenceNode("Promise",e.factory.createNodeArray([a])))}t.insertModifierBefore(r,131,i)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=n.sourceFile,s=n.span,c=a(i,s.start);if(c){var u=e.textChanges.ChangeTracker.with(n,(function(e){return o(e,i,c)}));return[t.createCodeFixAction(r,u,e.Diagnostics.Add_async_modifier_to_containing_function,r,e.Diagnostics.Add_all_missing_async_modifiers)]}},fixIds:[r],getAllCodeActions:function(r){var i=new e.Map;return t.codeFixAll(r,n,(function(t,n){var s=a(n.file,n.start);!s||!e.addToSeen(i,e.getNodeId(s.insertBefore))||o(t,r.sourceFile,s)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r=[e.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,e.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],n="fixPropertyOverrideAccessor";function i(r,n,i,a,o){var s,c;if(a===e.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)s=n,c=n+i;else if(a===e.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){var u=o.program.getTypeChecker(),l=e.getTokenAtPosition(r,n).parent;e.Debug.assert(e.isAccessor(l),"error span of fixPropertyOverrideAccessor should only be on an accessor");var p=l.parent;e.Debug.assert(e.isClassLike(p),"erroneous accessors should only be inside classes");var d=e.singleOrUndefined(t.getAllSupers(p,u));if(!d)return[];var f=e.unescapeLeadingUnderscores(e.getTextOfPropertyName(l.name)),_=u.getPropertyOfType(u.getTypeAtLocation(d),f);if(!_||!_.valueDeclaration)return[];s=_.valueDeclaration.pos,c=_.valueDeclaration.end,r=e.getSourceFileOfNode(_.valueDeclaration)}else e.Debug.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+a);return t.generateAccessorFromProperty(r,o.program,s,c,o,e.Diagnostics.Generate_get_and_set_accessors.message)}t.registerCodeFix({errorCodes:r,getCodeActions:function(r){var a=i(r.sourceFile,r.span.start,r.span.length,r.errorCode,r);if(a)return[t.createCodeFixAction(n,a,e.Diagnostics.Generate_get_and_set_accessors,n,e.Diagnostics.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[n],getAllCodeActions:function(e){return t.codeFixAll(e,r,(function(t,r){var n=i(r.file,r.start,r.length,r.code,e);if(n)for(var a=0,o=n;a<o.length;a++){var s=o[a];t.pushRaw(e.sourceFile,s)}}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="inferFromUsage",n=[e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,e.Diagnostics.Variable_0_implicitly_has_an_1_type.code,e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code,e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,e.Diagnostics.Member_0_implicitly_has_an_1_type.code,e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,e.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];function i(t,r){switch(t){case e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:case e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.isSetAccessorDeclaration(e.getContainingFunction(r))?e.Diagnostics.Infer_type_of_0_from_usage:e.Diagnostics.Infer_parameter_types_from_usage;case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Infer_parameter_types_from_usage;case e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return e.Diagnostics.Infer_this_type_of_0_from_usage;default:return e.Diagnostics.Infer_type_of_0_from_usage}}function o(r,n,i,a,o,p,m,g,h){if(e.isParameterPropertyModifier(i.kind)||79===i.kind||25===i.kind||108===i.kind){var y=i.parent,v=t.createImportAdder(n,o,h,g);switch(a=function(t){switch(t){case e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Variable_0_implicitly_has_an_1_type.code;case e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code;case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code;case e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case e.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Member_0_implicitly_has_an_1_type.code}return t}(a)){case e.Diagnostics.Member_0_implicitly_has_an_1_type.code:case e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(e.isVariableDeclaration(y)&&m(y)||e.isPropertyDeclaration(y)||e.isPropertySignature(y))return s(r,v,n,y,o,g,p),v.writeFixes(r),y;if(e.isPropertyAccessExpression(y)){var D=d(y.name,o,p),b=e.getTypeNodeIfAccessible(D,y,o,g);if(b){var x=e.factory.createJSDocTypeTag(void 0,e.factory.createJSDocTypeExpression(b),void 0);r.addJSDocTags(n,e.cast(y.parent.parent,e.isExpressionStatement),[x])}return v.writeFixes(r),y}return;case e.Diagnostics.Variable_0_implicitly_has_an_1_type.code:var E=o.getTypeChecker().getSymbolAtLocation(i);return E&&E.valueDeclaration&&e.isVariableDeclaration(E.valueDeclaration)&&m(E.valueDeclaration)?(s(r,v,e.getSourceFileOfNode(E.valueDeclaration),E.valueDeclaration,o,g,p),v.writeFixes(r),E.valueDeclaration):void 0}var S=e.getContainingFunction(i);if(void 0!==S){var C;switch(a){case e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:if(e.isSetAccessorDeclaration(S)){c(r,v,n,S,o,g,p),C=S;break}case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:if(m(S)){var T=e.cast(y,e.isParameter);(function(t,r,n,i,a,o,s,c){if(e.isIdentifier(i.name)){var p=function(t,r,n,i){var a=f(t,r,n,i);return a&&_(n,a,i).parameters(t)||t.parameters.map((function(t){return{declaration:t,type:e.isIdentifier(t.name)?d(t.name,n,i):n.getTypeChecker().getAnyType()}}))}(a,n,o,c);if(e.Debug.assert(a.parameters.length===p.length,"Parameter count and inference count should match"),e.isInJSFile(a))l(t,n,p,o,s);else{var m=e.isArrowFunction(a)&&!e.findChildOfKind(a,20,n);m&&t.insertNodeBefore(n,e.first(a.parameters),e.factory.createToken(20));for(var g=0,h=p;g<h.length;g++){var y=h[g],v=y.declaration,D=y.type;v&&!v.type&&!v.initializer&&u(t,r,n,v,D,o,s)}m&&t.insertNodeAfter(n,e.last(a.parameters),e.factory.createToken(21))}}})(r,v,n,T,S,o,g,p),C=T}break;case e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:e.isGetAccessorDeclaration(S)&&e.isIdentifier(S.name)&&(u(r,v,n,S,d(S.name,o,p),o,g),C=S);break;case e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:e.isSetAccessorDeclaration(S)&&(c(r,v,n,S,o,g,p),C=S);break;case e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:e.textChanges.isThisTypeAnnotatable(S)&&m(S)&&(function(t,r,n,i,a,o){var s=f(n,r,i,o);if(s&&s.length){var c=_(i,s,o).thisParameter(),u=e.getTypeNodeIfAccessible(c,n,i,a);!u||(e.isInJSFile(n)?function(t,r,n,i){t.addJSDocTags(r,n,[e.factory.createJSDocThisTag(void 0,e.factory.createJSDocTypeExpression(i))])}(t,r,n,u):t.tryInsertThisTypeAnnotation(r,n,u))}}(r,n,S,o,g,p),C=S);break;default:return e.Debug.fail(String(a))}return v.writeFixes(r),C}}}function s(t,r,n,i,a,o,s){e.isIdentifier(i.name)&&u(t,r,n,i,d(i.name,a,s),a,o)}function c(t,r,n,i,a,o,s){var c=e.firstOrUndefined(i.parameters);if(c&&e.isIdentifier(i.name)&&e.isIdentifier(c.name)){var p=d(i.name,a,s);p===a.getTypeChecker().getAnyType()&&(p=d(c.name,a,s)),e.isInJSFile(i)?l(t,n,[{declaration:c,type:p}],a,o):u(t,r,n,c,p,a,o)}}function u(r,n,i,a,o,s,c){var u=e.getTypeNodeIfAccessible(o,a,s,c);if(u)if(e.isInJSFile(i)&&165!==a.kind){var l=e.isVariableDeclaration(a)?e.tryCast(a.parent.parent,e.isVariableStatement):a;if(!l)return;var p=e.factory.createJSDocTypeExpression(u),d=e.isGetAccessorDeclaration(a)?e.factory.createJSDocReturnTag(void 0,p,void 0):e.factory.createJSDocTypeTag(void 0,p,void 0);r.addJSDocTags(i,l,[d])}else(function(r,n,i,a,o,s){var c=t.tryGetAutoImportableReferenceFromTypeNode(r,s);return!(!c||!a.tryInsertTypeAnnotation(i,n,c.typeNode)||(e.forEach(c.symbols,(function(e){return o.addImportFromExportedSymbol(e,!0)})),0))})(u,a,i,r,n,e.getEmitScriptTarget(s.getCompilerOptions()))||r.tryInsertTypeAnnotation(i,a,u)}function l(t,r,n,i,a){var o=n.length&&n[0].declaration.parent;if(o){var s=e.mapDefined(n,(function(t){var r=t.declaration;if(!r.initializer&&!e.getJSDocType(r)&&e.isIdentifier(r.name)){var n=t.type&&e.getTypeNodeIfAccessible(t.type,r,i,a);if(n){var o=e.factory.cloneNode(r.name);return e.setEmitFlags(o,3584),{name:e.factory.cloneNode(r.name),param:r,isOptional:!!t.isOptional,typeNode:n}}}}));if(s.length)if(e.isArrowFunction(o)||e.isFunctionExpression(o)){var c=e.isArrowFunction(o)&&!e.findChildOfKind(o,20,r);c&&t.insertNodeBefore(r,e.first(o.parameters),e.factory.createToken(20)),e.forEach(s,(function(n){var i=n.typeNode,a=n.param,o=e.factory.createJSDocTypeTag(void 0,e.factory.createJSDocTypeExpression(i)),s=e.factory.createJSDocComment(void 0,[o]);t.insertNodeAt(r,a.getStart(r),s,{suffix:" "})})),c&&t.insertNodeAfter(r,e.last(o.parameters),e.factory.createToken(21))}else{var u=e.map(s,(function(t){var r=t.name,n=t.typeNode,i=t.isOptional;return e.factory.createJSDocParameterTag(void 0,r,!!i,e.factory.createJSDocTypeExpression(n),!1,void 0)}));t.addJSDocTags(r,o,u)}}}function p(t,r,n){return e.mapDefined(e.FindAllReferences.getReferenceEntriesForNode(-1,t,r,r.getSourceFiles(),n),(function(t){return 0!==t.kind?e.tryCast(t.node,e.isIdentifier):void 0}))}function d(e,t,r){return _(t,p(e,t,r),r).single()}function f(t,r,n,i){var a;switch(t.kind){case 170:a=e.findChildOfKind(t,134,r);break;case 213:case 212:var o=t.parent;a=(e.isVariableDeclaration(o)||e.isPropertyDeclaration(o))&&e.isIdentifier(o.name)?o.name:t.name;break;case 255:case 168:case 167:a=t.name}if(a)return p(a,n,i)}function _(t,r,n){var i=t.getTypeChecker(),o={string:function(){return i.getStringType()},number:function(){return i.getNumberType()},Array:function(e){return i.createArrayType(e)},Promise:function(e){return i.createPromiseType(e)}},s=[i.getStringType(),i.getNumberType(),i.createArrayType(i.getAnyType()),i.createPromiseType(i.getAnyType())];return{single:function(){return _(u(r))},parameters:function(o){if(0!==r.length&&o.parameters){for(var s={isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0},c=0,d=r;c<d.length;c++){var f=d[c];n.throwIfCancellationRequested(),l(f,s)}var m=a(a([],s.constructs||[],!0),s.calls||[],!0);return o.parameters.map((function(r,a){for(var s=[],c=e.isRestParameter(r),l=!1,d=0,f=m;d<f.length;d++){var g=f[d];if(g.argumentTypes.length<=a)l=e.isInJSFile(o),s.push(i.getUndefinedType());else if(c)for(var h=a;h<g.argumentTypes.length;h++)s.push(i.getBaseTypeOfLiteralType(g.argumentTypes[h]));else s.push(i.getBaseTypeOfLiteralType(g.argumentTypes[a]))}if(e.isIdentifier(r.name)){var y=u(p(r.name,t,n));s.push.apply(s,c?e.mapDefined(y,i.getElementTypeOfArrayType):y)}var v=_(s);return{type:c?i.createArrayType(v):v,isOptional:l&&!c,declaration:r}}))}},thisParameter:function(){for(var t={isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0},i=0,a=r;i<a.length;i++){var o=a[i];n.throwIfCancellationRequested(),l(o,t)}return _(t.candidateThisTypes||e.emptyArray)}};function c(t){for(var r=new e.Map,n=0,i=t;n<i.length;n++){var a=i[n];a.properties&&a.properties.forEach((function(e,t){r.has(t)||r.set(t,[]),r.get(t).push(e)}))}var o=new e.Map;return r.forEach((function(e,t){o.set(t,c(e))})),{isNumber:t.some((function(e){return e.isNumber})),isString:t.some((function(e){return e.isString})),isNumberOrString:t.some((function(e){return e.isNumberOrString})),candidateTypes:e.flatMap(t,(function(e){return e.candidateTypes})),properties:o,calls:e.flatMap(t,(function(e){return e.calls})),constructs:e.flatMap(t,(function(e){return e.constructs})),numberIndex:e.forEach(t,(function(e){return e.numberIndex})),stringIndex:e.forEach(t,(function(e){return e.stringIndex})),candidateThisTypes:e.flatMap(t,(function(e){return e.candidateThisTypes})),inferredTypes:void 0}}function u(e){for(var t={isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0},r=0,i=e;r<i.length;r++){var a=i[r];n.throwIfCancellationRequested(),l(a,t)}return m(t)}function l(t,r){for(;e.isRightSideOfQualifiedNameOrPropertyAccess(t);)t=t.parent;switch(t.parent.kind){case 237:!function(t,r){v(r,e.isCallExpression(t)?i.getVoidType():i.getAnyType())}(t,r);break;case 219:r.isNumber=!0;break;case 218:!function(e,t){switch(e.operator){case 45:case 46:case 40:case 54:t.isNumber=!0;break;case 39:t.isNumberOrString=!0}}(t.parent,r);break;case 220:!function(t,r,n){switch(r.operatorToken.kind){case 42:case 41:case 43:case 44:case 47:case 48:case 49:case 50:case 51:case 52:case 65:case 67:case 66:case 68:case 69:case 73:case 74:case 78:case 70:case 72:case 71:case 40:case 29:case 32:case 31:case 33:var a=i.getTypeAtLocation(r.left===t?r.right:r.left);1056&a.flags?v(n,a):n.isNumber=!0;break;case 64:case 39:var o=i.getTypeAtLocation(r.left===t?r.right:r.left);1056&o.flags?v(n,o):296&o.flags?n.isNumber=!0:402653316&o.flags?n.isString=!0:1&o.flags||(n.isNumberOrString=!0);break;case 63:case 34:case 36:case 37:case 35:v(n,i.getTypeAtLocation(r.left===t?r.right:r.left));break;case 101:t===r.left&&(n.isString=!0);break;case 56:case 60:t===r.left&&(253===t.parent.parent.kind||e.isAssignmentExpression(t.parent.parent,!0))&&v(n,i.getTypeAtLocation(r.right))}}(t,t.parent,r);break;case 288:case 289:!function(e,t){v(t,i.getTypeAtLocation(e.parent.parent.expression))}(t.parent,r);break;case 207:case 208:t.parent.expression===t?function(e,t){var r={argumentTypes:[],return_:{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0}};if(e.arguments)for(var n=0,a=e.arguments;n<a.length;n++){var o=a[n];r.argumentTypes.push(i.getTypeAtLocation(o))}l(e,r.return_),207===e.kind?(t.calls||(t.calls=[])).push(r):(t.constructs||(t.constructs=[])).push(r)}(t.parent,r):d(t,r);break;case 205:!function(t,r){var n=e.escapeLeadingUnderscores(t.name.text);r.properties||(r.properties=new e.Map);var i=r.properties.get(n)||{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0};l(t,i),r.properties.set(n,i)}(t.parent,r);break;case 206:!function(e,t,r){if(t!==e.argumentExpression){var n=i.getTypeAtLocation(e.argumentExpression),a={isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0};l(e,a),296&n.flags?r.numberIndex=a:r.stringIndex=a}else r.isNumberOrString=!0}(t.parent,t,r);break;case 294:case 295:!function(t,r){var n=e.isVariableDeclaration(t.parent.parent)?t.parent.parent:t.parent;D(r,i.getTypeAtLocation(n))}(t.parent,r);break;case 166:!function(e,t){D(t,i.getTypeAtLocation(e.parent))}(t.parent,r);break;case 253:var n=t.parent,a=n.name,o=n.initializer;if(t===a){o&&v(r,i.getTypeAtLocation(o));break}default:return d(t,r)}}function d(t,r){e.isExpressionNode(t)&&v(r,i.getContextualType(t))}function f(e){return _(m(e))}function _(t){if(!t.length)return i.getAnyType();var r=i.getUnionType([i.getStringType(),i.getNumberType()]),n=function(t,r){for(var n=[],i=0,a=t;i<a.length;i++)for(var o=a[i],s=0,c=r;s<c.length;s++){var u=c[s],l=u.high,p=u.low;l(o)&&(e.Debug.assert(!p(o),"Priority can't have both low and high"),n.push(p))}return t.filter((function(e){return n.every((function(t){return!t(e)}))}))}(t,[{high:function(e){return e===i.getStringType()||e===i.getNumberType()},low:function(e){return e===r}},{high:function(e){return!(16385&e.flags)},low:function(e){return!!(16385&e.flags)}},{high:function(t){return!(114689&t.flags||16&e.getObjectFlags(t))},low:function(t){return!!(16&e.getObjectFlags(t))}}]),a=n.filter((function(t){return 16&e.getObjectFlags(t)}));return a.length&&(n=n.filter((function(t){return!(16&e.getObjectFlags(t))}))).push(function(t){if(1===t.length)return t[0];for(var r=[],n=[],a=[],o=[],s=!1,c=!1,u=e.createMultiMap(),l=0,p=t;l<p.length;l++){for(var d=p[l],f=0,_=i.getPropertiesOfType(d);f<_.length;f++){var m=_[f];u.add(m.name,m.valueDeclaration?i.getTypeOfSymbolAtLocation(m,m.valueDeclaration):i.getAnyType())}r.push.apply(r,i.getSignaturesOfType(d,0)),n.push.apply(n,i.getSignaturesOfType(d,1));var g=i.getIndexInfoOfType(d,0);g&&(a.push(g.type),s=s||g.isReadonly);var h=i.getIndexInfoOfType(d,1);h&&(o.push(h.type),c=c||h.isReadonly)}var y=e.mapEntries(u,(function(e,r){var n=r.length<t.length?16777216:0,a=i.createSymbol(4|n,e);return a.type=i.getUnionType(r),[e,a]})),v=[];return a.length&&v.push(i.createIndexInfo(i.getStringType(),i.getUnionType(a),s)),o.length&&v.push(i.createIndexInfo(i.getNumberType(),i.getUnionType(o),c)),i.createAnonymousType(t[0].symbol,y,r,n,v)}(a)),i.getWidenedType(i.getUnionType(n.map(i.getBaseTypeOfLiteralType),2))}function m(t){var r,n,c,u=[];t.isNumber&&u.push(i.getNumberType()),t.isString&&u.push(i.getStringType()),t.isNumberOrString&&u.push(i.getUnionType([i.getStringType(),i.getNumberType()])),t.numberIndex&&u.push(i.createArrayType(f(t.numberIndex))),((null===(r=t.properties)||void 0===r?void 0:r.size)||(null===(n=t.constructs)||void 0===n?void 0:n.length)||t.stringIndex)&&u.push(g(t));var l=(t.candidateTypes||[]).map((function(e){return i.getBaseTypeOfLiteralType(e)})),p=null!==(c=t.calls)&&void 0!==c&&c.length?g(t):void 0;return p&&l?u.push(i.getUnionType(a([p],l,!0),2)):(p&&u.push(p),e.length(l)&&u.push.apply(u,l)),u.push.apply(u,function(t){if(!t.properties||!t.properties.size)return[];var r=s.filter((function(r){return function(t,r){return!!r.properties&&!e.forEachEntry(r.properties,(function(r,n){var a=i.getTypeOfPropertyOfType(t,n);return!(a&&(r.calls?i.getSignaturesOfType(a,0).length&&i.isTypeAssignableTo(a,function(t){return i.createAnonymousType(void 0,e.createSymbolTable(),[y(t)],e.emptyArray,e.emptyArray)}(r.calls)):i.isTypeAssignableTo(a,f(r))))}))}(r,t)}));return 0<r.length&&r.length<3?r.map((function(r){return function(t,r){if(!(4&e.getObjectFlags(t)&&r.properties))return t;var n=t.target,a=e.singleOrUndefined(n.typeParameters);if(!a)return t;var s=[];return r.properties.forEach((function(t,r){var o=i.getTypeOfPropertyOfType(n,r);e.Debug.assert(!!o,"generic should have all the properties of its reference."),s.push.apply(s,h(o,f(t),a))})),o[t.symbol.escapedName](_(s))}(r,t)})):[]}(t)),u}function g(t){var r=new e.Map;t.properties&&t.properties.forEach((function(e,t){var n=i.createSymbol(4,t);n.type=f(e),r.set(t,n)}));var n=t.calls?[y(t.calls)]:[],a=t.constructs?[y(t.constructs)]:[],o=t.stringIndex?[i.createIndexInfo(i.getStringType(),f(t.stringIndex),!1)]:[];return i.createAnonymousType(void 0,r,n,a,o)}function h(t,r,n){if(t===n)return[r];if(3145728&t.flags)return e.flatMap(t.types,(function(e){return h(e,r,n)}));if(4&e.getObjectFlags(t)&&4&e.getObjectFlags(r)){var a=i.getTypeArguments(t),o=i.getTypeArguments(r),s=[];if(a&&o)for(var c=0;c<a.length;c++)o[c]&&s.push.apply(s,h(a[c],o[c],n));return s}var u=i.getSignaturesOfType(t,0),l=i.getSignaturesOfType(r,0);return 1===u.length&&1===l.length?function(t,r,n){for(var a=[],o=0;o<t.parameters.length;o++){var s=t.parameters[o],c=r.parameters[o],u=t.declaration&&e.isRestParameter(t.declaration.parameters[o]);if(!c)break;var l=s.valueDeclaration?i.getTypeOfSymbolAtLocation(s,s.valueDeclaration):i.getAnyType(),p=u&&i.getElementTypeOfArrayType(l);p&&(l=p);var d=c.type||(c.valueDeclaration?i.getTypeOfSymbolAtLocation(c,c.valueDeclaration):i.getAnyType());a.push.apply(a,h(l,d,n))}var f=i.getReturnTypeOfSignature(t),_=i.getReturnTypeOfSignature(r);return a.push.apply(a,h(f,_,n)),a}(u[0],l[0],n):[]}function y(t){for(var r=[],n=Math.max.apply(Math,t.map((function(e){return e.argumentTypes.length}))),a=function(n){var a=i.createSymbol(1,e.escapeLeadingUnderscores("arg".concat(n)));a.type=_(t.map((function(e){return e.argumentTypes[n]||i.getUndefinedType()}))),t.some((function(e){return void 0===e.argumentTypes[n]}))&&(a.flags|=16777216),r.push(a)},o=0;o<n;o++)a(o);var s=f(c(t.map((function(e){return e.return_}))));return i.createSignature(void 0,void 0,void 0,r,s,void 0,n,0)}function v(e,t){t&&!(1&t.flags)&&!(131072&t.flags)&&(e.candidateTypes||(e.candidateTypes=[])).push(t)}function D(e,t){t&&!(1&t.flags)&&!(131072&t.flags)&&(e.candidateThisTypes||(e.candidateThisTypes=[])).push(t)}}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a,s=n.sourceFile,c=n.program,u=n.span.start,l=n.errorCode,p=n.cancellationToken,d=n.host,f=n.preferences,_=e.getTokenAtPosition(s,u),m=e.textChanges.ChangeTracker.with(n,(function(t){a=o(t,s,_,l,c,p,e.returnTrue,d,f)})),g=a&&e.getNameOfDeclaration(a);return g&&0!==m.length?[t.createCodeFixAction(r,m,[i(l,_),e.getTextOfNode(g)],r,e.Diagnostics.Infer_all_types_from_usage)]:void 0},fixIds:[r],getAllCodeActions:function(r){var i=r.sourceFile,a=r.program,s=r.cancellationToken,c=r.host,u=r.preferences,l=e.nodeSeenTracker();return t.codeFixAll(r,n,(function(t,r){o(t,i,e.getTokenAtPosition(r.file,r.start),r.code,a,s,l,c,u)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="fixReturnTypeInAsyncFunction",n=[e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code];function i(t,r,n){if(!e.isInJSFile(t)){var i=e.getTokenAtPosition(t,n),a=e.findAncestor(i,e.isFunctionLikeDeclaration),o=null==a?void 0:a.type;if(o){var s=r.getTypeFromTypeNode(o),c=r.getAwaitedType(s)||r.getVoidType(),u=r.typeToTypeNode(c,o,void 0);if(u)return{returnTypeNode:o,returnType:s,promisedTypeNode:u,promisedType:c}}}}function a(t,r,n,i){t.replaceNode(r,n,e.factory.createTypeReferenceNode("Promise",[i]))}t.registerCodeFix({errorCodes:n,fixIds:[r],getCodeActions:function(n){var o=n.sourceFile,s=n.program,c=n.span,u=s.getTypeChecker(),l=i(o,s.getTypeChecker(),c.start);if(l){var p=l.returnTypeNode,d=l.returnType,f=l.promisedTypeNode,_=l.promisedType,m=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,p,f)}));return[t.createCodeFixAction(r,m,[e.Diagnostics.Replace_0_with_Promise_1,u.typeToString(d),u.typeToString(_)],r,e.Diagnostics.Fix_all_incorrect_return_type_of_an_async_functions)]}},getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){var n=i(r.file,e.program.getTypeChecker(),r.start);n&&a(t,r.file,n.returnTypeNode,n.promisedTypeNode)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="disableJsDiagnostics",n="disableJsDiagnostics",i=e.mapDefined(Object.keys(e.Diagnostics),(function(t){var r=e.Diagnostics[t];return r.category===e.DiagnosticCategory.Error?r.code:void 0}));function a(t,r,n,i){var a=e.getLineAndCharacterOfPosition(r,n).line;(!i||e.tryAddToSet(i,a))&&t.insertCommentBeforeLine(r,a,n," @ts-ignore")}t.registerCodeFix({errorCodes:i,getCodeActions:function(i){var o=i.sourceFile,s=i.program,c=i.span,u=i.host,l=i.formatContext;if(e.isInJSFile(o)&&e.isCheckJsEnabledForFile(o,s.getCompilerOptions())){var p=o.checkJsDirective?"":e.getNewLineOrDefaultFromHost(u,l.options),d=[t.createCodeFixActionWithoutFixAll(r,[t.createFileTextChanges(o.fileName,[e.createTextChange(o.checkJsDirective?e.createTextSpanFromBounds(o.checkJsDirective.pos,o.checkJsDirective.end):e.createTextSpan(0,0),"// @ts-nocheck".concat(p))])],e.Diagnostics.Disable_checking_for_this_file)];return e.textChanges.isValidLocationToAddComment(o,c.start)&&d.unshift(t.createCodeFixAction(r,e.textChanges.ChangeTracker.with(i,(function(e){return a(e,o,c.start)})),e.Diagnostics.Ignore_this_error_message,n,e.Diagnostics.Add_ts_ignore_to_all_error_messages)),d}},fixIds:[n],getAllCodeActions:function(r){var n=new e.Set;return t.codeFixAll(r,i,(function(t,r){e.textChanges.isValidLocationToAddComment(r.file,r.start)&&a(t,r.file,r.start,n)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){function r(t){return{trackSymbol:function(){return!1},moduleResolverHost:e.getModuleSpecifierResolverHost(t.program,t.host)}}var n;function i(t,n,i,o,u,l,p,d,_,g){void 0===_&&(_=3),void 0===g&&(g=!1);var h=t.getDeclarations();if(h&&h.length){var y=o.program.getTypeChecker(),v=e.getEmitScriptTarget(o.program.getCompilerOptions()),D=h[0],b=e.getSynthesizedDeepClone(e.getNameOfDeclaration(D),!1),x=function(t){return 4&t?e.factory.createToken(123):16&t?e.factory.createToken(122):void 0}(e.getEffectiveModifierFlags(D)),E=x?e.factory.createNodeArray([x]):void 0,S=y.getWidenedType(y.getTypeOfSymbolAtLocation(t,n)),C=!!(16777216&t.flags),T=!!(8388608&n.flags)||g,k=e.getQuotePreference(i,u);switch(D.kind){case 165:case 166:var A=0===k?268435456:void 0,N=y.typeToTypeNode(S,n,A,r(o));l&&(P=f(N,v))&&(N=P.typeNode,m(l,P.symbols)),p(e.factory.createPropertyDeclaration(void 0,E,b,C&&2&_?e.factory.createToken(57):void 0,N,void 0));break;case 171:case 172:var P,F=y.typeToTypeNode(S,n,void 0,r(o)),w=e.getAllAccessorDeclarations(h,D),I=w.secondAccessor?[w.firstAccessor,w.secondAccessor]:[w.firstAccessor];l&&(P=f(F,v))&&(F=P.typeNode,m(l,P.symbols));for(var O=0,L=I;O<L.length;O++){var M=L[O];if(e.isGetAccessorDeclaration(M))p(e.factory.createGetAccessorDeclaration(void 0,E,b,e.emptyArray,F,T?void 0:d||c(k)));else{e.Debug.assertNode(M,e.isSetAccessorDeclaration,"The counterpart to a getter should be a setter");var R=e.getSetAccessorValueParameter(M),B=R&&e.isIdentifier(R.name)?e.idText(R.name):void 0;p(e.factory.createSetAccessorDeclaration(void 0,E,b,s(1,[B],[F],1,!1),T?void 0:d||c(k)))}}break;case 167:case 168:var j=y.getSignaturesOfType(S,0);if(!e.some(j))break;if(1===h.length){e.Debug.assert(1===j.length,"One declaration implies one signature"),U(k,j[0],E,b,T?void 0:d||c(k));break}for(var K=0,J=j;K<J.length;K++)U(k,J[K],e.getSynthesizedDeepClones(E,!1),e.getSynthesizedDeepClone(b,!1));T||(h.length>j.length?U(k,y.getSignatureFromDeclaration(h[h.length-1]),E,b,d||c(k)):(e.Debug.assert(h.length===j.length,"Declarations and signatures should match count"),p(function(t,n,i,a,o,u,l,p,d){for(var f=a[0],_=a[0].minArgumentCount,m=!1,g=0,h=a;g<h.length;g++){var y=h[g];_=Math.min(y.minArgumentCount,_),e.signatureHasRestParameter(y)&&(m=!0),y.parameters.length>=f.parameters.length&&(!e.signatureHasRestParameter(y)||e.signatureHasRestParameter(f))&&(f=y)}var v=f.parameters.length-(e.signatureHasRestParameter(f)?1:0),D=f.parameters.map((function(e){return e.name})),b=s(v,D,void 0,_,!1);if(m){var x=e.factory.createArrayTypeNode(e.factory.createKeywordTypeNode(130)),E=e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),D[v]||"rest",v>=_?e.factory.createToken(57):void 0,x,void 0);b.push(E)}return function(t,r,n,i,a,o,s,u){return e.factory.createMethodDeclaration(void 0,t,void 0,r,n?e.factory.createToken(57):void 0,i,a,o,u||c(s))}(l,o,u,void 0,b,function(t,n,i,a){if(e.length(t)){var o=n.getUnionType(e.map(t,n.getReturnTypeOfSignature));return n.typeToTypeNode(o,a,void 0,r(i))}}(a,t,n,i),p,d)}(y,o,n,j,b,C&&!!(1&_),E,k,d))))}}function U(e,t,r,i,s){var c=a(168,o,e,t,s,i,r,C&&!!(1&_),n,l);c&&p(c)}}function a(t,n,i,a,o,s,c,u,l,p){var d=n.program,_=d.getTypeChecker(),g=e.getEmitScriptTarget(d.getCompilerOptions()),h=1073742081|(0===i?268435456:0),y=_.signatureToSignatureDeclaration(a,t,l,h,r(n));if(y){var v=y.typeParameters,D=y.parameters,b=y.type;if(p){if(v){var x=e.sameMap(v,(function(t){var r,n=t.constraint,i=t.default;return n&&(r=f(n,g))&&(n=r.typeNode,m(p,r.symbols)),i&&(r=f(i,g))&&(i=r.typeNode,m(p,r.symbols)),e.factory.updateTypeParameterDeclaration(t,t.name,n,i)}));v!==x&&(v=e.setTextRange(e.factory.createNodeArray(x,v.hasTrailingComma),v))}var E=e.sameMap(D,(function(t){var r=f(t.type,g),n=t.type;return r&&(n=r.typeNode,m(p,r.symbols)),e.factory.updateParameterDeclaration(t,t.decorators,t.modifiers,t.dotDotDotToken,t.name,t.questionToken,n,t.initializer)}));if(D!==E&&(D=e.setTextRange(e.factory.createNodeArray(E,D.hasTrailingComma),D)),b){var S=f(b,g);S&&(b=S.typeNode,m(p,S.symbols))}}var C=u?e.factory.createToken(57):void 0,T=y.asteriskToken;if(e.isFunctionExpression(y))return e.factory.updateFunctionExpression(y,c,y.asteriskToken,e.tryCast(s,e.isIdentifier),v,D,b,null!=o?o:y.body);if(e.isArrowFunction(y))return e.factory.updateArrowFunction(y,c,v,D,b,y.equalsGreaterThanToken,null!=o?o:y.body);if(e.isMethodDeclaration(y))return e.factory.updateMethodDeclaration(y,void 0,c,T,null!=s?s:e.factory.createIdentifier(""),C,v,D,b,o)}}function o(t,r,n,i,a,o,s){var c=t.typeToTypeNode(n,i,o,s);if(c&&e.isImportTypeNode(c)){var u=f(c,a);u&&(m(r,u.symbols),c=u.typeNode)}return e.getSynthesizedDeepClone(c)}function s(t,r,n,i,a){for(var o=[],s=0;s<t;s++){var c=e.factory.createParameterDeclaration(void 0,void 0,void 0,r&&r[s]||"arg".concat(s),void 0!==i&&s>=i?e.factory.createToken(57):void 0,a?void 0:n&&n[s]||e.factory.createKeywordTypeNode(130),void 0);o.push(c)}return o}function c(t){return u(e.Diagnostics.Method_not_implemented.message,t)}function u(t,r){return e.factory.createBlock([e.factory.createThrowStatement(e.factory.createNewExpression(e.factory.createIdentifier("Error"),void 0,[e.factory.createStringLiteral(t,0===r)]))],!0)}function l(t,r,n){var i=e.getTsConfigObjectLiteralExpression(r);if(i){var a=d(i,"compilerOptions");if(void 0===a)return void t.insertNodeAtObjectStart(r,i,p("compilerOptions",e.factory.createObjectLiteralExpression(n.map((function(e){return p(e[0],e[1])})),!0)));var o=a.initializer;if(e.isObjectLiteralExpression(o))for(var s=0,c=n;s<c.length;s++){var u=c[s],l=u[0],f=u[1],_=d(o,l);void 0===_?t.insertNodeAtObjectStart(r,o,p(l,f)):t.replaceNode(r,_.initializer,f)}}}function p(t,r){return e.factory.createPropertyAssignment(e.factory.createStringLiteral(t),r)}function d(t,r){return e.find(t.properties,(function(t){return e.isPropertyAssignment(t)&&!!t.name&&e.isStringLiteral(t.name)&&t.name.text===r}))}function f(t,r){var n,i=e.visitNode(t,(function t(i){var a;if(e.isLiteralImportTypeNode(i)&&i.qualifier){var o=e.getFirstIdentifier(i.qualifier),s=e.getNameForExportedSymbol(o.symbol,r),c=s!==o.text?_(i.qualifier,e.factory.createIdentifier(s)):i.qualifier;n=e.append(n,o.symbol);var u=null===(a=i.typeArguments)||void 0===a?void 0:a.map(t);return e.factory.createTypeReferenceNode(c,u)}return e.visitEachChild(i,t,e.nullTransformationContext)}));if(n&&i)return{typeNode:i,symbols:n}}function _(t,r){return 79===t.kind?r:e.factory.createQualifiedName(_(t.left,r),t.right)}function m(e,t){t.forEach((function(t){return e.addImportFromExportedSymbol(t,!0)}))}t.createMissingMemberNodes=function(e,t,r,n,a,o,s){for(var c=e.symbol.members,u=0,l=t;u<l.length;u++){var p=l[u];c.has(p.escapedName)||i(p,e,r,n,a,o,s,void 0)}},t.getNoopSymbolTrackerWithResolver=r,(n=t.PreserveOptionalFlags||(t.PreserveOptionalFlags={}))[n.Method=1]="Method",n[n.Property=2]="Property",n[n.All=3]="All",t.addNewNodeForMemberSymbol=i,t.createSignatureDeclarationFromSignature=a,t.createSignatureDeclarationFromCallExpression=function(t,n,i,a,l,p,d){var f=e.getQuotePreference(n.sourceFile,n.preferences),_=e.getEmitScriptTarget(n.program.getCompilerOptions()),m=r(n),g=n.program.getTypeChecker(),h=e.isInJSFile(d),y=a.typeArguments,v=a.arguments,D=a.parent,b=h?void 0:g.getContextualType(a),x=e.map(v,(function(t){return e.isIdentifier(t)?t.text:e.isPropertyAccessExpression(t)&&e.isIdentifier(t.name)?t.name.text:void 0})),E=h?[]:e.map(v,(function(e){return o(g,i,g.getBaseTypeOfLiteralType(g.getTypeAtLocation(e)),d,_,void 0,m)})),S=p?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(p)):void 0,C=e.isYieldExpression(D)?e.factory.createToken(41):void 0,T=h||void 0===y?void 0:e.map(y,(function(t,r){return e.factory.createTypeParameterDeclaration(84+y.length-1<=90?String.fromCharCode(84+r):"T".concat(r))})),k=s(v.length,x,E,void 0,h),A=h||void 0===b?void 0:g.typeToTypeNode(b,d,void 0,m);return 168===t?e.factory.createMethodDeclaration(void 0,S,C,l,void 0,T,k,A,e.isInterfaceDeclaration(d)?void 0:c(f)):e.factory.createFunctionDeclaration(void 0,S,C,l,T,k,A,u(e.Diagnostics.Function_not_implemented.message,f))},t.typeToAutoImportableTypeNode=o,t.createStubbedBody=u,t.setJsonCompilerOptionValues=l,t.setJsonCompilerOptionValue=function(e,t,r,n){l(e,t,[[r,n]])},t.createJsonPropertyAssignment=p,t.findJsonProperty=d,t.tryGetAutoImportableReferenceFromTypeNode=f,t.importSymbols=m}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){function r(t){return e.isParameterPropertyDeclaration(t,t.parent)||e.isPropertyDeclaration(t)||e.isPropertyAssignment(t)}function n(t,r){return e.isIdentifier(r)?e.factory.createIdentifier(t):e.factory.createStringLiteral(t)}function i(t,r,n){var i=r?n.name:e.factory.createThis();return e.isIdentifier(t)?e.factory.createPropertyAccessExpression(i,t):e.factory.createElementAccessExpression(i,e.factory.createStringLiteralFromNode(t))}function o(t,i,a,o,s){void 0===s&&(s=!0);var u=e.getTokenAtPosition(t,a),l=a===o&&s,p=e.findAncestor(u.parent,r);if(!p||!e.nodeOverlapsWithStartEnd(p.name,t,a,o)&&!l)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_property_for_which_to_generate_accessor)};if(!function(t){return e.isIdentifier(t)||e.isStringLiteral(t)}(p.name))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Name_is_not_valid)};if(124!=(124|e.getEffectiveModifierFlags(p)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_property_with_modifier)};var d=p.name.text,f=e.startsWithUnderscore(d),_=n(f?d:e.getUniqueName("_".concat(d),t),p.name),m=n(f?e.getUniqueName(d.substring(1),t):d,p.name);return{isStatic:e.hasStaticModifier(p),isReadonly:e.hasEffectiveReadonlyModifier(p),type:c(p,i),container:163===p.kind?p.parent.parent:p.parent,originalName:p.name.text,declaration:p,fieldName:_,accessorName:m,renameAccessor:f}}function s(t,r,n,i,a){e.isParameterPropertyDeclaration(i,i.parent)?t.insertNodeAtClassStart(r,a,n):e.isPropertyAssignment(i)?t.insertNodeAfterComma(r,i,n):t.insertNodeAfter(r,i,n)}function c(t,r){var n=e.getTypeAnnotationNode(t);if(e.isPropertyDeclaration(t)&&n&&t.questionToken){var i=r.getTypeChecker(),o=i.getTypeFromTypeNode(n);if(!i.isTypeAssignableTo(i.getUndefinedType(),o)){var s=e.isUnionTypeNode(n)?n.types:[n];return e.factory.createUnionTypeNode(a(a([],s,!0),[e.factory.createKeywordTypeNode(152)],!1))}}return n}t.generateAccessorFromProperty=function(t,r,n,a,c,u){var l=o(t,r,n,a);if(l&&!e.refactor.isRefactorErrorInfo(l)){var p,d,f=e.textChanges.ChangeTracker.fromContext(c),_=l.isStatic,m=l.isReadonly,g=l.fieldName,h=l.accessorName,y=l.originalName,v=l.type,D=l.container,b=l.declaration;if(e.suppressLeadingAndTrailingTrivia(g),e.suppressLeadingAndTrailingTrivia(h),e.suppressLeadingAndTrailingTrivia(b),e.suppressLeadingAndTrailingTrivia(D),e.isClassLike(D)){var x=e.getEffectiveModifierFlags(b);if(e.isSourceFileJS(t)){var E=e.createModifiers(x);p=E,d=E}else p=e.createModifiers(function(e){return e&=-65,16&(e&=-9)||(e|=4),e}(x)),d=e.createModifiers(function(e){return e&=-5,e&=-17,8|e}(x))}!function(t,r,n,i,a,o){e.isPropertyDeclaration(n)?function(t,r,n,i,a,o){var s=e.factory.updatePropertyDeclaration(n,n.decorators,o,a,n.questionToken||n.exclamationToken,i,n.initializer);t.replaceNode(r,n,s)}(t,r,n,i,a,o):e.isPropertyAssignment(n)?function(t,r,n,i){var a=e.factory.updatePropertyAssignment(n,i,n.initializer);t.replacePropertyAssignment(r,n,a)}(t,r,n,a):t.replaceNode(r,n,e.factory.updateParameterDeclaration(n,n.decorators,o,n.dotDotDotToken,e.cast(a,e.isIdentifier),n.questionToken,n.type,n.initializer))}(f,t,b,v,g,d);var S=function(t,r,n,a,o,s){return e.factory.createGetAccessorDeclaration(void 0,a,r,void 0,n,e.factory.createBlock([e.factory.createReturnStatement(i(t,o,s))],!0))}(g,h,v,p,_,D);if(e.suppressLeadingAndTrailingTrivia(S),s(f,t,S,b,D),m){var C=e.getFirstConstructorWithBody(D);C&&function(t,r,n,i,a){!n.body||n.body.forEachChild((function n(o){e.isElementAccessExpression(o)&&108===o.expression.kind&&e.isStringLiteral(o.argumentExpression)&&o.argumentExpression.text===a&&e.isWriteAccess(o)&&t.replaceNode(r,o.argumentExpression,e.factory.createStringLiteral(i)),e.isPropertyAccessExpression(o)&&108===o.expression.kind&&o.name.text===a&&e.isWriteAccess(o)&&t.replaceNode(r,o.name,e.factory.createIdentifier(i)),!e.isFunctionLike(o)&&!e.isClassLike(o)&&o.forEachChild(n)}))}(f,t,C,g.text,y)}else{var T=function(t,r,n,a,o,s){return e.factory.createSetAccessorDeclaration(void 0,a,r,[e.factory.createParameterDeclaration(void 0,void 0,void 0,e.factory.createIdentifier("value"),void 0,n)],e.factory.createBlock([e.factory.createExpressionStatement(e.factory.createAssignment(i(t,o,s),e.factory.createIdentifier("value")))],!0))}(g,h,v,p,_,D);e.suppressLeadingAndTrailingTrivia(T),s(f,t,T,b,D)}return f.getChanges()}},t.getAccessorConvertiblePropertyAtPosition=o,t.getAllSupers=function(t,r){for(var n=[];t;){var i=e.getClassExtendsHeritageElement(t),a=i&&r.getSymbolAtLocation(i.expression);if(!a)break;var o=2097152&a.flags?r.getAliasedSymbol(a):a,s=o.declarations&&e.find(o.declarations,e.isClassLike);if(!s)break;n.push(s),t=s}return n}}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="invalidImportSyntax";function n(n,i,a,o){var s=e.textChanges.ChangeTracker.with(n,(function(e){return e.replaceNode(i,a,o)}));return t.createCodeFixActionWithoutFixAll(r,s,[e.Diagnostics.Replace_import_with_0,s[0].textChanges[0].newText])}function i(i,a){var o=i.program.getTypeChecker().getTypeAtLocation(a);if(!o.symbol||!o.symbol.originatingImport)return[];var s=[],c=o.symbol.originatingImport;if(e.isImportCall(c)||e.addRange(s,function(t,r){var i=e.getSourceFileOfNode(r),a=e.getNamespaceDeclarationNode(r),o=t.program.getCompilerOptions(),s=[];return s.push(n(t,i,r,e.makeImport(a.name,void 0,r.moduleSpecifier,e.getQuotePreference(i,t.preferences)))),e.getEmitModuleKind(o)===e.ModuleKind.CommonJS&&s.push(n(t,i,r,e.factory.createImportEqualsDeclaration(void 0,void 0,!1,a.name,e.factory.createExternalModuleReference(r.moduleSpecifier)))),s}(i,c)),e.isExpression(a)&&(!e.isNamedDeclaration(a.parent)||a.parent.name!==a)){var u=i.sourceFile,l=e.textChanges.ChangeTracker.with(i,(function(t){return t.replaceNode(u,a,e.factory.createPropertyAccessExpression(a,"default"),{})}));s.push(t.createCodeFixActionWithoutFixAll(r,l,e.Diagnostics.Use_synthetic_default_member))}return s}t.registerCodeFix({errorCodes:[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],getCodeActions:function(t){var r=t.sourceFile,n=e.Diagnostics.This_expression_is_not_callable.code===t.errorCode?207:208,a=e.findAncestor(e.getTokenAtPosition(r,t.span.start),(function(e){return e.kind===n}));return a?i(t,a.expression):[]}}),t.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_2_index_type_3.code,e.Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3.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:function(t){var r=t.sourceFile,n=e.findAncestor(e.getTokenAtPosition(r,t.span.start),(function(e){return e.getStart()===t.span.start&&e.getEnd()===t.span.start+t.span.length}));return n?i(t,n):[]}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="strictClassInitialization",n="addMissingPropertyDefiniteAssignmentAssertions",i="addMissingPropertyUndefinedType",a="addMissingPropertyInitializer",o=[e.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code];function s(t,r){var n=e.getTokenAtPosition(t,r);if(e.isIdentifier(n)&&e.isPropertyDeclaration(n.parent)){var i=e.getEffectiveTypeAnnotationNode(n.parent);if(i)return{type:i,prop:n.parent,isJs:e.isInJSFile(n.parent)}}}function c(t,r,n){var i=e.factory.updatePropertyDeclaration(n,n.decorators,n.modifiers,n.name,e.factory.createToken(53),n.type,n.initializer);t.replaceNode(r,n,i)}function u(t,r,n){var i=e.factory.createKeywordTypeNode(152),a=e.isUnionTypeNode(n.type)?n.type.types.concat(i):[n.type,i],o=e.factory.createUnionTypeNode(a);n.isJs?t.addJSDocTags(r,n.prop,[e.factory.createJSDocTypeTag(void 0,e.factory.createJSDocTypeExpression(o))]):t.replaceNode(r,n.type,o)}function l(t,r,n,i){var a=e.factory.updatePropertyDeclaration(n,n.decorators,n.modifiers,n.name,n.questionToken,n.type,i);t.replaceNode(r,n,a)}function p(e,t){return d(e,e.getTypeFromTypeNode(t.type))}function d(t,r){if(512&r.flags)return r===t.getFalseType()||r===t.getFalseType(!0)?e.factory.createFalse():e.factory.createTrue();if(r.isStringLiteral())return e.factory.createStringLiteral(r.value);if(r.isNumberLiteral())return e.factory.createNumericLiteral(r.value);if(2048&r.flags)return e.factory.createBigIntLiteral(r.value);if(r.isUnion())return e.firstDefined(r.types,(function(e){return d(t,e)}));if(r.isClass()){var n=e.getClassLikeDeclarationOfSymbol(r.symbol);if(!n||e.hasSyntacticModifier(n,128))return;var i=e.getFirstConstructorWithBody(n);return i&&i.parameters.length?void 0:e.factory.createNewExpression(e.factory.createIdentifier(r.symbol.name),void 0,void 0)}return t.isArrayLikeType(r)?e.factory.createArrayLiteralExpression():void 0}t.registerCodeFix({errorCodes:o,getCodeActions:function(o){var d=s(o.sourceFile,o.span.start);if(d){var f=[];return e.append(f,function(n,a){var o=e.textChanges.ChangeTracker.with(n,(function(e){return u(e,n.sourceFile,a)}));return t.createCodeFixAction(r,o,[e.Diagnostics.Add_undefined_type_to_property_0,a.prop.name.getText()],i,e.Diagnostics.Add_undefined_type_to_all_uninitialized_properties)}(o,d)),e.append(f,function(i,a){if(!a.isJs){var o=e.textChanges.ChangeTracker.with(i,(function(e){return c(e,i.sourceFile,a.prop)}));return t.createCodeFixAction(r,o,[e.Diagnostics.Add_definite_assignment_assertion_to_property_0,a.prop.getText()],n,e.Diagnostics.Add_definite_assignment_assertions_to_all_uninitialized_properties)}}(o,d)),e.append(f,function(n,i){if(!i.isJs){var o=p(n.program.getTypeChecker(),i.prop);if(o){var s=e.textChanges.ChangeTracker.with(n,(function(e){return l(e,n.sourceFile,i.prop,o)}));return t.createCodeFixAction(r,s,[e.Diagnostics.Add_initializer_to_property_0,i.prop.name.getText()],a,e.Diagnostics.Add_initializers_to_all_uninitialized_properties)}}}(o,d)),f}},fixIds:[n,i,a],getAllCodeActions:function(r){return t.codeFixAll(r,o,(function(t,o){var d=s(o.file,o.start);if(d)switch(r.fixId){case n:c(t,o.file,d.prop);break;case i:u(t,o.file,d);break;case a:var f=p(r.program.getTypeChecker(),d.prop);if(!f)return;l(t,o.file,d.prop,f);break;default:e.Debug.fail(JSON.stringify(r.fixId))}}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="requireInTs",n=[e.Diagnostics.require_call_may_be_converted_to_an_import.code];function i(t,r,n){var i=n.allowSyntheticDefaults,a=n.defaultImportName,o=n.namedImports,s=n.statement,c=n.required;t.replaceNode(r,s,a&&!i?e.factory.createImportEqualsDeclaration(void 0,void 0,!1,a,e.factory.createExternalModuleReference(c)):e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,a,o),c,void 0))}function a(t,r,n){var i=e.getTokenAtPosition(t,n).parent;if(!e.isRequireCall(i,!0))throw e.Debug.failBadSyntaxKind(i);var a=e.cast(i.parent,e.isVariableDeclaration),o=e.tryCast(a.name,e.isIdentifier),s=e.isObjectBindingPattern(a.name)?function(t){for(var r=[],n=0,i=t.elements;n<i.length;n++){var a=i[n];if(!e.isIdentifier(a.name)||a.initializer)return;r.push(e.factory.createImportSpecifier(!1,e.tryCast(a.propertyName,e.isIdentifier),a.name))}if(r.length)return e.factory.createNamedImports(r)}(a.name):void 0;if(o||s)return{allowSyntheticDefaults:e.getAllowSyntheticDefaultImports(r.getCompilerOptions()),defaultImportName:o,namedImports:s,statement:e.cast(a.parent.parent,e.isVariableStatement),required:e.first(i.arguments)}}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=a(n.sourceFile,n.program,n.span.start);if(o){var s=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,o)}));return[t.createCodeFixAction(r,s,e.Diagnostics.Convert_require_to_import,r,e.Diagnostics.Convert_all_require_to_import)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){var n=a(r.file,e.program,r.start);n&&i(t,e.sourceFile,n)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="useDefaultImport",n=[e.Diagnostics.Import_may_be_converted_to_a_default_import.code];function i(t,r){var n=e.getTokenAtPosition(t,r);if(e.isIdentifier(n)){var i=n.parent;if(e.isImportEqualsDeclaration(i)&&e.isExternalModuleReference(i.moduleReference))return{importNode:i,name:n,moduleSpecifier:i.moduleReference.expression};if(e.isNamespaceImport(i)){var a=i.parent.parent;return{importNode:a,name:n,moduleSpecifier:a.moduleSpecifier}}}}function a(t,r,n,i){t.replaceNode(r,n.importNode,e.makeImport(n.name,void 0,n.moduleSpecifier,e.getQuotePreference(r,i)))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span.start,c=i(o,s);if(c){var u=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c,n.preferences)}));return[t.createCodeFixAction(r,u,e.Diagnostics.Convert_to_default_import,r,e.Diagnostics.Convert_all_to_default_imports)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){var n=i(r.file,r.start);n&&a(t,r.file,n,e.preferences)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="useBigintLiteral",n=[e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code];function i(t,r,n){var i=e.tryCast(e.getTokenAtPosition(r,n.start),e.isNumericLiteral);if(i){var a=i.getText(r)+"n";t.replaceNode(r,i,e.factory.createBigIntLiteral(a))}}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span)}));if(a.length>0)return[t.createCodeFixAction(r,a,e.Diagnostics.Convert_to_a_bigint_numeric_literal,r,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return i(e,t.file,t)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="fixAddModuleReferTypeMissingTypeof",n=[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(t,r){var n=e.getTokenAtPosition(t,r);return e.Debug.assert(100===n.kind,"This token should be an ImportKeyword"),e.Debug.assert(199===n.parent.kind,"Token parent should be an ImportType"),n.parent}function a(t,r,n){var i=e.factory.updateImportTypeNode(n,n.argument,n.qualifier,n.typeArguments,!0);t.replaceNode(r,n,i)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=i(o,s.start),u=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c)}));return[t.createCodeFixAction(r,u,e.Diagnostics.Add_missing_typeof,r,e.Diagnostics.Add_missing_typeof)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){return a(t,e.sourceFile,i(r.file,r.start))}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="wrapJsxInFragment",n=[e.Diagnostics.JSX_expressions_must_have_one_parent_element.code];function i(t,r){var n=e.getTokenAtPosition(t,r).parent.parent;if((e.isBinaryExpression(n)||(n=n.parent,e.isBinaryExpression(n)))&&e.nodeIsMissing(n.operatorToken))return n}function a(t,r,n){var i=function(t){for(var r=[],n=t;;){if(e.isBinaryExpression(n)&&e.nodeIsMissing(n.operatorToken)&&27===n.operatorToken.kind){if(r.push(n.left),e.isJsxChild(n.right))return r.push(n.right),r;if(e.isBinaryExpression(n.right)){n=n.right;continue}return}return}}(n);i&&t.replaceNode(r,n,e.factory.createJsxFragment(e.factory.createJsxOpeningFragment(),i,e.factory.createJsxJsxClosingFragment()))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=i(o,s.start);if(c){var u=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c)}));return[t.createCodeFixAction(r,u,e.Diagnostics.Wrap_in_JSX_fragment,r,e.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){var n=i(e.sourceFile,r.start);!n||a(t,e.sourceFile,n)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="fixConvertToMappedObjectType",n=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];function i(t,r){var n=e.getTokenAtPosition(t,r),i=e.tryCast(n.parent.parent,e.isIndexSignatureDeclaration);if(i){var a=e.isInterfaceDeclaration(i.parent)?i.parent:e.tryCast(i.parent.parent,e.isTypeAliasDeclaration);if(a)return{indexSignature:i,container:a}}}function o(t,r,n){var i=n.indexSignature,o=n.container,s=(e.isInterfaceDeclaration(o)?o.members:o.type.members).filter((function(t){return!e.isIndexSignatureDeclaration(t)})),c=e.first(i.parameters),u=e.factory.createTypeParameterDeclaration(e.cast(c.name,e.isIdentifier),c.type),l=e.factory.createMappedTypeNode(e.hasEffectiveReadonlyModifier(i)?e.factory.createModifier(144):void 0,u,void 0,i.questionToken,i.type,void 0),p=e.factory.createIntersectionTypeNode(a(a(a([],e.getAllSuperTypeNodes(o),!0),[l],!1),s.length?[e.factory.createTypeLiteralNode(s)]:e.emptyArray,!0));t.replaceNode(r,o,function(t,r){return e.factory.createTypeAliasDeclaration(t.decorators,t.modifiers,t.name,t.typeParameters,r)}(o,p))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=n.sourceFile,s=n.span,c=i(a,s.start);if(c){var u=e.textChanges.ChangeTracker.with(n,(function(e){return o(e,a,c)})),l=e.idText(c.container.name);return[t.createCodeFixAction(r,u,[e.Diagnostics.Convert_0_to_mapped_object_type,l],r,[e.Diagnostics.Convert_0_to_mapped_object_type,l])]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){var r=i(t.file,t.start);r&&o(e,t.file,r)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){var t,r,n;t=e.codefix||(e.codefix={}),r="removeAccidentalCallParentheses",n=[e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code],t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=e.findAncestor(e.getTokenAtPosition(n.sourceFile,n.span.start),e.isCallExpression);if(i){var a=e.textChanges.ChangeTracker.with(n,(function(e){e.deleteRange(n.sourceFile,{pos:i.expression.end,end:i.end})}));return[t.createCodeFixActionWithoutFixAll(r,a,e.Diagnostics.Remove_parentheses)]}},fixIds:[r]})}(n||(n={})),function(e){!function(t){var r="removeUnnecessaryAwait",n=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];function i(t,r,n){var i=e.tryCast(e.getTokenAtPosition(r,n.start),(function(e){return 132===e.kind})),a=i&&e.tryCast(i.parent,e.isAwaitExpression);if(a){var o=a;if(e.isParenthesizedExpression(a.parent)){var s=e.getLeftmostExpression(a.expression,!1);if(e.isIdentifier(s)){var c=e.findPrecedingToken(a.parent.pos,r);c&&103!==c.kind&&(o=a.parent)}}t.replaceNode(r,o,a.expression)}}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span)}));if(a.length>0)return[t.createCodeFixAction(r,a,e.Diagnostics.Remove_unnecessary_await,r,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return i(e,t.file,t)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r=[e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],n="splitTypeOnlyImport";function i(t,r){return e.findAncestor(e.getTokenAtPosition(t,r.start),e.isImportDeclaration)}function a(t,r,n){if(r){var i=e.Debug.checkDefined(r.importClause);t.replaceNode(n.sourceFile,r,e.factory.updateImportDeclaration(r,r.decorators,r.modifiers,e.factory.updateImportClause(i,i.isTypeOnly,i.name,void 0),r.moduleSpecifier,r.assertClause)),t.insertNodeAfter(n.sourceFile,r,e.factory.createImportDeclaration(void 0,void 0,e.factory.updateImportClause(i,i.isTypeOnly,void 0,i.namedBindings),r.moduleSpecifier,r.assertClause))}}t.registerCodeFix({errorCodes:r,fixIds:[n],getCodeActions:function(r){var o=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,i(r.sourceFile,r.span),r)}));if(o.length)return[t.createCodeFixAction(n,o,e.Diagnostics.Split_into_two_separate_import_declarations,n,e.Diagnostics.Split_all_invalid_type_only_imports)]},getAllCodeActions:function(e){return t.codeFixAll(e,r,(function(t,r){a(t,i(e.sourceFile,r),e)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){var t,r,n;t=e.codefix||(e.codefix={}),r="fixConvertConstToLet",n=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code],t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=n.sourceFile,a=n.span,o=n.program,s=function(t,r,n){var i,a=n.getTypeChecker().getSymbolAtLocation(e.getTokenAtPosition(t,r)),o=e.tryCast(null===(i=null==a?void 0:a.valueDeclaration)||void 0===i?void 0:i.parent,e.isVariableDeclarationList);if(void 0!==o){var s=e.findChildOfKind(o,85,t);if(void 0!==s)return e.createRange(s.pos,s.end)}}(i,a.start,o);if(void 0!==s){var c=e.textChanges.ChangeTracker.with(n,(function(e){return function(e,t,r){e.replaceRangeWithText(t,r,"let")}(e,i,s)}));return[t.createCodeFixAction(r,c,e.Diagnostics.Convert_const_to_let,r,e.Diagnostics.Convert_const_to_let)]}},fixIds:[r]})}(n||(n={})),function(e){!function(t){var r="fixExpectedComma",n=[e.Diagnostics._0_expected.code];function i(t,r,n){var i=e.getTokenAtPosition(t,r);return 26===i.kind&&i.parent&&(e.isObjectLiteralExpression(i.parent)||e.isArrayLiteralExpression(i.parent))?{node:i}:void 0}function a(t,r,n){var i=n.node,a=e.factory.createToken(27);t.replaceNode(r,i,a)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=i(o,n.span.start,n.errorCode);if(s){var c=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,s)}));return[t.createCodeFixAction(r,c,[e.Diagnostics.Change_0_to_1,";",","],r,[e.Diagnostics.Change_0_to_1,";",","])]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){var n=i(r.file,r.start,r.code);n&&a(t,e.sourceFile,n)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="addVoidToPromise",n=[e.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code];function i(t,r,n,i,a){var o=e.getTokenAtPosition(r,n.start);if(e.isIdentifier(o)&&e.isCallExpression(o.parent)&&o.parent.expression===o&&0===o.parent.arguments.length){var s=i.getTypeChecker(),c=s.getSymbolAtLocation(o),u=null==c?void 0:c.valueDeclaration;if(u&&e.isParameter(u)&&e.isNewExpression(u.parent.parent)&&(null==a||!a.has(u))){null==a||a.add(u);var l=function(t){var r;if(!e.isInJSFile(t))return t.typeArguments;if(e.isParenthesizedExpression(t.parent)){var n=null===(r=e.getJSDocTypeTag(t.parent))||void 0===r?void 0:r.typeExpression.type;if(n&&e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)&&"Promise"===e.idText(n.typeName))return n.typeArguments}}(u.parent.parent);if(e.some(l)){var p=l[0],d=!e.isUnionTypeNode(p)&&!e.isParenthesizedTypeNode(p)&&e.isParenthesizedTypeNode(e.factory.createUnionTypeNode([p,e.factory.createKeywordTypeNode(114)]).types[0]);d&&t.insertText(r,p.pos,"("),t.insertText(r,p.end,d?") | void":" | void")}else{var f=s.getResolvedSignature(o.parent),_=null==f?void 0:f.parameters[0],m=_&&s.getTypeOfSymbolAtLocation(_,u.parent.parent);e.isInJSFile(u)?(!m||3&m.flags)&&(t.insertText(r,u.parent.parent.end,")"),t.insertText(r,e.skipTrivia(r.text,u.parent.parent.pos),"/** @type {Promise<void>} */(")):(!m||2&m.flags)&&t.insertText(r,u.parent.parent.expression.end,"<void>")}}}}t.registerCodeFix({errorCodes:n,fixIds:[r],getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span,n.program)}));if(a.length>0)return[t.createCodeFixAction("addVoidToPromise",a,e.Diagnostics.Add_void_to_Promise_resolved_without_a_value,r,e.Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions:function(r){return t.codeFixAll(r,n,(function(t,n){return i(t,n.file,n,r.program,new e.Set)}))}})}(e.codefix||(e.codefix={}))}(n||(n={})),function(e){!function(t){var r="Convert export",n={name:"Convert default export to named export",description:e.Diagnostics.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"},i={name:"Convert named export to default export",description:e.Diagnostics.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"};function a(t,r){void 0===r&&(r=!0);var n=t.file,i=t.program,a=e.getRefactorContextSpan(t),o=e.getTokenAtPosition(n,a.start),s=o.parent&&1&e.getSyntacticModifierFlags(o.parent)&&r?o.parent:e.getParentNodeInSpan(o,n,a);if(!s||!(e.isSourceFile(s.parent)||e.isModuleBlock(s.parent)&&e.isAmbientModule(s.parent.parent)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_export_statement)};var c=e.isSourceFile(s.parent)?s.parent.symbol:s.parent.parent.symbol,u=e.getSyntacticModifierFlags(s)||(e.isExportAssignment(s)&&!s.isExportEquals?513:0),l=!!(512&u);if(!(1&u)||!l&&c.exports.has("default"))return{error:e.getLocaleSpecificMessage(e.Diagnostics.This_file_already_has_a_default_export)};var p=i.getTypeChecker(),d=function(t){return e.isIdentifier(t)&&p.getSymbolAtLocation(t)?void 0:{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_named_export)}};switch(s.kind){case 255:case 256:case 257:case 259:case 258:case 260:return(m=s).name?d(m.name)||{exportNode:m,exportName:m.name,wasDefault:l,exportingModuleSymbol:c}:void 0;case 236:var f=s;if(!(2&f.declarationList.flags)||1!==f.declarationList.declarations.length)return;var _=e.first(f.declarationList.declarations);return _.initializer?(e.Debug.assert(!l,"Can't have a default flag here"),d(_.name)||{exportNode:f,exportName:_.name,wasDefault:l,exportingModuleSymbol:c}):void 0;case 270:var m;return(m=s).isExportEquals?void 0:d(m.expression)||{exportNode:m,exportName:m.expression,wasDefault:l,exportingModuleSymbol:c};default:return}}function s(t,r,n,i,a){(function(t,r,n,i){var a=r.wasDefault,o=r.exportNode,s=r.exportName;if(a)if(e.isExportAssignment(o)&&!o.isExportEquals){var c=o.expression,l=u(c.text,c.text);n.replaceNode(t,o,e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([l])))}else n.delete(t,e.Debug.checkDefined(e.findModifier(o,88),"Should find a default keyword in modifier list"));else{var p=e.Debug.checkDefined(e.findModifier(o,93),"Should find an export keyword in modifier list");switch(o.kind){case 255:case 256:case 257:n.insertNodeAfter(t,p,e.factory.createToken(88));break;case 236:var d=e.first(o.declarationList.declarations);if(!e.FindAllReferences.Core.isSymbolReferencedInFile(s,i,t)&&!d.type){n.replaceNode(t,o,e.factory.createExportDefault(e.Debug.checkDefined(d.initializer,"Initializer was previously known to be present")));break}case 259:case 258:case 260:n.deleteModifier(t,p),n.insertNodeAfter(t,o,e.factory.createExportDefault(e.factory.createIdentifier(s.text)));break;default:e.Debug.fail("Unexpected exportNode kind ".concat(o.kind))}}})(t,n,i,r.getTypeChecker()),function(t,r,n,i){var a=r.wasDefault,o=r.exportName,s=r.exportingModuleSymbol,l=t.getTypeChecker(),p=e.Debug.checkDefined(l.getSymbolAtLocation(o),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(t.getSourceFiles(),l,i,p,s,o.text,a,(function(t){var r=t.getSourceFile();a?function(t,r,n,i){var a=r.parent;switch(a.kind){case 205:n.replaceNode(t,r,e.factory.createIdentifier(i));break;case 269:case 274:var o=a;n.replaceNode(t,o,c(i,o.name.text));break;case 266:var s=a;e.Debug.assert(s.name===r,"Import clause name should match provided ref"),o=c(i,r.text);var u=s.namedBindings;if(u)if(267===u.kind){n.deleteRange(t,{pos:r.getStart(t),end:u.getStart(t)});var l=e.isStringLiteral(s.parent.moduleSpecifier)?e.quotePreferenceFromString(s.parent.moduleSpecifier,t):1,p=e.makeImport(void 0,[c(i,r.text)],s.parent.moduleSpecifier,l);n.insertNodeAfter(t,s.parent,p)}else n.delete(t,r),n.insertNodeAtEndOfList(t,u.elements,o);else n.replaceNode(t,r,e.factory.createNamedImports([o]));break;default:e.Debug.failBadSyntaxKind(a)}}(r,t,n,o.text):function(t,r,n){var i=r.parent;switch(i.kind){case 205:n.replaceNode(t,r,e.factory.createIdentifier("default"));break;case 269:var a=e.factory.createIdentifier(i.name.text);1===i.parent.elements.length?n.replaceNode(t,i.parent,a):(n.delete(t,i),n.insertNodeBefore(t,i.parent,a));break;case 274:n.replaceNode(t,i,u("default",i.name.text));break;default:e.Debug.assertNever(i,"Unexpected parent kind ".concat(i.kind))}}(r,t,n)}))}(r,n,i,a)}function c(t,r){return e.factory.createImportSpecifier(!1,t===r?void 0:e.factory.createIdentifier(t),e.factory.createIdentifier(r))}function u(t,r){return e.factory.createExportSpecifier(!1,t===r?void 0:e.factory.createIdentifier(t),e.factory.createIdentifier(r))}t.registerRefactor(r,{kinds:[n.kind,i.kind],getAvailableActions:function(s){var c=a(s,"invoked"===s.triggerReason);if(!c)return e.emptyArray;if(!t.isRefactorErrorInfo(c)){var u=c.wasDefault?n:i;return[{name:r,description:u.description,actions:[u]}]}return s.preferences.provideRefactorNotApplicableReason?[{name:r,description:e.Diagnostics.Convert_default_export_to_named_export.message,actions:[o(o({},n),{notApplicableReason:c.error}),o(o({},i),{notApplicableReason:c.error})]}]:e.emptyArray},getEditsForAction:function(r,o){e.Debug.assert(o===n.name||o===i.name,"Unexpected action name");var c=a(r);return e.Debug.assert(c&&!t.isRefactorErrorInfo(c),"Expected applicable refactor info"),{edits:e.textChanges.ChangeTracker.with(r,(function(e){return s(r.file,r.program,c,e,r.cancellationToken)})),renameFilename:void 0,renameLocation:void 0}}})}(e.refactor||(e.refactor={}))}(n||(n={})),function(e){!function(t){var r,n="Convert import",i=((r={})[0]={name:"Convert namespace import to named imports",description:e.Diagnostics.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"},r[2]={name:"Convert named imports to namespace import",description:e.Diagnostics.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"},r[1]={name:"Convert named imports to default import",description:e.Diagnostics.Convert_named_imports_to_default_import.message,kind:"refactor.rewrite.import.default"},r);function a(t,r){void 0===r&&(r=!0);var n=t.file,i=e.getRefactorContextSpan(t),a=e.getTokenAtPosition(n,i.start),o=r?e.findAncestor(a,e.isImportDeclaration):e.getParentNodeInSpan(a,n,i);if(!o||!e.isImportDeclaration(o))return{error:"Selection is not an import declaration."};var s=i.start+i.length,c=e.findNextToken(o,o.parent,n);if(!(c&&s>c.getStart())){var u=o.importClause;if(!u)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_import_clause)};if(!u.namedBindings)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_namespace_import_or_named_imports)};if(267===u.namedBindings.kind)return{convertTo:0,import:u.namedBindings};var l=t.program.getCompilerOptions();return e.getAllowSyntheticDefaultImports(l)&&function(e,t){var r=t.resolveExternalModuleName(e);return!!r&&r!==t.resolveExternalModuleSymbol(r)}(u.parent.moduleSpecifier,t.program.getTypeChecker())?{convertTo:1,import:u.namedBindings}:{convertTo:2,import:u.namedBindings}}}function s(t,r,n,i){var a=r.getTypeChecker();0===i.convertTo?function(t,r,n,i,a){var o=!1,s=[],l=new e.Map;e.FindAllReferences.Core.eachSymbolReferenceInFile(i.name,r,t,(function(t){if(e.isPropertyAccessOrQualifiedName(t.parent)){var n=c(t.parent).text;r.resolveName(n,t,67108863,!0)&&l.set(n,!0),e.Debug.assert(function(t){return e.isPropertyAccessExpression(t)?t.expression:t.left}(t.parent)===t,"Parent expression should match id"),s.push(t.parent)}else o=!0}));for(var p=new e.Map,d=0,f=s;d<f.length;d++){var _=f[d],m=c(_).text,g=p.get(m);void 0===g&&p.set(m,g=l.has(m)?e.getUniqueName(m,t):m),n.replaceNode(t,_,e.factory.createIdentifier(g))}var h=[];p.forEach((function(t,r){h.push(e.factory.createImportSpecifier(!1,t===r?void 0:e.factory.createIdentifier(r),e.factory.createIdentifier(t)))}));var y=i.parent.parent;o&&!a?n.insertNodeAfter(t,y,u(y,void 0,h)):n.replaceNode(t,y,u(y,o?e.factory.createIdentifier(i.name.text):void 0,h))}(t,a,n,i.import,e.getAllowSyntheticDefaultImports(r.getCompilerOptions())):function(t,r,n,i,a){var o=i.parent.parent,s=o.moduleSpecifier,c=new e.Set;i.elements.forEach((function(e){var t=r.getSymbolAtLocation(e.name);t&&c.add(t)}));var l=s&&e.isStringLiteral(s)?e.codefix.moduleSpecifierToValidIdentifier(s.text,99):"module";function p(n){return!!e.FindAllReferences.Core.eachSymbolReferenceInFile(n.name,r,t,(function(t){var n=r.resolveName(l,t,67108863,!0);return!!n&&(!c.has(n)||e.isExportSpecifier(t.parent))}))}for(var d=i.elements.some(p)?e.getUniqueName(l,t):l,f=new e.Set,_=function(i){var a=(i.propertyName||i.name).text;e.FindAllReferences.Core.eachSymbolReferenceInFile(i.name,r,t,(function(r){var o=e.factory.createPropertyAccessExpression(e.factory.createIdentifier(d),a);e.isShorthandPropertyAssignment(r.parent)?n.replaceNode(t,r.parent,e.factory.createPropertyAssignment(r.text,o)):e.isExportSpecifier(r.parent)?f.add(i):n.replaceNode(t,r,o)}))},m=0,g=i.elements;m<g.length;m++)_(g[m]);if(n.replaceNode(t,i,a?e.factory.createIdentifier(d):e.factory.createNamespaceImport(e.factory.createIdentifier(d))),f.size){var h=e.arrayFrom(f.values()).map((function(t){return e.factory.createImportSpecifier(t.isTypeOnly,t.propertyName&&e.factory.createIdentifier(t.propertyName.text),e.factory.createIdentifier(t.name.text))}));n.insertNodeAfter(t,i.parent.parent,u(o,void 0,h))}}(t,a,n,i.import,1===i.convertTo)}function c(t){return e.isPropertyAccessExpression(t)?t.name:t.right}function u(t,r,n){return e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,r,n&&n.length?e.factory.createNamedImports(n):void 0),t.moduleSpecifier,void 0)}t.registerRefactor(n,{kinds:e.getOwnValues(i).map((function(e){return e.kind})),getAvailableActions:function(r){var s=a(r,"invoked"===r.triggerReason);if(!s)return e.emptyArray;if(!t.isRefactorErrorInfo(s)){var c=i[s.convertTo];return[{name:n,description:c.description,actions:[c]}]}return r.preferences.provideRefactorNotApplicableReason?e.getOwnValues(i).map((function(e){return{name:n,description:e.description,actions:[o(o({},e),{notApplicableReason:s.error})]}})):e.emptyArray},getEditsForAction:function(r,n){e.Debug.assert(e.some(e.getOwnValues(i),(function(e){return e.name===n})),"Unexpected action name");var o=a(r);return e.Debug.assert(o&&!t.isRefactorErrorInfo(o),"Expected applicable refactor info"),{edits:e.textChanges.ChangeTracker.with(r,(function(e){return s(r.file,r.program,e,o)})),renameFilename:void 0,renameLocation:void 0}}})}(e.refactor||(e.refactor={}))}(n||(n={})),function(e){var t;!function(r){var n="Convert to optional chain expression",i=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_optional_chain_expression),a={name:n,description:i,kind:"refactor.rewrite.expression.optionalChain"};function s(t){return e.isBinaryExpression(t)||e.isConditionalExpression(t)}function c(t){return s(t)||function(t){return e.isExpressionStatement(t)||e.isReturnStatement(t)||e.isVariableStatement(t)}(t)}function u(t,r){void 0===r&&(r=!0);var n=t.file,i=t.program,a=e.getRefactorContextSpan(t),o=0===a.length;if(!o||r){var u=e.getTokenAtPosition(n,a.start),d=e.findTokenOnLeftOfPosition(n,a.start+a.length),_=e.createTextSpanFromBounds(u.pos,d&&d.end>=u.pos?d.getEnd():u.getEnd()),m=o?function(e){for(;e.parent;){if(c(e)&&!c(e.parent))return e;e=e.parent}}(u):function(e,t){for(;e.parent;){if(c(e)&&0!==t.length&&e.end>=t.start+t.length)return e;e=e.parent}}(u,_),g=m&&c(m)?function(t){if(s(t))return t;if(e.isVariableStatement(t)){var r=e.getSingleVariableOfVariableStatement(t),n=null==r?void 0:r.initializer;return n&&s(n)?n:void 0}return t.expression&&s(t.expression)?t.expression:void 0}(m):void 0;if(!g)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var h=i.getTypeChecker();return e.isConditionalExpression(g)?function(t,r){var n=t.condition,i=f(t.whenTrue);if(!i||r.isNullableType(r.getTypeAtLocation(i)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};if((e.isPropertyAccessExpression(n)||e.isIdentifier(n))&&p(n,i.expression))return{finalExpression:i,occurrences:[n],expression:t};if(e.isBinaryExpression(n)){var a=l(i.expression,n);return a?{finalExpression:i,occurrences:a,expression:t}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}}(g,h):function(t){if(55!==t.operatorToken.kind)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_logical_AND_access_chains)};var r=f(t.right);if(!r)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var n=l(r.expression,t.left);return n?{finalExpression:r,occurrences:n,expression:t}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}(g)}}function l(t,r){for(var n=[];e.isBinaryExpression(r)&&55===r.operatorToken.kind;){var i=p(e.skipParentheses(t),e.skipParentheses(r.right));if(!i)break;n.push(i),t=i,r=r.left}var a=p(t,r);return a&&n.push(a),n.length>0?n:void 0}function p(t,r){if(e.isIdentifier(r)||e.isPropertyAccessExpression(r)||e.isElementAccessExpression(r))return function(t,r){for(;(e.isCallExpression(t)||e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t))&&d(t)!==d(r);)t=t.expression;for(;e.isPropertyAccessExpression(t)&&e.isPropertyAccessExpression(r)||e.isElementAccessExpression(t)&&e.isElementAccessExpression(r);){if(d(t)!==d(r))return!1;t=t.expression,r=r.expression}return e.isIdentifier(t)&&e.isIdentifier(r)&&t.getText()===r.getText()}(t,r)?r:void 0}function d(t){return e.isIdentifier(t)||e.isStringOrNumericLiteralLike(t)?t.getText():e.isPropertyAccessExpression(t)?d(t.name):e.isElementAccessExpression(t)?d(t.argumentExpression):void 0}function f(t){return t=e.skipParentheses(t),e.isBinaryExpression(t)?f(t.left):(e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t)||e.isCallExpression(t))&&!e.isOptionalChain(t)?t:void 0}function _(t,r,n){if(e.isPropertyAccessExpression(r)||e.isElementAccessExpression(r)||e.isCallExpression(r)){var i=_(t,r.expression,n),a=n.length>0?n[n.length-1]:void 0,o=(null==a?void 0:a.getText())===r.expression.getText();if(o&&n.pop(),e.isCallExpression(r))return o?e.factory.createCallChain(i,e.factory.createToken(28),r.typeArguments,r.arguments):e.factory.createCallChain(i,r.questionDotToken,r.typeArguments,r.arguments);if(e.isPropertyAccessExpression(r))return o?e.factory.createPropertyAccessChain(i,e.factory.createToken(28),r.name):e.factory.createPropertyAccessChain(i,r.questionDotToken,r.name);if(e.isElementAccessExpression(r))return o?e.factory.createElementAccessChain(i,e.factory.createToken(28),r.argumentExpression):e.factory.createElementAccessChain(i,r.questionDotToken,r.argumentExpression)}return r}t.registerRefactor(n,{kinds:[a.kind],getEditsForAction:function(r,n){var i=u(r);return e.Debug.assert(i&&!t.isRefactorErrorInfo(i),"Expected applicable refactor info"),{edits:e.textChanges.ChangeTracker.with(r,(function(t){return function(t,r,n,i,a){var o=i.finalExpression,s=i.occurrences,c=i.expression,u=s[s.length-1],l=_(r,o,s);l&&(e.isPropertyAccessExpression(l)||e.isElementAccessExpression(l)||e.isCallExpression(l))&&(e.isBinaryExpression(c)?n.replaceNodeRange(t,u,o,l):e.isConditionalExpression(c)&&n.replaceNode(t,c,e.factory.createBinaryExpression(l,e.factory.createToken(60),c.whenFalse)))}(r.file,r.program.getTypeChecker(),t,i)})),renameFilename:void 0,renameLocation:void 0}},getAvailableActions:function(r){var s=u(r,"invoked"===r.triggerReason);return s?t.isRefactorErrorInfo(s)?r.preferences.provideRefactorNotApplicableReason?[{name:n,description:i,actions:[o(o({},a),{notApplicableReason:s.error})]}]:e.emptyArray:[{name:n,description:i,actions:[a]}]:e.emptyArray}})}((t=e.refactor||(e.refactor={})).convertToOptionalChainExpression||(t.convertToOptionalChainExpression={}))}(n||(n={})),function(e){var t;!function(r){var n="Convert overload list to single signature",i=e.Diagnostics.Convert_overload_list_to_single_signature.message,a={name:n,description:i,kind:"refactor.rewrite.function.overloadList"};function o(e){switch(e.kind){case 167:case 168:case 173:case 170:case 174:case 255:return!0}return!1}function s(t,r,n){var i=e.getTokenAtPosition(t,r),a=e.findAncestor(i,o);if(a){var s=n.getTypeChecker(),c=a.symbol;if(c){var u=c.declarations;if(!(e.length(u)<=1)&&e.every(u,(function(r){return e.getSourceFileOfNode(r)===t}))&&o(u[0])){var l=u[0].kind;if(e.every(u,(function(e){return e.kind===l}))){var p=u;if(!e.some(p,(function(t){return!!t.typeParameters||e.some(t.parameters,(function(t){return!!t.decorators||!!t.modifiers||!e.isIdentifier(t.name)}))}))){var d=e.mapDefined(p,(function(e){return s.getSignatureFromDeclaration(e)}));if(e.length(d)===e.length(u)){var f=s.getReturnTypeOfSignature(d[0]);if(e.every(d,(function(e){return s.getReturnTypeOfSignature(e)===f})))return p}}}}}}}t.registerRefactor(n,{kinds:[a.kind],getEditsForAction:function(t){var r=t.file,n=t.startPosition,i=t.program,a=s(r,n,i);if(a){var o=i.getTypeChecker(),c=a[a.length-1],u=c;switch(c.kind){case 167:u=e.factory.updateMethodSignature(c,c.modifiers,c.name,c.questionToken,c.typeParameters,l(a),c.type);break;case 168:u=e.factory.updateMethodDeclaration(c,c.decorators,c.modifiers,c.asteriskToken,c.name,c.questionToken,c.typeParameters,l(a),c.type,c.body);break;case 173:u=e.factory.updateCallSignature(c,c.typeParameters,l(a),c.type);break;case 170:u=e.factory.updateConstructorDeclaration(c,c.decorators,c.modifiers,l(a),c.body);break;case 174:u=e.factory.updateConstructSignature(c,c.typeParameters,l(a),c.type);break;case 255:u=e.factory.updateFunctionDeclaration(c,c.decorators,c.modifiers,c.asteriskToken,c.name,c.typeParameters,l(a),c.type,c.body);break;default:return e.Debug.failBadSyntaxKind(c,"Unhandled signature kind in overload list conversion refactoring")}if(u!==c)return{renameFilename:void 0,renameLocation:void 0,edits:e.textChanges.ChangeTracker.with(t,(function(e){e.replaceNodeRange(r,a[0],a[a.length-1],u)}))}}function l(t){var r=t[t.length-1];return e.isFunctionLikeDeclaration(r)&&r.body&&(t=t.slice(0,t.length-1)),e.factory.createNodeArray([e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),"args",void 0,e.factory.createUnionTypeNode(e.map(t,p)))])}function p(t){var r=e.map(t.parameters,d);return e.setEmitFlags(e.factory.createTupleTypeNode(r),e.some(r,(function(t){return!!e.length(e.getSyntheticLeadingComments(t))}))?0:1)}function d(t){e.Debug.assert(e.isIdentifier(t.name));var r=e.setTextRange(e.factory.createNamedTupleMember(t.dotDotDotToken,t.name,t.questionToken,t.type||e.factory.createKeywordTypeNode(130)),t),n=t.symbol&&t.symbol.getDocumentationComment(o);if(n){var i=e.displayPartsToString(n);i.length&&e.setSyntheticLeadingComments(r,[{text:"*\n".concat(i.split("\n").map((function(e){return" * ".concat(e)})).join("\n"),"\n "),kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return r}},getAvailableActions:function(t){return s(t.file,t.startPosition,t.program)?[{name:n,description:i,actions:[a]}]:e.emptyArray}})}((t=e.refactor||(e.refactor={})).addOrRemoveBracesToArrowFunction||(t.addOrRemoveBracesToArrowFunction={}))}(n||(n={})),function(e){var t;!function(r){var n,i,a,s,c,u="Extract Symbol",l={name:"Extract Constant",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),kind:"refactor.extract.constant"},p={name:"Extract Function",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),kind:"refactor.extract.function"};function d(r){var n=r.kind,i=_(r.file,e.getRefactorContextSpan(r),"invoked"===r.triggerReason),a=i.targetRange;if(void 0===a){if(!i.errors||0===i.errors.length||!r.preferences.provideRefactorNotApplicableReason)return e.emptyArray;var s=[];return t.refactorKindBeginsWith(p.kind,n)&&s.push({name:u,description:p.description,actions:[o(o({},p),{notApplicableReason:N(i.errors)})]}),t.refactorKindBeginsWith(l.kind,n)&&s.push({name:u,description:l.description,actions:[o(o({},l),{notApplicableReason:N(i.errors)})]}),s}var c=function(t,r){var n=h(t,r),i=n.scopes,a=n.readsAndWrites,o=a.functionErrorsPerScope,s=a.constantErrorsPerScope;return i.map((function(t,r){var n,i,a=function(t){return e.isFunctionLikeDeclaration(t)?"inner function":e.isClassLike(t)?"method":"function"}(t),c=function(t){return e.isClassLike(t)?"readonly field":"constant"}(t),u=e.isFunctionLikeDeclaration(t)?function(t){switch(t.kind){case 170:return"constructor";case 212:case 255:return t.name?"function '".concat(t.name.text,"'"):e.ANONYMOUS;case 213:return"arrow function";case 168:return"method '".concat(t.name.getText(),"'");case 171:return"'get ".concat(t.name.getText(),"'");case 172:return"'set ".concat(t.name.getText(),"'");default:throw e.Debug.assertNever(t,"Unexpected scope kind ".concat(t.kind))}}(t):e.isClassLike(t)?function(e){return 256===e.kind?e.name?"class '".concat(e.name.text,"'"):"anonymous class declaration":e.name?"class expression '".concat(e.name.text,"'"):"anonymous class expression"}(t):function(e){return 261===e.kind?"namespace '".concat(e.parent.name.getText(),"'"):e.externalModuleIndicator?0:1}(t);return 1===u?(n=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[a,"global"]),i=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[c,"global"])):0===u?(n=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[a,"module"]),i=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[c,"module"])):(n=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[a,u]),i=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[c,u])),0===r&&!e.isClassLike(t)&&(i=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_enclosing_scope),[c])),{functionExtraction:{description:n,errors:o[r]},constantExtraction:{description:i,errors:s[r]}}}))}(a,r);if(void 0===c)return e.emptyArray;for(var d,f,m=[],g=new e.Map,y=[],v=new e.Map,D=0,b=0,x=c;b<x.length;b++){var E=x[b],S=E.functionExtraction,C=E.constantExtraction,T=S.description;if(t.refactorKindBeginsWith(p.kind,n)&&(0===S.errors.length?g.has(T)||(g.set(T,!0),m.push({description:T,name:"function_scope_".concat(D),kind:p.kind})):d||(d={description:T,name:"function_scope_".concat(D),notApplicableReason:N(S.errors),kind:p.kind})),t.refactorKindBeginsWith(l.kind,n))if(0===C.errors.length){var k=C.description;v.has(k)||(v.set(k,!0),y.push({description:k,name:"constant_scope_".concat(D),kind:l.kind}))}else f||(f={description:T,name:"constant_scope_".concat(D),notApplicableReason:N(C.errors),kind:l.kind});D++}var A=[];return m.length?A.push({name:u,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),actions:m}):r.preferences.provideRefactorNotApplicableReason&&d&&A.push({name:u,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),actions:[d]}),y.length?A.push({name:u,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),actions:y}):r.preferences.provideRefactorNotApplicableReason&&f&&A.push({name:u,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),actions:[f]}),A.length?A:e.emptyArray;function N(e){var t=e[0].messageText;return"string"!=typeof t&&(t=t.messageText),t}}function f(t,r){var n=_(t.file,e.getRefactorContextSpan(t)).targetRange,a=/^function_scope_(\d+)$/.exec(r);if(a){var o=+a[1];return e.Debug.assert(isFinite(o),"Expected to parse a finite number from the function scope index"),function(t,r,n){var a=h(t,r),o=a.scopes,s=a.readsAndWrites,c=s.target,u=s.usagesPerScope,l=s.functionErrorsPerScope,p=s.exposedVariableDeclarations;return e.Debug.assert(!l[n].length,"The extraction went missing? How?"),r.cancellationToken.throwIfCancellationRequested(),function(t,r,n,a,o,s){var c,u,l=n.usages,p=n.typeParameterUsages,d=n.substitutions,f=s.program.getTypeChecker(),_=e.getEmitScriptTarget(s.program.getCompilerOptions()),m=e.codefix.createImportAdder(s.file,s.program,s.preferences,s.host),g=r.getSourceFile(),h=e.getUniqueName(e.isClassLike(r)?"newMethod":"newFunction",g),x=e.isInJSFile(r),E=e.factory.createIdentifier(h),S=[],C=[];l.forEach((function(t,n){var i;if(!x){var a=f.getTypeOfSymbolAtLocation(t.symbol,t.node);a=f.getBaseTypeOfLiteralType(a),i=e.codefix.typeToAutoImportableTypeNode(f,m,a,r,_,1)}var o=e.factory.createParameterDeclaration(void 0,void 0,void 0,n,void 0,i);S.push(o),2===t.usage&&(u||(u=[])).push(t),C.push(e.factory.createIdentifier(n))}));var k=e.arrayFrom(p.values()).map((function(e){return{type:e,declaration:y(e)}})).sort(v),A=0===k.length?void 0:k.map((function(e){return e.declaration})),N=void 0!==A?A.map((function(t){return e.factory.createTypeReferenceNode(t.name,void 0)})):void 0;if(e.isExpression(t)&&!x){var P=f.getContextualType(t);c=f.typeToTypeNode(P,r,1)}var F,w=function(t,r,n,i,a){var o=void 0!==n||r.length>0;if(e.isBlock(t)&&!o&&0===i.size)return{body:e.factory.createBlock(t.statements,!0),returnValueProperty:void 0};var s,c=!1,u=e.factory.createNodeArray(e.isBlock(t)?t.statements.slice(0):[e.isStatement(t)?t:e.factory.createReturnStatement(e.skipParentheses(t))]);if(o||i.size){var l=e.visitNodes(u,d).slice();if(o&&!a&&e.isStatement(t)){var p=D(r,n);1===p.length?l.push(e.factory.createReturnStatement(p[0].name)):l.push(e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(p)))}return{body:e.factory.createBlock(l,!0),returnValueProperty:s}}return{body:e.factory.createBlock(u,!0),returnValueProperty:void 0};function d(t){if(!c&&e.isReturnStatement(t)&&o){var a=D(r,n);return t.expression&&(s||(s="__return"),a.unshift(e.factory.createPropertyAssignment(s,e.visitNode(t.expression,d)))),1===a.length?e.factory.createReturnStatement(a[0].name):e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(a))}var u=c;c=c||e.isFunctionLikeDeclaration(t)||e.isClassLike(t);var l=i.get(e.getNodeId(t).toString()),p=l?e.getSynthesizedDeepClone(l):e.visitEachChild(t,d,e.nullTransformationContext);return c=u,p}}(t,a,u,d,!!(o.facts&i.HasReturn)),I=w.body,O=w.returnValueProperty;if(e.suppressLeadingAndTrailingTrivia(I),e.isClassLike(r)){var L=x?[]:[e.factory.createModifier(121)];o.facts&i.InStaticRegion&&L.push(e.factory.createModifier(124)),o.facts&i.IsAsyncFunction&&L.push(e.factory.createModifier(131)),F=e.factory.createMethodDeclaration(void 0,L.length?L:void 0,o.facts&i.IsGenerator?e.factory.createToken(41):void 0,E,void 0,A,S,c,I)}else F=e.factory.createFunctionDeclaration(void 0,o.facts&i.IsAsyncFunction?[e.factory.createToken(131)]:void 0,o.facts&i.IsGenerator?e.factory.createToken(41):void 0,E,A,S,c,I);var M=e.textChanges.ChangeTracker.fromContext(s),R=function(t,r){return e.find(function(t){if(e.isFunctionLikeDeclaration(t)){var r=t.body;if(e.isBlock(r))return r.statements}else{if(e.isModuleBlock(t)||e.isSourceFile(t))return t.statements;if(e.isClassLike(t))return t.members;e.assertType(t)}return e.emptyArray}(r),(function(r){return r.pos>=t&&e.isFunctionLikeDeclaration(r)&&!e.isConstructorDeclaration(r)}))}((b(o.range)?e.last(o.range):o.range).end,r);R?M.insertNodeBefore(s.file,R,F,!0):M.insertNodeAtEndOfScope(s.file,r,F),m.writeFixes(M);var B=[],j=function(t,r,n){var a=e.factory.createIdentifier(n);if(e.isClassLike(t)){var o=r.facts&i.InStaticRegion?e.factory.createIdentifier(t.name.text):e.factory.createThis();return e.factory.createPropertyAccessExpression(o,a)}return a}(r,o,h),K=e.factory.createCallExpression(j,N,C);if(o.facts&i.IsGenerator&&(K=e.factory.createYieldExpression(e.factory.createToken(41),K)),o.facts&i.IsAsyncFunction&&(K=e.factory.createAwaitExpression(K)),T(t)&&(K=e.factory.createJsxExpression(void 0,K)),a.length&&!u)if(e.Debug.assert(!O,"Expected no returnValueProperty"),e.Debug.assert(!(o.facts&i.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),1===a.length){var J=a[0];B.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(J.name),void 0,e.getSynthesizedDeepClone(J.type),K)],J.parent.flags)))}else{for(var U=[],q=[],V=a[0].parent.flags,z=!1,W=0,H=a;W<H.length;W++){J=H[W],U.push(e.factory.createBindingElement(void 0,void 0,e.getSynthesizedDeepClone(J.name)));var G=f.typeToTypeNode(f.getBaseTypeOfLiteralType(f.getTypeAtLocation(J)),r,1);q.push(e.factory.createPropertySignature(void 0,J.symbol.name,void 0,G)),z=z||void 0!==J.type,V&=J.parent.flags}var $=z?e.factory.createTypeLiteralNode(q):void 0;$&&e.setEmitFlags($,1),B.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.factory.createObjectBindingPattern(U),void 0,$,K)],V)))}else if(a.length||u){if(a.length)for(var Y=0,X=a;Y<X.length;Y++){var Q=(J=X[Y]).parent.flags;2&Q&&(Q=-3&Q|1),B.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(J.symbol.name,void 0,re(J.type))],Q)))}O&&B.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(O,void 0,re(c))],1)));var Z=D(a,u);O&&Z.unshift(e.factory.createShorthandPropertyAssignment(O)),1===Z.length?(e.Debug.assert(!O,"Shouldn't have returnValueProperty here"),B.push(e.factory.createExpressionStatement(e.factory.createAssignment(Z[0].name,K))),o.facts&i.HasReturn&&B.push(e.factory.createReturnStatement())):(B.push(e.factory.createExpressionStatement(e.factory.createAssignment(e.factory.createObjectLiteralExpression(Z),K))),O&&B.push(e.factory.createReturnStatement(e.factory.createIdentifier(O))))}else o.facts&i.HasReturn?B.push(e.factory.createReturnStatement(K)):b(o.range)?B.push(e.factory.createExpressionStatement(K)):B.push(K);b(o.range)?M.replaceNodeRangeWithNodes(s.file,e.first(o.range),e.last(o.range),B):M.replaceNodeWithNodes(s.file,o.range,B);var ee=M.getChanges(),te=(b(o.range)?e.first(o.range):o.range).getSourceFile().fileName;return{renameFilename:te,renameLocation:e.getRenameLocation(ee,te,h,!1),edits:ee};function re(t){if(void 0!==t){for(var r=e.getSynthesizedDeepClone(t),n=r;e.isParenthesizedTypeNode(n);)n=n.type;return e.isUnionTypeNode(n)&&e.find(n.types,(function(e){return 152===e.kind}))?r:e.factory.createUnionTypeNode([r,e.factory.createKeywordTypeNode(152)])}}}(c,o[n],u[n],p,t,r)}(n,t,o)}var s=/^constant_scope_(\d+)$/.exec(r);if(s)return o=+s[1],e.Debug.assert(isFinite(o),"Expected to parse a finite number from the constant scope index"),function(t,r,n){var a=h(t,r),o=a.scopes,s=a.readsAndWrites,c=s.target,u=s.usagesPerScope,l=s.constantErrorsPerScope,p=s.exposedVariableDeclarations;return e.Debug.assert(!l[n].length,"The extraction went missing? How?"),e.Debug.assert(0===p.length,"Extract constant accepted a range containing a variable declaration?"),r.cancellationToken.throwIfCancellationRequested(),function(t,r,n,a,o){var s,c=n.substitutions,u=o.program.getTypeChecker(),l=r.getSourceFile(),p=e.getUniqueName(e.isClassLike(r)?"newProperty":"newLocal",l),d=e.isInJSFile(r),f=d||!u.isContextSensitive(t)?void 0:u.typeToTypeNode(u.getContextualType(t),r,1),_=function(t,r){return r.size?n(t):t;function n(t){var i=r.get(e.getNodeId(t).toString());return i?e.getSynthesizedDeepClone(i):e.visitEachChild(t,n,e.nullTransformationContext)}}(e.skipParentheses(t),c);f=(s=A(f,_)).variableType,_=s.initializer,e.suppressLeadingAndTrailingTrivia(_);var m=e.textChanges.ChangeTracker.fromContext(o);if(e.isClassLike(r)){e.Debug.assert(!d,"Cannot extract to a JS class");var h=[];h.push(e.factory.createModifier(121)),a&i.InStaticRegion&&h.push(e.factory.createModifier(124)),h.push(e.factory.createModifier(144));var y=e.factory.createPropertyDeclaration(void 0,h,p,void 0,f,_),v=e.factory.createPropertyAccessExpression(a&i.InStaticRegion?e.factory.createIdentifier(r.name.getText()):e.factory.createThis(),e.factory.createIdentifier(p));T(t)&&(v=e.factory.createJsxExpression(void 0,v));var D=function(t,r){var n=r.members;e.Debug.assert(n.length>0,"Found no members");for(var i,a=!0,o=0,s=n;o<s.length;o++){var c=s[o];if(c.pos>t)return i||n[0];if(a&&!e.isPropertyDeclaration(c)){if(void 0!==i)return c;a=!1}i=c}return void 0===i?e.Debug.fail():i}(t.pos,r);m.insertNodeBefore(o.file,D,y,!0),m.replaceNode(o.file,t,v)}else{var b=e.factory.createVariableDeclaration(p,void 0,f,_),x=function(t,r){for(var n;void 0!==t&&t!==r;){if(e.isVariableDeclaration(t)&&t.initializer===n&&e.isVariableDeclarationList(t.parent)&&t.parent.declarations.length>1)return t;n=t,t=t.parent}}(t,r);if(x)m.insertNodeBefore(o.file,x,b),v=e.factory.createIdentifier(p),m.replaceNode(o.file,t,v);else if(237===t.parent.kind&&r===e.findAncestor(t,g)){var E=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([b],2));m.replaceNode(o.file,t.parent,E)}else E=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([b],2)),0===(D=function(t,r){e.Debug.assert(!e.isClassLike(r));for(var n,i=t;i!==r;i=i.parent)g(i)&&(n=i);for(i=(n||t).parent;;i=i.parent){if(C(i)){for(var a=void 0,o=0,s=i.statements;o<s.length;o++){var c=s[o];if(c.pos>t.pos)break;a=c}return!a&&e.isCaseClause(i)?(e.Debug.assert(e.isSwitchStatement(i.parent.parent),"Grandparent isn't a switch statement"),i.parent.parent):e.Debug.checkDefined(a,"prevStatement failed to get set")}e.Debug.assert(i!==r,"Didn't encounter a block-like before encountering scope")}}(t,r)).pos?m.insertNodeAtTopOfFile(o.file,E,!1):m.insertNodeBefore(o.file,D,E,!1),237===t.parent.kind?m.delete(o.file,t.parent):(v=e.factory.createIdentifier(p),T(t)&&(v=e.factory.createJsxExpression(void 0,v)),m.replaceNode(o.file,t,v))}var S=m.getChanges(),k=t.getSourceFile().fileName;return{renameFilename:k,renameLocation:e.getRenameLocation(S,k,p,!0),edits:S};function A(n,i){if(void 0===n)return{variableType:n,initializer:i};if(!e.isFunctionExpression(i)&&!e.isArrowFunction(i)||i.typeParameters)return{variableType:n,initializer:i};var a=u.getTypeAtLocation(t),o=e.singleOrUndefined(u.getSignaturesOfType(a,0));if(!o)return{variableType:n,initializer:i};if(o.getTypeParameters())return{variableType:n,initializer:i};for(var s=[],c=!1,l=0,p=i.parameters;l<p.length;l++){var d=p[l];if(d.type)s.push(d);else{var f=u.getTypeAtLocation(d);f===u.getAnyType()&&(c=!0),s.push(e.factory.updateParameterDeclaration(d,d.decorators,d.modifiers,d.dotDotDotToken,d.name,d.questionToken,d.type||u.typeToTypeNode(f,r,1),d.initializer))}}if(c)return{variableType:n,initializer:i};if(n=void 0,e.isArrowFunction(i))i=e.factory.updateArrowFunction(i,t.modifiers,i.typeParameters,s,i.type||u.typeToTypeNode(o.getReturnType(),r,1),i.equalsGreaterThanToken,i.body);else{if(o&&o.thisParameter){var _=e.firstOrUndefined(s);if(!_||e.isIdentifier(_.name)&&"this"!==_.name.escapedText){var m=u.getTypeOfSymbolAtLocation(o.thisParameter,t);s.splice(0,0,e.factory.createParameterDeclaration(void 0,void 0,void 0,"this",void 0,u.typeToTypeNode(m,r,1)))}}i=e.factory.updateFunctionExpression(i,t.modifiers,i.asteriskToken,i.name,i.typeParameters,s,i.type||u.typeToTypeNode(o.getReturnType(),r,1),i.body)}return{variableType:n,initializer:i}}}(e.isExpression(c)?c:c.statements[0].expression,o[n],u[n],t.facts,r)}(n,t,o);e.Debug.fail("Unrecognized action name")}function _(t,r,a){void 0===a&&(a=!0);var o=r.length;if(0===o&&!a)return{errors:[e.createFileDiagnostic(t,r.start,o,n.cannotExtractEmpty)]};var s=0===o&&a,c=e.findFirstNonJsxWhitespaceToken(t,r.start),u=e.findTokenOnLeftOfPosition(t,e.textSpanEnd(r)),l=c&&u&&a?function(e,t,r){var n=e.getStart(r),i=t.getEnd();return 59===r.text.charCodeAt(i)&&i++,{start:n,length:i-n}}(c,u,t):r,p=s?function(t){return e.findAncestor(t,(function(t){return t.parent&&S(t)&&!e.isBinaryExpression(t.parent)}))}(c):e.getParentNodeInSpan(c,t,l),d=s?p:e.getParentNodeInSpan(u,t,l),f=[],_=i.None;if(!p||!d)return{errors:[e.createFileDiagnostic(t,r.start,o,n.cannotExtractRange)]};if(4194304&p.flags)return{errors:[e.createFileDiagnostic(t,r.start,o,n.cannotExtractJSDoc)]};if(p.parent!==d.parent)return{errors:[e.createFileDiagnostic(t,r.start,o,n.cannotExtractRange)]};if(p!==d){if(!C(p.parent))return{errors:[e.createFileDiagnostic(t,r.start,o,n.cannotExtractRange)]};for(var g=[],h=0,y=p.parent.statements;h<y.length;h++){var v=y[h];if(v===p||g.length){var D=E(v);if(D)return{errors:D};g.push(v)}if(v===d)break}return g.length?{targetRange:{range:g,facts:_,declarations:f}}:{errors:[e.createFileDiagnostic(t,r.start,o,n.cannotExtractRange)]}}if(e.isReturnStatement(p)&&!p.expression)return{errors:[e.createFileDiagnostic(t,r.start,o,n.cannotExtractRange)]};var b=function(t){if(e.isReturnStatement(t)){if(t.expression)return t.expression}else if(e.isVariableStatement(t)||e.isVariableDeclarationList(t)){for(var r=0,n=void 0,i=0,a=e.isVariableStatement(t)?t.declarationList.declarations:t.declarations;i<a.length;i++){var o=a[i];o.initializer&&(r++,n=o.initializer)}if(1===r)return n}else if(e.isVariableDeclaration(t)&&t.initializer)return t.initializer;return t}(p),x=function(t){if(e.isIdentifier(e.isExpressionStatement(t)?t.expression:t))return[e.createDiagnosticForNode(t,n.cannotExtractIdentifier)]}(b)||E(b);return x?{errors:x}:{targetRange:{range:m(b),facts:_,declarations:f}};function E(t){var a,o;if((o=a||(a={}))[o.None=0]="None",o[o.Break=1]="Break",o[o.Continue=2]="Continue",o[o.Return=4]="Return",e.Debug.assert(t.pos<=t.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),e.Debug.assert(!e.positionIsSynthesized(t.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!(e.isStatement(t)||e.isExpressionNode(t)&&S(t)))return[e.createDiagnosticForNode(t,n.statementOrExpressionExpected)];if(8388608&t.flags)return[e.createDiagnosticForNode(t,n.cannotExtractAmbientBlock)];var s=e.getContainingClass(t);s&&function(t,r){for(var n=t;n!==r;){if(166===n.kind){e.isStatic(n)&&(_|=i.InStaticRegion);break}if(163===n.kind){170===e.getContainingFunction(n).kind&&(_|=i.InStaticRegion);break}168===n.kind&&e.isStatic(n)&&(_|=i.InStaticRegion),n=n.parent}}(t,s);var c,u,l=4;return function t(a){if(c)return!0;if(e.isDeclaration(a)){var o=253===a.kind?a.parent.parent:a;if(e.hasSyntacticModifier(o,1))return(c||(c=[])).push(e.createDiagnosticForNode(a,n.cannotExtractExportedEntity)),!0;f.push(a.symbol)}switch(a.kind){case 265:return(c||(c=[])).push(e.createDiagnosticForNode(a,n.cannotExtractImport)),!0;case 270:return(c||(c=[])).push(e.createDiagnosticForNode(a,n.cannotExtractExportedEntity)),!0;case 106:if(207===a.parent.kind){var s=e.getContainingClass(a);if(void 0===s||s.pos<r.start||s.end>=r.start+r.length)return(c||(c=[])).push(e.createDiagnosticForNode(a,n.cannotExtractSuper)),!0}else _|=i.UsesThis;break;case 213:e.forEachChild(a,(function t(r){if(e.isThis(r))_|=i.UsesThis;else{if(e.isClassLike(r)||e.isFunctionLike(r)&&!e.isArrowFunction(r))return!1;e.forEachChild(r,t)}}));case 256:case 255:e.isSourceFile(a.parent)&&void 0===a.parent.externalModuleIndicator&&(c||(c=[])).push(e.createDiagnosticForNode(a,n.functionWillNotBeVisibleInTheNewScope));case 225:case 212:case 168:case 170:case 171:case 172:return!1}var p=l;switch(a.kind){case 238:case 251:l=0;break;case 234:a.parent&&251===a.parent.kind&&a.parent.finallyBlock===a&&(l=4);break;case 289:case 288:l|=1;break;default:e.isIterationStatement(a,!1)&&(l|=3)}switch(a.kind){case 191:case 108:_|=i.UsesThis;break;case 249:var d=a.label;(u||(u=[])).push(d.escapedText),e.forEachChild(a,t),u.pop();break;case 245:case 244:(d=a.label)?e.contains(u,d.escapedText)||(c||(c=[])).push(e.createDiagnosticForNode(a,n.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):l&(245===a.kind?1:2)||(c||(c=[])).push(e.createDiagnosticForNode(a,n.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 217:_|=i.IsAsyncFunction;break;case 223:_|=i.IsGenerator;break;case 246:4&l?_|=i.HasReturn:(c||(c=[])).push(e.createDiagnosticForNode(a,n.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(a,t)}l=p}(t),c}}function m(t){return e.isStatement(t)?[t]:e.isExpressionNode(t)?e.isExpressionStatement(t.parent)?[t.parent]:t:void 0}function g(t){return e.isFunctionLikeDeclaration(t)||e.isSourceFile(t)||e.isModuleBlock(t)||e.isClassLike(t)}function h(t,r){var n=r.file,a=function(t){var r=b(t.range)?e.first(t.range):t.range;if(t.facts&i.UsesThis){var n=e.getContainingClass(r);if(n){var a=e.findAncestor(r,e.isFunctionLikeDeclaration);return a?[a,n]:[n]}}for(var o=[];;)if(163===(r=r.parent).kind&&(r=e.findAncestor(r,(function(t){return e.isFunctionLikeDeclaration(t)})).parent),g(r)&&(o.push(r),303===r.kind))return o}(t);return{scopes:a,readsAndWrites:E(t,a,x(t,n),n,r.program.getTypeChecker(),r.cancellationToken)}}function y(e){var t,r=e.symbol;if(r&&r.declarations)for(var n=0,i=r.declarations;n<i.length;n++){var a=i[n];(void 0===t||a.pos<t.pos)&&(t=a)}return t}function v(t,r){var n=t.type,i=t.declaration,a=r.type,o=r.declaration;return e.compareProperties(i,o,"pos",e.compareValues)||e.compareStringsCaseSensitive(n.symbol?n.symbol.getName():"",a.symbol?a.symbol.getName():"")||e.compareValues(n.id,a.id)}function D(t,r){var n=e.map(t,(function(t){return e.factory.createShorthandPropertyAssignment(t.symbol.name)})),i=e.map(r,(function(t){return e.factory.createShorthandPropertyAssignment(t.symbol.name)}));return void 0===n?i:void 0===i?n:n.concat(i)}function b(t){return e.isArray(t)}function x(t,r){return b(t.range)?{pos:e.first(t.range).getStart(r),end:e.last(t.range).getEnd()}:t.range}function E(t,r,a,o,s,c){var u,l,p=new e.Map,d=[],f=[],_=[],m=[],g=[],h=new e.Map,y=[],v=b(t.range)?1===t.range.length&&e.isExpressionStatement(t.range[0])?t.range[0].expression:void 0:t.range;if(void 0===v){var D=t.range,x=e.first(D).getStart(),E=e.last(D).end;l=e.createFileDiagnostic(o,x,E-x,n.expressionExpected)}else 147456&s.getTypeAtLocation(v).flags&&(l=e.createDiagnosticForNode(v,n.uselessConstantType));for(var S=0,C=r;S<C.length;S++){var T=C[S];d.push({usages:new e.Map,typeParameterUsages:new e.Map,substitutions:new e.Map}),f.push(new e.Map),_.push([]);var k=[];l&&k.push(l),e.isClassLike(T)&&e.isInJSFile(T)&&k.push(e.createDiagnosticForNode(T,n.cannotExtractToJSClass)),e.isArrowFunction(T)&&!e.isBlock(T.body)&&k.push(e.createDiagnosticForNode(T,n.cannotExtractToExpressionArrowFunction)),m.push(k)}var A,N=new e.Map,P=b(t.range)?e.factory.createBlock(t.range):t.range,F=b(t.range)?e.first(t.range):t.range,w=(A=F,!!e.findAncestor(A,(function(t){return e.isDeclarationWithTypeParameters(t)&&0!==e.getEffectiveTypeParameterDeclarations(t).length})));if(function c(u,l){if(void 0===l&&(l=1),w&&q(s.getTypeAtLocation(u)),e.isDeclaration(u)&&u.symbol&&g.push(u),e.isAssignmentExpression(u))c(u.left,2),c(u.right);else if(e.isUnaryExpressionWithWrite(u))c(u.operand,2);else if(e.isPropertyAccessExpression(u)||e.isElementAccessExpression(u))e.forEachChild(u,c);else if(e.isIdentifier(u)){if(!u.parent||e.isQualifiedName(u.parent)&&u!==u.parent.left||e.isPropertyAccessExpression(u.parent)&&u!==u.parent.expression)return;!function(c,u,l){var p=function(c,u,l){var p=V(c);if(p){var g=e.getSymbolId(p).toString(),h=N.get(g);if(h&&h>=u)return g;if(N.set(g,u),h){for(var y=0,v=d;y<v.length;y++){var D=v[y];D.usages.get(c.text)&&D.usages.set(c.text,{usage:u,symbol:p,node:c})}return g}var b=p.getDeclarations(),x=b&&e.find(b,(function(e){return e.getSourceFile()===o}));if(x&&!e.rangeContainsStartEnd(a,x.getStart(),x.end)){if(t.facts&i.IsGenerator&&2===u){for(var E=e.createDiagnosticForNode(c,n.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators),S=0,C=_;S<C.length;S++)C[S].push(E);for(var T=0,k=m;T<k.length;T++)k[T].push(E)}for(var A=0;A<r.length;A++){var P=r[A];if(s.resolveName(p.name,P,p.flags,!1)!==p&&!f[A].has(g)){var F=z(p.exportSymbol||p,P,l);F?f[A].set(g,F):l?262144&p.flags||(E=e.createDiagnosticForNode(c,n.typeWillNotBeVisibleInTheNewScope),_[A].push(E),m[A].push(E)):d[A].usages.set(c.text,{usage:u,symbol:p,node:c})}}return g}}}(c,u,l);if(p)for(var g=0;g<r.length;g++){var h=f[g].get(p);h&&d[g].substitutions.set(e.getNodeId(c).toString(),h)}}(u,l,e.isPartOfTypeNode(u))}else e.forEachChild(u,c)}(P),w&&!b(t.range)&&q(s.getContextualType(t.range)),p.size>0){for(var I=new e.Map,O=0,L=F;void 0!==L&&O<r.length;L=L.parent)if(L===r[O]&&(I.forEach((function(e,t){d[O].typeParameterUsages.set(t,e)})),O++),e.isDeclarationWithTypeParameters(L))for(var M=0,R=e.getEffectiveTypeParameterDeclarations(L);M<R.length;M++){var B=R[M],j=s.getTypeAtLocation(B);p.has(j.id.toString())&&I.set(j.id.toString(),j)}e.Debug.assert(O===r.length,"Should have iterated all scopes")}if(g.length){var K=e.isBlockScope(r[0],r[0].parent)?r[0]:e.getEnclosingBlockScopeContainer(r[0]);e.forEachChild(K,(function r(n){if(!(n===t.range||b(t.range)&&t.range.indexOf(n)>=0)){var i=e.isIdentifier(n)?V(n):s.getSymbolAtLocation(n);if(i){var a=e.find(g,(function(e){return e.symbol===i}));if(a)if(e.isVariableDeclaration(a)){var o=a.symbol.id.toString();h.has(o)||(y.push(a),h.set(o,!0))}else u=u||a}e.forEachChild(n,r)}}))}for(var J=function(r){var i=d[r];if(r>0&&(i.usages.size>0||i.typeParameterUsages.size>0)){var a=b(t.range)?t.range[0]:t.range;m[r].push(e.createDiagnosticForNode(a,n.cannotAccessVariablesFromNestedScopes))}var o,s=!1;if(d[r].usages.forEach((function(t){2===t.usage&&(s=!0,106500&t.symbol.flags&&t.symbol.valueDeclaration&&e.hasEffectiveModifier(t.symbol.valueDeclaration,64)&&(o=t.symbol.valueDeclaration))})),e.Debug.assert(b(t.range)||0===y.length,"No variable declarations expected if something was extracted"),s&&!b(t.range)){var c=e.createDiagnosticForNode(t.range,n.cannotWriteInExpression);_[r].push(c),m[r].push(c)}else o&&r>0?(c=e.createDiagnosticForNode(o,n.cannotExtractReadonlyPropertyInitializerOutsideConstructor),_[r].push(c),m[r].push(c)):u&&(c=e.createDiagnosticForNode(u,n.cannotExtractExportedEntity),_[r].push(c),m[r].push(c))},U=0;U<r.length;U++)J(U);return{target:P,usagesPerScope:d,functionErrorsPerScope:_,constantErrorsPerScope:m,exposedVariableDeclarations:y};function q(e){for(var t=0,r=s.getSymbolWalker((function(){return c.throwIfCancellationRequested(),!0})).walkType(e).visitedTypes;t<r.length;t++){var n=r[t];n.isTypeParameter()&&p.set(n.id.toString(),n)}}function V(t){return t.parent&&e.isShorthandPropertyAssignment(t.parent)&&t.parent.name===t?s.getShorthandAssignmentValueSymbol(t.parent):s.getSymbolAtLocation(t)}function z(t,r,n){if(t){var i=t.getDeclarations();if(i&&i.some((function(e){return e.parent===r})))return e.factory.createIdentifier(t.name);var a=z(t.parent,r,n);if(void 0!==a)return n?e.factory.createQualifiedName(a,e.factory.createIdentifier(t.name)):e.factory.createPropertyAccessExpression(a,t.name)}}}function S(e){var t=e.parent;if(297===t.kind)return!1;switch(e.kind){case 10:return 265!==t.kind&&269!==t.kind;case 224:case 200:case 202:return!1;case 79:return 202!==t.kind&&269!==t.kind&&274!==t.kind}return!0}function C(e){switch(e.kind){case 234:case 303:case 261:case 288:return!0;default:return!1}}function T(t){return(e.isJsxElement(t)||e.isJsxSelfClosingElement(t)||e.isJsxFragment(t))&&(e.isJsxElement(t.parent)||e.isJsxFragment(t.parent))}t.registerRefactor(u,{kinds:[l.kind,p.kind],getEditsForAction:f,getAvailableActions:d}),r.getRefactorActionsToExtractSymbol=d,r.getRefactorEditsToExtractSymbol=f,function(t){function r(t){return{message:t,code:0,category:e.DiagnosticCategory.Message,key:t}}t.cannotExtractRange=r("Cannot extract range."),t.cannotExtractImport=r("Cannot extract import statement."),t.cannotExtractSuper=r("Cannot extract super call."),t.cannotExtractJSDoc=r("Cannot extract JSDoc."),t.cannotExtractEmpty=r("Cannot extract empty range."),t.expressionExpected=r("expression expected."),t.uselessConstantType=r("No reason to extract constant of type."),t.statementOrExpressionExpected=r("Statement or expression expected."),t.cannotExtractRangeContainingConditionalBreakOrContinueStatements=r("Cannot extract range containing conditional break or continue statements."),t.cannotExtractRangeContainingConditionalReturnStatement=r("Cannot extract range containing conditional return statement."),t.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=r("Cannot extract range containing labeled break or continue with target outside of the range."),t.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=r("Cannot extract range containing writes to references located outside of the target range in generators."),t.typeWillNotBeVisibleInTheNewScope=r("Type will not visible in the new scope."),t.functionWillNotBeVisibleInTheNewScope=r("Function will not visible in the new scope."),t.cannotExtractIdentifier=r("Select more than a single identifier."),t.cannotExtractExportedEntity=r("Cannot extract exported declaration"),t.cannotWriteInExpression=r("Cannot write back side-effects when extracting an expression"),t.cannotExtractReadonlyPropertyInitializerOutsideConstructor=r("Cannot move initialization of read-only class property outside of the constructor"),t.cannotExtractAmbientBlock=r("Cannot extract code from ambient contexts"),t.cannotAccessVariablesFromNestedScopes=r("Cannot access variables from nested scopes"),t.cannotExtractToJSClass=r("Cannot extract constant to a class scope in JS"),t.cannotExtractToExpressionArrowFunction=r("Cannot extract constant to an arrow function without a block")}(n=r.Messages||(r.Messages={})),(a=i||(i={}))[a.None=0]="None",a[a.HasReturn=1]="HasReturn",a[a.IsGenerator=2]="IsGenerator",a[a.IsAsyncFunction=4]="IsAsyncFunction",a[a.UsesThis=8]="UsesThis",a[a.InStaticRegion=16]="InStaticRegion",r.getRangeToExtract=_,function(e){e[e.Module=0]="Module",e[e.Global=1]="Global"}(s||(s={})),function(e){e[e.Read=1]="Read",e[e.Write=2]="Write"}(c||(c={}))}((t=e.refactor||(e.refactor={})).extractSymbol||(t.extractSymbol={}))}(n||(n={})),function(e){!function(t){var r="Extract type",n={name:"Extract to type alias",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_type_alias),kind:"refactor.extract.type"},i={name:"Extract to interface",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_interface),kind:"refactor.extract.interface"},a={name:"Extract to typedef",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_typedef),kind:"refactor.extract.typedef"};function s(t,r){void 0===r&&(r=!0);var n=t.file,i=t.startPosition,a=e.isSourceFileJS(n),o=e.getTokenAtPosition(n,i),s=e.createTextRangeFromSpan(e.getRefactorContextSpan(t)),l=s.pos===s.end&&r,p=e.findAncestor(o,(function(t){return t.parent&&e.isTypeNode(t)&&!u(s,t.parent,n)&&(l||e.nodeOverlapsWithStartEnd(o,n,s.pos,s.end))}));if(!p||!e.isTypeNode(p))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Selection_is_not_a_valid_type_node)};var d=t.program.getTypeChecker(),f=e.Debug.checkDefined(e.findAncestor(p,e.isStatement),"Should find a statement"),_=function(t,r,n,i){var a=[];return o(r)?void 0:a;function o(s){if(e.isTypeReferenceNode(s)){if(e.isIdentifier(s.typeName))for(var c=s.typeName,l=0,p=(null==(m=t.resolveName(c.text,c,262144,!0))?void 0:m.declarations)||e.emptyArray;l<p.length;l++){var d=p[l];if(e.isTypeParameterDeclaration(d)&&d.getSourceFile()===i){if(d.name.escapedText===c.escapedText&&u(d,r,i))return!0;if(u(n,d,i)&&!u(r,d,i)){e.pushIfUnique(a,d);break}}}}else if(e.isInferTypeNode(s)){var f=e.findAncestor(s,(function(t){return e.isConditionalTypeNode(t)&&u(t.extendsType,s,i)}));if(!f||!u(r,f,i))return!0}else if(e.isTypePredicateNode(s)||e.isThisTypeNode(s)){var _=e.findAncestor(s.parent,e.isFunctionLike);if(_&&_.type&&u(_.type,s,i)&&!u(r,_,i))return!0}else if(e.isTypeQueryNode(s)){var m;if(e.isIdentifier(s.exprName)){if((null==(m=t.resolveName(s.exprName.text,s.exprName,111551,!1))?void 0:m.valueDeclaration)&&u(n,m.valueDeclaration,i)&&!u(r,m.valueDeclaration,i))return!0}else if(e.isThisIdentifier(s.exprName.left)&&!u(r,s.parent,i))return!0}return i&&e.isTupleTypeNode(s)&&e.getLineAndCharacterOfPosition(i,s.pos).line===e.getLineAndCharacterOfPosition(i,s.end).line&&e.setEmitFlags(s,1),e.forEachChild(s,o)}}(d,p,f,n);return _?{isJS:a,selection:p,firstStatement:f,typeParameters:_,typeElements:c(d,p)}:{error:e.getLocaleSpecificMessage(e.Diagnostics.No_type_could_be_extracted_from_this_type_node)}}function c(t,r){if(r){if(e.isIntersectionTypeNode(r)){for(var n=[],i=new e.Map,a=0,o=r.types;a<o.length;a++){var s=c(t,o[a]);if(!s||!s.every((function(t){return t.name&&e.addToSeen(i,e.getNameFromPropertyName(t.name))})))return;e.addRange(n,s)}return n}if(e.isParenthesizedTypeNode(r))return c(t,r.type);if(e.isTypeLiteralNode(r))return r.members}}function u(t,r,n){return e.rangeContainsStartEnd(t,e.skipTrivia(n.text,r.pos),r.end)}t.registerRefactor(r,{kinds:[n.kind,i.kind,a.kind],getAvailableActions:function(c){var u=s(c,"invoked"===c.triggerReason);return u?t.isRefactorErrorInfo(u)?c.preferences.provideRefactorNotApplicableReason?[{name:r,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:[o(o({},a),{notApplicableReason:u.error}),o(o({},n),{notApplicableReason:u.error}),o(o({},i),{notApplicableReason:u.error})]}]:e.emptyArray:[{name:r,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:u.isJS?[a]:e.append([n],u.typeElements&&i)}]:e.emptyArray},getEditsForAction:function(r,o){var c=r.file,u=s(r);e.Debug.assert(u&&!t.isRefactorErrorInfo(u),"Expected to find a range to extract");var l=e.getUniqueName("NewType",c),p=e.textChanges.ChangeTracker.with(r,(function(t){switch(o){case n.name:return e.Debug.assert(!u.isJS,"Invalid actionName/JS combo"),function(t,r,n,i){var a=i.firstStatement,o=i.selection,s=i.typeParameters,c=e.factory.createTypeAliasDeclaration(void 0,void 0,n,s.map((function(t){return e.factory.updateTypeParameterDeclaration(t,t.name,t.constraint,void 0)})),o);t.insertNodeBefore(r,a,e.ignoreSourceNewlines(c),!0),t.replaceNode(r,o,e.factory.createTypeReferenceNode(n,s.map((function(t){return e.factory.createTypeReferenceNode(t.name,void 0)}))),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.ExcludeWhitespace})}(t,c,l,u);case a.name:return e.Debug.assert(u.isJS,"Invalid actionName/JS combo"),function(t,r,n,i){var a=i.firstStatement,o=i.selection,s=i.typeParameters,c=e.factory.createJSDocTypedefTag(e.factory.createIdentifier("typedef"),e.factory.createJSDocTypeExpression(o),e.factory.createIdentifier(n)),u=[];e.forEach(s,(function(t){var r=e.getEffectiveConstraintOfTypeParameter(t),n=e.factory.createTypeParameterDeclaration(t.name),i=e.factory.createJSDocTemplateTag(e.factory.createIdentifier("template"),r&&e.cast(r,e.isJSDocTypeExpression),[n]);u.push(i)})),t.insertNodeBefore(r,a,e.factory.createJSDocComment(void 0,e.factory.createNodeArray(e.concatenate(u,[c]))),!0),t.replaceNode(r,o,e.factory.createTypeReferenceNode(n,s.map((function(t){return e.factory.createTypeReferenceNode(t.name,void 0)}))))}(t,c,l,u);case i.name:return e.Debug.assert(!u.isJS&&!!u.typeElements,"Invalid actionName/JS combo"),function(t,r,n,i){var a,o=i.firstStatement,s=i.selection,c=i.typeParameters,u=i.typeElements,l=e.factory.createInterfaceDeclaration(void 0,void 0,n,c,void 0,u);e.setTextRange(l,null===(a=u[0])||void 0===a?void 0:a.parent),t.insertNodeBefore(r,o,e.ignoreSourceNewlines(l),!0),t.replaceNode(r,s,e.factory.createTypeReferenceNode(n,c.map((function(t){return e.factory.createTypeReferenceNode(t.name,void 0)}))),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.ExcludeWhitespace})}(t,c,l,u);default:e.Debug.fail("Unexpected action name")}})),d=c.fileName;return{edits:p,renameFilename:d,renameLocation:e.getRenameLocation(p,d,l,!1)}}})}(e.refactor||(e.refactor={}))}(n||(n={})),function(e){var t,r,n,i;(t=e.refactor||(e.refactor={})).generateGetAccessorAndSetAccessor||(t.generateGetAccessorAndSetAccessor={}),r="Generate 'get' and 'set' accessors",n=e.Diagnostics.Generate_get_and_set_accessors.message,i={name:r,description:n,kind:"refactor.rewrite.property.generateAccessors"},t.registerRefactor(r,{kinds:[i.kind],getEditsForAction:function(r,n){if(r.endPosition){var i=e.codefix.getAccessorConvertiblePropertyAtPosition(r.file,r.program,r.startPosition,r.endPosition);e.Debug.assert(i&&!t.isRefactorErrorInfo(i),"Expected applicable refactor info");var a=e.codefix.generateAccessorFromProperty(r.file,r.program,r.startPosition,r.endPosition,r,n);if(a){var o=r.file.fileName,s=i.renameAccessor?i.accessorName:i.fieldName;return{renameFilename:o,renameLocation:(e.isIdentifier(s)?0:-1)+e.getRenameLocation(a,o,s.text,e.isParameter(i.declaration)),edits:a}}}},getAvailableActions:function(a){if(!a.endPosition)return e.emptyArray;var s=e.codefix.getAccessorConvertiblePropertyAtPosition(a.file,a.program,a.startPosition,a.endPosition,"invoked"===a.triggerReason);return s?t.isRefactorErrorInfo(s)?a.preferences.provideRefactorNotApplicableReason?[{name:r,description:n,actions:[o(o({},i),{notApplicableReason:s.error})]}]:e.emptyArray:[{name:r,description:n,actions:[i]}]:e.emptyArray}})}(n||(n={})),function(e){var t;(t=e.refactor||(e.refactor={})).isRefactorErrorInfo=function(e){return void 0!==e.error},t.refactorKindBeginsWith=function(e,t){return!t||e.substr(0,t.length)===t}}(n||(n={})),function(e){!function(t){var r="Move to a new file",n=e.getLocaleSpecificMessage(e.Diagnostics.Move_to_a_new_file),i={name:r,description:n,kind:"refactor.move.newFile"};function s(t,r,n,i,o,s){var c=r.getTypeChecker(),u=function(t,r,n){var i=new b,a=new b,o=new b,s=y(e.find(r,(function(e){return!!(2&e.transformFlags)})));s&&a.add(s);for(var c=0,u=r;c<u.length;c++)C(g=u[c],(function(t){i.add(e.Debug.checkDefined(e.isExpressionStatement(t)?n.getSymbolAtLocation(t.expression.left):t.symbol,"Need a symbol here"))}));for(var l=0,p=r;l<p.length;l++)D(g=p[l],n,(function(e){if(e.declarations)for(var r=0,n=e.declarations;r<n.length;r++){var s=n[r];h(s)?a.add(e):x(s)&&E(s)===t&&!i.has(e)&&o.add(e)}}));for(var d=a.clone(),f=new b,_=0,m=t.statements;_<m.length;_++){var g=m[_];e.contains(r,g)||(s&&!!(2&g.transformFlags)&&d.delete(s),D(g,n,(function(e){i.has(e)&&f.add(e),d.delete(e)})))}return{movedSymbols:i,newFileImportsFromOldFile:o,oldFileImportsFromNewFile:f,oldImportsNeededByNewFile:a,unusedImportsFromOldFile:d};function y(t){if(void 0!==t){var r=n.getJsxNamespace(t),i=n.resolveName(r,t,1920,!0);return i&&e.some(i.declarations,h)?i:void 0}}}(t,n.all,c),_=e.getDirectoryPath(t.fileName),y=e.extensionFromPath(t.fileName),T=function(t,r,n,i){for(var a=t,o=1;;o++){var s=e.combinePaths(n,a+r);if(!i.fileExists(s))return a;a="".concat(t,".").concat(o)}}(function(t){return t.forEachEntry(e.symbolNameNoDefault)||"newFile"}(u.movedSymbols),y,_,o),O=T+y;i.createNewFile(t,e.combinePaths(_,O),function(t,r,n,i,o,s,c){var u=o.getTypeChecker(),_=e.takeWhile(t.statements,e.isPrologueDirective);if(!t.externalModuleIndicator&&!t.commonJsModuleIndicator)return l(t,i.ranges,n),a(a([],_,!0),i.all,!0);var h=!!t.externalModuleIndicator,y=e.getQuotePreference(t,c),D=function(t,r,n,i){var a,o=[];return t.forEach((function(t){"default"===t.escapedName?a=e.factory.createIdentifier(e.symbolNameNoDefault(t)):o.push(t.name)})),f(a,o,r,n,i)}(r.oldFileImportsFromNewFile,s,h,y);D&&e.insertImports(n,t,D,!0),function(t,r,n,i,a){for(var o=0,s=t.statements;o<s.length;o++){var c=s[o];e.contains(r,c)||d(c,(function(e){return g(t,e,n,(function(e){return i.has(a.getSymbolAtLocation(e))}))}))}}(t,i.all,n,r.unusedImportsFromOldFile,u),l(t,i.ranges,n),function(t,r,n,i,a){for(var o=r.getTypeChecker(),s=function(r){if(r===n)return"continue";for(var s=function(s){d(s,(function(c){if(o.getSymbolAtLocation(p(c))===n.symbol){var u=function(t){var r=e.isBindingElement(t.parent)?e.getPropertySymbolFromBindingElement(o,t.parent):e.skipAlias(o.getSymbolAtLocation(t),o);return!!r&&i.has(r)};g(r,c,t,u);var l=e.combinePaths(e.getDirectoryPath(p(c).text),a),d=v(c,e.factory.createStringLiteral(l),u);d&&t.insertNodeAfter(r,s,d);var f=function(t){switch(t.kind){case 265:return t.importClause&&t.importClause.namedBindings&&267===t.importClause.namedBindings.kind?t.importClause.namedBindings.name:void 0;case 264:return t.name;case 253:return e.tryCast(t.name,e.isIdentifier);default:return e.Debug.assertNever(t,"Unexpected node kind ".concat(t.kind))}}(c);f&&function(t,r,n,i,a,o,s,c){var u=e.codefix.moduleSpecifierToValidIdentifier(a,99),l=!1,p=[];if(e.FindAllReferences.Core.eachSymbolReferenceInFile(s,n,r,(function(t){!e.isPropertyAccessExpression(t.parent)||(l=l||!!n.resolveName(u,t,67108863,!0),i.has(n.getSymbolAtLocation(t.parent.name))&&p.push(t))})),p.length){for(var d=l?e.getUniqueName(u,r):u,f=0,_=p;f<_.length;f++){var g=_[f];t.replaceNode(r,g,e.factory.createIdentifier(d))}t.insertNodeAfter(r,c,function(t,r,n){var i=e.factory.createIdentifier(r),a=e.factory.createStringLiteral(n);switch(t.kind){case 265:return e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamespaceImport(i)),a,void 0);case 264:return e.factory.createImportEqualsDeclaration(void 0,void 0,!1,i,e.factory.createExternalModuleReference(a));case 253:return e.factory.createVariableDeclaration(i,void 0,void 0,m(a));default:return e.Debug.assertNever(t,"Unexpected node kind ".concat(t.kind))}}(c,a,o))}}(t,r,o,i,a,l,f,c)}}))},c=0,u=r.statements;c<u.length;c++)s(u[c])},c=0,u=r.getSourceFiles();c<u.length;c++)s(u[c])}(n,o,t,r.movedSymbols,s);var b=function(t,r,n,i,a,o,s){for(var c=[],u=0,l=t.statements;u<l.length;u++)d(l[u],(function(t){e.append(c,v(t,p(t),(function(e){return r.has(a.getSymbolAtLocation(e))})))}));var _,m=[],g=e.nodeSeenTracker();return n.forEach((function(r){if(r.declarations)for(var n=0,a=r.declarations;n<a.length;n++){var s=a[n];if(x(s)){var c=k(s);if(c){var u=A(s);g(u)&&N(t,u,c,i,o),e.hasSyntacticModifier(s,512)?_=c:m.push(c.text)}}}})),e.append(c,f(_,m,e.removeFileExtension(e.getBaseFileName(t.fileName)),o,s)),c}(t,r.oldImportsNeededByNewFile,r.newFileImportsFromOldFile,n,u,h,y),E=function(t,r,n,i){return e.flatMap(r,(function(r){if(function(t){return e.Debug.assert(e.isSourceFile(t.parent),"Node parent should be a SourceFile"),S(t)||e.isVariableStatement(t)}(r)&&!P(t,r,i)&&C(r,(function(t){return n.has(e.Debug.checkDefined(t.symbol))}))){var o=function(e,t){return t?[F(e)]:function(e){return a([e],w(e).map(I),!0)}(e)}(r,i);if(o)return o}return r}))}(t,i.all,r.oldFileImportsFromNewFile,h);return b.length&&E.length?a(a(a(a([],_,!0),b,!0),[4],!1),E,!0):a(a(a([],_,!0),b,!0),E,!0)}(t,u,i,n,r,T,s)),function(t,r,n,i,a){var o=t.getCompilerOptions().configFile;if(o){var s=e.normalizePath(e.combinePaths(n,"..",i)),c=e.getRelativePathFromFile(o.fileName,s,a),u=o.statements[0]&&e.tryCast(o.statements[0].expression,e.isObjectLiteralExpression),l=u&&e.find(u.properties,(function(t){return e.isPropertyAssignment(t)&&e.isStringLiteral(t.name)&&"files"===t.name.text}));l&&e.isArrayLiteralExpression(l.initializer)&&r.insertNodeInListAfter(o,e.last(l.initializer.elements),e.factory.createStringLiteral(c),l.initializer.elements)}}(r,i,t.fileName,O,e.hostGetCanonicalFileName(o))}function c(t){var r=function(t){var r=t.file,n=e.createTextRangeFromSpan(e.getRefactorContextSpan(t)),i=r.statements,a=e.findIndex(i,(function(e){return e.end>n.pos}));if(-1!==a){var o=i[a];if(e.isNamedDeclaration(o)&&o.name&&e.rangeContainsRange(o.name,n))return{toMove:[i[a]],afterLast:i[a+1]};if(!(n.pos>o.getStart(r))){var s=e.findIndex(i,(function(e){return e.end>n.end}),a);if(-1===s||!(0===s||i[s].getStart(r)<n.end))return{toMove:i.slice(a,-1===s?i.length:s),afterLast:-1===s?void 0:i[s]}}}}(t);if(void 0!==r){var n=[],i=[],a=r.toMove,o=r.afterLast;return e.getRangesWhere(a,u,(function(e,t){for(var r=e;r<t;r++)n.push(a[r]);i.push({first:a[e],afterLast:o})})),0===n.length?void 0:{all:n,ranges:i}}}function u(t){return!function(t){switch(t.kind){case 265:return!0;case 264:return!e.hasSyntacticModifier(t,1);case 236:return t.declarationList.declarations.every((function(t){return!!t.initializer&&e.isRequireCall(t.initializer,!0)}));default:return!1}}(t)&&!e.isPrologueDirective(t)}function l(e,t,r){for(var n=0,i=t;n<i.length;n++){var a=i[n],o=a.first,s=a.afterLast;r.deleteNodeRangeExcludingEnd(e,o,s)}}function p(e){return 265===e.kind?e.moduleSpecifier:264===e.kind?e.moduleReference.expression:e.initializer.arguments[0]}function d(t,r){if(e.isImportDeclaration(t))e.isStringLiteral(t.moduleSpecifier)&&r(t);else if(e.isImportEqualsDeclaration(t))e.isExternalModuleReference(t.moduleReference)&&e.isStringLiteralLike(t.moduleReference.expression)&&r(t);else if(e.isVariableStatement(t))for(var n=0,i=t.declarationList.declarations;n<i.length;n++){var a=i[n];a.initializer&&e.isRequireCall(a.initializer,!0)&&r(a)}}function f(t,r,n,i,a){if(n=e.ensurePathIsNonModuleName(n),i){var o=r.map((function(t){return e.factory.createImportSpecifier(!1,void 0,e.factory.createIdentifier(t))}));return e.makeImportIfNecessary(t,o,n,a)}e.Debug.assert(!t,"No default import should exist");var s=r.map((function(t){return e.factory.createBindingElement(void 0,void 0,t)}));return s.length?_(e.factory.createObjectBindingPattern(s),void 0,m(e.factory.createStringLiteral(n))):void 0}function _(t,r,n,i){return void 0===i&&(i=2),e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(t,void 0,r,n)],i))}function m(t){return e.factory.createCallExpression(e.factory.createIdentifier("require"),void 0,[t])}function g(t,r,n,i){switch(r.kind){case 265:!function(t,r,n,i){if(r.importClause){var a=r.importClause,o=a.name,s=a.namedBindings,c=!o||i(o),u=!s||(267===s.kind?i(s.name):0!==s.elements.length&&s.elements.every((function(e){return i(e.name)})));if(c&&u)n.delete(t,r);else if(o&&c&&n.delete(t,o),s)if(u)n.replaceNode(t,r.importClause,e.factory.updateImportClause(r.importClause,r.importClause.isTypeOnly,o,void 0));else if(268===s.kind)for(var l=0,p=s.elements;l<p.length;l++){var d=p[l];i(d.name)&&n.delete(t,d)}}}(t,r,n,i);break;case 264:i(r.name)&&n.delete(t,r);break;case 253:!function(t,r,n,i){var a=r.name;switch(a.kind){case 79:i(a)&&n.delete(t,a);break;case 201:break;case 200:if(a.elements.every((function(t){return e.isIdentifier(t.name)&&i(t.name)})))n.delete(t,e.isVariableDeclarationList(r.parent)&&1===r.parent.declarations.length?r.parent.parent:r);else for(var o=0,s=a.elements;o<s.length;o++){var c=s[o];e.isIdentifier(c.name)&&i(c.name)&&n.delete(t,c.name)}}}(t,r,n,i);break;default:e.Debug.assertNever(r,"Unexpected import decl kind ".concat(r.kind))}}function h(t){switch(t.kind){case 264:case 269:case 266:case 267:return!0;case 253:return y(t);case 202:return e.isVariableDeclaration(t.parent.parent)&&y(t.parent.parent);default:return!1}}function y(t){return e.isSourceFile(t.parent.parent.parent)&&!!t.initializer&&e.isRequireCall(t.initializer,!0)}function v(t,r,n){switch(t.kind){case 265:var i=t.importClause;if(!i)return;var a=i.name&&n(i.name)?i.name:void 0,o=i.namedBindings&&function(t,r){if(267===t.kind)return r(t.name)?t:void 0;var n=t.elements.filter((function(e){return r(e.name)}));return n.length?e.factory.createNamedImports(n):void 0}(i.namedBindings,n);return a||o?e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,a,o),r,void 0):void 0;case 264:return n(t.name)?t:void 0;case 253:var s=function(t,r){switch(t.kind){case 79:return r(t)?t:void 0;case 201:return t;case 200:var n=t.elements.filter((function(t){return t.propertyName||!e.isIdentifier(t.name)||r(t.name)}));return n.length?e.factory.createObjectBindingPattern(n):void 0}}(t.name,n);return s?_(s,t.type,m(r),t.parent.flags):void 0;default:return e.Debug.assertNever(t,"Unexpected import kind ".concat(t.kind))}}function D(t,r,n){t.forEachChild((function t(i){if(e.isIdentifier(i)&&!e.isDeclarationName(i)){var a=r.getSymbolAtLocation(i);a&&n(a)}else i.forEachChild(t)}))}t.registerRefactor(r,{kinds:[i.kind],getAvailableActions:function(t){var a=c(t);return t.preferences.allowTextChangesInNewFiles&&a?[{name:r,description:n,actions:[i]}]:t.preferences.provideRefactorNotApplicableReason?[{name:r,description:n,actions:[o(o({},i),{notApplicableReason:e.getLocaleSpecificMessage(e.Diagnostics.Selection_is_not_a_valid_statement_or_statements)})]}]:e.emptyArray},getEditsForAction:function(t,n){e.Debug.assert(n===r,"Wrong refactor invoked");var i=e.Debug.checkDefined(c(t));return{edits:e.textChanges.ChangeTracker.with(t,(function(e){return s(t.file,t.program,i,e,t.host,t.preferences)})),renameFilename:void 0,renameLocation:void 0}}});var b=function(){function t(){this.map=new e.Map}return t.prototype.add=function(t){this.map.set(String(e.getSymbolId(t)),t)},t.prototype.has=function(t){return this.map.has(String(e.getSymbolId(t)))},t.prototype.delete=function(t){this.map.delete(String(e.getSymbolId(t)))},t.prototype.forEach=function(e){this.map.forEach(e)},t.prototype.forEachEntry=function(t){return e.forEachEntry(this.map,t)},t.prototype.clone=function(){var r=new t;return e.copyEntries(this.map,r.map),r},t}();function x(t){return S(t)&&e.isSourceFile(t.parent)||e.isVariableDeclaration(t)&&e.isSourceFile(t.parent.parent.parent)}function E(t){return e.isVariableDeclaration(t)?t.parent.parent.parent:t.parent}function S(e){switch(e.kind){case 255:case 256:case 260:case 259:case 258:case 257:case 264:return!0;default:return!1}}function C(t,r){switch(t.kind){case 255:case 256:case 260:case 259:case 258:case 257:case 264:return r(t);case 236:return e.firstDefined(t.declarationList.declarations,(function(e){return T(e.name,r)}));case 237:var n=t.expression;return e.isBinaryExpression(n)&&1===e.getAssignmentDeclarationKind(n)?r(t):void 0}}function T(t,r){switch(t.kind){case 79:return r(e.cast(t.parent,(function(t){return e.isVariableDeclaration(t)||e.isBindingElement(t)})));case 201:case 200:return e.firstDefined(t.elements,(function(t){return e.isOmittedExpression(t)?void 0:T(t.name,r)}));default:return e.Debug.assertNever(t,"Unexpected name kind ".concat(t.kind))}}function k(t){return e.isExpressionStatement(t)?e.tryCast(t.expression.left.name,e.isIdentifier):e.tryCast(t.name,e.isIdentifier)}function A(t){switch(t.kind){case 253:return t.parent.parent;case 202:return A(e.cast(t.parent.parent,(function(t){return e.isVariableDeclaration(t)||e.isBindingElement(t)})));default:return t}}function N(t,r,n,i,a){if(!P(t,r,a,n))if(a)e.isExpressionStatement(r)||i.insertExportModifier(t,r);else{var o=w(r);0!==o.length&&i.insertNodesAfter(t,r,o.map(I))}}function P(t,r,n,i){var a;return n?!e.isExpressionStatement(r)&&e.hasSyntacticModifier(r,1)||!(!i||!(null===(a=t.symbol.exports)||void 0===a?void 0:a.has(i.escapedText))):w(r).some((function(r){return t.symbol.exports.has(e.escapeLeadingUnderscores(r))}))}function F(t){var r=e.concatenate([e.factory.createModifier(93)],t.modifiers);switch(t.kind){case 255:return e.factory.updateFunctionDeclaration(t,t.decorators,r,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);case 256:return e.factory.updateClassDeclaration(t,t.decorators,r,t.name,t.typeParameters,t.heritageClauses,t.members);case 236:return e.factory.updateVariableStatement(t,r,t.declarationList);case 260:return e.factory.updateModuleDeclaration(t,t.decorators,r,t.name,t.body);case 259:return e.factory.updateEnumDeclaration(t,t.decorators,r,t.name,t.members);case 258:return e.factory.updateTypeAliasDeclaration(t,t.decorators,r,t.name,t.typeParameters,t.type);case 257:return e.factory.updateInterfaceDeclaration(t,t.decorators,r,t.name,t.typeParameters,t.heritageClauses,t.members);case 264:return e.factory.updateImportEqualsDeclaration(t,t.decorators,r,t.isTypeOnly,t.name,t.moduleReference);case 237:return e.Debug.fail();default:return e.Debug.assertNever(t,"Unexpected declaration kind ".concat(t.kind))}}function w(t){switch(t.kind){case 255:case 256:return[t.name.text];case 236:return e.mapDefined(t.declarationList.declarations,(function(t){return e.isIdentifier(t.name)?t.name.text:void 0}));case 260:case 259:case 258:case 257:case 264:return e.emptyArray;case 237:return e.Debug.fail("Can't export an ExpressionStatement");default:return e.Debug.assertNever(t,"Unexpected decl kind ".concat(t.kind))}}function I(t){return e.factory.createExpressionStatement(e.factory.createBinaryExpression(e.factory.createPropertyAccessExpression(e.factory.createIdentifier("exports"),e.factory.createIdentifier(t)),63,e.factory.createIdentifier(t)))}}(e.refactor||(e.refactor={}))}(n||(n={})),function(e){var t;!function(r){var n="Add or remove braces in an arrow function",i=e.Diagnostics.Add_or_remove_braces_in_an_arrow_function.message,a={name:"Add braces to arrow function",description:e.Diagnostics.Add_braces_to_arrow_function.message,kind:"refactor.rewrite.arrow.braces.add"},s={name:"Remove braces from arrow function",description:e.Diagnostics.Remove_braces_from_arrow_function.message,kind:"refactor.rewrite.arrow.braces.remove"};function c(r,n,i,o){void 0===i&&(i=!0);var c=e.getTokenAtPosition(r,n),u=e.getContainingFunction(c);if(!u)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_a_containing_arrow_function)};if(!e.isArrowFunction(u))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Containing_function_is_not_an_arrow_function)};if(e.rangeContainsRange(u,c)&&(!e.rangeContainsRange(u.body,c)||i)){if(t.refactorKindBeginsWith(a.kind,o)&&e.isExpression(u.body))return{func:u,addBraces:!0,expression:u.body};if(t.refactorKindBeginsWith(s.kind,o)&&e.isBlock(u.body)&&1===u.body.statements.length){var l=e.first(u.body.statements);if(e.isReturnStatement(l))return{func:u,addBraces:!1,expression:l.expression,returnStatement:l}}}}t.registerRefactor(n,{kinds:[s.kind],getEditsForAction:function(r,n){var i=r.file,o=r.startPosition,u=c(i,o);e.Debug.assert(u&&!t.isRefactorErrorInfo(u),"Expected applicable refactor info");var l,p=u.expression,d=u.returnStatement,f=u.func;if(n===a.name){var _=e.factory.createReturnStatement(p);l=e.factory.createBlock([_],!0),e.copyLeadingComments(p,_,i,3,!0)}else if(n===s.name&&d){var m=p||e.factory.createVoidZero();l=e.needsParentheses(m)?e.factory.createParenthesizedExpression(m):m,e.copyTrailingAsLeadingComments(d,l,i,3,!1),e.copyLeadingComments(d,l,i,3,!1),e.copyTrailingComments(d,l,i,3,!1)}else e.Debug.fail("invalid action");return{renameFilename:void 0,renameLocation:void 0,edits:e.textChanges.ChangeTracker.with(r,(function(e){e.replaceNode(i,f.body,l)}))}},getAvailableActions:function(r){var u=c(r.file,r.startPosition,"invoked"===r.triggerReason);return u?t.isRefactorErrorInfo(u)?r.preferences.provideRefactorNotApplicableReason?[{name:n,description:i,actions:[o(o({},a),{notApplicableReason:u.error}),o(o({},s),{notApplicableReason:u.error})]}]:e.emptyArray:[{name:n,description:i,actions:[u.addBraces?a:s]}]:e.emptyArray}})}((t=e.refactor||(e.refactor={})).addOrRemoveBracesToArrowFunction||(t.addOrRemoveBracesToArrowFunction={}))}(n||(n={})),function(e){var t;!function(r){var n="Convert parameters to destructured object",i=e.getLocaleSpecificMessage(e.Diagnostics.Convert_parameters_to_destructured_object),o={name:n,description:i,kind:"refactor.rewrite.parameters.toDestructured"};function s(t,r){var n=e.getContainingObjectLiteralElement(t);if(n){var i=r.getContextualTypeForObjectLiteralElement(n),a=null==i?void 0:i.getSymbol();if(a&&!(6&e.getCheckFlags(a)))return a}}function c(t){var r=t.node;if(e.isImportSpecifier(r.parent)||e.isImportClause(r.parent)||e.isImportEqualsDeclaration(r.parent)||e.isNamespaceImport(r.parent)||e.isExportSpecifier(r.parent)||e.isExportAssignment(r.parent))return r}function u(t){if(e.isDeclaration(t.node.parent))return t.node}function l(t){if(t.node.parent){var r=t.node,n=r.parent;switch(n.kind){case 207:case 208:var i=e.tryCast(n,e.isCallOrNewExpression);if(i&&i.expression===r)return i;break;case 205:var a=e.tryCast(n,e.isPropertyAccessExpression);if(a&&a.parent&&a.name===r){var o=e.tryCast(a.parent,e.isCallOrNewExpression);if(o&&o.expression===a)return o}break;case 206:var s=e.tryCast(n,e.isElementAccessExpression);if(s&&s.parent&&s.argumentExpression===r){var c=e.tryCast(s.parent,e.isCallOrNewExpression);if(c&&c.expression===s)return c}}}}function p(t){if(t.node.parent){var r=t.node,n=r.parent;switch(n.kind){case 205:var i=e.tryCast(n,e.isPropertyAccessExpression);if(i&&i.expression===r)return i;break;case 206:var a=e.tryCast(n,e.isElementAccessExpression);if(a&&a.expression===r)return a}}}function d(t){var r=t.node;if(2===e.getMeaningFromLocation(r)||e.isExpressionWithTypeArgumentsInClassExtendsClause(r.parent))return r}function f(t,r,n){var i=e.getTouchingToken(t,r),a=e.getContainingFunctionDeclaration(i);if(!function(t){var r=e.findAncestor(t,e.isJSDocNode);if(r){var n=e.findAncestor(r,(function(t){return!e.isJSDocNode(t)}));return!!n&&e.isFunctionLikeDeclaration(n)}return!1}(i)&&a&&function(t,r){var n;if(!function(t,r){return function(e){return y(e)?e.length-1:e.length}(t)>=1&&e.every(t,(function(t){return function(t,r){if(e.isRestParameter(t)){var n=r.getTypeAtLocation(t);if(!r.isArrayType(n)&&!r.isTupleType(n))return!1}return!t.modifiers&&!t.decorators&&e.isIdentifier(t.name)}(t,r)}))}(t.parameters,r))return!1;switch(t.kind){case 255:return g(t)&&m(t,r);case 168:if(e.isObjectLiteralExpression(t.parent)){var i=s(t.name,r);return 1===(null===(n=null==i?void 0:i.declarations)||void 0===n?void 0:n.length)&&m(t,r)}return m(t,r);case 170:return e.isClassDeclaration(t.parent)?g(t.parent)&&m(t,r):h(t.parent.parent)&&m(t,r);case 212:case 213:return h(t.parent)}return!1}(a,n)&&e.rangeContainsRange(a,i)&&(!a.body||!e.rangeContainsRange(a.body,i)))return a}function _(t){return e.isMethodSignature(t)&&(e.isInterfaceDeclaration(t.parent)||e.isTypeLiteralNode(t.parent))}function m(e,t){return!!e.body&&!t.isImplementationOfOverload(e)}function g(t){return!!t.name||!!e.findModifier(t,88)}function h(t){return e.isVariableDeclaration(t)&&e.isVarConst(t)&&e.isIdentifier(t.name)&&!t.type}function y(t){return t.length>0&&e.isThis(t[0].name)}function v(t){return y(t)&&(t=e.factory.createNodeArray(t.slice(1),t.hasTrailingComma)),t}function D(t,r){var n=v(t.parameters),i=e.isRestParameter(e.last(n)),a=i?r.slice(0,n.length-1):r,o=e.map(a,(function(t,r){var i=function(t,r){return e.isIdentifier(r)&&e.getTextOfIdentifierOrLiteral(r)===t?e.factory.createShorthandPropertyAssignment(t):e.factory.createPropertyAssignment(t,r)}(x(n[r]),t);return e.suppressLeadingAndTrailingTrivia(i.name),e.isPropertyAssignment(i)&&e.suppressLeadingAndTrailingTrivia(i.initializer),e.copyComments(t,i),i}));if(i&&r.length>=n.length){var s=r.slice(n.length-1),c=e.factory.createPropertyAssignment(x(e.last(n)),e.factory.createArrayLiteralExpression(s));o.push(c)}return e.factory.createObjectLiteralExpression(o,!1)}function b(t,r,n){var i,a,o,s=r.getTypeChecker(),c=v(t.parameters),u=e.map(c,(function(t){var r=e.factory.createBindingElement(void 0,void 0,x(t),e.isRestParameter(t)&&g(t)?e.factory.createArrayLiteralExpression():t.initializer);return e.suppressLeadingAndTrailingTrivia(r),t.initializer&&r.initializer&&e.copyComments(t.initializer,r.initializer),r})),l=e.factory.createObjectBindingPattern(u),p=(a=c,o=e.map(a,m),e.addEmitFlags(e.factory.createTypeLiteralNode(o),1));e.every(c,g)&&(i=e.factory.createObjectLiteralExpression());var d=e.factory.createParameterDeclaration(void 0,void 0,void 0,l,void 0,p,i);if(y(t.parameters)){var f=t.parameters[0],_=e.factory.createParameterDeclaration(void 0,void 0,void 0,f.name,void 0,f.type);return e.suppressLeadingAndTrailingTrivia(_.name),e.copyComments(f.name,_.name),f.type&&(e.suppressLeadingAndTrailingTrivia(_.type),e.copyComments(f.type,_.type)),e.factory.createNodeArray([_,d])}return e.factory.createNodeArray([d]);function m(t){var i=t.type;!i&&(t.initializer||e.isRestParameter(t))&&(i=function(t){var i=s.getTypeAtLocation(t);return e.getTypeNodeIfAccessible(i,t,r,n)}(t));var a=e.factory.createPropertySignature(void 0,x(t),g(t)?e.factory.createToken(57):t.questionToken,i);return e.suppressLeadingAndTrailingTrivia(a),e.copyComments(t.name,a.name),t.type&&a.type&&e.copyComments(t.type,a.type),a}function g(t){if(e.isRestParameter(t)){var r=s.getTypeAtLocation(t);return!s.isTupleType(r)}return s.isOptionalParameter(t)}}function x(t){return e.getTextOfIdentifierOrLiteral(t.name)}t.registerRefactor(n,{kinds:[o.kind],getEditsForAction:function(t,r){e.Debug.assert(r===n,"Unexpected action name");var i=t.file,o=t.startPosition,m=t.program,g=t.cancellationToken,h=t.host,y=f(i,o,m.getTypeChecker());if(y&&g){var v=function(t,r,n){var i=function(t){switch(t.kind){case 255:return t.name?[t.name]:[e.Debug.checkDefined(e.findModifier(t,88),"Nameless function declaration should be a default export")];case 168:return[t.name];case 170:var r=e.Debug.checkDefined(e.findChildOfKind(t,134,t.getSourceFile()),"Constructor declaration should have constructor keyword");return 225===t.parent.kind?[t.parent.parent.name,r]:[r];case 213:return[t.parent.name];case 212:return t.name?[t.name,t.parent.name]:[t.parent.name];default:return e.Debug.assertNever(t,"Unexpected function declaration kind ".concat(t.kind))}}(t),o=e.isConstructorDeclaration(t)?function(t){switch(t.parent.kind){case 256:var r=t.parent;return r.name?[r.name]:[e.Debug.checkDefined(e.findModifier(r,88),"Nameless class declaration should be a default export")];case 225:var n=t.parent,i=t.parent.parent,a=n.name;return a?[a,i.name]:[i.name]}}(t):[],f=e.deduplicate(a(a([],i,!0),o,!0),e.equateValues),m=r.getTypeChecker(),g=h(e.flatMap(f,(function(t){return e.FindAllReferences.getReferenceEntriesForNode(-1,t,r,r.getSourceFiles(),n)})));return e.every(g.declarations,(function(t){return e.contains(f,t)}))||(g.valid=!1),g;function h(r){for(var n={accessExpressions:[],typeUsages:[]},a={functionCalls:[],declarations:[],classReferences:n,valid:!0},f=e.map(i,y),g=e.map(o,y),h=e.isConstructorDeclaration(t),v=e.map(i,(function(e){return s(e,m)})),D=0,b=r;D<b.length;D++){var x=b[D];if(0!==x.kind){if(e.contains(v,y(x.node))){if(_(x.node.parent)){a.signature=x.node.parent;continue}if(S=l(x)){a.functionCalls.push(S);continue}}var E=s(x.node,m);if(E&&e.contains(v,E)&&(C=u(x))){a.declarations.push(C);continue}if(e.contains(f,y(x.node))||e.isNewExpressionTarget(x.node)){var S;if(c(x))continue;if(C=u(x)){a.declarations.push(C);continue}if(S=l(x)){a.functionCalls.push(S);continue}}if(h&&e.contains(g,y(x.node))){var C;if(c(x))continue;if(C=u(x)){a.declarations.push(C);continue}var T=p(x);if(T){n.accessExpressions.push(T);continue}if(e.isClassDeclaration(t.parent)){var k=d(x);if(k){n.typeUsages.push(k);continue}}}a.valid=!1}else a.valid=!1}return a}function y(t){var r=m.getSymbolAtLocation(t);return r&&e.getSymbolTarget(r,m)}}(y,m,g);return v.valid?{renameFilename:void 0,renameLocation:void 0,edits:e.textChanges.ChangeTracker.with(t,(function(t){return function(t,r,n,i,a,o){var s=o.signature,c=e.map(b(a,r,n),(function(t){return e.getSynthesizedDeepClone(t)}));s&&f(s,e.map(b(s,r,n),(function(t){return e.getSynthesizedDeepClone(t)}))),f(a,c);for(var u=0,l=e.sortAndDeduplicate(o.functionCalls,(function(t,r){return e.compareValues(t.pos,r.pos)}));u<l.length;u++){var p=l[u];if(p.arguments&&p.arguments.length){var d=e.getSynthesizedDeepClone(D(a,p.arguments),!0);i.replaceNodeRange(e.getSourceFileOfNode(p),e.first(p.arguments),e.last(p.arguments),d,{leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include})}}function f(r,n){i.replaceNodeRangeWithNodes(t,e.first(r.parameters),e.last(r.parameters),n,{joiner:", ",indentation:0,leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include})}}(i,m,h,t,y,v)}))}:{edits:[]}}},getAvailableActions:function(t){var r=t.file,a=t.startPosition;return e.isSourceFileJS(r)?e.emptyArray:f(r,a,t.program.getTypeChecker())?[{name:n,description:i,actions:[o]}]:e.emptyArray}})}((t=e.refactor||(e.refactor={})).convertParamsToDestructuredObject||(t.convertParamsToDestructuredObject={}))}(n||(n={})),function(e){var t;!function(r){var n="Convert to template string",i=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_template_string),a={name:n,description:i,kind:"refactor.rewrite.string"};function s(t,r){var n=e.getTokenAtPosition(t,r),i=u(n);return!l(i).isValidConcatenation&&e.isParenthesizedExpression(i.parent)&&e.isBinaryExpression(i.parent.parent)?i.parent.parent:n}function c(t,r){var n=u(r),i=t.file,a=function(t,r){var n=t.nodes,i=t.operators,a=function(t,r){return function(n,i){n<t.length&&e.copyTrailingComments(t[n],i,r,3,!1)}}(i,r),o=function(t,r,n){return function(i,a){for(;i.length>0;){var o=i.shift();e.copyTrailingComments(t[o],a,r,3,!1),n(o,a)}}}(n,r,a),s=f(0,n),c=s[0],u=s[1],l=s[2],p=s[3];if(c===n.length){var m=e.factory.createNoSubstitutionTemplateLiteral(u,l);return o(p,m),m}var g=[],h=e.factory.createTemplateHead(u,l);o(p,h);for(var y,v=function(t){var r=function(t){return e.isParenthesizedExpression(t)&&(_(t),t=t.expression),t}(n[t]);a(t,r);var i=f(t+1,n),s=i[0],c=i[1],u=i[2],l=i[3],p=(t=s-1)==n.length-1;if(e.isTemplateExpression(r)){var m=e.map(r.templateSpans,(function(t,n){_(t);var i=n===r.templateSpans.length-1,a=t.literal.text+(i?c:""),o=d(t.literal)+(i?u:"");return e.factory.createTemplateSpan(t.expression,p?e.factory.createTemplateTail(a,o):e.factory.createTemplateMiddle(a,o))}));g.push.apply(g,m)}else{var h=p?e.factory.createTemplateTail(c,u):e.factory.createTemplateMiddle(c,u);o(l,h),g.push(e.factory.createTemplateSpan(r,h))}y=t},D=c;D<n.length;D++)v(D),D=y;return e.factory.createTemplateExpression(h,g)}(l(n),i),o=e.getTrailingCommentRanges(i.text,n.end);if(o){var s=o[o.length-1],c={pos:o[0].pos,end:s.end};return e.textChanges.ChangeTracker.with(t,(function(e){e.deleteRange(i,c),e.replaceNode(i,n,a)}))}return e.textChanges.ChangeTracker.with(t,(function(e){return e.replaceNode(i,n,a)}))}function u(t){return e.findAncestor(t.parent,(function(t){switch(t.kind){case 205:case 206:return!1;case 222:case 220:return!(e.isBinaryExpression(t.parent)&&function(e){return 63!==e.operatorToken.kind}(t.parent));default:return"quit"}}))||t}function l(t){var r=function(t){if(!e.isBinaryExpression(t))return{nodes:[t],operators:[],validOperators:!0,hasString:e.isStringLiteral(t)||e.isNoSubstitutionTemplateLiteral(t)};var n=r(t.left),i=n.nodes,a=n.operators,o=n.hasString,s=n.validOperators;if(!(o||e.isStringLiteral(t.right)||e.isTemplateExpression(t.right)))return{nodes:[t],operators:[],hasString:!1,validOperators:!0};var c=39===t.operatorToken.kind,u=s&&c;return i.push(t.right),a.push(t.operatorToken),{nodes:i,operators:a,hasString:!0,validOperators:u}},n=r(t),i=n.nodes,a=n.operators,o=n.validOperators,s=n.hasString;return{nodes:i,operators:a,isValidConcatenation:o&&s}}t.registerRefactor(n,{kinds:[a.kind],getEditsForAction:function(t,r){var n=s(t.file,t.startPosition);return r===i?{edits:c(t,n)}:e.Debug.fail("invalid action")},getAvailableActions:function(t){var r=u(s(t.file,t.startPosition)),c={name:n,description:i,actions:[]};return e.isBinaryExpression(r)&&l(r).isValidConcatenation?(c.actions.push(a),[c]):t.preferences.provideRefactorNotApplicableReason?(c.actions.push(o(o({},a),{notApplicableReason:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_string_concatenation)})),[c]):e.emptyArray}});function p(e){return e.replace(/\\.|[$`]/g,(function(e){return"\\"===e[0]?e:"\\"+e}))}function d(t){var r=e.isTemplateHead(t)||e.isTemplateMiddle(t)?-2:-1;return e.getTextOfNode(t).slice(1,r)}function f(t,r){for(var n=[],i="",a="";t<r.length;){var o=r[t];if(!e.isStringLiteralLike(o)){if(e.isTemplateExpression(o)){i+=o.head.text,a+=d(o.head);break}break}i+=o.text,a+=p(e.getTextOfNode(o).slice(1,-1)),n.push(t),t++}return[t,i,a,n]}function _(t){var r=t.getSourceFile();e.copyTrailingComments(t,t.expression,r,3,!1),e.copyTrailingAsLeadingComments(t.expression,t.expression,r,3,!1)}}((t=e.refactor||(e.refactor={})).convertStringOrTemplateLiteral||(t.convertStringOrTemplateLiteral={}))}(n||(n={})),function(e){var t;!function(r){var n="Convert arrow function or function expression",i=e.getLocaleSpecificMessage(e.Diagnostics.Convert_arrow_function_or_function_expression),a={name:"Convert to anonymous function",description:e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},s={name:"Convert to named function",description:e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_named_function),kind:"refactor.rewrite.function.named"},c={name:"Convert to arrow function",description:e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"};function u(t){var r=!1;return t.forEachChild((function t(n){e.isThis(n)?r=!0:!e.isClassLike(n)&&!e.isFunctionDeclaration(n)&&!e.isFunctionExpression(n)&&e.forEachChild(n,t)})),r}function l(t,r,n){var i=e.getTokenAtPosition(t,r),a=n.getTypeChecker(),o=function(t,r,n){if(function(t){return e.isVariableDeclaration(t)||e.isVariableDeclarationList(t)&&1===t.declarations.length}(n)){var i=(e.isVariableDeclaration(n)?n:e.first(n.declarations)).initializer;if(i&&(e.isArrowFunction(i)||e.isFunctionExpression(i)&&!d(t,r,i)))return i}}(t,a,i.parent);if(o&&!u(o.body)&&!a.containsArgumentsReference(o))return{selectedVariableDeclaration:!0,func:o};var s=e.getContainingFunction(i);return!s||!e.isFunctionExpression(s)&&!e.isArrowFunction(s)||e.rangeContainsRange(s.body,i)||u(s.body)||a.containsArgumentsReference(s)||e.isFunctionExpression(s)&&d(t,a,s)?void 0:{selectedVariableDeclaration:!1,func:s}}function p(t){if(e.isExpression(t)){var r=e.factory.createReturnStatement(t),n=t.getSourceFile();return e.suppressLeadingAndTrailingTrivia(r),e.copyTrailingAsLeadingComments(t,r,n,void 0,!0),e.factory.createBlock([r],!0)}return t}function d(t,r,n){return!!n.name&&e.FindAllReferences.Core.isSymbolReferencedInFile(n.name,r,t)}t.registerRefactor(n,{kinds:[a.kind,s.kind,c.kind],getEditsForAction:function(t,r){var n=l(t.file,t.startPosition,t.program);if(n){var i=n.func,o=[];switch(r){case a.name:o.push.apply(o,function(t,r){var n=t.file,i=p(r.body),a=e.factory.createFunctionExpression(r.modifiers,r.asteriskToken,void 0,r.typeParameters,r.parameters,r.type,i);return e.textChanges.ChangeTracker.with(t,(function(e){return e.replaceNode(n,r,a)}))}(t,i));break;case s.name:var u=function(t){var r=t.parent;if(e.isVariableDeclaration(r)&&e.isVariableDeclarationInVariableStatement(r)){var n=r.parent,i=n.parent;if(e.isVariableDeclarationList(n)&&e.isVariableStatement(i)&&e.isIdentifier(r.name))return{variableDeclaration:r,variableDeclarationList:n,statement:i,name:r.name}}}(i);if(!u)return;o.push.apply(o,function(t,r,n){var i=t.file,a=p(r.body),o=n.variableDeclaration,s=n.variableDeclarationList,c=n.statement,u=n.name;e.suppressLeadingTrivia(c);var l=1&e.getCombinedModifierFlags(o)|e.getEffectiveModifierFlags(r),d=e.factory.createModifiersFromModifierFlags(l),f=e.factory.createFunctionDeclaration(r.decorators,e.length(d)?d:void 0,r.asteriskToken,u,r.typeParameters,r.parameters,r.type,a);return 1===s.declarations.length?e.textChanges.ChangeTracker.with(t,(function(e){return e.replaceNode(i,c,f)})):e.textChanges.ChangeTracker.with(t,(function(e){e.delete(i,o),e.insertNodeAfter(i,c,f)}))}(t,i,u));break;case c.name:if(!e.isFunctionExpression(i))return;o.push.apply(o,function(t,r){var n,i=t.file,a=r.body.statements[0];!function(t,r){return 1===t.statements.length&&e.isReturnStatement(r)&&!!r.expression}(r.body,a)?n=r.body:(n=a.expression,e.suppressLeadingAndTrailingTrivia(n),e.copyComments(a,n));var o=e.factory.createArrowFunction(r.modifiers,r.typeParameters,r.parameters,r.type,e.factory.createToken(38),n);return e.textChanges.ChangeTracker.with(t,(function(e){return e.replaceNode(i,r,o)}))}(t,i));break;default:return e.Debug.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:o}}},getAvailableActions:function(r){var u=r.file,p=r.startPosition,d=r.program,f=r.kind,_=l(u,p,d);if(!_)return e.emptyArray;var m,g=_.selectedVariableDeclaration,h=_.func,y=[],v=[];return t.refactorKindBeginsWith(s.kind,f)&&((m=g||e.isArrowFunction(h)&&e.isVariableDeclaration(h.parent)?void 0:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_convert_to_named_function))?v.push(o(o({},s),{notApplicableReason:m})):y.push(s)),t.refactorKindBeginsWith(a.kind,f)&&((m=!g&&e.isArrowFunction(h)?void 0:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_convert_to_anonymous_function))?v.push(o(o({},a),{notApplicableReason:m})):y.push(a)),t.refactorKindBeginsWith(c.kind,f)&&((m=e.isFunctionExpression(h)?void 0:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_convert_to_arrow_function))?v.push(o(o({},c),{notApplicableReason:m})):y.push(c)),[{name:n,description:i,actions:0===y.length&&r.preferences.provideRefactorNotApplicableReason?v:y}]}})}((t=e.refactor||(e.refactor={})).convertArrowFunctionOrFunctionExpression||(t.convertArrowFunctionOrFunctionExpression={}))}(n||(n={})),function(e){var t;!function(r){var n="Infer function return type",i=e.Diagnostics.Infer_function_return_type.message,a={name:n,description:i,kind:"refactor.rewrite.function.returnType"};function s(r){if(!e.isInJSFile(r.file)&&t.refactorKindBeginsWith(a.kind,r.kind)){var n=e.getTokenAtPosition(r.file,r.startPosition),i=e.findAncestor(n,(function(t){return e.isBlock(t)||t.parent&&e.isArrowFunction(t.parent)&&(38===t.kind||t.parent.body===t)?"quit":function(e){switch(e.kind){case 255:case 212:case 213:case 168:return!0;default:return!1}}(t)}));if(!i||!i.body||i.type)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Return_type_must_be_inferred_from_a_function)};var o=r.program.getTypeChecker(),s=function(t,r){if(t.isImplementationOfOverload(r)){var n=t.getTypeAtLocation(r).getCallSignatures();if(n.length>1)return t.getUnionType(e.mapDefined(n,(function(e){return e.getReturnType()})))}var i=t.getSignatureFromDeclaration(r);if(i)return t.getReturnTypeOfSignature(i)}(o,i);if(!s)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_determine_function_return_type)};var c=o.typeToTypeNode(s,i,1);if(c)return{declaration:i,returnTypeNode:c}}}t.registerRefactor(n,{kinds:[a.kind],getEditsForAction:function(r){var n=s(r);if(n&&!t.isRefactorErrorInfo(n))return{renameFilename:void 0,renameLocation:void 0,edits:e.textChanges.ChangeTracker.with(r,(function(t){return function(t,r,n,i){var a=e.findChildOfKind(n,21,t),o=e.isArrowFunction(n)&&void 0===a,s=o?e.first(n.parameters):a;s&&(o&&(r.insertNodeBefore(t,s,e.factory.createToken(20)),r.insertNodeAfter(t,s,e.factory.createToken(21))),r.insertNodeAt(t,s.end,i,{prefix:": "}))}(r.file,t,n.declaration,n.returnTypeNode)}))}},getAvailableActions:function(r){var c=s(r);return c?t.isRefactorErrorInfo(c)?r.preferences.provideRefactorNotApplicableReason?[{name:n,description:i,actions:[o(o({},a),{notApplicableReason:c.error})]}]:e.emptyArray:[{name:n,description:i,actions:[a]}]:e.emptyArray}})}((t=e.refactor||(e.refactor={})).inferFunctionReturnType||(t.inferFunctionReturnType={}))}(n||(n={})),function(e){function t(t,n,i,a){var o=e.isNodeKind(t)?new r(t,n,i):79===t?new u(79,n,i):80===t?new p(80,n,i):new c(t,n,i);return o.parent=a,o.flags=25358336&a.flags,o}e.servicesVersion="0.8";var r=function(){function r(e,t,r){this.pos=t,this.end=r,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}return r.prototype.assertHasRealPosition=function(t){e.Debug.assert(!e.positionIsSynthesized(this.pos)&&!e.positionIsSynthesized(this.end),t||"Node must have a real position for this operation")},r.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},r.prototype.getStart=function(t,r){return this.assertHasRealPosition(),e.getTokenPosOfNode(this,t,r)},r.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},r.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},r.prototype.getWidth=function(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)},r.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},r.prototype.getLeadingTriviaWidth=function(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos},r.prototype.getFullText=function(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)},r.prototype.getText=function(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())},r.prototype.getChildCount=function(e){return this.getChildren(e).length},r.prototype.getChildAt=function(e,t){return this.getChildren(t)[e]},r.prototype.getChildren=function(r){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=function(r,i){if(!e.isNodeKind(r.kind))return e.emptyArray;var a=[];if(e.isJSDocCommentContainingNode(r))return r.forEachChild((function(e){a.push(e)})),a;e.scanner.setText((i||r.getSourceFile()).text);var o=r.pos,s=function(e){n(a,o,e.pos,r),a.push(e),o=e.end},c=function(e){n(a,o,e.pos,r),a.push(function(e,r){var i=t(346,e.pos,e.end,r);i._children=[];for(var a=e.pos,o=0,s=e;o<s.length;o++){var c=s[o];n(i._children,a,c.pos,r),i._children.push(c),a=c.end}return n(i._children,a,e.end,r),i}(e,r)),o=e.end};return e.forEach(r.jsDoc,s),o=r.pos,r.forEachChild(s,c),n(a,o,r.end,r),e.scanner.setText(void 0),a}(this,r))},r.prototype.getFirstToken=function(t){this.assertHasRealPosition();var r=this.getChildren(t);if(r.length){var n=e.find(r,(function(e){return e.kind<307||e.kind>345}));return n.kind<160?n:n.getFirstToken(t)}},r.prototype.getLastToken=function(t){this.assertHasRealPosition();var r=this.getChildren(t),n=e.lastOrUndefined(r);if(n)return n.kind<160?n:n.getLastToken(t)},r.prototype.forEachChild=function(t,r){return e.forEachChild(this,t,r)},r}();function n(r,n,i,a){for(e.scanner.setTextPos(n);n<i;){var o=e.scanner.scan(),s=e.scanner.getTextPos();if(s<=i&&(79===o&&e.Debug.fail("Did not expect ".concat(e.Debug.formatSyntaxKind(a.kind)," to have an Identifier in its trivia")),r.push(t(o,n,s,a))),n=s,1===o)break}}var i=function(){function t(e,t){this.pos=e,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}return t.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},t.prototype.getStart=function(t,r){return e.getTokenPosOfNode(this,t,r)},t.prototype.getFullStart=function(){return this.pos},t.prototype.getEnd=function(){return this.end},t.prototype.getWidth=function(e){return this.getEnd()-this.getStart(e)},t.prototype.getFullWidth=function(){return this.end-this.pos},t.prototype.getLeadingTriviaWidth=function(e){return this.getStart(e)-this.pos},t.prototype.getFullText=function(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)},t.prototype.getText=function(e){return e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())},t.prototype.getChildCount=function(){return this.getChildren().length},t.prototype.getChildAt=function(e){return this.getChildren()[e]},t.prototype.getChildren=function(){return 1===this.kind&&this.jsDoc||e.emptyArray},t.prototype.getFirstToken=function(){},t.prototype.getLastToken=function(){},t.prototype.forEachChild=function(){},t}(),s=function(){function t(e,t){this.flags=e,this.escapedName=t}return t.prototype.getFlags=function(){return this.flags},Object.defineProperty(t.prototype,"name",{get:function(){return e.symbolName(this)},enumerable:!1,configurable:!0}),t.prototype.getEscapedName=function(){return this.escapedName},t.prototype.getName=function(){return this.name},t.prototype.getDeclarations=function(){return this.declarations},t.prototype.getDocumentationComment=function(t){if(!this.documentationComment)if(this.documentationComment=e.emptyArray,!this.declarations&&this.target&&this.target.tupleLabelDeclaration){var r=this.target.tupleLabelDeclaration;this.documentationComment=g([r],t)}else this.documentationComment=g(this.declarations,t);return this.documentationComment},t.prototype.getContextualDocumentationComment=function(t,r){switch(null==t?void 0:t.kind){case 171:return this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=g(e.filter(this.declarations,e.isGetAccessor),r)),this.contextualGetAccessorDocumentationComment;case 172:return this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=g(e.filter(this.declarations,e.isSetAccessor),r)),this.contextualSetAccessorDocumentationComment;default:return this.getDocumentationComment(r)}},t.prototype.getJsDocTags=function(e){return void 0===this.tags&&(this.tags=m(this.declarations,e)),this.tags},t.prototype.getContextualJsDocTags=function(t,r){switch(null==t?void 0:t.kind){case 171:return this.contextualGetAccessorTags||(this.contextualGetAccessorTags=m(e.filter(this.declarations,e.isGetAccessor),r)),this.contextualGetAccessorTags;case 172:return this.contextualSetAccessorTags||(this.contextualSetAccessorTags=m(e.filter(this.declarations,e.isSetAccessor),r)),this.contextualSetAccessorTags;default:return this.getJsDocTags(r)}},t}(),c=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.kind=t,i}return l(t,e),t}(i),u=function(t){function r(e,r,n){var i=t.call(this,r,n)||this;return i.kind=79,i}return l(r,t),Object.defineProperty(r.prototype,"text",{get:function(){return e.idText(this)},enumerable:!1,configurable:!0}),r}(i);u.prototype.kind=79;var p=function(t){function r(e,r,n){return t.call(this,r,n)||this}return l(r,t),Object.defineProperty(r.prototype,"text",{get:function(){return e.idText(this)},enumerable:!1,configurable:!0}),r}(i);p.prototype.kind=80;var d=function(){function t(e,t){this.checker=e,this.flags=t}return t.prototype.getFlags=function(){return this.flags},t.prototype.getSymbol=function(){return this.symbol},t.prototype.getProperties=function(){return this.checker.getPropertiesOfType(this)},t.prototype.getProperty=function(e){return this.checker.getPropertyOfType(this,e)},t.prototype.getApparentProperties=function(){return this.checker.getAugmentedPropertiesOfType(this)},t.prototype.getCallSignatures=function(){return this.checker.getSignaturesOfType(this,0)},t.prototype.getConstructSignatures=function(){return this.checker.getSignaturesOfType(this,1)},t.prototype.getStringIndexType=function(){return this.checker.getIndexTypeOfType(this,0)},t.prototype.getNumberIndexType=function(){return this.checker.getIndexTypeOfType(this,1)},t.prototype.getBaseTypes=function(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0},t.prototype.isNullableType=function(){return this.checker.isNullableType(this)},t.prototype.getNonNullableType=function(){return this.checker.getNonNullableType(this)},t.prototype.getNonOptionalType=function(){return this.checker.getNonOptionalType(this)},t.prototype.getConstraint=function(){return this.checker.getBaseConstraintOfType(this)},t.prototype.getDefault=function(){return this.checker.getDefaultFromTypeParameter(this)},t.prototype.isUnion=function(){return!!(1048576&this.flags)},t.prototype.isIntersection=function(){return!!(2097152&this.flags)},t.prototype.isUnionOrIntersection=function(){return!!(3145728&this.flags)},t.prototype.isLiteral=function(){return!!(384&this.flags)},t.prototype.isStringLiteral=function(){return!!(128&this.flags)},t.prototype.isNumberLiteral=function(){return!!(256&this.flags)},t.prototype.isTypeParameter=function(){return!!(262144&this.flags)},t.prototype.isClassOrInterface=function(){return!!(3&e.getObjectFlags(this))},t.prototype.isClass=function(){return!!(1&e.getObjectFlags(this))},t.prototype.isIndexType=function(){return!!(4194304&this.flags)},Object.defineProperty(t.prototype,"typeArguments",{get:function(){if(4&e.getObjectFlags(this))return this.checker.getTypeArguments(this)},enumerable:!1,configurable:!0}),t}(),f=function(){function t(e,t){this.checker=e,this.flags=t}return t.prototype.getDeclaration=function(){return this.declaration},t.prototype.getTypeParameters=function(){return this.typeParameters},t.prototype.getParameters=function(){return this.parameters},t.prototype.getReturnType=function(){return this.checker.getReturnTypeOfSignature(this)},t.prototype.getTypeParameterAtPosition=function(t){var r=this.checker.getParameterType(this,t);if(r.isIndexType()&&e.isThisTypeParameter(r.type)){var n=r.type.getConstraint();if(n)return this.checker.getIndexType(n)}return r},t.prototype.getDocumentationComment=function(){return this.documentationComment||(this.documentationComment=g(e.singleElementArray(this.declaration),this.checker))},t.prototype.getJsDocTags=function(){return this.jsDocTags||(this.jsDocTags=m(e.singleElementArray(this.declaration),this.checker))},t}();function _(t){return e.getJSDocTags(t).some((function(e){return"inheritDoc"===e.tagName.text}))}function m(t,r){if(!t)return e.emptyArray;var n=e.JsDoc.getJsDocTagsFromDeclarations(t,r);if(r&&(0===n.length||t.some(_)))for(var i=new e.Set,o=function(e){var t=h(r,e,(function(t){var n;if(!i.has(t))return i.add(t),171===e.kind||172===e.kind?t.getContextualJsDocTags(e,r):1===(null===(n=t.declarations)||void 0===n?void 0:n.length)?t.getJsDocTags():void 0}));t&&(n=a(a([],t,!0),n,!0))},s=0,c=t;s<c.length;s++)o(c[s]);return n}function g(t,r){if(!t)return e.emptyArray;var n=e.JsDoc.getJsDocCommentsFromDeclarations(t,r);if(r&&(0===n.length||t.some(_)))for(var i=new e.Set,a=function(t){var a=h(r,t,(function(e){if(!i.has(e))return i.add(e),171===t.kind||172===t.kind?e.getContextualDocumentationComment(t,r):e.getDocumentationComment(r)}));a&&(n=0===n.length?a.slice():a.concat(e.lineBreakPart(),n))},o=0,s=t;o<s.length;o++)a(s[o]);return n}function h(t,r,n){var i;if(!e.hasStaticModifier(r)){var a=170===(null===(i=r.parent)||void 0===i?void 0:i.kind)?r.parent.parent:r.parent;if(a)return e.firstDefined(e.getAllSuperTypeNodes(a),(function(e){var i=t.getPropertyOfType(t.getTypeAtLocation(e),r.symbol.name);return i?n(i):void 0}))}}var y=function(t){function r(e,r,n){var i=t.call(this,e,r,n)||this;return i.kind=303,i}return l(r,t),r.prototype.update=function(t,r){return e.updateSourceFile(this,t,r)},r.prototype.getLineAndCharacterOfPosition=function(t){return e.getLineAndCharacterOfPosition(this,t)},r.prototype.getLineStarts=function(){return e.getLineStarts(this)},r.prototype.getPositionOfLineAndCharacter=function(t,r,n){return e.computePositionOfLineAndCharacter(e.getLineStarts(this),t,r,this.text,n)},r.prototype.getLineEndOfPosition=function(e){var t,r=this.getLineAndCharacterOfPosition(e).line,n=this.getLineStarts();r+1>=n.length&&(t=this.getEnd()),t||(t=n[r+1]-1);var i=this.getFullText();return"\n"===i[t]&&"\r"===i[t-1]?t-1:t},r.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},r.prototype.computeNamedDeclarations=function(){var t=e.createMultiMap();return this.forEachChild((function i(a){switch(a.kind){case 255:case 212:case 168:case 167:var o=a,s=n(o);if(s){var c=function(e){var r=t.get(e);return r||t.set(e,r=[]),r}(s),u=e.lastOrUndefined(c);u&&o.parent===u.parent&&o.symbol===u.symbol?o.body&&!u.body&&(c[c.length-1]=o):c.push(o)}e.forEachChild(a,i);break;case 256:case 225:case 257:case 258:case 259:case 260:case 264:case 274:case 269:case 266:case 267:case 171:case 172:case 181:r(a),e.forEachChild(a,i);break;case 163:if(!e.hasSyntacticModifier(a,16476))break;case 253:case 202:var l=a;if(e.isBindingPattern(l.name)){e.forEachChild(l.name,i);break}l.initializer&&i(l.initializer);case 297:case 166:case 165:r(a);break;case 271:var p=a;p.exportClause&&(e.isNamedExports(p.exportClause)?e.forEach(p.exportClause.elements,i):i(p.exportClause.name));break;case 265:var d=a.importClause;d&&(d.name&&r(d.name),d.namedBindings&&(267===d.namedBindings.kind?r(d.namedBindings):e.forEach(d.namedBindings.elements,i)));break;case 220:0!==e.getAssignmentDeclarationKind(a)&&r(a);default:e.forEachChild(a,i)}})),t;function r(e){var r=n(e);r&&t.add(r,e)}function n(t){var r=e.getNonAssignedNameOfDeclaration(t);return r&&(e.isComputedPropertyName(r)&&e.isPropertyAccessExpression(r.expression)?r.expression.name.text:e.isPropertyName(r)?e.getNameFromPropertyName(r):void 0)}},r}(r),v=function(){function t(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r}return t.prototype.getLineAndCharacterOfPosition=function(t){return e.getLineAndCharacterOfPosition(this,t)},t}();function D(t){var r=!0;for(var n in t)if(e.hasProperty(t,n)&&!b(n)){r=!1;break}if(r)return t;var i={};for(var n in t)e.hasProperty(t,n)&&(i[b(n)?n:n.charAt(0).toLowerCase()+n.substr(1)]=t[n]);return i}function b(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function x(){return{target:1,jsx:1}}e.toEditorSettings=D,e.displayPartsToString=function(t){return t?e.map(t,(function(e){return e.text})).join(""):""},e.getDefaultCompilerOptions=x,e.getSupportedCodeFixes=function(){return e.codefix.getSupportedErrorCodes()};var E=function(){function t(t,r){this.host=t,this.currentDirectory=t.getCurrentDirectory(),this.fileNameToEntry=new e.Map;for(var n=0,i=t.getScriptFileNames();n<i.length;n++){var a=i[n];this.createEntry(a,e.toPath(a,this.currentDirectory,r))}}return t.prototype.createEntry=function(t,r){var n,i=this.host.getScriptSnapshot(t);return n=i?{hostFileName:t,version:this.host.getScriptVersion(t),scriptSnapshot:i,scriptKind:e.getScriptKind(t,this.host)}:t,this.fileNameToEntry.set(r,n),n},t.prototype.getEntryByPath=function(e){return this.fileNameToEntry.get(e)},t.prototype.getHostFileInformation=function(t){var r=this.fileNameToEntry.get(t);return e.isString(r)?void 0:r},t.prototype.getOrCreateEntryByPath=function(t,r){var n=this.getEntryByPath(r)||this.createEntry(t,r);return e.isString(n)?void 0:n},t.prototype.getRootFileNames=function(){var t=[];return this.fileNameToEntry.forEach((function(r){e.isString(r)?t.push(r):t.push(r.hostFileName)})),t},t.prototype.getScriptSnapshot=function(e){var t=this.getHostFileInformation(e);return t&&t.scriptSnapshot},t}(),S=function(){function t(e){this.host=e}return t.prototype.getCurrentSourceFile=function(t){var r=this.host.getScriptSnapshot(t);if(!r)throw new Error("Could not find file: '"+t+"'.");var n,i=e.getScriptKind(t,this.host),a=this.host.getScriptVersion(t);if(this.currentFileName!==t)n=T(t,r,99,a,!0,i);else if(this.currentFileVersion!==a){var o=r.getChangeRange(this.currentFileScriptSnapshot);n=k(this.currentSourceFile,r,a,o)}return n&&(this.currentFileVersion=a,this.currentFileName=t,this.currentFileScriptSnapshot=r,this.currentSourceFile=n),this.currentSourceFile},t}();function C(e,t,r){e.version=r,e.scriptSnapshot=t}function T(t,r,n,i,a,o){var s=e.createSourceFile(t,e.getSnapshotText(r),n,a,o);return C(s,r,i),s}function k(t,r,n,i,a){if(i&&n!==t.version){var o=void 0,s=0!==i.span.start?t.text.substr(0,i.span.start):"",c=e.textSpanEnd(i.span)!==t.text.length?t.text.substr(e.textSpanEnd(i.span)):"";if(0===i.newLength)o=s&&c?s+c:s||c;else{var u=r.getText(i.span.start,i.span.start+i.newLength);o=s&&c?s+u+c:s?s+u:u+c}var l=e.updateSourceFile(t,o,i,a);return C(l,r,n),l.nameTable=void 0,t!==l&&t.scriptSnapshot&&(t.scriptSnapshot.dispose&&t.scriptSnapshot.dispose(),t.scriptSnapshot=void 0),l}return T(t.fileName,r,t.languageVersion,n,!0,t.scriptKind)}e.createLanguageServiceSourceFile=T,e.updateLanguageServiceSourceFile=k;var A={isCancellationRequested:e.returnFalse,throwIfCancellationRequested:e.noop},N=function(){function t(e){this.cancellationToken=e}return t.prototype.isCancellationRequested=function(){return this.cancellationToken.isCancellationRequested()},t.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw null===e.tracing||void 0===e.tracing||e.tracing.instant("session","cancellationThrown",{kind:"CancellationTokenObject"}),new e.OperationCanceledException},t}(),P=function(){function t(e,t){void 0===t&&(t=20),this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}return t.prototype.isCancellationRequested=function(){var t=e.timestamp();return Math.abs(t-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=t,this.hostCancellationToken.isCancellationRequested())},t.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw null===e.tracing||void 0===e.tracing||e.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"}),new e.OperationCanceledException},t}();e.ThrottledCancellationToken=P;var F=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints"],w=a(a([],F,!0),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],!1);function I(t){var r=function(t){switch(t.kind){case 10:case 14:case 8:if(161===t.parent.kind)return e.isObjectLiteralElement(t.parent.parent)?t.parent.parent:void 0;case 79:return!e.isObjectLiteralElement(t.parent)||204!==t.parent.parent.kind&&285!==t.parent.parent.kind||t.parent.name!==t?void 0:t.parent}}(t);return r&&(e.isObjectLiteralExpression(r.parent)||e.isJsxAttributes(r.parent))?r:void 0}function O(t,r,n,i){var a=e.getNameFromPropertyName(t.name);if(!a)return e.emptyArray;if(!n.isUnion())return(o=n.getProperty(a))?[o]:e.emptyArray;var o,s=e.mapDefined(n.types,(function(n){return(e.isObjectLiteralExpression(t.parent)||e.isJsxAttributes(t.parent))&&r.isTypeInvalidDueToUnionDiscriminant(n,t.parent)?void 0:n.getProperty(a)}));return i&&(0===s.length||s.length===n.types.length)&&(o=n.getProperty(a))?[o]:0===s.length?e.mapDefined(n.types,(function(e){return e.getProperty(a)})):s}e.createLanguageService=function(t,r,n){var i,s,c;void 0===r&&(r=e.createDocumentRegistry(t.useCaseSensitiveFileNames&&t.useCaseSensitiveFileNames(),t.getCurrentDirectory())),c=void 0===n?e.LanguageServiceMode.Semantic:"boolean"==typeof n?n?e.LanguageServiceMode.Syntactic:e.LanguageServiceMode.Semantic:n;var u,l,p=new S(t),d=0,f=t.getCancellationToken?new N(t.getCancellationToken()):A,_=t.getCurrentDirectory();function m(e){t.log&&t.log(e)}e.maybeSetLocalizedDiagnosticMessages(null===(s=t.getLocalizedDiagnosticMessages)||void 0===s?void 0:s.bind(t));var g=e.hostUsesCaseSensitiveFileNames(t),h=e.createGetCanonicalFileName(g),y=e.getSourceMapper({useCaseSensitiveFileNames:function(){return g},getCurrentDirectory:function(){return _},getProgram:x,fileExists:e.maybeBind(t,t.fileExists),readFile:e.maybeBind(t,t.readFile),getDocumentPositionMapper:e.maybeBind(t,t.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(t,t.getSourceFileLike),log:m});function v(e){var t=u.getSourceFile(e);if(!t){var r=new Error("Could not find source file: '".concat(e,"'."));throw r.ProgramFiles=u.getSourceFiles().map((function(e){return e.fileName})),r}return t}function b(){var n,i,a;if(e.Debug.assert(c!==e.LanguageServiceMode.Syntactic),t.getProjectVersion){var o=t.getProjectVersion();if(o){if(l===o&&(null===(n=t.hasChangedAutomaticTypeDirectiveNames)||void 0===n||!n.call(t)))return;l=o}}var s=t.getTypeRootsVersion?t.getTypeRootsVersion():0;d!==s&&(m("TypeRoots version has changed; provide new program"),u=void 0,d=s);var p,v=new E(t,h),D=v.getRootFileNames(),b=t.getCompilationSettings()||{target:1,jsx:1},x=t.hasInvalidatedResolution||e.returnFalse,S=e.maybeBind(t,t.hasChangedAutomaticTypeDirectiveNames),C=null===(i=t.getProjectReferences)||void 0===i?void 0:i.call(t),T={useCaseSensitiveFileNames:g,fileExists:F,readFile:w,readDirectory:I,trace:e.maybeBind(t,t.trace),getCurrentDirectory:function(){return _},onUnRecoverableConfigFileDiagnostic:e.noop};if(!e.isProgramUptoDate(u,D,b,(function(e,r){return t.getScriptVersion(r)}),F,x,S,P,C)){var k={getSourceFile:L,getSourceFileByPath:M,getCancellationToken:function(){return f},getCanonicalFileName:h,useCaseSensitiveFileNames:function(){return g},getNewLine:function(){return e.getNewLineCharacter(b,(function(){return e.getNewLineOrDefaultFromHost(t)}))},getDefaultLibFileName:function(e){return t.getDefaultLibFileName(e)},writeFile:e.noop,getCurrentDirectory:function(){return _},fileExists:F,readFile:w,getSymlinkCache:e.maybeBind(t,t.getSymlinkCache),realpath:e.maybeBind(t,t.realpath),directoryExists:function(r){return e.directoryProbablyExists(r,t)},getDirectories:function(e){return t.getDirectories?t.getDirectories(e):[]},readDirectory:I,onReleaseOldSourceFile:O,onReleaseParsedCommandLine:function(e,r,n){var i;t.getParsedCommandLine?null===(i=t.onReleaseParsedCommandLine)||void 0===i||i.call(t,e,r,n):r&&O(r.sourceFile,n)},hasInvalidatedResolution:x,hasChangedAutomaticTypeDirectiveNames:S,trace:T.trace,resolveModuleNames:e.maybeBind(t,t.resolveModuleNames),getModuleResolutionCache:e.maybeBind(t,t.getModuleResolutionCache),resolveTypeReferenceDirectives:e.maybeBind(t,t.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:e.maybeBind(t,t.useSourceOfProjectReferenceRedirect),getParsedCommandLine:P};null===(a=t.setCompilerHost)||void 0===a||a.call(t,k);var A=r.getKeyForCompilationSettings(b),N={rootNames:D,options:b,host:k,oldProgram:u,projectReferences:C};return u=e.createProgram(N),v=void 0,p=void 0,y.clearCache(),void u.getTypeChecker()}function P(r){var n=e.toPath(r,_,h),i=null==p?void 0:p.get(n);if(void 0!==i)return i||void 0;var a=t.getParsedCommandLine?t.getParsedCommandLine(r):function(t){var r=L(t,100);if(r)return r.path=e.toPath(t,_,h),r.resolvedPath=r.path,r.originalFileName=r.fileName,e.parseJsonSourceFileConfigFileContent(r,T,e.getNormalizedAbsolutePath(e.getDirectoryPath(t),_),void 0,e.getNormalizedAbsolutePath(t,_))}(r);return(p||(p=new e.Map)).set(n,a||!1),a}function F(r){var n=e.toPath(r,_,h),i=v&&v.getEntryByPath(n);return i?!e.isString(i):!!t.fileExists&&t.fileExists(r)}function w(r){var n=e.toPath(r,_,h),i=v&&v.getEntryByPath(n);return i?e.isString(i)?void 0:e.getSnapshotText(i.scriptSnapshot):t.readFile&&t.readFile(r)}function I(r,n,i,a,o){return e.Debug.checkDefined(t.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),t.readDirectory(r,n,i,a,o)}function O(e,t){var n=r.getKeyForCompilationSettings(t);r.releaseDocumentWithKey(e.resolvedPath,n,e.scriptKind)}function L(t,r,n,i){return M(t,e.toPath(t,_,h),0,0,i)}function M(t,n,i,a,o){e.Debug.assert(void 0!==v,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var s=v&&v.getOrCreateEntryByPath(t,n);if(s){if(!o){var c=u&&u.getSourceFileByPath(n);if(c){if(s.scriptKind===c.scriptKind)return r.updateDocumentWithKey(t,n,b,A,s.scriptSnapshot,s.version,s.scriptKind);r.releaseDocumentWithKey(c.resolvedPath,r.getKeyForCompilationSettings(u.getCompilerOptions()),c.scriptKind)}}return r.acquireDocumentWithKey(t,n,b,A,s.scriptSnapshot,s.version,s.scriptKind)}}}function x(){if(c!==e.LanguageServiceMode.Syntactic)return b(),u;e.Debug.assert(void 0===u)}function C(t,r,n){var i=e.normalizePath(t);e.Debug.assert(n.some((function(t){return e.normalizePath(t)===i}))),b();var a=e.mapDefined(n,(function(e){return u.getSourceFile(e)})),o=v(t);return e.DocumentHighlights.getDocumentHighlights(u,f,o,r,a)}function T(t,r,n,i){b();var a=n&&2===n.use?u.getSourceFiles().filter((function(e){return!u.isSourceFileDefaultLibrary(e)})):u.getSourceFiles();return e.FindAllReferences.findReferenceOrRenameEntries(u,f,a,t,r,n,i)}var k=new e.Map(e.getEntries(((i={})[18]=19,i[20]=21,i[22]=23,i[31]=29,i)));function P(r){var n;return e.Debug.assertEqual(r.type,"install package"),t.installPackage?t.installPackage({fileName:(n=r.file,e.toPath(n,_,h)),packageName:r.packageName}):Promise.reject("Host does not implement `installPackage`")}function L(e,t){return{lineStarts:e.getLineStarts(),firstLine:e.getLineAndCharacterOfPosition(t.pos).line,lastLine:e.getLineAndCharacterOfPosition(t.end).line}}function M(t,r,n){for(var i=p.getCurrentSourceFile(t),a=[],o=L(i,r),s=o.lineStarts,c=o.firstLine,u=o.lastLine,l=n||!1,d=Number.MAX_VALUE,f=new e.Map,_=new RegExp(/\S/),m=e.isInsideJsxElement(i,s[c]),g=m?"{/*":"//",h=c;h<=u;h++){var y=i.text.substring(s[h],i.getLineEndOfPosition(s[h])),v=_.exec(y);v&&(d=Math.min(d,v.index),f.set(h.toString(),v.index),y.substr(v.index,g.length)!==g&&(l=void 0===n||n))}for(h=c;h<=u;h++)if(c===u||s[h]!==r.end){var D=f.get(h.toString());void 0!==D&&(m?a.push.apply(a,R(t,{pos:s[h]+d,end:i.getLineEndOfPosition(s[h])},l,m)):l?a.push({newText:g,span:{length:0,start:s[h]+d}}):i.text.substr(s[h]+D,g.length)===g&&a.push({newText:"",span:{length:g.length,start:s[h]+D}}))}return a}function R(t,r,n,i){for(var a,o=p.getCurrentSourceFile(t),s=[],c=o.text,u=!1,l=n||!1,d=[],f=r.pos,_=void 0!==i?i:e.isInsideJsxElement(o,f),m=_?"{/*":"/*",g=_?"*/}":"*/",h=_?"\\{\\/\\*":"\\/\\*",y=_?"\\*\\/\\}":"\\*\\/";f<=r.end;){var v=c.substr(f,m.length)===m?m.length:0,D=e.isInComment(o,f+v);if(D)_&&(D.pos--,D.end++),d.push(D.pos),3===D.kind&&d.push(D.end),u=!0,f=D.end+1;else{var b=c.substring(f,r.end).search("(".concat(h,")|(").concat(y,")"));l=void 0!==n?n:l||!e.isTextWhiteSpaceLike(c,f,-1===b?r.end:f+b),f=-1===b?r.end+1:f+b+g.length}}if(l||!u){2!==(null===(a=e.isInComment(o,r.pos))||void 0===a?void 0:a.kind)&&e.insertSorted(d,r.pos,e.compareValues),e.insertSorted(d,r.end,e.compareValues);var x=d[0];c.substr(x,m.length)!==m&&s.push({newText:m,span:{length:0,start:x}});for(var E=1;E<d.length-1;E++)c.substr(d[E]-g.length,g.length)!==g&&s.push({newText:g,span:{length:0,start:d[E]}}),c.substr(d[E],m.length)!==m&&s.push({newText:m,span:{length:0,start:d[E]}});s.length%2!=0&&s.push({newText:g,span:{length:0,start:d[d.length-1]}})}else for(var S=0,C=d;S<C.length;S++){var T=C[S],k=T-g.length>0?T-g.length:0;v=c.substr(k,g.length)===g?g.length:0,s.push({newText:"",span:{length:m.length,start:T-v}})}return s}function B(t){var r=t.openingElement,n=t.closingElement,i=t.parent;return!e.tagNamesAreEquivalent(r.tagName,n.tagName)||e.isJsxElement(i)&&e.tagNamesAreEquivalent(r.tagName,i.openingElement.tagName)&&B(i)}function j(t){var r=t.closingFragment,n=t.parent;return!!(65536&r.flags)||e.isJsxFragment(n)&&j(n)}function K(r,n,i,a,o,s){var c="number"==typeof n?[n,void 0]:[n.pos,n.end];return{file:r,startPosition:c[0],endPosition:c[1],program:x(),host:t,formatContext:e.formatting.getFormatContext(a,t),cancellationToken:f,preferences:i,triggerReason:o,kind:s}}k.forEach((function(e,t){return k.set(e.toString(),Number(t))}));var J={dispose:function(){if(u){var n=r.getKeyForCompilationSettings(u.getCompilerOptions());e.forEach(u.getSourceFiles(),(function(e){return r.releaseDocumentWithKey(e.resolvedPath,n,e.scriptKind)})),u=void 0}t=void 0},cleanupSemanticCache:function(){u=void 0},getSyntacticDiagnostics:function(e){return b(),u.getSyntacticDiagnostics(v(e),f).slice()},getSemanticDiagnostics:function(t){b();var r=v(t),n=u.getSemanticDiagnostics(r,f);if(!e.getEmitDeclarations(u.getCompilerOptions()))return n.slice();var i=u.getDeclarationDiagnostics(r,f);return a(a([],n,!0),i,!0)},getSuggestionDiagnostics:function(t){return b(),e.computeSuggestionDiagnostics(v(t),u,f)},getCompilerOptionsDiagnostics:function(){return b(),a(a([],u.getOptionsDiagnostics(f),!0),u.getGlobalDiagnostics(f),!0)},getSyntacticClassifications:function(t,r){return e.getSyntacticClassifications(f,p.getCurrentSourceFile(t),r)},getSemanticClassifications:function(t,r,n){return b(),"2020"===(n||"original")?e.classifier.v2020.getSemanticClassifications(u,f,v(t),r):e.getSemanticClassifications(u.getTypeChecker(),f,v(t),u.getClassifiableNames(),r)},getEncodedSyntacticClassifications:function(t,r){return e.getEncodedSyntacticClassifications(f,p.getCurrentSourceFile(t),r)},getEncodedSemanticClassifications:function(t,r,n){return b(),"original"===(n||"original")?e.getEncodedSemanticClassifications(u.getTypeChecker(),f,v(t),u.getClassifiableNames(),r):e.classifier.v2020.getEncodedSemanticClassifications(u,f,v(t),r)},getCompletionsAtPosition:function(r,n,i,a){void 0===i&&(i=e.emptyOptions);var s=o(o({},e.identity(i)),{includeCompletionsForModuleExports:i.includeCompletionsForModuleExports||i.includeExternalModuleExports,includeCompletionsWithInsertText:i.includeCompletionsWithInsertText||i.includeInsertTextCompletions});return b(),e.Completions.getCompletionsAtPosition(t,u,m,v(r),n,s,i.triggerCharacter,i.triggerKind,f,a&&e.formatting.getFormatContext(a,t))},getCompletionEntryDetails:function(r,n,i,a,o,s,c){return void 0===s&&(s=e.emptyOptions),b(),e.Completions.getCompletionEntryDetails(u,m,v(r),n,{name:i,source:o,data:c},t,a&&e.formatting.getFormatContext(a,t),s,f)},getCompletionEntrySymbol:function(r,n,i,a,o){return void 0===o&&(o=e.emptyOptions),b(),e.Completions.getCompletionEntrySymbol(u,m,v(r),n,{name:i,source:a},t,o)},getSignatureHelpItems:function(t,r,n){var i=(void 0===n?e.emptyOptions:n).triggerReason;b();var a=v(t);return e.SignatureHelp.getSignatureHelpItems(u,a,r,i,f)},getQuickInfoAtPosition:function(t,r){b();var n=v(t),i=e.getTouchingPropertyName(n,r);if(i!==n){var a=u.getTypeChecker(),o=function(t){return e.isNewExpression(t.parent)&&t.pos===t.parent.pos?t.parent.expression:e.isNamedTupleMember(t.parent)&&t.pos===t.parent.pos?t.parent:t}(i),s=function(t,r){var n=I(t);if(n){var i=r.getContextualType(n.parent),a=i&&O(n,r,i,!1);if(a&&1===a.length)return e.first(a)}return r.getSymbolAtLocation(t)}(o,a);if(!s||a.isUnknownSymbol(s)){var c=function(t,r,n){switch(r.kind){case 79:return!e.isLabelName(r)&&!e.isTagName(r)&&!e.isConstTypeReference(r.parent);case 205:case 160:return!e.isInComment(t,n);case 108:case 191:case 106:case 196:return!0;default:return!1}}(n,o,r)?a.getTypeAtLocation(o):void 0;return c&&{kind:"",kindModifiers:"",textSpan:e.createTextSpanFromNode(o,n),displayParts:a.runWithCancellationToken(f,(function(t){return e.typeToDisplayParts(t,c,e.getContainerNode(o))})),documentation:c.symbol?c.symbol.getDocumentationComment(a):void 0,tags:c.symbol?c.symbol.getJsDocTags(a):void 0}}var l=a.runWithCancellationToken(f,(function(t){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(t,s,n,e.getContainerNode(o),o)})),p=l.symbolKind,d=l.displayParts,_=l.documentation,m=l.tags;return{kind:p,kindModifiers:e.SymbolDisplay.getSymbolModifiers(a,s),textSpan:e.createTextSpanFromNode(o,n),displayParts:d,documentation:_,tags:m}}},getDefinitionAtPosition:function(t,r){return b(),e.GoToDefinition.getDefinitionAtPosition(u,v(t),r)},getDefinitionAndBoundSpan:function(t,r){return b(),e.GoToDefinition.getDefinitionAndBoundSpan(u,v(t),r)},getImplementationAtPosition:function(t,r){return b(),e.FindAllReferences.getImplementationsAtPosition(u,f,u.getSourceFiles(),v(t),r)},getTypeDefinitionAtPosition:function(t,r){return b(),e.GoToDefinition.getTypeDefinitionAtPosition(u.getTypeChecker(),v(t),r)},getReferencesAtPosition:function(t,r){return b(),T(e.getTouchingPropertyName(v(t),r),r,{use:1},(function(t,r,n){return e.FindAllReferences.toReferenceEntry(t,n.getSymbolAtLocation(r))}))},findReferences:function(t,r){return b(),e.FindAllReferences.findReferencedSymbols(u,f,u.getSourceFiles(),v(t),r)},getFileReferences:function(t){var r;b();var n=null===(r=u.getSourceFile(t))||void 0===r?void 0:r.symbol;return e.FindAllReferences.Core.getReferencesForFileName(t,u,u.getSourceFiles()).map((function(t){return e.FindAllReferences.toReferenceEntry(t,n)}))},getOccurrencesAtPosition:function(t,r){return e.flatMap(C(t,r,[t]),(function(e){return e.highlightSpans.map((function(t){return o(o({fileName:e.fileName,textSpan:t.textSpan,isWriteAccess:"writtenReference"===t.kind,isDefinition:!1},t.isInString&&{isInString:!0}),t.contextSpan&&{contextSpan:t.contextSpan})}))}))},getDocumentHighlights:C,getNameOrDottedNameSpan:function(t,r,n){var i=p.getCurrentSourceFile(t),a=e.getTouchingPropertyName(i,r);if(a!==i){switch(a.kind){case 205:case 160:case 10:case 95:case 110:case 104:case 106:case 108:case 191:case 79:break;default:return}for(var o=a;;)if(e.isRightSideOfPropertyAccess(o)||e.isRightSideOfQualifiedName(o))o=o.parent;else{if(!e.isNameOfModuleDeclaration(o))break;if(260!==o.parent.parent.kind||o.parent.parent.body!==o.parent)break;o=o.parent.parent.name}return e.createTextSpanFromBounds(o.getStart(),a.getEnd())}},getBreakpointStatementAtPosition:function(t,r){var n=p.getCurrentSourceFile(t);return e.BreakpointResolver.spanInSourceFileAtLocation(n,r)},getNavigateToItems:function(t,r,n,i){void 0===i&&(i=!1),b();var a=n?[v(n)]:u.getSourceFiles();return e.NavigateTo.getNavigateToItems(a,u.getTypeChecker(),f,t,r,i)},getRenameInfo:function(t,r,n){return b(),e.Rename.getRenameInfo(u,v(t),r,n)},getSmartSelectionRange:function(t,r){return e.SmartSelectionRange.getSmartSelectionRange(r,p.getCurrentSourceFile(t))},findRenameLocations:function(t,r,n,i,a){b();var s=v(t),c=e.getAdjustedRenameLocation(e.getTouchingPropertyName(s,r));if(e.Rename.nodeIsEligibleForRename(c)){if(e.isIdentifier(c)&&(e.isJsxOpeningElement(c.parent)||e.isJsxClosingElement(c.parent))&&e.isIntrinsicJsxName(c.escapedText)){var u=c.parent.parent;return[u.openingElement,u.closingElement].map((function(t){var r=e.createTextSpanFromNode(t.tagName,s);return o({fileName:s.fileName,textSpan:r},e.FindAllReferences.toContextSpan(r,s,t.parent))}))}return T(c,r,{findInStrings:n,findInComments:i,providePrefixAndSuffixTextForRename:a,use:2},(function(t,r,n){return e.FindAllReferences.toRenameLocation(t,r,n,a||!1)}))}},getNavigationBarItems:function(t){return e.NavigationBar.getNavigationBarItems(p.getCurrentSourceFile(t),f)},getNavigationTree:function(t){return e.NavigationBar.getNavigationTree(p.getCurrentSourceFile(t),f)},getOutliningSpans:function(t){var r=p.getCurrentSourceFile(t);return e.OutliningElementsCollector.collectElements(r,f)},getTodoComments:function(t,r){b();var n=v(t);f.throwIfCancellationRequested();var i,a,o,s=n.text,c=[];if(r.length>0&&(o=n.fileName,!e.stringContains(o,"/node_modules/")))for(var u=(i=void 0,a=void 0,i="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/\/+\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",a="(?:"+e.map(r,(function(e){return"("+function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}(e.text)+")"})).join("|")+")",new RegExp(i+"("+a+/(?:.*?)/.source+")"+/(?:$|\*\/)/.source,"gim")),l=void 0;l=u.exec(s);){f.throwIfCancellationRequested();e.Debug.assert(l.length===r.length+3);var p=l[1],d=l.index+p.length;if(e.isInComment(n,d)){for(var _=void 0,m=0;m<r.length;m++)l[m+3]&&(_=r[m]);if(void 0===_)return e.Debug.fail();if(!h(s.charCodeAt(d+_.text.length))){var g=l[2];c.push({descriptor:_,message:g,position:d})}}}return c;function h(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}},getBraceMatchingAtPosition:function(t,r){var n=p.getCurrentSourceFile(t),i=e.getTouchingToken(n,r),a=i.getStart(n)===r?k.get(i.kind.toString()):void 0,o=a&&e.findChildOfKind(i.parent,a,n);return o?[e.createTextSpanFromNode(i,n),e.createTextSpanFromNode(o,n)].sort((function(e,t){return e.start-t.start})):e.emptyArray},getIndentationAtPosition:function(t,r,n){var i=e.timestamp(),a=D(n),o=p.getCurrentSourceFile(t);m("getIndentationAtPosition: getCurrentSourceFile: "+(e.timestamp()-i)),i=e.timestamp();var s=e.formatting.SmartIndenter.getIndentation(r,o,a);return m("getIndentationAtPosition: computeIndentation : "+(e.timestamp()-i)),s},getFormattingEditsForRange:function(r,n,i,a){var o=p.getCurrentSourceFile(r);return e.formatting.formatSelection(n,i,o,e.formatting.getFormatContext(D(a),t))},getFormattingEditsForDocument:function(r,n){return e.formatting.formatDocument(p.getCurrentSourceFile(r),e.formatting.getFormatContext(D(n),t))},getFormattingEditsAfterKeystroke:function(r,n,i,a){var o=p.getCurrentSourceFile(r),s=e.formatting.getFormatContext(D(a),t);if(!e.isInComment(o,n))switch(i){case"{":return e.formatting.formatOnOpeningCurly(n,o,s);case"}":return e.formatting.formatOnClosingCurly(n,o,s);case";":return e.formatting.formatOnSemicolon(n,o,s);case"\n":return e.formatting.formatOnEnter(n,o,s)}return[]},getDocCommentTemplateAtPosition:function(r,n,i){return e.JsDoc.getDocCommentTemplateAtPosition(e.getNewLineOrDefaultFromHost(t),p.getCurrentSourceFile(r),n,i)},isValidBraceCompletionAtPosition:function(t,r,n){if(60===n)return!1;var i=p.getCurrentSourceFile(t);if(e.isInString(i,r))return!1;if(e.isInsideJsxElementOrAttribute(i,r))return 123===n;if(e.isInTemplateString(i,r))return!1;switch(n){case 39:case 34:case 96:return!e.isInComment(i,r)}return!0},getJsxClosingTagAtPosition:function(t,r){var n=p.getCurrentSourceFile(t),i=e.findPrecedingToken(r,n);if(i){var a=31===i.kind&&e.isJsxOpeningElement(i.parent)?i.parent.parent:e.isJsxText(i)&&e.isJsxElement(i.parent)?i.parent:void 0;if(a&&B(a))return{newText:"</".concat(a.openingElement.tagName.getText(n),">")};var o=31===i.kind&&e.isJsxOpeningFragment(i.parent)?i.parent.parent:e.isJsxText(i)&&e.isJsxFragment(i.parent)?i.parent:void 0;if(o&&j(o))return{newText:"</>"}}},getSpanOfEnclosingComment:function(t,r,n){var i=p.getCurrentSourceFile(t),a=e.formatting.getRangeOfEnclosingComment(i,r);return!a||n&&3!==a.kind?void 0:e.createTextSpanFromRange(a)},getCodeFixesAtPosition:function(r,n,i,a,o,s){void 0===s&&(s=e.emptyOptions),b();var c=v(r),l=e.createTextSpanFromBounds(n,i),p=e.formatting.getFormatContext(o,t);return e.flatMap(e.deduplicate(a,e.equateValues,e.compareValues),(function(r){return f.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:r,sourceFile:c,span:l,program:u,host:t,cancellationToken:f,formatContext:p,preferences:s})}))},getCombinedCodeFix:function(r,n,i,a){void 0===a&&(a=e.emptyOptions),b(),e.Debug.assert("file"===r.type);var o=v(r.fileName),s=e.formatting.getFormatContext(i,t);return e.codefix.getAllFixes({fixId:n,sourceFile:o,program:u,host:t,cancellationToken:f,formatContext:s,preferences:a})},applyCodeActionCommand:function(t,r){var n="string"==typeof t?r:t;return e.isArray(n)?Promise.all(n.map((function(e){return P(e)}))):P(n)},organizeImports:function(r,n,i){void 0===i&&(i=e.emptyOptions),b(),e.Debug.assert("file"===r.type);var a=v(r.fileName),o=e.formatting.getFormatContext(n,t);return e.OrganizeImports.organizeImports(a,o,t,u,i,r.skipDestructiveCodeActions)},getEditsForFileRename:function(r,n,i,a){return void 0===a&&(a=e.emptyOptions),e.getEditsForFileRename(x(),r,n,t,e.formatting.getFormatContext(i,t),a,y)},getEmitOutput:function(r,n,i){b();var a=v(r),o=t.getCustomTransformers&&t.getCustomTransformers();return e.getFileEmitOutput(u,a,!!n,f,o,i)},getNonBoundSourceFile:function(e){return p.getCurrentSourceFile(e)},getProgram:x,getAutoImportProvider:function(){var e;return null===(e=t.getPackageJsonAutoImportProvider)||void 0===e?void 0:e.call(t)},getApplicableRefactors:function(t,r,n,i,a){void 0===n&&(n=e.emptyOptions),b();var o=v(t);return e.refactor.getApplicableRefactors(K(o,r,n,e.emptyOptions,i,a))},getEditsForRefactor:function(t,r,n,i,a,o){void 0===o&&(o=e.emptyOptions),b();var s=v(t);return e.refactor.getEditsForRefactor(K(s,n,o,r),i,a)},toLineColumnOffset:function(e,t){return 0===t?{line:0,character:0}:y.toLineColumnOffset(e,t)},getSourceMapper:function(){return y},clearSourceMapperCache:function(){return y.clearCache()},prepareCallHierarchy:function(t,r){b();var n=e.CallHierarchy.resolveCallHierarchyDeclaration(u,e.getTouchingPropertyName(v(t),r));return n&&e.mapOneOrMany(n,(function(t){return e.CallHierarchy.createCallHierarchyItem(u,t)}))},provideCallHierarchyIncomingCalls:function(t,r){b();var n=v(t),i=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(u,0===r?n:e.getTouchingPropertyName(n,r)));return i?e.CallHierarchy.getIncomingCalls(u,i,f):[]},provideCallHierarchyOutgoingCalls:function(t,r){b();var n=v(t),i=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(u,0===r?n:e.getTouchingPropertyName(n,r)));return i?e.CallHierarchy.getOutgoingCalls(u,i):[]},toggleLineComment:M,toggleMultilineComment:R,commentSelection:function(e,t){var r=L(p.getCurrentSourceFile(e),t);return r.firstLine===r.lastLine&&t.pos!==t.end?R(e,t,!0):M(e,t,!0)},uncommentSelection:function(t,r){var n=p.getCurrentSourceFile(t),i=[],a=r.pos,o=r.end;a===o&&(o+=e.isInsideJsxElement(n,a)?2:1);for(var s=a;s<=o;s++){var c=e.isInComment(n,s);if(c){switch(c.kind){case 2:i.push.apply(i,M(t,{end:c.end,pos:c.pos+1},!1));break;case 3:i.push.apply(i,R(t,{end:c.end,pos:c.pos+1},!1))}s=c.end+1}}return i},provideInlayHints:function(r,n,i){void 0===i&&(i=e.emptyOptions),b();var a=v(r);return e.InlayHints.provideInlayHints(function(e,r,n){return{file:e,program:x(),host:t,span:r,preferences:n,cancellationToken:f}}(a,n,i))}};switch(c){case e.LanguageServiceMode.Semantic:break;case e.LanguageServiceMode.PartialSemantic:F.forEach((function(e){return J[e]=function(){throw new Error("LanguageService Operation: ".concat(e," not allowed in LanguageServiceMode.PartialSemantic"))}}));break;case e.LanguageServiceMode.Syntactic:w.forEach((function(e){return J[e]=function(){throw new Error("LanguageService Operation: ".concat(e," not allowed in LanguageServiceMode.Syntactic"))}}));break;default:e.Debug.assertNever(c)}return J},e.getNameTable=function(t){return t.nameTable||function(t){var r=t.nameTable=new e.Map;t.forEachChild((function t(n){if(e.isIdentifier(n)&&!e.isTagName(n)&&n.escapedText||e.isStringOrNumericLiteralLike(n)&&function(t){return e.isDeclarationName(t)||276===t.parent.kind||function(e){return e&&e.parent&&206===e.parent.kind&&e.parent.argumentExpression===e}(t)||e.isLiteralComputedPropertyDeclarationName(t)}(n)){var i=e.getEscapedTextOfIdentifierOrLiteral(n);r.set(i,void 0===r.get(i)?n.pos:-1)}else e.isPrivateIdentifier(n)&&(i=n.escapedText,r.set(i,void 0===r.get(i)?n.pos:-1));if(e.forEachChild(n,t),e.hasJSDocNodes(n))for(var a=0,o=n.jsDoc;a<o.length;a++){var s=o[a];e.forEachChild(s,t)}}))}(t),t.nameTable},e.getContainingObjectLiteralElement=I,e.getPropertySymbolsFromContextualType=O,e.getDefaultLibFilePath=function(t){return"/prettier-security-dirname-placeholder"+e.directorySeparator+e.getDefaultLibFileName(t)},e.setObjectAllocator({getNodeConstructor:function(){return r},getTokenConstructor:function(){return c},getIdentifierConstructor:function(){return u},getPrivateIdentifierConstructor:function(){return p},getSourceFileConstructor:function(){return y},getSymbolConstructor:function(){return s},getTypeConstructor:function(){return d},getSignatureConstructor:function(){return f},getSourceMapSourceConstructor:function(){return v}})}(n||(n={})),function(e){(e.BreakpointResolver||(e.BreakpointResolver={})).spanInSourceFileAtLocation=function(t,r){if(!t.isDeclarationFile){var n=e.getTokenAtPosition(t,r),i=t.getLineAndCharacterOfPosition(r).line;if(t.getLineAndCharacterOfPosition(n.getStart(t)).line>i){var a=e.findPrecedingToken(n.pos,t);if(!a||t.getLineAndCharacterOfPosition(a.getEnd()).line!==i)return;n=a}if(!(8388608&n.flags))return p(n)}function o(r,n){var i=r.decorators?e.skipTrivia(t.text,r.decorators.end):r.getStart(t);return e.createTextSpanFromBounds(i,(n||r).getEnd())}function s(r,n){return o(r,e.findNextToken(n,n.parent,t))}function c(e,r){return e&&i===t.getLineAndCharacterOfPosition(e.getStart(t)).line?p(e):p(r)}function u(r){return p(e.findPrecedingToken(r.pos,t))}function l(r){return p(e.findNextToken(r,r.parent,t))}function p(r){if(r){var n=r.parent;switch(r.kind){case 236:return v(r.declarationList.declarations[0]);case 253:case 166:case 165:return v(r);case 163:return function t(r){if(e.isBindingPattern(r.name))return E(r.name);if(function(t){return!!t.initializer||void 0!==t.dotDotDotToken||e.hasSyntacticModifier(t,12)}(r))return o(r);var n=r.parent,i=n.parameters.indexOf(r);return e.Debug.assert(-1!==i),0!==i?t(n.parameters[i-1]):p(n.body)}(r);case 255:case 168:case 167:case 171:case 172:case 170:case 212:case 213:return function(e){if(e.body)return D(e)?o(e):p(e.body)}(r);case 234:if(e.isFunctionBlock(r))return h=(g=r).statements.length?g.statements[0]:g.getLastToken(),D(g.parent)?c(g.parent,h):p(h);case 261:return b(r);case 291:return b(r.block);case 237:return o(r.expression);case 246:return o(r.getChildAt(0),r.expression);case 240:return s(r,r.expression);case 239:return p(r.statement);case 252:return o(r.getChildAt(0));case 238:return s(r,r.expression);case 249:return p(r.statement);case 245:case 244:return o(r.getChildAt(0),r.label);case 241:return function(e){return e.initializer?x(e):e.condition?o(e.condition):e.incrementor?o(e.incrementor):void 0}(r);case 242:return s(r,r.expression);case 243:return x(r);case 248:return s(r,r.expression);case 288:case 289:return p(r.statements[0]);case 251:return b(r.tryBlock);case 250:case 270:return o(r,r.expression);case 264:return o(r,r.moduleReference);case 265:case 271:return o(r,r.moduleSpecifier);case 260:if(1!==e.getModuleInstanceState(r))return;case 256:case 259:case 297:case 202:return o(r);case 247:return p(r.statement);case 164:return function(r){return e.createTextSpanFromBounds(e.skipTrivia(t.text,r.pos),r.end)}(n.decorators);case 200:case 201:return E(r);case 257:case 258:return;case 26:case 1:return c(e.findPrecedingToken(r.pos,t));case 27:return u(r);case 18:return function(r){switch(r.parent.kind){case 259:var n=r.parent;return c(e.findPrecedingToken(r.pos,t,r.parent),n.members.length?n.members[0]:n.getLastToken(t));case 256:var i=r.parent;return c(e.findPrecedingToken(r.pos,t,r.parent),i.members.length?i.members[0]:i.getLastToken(t));case 262:return c(r.parent.parent,r.parent.clauses[0])}return p(r.parent)}(r);case 19:return function(t){switch(t.parent.kind){case 261:if(1!==e.getModuleInstanceState(t.parent.parent))return;case 259:case 256:return o(t);case 234:if(e.isFunctionBlock(t.parent))return o(t);case 291:return p(e.lastOrUndefined(t.parent.statements));case 262:var r=t.parent,n=e.lastOrUndefined(r.clauses);return n?p(e.lastOrUndefined(n.statements)):void 0;case 200:var i=t.parent;return p(e.lastOrUndefined(i.elements)||i);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)){var a=t.parent;return o(e.lastOrUndefined(a.properties)||a)}return p(t.parent)}}(r);case 23:return function(t){if(201===t.parent.kind){var r=t.parent;return o(e.lastOrUndefined(r.elements)||r)}if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)){var n=t.parent;return o(e.lastOrUndefined(n.elements)||n)}return p(t.parent)}(r);case 20:return function(e){return 239===e.parent.kind||207===e.parent.kind||208===e.parent.kind?u(e):211===e.parent.kind?l(e):p(e.parent)}(r);case 21:return function(e){switch(e.parent.kind){case 212:case 255:case 213:case 168:case 167:case 171:case 172:case 170:case 240:case 239:case 241:case 243:case 207:case 208:case 211:return u(e);default:return p(e.parent)}}(r);case 58:return function(t){return e.isFunctionLike(t.parent)||294===t.parent.kind||163===t.parent.kind?u(t):p(t.parent)}(r);case 31:case 29:return function(e){return 210===e.parent.kind?l(e):p(e.parent)}(r);case 115:return function(e){return 239===e.parent.kind?s(e,e.parent.expression):p(e.parent)}(r);case 91:case 83:case 96:return l(r);case 159:return function(e){return 243===e.parent.kind?l(e):p(e.parent)}(r);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(r))return S(r);if((79===r.kind||224===r.kind||294===r.kind||295===r.kind)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(n))return o(r);if(220===r.kind){var i=r,a=i.left,d=i.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(a))return S(a);if(63===d.kind&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(r.parent))return o(r);if(27===d.kind)return p(a)}if(e.isExpressionNode(r))switch(n.kind){case 239:return u(r);case 164:return p(r.parent);case 241:case 243:return o(r);case 220:if(27===r.parent.operatorToken.kind)return o(r);break;case 213:if(r.parent.body===r)return o(r)}switch(r.parent.kind){case 294:if(r.parent.name===r&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(r.parent.parent))return p(r.parent.initializer);break;case 210:if(r.parent.type===r)return l(r.parent.type);break;case 253:case 163:var f=r.parent,_=f.initializer,m=f.type;if(_===r||m===r||e.isAssignmentOperator(r.kind))return u(r);break;case 220:if(a=r.parent.left,e.isArrayLiteralOrObjectLiteralDestructuringPattern(a)&&r!==a)return u(r);break;default:if(e.isFunctionLike(r.parent)&&r.parent.type===r)return u(r)}return p(r.parent)}}var g,h;function y(r){return e.isVariableDeclarationList(r.parent)&&r.parent.declarations[0]===r?o(e.findPrecedingToken(r.pos,t,r.parent),r):o(r)}function v(r){if(242===r.parent.parent.kind)return p(r.parent.parent);var n=r.parent;return e.isBindingPattern(r.name)?E(r.name):r.initializer||e.hasSyntacticModifier(r,1)||243===n.parent.kind?y(r):e.isVariableDeclarationList(r.parent)&&r.parent.declarations[0]!==r?p(e.findPrecedingToken(r.pos,t,r.parent)):void 0}function D(t){return e.hasSyntacticModifier(t,1)||256===t.parent.kind&&170!==t.kind}function b(r){switch(r.parent.kind){case 260:if(1!==e.getModuleInstanceState(r.parent))return;case 240:case 238:case 242:return c(r.parent,r.statements[0]);case 241:case 243:return c(e.findPrecedingToken(r.pos,t,r.parent),r.statements[0])}return p(r.statements[0])}function x(e){if(254!==e.initializer.kind)return p(e.initializer);var t=e.initializer;return t.declarations.length>0?p(t.declarations[0]):void 0}function E(t){var r=e.forEach(t.elements,(function(e){return 226!==e.kind?e:void 0}));return r?p(r):202===t.parent.kind?o(t.parent):y(t.parent)}function S(t){e.Debug.assert(201!==t.kind&&200!==t.kind);var r=203===t.kind?t.elements:t.properties,n=e.forEach(r,(function(e){return 226!==e.kind?e:void 0}));return n?p(n):o(220===t.parent.kind?t.parent:t)}}}}(n||(n={})),function(e){e.transform=function(t,r,n){var i=[];n=e.fixupCompilerOptions(n,i);var a=e.isArray(t)?t:[t],o=e.transformNodes(void 0,void 0,e.factory,n,a,r,!0);return o.diagnostics=e.concatenate(o.diagnostics,i),o}}(n||(n={})),function(e){e.LanguageServiceShimHostAdapter=void 0;e.CoreServicesShimHostAdapter=void 0,e.realizeDiagnostics=void 0,e.TypeScriptServicesFactory=void 0}(n||(n={})),typeof t<"u"&&t.exports&&(t.exports=n),function(e){var t={since:"4.0",warnAfter:"4.1",message:"Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead."};e.createNodeArray=e.Debug.deprecate(e.factory.createNodeArray,t),e.createNumericLiteral=e.Debug.deprecate(e.factory.createNumericLiteral,t),e.createBigIntLiteral=e.Debug.deprecate(e.factory.createBigIntLiteral,t),e.createStringLiteral=e.Debug.deprecate(e.factory.createStringLiteral,t),e.createStringLiteralFromNode=e.Debug.deprecate(e.factory.createStringLiteralFromNode,t),e.createRegularExpressionLiteral=e.Debug.deprecate(e.factory.createRegularExpressionLiteral,t),e.createLoopVariable=e.Debug.deprecate(e.factory.createLoopVariable,t),e.createUniqueName=e.Debug.deprecate(e.factory.createUniqueName,t),e.createPrivateIdentifier=e.Debug.deprecate(e.factory.createPrivateIdentifier,t),e.createSuper=e.Debug.deprecate(e.factory.createSuper,t),e.createThis=e.Debug.deprecate(e.factory.createThis,t),e.createNull=e.Debug.deprecate(e.factory.createNull,t),e.createTrue=e.Debug.deprecate(e.factory.createTrue,t),e.createFalse=e.Debug.deprecate(e.factory.createFalse,t),e.createModifier=e.Debug.deprecate(e.factory.createModifier,t),e.createModifiersFromModifierFlags=e.Debug.deprecate(e.factory.createModifiersFromModifierFlags,t),e.createQualifiedName=e.Debug.deprecate(e.factory.createQualifiedName,t),e.updateQualifiedName=e.Debug.deprecate(e.factory.updateQualifiedName,t),e.createComputedPropertyName=e.Debug.deprecate(e.factory.createComputedPropertyName,t),e.updateComputedPropertyName=e.Debug.deprecate(e.factory.updateComputedPropertyName,t),e.createTypeParameterDeclaration=e.Debug.deprecate(e.factory.createTypeParameterDeclaration,t),e.updateTypeParameterDeclaration=e.Debug.deprecate(e.factory.updateTypeParameterDeclaration,t),e.createParameter=e.Debug.deprecate(e.factory.createParameterDeclaration,t),e.updateParameter=e.Debug.deprecate(e.factory.updateParameterDeclaration,t),e.createDecorator=e.Debug.deprecate(e.factory.createDecorator,t),e.updateDecorator=e.Debug.deprecate(e.factory.updateDecorator,t),e.createProperty=e.Debug.deprecate(e.factory.createPropertyDeclaration,t),e.updateProperty=e.Debug.deprecate(e.factory.updatePropertyDeclaration,t),e.createMethod=e.Debug.deprecate(e.factory.createMethodDeclaration,t),e.updateMethod=e.Debug.deprecate(e.factory.updateMethodDeclaration,t),e.createConstructor=e.Debug.deprecate(e.factory.createConstructorDeclaration,t),e.updateConstructor=e.Debug.deprecate(e.factory.updateConstructorDeclaration,t),e.createGetAccessor=e.Debug.deprecate(e.factory.createGetAccessorDeclaration,t),e.updateGetAccessor=e.Debug.deprecate(e.factory.updateGetAccessorDeclaration,t),e.createSetAccessor=e.Debug.deprecate(e.factory.createSetAccessorDeclaration,t),e.updateSetAccessor=e.Debug.deprecate(e.factory.updateSetAccessorDeclaration,t),e.createCallSignature=e.Debug.deprecate(e.factory.createCallSignature,t),e.updateCallSignature=e.Debug.deprecate(e.factory.updateCallSignature,t),e.createConstructSignature=e.Debug.deprecate(e.factory.createConstructSignature,t),e.updateConstructSignature=e.Debug.deprecate(e.factory.updateConstructSignature,t),e.updateIndexSignature=e.Debug.deprecate(e.factory.updateIndexSignature,t),e.createKeywordTypeNode=e.Debug.deprecate(e.factory.createKeywordTypeNode,t),e.createTypePredicateNodeWithModifier=e.Debug.deprecate(e.factory.createTypePredicateNode,t),e.updateTypePredicateNodeWithModifier=e.Debug.deprecate(e.factory.updateTypePredicateNode,t),e.createTypeReferenceNode=e.Debug.deprecate(e.factory.createTypeReferenceNode,t),e.updateTypeReferenceNode=e.Debug.deprecate(e.factory.updateTypeReferenceNode,t),e.createFunctionTypeNode=e.Debug.deprecate(e.factory.createFunctionTypeNode,t),e.updateFunctionTypeNode=e.Debug.deprecate(e.factory.updateFunctionTypeNode,t),e.createConstructorTypeNode=e.Debug.deprecate((function(t,r,n){return e.factory.createConstructorTypeNode(void 0,t,r,n)}),t),e.updateConstructorTypeNode=e.Debug.deprecate((function(t,r,n,i){return e.factory.updateConstructorTypeNode(t,t.modifiers,r,n,i)}),t),e.createTypeQueryNode=e.Debug.deprecate(e.factory.createTypeQueryNode,t),e.updateTypeQueryNode=e.Debug.deprecate(e.factory.updateTypeQueryNode,t),e.createTypeLiteralNode=e.Debug.deprecate(e.factory.createTypeLiteralNode,t),e.updateTypeLiteralNode=e.Debug.deprecate(e.factory.updateTypeLiteralNode,t),e.createArrayTypeNode=e.Debug.deprecate(e.factory.createArrayTypeNode,t),e.updateArrayTypeNode=e.Debug.deprecate(e.factory.updateArrayTypeNode,t),e.createTupleTypeNode=e.Debug.deprecate(e.factory.createTupleTypeNode,t),e.updateTupleTypeNode=e.Debug.deprecate(e.factory.updateTupleTypeNode,t),e.createOptionalTypeNode=e.Debug.deprecate(e.factory.createOptionalTypeNode,t),e.updateOptionalTypeNode=e.Debug.deprecate(e.factory.updateOptionalTypeNode,t),e.createRestTypeNode=e.Debug.deprecate(e.factory.createRestTypeNode,t),e.updateRestTypeNode=e.Debug.deprecate(e.factory.updateRestTypeNode,t),e.createUnionTypeNode=e.Debug.deprecate(e.factory.createUnionTypeNode,t),e.updateUnionTypeNode=e.Debug.deprecate(e.factory.updateUnionTypeNode,t),e.createIntersectionTypeNode=e.Debug.deprecate(e.factory.createIntersectionTypeNode,t),e.updateIntersectionTypeNode=e.Debug.deprecate(e.factory.updateIntersectionTypeNode,t),e.createConditionalTypeNode=e.Debug.deprecate(e.factory.createConditionalTypeNode,t),e.updateConditionalTypeNode=e.Debug.deprecate(e.factory.updateConditionalTypeNode,t),e.createInferTypeNode=e.Debug.deprecate(e.factory.createInferTypeNode,t),e.updateInferTypeNode=e.Debug.deprecate(e.factory.updateInferTypeNode,t),e.createImportTypeNode=e.Debug.deprecate(e.factory.createImportTypeNode,t),e.updateImportTypeNode=e.Debug.deprecate(e.factory.updateImportTypeNode,t),e.createParenthesizedType=e.Debug.deprecate(e.factory.createParenthesizedType,t),e.updateParenthesizedType=e.Debug.deprecate(e.factory.updateParenthesizedType,t),e.createThisTypeNode=e.Debug.deprecate(e.factory.createThisTypeNode,t),e.updateTypeOperatorNode=e.Debug.deprecate(e.factory.updateTypeOperatorNode,t),e.createIndexedAccessTypeNode=e.Debug.deprecate(e.factory.createIndexedAccessTypeNode,t),e.updateIndexedAccessTypeNode=e.Debug.deprecate(e.factory.updateIndexedAccessTypeNode,t),e.createMappedTypeNode=e.Debug.deprecate(e.factory.createMappedTypeNode,t),e.updateMappedTypeNode=e.Debug.deprecate(e.factory.updateMappedTypeNode,t),e.createLiteralTypeNode=e.Debug.deprecate(e.factory.createLiteralTypeNode,t),e.updateLiteralTypeNode=e.Debug.deprecate(e.factory.updateLiteralTypeNode,t),e.createObjectBindingPattern=e.Debug.deprecate(e.factory.createObjectBindingPattern,t),e.updateObjectBindingPattern=e.Debug.deprecate(e.factory.updateObjectBindingPattern,t),e.createArrayBindingPattern=e.Debug.deprecate(e.factory.createArrayBindingPattern,t),e.updateArrayBindingPattern=e.Debug.deprecate(e.factory.updateArrayBindingPattern,t),e.createBindingElement=e.Debug.deprecate(e.factory.createBindingElement,t),e.updateBindingElement=e.Debug.deprecate(e.factory.updateBindingElement,t),e.createArrayLiteral=e.Debug.deprecate(e.factory.createArrayLiteralExpression,t),e.updateArrayLiteral=e.Debug.deprecate(e.factory.updateArrayLiteralExpression,t),e.createObjectLiteral=e.Debug.deprecate(e.factory.createObjectLiteralExpression,t),e.updateObjectLiteral=e.Debug.deprecate(e.factory.updateObjectLiteralExpression,t),e.createPropertyAccess=e.Debug.deprecate(e.factory.createPropertyAccessExpression,t),e.updatePropertyAccess=e.Debug.deprecate(e.factory.updatePropertyAccessExpression,t),e.createPropertyAccessChain=e.Debug.deprecate(e.factory.createPropertyAccessChain,t),e.updatePropertyAccessChain=e.Debug.deprecate(e.factory.updatePropertyAccessChain,t),e.createElementAccess=e.Debug.deprecate(e.factory.createElementAccessExpression,t),e.updateElementAccess=e.Debug.deprecate(e.factory.updateElementAccessExpression,t),e.createElementAccessChain=e.Debug.deprecate(e.factory.createElementAccessChain,t),e.updateElementAccessChain=e.Debug.deprecate(e.factory.updateElementAccessChain,t),e.createCall=e.Debug.deprecate(e.factory.createCallExpression,t),e.updateCall=e.Debug.deprecate(e.factory.updateCallExpression,t),e.createCallChain=e.Debug.deprecate(e.factory.createCallChain,t),e.updateCallChain=e.Debug.deprecate(e.factory.updateCallChain,t),e.createNew=e.Debug.deprecate(e.factory.createNewExpression,t),e.updateNew=e.Debug.deprecate(e.factory.updateNewExpression,t),e.createTypeAssertion=e.Debug.deprecate(e.factory.createTypeAssertion,t),e.updateTypeAssertion=e.Debug.deprecate(e.factory.updateTypeAssertion,t),e.createParen=e.Debug.deprecate(e.factory.createParenthesizedExpression,t),e.updateParen=e.Debug.deprecate(e.factory.updateParenthesizedExpression,t),e.createFunctionExpression=e.Debug.deprecate(e.factory.createFunctionExpression,t),e.updateFunctionExpression=e.Debug.deprecate(e.factory.updateFunctionExpression,t),e.createDelete=e.Debug.deprecate(e.factory.createDeleteExpression,t),e.updateDelete=e.Debug.deprecate(e.factory.updateDeleteExpression,t),e.createTypeOf=e.Debug.deprecate(e.factory.createTypeOfExpression,t),e.updateTypeOf=e.Debug.deprecate(e.factory.updateTypeOfExpression,t),e.createVoid=e.Debug.deprecate(e.factory.createVoidExpression,t),e.updateVoid=e.Debug.deprecate(e.factory.updateVoidExpression,t),e.createAwait=e.Debug.deprecate(e.factory.createAwaitExpression,t),e.updateAwait=e.Debug.deprecate(e.factory.updateAwaitExpression,t),e.createPrefix=e.Debug.deprecate(e.factory.createPrefixUnaryExpression,t),e.updatePrefix=e.Debug.deprecate(e.factory.updatePrefixUnaryExpression,t),e.createPostfix=e.Debug.deprecate(e.factory.createPostfixUnaryExpression,t),e.updatePostfix=e.Debug.deprecate(e.factory.updatePostfixUnaryExpression,t),e.createBinary=e.Debug.deprecate(e.factory.createBinaryExpression,t),e.updateConditional=e.Debug.deprecate(e.factory.updateConditionalExpression,t),e.createTemplateExpression=e.Debug.deprecate(e.factory.createTemplateExpression,t),e.updateTemplateExpression=e.Debug.deprecate(e.factory.updateTemplateExpression,t),e.createTemplateHead=e.Debug.deprecate(e.factory.createTemplateHead,t),e.createTemplateMiddle=e.Debug.deprecate(e.factory.createTemplateMiddle,t),e.createTemplateTail=e.Debug.deprecate(e.factory.createTemplateTail,t),e.createNoSubstitutionTemplateLiteral=e.Debug.deprecate(e.factory.createNoSubstitutionTemplateLiteral,t),e.updateYield=e.Debug.deprecate(e.factory.updateYieldExpression,t),e.createSpread=e.Debug.deprecate(e.factory.createSpreadElement,t),e.updateSpread=e.Debug.deprecate(e.factory.updateSpreadElement,t),e.createOmittedExpression=e.Debug.deprecate(e.factory.createOmittedExpression,t),e.createAsExpression=e.Debug.deprecate(e.factory.createAsExpression,t),e.updateAsExpression=e.Debug.deprecate(e.factory.updateAsExpression,t),e.createNonNullExpression=e.Debug.deprecate(e.factory.createNonNullExpression,t),e.updateNonNullExpression=e.Debug.deprecate(e.factory.updateNonNullExpression,t),e.createNonNullChain=e.Debug.deprecate(e.factory.createNonNullChain,t),e.updateNonNullChain=e.Debug.deprecate(e.factory.updateNonNullChain,t),e.createMetaProperty=e.Debug.deprecate(e.factory.createMetaProperty,t),e.updateMetaProperty=e.Debug.deprecate(e.factory.updateMetaProperty,t),e.createTemplateSpan=e.Debug.deprecate(e.factory.createTemplateSpan,t),e.updateTemplateSpan=e.Debug.deprecate(e.factory.updateTemplateSpan,t),e.createSemicolonClassElement=e.Debug.deprecate(e.factory.createSemicolonClassElement,t),e.createBlock=e.Debug.deprecate(e.factory.createBlock,t),e.updateBlock=e.Debug.deprecate(e.factory.updateBlock,t),e.createVariableStatement=e.Debug.deprecate(e.factory.createVariableStatement,t),e.updateVariableStatement=e.Debug.deprecate(e.factory.updateVariableStatement,t),e.createEmptyStatement=e.Debug.deprecate(e.factory.createEmptyStatement,t),e.createExpressionStatement=e.Debug.deprecate(e.factory.createExpressionStatement,t),e.updateExpressionStatement=e.Debug.deprecate(e.factory.updateExpressionStatement,t),e.createStatement=e.Debug.deprecate(e.factory.createExpressionStatement,t),e.updateStatement=e.Debug.deprecate(e.factory.updateExpressionStatement,t),e.createIf=e.Debug.deprecate(e.factory.createIfStatement,t),e.updateIf=e.Debug.deprecate(e.factory.updateIfStatement,t),e.createDo=e.Debug.deprecate(e.factory.createDoStatement,t),e.updateDo=e.Debug.deprecate(e.factory.updateDoStatement,t),e.createWhile=e.Debug.deprecate(e.factory.createWhileStatement,t),e.updateWhile=e.Debug.deprecate(e.factory.updateWhileStatement,t),e.createFor=e.Debug.deprecate(e.factory.createForStatement,t),e.updateFor=e.Debug.deprecate(e.factory.updateForStatement,t),e.createForIn=e.Debug.deprecate(e.factory.createForInStatement,t),e.updateForIn=e.Debug.deprecate(e.factory.updateForInStatement,t),e.createForOf=e.Debug.deprecate(e.factory.createForOfStatement,t),e.updateForOf=e.Debug.deprecate(e.factory.updateForOfStatement,t),e.createContinue=e.Debug.deprecate(e.factory.createContinueStatement,t),e.updateContinue=e.Debug.deprecate(e.factory.updateContinueStatement,t),e.createBreak=e.Debug.deprecate(e.factory.createBreakStatement,t),e.updateBreak=e.Debug.deprecate(e.factory.updateBreakStatement,t),e.createReturn=e.Debug.deprecate(e.factory.createReturnStatement,t),e.updateReturn=e.Debug.deprecate(e.factory.updateReturnStatement,t),e.createWith=e.Debug.deprecate(e.factory.createWithStatement,t),e.updateWith=e.Debug.deprecate(e.factory.updateWithStatement,t),e.createSwitch=e.Debug.deprecate(e.factory.createSwitchStatement,t),e.updateSwitch=e.Debug.deprecate(e.factory.updateSwitchStatement,t),e.createLabel=e.Debug.deprecate(e.factory.createLabeledStatement,t),e.updateLabel=e.Debug.deprecate(e.factory.updateLabeledStatement,t),e.createThrow=e.Debug.deprecate(e.factory.createThrowStatement,t),e.updateThrow=e.Debug.deprecate(e.factory.updateThrowStatement,t),e.createTry=e.Debug.deprecate(e.factory.createTryStatement,t),e.updateTry=e.Debug.deprecate(e.factory.updateTryStatement,t),e.createDebuggerStatement=e.Debug.deprecate(e.factory.createDebuggerStatement,t),e.createVariableDeclarationList=e.Debug.deprecate(e.factory.createVariableDeclarationList,t),e.updateVariableDeclarationList=e.Debug.deprecate(e.factory.updateVariableDeclarationList,t),e.createFunctionDeclaration=e.Debug.deprecate(e.factory.createFunctionDeclaration,t),e.updateFunctionDeclaration=e.Debug.deprecate(e.factory.updateFunctionDeclaration,t),e.createClassDeclaration=e.Debug.deprecate(e.factory.createClassDeclaration,t),e.updateClassDeclaration=e.Debug.deprecate(e.factory.updateClassDeclaration,t),e.createInterfaceDeclaration=e.Debug.deprecate(e.factory.createInterfaceDeclaration,t),e.updateInterfaceDeclaration=e.Debug.deprecate(e.factory.updateInterfaceDeclaration,t),e.createTypeAliasDeclaration=e.Debug.deprecate(e.factory.createTypeAliasDeclaration,t),e.updateTypeAliasDeclaration=e.Debug.deprecate(e.factory.updateTypeAliasDeclaration,t),e.createEnumDeclaration=e.Debug.deprecate(e.factory.createEnumDeclaration,t),e.updateEnumDeclaration=e.Debug.deprecate(e.factory.updateEnumDeclaration,t),e.createModuleDeclaration=e.Debug.deprecate(e.factory.createModuleDeclaration,t),e.updateModuleDeclaration=e.Debug.deprecate(e.factory.updateModuleDeclaration,t),e.createModuleBlock=e.Debug.deprecate(e.factory.createModuleBlock,t),e.updateModuleBlock=e.Debug.deprecate(e.factory.updateModuleBlock,t),e.createCaseBlock=e.Debug.deprecate(e.factory.createCaseBlock,t),e.updateCaseBlock=e.Debug.deprecate(e.factory.updateCaseBlock,t),e.createNamespaceExportDeclaration=e.Debug.deprecate(e.factory.createNamespaceExportDeclaration,t),e.updateNamespaceExportDeclaration=e.Debug.deprecate(e.factory.updateNamespaceExportDeclaration,t),e.createImportEqualsDeclaration=e.Debug.deprecate(e.factory.createImportEqualsDeclaration,t),e.updateImportEqualsDeclaration=e.Debug.deprecate(e.factory.updateImportEqualsDeclaration,t),e.createImportDeclaration=e.Debug.deprecate(e.factory.createImportDeclaration,t),e.updateImportDeclaration=e.Debug.deprecate(e.factory.updateImportDeclaration,t),e.createNamespaceImport=e.Debug.deprecate(e.factory.createNamespaceImport,t),e.updateNamespaceImport=e.Debug.deprecate(e.factory.updateNamespaceImport,t),e.createNamedImports=e.Debug.deprecate(e.factory.createNamedImports,t),e.updateNamedImports=e.Debug.deprecate(e.factory.updateNamedImports,t),e.createImportSpecifier=e.Debug.deprecate(e.factory.createImportSpecifier,t),e.updateImportSpecifier=e.Debug.deprecate(e.factory.updateImportSpecifier,t),e.createExportAssignment=e.Debug.deprecate(e.factory.createExportAssignment,t),e.updateExportAssignment=e.Debug.deprecate(e.factory.updateExportAssignment,t),e.createNamedExports=e.Debug.deprecate(e.factory.createNamedExports,t),e.updateNamedExports=e.Debug.deprecate(e.factory.updateNamedExports,t),e.createExportSpecifier=e.Debug.deprecate(e.factory.createExportSpecifier,t),e.updateExportSpecifier=e.Debug.deprecate(e.factory.updateExportSpecifier,t),e.createExternalModuleReference=e.Debug.deprecate(e.factory.createExternalModuleReference,t),e.updateExternalModuleReference=e.Debug.deprecate(e.factory.updateExternalModuleReference,t),e.createJSDocTypeExpression=e.Debug.deprecate(e.factory.createJSDocTypeExpression,t),e.createJSDocTypeTag=e.Debug.deprecate(e.factory.createJSDocTypeTag,t),e.createJSDocReturnTag=e.Debug.deprecate(e.factory.createJSDocReturnTag,t),e.createJSDocThisTag=e.Debug.deprecate(e.factory.createJSDocThisTag,t),e.createJSDocComment=e.Debug.deprecate(e.factory.createJSDocComment,t),e.createJSDocParameterTag=e.Debug.deprecate(e.factory.createJSDocParameterTag,t),e.createJSDocClassTag=e.Debug.deprecate(e.factory.createJSDocClassTag,t),e.createJSDocAugmentsTag=e.Debug.deprecate(e.factory.createJSDocAugmentsTag,t),e.createJSDocEnumTag=e.Debug.deprecate(e.factory.createJSDocEnumTag,t),e.createJSDocTemplateTag=e.Debug.deprecate(e.factory.createJSDocTemplateTag,t),e.createJSDocTypedefTag=e.Debug.deprecate(e.factory.createJSDocTypedefTag,t),e.createJSDocCallbackTag=e.Debug.deprecate(e.factory.createJSDocCallbackTag,t),e.createJSDocSignature=e.Debug.deprecate(e.factory.createJSDocSignature,t),e.createJSDocPropertyTag=e.Debug.deprecate(e.factory.createJSDocPropertyTag,t),e.createJSDocTypeLiteral=e.Debug.deprecate(e.factory.createJSDocTypeLiteral,t),e.createJSDocImplementsTag=e.Debug.deprecate(e.factory.createJSDocImplementsTag,t),e.createJSDocAuthorTag=e.Debug.deprecate(e.factory.createJSDocAuthorTag,t),e.createJSDocPublicTag=e.Debug.deprecate(e.factory.createJSDocPublicTag,t),e.createJSDocPrivateTag=e.Debug.deprecate(e.factory.createJSDocPrivateTag,t),e.createJSDocProtectedTag=e.Debug.deprecate(e.factory.createJSDocProtectedTag,t),e.createJSDocReadonlyTag=e.Debug.deprecate(e.factory.createJSDocReadonlyTag,t),e.createJSDocTag=e.Debug.deprecate(e.factory.createJSDocUnknownTag,t),e.createJsxElement=e.Debug.deprecate(e.factory.createJsxElement,t),e.updateJsxElement=e.Debug.deprecate(e.factory.updateJsxElement,t),e.createJsxSelfClosingElement=e.Debug.deprecate(e.factory.createJsxSelfClosingElement,t),e.updateJsxSelfClosingElement=e.Debug.deprecate(e.factory.updateJsxSelfClosingElement,t),e.createJsxOpeningElement=e.Debug.deprecate(e.factory.createJsxOpeningElement,t),e.updateJsxOpeningElement=e.Debug.deprecate(e.factory.updateJsxOpeningElement,t),e.createJsxClosingElement=e.Debug.deprecate(e.factory.createJsxClosingElement,t),e.updateJsxClosingElement=e.Debug.deprecate(e.factory.updateJsxClosingElement,t),e.createJsxFragment=e.Debug.deprecate(e.factory.createJsxFragment,t),e.createJsxText=e.Debug.deprecate(e.factory.createJsxText,t),e.updateJsxText=e.Debug.deprecate(e.factory.updateJsxText,t),e.createJsxOpeningFragment=e.Debug.deprecate(e.factory.createJsxOpeningFragment,t),e.createJsxJsxClosingFragment=e.Debug.deprecate(e.factory.createJsxJsxClosingFragment,t),e.updateJsxFragment=e.Debug.deprecate(e.factory.updateJsxFragment,t),e.createJsxAttribute=e.Debug.deprecate(e.factory.createJsxAttribute,t),e.updateJsxAttribute=e.Debug.deprecate(e.factory.updateJsxAttribute,t),e.createJsxAttributes=e.Debug.deprecate(e.factory.createJsxAttributes,t),e.updateJsxAttributes=e.Debug.deprecate(e.factory.updateJsxAttributes,t),e.createJsxSpreadAttribute=e.Debug.deprecate(e.factory.createJsxSpreadAttribute,t),e.updateJsxSpreadAttribute=e.Debug.deprecate(e.factory.updateJsxSpreadAttribute,t),e.createJsxExpression=e.Debug.deprecate(e.factory.createJsxExpression,t),e.updateJsxExpression=e.Debug.deprecate(e.factory.updateJsxExpression,t),e.createCaseClause=e.Debug.deprecate(e.factory.createCaseClause,t),e.updateCaseClause=e.Debug.deprecate(e.factory.updateCaseClause,t),e.createDefaultClause=e.Debug.deprecate(e.factory.createDefaultClause,t),e.updateDefaultClause=e.Debug.deprecate(e.factory.updateDefaultClause,t),e.createHeritageClause=e.Debug.deprecate(e.factory.createHeritageClause,t),e.updateHeritageClause=e.Debug.deprecate(e.factory.updateHeritageClause,t),e.createCatchClause=e.Debug.deprecate(e.factory.createCatchClause,t),e.updateCatchClause=e.Debug.deprecate(e.factory.updateCatchClause,t),e.createPropertyAssignment=e.Debug.deprecate(e.factory.createPropertyAssignment,t),e.updatePropertyAssignment=e.Debug.deprecate(e.factory.updatePropertyAssignment,t),e.createShorthandPropertyAssignment=e.Debug.deprecate(e.factory.createShorthandPropertyAssignment,t),e.updateShorthandPropertyAssignment=e.Debug.deprecate(e.factory.updateShorthandPropertyAssignment,t),e.createSpreadAssignment=e.Debug.deprecate(e.factory.createSpreadAssignment,t),e.updateSpreadAssignment=e.Debug.deprecate(e.factory.updateSpreadAssignment,t),e.createEnumMember=e.Debug.deprecate(e.factory.createEnumMember,t),e.updateEnumMember=e.Debug.deprecate(e.factory.updateEnumMember,t),e.updateSourceFileNode=e.Debug.deprecate(e.factory.updateSourceFile,t),e.createNotEmittedStatement=e.Debug.deprecate(e.factory.createNotEmittedStatement,t),e.createPartiallyEmittedExpression=e.Debug.deprecate(e.factory.createPartiallyEmittedExpression,t),e.updatePartiallyEmittedExpression=e.Debug.deprecate(e.factory.updatePartiallyEmittedExpression,t),e.createCommaList=e.Debug.deprecate(e.factory.createCommaListExpression,t),e.updateCommaList=e.Debug.deprecate(e.factory.updateCommaListExpression,t),e.createBundle=e.Debug.deprecate(e.factory.createBundle,t),e.updateBundle=e.Debug.deprecate(e.factory.updateBundle,t),e.createImmediatelyInvokedFunctionExpression=e.Debug.deprecate(e.factory.createImmediatelyInvokedFunctionExpression,t),e.createImmediatelyInvokedArrowFunction=e.Debug.deprecate(e.factory.createImmediatelyInvokedArrowFunction,t),e.createVoidZero=e.Debug.deprecate(e.factory.createVoidZero,t),e.createExportDefault=e.Debug.deprecate(e.factory.createExportDefault,t),e.createExternalModuleExport=e.Debug.deprecate(e.factory.createExternalModuleExport,t),e.createNamespaceExport=e.Debug.deprecate(e.factory.createNamespaceExport,t),e.updateNamespaceExport=e.Debug.deprecate(e.factory.updateNamespaceExport,t),e.createToken=e.Debug.deprecate((function(t){return e.factory.createToken(t)}),t),e.createIdentifier=e.Debug.deprecate((function(t){return e.factory.createIdentifier(t,void 0,void 0)}),t),e.createTempVariable=e.Debug.deprecate((function(t){return e.factory.createTempVariable(t,void 0)}),t),e.getGeneratedNameForNode=e.Debug.deprecate((function(t){return e.factory.getGeneratedNameForNode(t,void 0)}),t),e.createOptimisticUniqueName=e.Debug.deprecate((function(t){return e.factory.createUniqueName(t,16)}),t),e.createFileLevelUniqueName=e.Debug.deprecate((function(t){return e.factory.createUniqueName(t,48)}),t),e.createIndexSignature=e.Debug.deprecate((function(t,r,n,i){return e.factory.createIndexSignature(t,r,n,i)}),t),e.createTypePredicateNode=e.Debug.deprecate((function(t,r){return e.factory.createTypePredicateNode(void 0,t,r)}),t),e.updateTypePredicateNode=e.Debug.deprecate((function(t,r,n){return e.factory.updateTypePredicateNode(t,void 0,r,n)}),t),e.createLiteral=e.Debug.deprecate((function(t){return"number"==typeof t?e.factory.createNumericLiteral(t):"object"==typeof t&&"base10Value"in t?e.factory.createBigIntLiteral(t):"boolean"==typeof t?t?e.factory.createTrue():e.factory.createFalse():"string"==typeof t?e.factory.createStringLiteral(t,void 0):e.factory.createStringLiteralFromNode(t)}),{since:"4.0",warnAfter:"4.1",message:"Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead."}),e.createMethodSignature=e.Debug.deprecate((function(t,r,n,i,a){return e.factory.createMethodSignature(void 0,i,a,t,r,n)}),t),e.updateMethodSignature=e.Debug.deprecate((function(t,r,n,i,a,o){return e.factory.updateMethodSignature(t,t.modifiers,a,o,r,n,i)}),t),e.createTypeOperatorNode=e.Debug.deprecate((function(t,r){var n;return r?n=t:(r=t,n=140),e.factory.createTypeOperatorNode(n,r)}),t),e.createTaggedTemplate=e.Debug.deprecate((function(t,r,n){var i;return n?i=r:n=r,e.factory.createTaggedTemplateExpression(t,i,n)}),t),e.updateTaggedTemplate=e.Debug.deprecate((function(t,r,n,i){var a;return i?a=n:i=n,e.factory.updateTaggedTemplateExpression(t,r,a,i)}),t),e.updateBinary=e.Debug.deprecate((function(t,r,n,i){return void 0===i&&(i=t.operatorToken),"number"==typeof i&&(i=i===t.operatorToken.kind?t.operatorToken:e.factory.createToken(i)),e.factory.updateBinaryExpression(t,r,i,n)}),t),e.createConditional=e.Debug.deprecate((function(t,r,n,i,a){return 5===arguments.length?e.factory.createConditionalExpression(t,r,n,i,a):3===arguments.length?e.factory.createConditionalExpression(t,e.factory.createToken(57),r,e.factory.createToken(58),n):e.Debug.fail("Argument count mismatch")}),t),e.createYield=e.Debug.deprecate((function(t,r){var n;return r?n=t:r=t,e.factory.createYieldExpression(n,r)}),t),e.createClassExpression=e.Debug.deprecate((function(t,r,n,i,a){return e.factory.createClassExpression(void 0,t,r,n,i,a)}),t),e.updateClassExpression=e.Debug.deprecate((function(t,r,n,i,a,o){return e.factory.updateClassExpression(t,void 0,r,n,i,a,o)}),t),e.createPropertySignature=e.Debug.deprecate((function(t,r,n,i,a){var o=e.factory.createPropertySignature(t,r,n,i);return o.initializer=a,o}),t),e.updatePropertySignature=e.Debug.deprecate((function(t,r,n,i,a,o){var s=e.factory.updatePropertySignature(t,r,n,i,a);return t.initializer!==o&&(s===t&&(s=e.factory.cloneNode(t)),s.initializer=o),s}),t),e.createExpressionWithTypeArguments=e.Debug.deprecate((function(t,r){return e.factory.createExpressionWithTypeArguments(r,t)}),t),e.updateExpressionWithTypeArguments=e.Debug.deprecate((function(t,r,n){return e.factory.updateExpressionWithTypeArguments(t,n,r)}),t),e.createArrowFunction=e.Debug.deprecate((function(t,r,n,i,a,o){return 6===arguments.length?e.factory.createArrowFunction(t,r,n,i,a,o):5===arguments.length?e.factory.createArrowFunction(t,r,n,i,void 0,a):e.Debug.fail("Argument count mismatch")}),t),e.updateArrowFunction=e.Debug.deprecate((function(t,r,n,i,a,o,s){return 7===arguments.length?e.factory.updateArrowFunction(t,r,n,i,a,o,s):6===arguments.length?e.factory.updateArrowFunction(t,r,n,i,a,t.equalsGreaterThanToken,o):e.Debug.fail("Argument count mismatch")}),t),e.createVariableDeclaration=e.Debug.deprecate((function(t,r,n,i){return 4===arguments.length?e.factory.createVariableDeclaration(t,r,n,i):arguments.length>=1&&arguments.length<=3?e.factory.createVariableDeclaration(t,void 0,r,n):e.Debug.fail("Argument count mismatch")}),t),e.updateVariableDeclaration=e.Debug.deprecate((function(t,r,n,i,a){return 5===arguments.length?e.factory.updateVariableDeclaration(t,r,n,i,a):4===arguments.length?e.factory.updateVariableDeclaration(t,r,t.exclamationToken,n,i):e.Debug.fail("Argument count mismatch")}),t),e.createImportClause=e.Debug.deprecate((function(t,r,n){return void 0===n&&(n=!1),e.factory.createImportClause(n,t,r)}),t),e.updateImportClause=e.Debug.deprecate((function(t,r,n,i){return e.factory.updateImportClause(t,i,r,n)}),t),e.createExportDeclaration=e.Debug.deprecate((function(t,r,n,i,a){return void 0===a&&(a=!1),e.factory.createExportDeclaration(t,r,a,n,i)}),t),e.updateExportDeclaration=e.Debug.deprecate((function(t,r,n,i,a,o){return e.factory.updateExportDeclaration(t,r,n,o,i,a,t.assertClause)}),t),e.createJSDocParamTag=e.Debug.deprecate((function(t,r,n,i){return e.factory.createJSDocParameterTag(void 0,t,r,n,!1,i?e.factory.createNodeArray([e.factory.createJSDocText(i)]):void 0)}),t),e.createComma=e.Debug.deprecate((function(t,r){return e.factory.createComma(t,r)}),t),e.createLessThan=e.Debug.deprecate((function(t,r){return e.factory.createLessThan(t,r)}),t),e.createAssignment=e.Debug.deprecate((function(t,r){return e.factory.createAssignment(t,r)}),t),e.createStrictEquality=e.Debug.deprecate((function(t,r){return e.factory.createStrictEquality(t,r)}),t),e.createStrictInequality=e.Debug.deprecate((function(t,r){return e.factory.createStrictInequality(t,r)}),t),e.createAdd=e.Debug.deprecate((function(t,r){return e.factory.createAdd(t,r)}),t),e.createSubtract=e.Debug.deprecate((function(t,r){return e.factory.createSubtract(t,r)}),t),e.createLogicalAnd=e.Debug.deprecate((function(t,r){return e.factory.createLogicalAnd(t,r)}),t),e.createLogicalOr=e.Debug.deprecate((function(t,r){return e.factory.createLogicalOr(t,r)}),t),e.createPostfixIncrement=e.Debug.deprecate((function(t){return e.factory.createPostfixIncrement(t)}),t),e.createLogicalNot=e.Debug.deprecate((function(t){return e.factory.createLogicalNot(t)}),t),e.createNode=e.Debug.deprecate((function(t,r,n){return void 0===r&&(r=0),void 0===n&&(n=0),e.setTextRangePosEnd(303===t?e.parseBaseNodeFactory.createBaseSourceFileNode(t):79===t?e.parseBaseNodeFactory.createBaseIdentifierNode(t):80===t?e.parseBaseNodeFactory.createBasePrivateIdentifierNode(t):e.isNodeKind(t)?e.parseBaseNodeFactory.createBaseNode(t):e.parseBaseNodeFactory.createBaseTokenNode(t),r,n)}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."}),e.getMutableClone=e.Debug.deprecate((function(t){var r=e.factory.cloneNode(t);return e.setTextRange(r,t),e.setParent(r,t.parent),r}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`."}),e.isTypeAssertion=e.Debug.deprecate((function(e){return 210===e.kind}),{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."}),e.isIdentifierOrPrivateIdentifier=e.Debug.deprecate((function(t){return e.isMemberName(t)}),{since:"4.2",warnAfter:"4.3",message:"Use `isMemberName` instead."})}(n||(n={}))}}),vt=c({"node_modules/@typescript-eslint/types/dist/generated/ast-spec.js"(e){var t;p(),Object.defineProperty(e,"__esModule",{value:!0}),e.AST_TOKEN_TYPES=e.AST_NODE_TYPES=void 0,(t=e.AST_NODE_TYPES||(e.AST_NODE_TYPES={})).ArrayExpression="ArrayExpression",t.ArrayPattern="ArrayPattern",t.ArrowFunctionExpression="ArrowFunctionExpression",t.AssignmentExpression="AssignmentExpression",t.AssignmentPattern="AssignmentPattern",t.AwaitExpression="AwaitExpression",t.BinaryExpression="BinaryExpression",t.BlockStatement="BlockStatement",t.BreakStatement="BreakStatement",t.CallExpression="CallExpression",t.CatchClause="CatchClause",t.ChainExpression="ChainExpression",t.ClassBody="ClassBody",t.ClassDeclaration="ClassDeclaration",t.ClassExpression="ClassExpression",t.ConditionalExpression="ConditionalExpression",t.ContinueStatement="ContinueStatement",t.DebuggerStatement="DebuggerStatement",t.Decorator="Decorator",t.DoWhileStatement="DoWhileStatement",t.EmptyStatement="EmptyStatement",t.ExportAllDeclaration="ExportAllDeclaration",t.ExportDefaultDeclaration="ExportDefaultDeclaration",t.ExportNamedDeclaration="ExportNamedDeclaration",t.ExportSpecifier="ExportSpecifier",t.ExpressionStatement="ExpressionStatement",t.ForInStatement="ForInStatement",t.ForOfStatement="ForOfStatement",t.ForStatement="ForStatement",t.FunctionDeclaration="FunctionDeclaration",t.FunctionExpression="FunctionExpression",t.Identifier="Identifier",t.IfStatement="IfStatement",t.ImportAttribute="ImportAttribute",t.ImportDeclaration="ImportDeclaration",t.ImportDefaultSpecifier="ImportDefaultSpecifier",t.ImportExpression="ImportExpression",t.ImportNamespaceSpecifier="ImportNamespaceSpecifier",t.ImportSpecifier="ImportSpecifier",t.JSXAttribute="JSXAttribute",t.JSXClosingElement="JSXClosingElement",t.JSXClosingFragment="JSXClosingFragment",t.JSXElement="JSXElement",t.JSXEmptyExpression="JSXEmptyExpression",t.JSXExpressionContainer="JSXExpressionContainer",t.JSXFragment="JSXFragment",t.JSXIdentifier="JSXIdentifier",t.JSXMemberExpression="JSXMemberExpression",t.JSXNamespacedName="JSXNamespacedName",t.JSXOpeningElement="JSXOpeningElement",t.JSXOpeningFragment="JSXOpeningFragment",t.JSXSpreadAttribute="JSXSpreadAttribute",t.JSXSpreadChild="JSXSpreadChild",t.JSXText="JSXText",t.LabeledStatement="LabeledStatement",t.Literal="Literal",t.LogicalExpression="LogicalExpression",t.MemberExpression="MemberExpression",t.MetaProperty="MetaProperty",t.MethodDefinition="MethodDefinition",t.NewExpression="NewExpression",t.ObjectExpression="ObjectExpression",t.ObjectPattern="ObjectPattern",t.PrivateIdentifier="PrivateIdentifier",t.Program="Program",t.Property="Property",t.PropertyDefinition="PropertyDefinition",t.RestElement="RestElement",t.ReturnStatement="ReturnStatement",t.SequenceExpression="SequenceExpression",t.SpreadElement="SpreadElement",t.StaticBlock="StaticBlock",t.Super="Super",t.SwitchCase="SwitchCase",t.SwitchStatement="SwitchStatement",t.TaggedTemplateExpression="TaggedTemplateExpression",t.TemplateElement="TemplateElement",t.TemplateLiteral="TemplateLiteral",t.ThisExpression="ThisExpression",t.ThrowStatement="ThrowStatement",t.TryStatement="TryStatement",t.UnaryExpression="UnaryExpression",t.UpdateExpression="UpdateExpression",t.VariableDeclaration="VariableDeclaration",t.VariableDeclarator="VariableDeclarator",t.WhileStatement="WhileStatement",t.WithStatement="WithStatement",t.YieldExpression="YieldExpression",t.TSAbstractKeyword="TSAbstractKeyword",t.TSAbstractMethodDefinition="TSAbstractMethodDefinition",t.TSAbstractPropertyDefinition="TSAbstractPropertyDefinition",t.TSAnyKeyword="TSAnyKeyword",t.TSArrayType="TSArrayType",t.TSAsExpression="TSAsExpression",t.TSAsyncKeyword="TSAsyncKeyword",t.TSBigIntKeyword="TSBigIntKeyword",t.TSBooleanKeyword="TSBooleanKeyword",t.TSCallSignatureDeclaration="TSCallSignatureDeclaration",t.TSClassImplements="TSClassImplements",t.TSConditionalType="TSConditionalType",t.TSConstructorType="TSConstructorType",t.TSConstructSignatureDeclaration="TSConstructSignatureDeclaration",t.TSDeclareFunction="TSDeclareFunction",t.TSDeclareKeyword="TSDeclareKeyword",t.TSEmptyBodyFunctionExpression="TSEmptyBodyFunctionExpression",t.TSEnumDeclaration="TSEnumDeclaration",t.TSEnumMember="TSEnumMember",t.TSExportAssignment="TSExportAssignment",t.TSExportKeyword="TSExportKeyword",t.TSExternalModuleReference="TSExternalModuleReference",t.TSFunctionType="TSFunctionType",t.TSImportEqualsDeclaration="TSImportEqualsDeclaration",t.TSImportType="TSImportType",t.TSIndexedAccessType="TSIndexedAccessType",t.TSIndexSignature="TSIndexSignature",t.TSInferType="TSInferType",t.TSInterfaceBody="TSInterfaceBody",t.TSInterfaceDeclaration="TSInterfaceDeclaration",t.TSInterfaceHeritage="TSInterfaceHeritage",t.TSIntersectionType="TSIntersectionType",t.TSIntrinsicKeyword="TSIntrinsicKeyword",t.TSLiteralType="TSLiteralType",t.TSMappedType="TSMappedType",t.TSMethodSignature="TSMethodSignature",t.TSModuleBlock="TSModuleBlock",t.TSModuleDeclaration="TSModuleDeclaration",t.TSNamedTupleMember="TSNamedTupleMember",t.TSNamespaceExportDeclaration="TSNamespaceExportDeclaration",t.TSNeverKeyword="TSNeverKeyword",t.TSNonNullExpression="TSNonNullExpression",t.TSNullKeyword="TSNullKeyword",t.TSNumberKeyword="TSNumberKeyword",t.TSObjectKeyword="TSObjectKeyword",t.TSOptionalType="TSOptionalType",t.TSParameterProperty="TSParameterProperty",t.TSPrivateKeyword="TSPrivateKeyword",t.TSPropertySignature="TSPropertySignature",t.TSProtectedKeyword="TSProtectedKeyword",t.TSPublicKeyword="TSPublicKeyword",t.TSQualifiedName="TSQualifiedName",t.TSReadonlyKeyword="TSReadonlyKeyword",t.TSRestType="TSRestType",t.TSStaticKeyword="TSStaticKeyword",t.TSStringKeyword="TSStringKeyword",t.TSSymbolKeyword="TSSymbolKeyword",t.TSTemplateLiteralType="TSTemplateLiteralType",t.TSThisType="TSThisType",t.TSTupleType="TSTupleType",t.TSTypeAliasDeclaration="TSTypeAliasDeclaration",t.TSTypeAnnotation="TSTypeAnnotation",t.TSTypeAssertion="TSTypeAssertion",t.TSTypeLiteral="TSTypeLiteral",t.TSTypeOperator="TSTypeOperator",t.TSTypeParameter="TSTypeParameter",t.TSTypeParameterDeclaration="TSTypeParameterDeclaration",t.TSTypeParameterInstantiation="TSTypeParameterInstantiation",t.TSTypePredicate="TSTypePredicate",t.TSTypeQuery="TSTypeQuery",t.TSTypeReference="TSTypeReference",t.TSUndefinedKeyword="TSUndefinedKeyword",t.TSUnionType="TSUnionType",t.TSUnknownKeyword="TSUnknownKeyword",t.TSVoidKeyword="TSVoidKeyword",function(e){e.Boolean="Boolean",e.Identifier="Identifier",e.JSXIdentifier="JSXIdentifier",e.JSXText="JSXText",e.Keyword="Keyword",e.Null="Null",e.Numeric="Numeric",e.Punctuator="Punctuator",e.RegularExpression="RegularExpression",e.String="String",e.Template="Template",e.Block="Block",e.Line="Line"}(e.AST_TOKEN_TYPES||(e.AST_TOKEN_TYPES={}))}}),Dt=c({"node_modules/@typescript-eslint/types/dist/lib.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0})}}),bt=c({"node_modules/@typescript-eslint/types/dist/parser-options.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0})}}),xt=c({"node_modules/@typescript-eslint/types/dist/ts-estree.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n};Object.defineProperty(e,"__esModule",{value:!0}),e.TSESTree=void 0,e.TSESTree=n(vt())}}),Et=c({"node_modules/@typescript-eslint/types/dist/index.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.AST_TOKEN_TYPES=e.AST_NODE_TYPES=void 0;var n=vt();Object.defineProperty(e,"AST_NODE_TYPES",{enumerable:!0,get:function(){return n.AST_NODE_TYPES}}),Object.defineProperty(e,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return n.AST_TOKEN_TYPES}}),r(Dt(),e),r(bt(),e),r(xt(),e)}}),St=c({"node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0})}}),Ct=c({"node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),Et()}}),Tt=c({"node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.TSESTree=e.AST_TOKEN_TYPES=e.AST_NODE_TYPES=void 0;var n=Et();Object.defineProperty(e,"AST_NODE_TYPES",{enumerable:!0,get:function(){return n.AST_NODE_TYPES}}),Object.defineProperty(e,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return n.AST_TOKEN_TYPES}}),Object.defineProperty(e,"TSESTree",{enumerable:!0,get:function(){return n.TSESTree}}),r(St(),e),r(Ct(),e)}}),kt=c({"node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.xhtmlEntities=void 0,e.xhtmlEntities={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:"",emsp:"",thinsp:"",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"",mdash:"—",lsquo:"",rsquo:"",sbquo:"",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"",Prime:"″",lsaquo:"",rsaquo:"",oline:"‾",frasl:"",euro:"€",image:"",weierp:"℘",real:"",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"",lowast:"",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"",cap:"∩",cup:"",int:"∫",there4:"∴",sim:"",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}}}),At=c({"node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n};Object.defineProperty(e,"__esModule",{value:!0}),e.firstDefined=e.nodeHasTokens=e.createError=e.TSError=e.convertTokens=e.convertToken=e.getTokenType=e.isChildUnwrappableOptionalChain=e.isChainExpression=e.isOptional=e.isComputedProperty=e.unescapeStringLiteralText=e.hasJSXAncestor=e.findFirstMatchingAncestor=e.findNextToken=e.getTSNodeAccessibility=e.getDeclarationKind=e.isJSXToken=e.isToken=e.getRange=e.canContainDirective=e.getLocFor=e.getLineAndCharacterFor=e.getBinaryExpressionType=e.isJSDocComment=e.isComment=e.isComma=e.getLastModifier=e.hasModifier=e.isESTreeClassMember=e.getTextForTokenKind=e.isLogicalOperator=e.isAssignmentOperator=void 0;var i=n(yt()),a=Tt(),o=kt(),s=i.SyntaxKind,c=[s.BarBarToken,s.AmpersandAmpersandToken,s.QuestionQuestionToken];function u(e){return e.kind>=s.FirstAssignment&&e.kind<=s.LastAssignment}function l(e){return c.includes(e.kind)}function d(e){return e.kind===s.SingleLineCommentTrivia||e.kind===s.MultiLineCommentTrivia}function f(e){return e.kind===s.JSDocComment}function _(e,t){let r=t.getLineAndCharacterOfPosition(e);return{line:r.line+1,column:r.character}}function m(e,t,r){return{start:_(e,r),end:_(t,r)}}function g(e){return e.kind>=s.FirstToken&&e.kind<=s.LastToken}function h(e){return e.kind>=s.JsxElement&&e.kind<=s.JsxAttribute}function y(e,t){for(;e;){if(t(e))return e;e=e.parent}}function v(e){return!!y(e,h)}function D(e){return e.type===a.AST_NODE_TYPES.ChainExpression}function b(e){if("originalKeywordKind"in e&&e.originalKeywordKind)return e.originalKeywordKind===s.NullKeyword?a.AST_TOKEN_TYPES.Null:e.originalKeywordKind>=s.FirstFutureReservedWord&&e.originalKeywordKind<=s.LastKeyword?a.AST_TOKEN_TYPES.Identifier:a.AST_TOKEN_TYPES.Keyword;if(e.kind>=s.FirstKeyword&&e.kind<=s.LastFutureReservedWord)return e.kind===s.FalseKeyword||e.kind===s.TrueKeyword?a.AST_TOKEN_TYPES.Boolean:a.AST_TOKEN_TYPES.Keyword;if(e.kind>=s.FirstPunctuation&&e.kind<=s.LastPunctuation)return a.AST_TOKEN_TYPES.Punctuator;if(e.kind>=s.NoSubstitutionTemplateLiteral&&e.kind<=s.TemplateTail)return a.AST_TOKEN_TYPES.Template;switch(e.kind){case s.NumericLiteral:return a.AST_TOKEN_TYPES.Numeric;case s.JsxText:return a.AST_TOKEN_TYPES.JSXText;case s.StringLiteral:return!e.parent||e.parent.kind!==s.JsxAttribute&&e.parent.kind!==s.JsxElement?a.AST_TOKEN_TYPES.String:a.AST_TOKEN_TYPES.JSXText;case s.RegularExpressionLiteral:return a.AST_TOKEN_TYPES.RegularExpression;case s.Identifier:case s.ConstructorKeyword:case s.GetKeyword:case s.SetKeyword:}return e.parent&&e.kind===s.Identifier&&(h(e.parent)||e.parent.kind===s.PropertyAccessExpression&&v(e))?a.AST_TOKEN_TYPES.JSXIdentifier:a.AST_TOKEN_TYPES.Identifier}function x(e,t){let r=e.kind===s.JsxText?e.getFullStart():e.getStart(t),n=e.getEnd(),i=t.text.slice(r,n),o=b(e);return o===a.AST_TOKEN_TYPES.RegularExpression?{type:o,value:i,range:[r,n],loc:m(r,n,t),regex:{pattern:i.slice(1,i.lastIndexOf("/")),flags:i.slice(i.lastIndexOf("/")+1)}}:{type:o,value:i,range:[r,n],loc:m(r,n,t)}}e.isAssignmentOperator=u,e.isLogicalOperator=l,e.getTextForTokenKind=function(e){return i.tokenToString(e)},e.isESTreeClassMember=function(e){return e.kind!==s.SemicolonClassElement},e.hasModifier=function(e,t){return!!t.modifiers&&!!t.modifiers.length&&t.modifiers.some((t=>t.kind===e))},e.getLastModifier=function(e){return!!e.modifiers&&!!e.modifiers.length&&e.modifiers[e.modifiers.length-1]||null},e.isComma=function(e){return e.kind===s.CommaToken},e.isComment=d,e.isJSDocComment=f,e.getBinaryExpressionType=function(e){return u(e)?a.AST_NODE_TYPES.AssignmentExpression:l(e)?a.AST_NODE_TYPES.LogicalExpression:a.AST_NODE_TYPES.BinaryExpression},e.getLineAndCharacterFor=_,e.getLocFor=m,e.canContainDirective=function(e){if(e.kind===i.SyntaxKind.Block)switch(e.parent.kind){case i.SyntaxKind.Constructor:case i.SyntaxKind.GetAccessor:case i.SyntaxKind.SetAccessor:case i.SyntaxKind.ArrowFunction:case i.SyntaxKind.FunctionExpression:case i.SyntaxKind.FunctionDeclaration:case i.SyntaxKind.MethodDeclaration:return!0;default:return!1}return!0},e.getRange=function(e,t){return[e.getStart(t),e.getEnd()]},e.isToken=g,e.isJSXToken=h,e.getDeclarationKind=function(e){return e.flags&i.NodeFlags.Let?"let":e.flags&i.NodeFlags.Const?"const":"var"},e.getTSNodeAccessibility=function(e){let t=e.modifiers;if(!t)return null;for(let e=0;e<t.length;e++)switch(t[e].kind){case s.PublicKeyword:return"public";case s.ProtectedKeyword:return"protected";case s.PrivateKeyword:return"private"}return null},e.findNextToken=function(e,t,r){return function t(n){return i.isToken(n)&&n.pos===e.end?n:C(n.getChildren(r),(n=>(n.pos<=e.pos&&n.end>e.end||n.pos===e.end)&&S(n,r)?t(n):void 0))}(t)},e.findFirstMatchingAncestor=y,e.hasJSXAncestor=v,e.unescapeStringLiteralText=function(e){return e.replace(/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g,(e=>{let t=e.slice(1,-1);if("#"===t[0]){let r="x"===t[1]?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return r>1114111?e:String.fromCodePoint(r)}return o.xhtmlEntities[t]||e}))},e.isComputedProperty=function(e){return e.kind===s.ComputedPropertyName},e.isOptional=function(e){return!!e.questionToken&&e.questionToken.kind===s.QuestionToken},e.isChainExpression=D,e.isChildUnwrappableOptionalChain=function(e,t){return D(t)&&e.expression.kind!==i.SyntaxKind.ParenthesizedExpression},e.getTokenType=b,e.convertToken=x,e.convertTokens=function(e){let t=[];return function r(n){if(!d(n)&&!f(n))if(g(n)&&n.kind!==s.EndOfFileToken){let r=x(n,e);r&&t.push(r)}else n.getChildren(e).forEach(r)}(e),t};var E=class extends Error{constructor(e,t,r,n,i){super(e),this.fileName=t,this.index=r,this.lineNumber=n,this.column=i,Object.defineProperty(this,"name",{value:new.target.name,enumerable:!1,configurable:!0})}};function S(e,t){return e.kind===s.EndOfFileToken?!!e.jsDoc:0!==e.getWidth(t)}function C(e,t){if(void 0!==e)for(let r=0;r<e.length;r++){let n=t(e[r],r);if(void 0!==n)return n}}e.TSError=E,e.createError=function(e,t,r){let n=e.getLineAndCharacterOfPosition(t);return new E(r,e.fileName,t,n.line+1,n.character)},e.nodeHasTokens=S,e.firstDefined=C}}),Nt=c({"node_modules/@typescript-eslint/typescript-estree/dist/version-check.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n};Object.defineProperty(e,"__esModule",{value:!0}),e.typescriptVersionIsAtLeast=void 0,n(Ge()),n(yt());var i={};e.typescriptVersionIsAtLeast=i;for(let e of["3.7","3.8","3.9","4.0"])i[e]=!0}}),Pt=c({"node_modules/@typescript-eslint/typescript-estree/dist/convert.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n};Object.defineProperty(e,"__esModule",{value:!0}),e.Converter=e.convertError=void 0;var i=n(yt()),a=At(),o=Tt(),s=Nt(),c=i.SyntaxKind;e.convertError=function(e){return(0,a.createError)(e.file,e.start,"message"in e&&e.message||e.messageText)};e.Converter=class{constructor(e,t){this.esTreeNodeToTSNodeMap=new WeakMap,this.tsNodeToESTreeNodeMap=new WeakMap,this.allowPattern=!1,this.inTypeMode=!1,this.ast=e,this.options=Object.assign({},t)}getASTMaps(){return{esTreeNodeToTSNodeMap:this.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:this.tsNodeToESTreeNodeMap}}convertProgram(){return this.converter(this.ast)}converter(e,t,r,n){if(!e)return null;let i=this.inTypeMode,a=this.allowPattern;void 0!==r&&(this.inTypeMode=r),void 0!==n&&(this.allowPattern=n);let o=this.convertNode(e,null!=t?t:e.parent);return this.registerTSNodeInNodeMap(e,o),this.inTypeMode=i,this.allowPattern=a,o}fixExports(e,t){if(e.modifiers&&e.modifiers[0].kind===c.ExportKeyword){this.registerTSNodeInNodeMap(e,t);let r=e.modifiers[0],n=e.modifiers[1],i=n&&n.kind===c.DefaultKeyword,s=i?(0,a.findNextToken)(n,this.ast,this.ast):(0,a.findNextToken)(r,this.ast,this.ast);if(t.range[0]=s.getStart(this.ast),t.loc=(0,a.getLocFor)(t.range[0],t.range[1],this.ast),i)return this.createNode(e,{type:o.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:t,range:[r.getStart(this.ast),t.range[1]],exportKind:"value"});{let n=t.type===o.AST_NODE_TYPES.TSInterfaceDeclaration||t.type===o.AST_NODE_TYPES.TSTypeAliasDeclaration,i=!0===t.declare;return this.createNode(e,{type:o.AST_NODE_TYPES.ExportNamedDeclaration,declaration:t,specifiers:[],source:null,exportKind:n||i?"type":"value",range:[r.getStart(this.ast),t.range[1]],assertions:[]})}}return t}registerTSNodeInNodeMap(e,t){t&&this.options.shouldPreserveNodeMaps&&(this.tsNodeToESTreeNodeMap.has(e)||this.tsNodeToESTreeNodeMap.set(e,t))}convertPattern(e,t){return this.converter(e,t,this.inTypeMode,!0)}convertChild(e,t){return this.converter(e,t,this.inTypeMode,!1)}convertType(e,t){return this.converter(e,t,!0,!1)}createNode(e,t){let r=t;return r.range||(r.range=(0,a.getRange)(e,this.ast)),r.loc||(r.loc=(0,a.getLocFor)(r.range[0],r.range[1],this.ast)),r&&this.options.shouldPreserveNodeMaps&&this.esTreeNodeToTSNodeMap.set(r,e),r}convertBindingNameWithTypeAnnotation(e,t,r){let n=this.convertPattern(e);return t&&(n.typeAnnotation=this.convertTypeAnnotation(t,r),this.fixParentLocation(n,n.typeAnnotation.range)),n}convertTypeAnnotation(e,t){let r=(null==t?void 0:t.kind)===c.FunctionType||(null==t?void 0:t.kind)===c.ConstructorType?2:1,n=e.getFullStart()-r,i=(0,a.getLocFor)(n,e.end,this.ast);return{type:o.AST_NODE_TYPES.TSTypeAnnotation,loc:i,range:[n,e.end],typeAnnotation:this.convertType(e)}}convertBodyExpressions(e,t){let r=(0,a.canContainDirective)(t);return e.map((e=>{let t=this.convertChild(e);if(r){if((null==t?void 0:t.expression)&&i.isExpressionStatement(e)&&i.isStringLiteral(e.expression)){let e=t.expression.raw;return t.directive=e.slice(1,-1),t}r=!1}return t})).filter((e=>e))}convertTypeArgumentsToTypeParameters(e,t){let r=(0,a.findNextToken)(e,this.ast,this.ast);return this.createNode(t,{type:o.AST_NODE_TYPES.TSTypeParameterInstantiation,range:[e.pos-1,r.end],params:e.map((e=>this.convertType(e)))})}convertTSTypeParametersToTypeParametersDeclaration(e){let t=(0,a.findNextToken)(e,this.ast,this.ast);return{type:o.AST_NODE_TYPES.TSTypeParameterDeclaration,range:[e.pos-1,t.end],loc:(0,a.getLocFor)(e.pos-1,t.end,this.ast),params:e.map((e=>this.convertType(e)))}}convertParameters(e){return e&&e.length?e.map((e=>{var t;let r=this.convertChild(e);return!(null===(t=e.decorators)||void 0===t)&&t.length&&(r.decorators=e.decorators.map((e=>this.convertChild(e)))),r})):[]}convertChainExpression(e,t){let{child:r,isOptional:n}=e.type===o.AST_NODE_TYPES.MemberExpression?{child:e.object,isOptional:e.optional}:e.type===o.AST_NODE_TYPES.CallExpression?{child:e.callee,isOptional:e.optional}:{child:e.expression,isOptional:!1},i=(0,a.isChildUnwrappableOptionalChain)(t,r);if(!i&&!n)return e;if(i&&(0,a.isChainExpression)(r)){let t=r.expression;e.type===o.AST_NODE_TYPES.MemberExpression?e.object=t:e.type===o.AST_NODE_TYPES.CallExpression?e.callee=t:e.expression=t}return this.createNode(t,{type:o.AST_NODE_TYPES.ChainExpression,expression:e})}deeplyCopy(e){if(e.kind===i.SyntaxKind.JSDocFunctionType)throw(0,a.createError)(this.ast,e.pos,"JSDoc types can only be used inside documentation comments.");let t="TS".concat(c[e.kind]);if(this.options.errorOnUnknownASTType&&!o.AST_NODE_TYPES[t])throw new Error('Unknown AST_NODE_TYPE: "'.concat(t,'"'));let r=this.createNode(e,{type:t});return"type"in e&&(r.typeAnnotation=e.type&&"kind"in e.type&&i.isTypeNode(e.type)?this.convertTypeAnnotation(e.type,e):null),"typeArguments"in e&&(r.typeParameters=e.typeArguments&&"pos"in e.typeArguments?this.convertTypeArgumentsToTypeParameters(e.typeArguments,e):null),"typeParameters"in e&&(r.typeParameters=e.typeParameters&&"pos"in e.typeParameters?this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters):null),"decorators"in e&&e.decorators&&e.decorators.length&&(r.decorators=e.decorators.map((e=>this.convertChild(e)))),Object.entries(e).filter((e=>{let[t]=e;return!/^(?:_children|kind|parent|pos|end|flags|modifierFlagsCache|jsDoc|type|typeArguments|typeParameters|decorators|transformFlags)$/.test(t)})).forEach((e=>{let[t,n]=e;Array.isArray(n)?r[t]=n.map((e=>this.convertChild(e))):n&&"object"==typeof n&&n.kind?r[t]=this.convertChild(n):r[t]=n})),r}convertJSXIdentifier(e){let t=this.createNode(e,{type:o.AST_NODE_TYPES.JSXIdentifier,name:e.getText()});return this.registerTSNodeInNodeMap(e,t),t}convertJSXNamespaceOrIdentifier(e){let t=e.getText(),r=t.indexOf(":");if(r>0){let n=(0,a.getRange)(e,this.ast),i=this.createNode(e,{type:o.AST_NODE_TYPES.JSXNamespacedName,namespace:this.createNode(e,{type:o.AST_NODE_TYPES.JSXIdentifier,name:t.slice(0,r),range:[n[0],n[0]+r]}),name:this.createNode(e,{type:o.AST_NODE_TYPES.JSXIdentifier,name:t.slice(r+1),range:[n[0]+r+1,n[1]]}),range:n});return this.registerTSNodeInNodeMap(e,i),i}return this.convertJSXIdentifier(e)}convertJSXTagName(e,t){let r;switch(e.kind){case c.PropertyAccessExpression:if(e.name.kind===c.PrivateIdentifier)throw new Error("Non-private identifier expected.");r=this.createNode(e,{type:o.AST_NODE_TYPES.JSXMemberExpression,object:this.convertJSXTagName(e.expression,t),property:this.convertJSXIdentifier(e.name)});break;case c.ThisKeyword:case c.Identifier:default:return this.convertJSXNamespaceOrIdentifier(e)}return this.registerTSNodeInNodeMap(e,r),r}convertMethodSignature(e){let t=this.createNode(e,{type:o.AST_NODE_TYPES.TSMethodSignature,computed:(0,a.isComputedProperty)(e.name),key:this.convertChild(e.name),params:this.convertParameters(e.parameters),kind:(()=>{switch(e.kind){case c.GetAccessor:return"get";case c.SetAccessor:return"set";case c.MethodSignature:return"method"}})()});(0,a.isOptional)(e)&&(t.optional=!0),e.type&&(t.returnType=this.convertTypeAnnotation(e.type,e)),(0,a.hasModifier)(c.ReadonlyKeyword,e)&&(t.readonly=!0),e.typeParameters&&(t.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters));let r=(0,a.getTSNodeAccessibility)(e);return r&&(t.accessibility=r),(0,a.hasModifier)(c.ExportKeyword,e)&&(t.export=!0),(0,a.hasModifier)(c.StaticKeyword,e)&&(t.static=!0),t}convertAssertClasue(e){return void 0===e?[]:e.elements.map((e=>this.convertChild(e)))}applyModifiersToResult(e,t){if(!t||!t.length)return;let r=[];for(let n=0;n<t.length;n++){let i=t[n];switch(i.kind){case c.ExportKeyword:case c.DefaultKeyword:break;case c.ConstKeyword:e.const=!0;break;case c.DeclareKeyword:e.declare=!0;break;default:r.push(this.convertChild(i))}}r.length&&(e.modifiers=r)}fixParentLocation(e,t){t[0]<e.range[0]&&(e.range[0]=t[0],e.loc.start=(0,a.getLineAndCharacterFor)(e.range[0],this.ast)),t[1]>e.range[1]&&(e.range[1]=t[1],e.loc.end=(0,a.getLineAndCharacterFor)(e.range[1],this.ast))}assertModuleSpecifier(e){if(e.moduleSpecifier&&e.moduleSpecifier.kind!==c.StringLiteral)throw(0,a.createError)(this.ast,e.moduleSpecifier.pos,"Module specifier must be a string literal.")}convertNode(e,t){var r,n,u,l,p,d,f,_,m,g;switch(e.kind){case c.SourceFile:return this.createNode(e,{type:o.AST_NODE_TYPES.Program,body:this.convertBodyExpressions(e.statements,e),sourceType:e.externalModuleIndicator?"module":"script",range:[e.getStart(this.ast),e.endOfFileToken.end]});case c.Block:return this.createNode(e,{type:o.AST_NODE_TYPES.BlockStatement,body:this.convertBodyExpressions(e.statements,e)});case c.Identifier:return this.createNode(e,{type:o.AST_NODE_TYPES.Identifier,name:e.text});case c.PrivateIdentifier:return this.createNode(e,{type:o.AST_NODE_TYPES.PrivateIdentifier,name:e.text.slice(1)});case c.WithStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.WithStatement,object:this.convertChild(e.expression),body:this.convertChild(e.statement)});case c.ReturnStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.ReturnStatement,argument:this.convertChild(e.expression)});case c.LabeledStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.LabeledStatement,label:this.convertChild(e.label),body:this.convertChild(e.statement)});case c.ContinueStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.ContinueStatement,label:this.convertChild(e.label)});case c.BreakStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.BreakStatement,label:this.convertChild(e.label)});case c.IfStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.IfStatement,test:this.convertChild(e.expression),consequent:this.convertChild(e.thenStatement),alternate:this.convertChild(e.elseStatement)});case c.SwitchStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.SwitchStatement,discriminant:this.convertChild(e.expression),cases:e.caseBlock.clauses.map((e=>this.convertChild(e)))});case c.CaseClause:case c.DefaultClause:return this.createNode(e,{type:o.AST_NODE_TYPES.SwitchCase,test:e.kind===c.CaseClause?this.convertChild(e.expression):null,consequent:e.statements.map((e=>this.convertChild(e)))});case c.ThrowStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.ThrowStatement,argument:this.convertChild(e.expression)});case c.TryStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.TryStatement,block:this.convertChild(e.tryBlock),handler:this.convertChild(e.catchClause),finalizer:this.convertChild(e.finallyBlock)});case c.CatchClause:return this.createNode(e,{type:o.AST_NODE_TYPES.CatchClause,param:e.variableDeclaration?this.convertBindingNameWithTypeAnnotation(e.variableDeclaration.name,e.variableDeclaration.type):null,body:this.convertChild(e.block)});case c.WhileStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.WhileStatement,test:this.convertChild(e.expression),body:this.convertChild(e.statement)});case c.DoStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.DoWhileStatement,test:this.convertChild(e.expression),body:this.convertChild(e.statement)});case c.ForStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.ForStatement,init:this.convertChild(e.initializer),test:this.convertChild(e.condition),update:this.convertChild(e.incrementor),body:this.convertChild(e.statement)});case c.ForInStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.ForInStatement,left:this.convertPattern(e.initializer),right:this.convertChild(e.expression),body:this.convertChild(e.statement)});case c.ForOfStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.ForOfStatement,left:this.convertPattern(e.initializer),right:this.convertChild(e.expression),body:this.convertChild(e.statement),await:Boolean(e.awaitModifier&&e.awaitModifier.kind===c.AwaitKeyword)});case c.FunctionDeclaration:{let t=(0,a.hasModifier)(c.DeclareKeyword,e),r=this.createNode(e,{type:t||!e.body?o.AST_NODE_TYPES.TSDeclareFunction:o.AST_NODE_TYPES.FunctionDeclaration,id:this.convertChild(e.name),generator:!!e.asteriskToken,expression:!1,async:(0,a.hasModifier)(c.AsyncKeyword,e),params:this.convertParameters(e.parameters),body:this.convertChild(e.body)||void 0});return e.type&&(r.returnType=this.convertTypeAnnotation(e.type,e)),t&&(r.declare=!0),e.typeParameters&&(r.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),this.fixExports(e,r)}case c.VariableDeclaration:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.VariableDeclarator,id:this.convertBindingNameWithTypeAnnotation(e.name,e.type,e),init:this.convertChild(e.initializer)});return e.exclamationToken&&(t.definite=!0),t}case c.VariableStatement:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.VariableDeclaration,declarations:e.declarationList.declarations.map((e=>this.convertChild(e))),kind:(0,a.getDeclarationKind)(e.declarationList)});return e.decorators&&(t.decorators=e.decorators.map((e=>this.convertChild(e)))),(0,a.hasModifier)(c.DeclareKeyword,e)&&(t.declare=!0),this.fixExports(e,t)}case c.VariableDeclarationList:return this.createNode(e,{type:o.AST_NODE_TYPES.VariableDeclaration,declarations:e.declarations.map((e=>this.convertChild(e))),kind:(0,a.getDeclarationKind)(e)});case c.ExpressionStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.ExpressionStatement,expression:this.convertChild(e.expression)});case c.ThisKeyword:return this.createNode(e,{type:o.AST_NODE_TYPES.ThisExpression});case c.ArrayLiteralExpression:return this.allowPattern?this.createNode(e,{type:o.AST_NODE_TYPES.ArrayPattern,elements:e.elements.map((e=>this.convertPattern(e)))}):this.createNode(e,{type:o.AST_NODE_TYPES.ArrayExpression,elements:e.elements.map((e=>this.convertChild(e)))});case c.ObjectLiteralExpression:return this.allowPattern?this.createNode(e,{type:o.AST_NODE_TYPES.ObjectPattern,properties:e.properties.map((e=>this.convertPattern(e)))}):this.createNode(e,{type:o.AST_NODE_TYPES.ObjectExpression,properties:e.properties.map((e=>this.convertChild(e)))});case c.PropertyAssignment:return this.createNode(e,{type:o.AST_NODE_TYPES.Property,key:this.convertChild(e.name),value:this.converter(e.initializer,e,this.inTypeMode,this.allowPattern),computed:(0,a.isComputedProperty)(e.name),method:!1,shorthand:!1,kind:"init"});case c.ShorthandPropertyAssignment:return e.objectAssignmentInitializer?this.createNode(e,{type:o.AST_NODE_TYPES.Property,key:this.convertChild(e.name),value:this.createNode(e,{type:o.AST_NODE_TYPES.AssignmentPattern,left:this.convertPattern(e.name),right:this.convertChild(e.objectAssignmentInitializer)}),computed:!1,method:!1,shorthand:!0,kind:"init"}):this.createNode(e,{type:o.AST_NODE_TYPES.Property,key:this.convertChild(e.name),value:this.convertChild(e.name),computed:!1,method:!1,shorthand:!0,kind:"init"});case c.ComputedPropertyName:return this.convertChild(e.expression);case c.PropertyDeclaration:{let t=(0,a.hasModifier)(c.AbstractKeyword,e),r=this.createNode(e,{type:t?o.AST_NODE_TYPES.TSAbstractPropertyDefinition:o.AST_NODE_TYPES.PropertyDefinition,key:this.convertChild(e.name),value:t?null:this.convertChild(e.initializer),computed:(0,a.isComputedProperty)(e.name),static:(0,a.hasModifier)(c.StaticKeyword,e),readonly:(0,a.hasModifier)(c.ReadonlyKeyword,e)||void 0,declare:(0,a.hasModifier)(c.DeclareKeyword,e),override:(0,a.hasModifier)(c.OverrideKeyword,e)});e.type&&(r.typeAnnotation=this.convertTypeAnnotation(e.type,e)),e.decorators&&(r.decorators=e.decorators.map((e=>this.convertChild(e))));let n=(0,a.getTSNodeAccessibility)(e);return n&&(r.accessibility=n),(e.name.kind===c.Identifier||e.name.kind===c.ComputedPropertyName||e.name.kind===c.PrivateIdentifier)&&e.questionToken&&(r.optional=!0),e.exclamationToken&&(r.definite=!0),r.key.type===o.AST_NODE_TYPES.Literal&&e.questionToken&&(r.optional=!0),r}case c.GetAccessor:case c.SetAccessor:if(e.parent.kind===c.InterfaceDeclaration||e.parent.kind===c.TypeLiteral)return this.convertMethodSignature(e);case c.MethodDeclaration:{let r,n=this.createNode(e,{type:e.body?o.AST_NODE_TYPES.FunctionExpression:o.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,generator:!!e.asteriskToken,expression:!1,async:(0,a.hasModifier)(c.AsyncKeyword,e),body:this.convertChild(e.body),range:[e.parameters.pos-1,e.end],params:[]});if(e.type&&(n.returnType=this.convertTypeAnnotation(e.type,e)),e.typeParameters&&(n.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters),this.fixParentLocation(n,n.typeParameters.range)),t.kind===c.ObjectLiteralExpression)n.params=e.parameters.map((e=>this.convertChild(e))),r=this.createNode(e,{type:o.AST_NODE_TYPES.Property,key:this.convertChild(e.name),value:n,computed:(0,a.isComputedProperty)(e.name),method:e.kind===c.MethodDeclaration,shorthand:!1,kind:"init"});else{n.params=this.convertParameters(e.parameters);let t=(0,a.hasModifier)(c.AbstractKeyword,e)?o.AST_NODE_TYPES.TSAbstractMethodDefinition:o.AST_NODE_TYPES.MethodDefinition;r=this.createNode(e,{type:t,key:this.convertChild(e.name),value:n,computed:(0,a.isComputedProperty)(e.name),static:(0,a.hasModifier)(c.StaticKeyword,e),kind:"method",override:(0,a.hasModifier)(c.OverrideKeyword,e)}),e.decorators&&(r.decorators=e.decorators.map((e=>this.convertChild(e))));let i=(0,a.getTSNodeAccessibility)(e);i&&(r.accessibility=i)}return e.questionToken&&(r.optional=!0),e.kind===c.GetAccessor?r.kind="get":e.kind===c.SetAccessor?r.kind="set":!r.static&&e.name.kind===c.StringLiteral&&"constructor"===e.name.text&&r.type!==o.AST_NODE_TYPES.Property&&(r.kind="constructor"),r}case c.Constructor:{let t=(0,a.getLastModifier)(e),r=t&&(0,a.findNextToken)(t,e,this.ast)||e.getFirstToken(),n=this.createNode(e,{type:e.body?o.AST_NODE_TYPES.FunctionExpression:o.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,params:this.convertParameters(e.parameters),generator:!1,expression:!1,async:!1,body:this.convertChild(e.body),range:[e.parameters.pos-1,e.end]});e.typeParameters&&(n.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters),this.fixParentLocation(n,n.typeParameters.range)),e.type&&(n.returnType=this.convertTypeAnnotation(e.type,e));let i=this.createNode(e,{type:o.AST_NODE_TYPES.Identifier,name:"constructor",range:[r.getStart(this.ast),r.end]}),s=(0,a.hasModifier)(c.StaticKeyword,e),u=this.createNode(e,{type:(0,a.hasModifier)(c.AbstractKeyword,e)?o.AST_NODE_TYPES.TSAbstractMethodDefinition:o.AST_NODE_TYPES.MethodDefinition,key:i,value:n,computed:!1,static:s,kind:s?"method":"constructor",override:!1}),l=(0,a.getTSNodeAccessibility)(e);return l&&(u.accessibility=l),u}case c.FunctionExpression:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.FunctionExpression,id:this.convertChild(e.name),generator:!!e.asteriskToken,params:this.convertParameters(e.parameters),body:this.convertChild(e.body),async:(0,a.hasModifier)(c.AsyncKeyword,e),expression:!1});return e.type&&(t.returnType=this.convertTypeAnnotation(e.type,e)),e.typeParameters&&(t.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),t}case c.SuperKeyword:return this.createNode(e,{type:o.AST_NODE_TYPES.Super});case c.ArrayBindingPattern:return this.createNode(e,{type:o.AST_NODE_TYPES.ArrayPattern,elements:e.elements.map((e=>this.convertPattern(e)))});case c.OmittedExpression:return null;case c.ObjectBindingPattern:return this.createNode(e,{type:o.AST_NODE_TYPES.ObjectPattern,properties:e.elements.map((e=>this.convertPattern(e)))});case c.BindingElement:if(t.kind===c.ArrayBindingPattern){let r=this.convertChild(e.name,t);return e.initializer?this.createNode(e,{type:o.AST_NODE_TYPES.AssignmentPattern,left:r,right:this.convertChild(e.initializer)}):e.dotDotDotToken?this.createNode(e,{type:o.AST_NODE_TYPES.RestElement,argument:r}):r}{let t;return t=e.dotDotDotToken?this.createNode(e,{type:o.AST_NODE_TYPES.RestElement,argument:this.convertChild(null!==(r=e.propertyName)&&void 0!==r?r:e.name)}):this.createNode(e,{type:o.AST_NODE_TYPES.Property,key:this.convertChild(null!==(n=e.propertyName)&&void 0!==n?n:e.name),value:this.convertChild(e.name),computed:Boolean(e.propertyName&&e.propertyName.kind===c.ComputedPropertyName),method:!1,shorthand:!e.propertyName,kind:"init"}),e.initializer&&(t.value=this.createNode(e,{type:o.AST_NODE_TYPES.AssignmentPattern,left:this.convertChild(e.name),right:this.convertChild(e.initializer),range:[e.name.getStart(this.ast),e.initializer.end]})),t}case c.ArrowFunction:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.ArrowFunctionExpression,generator:!1,id:null,params:this.convertParameters(e.parameters),body:this.convertChild(e.body),async:(0,a.hasModifier)(c.AsyncKeyword,e),expression:e.body.kind!==c.Block});return e.type&&(t.returnType=this.convertTypeAnnotation(e.type,e)),e.typeParameters&&(t.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),t}case c.YieldExpression:return this.createNode(e,{type:o.AST_NODE_TYPES.YieldExpression,delegate:!!e.asteriskToken,argument:this.convertChild(e.expression)});case c.AwaitExpression:return this.createNode(e,{type:o.AST_NODE_TYPES.AwaitExpression,argument:this.convertChild(e.expression)});case c.NoSubstitutionTemplateLiteral:return this.createNode(e,{type:o.AST_NODE_TYPES.TemplateLiteral,quasis:[this.createNode(e,{type:o.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(e.getStart(this.ast)+1,e.end-1),cooked:e.text},tail:!0})],expressions:[]});case c.TemplateExpression:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.TemplateLiteral,quasis:[this.convertChild(e.head)],expressions:[]});return e.templateSpans.forEach((e=>{t.expressions.push(this.convertChild(e.expression)),t.quasis.push(this.convertChild(e.literal))})),t}case c.TaggedTemplateExpression:return this.createNode(e,{type:o.AST_NODE_TYPES.TaggedTemplateExpression,typeParameters:e.typeArguments?this.convertTypeArgumentsToTypeParameters(e.typeArguments,e):void 0,tag:this.convertChild(e.tag),quasi:this.convertChild(e.template)});case c.TemplateHead:case c.TemplateMiddle:case c.TemplateTail:{let t=e.kind===c.TemplateTail;return this.createNode(e,{type:o.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(e.getStart(this.ast)+1,e.end-(t?1:2)),cooked:e.text},tail:t})}case c.SpreadAssignment:case c.SpreadElement:return this.allowPattern?this.createNode(e,{type:o.AST_NODE_TYPES.RestElement,argument:this.convertPattern(e.expression)}):this.createNode(e,{type:o.AST_NODE_TYPES.SpreadElement,argument:this.convertChild(e.expression)});case c.Parameter:{let r,n;return e.dotDotDotToken?r=n=this.createNode(e,{type:o.AST_NODE_TYPES.RestElement,argument:this.convertChild(e.name)}):e.initializer?(r=this.convertChild(e.name),n=this.createNode(e,{type:o.AST_NODE_TYPES.AssignmentPattern,left:r,right:this.convertChild(e.initializer)}),e.modifiers&&(n.range[0]=r.range[0],n.loc=(0,a.getLocFor)(n.range[0],n.range[1],this.ast))):r=n=this.convertChild(e.name,t),e.type&&(r.typeAnnotation=this.convertTypeAnnotation(e.type,e),this.fixParentLocation(r,r.typeAnnotation.range)),e.questionToken&&(e.questionToken.end>r.range[1]&&(r.range[1]=e.questionToken.end,r.loc.end=(0,a.getLineAndCharacterFor)(r.range[1],this.ast)),r.optional=!0),e.modifiers?this.createNode(e,{type:o.AST_NODE_TYPES.TSParameterProperty,accessibility:null!==(u=(0,a.getTSNodeAccessibility)(e))&&void 0!==u?u:void 0,readonly:(0,a.hasModifier)(c.ReadonlyKeyword,e)||void 0,static:(0,a.hasModifier)(c.StaticKeyword,e)||void 0,export:(0,a.hasModifier)(c.ExportKeyword,e)||void 0,override:(0,a.hasModifier)(c.OverrideKeyword,e)||void 0,parameter:n}):n}case c.ClassDeclaration:case c.ClassExpression:{let t=null!==(l=e.heritageClauses)&&void 0!==l?l:[],r=e.kind===c.ClassDeclaration?o.AST_NODE_TYPES.ClassDeclaration:o.AST_NODE_TYPES.ClassExpression,n=t.find((e=>e.token===c.ExtendsKeyword)),i=t.find((e=>e.token===c.ImplementsKeyword)),s=this.createNode(e,{type:r,id:this.convertChild(e.name),body:this.createNode(e,{type:o.AST_NODE_TYPES.ClassBody,body:[],range:[e.members.pos-1,e.end]}),superClass:null!=n&&n.types[0]?this.convertChild(n.types[0].expression):null});if(n){if(n.types.length>1)throw(0,a.createError)(this.ast,n.types[1].pos,"Classes can only extend a single class.");null!==(p=n.types[0])&&void 0!==p&&p.typeArguments&&(s.superTypeParameters=this.convertTypeArgumentsToTypeParameters(n.types[0].typeArguments,n.types[0]))}e.typeParameters&&(s.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),i&&(s.implements=i.types.map((e=>this.convertChild(e)))),(0,a.hasModifier)(c.AbstractKeyword,e)&&(s.abstract=!0),(0,a.hasModifier)(c.DeclareKeyword,e)&&(s.declare=!0),e.decorators&&(s.decorators=e.decorators.map((e=>this.convertChild(e))));let u=e.members.filter(a.isESTreeClassMember);return u.length&&(s.body.body=u.map((e=>this.convertChild(e)))),this.fixExports(e,s)}case c.ModuleBlock:return this.createNode(e,{type:o.AST_NODE_TYPES.TSModuleBlock,body:this.convertBodyExpressions(e.statements,e)});case c.ImportDeclaration:{this.assertModuleSpecifier(e);let t=this.createNode(e,{type:o.AST_NODE_TYPES.ImportDeclaration,source:this.convertChild(e.moduleSpecifier),specifiers:[],importKind:"value",assertions:this.convertAssertClasue(e.assertClause)});if(e.importClause&&(e.importClause.isTypeOnly&&(t.importKind="type"),e.importClause.name&&t.specifiers.push(this.convertChild(e.importClause)),e.importClause.namedBindings))switch(e.importClause.namedBindings.kind){case c.NamespaceImport:t.specifiers.push(this.convertChild(e.importClause.namedBindings));break;case c.NamedImports:t.specifiers=t.specifiers.concat(e.importClause.namedBindings.elements.map((e=>this.convertChild(e))))}return t}case c.NamespaceImport:return this.createNode(e,{type:o.AST_NODE_TYPES.ImportNamespaceSpecifier,local:this.convertChild(e.name)});case c.ImportSpecifier:return this.createNode(e,{type:o.AST_NODE_TYPES.ImportSpecifier,local:this.convertChild(e.name),imported:this.convertChild(null!==(d=e.propertyName)&&void 0!==d?d:e.name),importKind:e.isTypeOnly?"type":"value"});case c.ImportClause:{let t=this.convertChild(e.name);return this.createNode(e,{type:o.AST_NODE_TYPES.ImportDefaultSpecifier,local:t,range:t.range})}case c.ExportDeclaration:return this.assertModuleSpecifier(e),(null===(f=e.exportClause)||void 0===f?void 0:f.kind)===c.NamedExports?this.createNode(e,{type:o.AST_NODE_TYPES.ExportNamedDeclaration,source:this.convertChild(e.moduleSpecifier),specifiers:e.exportClause.elements.map((e=>this.convertChild(e))),exportKind:e.isTypeOnly?"type":"value",declaration:null,assertions:this.convertAssertClasue(e.assertClause)}):this.createNode(e,{type:o.AST_NODE_TYPES.ExportAllDeclaration,source:this.convertChild(e.moduleSpecifier),exportKind:e.isTypeOnly?"type":"value",exported:e.exportClause&&e.exportClause.kind===c.NamespaceExport?this.convertChild(e.exportClause.name):null,assertions:this.convertAssertClasue(e.assertClause)});case c.ExportSpecifier:return this.createNode(e,{type:o.AST_NODE_TYPES.ExportSpecifier,local:this.convertChild(null!==(_=e.propertyName)&&void 0!==_?_:e.name),exported:this.convertChild(e.name),exportKind:e.isTypeOnly?"type":"value"});case c.ExportAssignment:return e.isExportEquals?this.createNode(e,{type:o.AST_NODE_TYPES.TSExportAssignment,expression:this.convertChild(e.expression)}):this.createNode(e,{type:o.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:this.convertChild(e.expression),exportKind:"value"});case c.PrefixUnaryExpression:case c.PostfixUnaryExpression:{let t=(0,a.getTextForTokenKind)(e.operator);return"++"===t||"--"===t?this.createNode(e,{type:o.AST_NODE_TYPES.UpdateExpression,operator:t,prefix:e.kind===c.PrefixUnaryExpression,argument:this.convertChild(e.operand)}):this.createNode(e,{type:o.AST_NODE_TYPES.UnaryExpression,operator:t,prefix:e.kind===c.PrefixUnaryExpression,argument:this.convertChild(e.operand)})}case c.DeleteExpression:return this.createNode(e,{type:o.AST_NODE_TYPES.UnaryExpression,operator:"delete",prefix:!0,argument:this.convertChild(e.expression)});case c.VoidExpression:return this.createNode(e,{type:o.AST_NODE_TYPES.UnaryExpression,operator:"void",prefix:!0,argument:this.convertChild(e.expression)});case c.TypeOfExpression:return this.createNode(e,{type:o.AST_NODE_TYPES.UnaryExpression,operator:"typeof",prefix:!0,argument:this.convertChild(e.expression)});case c.TypeOperator:return this.createNode(e,{type:o.AST_NODE_TYPES.TSTypeOperator,operator:(0,a.getTextForTokenKind)(e.operator),typeAnnotation:this.convertChild(e.type)});case c.BinaryExpression:if((0,a.isComma)(e.operatorToken)){let t=this.createNode(e,{type:o.AST_NODE_TYPES.SequenceExpression,expressions:[]}),r=this.convertChild(e.left);return r.type===o.AST_NODE_TYPES.SequenceExpression&&e.left.kind!==c.ParenthesizedExpression?t.expressions=t.expressions.concat(r.expressions):t.expressions.push(r),t.expressions.push(this.convertChild(e.right)),t}{let t=(0,a.getBinaryExpressionType)(e.operatorToken);return this.allowPattern&&t===o.AST_NODE_TYPES.AssignmentExpression?this.createNode(e,{type:o.AST_NODE_TYPES.AssignmentPattern,left:this.convertPattern(e.left,e),right:this.convertChild(e.right)}):this.createNode(e,{type:t,operator:(0,a.getTextForTokenKind)(e.operatorToken.kind),left:this.converter(e.left,e,this.inTypeMode,t===o.AST_NODE_TYPES.AssignmentExpression),right:this.convertChild(e.right)})}case c.PropertyAccessExpression:{let t=this.convertChild(e.expression),r=this.convertChild(e.name),n=!1,i=this.createNode(e,{type:o.AST_NODE_TYPES.MemberExpression,object:t,property:r,computed:n,optional:void 0!==e.questionDotToken});return this.convertChainExpression(i,e)}case c.ElementAccessExpression:{let t=this.convertChild(e.expression),r=this.convertChild(e.argumentExpression),n=!0,i=this.createNode(e,{type:o.AST_NODE_TYPES.MemberExpression,object:t,property:r,computed:n,optional:void 0!==e.questionDotToken});return this.convertChainExpression(i,e)}case c.CallExpression:{if(e.expression.kind===c.ImportKeyword){if(1!==e.arguments.length&&2!==e.arguments.length)throw(0,a.createError)(this.ast,e.arguments.pos,"Dynamic import requires exactly one or two arguments.");return this.createNode(e,{type:o.AST_NODE_TYPES.ImportExpression,source:this.convertChild(e.arguments[0]),attributes:e.arguments[1]?this.convertChild(e.arguments[1]):null})}let t=this.convertChild(e.expression),r=e.arguments.map((e=>this.convertChild(e))),n=this.createNode(e,{type:o.AST_NODE_TYPES.CallExpression,callee:t,arguments:r,optional:void 0!==e.questionDotToken});return e.typeArguments&&(n.typeParameters=this.convertTypeArgumentsToTypeParameters(e.typeArguments,e)),this.convertChainExpression(n,e)}case c.NewExpression:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.NewExpression,callee:this.convertChild(e.expression),arguments:e.arguments?e.arguments.map((e=>this.convertChild(e))):[]});return e.typeArguments&&(t.typeParameters=this.convertTypeArgumentsToTypeParameters(e.typeArguments,e)),t}case c.ConditionalExpression:return this.createNode(e,{type:o.AST_NODE_TYPES.ConditionalExpression,test:this.convertChild(e.condition),consequent:this.convertChild(e.whenTrue),alternate:this.convertChild(e.whenFalse)});case c.MetaProperty:return this.createNode(e,{type:o.AST_NODE_TYPES.MetaProperty,meta:this.createNode(e.getFirstToken(),{type:o.AST_NODE_TYPES.Identifier,name:(0,a.getTextForTokenKind)(e.keywordToken)}),property:this.convertChild(e.name)});case c.Decorator:return this.createNode(e,{type:o.AST_NODE_TYPES.Decorator,expression:this.convertChild(e.expression)});case c.StringLiteral:return this.createNode(e,{type:o.AST_NODE_TYPES.Literal,value:t.kind===c.JsxAttribute?(0,a.unescapeStringLiteralText)(e.text):e.text,raw:e.getText()});case c.NumericLiteral:return this.createNode(e,{type:o.AST_NODE_TYPES.Literal,value:Number(e.text),raw:e.getText()});case c.BigIntLiteral:{let t=(0,a.getRange)(e,this.ast),r=this.ast.text.slice(t[0],t[1]),n=r.slice(0,-1).replace(/_/g,""),i=typeof BigInt<"u"?BigInt(n):null;return this.createNode(e,{type:o.AST_NODE_TYPES.Literal,raw:r,value:i,bigint:null===i?n:String(i),range:t})}case c.RegularExpressionLiteral:{let t=e.text.slice(1,e.text.lastIndexOf("/")),r=e.text.slice(e.text.lastIndexOf("/")+1),n=null;try{n=new RegExp(t,r)}catch{n=null}return this.createNode(e,{type:o.AST_NODE_TYPES.Literal,value:n,raw:e.text,regex:{pattern:t,flags:r}})}case c.TrueKeyword:return this.createNode(e,{type:o.AST_NODE_TYPES.Literal,value:!0,raw:"true"});case c.FalseKeyword:return this.createNode(e,{type:o.AST_NODE_TYPES.Literal,value:!1,raw:"false"});case c.NullKeyword:return!s.typescriptVersionIsAtLeast["4.0"]&&this.inTypeMode?this.createNode(e,{type:o.AST_NODE_TYPES.TSNullKeyword}):this.createNode(e,{type:o.AST_NODE_TYPES.Literal,value:null,raw:"null"});case c.EmptyStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.EmptyStatement});case c.DebuggerStatement:return this.createNode(e,{type:o.AST_NODE_TYPES.DebuggerStatement});case c.JsxElement:return this.createNode(e,{type:o.AST_NODE_TYPES.JSXElement,openingElement:this.convertChild(e.openingElement),closingElement:this.convertChild(e.closingElement),children:e.children.map((e=>this.convertChild(e)))});case c.JsxFragment:return this.createNode(e,{type:o.AST_NODE_TYPES.JSXFragment,openingFragment:this.convertChild(e.openingFragment),closingFragment:this.convertChild(e.closingFragment),children:e.children.map((e=>this.convertChild(e)))});case c.JsxSelfClosingElement:return this.createNode(e,{type:o.AST_NODE_TYPES.JSXElement,openingElement:this.createNode(e,{type:o.AST_NODE_TYPES.JSXOpeningElement,typeParameters:e.typeArguments?this.convertTypeArgumentsToTypeParameters(e.typeArguments,e):void 0,selfClosing:!0,name:this.convertJSXTagName(e.tagName,e),attributes:e.attributes.properties.map((e=>this.convertChild(e))),range:(0,a.getRange)(e,this.ast)}),closingElement:null,children:[]});case c.JsxOpeningElement:return this.createNode(e,{type:o.AST_NODE_TYPES.JSXOpeningElement,typeParameters:e.typeArguments?this.convertTypeArgumentsToTypeParameters(e.typeArguments,e):void 0,selfClosing:!1,name:this.convertJSXTagName(e.tagName,e),attributes:e.attributes.properties.map((e=>this.convertChild(e)))});case c.JsxClosingElement:return this.createNode(e,{type:o.AST_NODE_TYPES.JSXClosingElement,name:this.convertJSXTagName(e.tagName,e)});case c.JsxOpeningFragment:return this.createNode(e,{type:o.AST_NODE_TYPES.JSXOpeningFragment});case c.JsxClosingFragment:return this.createNode(e,{type:o.AST_NODE_TYPES.JSXClosingFragment});case c.JsxExpression:{let t=e.expression?this.convertChild(e.expression):this.createNode(e,{type:o.AST_NODE_TYPES.JSXEmptyExpression,range:[e.getStart(this.ast)+1,e.getEnd()-1]});return e.dotDotDotToken?this.createNode(e,{type:o.AST_NODE_TYPES.JSXSpreadChild,expression:t}):this.createNode(e,{type:o.AST_NODE_TYPES.JSXExpressionContainer,expression:t})}case c.JsxAttribute:return this.createNode(e,{type:o.AST_NODE_TYPES.JSXAttribute,name:this.convertJSXNamespaceOrIdentifier(e.name),value:this.convertChild(e.initializer)});case c.JsxText:{let t=e.getFullStart(),r=e.getEnd(),n=this.ast.text.slice(t,r);return this.createNode(e,{type:o.AST_NODE_TYPES.JSXText,value:(0,a.unescapeStringLiteralText)(n),raw:n,range:[t,r]})}case c.JsxSpreadAttribute:return this.createNode(e,{type:o.AST_NODE_TYPES.JSXSpreadAttribute,argument:this.convertChild(e.expression)});case c.QualifiedName:return this.createNode(e,{type:o.AST_NODE_TYPES.TSQualifiedName,left:this.convertChild(e.left),right:this.convertChild(e.right)});case c.TypeReference:return this.createNode(e,{type:o.AST_NODE_TYPES.TSTypeReference,typeName:this.convertType(e.typeName),typeParameters:e.typeArguments?this.convertTypeArgumentsToTypeParameters(e.typeArguments,e):void 0});case c.TypeParameter:return this.createNode(e,{type:o.AST_NODE_TYPES.TSTypeParameter,name:this.convertType(e.name),constraint:e.constraint?this.convertType(e.constraint):void 0,default:e.default?this.convertType(e.default):void 0});case c.ThisType:return this.createNode(e,{type:o.AST_NODE_TYPES.TSThisType});case c.AnyKeyword:case c.BigIntKeyword:case c.BooleanKeyword:case c.NeverKeyword:case c.NumberKeyword:case c.ObjectKeyword:case c.StringKeyword:case c.SymbolKeyword:case c.UnknownKeyword:case c.VoidKeyword:case c.UndefinedKeyword:case c.IntrinsicKeyword:return this.createNode(e,{type:o.AST_NODE_TYPES["TS".concat(c[e.kind])]});case c.NonNullExpression:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.TSNonNullExpression,expression:this.convertChild(e.expression)});return this.convertChainExpression(t,e)}case c.TypeLiteral:return this.createNode(e,{type:o.AST_NODE_TYPES.TSTypeLiteral,members:e.members.map((e=>this.convertChild(e)))});case c.ArrayType:return this.createNode(e,{type:o.AST_NODE_TYPES.TSArrayType,elementType:this.convertType(e.elementType)});case c.IndexedAccessType:return this.createNode(e,{type:o.AST_NODE_TYPES.TSIndexedAccessType,objectType:this.convertType(e.objectType),indexType:this.convertType(e.indexType)});case c.ConditionalType:return this.createNode(e,{type:o.AST_NODE_TYPES.TSConditionalType,checkType:this.convertType(e.checkType),extendsType:this.convertType(e.extendsType),trueType:this.convertType(e.trueType),falseType:this.convertType(e.falseType)});case c.TypeQuery:return this.createNode(e,{type:o.AST_NODE_TYPES.TSTypeQuery,exprName:this.convertType(e.exprName)});case c.MappedType:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.TSMappedType,typeParameter:this.convertType(e.typeParameter),nameType:null!==(m=this.convertType(e.nameType))&&void 0!==m?m:null});return e.readonlyToken&&(e.readonlyToken.kind===c.ReadonlyKeyword?t.readonly=!0:t.readonly=(0,a.getTextForTokenKind)(e.readonlyToken.kind)),e.questionToken&&(e.questionToken.kind===c.QuestionToken?t.optional=!0:t.optional=(0,a.getTextForTokenKind)(e.questionToken.kind)),e.type&&(t.typeAnnotation=this.convertType(e.type)),t}case c.ParenthesizedExpression:return this.convertChild(e.expression,t);case c.TypeAliasDeclaration:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.TSTypeAliasDeclaration,id:this.convertChild(e.name),typeAnnotation:this.convertType(e.type)});return(0,a.hasModifier)(c.DeclareKeyword,e)&&(t.declare=!0),e.typeParameters&&(t.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),this.fixExports(e,t)}case c.MethodSignature:return this.convertMethodSignature(e);case c.PropertySignature:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.TSPropertySignature,optional:(0,a.isOptional)(e)||void 0,computed:(0,a.isComputedProperty)(e.name),key:this.convertChild(e.name),typeAnnotation:e.type?this.convertTypeAnnotation(e.type,e):void 0,initializer:this.convertChild(e.initializer)||void 0,readonly:(0,a.hasModifier)(c.ReadonlyKeyword,e)||void 0,static:(0,a.hasModifier)(c.StaticKeyword,e)||void 0,export:(0,a.hasModifier)(c.ExportKeyword,e)||void 0}),r=(0,a.getTSNodeAccessibility)(e);return r&&(t.accessibility=r),t}case c.IndexSignature:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.TSIndexSignature,parameters:e.parameters.map((e=>this.convertChild(e)))});e.type&&(t.typeAnnotation=this.convertTypeAnnotation(e.type,e)),(0,a.hasModifier)(c.ReadonlyKeyword,e)&&(t.readonly=!0);let r=(0,a.getTSNodeAccessibility)(e);return r&&(t.accessibility=r),(0,a.hasModifier)(c.ExportKeyword,e)&&(t.export=!0),(0,a.hasModifier)(c.StaticKeyword,e)&&(t.static=!0),t}case c.ConstructorType:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.TSConstructorType,params:this.convertParameters(e.parameters),abstract:(0,a.hasModifier)(c.AbstractKeyword,e)});return e.type&&(t.returnType=this.convertTypeAnnotation(e.type,e)),e.typeParameters&&(t.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),t}case c.FunctionType:case c.ConstructSignature:case c.CallSignature:{let t=e.kind===c.ConstructSignature?o.AST_NODE_TYPES.TSConstructSignatureDeclaration:e.kind===c.CallSignature?o.AST_NODE_TYPES.TSCallSignatureDeclaration:o.AST_NODE_TYPES.TSFunctionType,r=this.createNode(e,{type:t,params:this.convertParameters(e.parameters)});return e.type&&(r.returnType=this.convertTypeAnnotation(e.type,e)),e.typeParameters&&(r.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),r}case c.ExpressionWithTypeArguments:{let r=this.createNode(e,{type:t&&t.kind===c.InterfaceDeclaration?o.AST_NODE_TYPES.TSInterfaceHeritage:o.AST_NODE_TYPES.TSClassImplements,expression:this.convertChild(e.expression)});return e.typeArguments&&(r.typeParameters=this.convertTypeArgumentsToTypeParameters(e.typeArguments,e)),r}case c.InterfaceDeclaration:{let t=null!==(g=e.heritageClauses)&&void 0!==g?g:[],r=this.createNode(e,{type:o.AST_NODE_TYPES.TSInterfaceDeclaration,body:this.createNode(e,{type:o.AST_NODE_TYPES.TSInterfaceBody,body:e.members.map((e=>this.convertChild(e))),range:[e.members.pos-1,e.end]}),id:this.convertChild(e.name)});if(e.typeParameters&&(r.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),t.length>0){let n=[],i=[];for(let r of t)if(r.token===c.ExtendsKeyword)for(let t of r.types)n.push(this.convertChild(t,e));else for(let t of r.types)i.push(this.convertChild(t,e));n.length&&(r.extends=n),i.length&&(r.implements=i)}return(0,a.hasModifier)(c.AbstractKeyword,e)&&(r.abstract=!0),(0,a.hasModifier)(c.DeclareKeyword,e)&&(r.declare=!0),this.fixExports(e,r)}case c.TypePredicate:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.TSTypePredicate,asserts:void 0!==e.assertsModifier,parameterName:this.convertChild(e.parameterName),typeAnnotation:null});return e.type&&(t.typeAnnotation=this.convertTypeAnnotation(e.type,e),t.typeAnnotation.loc=t.typeAnnotation.typeAnnotation.loc,t.typeAnnotation.range=t.typeAnnotation.typeAnnotation.range),t}case c.ImportType:return this.createNode(e,{type:o.AST_NODE_TYPES.TSImportType,isTypeOf:!!e.isTypeOf,parameter:this.convertChild(e.argument),qualifier:this.convertChild(e.qualifier),typeParameters:e.typeArguments?this.convertTypeArgumentsToTypeParameters(e.typeArguments,e):null});case c.EnumDeclaration:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.TSEnumDeclaration,id:this.convertChild(e.name),members:e.members.map((e=>this.convertChild(e)))});return this.applyModifiersToResult(t,e.modifiers),this.fixExports(e,t)}case c.EnumMember:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.TSEnumMember,id:this.convertChild(e.name)});return e.initializer&&(t.initializer=this.convertChild(e.initializer)),e.name.kind===i.SyntaxKind.ComputedPropertyName&&(t.computed=!0),t}case c.ModuleDeclaration:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.TSModuleDeclaration,id:this.convertChild(e.name)});return e.body&&(t.body=this.convertChild(e.body)),this.applyModifiersToResult(t,e.modifiers),e.flags&i.NodeFlags.GlobalAugmentation&&(t.global=!0),this.fixExports(e,t)}case c.ParenthesizedType:return this.convertType(e.type);case c.UnionType:return this.createNode(e,{type:o.AST_NODE_TYPES.TSUnionType,types:e.types.map((e=>this.convertType(e)))});case c.IntersectionType:return this.createNode(e,{type:o.AST_NODE_TYPES.TSIntersectionType,types:e.types.map((e=>this.convertType(e)))});case c.AsExpression:return this.createNode(e,{type:o.AST_NODE_TYPES.TSAsExpression,expression:this.convertChild(e.expression),typeAnnotation:this.convertType(e.type)});case c.InferType:return this.createNode(e,{type:o.AST_NODE_TYPES.TSInferType,typeParameter:this.convertType(e.typeParameter)});case c.LiteralType:return s.typescriptVersionIsAtLeast["4.0"]&&e.literal.kind===c.NullKeyword?this.createNode(e.literal,{type:o.AST_NODE_TYPES.TSNullKeyword}):this.createNode(e,{type:o.AST_NODE_TYPES.TSLiteralType,literal:this.convertType(e.literal)});case c.TypeAssertionExpression:return this.createNode(e,{type:o.AST_NODE_TYPES.TSTypeAssertion,typeAnnotation:this.convertType(e.type),expression:this.convertChild(e.expression)});case c.ImportEqualsDeclaration:return this.createNode(e,{type:o.AST_NODE_TYPES.TSImportEqualsDeclaration,id:this.convertChild(e.name),moduleReference:this.convertChild(e.moduleReference),importKind:e.isTypeOnly?"type":"value",isExport:(0,a.hasModifier)(c.ExportKeyword,e)});case c.ExternalModuleReference:return this.createNode(e,{type:o.AST_NODE_TYPES.TSExternalModuleReference,expression:this.convertChild(e.expression)});case c.NamespaceExportDeclaration:return this.createNode(e,{type:o.AST_NODE_TYPES.TSNamespaceExportDeclaration,id:this.convertChild(e.name)});case c.AbstractKeyword:return this.createNode(e,{type:o.AST_NODE_TYPES.TSAbstractKeyword});case c.TupleType:{let t="elementTypes"in e?e.elementTypes.map((e=>this.convertType(e))):e.elements.map((e=>this.convertType(e)));return this.createNode(e,{type:o.AST_NODE_TYPES.TSTupleType,elementTypes:t})}case c.NamedTupleMember:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.TSNamedTupleMember,elementType:this.convertType(e.type,e),label:this.convertChild(e.name,e),optional:null!=e.questionToken});return e.dotDotDotToken?(t.range[0]=t.label.range[0],t.loc.start=t.label.loc.start,this.createNode(e,{type:o.AST_NODE_TYPES.TSRestType,typeAnnotation:t})):t}case c.OptionalType:return this.createNode(e,{type:o.AST_NODE_TYPES.TSOptionalType,typeAnnotation:this.convertType(e.type)});case c.RestType:return this.createNode(e,{type:o.AST_NODE_TYPES.TSRestType,typeAnnotation:this.convertType(e.type)});case c.TemplateLiteralType:{let t=this.createNode(e,{type:o.AST_NODE_TYPES.TSTemplateLiteralType,quasis:[this.convertChild(e.head)],types:[]});return e.templateSpans.forEach((e=>{t.types.push(this.convertChild(e.type)),t.quasis.push(this.convertChild(e.literal))})),t}case c.ClassStaticBlockDeclaration:return this.createNode(e,{type:o.AST_NODE_TYPES.StaticBlock,body:this.convertBodyExpressions(e.body.statements,e)});case c.AssertEntry:return this.createNode(e,{type:o.AST_NODE_TYPES.ImportAttribute,key:this.convertChild(e.name),value:this.convertChild(e.value)});default:return this.deeplyCopy(e)}}}}}),Ft={};function wt(e,t){function r(){this.constructor=e}er(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function It(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function Ot(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o}function Lt(e,t){return function(r,n){t(r,n,e)}}function Mt(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function Rt(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(o,s)}c((n=n.apply(e,t||[])).next())}))}function Bt(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function jt(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function Kt(e,t){for(var r in e)"default"!==r&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Jt(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ut(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}function qt(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ut(arguments[t]));return e}function Vt(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)n[i]=a[o];return n}function zt(e){return this instanceof zt?(this.v=e,this):new zt(e)}function Wt(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),a=[];return n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n;function o(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||s(e,t)}))})}function s(e,t){try{!function(e){e.value instanceof zt?Promise.resolve(e.value.v).then(c,u):l(a[0][2],e)}(i[e](t))}catch(e){l(a[0][3],e)}}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function Ht(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:zt(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function Gt(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=Jt(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,i,(t=e[r](t)).done,t.value)}))}}}function $t(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function Yt(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function Xt(e){return e&&e.__esModule?e:{default:e}}function Qt(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function Zt(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}u(Ft,{__assign:()=>tr,__asyncDelegator:()=>Ht,__asyncGenerator:()=>Wt,__asyncValues:()=>Gt,__await:()=>zt,__awaiter:()=>Rt,__classPrivateFieldGet:()=>Qt,__classPrivateFieldSet:()=>Zt,__createBinding:()=>jt,__decorate:()=>Ot,__exportStar:()=>Kt,__extends:()=>wt,__generator:()=>Bt,__importDefault:()=>Xt,__importStar:()=>Yt,__makeTemplateObject:()=>$t,__metadata:()=>Mt,__param:()=>Lt,__read:()=>Ut,__rest:()=>It,__spread:()=>qt,__spreadArrays:()=>Vt,__values:()=>Jt});var er,tr,rr=s({"node_modules/tslib/tslib.es6.js"(){p(),er=function(e,t){return(er=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},tr=function(){return tr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},tr.apply(this,arguments)}}}),nr=c({"node_modules/tsutils/typeguard/2.8/node.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.isExpressionStatement=e.isExpression=e.isExportSpecifier=e.isExportDeclaration=e.isExportAssignment=e.isEnumMember=e.isEnumDeclaration=e.isEntityNameExpression=e.isEntityName=e.isEmptyStatement=e.isElementAccessExpression=e.isDoStatement=e.isDeleteExpression=e.isDefaultClause=e.isDecorator=e.isDebuggerStatement=e.isComputedPropertyName=e.isContinueStatement=e.isConstructSignatureDeclaration=e.isConstructorTypeNode=e.isConstructorDeclaration=e.isConditionalTypeNode=e.isConditionalExpression=e.isCommaListExpression=e.isClassLikeDeclaration=e.isClassExpression=e.isClassDeclaration=e.isCatchClause=e.isCaseOrDefaultClause=e.isCaseClause=e.isCaseBlock=e.isCallSignatureDeclaration=e.isCallLikeExpression=e.isCallExpression=e.isBreakStatement=e.isBreakOrContinueStatement=e.isBooleanLiteral=e.isBlockLike=e.isBlock=e.isBindingPattern=e.isBindingElement=e.isBinaryExpression=e.isAwaitExpression=e.isAssertionExpression=e.isAsExpression=e.isArrowFunction=e.isArrayTypeNode=e.isArrayLiteralExpression=e.isArrayBindingPattern=e.isAccessorDeclaration=void 0,e.isNamespaceImport=e.isNamespaceDeclaration=e.isNamedImports=e.isNamedExports=e.isModuleDeclaration=e.isModuleBlock=e.isMethodSignature=e.isMethodDeclaration=e.isMetaProperty=e.isMappedTypeNode=e.isLiteralTypeNode=e.isLiteralExpression=e.isLabeledStatement=e.isJsxText=e.isJsxSpreadAttribute=e.isJsxSelfClosingElement=e.isJsxOpeningLikeElement=e.isJsxOpeningFragment=e.isJsxOpeningElement=e.isJsxFragment=e.isJsxExpression=e.isJsxElement=e.isJsxClosingFragment=e.isJsxClosingElement=e.isJsxAttributes=e.isJsxAttributeLike=e.isJsxAttribute=e.isJsDoc=e.isIterationStatement=e.isIntersectionTypeNode=e.isInterfaceDeclaration=e.isInferTypeNode=e.isIndexSignatureDeclaration=e.isIndexedAccessTypeNode=e.isImportSpecifier=e.isImportEqualsDeclaration=e.isImportDeclaration=e.isImportClause=e.isIfStatement=e.isIdentifier=e.isGetAccessorDeclaration=e.isFunctionTypeNode=e.isFunctionExpression=e.isFunctionDeclaration=e.isForStatement=e.isForOfStatement=e.isForInOrOfStatement=e.isForInStatement=e.isExternalModuleReference=e.isExpressionWithTypeArguments=void 0,e.isVariableStatement=e.isVariableDeclaration=e.isUnionTypeNode=e.isTypeQueryNode=e.isTypeReferenceNode=e.isTypePredicateNode=e.isTypeParameterDeclaration=e.isTypeOperatorNode=e.isTypeOfExpression=e.isTypeLiteralNode=e.isTypeAssertion=e.isTypeAliasDeclaration=e.isTupleTypeNode=e.isTryStatement=e.isThrowStatement=e.isTextualLiteral=e.isTemplateLiteral=e.isTemplateExpression=e.isTaggedTemplateExpression=e.isSyntaxList=e.isSwitchStatement=e.isStringLiteral=e.isSpreadElement=e.isSpreadAssignment=e.isSourceFile=e.isSignatureDeclaration=e.isShorthandPropertyAssignment=e.isSetAccessorDeclaration=e.isReturnStatement=e.isRegularExpressionLiteral=e.isQualifiedName=e.isPropertySignature=e.isPropertyDeclaration=e.isPropertyAssignment=e.isPropertyAccessExpression=e.isPrefixUnaryExpression=e.isPostfixUnaryExpression=e.isParenthesizedTypeNode=e.isParenthesizedExpression=e.isParameterDeclaration=e.isOmittedExpression=e.isObjectLiteralExpression=e.isObjectBindingPattern=e.isNumericOrStringLikeLiteral=e.isNumericLiteral=e.isNullLiteral=e.isNoSubstitutionTemplateLiteral=e.isNonNullExpression=e.isNewExpression=e.isNamespaceExportDeclaration=void 0,e.isWithStatement=e.isWhileStatement=e.isVoidExpression=e.isVariableDeclarationList=void 0;var t=yt();function r(e){return e.kind===t.SyntaxKind.ModuleDeclaration}function n(e){return e.kind===t.SyntaxKind.PropertyAccessExpression}function i(e){return e.kind===t.SyntaxKind.QualifiedName}e.isAccessorDeclaration=function(e){return e.kind===t.SyntaxKind.GetAccessor||e.kind===t.SyntaxKind.SetAccessor},e.isArrayBindingPattern=function(e){return e.kind===t.SyntaxKind.ArrayBindingPattern},e.isArrayLiteralExpression=function(e){return e.kind===t.SyntaxKind.ArrayLiteralExpression},e.isArrayTypeNode=function(e){return e.kind===t.SyntaxKind.ArrayType},e.isArrowFunction=function(e){return e.kind===t.SyntaxKind.ArrowFunction},e.isAsExpression=function(e){return e.kind===t.SyntaxKind.AsExpression},e.isAssertionExpression=function(e){return e.kind===t.SyntaxKind.AsExpression||e.kind===t.SyntaxKind.TypeAssertionExpression},e.isAwaitExpression=function(e){return e.kind===t.SyntaxKind.AwaitExpression},e.isBinaryExpression=function(e){return e.kind===t.SyntaxKind.BinaryExpression},e.isBindingElement=function(e){return e.kind===t.SyntaxKind.BindingElement},e.isBindingPattern=function(e){return e.kind===t.SyntaxKind.ArrayBindingPattern||e.kind===t.SyntaxKind.ObjectBindingPattern},e.isBlock=function(e){return e.kind===t.SyntaxKind.Block},e.isBlockLike=function(e){return void 0!==e.statements},e.isBooleanLiteral=function(e){return e.kind===t.SyntaxKind.TrueKeyword||e.kind===t.SyntaxKind.FalseKeyword},e.isBreakOrContinueStatement=function(e){return e.kind===t.SyntaxKind.BreakStatement||e.kind===t.SyntaxKind.ContinueStatement},e.isBreakStatement=function(e){return e.kind===t.SyntaxKind.BreakStatement},e.isCallExpression=function(e){return e.kind===t.SyntaxKind.CallExpression},e.isCallLikeExpression=function(e){switch(e.kind){case t.SyntaxKind.CallExpression:case t.SyntaxKind.Decorator:case t.SyntaxKind.JsxOpeningElement:case t.SyntaxKind.JsxSelfClosingElement:case t.SyntaxKind.NewExpression:case t.SyntaxKind.TaggedTemplateExpression:return!0;default:return!1}},e.isCallSignatureDeclaration=function(e){return e.kind===t.SyntaxKind.CallSignature},e.isCaseBlock=function(e){return e.kind===t.SyntaxKind.CaseBlock},e.isCaseClause=function(e){return e.kind===t.SyntaxKind.CaseClause},e.isCaseOrDefaultClause=function(e){return e.kind===t.SyntaxKind.CaseClause||e.kind===t.SyntaxKind.DefaultClause},e.isCatchClause=function(e){return e.kind===t.SyntaxKind.CatchClause},e.isClassDeclaration=function(e){return e.kind===t.SyntaxKind.ClassDeclaration},e.isClassExpression=function(e){return e.kind===t.SyntaxKind.ClassExpression},e.isClassLikeDeclaration=function(e){return e.kind===t.SyntaxKind.ClassDeclaration||e.kind===t.SyntaxKind.ClassExpression},e.isCommaListExpression=function(e){return e.kind===t.SyntaxKind.CommaListExpression},e.isConditionalExpression=function(e){return e.kind===t.SyntaxKind.ConditionalExpression},e.isConditionalTypeNode=function(e){return e.kind===t.SyntaxKind.ConditionalType},e.isConstructorDeclaration=function(e){return e.kind===t.SyntaxKind.Constructor},e.isConstructorTypeNode=function(e){return e.kind===t.SyntaxKind.ConstructorType},e.isConstructSignatureDeclaration=function(e){return e.kind===t.SyntaxKind.ConstructSignature},e.isContinueStatement=function(e){return e.kind===t.SyntaxKind.ContinueStatement},e.isComputedPropertyName=function(e){return e.kind===t.SyntaxKind.ComputedPropertyName},e.isDebuggerStatement=function(e){return e.kind===t.SyntaxKind.DebuggerStatement},e.isDecorator=function(e){return e.kind===t.SyntaxKind.Decorator},e.isDefaultClause=function(e){return e.kind===t.SyntaxKind.DefaultClause},e.isDeleteExpression=function(e){return e.kind===t.SyntaxKind.DeleteExpression},e.isDoStatement=function(e){return e.kind===t.SyntaxKind.DoStatement},e.isElementAccessExpression=function(e){return e.kind===t.SyntaxKind.ElementAccessExpression},e.isEmptyStatement=function(e){return e.kind===t.SyntaxKind.EmptyStatement},e.isEntityName=function(e){return e.kind===t.SyntaxKind.Identifier||i(e)},e.isEntityNameExpression=function e(r){return r.kind===t.SyntaxKind.Identifier||n(r)&&e(r.expression)},e.isEnumDeclaration=function(e){return e.kind===t.SyntaxKind.EnumDeclaration},e.isEnumMember=function(e){return e.kind===t.SyntaxKind.EnumMember},e.isExportAssignment=function(e){return e.kind===t.SyntaxKind.ExportAssignment},e.isExportDeclaration=function(e){return e.kind===t.SyntaxKind.ExportDeclaration},e.isExportSpecifier=function(e){return e.kind===t.SyntaxKind.ExportSpecifier},e.isExpression=function(e){switch(e.kind){case t.SyntaxKind.ArrayLiteralExpression:case t.SyntaxKind.ArrowFunction:case t.SyntaxKind.AsExpression:case t.SyntaxKind.AwaitExpression:case t.SyntaxKind.BinaryExpression:case t.SyntaxKind.CallExpression:case t.SyntaxKind.ClassExpression:case t.SyntaxKind.CommaListExpression:case t.SyntaxKind.ConditionalExpression:case t.SyntaxKind.DeleteExpression:case t.SyntaxKind.ElementAccessExpression:case t.SyntaxKind.FalseKeyword:case t.SyntaxKind.FunctionExpression:case t.SyntaxKind.Identifier:case t.SyntaxKind.JsxElement:case t.SyntaxKind.JsxFragment:case t.SyntaxKind.JsxExpression:case t.SyntaxKind.JsxOpeningElement:case t.SyntaxKind.JsxOpeningFragment:case t.SyntaxKind.JsxSelfClosingElement:case t.SyntaxKind.MetaProperty:case t.SyntaxKind.NewExpression:case t.SyntaxKind.NonNullExpression:case t.SyntaxKind.NoSubstitutionTemplateLiteral:case t.SyntaxKind.NullKeyword:case t.SyntaxKind.NumericLiteral:case t.SyntaxKind.ObjectLiteralExpression:case t.SyntaxKind.OmittedExpression:case t.SyntaxKind.ParenthesizedExpression:case t.SyntaxKind.PostfixUnaryExpression:case t.SyntaxKind.PrefixUnaryExpression:case t.SyntaxKind.PropertyAccessExpression:case t.SyntaxKind.RegularExpressionLiteral:case t.SyntaxKind.SpreadElement:case t.SyntaxKind.StringLiteral:case t.SyntaxKind.SuperKeyword:case t.SyntaxKind.TaggedTemplateExpression:case t.SyntaxKind.TemplateExpression:case t.SyntaxKind.ThisKeyword:case t.SyntaxKind.TrueKeyword:case t.SyntaxKind.TypeAssertionExpression:case t.SyntaxKind.TypeOfExpression:case t.SyntaxKind.VoidExpression:case t.SyntaxKind.YieldExpression:return!0;default:return!1}},e.isExpressionStatement=function(e){return e.kind===t.SyntaxKind.ExpressionStatement},e.isExpressionWithTypeArguments=function(e){return e.kind===t.SyntaxKind.ExpressionWithTypeArguments},e.isExternalModuleReference=function(e){return e.kind===t.SyntaxKind.ExternalModuleReference},e.isForInStatement=function(e){return e.kind===t.SyntaxKind.ForInStatement},e.isForInOrOfStatement=function(e){return e.kind===t.SyntaxKind.ForOfStatement||e.kind===t.SyntaxKind.ForInStatement},e.isForOfStatement=function(e){return e.kind===t.SyntaxKind.ForOfStatement},e.isForStatement=function(e){return e.kind===t.SyntaxKind.ForStatement},e.isFunctionDeclaration=function(e){return e.kind===t.SyntaxKind.FunctionDeclaration},e.isFunctionExpression=function(e){return e.kind===t.SyntaxKind.FunctionExpression},e.isFunctionTypeNode=function(e){return e.kind===t.SyntaxKind.FunctionType},e.isGetAccessorDeclaration=function(e){return e.kind===t.SyntaxKind.GetAccessor},e.isIdentifier=function(e){return e.kind===t.SyntaxKind.Identifier},e.isIfStatement=function(e){return e.kind===t.SyntaxKind.IfStatement},e.isImportClause=function(e){return e.kind===t.SyntaxKind.ImportClause},e.isImportDeclaration=function(e){return e.kind===t.SyntaxKind.ImportDeclaration},e.isImportEqualsDeclaration=function(e){return e.kind===t.SyntaxKind.ImportEqualsDeclaration},e.isImportSpecifier=function(e){return e.kind===t.SyntaxKind.ImportSpecifier},e.isIndexedAccessTypeNode=function(e){return e.kind===t.SyntaxKind.IndexedAccessType},e.isIndexSignatureDeclaration=function(e){return e.kind===t.SyntaxKind.IndexSignature},e.isInferTypeNode=function(e){return e.kind===t.SyntaxKind.InferType},e.isInterfaceDeclaration=function(e){return e.kind===t.SyntaxKind.InterfaceDeclaration},e.isIntersectionTypeNode=function(e){return e.kind===t.SyntaxKind.IntersectionType},e.isIterationStatement=function(e){switch(e.kind){case t.SyntaxKind.ForStatement:case t.SyntaxKind.ForOfStatement:case t.SyntaxKind.ForInStatement:case t.SyntaxKind.WhileStatement:case t.SyntaxKind.DoStatement:return!0;default:return!1}},e.isJsDoc=function(e){return e.kind===t.SyntaxKind.JSDocComment},e.isJsxAttribute=function(e){return e.kind===t.SyntaxKind.JsxAttribute},e.isJsxAttributeLike=function(e){return e.kind===t.SyntaxKind.JsxAttribute||e.kind===t.SyntaxKind.JsxSpreadAttribute},e.isJsxAttributes=function(e){return e.kind===t.SyntaxKind.JsxAttributes},e.isJsxClosingElement=function(e){return e.kind===t.SyntaxKind.JsxClosingElement},e.isJsxClosingFragment=function(e){return e.kind===t.SyntaxKind.JsxClosingFragment},e.isJsxElement=function(e){return e.kind===t.SyntaxKind.JsxElement},e.isJsxExpression=function(e){return e.kind===t.SyntaxKind.JsxExpression},e.isJsxFragment=function(e){return e.kind===t.SyntaxKind.JsxFragment},e.isJsxOpeningElement=function(e){return e.kind===t.SyntaxKind.JsxOpeningElement},e.isJsxOpeningFragment=function(e){return e.kind===t.SyntaxKind.JsxOpeningFragment},e.isJsxOpeningLikeElement=function(e){return e.kind===t.SyntaxKind.JsxOpeningElement||e.kind===t.SyntaxKind.JsxSelfClosingElement},e.isJsxSelfClosingElement=function(e){return e.kind===t.SyntaxKind.JsxSelfClosingElement},e.isJsxSpreadAttribute=function(e){return e.kind===t.SyntaxKind.JsxSpreadAttribute},e.isJsxText=function(e){return e.kind===t.SyntaxKind.JsxText},e.isLabeledStatement=function(e){return e.kind===t.SyntaxKind.LabeledStatement},e.isLiteralExpression=function(e){return e.kind>=t.SyntaxKind.FirstLiteralToken&&e.kind<=t.SyntaxKind.LastLiteralToken},e.isLiteralTypeNode=function(e){return e.kind===t.SyntaxKind.LiteralType},e.isMappedTypeNode=function(e){return e.kind===t.SyntaxKind.MappedType},e.isMetaProperty=function(e){return e.kind===t.SyntaxKind.MetaProperty},e.isMethodDeclaration=function(e){return e.kind===t.SyntaxKind.MethodDeclaration},e.isMethodSignature=function(e){return e.kind===t.SyntaxKind.MethodSignature},e.isModuleBlock=function(e){return e.kind===t.SyntaxKind.ModuleBlock},e.isModuleDeclaration=r,e.isNamedExports=function(e){return e.kind===t.SyntaxKind.NamedExports},e.isNamedImports=function(e){return e.kind===t.SyntaxKind.NamedImports},e.isNamespaceDeclaration=function e(n){return r(n)&&n.name.kind===t.SyntaxKind.Identifier&&void 0!==n.body&&(n.body.kind===t.SyntaxKind.ModuleBlock||e(n.body))},e.isNamespaceImport=function(e){return e.kind===t.SyntaxKind.NamespaceImport},e.isNamespaceExportDeclaration=function(e){return e.kind===t.SyntaxKind.NamespaceExportDeclaration},e.isNewExpression=function(e){return e.kind===t.SyntaxKind.NewExpression},e.isNonNullExpression=function(e){return e.kind===t.SyntaxKind.NonNullExpression},e.isNoSubstitutionTemplateLiteral=function(e){return e.kind===t.SyntaxKind.NoSubstitutionTemplateLiteral},e.isNullLiteral=function(e){return e.kind===t.SyntaxKind.NullKeyword},e.isNumericLiteral=function(e){return e.kind===t.SyntaxKind.NumericLiteral},e.isNumericOrStringLikeLiteral=function(e){switch(e.kind){case t.SyntaxKind.StringLiteral:case t.SyntaxKind.NumericLiteral:case t.SyntaxKind.NoSubstitutionTemplateLiteral:return!0;default:return!1}},e.isObjectBindingPattern=function(e){return e.kind===t.SyntaxKind.ObjectBindingPattern},e.isObjectLiteralExpression=function(e){return e.kind===t.SyntaxKind.ObjectLiteralExpression},e.isOmittedExpression=function(e){return e.kind===t.SyntaxKind.OmittedExpression},e.isParameterDeclaration=function(e){return e.kind===t.SyntaxKind.Parameter},e.isParenthesizedExpression=function(e){return e.kind===t.SyntaxKind.ParenthesizedExpression},e.isParenthesizedTypeNode=function(e){return e.kind===t.SyntaxKind.ParenthesizedType},e.isPostfixUnaryExpression=function(e){return e.kind===t.SyntaxKind.PostfixUnaryExpression},e.isPrefixUnaryExpression=function(e){return e.kind===t.SyntaxKind.PrefixUnaryExpression},e.isPropertyAccessExpression=n,e.isPropertyAssignment=function(e){return e.kind===t.SyntaxKind.PropertyAssignment},e.isPropertyDeclaration=function(e){return e.kind===t.SyntaxKind.PropertyDeclaration},e.isPropertySignature=function(e){return e.kind===t.SyntaxKind.PropertySignature},e.isQualifiedName=i,e.isRegularExpressionLiteral=function(e){return e.kind===t.SyntaxKind.RegularExpressionLiteral},e.isReturnStatement=function(e){return e.kind===t.SyntaxKind.ReturnStatement},e.isSetAccessorDeclaration=function(e){return e.kind===t.SyntaxKind.SetAccessor},e.isShorthandPropertyAssignment=function(e){return e.kind===t.SyntaxKind.ShorthandPropertyAssignment},e.isSignatureDeclaration=function(e){return void 0!==e.parameters},e.isSourceFile=function(e){return e.kind===t.SyntaxKind.SourceFile},e.isSpreadAssignment=function(e){return e.kind===t.SyntaxKind.SpreadAssignment},e.isSpreadElement=function(e){return e.kind===t.SyntaxKind.SpreadElement},e.isStringLiteral=function(e){return e.kind===t.SyntaxKind.StringLiteral},e.isSwitchStatement=function(e){return e.kind===t.SyntaxKind.SwitchStatement},e.isSyntaxList=function(e){return e.kind===t.SyntaxKind.SyntaxList},e.isTaggedTemplateExpression=function(e){return e.kind===t.SyntaxKind.TaggedTemplateExpression},e.isTemplateExpression=function(e){return e.kind===t.SyntaxKind.TemplateExpression},e.isTemplateLiteral=function(e){return e.kind===t.SyntaxKind.TemplateExpression||e.kind===t.SyntaxKind.NoSubstitutionTemplateLiteral},e.isTextualLiteral=function(e){return e.kind===t.SyntaxKind.StringLiteral||e.kind===t.SyntaxKind.NoSubstitutionTemplateLiteral},e.isThrowStatement=function(e){return e.kind===t.SyntaxKind.ThrowStatement},e.isTryStatement=function(e){return e.kind===t.SyntaxKind.TryStatement},e.isTupleTypeNode=function(e){return e.kind===t.SyntaxKind.TupleType},e.isTypeAliasDeclaration=function(e){return e.kind===t.SyntaxKind.TypeAliasDeclaration},e.isTypeAssertion=function(e){return e.kind===t.SyntaxKind.TypeAssertionExpression},e.isTypeLiteralNode=function(e){return e.kind===t.SyntaxKind.TypeLiteral},e.isTypeOfExpression=function(e){return e.kind===t.SyntaxKind.TypeOfExpression},e.isTypeOperatorNode=function(e){return e.kind===t.SyntaxKind.TypeOperator},e.isTypeParameterDeclaration=function(e){return e.kind===t.SyntaxKind.TypeParameter},e.isTypePredicateNode=function(e){return e.kind===t.SyntaxKind.TypePredicate},e.isTypeReferenceNode=function(e){return e.kind===t.SyntaxKind.TypeReference},e.isTypeQueryNode=function(e){return e.kind===t.SyntaxKind.TypeQuery},e.isUnionTypeNode=function(e){return e.kind===t.SyntaxKind.UnionType},e.isVariableDeclaration=function(e){return e.kind===t.SyntaxKind.VariableDeclaration},e.isVariableStatement=function(e){return e.kind===t.SyntaxKind.VariableStatement},e.isVariableDeclarationList=function(e){return e.kind===t.SyntaxKind.VariableDeclarationList},e.isVoidExpression=function(e){return e.kind===t.SyntaxKind.VoidExpression},e.isWhileStatement=function(e){return e.kind===t.SyntaxKind.WhileStatement},e.isWithStatement=function(e){return e.kind===t.SyntaxKind.WithStatement}}}),ir=c({"node_modules/tsutils/typeguard/2.9/node.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.isImportTypeNode=void 0,(rr(),l(Ft)).__exportStar(nr(),e);var t=yt();e.isImportTypeNode=function(e){return e.kind===t.SyntaxKind.ImportType}}}),ar=c({"node_modules/tsutils/typeguard/3.0/node.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.isSyntheticExpression=e.isRestTypeNode=e.isOptionalTypeNode=void 0,(rr(),l(Ft)).__exportStar(ir(),e);var t=yt();e.isOptionalTypeNode=function(e){return e.kind===t.SyntaxKind.OptionalType},e.isRestTypeNode=function(e){return e.kind===t.SyntaxKind.RestType},e.isSyntheticExpression=function(e){return e.kind===t.SyntaxKind.SyntheticExpression}}}),or=c({"node_modules/tsutils/typeguard/3.2/node.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.isBigIntLiteral=void 0,(rr(),l(Ft)).__exportStar(ar(),e);var t=yt();e.isBigIntLiteral=function(e){return e.kind===t.SyntaxKind.BigIntLiteral}}}),sr=c({"node_modules/tsutils/typeguard/node.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),(rr(),l(Ft)).__exportStar(or(),e)}}),cr=c({"node_modules/tsutils/typeguard/2.8/type.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.isUniqueESSymbolType=e.isUnionType=e.isUnionOrIntersectionType=e.isTypeVariable=e.isTypeReference=e.isTypeParameter=e.isSubstitutionType=e.isObjectType=e.isLiteralType=e.isIntersectionType=e.isInterfaceType=e.isInstantiableType=e.isIndexedAccessype=e.isIndexedAccessType=e.isGenericType=e.isEnumType=e.isConditionalType=void 0;var t=yt();e.isConditionalType=function(e){return 0!=(e.flags&t.TypeFlags.Conditional)},e.isEnumType=function(e){return 0!=(e.flags&t.TypeFlags.Enum)},e.isGenericType=function(e){return 0!=(e.flags&t.TypeFlags.Object)&&0!=(e.objectFlags&t.ObjectFlags.ClassOrInterface)&&0!=(e.objectFlags&t.ObjectFlags.Reference)},e.isIndexedAccessType=function(e){return 0!=(e.flags&t.TypeFlags.IndexedAccess)},e.isIndexedAccessype=function(e){return 0!=(e.flags&t.TypeFlags.Index)},e.isInstantiableType=function(e){return 0!=(e.flags&t.TypeFlags.Instantiable)},e.isInterfaceType=function(e){return 0!=(e.flags&t.TypeFlags.Object)&&0!=(e.objectFlags&t.ObjectFlags.ClassOrInterface)},e.isIntersectionType=function(e){return 0!=(e.flags&t.TypeFlags.Intersection)},e.isLiteralType=function(e){return 0!=(e.flags&(t.TypeFlags.StringOrNumberLiteral|t.TypeFlags.BigIntLiteral))},e.isObjectType=function(e){return 0!=(e.flags&t.TypeFlags.Object)},e.isSubstitutionType=function(e){return 0!=(e.flags&t.TypeFlags.Substitution)},e.isTypeParameter=function(e){return 0!=(e.flags&t.TypeFlags.TypeParameter)},e.isTypeReference=function(e){return 0!=(e.flags&t.TypeFlags.Object)&&0!=(e.objectFlags&t.ObjectFlags.Reference)},e.isTypeVariable=function(e){return 0!=(e.flags&t.TypeFlags.TypeVariable)},e.isUnionOrIntersectionType=function(e){return 0!=(e.flags&t.TypeFlags.UnionOrIntersection)},e.isUnionType=function(e){return 0!=(e.flags&t.TypeFlags.Union)},e.isUniqueESSymbolType=function(e){return 0!=(e.flags&t.TypeFlags.UniqueESSymbol)}}}),ur=c({"node_modules/tsutils/typeguard/2.9/type.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),(rr(),l(Ft)).__exportStar(cr(),e)}}),lr=c({"node_modules/tsutils/typeguard/3.0/type.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.isTupleTypeReference=e.isTupleType=void 0,(rr(),l(Ft)).__exportStar(ur(),e);var t=yt(),r=ur();function n(e){return 0!==(e.flags&t.TypeFlags.Object&&e.objectFlags&t.ObjectFlags.Tuple)}e.isTupleType=n,e.isTupleTypeReference=function(e){return r.isTypeReference(e)&&n(e.target)}}}),pr=c({"node_modules/tsutils/typeguard/3.2/type.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),(rr(),l(Ft)).__exportStar(lr(),e)}}),dr=c({"node_modules/tsutils/typeguard/3.2/index.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0});var t=(rr(),l(Ft));t.__exportStar(or(),e),t.__exportStar(pr(),e)}}),fr=c({"node_modules/tsutils/typeguard/type.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),(rr(),l(Ft)).__exportStar(pr(),e)}}),_r=c({"node_modules/tsutils/util/type.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.getBaseClassMemberOfClassElement=e.getIteratorYieldResultFromIteratorResult=e.getInstanceTypeOfClassLikeDeclaration=e.getConstructorTypeOfClassLikeDeclaration=e.getSymbolOfClassLikeDeclaration=e.getPropertyNameFromType=e.symbolHasReadonlyDeclaration=e.isPropertyReadonlyInType=e.getWellKnownSymbolPropertyOfType=e.getPropertyOfType=e.isBooleanLiteralType=e.isFalsyType=e.isThenableType=e.someTypePart=e.intersectionTypeParts=e.unionTypeParts=e.getCallSignaturesOfType=e.isTypeAssignableToString=e.isTypeAssignableToNumber=e.isOptionalChainingUndefinedMarkerType=e.removeOptionalChainingUndefinedMarkerType=e.removeOptionalityFromType=e.isEmptyObjectType=void 0;var t=yt(),r=fr(),n=mr(),i=sr();function a(e,r){if(!o(r,t.TypeFlags.Undefined))return r;let n=o(r,t.TypeFlags.Null);return r=e.getNonNullableType(r),n?e.getNullableType(r,t.TypeFlags.Null):r}function o(e,t){for(let r of u(e))if(n.isTypeFlagSet(r,t))return!0;return!1}function s(e,r){return n.isTypeFlagSet(r,t.TypeFlags.Undefined)&&e.getNullableType(r.getNonNullableType(),t.TypeFlags.Undefined)!==r}function c(e,i,a){let o;return a|=t.TypeFlags.Any,function t(i){if(r.isTypeParameter(i)&&void 0!==i.symbol&&void 0!==i.symbol.declarations){if(void 0===o)o=new Set([i]);else{if(o.has(i))return!1;o.add(i)}let r=i.symbol.declarations[0];return void 0===r.constraint||t(e.getTypeFromTypeNode(r.constraint))}return r.isUnionType(i)?i.types.every(t):r.isIntersectionType(i)?i.types.some(t):n.isTypeFlagSet(i,a)}(i)}function u(e){return r.isUnionType(e)?e.types:[e]}function l(e,t,r){return t(e)?e.types.some(r):r(e)}function d(e,t,r){let n=e.getApparentType(e.getTypeOfSymbolAtLocation(t,r));if(t.valueDeclaration.dotDotDotToken&&(n=n.getNumberIndexType(),void 0===n))return!1;for(let e of u(n))if(0!==e.getCallSignatures().length)return!0;return!1}function f(e,r){return n.isTypeFlagSet(e,t.TypeFlags.BooleanLiteral)&&e.intrinsicName===(r?"true":"false")}function _(e,t){return t.startsWith("__")?e.getProperties().find((e=>e.escapedName===t)):e.getProperty(t)}function m(e,t,n){let i=t&&e.getTypeOfSymbolAtLocation(t,t.valueDeclaration).getProperty(n),a=i&&e.getTypeOfSymbolAtLocation(i,i.valueDeclaration);return a&&r.isUniqueESSymbolType(a)?a.escapedName:"__@"+n}function g(e,r,i){let a=!1,o=!1;for(let s of u(e))if(void 0===_(s,r)){let e=(n.isNumericPropertyName(r)?i.getIndexInfoOfType(s,t.IndexKind.Number):void 0)||i.getIndexInfoOfType(s,t.IndexKind.String);if(void 0!==e&&e.isReadonly){if(a)return!0;o=!0}}else{if(o||h(s,r,i))return!0;a=!0}return!1}function h(e,i,a){return l(e,r.isIntersectionType,(e=>{let o=_(e,i);if(void 0===o)return!1;if(o.flags&t.SymbolFlags.Transient){if(/^(?:[1-9]\d*|0)$/.test(i)&&r.isTupleTypeReference(e))return e.target.readonly;switch(function(e,i,a){if(!r.isObjectType(e)||!n.isObjectFlagSet(e,t.ObjectFlags.Mapped))return;let o=e.symbol.declarations[0];return void 0===o.readonlyToken||/^__@[^@]+$/.test(i)?g(e.modifiersType,i,a):o.readonlyToken.kind!==t.SyntaxKind.MinusToken}(e,i,a)){case!0:return!0;case!1:return!1}}return n.isSymbolFlagSet(o,t.SymbolFlags.ValueModule)||y(o,a)}))}function y(e,r){return(e.flags&t.SymbolFlags.Accessor)===t.SymbolFlags.GetAccessor||void 0!==e.declarations&&e.declarations.some((e=>n.isModifierFlagSet(e,t.ModifierFlags.Readonly)||i.isVariableDeclaration(e)&&n.isNodeFlagSet(e.parent,t.NodeFlags.Const)||i.isCallExpression(e)&&n.isReadonlyAssignmentDeclaration(e,r)||i.isEnumMember(e)||(i.isPropertyAssignment(e)||i.isShorthandPropertyAssignment(e))&&n.isInConstContext(e.parent)))}function v(e){return n.isSymbolFlagSet(e,t.SymbolFlags.Property)&&void 0!==e.valueDeclaration&&i.isInterfaceDeclaration(e.valueDeclaration.parent)&&"SymbolConstructor"===e.valueDeclaration.parent.name.text&&function(e){return n.isNodeFlagSet(e.parent,t.NodeFlags.GlobalAugmentation)||i.isSourceFile(e.parent)&&!t.isExternalModule(e.parent)}(e.valueDeclaration.parent)}function D(e,r){var i;return r.getSymbolAtLocation(null!==(i=e.name)&&void 0!==i?i:n.getChildOfKind(e,t.SyntaxKind.ClassKeyword))}e.isEmptyObjectType=function e(n){if(r.isObjectType(n)&&n.objectFlags&t.ObjectFlags.Anonymous&&0===n.getProperties().length&&0===n.getCallSignatures().length&&0===n.getConstructSignatures().length&&void 0===n.getStringIndexType()&&void 0===n.getNumberIndexType()){let t=n.getBaseTypes();return void 0===t||t.every(e)}return!1},e.removeOptionalityFromType=a,e.removeOptionalChainingUndefinedMarkerType=function(e,t){if(!r.isUnionType(t))return s(e,t)?t.getNonNullableType():t;let n=0,i=!1;for(let r of t.types)s(e,r)?i=!0:n|=r.flags;return i?e.getNullableType(t.getNonNullableType(),n):t},e.isOptionalChainingUndefinedMarkerType=s,e.isTypeAssignableToNumber=function(e,r){return c(e,r,t.TypeFlags.NumberLike)},e.isTypeAssignableToString=function(e,r){return c(e,r,t.TypeFlags.StringLike)},e.getCallSignaturesOfType=function e(t){if(r.isUnionType(t)){let r=[];for(let n of t.types)r.push(...e(n));return r}if(r.isIntersectionType(t)){let r;for(let n of t.types){let t=e(n);if(0!==t.length){if(void 0!==r)return[];r=t}}return void 0===r?[]:r}return t.getCallSignatures()},e.unionTypeParts=u,e.intersectionTypeParts=function(e){return r.isIntersectionType(e)?e.types:[e]},e.someTypePart=l,e.isThenableType=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.getTypeAtLocation(t);for(let n of u(e.getApparentType(r))){let r=n.getProperty("then");if(void 0===r)continue;let i=e.getTypeOfSymbolAtLocation(r,t);for(let r of u(i))for(let n of r.getCallSignatures())if(0!==n.parameters.length&&d(e,n.parameters[0],t))return!0}return!1},e.isFalsyType=function(e){return!!(e.flags&(t.TypeFlags.Undefined|t.TypeFlags.Null|t.TypeFlags.Void))||(r.isLiteralType(e)?!e.value:f(e,!1))},e.isBooleanLiteralType=f,e.getPropertyOfType=_,e.getWellKnownSymbolPropertyOfType=function(e,t,r){let n="__@"+t;for(let i of e.getProperties()){if(!i.name.startsWith(n))continue;let e=r.getApparentType(r.getTypeAtLocation(i.valueDeclaration.name.expression)).symbol;if(i.escapedName===m(r,e,t))return i}},e.isPropertyReadonlyInType=g,e.symbolHasReadonlyDeclaration=y,e.getPropertyNameFromType=function(e){if(e.flags&(t.TypeFlags.StringLiteral|t.TypeFlags.NumberLiteral)){let r=String(e.value);return{displayName:r,symbolName:t.escapeLeadingUnderscores(r)}}if(r.isUniqueESSymbolType(e))return{displayName:"[".concat(e.symbol?"".concat(v(e.symbol)?"Symbol.":"").concat(e.symbol.name):e.escapedName.replace(/^__@|@\d+$/g,""),"]"),symbolName:e.escapedName}},e.getSymbolOfClassLikeDeclaration=D,e.getConstructorTypeOfClassLikeDeclaration=function(e,r){return e.kind===t.SyntaxKind.ClassExpression?r.getTypeAtLocation(e):r.getTypeOfSymbolAtLocation(D(e,r),e)},e.getInstanceTypeOfClassLikeDeclaration=function(e,r){return e.kind===t.SyntaxKind.ClassDeclaration?r.getTypeAtLocation(e):r.getDeclaredTypeOfSymbol(D(e,r))},e.getIteratorYieldResultFromIteratorResult=function(e,t,n){return r.isUnionType(e)&&e.types.find((e=>{let r=e.getProperty("done");return void 0!==r&&f(a(n,n.getTypeOfSymbolAtLocation(r,t)),!1)}))||e},e.getBaseClassMemberOfClassElement=function(e,r){if(!i.isClassLikeDeclaration(e.parent))return;let a=n.getBaseOfClassLikeExpression(e.parent);if(void 0===a)return;let o=n.getSingleLateBoundPropertyNameOfPropertyName(e.name,r);return void 0!==o?_(r.getTypeAtLocation(n.hasModifier(e.modifiers,t.SyntaxKind.StaticKeyword)?a.expression:a),o.symbolName):void 0}}}),mr=c({"node_modules/tsutils/util/util.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.isValidIdentifier=e.getLineBreakStyle=e.getLineRanges=e.forEachComment=e.forEachTokenWithTrivia=e.forEachToken=e.isFunctionWithBody=e.hasOwnThisReference=e.isBlockScopeBoundary=e.isFunctionScopeBoundary=e.isTypeScopeBoundary=e.isScopeBoundary=e.ScopeBoundarySelector=e.ScopeBoundary=e.isInSingleStatementContext=e.isBlockScopedDeclarationStatement=e.isBlockScopedVariableDeclaration=e.isBlockScopedVariableDeclarationList=e.getVariableDeclarationKind=e.VariableDeclarationKind=e.forEachDeclaredVariable=e.forEachDestructuringIdentifier=e.getPropertyName=e.getWrappedNodeAtPosition=e.getAstNodeAtPosition=e.commentText=e.isPositionInComment=e.getCommentAtPosition=e.getTokenAtPosition=e.getNextToken=e.getPreviousToken=e.getNextStatement=e.getPreviousStatement=e.isModifierFlagSet=e.isObjectFlagSet=e.isSymbolFlagSet=e.isTypeFlagSet=e.isNodeFlagSet=e.hasAccessModifier=e.isParameterProperty=e.hasModifier=e.getModifier=e.isThisParameter=e.isKeywordKind=e.isJsDocKind=e.isTypeNodeKind=e.isAssignmentKind=e.isNodeKind=e.isTokenKind=e.getChildOfKind=void 0,e.getBaseOfClassLikeExpression=e.hasExhaustiveCaseClauses=e.formatPseudoBigInt=e.unwrapParentheses=e.getSingleLateBoundPropertyNameOfPropertyName=e.getLateBoundPropertyNamesOfPropertyName=e.getLateBoundPropertyNames=e.getPropertyNameOfWellKnownSymbol=e.isWellKnownSymbolLiterally=e.isBindableObjectDefinePropertyCall=e.isReadonlyAssignmentDeclaration=e.isInConstContext=e.isConstAssertion=e.getTsCheckDirective=e.getCheckJsDirective=e.isAmbientModule=e.isCompilerOptionEnabled=e.isStrictCompilerOptionEnabled=e.getIIFE=e.isAmbientModuleBlock=e.isStatementInAmbientContext=e.findImportLikeNodes=e.findImports=e.ImportKind=e.parseJsDocOfNode=e.getJsDoc=e.canHaveJsDoc=e.isReassignmentTarget=e.getAccessKind=e.AccessKind=e.isExpressionValueUsed=e.getDeclarationOfBindingElement=e.hasSideEffects=e.SideEffectOptions=e.isSameLine=e.isNumericPropertyName=e.isValidJsxIdentifier=e.isValidNumericLiteral=e.isValidPropertyName=e.isValidPropertyAccess=void 0;var t,r,n=yt(),i=sr(),a=dr(),o=_r();function s(e){return e>=n.SyntaxKind.FirstToken&&e<=n.SyntaxKind.LastToken}function c(e){return e>=n.SyntaxKind.FirstNode}function u(e){return e>=n.SyntaxKind.FirstAssignment&&e<=n.SyntaxKind.LastAssignment}function l(e){if(void 0===e)return!1;for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of e)if(r.includes(t.kind))return!0;return!1}function d(e,t){return 0!=(e.flags&t)}function f(e,t){return 0!=(n.getCombinedModifierFlags(e)&t)}function _(e,t,r,n){if(!(t<e.pos||t>=e.end))return s(e.kind)?e:m(e,t,null!=r?r:e.getSourceFile(),!0===n)}function m(e,t,r,i){if(!i&&s((e=y(e,t)).kind))return e;e:for(;;){for(let a of e.getChildren(r))if(a.end>t&&(i||a.kind!==n.SyntaxKind.JSDocComment)){if(s(a.kind))return a;e=a;continue e}return}}function g(e,t){let r=_(arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,t,e);if(void 0===r||r.kind===n.SyntaxKind.JsxText||t>=r.end-(n.tokenToString(r.kind)||"").length)return;let i=0===r.pos?(n.getShebang(e.text)||"").length:r.pos;return 0!==i&&n.forEachTrailingCommentRange(e.text,i,h,t)||n.forEachLeadingCommentRange(e.text,i,h,t)}function h(e,t,r,n,i){return i>=e&&i<t?{pos:e,end:t,kind:r}:void 0}function y(e,t){if(!(e.pos>t||e.end<=t)){for(;c(e.kind);){let r=n.forEachChild(e,(e=>e.pos<=t&&e.end>t?e:void 0));if(void 0===r)break;e=r}return e}}function v(e){if(e.kind===n.SyntaxKind.ComputedPropertyName){let t=G(e.expression);if(i.isPrefixUnaryExpression(t)){let e=!1;switch(t.operator){case n.SyntaxKind.MinusToken:e=!0;case n.SyntaxKind.PlusToken:return i.isNumericLiteral(t.operand)?"".concat(e?"-":"").concat(t.operand.text):a.isBigIntLiteral(t.operand)?"".concat(e?"-":"").concat(t.operand.text.slice(0,-1)):void 0;default:return}}return a.isBigIntLiteral(t)?t.text.slice(0,-1):i.isNumericOrStringLikeLiteral(t)?t.text:void 0}return e.kind===n.SyntaxKind.PrivateIdentifier?void 0:e.text}function D(e,t){for(let r of e.elements){if(r.kind!==n.SyntaxKind.BindingElement)continue;let e;if(e=r.name.kind===n.SyntaxKind.Identifier?t(r):D(r.name,t),e)return e}}function b(e){return 0!=(e.flags&n.NodeFlags.BlockScoped)}function x(e){switch(e.kind){case n.SyntaxKind.InterfaceDeclaration:case n.SyntaxKind.TypeAliasDeclaration:case n.SyntaxKind.MappedType:return 4;case n.SyntaxKind.ConditionalType:return 8;default:return 0}}function E(e){switch(e.kind){case n.SyntaxKind.FunctionExpression:case n.SyntaxKind.ArrowFunction:case n.SyntaxKind.Constructor:case n.SyntaxKind.ModuleDeclaration:case n.SyntaxKind.ClassDeclaration:case n.SyntaxKind.ClassExpression:case n.SyntaxKind.EnumDeclaration:case n.SyntaxKind.MethodDeclaration:case n.SyntaxKind.FunctionDeclaration:case n.SyntaxKind.GetAccessor:case n.SyntaxKind.SetAccessor:case n.SyntaxKind.MethodSignature:case n.SyntaxKind.CallSignature:case n.SyntaxKind.ConstructSignature:case n.SyntaxKind.ConstructorType:case n.SyntaxKind.FunctionType:return 1;case n.SyntaxKind.SourceFile:return n.isExternalModule(e)?1:0;default:return 0}}function S(e){switch(e.kind){case n.SyntaxKind.Block:let t=e.parent;return t.kind===n.SyntaxKind.CatchClause||t.kind!==n.SyntaxKind.SourceFile&&E(t)?0:2;case n.SyntaxKind.ForStatement:case n.SyntaxKind.ForInStatement:case n.SyntaxKind.ForOfStatement:case n.SyntaxKind.CaseBlock:case n.SyntaxKind.CatchClause:case n.SyntaxKind.WithStatement:return 2;default:return 0}}function C(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.getSourceFile(),i=[];for(;;){if(s(e.kind))t(e);else if(e.kind!==n.SyntaxKind.JSDocComment){let t=e.getChildren(r);if(1===t.length){e=t[0];continue}for(let e=t.length-1;e>=0;--e)i.push(t[e])}if(0===i.length)break;e=i.pop()}}function T(e){switch(e.kind){case n.SyntaxKind.CloseBraceToken:return e.parent.kind!==n.SyntaxKind.JsxExpression||!k(e.parent.parent);case n.SyntaxKind.GreaterThanToken:switch(e.parent.kind){case n.SyntaxKind.JsxOpeningElement:return e.end!==e.parent.end;case n.SyntaxKind.JsxOpeningFragment:return!1;case n.SyntaxKind.JsxSelfClosingElement:return e.end!==e.parent.end||!k(e.parent.parent);case n.SyntaxKind.JsxClosingElement:case n.SyntaxKind.JsxClosingFragment:return!k(e.parent.parent.parent)}}return!0}function k(e){return e.kind===n.SyntaxKind.JsxElement||e.kind===n.SyntaxKind.JsxFragment}function A(e,t){return void 0===r?r=n.createScanner(t,!1,void 0,e):(r.setScriptTarget(t),r.setText(e)),r.scan(),r}function N(e){return e>=65536?2:1}function P(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.ScriptTarget.Latest;if(0===e.length)return!1;let r=e.codePointAt(0);if(!n.isIdentifierStart(r,t))return!1;for(let i=N(r);i<e.length;i+=N(r))if(r=e.codePointAt(i),!n.isIdentifierPart(r,t))return!1;return!0}function F(e,t,r){return n.getLineAndCharacterOfPosition(e,t).line===n.getLineAndCharacterOfPosition(e,r).line}function w(e){switch(e.kind){case n.SyntaxKind.ShorthandPropertyAssignment:if(void 0!==e.objectAssignmentInitializer)return!0;case n.SyntaxKind.PropertyAssignment:case n.SyntaxKind.SpreadAssignment:e=e.parent;break;case n.SyntaxKind.SpreadElement:if(e.parent.kind!==n.SyntaxKind.ArrayLiteralExpression)return!1;e=e.parent}for(;;)switch(e.parent.kind){case n.SyntaxKind.BinaryExpression:return e.parent.left===e&&e.parent.operatorToken.kind===n.SyntaxKind.EqualsToken;case n.SyntaxKind.ForOfStatement:return e.parent.initializer===e;case n.SyntaxKind.ArrayLiteralExpression:case n.SyntaxKind.ObjectLiteralExpression:e=e.parent;break;case n.SyntaxKind.SpreadAssignment:case n.SyntaxKind.PropertyAssignment:e=e.parent.parent;break;case n.SyntaxKind.SpreadElement:if(e.parent.parent.kind!==n.SyntaxKind.ArrayLiteralExpression)return!1;e=e.parent.parent;break;default:return!1}}function I(e){let t=e.parent;switch(t.kind){case n.SyntaxKind.DeleteExpression:return 4;case n.SyntaxKind.PostfixUnaryExpression:return 3;case n.SyntaxKind.PrefixUnaryExpression:return t.operator===n.SyntaxKind.PlusPlusToken||t.operator===n.SyntaxKind.MinusMinusToken?3:1;case n.SyntaxKind.BinaryExpression:return t.right===e?1:u(t.operatorToken.kind)?t.operatorToken.kind===n.SyntaxKind.EqualsToken?2:3:1;case n.SyntaxKind.ShorthandPropertyAssignment:return t.objectAssignmentInitializer===e?1:w(t)?2:1;case n.SyntaxKind.PropertyAssignment:return t.name===e?0:w(t)?2:1;case n.SyntaxKind.ArrayLiteralExpression:case n.SyntaxKind.SpreadElement:case n.SyntaxKind.SpreadAssignment:return w(t)?2:1;case n.SyntaxKind.ParenthesizedExpression:case n.SyntaxKind.NonNullExpression:case n.SyntaxKind.TypeAssertionExpression:case n.SyntaxKind.AsExpression:return I(t);case n.SyntaxKind.ForOfStatement:case n.SyntaxKind.ForInStatement:return t.initializer===e?2:1;case n.SyntaxKind.ExpressionWithTypeArguments:return t.parent.token===n.SyntaxKind.ExtendsKeyword&&t.parent.parent.kind!==n.SyntaxKind.InterfaceDeclaration?1:0;case n.SyntaxKind.ComputedPropertyName:case n.SyntaxKind.ExpressionStatement:case n.SyntaxKind.TypeOfExpression:case n.SyntaxKind.ElementAccessExpression:case n.SyntaxKind.ForStatement:case n.SyntaxKind.IfStatement:case n.SyntaxKind.DoStatement:case n.SyntaxKind.WhileStatement:case n.SyntaxKind.SwitchStatement:case n.SyntaxKind.WithStatement:case n.SyntaxKind.ThrowStatement:case n.SyntaxKind.CallExpression:case n.SyntaxKind.NewExpression:case n.SyntaxKind.TaggedTemplateExpression:case n.SyntaxKind.JsxExpression:case n.SyntaxKind.Decorator:case n.SyntaxKind.TemplateSpan:case n.SyntaxKind.JsxOpeningElement:case n.SyntaxKind.JsxSelfClosingElement:case n.SyntaxKind.JsxSpreadAttribute:case n.SyntaxKind.VoidExpression:case n.SyntaxKind.ReturnStatement:case n.SyntaxKind.AwaitExpression:case n.SyntaxKind.YieldExpression:case n.SyntaxKind.ConditionalExpression:case n.SyntaxKind.CaseClause:case n.SyntaxKind.JsxElement:return 1;case n.SyntaxKind.ArrowFunction:return t.body===e?1:2;case n.SyntaxKind.PropertyDeclaration:case n.SyntaxKind.VariableDeclaration:case n.SyntaxKind.Parameter:case n.SyntaxKind.EnumMember:case n.SyntaxKind.BindingElement:case n.SyntaxKind.JsxAttribute:return t.initializer===e?1:0;case n.SyntaxKind.PropertyAccessExpression:return t.expression===e?1:0;case n.SyntaxKind.ExportAssignment:return t.isExportEquals?1:0}return 0}function O(e){switch(e.kind){case n.SyntaxKind.Parameter:case n.SyntaxKind.CallSignature:case n.SyntaxKind.ConstructSignature:case n.SyntaxKind.MethodSignature:case n.SyntaxKind.PropertySignature:case n.SyntaxKind.ArrowFunction:case n.SyntaxKind.ParenthesizedExpression:case n.SyntaxKind.SpreadAssignment:case n.SyntaxKind.ShorthandPropertyAssignment:case n.SyntaxKind.PropertyAssignment:case n.SyntaxKind.FunctionExpression:case n.SyntaxKind.LabeledStatement:case n.SyntaxKind.ExpressionStatement:case n.SyntaxKind.VariableStatement:case n.SyntaxKind.FunctionDeclaration:case n.SyntaxKind.Constructor:case n.SyntaxKind.MethodDeclaration:case n.SyntaxKind.PropertyDeclaration:case n.SyntaxKind.GetAccessor:case n.SyntaxKind.SetAccessor:case n.SyntaxKind.ClassDeclaration:case n.SyntaxKind.ClassExpression:case n.SyntaxKind.InterfaceDeclaration:case n.SyntaxKind.TypeAliasDeclaration:case n.SyntaxKind.EnumMember:case n.SyntaxKind.EnumDeclaration:case n.SyntaxKind.ModuleDeclaration:case n.SyntaxKind.ImportEqualsDeclaration:case n.SyntaxKind.ImportDeclaration:case n.SyntaxKind.NamespaceExportDeclaration:case n.SyntaxKind.ExportAssignment:case n.SyntaxKind.IndexSignature:case n.SyntaxKind.FunctionType:case n.SyntaxKind.ConstructorType:case n.SyntaxKind.JSDocFunctionType:case n.SyntaxKind.ExportDeclaration:case n.SyntaxKind.NamedTupleMember:case n.SyntaxKind.EndOfFileToken:return!0;default:return!1}}function L(e,t){let r=[];for(let n of e.getChildren(t)){if(!i.isJsDoc(n))break;r.push(n)}return r}function M(e,t,r,i){let a=n[i&&F(r,e.pos,t)?"forEachTrailingCommentRange":"forEachLeadingCommentRange"](r.text,e.pos,((e,t,i)=>i===n.SyntaxKind.MultiLineCommentTrivia&&"*"===r.text[e+2]?{pos:e}:void 0));if(void 0===a)return[];let o=a.pos,s=r.text.slice(o,t),c=n.createSourceFile("jsdoc.ts","".concat(s,"var a;"),r.languageVersion),u=L(c.statements[0],c);for(let t of u)l(t,e);return u;function l(e,t){return e.pos+=o,e.end+=o,e.parent=t,n.forEachChild(e,(t=>l(t,e)),(t=>{t.pos+=o,t.end+=o;for(let r of t)l(r,e)}))}}function R(e,t){return new B(e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2]).find()}e.getChildOfKind=function(e,t,r){for(let n of e.getChildren(r))if(n.kind===t)return n},e.isTokenKind=s,e.isNodeKind=c,e.isAssignmentKind=u,e.isTypeNodeKind=function(e){return e>=n.SyntaxKind.FirstTypeNode&&e<=n.SyntaxKind.LastTypeNode},e.isJsDocKind=function(e){return e>=n.SyntaxKind.FirstJSDocNode&&e<=n.SyntaxKind.LastJSDocNode},e.isKeywordKind=function(e){return e>=n.SyntaxKind.FirstKeyword&&e<=n.SyntaxKind.LastKeyword},e.isThisParameter=function(e){return e.name.kind===n.SyntaxKind.Identifier&&e.name.originalKeywordKind===n.SyntaxKind.ThisKeyword},e.getModifier=function(e,t){if(void 0!==e.modifiers)for(let r of e.modifiers)if(r.kind===t)return r},e.hasModifier=l,e.isParameterProperty=function(e){return l(e.modifiers,n.SyntaxKind.PublicKeyword,n.SyntaxKind.ProtectedKeyword,n.SyntaxKind.PrivateKeyword,n.SyntaxKind.ReadonlyKeyword)},e.hasAccessModifier=function(e){return f(e,n.ModifierFlags.AccessibilityModifier)},e.isNodeFlagSet=d,e.isTypeFlagSet=d,e.isSymbolFlagSet=d,e.isObjectFlagSet=function(e,t){return 0!=(e.objectFlags&t)},e.isModifierFlagSet=f,e.getPreviousStatement=function(e){let t=e.parent;if(i.isBlockLike(t)){let r=t.statements.indexOf(e);if(r>0)return t.statements[r-1]}},e.getNextStatement=function(e){let t=e.parent;if(i.isBlockLike(t)){let r=t.statements.indexOf(e);if(r<t.statements.length)return t.statements[r+1]}},e.getPreviousToken=function(e,t){let{pos:r}=e;if(0!==r){do{e=e.parent}while(e.pos===r);return m(e,r-1,null!=t?t:e.getSourceFile(),!1)}},e.getNextToken=function(e,t){if(e.kind===n.SyntaxKind.SourceFile||e.kind===n.SyntaxKind.EndOfFileToken)return;let r=e.end;for(e=e.parent;e.end===r;){if(void 0===e.parent)return e.endOfFileToken;e=e.parent}return m(e,r,null!=t?t:e.getSourceFile(),!1)},e.getTokenAtPosition=_,e.getCommentAtPosition=g,e.isPositionInComment=function(e,t,r){return void 0!==g(e,t,r)},e.commentText=function(e,t){return e.substring(t.pos+2,t.kind===n.SyntaxKind.SingleLineCommentTrivia?t.end:t.end-2)},e.getAstNodeAtPosition=y,e.getWrappedNodeAtPosition=function(e,t){if(!(e.node.pos>t||e.node.end<=t))e:for(;;){for(let r of e.children){if(r.node.pos>t)return e;if(r.node.end>t){e=r;continue e}}return e}},e.getPropertyName=v,e.forEachDestructuringIdentifier=D,e.forEachDeclaredVariable=function(e,t){for(let r of e.declarations){let e;if(e=r.name.kind===n.SyntaxKind.Identifier?t(r):D(r.name,t),e)return e}},(t=e.VariableDeclarationKind||(e.VariableDeclarationKind={}))[t.Var=0]="Var",t[t.Let=1]="Let",t[t.Const=2]="Const",e.getVariableDeclarationKind=function(e){return e.flags&n.NodeFlags.Let?1:e.flags&n.NodeFlags.Const?2:0},e.isBlockScopedVariableDeclarationList=b,e.isBlockScopedVariableDeclaration=function(e){let t=e.parent;return t.kind===n.SyntaxKind.CatchClause||b(t)},e.isBlockScopedDeclarationStatement=function(e){switch(e.kind){case n.SyntaxKind.VariableStatement:return b(e.declarationList);case n.SyntaxKind.ClassDeclaration:case n.SyntaxKind.EnumDeclaration:case n.SyntaxKind.InterfaceDeclaration:case n.SyntaxKind.TypeAliasDeclaration:return!0;default:return!1}},e.isInSingleStatementContext=function(e){switch(e.parent.kind){case n.SyntaxKind.ForStatement:case n.SyntaxKind.ForInStatement:case n.SyntaxKind.ForOfStatement:case n.SyntaxKind.WhileStatement:case n.SyntaxKind.DoStatement:case n.SyntaxKind.IfStatement:case n.SyntaxKind.WithStatement:case n.SyntaxKind.LabeledStatement:return!0;default:return!1}},function(e){e[e.None=0]="None",e[e.Function=1]="Function",e[e.Block=2]="Block",e[e.Type=4]="Type",e[e.ConditionalType=8]="ConditionalType"}(e.ScopeBoundary||(e.ScopeBoundary={})),function(e){e[e.Function=1]="Function",e[e.Block=3]="Block",e[e.Type=7]="Type",e[e.InferType=8]="InferType"}(e.ScopeBoundarySelector||(e.ScopeBoundarySelector={})),e.isScopeBoundary=function(e){return E(e)||S(e)||x(e)},e.isTypeScopeBoundary=x,e.isFunctionScopeBoundary=E,e.isBlockScopeBoundary=S,e.hasOwnThisReference=function(e){switch(e.kind){case n.SyntaxKind.ClassDeclaration:case n.SyntaxKind.ClassExpression:case n.SyntaxKind.FunctionExpression:return!0;case n.SyntaxKind.FunctionDeclaration:return void 0!==e.body;case n.SyntaxKind.MethodDeclaration:case n.SyntaxKind.GetAccessor:case n.SyntaxKind.SetAccessor:return e.parent.kind===n.SyntaxKind.ObjectLiteralExpression;default:return!1}},e.isFunctionWithBody=function(e){switch(e.kind){case n.SyntaxKind.GetAccessor:case n.SyntaxKind.SetAccessor:case n.SyntaxKind.FunctionDeclaration:case n.SyntaxKind.MethodDeclaration:case n.SyntaxKind.Constructor:return void 0!==e.body;case n.SyntaxKind.FunctionExpression:case n.SyntaxKind.ArrowFunction:return!0;default:return!1}},e.forEachToken=C,e.forEachTokenWithTrivia=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.getSourceFile(),i=r.text,a=n.createScanner(r.languageVersion,!1,r.languageVariant,i);return C(e,(e=>{let o=e.kind===n.SyntaxKind.JsxText||e.pos===e.end?e.pos:e.getStart(r);if(o!==e.pos){a.setTextPos(e.pos);let r=a.scan(),n=a.getTokenPos();for(;n<o;){let s=a.getTextPos();if(t(i,r,{pos:n,end:s},e.parent),s===o)break;r=a.scan(),n=a.getTokenPos()}}return t(i,e.kind,{end:e.end,pos:o},e.parent)}),r)},e.forEachComment=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.getSourceFile(),i=r.text,a=r.languageVariant!==n.LanguageVariant.JSX;return C(e,(e=>{if(e.pos!==e.end&&(e.kind!==n.SyntaxKind.JsxText&&n.forEachLeadingCommentRange(i,0===e.pos?(n.getShebang(i)||"").length:e.pos,o),a||T(e)))return n.forEachTrailingCommentRange(i,e.end,o)}),r);function o(e,r,n){t(i,{pos:e,end:r,kind:n})}},e.getLineRanges=function(e){let t=e.getLineStarts(),r=[],i=t.length,a=e.text,o=0;for(let e=1;e<i;++e){let i=t[e],s=i;for(;s>o&&n.isLineBreak(a.charCodeAt(s-1));--s);r.push({pos:o,end:i,contentLength:s-o}),o=i}return r.push({pos:o,end:e.end,contentLength:e.end-o}),r},e.getLineBreakStyle=function(e){let t=e.getLineStarts();return 1===t.length||t[1]<2||"\r"!==e.text[t[1]-2]?"\n":"\r\n"},e.isValidIdentifier=function(e){let t=A(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.ScriptTarget.Latest);return t.isIdentifier()&&t.getTextPos()===e.length&&0===t.getTokenPos()},e.isValidPropertyAccess=P,e.isValidPropertyName=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.ScriptTarget.Latest;if(P(e,t))return!0;let r=A(e,t);return r.getTextPos()===e.length&&r.getToken()===n.SyntaxKind.NumericLiteral&&r.getTokenValue()===e},e.isValidNumericLiteral=function(e){let t=A(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.ScriptTarget.Latest);return t.getToken()===n.SyntaxKind.NumericLiteral&&t.getTextPos()===e.length&&0===t.getTokenPos()},e.isValidJsxIdentifier=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.ScriptTarget.Latest;if(0===e.length)return!1;let r=!1,i=e.codePointAt(0);if(!n.isIdentifierStart(i,t))return!1;for(let a=N(i);a<e.length;a+=N(i))if(i=e.codePointAt(a),!n.isIdentifierPart(i,t)&&45!==i){if(r||58!==i||a+N(i)===e.length)return!1;r=!0}return!0},e.isNumericPropertyName=function(e){return String(+e)===e},e.isSameLine=F,function(e){e[e.None=0]="None",e[e.TaggedTemplate=1]="TaggedTemplate",e[e.Constructor=2]="Constructor",e[e.JsxElement=4]="JsxElement"}(e.SideEffectOptions||(e.SideEffectOptions={})),e.hasSideEffects=function(e,t){var r,a;let o=[];for(;;){switch(e.kind){case n.SyntaxKind.CallExpression:case n.SyntaxKind.PostfixUnaryExpression:case n.SyntaxKind.AwaitExpression:case n.SyntaxKind.YieldExpression:case n.SyntaxKind.DeleteExpression:return!0;case n.SyntaxKind.TypeAssertionExpression:case n.SyntaxKind.AsExpression:case n.SyntaxKind.ParenthesizedExpression:case n.SyntaxKind.NonNullExpression:case n.SyntaxKind.VoidExpression:case n.SyntaxKind.TypeOfExpression:case n.SyntaxKind.PropertyAccessExpression:case n.SyntaxKind.SpreadElement:case n.SyntaxKind.PartiallyEmittedExpression:e=e.expression;continue;case n.SyntaxKind.BinaryExpression:if(u(e.operatorToken.kind))return!0;o.push(e.right),e=e.left;continue;case n.SyntaxKind.PrefixUnaryExpression:switch(e.operator){case n.SyntaxKind.PlusPlusToken:case n.SyntaxKind.MinusMinusToken:return!0;default:e=e.operand;continue}case n.SyntaxKind.ElementAccessExpression:void 0!==e.argumentExpression&&o.push(e.argumentExpression),e=e.expression;continue;case n.SyntaxKind.ConditionalExpression:o.push(e.whenTrue,e.whenFalse),e=e.condition;continue;case n.SyntaxKind.NewExpression:if(2&t)return!0;void 0!==e.arguments&&o.push(...e.arguments),e=e.expression;continue;case n.SyntaxKind.TaggedTemplateExpression:if(1&t)return!0;if(o.push(e.tag),(e=e.template).kind===n.SyntaxKind.NoSubstitutionTemplateLiteral)break;case n.SyntaxKind.TemplateExpression:for(let t of e.templateSpans)o.push(t.expression);break;case n.SyntaxKind.ClassExpression:{if(void 0!==e.decorators)return!0;for(let t of e.members){if(void 0!==t.decorators)return!0;if(!l(t.modifiers,n.SyntaxKind.DeclareKeyword))if((null===(r=t.name)||void 0===r?void 0:r.kind)===n.SyntaxKind.ComputedPropertyName&&o.push(t.name.expression),i.isMethodDeclaration(t)){for(let e of t.parameters)if(void 0!==e.decorators)return!0}else i.isPropertyDeclaration(t)&&void 0!==t.initializer&&l(t.modifiers,n.SyntaxKind.StaticKeyword)&&o.push(t.initializer)}let t=X(e);if(void 0===t)break;e=t.expression;continue}case n.SyntaxKind.ArrayLiteralExpression:o.push(...e.elements);break;case n.SyntaxKind.ObjectLiteralExpression:for(let t of e.properties)switch((null===(a=t.name)||void 0===a?void 0:a.kind)===n.SyntaxKind.ComputedPropertyName&&o.push(t.name.expression),t.kind){case n.SyntaxKind.PropertyAssignment:o.push(t.initializer);break;case n.SyntaxKind.SpreadAssignment:o.push(t.expression)}break;case n.SyntaxKind.JsxExpression:if(void 0===e.expression)break;e=e.expression;continue;case n.SyntaxKind.JsxElement:case n.SyntaxKind.JsxFragment:for(let t of e.children)t.kind!==n.SyntaxKind.JsxText&&o.push(t);if(e.kind===n.SyntaxKind.JsxFragment)break;e=e.openingElement;case n.SyntaxKind.JsxSelfClosingElement:case n.SyntaxKind.JsxOpeningElement:if(4&t)return!0;for(let t of e.attributes.properties)t.kind===n.SyntaxKind.JsxSpreadAttribute?o.push(t.expression):void 0!==t.initializer&&o.push(t.initializer);break;case n.SyntaxKind.CommaListExpression:o.push(...e.elements)}if(0===o.length)return!1;e=o.pop()}},e.getDeclarationOfBindingElement=function(e){let t=e.parent.parent;for(;t.kind===n.SyntaxKind.BindingElement;)t=t.parent.parent;return t},e.isExpressionValueUsed=function(e){for(;;){let t=e.parent;switch(t.kind){case n.SyntaxKind.CallExpression:case n.SyntaxKind.NewExpression:case n.SyntaxKind.ElementAccessExpression:case n.SyntaxKind.WhileStatement:case n.SyntaxKind.DoStatement:case n.SyntaxKind.WithStatement:case n.SyntaxKind.ThrowStatement:case n.SyntaxKind.ReturnStatement:case n.SyntaxKind.JsxExpression:case n.SyntaxKind.JsxSpreadAttribute:case n.SyntaxKind.JsxElement:case n.SyntaxKind.JsxFragment:case n.SyntaxKind.JsxSelfClosingElement:case n.SyntaxKind.ComputedPropertyName:case n.SyntaxKind.ArrowFunction:case n.SyntaxKind.ExportSpecifier:case n.SyntaxKind.ExportAssignment:case n.SyntaxKind.ImportDeclaration:case n.SyntaxKind.ExternalModuleReference:case n.SyntaxKind.Decorator:case n.SyntaxKind.TaggedTemplateExpression:case n.SyntaxKind.TemplateSpan:case n.SyntaxKind.ExpressionWithTypeArguments:case n.SyntaxKind.TypeOfExpression:case n.SyntaxKind.AwaitExpression:case n.SyntaxKind.YieldExpression:case n.SyntaxKind.LiteralType:case n.SyntaxKind.JsxAttributes:case n.SyntaxKind.JsxOpeningElement:case n.SyntaxKind.JsxClosingElement:case n.SyntaxKind.IfStatement:case n.SyntaxKind.CaseClause:case n.SyntaxKind.SwitchStatement:return!0;case n.SyntaxKind.PropertyAccessExpression:return t.expression===e;case n.SyntaxKind.QualifiedName:return t.left===e;case n.SyntaxKind.ShorthandPropertyAssignment:return t.objectAssignmentInitializer===e||!w(t);case n.SyntaxKind.PropertyAssignment:return t.initializer===e&&!w(t);case n.SyntaxKind.SpreadAssignment:case n.SyntaxKind.SpreadElement:case n.SyntaxKind.ArrayLiteralExpression:return!w(t);case n.SyntaxKind.ParenthesizedExpression:case n.SyntaxKind.AsExpression:case n.SyntaxKind.TypeAssertionExpression:case n.SyntaxKind.PostfixUnaryExpression:case n.SyntaxKind.PrefixUnaryExpression:case n.SyntaxKind.NonNullExpression:e=t;continue;case n.SyntaxKind.ForStatement:return t.condition===e;case n.SyntaxKind.ForInStatement:case n.SyntaxKind.ForOfStatement:return t.expression===e;case n.SyntaxKind.ConditionalExpression:if(t.condition===e)return!0;e=t;break;case n.SyntaxKind.PropertyDeclaration:case n.SyntaxKind.BindingElement:case n.SyntaxKind.VariableDeclaration:case n.SyntaxKind.Parameter:case n.SyntaxKind.EnumMember:return t.initializer===e;case n.SyntaxKind.ImportEqualsDeclaration:return t.moduleReference===e;case n.SyntaxKind.CommaListExpression:if(t.elements[t.elements.length-1]!==e)return!1;e=t;break;case n.SyntaxKind.BinaryExpression:if(t.right===e){if(t.operatorToken.kind===n.SyntaxKind.CommaToken){e=t;break}return!0}switch(t.operatorToken.kind){case n.SyntaxKind.CommaToken:case n.SyntaxKind.EqualsToken:return!1;case n.SyntaxKind.EqualsEqualsEqualsToken:case n.SyntaxKind.EqualsEqualsToken:case n.SyntaxKind.ExclamationEqualsEqualsToken:case n.SyntaxKind.ExclamationEqualsToken:case n.SyntaxKind.InstanceOfKeyword:case n.SyntaxKind.PlusToken:case n.SyntaxKind.MinusToken:case n.SyntaxKind.AsteriskToken:case n.SyntaxKind.SlashToken:case n.SyntaxKind.PercentToken:case n.SyntaxKind.AsteriskAsteriskToken:case n.SyntaxKind.GreaterThanToken:case n.SyntaxKind.GreaterThanGreaterThanToken:case n.SyntaxKind.GreaterThanGreaterThanGreaterThanToken:case n.SyntaxKind.GreaterThanEqualsToken:case n.SyntaxKind.LessThanToken:case n.SyntaxKind.LessThanLessThanToken:case n.SyntaxKind.LessThanEqualsToken:case n.SyntaxKind.AmpersandToken:case n.SyntaxKind.BarToken:case n.SyntaxKind.CaretToken:case n.SyntaxKind.BarBarToken:case n.SyntaxKind.AmpersandAmpersandToken:case n.SyntaxKind.QuestionQuestionToken:case n.SyntaxKind.InKeyword:case n.SyntaxKind.QuestionQuestionEqualsToken:case n.SyntaxKind.AmpersandAmpersandEqualsToken:case n.SyntaxKind.BarBarEqualsToken:return!0;default:e=t}break;default:return!1}}},function(e){e[e.None=0]="None",e[e.Read=1]="Read",e[e.Write=2]="Write",e[e.Delete=4]="Delete",e[e.ReadWrite=3]="ReadWrite",e[e.Modification=6]="Modification"}(e.AccessKind||(e.AccessKind={})),e.getAccessKind=I,e.isReassignmentTarget=function(e){return 0!=(2&I(e))},e.canHaveJsDoc=O,e.getJsDoc=L,e.parseJsDocOfNode=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.getSourceFile();if(O(e)&&e.kind!==n.SyntaxKind.EndOfFileToken){let n=L(e,r);if(0!==n.length||!t)return n}return M(e,e.getStart(r),r,t)},function(e){e[e.ImportDeclaration=1]="ImportDeclaration",e[e.ImportEquals=2]="ImportEquals",e[e.ExportFrom=4]="ExportFrom",e[e.DynamicImport=8]="DynamicImport",e[e.Require=16]="Require",e[e.ImportType=32]="ImportType",e[e.All=63]="All",e[e.AllImports=59]="AllImports",e[e.AllStaticImports=3]="AllStaticImports",e[e.AllImportExpressions=24]="AllImportExpressions",e[e.AllRequireLike=18]="AllRequireLike",e[e.AllNestedImports=56]="AllNestedImports",e[e.AllTopLevelImports=7]="AllTopLevelImports"}(e.ImportKind||(e.ImportKind={})),e.findImports=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=[];for(let a of R(e,t,r))switch(a.kind){case n.SyntaxKind.ImportDeclaration:o(a.moduleSpecifier);break;case n.SyntaxKind.ImportEqualsDeclaration:o(a.moduleReference.expression);break;case n.SyntaxKind.ExportDeclaration:o(a.moduleSpecifier);break;case n.SyntaxKind.CallExpression:o(a.arguments[0]);break;case n.SyntaxKind.ImportType:i.isLiteralTypeNode(a.argument)&&o(a.argument.literal);break;default:throw new Error("unexpected node")}return a;function o(e){i.isTextualLiteral(e)&&a.push(e)}},e.findImportLikeNodes=R;var B=class{constructor(e,t,r){this._sourceFile=e,this._options=t,this._ignoreFileName=r,this._result=[]}find(){return this._sourceFile.isDeclarationFile&&(this._options&=-25),7&this._options&&this._findImports(this._sourceFile.statements),56&this._options&&this._findNestedImports(),this._result}_findImports(e){for(let t of e)i.isImportDeclaration(t)?1&this._options&&this._result.push(t):i.isImportEqualsDeclaration(t)?2&this._options&&t.moduleReference.kind===n.SyntaxKind.ExternalModuleReference&&this._result.push(t):i.isExportDeclaration(t)?void 0!==t.moduleSpecifier&&4&this._options&&this._result.push(t):i.isModuleDeclaration(t)&&this._findImportsInModule(t)}_findImportsInModule(e){if(void 0!==e.body){if(e.body.kind===n.SyntaxKind.ModuleDeclaration)return this._findImportsInModule(e.body);this._findImports(e.body.statements)}}_findNestedImports(){let e,t,r=this._ignoreFileName||0!=(this._sourceFile.flags&n.NodeFlags.JavaScriptFile);if(16==(56&this._options)){if(!r)return;e=/\brequire\s*[</(]/g,t=!1}else 16&this._options&&r?(e=/\b(?:import|require)\s*[</(]/g,t=0!=(32&this._options)):(e=/\bimport\s*[</(]/g,t=r&&0!=(32&this._options));for(let r=e.exec(this._sourceFile.text);null!==r;r=e.exec(this._sourceFile.text)){let e=m(this._sourceFile,r.index,this._sourceFile,"i"===r[0][0]&&t);if(e.kind===n.SyntaxKind.ImportKeyword){if(e.end-6!==r.index)continue;switch(e.parent.kind){case n.SyntaxKind.ImportType:this._result.push(e.parent);break;case n.SyntaxKind.CallExpression:e.parent.arguments.length>1&&this._result.push(e.parent)}}else e.kind===n.SyntaxKind.Identifier&&e.end-7===r.index&&e.parent.kind===n.SyntaxKind.CallExpression&&e.parent.expression===e&&1===e.parent.arguments.length&&this._result.push(e.parent)}}};function j(e){for(;e.kind===n.SyntaxKind.ModuleBlock;){do{e=e.parent}while(e.flags&n.NodeFlags.NestedNamespace);if(l(e.modifiers,n.SyntaxKind.DeclareKeyword))return!0;e=e.parent}return!1}function K(e,t){return(e.strict?!1!==e[t]:!0===e[t])&&("strictPropertyInitialization"!==t||K(e,"strictNullChecks"))}function J(e){let t;return n.forEachLeadingCommentRange(e,(n.getShebang(e)||"").length,((r,i,a)=>{if(a===n.SyntaxKind.SingleLineCommentTrivia){let n=e.slice(r,i),a=/^\/{2,3}\s*@ts-(no)?check(?:\s|$)/i.exec(n);null!==a&&(t={pos:r,end:i,enabled:void 0===a[1]})}})),t}function U(e){return i.isTypeReferenceNode(e.type)&&e.type.typeName.kind===n.SyntaxKind.Identifier&&"const"===e.type.typeName.escapedText}function q(e){return 3===e.arguments.length&&i.isEntityNameExpression(e.arguments[0])&&i.isNumericOrStringLikeLiteral(e.arguments[1])&&i.isPropertyAccessExpression(e.expression)&&"defineProperty"===e.expression.name.escapedText&&i.isIdentifier(e.expression.expression)&&"Object"===e.expression.expression.escapedText}function V(e){return n.isPropertyAccessExpression(e)&&n.isIdentifier(e.expression)&&"Symbol"===e.expression.escapedText}function z(e){return{displayName:"[Symbol.".concat(e.name.text,"]"),symbolName:"__@"+e.name.text}}e.isStatementInAmbientContext=function(e){for(;e.flags&n.NodeFlags.NestedNamespace;)e=e.parent;return l(e.modifiers,n.SyntaxKind.DeclareKeyword)||j(e.parent)},e.isAmbientModuleBlock=j,e.getIIFE=function(e){let t=e.parent;for(;t.kind===n.SyntaxKind.ParenthesizedExpression;)t=t.parent;return i.isCallExpression(t)&&e.end<=t.expression.end?t:void 0},e.isStrictCompilerOptionEnabled=K,e.isCompilerOptionEnabled=function e(t,r){switch(r){case"stripInternal":case"declarationMap":case"emitDeclarationOnly":return!0===t[r]&&e(t,"declaration");case"declaration":return t.declaration||e(t,"composite");case"incremental":return void 0===t.incremental?e(t,"composite"):t.incremental;case"skipDefaultLibCheck":return t.skipDefaultLibCheck||e(t,"skipLibCheck");case"suppressImplicitAnyIndexErrors":return!0===t.suppressImplicitAnyIndexErrors&&e(t,"noImplicitAny");case"allowSyntheticDefaultImports":return void 0!==t.allowSyntheticDefaultImports?t.allowSyntheticDefaultImports:e(t,"esModuleInterop")||t.module===n.ModuleKind.System;case"noUncheckedIndexedAccess":return!0===t.noUncheckedIndexedAccess&&e(t,"strictNullChecks");case"allowJs":return void 0===t.allowJs?e(t,"checkJs"):t.allowJs;case"noImplicitAny":case"noImplicitThis":case"strictNullChecks":case"strictFunctionTypes":case"strictPropertyInitialization":case"alwaysStrict":case"strictBindCallApply":return K(t,r)}return!0===t[r]},e.isAmbientModule=function(e){return e.name.kind===n.SyntaxKind.StringLiteral||0!=(e.flags&n.NodeFlags.GlobalAugmentation)},e.getCheckJsDirective=function(e){return J(e)},e.getTsCheckDirective=J,e.isConstAssertion=U,e.isInConstContext=function(e){let t=e;for(;;){let e=t.parent;e:switch(e.kind){case n.SyntaxKind.TypeAssertionExpression:case n.SyntaxKind.AsExpression:return U(e);case n.SyntaxKind.PrefixUnaryExpression:if(t.kind!==n.SyntaxKind.NumericLiteral)return!1;switch(e.operator){case n.SyntaxKind.PlusToken:case n.SyntaxKind.MinusToken:t=e;break e;default:return!1}case n.SyntaxKind.PropertyAssignment:if(e.initializer!==t)return!1;t=e.parent;break;case n.SyntaxKind.ShorthandPropertyAssignment:t=e.parent;break;case n.SyntaxKind.ParenthesizedExpression:case n.SyntaxKind.ArrayLiteralExpression:case n.SyntaxKind.ObjectLiteralExpression:case n.SyntaxKind.TemplateExpression:t=e;break;default:return!1}}},e.isReadonlyAssignmentDeclaration=function(e,t){if(!q(e))return!1;let r=t.getTypeAtLocation(e.arguments[2]);if(void 0===r.getProperty("value"))return void 0===r.getProperty("set");let n=r.getProperty("writable");if(void 0===n)return!1;let a=void 0!==n.valueDeclaration&&i.isPropertyAssignment(n.valueDeclaration)?t.getTypeAtLocation(n.valueDeclaration.initializer):t.getTypeOfSymbolAtLocation(n,e.arguments[2]);return o.isBooleanLiteralType(a,!1)},e.isBindableObjectDefinePropertyCall=q,e.isWellKnownSymbolLiterally=V,e.getPropertyNameOfWellKnownSymbol=z;var W=(e=>{let[t,r]=e;return t<"4"||"4"===t&&r<"3"})(n.versionMajorMinor.split("."));function H(e,t){let r={known:!0,names:[]};if(e=G(e),W&&V(e))r.names.push(z(e));else{let n=t.getTypeAtLocation(e);for(let e of o.unionTypeParts(t.getBaseConstraintOfType(n)||n)){let t=o.getPropertyNameFromType(e);t?r.names.push(t):r.known=!1}}return r}function G(e){for(;e.kind===n.SyntaxKind.ParenthesizedExpression;)e=e.expression;return e}function $(e){return"".concat(e.negative?"-":"").concat(e.base10Value,"n")}function Y(t){return e.isTypeFlagSet(t,n.TypeFlags.Null)?"null":e.isTypeFlagSet(t,n.TypeFlags.Undefined)?"undefined":e.isTypeFlagSet(t,n.TypeFlags.NumberLiteral)?"".concat(e.isTypeFlagSet(t,n.TypeFlags.EnumLiteral)?"enum:":"").concat(t.value):e.isTypeFlagSet(t,n.TypeFlags.StringLiteral)?"".concat(e.isTypeFlagSet(t,n.TypeFlags.EnumLiteral)?"enum:":"","string:").concat(t.value):e.isTypeFlagSet(t,n.TypeFlags.BigIntLiteral)?$(t.value):a.isUniqueESSymbolType(t)?t.escapedName:o.isBooleanLiteralType(t,!0)?"true":o.isBooleanLiteralType(t,!1)?"false":void 0}function X(e){var t;if((null===(t=e.heritageClauses)||void 0===t?void 0:t[0].token)===n.SyntaxKind.ExtendsKeyword)return e.heritageClauses[0].types[0]}e.getLateBoundPropertyNames=H,e.getLateBoundPropertyNamesOfPropertyName=function(e,t){let r=v(e);return void 0!==r?{known:!0,names:[{displayName:r,symbolName:n.escapeLeadingUnderscores(r)}]}:e.kind===n.SyntaxKind.PrivateIdentifier?{known:!0,names:[{displayName:e.text,symbolName:t.getSymbolAtLocation(e).escapedName}]}:H(e.expression,t)},e.getSingleLateBoundPropertyNameOfPropertyName=function(e,t){let r=v(e);if(void 0!==r)return{displayName:r,symbolName:n.escapeLeadingUnderscores(r)};if(e.kind===n.SyntaxKind.PrivateIdentifier)return{displayName:e.text,symbolName:t.getSymbolAtLocation(e).escapedName};let{expression:i}=e;return W&&V(i)?z(i):o.getPropertyNameFromType(t.getTypeAtLocation(i))},e.unwrapParentheses=G,e.formatPseudoBigInt=$,e.hasExhaustiveCaseClauses=function(t,r){let a=t.caseBlock.clauses.filter(i.isCaseClause);if(0===a.length)return!1;let s=o.unionTypeParts(r.getTypeAtLocation(t.expression));if(s.length>a.length)return!1;let c=new Set(s.map(Y));if(c.has(void 0))return!1;let u=new Set;for(let t of a){let i=r.getTypeAtLocation(t.expression);if(e.isTypeFlagSet(i,n.TypeFlags.Never))continue;let a=Y(i);if(c.has(a))u.add(a);else if("null"!==a&&"undefined"!==a)return!1}return c.size===u.size},e.getBaseOfClassLikeExpression=X}}),gr=c({"node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n};Object.defineProperty(e,"__esModule",{value:!0}),e.convertComments=void 0;var i=n(yt()),a=mr(),o=At(),s=Tt();e.convertComments=function(e,t){let r=[];return(0,a.forEachComment)(e,((n,a)=>{let c=a.kind==i.SyntaxKind.SingleLineCommentTrivia?s.AST_TOKEN_TYPES.Line:s.AST_TOKEN_TYPES.Block,u=[a.pos,a.end],l=(0,o.getLocFor)(u[0],u[1],e),p=u[0]+2,d=a.kind===i.SyntaxKind.SingleLineCommentTrivia?u[1]-p:u[1]-p-2;r.push({type:c,value:t.slice(p,p+d),range:u,loc:l})}),e),r}}}),hr=c({"node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs"(e){p(),Object.defineProperty(e,"__esModule",{value:!0});var t={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["exported","source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportExpression:["source"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXClosingFragment:[],JSXOpeningFragment:[],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},r=Object.keys(t);for(let e of r)Object.freeze(t[e]);Object.freeze(t);var n=new Set(["parent","leadingComments","trailingComments"]);function i(e){return!n.has(e)&&"_"!==e[0]}e.KEYS=t,e.getKeys=function(e){return Object.keys(e).filter(i)},e.unionWith=function(e){let r=Object.assign({},t);for(let t of Object.keys(e))if(Object.prototype.hasOwnProperty.call(r,t)){let n=new Set(e[t]);for(let e of r[t])n.add(e);r[t]=Object.freeze(Array.from(n))}else r[t]=Object.freeze(Array.from(e[t]));return Object.freeze(r)}}}),yr=c({"node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.getKeys=void 0;var t=hr().getKeys;e.getKeys=t}}),vr=c({"node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n};Object.defineProperty(e,"__esModule",{value:!0}),e.visitorKeys=void 0;var i=n(hr()).unionWith({ImportAttribute:["key","value"],ArrayPattern:["decorators","elements","typeAnnotation"],ArrowFunctionExpression:["typeParameters","params","returnType","body"],AssignmentPattern:["decorators","left","right","typeAnnotation"],CallExpression:["callee","typeParameters","arguments"],ClassDeclaration:["decorators","id","typeParameters","superClass","superTypeParameters","implements","body"],ClassExpression:["decorators","id","typeParameters","superClass","superTypeParameters","implements","body"],ExportAllDeclaration:["exported","source","assertions"],ExportNamedDeclaration:["declaration","specifiers","source","assertions"],FunctionDeclaration:["id","typeParameters","params","returnType","body"],FunctionExpression:["id","typeParameters","params","returnType","body"],Identifier:["decorators","typeAnnotation"],ImportDeclaration:["specifiers","source","assertions"],ImportExpression:["source","attributes"],MethodDefinition:["decorators","key","value"],NewExpression:["callee","typeParameters","arguments"],ObjectPattern:["decorators","properties","typeAnnotation"],PropertyDefinition:["decorators","key","typeAnnotation","value"],RestElement:["decorators","argument","typeAnnotation"],TaggedTemplateExpression:["tag","typeParameters","quasi"],StaticBlock:["body"],JSXOpeningElement:["name","typeParameters","attributes"],JSXClosingFragment:[],JSXOpeningFragment:[],JSXSpreadChild:["expression"],Decorator:["expression"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAnyKeyword:[],TSArrayType:["elementType"],TSAsExpression:["expression","typeAnnotation"],TSAsyncKeyword:[],TSBigIntKeyword:[],TSBooleanKeyword:[],TSCallSignatureDeclaration:["typeParameters","params","returnType"],TSClassImplements:["expression","typeParameters"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSConstructorType:["typeParameters","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","params","returnType"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSExportAssignment:["expression"],TSExportKeyword:[],TSExternalModuleReference:["expression"],TSFunctionType:["typeParameters","params","returnType"],TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["parameter","qualifier","typeParameters"],TSIndexedAccessType:["indexType","objectType"],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:["typeParameter"],TSInterfaceBody:["body"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceHeritage:["expression","typeParameters"],TSIntersectionType:["types"],TSIntrinsicKeyword:[],TSLiteralType:["literal"],TSMappedType:["nameType","typeParameter","typeAnnotation"],TSMethodSignature:["typeParameters","key","params","returnType"],TSModuleBlock:["body"],TSModuleDeclaration:["id","body"],TSNamedTupleMember:["elementType"],TSNamespaceExportDeclaration:["id"],TSNeverKeyword:[],TSNonNullExpression:["expression"],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSOptionalType:["typeAnnotation"],TSParameterProperty:["decorators","parameter"],TSPrivateKeyword:[],TSPropertySignature:["typeAnnotation","key","initializer"],TSProtectedKeyword:[],TSPublicKeyword:[],TSQualifiedName:["left","right"],TSReadonlyKeyword:[],TSRestType:["typeAnnotation"],TSStaticKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSTemplateLiteralType:["quasis","types"],TSThisType:[],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:["typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSTypeLiteral:["members"],TSTypeOperator:["typeAnnotation"],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:["params"],TSTypeParameterInstantiation:["params"],TSTypePredicate:["typeAnnotation","parameterName"],TSTypeQuery:["exprName"],TSTypeReference:["typeName","typeParameters"],TSUndefinedKeyword:[],TSUnionType:["types"],TSUnknownKeyword:[],TSVoidKeyword:[]});e.visitorKeys=i}}),Dr=c({"node_modules/@typescript-eslint/visitor-keys/dist/index.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.visitorKeys=e.getKeys=void 0;var t=yr();Object.defineProperty(e,"getKeys",{enumerable:!0,get:function(){return t.getKeys}});var r=vr();Object.defineProperty(e,"visitorKeys",{enumerable:!0,get:function(){return r.visitorKeys}})}}),br=c({"node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.simpleTraverse=void 0;var t=Dr();var r=class{constructor(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.allVisitorKeys=t.visitorKeys,this.selectors=e,this.setParentPointers=r}traverse(e,t){if(!function(e){return null!==e&&"object"==typeof e&&"string"==typeof e.type}(e))return;this.setParentPointers&&(e.parent=t),"enter"in this.selectors?this.selectors.enter(e,t):e.type in this.selectors&&this.selectors[e.type](e,t);let r=function(e,t){let r=e[t.type];return null!=r?r:[]}(this.allVisitorKeys,e);if(!(r.length<1))for(let t of r){let r=e[t];if(Array.isArray(r))for(let t of r)this.traverse(t,e);else this.traverse(r,e)}}};e.simpleTraverse=function(e,t){new r(t,arguments.length>2&&void 0!==arguments[2]&&arguments[2]).traverse(e,void 0)}}}),xr=c({"node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.astConverter=void 0;var t=Pt(),r=gr(),n=At(),i=br();e.astConverter=function(e,a,o){let{parseDiagnostics:s}=e;if(s.length)throw(0,t.convertError)(s[0]);let c=new t.Converter(e,{errorOnUnknownASTType:a.errorOnUnknownASTType||!1,shouldPreserveNodeMaps:o}),u=c.convertProgram();return(!a.range||!a.loc)&&(0,i.simpleTraverse)(u,{enter:e=>{a.range||delete e.range,a.loc||delete e.loc}}),a.tokens&&(u.tokens=(0,n.convertTokens)(e)),a.comment&&(u.comments=(0,r.convertComments)(e,a.code)),{estree:u,astMaps:c.getASTMaps()}}}}),Er=c({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.getModuleResolver=e.getAstFromProgram=e.getScriptKind=e.getCanonicalFileName=e.ensureAbsolutePath=e.createDefaultCompilerOptionsFromExtra=e.canonicalDirname=e.CORE_COMPILER_OPTIONS=void 0;var a=i(ft()),o=n(yt()),s={noEmit:!0,noUnusedLocals:!0,noUnusedParameters:!0};e.CORE_COMPILER_OPTIONS=s;var c=Object.assign(Object.assign({},s),{allowNonTsExtensions:!0,allowJs:!0,checkJs:!0});e.createDefaultCompilerOptionsFromExtra=function(e){return e.debugLevel.has("typescript")?Object.assign(Object.assign({},c),{extendedDiagnostics:!0}):c};var u=void 0===o.sys||o.sys.useCaseSensitiveFileNames?e=>e:e=>e.toLowerCase();function l(e){return e?e.endsWith(".d.ts")?".d.ts":a.default.extname(e):null}e.getCanonicalFileName=function(e){let t=a.default.normalize(e);return t.endsWith(a.default.sep)&&(t=t.slice(0,-1)),u(t)},e.ensureAbsolutePath=function(e,t){return a.default.isAbsolute(e)?e:a.default.join(t.tsconfigRootDir||"/prettier-security-dirname-placeholder",e)},e.canonicalDirname=function(e){return a.default.dirname(e)},e.getScriptKind=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.filePath;switch(a.default.extname(t).toLowerCase()){case".ts":return o.ScriptKind.TS;case".tsx":return o.ScriptKind.TSX;case".js":return o.ScriptKind.JS;case".jsx":return o.ScriptKind.JSX;case".json":return o.ScriptKind.JSON;default:return e.jsx?o.ScriptKind.TSX:o.ScriptKind.TS}},e.getAstFromProgram=function(e,t){let r=e.getSourceFile(t.filePath);if(l(t.filePath)===l(null==r?void 0:r.fileName))return r&&{ast:r,program:e}},e.getModuleResolver=function(e){try{throw new Error("Dynamic require is not supported")}catch{throw new Error(["Could not find the provided parserOptions.moduleResolver.","Hint: use an absolute path if you are not in control over where the ESLint instance runs."].join("\n"))}}}}),Sr=c({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.createDefaultProgram=void 0;var a=i(X()),o=i(ft()),s=n(yt()),c=Er(),u=(0,a.default)("typescript-eslint:typescript-estree:createDefaultProgram");e.createDefaultProgram=function(e,t){if(u("Getting default program for: %s",t.filePath||"unnamed file"),!t.projects||1!==t.projects.length)return;let r=t.projects[0],n=s.getParsedCommandLineOfConfigFile(r,(0,c.createDefaultCompilerOptionsFromExtra)(t),Object.assign(Object.assign({},s.sys),{onUnRecoverableConfigFileDiagnostic:()=>{}}));if(!n)return;let i=s.createCompilerHost(n.options,!0);t.moduleResolver&&(i.resolveModuleNames=(0,c.getModuleResolver)(t.moduleResolver).resolveModuleNames);let a=i.readFile;i.readFile=r=>o.default.normalize(r)===o.default.normalize(t.filePath)?e:a(r);let l=s.createProgram([t.filePath],n.options,i),p=l.getSourceFile(t.filePath);return p&&{ast:p,program:l}}}}),Cr=c({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.createIsolatedProgram=void 0;var a=i(X()),o=n(yt()),s=Er(),c=(0,a.default)("typescript-eslint:typescript-estree:createIsolatedProgram");e.createIsolatedProgram=function(e,t){c("Getting isolated program in %s mode for: %s",t.jsx?"TSX":"TS",t.filePath);let r={fileExists:()=>!0,getCanonicalFileName:()=>t.filePath,getCurrentDirectory:()=>"",getDirectories:()=>[],getDefaultLibFileName:()=>"lib.d.ts",getNewLine:()=>"\n",getSourceFile:r=>o.createSourceFile(r,e,o.ScriptTarget.Latest,!0,(0,s.getScriptKind)(t,r)),readFile(){},useCaseSensitiveFileNames:()=>!0,writeFile:()=>null},n=o.createProgram([t.filePath],Object.assign({noResolve:!0,target:o.ScriptTarget.Latest,jsx:t.jsx?o.JsxEmit.Preserve:void 0},(0,s.createDefaultCompilerOptionsFromExtra)(t)),r),i=n.getSourceFile(t.filePath);if(!i)throw new Error("Expected an ast to be returned for the single-file isolated program.");return{ast:i,program:n}}}}),Tr=c({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},a=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.getProgramsForProjects=e.createWatchProgram=e.clearWatchCaches=void 0;var o=a(X()),s=a(ht()),c=a(Ge()),u=i(yt()),l=Er(),d=(0,o.default)("typescript-eslint:typescript-estree:createWatchProgram"),f=new Map,_=new Map,m=new Map,g=new Map,h=new Map,y=new Map;function v(e){return(t,r)=>{let n=(0,l.getCanonicalFileName)(t),i=(()=>{let t=e.get(n);return t||(t=new Set,e.set(n,t)),t})();return i.add(r),{close:()=>{i.delete(r)}}}}e.clearWatchCaches=function(){f.clear(),_.clear(),m.clear(),y.clear(),g.clear(),h.clear()};var D={code:"",filePath:""};function b(e){throw new Error(u.flattenDiagnosticMessageText(e.messageText,u.sys.newLine))}function x(e){var t;return null!==(t=u.sys)&&void 0!==t&&t.createHash?u.sys.createHash(e):e}function E(e,t,r){let n=r.EXPERIMENTAL_useSourceOfProjectReferenceRedirect?new Set(t.getSourceFiles().map((e=>(0,l.getCanonicalFileName)(e.fileName)))):new Set(t.getRootFileNames().map((e=>(0,l.getCanonicalFileName)(e))));return g.set(e,n),n}e.getProgramsForProjects=function(e,t,r){let n=(0,l.getCanonicalFileName)(t),i=[];D.code=e,D.filePath=n;let a=_.get(n),o=x(e);y.get(n)!==o&&a&&a.size>0&&a.forEach((e=>e(n,u.FileWatcherEventKind.Changed)));for(let[e,t]of f.entries()){let i=g.get(e),a=null;if(i||(a=t.getProgram().getProgram(),i=E(e,a,r)),i.has(n))return d("Found existing program for file. %s",n),a=null!=a?a:t.getProgram().getProgram(),a.getTypeChecker(),[a]}d("File did not belong to any existing programs, moving to create/update. %s",n);for(let e of r.projects){let t=f.get(e);if(t){let a=T(t,n,e);if(!a)continue;if(a.getTypeChecker(),E(e,a,r).has(n))return d("Found updated program for file. %s",n),[a];i.push(a);continue}let a=C(e,r);f.set(e,a);let o=a.getProgram().getProgram();if(o.getTypeChecker(),E(e,o,r).has(n))return d("Found program for file. %s",n),[o];i.push(o)}return i};var S=c.default.satisfies(u.version,">=3.9.0-beta",{includePrerelease:!0});function C(e,t){d("Creating watch program for %s.",e);let r=u.createWatchCompilerHost(e,(0,l.createDefaultCompilerOptionsFromExtra)(t),u.sys,u.createAbstractBuilder,b,(()=>{}));t.moduleResolver&&(r.resolveModuleNames=(0,l.getModuleResolver)(t.moduleResolver).resolveModuleNames);let n=r.readFile;r.readFile=(e,t)=>{let r=(0,l.getCanonicalFileName)(e),i=r===D.filePath?D.code:n(r,t);return void 0!==i&&y.set(r,x(i)),i},r.onUnRecoverableConfigFileDiagnostic=b,r.afterProgramCreate=e=>{let t=e.getConfigFileParsingDiagnostics().filter((e=>e.category===u.DiagnosticCategory.Error&&18003!==e.code));t.length>0&&b(t[0])},r.watchFile=v(_),r.watchDirectory=v(m);let i,a=r.onCachedDirectoryStructureHostCreate;r.onCachedDirectoryStructureHostCreate=e=>{let r=e.readDirectory;e.readDirectory=(e,n,i,a,o)=>r(e,n?n.concat(t.extraFileExtensions):void 0,i,a,o),a(e)},r.extraFileExtensions=t.extraFileExtensions.map((e=>({extension:e,isMixedContent:!0,scriptKind:u.ScriptKind.Deferred}))),r.trace=d,r.useSourceOfProjectReferenceRedirect=()=>t.EXPERIMENTAL_useSourceOfProjectReferenceRedirect,S?(r.setTimeout=void 0,r.clearTimeout=void 0):(d("Running without timeout fix"),r.setTimeout=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return i=e.bind(void 0,...n),i},r.clearTimeout=()=>{i=void 0});let o=u.createWatchProgram(r);if(!S){let e=o.getProgram;o.getProgram=()=>(i&&i(),i=void 0,e.call(o))}return o}function T(e,t,n){let i=e.getProgram().getProgram();if("true"===r.env.TSESTREE_NO_INVALIDATION)return i;(function(e){let t=s.default.statSync(e).mtimeMs,r=h.get(e);return h.set(e,t),void 0!==r&&Math.abs(r-t)>Number.EPSILON})(n)&&(d("tsconfig has changed - triggering program update. %s",n),_.get(n).forEach((e=>e(n,u.FileWatcherEventKind.Changed))),g.delete(n));let a=i.getSourceFile(t);if(a)return i;d("File was not found in program - triggering folder update. %s",t);let o=(0,l.canonicalDirname)(t),c=null,p=o,f=!1;for(;c!==p;){c=p;let e=m.get(c);e&&(e.forEach((e=>{o!==c&&e(o,u.FileWatcherEventKind.Changed),e(c,u.FileWatcherEventKind.Changed)})),f=!0),p=(0,l.canonicalDirname)(c)}if(!f)return d("No callback found for file, not part of this program. %s",t),null;if(g.delete(n),i=e.getProgram().getProgram(),a=i.getSourceFile(t),a)return i;d("File was still not found in program after directory update - checking file deletions. %s",t);let y=i.getRootFileNames().find((e=>!s.default.existsSync(e)));if(!y)return null;let v=_.get((0,l.getCanonicalFileName)(y));return v?(d("Marking file as deleted. %s",y),v.forEach((e=>e(y,u.FileWatcherEventKind.Deleted))),g.delete(n),i=e.getProgram().getProgram(),a=i.getSourceFile(t),a?i:(d("File was still not found in program after deletion check, assuming it is not part of this program. %s",t),null)):(d("Could not find watch callbacks for root file. %s",y),i)}e.createWatchProgram=C}}),kr=c({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js"(e){p();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.createProjectProgram=void 0;var r=t(X()),n=t(ft()),i=Tr(),a=At(),o=Er(),s=(0,r.default)("typescript-eslint:typescript-estree:createProjectProgram"),c=[".ts",".tsx",".js",".jsx"];e.createProjectProgram=function(e,t,r){s("Creating project program for: %s",r.filePath);let u=(0,a.firstDefined)((0,i.getProgramsForProjects)(e,r.filePath,r),(e=>(0,o.getAstFromProgram)(e,r)));if(!u&&!t){let e=['"parserOptions.project" has been set for @typescript-eslint/parser.',"The file does not match your project config: ".concat(n.default.relative(r.tsconfigRootDir||"/prettier-security-dirname-placeholder",r.filePath),".")],t=!1,i=r.extraFileExtensions||[];i.forEach((t=>{t.startsWith(".")||e.push('Found unexpected extension "'.concat(t,'" specified with the "extraFileExtensions" option. Did you mean ".').concat(t,'"?')),c.includes(t)&&e.push('You unnecessarily included the extension "'.concat(t,'" with the "extraFileExtensions" option. This extension is already handled by the parser by default.'))}));let a=n.default.extname(r.filePath);if(!c.includes(a)){let r="The extension for the file (".concat(a,") is non-standard");i.length>0?i.includes(a)||(e.push("".concat(r,'. It should be added to your existing "parserOptions.extraFileExtensions".')),t=!0):(e.push("".concat(r,'. You should add "parserOptions.extraFileExtensions" to your config.')),t=!0)}throw t||e.push("The file must be included in at least one of the projects provided."),new Error(e.join("\n"))}return u}}}),Ar=c({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.createSourceFile=void 0;var a=i(X()),o=n(yt()),s=Er(),c=(0,a.default)("typescript-eslint:typescript-estree:createSourceFile");e.createSourceFile=function(e,t){return c("Getting AST without type information in %s mode for: %s",t.jsx?"TSX":"TS",t.filePath),o.createSourceFile(t.filePath,e,o.ScriptTarget.Latest,!0,(0,s.getScriptKind)(t))}}}),Nr=c({"node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.getFirstSemanticOrSyntacticError=void 0;var t=yt();function r(e){return e.filter((e=>{switch(e.code){case 1013:case 1014:case 1044:case 1045:case 1048:case 1049:case 1070:case 1071:case 1085:case 1090:case 1096:case 1097:case 1098:case 1099:case 1117:case 1121:case 1123:case 1141:case 1162:case 1164:case 1172:case 1173:case 1175:case 1176:case 1190:case 1196:case 1200:case 1206:case 1211:case 1242:case 1246:case 1255:case 1308:case 2364:case 2369:case 2452:case 2462:case 8017:case 17012:case 17013:return!0}return!1}))}function n(e){return Object.assign(Object.assign({},e),{message:(0,t.flattenDiagnosticMessageText)(e.messageText,t.sys.newLine)})}e.getFirstSemanticOrSyntacticError=function(e,t){try{let i=r(e.getSyntacticDiagnostics(t));if(i.length)return n(i[0]);let a=r(e.getSemanticDiagnostics(t));return a.length?n(a[0]):void 0}catch(e){return void console.warn('Warning From TSC: "'.concat(e.message))}}}}),Pr=c({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},a=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.createProgramFromConfigFile=e.useProvidedPrograms=void 0;var o=a(X()),s=i(ht()),c=i(ft()),u=i(yt()),l=Er(),d=(0,o.default)("typescript-eslint:typescript-estree:useProvidedProgram");function f(e){return u.formatDiagnostics(e,{getCanonicalFileName:e=>e,getCurrentDirectory:r.cwd,getNewLine:()=>"\n"})}e.useProvidedPrograms=function(e,t){let r;d("Retrieving ast for %s from provided program instance(s)",t.filePath);for(let n of e)if(r=(0,l.getAstFromProgram)(n,t),r)break;if(!r){let e=c.relative(t.tsconfigRootDir||"/prettier-security-dirname-placeholder",t.filePath),r=['"parserOptions.programs" has been provided for @typescript-eslint/parser.',"The file was not found in any of the provided program instance(s): ".concat(e)];throw new Error(r.join("\n"))}return r.program.getTypeChecker(),r},e.createProgramFromConfigFile=function(e,t){if(void 0===u.sys)throw new Error("`createProgramFromConfigFile` is only supported in a Node-like environment.");let r=u.getParsedCommandLineOfConfigFile(e,l.CORE_COMPILER_OPTIONS,{onUnRecoverableConfigFileDiagnostic:e=>{throw new Error(f([e]))},fileExists:s.existsSync,getCurrentDirectory:()=>t&&c.resolve(t)||"/prettier-security-dirname-placeholder",readDirectory:u.sys.readDirectory,readFile:e=>s.readFileSync(e,"utf-8"),useCaseSensitiveFileNames:u.sys.useCaseSensitiveFileNames});if(r.errors.length)throw new Error(f(r.errors));let n=u.createCompilerHost(r.options,!0);return u.createProgram(r.fileNames,r.options,n)}}}),Fr=c({"node_modules/@typescript-eslint/typescript-estree/dist/parser.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},a=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.clearParseAndGenerateServicesCalls=e.clearProgramCache=e.parseWithNodeMaps=e.parseAndGenerateServices=e.parse=void 0;var o,s=a(X()),c=(a(Z()),a(Ge())),u=ft(),l=i(yt()),d=xr(),f=Pt(),_=Sr(),m=Cr(),g=kr(),h=Ar(),y=Nr(),v=Er(),D=Pr(),b=(0,s.default)("typescript-eslint:typescript-estree:parser"),x=">=3.3.1 <4.7.0",E=l.version,S=c.default.satisfies(E,[x].concat([]).join(" || ")),C=!1,T=new Map;function k(e){return"string"!=typeof e?String(e):e}function A(){let{jsx:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e?"estree.tsx":"estree.ts"}function N(){o={code:"",comment:!1,comments:[],createDefaultProgram:!1,debugLevel:new Set,errorOnTypeScriptSyntacticAndSemanticIssues:!1,errorOnUnknownASTType:!1,EXPERIMENTAL_useSourceOfProjectReferenceRedirect:!1,extraFileExtensions:[],filePath:A(),jsx:!1,loc:!1,log:console.log,preserveNodeMaps:!0,programs:null,projects:[],range:!1,strict:!1,tokens:null,tsconfigRootDir:"/prettier-security-dirname-placeholder",singleRun:!1,moduleResolver:""}}function P(e){var t;if(!0===e.debugLevel?o.debugLevel=new Set(["typescript-eslint"]):Array.isArray(e.debugLevel)&&(o.debugLevel=new Set(e.debugLevel)),o.debugLevel.size>0){let e=[];o.debugLevel.has("typescript-eslint")&&e.push("typescript-eslint:*"),(o.debugLevel.has("eslint")||s.default.enabled("eslint:*,-eslint:code-path"))&&e.push("eslint:*,-eslint:code-path"),s.default.enable(e.join(","))}if(o.range="boolean"==typeof e.range&&e.range,o.loc="boolean"==typeof e.loc&&e.loc,"boolean"==typeof e.tokens&&e.tokens&&(o.tokens=[]),"boolean"==typeof e.comment&&e.comment&&(o.comment=!0,o.comments=[]),"boolean"==typeof e.jsx&&e.jsx&&(o.jsx=!0),"string"==typeof e.filePath&&"<input>"!==e.filePath?o.filePath=e.filePath:o.filePath=A(o),"boolean"==typeof e.errorOnUnknownASTType&&e.errorOnUnknownASTType&&(o.errorOnUnknownASTType=!0),"function"==typeof e.loggerFn?o.log=e.loggerFn:!1===e.loggerFn&&(o.log=()=>{}),"string"==typeof e.tsconfigRootDir&&(o.tsconfigRootDir=e.tsconfigRootDir),o.filePath=(0,v.ensureAbsolutePath)(o.filePath,o),Array.isArray(e.programs)){if(!e.programs.length)throw new Error("You have set parserOptions.programs to an empty array. This will cause all files to not be found in existing programs. Either provide one or more existing TypeScript Program instances in the array, or remove the parserOptions.programs setting.");o.programs=e.programs,b("parserOptions.programs was provided, so parserOptions.project will be ignored.")}o.programs||((null!==(t=e.projectFolderIgnoreList)&&void 0!==t?t:["**/node_modules/**"]).reduce(((e,t)=>("string"==typeof t&&e.push(t),e)),[]).map((e=>e.startsWith("!")?e:"!".concat(e))),o.projects=[]),Array.isArray(e.extraFileExtensions)&&e.extraFileExtensions.every((e=>"string"==typeof e))&&(o.extraFileExtensions=e.extraFileExtensions),"boolean"==typeof e.preserveNodeMaps&&(o.preserveNodeMaps=e.preserveNodeMaps),o.createDefaultProgram="boolean"==typeof e.createDefaultProgram&&e.createDefaultProgram,o.EXPERIMENTAL_useSourceOfProjectReferenceRedirect="boolean"==typeof e.EXPERIMENTAL_useSourceOfProjectReferenceRedirect&&e.EXPERIMENTAL_useSourceOfProjectReferenceRedirect,"string"==typeof e.moduleResolver&&(o.moduleResolver=e.moduleResolver)}function F(){var e;if(!S&&!C){if(!(typeof r>"u")&&(null===(e=r.stdout)||void 0===e?void 0:e.isTTY)){let e="=============",t=[e,"WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.","You may find that it works just fine, or you may not.","SUPPORTED TYPESCRIPT VERSIONS: ".concat(x),"YOUR TYPESCRIPT VERSION: ".concat(E),"Please only submit bug reports when using the officially supported version.",e];o.log(t.join("\n\n"))}C=!0}}function w(e){"false"!==r.env.TSESTREE_SINGLE_RUN&&("true"===r.env.TSESTREE_SINGLE_RUN||null!=e&&e.allowAutomaticSingleRunInference&&("true"===r.env.CI||r.argv[1].endsWith((0,u.normalize)("node_modules/.bin/eslint"))))?o.singleRun=!0:o.singleRun=!1}function I(e,t,r){if(N(),null!=t&&t.errorOnTypeScriptSyntacticAndSemanticIssues)throw new Error('"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()');e=k(e),o.code=e,typeof t<"u"&&P(t),F(),w(t);let n=(0,h.createSourceFile)(e,o),{estree:i,astMaps:a}=(0,d.astConverter)(n,o,r);return{ast:i,esTreeNodeToTSNodeMap:a.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:a.tsNodeToESTreeNodeMap}}e.clearProgramCache=function(){T.clear()},e.parse=function(e,t){let{ast:r}=I(e,t,!1);return r},e.parseWithNodeMaps=function(e,t){return I(e,t,!0)};var O={};e.clearParseAndGenerateServicesCalls=function(){O={}},e.parseAndGenerateServices=function(e,t){var r;N(),e=k(e),o.code=e,typeof t<"u"&&(P(t),"boolean"==typeof t.errorOnTypeScriptSyntacticAndSemanticIssues&&t.errorOnTypeScriptSyntacticAndSemanticIssues&&(o.errorOnTypeScriptSyntacticAndSemanticIssues=!0)),F(),w(t),o.singleRun&&!o.programs&&(null===(r=o.projects)||void 0===r?void 0:r.length)>0&&(o.programs={*[Symbol.iterator](){for(let e of o.projects){let t=T.get(e);if(t)yield t;else{b("Detected single-run/CLI usage, creating Program once ahead of time for project: %s",e);let t=(0,D.createProgramFromConfigFile)(e);T.set(e,t),yield t}}}});let n,i,a=null!=o.programs||o.projects&&o.projects.length>0;if(o.singleRun&&t.filePath&&(O[t.filePath]=(O[t.filePath]||0)+1),o.singleRun&&t.filePath&&O[t.filePath]>1){let t=(0,m.createIsolatedProgram)(e,o);n=t.ast,i=t.program}else{let t=function(e,t,r,n){return t&&(0,D.useProvidedPrograms)(t,o)||r&&(0,g.createProjectProgram)(e,n,o)||r&&n&&(0,_.createDefaultProgram)(e,o)||(0,m.createIsolatedProgram)(e,o)}(e,o.programs,a,o.createDefaultProgram);n=t.ast,i=t.program}let s="boolean"!=typeof o.preserveNodeMaps||o.preserveNodeMaps,{estree:c,astMaps:u}=(0,d.astConverter)(n,o,s);if(i&&o.errorOnTypeScriptSyntacticAndSemanticIssues){let e=(0,y.getFirstSemanticOrSyntacticError)(i,n);if(e)throw(0,f.convertError)(e)}return{ast:c,services:{hasFullTypeInformation:a,program:i,esTreeNodeToTSNodeMap:u.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:u.tsNodeToESTreeNodeMap}}}}}),wr=c({"node_modules/@typescript-eslint/typescript-estree/package.json"(e,t){t.exports={name:"@typescript-eslint/typescript-estree",version:"5.16.0",description:"A parser that converts TypeScript source code into an ESTree compatible form",main:"dist/index.js",types:"dist/index.d.ts",files:["dist","README.md","LICENSE"],engines:{node:"^12.22.0 || ^14.17.0 || >=16.0.0"},repository:{type:"git",url:"https://github.com/typescript-eslint/typescript-eslint.git",directory:"packages/typescript-estree"},bugs:{url:"https://github.com/typescript-eslint/typescript-eslint/issues"},license:"BSD-2-Clause",keywords:["ast","estree","ecmascript","javascript","typescript","parser","syntax"],scripts:{build:"tsc -b tsconfig.build.json",postbuild:"downlevel-dts dist _ts3.4/dist",clean:"tsc -b tsconfig.build.json --clean",postclean:"rimraf dist && rimraf _ts3.4 && rimraf coverage",format:'prettier --write "./**/*.{ts,js,json,md}" --ignore-path ../../.prettierignore',lint:"eslint . --ext .js,.ts --ignore-path='../../.eslintignore'",test:"jest --coverage",typecheck:"tsc -p tsconfig.json --noEmit"},dependencies:{"@typescript-eslint/types":"5.16.0","@typescript-eslint/visitor-keys":"5.16.0",debug:"^4.3.2",globby:"^11.0.4","is-glob":"^4.0.3",semver:"^7.3.5",tsutils:"^3.21.0"},devDependencies:{"@babel/code-frame":"^7.16.0","@babel/parser":"^7.16.0","@types/babel__code-frame":"^7.0.3","@types/debug":"*","@types/glob":"*","@types/is-glob":"*","@types/semver":"*","@types/tmp":"*","@typescript-eslint/shared-fixtures":"5.16.0",glob:"*","jest-specific-snapshot":"*","make-dir":"*",tmp:"*",typescript:"*"},peerDependenciesMeta:{typescript:{optional:!0}},funding:{type:"opencollective",url:"https://opencollective.com/typescript-eslint"},typesVersions:{"<3.8":{"*":["_ts3.4/*"]}},gitHead:"aff9654937f7c09b16b609bf472341b3c3598b63"}}}),Ir=c({"node_modules/@typescript-eslint/typescript-estree/dist/index.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.visitorKeys=e.createProgram=e.clearCaches=e.simpleTraverse=e.clearProgramCache=e.parseWithNodeMaps=e.parseAndGenerateServices=e.parse=void 0;var n=Fr();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return n.parse}}),Object.defineProperty(e,"parseAndGenerateServices",{enumerable:!0,get:function(){return n.parseAndGenerateServices}}),Object.defineProperty(e,"parseWithNodeMaps",{enumerable:!0,get:function(){return n.parseWithNodeMaps}}),Object.defineProperty(e,"clearProgramCache",{enumerable:!0,get:function(){return n.clearProgramCache}});var i=br();Object.defineProperty(e,"simpleTraverse",{enumerable:!0,get:function(){return i.simpleTraverse}}),r(Tt(),e);var a=Tr();Object.defineProperty(e,"clearCaches",{enumerable:!0,get:function(){return a.clearWatchCaches}});var o=Pr();Object.defineProperty(e,"createProgram",{enumerable:!0,get:function(){return o.createProgramFromConfigFile}});var s=Dr();Object.defineProperty(e,"visitorKeys",{enumerable:!0,get:function(){return s.visitorKeys}}),e.version=wr().version}});p();var Or=d(),Lr=f(),Mr=U(),Rr=q(),Br=Y(),jr={loc:!0,range:!0,comment:!0,jsx:!0,tokens:!0,loggerFn:!1,project:[]};function Kr(e){let{message:t,lineNumber:r,column:n}=e;return"number"!=typeof r?e:Or(t,{start:{line:r,column:n+1}})}function Jr(e){return new RegExp(["(?:^[^\"'`]*</)","|","(?:^[^/]{2}.*/>)"].join(""),"m").test(e)}t.exports={parsers:{typescript:Mr((function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Rr(e),i=Jr(e),{parseWithNodeMaps:a}=Ir(),{result:o,error:s}=Lr((()=>a(n,Object.assign(Object.assign({},jr),{},{jsx:i}))),(()=>a(n,Object.assign(Object.assign({},jr),{},{jsx:!i}))));if(!o)throw Kr(s);return r.originalText=e,r.tsParseResult=o,Br(o.ast,r)}))}}}));return be()}()},893:e=>{e.exports=function(){"use strict";var e,t,r=(e=(e,t)=>{var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s=(e,t)=>function(){return e&&(t=(0,e[a(e)[0]])(e=0)),t},c=(e,t)=>function(){return t||(0,e[a(e)[0]])((t={exports:{}}).exports,t),t.exports},u=e=>((e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of a(t))!o.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(s=i(t,c))||s.enumerable});return e})(n({},"__esModule",{value:!0}),e),l=s({"<define:process>"(){r={env:{},argv:[]}}}),p=c({"src/common/parser-create-error.js"(e,t){l(),t.exports=function(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}}}),d=c({"src/language-yaml/pragma.js"(e,t){l(),t.exports={isPragma:function(e){return/^\s*@(?:prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n".concat(e)}}}}),f=c({"src/language-yaml/loc.js"(e,t){l(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),_={};function m(e,t){function r(){this.constructor=e}R(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function g(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function h(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o}function y(e,t){return function(r,n){t(r,n,e)}}function v(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function D(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(o,s)}c((n=n.apply(e,t||[])).next())}))}function b(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function x(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function E(e,t){for(var r in e)"default"!==r&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function S(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function C(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}function T(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(C(arguments[t]));return e}function k(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)n[i]=a[o];return n}function A(e){return this instanceof A?(this.v=e,this):new A(e)}function N(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),a=[];return n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n;function o(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||s(e,t)}))})}function s(e,t){try{!function(e){e.value instanceof A?Promise.resolve(e.value.v).then(c,u):l(a[0][2],e)}(i[e](t))}catch(e){l(a[0][3],e)}}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function P(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:A(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function F(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=S(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,i,(t=e[r](t)).done,t.value)}))}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function I(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function O(e){return e&&e.__esModule?e:{default:e}}function L(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function M(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(_,{__assign:()=>B,__asyncDelegator:()=>P,__asyncGenerator:()=>N,__asyncValues:()=>F,__await:()=>A,__awaiter:()=>D,__classPrivateFieldGet:()=>L,__classPrivateFieldSet:()=>M,__createBinding:()=>x,__decorate:()=>h,__exportStar:()=>E,__extends:()=>m,__generator:()=>b,__importDefault:()=>O,__importStar:()=>I,__makeTemplateObject:()=>w,__metadata:()=>v,__param:()=>y,__read:()=>C,__rest:()=>g,__spread:()=>T,__spreadArrays:()=>k,__values:()=>S});var R,B,j=s({"node_modules/tslib/tslib.es6.js"(){l(),R=function(e,t){return(R=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},B=function(){return B=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},B.apply(this,arguments)}}}),K=c({"node_modules/yaml-unist-parser/node_modules/lines-and-columns/build/index.js"(e){l(),e.__esModule=!0,e.LinesAndColumns=void 0;var t="\n",r=function(){function e(e){this.string=e;for(var r=[0],n=0;n<e.length;)switch(e[n]){case t:n+=t.length,r.push(n);break;case"\r":e[n+="\r".length]===t&&(n+=t.length),r.push(n);break;default:n++}this.offsets=r}return e.prototype.locationForIndex=function(e){if(e<0||e>this.string.length)return null;for(var t=0,r=this.offsets;r[t+1]<=e;)t++;return{line:t,column:e-r[t]}},e.prototype.indexForLocation=function(e){var t=e.line,r=e.column;return t<0||t>=this.offsets.length||r<0||r>this.lengthOfLine(t)?null:this.offsets[t]+r},e.prototype.lengthOfLine=function(e){var t=this.offsets[e];return(e===this.offsets.length-1?this.string.length:this.offsets[e+1])-t},e}();e.LinesAndColumns=r,e.default=r}}),J=c({"node_modules/yaml-unist-parser/lib/utils/define-parents.js"(e){l(),e.__esModule=!0,e.defineParents=function e(t,r){void 0===r&&(r=null),"children"in t&&t.children.forEach((function(r){return e(r,t)})),"anchor"in t&&t.anchor&&e(t.anchor,t),"tag"in t&&t.tag&&e(t.tag,t),"leadingComments"in t&&t.leadingComments.forEach((function(r){return e(r,t)})),"middleComments"in t&&t.middleComments.forEach((function(r){return e(r,t)})),"indicatorComment"in t&&t.indicatorComment&&e(t.indicatorComment,t),"trailingComment"in t&&t.trailingComment&&e(t.trailingComment,t),"endComments"in t&&t.endComments.forEach((function(r){return e(r,t)})),Object.defineProperty(t,"_parent",{value:r,enumerable:!1})}}}),U=c({"node_modules/yaml-unist-parser/lib/utils/get-point-text.js"(e){l(),e.__esModule=!0,e.getPointText=function(e){return e.line+":"+e.column}}}),q=c({"node_modules/yaml-unist-parser/lib/attach.js"(e){l(),e.__esModule=!0;var t=J(),r=U();function n(e,t){if(t.position.start.offset!==t.position.end.offset){if("leadingComments"in t){var r=t.position.start,i=e[r.line-1].leadingAttachableNode;(!i||r.column<i.position.start.column)&&(e[r.line-1].leadingAttachableNode=t)}if("trailingComment"in t&&t.position.end.column>1&&"document"!==t.type&&"documentHead"!==t.type){var a=t.position.end,o=e[a.line-1].trailingAttachableNode;(!o||a.column>=o.position.end.column)&&(e[a.line-1].trailingAttachableNode=t)}if("root"!==t.type&&"document"!==t.type&&"documentHead"!==t.type&&"documentBody"!==t.type)for(var s=t.position,c=(r=s.start,0),u=[(a=s.end).line].concat(r.line===a.line?[]:r.line);c<u.length;c++){var l=u[c],p=e[l-1].trailingNode;(!p||a.column>=p.position.end.column)&&(e[l-1].trailingNode=t)}"children"in t&&t.children.forEach((function(t){n(e,t)}))}}function i(e,t){if(e.position.start.offset<t.position.start.offset&&e.position.end.offset>t.position.end.offset)switch(e.type){case"flowMapping":case"flowSequence":return 0===e.children.length||t.position.start.line>e.children[e.children.length-1].position.end.line}if(t.position.end.offset<e.position.end.offset)return!1;switch(e.type){case"sequenceItem":return t.position.start.column>e.position.start.column;case"mappingKey":case"mappingValue":return t.position.start.column>e._parent.position.start.column&&(0===e.children.length||1===e.children.length&&"blockFolded"!==e.children[0].type&&"blockLiteral"!==e.children[0].type)&&("mappingValue"===e.type||a(e));default:return!1}}function a(e){return e.position.start!==e.position.end&&(0===e.children.length||e.position.start.offset!==e.children[0].position.start.offset)}e.attachComments=function(e){t.defineParents(e);var o=function(e){for(var t=Array.from(new Array(e.position.end.line),(function(){return{}})),r=0,i=e.comments;r<i.length;r++){var a=i[r];t[a.position.start.line-1].comment=a}return n(t,e),t}(e),s=e.children.slice();e.comments.sort((function(e,t){return e.position.start.offset-t.position.end.offset})).filter((function(e){return!e._parent})).forEach((function(e){for(;s.length>1&&e.position.start.line>s[0].position.end.line;)s.shift();!function(e,n,o){var s=e.position.start.line,c=n[s-1].trailingAttachableNode;if(c){if(c.trailingComment)throw new Error("Unexpected multiple trailing comment at "+r.getPointText(e.position.start));return t.defineParents(e,c),void(c.trailingComment=e)}for(var u=s;u>=o.position.start.line;u--){var l=n[u-1].trailingNode,p=void 0;if(l)p=l;else{if(u===s||!n[u-1].comment)continue;p=n[u-1].comment._parent}if(("sequence"===p.type||"mapping"===p.type)&&(p=p.children[0]),"mappingItem"===p.type){var d=p.children,f=d[0],_=d[1];p=a(f)?f:_}for(;;){if(i(p,e))return t.defineParents(e,p),void p.endComments.push(e);if(!p._parent)break;p=p._parent}break}for(u=s+1;u<=o.position.end.line;u++){var m=n[u-1].leadingAttachableNode;if(m)return t.defineParents(e,m),void m.leadingComments.push(e)}var g=o.children[1];t.defineParents(e,g),g.endComments.push(e)}(e,o,s[0])}))}}}),V=c({"node_modules/yaml-unist-parser/lib/factories/node.js"(e){l(),e.__esModule=!0,e.createNode=function(e,t){return{type:e,position:t}}}}),z=c({"node_modules/yaml-unist-parser/lib/factories/root.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=V();e.createRoot=function(e,n,i){return t.__assign(t.__assign({},r.createNode("root",e)),{children:n,comments:i})}}}),W=c({"node_modules/yaml-unist-parser/lib/preprocess.js"(e){l(),e.__esModule=!0,e.removeCstBlankLine=function e(t){switch(t.type){case"DOCUMENT":for(var r=t.contents.length-1;r>=0;r--)"BLANK_LINE"===t.contents[r].type?t.contents.splice(r,1):e(t.contents[r]);for(r=t.directives.length-1;r>=0;r--)"BLANK_LINE"===t.directives[r].type&&t.directives.splice(r,1);break;case"FLOW_MAP":case"FLOW_SEQ":case"MAP":case"SEQ":for(r=t.items.length-1;r>=0;r--){var n=t.items[r];"char"in n||("BLANK_LINE"===n.type?t.items.splice(r,1):e(n))}break;case"MAP_KEY":case"MAP_VALUE":case"SEQ_ITEM":t.node&&e(t.node);break;case"ALIAS":case"BLANK_LINE":case"BLOCK_FOLDED":case"BLOCK_LITERAL":case"COMMENT":case"DIRECTIVE":case"PLAIN":case"QUOTE_DOUBLE":case"QUOTE_SINGLE":break;default:throw new Error("Unexpected node type "+JSON.stringify(t.type))}}}}),H=c({"node_modules/yaml-unist-parser/lib/factories/leading-comment-attachable.js"(e){l(),e.__esModule=!0,e.createLeadingCommentAttachable=function(){return{leadingComments:[]}}}}),G=c({"node_modules/yaml-unist-parser/lib/factories/trailing-comment-attachable.js"(e){l(),e.__esModule=!0,e.createTrailingCommentAttachable=function(e){return void 0===e&&(e=null),{trailingComment:e}}}}),$=c({"node_modules/yaml-unist-parser/lib/factories/comment-attachable.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=H(),n=G();e.createCommentAttachable=function(){return t.__assign(t.__assign({},r.createLeadingCommentAttachable()),n.createTrailingCommentAttachable())}}}),Y=c({"node_modules/yaml-unist-parser/lib/factories/alias.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=$(),n=V();e.createAlias=function(e,i,a){return t.__assign(t.__assign(t.__assign(t.__assign({},n.createNode("alias",e)),r.createCommentAttachable()),i),{value:a})}}}),X=c({"node_modules/yaml-unist-parser/lib/transforms/alias.js"(e){l(),e.__esModule=!0;var t=Y();e.transformAlias=function(e,r){var n=e.cstNode;return t.createAlias(r.transformRange({origStart:n.valueRange.origStart-1,origEnd:n.valueRange.origEnd}),r.transformContent(e),n.rawValue)}}}),Q=c({"node_modules/yaml-unist-parser/lib/factories/block-folded.js"(e){l(),e.__esModule=!0;var t=(j(),u(_));e.createBlockFolded=function(e){return t.__assign(t.__assign({},e),{type:"blockFolded"})}}}),Z=c({"node_modules/yaml-unist-parser/lib/factories/block-value.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=H(),n=V();e.createBlockValue=function(e,i,a,o,s,c){return t.__assign(t.__assign(t.__assign(t.__assign({},n.createNode("blockValue",e)),r.createLeadingCommentAttachable()),i),{chomping:a,indent:o,value:s,indicatorComment:c})}}}),ee=c({"node_modules/yaml-unist-parser/lib/constants.js"(e){var t;l(),e.__esModule=!0,(t=e.PropLeadingCharacter||(e.PropLeadingCharacter={})).Tag="!",t.Anchor="&",t.Comment="#"}}),te=c({"node_modules/yaml-unist-parser/lib/factories/anchor.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=V();e.createAnchor=function(e,n){return t.__assign(t.__assign({},r.createNode("anchor",e)),{value:n})}}}),re=c({"node_modules/yaml-unist-parser/lib/factories/comment.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=V();e.createComment=function(e,n){return t.__assign(t.__assign({},r.createNode("comment",e)),{value:n})}}}),ne=c({"node_modules/yaml-unist-parser/lib/factories/content.js"(e){l(),e.__esModule=!0,e.createContent=function(e,t,r){return{anchor:t,tag:e,middleComments:r}}}}),ie=c({"node_modules/yaml-unist-parser/lib/factories/tag.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=V();e.createTag=function(e,n){return t.__assign(t.__assign({},r.createNode("tag",e)),{value:n})}}}),ae=c({"node_modules/yaml-unist-parser/lib/transforms/content.js"(e){l(),e.__esModule=!0;var t=ee(),r=te(),n=re(),i=ne(),a=ie();e.transformContent=function(e,o,s){void 0===s&&(s=function(){return!1});for(var c=e.cstNode,u=[],l=null,p=null,d=null,f=0,_=c.props;f<_.length;f++){var m=_[f],g=o.text[m.origStart];switch(g){case t.PropLeadingCharacter.Tag:l=l||m,p=a.createTag(o.transformRange(m),e.tag);break;case t.PropLeadingCharacter.Anchor:l=l||m,d=r.createAnchor(o.transformRange(m),c.anchor);break;case t.PropLeadingCharacter.Comment:var h=n.createComment(o.transformRange(m),o.text.slice(m.origStart+1,m.origEnd));o.comments.push(h),!s(h)&&l&&l.origEnd<=m.origStart&&m.origEnd<=c.valueRange.origStart&&u.push(h);break;default:throw new Error("Unexpected leading character "+JSON.stringify(g))}}return i.createContent(p,d,u)}}}),oe=c({"node_modules/yaml-unist-parser/lib/transforms/block-value.js"(e){l(),e.__esModule=!0;var t,r,n=Z(),i=U(),a=ae();(r=t||(t={})).CLIP="clip",r.STRIP="strip",r.KEEP="keep",e.transformAstBlockValue=function(e,r){var o=e.cstNode,s="CLIP"===o.chomping?0:1,c=o.header.origEnd-o.header.origStart-1-s!=0,u=r.transformRange({origStart:o.header.origStart,origEnd:o.valueRange.origEnd}),l=null,p=a.transformContent(e,r,(function(e){if(!(u.start.offset<e.position.start.offset&&e.position.end.offset<u.end.offset))return!1;if(l)throw new Error("Unexpected multiple indicator comments at "+i.getPointText(e.position.start));return l=e,!0}));return n.createBlockValue(u,p,t[o.chomping],c?o.blockIndent:null,o.strValue,l)}}}),se=c({"node_modules/yaml-unist-parser/lib/transforms/block-folded.js"(e){l(),e.__esModule=!0;var t=Q(),r=oe();e.transformBlockFolded=function(e,n){return t.createBlockFolded(r.transformAstBlockValue(e,n))}}}),ce=c({"node_modules/yaml-unist-parser/lib/factories/block-literal.js"(e){l(),e.__esModule=!0;var t=(j(),u(_));e.createBlockLiteral=function(e){return t.__assign(t.__assign({},e),{type:"blockLiteral"})}}}),ue=c({"node_modules/yaml-unist-parser/lib/transforms/block-literal.js"(e){l(),e.__esModule=!0;var t=ce(),r=oe();e.transformBlockLiteral=function(e,n){return t.createBlockLiteral(r.transformAstBlockValue(e,n))}}}),le=c({"node_modules/yaml-unist-parser/lib/transforms/comment.js"(e){l(),e.__esModule=!0;var t=re();e.transformComment=function(e,r){return t.createComment(r.transformRange(e.range),e.comment)}}}),pe=c({"node_modules/yaml-unist-parser/lib/factories/directive.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=$(),n=V();e.createDirective=function(e,i,a){return t.__assign(t.__assign(t.__assign({},n.createNode("directive",e)),r.createCommentAttachable()),{name:i,parameters:a})}}}),de=c({"node_modules/yaml-unist-parser/lib/utils/extract-prop-comments.js"(e){l(),e.__esModule=!0;var t=ee(),r=re();e.extractPropComments=function(e,n){for(var i=0,a=e.props;i<a.length;i++){var o=a[i],s=n.text[o.origStart];if(s!==t.PropLeadingCharacter.Comment)throw new Error("Unexpected leading character "+JSON.stringify(s));n.comments.push(r.createComment(n.transformRange(o),n.text.slice(o.origStart+1,o.origEnd)))}}}}),fe=c({"node_modules/yaml-unist-parser/lib/transforms/directive.js"(e){l(),e.__esModule=!0;var t=pe(),r=de();e.transformDirective=function(e,n){return r.extractPropComments(e,n),t.createDirective(n.transformRange(e.range),e.name,e.parameters)}}}),_e=c({"node_modules/yaml-unist-parser/lib/factories/document.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=V(),n=G();e.createDocument=function(e,i,a,o){return t.__assign(t.__assign(t.__assign({},r.createNode("document",e)),n.createTrailingCommentAttachable(o)),{children:[i,a]})}}}),me=c({"node_modules/yaml-unist-parser/lib/factories/position.js"(e){l(),e.__esModule=!0,e.createPosition=function(e,t){return{start:e,end:t}},e.createEmptyPosition=function(e){return{start:e,end:e}}}}),ge=c({"node_modules/yaml-unist-parser/lib/factories/end-comment-attachable.js"(e){l(),e.__esModule=!0,e.createEndCommentAttachable=function(e){return void 0===e&&(e=[]),{endComments:e}}}}),he=c({"node_modules/yaml-unist-parser/lib/factories/document-body.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=ge(),n=V();e.createDocumentBody=function(e,i,a){return t.__assign(t.__assign(t.__assign({},n.createNode("documentBody",e)),r.createEndCommentAttachable(a)),{children:i?[i]:[]})}}}),ye=c({"node_modules/yaml-unist-parser/lib/utils/get-last.js"(e){l(),e.__esModule=!0,e.getLast=function(e){return e[e.length-1]}}}),ve=c({"node_modules/yaml-unist-parser/lib/utils/get-match-index.js"(e){l(),e.__esModule=!0,e.getMatchIndex=function(e,t){var r=e.match(t);return r?r.index:-1}}}),De=c({"node_modules/yaml-unist-parser/lib/transforms/document-body.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=he(),n=ye(),i=ve(),a=U();e.transformDocumentBody=function(e,o,s){var c,u=e.cstNode,l=function(e,t,r){for(var i=[],o=[],s=[],c=[],u=!1,l=e.contents.length-1;l>=0;l--){var p=e.contents[l];if("COMMENT"===p.type){var d=t.transformNode(p);r&&r.line===d.position.start.line?c.unshift(d):u?i.unshift(d):d.position.start.offset>=e.valueRange.origEnd?s.unshift(d):i.unshift(d)}else u=!0}if(s.length>1)throw new Error("Unexpected multiple document trailing comments at "+a.getPointText(s[1].position.start));if(c.length>1)throw new Error("Unexpected multiple documentHead trailing comments at "+a.getPointText(c[1].position.start));return{comments:i,endComments:o,documentTrailingComment:n.getLast(s)||null,documentHeadTrailingComment:n.getLast(c)||null}}(u,o,s),p=l.comments,d=l.endComments,f=l.documentTrailingComment,_=l.documentHeadTrailingComment,m=o.transformNode(e.contents),g=function(e,t,r){var n=i.getMatchIndex(r.text.slice(e.valueRange.origEnd),/^\.\.\./),a=-1===n?e.valueRange.origEnd:Math.max(0,e.valueRange.origEnd-1);"\r"===r.text[a-1]&&a--;var o=r.transformRange({origStart:null!==t?t.position.start.offset:a,origEnd:a});return{position:o,documentEndPoint:-1===n?o.end:r.transformOffset(e.valueRange.origEnd+3)}}(u,m,o),h=g.position,y=g.documentEndPoint;return(c=o.comments).push.apply(c,t.__spreadArrays(p,d)),{documentBody:r.createDocumentBody(h,m,d),documentEndPoint:y,documentTrailingComment:f,documentHeadTrailingComment:_}}}}),be=c({"node_modules/yaml-unist-parser/lib/factories/document-head.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=ge(),n=V(),i=G();e.createDocumentHead=function(e,a,o,s){return t.__assign(t.__assign(t.__assign(t.__assign({},n.createNode("documentHead",e)),r.createEndCommentAttachable(o)),i.createTrailingCommentAttachable(s)),{children:a})}}}),xe=c({"node_modules/yaml-unist-parser/lib/transforms/document-head.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=be(),n=ve();e.transformDocumentHead=function(e,i){var a,o=e.cstNode,s=function(e,t){for(var r=[],n=[],i=[],a=!1,o=e.directives.length-1;o>=0;o--){var s=t.transformNode(e.directives[o]);"comment"===s.type?a?n.unshift(s):i.unshift(s):(a=!0,r.unshift(s))}return{directives:r,comments:n,endComments:i}}(o,i),c=s.directives,u=s.comments,l=s.endComments,p=function(e,t,r){var i=n.getMatchIndex(r.text.slice(0,e.valueRange.origStart),/---\s*$/);i>0&&!/[\r\n]/.test(r.text[i-1])&&(i=-1);var a=-1===i?{origStart:e.valueRange.origStart,origEnd:e.valueRange.origStart}:{origStart:i,origEnd:i+3};return 0!==t.length&&(a.origStart=t[0].position.start.offset),{position:r.transformRange(a),endMarkerPoint:-1===i?null:r.transformOffset(i)}}(o,c,i),d=p.position,f=p.endMarkerPoint;return(a=i.comments).push.apply(a,t.__spreadArrays(u,l)),{createDocumentHeadWithTrailingComment:function(e){return e&&i.comments.push(e),r.createDocumentHead(d,c,l,e)},documentHeadEndMarkerPoint:f}}}}),Ee=c({"node_modules/yaml-unist-parser/lib/transforms/document.js"(e){l(),e.__esModule=!0;var t=_e(),r=me(),n=De(),i=xe();e.transformDocument=function(e,a){var o=i.transformDocumentHead(e,a),s=o.createDocumentHeadWithTrailingComment,c=o.documentHeadEndMarkerPoint,u=n.transformDocumentBody(e,a,c),l=u.documentBody,p=u.documentEndPoint,d=u.documentTrailingComment,f=s(u.documentHeadTrailingComment);return d&&a.comments.push(d),t.createDocument(r.createPosition(f.position.start,p),f,l,d)}}}),Se=c({"node_modules/yaml-unist-parser/lib/factories/flow-collection.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=$(),n=ge(),i=V();e.createFlowCollection=function(e,a,o){return t.__assign(t.__assign(t.__assign(t.__assign(t.__assign({},i.createNode("flowCollection",e)),r.createCommentAttachable()),n.createEndCommentAttachable()),a),{children:o})}}}),Ce=c({"node_modules/yaml-unist-parser/lib/factories/flow-mapping.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=Se();e.createFlowMapping=function(e,n,i){return t.__assign(t.__assign({},r.createFlowCollection(e,n,i)),{type:"flowMapping"})}}}),Te=c({"node_modules/yaml-unist-parser/lib/factories/flow-mapping-item.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=H(),n=V();e.createFlowMappingItem=function(e,i,a){return t.__assign(t.__assign(t.__assign({},n.createNode("flowMappingItem",e)),r.createLeadingCommentAttachable()),{children:[i,a]})}}}),ke=c({"node_modules/yaml-unist-parser/lib/utils/extract-comments.js"(e){l(),e.__esModule=!0,e.extractComments=function(e,t){for(var r=[],n=0,i=e;n<i.length;n++){var a=i[n];a&&"type"in a&&"COMMENT"===a.type?t.comments.push(t.transformNode(a)):r.push(a)}return r}}}),Ae=c({"node_modules/yaml-unist-parser/lib/utils/get-flow-map-item-additional-ranges.js"(e){l(),e.__esModule=!0,e.getFlowMapItemAdditionalRanges=function(e){var t=["?",":"].map((function(t){var r=e.find((function(e){return"char"in e&&e.char===t}));return r?{origStart:r.origOffset,origEnd:r.origOffset+1}:null}));return{additionalKeyRange:t[0],additionalValueRange:t[1]}}}}),Ne=c({"node_modules/yaml-unist-parser/lib/utils/create-slicer.js"(e){l(),e.__esModule=!0,e.createSlicer=function(e,t){var r=t;return function(t){return e.slice(r,r=t)}}}}),Pe=c({"node_modules/yaml-unist-parser/lib/utils/group-cst-flow-collection-items.js"(e){l(),e.__esModule=!0;var t=Ne();e.groupCstFlowCollectionItems=function(e){for(var r=[],n=t.createSlicer(e,1),i=!1,a=1;a<e.length-1;a++){var o=e[a];"char"in o&&","===o.char?(r.push(n(a)),n(a+1),i=!1):i=!0}return i&&r.push(n(e.length-1)),r}}}),Fe=c({"node_modules/yaml-unist-parser/lib/factories/mapping-key.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=ge(),n=V(),i=G();e.createMappingKey=function(e,a){return t.__assign(t.__assign(t.__assign(t.__assign({},n.createNode("mappingKey",e)),i.createTrailingCommentAttachable()),r.createEndCommentAttachable()),{children:a?[a]:[]})}}}),we=c({"node_modules/yaml-unist-parser/lib/factories/mapping-value.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=$(),n=ge(),i=V();e.createMappingValue=function(e,a){return t.__assign(t.__assign(t.__assign(t.__assign({},i.createNode("mappingValue",e)),r.createCommentAttachable()),n.createEndCommentAttachable()),{children:a?[a]:[]})}}}),Ie=c({"node_modules/yaml-unist-parser/lib/transforms/pair.js"(e){l(),e.__esModule=!0;var t=Fe(),r=we(),n=me();e.transformAstPair=function(e,i,a,o,s){var c=i.transformNode(e.key),u=i.transformNode(e.value),l=c||o?t.createMappingKey(i.transformRange({origStart:o?o.origStart:c.position.start.offset,origEnd:c?c.position.end.offset:o.origStart+1}),c):null,p=u||s?r.createMappingValue(i.transformRange({origStart:s?s.origStart:u.position.start.offset,origEnd:u?u.position.end.offset:s.origStart+1}),u):null;return a(n.createPosition(l?l.position.start:p.position.start,p?p.position.end:l.position.end),l||t.createMappingKey(n.createEmptyPosition(p.position.start),null),p||r.createMappingValue(n.createEmptyPosition(l.position.end),null))}}}),Oe=c({"node_modules/yaml-unist-parser/lib/transforms/flow-map.js"(e){l(),e.__esModule=!0;var t=Ce(),r=Te(),n=ke(),i=Ae(),a=ye(),o=Pe(),s=Ie();e.transformFlowMap=function(e,c){var u=n.extractComments(e.cstNode.items,c),l=o.groupCstFlowCollectionItems(u),p=e.items.map((function(e,t){var n=l[t],a=i.getFlowMapItemAdditionalRanges(n),o=a.additionalKeyRange,u=a.additionalValueRange;return s.transformAstPair(e,c,r.createFlowMappingItem,o,u)})),d=u[0],f=a.getLast(u);return t.createFlowMapping(c.transformRange({origStart:d.origOffset,origEnd:f.origOffset+1}),c.transformContent(e),p)}}}),Le=c({"node_modules/yaml-unist-parser/lib/factories/flow-sequence.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=Se();e.createFlowSequence=function(e,n,i){return t.__assign(t.__assign({},r.createFlowCollection(e,n,i)),{type:"flowSequence"})}}}),Me=c({"node_modules/yaml-unist-parser/lib/factories/flow-sequence-item.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=V();e.createFlowSequenceItem=function(e,n){return t.__assign(t.__assign({},r.createNode("flowSequenceItem",e)),{children:[n]})}}}),Re=c({"node_modules/yaml-unist-parser/lib/transforms/flow-seq.js"(e){l(),e.__esModule=!0;var t=Te(),r=Le(),n=Me(),i=me(),a=ke(),o=Ae(),s=ye(),c=Pe(),u=Ie();e.transformFlowSeq=function(e,l){var p=a.extractComments(e.cstNode.items,l),d=c.groupCstFlowCollectionItems(p),f=e.items.map((function(e,r){if("PAIR"!==e.type){var a=l.transformNode(e);return n.createFlowSequenceItem(i.createPosition(a.position.start,a.position.end),a)}var s=d[r],c=o.getFlowMapItemAdditionalRanges(s),p=c.additionalKeyRange,f=c.additionalValueRange;return u.transformAstPair(e,l,t.createFlowMappingItem,p,f)})),_=p[0],m=s.getLast(p);return r.createFlowSequence(l.transformRange({origStart:_.origOffset,origEnd:m.origOffset+1}),l.transformContent(e),f)}}}),Be=c({"node_modules/yaml-unist-parser/lib/factories/mapping.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=H(),n=V();e.createMapping=function(e,i,a){return t.__assign(t.__assign(t.__assign(t.__assign({},n.createNode("mapping",e)),r.createLeadingCommentAttachable()),i),{children:a})}}}),je=c({"node_modules/yaml-unist-parser/lib/factories/mapping-item.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=H(),n=V();e.createMappingItem=function(e,i,a){return t.__assign(t.__assign(t.__assign({},n.createNode("mappingItem",e)),r.createLeadingCommentAttachable()),{children:[i,a]})}}}),Ke=c({"node_modules/yaml-unist-parser/lib/transforms/map.js"(e){l(),e.__esModule=!0;var t=Be(),r=je(),n=me(),i=Ne(),a=ke(),o=de(),s=ye(),c=Ie();e.transformMap=function(e,u){var l=e.cstNode;l.items.filter((function(e){return"MAP_KEY"===e.type||"MAP_VALUE"===e.type})).forEach((function(e){return o.extractPropComments(e,u)}));var p=function(e){for(var t=[],r=i.createSlicer(e,0),n=!1,a=0;a<e.length;a++)"MAP_VALUE"!==e[a].type?(n&&t.push(r(a)),n=!0):(t.push(r(a+1)),n=!1);return n&&t.push(r(1/0)),t}(a.extractComments(l.items,u)),d=e.items.map((function(e,t){var n=p[t],i="MAP_VALUE"===n[0].type?[null,n[0].range]:[n[0].range,1===n.length?null:n[1].range],a=i[0],o=i[1];return c.transformAstPair(e,u,r.createMappingItem,a,o)}));return t.createMapping(n.createPosition(d[0].position.start,s.getLast(d).position.end),u.transformContent(e),d)}}}),Je=c({"node_modules/yaml-unist-parser/lib/factories/plain.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=$(),n=V();e.createPlain=function(e,i,a){return t.__assign(t.__assign(t.__assign(t.__assign({},n.createNode("plain",e)),r.createCommentAttachable()),i),{value:a})}}}),Ue=c({"node_modules/yaml-unist-parser/lib/utils/find-last-char-index.js"(e){l(),e.__esModule=!0,e.findLastCharIndex=function(e,t,r){for(var n=t;n>=0;n--)if(r.test(e[n]))return n;return-1}}}),qe=c({"node_modules/yaml-unist-parser/lib/transforms/plain.js"(e){l(),e.__esModule=!0;var t=Je(),r=Ue();e.transformPlain=function(e,n){var i=e.cstNode;return t.createPlain(n.transformRange({origStart:i.valueRange.origStart,origEnd:r.findLastCharIndex(n.text,i.valueRange.origEnd-1,/\S/)+1}),n.transformContent(e),i.strValue)}}}),Ve=c({"node_modules/yaml-unist-parser/lib/factories/quote-double.js"(e){l(),e.__esModule=!0;var t=(j(),u(_));e.createQuoteDouble=function(e){return t.__assign(t.__assign({},e),{type:"quoteDouble"})}}}),ze=c({"node_modules/yaml-unist-parser/lib/factories/quote-value.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=$(),n=V();e.createQuoteValue=function(e,i,a){return t.__assign(t.__assign(t.__assign(t.__assign({},n.createNode("quoteValue",e)),i),r.createCommentAttachable()),{value:a})}}}),We=c({"node_modules/yaml-unist-parser/lib/transforms/quote-value.js"(e){l(),e.__esModule=!0;var t=ze();e.transformAstQuoteValue=function(e,r){var n=e.cstNode;return t.createQuoteValue(r.transformRange(n.valueRange),r.transformContent(e),n.strValue)}}}),He=c({"node_modules/yaml-unist-parser/lib/transforms/quote-double.js"(e){l(),e.__esModule=!0;var t=Ve(),r=We();e.transformQuoteDouble=function(e,n){return t.createQuoteDouble(r.transformAstQuoteValue(e,n))}}}),Ge=c({"node_modules/yaml-unist-parser/lib/factories/quote-single.js"(e){l(),e.__esModule=!0;var t=(j(),u(_));e.createQuoteSingle=function(e){return t.__assign(t.__assign({},e),{type:"quoteSingle"})}}}),$e=c({"node_modules/yaml-unist-parser/lib/transforms/quote-single.js"(e){l(),e.__esModule=!0;var t=Ge(),r=We();e.transformQuoteSingle=function(e,n){return t.createQuoteSingle(r.transformAstQuoteValue(e,n))}}}),Ye=c({"node_modules/yaml-unist-parser/lib/factories/sequence.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=ge(),n=H(),i=V();e.createSequence=function(e,a,o){return t.__assign(t.__assign(t.__assign(t.__assign(t.__assign({},i.createNode("sequence",e)),n.createLeadingCommentAttachable()),r.createEndCommentAttachable()),a),{children:o})}}}),Xe=c({"node_modules/yaml-unist-parser/lib/factories/sequence-item.js"(e){l(),e.__esModule=!0;var t=(j(),u(_)),r=$(),n=ge(),i=V();e.createSequenceItem=function(e,a){return t.__assign(t.__assign(t.__assign(t.__assign({},i.createNode("sequenceItem",e)),r.createCommentAttachable()),n.createEndCommentAttachable()),{children:a?[a]:[]})}}}),Qe=c({"node_modules/yaml-unist-parser/lib/transforms/seq.js"(e){l(),e.__esModule=!0;var t=me(),r=Ye(),n=Xe(),i=ke(),a=de(),o=ye();e.transformSeq=function(e,s){var c=i.extractComments(e.cstNode.items,s).map((function(r,i){a.extractPropComments(r,s);var o=s.transformNode(e.items[i]);return n.createSequenceItem(t.createPosition(s.transformOffset(r.valueRange.origStart),null===o?s.transformOffset(r.valueRange.origStart+1):o.position.end),o)}));return r.createSequence(t.createPosition(c[0].position.start,o.getLast(c).position.end),s.transformContent(e),c)}}}),Ze=c({"node_modules/yaml-unist-parser/lib/transform.js"(e){l(),e.__esModule=!0;var t=X(),r=se(),n=ue(),i=le(),a=fe(),o=Ee(),s=Oe(),c=Re(),u=Ke(),p=qe(),d=He(),f=$e(),_=Qe();e.transformNode=function(e,l){if(null===e||void 0===e.type&&null===e.value)return null;switch(e.type){case"ALIAS":return t.transformAlias(e,l);case"BLOCK_FOLDED":return r.transformBlockFolded(e,l);case"BLOCK_LITERAL":return n.transformBlockLiteral(e,l);case"COMMENT":return i.transformComment(e,l);case"DIRECTIVE":return a.transformDirective(e,l);case"DOCUMENT":return o.transformDocument(e,l);case"FLOW_MAP":return s.transformFlowMap(e,l);case"FLOW_SEQ":return c.transformFlowSeq(e,l);case"MAP":return u.transformMap(e,l);case"PLAIN":return p.transformPlain(e,l);case"QUOTE_DOUBLE":return d.transformQuoteDouble(e,l);case"QUOTE_SINGLE":return f.transformQuoteSingle(e,l);case"SEQ":return _.transformSeq(e,l);default:throw new Error("Unexpected node type "+e.type)}}}}),et=c({"node_modules/yaml-unist-parser/lib/factories/error.js"(e){l(),e.__esModule=!0,e.createError=function(e,t,r){var n=new SyntaxError(e);return n.name="YAMLSyntaxError",n.source=t,n.position=r,n}}}),tt=c({"node_modules/yaml-unist-parser/lib/transforms/error.js"(e){l(),e.__esModule=!0;var t=et();e.transformError=function(e,r){var n=e.source.range||e.source.valueRange;return t.createError(e.message,r.text,r.transformRange(n))}}}),rt=c({"node_modules/yaml-unist-parser/lib/factories/point.js"(e){l(),e.__esModule=!0,e.createPoint=function(e,t,r){return{offset:e,line:t,column:r}}}}),nt=c({"node_modules/yaml-unist-parser/lib/transforms/offset.js"(e){l(),e.__esModule=!0;var t=rt();e.transformOffset=function(e,r){e<0?e=0:e>r.text.length&&(e=r.text.length);var n=r.locator.locationForIndex(e);return t.createPoint(e,n.line+1,n.column+1)}}}),it=c({"node_modules/yaml-unist-parser/lib/transforms/range.js"(e){l(),e.__esModule=!0;var t=me();e.transformRange=function(e,r){return t.createPosition(r.transformOffset(e.origStart),r.transformOffset(e.origEnd))}}}),at=c({"node_modules/yaml-unist-parser/lib/utils/add-orig-range.js"(e){l(),e.__esModule=!0;var t=!0;function r(e,n){if(e&&"object"==typeof e&&n(e)!==t)for(var i=0,a=Object.keys(e);i<a.length;i++){var o=a[i];if("context"!==o&&"error"!==o){var s=e[o];Array.isArray(s)?s.forEach((function(e){return r(e,n)})):r(s,n)}}}e.addOrigRange=function(e){if(!e.setOrigRanges()){var n=function(e){return function(e){return"number"==typeof e.start}(e)?(e.origStart=e.start,e.origEnd=e.end,t):function(e){return"number"==typeof e.offset}(e)?(e.origOffset=e.offset,t):void 0};e.forEach((function(e){return r(e,n)}))}}}}),ot=c({"node_modules/yaml-unist-parser/lib/utils/remove-fake-nodes.js"(e){l(),e.__esModule=!0,e.removeFakeNodes=function e(t){if("children"in t){if(1===t.children.length){var r=t.children[0];if("plain"===r.type&&null===r.tag&&null===r.anchor&&""===r.value)return t.children.splice(0,1),t}t.children.forEach(e)}return t}}}),st=c({"node_modules/yaml-unist-parser/lib/utils/create-updater.js"(e){l(),e.__esModule=!0,e.createUpdater=function(e,t,r,n){var i=t(e);return function(t){n(i,t)&&r(e,i=t)}}}}),ct=c({"node_modules/yaml-unist-parser/lib/utils/update-positions.js"(e){l(),e.__esModule=!0;var t=st(),r=ye();function n(e){return e.start}function i(e,t){e.start=t}function a(e){return e.end}function o(e,t){e.end=t}function s(e,t){return t.offset<e.offset}function c(e,t){return t.offset>e.offset}e.updatePositions=function e(u){if(null!==u&&"children"in u){var l=u.children;if(l.forEach(e),"document"===u.type){var p=u.children,d=p[0],f=p[1];d.position.start.offset===d.position.end.offset?d.position.start=d.position.end=f.position.start:f.position.start.offset===f.position.end.offset&&(f.position.start=f.position.end=d.position.end)}var _=t.createUpdater(u.position,n,i,s),m=t.createUpdater(u.position,a,o,c);"endComments"in u&&0!==u.endComments.length&&(_(u.endComments[0].position.start),m(r.getLast(u.endComments).position.end));var g=l.filter((function(e){return null!==e}));if(0!==g.length){var h=g[0],y=r.getLast(g);_(h.position.start),m(y.position.end),"leadingComments"in h&&0!==h.leadingComments.length&&_(h.leadingComments[0].position.start),"tag"in h&&h.tag&&_(h.tag.position.start),"anchor"in h&&h.anchor&&_(h.anchor.position.start),"trailingComment"in y&&y.trailingComment&&m(y.trailingComment.position.end)}}}}}),ut=c({"node_modules/yaml/dist/PlainValue-ec8e588e.js"(e){l();var t={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},r={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"};function n(e){let t=[0],r=e.indexOf("\n");for(;-1!==r;)r+=1,t.push(r),r=e.indexOf("\n",r);return t}function i(e){let t,r;return"string"==typeof e?(t=n(e),r=e):(Array.isArray(e)&&(e=e[0]),e&&e.context&&(e.lineStarts||(e.lineStarts=n(e.context.src)),t=e.lineStarts,r=e.context.src)),{lineStarts:t,src:r}}function a(e,t){if("number"!=typeof e||e<0)return null;let{lineStarts:r,src:n}=i(t);if(!r||!n||e>n.length)return null;for(let t=0;t<r.length;++t){let n=r[t];if(e<n)return{line:t,col:e-r[t-1]+1};if(e===n)return{line:t+1,col:1}}let a=r.length;return{line:a,col:e-r[a-1]+1}}function o(e,t){let{lineStarts:r,src:n}=i(t);if(!r||!(e>=1)||e>r.length)return null;let a=r[e-1],o=r[e];for(;o&&o>a&&"\n"===n[o-1];)--o;return n.slice(a,o)}var s=class{static copy(e){return new s(e.start,e.end)}constructor(e,t){this.start=e,this.end=t||e}isEmpty(){return"number"!=typeof this.start||!this.end||this.end<=this.start}setOrigRange(e,t){let{start:r,end:n}=this;if(0===e.length||n<=e[0])return this.origStart=r,this.origEnd=n,t;let i=t;for(;i<e.length&&!(e[i]>r);)++i;this.origStart=r+i;let a=i;for(;i<e.length&&!(e[i]>=n);)++i;return this.origEnd=n+i,a}},c=class{static addStringTerminator(e,t,r){if("\n"===r[r.length-1])return r;let n=c.endOfWhiteSpace(e,t);return n>=e.length||"\n"===e[n]?r+"\n":r}static atDocumentBoundary(e,r,n){let i=e[r];if(!i)return!0;let a=e[r-1];if(a&&"\n"!==a)return!1;if(n){if(i!==n)return!1}else if(i!==t.DIRECTIVES_END&&i!==t.DOCUMENT_END)return!1;let o=e[r+1],s=e[r+2];if(o!==i||s!==i)return!1;let c=e[r+3];return!c||"\n"===c||"\t"===c||" "===c}static endOfIdentifier(e,t){let r=e[t],n="<"===r,i=n?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];for(;r&&-1===i.indexOf(r);)r=e[t+=1];return n&&">"===r&&(t+=1),t}static endOfIndent(e,t){let r=e[t];for(;" "===r;)r=e[t+=1];return t}static endOfLine(e,t){let r=e[t];for(;r&&"\n"!==r;)r=e[t+=1];return t}static endOfWhiteSpace(e,t){let r=e[t];for(;"\t"===r||" "===r;)r=e[t+=1];return t}static startOfLine(e,t){let r=e[t-1];if("\n"===r)return t;for(;r&&"\n"!==r;)r=e[t-=1];return t+1}static endOfBlockIndent(e,t,r){let n=c.endOfIndent(e,r);if(n>r+t)return n;{let t=c.endOfWhiteSpace(e,n),r=e[t];if(!r||"\n"===r)return t}return null}static atBlank(e,t,r){let n=e[t];return"\n"===n||"\t"===n||" "===n||r&&!n}static nextNodeIsIndented(e,t,r){return!(!e||t<0)&&(t>0||r&&"-"===e)}static normalizeOffset(e,t){let r=e[t];return r?"\n"!==r&&"\n"===e[t-1]?t-1:c.endOfWhiteSpace(e,t):t}static foldNewline(e,t,r){let n=0,i=!1,a="",o=e[t+1];for(;" "===o||"\t"===o||"\n"===o;){switch(o){case"\n":n=0,t+=1,a+="\n";break;case"\t":n<=r&&(i=!0),t=c.endOfWhiteSpace(e,t+2)-1;break;case" ":n+=1,t+=1}o=e[t+1]}return a||(a=" "),o&&n<=r&&(i=!0),{fold:a,offset:t,error:i}}constructor(e,t,r){Object.defineProperty(this,"context",{value:r||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=t||[],this.type=e,this.value=null}getPropValue(e,t,r){if(!this.context)return null;let{src:n}=this.context,i=this.props[e];return i&&n[i.start]===t?n.slice(i.start+(r?1:0),i.end):null}get anchor(){for(let e=0;e<this.props.length;++e){let r=this.getPropValue(e,t.ANCHOR,!0);if(null!=r)return r}return null}get comment(){let e=[];for(let r=0;r<this.props.length;++r){let n=this.getPropValue(r,t.COMMENT,!0);null!=n&&e.push(n)}return e.length>0?e.join("\n"):null}commentHasRequiredWhitespace(e){let{src:t}=this.context;if(this.header&&e===this.header.end||!this.valueRange)return!1;let{end:r}=this.valueRange;return e!==r||c.atBlank(t,r-1)}get hasComment(){if(this.context){let{src:e}=this.context;for(let r=0;r<this.props.length;++r)if(e[this.props[r].start]===t.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:e}=this.context;for(let r=0;r<this.props.length;++r)if(e[this.props[r].start]!==t.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return-1!==[r.FLOW_MAP,r.FLOW_SEQ,r.QUOTE_DOUBLE,r.QUOTE_SINGLE].indexOf(this.type)}get rangeAsLinePos(){if(!this.range||!this.context)return;let e=a(this.range.start,this.context.root);return e?{start:e,end:a(this.range.end,this.context.root)}:void 0}get rawValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;return this.context.src.slice(e,t)}get tag(){for(let e=0;e<this.props.length;++e){let r=this.getPropValue(e,t.TAG,!1);if(null!=r){if("<"===r[1])return{verbatim:r.slice(2,-1)};{let[e,t,n]=r.match(/^(.*!)([^!]*)$/);return{handle:t,suffix:n}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:e,end:t}=this.valueRange,{src:r}=this.context;for(let n=e;n<t;++n)if("\n"===r[n])return!0;return!1}parseComment(e){let{src:r}=this.context;if(r[e]===t.COMMENT){let t=c.endOfLine(r,e+1),n=new s(e,t);return this.props.push(n),t}return e}setOrigRanges(e,t){return this.range&&(t=this.range.setOrigRange(e,t)),this.valueRange&&this.valueRange.setOrigRange(e,t),this.props.forEach((r=>r.setOrigRange(e,t))),t}toString(){let{context:{src:e},range:t,value:r}=this;if(null!=r)return r;let n=e.slice(t.start,t.end);return c.addStringTerminator(e,t.end,n)}},u=class extends Error{constructor(e,t,r){if(!(r&&t instanceof c))throw new Error("Invalid arguments for new ".concat(e));super(),this.name=e,this.message=r,this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let e=this.source.context&&this.source.context.root;if("number"==typeof this.offset){this.range=new s(this.offset,this.offset+1);let t=e&&a(this.offset,e);if(t){let e={line:t.line,col:t.col+1};this.linePos={start:t,end:e}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:t,col:r}=this.linePos.start;this.message+=" at line ".concat(t,", column ").concat(r);let n=e&&function(e,t){let{start:r,end:n}=e,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:80,a=o(r.line,t);if(!a)return null;let{col:s}=r;if(a.length>i)if(s<=i-10)a=a.substr(0,i-1)+"…";else{let e=Math.round(i/2);a.length>s+e&&(a=a.substr(0,s+e-1)+"…"),s-=a.length-i,a="…"+a.substr(1-i)}let c=1,u="";n&&(n.line===r.line&&s+(n.col-r.col)<=i+1?c=n.col-r.col:(c=Math.min(a.length+1,i)-s,u="…"));let l=s>1?" ".repeat(s-1):"",p="^".repeat(c);return"".concat(a,"\n").concat(l).concat(p).concat(u)}(this.linePos,e);n&&(this.message+=":\n\n".concat(n,"\n"))}delete this.source}},p=class extends u{constructor(e,t){super("YAMLSemanticError",e,t)}},d=class extends c{static endOfLine(e,t,r){let n=e[t],i=t;for(;n&&"\n"!==n&&(!r||"["!==n&&"]"!==n&&"{"!==n&&"}"!==n&&","!==n);){let t=e[i+1];if(":"===n&&(!t||"\n"===t||"\t"===t||" "===t||r&&","===t)||(" "===n||"\t"===n)&&"#"===t)break;i+=1,n=t}return i}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange,{src:r}=this.context,n=r[t-1];for(;e<t&&("\n"===n||"\t"===n||" "===n);)n=r[--t-1];let i="";for(let n=e;n<t;++n){let e=r[n];if("\n"===e){let{fold:e,offset:t}=c.foldNewline(r,n,-1);i+=e,n=t}else if(" "===e||"\t"===e){let a=n,o=r[n+1];for(;n<t&&(" "===o||"\t"===o);)n+=1,o=r[n+1];"\n"!==o&&(i+=n>a?r.slice(a,n+1):e)}else i+=e}let a=r[e];switch(a){case"\t":return{errors:[new p(this,"Plain value cannot start with a tab character")],str:i};case"@":case"`":{let e="Plain value cannot start with reserved character ".concat(a);return{errors:[new p(this,e)],str:i}}default:return i}}parseBlockValue(e){let{indent:t,inFlow:r,src:n}=this.context,i=e,a=e;for(let e=n[i];"\n"===e&&!c.atDocumentBoundary(n,i+1);e=n[i]){let e=c.endOfBlockIndent(n,t,i+1);if(null===e||"#"===n[e])break;"\n"===n[e]?i=e:(a=d.endOfLine(n,e,r),i=a)}return this.valueRange.isEmpty()&&(this.valueRange.start=e),this.valueRange.end=a,a}parse(e,t){this.context=e;let{inFlow:r,src:n}=e,i=t,a=n[i];return a&&"#"!==a&&"\n"!==a&&(i=d.endOfLine(n,t,r)),this.valueRange=new s(t,i),i=c.endOfWhiteSpace(n,i),i=this.parseComment(i),(!this.hasComment||this.valueRange.isEmpty())&&(i=this.parseBlockValue(i)),i}};e.Char=t,e.Node=c,e.PlainValue=d,e.Range=s,e.Type=r,e.YAMLError=u,e.YAMLReferenceError=class extends u{constructor(e,t){super("YAMLReferenceError",e,t)}},e.YAMLSemanticError=p,e.YAMLSyntaxError=class extends u{constructor(e,t){super("YAMLSyntaxError",e,t)}},e.YAMLWarning=class extends u{constructor(e,t){super("YAMLWarning",e,t)}},e._defineProperty=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.defaultTagPrefix="tag:yaml.org,2002:",e.defaultTags={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"}}}),lt=c({"node_modules/yaml/dist/parse-cst.js"(e){l();var t=ut(),r=class extends t.Node{constructor(){super(t.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(e,r){return this.context=e,this.range=new t.Range(r,r+1),r+1}},n=class extends t.Node{constructor(e,t){super(e,t),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,n){this.context=e;let{parseNode:i,src:a}=e,{atLineStart:o,lineStart:s}=e;!o&&this.type===t.Type.SEQ_ITEM&&(this.error=new t.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let c=o?n-s:e.indent,u=t.Node.endOfWhiteSpace(a,n+1),l=a[u],p="#"===l,d=[],f=null;for(;"\n"===l||"#"===l;){if("#"===l){let e=t.Node.endOfLine(a,u+1);d.push(new t.Range(u,e)),u=e}else o=!0,s=u+1,"\n"===a[t.Node.endOfWhiteSpace(a,s)]&&0===d.length&&(f=new r,s=f.parse({src:a},s)),u=t.Node.endOfIndent(a,s);l=a[u]}if(t.Node.nextNodeIsIndented(l,u-(s+c),this.type!==t.Type.SEQ_ITEM)?this.node=i({atLineStart:o,inCollection:!1,indent:c,lineStart:s,parent:this},u):l&&s>n+1&&(u=s-1),this.node){if(f){let t=e.parent.items||e.parent.contents;t&&t.push(f)}d.length&&Array.prototype.push.apply(this.props,d),u=this.node.range.end}else if(p){let e=d[0];this.props.push(e),u=e.end}else u=t.Node.endOfLine(a,n+1);let _=this.node?this.node.valueRange.end:u;return this.valueRange=new t.Range(n,_),u}setOrigRanges(e,t){return t=super.setOrigRanges(e,t),this.node?this.node.setOrigRanges(e,t):t}toString(){let{context:{src:e},node:r,range:n,value:i}=this;if(null!=i)return i;let a=r?e.slice(n.start,r.range.start)+String(r):e.slice(n.start,n.end);return t.Node.addStringTerminator(e,n.end,a)}},i=class extends t.Node{constructor(){super(t.Type.COMMENT)}parse(e,r){this.context=e;let n=this.parseComment(r);return this.range=new t.Range(r,n),n}};function a(e){let r=e;for(;r instanceof n;)r=r.node;if(!(r instanceof o))return null;let i=r.items.length,a=-1;for(let e=i-1;e>=0;--e){let n=r.items[e];if(n.type===t.Type.COMMENT){let{indent:t,lineStart:r}=n.context;if(t>0&&n.range.start>=r+t)break;a=e}else{if(n.type!==t.Type.BLANK_LINE)break;a=e}}if(-1===a)return null;let s=r.items.splice(a,i-a),c=s[0].range.start;for(;r.range.end=c,r.valueRange&&r.valueRange.end>c&&(r.valueRange.end=c),r!==e;)r=r.context.parent;return s}var o=class extends t.Node{static nextContentHasIndent(e,r,n){let i=t.Node.endOfLine(e,r)+1,a=e[r=t.Node.endOfWhiteSpace(e,i)];return!!a&&(r>=i+n||("#"===a||"\n"===a)&&o.nextContentHasIndent(e,r,n))}constructor(e){super(e.type===t.Type.SEQ_ITEM?t.Type.SEQ:t.Type.MAP);for(let t=e.props.length-1;t>=0;--t)if(e.props[t].start<e.context.lineStart){this.props=e.props.slice(0,t+1),e.props=e.props.slice(t+1);let r=e.props[0]||e.valueRange;e.range.start=r.start;break}this.items=[e];let r=a(e);r&&Array.prototype.push.apply(this.items,r)}get includesTrailingLines(){return this.items.length>0}parse(e,n){this.context=e;let{parseNode:s,src:c}=e,u=t.Node.startOfLine(c,n),l=this.items[0];l.context.parent=this,this.valueRange=t.Range.copy(l.valueRange);let p=l.range.start-l.context.lineStart,d=n;d=t.Node.normalizeOffset(c,d);let f=c[d],_=t.Node.endOfWhiteSpace(c,u)===d,m=!1;for(;f;){for(;"\n"===f||"#"===f;){if(_&&"\n"===f&&!m){let e=new r;if(d=e.parse({src:c},d),this.valueRange.end=d,d>=c.length){f=null;break}this.items.push(e),d-=1}else if("#"===f){if(d<u+p&&!o.nextContentHasIndent(c,d,p))return d;let e=new i;if(d=e.parse({indent:p,lineStart:u,src:c},d),this.items.push(e),this.valueRange.end=d,d>=c.length){f=null;break}}if(u=d+1,d=t.Node.endOfIndent(c,u),t.Node.atBlank(c,d)){let e=t.Node.endOfWhiteSpace(c,d),r=c[e];(!r||"\n"===r||"#"===r)&&(d=e)}f=c[d],_=!0}if(!f)break;if(d!==u+p&&(_||":"!==f)){if(d<u+p){u>n&&(d=u);break}if(!this.error){let e="All collection items must start at the same column";this.error=new t.YAMLSyntaxError(this,e)}}if(l.type===t.Type.SEQ_ITEM){if("-"!==f){u>n&&(d=u);break}}else if("-"===f&&!this.error){let e=c[d+1];if(!e||"\n"===e||"\t"===e||" "===e){let e="A collection cannot be both a mapping and a sequence";this.error=new t.YAMLSyntaxError(this,e)}}let e=s({atLineStart:_,inCollection:!0,indent:p,lineStart:u,parent:this},d);if(!e)return d;if(this.items.push(e),this.valueRange.end=e.valueRange.end,d=t.Node.normalizeOffset(c,e.range.end),f=c[d],_=!1,m=e.includesTrailingLines,f){let e=d-1,t=c[e];for(;" "===t||"\t"===t;)t=c[--e];"\n"===t&&(u=e+1,_=!0)}let g=a(e);g&&Array.prototype.push.apply(this.items,g)}return d}setOrigRanges(e,t){return t=super.setOrigRanges(e,t),this.items.forEach((r=>{t=r.setOrigRanges(e,t)})),t}toString(){let{context:{src:e},items:r,range:n,value:i}=this;if(null!=i)return i;let a=e.slice(n.start,r[0].range.start)+String(r[0]);for(let e=1;e<r.length;++e){let t=r[e],{atLineStart:n,indent:i}=t.context;if(n)for(let e=0;e<i;++e)a+=" ";a+=String(t)}return t.Node.addStringTerminator(e,n.end,a)}},s=class extends t.Node{constructor(){super(t.Type.DIRECTIVE),this.name=null}get parameters(){let e=this.rawValue;return e?e.trim().split(/[ \t]+/):[]}parseName(e){let{src:t}=this.context,r=e,n=t[r];for(;n&&"\n"!==n&&"\t"!==n&&" "!==n;)n=t[r+=1];return this.name=t.slice(e,r),r}parseParameters(e){let{src:r}=this.context,n=e,i=r[n];for(;i&&"\n"!==i&&"#"!==i;)i=r[n+=1];return this.valueRange=new t.Range(e,n),n}parse(e,r){this.context=e;let n=this.parseName(r+1);return n=this.parseParameters(n),n=this.parseComment(n),this.range=new t.Range(r,n),n}},c=class extends t.Node{static startCommentOrEndBlankLine(e,r){let n=t.Node.endOfWhiteSpace(e,r),i=e[n];return"#"===i||"\n"===i?n:r}constructor(){super(t.Type.DOCUMENT),this.directives=null,this.contents=null,this.directivesEndMarker=null,this.documentEndMarker=null}parseDirectives(e){let{src:n}=this.context;this.directives=[];let a=!0,o=!1,u=e;for(;!t.Node.atDocumentBoundary(n,u,t.Char.DIRECTIVES_END);)switch(u=c.startCommentOrEndBlankLine(n,u),n[u]){case"\n":if(a){let e=new r;u=e.parse({src:n},u),u<n.length&&this.directives.push(e)}else u+=1,a=!0;break;case"#":{let e=new i;u=e.parse({src:n},u),this.directives.push(e),a=!1}break;case"%":{let e=new s;u=e.parse({parent:this,src:n},u),this.directives.push(e),o=!0,a=!1}break;default:return o?this.error=new t.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),u}return n[u]?(this.directivesEndMarker=new t.Range(u,u+3),u+3):(o?this.error=new t.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),u)}parseContents(e){let{parseNode:n,src:o}=this.context;this.contents||(this.contents=[]);let s=e;for(;"-"===o[s-1];)s-=1;let u=t.Node.endOfWhiteSpace(o,e),l=s===e;for(this.valueRange=new t.Range(u);!t.Node.atDocumentBoundary(o,u,t.Char.DOCUMENT_END);){switch(o[u]){case"\n":if(l){let e=new r;u=e.parse({src:o},u),u<o.length&&this.contents.push(e)}else u+=1,l=!0;s=u;break;case"#":{let e=new i;u=e.parse({src:o},u),this.contents.push(e),l=!1}break;default:{let e=t.Node.endOfIndent(o,u),r=n({atLineStart:l,indent:-1,inFlow:!1,inCollection:!1,lineStart:s,parent:this},e);if(!r)return this.valueRange.end=e;this.contents.push(r),u=r.range.end,l=!1;let i=a(r);i&&Array.prototype.push.apply(this.contents,i)}}u=c.startCommentOrEndBlankLine(o,u)}if(this.valueRange.end=u,o[u]&&(this.documentEndMarker=new t.Range(u,u+3),u+=3,o[u])){if(u=t.Node.endOfWhiteSpace(o,u),"#"===o[u]){let e=new i;u=e.parse({src:o},u),this.contents.push(e)}switch(o[u]){case"\n":u+=1;break;case void 0:break;default:this.error=new t.YAMLSyntaxError(this,"Document end marker line cannot have a non-comment suffix")}}return u}parse(e,t){e.root=this,this.context=e;let{src:r}=e,n=65279===r.charCodeAt(t)?t+1:t;return n=this.parseDirectives(n),n=this.parseContents(n),n}setOrigRanges(e,t){return t=super.setOrigRanges(e,t),this.directives.forEach((r=>{t=r.setOrigRanges(e,t)})),this.directivesEndMarker&&(t=this.directivesEndMarker.setOrigRange(e,t)),this.contents.forEach((r=>{t=r.setOrigRanges(e,t)})),this.documentEndMarker&&(t=this.documentEndMarker.setOrigRange(e,t)),t}toString(){let{contents:e,directives:r,value:n}=this;if(null!=n)return n;let i=r.join("");return e.length>0&&((r.length>0||e[0].type===t.Type.COMMENT)&&(i+="---\n"),i+=e.join("")),"\n"!==i[i.length-1]&&(i+="\n"),i}},u=class extends t.Node{parse(e,r){this.context=e;let{src:n}=e,i=t.Node.endOfIdentifier(n,r+1);return this.valueRange=new t.Range(r+1,i),i=t.Node.endOfWhiteSpace(n,i),i=this.parseComment(i),i}},p="CLIP",d="KEEP",f="STRIP",_=class extends t.Node{constructor(e,t){super(e,t),this.blockIndent=null,this.chomping=p,this.header=null}get includesTrailingLines(){return this.chomping===d}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:r}=this.valueRange,{indent:n,src:i}=this.context;if(this.valueRange.isEmpty())return"";let a=null,o=i[r-1];for(;"\n"===o||"\t"===o||" "===o;){if(r-=1,r<=e){if(this.chomping===d)break;return""}"\n"===o&&(a=r),o=i[r-1]}let s=r+1;a&&(this.chomping===d?(s=a,r=this.valueRange.end):r=a);let c=n+this.blockIndent,u=this.type===t.Type.BLOCK_FOLDED,l=!0,p="",_="",m=!1;for(let n=e;n<r;++n){for(let e=0;e<c&&" "===i[n];++e)n+=1;let e=i[n];if("\n"===e)"\n"===_?p+="\n":_="\n";else{let a=t.Node.endOfLine(i,n),o=i.slice(n,a);n=a,u&&(" "===e||"\t"===e)&&n<s?(" "===_?_="\n":!m&&!l&&"\n"===_&&(_="\n\n"),p+=_+o,_=a<r&&i[a]||"",m=!0):(p+=_+o,_=u&&n<s?" ":"\n",m=!1),l&&""!==o&&(l=!1)}}return this.chomping===f?p:p+"\n"}parseBlockHeader(e){let{src:r}=this.context,n=e+1,i="";for(;;){let a=r[n];switch(a){case"-":this.chomping=f;break;case"+":this.chomping=d;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":i+=a;break;default:return this.blockIndent=Number(i)||null,this.header=new t.Range(e,n),n}n+=1}}parseBlockValue(e){let{indent:r,src:n}=this.context,i=!!this.blockIndent,a=e,o=e,s=1;for(let e=n[a];"\n"===e&&(a+=1,!t.Node.atDocumentBoundary(n,a));e=n[a]){let e=t.Node.endOfBlockIndent(n,r,a);if(null===e)break;let c=n[e],u=e-(a+r);if(this.blockIndent){if(c&&"\n"!==c&&u<this.blockIndent){if("#"===n[e])break;if(!this.error){let e="Block scalars must not be less indented than their ".concat(i?"explicit indentation indicator":"first line");this.error=new t.YAMLSemanticError(this,e)}}}else if("\n"!==n[e]){if(u<s){let e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new t.YAMLSemanticError(this,e)}this.blockIndent=u}else u>s&&(s=u);a="\n"===n[e]?e:o=t.Node.endOfLine(n,e)}return this.chomping!==d&&(a=n[o]?o+1:o),this.valueRange=new t.Range(e+1,a),a}parse(e,r){this.context=e;let{src:n}=e,i=this.parseBlockHeader(r);return i=t.Node.endOfWhiteSpace(n,i),i=this.parseComment(i),i=this.parseBlockValue(i),i}setOrigRanges(e,t){return t=super.setOrigRanges(e,t),this.header?this.header.setOrigRange(e,t):t}},m=class extends t.Node{constructor(e,t){super(e,t),this.items=null}prevNodeIsJsonLike(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.items.length,r=this.items[e-1];return!!r&&(r.jsonLike||r.type===t.Type.COMMENT&&this.prevNodeIsJsonLike(e-1))}parse(e,n){this.context=e;let{parseNode:a,src:o}=e,{indent:s,lineStart:c}=e,u=o[n];this.items=[{char:u,offset:n}];let l=t.Node.endOfWhiteSpace(o,n+1);for(u=o[l];u&&"]"!==u&&"}"!==u;){switch(u){case"\n":if(c=l+1,"\n"===o[t.Node.endOfWhiteSpace(o,c)]){let e=new r;c=e.parse({src:o},c),this.items.push(e)}if(l=t.Node.endOfIndent(o,c),l<=c+s&&(u=o[l],l<c+s||"]"!==u&&"}"!==u)){let e="Insufficient indentation in flow collection";this.error=new t.YAMLSemanticError(this,e)}break;case",":this.items.push({char:u,offset:l}),l+=1;break;case"#":{let e=new i;l=e.parse({src:o},l),this.items.push(e)}break;case"?":case":":{let e=o[l+1];if("\n"===e||"\t"===e||" "===e||","===e||":"===u&&this.prevNodeIsJsonLike()){this.items.push({char:u,offset:l}),l+=1;break}}default:{let e=a({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:c,parent:this},l);if(!e)return this.valueRange=new t.Range(n,l),l;this.items.push(e),l=t.Node.normalizeOffset(o,e.range.end)}}l=t.Node.endOfWhiteSpace(o,l),u=o[l]}return this.valueRange=new t.Range(n,l+1),u&&(this.items.push({char:u,offset:l}),l=t.Node.endOfWhiteSpace(o,l+1),l=this.parseComment(l)),l}setOrigRanges(e,r){return r=super.setOrigRanges(e,r),this.items.forEach((n=>{if(n instanceof t.Node)r=n.setOrigRanges(e,r);else if(0===e.length)n.origOffset=n.offset;else{let t=r;for(;t<e.length&&!(e[t]>n.offset);)++t;n.origOffset=n.offset+t,r=t}})),r}toString(){let{context:{src:e},items:r,range:n,value:i}=this;if(null!=i)return i;let a=r.filter((e=>e instanceof t.Node)),o="",s=n.start;return a.forEach((t=>{let r=e.slice(s,t.range.start);s=t.range.end,o+=r+String(t),"\n"===o[o.length-1]&&"\n"!==e[s-1]&&"\n"===e[s]&&(s+=1)})),o+=e.slice(s,n.end),t.Node.addStringTerminator(e,n.end,o)}},g=class extends t.Node{static endOfQuote(e,t){let r=e[t];for(;r&&'"'!==r;)r=e[t+="\\"===r?2:1];return t+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:r,end:n}=this.valueRange,{indent:i,src:a}=this.context;'"'!==a[n-1]&&e.push(new t.YAMLSyntaxError(this,'Missing closing "quote'));let o="";for(let s=r+1;s<n-1;++s){let r=a[s];if("\n"===r){t.Node.atDocumentBoundary(a,s+1)&&e.push(new t.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:r,offset:n,error:c}=t.Node.foldNewline(a,s,i);o+=r,s=n,c&&e.push(new t.YAMLSemanticError(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if("\\"===r)switch(s+=1,a[s]){case"0":o+="\0";break;case"a":o+="";break;case"b":o+="\b";break;case"e":o+="";break;case"f":o+="\f";break;case"n":o+="\n";break;case"r":o+="\r";break;case"t":case"\t":o+="\t";break;case"v":o+="\v";break;case"N":o+="…";break;case"_":o+=" ";break;case"L":o+="\u2028";break;case"P":o+="\u2029";break;case" ":o+=" ";break;case'"':o+='"';break;case"/":o+="/";break;case"\\":o+="\\";break;case"x":o+=this.parseCharCode(s+1,2,e),s+=2;break;case"u":o+=this.parseCharCode(s+1,4,e),s+=4;break;case"U":o+=this.parseCharCode(s+1,8,e),s+=8;break;case"\n":for(;" "===a[s+1]||"\t"===a[s+1];)s+=1;break;default:e.push(new t.YAMLSyntaxError(this,"Invalid escape sequence ".concat(a.substr(s-1,2)))),o+="\\"+a[s]}else if(" "===r||"\t"===r){let e=s,t=a[s+1];for(;" "===t||"\t"===t;)s+=1,t=a[s+1];"\n"!==t&&(o+=s>e?a.slice(e,s+1):r)}else o+=r}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,r,n){let{src:i}=this.context,a=i.substr(e,r),o=a.length===r&&/^[0-9a-fA-F]+$/.test(a)?parseInt(a,16):NaN;return isNaN(o)?(n.push(new t.YAMLSyntaxError(this,"Invalid escape sequence ".concat(i.substr(e-2,r+2)))),i.substr(e-2,r+2)):String.fromCodePoint(o)}parse(e,r){this.context=e;let{src:n}=e,i=g.endOfQuote(n,r+1);return this.valueRange=new t.Range(r,i),i=t.Node.endOfWhiteSpace(n,i),i=this.parseComment(i),i}},h=class extends t.Node{static endOfQuote(e,t){let r=e[t];for(;r;)if("'"===r){if("'"!==e[t+1])break;r=e[t+=2]}else r=e[t+=1];return t+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:r,end:n}=this.valueRange,{indent:i,src:a}=this.context;"'"!==a[n-1]&&e.push(new t.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let s=r+1;s<n-1;++s){let r=a[s];if("\n"===r){t.Node.atDocumentBoundary(a,s+1)&&e.push(new t.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:r,offset:n,error:c}=t.Node.foldNewline(a,s,i);o+=r,s=n,c&&e.push(new t.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if("'"===r)o+=r,s+=1,"'"!==a[s]&&e.push(new t.YAMLSyntaxError(this,"Unescaped single quote? This should not happen."));else if(" "===r||"\t"===r){let e=s,t=a[s+1];for(;" "===t||"\t"===t;)s+=1,t=a[s+1];"\n"!==t&&(o+=s>e?a.slice(e,s+1):r)}else o+=r}return e.length>0?{errors:e,str:o}:o}parse(e,r){this.context=e;let{src:n}=e,i=h.endOfQuote(n,r+1);return this.valueRange=new t.Range(r,i),i=t.Node.endOfWhiteSpace(n,i),i=this.parseComment(i),i}},y=class{static parseType(e,r,n){switch(e[r]){case"*":return t.Type.ALIAS;case">":return t.Type.BLOCK_FOLDED;case"|":return t.Type.BLOCK_LITERAL;case"{":return t.Type.FLOW_MAP;case"[":return t.Type.FLOW_SEQ;case"?":return!n&&t.Node.atBlank(e,r+1,!0)?t.Type.MAP_KEY:t.Type.PLAIN;case":":return!n&&t.Node.atBlank(e,r+1,!0)?t.Type.MAP_VALUE:t.Type.PLAIN;case"-":return!n&&t.Node.atBlank(e,r+1,!0)?t.Type.SEQ_ITEM:t.Type.PLAIN;case'"':return t.Type.QUOTE_DOUBLE;case"'":return t.Type.QUOTE_SINGLE;default:return t.Type.PLAIN}}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{atLineStart:r,inCollection:i,inFlow:a,indent:s,lineStart:c,parent:l}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t._defineProperty(this,"parseNode",((e,r)=>{if(t.Node.atDocumentBoundary(this.src,r))return null;let i=new y(this,e),{props:a,type:s,valueStart:c}=i.parseProps(r),l=function(e,r){switch(e){case t.Type.ALIAS:return new u(e,r);case t.Type.BLOCK_FOLDED:case t.Type.BLOCK_LITERAL:return new _(e,r);case t.Type.FLOW_MAP:case t.Type.FLOW_SEQ:return new m(e,r);case t.Type.MAP_KEY:case t.Type.MAP_VALUE:case t.Type.SEQ_ITEM:return new n(e,r);case t.Type.COMMENT:case t.Type.PLAIN:return new t.PlainValue(e,r);case t.Type.QUOTE_DOUBLE:return new g(e,r);case t.Type.QUOTE_SINGLE:return new h(e,r);default:return null}}(s,a),p=l.parse(i,c);if(l.range=new t.Range(r,p),p<=r&&(l.error=new Error("Node#parse consumed no characters"),l.error.parseEnd=p,l.error.source=l,l.range.end=r+1),i.nodeStartsCollection(l)){!l.error&&!i.atLineStart&&i.parent.type===t.Type.DOCUMENT&&(l.error=new t.YAMLSyntaxError(l,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let e=new o(l);return p=e.parse(new y(i),p),e.range=new t.Range(r,p),e}return l})),this.atLineStart=null!=r?r:e.atLineStart||!1,this.inCollection=null!=i?i:e.inCollection||!1,this.inFlow=null!=a?a:e.inFlow||!1,this.indent=null!=s?s:e.indent,this.lineStart=null!=c?c:e.lineStart,this.parent=null!=l?l:e.parent||{},this.root=e.root,this.src=e.src}nodeStartsCollection(e){let{inCollection:r,inFlow:i,src:a}=this;if(r||i)return!1;if(e instanceof n)return!0;let o=e.range.end;return"\n"!==a[o]&&"\n"!==a[o-1]&&(o=t.Node.endOfWhiteSpace(a,o),":"===a[o])}parseProps(e){let{inFlow:r,parent:n,src:i}=this,a=[],o=!1,s=i[e=this.atLineStart?t.Node.endOfIndent(i,e):t.Node.endOfWhiteSpace(i,e)];for(;s===t.Char.ANCHOR||s===t.Char.COMMENT||s===t.Char.TAG||"\n"===s;){if("\n"===s){let r,a=e;do{r=a+1,a=t.Node.endOfIndent(i,r)}while("\n"===i[a]);let s=a-(r+this.indent),c=n.type===t.Type.SEQ_ITEM&&n.context.atLineStart;if("#"!==i[a]&&!t.Node.nextNodeIsIndented(i[a],s,!c))break;this.atLineStart=!0,this.lineStart=r,o=!1,e=a}else if(s===t.Char.COMMENT){let r=t.Node.endOfLine(i,e+1);a.push(new t.Range(e,r)),e=r}else{let r=t.Node.endOfIdentifier(i,e+1);s===t.Char.TAG&&","===i[r]&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(i.slice(e+1,r+13))&&(r=t.Node.endOfIdentifier(i,r+5)),a.push(new t.Range(e,r)),o=!0,e=t.Node.endOfWhiteSpace(i,r)}s=i[e]}return o&&":"===s&&t.Node.atBlank(i,e+1,!0)&&(e-=1),{props:a,type:y.parseType(i,e,r),valueStart:e}}};e.parse=function(e){let t=[];-1!==e.indexOf("\r")&&(e=e.replace(/\r\n?/g,((e,r)=>(e.length>1&&t.push(r),"\n"))));let r=[],n=0;do{let t=new c,i=new y({src:e});n=t.parse(i,n),r.push(t)}while(n<e.length);return r.setOrigRanges=()=>{if(0===t.length)return!1;for(let e=1;e<t.length;++e)t[e]-=e;let e=0;for(let n=0;n<r.length;++n)e=r[n].setOrigRanges(t,e);return t.splice(0,t.length),!0},r.toString=()=>r.join("...\n"),r}}}),pt=c({"node_modules/yaml/dist/resolveSeq-d03cb037.js"(e){l();var t=ut();function r(e,t,r){return r?-1===r.indexOf("\n")?"".concat(e," #").concat(r):"".concat(e,"\n")+r.replace(/^/gm,"".concat(t||"","#")):e}var n=class{};function i(e,t,r){if(Array.isArray(e))return e.map(((e,t)=>i(e,String(t),r)));if(e&&"function"==typeof e.toJSON){let n=r&&r.anchors&&r.anchors.get(e);n&&(r.onCreate=e=>{n.res=e,delete r.onCreate});let i=e.toJSON(t,r);return n&&r.onCreate&&r.onCreate(i),i}return r&&r.keep||"bigint"!=typeof e?e:Number(e)}var a=class extends n{constructor(e){super(),this.value=e}toJSON(e,t){return t&&t.keep?this.value:i(this.value,e,t)}toString(){return String(this.value)}};function o(e,t,r){let n=r;for(let e=t.length-1;e>=0;--e){let r=t[e];if(Number.isInteger(r)&&r>=0){let e=[];e[r]=n,n=e}else{let e={};Object.defineProperty(e,r,{value:n,writable:!0,enumerable:!0,configurable:!0}),n=e}}return e.createNode(n,!1)}var s=e=>null==e||"object"==typeof e&&e[Symbol.iterator]().next().done,c=class extends n{constructor(e){super(),t._defineProperty(this,"items",[]),this.schema=e}addIn(e,t){if(s(e))this.add(t);else{let[r,...n]=e,i=this.get(r,!0);if(i instanceof c)i.addIn(n,t);else{if(void 0!==i||!this.schema)throw new Error("Expected YAML collection at ".concat(r,". Remaining path: ").concat(n));this.set(r,o(this.schema,n,t))}}}deleteIn(e){let[t,...r]=e;if(0===r.length)return this.delete(t);let n=this.get(t,!0);if(n instanceof c)return n.deleteIn(r);throw new Error("Expected YAML collection at ".concat(t,". Remaining path: ").concat(r))}getIn(e,t){let[r,...n]=e,i=this.get(r,!0);return 0===n.length?!t&&i instanceof a?i.value:i:i instanceof c?i.getIn(n,t):void 0}hasAllNullValues(){return this.items.every((e=>{if(!e||"PAIR"!==e.type)return!1;let t=e.value;return null==t||t instanceof a&&null==t.value&&!t.commentBefore&&!t.comment&&!t.tag}))}hasIn(e){let[t,...r]=e;if(0===r.length)return this.has(t);let n=this.get(t,!0);return n instanceof c&&n.hasIn(r)}setIn(e,t){let[r,...n]=e;if(0===n.length)this.set(r,t);else{let e=this.get(r,!0);if(e instanceof c)e.setIn(n,t);else{if(void 0!==e||!this.schema)throw new Error("Expected YAML collection at ".concat(r,". Remaining path: ").concat(n));this.set(r,o(this.schema,n,t))}}}toJSON(){return null}toString(e,n,i,a){let{blockItem:o,flowChars:s,isMap:u,itemIndent:l}=n,{indent:p,indentStep:d,stringify:f}=e,_=this.type===t.Type.FLOW_MAP||this.type===t.Type.FLOW_SEQ||e.inFlow;_&&(l+=d);let m=u&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:m,indent:l,inFlow:_,type:null});let g,h=!1,y=!1,v=this.items.reduce(((t,n,i)=>{let a;n&&(!h&&n.spaceBefore&&t.push({type:"comment",str:""}),n.commentBefore&&n.commentBefore.match(/^.*$/gm).forEach((e=>{t.push({type:"comment",str:"#".concat(e)})})),n.comment&&(a=n.comment),_&&(!h&&n.spaceBefore||n.commentBefore||n.comment||n.key&&(n.key.commentBefore||n.key.comment)||n.value&&(n.value.commentBefore||n.value.comment))&&(y=!0)),h=!1;let o=f(n,e,(()=>a=null),(()=>h=!0));return _&&!y&&o.includes("\n")&&(y=!0),_&&i<this.items.length-1&&(o+=","),o=r(o,l,a),h&&(a||_)&&(h=!1),t.push({type:"item",str:o}),t}),[]);if(0===v.length)g=s.start+s.end;else if(_){let{start:e,end:t}=s,r=v.map((e=>e.str));if(y||r.reduce(((e,t)=>e+t.length+2),2)>c.maxFlowStringSingleLineLength){g=e;for(let e of r)g+=e?"\n".concat(d).concat(p).concat(e):"\n";g+="\n".concat(p).concat(t)}else g="".concat(e," ").concat(r.join(" ")," ").concat(t)}else{let e=v.map(o);g=e.shift();for(let t of e)g+=t?"\n".concat(p).concat(t):"\n"}return this.comment?(g+="\n"+this.comment.replace(/^/gm,"".concat(p,"#")),i&&i()):h&&a&&a(),g}};function u(e){let t=e instanceof a?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),Number.isInteger(t)&&t>=0?t:null}t._defineProperty(c,"maxFlowStringSingleLineLength",60);var p=class extends c{add(e){this.items.push(e)}delete(e){let t=u(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let r=u(e);if("number"!=typeof r)return;let n=this.items[r];return!t&&n instanceof a?n.value:n}has(e){let t=u(e);return"number"==typeof t&&t<this.items.length}set(e,t){let r=u(e);if("number"!=typeof r)throw new Error("Expected a valid index, not ".concat(e,"."));this.items[r]=t}toJSON(e,t){let r=[];t&&t.onCreate&&t.onCreate(r);let n=0;for(let e of this.items)r.push(i(e,String(n++),t));return r}toString(e,t,r){return e?super.toString(e,{blockItem:e=>"comment"===e.type?e.str:"- ".concat(e.str),flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(e.indent||"")+" "},t,r):JSON.stringify(this)}},d=class extends n{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;super(),this.key=e,this.value=t,this.type=d.Type.PAIR}get commentBefore(){return this.key instanceof n?this.key.commentBefore:void 0}set commentBefore(e){if(null==this.key&&(this.key=new a(null)),!(this.key instanceof n))throw new Error("Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.");this.key.commentBefore=e}addToJSMap(e,t){let r=i(this.key,"",e);if(t instanceof Map){let n=i(this.value,r,e);t.set(r,n)}else if(t instanceof Set)t.add(r);else{let a=((e,t,r)=>null===t?"":"object"!=typeof t?String(t):e instanceof n&&r&&r.doc?e.toString({anchors:Object.create(null),doc:r.doc,indent:"",indentStep:r.indentStep,inFlow:!0,inStringifyKey:!0,stringify:r.stringify}):JSON.stringify(t))(this.key,r,e),o=i(this.value,a,e);a in t?Object.defineProperty(t,a,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[a]=o}return t}toJSON(e,t){let r=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,r)}toString(e,i,o){if(!e||!e.doc)return JSON.stringify(this);let{indent:s,indentSeq:u,simpleKeys:l}=e.doc.options,{key:d,value:f}=this,_=d instanceof n&&d.comment;if(l){if(_)throw new Error("With simple keys, key nodes cannot have comments");if(d instanceof c)throw new Error("With simple keys, collection cannot be used as a key value")}let m=!l&&(!d||_||(d instanceof n?d instanceof c||d.type===t.Type.BLOCK_FOLDED||d.type===t.Type.BLOCK_LITERAL:"object"==typeof d)),{doc:g,indent:h,indentStep:y,stringify:v}=e;e=Object.assign({},e,{implicitKey:!m,indent:h+y});let D=!1,b=v(d,e,(()=>_=null),(()=>D=!0));if(b=r(b,e.indent,_),!m&&b.length>1024){if(l)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");m=!0}if(e.allNullValues&&!l)return this.comment?(b=r(b,e.indent,this.comment),i&&i()):D&&!_&&o&&o(),e.inFlow&&!m?b:"? ".concat(b);b=m?"? ".concat(b,"\n").concat(h,":"):"".concat(b,":"),this.comment&&(b=r(b,e.indent,this.comment),i&&i());let x="",E=null;if(f instanceof n){if(f.spaceBefore&&(x="\n"),f.commentBefore){let t=f.commentBefore.replace(/^/gm,"".concat(e.indent,"#"));x+="\n".concat(t)}E=f.comment}else f&&"object"==typeof f&&(f=g.schema.createNode(f,!0));e.implicitKey=!1,!m&&!this.comment&&f instanceof a&&(e.indentAtStart=b.length+1),D=!1,!u&&s>=2&&!e.inFlow&&!m&&f instanceof p&&f.type!==t.Type.FLOW_SEQ&&!f.tag&&!g.anchors.getName(f)&&(e.indent=e.indent.substr(2));let S=v(f,e,(()=>E=null),(()=>D=!0)),C=" ";return x||this.comment?C="".concat(x,"\n").concat(e.indent):!m&&f instanceof c?(!("["===S[0]||"{"===S[0])||S.includes("\n"))&&(C="\n".concat(e.indent)):"\n"===S[0]&&(C=""),D&&!E&&o&&o(),r(b+C+S,e.indent,E)}};t._defineProperty(d,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var f=(e,t)=>{if(e instanceof _){let r=t.get(e.source);return r.count*r.aliasCount}if(e instanceof c){let r=0;for(let n of e.items){let e=f(n,t);e>r&&(r=e)}return r}if(e instanceof d){let r=f(e.key,t),n=f(e.value,t);return Math.max(r,n)}return 1},_=class extends n{static stringify(e,t){let{range:r,source:n}=e,{anchors:i,doc:a,implicitKey:o,inStringifyKey:s}=t,c=Object.keys(i).find((e=>i[e]===n));if(!c&&s&&(c=a.anchors.getName(n)||a.anchors.newName()),c)return"*".concat(c).concat(o?" ":"");let u=a.anchors.getName(n)?"Alias node must be after source node":"Source node not found for alias node";throw new Error("".concat(u," [").concat(r,"]"))}constructor(e){super(),this.source=e,this.type=t.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,r){if(!r)return i(this.source,e,r);let{anchors:n,maxAliasCount:a}=r,o=n.get(this.source);if(!o||void 0===o.res){let e="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new t.YAMLReferenceError(this.cstNode,e):new ReferenceError(e)}if(a>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=f(this.source,n)),o.count*o.aliasCount>a)){let e="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new t.YAMLReferenceError(this.cstNode,e):new ReferenceError(e)}return o.res}toString(e){return _.stringify(this,e)}};function m(e,t){let r=t instanceof a?t.value:t;for(let n of e)if(n instanceof d&&(n.key===t||n.key===r||n.key&&n.key.value===r))return n}t._defineProperty(_,"default",!0);var g=class extends c{add(e,t){e?e instanceof d||(e=new d(e.key||e,e.value)):e=new d(e);let r=m(this.items,e.key),n=this.schema&&this.schema.sortMapEntries;if(r){if(!t)throw new Error("Key ".concat(e.key," already set"));r.value=e.value}else if(n){let t=this.items.findIndex((t=>n(e,t)<0));-1===t?this.items.push(e):this.items.splice(t,0,e)}else this.items.push(e)}delete(e){let t=m(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let r=m(this.items,e),n=r&&r.value;return!t&&n instanceof a?n.value:n}has(e){return!!m(this.items,e)}set(e,t){this.add(new d(e,t),!0)}toJSON(e,t,r){let n=r?new r:t&&t.mapAsMap?new Map:{};t&&t.onCreate&&t.onCreate(n);for(let e of this.items)e.addToJSMap(t,n);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(let e of this.items)if(!(e instanceof d))throw new Error("Map items must all be pairs; found ".concat(JSON.stringify(e)," instead"));return super.toString(e,{blockItem:e=>e.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},t,r)}},h=class extends d{constructor(e){if(e instanceof d){let t=e.value;t instanceof p||(t=new p,t.items.push(e.value),t.range=e.value.range),super(e.key,t),this.range=e.range}else super(new a("<<"),new p);this.type=d.Type.MERGE_PAIR}addToJSMap(e,t){for(let{source:r}of this.value.items){if(!(r instanceof g))throw new Error("Merge sources must be maps");let n=r.toJSON(null,e,Map);for(let[e,r]of n)t instanceof Map?t.has(e)||t.set(e,r):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!0,configurable:!0})}return t}toString(e,t){let r=this.value;if(r.items.length>1)return super.toString(e,t);this.value=r.items[0];let n=super.toString(e,t);return this.value=r,n}},y={defaultType:t.Type.BLOCK_LITERAL,lineWidth:76},v={defaultType:t.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function D(e,t,r){for(let{format:r,test:n,resolve:i}of t)if(n){let t=e.match(n);if(t){let e=i.apply(null,t);return e instanceof a||(e=new a(e)),r&&(e.format=r),e}}return r&&(e=r(e)),new a(e)}var b="flow",x="block",E="quoted",S=(e,t)=>{let r=e[t+1];for(;" "===r||"\t"===r;){do{r=e[t+=1]}while(r&&"\n"!==r);r=e[t+1]}return t};function C(e,t,r,n){let{indentAtStart:i,lineWidth:a=80,minContentWidth:o=20,onFold:s,onOverflow:c}=n;if(!a||a<0)return e;let u=Math.max(1+o,1+a-t.length);if(e.length<=u)return e;let l=[],p={},d=a-t.length;"number"==typeof i&&(i>a-Math.max(2,o)?l.push(0):d=a-i);let f,_,m,g=!1,h=-1,y=-1,v=-1;for(r===x&&(h=S(e,h),-1!==h&&(d=h+u));m=e[h+=1];){if(r===E&&"\\"===m){switch(y=h,e[h+1]){case"x":h+=3;break;case"u":h+=5;break;case"U":h+=9;break;default:h+=1}v=h}if("\n"===m)r===x&&(h=S(e,h)),d=h+u,f=void 0;else{if(" "===m&&_&&" "!==_&&"\n"!==_&&"\t"!==_){let t=e[h+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(f=h)}if(h>=d)if(f)l.push(f),d=f+u,f=void 0;else if(r===E){for(;" "===_||"\t"===_;)_=m,m=e[h+=1],g=!0;let t=h>v+1?h-2:y-1;if(p[t])return e;l.push(t),p[t]=!0,d=t+u,f=void 0}else g=!0}_=m}if(g&&c&&c(),0===l.length)return e;s&&s();let D=e.slice(0,l[0]);for(let n=0;n<l.length;++n){let i=l[n],a=l[n+1]||e.length;0===i?D="\n".concat(t).concat(e.slice(0,a)):(r===E&&p[i]&&(D+="".concat(e[i],"\\")),D+="\n".concat(t).concat(e.slice(i+1,a)))}return D}var T=e=>{let{indentAtStart:t}=e;return t?Object.assign({indentAtStart:t},v.fold):v.fold},k=e=>/^(%|---|\.\.\.)/m.test(e);function A(e,t){let{implicitKey:r}=t,{jsonEncoding:n,minMultiLineLength:i}=v.doubleQuoted,a=JSON.stringify(e);if(n)return a;let o=t.indent||(k(e)?" ":""),s="",c=0;for(let e=0,t=a[e];t;t=a[++e])if(" "===t&&"\\"===a[e+1]&&"n"===a[e+2]&&(s+=a.slice(c,e)+"\\ ",e+=1,c=e,t="\\"),"\\"===t)switch(a[e+1]){case"u":{s+=a.slice(c,e);let t=a.substr(e+2,4);switch(t){case"0000":s+="\\0";break;case"0007":s+="\\a";break;case"000b":s+="\\v";break;case"001b":s+="\\e";break;case"0085":s+="\\N";break;case"00a0":s+="\\_";break;case"2028":s+="\\L";break;case"2029":s+="\\P";break;default:"00"===t.substr(0,2)?s+="\\x"+t.substr(2):s+=a.substr(e,6)}e+=5,c=e+1}break;case"n":if(r||'"'===a[e+2]||a.length<i)e+=1;else{for(s+=a.slice(c,e)+"\n\n";"\\"===a[e+2]&&"n"===a[e+3]&&'"'!==a[e+4];)s+="\n",e+=2;s+=o," "===a[e+2]&&(s+="\\"),e+=1,c=e+1}break;default:e+=1}return s=c?s+a.slice(c):a,r?s:C(s,o,E,T(t))}function N(e,t){if(t.implicitKey){if(/\n/.test(e))return A(e,t)}else if(/[ \t]\n|\n[ \t]/.test(e))return A(e,t);let r=t.indent||(k(e)?" ":""),n="'"+e.replace(/'/g,"''").replace(/\n+/g,"$&\n".concat(r))+"'";return t.implicitKey?n:C(n,r,b,T(t))}function P(e,r,n,i){let{comment:a,type:o,value:s}=e;if(/\n[\t ]+$/.test(s)||/^\s*$/.test(s))return A(s,r);let c=r.indent||(r.forceBlockIndent||k(s)?" ":""),u=c?"2":"1",l=o!==t.Type.BLOCK_FOLDED&&(o===t.Type.BLOCK_LITERAL||!function(e,t,r){if(!t||t<0)return!1;let n=t-r,i=e.length;if(i<=n)return!1;for(let t=0,r=0;t<i;++t)if("\n"===e[t]){if(t-r>n)return!0;if(r=t+1,i-r<=n)return!1}return!0}(s,v.fold.lineWidth,c.length)),p=l?"|":">";if(!s)return p+"\n";let d="",f="";if(s=s.replace(/[\n\t ]*$/,(e=>{let t=e.indexOf("\n");return-1===t?p+="-":(s===e||t!==e.length-1)&&(p+="+",i&&i()),f=e.replace(/\n$/,""),""})).replace(/^[\n ]*/,(e=>{-1!==e.indexOf(" ")&&(p+=u);let t=e.match(/ +$/);return t?(d=e.slice(0,-t[0].length),t[0]):(d=e,"")})),f&&(f=f.replace(/\n+(?!\n|$)/g,"$&".concat(c))),d&&(d=d.replace(/\n+/g,"$&".concat(c))),a&&(p+=" #"+a.replace(/ ?[\r\n]+/g," "),n&&n()),!s)return"".concat(p).concat(u,"\n").concat(c).concat(f);if(l)return s=s.replace(/\n+/g,"$&".concat(c)),"".concat(p,"\n").concat(c).concat(d).concat(s).concat(f);s=s.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,"$&".concat(c));let _=C("".concat(d).concat(s).concat(f),c,x,v.fold);return"".concat(p,"\n").concat(c).concat(_)}function F(e,r){let n,i,a;switch(r.type){case t.Type.FLOW_MAP:n="}",i="flow map";break;case t.Type.FLOW_SEQ:n="]",i="flow sequence";break;default:return void e.push(new t.YAMLSemanticError(r,"Not a flow collection!?"))}for(let e=r.items.length-1;e>=0;--e){let n=r.items[e];if(!n||n.type!==t.Type.COMMENT){a=n;break}}if(a&&a.char!==n){let o,s="Expected ".concat(i," to end with ").concat(n);"number"==typeof a.offset?(o=new t.YAMLSemanticError(r,s),o.offset=a.offset+1):(o=new t.YAMLSemanticError(a,s),a.range&&a.range.end&&(o.offset=a.range.end-a.range.start)),e.push(o)}}function w(e,r){let n=r.context.src[r.range.start-1];if("\n"!==n&&"\t"!==n&&" "!==n){let n="Comments must be separated from other tokens by white space characters";e.push(new t.YAMLSemanticError(r,n))}}function I(e,r){let n=String(r),i=n.substr(0,8)+"..."+n.substr(-8);return new t.YAMLSemanticError(e,'The "'.concat(i,'" key is too long'))}function O(e,t){for(let{afterKey:r,before:n,comment:i}of t){let t=e.items[n];t?(r&&t.value&&(t=t.value),void 0===i?(r||!t.commentBefore)&&(t.spaceBefore=!0):t.commentBefore?t.commentBefore+="\n"+i:t.commentBefore=i):void 0!==i&&(e.comment?e.comment+="\n"+i:e.comment=i)}}function L(e,t){let r=t.strValue;return r?"string"==typeof r?r:(r.errors.forEach((r=>{r.source||(r.source=t),e.errors.push(r)})),r.str):""}function M(e,r){let{tag:n,type:i}=r,a=!1;if(n){let{handle:i,suffix:o,verbatim:s}=n;if(s){if("!"!==s&&"!!"!==s)return s;let n="Verbatim tags aren't resolved, so ".concat(s," is invalid.");e.errors.push(new t.YAMLSemanticError(r,n))}else if("!"!==i||o)try{return function(e,r){let{handle:n,suffix:i}=r.tag,a=e.tagPrefixes.find((e=>e.handle===n));if(!a){let i=e.getDefaults().tagPrefixes;if(i&&(a=i.find((e=>e.handle===n))),!a)throw new t.YAMLSemanticError(r,"The ".concat(n," tag handle is non-default and was not declared."))}if(!i)throw new t.YAMLSemanticError(r,"The ".concat(n," tag has no suffix."));if("!"===n&&"1.0"===(e.version||e.options.version)){if("^"===i[0])return e.warnings.push(new t.YAMLWarning(r,"YAML 1.0 ^ tag expansion is not supported")),i;if(/[:/]/.test(i)){let e=i.match(/^([a-z0-9-]+)\/(.*)/i);return e?"tag:".concat(e[1],".yaml.org,2002:").concat(e[2]):"tag:".concat(i)}}return a.prefix+decodeURIComponent(i)}(e,r)}catch(t){e.errors.push(t)}else a=!0}switch(i){case t.Type.BLOCK_FOLDED:case t.Type.BLOCK_LITERAL:case t.Type.QUOTE_DOUBLE:case t.Type.QUOTE_SINGLE:return t.defaultTags.STR;case t.Type.FLOW_MAP:case t.Type.MAP:return t.defaultTags.MAP;case t.Type.FLOW_SEQ:case t.Type.SEQ:return t.defaultTags.SEQ;case t.Type.PLAIN:return a?t.defaultTags.STR:null;default:return null}}function R(e,t,r){let{tags:n}=e.schema,i=[];for(let o of n)if(o.tag===r){if(!o.test){let r=o.resolve(e,t);return r instanceof c?r:new a(r)}i.push(o)}let o=L(e,t);return"string"==typeof o&&i.length>0?D(o,i,n.scalarFallback):null}function B(e,r,n){try{let t=R(e,r,n);if(t)return n&&r.tag&&(t.tag=n),t}catch(t){return t.source||(t.source=r),e.errors.push(t),null}try{let i=function(e){let{type:r}=e;switch(r){case t.Type.FLOW_MAP:case t.Type.MAP:return t.defaultTags.MAP;case t.Type.FLOW_SEQ:case t.Type.SEQ:return t.defaultTags.SEQ;default:return t.defaultTags.STR}}(r);if(!i)throw new Error("The tag ".concat(n," is unavailable"));let a="The tag ".concat(n," is unavailable, falling back to ").concat(i);e.warnings.push(new t.YAMLWarning(r,a));let o=R(e,r,i);return o.tag=n,o}catch(n){let i=new t.YAMLReferenceError(r,n.message);return i.stack=n.stack,e.errors.push(i),null}}function j(e,r){let n={before:[],after:[]},i=!1,a=!1,o=(e=>{if(!e)return!1;let{type:r}=e;return r===t.Type.MAP_KEY||r===t.Type.MAP_VALUE||r===t.Type.SEQ_ITEM})(r.context.parent)?r.context.parent.props.concat(r.props):r.props;for(let{start:s,end:c}of o)switch(r.context.src[s]){case t.Char.COMMENT:{if(!r.commentHasRequiredWhitespace(s)){let n="Comments must be separated from other tokens by white space characters";e.push(new t.YAMLSemanticError(r,n))}let{header:i,valueRange:a}=r;(a&&(s>a.start||i&&s>i.start)?n.after:n.before).push(r.context.src.slice(s+1,c));break}case t.Char.ANCHOR:if(i){let n="A node can have at most one anchor";e.push(new t.YAMLSemanticError(r,n))}i=!0;break;case t.Char.TAG:if(a){let n="A node can have at most one tag";e.push(new t.YAMLSemanticError(r,n))}a=!0}return{comments:n,hasAnchor:i,hasTag:a}}function K(e,r){if(!r)return null;r.error&&e.errors.push(r.error);let{comments:n,hasAnchor:i,hasTag:a}=j(e.errors,r);if(i){let{anchors:t}=e,n=r.anchor,i=t.getNode(n);i&&(t.map[t.newName(n)]=i),t.map[n]=r}if(r.type===t.Type.ALIAS&&(i||a)){let n="An alias node must not specify any properties";e.errors.push(new t.YAMLSemanticError(r,n))}let o=function(e,r){let{anchors:n,errors:i,schema:a}=e;if(r.type===t.Type.ALIAS){let e=r.rawValue,a=n.getNode(e);if(!a){let n="Aliased anchor not found: ".concat(e);return i.push(new t.YAMLReferenceError(r,n)),null}let o=new _(a);return n._cstAliases.push(o),o}let o=M(e,r);if(o)return B(e,r,o);if(r.type!==t.Type.PLAIN){let e="Failed to resolve ".concat(r.type," node here");return i.push(new t.YAMLSyntaxError(r,e)),null}try{return D(L(e,r),a.tags,a.tags.scalarFallback)}catch(e){return e.source||(e.source=r),i.push(e),null}}(e,r);if(o){o.range=[r.range.start,r.range.end],e.options.keepCstNodes&&(o.cstNode=r),e.options.keepNodeTypes&&(o.type=r.type);let t=n.before.join("\n");t&&(o.commentBefore=o.commentBefore?"".concat(o.commentBefore,"\n").concat(t):t);let i=n.after.join("\n");i&&(o.comment=o.comment?"".concat(o.comment,"\n").concat(i):i)}return r.resolved=o}function J(e,r){if(!(e=>{let{context:{lineStart:r,node:n,src:i},props:a}=e;if(0===a.length)return!1;let{start:o}=a[0];if(n&&o>n.valueRange.start||i[o]!==t.Char.COMMENT)return!1;for(let e=r;e<o;++e)if("\n"===i[e])return!1;return!0})(e))return;let n=e.getPropValue(0,t.Char.COMMENT,!0),i=!1,a=r.value.commentBefore;if(a&&a.startsWith(n))r.value.commentBefore=a.substr(n.length+1),i=!0;else{let t=r.value.comment;!e.node&&t&&t.startsWith(n)&&(r.value.comment=t.substr(n.length+1),i=!0)}i&&(r.comment=n)}e.Alias=_,e.Collection=c,e.Merge=h,e.Node=n,e.Pair=d,e.Scalar=a,e.YAMLMap=g,e.YAMLSeq=p,e.addComment=r,e.binaryOptions=y,e.boolOptions={trueStr:"true",falseStr:"false"},e.findPair=m,e.intOptions={asBigInt:!1},e.isEmptyPath=s,e.nullOptions={nullStr:"null"},e.resolveMap=function(e,r){if(r.type!==t.Type.MAP&&r.type!==t.Type.FLOW_MAP){let n="A ".concat(r.type," node cannot be resolved as a mapping");return e.errors.push(new t.YAMLSyntaxError(r,n)),null}let{comments:n,items:i}=r.type===t.Type.FLOW_MAP?function(e,r){let n,i=[],a=[],o=!1,s="{";for(let c=0;c<r.items.length;++c){let u=r.items[c];if("string"==typeof u.char){let{char:i,offset:l}=u;if("?"===i&&void 0===n&&!o){o=!0,s=":";continue}if(":"===i){if(void 0===n&&(n=null),":"===s){s=",";continue}}else if(o&&(void 0===n&&","!==i&&(n=null),o=!1),void 0!==n&&(a.push(new d(n)),n=void 0,","===i)){s=":";continue}if("}"===i){if(c===r.items.length-1)continue}else if(i===s){s=":";continue}let p="Flow map contains an unexpected ".concat(i),f=new t.YAMLSyntaxError(r,p);f.offset=l,e.errors.push(f)}else u.type===t.Type.BLANK_LINE?i.push({afterKey:!!n,before:a.length}):u.type===t.Type.COMMENT?(w(e.errors,u),i.push({afterKey:!!n,before:a.length,comment:u.comment})):void 0===n?(","===s&&e.errors.push(new t.YAMLSemanticError(u,"Separator , missing in flow map")),n=K(e,u)):(","!==s&&e.errors.push(new t.YAMLSemanticError(u,"Indicator : missing in flow map entry")),a.push(new d(n,K(e,u))),n=void 0,o=!1)}return F(e.errors,r),void 0!==n&&a.push(new d(n)),{comments:i,items:a}}(e,r):function(e,r){let n,i=[],a=[],o=null;for(let s=0;s<r.items.length;++s){let c=r.items[s];switch(c.type){case t.Type.BLANK_LINE:i.push({afterKey:!!n,before:a.length});break;case t.Type.COMMENT:i.push({afterKey:!!n,before:a.length,comment:c.comment});break;case t.Type.MAP_KEY:void 0!==n&&a.push(new d(n)),c.error&&e.errors.push(c.error),n=K(e,c.node),o=null;break;case t.Type.MAP_VALUE:{if(void 0===n&&(n=null),c.error&&e.errors.push(c.error),!c.context.atLineStart&&c.node&&c.node.type===t.Type.MAP&&!c.node.context.atLineStart){let r="Nested mappings are not allowed in compact mappings";e.errors.push(new t.YAMLSemanticError(c.node,r))}let i=c.node;if(!i&&c.props.length>0){i=new t.PlainValue(t.Type.PLAIN,[]),i.context={parent:c,src:c.context.src};let e=c.range.start+1;if(i.range={start:e,end:e},i.valueRange={start:e,end:e},"number"==typeof c.range.origStart){let e=c.range.origStart+1;i.range.origStart=i.range.origEnd=e,i.valueRange.origStart=i.valueRange.origEnd=e}}let s=new d(n,K(e,i));J(c,s),a.push(s),n&&"number"==typeof o&&c.range.start>o+1024&&e.errors.push(I(r,n)),n=void 0,o=null}break;default:void 0!==n&&a.push(new d(n)),n=K(e,c),o=c.range.start,c.error&&e.errors.push(c.error);e:for(let n=s+1;;++n){let i=r.items[n];switch(i&&i.type){case t.Type.BLANK_LINE:case t.Type.COMMENT:continue e;case t.Type.MAP_VALUE:break e;default:{let r="Implicit map keys need to be followed by map values";e.errors.push(new t.YAMLSemanticError(c,r));break e}}}if(c.valueRangeContainsNewline){let r="Implicit map keys need to be on a single line";e.errors.push(new t.YAMLSemanticError(c,r))}}}return void 0!==n&&a.push(new d(n)),{comments:i,items:a}}(e,r),a=new g;a.items=i,O(a,n);let o=!1;for(let n=0;n<i.length;++n){let{key:a}=i[n];if(a instanceof c&&(o=!0),e.schema.merge&&a&&"<<"===a.value){i[n]=new h(i[n]);let a=i[n].value.items,o=null;a.some((e=>{if(e instanceof _){let{type:r}=e.source;return r!==t.Type.MAP&&r!==t.Type.FLOW_MAP&&(o="Merge nodes aliases can only point to maps")}return o="Merge nodes can only have Alias nodes as values"})),o&&e.errors.push(new t.YAMLSemanticError(r,o))}else for(let o=n+1;o<i.length;++o){let{key:n}=i[o];if(a===n||a&&n&&Object.prototype.hasOwnProperty.call(a,"value")&&a.value===n.value){let n='Map keys must be unique; "'.concat(a,'" is repeated');e.errors.push(new t.YAMLSemanticError(r,n));break}}}if(o&&!e.options.mapAsMap){let n="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new t.YAMLWarning(r,n))}return r.resolved=a,a},e.resolveNode=K,e.resolveSeq=function(e,r){if(r.type!==t.Type.SEQ&&r.type!==t.Type.FLOW_SEQ){let n="A ".concat(r.type," node cannot be resolved as a sequence");return e.errors.push(new t.YAMLSyntaxError(r,n)),null}let{comments:n,items:i}=r.type===t.Type.FLOW_SEQ?function(e,r){let n,i=[],a=[],o=!1,s=null,c="[",u=null;for(let l=0;l<r.items.length;++l){let p=r.items[l];if("string"==typeof p.char){let{char:i,offset:f}=p;if(":"!==i&&(o||void 0!==n)&&(o&&void 0===n&&(n=c?a.pop():null),a.push(new d(n)),o=!1,n=void 0,s=null),i===c)c=null;else if(c||"?"!==i){if("["!==c&&":"===i&&void 0===n){if(","===c){if(n=a.pop(),n instanceof d){let n="Chaining flow sequence pairs is invalid",i=new t.YAMLSemanticError(r,n);i.offset=f,e.errors.push(i)}if(!o&&"number"==typeof s){let i=p.range?p.range.start:p.offset;i>s+1024&&e.errors.push(I(r,n));let{src:a}=u.context;for(let r=s;r<i;++r)if("\n"===a[r]){let r="Implicit keys of flow sequence pairs need to be on a single line";e.errors.push(new t.YAMLSemanticError(u,r));break}}}else n=null;s=null,o=!1,c=null}else if("["===c||"]"!==i||l<r.items.length-1){let n="Flow sequence contains an unexpected ".concat(i),a=new t.YAMLSyntaxError(r,n);a.offset=f,e.errors.push(a)}}else o=!0}else if(p.type===t.Type.BLANK_LINE)i.push({before:a.length});else if(p.type===t.Type.COMMENT)w(e.errors,p),i.push({comment:p.comment,before:a.length});else{if(c){let r="Expected a ".concat(c," in flow sequence");e.errors.push(new t.YAMLSemanticError(p,r))}let r=K(e,p);void 0===n?(a.push(r),u=p):(a.push(new d(n,r)),n=void 0),s=p.range.start,c=","}}return F(e.errors,r),void 0!==n&&a.push(new d(n)),{comments:i,items:a}}(e,r):function(e,r){let n=[],i=[];for(let a=0;a<r.items.length;++a){let o=r.items[a];switch(o.type){case t.Type.BLANK_LINE:n.push({before:i.length});break;case t.Type.COMMENT:n.push({comment:o.comment,before:i.length});break;case t.Type.SEQ_ITEM:if(o.error&&e.errors.push(o.error),i.push(K(e,o.node)),o.hasProps){let r="Sequence items cannot have tags or anchors before the - indicator";e.errors.push(new t.YAMLSemanticError(o,r))}break;default:o.error&&e.errors.push(o.error),e.errors.push(new t.YAMLSyntaxError(o,"Unexpected ".concat(o.type," node in sequence")))}}return{comments:n,items:i}}(e,r),a=new p;if(a.items=i,O(a,n),!e.options.mapAsMap&&i.some((e=>e instanceof d&&e.key instanceof c))){let n="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new t.YAMLWarning(r,n))}return r.resolved=a,a},e.resolveString=L,e.strOptions=v,e.stringifyNumber=function(e){let{format:t,minFractionDigits:r,tag:n,value:i}=e;if("bigint"==typeof i)return String(i);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let a=JSON.stringify(i);if(!t&&r&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(a)){let e=a.indexOf(".");e<0&&(e=a.length,a+=".");let t=r-(a.length-e-1);for(;t-- >0;)a+="0"}return a},e.stringifyString=function(e,r,n,i){let{defaultType:a}=v,{implicitKey:o,inFlow:s}=r,{type:c,value:u}=e;"string"!=typeof u&&(u=String(u),e=Object.assign({},e,{value:u}));let l=a=>{switch(a){case t.Type.BLOCK_FOLDED:case t.Type.BLOCK_LITERAL:return P(e,r,n,i);case t.Type.QUOTE_DOUBLE:return A(u,r);case t.Type.QUOTE_SINGLE:return N(u,r);case t.Type.PLAIN:return function(e,r,n,i){let{comment:a,type:o,value:s}=e,{actualString:c,implicitKey:u,indent:l,inFlow:p}=r;if(u&&/[\n[\]{},]/.test(s)||p&&/[[\]{},]/.test(s))return A(s,r);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return u||p||-1===s.indexOf("\n")?-1!==s.indexOf('"')&&-1===s.indexOf("'")?N(s,r):A(s,r):P(e,r,n,i);if(!u&&!p&&o!==t.Type.PLAIN&&-1!==s.indexOf("\n"))return P(e,r,n,i);if(""===l&&k(s))return r.forceBlockIndent=!0,P(e,r,n,i);let d=s.replace(/\n+/g,"$&\n".concat(l));if(c){let{tags:e}=r.doc.schema;if("string"!=typeof D(d,e,e.scalarFallback).value)return A(s,r)}let f=u?d:C(d,l,b,T(r));return!a||p||-1===f.indexOf("\n")&&-1===a.indexOf("\n")?f:(n&&n(),function(e,t,r){if(!r)return e;let n=r.replace(/[\s\S]^/gm,"$&".concat(t,"#"));return"#".concat(n,"\n").concat(t).concat(e)}(f,l,a))}(e,r,n,i);default:return null}};(c!==t.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(u)||(o||s)&&(c===t.Type.BLOCK_FOLDED||c===t.Type.BLOCK_LITERAL))&&(c=t.Type.QUOTE_DOUBLE);let p=l(c);if(null===p&&(p=l(a),null===p))throw new Error("Unsupported default string type ".concat(a));return p},e.toJSON=i}}),dt=c({"node_modules/yaml/dist/warnings-1000a372.js"(e){l();var t=ut(),n=pt(),i={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(e,r)=>{let i=n.resolveString(e,r);if("function"==typeof Buffer)return Buffer.from(i,"base64");if("function"==typeof atob){let e=atob(i.replace(/[\n\r]/g,"")),t=new Uint8Array(e.length);for(let r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t}{let n="This environment does not support reading binary tags; either Buffer or atob is required";return e.errors.push(new t.YAMLReferenceError(r,n)),null}},options:n.binaryOptions,stringify:(e,r,i,a)=>{let o,{comment:s,type:c,value:u}=e;if("function"==typeof Buffer)o=u instanceof Buffer?u.toString("base64"):Buffer.from(u.buffer).toString("base64");else{if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let t=0;t<u.length;++t)e+=String.fromCharCode(u[t]);o=btoa(e)}}if(c||(c=n.binaryOptions.defaultType),c===t.Type.QUOTE_DOUBLE)u=o;else{let{lineWidth:e}=n.binaryOptions,r=Math.ceil(o.length/e),i=new Array(r);for(let t=0,n=0;t<r;++t,n+=e)i[t]=o.substr(n,e);u=i.join(c===t.Type.BLOCK_LITERAL?"\n":" ")}return n.stringifyString({comment:s,type:c,value:u},r,i,a)}};function a(e,r){let i=n.resolveSeq(e,r);for(let e=0;e<i.items.length;++e){let a=i.items[e];if(!(a instanceof n.Pair)){if(a instanceof n.YAMLMap){if(a.items.length>1){let e="Each pair must have its own sequence indicator";throw new t.YAMLSemanticError(r,e)}let e=a.items[0]||new n.Pair;a.commentBefore&&(e.commentBefore=e.commentBefore?"".concat(a.commentBefore,"\n").concat(e.commentBefore):a.commentBefore),a.comment&&(e.comment=e.comment?"".concat(a.comment,"\n").concat(e.comment):a.comment),a=e}i.items[e]=a instanceof n.Pair?a:new n.Pair(a)}}return i}function o(e,t,r){let i=new n.YAMLSeq(e);i.tag="tag:yaml.org,2002:pairs";for(let n of t){let t,a;if(Array.isArray(n)){if(2!==n.length)throw new TypeError("Expected [key, value] tuple: ".concat(n));t=n[0],a=n[1]}else if(n&&n instanceof Object){let e=Object.keys(n);if(1!==e.length)throw new TypeError("Expected { key: value } tuple: ".concat(n));t=e[0],a=n[t]}else t=n;let o=e.createPair(t,a,r);i.items.push(o)}return i}var s={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:a,createNode:o},c=class extends n.YAMLSeq{constructor(){super(),t._defineProperty(this,"add",n.YAMLMap.prototype.add.bind(this)),t._defineProperty(this,"delete",n.YAMLMap.prototype.delete.bind(this)),t._defineProperty(this,"get",n.YAMLMap.prototype.get.bind(this)),t._defineProperty(this,"has",n.YAMLMap.prototype.has.bind(this)),t._defineProperty(this,"set",n.YAMLMap.prototype.set.bind(this)),this.tag=c.tag}toJSON(e,t){let r=new Map;t&&t.onCreate&&t.onCreate(r);for(let e of this.items){let i,a;if(e instanceof n.Pair?(i=n.toJSON(e.key,"",t),a=n.toJSON(e.value,i,t)):i=n.toJSON(e,"",t),r.has(i))throw new Error("Ordered maps must not include duplicate keys");r.set(i,a)}return r}};t._defineProperty(c,"tag","tag:yaml.org,2002:omap");var u={identify:e=>e instanceof Map,nodeClass:c,default:!1,tag:"tag:yaml.org,2002:omap",resolve:function(e,r){let i=a(e,r),o=[];for(let{key:e}of i.items)if(e instanceof n.Scalar){if(o.includes(e.value)){let e="Ordered maps must not include duplicate keys";throw new t.YAMLSemanticError(r,e)}o.push(e.value)}return Object.assign(new c,i)},createNode:function(e,t,r){let n=o(e,t,r),i=new c;return i.items=n.items,i}},p=class extends n.YAMLMap{constructor(){super(),this.tag=p.tag}add(e){let t=e instanceof n.Pair?e:new n.Pair(e);n.findPair(this.items,t.key)||this.items.push(t)}get(e,t){let r=n.findPair(this.items,e);return!t&&r instanceof n.Pair?r.key instanceof n.Scalar?r.key.value:r.key:r}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not ".concat(typeof t));let r=n.findPair(this.items,e);r&&!t?this.items.splice(this.items.indexOf(r),1):!r&&t&&this.items.push(new n.Pair(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,t,r);throw new Error("Set items must all have null values")}};t._defineProperty(p,"tag","tag:yaml.org,2002:set");var d={identify:e=>e instanceof Set,nodeClass:p,default:!1,tag:"tag:yaml.org,2002:set",resolve:function(e,r){let i=n.resolveMap(e,r);if(!i.hasAllNullValues())throw new t.YAMLSemanticError(r,"Set items must all have null values");return Object.assign(new p,i)},createNode:function(e,t,r){let n=new p;for(let i of t)n.items.push(e.createPair(i,null,r));return n}},f=(e,t)=>{let r=t.split(":").reduce(((e,t)=>60*e+Number(t)),0);return"-"===e?-r:r},_=e=>{let{value:t}=e;if(isNaN(t)||!isFinite(t))return n.stringifyNumber(t);let r="";t<0&&(r="-",t=Math.abs(t));let i=[t%60];return t<60?i.unshift(0):(t=Math.round((t-i[0])/60),i.unshift(t%60),t>=60&&(t=Math.round((t-i[0])/60),i.unshift(t))),r+i.map((e=>e<10?"0"+String(e):String(e))).join(":").replace(/000000\d*$/,"")},m={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,r)=>f(t,r.replace(/_/g,"")),stringify:_},g={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,r)=>f(t,r.replace(/_/g,"")),stringify:_},h={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:(e,t,r,n,i,a,o,s,c)=>{s&&(s=(s+"00").substr(1,3));let u=Date.UTC(t,r-1,n,i||0,a||0,o||0,s||0);if(c&&"Z"!==c){let e=f(c[0],c.slice(1));Math.abs(e)<30&&(e*=60),u-=6e4*e}return new Date(u)},stringify:e=>{let{value:t}=e;return t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")}};function y(e){let t=typeof r<"u"&&r.env||{};return e?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!t.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!t.YAML_SILENCE_WARNINGS}function v(e,t){if(y(!1)){let n=typeof r<"u"&&r.emitWarning;n?n(e,t):console.warn(t?"".concat(t,": ").concat(e):e)}}var D={};e.binary=i,e.floatTime=g,e.intTime=m,e.omap=u,e.pairs=s,e.set=d,e.timestamp=h,e.warn=v,e.warnFileDeprecation=function(e){if(y(!0)){let t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");v("The endpoint 'yaml/".concat(t,"' will be removed in a future release."),"DeprecationWarning")}},e.warnOptionDeprecation=function(e,t){if(!D[e]&&y(!0)){D[e]=!0;let r="The option '".concat(e,"' will be removed in a future release");r+=t?", use '".concat(t,"' instead."):".",v(r,"DeprecationWarning")}}}}),ft=c({"node_modules/yaml/dist/Schema-88e323a7.js"(e){l();var t=ut(),r=pt(),n=dt(),i={createNode:function(e,t,n){let i=new r.YAMLMap(e);if(t instanceof Map)for(let[r,a]of t)i.items.push(e.createPair(r,a,n));else if(t&&"object"==typeof t)for(let r of Object.keys(t))i.items.push(e.createPair(r,t[r],n));return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i},default:!0,nodeClass:r.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:r.resolveMap},a={createNode:function(e,t,n){let i=new r.YAMLSeq(e);if(t&&t[Symbol.iterator])for(let r of t){let t=e.createNode(r,n.wrapScalars,null,n);i.items.push(t)}return i},default:!0,nodeClass:r.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:r.resolveSeq},o={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:r.resolveString,stringify:(e,t,n,i)=>(t=Object.assign({actualString:!0},t),r.stringifyString(e,t,n,i)),options:r.strOptions},s=[i,a,o],c=e=>"bigint"==typeof e||Number.isInteger(e),u=(e,t,n)=>r.intOptions.asBigInt?BigInt(e):parseInt(t,n);function p(e,t,n){let{value:i}=e;return c(i)&&i>=0?n+i.toString(t):r.stringifyNumber(e)}var d={identify:e=>null==e,createNode:(e,t,n)=>n.wrapScalars?new r.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:r.nullOptions,stringify:()=>r.nullOptions.nullStr},f={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>"t"===e[0]||"T"===e[0],options:r.boolOptions,stringify:e=>{let{value:t}=e;return t?r.boolOptions.trueStr:r.boolOptions.falseStr}},_={identify:e=>c(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>u(e,t,8),options:r.intOptions,stringify:e=>p(e,8,"0o")},m={identify:c,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>u(e,e,10),options:r.intOptions,stringify:r.stringifyNumber},g={identify:e=>c(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>u(e,t,16),options:r.intOptions,stringify:e=>p(e,16,"0x")},h={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:r.stringifyNumber},y={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:e=>{let{value:t}=e;return Number(t).toExponential()}},v={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,n){let i=t||n,a=new r.Scalar(parseFloat(e));return i&&"0"===i[i.length-1]&&(a.minFractionDigits=i.length),a},stringify:r.stringifyNumber},D=s.concat([d,f,_,m,g,h,y,v]),b=e=>"bigint"==typeof e||Number.isInteger(e),x=e=>{let{value:t}=e;return JSON.stringify(t)},E=[i,a,{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:r.resolveString,stringify:x},{identify:e=>null==e,createNode:(e,t,n)=>n.wrapScalars?new r.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:x},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:x},{identify:b,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>r.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:e=>{let{value:t}=e;return b(t)?t.toString():JSON.stringify(t)}},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:x}];E.scalarFallback=e=>{throw new SyntaxError("Unresolved plain scalar ".concat(JSON.stringify(e)))};var S=e=>{let{value:t}=e;return t?r.boolOptions.trueStr:r.boolOptions.falseStr},C=e=>"bigint"==typeof e||Number.isInteger(e);function T(e,t,n){let i=t.replace(/_/g,"");if(r.intOptions.asBigInt){switch(n){case 2:i="0b".concat(i);break;case 8:i="0o".concat(i);break;case 16:i="0x".concat(i)}let t=BigInt(i);return"-"===e?BigInt(-1)*t:t}let a=parseInt(i,n);return"-"===e?-1*a:a}function k(e,t,n){let{value:i}=e;if(C(i)){let e=i.toString(t);return i<0?"-"+n+e.substr(1):n+e}return r.stringifyNumber(e)}var A=s.concat([{identify:e=>null==e,createNode:(e,t,n)=>n.wrapScalars?new r.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:r.nullOptions,stringify:()=>r.nullOptions.nullStr},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:r.boolOptions,stringify:S},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:r.boolOptions,stringify:S},{identify:C,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,r)=>T(t,r,2),stringify:e=>k(e,2,"0b")},{identify:C,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,r)=>T(t,r,8),stringify:e=>k(e,8,"0")},{identify:C,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,r)=>T(t,r,10),stringify:r.stringifyNumber},{identify:C,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,r)=>T(t,r,16),stringify:e=>k(e,16,"0x")},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:r.stringifyNumber},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:e=>{let{value:t}=e;return Number(t).toExponential()}},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){let n=new r.Scalar(parseFloat(e.replace(/_/g,"")));if(t){let e=t.replace(/_/g,"");"0"===e[e.length-1]&&(n.minFractionDigits=e.length)}return n},stringify:r.stringifyNumber}],n.binary,n.omap,n.pairs,n.set,n.intTime,n.floatTime,n.timestamp),N={core:D,failsafe:s,json:E,yaml11:A},P={binary:n.binary,bool:f,float:v,floatExp:y,floatNaN:h,floatTime:n.floatTime,int:m,intHex:g,intOct:_,intTime:n.intTime,map:i,null:d,omap:n.omap,pairs:n.pairs,seq:a,set:n.set,timestamp:n.timestamp};function F(e,t,n){if(e instanceof r.Node)return e;let{defaultPrefix:o,onTagObj:s,prevObjects:c,schema:u,wrapScalars:l}=n;t&&t.startsWith("!!")&&(t=o+t.slice(2));let p=function(e,t,r){if(t){let e=r.filter((e=>e.tag===t)),n=e.find((e=>!e.format))||e[0];if(!n)throw new Error("Tag ".concat(t," not found"));return n}return r.find((t=>(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format))}(e,t,u.tags);if(!p){if("function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e)return l?new r.Scalar(e):e;p=e instanceof Map?i:e[Symbol.iterator]?a:i}s&&(s(p),delete n.onTagObj);let d={value:void 0,node:void 0};if(e&&"object"==typeof e&&c){let t=c.get(e);if(t){let e=new r.Alias(t);return n.aliasNodes.push(e),e}d.value=e,c.set(e,d)}return d.node=p.createNode?p.createNode(n.schema,e,n):l?new r.Scalar(e):e,t&&d.node instanceof r.Node&&(d.node.tag=t),d.node}var w=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,I=class{constructor(e){let{customTags:t,merge:r,schema:i,sortMapEntries:a,tags:o}=e;this.merge=!!r,this.name=i,this.sortMapEntries=!0===a?w:a||null,!t&&o&&n.warnOptionDeprecation("tags","customTags"),this.tags=function(e,t,r,n){let i=e[n.replace(/\W/g,"")];if(!i){let t=Object.keys(e).map((e=>JSON.stringify(e))).join(", ");throw new Error('Unknown schema "'.concat(n,'"; use one of ').concat(t))}if(Array.isArray(r))for(let e of r)i=i.concat(e);else"function"==typeof r&&(i=r(i.slice()));for(let e=0;e<i.length;++e){let r=i[e];if("string"==typeof r){let n=t[r];if(!n){let e=Object.keys(t).map((e=>JSON.stringify(e))).join(", ");throw new Error('Unknown custom tag "'.concat(r,'"; use one of ').concat(e))}i[e]=n}}return i}(N,P,t||o,i)}createNode(e,t,r,n){let i={defaultPrefix:I.defaultPrefix,schema:this,wrapScalars:t};return F(e,r,n?Object.assign(n,i):i)}createPair(e,t,n){n||(n={wrapScalars:!0});let i=this.createNode(e,n.wrapScalars,null,n),a=this.createNode(t,n.wrapScalars,null,n);return new r.Pair(i,a)}};t._defineProperty(I,"defaultPrefix",t.defaultTagPrefix),t._defineProperty(I,"defaultTags",t.defaultTags),e.Schema=I}}),_t=c({"node_modules/yaml/dist/Document-9b4560a1.js"(e){l();var t=ut(),r=pt(),n=ft(),i={get binary(){return r.binaryOptions},set binary(e){Object.assign(r.binaryOptions,e)},get bool(){return r.boolOptions},set bool(e){Object.assign(r.boolOptions,e)},get int(){return r.intOptions},set int(e){Object.assign(r.intOptions,e)},get null(){return r.nullOptions},set null(e){Object.assign(r.nullOptions,e)},get str(){return r.strOptions},set str(e){Object.assign(r.strOptions,e)}},a={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:t.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:t.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:t.defaultTagPrefix}]}};function o(e,t){if("1.0"===(e.version||e.options.version)){let e=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(e)return"!"+e[1];let r=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return r?"!".concat(r[1],"/").concat(r[2]):"!".concat(t.replace(/^tag:/,""))}let r=e.tagPrefixes.find((e=>0===t.indexOf(e.prefix)));if(!r){let n=e.getDefaults().tagPrefixes;r=n&&n.find((e=>0===t.indexOf(e.prefix)))}if(!r)return"!"===t[0]?t:"!<".concat(t,">");let n=t.substr(r.prefix.length).replace(/[!,[\]{}]/g,(e=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"}[e])));return r.handle+n}function s(e,t,n,i){let a,{anchors:s,schema:c}=t.doc;if(!(e instanceof r.Node)){let t={aliasNodes:[],onTagObj:e=>a=e,prevObjects:new Map};e=c.createNode(e,!0,null,t);for(let e of t.aliasNodes){e.source=e.source.node;let t=s.getName(e.source);t||(t=s.newName(),s.map[t]=e.source)}}if(e instanceof r.Pair)return e.toString(t,n,i);a||(a=function(e,t){if(t instanceof r.Alias)return r.Alias;if(t.tag){let r=e.filter((e=>e.tag===t.tag));if(r.length>0)return r.find((e=>e.format===t.format))||r[0]}let n,i;if(t instanceof r.Scalar){i=t.value;let r=e.filter((e=>e.identify&&e.identify(i)||e.class&&i instanceof e.class));n=r.find((e=>e.format===t.format))||r.find((e=>!e.format))}else i=t,n=e.find((e=>e.nodeClass&&i instanceof e.nodeClass));if(!n){let e=i&&i.constructor?i.constructor.name:typeof i;throw new Error("Tag not resolved for ".concat(e," value"))}return n}(c.tags,e));let u=function(e,t,r){let{anchors:n,doc:i}=r,a=[],s=i.anchors.getName(e);return s&&(n[s]=e,a.push("&".concat(s))),e.tag?a.push(o(i,e.tag)):t.default||a.push(o(i,t.tag)),a.join(" ")}(e,a,t);u.length>0&&(t.indentAtStart=(t.indentAtStart||0)+u.length+1);let l="function"==typeof a.stringify?a.stringify(e,t,n,i):e instanceof r.Scalar?r.stringifyString(e,t,n,i):e.toString(t,n,i);return u?e instanceof r.Scalar||"{"===l[0]||"["===l[0]?"".concat(u," ").concat(l):"".concat(u,"\n").concat(t.indent).concat(l):l}var c=class{static validAnchorNode(e){return e instanceof r.Scalar||e instanceof r.YAMLSeq||e instanceof r.YAMLMap}constructor(e){t._defineProperty(this,"map",Object.create(null)),this.prefix=e}createAlias(e,t){return this.setAnchor(e,t),new r.Alias(e)}createMergePair(){let e=new r.Merge;for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.value.items=n.map((e=>{if(e instanceof r.Alias){if(e.source instanceof r.YAMLMap)return e}else if(e instanceof r.YAMLMap)return this.createAlias(e);throw new Error("Merge sources must be Map nodes or their Aliases")})),e}getName(e){let{map:t}=this;return Object.keys(t).find((r=>t[r]===e))}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){e||(e=this.prefix);let t=Object.keys(this.map);for(let r=1;;++r){let n="".concat(e).concat(r);if(!t.includes(n))return n}}resolveNodes(){let{map:e,_cstAliases:t}=this;Object.keys(e).forEach((t=>{e[t]=e[t].resolved})),t.forEach((e=>{e.source=e.source.resolved})),delete this._cstAliases}setAnchor(e,t){if(null!=e&&!c.validAnchorNode(e))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(t&&/[\x00-\x19\s,[\]{}]/.test(t))throw new Error("Anchor names must not contain whitespace or control characters");let{map:r}=this,n=e&&Object.keys(r).find((t=>r[t]===e));if(n){if(!t)return n;n!==t&&(delete r[n],r[t]=e)}else{if(!t){if(!e)return null;t=this.newName()}r[t]=e}return t}},u=(e,t)=>{if(e&&"object"==typeof e){let{tag:n}=e;e instanceof r.Collection?(n&&(t[n]=!0),e.items.forEach((e=>u(e,t)))):e instanceof r.Pair?(u(e.key,t),u(e.value,t)):e instanceof r.Scalar&&n&&(t[n]=!0)}return t};function p(e,r){let{tagPrefixes:n}=e,[i,a]=r.parameters;if(!i||!a){let e="Insufficient parameters given for %TAG directive";throw new t.YAMLSemanticError(r,e)}if(n.some((e=>e.handle===i))){let e="The %TAG directive must only be given at most once per handle in the same document.";throw new t.YAMLSemanticError(r,e)}return{handle:i,prefix:a}}function d(e,r){let[n]=r.parameters;if("YAML:1.0"===r.name&&(n="1.0"),!n){let e="Insufficient parameters given for %YAML directive";throw new t.YAMLSemanticError(r,e)}if(!a[n]){let i=e.version||e.options.version,a="Document will be parsed as YAML ".concat(i," rather than YAML ").concat(n);e.warnings.push(new t.YAMLWarning(r,a))}return n}function f(e){if(e instanceof r.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var _=class{constructor(e){this.anchors=new c(e.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=e,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(e){return f(this.contents),this.contents.add(e)}addIn(e,t){f(this.contents),this.contents.addIn(e,t)}delete(e){return f(this.contents),this.contents.delete(e)}deleteIn(e){return r.isEmptyPath(e)?null!=this.contents&&(this.contents=null,!0):(f(this.contents),this.contents.deleteIn(e))}getDefaults(){return _.defaults[this.version]||_.defaults[this.options.version]||{}}get(e,t){return this.contents instanceof r.Collection?this.contents.get(e,t):void 0}getIn(e,t){return r.isEmptyPath(e)?!t&&this.contents instanceof r.Scalar?this.contents.value:this.contents:this.contents instanceof r.Collection?this.contents.getIn(e,t):void 0}has(e){return this.contents instanceof r.Collection&&this.contents.has(e)}hasIn(e){return r.isEmptyPath(e)?void 0!==this.contents:this.contents instanceof r.Collection&&this.contents.hasIn(e)}set(e,t){f(this.contents),this.contents.set(e,t)}setIn(e,t){r.isEmptyPath(e)?this.contents=t:(f(this.contents),this.contents.setIn(e,t))}setSchema(e,t){if(!e&&!t&&this.schema)return;"number"==typeof e&&(e=e.toFixed(1)),"1.0"===e||"1.1"===e||"1.2"===e?(this.version?this.version=e:this.options.version=e,delete this.options.schema):e&&"string"==typeof e&&(this.options.schema=e),Array.isArray(t)&&(this.options.customTags=t);let r=Object.assign({},this.getDefaults(),this.options);this.schema=new n.Schema(r)}parse(e,n){this.options.keepCstNodes&&(this.cstNode=e),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:i=[],contents:a=[],directivesEndMarker:o,error:s,valueRange:c}=e;if(s&&(s.source||(s.source=this),this.errors.push(s)),function(e,r,n){let i=[],a=!1;for(let n of r){let{comment:r,name:o}=n;switch(o){case"TAG":try{e.tagPrefixes.push(p(e,n))}catch(t){e.errors.push(t)}a=!0;break;case"YAML":case"YAML:1.0":if(e.version){let r="The %YAML directive must only be given at most once per document.";e.errors.push(new t.YAMLSemanticError(n,r))}try{e.version=d(e,n)}catch(t){e.errors.push(t)}a=!0;break;default:if(o){let r="YAML only supports %TAG and %YAML directives, and not %".concat(o);e.warnings.push(new t.YAMLWarning(n,r))}}r&&i.push(r)}if(n&&!a&&"1.1"===(e.version||n.version||e.options.version)){let t=e=>{let{handle:t,prefix:r}=e;return{handle:t,prefix:r}};e.tagPrefixes=n.tagPrefixes.map(t),e.version=n.version}e.commentBefore=i.join("\n")||null}(this,i,n),o&&(this.directivesEndMarker=!0),this.range=c?[c.start,c.end]:null,this.setSchema(),this.anchors._cstAliases=[],function(e,n){let i,a={before:[],after:[]},o=!1;for(let s of n)if(s.valueRange){if(void 0!==i){let r="Document contains trailing content not separated by a ... or --- line";e.errors.push(new t.YAMLSyntaxError(s,r));break}let n=r.resolveNode(e,s);o&&(n.spaceBefore=!0,o=!1),i=n}else null!==s.comment?(void 0===i?a.before:a.after).push(s.comment):s.type===t.Type.BLANK_LINE&&(o=!0,void 0===i&&a.before.length>0&&!e.commentBefore&&(e.commentBefore=a.before.join("\n"),a.before=[]));if(e.contents=i||null,i){let t=a.before.join("\n");if(t){let e=i instanceof r.Collection&&i.items[0]?i.items[0]:i;e.commentBefore=e.commentBefore?"".concat(t,"\n").concat(e.commentBefore):t}e.comment=a.after.join("\n")||null}else e.comment=a.before.concat(a.after).join("\n")||null}(this,a),this.anchors.resolveNodes(),this.options.prettyErrors){for(let e of this.errors)e instanceof t.YAMLError&&e.makePretty();for(let e of this.warnings)e instanceof t.YAMLError&&e.makePretty()}return this}listNonDefaultTags(){return(e=this.contents,Object.keys(u(e,{}))).filter((e=>0!==e.indexOf(n.Schema.defaultPrefix)));var e}setTagPrefix(e,t){if("!"!==e[0]||"!"!==e[e.length-1])throw new Error("Handle must start and end with !");if(t){let r=this.tagPrefixes.find((t=>t.handle===e));r?r.prefix=t:this.tagPrefixes.push({handle:e,prefix:t})}else this.tagPrefixes=this.tagPrefixes.filter((t=>t.handle!==e))}toJSON(e,t){let{keepBlobsInJSON:n,mapAsMap:i,maxAliasCount:a}=this.options,o=n&&("string"!=typeof e||!(this.contents instanceof r.Scalar)),c={doc:this,indentStep:" ",keep:o,mapAsMap:o&&!!i,maxAliasCount:a,stringify:s},u=Object.keys(this.anchors.map);u.length>0&&(c.anchors=new Map(u.map((e=>[this.anchors.map[e],{alias:[],aliasCount:0,count:1}]))));let l=r.toJSON(this.contents,e,c);if("function"==typeof t&&c.anchors)for(let{count:e,res:r}of c.anchors.values())t(r,e);return l}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let e=this.options.indent;if(!Number.isInteger(e)||e<=0){let t=JSON.stringify(e);throw new Error('"indent" option must be a positive integer, not '.concat(t))}this.setSchema();let t=[],n=!1;if(this.version){let e="%YAML 1.2";"yaml-1.1"===this.schema.name&&("1.0"===this.version?e="%YAML:1.0":"1.1"===this.version&&(e="%YAML 1.1")),t.push(e),n=!0}let i=this.listNonDefaultTags();this.tagPrefixes.forEach((e=>{let{handle:r,prefix:a}=e;i.some((e=>0===e.indexOf(a)))&&(t.push("%TAG ".concat(r," ").concat(a)),n=!0)})),(n||this.directivesEndMarker)&&t.push("---"),this.commentBefore&&((n||!this.directivesEndMarker)&&t.unshift(""),t.unshift(this.commentBefore.replace(/^/gm,"#")));let a={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:s},o=!1,c=null;if(this.contents){this.contents instanceof r.Node&&(this.contents.spaceBefore&&(n||this.directivesEndMarker)&&t.push(""),this.contents.commentBefore&&t.push(this.contents.commentBefore.replace(/^/gm,"#")),a.forceBlockIndent=!!this.comment,c=this.contents.comment);let e=c?null:()=>o=!0,i=s(this.contents,a,(()=>c=null),e);t.push(r.addComment(i,"",c))}else void 0!==this.contents&&t.push(s(this.contents,a));return this.comment&&((!o||c)&&""!==t[t.length-1]&&t.push(""),t.push(this.comment.replace(/^/gm,"#"))),t.join("\n")+"\n"}};t._defineProperty(_,"defaults",a),e.Document=_,e.defaultOptions={anchorPrefix:"a",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:"1.2"},e.scalarOptions=i}}),mt=c({"node_modules/yaml/dist/index.js"(e){l();var t=lt(),r=_t(),n=ft(),i=ut(),a=dt();pt();var o=class extends r.Document{constructor(e){super(Object.assign({},r.defaultOptions,e))}};function s(e,r){let n=t.parse(e),a=new o(r).parse(n[0]);if(n.length>1){let e="Source contains multiple documents; please use YAML.parseAllDocuments()";a.errors.unshift(new i.YAMLSemanticError(n[1],e))}return a}var c={createNode:function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0;void 0===i&&"string"==typeof t&&(i=t,t=!0);let a=Object.assign({},r.Document.defaults[r.defaultOptions.version],r.defaultOptions);return new n.Schema(a).createNode(e,t,i)},defaultOptions:r.defaultOptions,Document:o,parse:function(e,t){let r=s(e,t);if(r.warnings.forEach((e=>a.warn(e))),r.errors.length>0)throw r.errors[0];return r.toJSON()},parseAllDocuments:function(e,r){let n,i=[];for(let a of t.parse(e)){let e=new o(r);e.parse(a,n),i.push(e),n=e}return i},parseCST:t.parse,parseDocument:s,scalarOptions:r.scalarOptions,stringify:function(e,t){let r=new o(t);return r.contents=e,String(r)}};e.YAML=c}}),gt=c({"node_modules/yaml/index.js"(e,t){l(),t.exports=mt().YAML}}),ht=c({"node_modules/yaml/dist/util.js"(e){l();var t=pt(),r=ut();e.findPair=t.findPair,e.parseMap=t.resolveMap,e.parseSeq=t.resolveSeq,e.stringifyNumber=t.stringifyNumber,e.stringifyString=t.stringifyString,e.toJSON=t.toJSON,e.Type=r.Type,e.YAMLError=r.YAMLError,e.YAMLReferenceError=r.YAMLReferenceError,e.YAMLSemanticError=r.YAMLSemanticError,e.YAMLSyntaxError=r.YAMLSyntaxError,e.YAMLWarning=r.YAMLWarning}}),yt=c({"node_modules/yaml/util.js"(e){l();var t=ht();e.findPair=t.findPair,e.toJSON=t.toJSON,e.parseMap=t.parseMap,e.parseSeq=t.parseSeq,e.stringifyNumber=t.stringifyNumber,e.stringifyString=t.stringifyString,e.Type=t.Type,e.YAMLError=t.YAMLError,e.YAMLReferenceError=t.YAMLReferenceError,e.YAMLSemanticError=t.YAMLSemanticError,e.YAMLSyntaxError=t.YAMLSyntaxError,e.YAMLWarning=t.YAMLWarning}}),vt=c({"node_modules/yaml-unist-parser/lib/yaml.js"(e){l(),e.__esModule=!0;var t=gt();e.Document=t.Document;var r=gt();e.parseCST=r.parseCST;var n=yt();e.YAMLError=n.YAMLError,e.YAMLSyntaxError=n.YAMLSyntaxError,e.YAMLSemanticError=n.YAMLSemanticError}}),Dt=c({"node_modules/yaml-unist-parser/lib/parse.js"(e){l(),e.__esModule=!0;var t=K(),r=q(),n=z(),i=W(),a=Ze(),o=ae(),s=tt(),c=nt(),u=it(),p=at(),d=ot(),f=ct(),_=vt();e.parse=function(e){var l=_.parseCST(e);p.addOrigRange(l);for(var m=l.map((function(e){return new _.Document({merge:!1,keepCstNodes:!0}).parse(e)})),g=[],h={text:e,locator:new t.default(e),comments:g,transformOffset:function(e){return c.transformOffset(e,h)},transformRange:function(e){return u.transformRange(e,h)},transformNode:function(e){return a.transformNode(e,h)},transformContent:function(e){return o.transformContent(e,h)}},y=0,v=m;y<v.length;y++)for(var D=0,b=v[y].errors;D<b.length;D++){var x=b[D];if(!(x instanceof _.YAMLSemanticError&&'Map keys must be unique; "<<" is repeated'===x.message))throw s.transformError(x,h)}m.forEach((function(e){return i.removeCstBlankLine(e.cstNode)}));var E=n.createRoot(h.transformRange({origStart:0,origEnd:h.text.length}),m.map(h.transformNode),g);return r.attachComments(E),f.updatePositions(E),d.removeFakeNodes(E),E}}}),bt=c({"node_modules/yaml-unist-parser/lib/index.js"(e){l(),e.__esModule=!0,(j(),u(_)).__exportStar(Dt(),e)}});l();var xt=p(),{hasPragma:Et}=d(),{locStart:St,locEnd:Ct}=f(),Tt={astFormat:"yaml",parse:function(e){let{parse:t}=bt();try{let r=t(e);return delete r.comments,r}catch(e){throw e&&e.position?xt(e.message,e.position):e}},hasPragma:Et,locStart:St,locEnd:Ct};t.exports={parsers:{yaml:Tt}}},()=>(t||e((t={exports:{}}).exports,t),t.exports));return r()}()},945:(e,t,r)=>{var n,i,a;e.exports=function(){"use strict";var o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=o(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),c=o(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),u=o(((e,t)=>{var r=c();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),l=o(((e,t)=>{var r=c();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),p=o(((e,t)=>{var r=l(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),d=o((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),f=o(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),_=o(((e,t)=>{var r=l(),n=Function.prototype,i=n.bind,a=n.call,o=r&&i.bind(a,a);t.exports=r?function(e){return e&&o(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}})),m=o(((e,t)=>{var r=_(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),g=o(((e,t)=>{var r=s(),n=_(),i=c(),a=m(),o=r.Object,u=n("".split);t.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?u(e,""):o(e)}:o})),h=o(((e,t)=>{var r=s().TypeError;t.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}})),y=o(((e,t)=>{var r=g(),n=h();t.exports=function(e){return r(n(e))}})),v=o(((e,t)=>{t.exports=function(e){return"function"==typeof e}})),D=o(((e,t)=>{var r=v();t.exports=function(e){return"object"==typeof e?null!==e:r(e)}})),b=o(((e,t)=>{var r=s(),n=v(),i=function(e){return n(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}})),x=o(((e,t)=>{var r=_();t.exports=r({}.isPrototypeOf)})),E=o(((e,t)=>{var r=b();t.exports=r("navigator","userAgent")||""})),S=o(((e,t)=>{var r,n,i=s(),a=E(),o=i.process,c=i.Deno,u=o&&o.versions||c&&c.version,l=u&&u.v8;l&&(n=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n})),C=o(((e,t)=>{var r=S(),n=c();t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),T=o(((e,t)=>{var r=C();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),k=o(((e,t)=>{var r=s(),n=b(),i=v(),a=x(),o=T(),c=r.Object;t.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&a(t.prototype,c(e))}})),A=o(((e,t)=>{var r=s().String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),N=o(((e,t)=>{var r=s(),n=v(),i=A(),a=r.TypeError;t.exports=function(e){if(n(e))return e;throw a(i(e)+" is not a function")}})),P=o(((e,t)=>{var r=N();t.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}})),F=o(((e,t)=>{var r=s(),n=p(),i=v(),a=D(),o=r.TypeError;t.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!a(s=n(r,e))||i(r=e.valueOf)&&!a(s=n(r,e))||"string"!==t&&i(r=e.toString)&&!a(s=n(r,e)))return s;throw o("Can't convert object to primitive value")}})),w=o(((e,t)=>{t.exports=!1})),I=o(((e,t)=>{var r=s(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}})),O=o(((e,t)=>{var r=s(),n=I(),i="__core-js_shared__",a=r[i]||n(i,{});t.exports=a})),L=o(((e,t)=>{var r=w(),n=O();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),M=o(((e,t)=>{var r=s(),n=h(),i=r.Object;t.exports=function(e){return i(n(e))}})),R=o(((e,t)=>{var r=_(),n=M(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),B=o(((e,t)=>{var r=_(),n=0,i=Math.random(),a=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++n+i,36)}})),j=o(((e,t)=>{var r=s(),n=L(),i=R(),a=B(),o=C(),c=T(),u=n("wks"),l=r.Symbol,p=l&&l.for,d=c?l:l&&l.withoutSetter||a;t.exports=function(e){if(!i(u,e)||!o&&"string"!=typeof u[e]){var t="Symbol."+e;o&&i(l,e)?u[e]=l[e]:u[e]=c&&p?p(t):d(t)}return u[e]}})),K=o(((e,t)=>{var r=s(),n=p(),i=D(),a=k(),o=P(),c=F(),u=j(),l=r.TypeError,d=u("toPrimitive");t.exports=function(e,t){if(!i(e)||a(e))return e;var r,s=o(e,d);if(s){if(void 0===t&&(t="default"),r=n(s,e,t),!i(r)||a(r))return r;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}})),J=o(((e,t)=>{var r=K(),n=k();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),U=o(((e,t)=>{var r=s(),n=D(),i=r.document,a=n(i)&&n(i.createElement);t.exports=function(e){return a?i.createElement(e):{}}})),q=o(((e,t)=>{var r=u(),n=c(),i=U();t.exports=!r&&!n((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),V=o((e=>{var t=u(),r=p(),n=d(),i=f(),a=y(),o=J(),s=R(),c=q(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=a(e),t=o(t),c)try{return l(e,t)}catch{}if(s(e,t))return i(!r(n.f,e,t),e[t])}})),z=o(((e,t)=>{var r=u(),n=c();t.exports=r&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),W=o(((e,t)=>{var r=s(),n=D(),i=r.String,a=r.TypeError;t.exports=function(e){if(n(e))return e;throw a(i(e)+" is not an object")}})),H=o((e=>{var t=s(),r=u(),n=q(),i=z(),a=W(),o=J(),c=t.TypeError,l=Object.defineProperty,p=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",_="writable";e.f=r?i?function(e,t,r){if(a(e),t=o(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&_ in r&&!r[_]){var n=p(e,t);n&&n[_]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(a(e),t=o(t),a(r),n)try{return l(e,t,r)}catch{}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),G=o(((e,t)=>{var r=u(),n=H(),i=f();t.exports=r?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}})),$=o(((e,t)=>{var r=_(),n=v(),i=O(),a=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),Y=o(((e,t)=>{var r=s(),n=v(),i=$(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(i(a))})),X=o(((e,t)=>{var r=L(),n=B(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),Q=o(((e,t)=>{t.exports={}})),Z=o(((e,t)=>{var r,n,i,a,o,c,u,l,p=Y(),d=s(),f=_(),m=D(),g=G(),h=R(),y=O(),v=X(),b=Q(),x="Object already initialized",E=d.TypeError,S=d.WeakMap;p||y.state?(a=y.state||(y.state=new S),o=f(a.get),c=f(a.has),u=f(a.set),r=function(e,t){if(c(a,e))throw new E(x);return t.facade=e,u(a,e,t),t},n=function(e){return o(a,e)||{}},i=function(e){return c(a,e)}):(b[l=v("state")]=!0,r=function(e,t){if(h(e,l))throw new E(x);return t.facade=e,g(e,l,t),t},n=function(e){return h(e,l)?e[l]:{}},i=function(e){return h(e,l)}),t.exports={set:r,get:n,has:i,enforce:function(e){return i(e)?n(e):r(e,{})},getterFor:function(e){return function(t){var r;if(!m(t)||(r=n(t)).type!==e)throw E("Incompatible receiver, "+e+" required");return r}}}})),ee=o(((e,t)=>{var r=u(),n=R(),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,o=n(i,"name"),s=o&&"something"===function(){}.name,c=o&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:c}})),te=o(((e,t)=>{var r=s(),n=v(),i=R(),a=G(),o=I(),c=$(),u=Z(),l=ee().CONFIGURABLE,p=u.get,d=u.enforce,f=String(String).split("String");(t.exports=function(e,t,s,c){var u,p=!!c&&!!c.unsafe,_=!!c&&!!c.enumerable,m=!!c&&!!c.noTargetGet,g=c&&void 0!==c.name?c.name:t;n(s)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(s,"name")||l&&s.name!==g)&&a(s,"name",g),(u=d(s)).source||(u.source=f.join("string"==typeof g?g:""))),e!==r?(p?!m&&e[t]&&(_=!0):delete e[t],_?e[t]=s:a(e,t,s)):_?e[t]=s:o(t,s)})(Function.prototype,"toString",(function(){return n(this)&&p(this).source||c(this)}))})),re=o(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?n:r)(t)}})),ne=o(((e,t)=>{var r=re(),n=Math.max,i=Math.min;t.exports=function(e,t){var a=r(e);return a<0?n(a+t,0):i(a,t)}})),ie=o(((e,t)=>{var r=re(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),ae=o(((e,t)=>{var r=ie();t.exports=function(e){return r(e.length)}})),oe=o(((e,t)=>{var r=y(),n=ne(),i=ae(),a=function(e){return function(t,a,o){var s,c=r(t),u=i(c),l=n(o,u);if(e&&a!=a){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}})),se=o(((e,t)=>{var r=_(),n=R(),i=y(),a=oe().indexOf,o=Q(),s=r([].push);t.exports=function(e,t){var r,c=i(e),u=0,l=[];for(r in c)!n(o,r)&&n(c,r)&&s(l,r);for(;t.length>u;)n(c,r=t[u++])&&(~a(l,r)||s(l,r));return l}})),ce=o(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ue=o((e=>{var t=se(),r=ce().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),le=o((e=>{e.f=Object.getOwnPropertySymbols})),pe=o(((e,t)=>{var r=b(),n=_(),i=ue(),a=le(),o=W(),s=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=a.f;return r?s(t,r(e)):t}})),de=o(((e,t)=>{var r=R(),n=pe(),i=V(),a=H();t.exports=function(e,t,o){for(var s=n(t),c=a.f,u=i.f,l=0;l<s.length;l++){var p=s[l];!r(e,p)&&(!o||!r(o,p))&&c(e,p,u(t,p))}}})),fe=o(((e,t)=>{var r=c(),n=v(),i=/#|\.prototype\./,a=function(e,t){var i=s[o(e)];return i==l||i!=u&&(n(t)?r(t):!!t)},o=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a})),_e=o(((e,t)=>{var r=s(),n=V().f,i=G(),a=te(),o=I(),c=de(),u=fe();t.exports=function(e,t){var s,l,p,d,f,_=e.target,m=e.global,g=e.stat;if(s=m?r:g?r[_]||o(_,{}):(r[_]||{}).prototype)for(l in t){if(d=t[l],p=e.noTargetGet?(f=n(s,l))&&f.value:s[l],!u(m?l:_+(g?".":"#")+l,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&i(d,"sham",!0),a(s,l,d,e)}}})),me=o(((e,t)=>{var r=m();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),ge=o(((e,t)=>{var r=_(),n=N(),i=l(),a=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}})),he=o(((e,t)=>{var r=s(),n=me(),i=ae(),a=ge(),o=r.TypeError,c=function(e,t,r,s,u,l,p,d){for(var f,_,m=u,g=0,h=!!p&&a(p,d);g<s;){if(g in r){if(f=h?h(r[g],g,t):r[g],l>0&&n(f))_=i(f),m=c(e,t,f,_,m,l-1)-1;else{if(m>=9007199254740991)throw o("Exceed the acceptable array length");e[m]=f}m++}g++}return m};t.exports=c})),ye=o(((e,t)=>{var r={};r[j()("toStringTag")]="z",t.exports="[object z]"===String(r)})),ve=o(((e,t)=>{var r=s(),n=ye(),i=v(),a=m(),o=j()("toStringTag"),c=r.Object,u="Arguments"==a(function(){return arguments}());t.exports=n?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch{}}(t=c(e),o))?r:u?a(t):"Object"==(n=a(t))&&i(t.callee)?"Arguments":n}})),De=o(((e,t)=>{var r=_(),n=c(),i=v(),a=ve(),o=b(),s=$(),u=function(){},l=[],p=o("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),m=!d.exec(u),g=function(e){if(!i(e))return!1;try{return p(u,l,e),!0}catch{return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!f(d,s(e))}catch{return!0}};h.sham=!0,t.exports=!p||n((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g})),be=o(((e,t)=>{var r=s(),n=me(),i=De(),a=D(),o=j()("species"),c=r.Array;t.exports=function(e){var t;return n(e)&&(t=e.constructor,(i(t)&&(t===c||n(t.prototype))||a(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?c:t}})),xe=o(((e,t)=>{var r=be();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),Ee=o((()=>{var e=_e(),t=he(),r=N(),n=M(),i=ae(),a=xe();e({target:"Array",proto:!0},{flatMap:function(e){var o,s=n(this),c=i(s);return r(e),(o=a(s,0)).length=t(o,s,s,c,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),Se=o(((e,t)=>{t.exports={}})),Ce=o(((e,t)=>{var r=j(),n=Se(),i=r("iterator"),a=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||a[i]===e)}})),Te=o(((e,t)=>{var r=ve(),n=P(),i=Se(),a=j()("iterator");t.exports=function(e){if(null!=e)return n(e,a)||n(e,"@@iterator")||i[r(e)]}})),ke=o(((e,t)=>{var r=s(),n=p(),i=N(),a=W(),o=A(),c=Te(),u=r.TypeError;t.exports=function(e,t){var r=arguments.length<2?c(e):t;if(i(r))return a(n(r,e));throw u(o(e)+" is not iterable")}})),Ae=o(((e,t)=>{var r=p(),n=W(),i=P();t.exports=function(e,t,a){var o,s;n(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw a;return a}o=r(o,e)}catch(e){s=!0,o=e}if("throw"===t)throw a;if(s)throw o;return n(o),a}})),Ne=o(((e,t)=>{var r=s(),n=ge(),i=p(),a=W(),o=A(),c=Ce(),u=ae(),l=x(),d=ke(),f=Te(),_=Ae(),m=r.TypeError,g=function(e,t){this.stopped=e,this.result=t},h=g.prototype;t.exports=function(e,t,r){var s,p,y,v,D,b,x,E=r&&r.that,S=!(!r||!r.AS_ENTRIES),C=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),k=n(t,E),A=function(e){return s&&_(s,"normal",e),new g(!0,e)},N=function(e){return S?(a(e),T?k(e[0],e[1],A):k(e[0],e[1])):T?k(e,A):k(e)};if(C)s=e;else{if(!(p=f(e)))throw m(o(e)+" is not iterable");if(c(p)){for(y=0,v=u(e);v>y;y++)if((D=N(e[y]))&&l(h,D))return D;return new g(!1)}s=d(e,p)}for(b=s.next;!(x=i(b,s)).done;){try{D=N(x.value)}catch(e){_(s,"throw",e)}if("object"==typeof D&&D&&l(h,D))return D}return new g(!1)}})),Pe=o(((e,t)=>{var r=J(),n=H(),i=f();t.exports=function(e,t,a){var o=r(t);o in e?n.f(e,o,i(0,a)):e[o]=a}})),Fe=o((()=>{var e=_e(),t=Ne(),r=Pe();e({target:"Object",stat:!0},{fromEntries:function(e){var n={};return t(e,(function(e,t){r(n,e,t)}),{AS_ENTRIES:!0}),n}})})),we=o((()=>{_e()({global:!0},{globalThis:s()})})),Ie=o((()=>{we()})),Oe=o((()=>{var e=_e(),t=he(),r=M(),n=ae(),i=re(),a=xe();e({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,o=r(this),s=n(o),c=a(o,0);return c.length=t(c,o,o,s,0,void 0===e?1:i(e)),c}})})),Le=o(((r,o)=>{var s,c,u,l,p,d,f=["cliName","cliCategory","cliDescription"],_=["_"],m=["languageId"];function g(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(i[r]=e[r]))}return i}function h(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Ee(),Fe(),Ie(),Oe();var y,v=Object.defineProperty,D=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,x=Object.prototype.hasOwnProperty,E=(e,t)=>function(){return e&&(t=(0,e[b(e)[0]])(e=0)),t},S=(e,t)=>function(){return t||(0,e[b(e)[0]])((t={exports:{}}).exports,t),t.exports},C=(e,t)=>{for(var r in t)v(e,r,{get:t[r],enumerable:!0})},T=e=>((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of b(t))!x.call(e,i)&&i!==r&&v(e,i,{get:()=>t[i],enumerable:!(n=D(t,i))||n.enumerable});return e})(v({},"__esModule",{value:!0}),e),k=E({"<define:process>"(){y={env:{},argv:[]}}}),A=S({"package.json"(e,t){t.exports={version:"2.6.1"}}}),N=S({"node_modules/diff/lib/diff/base.js"(e){function t(){}function r(e,t,r,n,i){for(var a=0,o=t.length,s=0,c=0;a<o;a++){var u=t[a];if(u.removed){if(u.value=e.join(n.slice(c,c+u.count)),c+=u.count,a&&t[a-1].added){var l=t[a-1];t[a-1]=t[a],t[a]=l}}else{if(!u.added&&i){var p=r.slice(s,s+u.count);p=p.map((function(e,t){var r=n[c+t];return r.length>e.length?r:e})),u.value=e.join(p)}else u.value=e.join(r.slice(s,s+u.count));s+=u.count,u.added||(c+=u.count)}}var d=t[o-1];return o>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(t[o-2].value+=d.value,t.pop()),t}function n(e){return{newPos:e.newPos,components:e.components.slice(0)}}k(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=i.callback;"function"==typeof i&&(a=i,i={}),this.options=i;var o=this;function s(e){return a?(setTimeout((function(){a(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var c=(t=this.removeEmpty(this.tokenize(t))).length,u=e.length,l=1,p=c+u,d=[{newPos:-1,components:[]}],f=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=c&&f+1>=u)return s([{value:this.join(t),count:t.length}]);function _(){for(var i=-1*l;i<=l;i+=2){var a=void 0,p=d[i-1],f=d[i+1],_=(f?f.newPos:0)-i;p&&(d[i-1]=void 0);var m=p&&p.newPos+1<c,g=f&&0<=_&&_<u;if(m||g){if(!m||g&&p.newPos<f.newPos?(a=n(f),o.pushComponent(a.components,void 0,!0)):((a=p).newPos++,o.pushComponent(a.components,!0,void 0)),_=o.extractCommon(a,t,e,i),a.newPos+1>=c&&_+1>=u)return s(r(o,a.components,t,e,o.useLongestToken));d[i]=a}else d[i]=void 0}l++}if(a)!function e(){setTimeout((function(){if(l>p)return a();_()||e()}),0)}();else for(;l<=p;){var m=_();if(m)return m}},pushComponent:function(e,t,r){var n=e[e.length-1];n&&n.added===t&&n.removed===r?e[e.length-1]={count:n.count+1,added:t,removed:r}:e.push({count:1,added:t,removed:r})},extractCommon:function(e,t,r,n){for(var i=t.length,a=r.length,o=e.newPos,s=o-n,c=0;o+1<i&&s+1<a&&this.equals(t[o+1],r[s+1]);)o++,s++,c++;return c&&e.components.push({count:c}),e.newPos=o,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],r=0;r<e.length;r++)e[r]&&t.push(e[r]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}}}),P=S({"node_modules/diff/lib/diff/array.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=function(e,t,n){return r.diff(e,t,n)},e.arrayDiff=void 0;var t,r=new((t=N(),t&&t.__esModule?t:{default:t}).default);e.arrayDiff=r,r.tokenize=function(e){return e.slice()},r.join=r.removeEmpty=function(e){return e}}}),F=S({"src/document/doc-builders.js"(e,t){function r(e){return{type:"concat",parts:e}}function n(e){return{type:"indent",contents:e}}function i(e,t){return{type:"align",contents:t,n:e}}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}k();var o={type:"break-parent"},s={type:"line",hard:!0},c={type:"line",hard:!0,literal:!0},u=r([s,o]),l=r([c,o]),p={type:"cursor",placeholder:Symbol("cursor")};t.exports={concat:r,join:function(e,t){let n=[];for(let r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return r(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:u,literalline:l,group:a,conditionalGroup:function(e,t){return a(e[0],Object.assign(Object.assign({},t),{},{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:p,breakParent:o,ifBreak:function(e,t){return{type:"if-break",breakContents:e,flatContents:t,groupId:(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).groupId}},trim:{type:"trim"},indent:n,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:i,addAlignmentToDoc:function(e,t,r){let a=e;if(t>0){for(let e=0;e<Math.floor(t/r);++e)a=n(a);a=i(t%r,a),a=i(Number.NEGATIVE_INFINITY,a)}return a},markAsRoot:function(e){return i({type:"root"},e)},dedentToRoot:function(e){return i(Number.NEGATIVE_INFINITY,e)},dedent:function(e){return i(-1,e)},hardlineWithoutBreakParent:s,literallineWithoutBreakParent:c,label:function(e,t){return{type:"label",label:e,contents:t}}}}}),w=S({"src/common/end-of-line.js"(e,t){k(),t.exports={guessEndOfLine:function(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let r;switch(t){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."))}let n=e.match(r);return n?n.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}}}}),I=S({"src/utils/get-last.js"(e,t){k();t.exports=e=>e[e.length-1]}}),O=S({"vendors/string-width.js"(e,t){k();var r,n,i=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,c=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,l=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))!u.call(e,i)&&i!==r&&a(e,i,{get:()=>t[i],enumerable:!(n=o(t,i))||n.enumerable});return e},p=(r={"node_modules/emoji-regex/index.js"(e,t){t.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}},function(){return n||(0,r[s(r)[0]])((n={exports:{}}).exports,n),n.exports}),d={};function f(e){if("string"!=typeof e)throw new TypeError("Expected a `string`, got `".concat(typeof e,"`"));return e.replace(function(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}(),"")}function _(e){return!!Number.isInteger(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}((e,t)=>{for(var r in t)a(e,r,{get:t[r],enumerable:!0})})(d,{default:()=>g}),t.exports=(e=>l(a({},"__esModule",{value:!0}),e))(d);var m=((e,t,r)=>(r=null!=e?i(c(e)):{},l(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)))(p(),1);function g(e){if("string"!=typeof e||0===e.length||0===(e=f(e)).length)return 0;e=e.replace((0,m.default)()," ");let t=0;for(let r=0;r<e.length;r++){let n=e.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=_(n)?2:1)}return t}}}),L=S({"src/utils/get-string-width.js"(e,t){k();var r=O().default,n=/[^\x20-\x7F]/;t.exports=function(e){return e?n.test(e)?r(e):e.length:0}}}),M=S({"src/document/doc-utils.js"(e,t){k();var r=I(),{literalline:n,join:i}=F(),a=e=>Array.isArray(e)||e&&"concat"===e.type,o=e=>{if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},s={};function c(e,t,r,n){let i=[e];for(;i.length>0;){let e=i.pop();if(e!==s){if(r&&i.push(e,s),!t||!1!==t(e))if(a(e)||"fill"===e.type){let t=o(e);for(let e=t.length-1;e>=0;--e)i.push(t[e])}else if("if-break"===e.type)e.flatContents&&i.push(e.flatContents),e.breakContents&&i.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(n)for(let t=e.expandedStates.length-1;t>=0;--t)i.push(e.expandedStates[t]);else i.push(e.contents);else e.contents&&i.push(e.contents)}else r(i.pop())}}function u(e,t){let r=new Map;return n(e);function n(e){if(r.has(e))return r.get(e);let i=function(e){if(Array.isArray(e))return t(e.map(n));if("concat"===e.type||"fill"===e.type){let r=e.parts.map(n);return t(Object.assign(Object.assign({},e),{},{parts:r}))}if("if-break"===e.type){let r=e.breakContents&&n(e.breakContents),i=e.flatContents&&n(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:r,flatContents:i}))}if("group"===e.type&&e.expandedStates){let r=e.expandedStates.map(n),i=r[0];return t(Object.assign(Object.assign({},e),{},{contents:i,expandedStates:r}))}if(e.contents){let r=n(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:r}))}return t(e)}(e);return r.set(e,i),i}}function l(e,t,r){let n=r,i=!1;return c(e,(function(e){let r=t(e);if(void 0!==r&&(i=!0,n=r),i)return!1})),n}function p(e){if("group"===e.type&&e.break||"line"===e.type&&e.hard||"break-parent"===e.type)return!0}function d(e){if(e.length>0){let t=r(e);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function f(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}var _=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function m(e){if(!e)return e;if(a(e)||"fill"===e.type){let t=o(e);for(;t.length>1&&_(...t.slice(-2));)t.length-=2;if(t.length>0){let e=m(r(t));t[t.length-1]=e}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let t=m(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case"if-break":{let t=m(e.breakContents),r=m(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:r})}}return e}function g(e){return u(e,(e=>function(e){switch(e.type){case"fill":if(e.parts.every((e=>""===e)))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!a(e))return e;let t=[];for(let n of o(e)){if(!n)continue;let[e,...i]=a(n)?o(n):[n];"string"==typeof e&&"string"==typeof r(t)?t[t.length-1]+=e:t.push(e),t.push(...i)}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}(e)))}function h(e){let t=[],n=e.filter(Boolean);for(;n.length>0;){let e=n.shift();if(e){if(a(e)){n.unshift(...o(e));continue}if(t.length>0&&"string"==typeof r(t)&&"string"==typeof e){t[t.length-1]+=e;continue}t.push(e)}}return t}function y(e){return i(arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,e.split("\n")).parts}function v(e){if("line"===e.type)return!0}t.exports={isConcat:a,getDocParts:o,willBreak:function(e){return l(e,p,!1)},traverseDoc:c,findInDoc:l,mapDoc:u,propagateBreaks:function(e){let t=new Set,r=[];c(e,(function(e){if("break-parent"===e.type&&d(r),"group"===e.type){if(r.push(e),t.has(e))return!1;t.add(e)}}),(function(e){"group"===e.type&&r.pop().break&&d(r)}),!0)},removeLines:function(e){return u(e,f)},stripTrailingHardline:function(e){return m(g(e))},normalizeParts:h,normalizeDoc:function(e){return u(e,(e=>Array.isArray(e)?h(e):e.parts?Object.assign(Object.assign({},e),{},{parts:h(e.parts)}):e))},cleanDoc:g,replaceTextEndOfLine:y,replaceEndOfLine:function(e){return u(e,(e=>"string"==typeof e&&e.includes("\n")?y(e):e))},canBreak:function(e){return l(e,v,!1)}}}}),R=S({"src/document/doc-printer.js"(e,t){k();var r,{convertEndOfLineToChars:n}=w(),i=I(),a=L(),{fill:o,cursor:s,indent:c}=F(),{isConcat:u,getDocParts:l}=M();function p(e,t){return f(e,{type:"indent"},t)}function d(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?f(e,{type:"dedent"},r):t?"root"===t.type?Object.assign(Object.assign({},e),{},{root:e}):f(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},r):e}function f(e,t,r){let n="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t],i="",a=0,o=0,s=0;for(let e of n)switch(e.type){case"indent":l(),r.useTabs?c(1):u(r.tabWidth);break;case"stringAlign":l(),i+=e.n,a+=e.n.length;break;case"numberAlign":o+=1,s+=e.n;break;default:throw new Error("Unexpected type '".concat(e.type,"'"))}return p(),Object.assign(Object.assign({},e),{},{value:i,length:a,queue:n});function c(e){i+="\t".repeat(e),a+=r.tabWidth*e}function u(e){i+=" ".repeat(e),a+=e}function l(){r.useTabs?(o>0&&c(o),d()):p()}function p(){s>0&&u(s),d()}function d(){o=0,s=0}}function _(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof i(e)&&/^[\t ]*$/.test(i(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof i(e)){let r=i(e).replace(/[\t ]*$/,"");t+=i(e).length-r.length,e[e.length-1]=r}return t}function m(e,t,n,o,s,f){let m=t.length,g=[e],h=[];for(;n>=0;){if(0===g.length){if(0===m)return!0;g.push(t[m-1]),m--;continue}let[e,y,v]=g.pop();if("string"==typeof v)h.push(v),n-=a(v);else if(u(v)){let t=l(v);for(let r=t.length-1;r>=0;r--)g.push([e,y,t[r]])}else switch(v.type){case"indent":g.push([p(e,o),y,v.contents]);break;case"align":g.push([d(e,v.n,o),y,v.contents]);break;case"trim":n+=_(h);break;case"group":{if(f&&v.break)return!1;let t=v.break?1:y;g.push([e,t,v.expandedStates&&1===t?i(v.expandedStates):v.contents]),v.id&&(r[v.id]=t);break}case"fill":for(let t=v.parts.length-1;t>=0;t--)g.push([e,y,v.parts[t]]);break;case"if-break":case"indent-if-break":{let t=v.groupId?r[v.groupId]:y;if(1===t){let t="if-break"===v.type?v.breakContents:v.negate?v.contents:c(v.contents);t&&g.push([e,y,t])}if(2===t){let t="if-break"===v.type?v.flatContents:v.negate?c(v.contents):v.contents;t&&g.push([e,y,t])}break}case"line":switch(y){case 2:if(!v.hard){v.soft||(h.push(" "),n-=1);break}return!0;case 1:return!0}break;case"line-suffix":s=!0;break;case"line-suffix-boundary":if(s)return!1;break;case"label":g.push([e,y,v.contents])}}return!1}t.exports={printDocToString:function(e,t){r={};let f=t.printWidth,g=n(t.endOfLine),h=0,y=[[{value:"",length:0,queue:[]},1,e]],v=[],D=!1,b=[];for(;y.length>0;){let[e,n,x]=y.pop();if("string"==typeof x){let e="\n"!==g?x.replace(/\n/g,g):x;v.push(e),h+=a(e)}else if(u(x)){let t=l(x);for(let r=t.length-1;r>=0;r--)y.push([e,n,t[r]])}else switch(x.type){case"cursor":v.push(s.placeholder);break;case"indent":y.push([p(e,t),n,x.contents]);break;case"align":y.push([d(e,x.n,t),n,x.contents]);break;case"trim":h-=_(v);break;case"group":switch(n){case 2:if(!D){y.push([e,x.break?1:2,x.contents]);break}case 1:{D=!1;let r=[e,2,x.contents],n=f-h,a=b.length>0;if(!x.break&&m(r,y,n,t,a))y.push(r);else if(x.expandedStates){let r=i(x.expandedStates);if(x.break){y.push([e,1,r]);break}for(let i=1;i<x.expandedStates.length+1;i++){if(i>=x.expandedStates.length){y.push([e,1,r]);break}{let r=[e,2,x.expandedStates[i]];if(m(r,y,n,t,a)){y.push(r);break}}}}else y.push([e,1,x.contents]);break}}x.id&&(r[x.id]=i(y)[1]);break;case"fill":{let r=f-h,{parts:i}=x;if(0===i.length)break;let[a,s]=i,c=[e,2,a],u=[e,1,a],l=m(c,[],r,t,b.length>0,!0);if(1===i.length){l?y.push(c):y.push(u);break}let p=[e,2,s],d=[e,1,s];if(2===i.length){l?y.push(p,c):y.push(d,u);break}i.splice(0,2);let _=[e,n,o(i)];m([e,2,[a,s,i[0]]],[],r,t,b.length>0,!0)?y.push(_,p,c):l?y.push(_,d,c):y.push(_,d,u);break}case"if-break":case"indent-if-break":{let t=x.groupId?r[x.groupId]:n;if(1===t){let t="if-break"===x.type?x.breakContents:x.negate?x.contents:c(x.contents);t&&y.push([e,n,t])}if(2===t){let t="if-break"===x.type?x.flatContents:x.negate?c(x.contents):x.contents;t&&y.push([e,n,t])}break}case"line-suffix":b.push([e,n,x.contents]);break;case"line-suffix-boundary":b.length>0&&y.push([e,n,{type:"line",hard:!0}]);break;case"line":switch(n){case 2:if(!x.hard){x.soft||(v.push(" "),h+=1);break}D=!0;case 1:if(b.length>0){y.push([e,n,x],...b.reverse()),b=[];break}x.literal?e.root?(v.push(g,e.root.value),h=e.root.length):(v.push(g),h=0):(h-=_(v),v.push(g+e.value),h=e.length)}break;case"label":y.push([e,n,x.contents])}0===y.length&&b.length>0&&(y.push(...b.reverse()),b=[])}let x=v.indexOf(s.placeholder);if(-1!==x){let e=v.indexOf(s.placeholder,x+1),t=v.slice(0,x).join(""),r=v.slice(x+1,e).join("");return{formatted:t+r+v.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:r}}return{formatted:v.join("")}}}}}),B=S({"src/document/doc-debug.js"(e,t){k();var{isConcat:r,getDocParts:n}=M();function i(e){if(!e)return"";if(r(e)){let t=[];for(let a of n(e))if(r(a))t.push(...i(a).parts);else{let e=i(a);""!==e&&t.push(e)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:i(e.breakContents),flatContents:i(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:i(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(i)}):"fill"===e.type?{type:"fill",parts:e.parts.map(i)}:e.contents?Object.assign(Object.assign({},e),{},{contents:i(e.contents)}):e}t.exports={printDocToDebug:function(e){let t=Object.create(null),a=new Set;return function e(t,i,a){if("string"==typeof t)return JSON.stringify(t);if(r(t)){let r=n(t).map(e).filter(Boolean);return 1===r.length?r[0]:"[".concat(r.join(", "),"]")}if("line"===t.type){let e=Array.isArray(a)&&a[i+1]&&"break-parent"===a[i+1].type;return t.literal?e?"literalline":"literallineWithoutBreakParent":t.hard?e?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type)return Array.isArray(a)&&a[i-1]&&"line"===a[i-1].type&&a[i-1].hard?void 0:"breakParent";if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+", { groupId: ".concat(o(t.groupId)," }"):"")+")";if("indent-if-break"===t.type){let r=[];t.negate&&r.push("negate: true"),t.groupId&&r.push("groupId: ".concat(o(t.groupId)));let n=r.length>0?", { ".concat(r.join(", ")," }"):"";return"indentIfBreak(".concat(e(t.contents)).concat(n,")")}if("group"===t.type){let r=[];t.break&&"propagated"!==t.break&&r.push("shouldBreak: true"),t.id&&r.push("id: ".concat(o(t.id)));let n=r.length>0?", { ".concat(r.join(", ")," }"):"";return t.expandedStates?"conditionalGroup([".concat(t.expandedStates.map((t=>e(t))).join(","),"]").concat(n,")"):"group(".concat(e(t.contents)).concat(n,")")}if("fill"===t.type)return"fill([".concat(t.parts.map((t=>e(t))).join(", "),"])");if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return"label(".concat(JSON.stringify(t.label),", ").concat(e(t.contents),")");throw new Error("Unknown doc type "+t.type)}(i(e));function o(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];let r=String(e).slice(7,-1)||"symbol";for(let n=0;;n++){let i=r+(n>0?" #".concat(n):"");if(!a.has(i))return a.add(i),t[e]="Symbol.for(".concat(JSON.stringify(i),")")}}}}}}),j=S({"src/document/index.js"(e,t){k(),t.exports={builders:F(),printer:R(),utils:M(),debug:B()}}}),K=S({"node_modules/escape-string-regexp/index.js"(e,t){k(),t.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}}}),J=S({"node_modules/semver/internal/debug.js"(e,t){k();var r="object"==typeof y&&y.env&&y.env.NODE_DEBUG&&/\bsemver\b/i.test(y.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.error("SEMVER",...t)}:()=>{};t.exports=r}}),U=S({"node_modules/semver/internal/constants.js"(e,t){k();var r=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:16}}}),q=S({"node_modules/semver/internal/re.js"(e,t){k();var{MAX_SAFE_COMPONENT_LENGTH:r}=U(),n=J(),i=(e=t.exports={}).re=[],a=e.src=[],o=e.t={},s=0,c=(e,t,r)=>{let c=s++;n(c,t),o[e]=c,a[c]=t,i[c]=new RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION","(".concat(a[o.NUMERICIDENTIFIER],")\\.(").concat(a[o.NUMERICIDENTIFIER],")\\.(").concat(a[o.NUMERICIDENTIFIER],")")),c("MAINVERSIONLOOSE","(".concat(a[o.NUMERICIDENTIFIERLOOSE],")\\.(").concat(a[o.NUMERICIDENTIFIERLOOSE],")\\.(").concat(a[o.NUMERICIDENTIFIERLOOSE],")")),c("PRERELEASEIDENTIFIER","(?:".concat(a[o.NUMERICIDENTIFIER],"|").concat(a[o.NONNUMERICIDENTIFIER],")")),c("PRERELEASEIDENTIFIERLOOSE","(?:".concat(a[o.NUMERICIDENTIFIERLOOSE],"|").concat(a[o.NONNUMERICIDENTIFIER],")")),c("PRERELEASE","(?:-(".concat(a[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(a[o.PRERELEASEIDENTIFIER],")*))")),c("PRERELEASELOOSE","(?:-?(".concat(a[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(a[o.PRERELEASEIDENTIFIERLOOSE],")*))")),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD","(?:\\+(".concat(a[o.BUILDIDENTIFIER],"(?:\\.").concat(a[o.BUILDIDENTIFIER],")*))")),c("FULLPLAIN","v?".concat(a[o.MAINVERSION]).concat(a[o.PRERELEASE],"?").concat(a[o.BUILD],"?")),c("FULL","^".concat(a[o.FULLPLAIN],"$")),c("LOOSEPLAIN","[v=\\s]*".concat(a[o.MAINVERSIONLOOSE]).concat(a[o.PRERELEASELOOSE],"?").concat(a[o.BUILD],"?")),c("LOOSE","^".concat(a[o.LOOSEPLAIN],"$")),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE","".concat(a[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),c("XRANGEIDENTIFIER","".concat(a[o.NUMERICIDENTIFIER],"|x|X|\\*")),c("XRANGEPLAIN","[v=\\s]*(".concat(a[o.XRANGEIDENTIFIER],")(?:\\.(").concat(a[o.XRANGEIDENTIFIER],")(?:\\.(").concat(a[o.XRANGEIDENTIFIER],")(?:").concat(a[o.PRERELEASE],")?").concat(a[o.BUILD],"?)?)?")),c("XRANGEPLAINLOOSE","[v=\\s]*(".concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:").concat(a[o.PRERELEASELOOSE],")?").concat(a[o.BUILD],"?)?)?")),c("XRANGE","^".concat(a[o.GTLT],"\\s*").concat(a[o.XRANGEPLAIN],"$")),c("XRANGELOOSE","^".concat(a[o.GTLT],"\\s*").concat(a[o.XRANGEPLAINLOOSE],"$")),c("COERCE","(^|[^\\d])(\\d{1,".concat(r,"})(?:\\.(\\d{1,").concat(r,"}))?(?:\\.(\\d{1,").concat(r,"}))?(?:$|[^\\d])")),c("COERCERTL",a[o.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM","(\\s*)".concat(a[o.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",c("TILDE","^".concat(a[o.LONETILDE]).concat(a[o.XRANGEPLAIN],"$")),c("TILDELOOSE","^".concat(a[o.LONETILDE]).concat(a[o.XRANGEPLAINLOOSE],"$")),c("LONECARET","(?:\\^)"),c("CARETTRIM","(\\s*)".concat(a[o.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",c("CARET","^".concat(a[o.LONECARET]).concat(a[o.XRANGEPLAIN],"$")),c("CARETLOOSE","^".concat(a[o.LONECARET]).concat(a[o.XRANGEPLAINLOOSE],"$")),c("COMPARATORLOOSE","^".concat(a[o.GTLT],"\\s*(").concat(a[o.LOOSEPLAIN],")$|^$")),c("COMPARATOR","^".concat(a[o.GTLT],"\\s*(").concat(a[o.FULLPLAIN],")$|^$")),c("COMPARATORTRIM","(\\s*)".concat(a[o.GTLT],"\\s*(").concat(a[o.LOOSEPLAIN],"|").concat(a[o.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE","^\\s*(".concat(a[o.XRANGEPLAIN],")\\s+-\\s+(").concat(a[o.XRANGEPLAIN],")\\s*$")),c("HYPHENRANGELOOSE","^\\s*(".concat(a[o.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(a[o.XRANGEPLAINLOOSE],")\\s*$")),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}}),V=S({"node_modules/semver/internal/parse-options.js"(e,t){k();var r=["includePrerelease","loose","rtl"];t.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}}}),z=S({"node_modules/semver/internal/identifiers.js"(e,t){k();var r=/^[0-9]+$/,n=(e,t)=>{let n=r.test(e),i=r.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:e<t?-1:1};t.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}}}),W=S({"node_modules/semver/classes/semver.js"(e,t){k();var r=J(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=U(),{re:a,t:o}=q(),s=V(),{compareIdentifiers:c}=z(),u=class{constructor(e,t){if(t=s(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>n)throw new TypeError("version is longer than ".concat(n," characters"));r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let c=e.trim().match(t.loose?a[o.LOOSE]:a[o.FULL]);if(!c)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+c[1],this.minor=+c[2],this.patch=+c[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");c[4]?this.prerelease=c[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=c[5]?c[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return c(n,i)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{let n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return c(n,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}};t.exports=u}}),H=S({"node_modules/semver/functions/compare.js"(e,t){k();var r=W();t.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))}}),G=S({"node_modules/semver/functions/lt.js"(e,t){k();var r=H();t.exports=(e,t,n)=>r(e,t,n)<0}}),$=S({"node_modules/semver/functions/gte.js"(e,t){k();var r=H();t.exports=(e,t,n)=>r(e,t,n)>=0}}),Y=S({"src/utils/arrayify.js"(e,t){k(),t.exports=(e,t)=>Object.entries(e).map((e=>{let[r,n]=e;return Object.assign({[t]:r},n)}))}}),X=S({"node_modules/outdent/lib/index.js"(e,t){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function n(){return typeof WeakMap<"u"?new WeakMap:{add:r,delete:r,get:r,set:r,has:function(e){return!1}}}k(),Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;var i=Object.prototype.hasOwnProperty,a=function(e,t){return i.call(e,t)};function o(e,t){for(var r in t)a(t,r)&&(e[r]=t[r]);return e}var s=/^[ \t]*(?:\r\n|\r|\n)/,c=/(?:\r\n|\r|\n)[ \t]*$/,u=/^(?:[\r\n]|$)/,l=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function d(e,t,r){var n=0,i=e[0].match(l);i&&(n=i[1].length);var a=new RegExp("(\\r\\n|\\r|\\n).{0,"+n+"}","g");t&&(e=e.slice(1));var o=r.newline,u=r.trimLeadingNewline,p=r.trimTrailingNewline,d="string"==typeof o,f=e.length;return e.map((function(e,t){return e=e.replace(a,"$1"),0===t&&u&&(e=e.replace(s,"")),t===f-1&&p&&(e=e.replace(c,"")),d&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return o}))),e}))}function f(e,t){for(var r="",n=0,i=e.length;n<i;n++)r+=e[n],n<i-1&&(r+=t[n]);return r}function _(e){return a(e,"raw")&&a(e,"length")}var m=function e(t){var r=n(),i=n();return o((function n(a){for(var s=[],c=1;c<arguments.length;c++)s[c-1]=arguments[c];if(_(a)){var l=a,g=(s[0]===n||s[0]===m)&&p.test(l[0])&&u.test(l[1]),h=g?i:r,y=h.get(l);return y||(y=d(l,g,t),h.set(l,y)),0===s.length?y[0]:f(y,g?s.slice(1):s)}return e(o(o({},t),a||{}))}),{string:function(e){return d([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});if(e.outdent=m,e.default=m,typeof t<"u")try{t.exports=m,Object.defineProperty(m,"__esModule",{value:!0}),m.default=m,m.outdent=m}catch{}}}),Q=S({"src/main/core-options.js"(e,t){k();var{outdent:r}=X(),n="Config",i="Editor",a="Other",o="Global",f="Special",_={cursorOffset:{since:"1.4.0",category:f,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:r(s||(s=h(["\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n "]))),cliCategory:i},endOfLine:{since:"1.15.0",category:o,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:r(c||(c=h(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "])))}]},filepath:{since:"1.4.0",category:f,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:a,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:f,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:a},parser:{since:"0.0.10",category:o,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:o,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:n},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:o,description:r(u||(u=h(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]))),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:n},printWidth:{since:"0.0.0",category:o,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:f,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r(l||(l=h(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:i},rangeStart:{since:"1.4.0",category:f,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r(p||(p=h(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:i},requirePragma:{since:"1.7.0",category:f,type:"boolean",default:!1,description:r(d||(d=h(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]))),cliCategory:a},tabWidth:{type:"int",category:o,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:o,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:o,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:n,CATEGORY_EDITOR:i,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:a,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:o,CATEGORY_SPECIAL:f,options:_}}}),Z=S({"src/main/support.js"(e,t){k();var r={compare:H(),lt:G(),gte:$()},n=Y(),i=A().version,a=Q().options;function o(e,t,r){let n=new Set(e.choices.map((e=>e.value)));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!n.has(t)){n.add(t);let a=r.find((e=>e.parsers&&e.parsers[t])),o=i.name;a&&a.name&&(o+=" (plugin: ".concat(a.name,")")),e.choices.push({value:t,description:o})}}t.exports={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:s=!1,showInternal:c=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=i.split("-",1)[0],l=e.flatMap((e=>e.languages||[])).filter(d),p=n(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),a),"name").filter((e=>d(e)&&_(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map(m).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(d).sort(((e,t)=>r.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>d(e)&&_(e))),"parser"===t.name&&o(t,l,e));let n=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})}));return{languages:l,options:p};function d(e){return t||!("since"in e)||e.since&&r.gte(u,e.since)}function _(e){return s||!("deprecated"in e)||e.deprecated&&r.lt(u,e.deprecated)}function m(e){if(c)return e;let{cliName:t,cliCategory:r,cliDescription:n}=e;return g(e,f)}}}}}),ee=S({"src/utils/is-non-empty-array.js"(e,t){k(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),te=S({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:a}=t,o=r;for(;o>=0&&o<a;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===a)&&o}}k();var n=r(/\s/),i=r(" \t"),a=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:a,skipEverythingButNewLine:o}}}),re=S({"src/utils/text/skip-inline-comment.js"(e,t){k(),t.exports=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}}}),ne=S({"src/utils/text/skip-trailing-comment.js"(e,t){k();var{skipEverythingButNewLine:r}=te();t.exports=function(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?r(e,t):t)}}}),ie=S({"src/utils/text/skip-newline.js"(e,t){k(),t.exports=function(e,t,r){let n=r&&r.backwards;if(!1===t)return!1;let i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}}}),ae=S({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){k();var r=re(),n=ie(),i=ne(),{skipSpaces:a}=te();t.exports=function(e,t){let o=null,s=t;for(;s!==o;)o=s,s=a(e,s),s=r(e,s),s=i(e,s),s=n(e,s);return s}}}),oe=S({"src/common/util.js"(e,t){k();var r=K(),n=I(),{getSupportInfo:i}=Z(),a=ee(),o=L(),{skipWhitespace:s,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l}=te(),p=re(),d=ne(),f=ie(),_=ae();function m(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=c(e,r.backwards?t-1:t,r);return n!==f(e,n,r)}function g(e,t){let r=null,n=t;for(;n!==r;)r=n,n=u(e,n),n=p(e,n),n=c(e,n);return n=d(e,n),n=f(e,n),!1!==n&&m(e,n)}function h(e,t,r){return _(e,r(t))}function y(e,t){let r=0;for(let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n<e.length;++n)"\t"===e[n]?r=r+t-r%t:r++;return r}function v(e,t){let r={quote:'"',regex:/"/g,escaped:"&quot;"},n={quote:"'",regex:/'/g,escaped:"&apos;"},i="'"===t?n:r,a=i===n?r:n,o=i;return(e.includes(i.quote)||e.includes(a.quote))&&(o=(e.match(i.regex)||[]).length>(e.match(a.regex)||[]).length?a:i),o}function D(e,t,r){let n='"'===t?"'":'"',i=e.replace(/\\(.)|(["'])/gs,((e,i,a)=>i===n?i:a===t?"\\"+a:a||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+i+t}function b(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}(e)}t.exports={inferParserByLanguage:function(e,t){let{languages:r}=i({plugins:t.plugins}),n=r.find((t=>{let{name:r}=t;return r.toLowerCase()===e}))||r.find((t=>{let{aliases:r}=t;return Array.isArray(r)&&r.includes(e)}))||r.find((t=>{let{extensions:r}=t;return Array.isArray(r)&&r.includes(".".concat(e))}));return n&&n.parsers[0]},getStringWidth:o,getMaxContinuousCount:function(e,t){let n=e.match(new RegExp("(".concat(r(t),")+"),"g"));return null===n?0:n.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){let n=e.match(new RegExp("(".concat(r(t),")+"),"g"));if(null===n)return 0;let i=new Map,a=0;for(let e of n){let r=e.length/t.length;i.set(r,!0),r>a&&(a=r)}for(let e=1;e<a;e++)if(!i.get(e))return e;return a+1},getPenultimate:e=>e[e.length-2],getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:_,getNextNonSpaceNonCommentCharacterIndex:h,getNextNonSpaceNonCommentCharacter:function(e,t,r){return e.charAt(h(e,t,r))},skip:function(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:a}=t,o=r;for(;o>=0&&o<a;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===a)&&o}},skipWhitespace:s,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l,skipInlineComment:p,skipTrailingComment:d,skipNewline:f,isNextLineEmptyAfterIndex:g,isNextLineEmpty:function(e,t,r){return g(e,r(t))},isPreviousLineEmpty:function(e,t,r){let n=r(t)-1;return n=c(e,n,{backwards:!0}),n=f(e,n,{backwards:!0}),n=c(e,n,{backwards:!0}),n!==f(e,n,{backwards:!0})},hasNewline:m,hasNewlineInRange:function(e,t,r){for(let n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1},hasSpaces:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c(e,r.backwards?t-1:t,r)!==t},getAlignmentSize:y,getIndentSize:function(e,t){let r=e.lastIndexOf("\n");return-1===r?0:y(e.slice(r+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:v,printString:function(e,t){let r=e.slice(1,-1);return D(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":v(r,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:D,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,b(e,t)},addDanglingComment:function(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),b(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,b(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},isNonEmptyArray:a,createGroupIdMapper:function(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}}}}),se={};function ce(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function ue(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return e=ce(he(e.split("/"),(function(e){return!!e})),!t).join("/"),(t?"/":"")+e||"."}function le(e){var t=pe(e),r="/"===Se(e,-1);return!(e=ce(he(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function pe(e){return"/"===e.charAt(0)}function de(){return le(he(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function fe(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=ue(e).substr(1),t=ue(t).substr(1);for(var n=r(e.split("/")),i=r(t.split("/")),a=Math.min(n.length,i.length),o=a,s=0;s<a;s++)if(n[s]!==i[s]){o=s;break}var c=[];for(s=o;s<n.length;s++)c.push("..");return(c=c.concat(i.slice(o))).join("/")}function _e(e){var t=ve(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."}function me(e,t){var r=ve(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function ge(e){return ve(e)[3]}function he(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}C(se,{basename:()=>me,default:()=>xe,delimiter:()=>be,dirname:()=>_e,extname:()=>ge,isAbsolute:()=>pe,join:()=>de,normalize:()=>le,relative:()=>fe,resolve:()=>ue,sep:()=>De});var ye,ve,De,be,xe,Se,Ce=E({"node-modules-polyfills:path"(){k(),ye=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,ve=function(e){return ye.exec(e).slice(1)},xe={extname:ge,basename:me,dirname:_e,sep:De="/",delimiter:be=":",relative:fe,join:de,isAbsolute:pe,normalize:le,resolve:ue},Se=function(e,t,r){return e.substr(t,r)}}}),Te=S({"node-modules-polyfills-commonjs:path"(e,t){k();var r=(Ce(),T(se));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),ke=S({"src/common/errors.js"(e,t){k();var r=class extends Error{},n=class extends Error{},i=class extends Error{},a=class extends Error{};t.exports={ConfigError:r,DebugError:n,UndefinedParserError:i,ArgExpansionBailout:a}}}),Ae={};function Ne(e,t){function r(){this.constructor=e}et(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Pe(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function we(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o}function Le(e,t){return function(r,n){t(r,n,e)}}function Me(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function Re(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(o,s)}c((n=n.apply(e,t||[])).next())}))}function Be(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function je(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function Ke(e,t){for(var r in e)"default"!==r&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Je(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ue(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}function qe(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ue(arguments[t]));return e}function Ve(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)n[i]=a[o];return n}function ze(e){return this instanceof ze?(this.v=e,this):new ze(e)}function We(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),a=[];return n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n;function o(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||s(e,t)}))})}function s(e,t){try{!function(e){e.value instanceof ze?Promise.resolve(e.value.v).then(c,u):l(a[0][2],e)}(i[e](t))}catch(e){l(a[0][3],e)}}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function He(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:ze(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function Ge(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=Je(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,i,(t=e[r](t)).done,t.value)}))}}}function $e(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function Ye(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function Xe(e){return e&&e.__esModule?e:{default:e}}function Qe(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function Ze(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}C(Ae,{__assign:()=>tt,__asyncDelegator:()=>He,__asyncGenerator:()=>We,__asyncValues:()=>Ge,__await:()=>ze,__awaiter:()=>Re,__classPrivateFieldGet:()=>Qe,__classPrivateFieldSet:()=>Ze,__createBinding:()=>je,__decorate:()=>we,__exportStar:()=>Ke,__extends:()=>Ne,__generator:()=>Be,__importDefault:()=>Xe,__importStar:()=>Ye,__makeTemplateObject:()=>$e,__metadata:()=>Me,__param:()=>Le,__read:()=>Ue,__rest:()=>Pe,__spread:()=>qe,__spreadArrays:()=>Ve,__values:()=>Je});var et,tt,rt=E({"node_modules/tslib/tslib.es6.js"(){k(),et=function(e,t){return et=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},et(e,t)},tt=function(){return tt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},tt.apply(this,arguments)}}}),nt=S({"node_modules/vnopts/lib/descriptors/api.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0}),e.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(t){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t))return"[".concat(t.map((t=>e.apiDescriptor.value(t))).join(", "),"]");let r=Object.keys(t);return 0===r.length?"{}":"{ ".concat(r.map((r=>"".concat(e.apiDescriptor.key(r),": ").concat(e.apiDescriptor.value(t[r])))).join(", ")," }")},pair:t=>{let{key:r,value:n}=t;return e.apiDescriptor.value({[r]:n})}}}}),it=S({"node_modules/vnopts/lib/descriptors/index.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0}),(rt(),T(Ae)).__exportStar(nt(),e)}}),at=S({"scripts/build/shims/chalk.cjs"(e,t){k();var r=e=>e;r.grey=r,r.red=r,r.bold=r,r.yellow=r,r.blue=r,r.default=r,t.exports=r}}),ot=S({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=at();e.commonDeprecatedHandler=(e,r,n)=>{let{descriptor:i}=n,a=["".concat(t.default.yellow("string"==typeof e?i.key(e):i.pair(e))," is deprecated")];return r&&a.push("we now treat it as ".concat(t.default.blue("string"==typeof r?i.key(r):i.pair(r)))),a.join("; ")+"."}}}),st=S({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0}),(rt(),T(Ae)).__exportStar(ot(),e)}}),ct=S({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=at();e.commonInvalidHandler=(e,r,n)=>["Invalid ".concat(t.default.red(n.descriptor.key(e))," value."),"Expected ".concat(t.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(t.default.red(n.descriptor.value(r)),".")].join(" ")}}),ut=S({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0}),(rt(),T(Ae)).__exportStar(ct(),e)}}),lt=S({"node_modules/vnopts/node_modules/leven/index.js"(e,t){k();var r=[],n=[];t.exports=function(e,t){if(e===t)return 0;var i=e;e.length>t.length&&(e=t,t=i);var a=e.length,o=t.length;if(0===a)return o;if(0===o)return a;for(;a>0&&e.charCodeAt(~-a)===t.charCodeAt(~-o);)a--,o--;if(0===a)return o;for(var s=0;s<a&&e.charCodeAt(s)===t.charCodeAt(s);)s++;if(o-=s,0==(a-=s))return o;for(var c,u,l,p,d=0,f=0;d<a;)n[s+d]=e.charCodeAt(s+d),r[d]=++d;for(;f<o;)for(c=t.charCodeAt(s+f),l=f++,u=f,d=0;d<a;d++)p=c===n[s+d]?l:l+1,l=r[d],u=r[d]=l>u?p>u?u+1:p:p>l?l+1:p;return u}}}),pt=S({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=at(),r=lt();e.levenUnknownHandler=(e,n,i)=>{let{descriptor:a,logger:o,schemas:s}=i,c=["Ignored unknown option ".concat(t.default.yellow(a.pair({key:e,value:n})),".")],u=Object.keys(s).sort().find((t=>r(e,t)<3));u&&c.push("Did you mean ".concat(t.default.blue(a.key(u)),"?")),o.warn(c.join(" "))}}}),dt=S({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0}),(rt(),T(Ae)).__exportStar(pt(),e)}}),ft=S({"node_modules/vnopts/lib/handlers/index.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=(rt(),T(Ae));t.__exportStar(st(),e),t.__exportStar(ut(),e),t.__exportStar(dt(),e)}}),_t=S({"node_modules/vnopts/lib/schema.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,r){let a=new e(r),o=Object.create(a);for(let e of t)e in r&&(o[e]=i(r[e],a,n.prototype[e].length));return o}e.createSchema=r;var n=class{constructor(e){this.name=e.name}static create(e){return r(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return e}};function i(e,t,r){return"function"==typeof e?function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e(...i.slice(0,r-1),t,...i.slice(r-1))}:()=>e}e.Schema=n}}),mt=S({"node_modules/vnopts/lib/schemas/alias.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=_t(),r=class extends t.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}};e.AliasSchema=r}}),gt=S({"node_modules/vnopts/lib/schemas/any.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=_t(),r=class extends t.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=r}}),ht=S({"node_modules/vnopts/lib/schemas/array.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=(rt(),T(Ae)),r=_t(),n=class extends r.Schema{constructor(e){var{valueSchema:r,name:n=r.name}=e,i=t.__rest(e,["valueSchema","name"]);super(Object.assign({},i,{name:n})),this._valueSchema=r}expected(e){return"an array of ".concat(this._valueSchema.expected(e))}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let e=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);!0!==e&&r.push(e.value)}return 0===r.length||{value:r}}deprecated(e,t){let r=[];for(let n of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);!1!==e&&r.push(...e.map((e=>{let{value:t}=e;return{value:[t]}})))}return r}forward(e,t){let r=[];for(let n of e){let e=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...e.map(i))}return r}redirect(e,t){let r=[],n=[];for(let a of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(a,t),a);"remain"in e&&r.push(e.remain),n.push(...e.redirect.map(i))}return 0===r.length?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}};function i(e){let{from:t,to:r}=e;return{from:[t],to:r}}e.ArraySchema=n}}),yt=S({"node_modules/vnopts/lib/schemas/boolean.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=_t(),r=class extends t.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};e.BooleanSchema=r}}),vt=S({"node_modules/vnopts/lib/utils.js"(e){function t(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function r(e,r){return void 0===e?[]:Array.isArray(e)?e.map((e=>t(e,r))):[t(e,r)]}k(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=function(e,t){let r=Object.create(null);for(let n of e){let e=n[t];if(r[e])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));r[e]=n}return r},e.mapFromArray=function(e,t){let r=new Map;for(let n of e){let e=n[t];if(r.has(e))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));r.set(e,n)}return r},e.createAutoChecklist=function(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return!!e[r]||(e[r]=!0,!1)}},e.partition=function(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return[r,n]},e.isInt=function(e){return e===Math.floor(e)},e.comparePrimitive=function(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,i=["undefined","object","boolean","number","string"];return r!==n?i.indexOf(r)-i.indexOf(n):"string"!==r?Number(e)-Number(t):e.localeCompare(t)},e.normalizeDefaultResult=function(e){return void 0===e?{}:e},e.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},e.normalizeDeprecatedResult=function(e,t){return!1!==e&&(!0===e?!!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},e.normalizeTransferResult=t,e.normalizeForwardResult=r,e.normalizeRedirectResult=function(e,t){let n=r("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}}}),Dt=S({"node_modules/vnopts/lib/schemas/choice.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=_t(),r=vt(),n=class extends t.Schema{constructor(e){super(e),this._choices=r.mapFromArray(e.choices.map((e=>e&&"object"==typeof e?e:{value:e})),"value")}expected(e){let{descriptor:t}=e,n=Array.from(this._choices.keys()).map((e=>this._choices.get(e))).filter((e=>!e.deprecated)).map((e=>e.value)).sort(r.comparePrimitive).map(t.value),i=n.slice(0,-2),a=n.slice(-2);return i.concat(a.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}};e.ChoiceSchema=n}}),bt=S({"node_modules/vnopts/lib/schemas/number.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=_t(),r=class extends t.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}};e.NumberSchema=r}}),xt=S({"node_modules/vnopts/lib/schemas/integer.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=vt(),r=bt(),n=class extends r.NumberSchema{expected(){return"an integer"}validate(e,r){return!0===r.normalizeValidateResult(super.validate(e,r),e)&&t.isInt(e)}};e.IntegerSchema=n}}),Et=S({"node_modules/vnopts/lib/schemas/string.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=_t(),r=class extends t.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}};e.StringSchema=r}}),St=S({"node_modules/vnopts/lib/schemas/index.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=(rt(),T(Ae));t.__exportStar(mt(),e),t.__exportStar(gt(),e),t.__exportStar(ht(),e),t.__exportStar(yt(),e),t.__exportStar(Dt(),e),t.__exportStar(xt(),e),t.__exportStar(bt(),e),t.__exportStar(Et(),e)}}),Ct=S({"node_modules/vnopts/lib/defaults.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=nt(),r=ot(),n=ut(),i=pt();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=i.levenUnknownHandler,e.defaultInvalidHandler=n.commonInvalidHandler,e.defaultDeprecatedHandler=r.commonDeprecatedHandler}}),Tt=S({"node_modules/vnopts/lib/normalize.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ct(),r=vt();e.normalize=(e,t,r)=>new n(t,r).normalize(e);var n=class{constructor(e,n){let{logger:i=console,descriptor:a=t.defaultDescriptor,unknown:o=t.defaultUnknownHandler,invalid:s=t.defaultInvalidHandler,deprecated:c=t.defaultDeprecatedHandler}=n||{};this._utils={descriptor:a,logger:i||{warn:()=>{}},schemas:r.recordFromArray(e,"name"),normalizeDefaultResult:r.normalizeDefaultResult,normalizeDeprecatedResult:r.normalizeDeprecatedResult,normalizeForwardResult:r.normalizeForwardResult,normalizeRedirectResult:r.normalizeRedirectResult,normalizeValidateResult:r.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=s,this._deprecatedHandler=c,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=r.createAutoChecklist()}normalize(e){let t={},n=[e],i=()=>{for(;0!==n.length;){let e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};i();for(let e of Object.keys(this._utils.schemas)){let i=this._utils.schemas[e];if(!(e in t)){let t=r.normalizeDefaultResult(i.default(this._utils));"value"in t&&n.push({[e]:t.value})}}i();for(let e of Object.keys(this._utils.schemas)){let r=this._utils.schemas[e];e in t&&(t[e]=r.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){let n=[],[i,a]=r.partition(Object.keys(e),(e=>e in this._utils.schemas));for(let a of i){let i=this._utils.schemas[a],o=i.preprocess(e[a],this._utils),s=r.normalizeValidateResult(i.validate(o,this._utils),o);if(!0!==s){let{value:e}=s,t=this._invalidHandler(a,e,this._utils);throw"string"==typeof t?new Error(t):t}let c=e=>{let{from:t,to:r}=e;n.push("string"==typeof r?{[r]:t}:{[r.key]:r.value})},u=e=>{let{value:t,redirectTo:n}=e,s=r.normalizeDeprecatedResult(i.deprecated(t,this._utils),o,!0);if(!1!==s)if(!0===s)this._hasDeprecationWarned(a)||this._utils.logger.warn(this._deprecatedHandler(a,n,this._utils));else for(let{value:e}of s){let t={key:a,value:e};if(!this._hasDeprecationWarned(t)){let r="string"==typeof n?{key:n,value:e}:n;this._utils.logger.warn(this._deprecatedHandler(t,r,this._utils))}}};r.normalizeForwardResult(i.forward(o,this._utils),o).forEach(c);let l=r.normalizeRedirectResult(i.redirect(o,this._utils),o);if(l.redirect.forEach(c),"remain"in l){let e=l.remain;t[a]=a in t?i.overlap(t[a],e,this._utils):e,u({value:e})}for(let{from:e,to:t}of l.redirect)u({value:e,redirectTo:t})}for(let r of a){let i=e[r],a=this._unknownHandler(r,i,this._utils);if(a)for(let e of Object.keys(a)){let r={[e]:a[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}};e.Normalizer=n}}),kt=S({"node_modules/vnopts/lib/index.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=(rt(),T(Ae));t.__exportStar(it(),e),t.__exportStar(ft(),e),t.__exportStar(St(),e),t.__exportStar(Tt(),e),t.__exportStar(_t(),e)}}),At=S({"src/main/options-normalizer.js"(e,t){k();var r,n=kt(),i=I(),a={key:e=>1===e.length?"-".concat(e):"--".concat(e),value:e=>n.apiDescriptor.value(e),pair:e=>{let{key:t,value:r}=e;return!1===r?"--no-".concat(t):!0===r?a.key(t):""===r?"".concat(a.key(t)," without an argument"):"".concat(a.key(t),"=").concat(r)}},o=e=>{let{colorsModule:t,levenshteinDistance:r}=e;return class extends n.ChoiceSchema{constructor(e){let{name:t,flags:r}=e;super({name:t,choices:r}),this._flags=[...r].sort()}preprocess(e,n){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){let i=this._flags.find((t=>r(t,e)<3));if(i)return n.logger.warn(["Unknown flag ".concat(t.yellow(n.descriptor.value(e)),","),"did you mean ".concat(t.blue(n.descriptor.value(i)),"?")].join(" ")),i}return e}expected(){return"a flag"}}};function s(e,t){let{logger:i,isCLI:o=!1,passThrough:s=!1,colorsModule:u,levenshteinDistance:l}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},p=s?Array.isArray(s)?(e,t)=>s.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,r)=>{let i=r.schemas,{_:a}=i,o=g(i,_);return n.levenUnknownHandler(e,t,Object.assign(Object.assign({},r),{},{schemas:o}))},d=o?a:n.apiDescriptor,f=c(t,{isCLI:o,colorsModule:u,levenshteinDistance:l}),m=new n.Normalizer(f,{logger:i,unknown:p,descriptor:d}),h=!1!==i;h&&r&&(m._hasDeprecationWarned=r);let y=m.normalize(e);return h&&(r=m._hasDeprecationWarned),o&&!1===y["plugin-search"]&&(y["plugin-search-dir"]=!1),y}function c(e,t){let{isCLI:r,colorsModule:i,levenshteinDistance:a}=t,o=[];r&&o.push(n.AnySchema.create({name:"_"}));for(let t of e)o.push(u(t,{isCLI:r,optionInfos:e,colorsModule:i,levenshteinDistance:a})),t.alias&&r&&o.push(n.AliasSchema.create({name:t.alias,sourceName:t.name}));return o}function u(e,t){let{isCLI:r,optionInfos:a,colorsModule:s,levenshteinDistance:c}=t,{name:u}=e;if("plugin-search-dir"===u||"pluginSearchDirs"===u)return n.AnySchema.create({name:u,preprocess:e=>(!1===e||(e=Array.isArray(e)?e:[e]),e),validate:e=>!1===e||e.every((e=>"string"==typeof e)),expected:()=>"false or paths to plugin search dir"});let l,p={name:u},d={};switch(e.type){case"int":l=n.IntegerSchema,r&&(p.preprocess=e=>Number(e));break;case"string":case"path":l=n.StringSchema;break;case"choice":l=n.ChoiceSchema,p.choices=e.choices.map((t=>"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t));break;case"boolean":l=n.BooleanSchema;break;case"flag":l=o({colorsModule:s,levenshteinDistance:c}),p.flags=a.flatMap((e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)));break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?p.validate=(t,r,n)=>e.exception(t)||r.validate(t,n):p.validate=(e,t,r)=>void 0===e||t.validate(e,r),e.redirect&&(d.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(d.deprecated=!0),r&&!e.array){let e=p.preprocess||(e=>e);p.preprocess=(t,r,n)=>r.preprocess(e(Array.isArray(t)?i(t):t),n)}return e.array?n.ArraySchema.create(Object.assign(Object.assign(Object.assign({},r?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),d),{},{valueSchema:l.create(p)})):l.create(Object.assign(Object.assign({},p),d))}t.exports={normalizeApiOptions:function(e,t,r){return s(e,t,r)},normalizeCliOptions:function(e,t,r){return s(e,t,Object.assign({isCLI:!0},r))}}}}),Nt=S({"src/language-js/loc.js"(e,t){k();var r=ee();function n(e,t){let{ignoreDecorators:i}=t||{};if(!i){let t=e.declaration&&e.declaration.decorators||e.decorators;if(r(t))return n(t[0])}return e.range?e.range[0]:e.start}function i(e){return e.range?e.range[1]:e.end}function a(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:a,hasSameLoc:function(e,t){return a(e,t)&&function(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}(e,t)}}}}),Pt=S({"scripts/build/shims/babel-highlight.cjs"(e,t){k();var r=at(),n={shouldHighlight:()=>!1,getChalk:()=>r};t.exports=n}}),Ft=S({"node_modules/@babel/code-frame/lib/index.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=o,e.default=function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!r){r=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";y.emitWarning?y.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return o(e,{start:{column:n=Math.max(n,0),line:t}},i)};var t=Pt(),r=!1;function n(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var i=/\r\n|[\n\r\u2028\u2029]/;function a(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:a=2,linesBelow:o=3}=r||{},s=n.line,c=n.column,u=i.line,l=i.column,p=Math.max(s-(a+1),0),d=Math.min(t.length,u+o);-1===s&&(p=0),-1===u&&(d=t.length);let f=u-s,_={};if(f)for(let e=0;e<=f;e++){let r=e+s;if(c)if(0===e){let e=t[r-1].length;_[r]=[c,e-c+1]}else if(e===f)_[r]=[0,l];else{let n=t[r-e].length;_[r]=[0,n]}else _[r]=!0}else _[s]=c===l?!c||[c,0]:[c,l-c];return{start:p,end:d,markerLines:_}}function o(e,r){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=(o.highlightCode||o.forceColor)&&(0,t.shouldHighlight)(o),c=(0,t.getChalk)(o),u=n(c),l=(e,t)=>s?e(t):t,p=e.split(i),{start:d,end:f,markerLines:_}=a(r,p,o),m=r.start&&"number"==typeof r.start.column,g=String(f).length,h=(s?(0,t.default)(e,o):e).split(i,f).slice(d,f).map(((e,t)=>{let r=d+1+t,n=" ".concat(r).slice(-g),i=" ".concat(n," |"),a=_[r],s=!_[r+1];if(a){let t="";if(Array.isArray(a)){let r=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," "),n=a[1]||1;t=["\n ",l(u.gutter,i.replace(/\d/g," "))," ",r,l(u.marker,"^").repeat(n)].join(""),s&&o.message&&(t+=" "+l(u.message,o.message))}return[l(u.marker,">"),l(u.gutter,i),e.length>0?" ".concat(e):"",t].join("")}return" ".concat(l(u.gutter,i)).concat(e.length>0?" ".concat(e):"")})).join("\n");return o.message&&!m&&(h="".concat(" ".repeat(g+1)).concat(o.message,"\n").concat(h)),s?c.reset(h):h}}}),wt=S({"src/main/parser.js"(e,t){k(),Te();var{ConfigError:r}=ke(),n=Nt(),{locStart:i,locEnd:a}=n,o=Object.getOwnPropertyNames,s=Object.getOwnPropertyDescriptor;function c(e){let t={};for(let r of e.plugins)if(r.parsers)for(let e of o(r.parsers))Object.defineProperty(t,e,s(r.parsers,e));return t}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:i,locEnd:a};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new r("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}t.exports={parse:function(e,t){let r=c(t),n=Object.defineProperties({},Object.fromEntries(Object.keys(r).map((e=>[e,{enumerable:!0,get:()=>r[e].parse}])))),i=u(t,r);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,n,t)}}catch(t){let{loc:r}=t;if(r){let{codeFrameColumns:n}=Ft();throw t.codeFrame=n(e,r,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:u}}}),It=S({"src/main/options.js"(e,t){k();var r=Te(),{UndefinedParserError:n}=ke(),{getSupportInfo:i}=Z(),a=At(),{resolveParser:o}=wt(),s={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function c(e){let{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");let r=e.plugins.find((e=>e.printers&&e.printers[t]));if(!r)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return r}function u(e,t){let n=r.basename(e).toLowerCase(),a=i({plugins:t}).languages.filter((e=>null!==e.since)).find((e=>e.extensions&&e.extensions.some((e=>n.endsWith(e)))||e.filenames&&e.filenames.some((e=>e.toLowerCase()===n))));return a&&a.parsers[0]}t.exports={normalize:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},e),l=i({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,p=Object.assign(Object.assign({},s),Object.fromEntries(l.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default]))));if(!r.parser)if(r.filepath){if(r.parser=u(r.filepath,r.plugins),!r.parser)throw new n("No parser could be inferred for file: ".concat(r.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),r.parser="babel";let d=o(a.normalizeApiOptions(r,[l.find((e=>"parser"===e.name))],{passThrough:!0,logger:!1}));r.astFormat=d.astFormat,r.locEnd=d.locEnd,r.locStart=d.locStart;let f=c(r);r.printer=f.printers[r.astFormat];let _=Object.fromEntries(l.filter((e=>e.pluginDefaults&&void 0!==e.pluginDefaults[f.name])).map((e=>[e.name,e.pluginDefaults[f.name]]))),m=Object.assign(Object.assign({},p),_);for(let[e,t]of Object.entries(m))(null===r[e]||void 0===r[e])&&(r[e]=t);return"json"===r.parser&&(r.trailingComma="none"),a.normalizeApiOptions(r,l,Object.assign({passThrough:Object.keys(s)},t))},hiddenDefaults:s,inferParser:u}}}),Ot=S({"src/main/massage-ast.js"(e,t){k(),t.exports=function e(t,r,n){if(Array.isArray(t))return t.map((t=>e(t,r,n))).filter(Boolean);if(!t||"object"!=typeof t)return t;let i,a=r.printer.massageAstNode;i=a&&a.ignoredProperties?a.ignoredProperties:new Set;let o={};for(let[n,a]of Object.entries(t))!i.has(n)&&"function"!=typeof a&&(o[n]=e(a,r,t));if(a){let e=a(t,o,n);if(null===e)return;if(e)return e}return o}}}),Lt=S({"scripts/build/shims/assert.cjs"(e,t){k();var r=()=>{};r.ok=r,r.strictEqual=r,t.exports=r}}),Mt=S({"src/main/comments.js"(e,t){k();var r=Lt(),{builders:{line:n,hardline:i,breakParent:a,indent:o,lineSuffix:s,join:c,cursor:u}}=j(),{hasNewline:l,skipNewline:p,skipSpaces:d,isPreviousLineEmpty:f,addLeadingComment:_,addDanglingComment:m,addTrailingComment:g}=oe(),h=new WeakMap;function y(e,t,r){if(!e)return;let{printer:n,locStart:i,locEnd:a}=t;if(r){if(n.canAttachComment&&n.canAttachComment(e)){let t;for(t=r.length-1;t>=0&&!(i(r[t])<=i(e)&&a(r[t])<=a(e));--t);return void r.splice(t+1,0,e)}}else if(h.has(e))return h.get(e);let o=n.getCommentChildNodes&&n.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter((e=>{let[t]=e;return"enclosingNode"!==t&&"precedingNode"!==t&&"followingNode"!==t&&"tokens"!==t&&"comments"!==t&&"parent"!==t})).map((e=>{let[,t]=e;return t}));if(o){r||(r=[],h.set(e,r));for(let e of o)y(e,t,r);return r}}function v(e,t,r,n){let i,a,{locStart:o,locEnd:s}=r,c=o(t),u=s(t),l=y(e,r),p=0,d=l.length;for(;p<d;){let e=p+d>>1,n=l[e],f=o(n),_=s(n);if(f<=c&&u<=_)return v(n,t,r,n);if(_<=c)i=n,p=e+1;else{if(!(u<=f))throw new Error("Comment location overlaps with node location");a=n,d=e}}if(n&&"TemplateLiteral"===n.type){let{quasis:e}=n,o=T(e,t,r);i&&T(e,i,r)!==o&&(i=null),a&&T(e,a,r)!==o&&(a=null)}return{enclosingNode:n,precedingNode:i,followingNode:a}}var D=()=>!1;var b=e=>!/[\S\n\u2028\u2029]/.test(e);function x(e,t,r,n){let{comment:i,precedingNode:a}=r[n],{locStart:o,locEnd:s}=t,c=o(i);if(a)for(let t=n-1;t>=0;t--){let{comment:n,precedingNode:i}=r[t];if(i!==a||!b(e.slice(s(n),c)))break;c=o(n)}return l(e,c,{backwards:!0})}function E(e,t,r,n){let{comment:i,followingNode:a}=r[n],{locStart:o,locEnd:s}=t,c=s(i);if(a)for(let t=n+1;t<r.length;t++){let{comment:n,followingNode:i}=r[t];if(i!==a||!b(e.slice(c,o(n))))break;c=s(n)}return l(e,c)}function S(e,t,n){let i=e.length;if(0===i)return;let a,{precedingNode:o,followingNode:s,enclosingNode:c}=e[0],u=n.printer.getGapRegex&&n.printer.getGapRegex(c)||/^[\s(]*$/,l=n.locStart(s);for(a=i;a>0;--a){let{comment:i,precedingNode:c,followingNode:p}=e[a-1];r.strictEqual(c,o),r.strictEqual(p,s);let d=t.slice(n.locEnd(i),l);if(!u.test(d))break;l=n.locStart(i)}for(let[t,{comment:r}]of e.entries())t<a?g(o,r):_(s,r);for(let e of[o,s])e.comments&&e.comments.length>1&&e.comments.sort(((e,t)=>n.locStart(e)-n.locStart(t)));e.length=0}function C(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function T(e,t,r){let n=r.locStart(t)-1;for(let t=1;t<e.length;++t)if(n<r.locStart(e[t]))return t-1;return 0}function A(e,t,r){let o=e.getValue();if(!o)return{};let c=o.comments||[];r&&(c=c.filter((e=>!r.has(e))));let _=o===t.cursorNode;if(0===c.length){let e=_?u:"";return{leading:e,trailing:e}}let m=[],g=[];return e.each((()=>{let o=e.getValue();if(r&&r.has(o))return;let{leading:c,trailing:u}=o;c?m.push(function(e,t){let r=e.getValue(),a=[C(e,t)],{printer:o,originalText:s,locStart:c,locEnd:u}=t;if(o.isBlockComment&&o.isBlockComment(r)){let e=l(s,u(r))?l(s,c(r),{backwards:!0})?i:n:" ";a.push(e)}else a.push(i);let f=p(s,d(s,u(r)));return!1!==f&&l(s,f)&&a.push(i),a}(e,t)):u&&g.push(function(e,t){let r=e.getValue(),n=C(e,t),{printer:o,originalText:c,locStart:u}=t,p=o.isBlockComment&&o.isBlockComment(r);if(l(c,u(r),{backwards:!0})){let e=f(c,r,u);return s([i,e?i:"",n])}let d=[" ",n];return p||(d=[s(d),a]),d}(e,t))}),"comments"),_&&(m.unshift(u),g.push(u)),{leading:m,trailing:g}}t.exports={attach:function(e,t,r,n){if(!Array.isArray(e))return;let i=[],{locStart:a,locEnd:o,printer:{handleComments:s={}}}=n,{avoidAstMutation:c,ownLine:u=D,endOfLine:l=D,remaining:p=D}=s,d=e.map(((i,a)=>Object.assign(Object.assign({},v(t,i,n)),{},{comment:i,text:r,options:n,ast:t,isLastComment:e.length-1===a})));for(let[e,t]of d.entries()){let r,{comment:n,precedingNode:s,enclosingNode:f,followingNode:h,text:y,options:v,ast:D,isLastComment:b}=t;if("json"===v.parser||"json5"===v.parser||"__js_expression"===v.parser||"__vue_expression"===v.parser){if(a(n)-a(D)<=0){_(D,n);continue}if(o(n)-o(D)>=0){g(D,n);continue}}if(c?r=[t]:(n.enclosingNode=f,n.precedingNode=s,n.followingNode=h,r=[n,y,v,D,b]),x(y,v,d,e))n.placement="ownLine",u(...r)||(h?_(h,n):s?g(s,n):m(f||D,n));else if(E(y,v,d,e))n.placement="endOfLine",l(...r)||(s?g(s,n):h?_(h,n):m(f||D,n));else if(n.placement="remaining",!p(...r))if(s&&h){let e=i.length;e>0&&i[e-1].followingNode!==h&&S(i,y,v),i.push(t)}else s?g(s,n):h?_(h,n):m(f||D,n)}if(S(i,r,n),!c)for(let t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode},printComments:function(e,t,r,n){let{leading:i,trailing:a}=A(e,r,n);return i||a?[i,t,a]:t},printCommentsSeparately:A,printDanglingComments:function(e,t,r,n){let a=[],s=e.getValue();return s&&s.comments&&(e.each((()=>{let r=e.getValue();!r.leading&&!r.trailing&&(!n||n(r))&&a.push(C(e,t))}),"comments"),0!==a.length)?r?c(i,a):o([i,c(i,a)]):""},getSortedChildNodes:y,ensureAllCommentsPrinted:function(e){if(e)for(let t of e){if(!t.printed)throw new Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}}}}),Rt=S({"src/common/ast-path.js"(e,t){k();var r=I();function n(e,t){let r=i(e.stack,t);return-1===r?null:e.stack[r]}function i(e,t){for(let r=e.length-1;r>=0;r-=2){let n=e[r];if(n&&!Array.isArray(n)&&--t<0)return r}return-1}t.exports=class{constructor(e){this.stack=[e]}getName(){let{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return r(this.stack)}getNode(){return n(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}getParentNode(){return n(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}call(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];for(let e of o)i=i[e],t.push(e,i);let c=e(this);return t.length=n,c}callParent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=i(this.stack,t+1),n=this.stack.splice(r+1),a=e(this);return this.stack.push(...n),a}each(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];for(let e of o)i=i[e],t.push(e,i);for(let r=0;r<i.length;++r)t.push(r,i[r]),e(this,r,i),t.length-=2;t.length=n}map(e){let t=[];for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return this.each(((r,n,i)=>{t[n]=e(r,n,i)}),...n),t}try(e){let{stack:t}=this,r=[...t];try{return e()}finally{t.length=0,t.push(...r)}}match(){let e=this.stack.length-1,t=null,r=this.stack[e--];for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];for(let n of i){if(void 0===r)return!1;let i=null;if("number"==typeof t&&(i=t,t=this.stack[e--],r=this.stack[e--]),n&&!n(r,t,i))return!1;t=this.stack[e--],r=this.stack[e--]}return!0}findAncestor(e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(;n;){let i=null;if("number"==typeof r&&(i=r,r=this.stack[t--],n=this.stack[t--]),null!==r&&e(n,r,i))return n;r=this.stack[t--],n=this.stack[t--]}}}}}),Bt=S({"src/main/multiparser.js"(e,t){k();var{utils:{stripTrailingHardline:r}}=j(),{normalize:n}=It(),i=Mt();t.exports={printSubtree:function(e,t,a,o){if(a.printer.embed&&"auto"===a.embeddedLanguageFormatting)return a.printer.embed(e,t,((e,t,s)=>function(e,t,a,o){let{stripTrailingHardline:s=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},c=n(Object.assign(Object.assign(Object.assign({},a),t),{},{parentParser:a.parser,originalText:e}),{passThrough:!0}),u=wt().parse(e,c),{ast:l}=u;e=u.text;let p=l.comments;delete l.comments,i.attach(p,l,e,c),c[Symbol.for("comments")]=p||[],c[Symbol.for("tokens")]=l.tokens||[];let d=o(l,c);return i.ensureAllCommentsPrinted(p),s?"string"==typeof d?d.replace(/(?:\r?\n)*$/,""):r(d):d}(e,t,a,o,s)),a)}}}}),jt=S({"src/main/ast-to-doc.js"(e,t){k();var r=Rt(),{builders:{hardline:n,addAlignmentToDoc:i},utils:{propagateBreaks:a}}=j(),{printComments:o}=Mt(),s=Bt();function c(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:s}=t;s.preprocess&&(e=s.preprocess(e,t));let c=new Map,l=new r(e),p=d();return o>0&&(p=i([n,p],o,t.tabWidth)),a(p),p;function d(e,t){return void 0===e||e===l?f(t):Array.isArray(e)?l.call((()=>f(t)),...e):l.call((()=>f(t)),e)}function f(e){let r=l.getValue(),n=r&&"object"==typeof r&&void 0===e;if(n&&c.has(r))return c.get(r);let i=u(l,t,d,e);return n&&c.set(r,i),i}}function u(e,t,r,n){let i,a,u=e.getValue(),{printer:l}=t;if(l.hasPrettierIgnore&&l.hasPrettierIgnore(e))({doc:i,printedComments:a}=function(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:i,locEnd:a}=t,o=i(e),s=a(e),c=new Set;for(let e of n)i(e)>=o&&a(e)<=s&&(e.printed=!0,c.add(e));return{doc:r.slice(o,s),printedComments:c}}(u,t));else{if(u)try{i=s.printSubtree(e,r,t,c)}catch(e){if(globalThis.PRETTIER_DEBUG)throw e}i||(i=l.print(e,t,r,n))}return(!l.willPrintOwnComments||!l.willPrintOwnComments(e,t))&&(i=o(e,i,t,a)),i}t.exports=c}}),Kt=S({"src/main/range-util.js"(e,t){k();var r=Lt(),n=Mt();function i(e){let t=e.length-1;for(;;){let r=e[t];if(!r||"Program"!==r.type&&"File"!==r.type)break;t--}return e.slice(0,t+1)}function a(e,t,r,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5?arguments[5]:void 0,{locStart:c,locEnd:u}=r,l=c(e),p=u(e);if(!(t>p||t<l||"rangeEnd"===s&&t===l||"rangeStart"===s&&t===p)){for(let c of n.getSortedChildNodes(e,r)){let n=a(c,t,r,i,[e,...o],s);if(n)return n}if(!i||i(e,o[0]))return{node:e,parentNodes:o}}}var o=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),s=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function c(e,t,r){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return function(e,t){return"DeclareExportDeclaration"!==t&&"TypeParameterDeclaration"!==e&&("Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"))}(t.type,r&&r.type);case"json":case"json5":case"json-stringify":return o.has(t.type);case"graphql":return s.has(t.kind);case"vue":return"root"!==t.tag}return!1}t.exports={calculateRange:function(e,t,n){let{rangeStart:s,rangeEnd:u,locStart:l,locEnd:p}=t;r.ok(u>s);let d=e.slice(s,u).search(/\S/),f=-1===d;if(!f)for(s+=d;u>s&&!/\S/.test(e[u-1]);--u);let _,m,g=a(n,s,t,((e,r)=>c(t,e,r)),[],"rangeStart"),h=f?g:a(n,u,t,(e=>c(t,e)),[],"rangeEnd");if(!g||!h)return{rangeStart:0,rangeEnd:0};if((e=>{let{parser:t}=e;return"json"===t||"json5"===t||"json-stringify"===t})(t)){let e=function(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find((e=>o.has(e.type)&&n.has(e)))}(g,h);_=e,m=e}else({startNode:_,endNode:m}=function(e,t,r){let{locStart:n,locEnd:a}=r,o=e.node,s=t.node;if(o===s)return{startNode:o,endNode:s};let c=n(e.node);for(let e of i(t.parentNodes)){if(!(n(e)>=c))break;s=e}let u=a(t.node);for(let t of i(e.parentNodes)){if(!(a(t)<=u))break;o=t}return{startNode:o,endNode:s}}(g,h,t));return{rangeStart:Math.min(l(_),l(m)),rangeEnd:Math.max(p(_),p(m))}},findNodeAtOffset:a}}}),Jt=S({"src/main/core.js"(e,t){k();var{diffArrays:r}=P(),{printer:{printDocToString:n},debug:{printDocToDebug:i}}=j(),{getAlignmentSize:a}=oe(),{guessEndOfLine:o,convertEndOfLineToChars:s,countEndOfLineChars:c,normalizeEndOfLine:u}=w(),l=It().normalize,p=Ot(),d=Mt(),f=wt(),_=jt(),m=Kt(),g=Symbol("cursor");function h(e,t,r){let n=t.comments;return n&&(delete t.comments,d.attach(n,t,e,r)),r[Symbol.for("comments")]=n||[],r[Symbol.for("tokens")]=t.tokens||[],r.originalText=e,n}function y(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:a,text:o}=f.parse(e,t);if(t.cursorOffset>=0){let e=m.findNodeAtOffset(a,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}let c=h(o,a,t),u=_(a,t,i),l=n(u,t);if(d.ensureAllCommentsPrinted(c),i>0){let e=l.formatted.trim();void 0!==l.cursorNodeStart&&(l.cursorNodeStart-=l.formatted.indexOf(e)),l.formatted=e+s(t.endOfLine)}if(t.cursorOffset>=0){let e,n,i,a,s;if(t.cursorNode&&l.cursorNodeText?(e=t.locStart(t.cursorNode),n=o.slice(e,t.locEnd(t.cursorNode)),i=t.cursorOffset-e,a=l.cursorNodeStart,s=l.cursorNodeText):(e=0,n=o,i=t.cursorOffset,a=0,s=l.formatted),n===s)return{formatted:l.formatted,cursorOffset:a+i,comments:c};let u=[...n];u.splice(i,0,g);let p=[...s],d=r(u,p),f=a;for(let e of d)if(e.removed){if(e.value.includes(g))break}else f+=e.count;return{formatted:l.formatted,cursorOffset:f,comments:c}}return{formatted:l.formatted,cursorOffset:-1,comments:c}}function v(e,t,r){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?r:t}function D(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i}=t;return r=v(e,r,-1),n=v(e,n,0),i=v(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i})}function b(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:a}=D(e,t),s="\ufeff"===e.charAt(0);if(s&&(e=e.slice(1),r--,n--,i--),"auto"===a&&(a=o(e)),e.includes("\r")){let t=t=>c(e.slice(0,Math.max(t,0)),"\r\n");r-=t(r),n-=t(n),i-=t(i),e=u(e)}return{hasBOM:s,text:e,options:D(e,Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:a}))}}function x(e,t){let r=f.resolveParser(t);return!r.hasPragma||r.hasPragma(e)}function E(e,t){let r,{hasBOM:n,text:i,options:o}=b(e,l(t));return o.rangeStart>=o.rangeEnd&&""!==i||o.requirePragma&&!x(i,o)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEnd<i.length?r=function(e,t){let{ast:r,text:n}=f.parse(e,t),{rangeStart:i,rangeEnd:o}=m.calculateRange(n,t,r),u=n.slice(i,o),l=Math.min(i,n.lastIndexOf("\n",i)+1),p=n.slice(l,i).match(/^\s*/)[0],d=a(p,t.tabWidth),_=y(u,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=o?t.cursorOffset-i:-1,endOfLine:"lf"}),d),g=_.formatted.trimEnd(),{cursorOffset:h}=t;h>o?h+=g.length-u.length:_.cursorOffset>=0&&(h=_.cursorOffset+i);let v=n.slice(0,i)+g+n.slice(o);if("lf"!==t.endOfLine){let e=s(t.endOfLine);h>=0&&"\r\n"===e&&(h+=c(v.slice(0,h),"\n")),v=v.replace(/\n/g,e)}return{formatted:v,cursorOffset:h,comments:_.comments}}(i,o):(!o.requirePragma&&o.insertPragma&&o.printer.insertPragma&&!x(i,o)&&(i=o.printer.insertPragma(i)),r=y(i,o)),n&&(r.formatted="\ufeff"+r.formatted,r.cursorOffset>=0&&r.cursorOffset++),r)}t.exports={formatWithCursor:E,parse(e,t,r){let{text:n,options:i}=b(e,l(t)),a=f.parse(n,i);return r&&(a.ast=p(a.ast,i)),a},formatAST(e,t){t=l(t);let r=_(e,t);return n(r,t)},formatDoc:(e,t)=>E(i(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=l(t);let{ast:r,text:n}=f.parse(e,t);return h(n,r,t),_(r,t)},printDocToString:(e,t)=>n(e,l(t))}}}),Ut=S({"src/common/util-shared.js"(e,t){k();var{getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:a,skip:o,skipWhitespace:s,skipSpaces:c,skipNewline:u,skipToLineEnd:l,skipEverythingButNewLine:p,skipInlineComment:d,skipTrailingComment:f,hasNewline:_,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:h,isNextLineEmptyAfterIndex:y,isPreviousLineEmpty:v,getNextNonSpaceNonCommentCharacterIndex:D,makeString:b,addLeadingComment:x,addDanglingComment:E,addTrailingComment:S}=oe();t.exports={getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:a,skip:o,skipWhitespace:s,skipSpaces:c,skipNewline:u,skipToLineEnd:l,skipEverythingButNewLine:p,skipInlineComment:d,skipTrailingComment:f,hasNewline:_,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:h,isNextLineEmptyAfterIndex:y,isPreviousLineEmpty:v,getNextNonSpaceNonCommentCharacterIndex:D,makeString:b,addLeadingComment:x,addDanglingComment:E,addTrailingComment:S}}}),qt=S({"src/utils/create-language.js"(e,t){k(),t.exports=function(e,t){let{languageId:r}=e,n=g(e,m);return Object.assign(Object.assign({linguistLanguageId:r},n),t(e))}}}),Vt=S({"node_modules/esutils/lib/ast.js"(e,t){k(),function(){function e(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function r(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}t.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:e,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(t){return e(t)||null!=t&&"FunctionDeclaration"===t.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type||null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=r(t)}while(t);return!1},trailingStatement:r}}()}}),zt=S({"node_modules/esutils/lib/code.js"(e,t){k(),function(){var e,r,n,i,a,o;function s(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||36===o||95===o;for(a=new Array(128),o=0;o<128;++o)a[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||36===o||95===o;t.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&n.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:r.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES5:function(e){return e<128?a[e]:r.NonAsciiIdentifierPart.test(s(e))},isIdentifierStartES6:function(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(s(t))},isIdentifierPartES6:function(t){return t<128?a[t]:e.NonAsciiIdentifierPart.test(s(t))}}}()}}),Wt=S({"node_modules/esutils/lib/keyword.js"(e,t){k(),function(){var e=zt();function r(e,t){return!(!t&&"yield"===e)&&n(e,t)}function n(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function i(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function a(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(t){var r,n,i;if(0===t.length||(i=t.charCodeAt(0),!e.isIdentifierStartES5(i)))return!1;for(r=1,n=t.length;r<n;++r)if(i=t.charCodeAt(r),!e.isIdentifierPartES5(i))return!1;return!0}function s(e,t){return 1024*(e-55296)+(t-56320)+65536}function c(t){var r,n,i,a,o;if(0===t.length)return!1;for(o=e.isIdentifierStartES6,r=0,n=t.length;r<n;++r){if(55296<=(i=t.charCodeAt(r))&&i<=56319){if(++r>=n||!(56320<=(a=t.charCodeAt(r))&&a<=57343))return!1;i=s(i,a)}if(!o(i))return!1;o=e.isIdentifierPartES6}return!0}t.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:i,isReservedWordES6:a,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:o,isIdentifierNameES6:c,isIdentifierES5:function(e,t){return o(e)&&!i(e,t)},isIdentifierES6:function(e,t){return c(e)&&!a(e,t)}}}()}}),Ht=S({"node_modules/esutils/lib/utils.js"(e){k(),e.ast=Vt(),e.code=zt(),e.keyword=Wt()}}),Gt=S({"src/language-js/utils/is-block-comment.js"(e,t){k(),t.exports=function(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}}}),$t=S({"src/language-js/utils/index.js"(e,t){k();var r=Ht().keyword.isIdentifierNameES5,{getLast:n,hasNewline:i,skipWhitespace:a,isNonEmptyArray:o,isNextLineEmptyAfterIndex:s,getStringWidth:c}=oe(),{locStart:u,locEnd:l,hasSameLocStart:p}=Nt(),d=Gt(),f="(?:(?=.)\\s)",_=new RegExp("^".concat(f,"*:")),m=new RegExp("^".concat(f,"*::"));function g(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type}var h=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function y(e){return e&&h.has(e.type)}function v(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function D(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function b(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function x(e){return P(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}function E(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function S(e){return"get"===e.kind||"set"===e.kind}function C(e){return S(e)||p(e,e.value)}var T=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]);var A=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);var N=/^(?:skip|[fx]?(?:it|describe|test))$/;function P(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type)}function F(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)}function w(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function I(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function O(e){return e.extra?e.extra.raw:e.raw}var L={"==":!0,"!=":!0,"===":!0,"!==":!0},M={"*":!0,"/":!0,"%":!0},R={">>":!0,">>>":!0,"<<":!0};var B={};for(let[e,t]of[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries())for(let r of t)B[r]=e;function j(e){return B[e]}var K=new WeakMap;function J(e){if(K.has(e))return K.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),K.set(e,t),t}var U=new WeakMap;function q(e){if(U.has(e))return U.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),U.set(e,t),t}function V(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function z(e){return e&&(e.prettierIgnore||G(e,W.PrettierIgnore))}var W={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},H=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(r,n,i)=>!(e&W.Leading&&!r.leading||e&W.Trailing&&!r.trailing||e&W.Dangling&&(r.leading||r.trailing)||e&W.Block&&!d(r)||e&W.Line&&!g(r)||e&W.First&&0!==n||e&W.Last&&n!==i.length-1||e&W.PrettierIgnore&&!V(r)||t&&!t(r))};function G(e,t,r){if(!e||!o(e.comments))return!1;let n=H(t,r);return!n||e.comments.some(n)}function $(e,t,r){if(!e||!Array.isArray(e.comments))return[];let n=H(t,r);return n?e.comments.filter(n):e.comments}function Y(e){return P(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var X=Symbol("ifWithoutBlockAndSameLineComment");t.exports={getFunctionParameters:J,iterateFunctionParametersPath:function(e,t){let r=e.getValue(),n=0,i=e=>t(e,n++);r.this&&e.call(i,"this"),Array.isArray(r.parameters)?e.each(i,"parameters"):Array.isArray(r.params)&&e.each(i,"params"),r.rest&&e.call(i,"rest")},getCallArguments:q,iterateCallArgumentsPath:function(e,t){let r=e.getValue();"ImportExpression"===r.type?(e.call((e=>t(e,0)),"source"),r.attributes&&e.call((e=>t(e,1)),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;let t=J(e);return t.length>0&&"RestElement"===n(t).type},getLeftSide:function(e){return e.expressions?e.expressions[0]:e.left||e.test||e.callee||e.object||e.tag||e.argument||e.expression},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){let t=e.getParentNode();return"declaration"===e.getName()&&y(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasFlowAnnotationComment:function(e){return o(e)&&d(e[0])&&m.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&o(e.trailingComments)&&d(e.trailingComments[0])&&_.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return E(t)?z(t):G(t,W.Leading,(t=>i(e,l(t))))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||P(e)||F(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type},hasNode:function e(t,r){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some((t=>e(t,r)));let n=r(t);return"boolean"==typeof n?n:Object.values(t).some((t=>e(t,r)))},hasIgnoreComment:function(e){return z(e.getValue())},hasNodeIgnoreComment:z,identity:function(e){return e},isBinaryish:function(e){return T.has(e.type)},isCallLikeExpression:Y,isEnabledHackPipeline:function(e){return Boolean(e.__isUsingHackPipeline)},isLineComment:g,isPrettierIgnoreComment:V,isCallExpression:P,isMemberExpression:F,isExportDeclaration:y,isFlowAnnotationComment:function(e,t){let r=u(t),n=a(e,l(t));return!1!==n&&"/*"===e.slice(r,r+2)&&"*/"===e.slice(n,n+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(b(r)){if(t+=1,t>1)return!0}else if(P(r))for(let e of r.arguments)if(b(e))return!0;return!1},isFunctionNotation:C,isFunctionOrArrowExpression:b,isGetterOrSetter:S,isJestEachTemplateLiteral:function(e,t){let r=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&r.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&r.test(t.tag.object.object.name))},isJsxNode:E,isLiteral:function(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type},isLongCurriedCallExpression:function(e){let t=e.getValue(),r=e.getParentNode();return P(t)&&P(r)&&r.callee===t&&t.arguments.length>r.arguments.length&&r.arguments.length>0},isSimpleCallArgument:function e(t,r){if(r>=2)return!1;let n=t=>e(t,r+1),i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&c(i)>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every((e=>!e.value.raw.includes("\n")))&&t.expressions.every(n):"ObjectExpression"===t.type?t.properties.every((e=>!e.computed&&(e.shorthand||e.value&&n(e.value)))):"ArrayExpression"===t.type?t.elements.every((e=>null===e||n(e))):Y(t)?("ImportExpression"===t.type||e(t.callee,r))&&q(t).every(n):F(t)?e(t.object,r)&&e(t.property,r):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,r):e(t.argument,r)))},isMemberish:function(e){return F(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:v,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&v(e.argument)},isObjectProperty:function(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)},isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"TSMappedType"===e.type},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||C(e))},isSimpleType:function(e){return!(!e||("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!A.has(e.type))},isSimpleNumber:w,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");let r=e[t];return 0!==r.length&&r.every((e=>{if(G(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(F(e)){let t=e;for(;F(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||(t=t.object,G(t)))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:D,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&D(e.key)&&O(e.key).slice(1,-1)===e.key.value&&(r(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||w(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&I(e)||"TaggedTemplateExpression"===e.type&&I(e.quasi))&&!i(t,u(e),{backwards:!0})},isTestCall:function e(t,r){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(x(t)&&r&&e(r))return b(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(?:before|after)(?:Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return x(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&N.test(t.callee.name)||function(e){return F(e.callee)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&N.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||D(t.arguments[0])))return!(t.arguments[2]&&!v(t.arguments[2]))&&((2===t.arguments.length?b(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&J(t.arguments[1]).length<=1)||x(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;let r=t.getNode();if(!r.expression||!E(r.expression))return!1;let n=t.getParentNode();return"Program"===n.type&&1===n.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||p(e,e.typeAnnotation))},isNextLineEmpty:(e,t)=>{let{originalText:r}=t;return s(r,l(e))},needsHardlineAfterDanglingComment:function(e){if(!G(e))return!1;let t=n($(e,W.Dangling));return t&&!d(t)},rawText:O,shouldPrintComma:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return Boolean(R[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return!(j(t)!==j(e)||"**"===e||L[e]&&L[t]||"%"===t&&M[e]||"%"===e&&M[t]||t!==e&&M[t]&&M[e]||R[e]&&R[t])},startsWithNoLookaheadToken:function e(t,r){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return r;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,r);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,r);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,r);case"ConditionalExpression":return e(t.test,r);case"UpdateExpression":return!t.prefix&&e(t.argument,r);case"BindExpression":return t.object&&e(t.object,r);case"SequenceExpression":return e(t.expressions[0],r);case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,r);default:return!1}},getPrecedence:j,hasComment:G,getComments:$,CommentCheckFlags:W,markerForIfWithoutBlockAndSameLineComment:X}}}),Yt=S({"src/language-js/print/template-literal.js"(e,t){k();var r=I(),{getStringWidth:n,getIndentSize:i}=oe(),{builders:{join:a,hardline:o,softline:s,group:c,indent:u,align:l,lineSuffixBoundary:p,addAlignmentToDoc:d},printer:{printDocToString:f},utils:{mapDoc:_}}=j(),{isBinaryish:m,isJestEachTemplateLiteral:g,isSimpleTemplateLiteral:h,hasComment:y,isMemberExpression:v}=$t();function D(e){return e.replace(/([\\`]|\${)/g,"\\$1")}t.exports={printTemplateLiteral:function(e,t,_){let D=e.getValue();if("TemplateLiteral"===D.type&&g(D,e.getParentNode())){let i=function(e,t,i){let s=e.getNode(),c=s.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(c.length>1||c.some((e=>e.length>0))){t.__inJestEach=!0;let l=e.map(i,"expressions");t.__inJestEach=!1;let d=[],_=l.map((e=>"${"+f(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}")),m=[{hasLineBreak:!1,cells:[]}];for(let e=1;e<s.quasis.length;e++){let t=r(m),n=_[e-1];t.cells.push(n),n.includes("\n")&&(t.hasLineBreak=!0),s.quasis[e].value.raw.includes("\n")&&m.push({hasLineBreak:!1,cells:[]})}let g=Math.max(c.length,...m.map((e=>e.cells.length))),h=Array.from({length:g}).fill(0),y=[{cells:c},...m.filter((e=>e.cells.length>0))];for(let{cells:e}of y.filter((e=>!e.hasLineBreak)))for(let[t,r]of e.entries())h[t]=Math.max(h[t],n(r));return d.push(p,"`",u([o,a(o,y.map((e=>a(" | ",e.cells.map(((t,r)=>e.hasLineBreak?t:t+" ".repeat(h[r]-n(t))))))))]),o,"`"),d}}(e,_,t);if(i)return i}let b="expressions";"TSTemplateLiteralType"===D.type&&(b="types");let x=[],E=e.map(t,b),S=h(D);return S&&(E=E.map((e=>f(e,Object.assign(Object.assign({},_),{},{printWidth:Number.POSITIVE_INFINITY})).formatted))),x.push(p,"`"),e.each((e=>{let r=e.getName();if(x.push(t()),r<E.length){let{tabWidth:t}=_,n=e.getValue(),a=i(n.value.raw,t),o=E[r];if(!S){let e=D[b][r];(y(e)||v(e)||"ConditionalExpression"===e.type||"SequenceExpression"===e.type||"TSAsExpression"===e.type||m(e))&&(o=[u([s,o]),s])}let f=0===a&&n.value.raw.endsWith("\n")?l(Number.NEGATIVE_INFINITY,o):d(o,a,t);x.push(c(["${",f,p,"}"]))}}),"quasis"),x.push("`"),x},printTemplateExpressions:function(e,t){return e.map((e=>function(e,t){let r=e.getValue(),n=t();return y(r)&&(n=c([u([s,n]),s])),["${",n,p,"}"]}(e,t)),"expressions")},escapeTemplateCharacters:function(e,t){return _(e,(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):D(e):e))},uncookTemplateElementValue:D}}}),Xt=S({"src/language-js/embed/markdown.js"(e,t){k();var{builders:{indent:r,softline:n,literalline:i,dedentToRoot:a}}=j(),{escapeTemplateCharacters:o}=Yt();t.exports=function(e,t,s){let c=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,((e,t)=>"\\".repeat(t.length/2)+"`")),u=function(e){let t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(c),l=""!==u;l&&(c=c.replace(new RegExp("^".concat(u),"gm"),""));let p=o(s(c,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",l?r([n,p]):[i,a(p)],n,"`"]}}}),Qt=S({"src/language-js/embed/css.js"(e,t){k();var{isNonEmptyArray:r}=oe(),{builders:{indent:n,hardline:i,softline:a},utils:{mapDoc:o,replaceEndOfLine:s,cleanDoc:c}}=j(),{printTemplateExpressions:u}=Yt();t.exports=function(e,t,l){let p=e.getValue(),d=p.quasis.map((e=>e.value.raw)),f=0;return function(e,t,u){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";let l=function(e,t){if(!r(t))return e;let n=0,i=o(c(e),(e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map(((e,r)=>r%2==0?s(e):(n++,t[e]))):e));return t.length===n?i:null}(e,u);if(!l)throw new Error("Couldn't insert all the expressions");return["`",n([i,l]),a,"`"]}(l(d.reduce(((e,t,r)=>0===r?t:e+"@prettier-placeholder-"+f+++"-id"+t),""),{parser:"scss"},{stripTrailingHardline:!0}),p,u(e,t))}}}),Zt=S({"src/language-js/embed/graphql.js"(e,t){k();var{builders:{indent:r,join:n,hardline:i}}=j(),{escapeTemplateCharacters:a,printTemplateExpressions:o}=Yt();function s(e){let t=[],r=!1,a=e.map((e=>e.trim()));for(let[e,n]of a.entries())""!==n&&(""===a[e-1]&&r?t.push([i,n]):t.push(n),r=!0);return 0===t.length?null:n(i,t)}t.exports=function(e,t,c){let u=e.getValue(),l=u.quasis.length;if(1===l&&""===u.quasis[0].value.raw.trim())return"``";let p=o(e,t),d=[];for(let e=0;e<l;e++){let t=0===e,r=e===l-1,n=u.quasis[e].value.cooked,i=n.split("\n"),o=i.length,f=p[e],_=o>2&&""===i[0].trim()&&""===i[1].trim(),m=o>2&&""===i[o-1].trim()&&""===i[o-2].trim(),g=i.every((e=>/^\s*(?:#[^\n\r]*)?$/.test(e)));if(!r&&/#[^\n\r]*$/.test(i[o-1]))return null;let h=null;h=g?s(i):c(n,{parser:"graphql"},{stripTrailingHardline:!0}),h?(h=a(h,!1),!t&&_&&d.push(""),d.push(h),!r&&m&&d.push("")):!t&&!r&&_&&d.push(""),f&&d.push(f)}return["`",r([i,n(i,d)]),i,"`"]}}}),er=S({"src/language-js/embed/html.js"(e,t){k();var{builders:{indent:r,line:n,hardline:i,group:a},utils:{mapDoc:o}}=j(),{printTemplateExpressions:s,uncookTemplateElementValue:c}=Yt(),u=0;t.exports=function(e,t,l,p,d){let{parser:f}=d,_=e.getValue(),m=u;u=u+1>>>0;let g=e=>"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(m,"_IN_JS"),h=_.quasis.map(((e,t,r)=>t===r.length-1?e.value.cooked:e.value.cooked+g(t))).join(""),y=s(e,t);if(0===y.length&&0===h.trim().length)return"``";let v=new RegExp(g("(\\d+)"),"g"),D=0,b=l(h,{parser:f,__onHtmlRoot(e){D=e.children.length}},{stripTrailingHardline:!0}),x=o(b,(e=>{if("string"!=typeof e)return e;let t=[],r=e.split(v);for(let e=0;e<r.length;e++){let n=r[e];if(e%2==0){n&&(n=c(n),p.__embeddedInHtml&&(n=n.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(n));continue}let i=Number(n);t.push(y[i])}return t})),E=/^\s/.test(h)?" ":"",S=/\s$/.test(h)?" ":"",C="ignore"===p.htmlWhitespaceSensitivity?i:E&&S?n:null;return a(C?["`",r([C,a(x)]),C,"`"]:["`",E,D>1?r(a(x)):a(x),S,"`"])}}}),tr=S({"src/language-js/embed.js"(e,t){k();var{hasComment:r,CommentCheckFlags:n,isObjectProperty:i}=$t(),a=Xt(),o=Qt(),s=Zt(),c=er();function u(e){return function(e){let t=e.getValue(),r=e.getParentNode(),n=e.getParentNode(1);return n&&t.quasis&&"JSXExpressionContainer"===r.type&&"JSXElement"===n.type&&"style"===n.openingElement.name.name&&n.openingElement.attributes.some((e=>"jsx"===e.name.name))||r&&"TaggedTemplateExpression"===r.type&&"Identifier"===r.tag.type&&"css"===r.tag.name||r&&"TaggedTemplateExpression"===r.type&&"MemberExpression"===r.tag.type&&"css"===r.tag.object.name&&("global"===r.tag.property.name||"resolve"===r.tag.property.name)}(e)||function(e){let t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;let r="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(r.type){case"MemberExpression":return p(r.object)||d(r);case"CallExpression":return p(r.callee)||"MemberExpression"===r.callee.type&&("MemberExpression"===r.callee.object.type&&(p(r.callee.object.object)||d(r.callee.object))||"CallExpression"===r.callee.object.type&&p(r.callee.object.callee));case"Identifier":return"css"===r.name;default:return!1}}(e)||function(e){let t=e.getParentNode(),r=e.getParentNode(1);return r&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===r.type&&"JSXIdentifier"===r.name.type&&"css"===r.name.name}(e)||function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"ArrayExpression"===e.type&&"elements"===t),((e,t)=>i(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t),...l)}(e)?"css":function(e){let t=e.getValue(),r=e.getParentNode();return f(t,"GraphQL")||r&&("TaggedTemplateExpression"===r.type&&("MemberExpression"===r.tag.type&&"graphql"===r.tag.object.name&&"experimental"===r.tag.property.name||"Identifier"===r.tag.type&&("gql"===r.tag.name||"graphql"===r.tag.name))||"CallExpression"===r.type&&"Identifier"===r.callee.type&&"graphql"===r.callee.name)}(e)?"graphql":function(e){return f(e.getValue(),"HTML")||e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t))}(e)?"html":function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>i(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t),...l)}(e)?"angular":function(e){let t=e.getValue(),r=e.getParentNode();return r&&"TaggedTemplateExpression"===r.type&&1===t.quasis.length&&"Identifier"===r.tag.type&&("md"===r.tag.name||"markdown"===r.tag.name)}(e)?"markdown":void 0}var l=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function p(e){return"Identifier"===e.type&&"styled"===e.name}function d(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function f(e,t){return r(e,n.Block|n.Leading,(e=>{let{value:r}=e;return r===" ".concat(t," ")}))}t.exports=function(e,t,r,n){let i=e.getValue();if("TemplateLiteral"!==i.type||function(e){let{quasis:t}=e;return t.some((e=>{let{value:{cooked:t}}=e;return null===t}))}(i))return;let l=u(e);if(l){if("markdown"===l)return a(e,t,r);if("css"===l)return o(e,t,r);if("graphql"===l)return s(e,t,r);if("html"===l||"angular"===l)return c(e,t,r,n,{parser:l})}}}}),rr=S({"src/language-js/clean.js"(e,t){k();var r=Gt(),n=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),i=e=>{for(let t of e.quasis)delete t.value};function a(e,t,n){if("Program"===e.type&&delete t.sourceType,("BigIntLiteral"===e.type||"BigIntLiteralTypeAnnotation"===e.type)&&t.value&&(t.value=t.value.toLowerCase()),("BigIntLiteral"===e.type||"Literal"===e.type)&&t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"EmptyStatement"===e.type||"JSXText"===e.type||"JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if(("Property"===e.type||"ObjectProperty"===e.type||"MethodDefinition"===e.type||"ClassProperty"===e.type||"ClassMethod"===e.type||"PropertyDefinition"===e.type||"TSDeclareMethod"===e.type||"TSPropertySignature"===e.type||"ObjectTypeProperty"===e.type)&&"object"==typeof e.key&&e.key&&("Literal"===e.key.type||"NumericLiteral"===e.key.type||"StringLiteral"===e.key.type||"Identifier"===e.key.type)&&delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((e=>"jsx"===e.name.name)))for(let{type:e,expression:r}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===r.type&&i(r);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&i(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|&quot;|&apos;/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|&quot;|&apos;/g,'"'));let a=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===a.type&&"Component"===a.callee.name&&1===a.arguments.length){let r=e.expression.arguments[0].properties;for(let[e,n]of t.expression.arguments[0].properties.entries())switch(r[e].key.name){case"styles":"ArrayExpression"===n.value.type&&i(n.value.elements[0]);break;case"template":"TemplateLiteral"===n.value.type&&i(n.value)}}return"TaggedTemplateExpression"===e.type&&("MemberExpression"===e.tag.type||"Identifier"===e.tag.type&&("gql"===e.tag.name||"graphql"===e.tag.name||"css"===e.tag.name||"md"===e.tag.name||"markdown"===e.tag.name||"html"===e.tag.name)||"CallExpression"===e.tag.type)&&i(t.quasi),"TemplateLiteral"===e.type&&(e.leadingComments&&e.leadingComments.some((e=>r(e)&&["GraphQL","HTML"].some((t=>e.value===" ".concat(t," ")))))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&i(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}a.ignoredProperties=n,t.exports=a}}),nr={};function ir(){if(typeof yr>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])yr="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");yr="LE"}}return yr}function ar(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function or(){return[]}function sr(){return 0}function cr(){return Number.MAX_VALUE}function ur(){return Number.MAX_VALUE}function lr(){return[]}function pr(){return"Browser"}function dr(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function fr(){}function _r(){}function mr(){return"javascript"}function gr(){return"browser"}function hr(){return"/tmp"}C(nr,{EOL:()=>Dr,arch:()=>mr,cpus:()=>lr,default:()=>br,endianness:()=>ir,freemem:()=>cr,getNetworkInterfaces:()=>_r,hostname:()=>ar,loadavg:()=>or,networkInterfaces:()=>fr,platform:()=>gr,release:()=>dr,tmpDir:()=>hr,tmpdir:()=>vr,totalmem:()=>ur,type:()=>pr,uptime:()=>sr});var yr,vr,Dr,br,xr=E({"node-modules-polyfills:os"(){k(),br={EOL:Dr="\n",tmpdir:vr=hr,tmpDir:hr,networkInterfaces:fr,getNetworkInterfaces:_r,release:dr,type:pr,cpus:lr,totalmem:ur,freemem:cr,uptime:sr,loadavg:or,hostname:ar,endianness:ir}}}),Er=S({"node-modules-polyfills-commonjs:os"(e,t){k();var r=(xr(),T(nr));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Sr=S({"node_modules/detect-newline/index.js"(e,t){k();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),Cr=S({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=Er();return t=function(){return e},e}function r(){let e=function(e){return e&&e.__esModule?e:{default:e}}(Sr());return r=function(){return e},e}k(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(a);return t?t[0].trimLeft():""},e.parse=function(e){return d(e).pragmas},e.parseWithComments=d,e.print=function(e){let{comments:n="",pragmas:i={}}=e,a=(0,r().default)(n)||t().EOL,o=" *",s=Object.keys(i),c=s.map((e=>f(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>" * "+e+a)).join("");if(!n){if(0===s.length)return"";if(1===s.length&&!Array.isArray(i[s[0]])){let e=i[s[0]];return"".concat("/**"," ").concat(f(s[0],e)[0]).concat(" */")}}let u=n.split(a).map((e=>"".concat(o," ").concat(e))).join(a)+a;return"/**"+a+(n?u:"")+(n&&s.length?o+a:"")+c+" */"},e.strip=function(e){let t=e.match(a);return t&&t[0]?e.substring(t[0].length):e};var n=/\*\/$/,i=/^\/\*\*/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,s=/^(\r?\n)+/,c=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,u=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,l=/(\r?\n|^) *\* ?/g,p=[];function d(e){let a=(0,r().default)(e)||t().EOL;e=e.replace(i,"").replace(n,"").replace(l,"$1");let d="";for(;d!==e;)d=e,e=e.replace(c,"".concat(a,"$1 $2").concat(a));e=e.replace(s,"").trimRight();let f,_=Object.create(null),m=e.replace(u,"").replace(s,"").trimRight();for(;f=u.exec(e);){let e=f[2].replace(o,"");"string"==typeof _[f[1]]||Array.isArray(_[f[1]])?_[f[1]]=p.concat(_[f[1]],e):_[f[1]]=e}return{comments:m,pragmas:_}}function f(e,t){return p.concat(t).map((t=>"@".concat(e," ").concat(t).trim()))}}}),Tr=S({"src/language-js/utils/get-shebang.js"(e,t){k(),t.exports=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}}}),kr=S({"src/language-js/pragma.js"(e,t){k();var{parseWithComments:r,strip:n,extract:i,print:a}=Cr(),{normalizeEndOfLine:o}=w(),s=Tr();function c(e){let t=s(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:a,comments:o}=r(n);return{shebang:t,text:e,pragmas:a,comments:o}}t.exports={hasPragma:function(e){let t=Object.keys(c(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:r,pragmas:i,comments:s}=c(e),u=n(r),l=a({pragmas:Object.assign({format:""},i),comments:s.trimStart()});return(t?"".concat(t,"\n"):"")+o(l)+(u.startsWith("\n")?"\n":"\n\n")+u}}}}),Ar=S({"src/language-js/comments.js"(e,t){k();var{getLast:r,hasNewline:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:i,getNextNonSpaceNonCommentCharacter:a,hasNewlineInRange:o,addLeadingComment:s,addTrailingComment:c,addDanglingComment:u,getNextNonSpaceNonCommentCharacterIndex:l,isNonEmptyArray:p}=oe(),{getFunctionParameters:d,isPrettierIgnoreComment:f,isJsxNode:_,hasFlowShorthandAnnotationComment:m,hasFlowAnnotationComment:g,hasIgnoreComment:h,isCallLikeExpression:y,getCallArguments:v,isCallExpression:D,isMemberExpression:b,isObjectProperty:x,isLineComment:E,getComments:S,CommentCheckFlags:C,markerForIfWithoutBlockAndSameLineComment:T}=$t(),{locStart:A,locEnd:N}=Nt(),P=Gt();function F(e,t){let r=(e.body||e.properties).find((e=>{let{type:t}=e;return"EmptyStatement"!==t}));r?s(r,t):u(e,t)}function w(e,t){"BlockStatement"===e.type?F(e,t):s(e,t)}function I(e){let{comment:t,followingNode:r}=e;return!(!r||!ue(t)||(s(r,t),0))}function O(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:o}=e;if(!n||"IfStatement"!==n.type||!i)return!1;if(")"===a(o,t,N))return c(r,t),!0;if(r===n.consequent&&i===n.alternate){if("BlockStatement"===r.type)c(r,t);else{let e="SingleLine"===t.type||t.loc.start.line===t.loc.end.line,i=t.loc.start.line===r.loc.start.line;e&&i?u(r,t,T):u(n,t)}return!0}return"BlockStatement"===i.type?(F(i,t),!0):"IfStatement"===i.type?(w(i.consequent,t),!0):n.consequent===i&&(s(i,t),!0)}function L(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:o}=e;return!(!n||"WhileStatement"!==n.type||!i||(")"===a(o,t,N)?(c(r,t),0):"BlockStatement"===i.type?(F(i,t),0):n.body!==i||(s(i,t),0)))}function M(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return!(!n||"TryStatement"!==n.type&&"CatchClause"!==n.type||!i||("CatchClause"===n.type&&r?(c(r,t),0):"BlockStatement"===i.type?(F(i,t),0):"TryStatement"===i.type?(w(i.finalizer,t),0):"CatchClause"!==i.type||(w(i.body,t),0)))}function R(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!b(r)||!n||"Identifier"!==n.type||(s(r,t),0))}function B(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:a}=e,c=r&&!o(a,N(r),A(t));return!(r&&c||!n||"ConditionalExpression"!==n.type&&"TSConditionalType"!==n.type||!i||(s(i,t),0))}function j(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!(!x(n)||!n.shorthand||n.key!==r||"AssignmentPattern"!==n.value.type||(c(n.value.left,t),0))}function K(e){let{comment:t,precedingNode:n,enclosingNode:i,followingNode:a}=e;if(i&&("ClassDeclaration"===i.type||"ClassExpression"===i.type||"DeclareClass"===i.type||"DeclareInterface"===i.type||"InterfaceDeclaration"===i.type||"TSInterfaceDeclaration"===i.type)){if(p(i.decorators)&&(!a||"Decorator"!==a.type))return c(r(i.decorators),t),!0;if(i.body&&a===i.body)return F(i.body,t),!0;if(a){if(i.superClass&&a===i.superClass&&n&&(n===i.id||n===i.typeParameters))return c(n,t),!0;for(let e of["implements","extends","mixins"])if(i[e]&&a===i[e][0])return!n||n!==i.id&&n!==i.typeParameters&&n!==i.superClass?u(i,t,e):c(n,t),!0}}return!1}function J(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return!!(n&&r&&"("===a(i,t,N)&&("Property"===n.type||"TSDeclareMethod"===n.type||"TSAbstractMethodDefinition"===n.type)&&"Identifier"===r.type&&n.key===r&&":"!==a(i,r,N)||r&&n&&"Decorator"===r.type&&("ClassMethod"===n.type||"ClassProperty"===n.type||"PropertyDefinition"===n.type||"TSAbstractPropertyDefinition"===n.type||"TSAbstractMethodDefinition"===n.type||"TSDeclareMethod"===n.type||"MethodDefinition"===n.type))&&(c(r,t),!0)}function U(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return!("("!==a(i,t,N)||!r||!n||"FunctionDeclaration"!==n.type&&"FunctionExpression"!==n.type&&"ClassMethod"!==n.type&&"MethodDefinition"!==n.type&&"ObjectMethod"!==n.type||(c(r,t),0))}function q(e){let{comment:t,enclosingNode:r,text:n}=e;if(!r||"ArrowFunctionExpression"!==r.type)return!1;let i=l(n,t,N);return!1!==i&&"=>"===n.slice(i,i+2)&&(u(r,t),!0)}function V(e){let{comment:t,enclosingNode:r,text:n}=e;return!(")"!==a(n,t,N)||(r&&(ce(r)&&0===d(r).length||y(r)&&0===v(r).length)?(u(r,t),0):!r||"MethodDefinition"!==r.type&&"TSAbstractMethodDefinition"!==r.type||0!==d(r.value).length||(u(r.value,t),0)))}function z(e){let{comment:t,precedingNode:n,enclosingNode:o,followingNode:s,text:u}=e;if(n&&"FunctionTypeParam"===n.type&&o&&"FunctionTypeAnnotation"===o.type&&s&&"FunctionTypeParam"!==s.type||n&&("Identifier"===n.type||"AssignmentPattern"===n.type)&&o&&ce(o)&&")"===a(u,t,N))return c(n,t),!0;if(o&&"FunctionDeclaration"===o.type&&s&&"BlockStatement"===s.type){let e=(()=>{let e=d(o);if(e.length>0)return i(u,N(r(e)));let t=i(u,N(o.id));return!1!==t&&i(u,t+1)})();if(A(t)>e)return F(s,t),!0}return!1}function W(e){let{comment:t,enclosingNode:r}=e;return!(!r||"ImportSpecifier"!==r.type||(s(r,t),0))}function H(e){let{comment:t,enclosingNode:r}=e;return!(!r||"LabeledStatement"!==r.type||(s(r,t),0))}function G(e){let{comment:t,enclosingNode:r}=e;return!(!r||"ContinueStatement"!==r.type&&"BreakStatement"!==r.type||r.label||(c(r,t),0))}function $(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!!(D(n)&&r&&n.callee===r&&n.arguments.length>0)&&(s(n.arguments[0],t),!0)}function Y(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return!n||"UnionTypeAnnotation"!==n.type&&"TSUnionType"!==n.type?(i&&("UnionTypeAnnotation"===i.type||"TSUnionType"===i.type)&&f(t)&&(i.types[0].prettierIgnore=!0,t.unignore=!0),!1):(f(t)&&(i.prettierIgnore=!0,t.unignore=!0),!!r&&(c(r,t),!0))}function X(e){let{comment:t,enclosingNode:r}=e;return!!x(r)&&(s(r,t),!0)}function Q(e){let{comment:t,enclosingNode:r,followingNode:n,ast:i,isLastComment:a}=e;return i&&i.body&&0===i.body.length?(a?u(i,t):s(i,t),!0):r&&"Program"===r.type&&0===r.body.length&&!p(r.directives)?(a?u(r,t):s(r,t),!0):!(!n||"Program"!==n.type||0!==n.body.length||!r||"ModuleExpression"!==r.type||(u(n,t),0))}function Z(e){let{comment:t,enclosingNode:r}=e;return!(!r||"ForInStatement"!==r.type&&"ForOfStatement"!==r.type||(s(r,t),0))}function ee(e){let{comment:t,precedingNode:r,enclosingNode:i,text:a}=e;return!!(r&&"ImportSpecifier"===r.type&&i&&"ImportDeclaration"===i.type&&n(a,N(t)))&&(c(r,t),!0)}function te(e){let{comment:t,enclosingNode:r}=e;return!(!r||"AssignmentPattern"!==r.type||(s(r,t),0))}function re(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!r||"VariableDeclarator"!==r.type&&"AssignmentExpression"!==r.type&&"TypeAlias"!==r.type&&"TSTypeAliasDeclaration"!==r.type||!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&"TemplateLiteral"!==n.type&&"TaggedTemplateExpression"!==n.type&&"ObjectTypeAnnotation"!==n.type&&"TSTypeLiteral"!==n.type&&!P(t)||(s(n,t),0))}function ne(e){let{comment:t,enclosingNode:r,followingNode:n,text:i}=e;return!(n||!r||"TSMethodSignature"!==r.type&&"TSDeclareFunction"!==r.type&&"TSAbstractMethodDefinition"!==r.type||";"!==a(i,t,N)||(c(r,t),0))}function ie(e){let{comment:t,enclosingNode:r,followingNode:n}=e;if(f(t)&&r&&"TSMappedType"===r.type&&n&&"TSTypeParameter"===n.type&&n.constraint)return r.prettierIgnore=!0,t.unignore=!0,!0}function ae(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return!(!n||"TSMappedType"!==n.type||(i&&"TSTypeParameter"===i.type&&i.name?(s(i.name,t),0):!r||"TSTypeParameter"!==r.type||!r.constraint||(c(r.constraint,t),0)))}function se(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!r||"SwitchCase"!==r.type||r.test||("BlockStatement"===n.type&&E(t)?F(n,t):u(r,t),0))}function ce(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function ue(e){return P(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}t.exports={handleOwnLineComment:function(e){return[ie,z,R,O,L,M,K,W,Z,Y,Q,ee,te,J,H,G].some((t=>t(e)))},handleEndOfLineComment:function(e){return[I,z,B,W,O,L,M,K,H,$,X,Q,re,G,se].some((t=>t(e)))},handleRemainingComment:function(e){return[ie,O,L,j,V,J,Q,q,U,ae,G,ne].some((t=>t(e)))},isTypeCastComment:ue,getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===d(e.value).length&&!e.value.returnType&&!p(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){let t=e.getValue(),r=e.getParentNode();return(t&&(_(t)||m(t)||D(r)&&(g(S(n=t,C.Leading))||g(S(n,C.Trailing))))||r&&("JSXSpreadAttribute"===r.type||"JSXSpreadChild"===r.type||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type||("ClassDeclaration"===r.type||"ClassExpression"===r.type)&&r.superClass===t))&&(!h(e)||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type);var n}}}}),Nr=S({"src/language-js/needs-parens.js"(e,t){k();var r=I(),n=ee(),{getFunctionParameters:i,getLeftSidePathName:a,hasFlowShorthandAnnotationComment:o,hasNakedLeftSide:s,hasNode:c,isBitwiseOperator:u,startsWithNoLookaheadToken:l,shouldFlatten:p,getPrecedence:d,isCallExpression:f,isMemberExpression:_,isObjectProperty:m}=$t();function g(e,t){let r=e.getParentNode();if(!r)return!1;let a=e.getName(),s=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){return"ObjectExpression"===e.type}(s)&&h(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(s))return!1;if("flow"!==t.parser&&o(e.getValue()))return!0;if("Identifier"===s.type)return!!(s.extra&&s.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(s.name)||"left"===a&&"async"===s.name&&"ForOfStatement"===r.type&&!r.await);switch(r.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===a&&("ArrowFunctionExpression"===s.type||"AssignmentExpression"===s.type||"AwaitExpression"===s.type||"BinaryExpression"===s.type||"ConditionalExpression"===s.type||"LogicalExpression"===s.type||"NewExpression"===s.type||"ObjectExpression"===s.type||"SequenceExpression"===s.type||"TaggedTemplateExpression"===s.type||"UnaryExpression"===s.type||"UpdateExpression"===s.type||"YieldExpression"===s.type||"TSNonNullExpression"===s.type))return!0;break;case"ExportDefaultDeclaration":return y(e,t)||"SequenceExpression"===s.type;case"Decorator":if("expression"===a){let e=!1,r=!1,n=s;for(;n;)switch(n.type){case"MemberExpression":r=!0,n=n.object;break;case"CallExpression":if(r||e)return"typescript"!==t.parser;e=!0,n=n.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ExpressionStatement":if(l(s,!0))return!0;break;case"ArrowFunctionExpression":if("body"===a&&"SequenceExpression"!==s.type&&l(s,!1))return!0}switch(s.type){case"UpdateExpression":if("UnaryExpression"===r.type)return s.prefix&&("++"===s.operator&&"+"===r.operator||"--"===s.operator&&"-"===r.operator);case"UnaryExpression":switch(r.type){case"UnaryExpression":return s.operator===r.operator&&("+"===s.operator||"-"===s.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===a;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===a;case"BinaryExpression":return"left"===a&&"**"===r.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===r.type||"in"===s.operator&&function(e){let t=0,r=e.getValue();for(;r;){let n=e.getParentNode(t++);if(n&&"ForStatement"===n.type&&n.init===r)return!0;r=n}return!1}(e))return!0;if("|>"===s.operator&&s.extra&&s.extra.parenthesized){let t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(r.type){case"TSAsExpression":return"TSAsExpression"!==s.type;case"ConditionalExpression":return"TSAsExpression"===s.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===a;case"ClassExpression":case"ClassDeclaration":return"superClass"===a;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===a;case"AssignmentExpression":case"AssignmentPattern":return"left"===a&&("TSTypeAssertion"===s.type||"TSAsExpression"===s.type);case"LogicalExpression":if("LogicalExpression"===s.type)return r.operator!==s.operator;case"BinaryExpression":{let{operator:e,type:t}=s;if(!e&&"TSTypeAssertion"!==t)return!0;let n=d(e),i=r.operator,o=d(i);return o>n||"right"===a&&o===n||o===n&&!p(i,e)||(o<n&&"%"===e?"+"===i||"-"===i:!!u(i))}default:return!1}case"SequenceExpression":switch(r.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==a;case"ArrowFunctionExpression":return"body"!==a;default:return!0}case"YieldExpression":if("UnaryExpression"===r.type||"AwaitExpression"===r.type||"TSAsExpression"===r.type||"TSNonNullExpression"===r.type)return!0;case"AwaitExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===a;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===a;case"ConditionalExpression":return"test"===a;case"BinaryExpression":return!(!s.argument&&"|>"===r.operator);default:return!1}case"TSConditionalType":if("extendsType"===a&&"TSConditionalType"===r.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===a&&"TSConditionalType"===r.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===r.type||"TSIntersectionType"===r.type)&&r.types.length>1&&(!s.types||s.types.length>1))return!0;case"TSInferType":if("TSInferType"===s.type&&"TSRestType"===r.type)return!1;case"TSTypeOperator":return"TSArrayType"===r.type||"TSOptionalType"===r.type||"TSRestType"===r.type||"objectType"===a&&"TSIndexedAccessType"===r.type||"TSTypeOperator"===r.type||"TSTypeAnnotation"===r.type&&e.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===r.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"NullableTypeAnnotation"===r.type||"IntersectionTypeAnnotation"===r.type||"UnionTypeAnnotation"===r.type||"objectType"===a&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"objectType"===a&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"FunctionTypeAnnotation":{let t="NullableTypeAnnotation"===r.type?e.getParentNode(1):r;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"objectType"===a&&("IndexedAccessType"===t.type||"OptionalIndexedAccessType"===t.type)||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===r.type&&null===r.name&&i(s).some((e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type))}case"OptionalIndexedAccessType":return"objectType"===a&&"IndexedAccessType"===r.type;case"TypeofTypeAnnotation":return"objectType"===a&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof s.value&&"ExpressionStatement"===r.type&&!r.directive){let t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===a&&"MemberExpression"===r.type&&"number"==typeof s.value;case"AssignmentExpression":{let t=e.getParentNode(1);return"body"===a&&"ArrowFunctionExpression"===r.type||("key"!==a||"ClassProperty"!==r.type&&"PropertyDefinition"!==r.type||!r.computed)&&("init"!==a&&"update"!==a||"ForStatement"!==r.type)&&("ExpressionStatement"===r.type?"ObjectPattern"===s.left.type:!("key"===a&&"TSPropertySignature"===r.type||"AssignmentExpression"===r.type||"SequenceExpression"===r.type&&t&&"ForStatement"===t.type&&(t.init===r||t.update===r)||"value"===a&&"Property"===r.type&&t&&"ObjectPattern"===t.type&&t.properties.includes(r)||"NGChainedExpression"===r.type))}case"ConditionalExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===a;case"ConditionalExpression":return"test"===a;case"MemberExpression":case"OptionalMemberExpression":return"object"===a;default:return!1}case"FunctionExpression":switch(r.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===a;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(r.type){case"BinaryExpression":return"|>"!==r.operator||s.extra&&s.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===a;case"MemberExpression":case"OptionalMemberExpression":return"object"===a;case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===a;default:return!1}case"ClassExpression":return!!n(s.decorators)||"NewExpression"===r.type&&"callee"===a;case"OptionalMemberExpression":case"OptionalCallExpression":{let t=e.getParentNode(1);if("object"===a&&"MemberExpression"===r.type||"callee"===a&&("CallExpression"===r.type||"NewExpression"===r.type)||"TSNonNullExpression"===r.type&&"MemberExpression"===t.type&&t.object===r)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===a&&("BindExpression"===r.type||"NewExpression"===r.type)){let e=s;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===a&&("BindExpression"===r.type||"NewExpression"===r.type)||"object"===a&&_(r);case"NGPipeExpression":return!("NGRoot"===r.type||"NGMicrosyntaxExpression"===r.type||"ObjectProperty"===r.type&&(!s.extra||!s.extra.parenthesized)||"ArrayExpression"===r.type||f(r)&&r.arguments[a]===s||"right"===a&&"NGPipeExpression"===r.type||"property"===a&&"MemberExpression"===r.type||"AssignmentExpression"===r.type);case"JSXFragment":case"JSXElement":return"callee"===a||"left"===a&&"BinaryExpression"===r.type&&"<"===r.operator||"ArrayExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"AssignmentExpression"!==r.type&&"AssignmentPattern"!==r.type&&"BinaryExpression"!==r.type&&"NewExpression"!==r.type&&"ConditionalExpression"!==r.type&&"ExpressionStatement"!==r.type&&"JsExpressionRoot"!==r.type&&"JSXAttribute"!==r.type&&"JSXElement"!==r.type&&"JSXExpressionContainer"!==r.type&&"JSXFragment"!==r.type&&"LogicalExpression"!==r.type&&!f(r)&&!m(r)&&"ReturnStatement"!==r.type&&"ThrowStatement"!==r.type&&"TypeCastExpression"!==r.type&&"VariableDeclarator"!==r.type&&"YieldExpression"!==r.type;case"TypeAnnotation":return"returnType"===a&&"ArrowFunctionExpression"===r.type&&function(e){return c(e,(e=>"ObjectTypeAnnotation"===e.type&&c(e,(e=>"FunctionTypeAnnotation"===e.type||void 0))||void 0))}(s)}return!1}function h(e){let t=e.getValue(),n=e.getParentNode(),i=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof i&&n.arguments[i]===t&&n.arguments.length-1===i)return e.callParent(h);break;case"ObjectProperty":if("value"===i){let t=e.getParentNode(1);return r(t.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===i)return e.callParent(h);break;case"ConditionalExpression":if("alternate"===i)return e.callParent(h);break;case"UnaryExpression":if(n.prefix)return e.callParent(h)}return!1}function y(e,t){let r=e.getValue(),n=e.getParentNode();return"FunctionExpression"===r.type||"ClassExpression"===r.type?"ExportDefaultDeclaration"===n.type||!g(e,t):!(!s(r)||"ExportDefaultDeclaration"!==n.type&&g(e,t))&&e.call((e=>y(e,t)),...a(e,r))}t.exports=g}}),Pr=S({"src/language-js/print-preprocess.js"(e,t){k(),t.exports=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}}}}),Fr=S({"src/language-js/print/html-binding.js"(e,t){k();var{builders:{join:r,line:n,group:i,softline:a,indent:o}}=j();t.exports={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,s){let c=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(c,t),"File"===c.type){if(t.__isVueForBindingLeft)return e.call((e=>{let t=r([",",n],e.map(s,"params")),{params:c}=e.getValue();return 1===c.length?t:["(",o([a,i(t)]),a,")"]}),"program","body",0);if(t.__isVueBindings)return e.call((e=>r([",",n],e.map(s,"params"))),"program","body",0)}}}}}),wr=S({"src/language-js/print/binaryish.js"(e,t){k();var{printComments:r}=Mt(),{getLast:n}=oe(),{builders:{join:i,line:a,softline:o,group:s,indent:c,align:u,ifBreak:l,indentIfBreak:p},utils:{cleanDoc:d,getDocParts:f,isConcat:_}}=j(),{hasLeadingOwnLineComment:m,isBinaryish:g,isJsxNode:h,shouldFlatten:y,hasComment:v,CommentCheckFlags:D,isCallExpression:b,isMemberExpression:x,isObjectProperty:E,isEnabledHackPipeline:S}=$t(),C=0;function T(e,t,n,p,h){let b=e.getValue();if(!g(b))return[s(t())];let x=[];y(b.operator,b.left.operator)?x=e.call((e=>T(e,t,n,!0,h)),"left"):x.push(s(t("left")));let E,C=A(b),k=("|>"===b.operator||"NGPipeExpression"===b.type||"|"===b.operator&&"__vue_expression"===n.parser)&&!m(n.originalText,b.right),N="NGPipeExpression"===b.type?"|":b.operator,P="NGPipeExpression"===b.type&&b.arguments.length>0?s(c([o,": ",i([o,":",l(" ")],e.map(t,"arguments").map((e=>u(2,s(e)))))])):"";if(C)E=[N," ",t("right"),P];else{let r=S(n)&&"|>"===N?e.call((e=>T(e,t,n,!0,h)),"right"):t("right");E=[k?a:"",N,k?" ":a,r,P]}let F=e.getParentNode(),w=v(b.left,D.Trailing|D.Line),I=w||!(h&&"LogicalExpression"===b.type)&&F.type!==b.type&&b.left.type!==b.type&&b.right.type!==b.type;if(x.push(k?"":" ",I?s(E,{shouldBreak:w}):E),p&&v(b)){let t=d(r(e,x,n));return _(t)||"fill"===t.type?f(t):[t]}return x}function A(e){return"LogicalExpression"===e.type&&!!("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||h(e.right))}t.exports={printBinaryishExpression:function(e,t,r){let i=e.getValue(),a=e.getParentNode(),u=e.getParentNode(1),l=i!==a.body&&("IfStatement"===a.type||"WhileStatement"===a.type||"SwitchStatement"===a.type||"DoWhileStatement"===a.type),d=S(t)&&"|>"===i.operator,f=T(e,r,t,!1,l);if(l)return f;if(d)return s(f);if(b(a)&&a.callee===i||"UnaryExpression"===a.type||x(a)&&!a.computed)return s([c([o,...f]),o]);let _="ReturnStatement"===a.type||"ThrowStatement"===a.type||"JSXExpressionContainer"===a.type&&"JSXAttribute"===u.type||"|"!==i.operator&&"JsExpressionRoot"===a.type||"NGPipeExpression"!==i.type&&("NGRoot"===a.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===a.type&&"NGMicrosyntax"===u.type&&1===u.body.length)||i===a.body&&"ArrowFunctionExpression"===a.type||i!==a.body&&"ForStatement"===a.type||"ConditionalExpression"===a.type&&"ReturnStatement"!==u.type&&"ThrowStatement"!==u.type&&!b(u)||"TemplateLiteral"===a.type,m="AssignmentExpression"===a.type||"VariableDeclarator"===a.type||"ClassProperty"===a.type||"PropertyDefinition"===a.type||"TSAbstractPropertyDefinition"===a.type||"ClassPrivateProperty"===a.type||E(a),v=g(i.left)&&y(i.operator,i.left.operator);if(_||A(i)&&!v||!A(i)&&m)return s(f);if(0===f.length)return"";let D=h(i.right),k=f.findIndex((e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type)),N=f.slice(0,-1===k?1:k+1),P=f.slice(N.length,D?-1:void 0),F=Symbol("logicalChain-"+ ++C),w=s([...N,c(P)],{id:F});if(!D)return w;let I=n(f);return s([w,p(I,{groupId:F})])},shouldInlineLogicalExpression:A}}}),Ir=S({"src/language-js/print/angular.js"(e,t){k();var{builders:{join:r,line:n,group:i}}=j(),{hasNode:a,hasComment:o,getComments:s}=$t(),{printBinaryishExpression:c}=wr();function u(e,t,r){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===r.body[0].type&&null===r.body[0].value}t.exports={printAngular:function(e,t,l){let p=e.getValue();if(p.type.startsWith("NG"))switch(p.type){case"NGRoot":return[l("node"),o(p.node)?" //"+s(p.node)[0].value.trimEnd():""];case"NGPipeExpression":return c(e,t,l);case"NGChainedExpression":return i(r([";",n],e.map((e=>function(e){return a(e.getValue(),(e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}(e)?l():["(",l(),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[p.prefix,": ",p.value.trim()];case"NGMicrosyntax":return e.map(((e,t)=>[0===t?"":u(e.getValue(),t,p)?" ":[";",n],l()]),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(p.name)?p.name:JSON.stringify(p.name);case"NGMicrosyntaxExpression":return[l("expression"),null===p.alias?"":[" as ",l("alias")]];case"NGMicrosyntaxKeyedExpression":{let t=e.getName(),r=e.getParentNode(),n=u(p,t,r)||(1===t&&("then"===p.key.name||"else"===p.key.name)||2===t&&"else"===p.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return[l("key"),n?" ":": ",l("expression")]}case"NGMicrosyntaxLet":return["let ",l("key"),null===p.value?"":[" = ",l("value")]];case"NGMicrosyntaxAs":return[l("key")," as ",l("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(p.type),"."))}}}}}),Or=S({"src/language-js/print/jsx.js"(e,t){k();var{printComments:r,printDanglingComments:n}=Mt(),{builders:{line:i,hardline:a,softline:o,group:s,indent:c,conditionalGroup:u,fill:l,ifBreak:p,lineSuffixBoundary:d,join:f},utils:{willBreak:_}}=j(),{getLast:m,getPreferredQuote:g}=oe(),{isJsxNode:h,rawText:y,isLiteral:v,isCallExpression:D,isStringLiteral:b,isBinaryish:x,hasComment:E,CommentCheckFlags:S,hasNodeIgnoreComment:C}=$t(),T=Nr(),{willPrintOwnComments:A}=Ar(),N=e=>""===e||e===i||e===a||e===o;function P(e,t,r){let n=e.getValue();if("JSXElement"===n.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;let t=e.children[0];return v(t)&&!R(t)}(n))return[r("openingElement"),r("closingElement")];let d="JSXElement"===n.type?r("openingElement"):r("openingFragment"),f="JSXElement"===n.type?r("closingElement"):r("closingFragment");if(1===n.children.length&&"JSXExpressionContainer"===n.children[0].type&&("TemplateLiteral"===n.children[0].expression.type||"TaggedTemplateExpression"===n.children[0].expression.type))return[d,...e.map(r,"children"),f];n.children=n.children.map((e=>function(e){return"JSXExpressionContainer"===e.type&&v(e.expression)&&" "===e.expression.value&&!E(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e));let g=n.children.some(h),D=n.children.filter((e=>"JSXExpressionContainer"===e.type)).length>1,b="JSXElement"===n.type&&n.openingElement.attributes.length>1,x=_(d)||g||b||D,S="mdx"===e.getParentNode().rootMarker,C=t.singleQuote?"{' '}":'{" "}',T=S?" ":p([C,o]," "),k=function(e,t,r,n,o){let s=[];return e.each(((e,t,c)=>{let u=e.getValue();if(v(u)){let e=y(u);if(R(u)){let r,a=e.split(O);if(""===a[0]){if(s.push(""),a.shift(),/\n/.test(a[0])){let e=c[t+1];s.push(w(o,a[1],u,e))}else s.push(n);a.shift()}if(""===m(a)&&(a.pop(),r=a.pop()),0===a.length)return;for(let[e,t]of a.entries())e%2==1?s.push(i):s.push(t);if(void 0!==r)if(/\n/.test(r)){let e=c[t+1];s.push(w(o,m(s),u,e))}else s.push(n);else{let e=c[t+1];s.push(F(o,m(s),u,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&s.push("",a):s.push("",n)}else{let e=r();s.push(e);let n=c[t+1];if(n&&R(n)){let e=M(y(n)).split(O)[0];s.push(F(o,e,u,n))}else s.push(a)}}),"children"),s}(e,0,r,T,n.openingElement&&n.openingElement.name&&"fbt"===n.openingElement.name.name),A=n.children.some((e=>R(e)));for(let e=k.length-2;e>=0;e--){let t=""===k[e]&&""===k[e+1],r=k[e]===a&&""===k[e+1]&&k[e+2]===a,n=(k[e]===o||k[e]===a)&&""===k[e+1]&&k[e+2]===T,i=k[e]===T&&""===k[e+1]&&(k[e+2]===o||k[e+2]===a),s=k[e]===T&&""===k[e+1]&&k[e+2]===T,c=k[e]===o&&""===k[e+1]&&k[e+2]===a||k[e]===a&&""===k[e+1]&&k[e+2]===o;r&&A||t||n||s||c?k.splice(e,2):i&&k.splice(e+1,2)}for(;k.length>0&&N(m(k));)k.pop();for(;k.length>1&&N(k[0])&&N(k[1]);)k.shift(),k.shift();let P=[];for(let[e,t]of k.entries()){if(t===T){if(1===e&&""===k[e-1]){if(2===k.length){P.push(C);continue}P.push([C,a]);continue}if(e===k.length-1){P.push(C);continue}if(""===k[e-1]&&k[e-2]===a){P.push(C);continue}}P.push(t),_(t)&&(x=!0)}let I=A?l(P):s(P,{shouldBreak:!0});if(S)return I;let L=s([d,c([a,I]),a,f]);return x?L:u([s([d,...k,f]),L])}function F(e,t,r,n){return e?"":"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?1===t.length?o:a:o}function w(e,t,r,n){return e?a:1===t.length?"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?a:o:a}function I(e,t,n){return function(e,t,r){let n=e.getParentNode();if(!n||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[n.type])return t;let i=e.match(void 0,(e=>"ArrowFunctionExpression"===e.type),D,(e=>"JSXExpressionContainer"===e.type)),a=T(e,r);return s([a?"":p("("),c([o,t]),o,a?"":p(")")],{shouldBreak:i})}(e,r(e,P(e,t,n),t),t)}var O=new RegExp("([ \n\r\t]+)"),L=new RegExp("[^ \n\r\t]"),M=e=>e.replace(new RegExp("(?:^"+O.source+"|"+O.source+"$)"),"");function R(e){return v(e)&&(L.test(y(e))||!/\n/.test(y(e)))}t.exports={hasJsxIgnoreComment:function(e){let t=e.getValue(),r=e.getParentNode();if(!(r&&t&&h(t)&&h(r)))return!1;let n=null;for(let e=r.children.indexOf(t);e>0;e--){let t=r.children[e-1];if("JSXText"!==t.type||R(t)){n=t;break}}return n&&"JSXExpressionContainer"===n.type&&"JSXEmptyExpression"===n.expression.type&&C(n.expression)},printJsx:function(e,t,u){let l=e.getValue();if(l.type.startsWith("JSX"))switch(l.type){case"JSXAttribute":return function(e,t,r){let n=e.getValue(),i=[];if(i.push(r("name")),n.value){let e;if(b(n.value)){let r=y(n.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:i,quote:a,regex:o}=g(r,t.jsxSingleQuote?"'":'"');r=r.replace(o,i),e=[a,r,a]}else e=r("value");i.push("=",e)}return i}(e,t,u);case"JSXIdentifier":return String(l.name);case"JSXNamespacedName":return f(":",[u("namespace"),u("name")]);case"JSXMemberExpression":return f(".",[u("object"),u("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return function(e,t,n){let i=e.getValue();return["{",e.call((e=>{let i=["...",n()],a=e.getValue();return E(a)&&A(e)?[c([o,r(e,i,t)]),o]:i}),"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]}(e,t,u);case"JSXExpressionContainer":return function(e,t,r){let n=e.getValue(),i=(e,t)=>"JSXEmptyExpression"===e.type||!E(e)&&("ArrayExpression"===e.type||"ObjectExpression"===e.type||"ArrowFunctionExpression"===e.type||"AwaitExpression"===e.type&&(i(e.argument,e)||"JSXElement"===e.argument.type)||D(e)||"FunctionExpression"===e.type||"TemplateLiteral"===e.type||"TaggedTemplateExpression"===e.type||"DoExpression"===e.type||h(t)&&("ConditionalExpression"===e.type||x(e)));return i(n.expression,e.getParentNode(0))?s(["{",r("expression"),d,"}"]):s(["{",c([o,r("expression")]),o,d,"}"])}(e,0,u);case"JSXFragment":case"JSXElement":return I(e,t,u);case"JSXOpeningElement":return function(e,t,r){let n=e.getValue(),u=n.name&&E(n.name)||n.typeParameters&&E(n.typeParameters);if(n.selfClosing&&0===n.attributes.length&&!u)return["<",r("name"),r("typeParameters")," />"];if(n.attributes&&1===n.attributes.length&&n.attributes[0].value&&b(n.attributes[0].value)&&!n.attributes[0].value.value.includes("\n")&&!u&&!E(n.attributes[0]))return s(["<",r("name"),r("typeParameters")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let l=n.attributes.length>0&&E(m(n.attributes),S.Trailing),p=0===n.attributes.length&&!u||(t.bracketSameLine||t.jsxBracketSameLine)&&(!u||n.attributes.length>0)&&!l,d=n.attributes&&n.attributes.some((e=>e.value&&b(e.value)&&e.value.value.includes("\n"))),f=t.singleAttributePerLine&&n.attributes.length>1?a:i;return s(["<",r("name"),r("typeParameters"),c(e.map((()=>[f,r()]),"attributes")),n.selfClosing?i:p?">":o,n.selfClosing?"/>":p?"":">"],{shouldBreak:d})}(e,t,u);case"JSXClosingElement":return function(e,t,r){let n=e.getValue(),i=[];i.push("</");let o=r("name");return E(n.name,S.Leading|S.Line)?i.push(c([a,o]),a):E(n.name,S.Leading|S.Block)?i.push(" ",o):i.push(o),i.push(">"),i}(e,0,u);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){let r=e.getValue(),i=E(r),o=E(r,S.Line),s="JSXOpeningFragment"===r.type;return[s?"<":"</",c([o?a:i&&!s?" ":"",n(e,t,!0)]),o?a:"",">"]}(e,t);case"JSXEmptyExpression":return function(e,t){let r=e.getValue(),i=E(r,S.Line);return[n(e,t,!i),i?a:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(l.type),"."))}}}}}),Lr=S({"src/language-js/print/misc.js"(e,t){k();var{isNonEmptyArray:r}=oe(),{builders:{indent:n,join:i,line:a}}=j(),{isFlowAnnotationComment:o}=$t();function s(e,t,r){let n=e.getValue();if(!n.typeAnnotation)return"";let i=e.getParentNode(),a="DeclareFunction"===i.type&&i.id===n;return o(t.originalText,n.typeAnnotation)?[" /*: ",r("typeAnnotation")," */"]:[a?"":": ",r("typeAnnotation")]}t.exports={printOptionalToken:function(e){let t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"},printDefiniteToken:function(e){return e.getValue().definite||e.match(void 0,((e,t)=>"id"===t&&"VariableDeclarator"===e.type&&e.definite))?"!":""},printFunctionTypeParameters:function(e,t,r){let n=e.getValue();return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""},printBindExpressionCallee:function(e,t,r){return["::",r("callee")]},printTypeScriptModifiers:function(e,t,n){let a=e.getValue();return r(a.modifiers)?[i(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:s,printRestSpread:function(e,t,r){return["...",r("argument"),s(e,t,r)]},adjustClause:function(e,t,r){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||r?[" ",t]:n([a,t])}}}}),Mr=S({"src/language-js/print/array.js"(e,t){k();var{printDanglingComments:r}=Mt(),{builders:{line:n,softline:i,hardline:a,group:o,indent:s,ifBreak:c,fill:u}}=j(),{getLast:l,hasNewline:p}=oe(),{shouldPrintComma:d,hasComment:f,CommentCheckFlags:_,isNextLineEmpty:m,isNumericLiteral:g,isSignedNumericLiteral:h}=$t(),{locStart:y}=Nt(),{printOptionalToken:v,printTypeAnnotation:D}=Lr();function b(e,t){return e.elements.length>1&&e.elements.every((e=>e&&(g(e)||h(e)&&!f(e.argument))&&!f(e,_.Trailing|_.Line,(e=>!p(t.originalText,y(e),{backwards:!0})))))}function x(e,t,r,a){let s=[],c=[];return e.each((e=>{s.push(c,o(a())),c=[",",n],e.getValue()&&m(e.getValue(),t)&&c.push(i)}),r),s}function E(e,t,r,i){let o=[];return e.each(((e,s,c)=>{let u=s===c.length-1;o.push([r(),u?i:","]),u||o.push(m(e.getValue(),t)?[a,a]:f(c[s+1],_.Leading|_.Line)?a:n)}),"elements"),u(o)}t.exports={printArray:function(e,t,n){let a=e.getValue(),u=[],p="TupleExpression"===a.type?"#[":"[";if(0===a.elements.length)f(a,_.Dangling)?u.push(o([p,r(e,t),i,"]"])):u.push(p,"]");else{let f=l(a.elements),_=!(f&&"RestElement"===f.type),m=null===f,g=Symbol("array"),h=!t.__inJestEach&&a.elements.length>1&&a.elements.every(((e,t,r)=>{let n=e&&e.type;if("ArrayExpression"!==n&&"ObjectExpression"!==n)return!1;let i=r[t+1];if(i&&n!==i.type)return!1;let a="ArrayExpression"===n?"elements":"properties";return e[a]&&e[a].length>1})),y=b(a,t),v=_?m?",":d(t)?y?c(",","",{groupId:g}):c(","):"":"";u.push(o([p,s([i,y?E(e,t,n,v):[x(e,t,"elements",n),v],r(e,t,!0)]),i,"]"],{shouldBreak:h,id:g}))}return u.push(v(e),D(e,t,n)),u},printArrayItems:x,isConciselyPrintedArray:b}}}),Rr=S({"src/language-js/print/call-arguments.js"(e,t){k();var{printDanglingComments:r}=Mt(),{getLast:n,getPenultimate:i}=oe(),{getFunctionParameters:a,hasComment:o,CommentCheckFlags:s,isFunctionCompositionArgs:c,isJsxNode:u,isLongCurriedCallExpression:l,shouldPrintComma:p,getCallArguments:d,iterateCallArgumentsPath:f,isNextLineEmpty:_,isCallExpression:m,isStringLiteral:g,isObjectProperty:h}=$t(),{builders:{line:y,hardline:v,softline:D,group:b,indent:x,conditionalGroup:E,ifBreak:S,breakParent:C},utils:{willBreak:T}}=j(),{ArgExpansionBailout:A}=ke(),{isConciselyPrintedArray:N}=Mr();function P(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||o(e))||"ArrayExpression"===e.type&&(e.elements.length>0||o(e))||"TSTypeAssertion"===e.type&&P(e.expression)||"TSAsExpression"===e.type&&P(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||F(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&P(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(m(e.body)||"ConditionalExpression"===e.body.type)||u(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}function F(e){return"BlockStatement"===e.type&&(e.body.some((e=>"EmptyStatement"!==e.type))||o(e,s.Dangling))}t.exports=function(e,t,u){let m=e.getValue(),k="ImportExpression"===m.type,F=d(m);if(0===F.length)return["(",r(e,t,!0),")"];if(function(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===a(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((e=>o(e)))}(F))return["(",u(["arguments",0]),", ",u(["arguments",1]),")"];let w=!1,I=!1,O=F.length-1,L=[];f(e,((e,r)=>{let n=e.getNode(),i=[u()];r===O||(_(n,t)?(0===r&&(I=!0),w=!0,i.push(",",v,v)):i.push(",",y)),L.push(i)}));let M=k||m.callee&&"Import"===m.callee.type||!p(t,"all")?"":",";function R(){return b(["(",x([y,...L]),M,y,")"],{shouldBreak:!0})}if(w||"Decorator"!==e.getParentNode().type&&c(F))return R();let B=function(e){if(2!==e.length)return!1;let[t,r]=e;return!("ModuleExpression"!==t.type||!function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&h(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&g(e.properties[0].value)&&"module"===e.properties[0].value.value}(r))||!o(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!P(r)}(F),j=function(e,t){let r=n(e),a=i(e);return!o(r,s.Leading)&&!o(r,s.Trailing)&&P(r)&&(!a||a.type!==r.type)&&(2!==e.length||"ArrowFunctionExpression"!==a.type||"ArrayExpression"!==r.type)&&!(e.length>1&&"ArrayExpression"===r.type&&N(r,t))}(F,t);if(B||j){if(B?L.slice(1).some(T):L.slice(0,-1).some(T))return R();let t=[];try{e.try((()=>{f(e,((e,r)=>{B&&0===r&&(t=[[u([],{expandFirstArg:!0}),L.length>1?",":"",I?v:y,I?v:""],...L.slice(1)]),j&&r===O&&(t=[...L.slice(0,-1),u([],{expandLastArg:!0})])}))}))}catch(e){if(e instanceof A)return R();throw e}return[L.some(T)?C:"",E([["(",...t,")"],B?["(",b(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...L.slice(0,-1),b(n(t),{shouldBreak:!0}),")"],R()])]}let K=["(",x([D,...L]),S(M),D,")"];return l(e)?K:b(K,{shouldBreak:L.some(T)||w})}}}),Br=S({"src/language-js/print/member.js"(e,t){k();var{builders:{softline:r,group:n,indent:i,label:a}}=j(),{isNumericLiteral:o,isMemberExpression:s,isCallExpression:c}=$t(),{printOptionalToken:u}=Lr();function l(e,t,a){let s=a("property"),c=e.getValue(),l=u(e);return c.computed?!c.property||o(c.property)?[l,"[",s,"]"]:n([l,"[",i([r,s]),r,"]"]):[l,".",s]}t.exports={printMemberExpression:function(e,t,o){let u,p=e.getValue(),d=e.getParentNode(),f=0;do{u=e.getParentNode(f),f++}while(u&&(s(u)||"TSNonNullExpression"===u.type));let _=o("object"),m=l(e,0,o),g=u&&("NewExpression"===u.type||"BindExpression"===u.type||"AssignmentExpression"===u.type&&"Identifier"!==u.left.type)||p.computed||"Identifier"===p.object.type&&"Identifier"===p.property.type&&!s(d)||("AssignmentExpression"===d.type||"VariableDeclarator"===d.type)&&(c(p.object)&&p.object.arguments.length>0||"TSNonNullExpression"===p.object.type&&c(p.object.expression)&&p.object.expression.arguments.length>0||"member-chain"===_.label);return a("member-chain"===_.label?"member-chain":"member",[_,g?m:n(i([r,m]))])},printMemberLookup:l}}}),jr=S({"src/language-js/print/member-chain.js"(e,t){k();var{printComments:r}=Mt(),{getLast:n,isNextLineEmptyAfterIndex:i,getNextNonSpaceNonCommentCharacterIndex:a}=oe(),o=Nr(),{isCallExpression:s,isMemberExpression:c,isFunctionOrArrowExpression:u,isLongCurriedCallExpression:l,isMemberish:p,isNumericLiteral:d,isSimpleCallArgument:f,hasComment:_,CommentCheckFlags:m,isNextLineEmpty:g}=$t(),{locEnd:h}=Nt(),{builders:{join:y,hardline:v,group:D,indent:b,conditionalGroup:x,breakParent:E,label:S},utils:{willBreak:C}}=j(),T=Rr(),{printMemberLookup:A}=Br(),{printOptionalToken:N,printFunctionTypeParameters:P,printBindExpressionCallee:F}=Lr();t.exports=function(e,t,k){let w=e.getParentNode(),I=!w||"ExpressionStatement"===w.type,O=[];function L(e){let{originalText:r}=t,n=a(r,e,h);return")"===r.charAt(n)?!1!==n&&i(r,n+1):g(e,t)}function M(e){let n=e.getValue();s(n)&&(p(n.callee)||s(n.callee))?(O.unshift({node:n,printed:[r(e,[N(e),P(e,t,k),T(e,t,k)],t),L(n)?v:""]}),e.call((e=>M(e)),"callee")):p(n)?(O.unshift({node:n,needsParens:o(e,t),printed:r(e,c(n)?A(e,t,k):F(e,t,k),t)}),e.call((e=>M(e)),"object")):"TSNonNullExpression"===n.type?(O.unshift({node:n,printed:r(e,"!",t)}),e.call((e=>M(e)),"expression")):O.unshift({node:n,printed:k()})}let R=e.getValue();O.unshift({node:R,printed:[N(e),P(e,t,k),T(e,t,k)]}),R.callee&&e.call((e=>M(e)),"callee");let B=[],j=[O[0]],K=1;for(;K<O.length&&("TSNonNullExpression"===O[K].node.type||s(O[K].node)||c(O[K].node)&&O[K].node.computed&&d(O[K].node.property));++K)j.push(O[K]);if(!s(O[0].node))for(;K+1<O.length&&p(O[K].node)&&p(O[K+1].node);++K)j.push(O[K]);B.push(j),j=[];let J=!1;for(;K<O.length;++K){if(J&&p(O[K].node)){if(O[K].node.computed&&d(O[K].node.property)){j.push(O[K]);continue}B.push(j),j=[],J=!1}(s(O[K].node)||"ImportExpression"===O[K].node.type)&&(J=!0),j.push(O[K]),_(O[K].node,m.Trailing)&&(B.push(j),j=[],J=!1)}function U(e){return/^[A-Z]|^[$_]+$/.test(e)}j.length>0&&B.push(j);let q=B.length>=2&&!_(B[1][0].node)&&function(e){let r=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){let n=e[0][0].node;return"ThisExpression"===n.type||"Identifier"===n.type&&(U(n.name)||I&&function(e){return e.length<=t.tabWidth}(n.name)||r)}let i=n(e[0]).node;return c(i)&&"Identifier"===i.property.type&&(U(i.property.name)||r)}(B);function V(e){let t=e.map((e=>e.printed));return e.length>0&&n(e).needsParens?["(",...t,")"]:t}let z=B.map(V),W=z,H=q?3:2,G=B.flat(),$=G.slice(1,-1).some((e=>_(e.node,m.Leading)))||G.slice(0,-1).some((e=>_(e.node,m.Trailing)))||B[H]&&_(B[H][0].node,m.Leading);if(B.length<=H&&!$)return l(e)?W:D(W);let Y,X=n(B[q?1:0]).node,Q=!s(X)&&L(X),Z=[V(B[0]),q?B.slice(1,2).map(V):"",Q?v:"",(te=B.slice(q?2:1),0===te.length?"":b(D([v,y(v,te.map(V))])))],ee=O.map((e=>{let{node:t}=e;return t})).filter(s);var te;return Y=$||ee.length>2&&ee.some((e=>!e.arguments.every((e=>f(e,0)))))||z.slice(0,-1).some(C)||function(){let e=n(n(B)).node,t=n(z);return s(e)&&C(t)&&ee.slice(0,-1).some((e=>e.arguments.some(u)))}()?D(Z):[C(W)||Q?E:"",x([W,Z])],S("member-chain",Y)}}}),Kr=S({"src/language-js/print/call-expression.js"(e,t){k();var{builders:{join:r,group:n}}=j(),i=Nr(),{getCallArguments:a,hasFlowAnnotationComment:o,isCallExpression:s,isMemberish:c,isStringLiteral:u,isTemplateOnItsOwnLine:l,isTestCall:p,iterateCallArgumentsPath:d}=$t(),f=jr(),_=Rr(),{printOptionalToken:m,printFunctionTypeParameters:g}=Lr();t.exports={printCallExpression:function(e,t,h){let y=e.getValue(),v=e.getParentNode(),D="NewExpression"===y.type,b="ImportExpression"===y.type,x=m(e),E=a(y);if(E.length>0&&(!b&&!D&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){let r=a(e);return"ExpressionStatement"===t.type&&(1===r.length||2===r.length&&"ArrayExpression"===r[0].type||3===r.length&&u(r[0])&&"ArrayExpression"===r[1].type)}return!1}(y,v)||1===E.length&&l(E[0],t.originalText)||!D&&p(y,v))){let n=[];return d(e,(()=>{n.push(h())})),[D?"new ":"",h("callee"),x,g(e,t,h),"(",r(", ",n),")"]}let S=("babel"===t.parser||"babel-flow"===t.parser)&&y.callee&&"Identifier"===y.callee.type&&o(y.callee.trailingComments);if(S&&(y.callee.trailingComments[0].printed=!0),!b&&!D&&c(y.callee)&&!e.call((e=>i(e,t)),"callee"))return f(e,t,h);let C=[D?"new ":"",b?"import":h("callee"),x,S?"/*:: ".concat(y.callee.trailingComments[0].value.slice(2).trim()," */"):"",g(e,t,h),_(e,t,h)];return b||s(y.callee)?n(C):C}}}}),Jr=S({"src/language-js/print/assignment.js"(e,t){k();var{isNonEmptyArray:r,getStringWidth:n}=oe(),{builders:{line:i,group:a,indent:o,indentIfBreak:s,lineSuffixBoundary:c},utils:{cleanDoc:u,willBreak:l,canBreak:p}}=j(),{hasLeadingOwnLineComment:d,isBinaryish:f,isStringLiteral:_,isLiteral:m,isNumericLiteral:g,isCallExpression:h,isMemberExpression:y,getCallArguments:v,rawText:D,hasComment:b,isSignedNumericLiteral:x,isObjectProperty:E}=$t(),{shouldInlineLogicalExpression:S}=wr(),{printCallExpression:C}=Kr();function T(e,t,l,m,h,y){let v=function(e,t,i,a,o){let s=e.getValue(),c=s[o];if(!c)return"only-left";let l=!A(c);if(e.match(A,N,(e=>!l||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type)))return l?"ArrowFunctionExpression"===c.type&&"ArrowFunctionExpression"===c.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!l&&A(c.right)||d(t.originalText,c))return"break-after-operator";if("CallExpression"===c.type&&"require"===c.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(N(e)){let t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((e=>E(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)))}return!1}(s)||function(e){let t=function(e){return function(e){return"TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}(e);if(r(t)){let r="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some((e=>e[r]||e.default)))return!0}return!1}(s)||function(e){if("VariableDeclarator"!==e.type)return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let n=F(t.typeAnnotation);return r(n)&&n.length>1&&n.some((e=>r(F(e))||"TSConditionalType"===e.type))}(s)||P(s)&&p(a))return"break-lhs";let m=function(e,t,r){if(!E(e))return!1;let i=3;return"string"==typeof(t=u(t))&&n(t)<r.tabWidth+i}(s,a,t);return e.call((()=>function(e,t,n,i){let a=e.getValue();if(f(a)&&!S(a))return!0;switch(a.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:e}=a;return f(e)&&!S(e)}case"ClassExpression":return r(a.decorators)}if(i)return!1;let o=a,s=[];for(;;)if("UnaryExpression"===o.type)o=o.argument,s.push("argument");else{if("TSNonNullExpression"!==o.type)break;o=o.expression,s.push("expression")}return!(!_(o)&&!e.call((()=>w(e,t,n)),...s))}(e,t,i,m)),o)?"break-after-operator":m||"TemplateLiteral"===c.type||"TaggedTemplateExpression"===c.type||"BooleanLiteral"===c.type||g(c)||"ClassExpression"===c.type?"never-break-after-operator":"fluid"}(e,t,l,m,y),D=l(y,{assignmentLayout:v});switch(v){case"break-after-operator":return a([a(m),h,a(o([i,D]))]);case"never-break-after-operator":return a([a(m),h," ",D]);case"fluid":{let e=Symbol("assignment");return a([a(m),h,a(o(i),{id:e}),c,s(D,{groupId:e})])}case"break-lhs":return a([m,h," ",a(D)]);case"chain":return[a(m),h,i,D];case"chain-tail":return[a(m),h,o([i,D])];case"chain-tail-arrow-chain":return[a(m),h,D];case"only-left":return m}}function A(e){return"AssignmentExpression"===e.type}function N(e){return A(e)||"VariableDeclarator"===e.type}function P(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function F(e){return function(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function w(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.getValue(),a=()=>w(e,t,r,!0);if("TSNonNullExpression"===i.type)return e.call(a,"expression");if(h(i)){if("member-chain"===C(e,t,r).label)return!1;let n=v(i);return!(!(0===n.length||1===n.length&&I(n[0],t))||O(i,r))&&e.call(a,"callee")}return y(i)?e.call(a,"object"):n&&("Identifier"===i.type||"ThisExpression"===i.type)}function I(e,t){let{printWidth:r}=t;if(b(e))return!1;let n=.25*r;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||x(e)&&!b(e.argument))return!0;let i="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return i?i.length<=n:_(e)?D(e).length<=n:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes("\n"):m(e)}function O(e,t){let n=function(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}(e);if(r(n)){if(n.length>1)return!0;if(1===n.length){let e=n[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"ObjectTypeAnnotation"===e.type)return!0}let r=e.typeParameters?"typeParameters":"typeArguments";if(l(t(r)))return!0}return!1}t.exports={printVariableDeclarator:function(e,t,r){return T(e,t,r,r("id")," =","init")},printAssignmentExpression:function(e,t,r){let n=e.getValue();return T(e,t,r,r("left"),[" ",n.operator],"right")},printAssignment:T,isArrowFunctionVariableDeclarator:P}}}),Ur=S({"src/language-js/print/function-parameters.js"(e,t){k();var{getNextNonSpaceNonCommentCharacter:r}=oe(),{printDanglingComments:n}=Mt(),{builders:{line:i,hardline:a,softline:o,group:s,indent:c,ifBreak:u},utils:{removeLines:l,willBreak:p}}=j(),{getFunctionParameters:d,iterateFunctionParametersPath:f,isSimpleType:_,isTestCall:m,isTypeAnnotationAFunction:g,isObjectType:h,isObjectTypePropertyAFunction:y,hasRestParameter:v,shouldPrintComma:D,hasComment:b,isNextLineEmpty:x}=$t(),{locEnd:E}=Nt(),{ArgExpansionBailout:S}=ke(),{printFunctionTypeParameters:C}=Lr();function T(e){if(!e)return!1;let t=d(e);if(1!==t.length)return!1;let[r]=t;return!b(r)&&("ObjectPattern"===r.type||"ArrayPattern"===r.type||"Identifier"===r.type&&r.typeAnnotation&&("TypeAnnotation"===r.typeAnnotation.type||"TSTypeAnnotation"===r.typeAnnotation.type)&&h(r.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===r.type&&h(r.typeAnnotation)||"AssignmentPattern"===r.type&&("ObjectPattern"===r.left.type||"ArrayPattern"===r.left.type)&&("Identifier"===r.right.type||"ObjectExpression"===r.right.type&&0===r.right.properties.length||"ArrayExpression"===r.right.type&&0===r.right.elements.length))}t.exports={printFunctionParameters:function(e,t,h,b,k){let A=e.getValue(),N=d(A),P=k?C(e,h,t):"";if(0===N.length)return[P,"(",n(e,h,!0,(e=>")"===r(h.originalText,e,E))),")"];let F=e.getParentNode(),w=m(F),I=T(A),O=[];if(f(e,((e,r)=>{let n=r===N.length-1;n&&A.rest&&O.push("..."),O.push(t()),!n&&(O.push(","),w||I?O.push(" "):x(N[r],h)?O.push(a,a):O.push(i))})),b){if(p(P)||p(O))throw new S;return s([l(P),"(",l(O),")"])}let L=N.every((e=>!e.decorators));return I&&L||w?[P,"(",...O,")"]:(y(F)||g(F)||"TypeAlias"===F.type||"UnionTypeAnnotation"===F.type||"TSUnionType"===F.type||"IntersectionTypeAnnotation"===F.type||"FunctionTypeAnnotation"===F.type&&F.returnType===A)&&1===N.length&&null===N[0].name&&A.this!==N[0]&&N[0].typeAnnotation&&null===A.typeParameters&&_(N[0].typeAnnotation)&&!A.rest?"always"===h.arrowParens?["(",...O,")"]:O:[P,"(",c([o,...O]),u(!v(A)&&D(h,"all")?",":""),o,")"]},shouldHugFunctionParameters:T,shouldGroupFunctionParameters:function(e,t){let r=function(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}(e);if(!r)return!1;let n=e.typeParameters&&e.typeParameters.params;if(n){if(n.length>1)return!1;if(1===n.length){let e=n[0];if(e.constraint||e.default)return!1}}return 1===d(e).length&&(h(r)||p(t))}}}}),qr=S({"src/language-js/print/type-annotation.js"(e,t){k();var{printComments:r,printDanglingComments:n}=Mt(),{isNonEmptyArray:i}=oe(),{builders:{group:a,join:o,line:s,softline:c,indent:u,align:l,ifBreak:p}}=j(),d=Nr(),{locStart:f}=Nt(),{isSimpleType:_,isObjectType:m,hasLeadingOwnLineComment:g,isObjectTypePropertyAFunction:h,shouldPrintComma:y}=$t(),{printAssignment:v}=Jr(),{printFunctionParameters:D,shouldGroupFunctionParameters:b}=Ur(),{printArrayItems:x}=Mr();function E(e){if(_(e)||m(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){let t=e.types.filter((e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type)).length,r=e.types.some((e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type));if(e.types.length-1===t&&r)return!0}return!1}t.exports={printOpaqueType:function(e,t,r){let n=t.semi?";":"",i=e.getValue(),a=[];return a.push("opaque type ",r("id"),r("typeParameters")),i.supertype&&a.push(": ",r("supertype")),i.impltype&&a.push(" = ",r("impltype")),a.push(n),a},printTypeAlias:function(e,t,r){let n=t.semi?";":"",i=e.getValue(),a=[];i.declare&&a.push("declare "),a.push("type ",r("id"),r("typeParameters"));let o="TSTypeAliasDeclaration"===i.type?"typeAnnotation":"right";return[v(e,t,r,a," =",o),n]},printIntersectionType:function(e,t,r){let n=e.getValue(),i=e.map(r,"types"),o=[],c=!1;for(let e=0;e<i.length;++e)0===e?o.push(i[e]):m(n.types[e-1])&&m(n.types[e])?o.push([" & ",c?u(i[e]):i[e]]):m(n.types[e-1])||m(n.types[e])?(e>1&&(c=!0),o.push(" & ",e>1?u(i[e]):i[e])):o.push(u([" &",s,i[e]]));return a(o)},printUnionType:function(e,t,n){let i=e.getValue(),f=e.getParentNode(),_=!("TypeParameterInstantiation"===f.type||"TSTypeParameterInstantiation"===f.type||"GenericTypeAnnotation"===f.type||"TSTypeReference"===f.type||"TSTypeAssertion"===f.type||"TupleTypeAnnotation"===f.type||"TSTupleType"===f.type||"FunctionTypeParam"===f.type&&!f.name&&e.getParentNode(1).this!==f||("TypeAlias"===f.type||"VariableDeclarator"===f.type||"TSTypeAliasDeclaration"===f.type)&&g(t.originalText,i)),m=E(i),h=e.map((e=>{let i=n();return m||(i=l(2,i)),r(e,i,t)}),"types");if(m)return o(" | ",h);let y=_&&!g(t.originalText,i),v=[p([y?s:"","| "]),o([s,"| "],h)];return d(e,t)?a([u(v),c]):"TupleTypeAnnotation"===f.type&&f.types.length>1||"TSTupleType"===f.type&&f.elementTypes.length>1?a([u([p(["(",c]),v]),c,p(")")]):a(_?u(v):v)},printFunctionType:function(e,t,r){let n=e.getValue(),i=[],o=e.getParentNode(0),s=e.getParentNode(1),c=e.getParentNode(2),u="TSFunctionType"===n.type||!(("ObjectTypeProperty"===o.type||"ObjectTypeInternalSlot"===o.type)&&!o.variance&&!o.optional&&f(o)===f(n)||"ObjectTypeCallProperty"===o.type||c&&"DeclareFunction"===c.type),l=u&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type),p=l&&u&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type)&&"ArrowFunctionExpression"===s.type;h(o)&&(u=!0,l=!0),p&&i.push("(");let d=D(e,r,t,!1,!0),_=n.returnType||n.predicate||n.typeAnnotation?[u?" => ":": ",r("returnType"),r("predicate"),r("typeAnnotation")]:"",m=b(n,_);return i.push(m?a(d):d),_&&i.push(_),p&&i.push(")"),a(i)},printTupleType:function(e,t,r){let o=e.getValue(),s="TSTupleType"===o.type?"elementTypes":"types",l=o[s],d=i(l),f=d?c:"";return a(["[",u([f,x(e,t,s,r)]),p(d&&y(t,"all")?",":""),n(e,t,!0),f,"]"])},printIndexedAccessType:function(e,t,r){let n=e.getValue(),i="OptionalIndexedAccessType"===n.type&&n.optional?"?.[":"[";return[r("objectType"),i,r("indexType"),"]"]},shouldHugType:E}}}),Vr=S({"src/language-js/print/type-parameters.js"(e,t){k();var{printDanglingComments:r}=Mt(),{builders:{join:n,line:i,hardline:a,softline:o,group:s,indent:c,ifBreak:u}}=j(),{isTestCall:l,hasComment:p,CommentCheckFlags:d,isTSXFile:f,shouldPrintComma:_,getFunctionParameters:m,isObjectType:g}=$t(),{createGroupIdMapper:h}=oe(),{shouldHugType:y}=qr(),{isArrowFunctionVariableDeclarator:v}=Jr(),D=h("typeParameters");function b(e,t){let n=e.getValue();if(!p(n,d.Dangling))return"";let i=!p(n,d.Line),o=r(e,t,i);return i?o:[o,a]}t.exports={printTypeParameter:function(e,t,r){let n=e.getValue(),i=[],a=e.getParentNode();return"TSMappedType"===a.type?(i.push("[",r("name")),n.constraint&&i.push(" in ",r("constraint")),a.nameType&&i.push(" as ",e.callParent((()=>r("nameType")))),i.push("]"),i):(n.variance&&i.push(r("variance")),i.push(r("name")),n.bound&&i.push(": ",r("bound")),n.constraint&&i.push(" extends ",r("constraint")),n.default&&i.push(" = ",r("default")),i)},printTypeParameters:function(e,t,r,a){let p=e.getValue();if(!p[a])return"";if(!Array.isArray(p[a]))return r(a);let d=e.getNode(2),h=d&&l(d);if(!e.match((e=>!(1===e[a].length&&g(e[a][0]))),void 0,((e,t)=>"typeAnnotation"===t),(e=>"Identifier"===e.type),v)&&(h||0===p[a].length||1===p[a].length&&("NullableTypeAnnotation"===p[a][0].type||y(p[a][0]))))return["<",n(", ",e.map(r,a)),b(e,t),">"];let x="TSTypeParameterInstantiation"===p.type?"":1===m(p).length&&f(t)&&!p[a][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":_(t,"all")?u(","):"";return s(["<",c([o,n([",",i],e.map(r,a))]),x,o,">"],{id:D(p)})},getTypeParametersGroupId:D}}}),zr=S({"src/language-js/print/property.js"(e,t){k();var{printComments:r}=Mt(),{printString:n,printNumber:i}=oe(),{isNumericLiteral:a,isSimpleNumber:o,isStringLiteral:s,isStringPropSafeToUnquote:c,rawText:u}=$t(),{printAssignment:l}=Jr(),p=new WeakMap;function d(e,t,l){let d=e.getNode();if(d.computed)return["[",l("key"),"]"];let f=e.getParentNode(),{key:_}=d;if("ClassPrivateProperty"===d.type&&"Identifier"===_.type)return["#",l("key")];if("consistent"===t.quoteProps&&!p.has(f)){let e=(f.properties||f.body||f.members).some((e=>!e.computed&&e.key&&s(e.key)&&!c(e,t)));p.set(f,e)}if(("Identifier"===_.type||a(_)&&o(i(u(_)))&&String(_.value)===i(u(_))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&p.get(f))){let i=n(JSON.stringify("Identifier"===_.type?_.name:_.value.toString()),t);return e.call((e=>r(e,i,t)),"key")}return c(d,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!p.get(f))?e.call((e=>r(e,/^\d/.test(_.value)?i(_.value):_.value,t)),"key"):l("key")}t.exports={printProperty:function(e,t,r){return e.getValue().shorthand?r("value"):l(e,t,r,d(e,t,r),":","value")},printPropertyKey:d}}}),Wr=S({"src/language-js/print/function.js"(e,t){k();var r=Lt(),{printDanglingComments:n,printCommentsSeparately:i}=Mt(),a=I(),{getNextNonSpaceNonCommentCharacterIndex:o}=oe(),{builders:{line:s,softline:c,group:u,indent:l,ifBreak:p,hardline:d,join:f,indentIfBreak:_},utils:{removeLines:m,willBreak:g}}=j(),{ArgExpansionBailout:h}=ke(),{getFunctionParameters:y,hasLeadingOwnLineComment:v,isFlowAnnotationComment:D,isJsxNode:b,isTemplateOnItsOwnLine:x,shouldPrintComma:E,startsWithNoLookaheadToken:S,isBinaryish:C,isLineComment:T,hasComment:A,getComments:N,CommentCheckFlags:P,isCallLikeExpression:F,isCallExpression:w,getCallArguments:O,hasNakedLeftSide:L,getLeftSide:M}=$t(),{locEnd:R}=Nt(),{printFunctionParameters:B,shouldGroupFunctionParameters:K}=Ur(),{printPropertyKey:J}=zr(),{printFunctionTypeParameters:U}=Lr();function q(e,t,r){let n=e.getNode(),i=B(e,r,t),a=z(e,r,t),o=K(n,a),s=[U(e,t,r),u([o?u(i):i,a])];return n.body?s.push(" ",r("body")):s.push(t.semi?";":""),s}function V(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&function(e){let t=y(e);return!(1!==t.length||e.typeParameters||A(e,P.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||A(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue())}function z(e,t,r){let n=e.getValue(),i=t("returnType");if(n.returnType&&D(r.originalText,n.returnType))return[" /*: ",i," */"];let a=[i];return n.returnType&&n.returnType.typeAnnotation&&a.unshift(": "),n.predicate&&a.push(n.returnType?" ":": ",t("predicate")),a}function W(e,t,r){let i=e.getValue(),o=t.semi?";":"",s=[];i.argument&&(function(e,t){if(v(e.originalText,t))return!0;if(L(t)){let r,n=t;for(;r=M(n);)if(n=r,v(e.originalText,n))return!0}return!1}(t,i.argument)?s.push([" (",l([d,r("argument")]),d,")"]):C(i.argument)||"SequenceExpression"===i.argument.type?s.push(u([p(" ("," "),l([c,r("argument")]),c,p(")")])):s.push(" ",r("argument")));let f=N(i),_=a(f),m=_&&T(_);return m&&s.push(o),A(i,P.Dangling)&&s.push(" ",n(e,t,!0)),m||s.push(o),s}t.exports={printFunction:function(e,t,r,n){let i=e.getValue(),a=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&n&&n.expandLastArg){let t=e.getParentNode();w(t)&&O(t).length>1&&(a=!0)}let o=[];"TSDeclareFunction"===i.type&&i.declare&&o.push("declare "),i.async&&o.push("async "),i.generator?o.push("function* "):o.push("function "),i.id&&o.push(t("id"));let s=B(e,t,r,a),c=z(e,t,r),l=K(i,c);return o.push(U(e,r,t),u([l?u(s):s,c]),i.body?" ":"",t("body")),r.semi&&(i.declare||!i.body)&&o.push(";"),o},printArrowFunction:function(e,t,r,a){let d=e.getValue(),D=[],C=[],T=!1;if(function s(){let c=function(e,t,r,i){let a=[];if(e.getValue().async&&a.push("async "),V(e,t))a.push(r(["params",0]));else{let n=i&&(i.expandLastArg||i.expandFirstArg),o=z(e,r,t);if(n){if(g(o))throw new h;o=u(m(o))}a.push(u([B(e,r,t,n,!0),o]))}let s=n(e,t,!0,(e=>{let r=o(t.originalText,e,R);return!1!==r&&"=>"===t.originalText.slice(r,r+2)}));return s&&a.push(" ",s),a}(e,t,r,a);if(0===D.length)D.push(c);else{let{leading:r,trailing:n}=i(e,t);D.push([r,c]),C.unshift(n)}T=T||d.returnType&&y(d).length>0||d.typeParameters||y(d).some((e=>"Identifier"!==e.type)),"ArrowFunctionExpression"!==d.body.type||a&&a.expandLastArg?C.unshift(r("body",a)):(d=d.body,e.call(s,"body"))}(),D.length>1)return function(e,t,r,n,i,a){let o=e.getName(),d=e.getParentNode(),m=F(d)&&"callee"===o,g=Boolean(t&&t.assignmentLayout),h="BlockStatement"!==a.body.type&&"ObjectExpression"!==a.body.type&&"SequenceExpression"!==a.body.type,y=m&&h||t&&"chain-tail-arrow-chain"===t.assignmentLayout,v=Symbol("arrow-chain");return"SequenceExpression"===a.body.type&&(i=u(["(",l([c,i]),c,")"])),u([u(l([m||g?c:"",u(f([" =>",s],r),{shouldBreak:n})]),{id:v,shouldBreak:y})," =>",_(h?l([s,i]):[" ",i],{groupId:v}),m?p(c,"",{groupId:v}):""])}(e,a,D,T,C,d);let k=D;if(k.push(" =>"),!v(t.originalText,d.body)&&("ArrayExpression"===d.body.type||"ObjectExpression"===d.body.type||"BlockStatement"===d.body.type||b(d.body)||x(d.body,t.originalText)||"ArrowFunctionExpression"===d.body.type||"DoExpression"===d.body.type))return u([...k," ",C]);if("SequenceExpression"===d.body.type)return u([...k,u([" (",l([c,C]),c,")"])]);let N=(a&&a.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!A(d),P=a&&a.expandLastArg&&E(t,"all"),w="ConditionalExpression"===d.body.type&&!S(d.body,!1);return u([...k,u([l([s,w?p("","("):"",C,w?p("",")"):""]),N?[p(P?",":""),c]:""])])},printMethod:function(e,t,n){let i=e.getNode(),{kind:a}=i,o=i.value||i,s=[];return a&&"init"!==a&&"method"!==a&&"constructor"!==a?(r.ok("get"===a||"set"===a),s.push(a," ")):o.async&&s.push("async "),o.generator&&s.push("*"),s.push(J(e,t,n),i.optional||i.key.optional?"?":""),i===o?s.push(q(e,t,n)):"FunctionExpression"===o.type?s.push(e.call((e=>q(e,t,n)),"value")):s.push(n("value")),s},printReturnStatement:function(e,t,r){return["return",W(e,t,r)]},printThrowStatement:function(e,t,r){return["throw",W(e,t,r)]},printMethodInternal:q,shouldPrintParamsWithoutParens:V}}}),Hr=S({"src/language-js/print/decorators.js"(e,t){k();var{isNonEmptyArray:r,hasNewline:n}=oe(),{builders:{line:i,hardline:a,join:o,breakParent:s,group:c}}=j(),{locStart:u,locEnd:l}=Nt(),{getParentExportDeclaration:p}=$t();function d(e,t){return e.decorators.some((e=>n(t.originalText,l(e))))}function f(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;let t=e.declaration&&e.declaration.decorators;return r(t)&&u(e,{ignoreDecorators:!0})>u(t[0])}t.exports={printDecorators:function(e,t,n){let c=e.getValue(),{decorators:u}=c;if(!r(u)||f(e.getParentNode()))return;let l="ClassExpression"===c.type||"ClassDeclaration"===c.type||d(c,t);return[p(e)?a:l?s:"",o(i,e.map(n,"decorators")),i]},printClassMemberDecorators:function(e,t,r){let n=e.getValue();return c([o(i,e.map(r,"decorators")),d(n,t)?a:i])},printDecoratorsBeforeExport:function(e,t,r){return[o(a,e.map(r,"declaration","decorators")),a]},hasDecoratorsBeforeExport:f}}}),Gr=S({"src/language-js/print/class.js"(e,t){k();var{isNonEmptyArray:r,createGroupIdMapper:n}=oe(),{printComments:i,printDanglingComments:a}=Mt(),{builders:{join:o,line:s,hardline:c,softline:u,group:l,indent:p,ifBreak:d}}=j(),{hasComment:f,CommentCheckFlags:_}=$t(),{getTypeParametersGroupId:m}=Vr(),{printMethod:g}=Wr(),{printOptionalToken:h,printTypeAnnotation:y,printDefiniteToken:v}=Lr(),{printPropertyKey:D}=zr(),{printAssignment:b}=Jr(),{printClassMemberDecorators:x}=Hr();var E=n("heritageGroup");function S(e){return e.typeParameters&&!f(e.typeParameters,_.Trailing|_.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter((t=>Boolean(e[t]))).length>1}(e)}function C(e,t,n,i){let u=e.getValue();if(!r(u[i]))return"";let f=a(e,t,!0,(e=>{let{marker:t}=e;return t===i}));return[S(u)?d(" ",s,{groupId:m(u.typeParameters)}):s,f,f&&c,i,l(p([s,o([",",s],e.map(n,i))]))]}function T(e,t,r){let n=r("superClass");return"AssignmentExpression"===e.getParentNode().type?l(d(["(",p([u,n]),u,")"],n)):n}t.exports={printClass:function(e,t,n){let a=e.getValue(),o=[];a.declare&&o.push("declare "),a.abstract&&o.push("abstract "),o.push("class");let c=a.id&&f(a.id,_.Trailing)||a.typeParameters&&f(a.typeParameters,_.Trailing)||a.superClass&&f(a.superClass)||r(a.extends)||r(a.mixins)||r(a.implements),u=[],d=[];if(a.id&&u.push(" ",n("id")),u.push(n("typeParameters")),a.superClass){let r=[T(e,0,n),n("superTypeParameters")],a=e.call((e=>["extends ",i(e,r,t)]),"superClass");c?d.push(s,l(a)):d.push(" ",a)}else d.push(C(e,t,n,"extends"));if(d.push(C(e,t,n,"mixins"),C(e,t,n,"implements")),c){let e;e=S(a)?[...u,p(d)]:p([...u,d]),o.push(l(e,{id:E(a)}))}else o.push(...u,...d);return o.push(" ",n("body")),o},printClassMethod:function(e,t,n){let i=e.getValue(),a=[];return r(i.decorators)&&a.push(x(e,t,n)),i.accessibility&&a.push(i.accessibility+" "),i.readonly&&a.push("readonly "),i.declare&&a.push("declare "),i.static&&a.push("static "),("TSAbstractMethodDefinition"===i.type||i.abstract)&&a.push("abstract "),i.override&&a.push("override "),a.push(g(e,t,n)),a},printClassProperty:function(e,t,n){let i=e.getValue(),a=[],o=t.semi?";":"";return r(i.decorators)&&a.push(x(e,t,n)),i.accessibility&&a.push(i.accessibility+" "),i.declare&&a.push("declare "),i.static&&a.push("static "),("TSAbstractPropertyDefinition"===i.type||i.abstract)&&a.push("abstract "),i.override&&a.push("override "),i.readonly&&a.push("readonly "),i.variance&&a.push(n("variance")),"ClassAccessorProperty"===i.type&&a.push("accessor "),a.push(D(e,t,n),h(e),v(e),y(e,t,n)),[b(e,t,n,a," =","value"),o]},printHardlineAfterHeritage:function(e){return d(c,"",{groupId:E(e)})}}}}),$r=S({"src/language-js/print/interface.js"(e,t){k();var{isNonEmptyArray:r}=oe(),{builders:{join:n,line:i,group:a,indent:o,ifBreak:s}}=j(),{hasComment:c,identity:u,CommentCheckFlags:l}=$t(),{getTypeParametersGroupId:p}=Vr(),{printTypeScriptModifiers:d}=Lr();t.exports={printInterface:function(e,t,f){let _=e.getValue(),m=[];_.declare&&m.push("declare "),"TSInterfaceDeclaration"===_.type&&m.push(_.abstract?"abstract ":"",d(e,t,f)),m.push("interface");let g=[],h=[];"InterfaceTypeAnnotation"!==_.type&&g.push(" ",f("id"),f("typeParameters"));let y=_.typeParameters&&!c(_.typeParameters,l.Trailing|l.Line);return r(_.extends)&&h.push(y?s(" ",i,{groupId:p(_.typeParameters)}):i,"extends ",(1===_.extends.length?u:o)(n([",",i],e.map(f,"extends")))),_.id&&c(_.id,l.Trailing)||r(_.extends)?y?m.push(a([...g,o(h)])):m.push(a(o([...g,...h]))):m.push(...g,...h),m.push(" ",f("body")),a(m)}}}}),Yr=S({"src/language-js/print/module.js"(e,t){k();var{isNonEmptyArray:r}=oe(),{builders:{softline:n,group:i,indent:a,join:o,line:s,ifBreak:c,hardline:u}}=j(),{printDanglingComments:l}=Mt(),{hasComment:p,CommentCheckFlags:d,shouldPrintComma:f,needsHardlineAfterDanglingComment:_,isStringLiteral:m,rawText:g}=$t(),{locStart:h,hasSameLoc:y}=Nt(),{hasDecoratorsBeforeExport:v,printDecoratorsBeforeExport:D}=Hr();function b(e,t,r){let n=e.getValue();if(!n.source)return"";let i=[];return E(n,t)||i.push(" from"),i.push(" ",r("source")),i}function x(e,t,u){let l=e.getValue();if(E(l,t))return"";let d=[" "];if(r(l.specifiers)){let r=[],_=[];e.each((()=>{let t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)r.push(u());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error("Unknown specifier type ".concat(JSON.stringify(t)));_.push(u())}}),"specifiers"),d.push(o(", ",r)),_.length>0&&(r.length>0&&d.push(", "),_.length>1||r.length>0||l.specifiers.some((e=>p(e)))?d.push(i(["{",a([t.bracketSpacing?s:n,o([",",s],_)]),c(f(t)?",":""),t.bracketSpacing?s:n,"}"])):d.push(["{",t.bracketSpacing?" ":"",..._,t.bracketSpacing?" ":"","}"]))}else d.push("{}");return d}function E(e,t){let{type:n,importKind:i,source:a,specifiers:o}=e;return"ImportDeclaration"===n&&!r(o)&&"type"!==i&&!/{\s*}/.test(t.originalText.slice(h(e),h(a)))}function S(e,t,n){let i=e.getNode();return r(i.assertions)?[" assert {",t.bracketSpacing?" ":"",o(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}t.exports={printImportDeclaration:function(e,t,r){let n=e.getValue(),i=t.semi?";":"",a=[],{importKind:o}=n;return a.push("import"),o&&"value"!==o&&a.push(" ",o),a.push(x(e,t,r),b(e,t,r),S(e,t,r),i),a},printExportDeclaration:function(e,t,r){let n=e.getValue(),i=[];v(n)&&i.push(D(e,t,r));let{type:a,exportKind:o,declaration:s}=n;return i.push("export"),(n.default||"ExportDefaultDeclaration"===a)&&i.push(" default"),p(n,d.Dangling)&&(i.push(" ",l(e,t,!0)),_(n)&&i.push(u)),s?i.push(" ",r("declaration")):i.push("type"===o?" type":"",x(e,t,r),b(e,t,r),S(e,t,r)),function(e,t){if(!t.semi)return!1;let{type:r,declaration:n}=e,i=e.default||"ExportDefaultDeclaration"===r;if(!n)return!0;let{type:a}=n;return!(!i||"ClassDeclaration"===a||"FunctionDeclaration"===a||"TSInterfaceDeclaration"===a||"DeclareClass"===a||"DeclareFunction"===a||"TSDeclareFunction"===a||"EnumDeclaration"===a)}(n,t)&&i.push(";"),i},printExportAllDeclaration:function(e,t,r){let n=e.getValue(),i=t.semi?";":"",a=[],{exportKind:o,exported:s}=n;return a.push("export"),"type"===o&&a.push(" type"),a.push(" *"),s&&a.push(" as ",r("exported")),a.push(b(e,t,r),S(e,t,r),i),a},printModuleSpecifier:function(e,t,r){let n=e.getNode(),{type:i}=n,a=[],o="ImportSpecifier"===i?n.importKind:n.exportKind;o&&"value"!==o&&a.push(o," ");let s=i.startsWith("Import"),c=s?"imported":"local",u=s?"local":"exported",l=n[c],p=n[u],d="",f="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?d="*":l&&(d=r(c)),p&&!function(e){if("ImportSpecifier"!==e.type&&"ExportSpecifier"!==e.type)return!1;let{local:t,["ImportSpecifier"===e.type?"imported":"exported"]:r}=e;return!(t.type!==r.type||!y(t,r))&&(m(t)?t.value===r.value&&g(t)===g(r):"Identifier"===t.type&&t.name===r.name)}(n)&&(f=r(u)),a.push(d,d&&f?" as ":"",f),a}}}}),Xr=S({"src/language-js/print/object.js"(e,t){k();var{printDanglingComments:r}=Mt(),{builders:{line:n,softline:i,group:a,indent:o,ifBreak:s,hardline:c}}=j(),{getLast:u,hasNewlineInRange:l,hasNewline:p,isNonEmptyArray:d}=oe(),{shouldPrintComma:f,hasComment:_,getComments:m,CommentCheckFlags:g,isNextLineEmpty:h}=$t(),{locStart:y,locEnd:v}=Nt(),{printOptionalToken:D,printTypeAnnotation:b}=Lr(),{shouldHugFunctionParameters:x}=Ur(),{shouldHugType:E}=qr(),{printHardlineAfterHeritage:S}=Gr();t.exports={printObject:function(e,t,C){let T,k=t.semi?";":"",A=e.getValue();T="TSTypeLiteral"===A.type?"members":"TSInterfaceBody"===A.type?"body":"properties";let N="ObjectTypeAnnotation"===A.type,P=[T];N&&P.push("indexers","callProperties","internalSlots");let F=P.map((e=>A[e][0])).sort(((e,t)=>y(e)-y(t)))[0],w=e.getParentNode(0),I=N&&w&&("InterfaceDeclaration"===w.type||"DeclareInterface"===w.type||"DeclareClass"===w.type)&&"body"===e.getName(),O="TSInterfaceBody"===A.type||I||"ObjectPattern"===A.type&&"FunctionDeclaration"!==w.type&&"FunctionExpression"!==w.type&&"ArrowFunctionExpression"!==w.type&&"ObjectMethod"!==w.type&&"ClassMethod"!==w.type&&"ClassPrivateMethod"!==w.type&&"AssignmentPattern"!==w.type&&"CatchClause"!==w.type&&A.properties.some((e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)))||"ObjectPattern"!==A.type&&F&&l(t.originalText,y(A),y(F)),L=I?";":"TSInterfaceBody"===A.type||"TSTypeLiteral"===A.type?s(k,";"):",",M="RecordExpression"===A.type?"#{":A.exact?"{|":"{",R=A.exact?"|}":"}",B=[];for(let t of P)e.each((e=>{let t=e.getValue();B.push({node:t,printed:C(),loc:y(t)})}),t);P.length>1&&B.sort(((e,t)=>e.loc-t.loc));let j=[],K=B.map((e=>{let r=[...j,a(e.printed)];return j=[L,n],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&_(e.node,g.PrettierIgnore)&&j.shift(),h(e.node,t)&&j.push(c),r}));if(A.inexact){let i;if(_(A,g.Dangling)){let a=_(A,g.Line);i=[r(e,t,!0),a||p(t.originalText,v(u(m(A))))?c:n,"..."]}else i=["..."];K.push([...j,...i])}let J,U=u(A[T]),q=!(A.inexact||U&&"RestElement"===U.type||U&&("TSPropertySignature"===U.type||"TSCallSignatureDeclaration"===U.type||"TSMethodSignature"===U.type||"TSConstructSignatureDeclaration"===U.type)&&_(U,g.PrettierIgnore));if(0===K.length){if(!_(A,g.Dangling))return[M,R,b(e,t,C)];J=a([M,r(e,t),i,R,D(e),b(e,t,C)])}else J=[I&&d(A.properties)?S(w):"",M,o([t.bracketSpacing?n:i,...K]),s(q&&(","!==L||f(t))?L:""),t.bracketSpacing?n:i,R,D(e),b(e,t,C)];return e.match((e=>"ObjectPattern"===e.type&&!e.decorators),((e,t,r)=>x(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||e.match(E,((e,t)=>"typeAnnotation"===t),((e,t)=>"typeAnnotation"===t),((e,t,r)=>x(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||!O&&e.match((e=>"ObjectPattern"===e.type),(e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type))?J:a(J,{shouldBreak:O})}}}}),Qr=S({"src/language-js/print/flow.js"(e,t){k();var r=Lt(),{printDanglingComments:n}=Mt(),{printString:i,printNumber:a}=oe(),{builders:{hardline:o,softline:s,group:c,indent:u}}=j(),{getParentExportDeclaration:l,isFunctionNotation:p,isGetterOrSetter:d,rawText:f,shouldPrintComma:_}=$t(),{locStart:m,locEnd:g}=Nt(),{printClass:h}=Gr(),{printOpaqueType:y,printTypeAlias:v,printIntersectionType:D,printUnionType:b,printFunctionType:x,printTupleType:E,printIndexedAccessType:S}=qr(),{printInterface:C}=$r(),{printTypeParameter:T,printTypeParameters:A}=Vr(),{printExportDeclaration:N,printExportAllDeclaration:P}=Yr(),{printArrayItems:F}=Mr(),{printObject:w}=Xr(),{printPropertyKey:I}=zr(),{printOptionalToken:O,printTypeAnnotation:L,printRestSpread:M}=Lr();function R(e,t){let n=l(e);return n?(r.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:function(e,t,l){let k=e.getValue(),B=t.semi?";":"",j=[];switch(k.type){case"DeclareClass":return R(e,h(e,t,l));case"DeclareFunction":return R(e,["function ",l("id"),k.predicate?" ":"",l("predicate"),B]);case"DeclareModule":return R(e,["module ",l("id")," ",l("body")]);case"DeclareModuleExports":return R(e,["module.exports",": ",l("typeAnnotation"),B]);case"DeclareVariable":return R(e,["var ",l("id"),B]);case"DeclareOpaqueType":return R(e,y(e,t,l));case"DeclareInterface":return R(e,C(e,t,l));case"DeclareTypeAlias":return R(e,v(e,t,l));case"DeclareExportDeclaration":return R(e,N(e,t,l));case"DeclareExportAllDeclaration":return R(e,P(e,t,l));case"OpaqueType":return y(e,t,l);case"TypeAlias":return v(e,t,l);case"IntersectionTypeAnnotation":return D(e,t,l);case"UnionTypeAnnotation":return b(e,t,l);case"FunctionTypeAnnotation":return x(e,t,l);case"TupleTypeAnnotation":return E(e,t,l);case"GenericTypeAnnotation":return[l("id"),A(e,t,l,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return S(e,t,l);case"TypeAnnotation":return l("typeAnnotation");case"TypeParameter":return T(e,t,l);case"TypeofTypeAnnotation":return["typeof ",l("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[l("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(k.value);case"EnumDeclaration":return["enum ",l("id")," ",l("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===k.type||k.explicitType){let e=null;switch(k.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}j.push("of ",e," ")}if(0!==k.members.length||k.hasUnknownMembers){let r=k.members.length>0?[o,F(e,t,"members",l),k.hasUnknownMembers||_(t)?",":""]:[];j.push(c(["{",u([...r,...k.hasUnknownMembers?[o,"..."]:[]]),n(e,t,!0),o,"}"]))}else j.push(c(["{",n(e,t),s,"}"]));return j;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[l("id")," = ","object"==typeof k.init?l("init"):String(k.init)];case"EnumDefaultedMember":return l("id");case"FunctionTypeParam":{let t=k.name?l("name"):e.getParentNode().this===k?"this":"";return[t,O(e),t?": ":"",l("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return C(e,t,l);case"ClassImplements":case"InterfaceExtends":return[l("id"),l("typeParameters")];case"NullableTypeAnnotation":return["?",l("typeAnnotation")];case"Variance":{let{kind:e}=k;return r.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return k.static&&j.push("static "),j.push(l("value")),j;case"ObjectTypeIndexer":return[k.static?"static ":"",k.variance?l("variance"):"","[",l("id"),k.id?": ":"",l("key"),"]: ",l("value")];case"ObjectTypeProperty":{let r="";return k.proto?r="proto ":k.static&&(r="static "),[r,d(k)?k.kind+" ":"",k.variance?l("variance"):"",I(e,t,l),O(e),p(k)?"":": ",l("value")]}case"ObjectTypeAnnotation":return w(e,t,l);case"ObjectTypeInternalSlot":return[k.static?"static ":"","[[",l("id"),"]]",O(e),k.method?"":": ",l("value")];case"ObjectTypeSpreadProperty":return M(e,t,l);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[l("qualification"),".",l("id")];case"StringLiteralTypeAnnotation":return i(f(k),t);case"NumberLiteralTypeAnnotation":r.strictEqual(typeof k.value,"number");case"BigIntLiteralTypeAnnotation":return k.extra?a(k.extra.raw):a(k.raw);case"TypeCastExpression":return["(",l("expression"),L(e,t,l),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let r=A(e,t,l,"params");if("flow"===t.parser){let e=m(k),n=g(k),i=t.originalText.lastIndexOf("/*",e),a=t.originalText.indexOf("*/",n);if(-1!==i&&-1!==a){let e=t.originalText.slice(i+2,a).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",r," */"]}}return r}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",l("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(k.type))}}}}}),Zr=S({"src/language-js/utils/is-ts-keyword-type.js"(e,t){k(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),en=S({"src/language-js/print/ternary.js"(e,t){k();var{hasNewlineInRange:r}=oe(),{isJsxNode:n,getComments:i,isCallExpression:a,isMemberExpression:o}=$t(),{locStart:s,locEnd:c}=Nt(),u=Gt(),{builders:{line:l,softline:p,group:d,indent:f,align:_,ifBreak:m,dedent:g,breakParent:h}}=j();function y(e,t,r){let n=e.getValue(),i="ConditionalExpression"===n.type,a=i?"alternate":"falseType",o=e.getParentNode(),s=i?r("test"):[r("checkType")," ","extends"," ",r("extendsType")];return o.type===n.type&&o[a]===n?_(2,s):s}var v=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);t.exports={printTernary:function(e,t,D){let b,x,E=e.getValue(),S="ConditionalExpression"===E.type,C=S?"consequent":"trueType",T=S?"alternate":"falseType",k=S?["test"]:["checkType","extendsType"],A=E[C],N=E[T],P=[],F=!1,w=e.getParentNode(),I=w.type===E.type&&k.some((e=>w[e]===E)),O=w.type===E.type&&!I,L=0;do{x=b||E,b=e.getParentNode(L),L++}while(b&&b.type===E.type&&k.every((e=>b[e]!==x)));let M=b||w,R=x;if(S&&(n(E[k[0]])||n(A)||n(N)||function(e){let t=[e];for(let e=0;e<t.length;e++){let r=t[e];for(let e of["test","consequent","alternate"]){let i=r[e];if(n(i))return!0;"ConditionalExpression"===i.type&&t.push(i)}}return!1}(R))){F=!0,O=!0;let e=e=>[m("("),f([p,e]),p,m(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;P.push(" ? ",t(A)?D(C):e(D(C))," : ",N.type===E.type||t(N)?D(T):e(D(T)))}else{let e=[l,"? ",A.type===E.type?m("","("):"",_(2,D(C)),A.type===E.type?m("",")"):"",l,": ",N.type===E.type?D(T):_(2,D(T))];P.push(w.type!==E.type||w[T]===E||I?e:t.useTabs?g(f(e)):_(Math.max(0,t.tabWidth-2),e))}let B=[...k.map((e=>i(E[e]))),i(A),i(N)].flat().some((e=>u(e)&&r(t.originalText,s(e),c(e)))),j=!F&&(o(w)||"NGPipeExpression"===w.type&&w.left===E)&&!w.computed,K=function(e){let t=e.getValue();if("ConditionalExpression"!==t.type)return!1;let r,n=t;for(let t=0;!r;t++){let i=e.getParentNode(t);a(i)&&i.callee===n||o(i)&&i.object===n||"TSNonNullExpression"===i.type&&i.expression===n?n=i:"NewExpression"===i.type&&i.callee===n||"TSAsExpression"===i.type&&i.expression===n?(r=e.getParentNode(t+1),n=i):r=i}return n!==t&&r[v.get(r.type)]===n}(e),J=(U=[y(e,0,D),O?P:f(P),S&&j&&!K?p:""],w===M?d(U,{shouldBreak:B}):B?[U,h]:U);var U;return I||K?d([f([p,J]),p]):J}}}}),tn=S({"src/language-js/print/statement.js"(e,t){k();var{builders:{hardline:r}}=j(),n=Nr(),{getLeftSidePathName:i,hasNakedLeftSide:a,isJsxNode:o,isTheOnlyJsxElementInMarkdown:s,hasComment:c,CommentCheckFlags:u,isNextLineEmpty:l}=$t(),{shouldPrintParamsWithoutParens:p}=Wr();function d(e,t,n,i){let a=e.getValue(),o=[],p="ClassBody"===a.type,d=function(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if("EmptyStatement"!==r.type)return r}}(a[i]);return e.each(((e,i,a)=>{let m=e.getValue();if("EmptyStatement"===m.type)return;let g=n();t.semi||p||s(t,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((e=>f(e,t)),"expression")}(e,t)?o.push(g):c(m,u.Leading)?o.push(n([],{needsSemi:!0})):o.push(";",g),!t.semi&&p&&_(m)&&function(e,t){let r=e.key&&e.key.name;if(!("static"!==r&&"get"!==r&&"set"!==r||e.value||e.typeAnnotation))return!0;if(!t||t.static||t.accessibility)return!1;if(!t.computed){let e=t.key&&t.key.name;if("in"===e||"instanceof"===e)return!0}if(_(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;let e=t.value?t.value.generator:t.generator;return!(!t.computed&&!e)}case"TSIndexSignature":return!0}return!1}(m,a[i+1])&&o.push(";"),m!==d&&(o.push(r),l(m,t)&&o.push(r))}),i),o}function f(e,t){let r=e.getValue();switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!p(e,t))return!0;break;case"UnaryExpression":{let{prefix:e,operator:t}=r;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(o(r))return!0}return!!n(e,t)||!!a(r)&&e.call((e=>f(e,t)),...i(e,r))}var _=e=>{let{type:t}=e;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t||"ClassAccessorProperty"===t};t.exports={printBody:function(e,t,r){return d(e,t,r,"body")},printSwitchCaseConsequent:function(e,t,r){return d(e,t,r,"consequent")}}}}),rn=S({"src/language-js/print/block.js"(e,t){k();var{printDanglingComments:r}=Mt(),{isNonEmptyArray:n}=oe(),{builders:{hardline:i,indent:a}}=j(),{hasComment:o,CommentCheckFlags:s,isNextLineEmpty:c}=$t(),{printHardlineAfterHeritage:u}=Gr(),{printBody:l}=tn();function p(e,t,a){let u=e.getValue(),p=n(u.directives),d=u.body.some((e=>"EmptyStatement"!==e.type)),f=o(u,s.Dangling);if(!p&&!d&&!f)return"";let _=[];if(p&&e.each(((e,r,n)=>{_.push(a()),(r<n.length-1||d||f)&&(_.push(i),c(e.getValue(),t)&&_.push(i))}),"directives"),d&&_.push(l(e,t,a)),f&&_.push(r(e,t,!0)),"Program"===u.type){let t=e.getParentNode();(!t||"ModuleExpression"!==t.type)&&_.push(i)}return _}t.exports={printBlock:function(e,t,r){let o=e.getValue(),s=[];if("StaticBlock"===o.type&&s.push("static "),"ClassBody"===o.type&&n(o.body)){let t=e.getParentNode();s.push(u(t))}s.push("{");let c=p(e,t,r);if(c)s.push(a([i,c]),i);else{let t=e.getParentNode(),r=e.getParentNode(1);"ArrowFunctionExpression"===t.type||"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"ObjectMethod"===t.type||"ClassMethod"===t.type||"ClassPrivateMethod"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"DoExpression"===t.type||"CatchClause"===t.type&&!r.finalizer||"TSModuleDeclaration"===t.type||"TSDeclareFunction"===t.type||"StaticBlock"===o.type||"ClassBody"===o.type||s.push(i)}return s.push("}"),s},printBlockBody:p}}}),nn=S({"src/language-js/print/typescript.js"(e,t){k();var{printDanglingComments:r}=Mt(),{hasNewlineInRange:n}=oe(),{builders:{join:i,line:a,hardline:o,softline:s,group:c,indent:u,conditionalGroup:l,ifBreak:p}}=j(),{isLiteral:d,getTypeScriptMappedTypeModifier:f,shouldPrintComma:_,isCallExpression:m,isMemberExpression:g}=$t(),h=Zr(),{locStart:y,locEnd:v}=Nt(),{printOptionalToken:D,printTypeScriptModifiers:b}=Lr(),{printTernary:x}=en(),{printFunctionParameters:E,shouldGroupFunctionParameters:S}=Ur(),{printTemplateLiteral:C}=Yt(),{printArrayItems:T}=Mr(),{printObject:A}=Xr(),{printClassProperty:N,printClassMethod:P}=Gr(),{printTypeParameter:F,printTypeParameters:w}=Vr(),{printPropertyKey:I}=zr(),{printFunction:O,printMethodInternal:L}=Wr(),{printInterface:M}=$r(),{printBlock:R}=rn(),{printTypeAlias:B,printIntersectionType:K,printUnionType:J,printFunctionType:U,printTupleType:q,printIndexedAccessType:V}=qr();t.exports={printTypescript:function(e,t,k){let j=e.getValue();if(!j.type.startsWith("TS"))return;if(h(j))return j.type.slice(2,-7).toLowerCase();let z=t.semi?";":"",W=[];switch(j.type){case"TSThisType":return"this";case"TSTypeAssertion":{let e=!("ArrayExpression"===j.expression.type||"ObjectExpression"===j.expression.type),t=c(["<",u([s,k("typeAnnotation")]),s,">"]),r=[p("("),u([s,k("expression")]),s,p(")")];return e?l([[t,k("expression")],[t,c(r,{shouldBreak:!0})],[t,k("expression")]]):c([t,k("expression")])}case"TSDeclareFunction":return O(e,k,t);case"TSExportAssignment":return["export = ",k("expression"),z];case"TSModuleBlock":return R(e,t,k);case"TSInterfaceBody":case"TSTypeLiteral":return A(e,t,k);case"TSTypeAliasDeclaration":return B(e,t,k);case"TSQualifiedName":return i(".",[k("left"),k("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return P(e,t,k);case"TSAbstractPropertyDefinition":return N(e,t,k);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return W.push(k("expression")),j.typeParameters&&W.push(k("typeParameters")),W;case"TSTemplateLiteralType":return C(e,k,t);case"TSNamedTupleMember":return[k("label"),j.optional?"?":"",": ",k("elementType")];case"TSRestType":return["...",k("typeAnnotation")];case"TSOptionalType":return[k("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return M(e,t,k);case"TSClassImplements":return[k("expression"),k("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return w(e,t,k,"params");case"TSTypeParameter":return F(e,t,k);case"TSAsExpression":{W.push(k("expression")," as ",k("typeAnnotation"));let t=e.getParentNode();return m(t)&&t.callee===j||g(t)&&t.object===j?c([u([s,...W]),s]):W}case"TSArrayType":return[k("elementType"),"[]"];case"TSPropertySignature":return j.readonly&&W.push("readonly "),W.push(I(e,t,k),D(e)),j.typeAnnotation&&W.push(": ",k("typeAnnotation")),j.initializer&&W.push(" = ",k("initializer")),W;case"TSParameterProperty":return j.accessibility&&W.push(j.accessibility+" "),j.export&&W.push("export "),j.static&&W.push("static "),j.override&&W.push("override "),j.readonly&&W.push("readonly "),W.push(k("parameter")),W;case"TSTypeQuery":return["typeof ",k("exprName")];case"TSIndexSignature":{let r=e.getParentNode(),n=j.parameters.length>1?p(_(t)?",":""):"",a=c([u([s,i([", ",s],e.map(k,"parameters"))]),n,s]);return[j.export?"export ":"",j.accessibility?[j.accessibility," "]:"",j.static?"static ":"",j.readonly?"readonly ":"",j.declare?"declare ":"","[",j.parameters?a:"",j.typeAnnotation?"]: ":"]",j.typeAnnotation?k("typeAnnotation"):"","ClassBody"===r.type?z:""]}case"TSTypePredicate":return[j.asserts?"asserts ":"",k("parameterName"),j.typeAnnotation?[" is ",k("typeAnnotation")]:""];case"TSNonNullExpression":return[k("expression"),"!"];case"TSImportType":return[j.isTypeOf?"typeof ":"","import(",k(j.parameter?"parameter":"argument"),")",j.qualifier?[".",k("qualifier")]:"",w(e,t,k,"typeParameters")];case"TSLiteralType":return k("literal");case"TSIndexedAccessType":return V(e,t,k);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===j.type&&j.abstract&&W.push("abstract "),"TSCallSignatureDeclaration"!==j.type&&W.push("new "),W.push(c(E(e,k,t,!1,!0))),j.returnType||j.typeAnnotation){let e="TSConstructorType"===j.type;W.push(e?" => ":": ",k("returnType"),k("typeAnnotation"))}return W;case"TSTypeOperator":return[j.operator," ",k("typeAnnotation")];case"TSMappedType":{let i=n(t.originalText,y(j),v(j));return c(["{",u([t.bracketSpacing?a:s,j.readonly?[f(j.readonly,"readonly")," "]:"",b(e,t,k),k("typeParameter"),j.optional?f(j.optional,"?"):"",j.typeAnnotation?": ":"",k("typeAnnotation"),p(z)]),r(e,t,!0),t.bracketSpacing?a:s,"}"],{shouldBreak:i})}case"TSMethodSignature":{let r=j.kind&&"method"!==j.kind?"".concat(j.kind," "):"";W.push(j.accessibility?[j.accessibility," "]:"",r,j.export?"export ":"",j.static?"static ":"",j.readonly?"readonly ":"",j.abstract?"abstract ":"",j.declare?"declare ":"",j.computed?"[":"",k("key"),j.computed?"]":"",D(e));let n=E(e,k,t,!1,!0),i=j.returnType?"returnType":"typeAnnotation",a=j[i],o=a?k(i):"",s=S(j,o);return W.push(s?c(n):n),a&&W.push(": ",c(o)),c(W)}case"TSNamespaceExportDeclaration":return W.push("export as namespace ",k("id")),t.semi&&W.push(";"),c(W);case"TSEnumDeclaration":return j.declare&&W.push("declare "),j.modifiers&&W.push(b(e,t,k)),j.const&&W.push("const "),W.push("enum ",k("id")," "),0===j.members.length?W.push(c(["{",r(e,t),s,"}"])):W.push(c(["{",u([o,T(e,t,"members",k),_(t,"es5")?",":""]),r(e,t,!0),o,"}"])),W;case"TSEnumMember":return W.push(k("id")),j.initializer&&W.push(" = ",k("initializer")),W;case"TSImportEqualsDeclaration":return j.isExport&&W.push("export "),W.push("import "),j.importKind&&"value"!==j.importKind&&W.push(j.importKind," "),W.push(k("id")," = ",k("moduleReference")),t.semi&&W.push(";"),c(W);case"TSExternalModuleReference":return["require(",k("expression"),")"];case"TSModuleDeclaration":{let r=e.getParentNode(),n=d(j.id),i="TSModuleDeclaration"===r.type,a=j.body&&"TSModuleDeclaration"===j.body.type;if(i)W.push(".");else{j.declare&&W.push("declare "),W.push(b(e,t,k));let r=t.originalText.slice(y(j),y(j.id));"Identifier"===j.id.type&&"global"===j.id.name&&!/namespace|module/.test(r)||W.push(n||/(?:^|\s)module(?:\s|$)/.test(r)?"module ":"namespace ")}return W.push(k("id")),a?W.push(k("body")):j.body?W.push(" ",c(k("body"))):W.push(z),W}case"TSConditionalType":return x(e,t,k);case"TSInferType":return["infer"," ",k("typeParameter")];case"TSIntersectionType":return K(e,t,k);case"TSUnionType":return J(e,t,k);case"TSFunctionType":return U(e,t,k);case"TSTupleType":return q(e,t,k);case"TSTypeReference":return[k("typeName"),w(e,t,k,"typeParameters")];case"TSTypeAnnotation":return k("typeAnnotation");case"TSEmptyBodyFunctionExpression":return L(e,t,k);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",k("typeAnnotation")];case"TSJSDocNonNullableType":return["!",k("typeAnnotation")];default:throw new Error("Unknown TypeScript node type: ".concat(JSON.stringify(j.type),"."))}}}}}),an=S({"src/language-js/print/comment.js"(e,t){k();var{hasNewline:r}=oe(),{builders:{join:n,hardline:i},utils:{replaceTextEndOfLine:a}}=j(),{isLineComment:o}=$t(),{locStart:s,locEnd:c}=Nt(),u=Gt();t.exports={printComment:function(e,t){let l=e.getValue();if(o(l))return t.originalText.slice(s(l),c(l)).trimEnd();if(u(l)){if(function(e){let t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every((e=>"*"===e.trim()[0]))}(l)){let e=function(e){let t=e.value.split("\n");return["/*",n(i,t.map(((e,r)=>0===r?e.trimEnd():" "+(r<t.length-1?e.trim():e.trimStart())))),"*/"]}(l);return l.trailing&&!r(t.originalText,s(l),{backwards:!0})?[i,e]:e}let e=c(l),o="*-/"===t.originalText.slice(e-3,e);return["/*",a(l.value),o?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(l))}}}}),on=S({"src/language-js/print/literal.js"(e,t){k();var{printString:r,printNumber:n}=oe();function i(e){return e.toLowerCase()}function a(e){let{pattern:t,flags:r}=e;return r=[...r].sort().join(""),"/".concat(t,"/").concat(r)}t.exports={printLiteral:function(e,t){let o=e.getNode();switch(o.type){case"RegExpLiteral":return a(o);case"BigIntLiteral":return i(o.bigint||o.extra.raw);case"NumericLiteral":return n(o.extra.raw);case"StringLiteral":return r(o.extra.raw,t);case"NullLiteral":return"null";case"BooleanLiteral":return String(o.value);case"DecimalLiteral":return n(o.value)+"m";case"Literal":{if(o.regex)return a(o.regex);if(o.bigint)return i(o.raw);if(o.decimal)return n(o.decimal)+"m";let{value:e}=o;return"number"==typeof e?n(o.raw):"string"==typeof e?r(o.raw,t):String(e)}}}}}}),sn=S({"src/language-js/printer-estree.js"(e,t){k();var{printDanglingComments:r}=Mt(),{hasNewline:n}=oe(),{builders:{join:i,line:a,hardline:o,softline:s,group:c,indent:u},utils:{replaceTextEndOfLine:l}}=j(),p=tr(),d=rr(),{insertPragma:f}=kr(),_=Ar(),m=Nr(),g=Pr(),{hasFlowShorthandAnnotationComment:h,hasComment:y,CommentCheckFlags:v,isTheOnlyJsxElementInMarkdown:D,isLineComment:b,isNextLineEmpty:x,needsHardlineAfterDanglingComment:E,rawText:S,hasIgnoreComment:C,isCallExpression:T,isMemberExpression:A,markerForIfWithoutBlockAndSameLineComment:N}=$t(),{locStart:P,locEnd:F}=Nt(),w=Gt(),{printHtmlBinding:I,isVueEventBindingExpression:O}=Fr(),{printAngular:L}=Ir(),{printJsx:M,hasJsxIgnoreComment:R}=Or(),{printFlow:B}=Qr(),{printTypescript:K}=nn(),{printOptionalToken:J,printBindExpressionCallee:U,printTypeAnnotation:q,adjustClause:V,printRestSpread:z,printDefiniteToken:W}=Lr(),{printImportDeclaration:H,printExportDeclaration:G,printExportAllDeclaration:$,printModuleSpecifier:Y}=Yr(),{printTernary:X}=en(),{printTemplateLiteral:Q}=Yt(),{printArray:Z}=Mr(),{printObject:ee}=Xr(),{printClass:te,printClassMethod:re,printClassProperty:ne}=Gr(),{printProperty:ie}=zr(),{printFunction:ae,printArrowFunction:se,printMethod:ce,printReturnStatement:ue,printThrowStatement:le}=Wr(),{printCallExpression:pe}=Kr(),{printVariableDeclarator:de,printAssignmentExpression:fe}=Jr(),{printBinaryishExpression:_e}=wr(),{printSwitchCaseConsequent:me}=tn(),{printMemberExpression:ge}=Br(),{printBlock:he,printBlockBody:ye}=rn(),{printComment:ve}=an(),{printLiteral:De}=on(),{printDecorators:be}=Hr();function xe(e,t){let r=S(e),n=r.slice(1,-1);if(n.includes('"')||n.includes("'"))return r;let i=t.singleQuote?"'":'"';return i+n+i}t.exports={preprocess:g,print:function(e,t,p,d){let f=function(e,t,p,d){let f=e.getValue(),_=t.semi?";":"";if(!f)return"";if("string"==typeof f)return f;for(let r of[De,I,L,M,B,K]){let n=r(e,t,p);if(typeof n<"u")return n}let m=[];switch(f.type){case"JsExpressionRoot":return p("node");case"JsonRoot":return[p("node"),o];case"File":return f.program&&f.program.interpreter&&m.push(p(["program","interpreter"])),m.push(p("program")),m;case"Program":return ye(e,t,p);case"EmptyStatement":return"";case"ExpressionStatement":{if(f.directive)return[xe(f.expression,t),_];if("__vue_event_binding"===t.parser){let t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===f)return[p("expression"),O(f.expression)?";":""]}let n=r(e,t,!0,(e=>{let{marker:t}=e;return t===N}));return[p("expression"),D(t,e)?"":_,n?[" ",n]:""]}case"ParenthesizedExpression":return y(f.expression)||"ObjectExpression"!==f.expression.type&&"ArrayExpression"!==f.expression.type?c(["(",u([s,p("expression")]),s,")"]):["(",p("expression"),")"];case"AssignmentExpression":return fe(e,t,p);case"VariableDeclarator":return de(e,t,p);case"BinaryExpression":case"LogicalExpression":return _e(e,t,p);case"AssignmentPattern":return[p("left")," = ",p("right")];case"OptionalMemberExpression":case"MemberExpression":return ge(e,t,p);case"MetaProperty":return[p("meta"),".",p("property")];case"BindExpression":return f.object&&m.push(p("object")),m.push(c(u([s,U(e,t,p)]))),m;case"Identifier":return[f.name,J(e),W(e),q(e,t,p)];case"V8IntrinsicIdentifier":return["%",f.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return z(e,t,p);case"FunctionDeclaration":case"FunctionExpression":return ae(e,p,t,d);case"ArrowFunctionExpression":return se(e,t,p,d);case"YieldExpression":return m.push("yield"),f.delegate&&m.push("*"),f.argument&&m.push(" ",p("argument")),m;case"AwaitExpression":if(m.push("await"),f.argument){m.push(" ",p("argument"));let t=e.getParentNode();if(T(t)&&t.callee===f||A(t)&&t.object===f){m=[u([s,...m]),s];let t=e.findAncestor((e=>"AwaitExpression"===e.type||"BlockStatement"===e.type));if(!t||"AwaitExpression"!==t.type)return c(m)}}return m;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return G(e,t,p);case"ExportAllDeclaration":return $(e,t,p);case"ImportDeclaration":return H(e,t,p);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Y(e,t,p);case"ImportAttribute":return[p("key"),": ",p("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return he(e,t,p);case"ThrowStatement":return le(e,t,p);case"ReturnStatement":return ue(e,t,p);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return pe(e,t,p);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ee(e,t,p);case"ObjectProperty":case"Property":return f.method||"get"===f.kind||"set"===f.kind?ce(e,t,p):ie(e,t,p);case"ObjectMethod":return ce(e,t,p);case"Decorator":return["@",p("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Z(e,t,p);case"SequenceExpression":{let t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){let t=[];return e.each(((e,r)=>{0===r?t.push(p()):t.push(",",u([a,p()]))}),"expressions"),c(t)}return c(i([",",a],e.map(p,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[p("value"),_];case"DirectiveLiteral":return xe(f,t);case"UnaryExpression":return m.push(f.operator),/[a-z]$/.test(f.operator)&&m.push(" "),y(f.argument)?m.push(c(["(",u([s,p("argument")]),s,")"])):m.push(p("argument")),m;case"UpdateExpression":return m.push(p("argument"),f.operator),f.prefix&&m.reverse(),m;case"ConditionalExpression":return X(e,t,p);case"VariableDeclaration":{let t,r=e.map(p,"declarations"),n=e.getParentNode(),i="ForStatement"===n.type||"ForInStatement"===n.type||"ForOfStatement"===n.type,s=f.declarations.some((e=>e.init));return 1!==r.length||y(f.declarations[0])?r.length>0&&(t=u(r[0])):t=r[0],m=[f.declare?"declare ":"",f.kind,t?[" ",t]:"",u(r.slice(1).map((e=>[",",s&&!i?o:a,e])))],i&&n.body!==f||m.push(_),c(m)}case"WithStatement":return c(["with (",p("object"),")",V(f.body,p("body"))]);case"IfStatement":{let n=V(f.consequent,p("consequent")),i=c(["if (",c([u([s,p("test")]),s]),")",n]);if(m.push(i),f.alternate){let n=y(f.consequent,v.Trailing|v.Line)||E(f),i="BlockStatement"===f.consequent.type&&!n;m.push(i?" ":o),y(f,v.Dangling)&&m.push(r(e,t,!0),n?o:" "),m.push("else",c(V(f.alternate,p("alternate"),"IfStatement"===f.alternate.type)))}return m}case"ForStatement":{let n=V(f.body,p("body")),i=r(e,t,!0),o=i?[i,s]:"";return f.init||f.test||f.update?[o,c(["for (",c([u([s,p("init"),";",a,p("test"),";",a,p("update")]),s]),")",n])]:[o,c(["for (;;)",n])]}case"WhileStatement":return c(["while (",c([u([s,p("test")]),s]),")",V(f.body,p("body"))]);case"ForInStatement":return c(["for (",p("left")," in ",p("right"),")",V(f.body,p("body"))]);case"ForOfStatement":return c(["for",f.await?" await":""," (",p("left")," of ",p("right"),")",V(f.body,p("body"))]);case"DoWhileStatement":{let e=V(f.body,p("body"));return m=[c(["do",e])],"BlockStatement"===f.body.type?m.push(" "):m.push(o),m.push("while (",c([u([s,p("test")]),s]),")",_),m}case"DoExpression":return[f.async?"async ":"","do ",p("body")];case"BreakStatement":return m.push("break"),f.label&&m.push(" ",p("label")),m.push(_),m;case"ContinueStatement":return m.push("continue"),f.label&&m.push(" ",p("label")),m.push(_),m;case"LabeledStatement":return"EmptyStatement"===f.body.type?[p("label"),":;"]:[p("label"),": ",p("body")];case"TryStatement":return["try ",p("block"),f.handler?[" ",p("handler")]:"",f.finalizer?[" finally ",p("finalizer")]:""];case"CatchClause":if(f.param){let e=y(f.param,(e=>!w(e)||e.leading&&n(t.originalText,F(e))||e.trailing&&n(t.originalText,P(e),{backwards:!0}))),r=p("param");return["catch ",e?["(",u([s,r]),s,") "]:["(",r,") "],p("body")]}return["catch ",p("body")];case"SwitchStatement":return[c(["switch (",u([s,p("discriminant")]),s,")"])," {",f.cases.length>0?u([o,i(o,e.map(((e,r,n)=>{let i=e.getValue();return[p(),r!==n.length-1&&x(i,t)?o:""]}),"cases"))]):"",o,"}"];case"SwitchCase":{f.test?m.push("case ",p("test"),":"):m.push("default:"),y(f,v.Dangling)&&m.push(" ",r(e,t,!0));let n=f.consequent.filter((e=>"EmptyStatement"!==e.type));if(n.length>0){let r=me(e,t,p);m.push(1===n.length&&"BlockStatement"===n[0].type?[" ",r]:u([o,r]))}return m}case"DebuggerStatement":return["debugger",_];case"ClassDeclaration":case"ClassExpression":return te(e,t,p);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return re(e,t,p);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":return ne(e,t,p);case"TemplateElement":return l(f.value.raw);case"TemplateLiteral":return Q(e,p,t);case"TaggedTemplateExpression":return[p("tag"),p("typeParameters"),p("quasi")];case"PrivateIdentifier":return["#",p("name")];case"PrivateName":return["#",p("id")];case"InterpreterDirective":return m.push("#!",f.value,o),x(f,t)&&m.push(o),m;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{m.push("module {");let e=p("body");return e&&m.push(u([o,e]),o),m.push("}"),m}default:throw new Error("unknown type: "+JSON.stringify(f.type))}}(e,t,p,d);if(!f)return"";let _=e.getValue(),{type:g}=_;if("ClassMethod"===g||"ClassPrivateMethod"===g||"ClassProperty"===g||"ClassAccessorProperty"===g||"PropertyDefinition"===g||"TSAbstractPropertyDefinition"===g||"ClassPrivateProperty"===g||"MethodDefinition"===g||"TSAbstractMethodDefinition"===g||"TSDeclareMethod"===g)return f;let b=[f],S=be(e,t,p),C="ClassExpression"===_.type&&S;if(S&&(b=[...S,f],!C))return c(b);if(!m(e,t))return d&&d.needsSemi&&b.unshift(";"),1===b.length&&b[0]===f?f:b;if(C&&(b=[u([a,...b])]),b.unshift("("),d&&d.needsSemi&&b.unshift(";"),h(_)){let[e]=_.trailingComments;b.push(" /*",e.value.trimStart(),"*/"),e.printed=!0}return C&&b.push(a),b.push(")"),b},embed:p,insertPragma:f,massageAstNode:d,hasPrettierIgnore:e=>C(e)||R(e),willPrintOwnComments:_.willPrintOwnComments,canAttachComment:function(e){return e.type&&!w(e)&&!b(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:ve,isBlockComment:w,handleComments:{avoidAstMutation:!0,ownLine:_.handleOwnLineComment,endOfLine:_.handleEndOfLineComment,remaining:_.handleRemainingComment},getCommentChildNodes:_.getCommentChildNodes}}}),cn=S({"src/language-js/printer-estree-json.js"(e,t){k();var{builders:{hardline:r,indent:n,join:i}}=j(),a=Pr();var o=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function s(e,t){let{type:r}=e;if("ObjectProperty"!==r||"Identifier"!==e.key.type){if("UnaryExpression"===r&&"+"===e.operator)return t.argument;if("ArrayExpression"!==r)return"TemplateLiteral"===r?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(let[r,n]of e.elements.entries())null===n&&t.elements.splice(r,0,{type:"NullLiteral"})}else t.key={type:"StringLiteral",value:e.key.name}}s.ignoredProperties=o,t.exports={preprocess:a,print:function(e,t,a){let o=e.getValue();switch(o.type){case"JsonRoot":return[a("node"),r];case"ArrayExpression":{if(0===o.elements.length)return"[]";let t=e.map((()=>null===e.getValue()?"null":a()),"elements");return["[",n([r,i([",",r],t)]),r,"]"]}case"ObjectExpression":return 0===o.properties.length?"{}":["{",n([r,i([",",r],e.map(a,"properties"))]),r,"}"];case"ObjectProperty":return[a("key"),": ",a("value")];case"UnaryExpression":return["+"===o.operator?"":o.operator,a("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return o.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(o.value);case"Identifier":{let t=e.getParentNode();return t&&"ObjectProperty"===t.type&&t.key===o?JSON.stringify(o.name):o.name}case"TemplateLiteral":return a(["quasis",0]);case"TemplateElement":return JSON.stringify(o.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(o.type))}},massageAstNode:s}}}),un=S({"src/common/common-options.js"(e,t){k();var r="Common";t.exports={bracketSpacing:{since:"0.0.0",category:r,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:r,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:r,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:r,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:r,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),ln=S({"src/language-js/options.js"(e,t){k();var r=un(),n="JavaScript";t.exports={arrowParens:{since:"1.9.0",category:n,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:r.bracketSameLine,bracketSpacing:r.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:n,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:n,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:r.singleQuote,jsxSingleQuote:{since:"1.15.0",category:n,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:n,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:n,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:r.singleAttributePerLine}}}),pn=S({"src/language-js/parse/parsers.js"(){k()}}),dn=S({"node_modules/linguist-languages/data/JavaScript.json"(e,t){t.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),fn=S({"node_modules/linguist-languages/data/TypeScript.json"(e,t){t.exports={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),_n=S({"node_modules/linguist-languages/data/TSX.json"(e,t){t.exports={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),mn=S({"node_modules/linguist-languages/data/JSON.json"(e,t){t.exports={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".imgbotconfig",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),gn=S({"node_modules/linguist-languages/data/JSON with Comments.json"(e,t){t.exports={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),hn=S({"node_modules/linguist-languages/data/JSON5.json"(e,t){t.exports={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),yn=S({"src/language-js/index.js"(e,t){k();var r=qt(),n=sn(),i=cn(),a=ln(),o=pn(),s=[r(dn(),(e=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...e.interpreters,"zx"],extensions:[...e.extensions.filter((e=>".jsx"!==e)),".wxs"]}))),r(dn(),(()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}))),r(dn(),(()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0}))),r(fn(),(e=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],extensions:[...e.extensions,".mts",".cts"]}))),r(_n(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}))),r(mn(),(()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}))),r(mn(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((e=>".jsonl"!==e))}))),r(gn(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc",".swcrc"]}))),r(hn(),(()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})))],c={estree:n,"estree-json":i};t.exports={languages:s,options:a,printers:c,parsers:o}}}),vn=S({"src/language-css/clean.js"(e,t){k();var{isFrontMatterNode:r}=oe(),n=I(),i=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function a(e,t,i){if(r(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===i.type&&i.nodes.length>0&&((i.nodes[0]===e||r(i.nodes[0])&&i.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||"css-root"===i.type&&n(i.nodes)===e))return null;if("value-root"===e.type&&delete t.text,("media-query"===e.type||"media-query-list"===e.type||"media-feature-expression"===e.type)&&delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),("css-atrule"===e.type||"css-import"===e.type)&&(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),("media-feature"===e.type||"media-keyword"===e.type||"media-type"===e.type||"media-unknown"===e.type||"media-url"===e.type||"media-value"===e.type||"selector-attribute"===e.type||"selector-string"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"value-string"===e.type)&&t.value&&(t.value=function(e){return e.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}(t.value)),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),("media-value"===e.type||"media-type"===e.type||"value-number"===e.type||"selector-root-invalid"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"selector-tag"===e.type)&&t.value&&(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,((e,t,r)=>{let n=Number(t);return Number.isNaN(n)?e:n+r.toLowerCase()}))),"selector-tag"===e.type){let r=e.value.toLowerCase();["from","to"].includes(r)&&(t.value=r)}if("css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value,"value-comma_group"===e.type){let r=e.groups.findIndex((e=>"value-number"===e.type&&"..."===e.unit));-1!==r&&(t.groups[r].unit="",t.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}}a.ignoredProperties=i,t.exports=a}}),Dn=S({"src/utils/front-matter/print.js"(e,t){k();var{builders:{hardline:r,markAsRoot:n}}=j();t.exports=function(e,t){if("yaml"===e.lang){let i=e.value.trim(),a=i?t(i,{parser:"yaml"},{stripTrailingHardline:!0}):"";return n([e.startDelimiter,r,a,a?r:"",e.endDelimiter])}}}}),bn=S({"src/language-css/embed.js"(e,t){k();var{builders:{hardline:r}}=j(),n=Dn();t.exports=function(e,t,i){let a=e.getValue();if("front-matter"===a.type){let e=n(a,i);return e?[e,r]:""}}}}),xn=S({"src/utils/front-matter/parse.js"(e,t){k();var r=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");t.exports=function(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:i,value:a="",endDelimiter:o}=t.groups,s=i.trim()||"yaml";if("+++"===n&&(s="toml"),"yaml"!==s&&n!==o)return{content:e};let[c]=t;return{frontMatter:{type:"front-matter",lang:s,value:a,startDelimiter:n,endDelimiter:o,raw:c.replace(/\n$/,"")},content:c.replace(/[^\n]/g," ")+e.slice(c.length)}}}}),En=S({"src/language-css/pragma.js"(e,t){k();var r=kr(),n=xn();t.exports={hasPragma:function(e){return r.hasPragma(n(e).content)},insertPragma:function(e){let{frontMatter:t,content:i}=n(e);return(t?t.raw+"\n\n":"")+r.insertPragma(i)}}}}),Sn=S({"src/language-css/utils/index.js"(e,t){k();var r=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function n(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function i(e,t){let r=n(e,t);return-1===r?null:e.getParentNode(r)}function a(e){return"value-operator"===e.type&&"*"===e.value}function o(e){return"value-operator"===e.type&&"/"===e.value}function s(e){return"value-operator"===e.type&&"+"===e.value}function c(e){return"value-operator"===e.type&&"-"===e.value}function u(e){return"value-operator"===e.type&&"%"===e.value}function l(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function p(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&l(e.groups[0])}function d(e){return e&&"value-colon"===e.type}t.exports={getAncestorCounter:n,getAncestorNode:i,getPropOfDeclNode:function(e){let t=i(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},maybeToLowerCase:function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},insideValueFunctionNode:function(e,t){let r=i(e,"value-func");return r&&r.value&&r.value.toLowerCase()===t},insideICSSRuleNode:function(e){let t=i(e,"css-rule");return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(":import")||t.raws.selector.startsWith(":export"))},insideAtRuleNode:function(e,t){let r=Array.isArray(t)?t:[t],n=i(e,"css-atrule");return n&&r.includes(n.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){let t=e.getValue(),r=i(e,"css-atrule");return r&&"import"===r.name&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){let r=i(e,"css-atrule");return r&&r.name&&r.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},isWideKeywords:function(e){return["initial","inherit","unset","revert"].includes(e.toLowerCase())},isLastNode:function(e,t){let r=e.getParentNode();if(!r)return!1;let{nodes:n}=r;return n&&n.indexOf(t)===n.length-1},isSCSSControlDirectiveNode:function(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)},isDetachedRulesetDeclarationNode:function(e){return!!e.selector&&("string"==typeof e.selector&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value))},isRelationalOperatorNode:function(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:a,isDivisionNode:o,isAdditionNode:s,isSubtractionNode:c,isModuloNode:u,isMathOperatorNode:function(e){return a(e)||o(e)||s(e)||c(e)||u(e)},isEachKeywordNode:function(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function(e){return e.raws&&""===e.raws.before},isDetachedRulesetCallNode:function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before},isKeyValuePairNode:l,isKeyValuePairInParenGroupNode:p,isKeyInValuePairNode:function(e,t){if(!l(t))return!1;let{groups:r}=t,n=r.indexOf(e);return-1!==n&&d(r[n+1])},isSCSSMapItemNode:function(e){let t=e.getValue();if(0===t.groups.length)return!1;let r=e.getParentNode(1);if(!(p(t)||r&&p(r)))return!1;let n=i(e,"css-decl");return!!(n&&n.prop&&n.prop.startsWith("$")||p(r)||"value-func"===r.type)},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:d,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&r.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},isAtWordPlaceholderNode:function(e){return e&&"value-atword"===e.type&&e.value.startsWith("prettier-placeholder-")},isConfigurationNode:function(e,t){if(!e.open||"("!==e.open.value||!e.close||")"!==e.close.value||e.groups.some((e=>"value-comma_group"!==e.type)))return!1;if("value-comma_group"===t.type){let r=t.groups.indexOf(e)-1,n=t.groups[r];if(n&&"value-word"===n.type&&"with"===n.value)return!0}return!1},isParenGroupNode:function(e){return"value-paren_group"===e.type&&e.open&&"("===e.open.value&&e.close&&")"===e.close.value}}}}),Cn=S({"src/utils/line-column-to-index.js"(e,t){k(),t.exports=function(e,t){let r=0;for(let n=0;n<e.line-1;++n)r=t.indexOf("\n",r)+1;return r+e.column}}}),Tn=S({"src/language-css/loc.js"(e,t){k();var{skipEverythingButNewLine:r}=te(),n=I(),i=Cn();function a(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?i(e.source.start,t)-1:null}function o(e,t){if("css-comment"===e.type&&e.inline)return r(t,e.source.startOffset);let a=e.nodes&&n(e.nodes);return a&&e.source&&!e.source.end&&(e=a),e.source&&e.source.end?i(e.source.end,t):null}function s(e,t,r){e.source&&(e.source.startOffset=a(e,r)+t,e.source.endOffset=o(e,r)+t);for(let n in e){let i=e[n];"source"===n||!i||"object"!=typeof i||s(i,t,r)}}function c(e){let t=e.source.startOffset;return"string"==typeof e.prop&&(t+=e.prop.length),"css-atrule"===e.type&&"string"==typeof e.name&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),"css-atrule"!==e.type&&e.raws&&"string"==typeof e.raws.between&&(t+=e.raws.between.length),t}t.exports={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:function e(t,r){t.source&&(t.source.startOffset=a(t,r),t.source.endOffset=o(t,r));for(let n in t){let i=t[n];"source"===n||!i||"object"!=typeof i||("value-root"===i.type||"value-unknown"===i.type?s(i,c(t),i.text||i.value):e(i,r))}},replaceQuotesInInlineComments:function(e){let t,r="initial",n="initial",i=!1,a=[];for(let o=0;o<e.length;o++){let s=e[o];switch(r){case"initial":if("'"===s){r="single-quotes";continue}if('"'===s){r="double-quotes";continue}if(("u"===s||"U"===s)&&"url("===e.slice(o,o+4).toLowerCase()){r="url",o+=3;continue}if("*"===s&&"/"===e[o-1]){r="comment-block";continue}if("/"===s&&"/"===e[o-1]){r="comment-inline",t=o-1;continue}continue;case"single-quotes":if("'"===s&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===s||"\r"===s)return e;continue;case"double-quotes":if('"'===s&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===s||"\r"===s)return e;continue;case"url":if(")"===s&&(r="initial"),"\n"===s||"\r"===s)return e;if("'"===s){r="single-quotes",n="url";continue}if('"'===s){r="double-quotes",n="url";continue}continue;case"comment-block":"/"===s&&"*"===e[o-1]&&(r="initial");continue;case"comment-inline":('"'===s||"'"===s||"*"===s)&&(i=!0),("\n"===s||"\r"===s)&&(i&&a.push([t,o]),r="initial",i=!1);continue}}for(let[t,r]of a)e=e.slice(0,t)+e.slice(t,r).replace(/["'*]/g," ")+e.slice(r);return e}}}}),kn=S({"src/language-css/utils/is-less-parser.js"(e,t){k(),t.exports=function(e){return"css"===e.parser||"less"===e.parser}}}),An=S({"src/language-css/utils/is-scss.js"(e,t){k(),t.exports=function(e,t){return"less"===e||"scss"===e?"scss"===e:/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)}}}),Nn=S({"src/language-css/utils/css-units.evaluate.js"(e,t){t.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",vh:"vh",vi:"vi",vb:"vb",vmin:"vmin",vmax:"vmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),Pn=S({"src/language-css/utils/print-unit.js"(e,t){k();var r=Nn();t.exports=function(e){let t=e.toLowerCase();return Object.prototype.hasOwnProperty.call(r,t)?r[t]:e}}}),Fn=S({"src/language-css/printer-postcss.js"(e,t){k();var r=I(),{printNumber:n,printString:i,hasNewline:a,isFrontMatterNode:o,isNextLineEmpty:s,isNonEmptyArray:c}=oe(),{builders:{join:u,line:l,hardline:p,softline:d,group:f,fill:_,indent:m,dedent:g,ifBreak:h,breakParent:y},utils:{removeLines:v,getDocParts:D}}=j(),b=vn(),x=bn(),{insertPragma:E}=En(),{getAncestorNode:S,getPropOfDeclNode:C,maybeToLowerCase:T,insideValueFunctionNode:A,insideICSSRuleNode:N,insideAtRuleNode:P,insideURLFunctionInImportAtRuleNode:F,isKeyframeAtRuleKeywords:w,isWideKeywords:O,isLastNode:L,isSCSSControlDirectiveNode:M,isDetachedRulesetDeclarationNode:R,isRelationalOperatorNode:B,isEqualityOperatorNode:K,isMultiplicationNode:J,isDivisionNode:U,isAdditionNode:q,isSubtractionNode:V,isMathOperatorNode:z,isEachKeywordNode:W,isForKeywordNode:H,isURLFunctionNode:G,isIfElseKeywordNode:$,hasComposesNode:Y,hasParensAroundNode:X,hasEmptyRawBefore:Q,isKeyValuePairNode:Z,isKeyInValuePairNode:ee,isDetachedRulesetCallNode:te,isTemplatePlaceholderNode:re,isTemplatePropNode:ne,isPostcssSimpleVarNode:ie,isSCSSMapItemNode:ae,isInlineValueCommentNode:se,isHashNode:ce,isLeftCurlyBraceNode:ue,isRightCurlyBraceNode:le,isWordNode:pe,isColonNode:de,isMediaAndSupportsKeywords:fe,isColorAdjusterFuncNode:_e,lastLineHasInlineComment:me,isAtWordPlaceholderNode:ge,isConfigurationNode:he,isParenGroupNode:ye}=Sn(),{locStart:ve,locEnd:De}=Tn(),be=kn(),xe=An(),Ee=Pn();function Se(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function Ce(e,t,r){let n=[];return e.each(((e,i,c)=>{let u=c[i-1];if(u&&"css-comment"===u.type&&"prettier-ignore"===u.text.trim()){let r=e.getValue();n.push(t.originalText.slice(ve(r),De(r)))}else n.push(r());i!==c.length-1&&("css-comment"===c[i+1].type&&!a(t.originalText,ve(c[i+1]),{backwards:!0})&&!o(c[i])||"css-atrule"===c[i+1].type&&"else"===c[i+1].name&&"css-comment"!==c[i].type?n.push(" "):(n.push(t.__isHTMLStyleAttribute?l:p),s(t.originalText,e.getValue(),De)&&!o(c[i])&&n.push(p)))}),"nodes"),n}var Te=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,ke=new RegExp(Te.source+"|(".concat(/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source,")?(").concat(/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source,")(").concat(/[A-Za-z]+/g.source,")?"),"g");function Ae(e,t){return e.replace(Te,(e=>i(e,t)))}function Ne(e,t){let r=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:r+e+r}function Pe(e){return e.replace(ke,((e,t,r,n,i)=>!r&&n?Fe(n)+T(i||""):e))}function Fe(e){return n(e).replace(/\.0(?=$|e)/,"")}t.exports={print:function(e,t,n){let a=e.getValue();if(!a)return"";if("string"==typeof a)return a;switch(a.type){case"front-matter":return[a.raw,p];case"css-root":{let r=Ce(e,t,n),i=a.raws.after.trim();return[r,i?" ".concat(i):"",D(r).length>0?p:""]}case"css-comment":{let e=a.inline||a.raws.inline,r=t.originalText.slice(ve(a),De(a));return e?r.trimEnd():r}case"css-rule":return[n("selector"),a.important?" !important":"",a.nodes?[a.selector&&"selector-unknown"===a.selector.type&&me(a.selector.value)?l:" ","{",a.nodes.length>0?m([p,Ce(e,t,n)]):"",p,"}",R(a)?";":""]:";"];case"css-decl":{let r=e.getParentNode(),{between:i}=a.raws,o=i.trim(),s=":"===o,c=Y(a)?v(n("value")):n("value");return!s&&me(o)&&(c=m([p,g(c)])),[a.raws.before.replace(/[\s;]/g,""),N(e)?a.prop:T(a.prop),o.startsWith("//")?" ":"",o,a.extend?"":" ",be(t)&&a.extend&&a.selector?["extend(",n("selector"),")"]:"",c,a.raws.important?a.raws.important.replace(/\s*!\s*important/i," !important"):a.important?" !important":"",a.raws.scssDefault?a.raws.scssDefault.replace(/\s*!default/i," !default"):a.scssDefault?" !default":"",a.raws.scssGlobal?a.raws.scssGlobal.replace(/\s*!global/i," !global"):a.scssGlobal?" !global":"",a.nodes?[" {",m([d,Ce(e,t,n)]),d,"}"]:ne(a)&&!r.raws.semicolon&&";"!==t.originalText[De(a)-1]?"":t.__isHTMLStyleAttribute&&L(e,a)?h(";"):";"]}case"css-atrule":{let r=e.getParentNode(),i=re(a)&&!r.raws.semicolon&&";"!==t.originalText[De(a)-1];if(be(t)){if(a.mixin)return[n("selector"),a.important?" !important":"",i?"":";"];if(a.function)return[a.name,n("params"),i?"":";"];if(a.variable)return["@",a.name,": ",a.value?n("value"):"",a.raws.between.trim()?a.raws.between.trim()+" ":"",a.nodes?["{",m([a.nodes.length>0?d:"",Ce(e,t,n)]),d,"}"]:"",i?"":";"]}return["@",te(a)||a.name.endsWith(":")?a.name:T(a.name),a.params?[te(a)?"":re(a)?""===a.raws.afterName?"":a.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(a.raws.afterName)?[p,p]:/^\s*\n/.test(a.raws.afterName)?p:" ":" ",n("params")]:"",a.selector?m([" ",n("selector")]):"",a.value?f([" ",n("value"),M(a)?X(a)?" ":l:""]):"else"===a.name?" ":"",a.nodes?[M(a)?"":a.selector&&!a.selector.nodes&&"string"==typeof a.selector.value&&me(a.selector.value)||!a.selector&&"string"==typeof a.params&&me(a.params)?l:" ","{",m([a.nodes.length>0?d:"",Ce(e,t,n)]),d,"}"]:i?"":";"]}case"media-query-list":{let t=[];return e.each((e=>{let r=e.getValue();"media-query"===r.type&&""===r.value||t.push(n())}),"nodes"),f(m(u(l,t)))}case"media-query":return[u(" ",e.map(n,"nodes")),L(e,a)?"":","];case"media-type":case"media-value":return Pe(Ae(a.value,t));case"media-feature-expression":return a.nodes?["(",...e.map(n,"nodes"),")"]:a.value;case"media-feature":return T(Ae(a.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[a.value," "];case"media-keyword":case"selector-string":return Ae(a.value,t);case"media-url":return Ae(a.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return a.value;case"selector-root":return f([P(e,"custom-selector")?[S(e,"css-atrule").customSelector,l]:"",u([",",P(e,["extend","custom-selector","nest"])?l:p],e.map(n,"nodes"))]);case"selector-selector":return f(m(e.map(n,"nodes")));case"selector-tag":{let t=e.getParentNode(),r=t&&t.nodes.indexOf(a),n=r&&t.nodes[r-1];return[a.namespace?[!0===a.namespace?"":a.namespace.trim(),"|"]:"","selector-nesting"===n.type?a.value:Pe(w(e,a.value)?a.value.toLowerCase():a.value)]}case"selector-id":return["#",a.value];case"selector-class":return[".",Pe(Ae(a.value,t))];case"selector-attribute":return["[",a.namespace?[!0===a.namespace?"":a.namespace.trim(),"|"]:"",a.attribute.trim(),a.operator?a.operator:"",a.value?Ne(Ae(a.value.trim(),t),t):"",a.insensitive?" i":"","]"];case"selector-combinator":if("+"===a.value||">"===a.value||"~"===a.value||">>>"===a.value){let t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===a?"":l,a.value,L(e,a)?"":" "]}return[a.value.trim().startsWith("(")?l:"",Pe(Ae(a.value.trim(),t))||l];case"selector-universal":return[a.namespace?[!0===a.namespace?"":a.namespace.trim(),"|"]:"",a.value];case"selector-pseudo":return[T(a.value),c(a.nodes)?["(",u(", ",e.map(n,"nodes")),")"]:""];case"selector-unknown":{let r=S(e,"css-rule");if(r&&r.isSCSSNesterProperty)return Pe(Ae(T(a.value),t));let n=e.getParentNode();if(n.raws&&n.raws.selector){let e=ve(n),r=e+n.raws.selector.length;return t.originalText.slice(e,r).trim()}let i=e.getParentNode(1);if("value-paren_group"===n.type&&i&&"value-func"===i.type&&"selector"===i.value){let e=De(n.open)+1,r=ve(n.close),i=t.originalText.slice(e,r).trim();return me(i)?[y,i]:i}return a.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(ve(a),De(a));case"value-comma_group":{let t=e.getParentNode(),r=e.getParentNode(1),i=C(e),o=i&&"value-value"===t.type&&("grid"===i||i.startsWith("grid-template")),s=S(e,"css-atrule"),c=s&&M(s),u=a.groups.some((e=>se(e))),h=e.map(n,"groups"),v=[],D=A(e,"url"),b=!1,x=!1;for(let n=0;n<a.groups.length;++n){v.push(h[n]);let i=a.groups[n-1],u=a.groups[n],f=a.groups[n+1],_=a.groups[n+2];if(D){(f&&q(f)||q(u))&&v.push(" ");continue}if(P(e,"forward")&&"value-word"===u.type&&u.value&&void 0!==i&&"value-word"===i.type&&"as"===i.value&&"value-operator"===f.type&&"*"===f.value||!f||"value-word"===u.type&&u.value.endsWith("-")&&ge(f))continue;let m="value-string"===u.type&&u.value.startsWith("#{"),y=b&&"value-string"===f.type&&f.value.endsWith("}");if(m||y){b=!b;continue}if(b||de(u)||de(f)||"value-atword"===u.type&&""===u.value||"~"===u.value||u.value&&u.value.includes("\\")&&f&&"value-comment"!==f.type||i&&i.value&&i.value.indexOf("\\")===i.value.length-1&&"value-operator"===u.type&&"/"===u.value||"\\"===u.value||ie(u,f)||ce(u)||ue(u)||le(f)||ue(f)&&Q(f)||le(u)&&Q(f)||"--"===u.value&&ce(f))continue;let E=z(u),S=z(f);if((E&&ce(f)||S&&le(u))&&Q(f)||!i&&U(u)||A(e,"calc")&&(q(u)||q(f)||V(u)||V(f))&&Q(f))continue;let C=(q(u)||V(u))&&0===n&&("value-number"===f.type||f.isHex)&&r&&_e(r)&&!Q(f),T=_&&"value-func"===_.type||_&&pe(_)||"value-func"===u.type||pe(u),k="value-func"===f.type||pe(f)||i&&"value-func"===i.type||i&&pe(i);if(J(f)||J(u)||A(e,"calc")||C||!(U(f)&&!T||U(u)&&!k||q(f)&&!T||q(u)&&!k||V(f)||V(u))||!(Q(f)||E&&(!i||i&&z(i)))){if(se(u)){if("value-paren_group"===t.type){v.push(g(p));continue}v.push(p);continue}if(c&&(K(f)||B(f)||$(f)||W(u)||H(u))){v.push(" ");continue}if(s&&"namespace"===s.name.toLowerCase()){v.push(" ");continue}if(o){u.source&&f.source&&u.source.start.line!==f.source.start.line?(v.push(p),x=!0):v.push(" ");continue}if(S){v.push(" ");continue}if(!(f&&"..."===f.value||ge(u)&&ge(f)&&De(u)===ve(f))){if(ge(u)&&ye(f)&&De(u)===ve(f.open)){v.push(d);continue}if("with"===u.value&&ye(f)){v.push(" ");continue}v.push(l)}}}return u&&v.push(y),x&&v.unshift(p),c?f(m(v)):F(e)?f(_(v)):f(m(_(v)))}case"value-paren_group":{let i=e.getParentNode();if(i&&G(i)&&(1===a.groups.length||a.groups.length>0&&"value-comma_group"===a.groups[0].type&&a.groups[0].groups.length>0&&"value-word"===a.groups[0].groups[0].type&&a.groups[0].groups[0].value.startsWith("data:")))return[a.open?n("open"):"",u(",",e.map(n,"groups")),a.close?n("close"):""];if(!a.open){let t=e.map(n,"groups"),r=[];for(let e=0;e<t.length;e++)0!==e&&r.push([",",l]),r.push(t[e]);return f(m(_(r)))}let o=ae(e),c=r(a.groups),y=c&&"value-comment"===c.type,v=ee(a,i),b=he(a,i),x=b||o&&!v,E=b||v,S=f([a.open?n("open"):"",m([d,u([l],e.map(((e,i)=>{let o=e.getValue(),c=i===a.groups.length-1,u=[n(),c?"":","];if(Z(o)&&"value-comma_group"===o.type&&o.groups&&"value-paren_group"!==o.groups[0].type&&o.groups[2]&&"value-paren_group"===o.groups[2].type){let e=D(u[0].contents.contents);return e[1]=f(e[1]),f(g(u))}return!c&&"value-comma_group"===o.type&&o.groups&&"value-paren_group"!==o.groups[0].type&&s(t.originalText,r(o.groups),De)&&u.push(p),u}),"groups"))]),h(!y&&xe(t.parser,t.originalText)&&o&&Se(t)?",":""),d,a.close?n("close"):""],{shouldBreak:x});return E?g(S):S}case"value-func":return[a.value,P(e,"supports")&&fe(a)?" ":"",n("group")];case"value-number":return[Fe(a.value),Ee(a.unit)];case"value-word":return a.isColor&&a.isHex||O(a.value)?a.value.toLowerCase():a.value;case"value-colon":{let t=e.getParentNode(),n=t&&t.groups.indexOf(a),i=n&&t.groups[n-1];return[a.value,i&&"string"==typeof i.value&&"\\"===r(i.value)||A(e,"url")?"":l]}case"value-string":return i(a.raws.quote+a.value+a.raws.quote,t);case"value-atword":return["@",a.value];default:throw new Error("Unknown postcss type ".concat(JSON.stringify(a.type)))}},embed:x,insertPragma:E,massageAstNode:b}}}),wn=S({"src/language-css/options.js"(e,t){k();var r=un();t.exports={singleQuote:r.singleQuote}}}),In=S({"src/language-css/parsers.js"(){k()}}),On=S({"node_modules/linguist-languages/data/CSS.json"(e,t){t.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),Ln=S({"node_modules/linguist-languages/data/PostCSS.json"(e,t){t.exports={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),Mn=S({"node_modules/linguist-languages/data/Less.json"(e,t){t.exports={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),Rn=S({"node_modules/linguist-languages/data/SCSS.json"(e,t){t.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),Bn=S({"src/language-css/index.js"(e,t){k();var r=qt(),n=Fn(),i=wn(),a=In(),o=[r(On(),(e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]}))),r(Ln(),(()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}))),r(Mn(),(()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}))),r(Rn(),(()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]})))],s={postcss:n};t.exports={languages:o,options:i,printers:s,parsers:a}}}),jn=S({"src/language-handlebars/loc.js"(e,t){k(),t.exports={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}}}}),Kn=S({"src/language-handlebars/clean.js"(e,t){function r(e,t){if("TextNode"===e.type){let r=e.chars.trim();if(!r)return null;t.chars=r.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}k(),r.ignoredProperties=new Set(["loc","selfClosing"]),t.exports=r}}),Jn=S({"node_modules/html-void-elements/index.json"(e,t){t.exports=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]}}),Un=S({"src/language-handlebars/utils.js"(e,t){k();var r=Jn(),n=I();var i=new Set(r);function a(e){return o(e,["TextNode"])&&!/\S/.test(e.chars)}function o(e,t){return e&&t.includes(e.type)}function s(e,t){return o(e.getParentNode(0),t)}function c(e,t){let r=e.getValue(),n=e.getParentNode(0)||{},i=n.children||n.body||n.parts||[],a=i.indexOf(r);return-1!==a&&i[a+t]}function u(e){return c(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function l(e){return c(e,1)}function p(e){return o(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}t.exports={getNextNode:l,getPreviousNode:u,hasPrettierIgnore:function(e){let t=e.getValue(),r=u(e,2);return p(t)||p(r)},isLastNodeOfSiblings:function(e){let t=e.getValue(),r=e.getParentNode(0);return!!(s(e,["ElementNode"])&&n(r.children)===t||s(e,["Block"])&&n(r.body)===t)},isNextNodeOfSomeType:function(e,t){return o(l(e),t)},isNodeOfSomeType:o,isParentOfSomeType:s,isPreviousNodeOfSomeType:function(e,t){return o(u(e),t)},isVoid:function(e){return function(e){return o(e,["ElementNode"])&&"string"==typeof e.tag&&":"!==e.tag[0]&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every((e=>a(e)))||i.has(e.tag)},isWhitespaceNode:a}}}),qn=S({"src/language-handlebars/printer-glimmer.js"(e,t){k();var{builders:{dedent:r,fill:n,group:i,hardline:a,ifBreak:o,indent:s,join:c,line:u,softline:l},utils:{getDocParts:p,replaceTextEndOfLine:d}}=j(),{getPreferredQuote:f,isNonEmptyArray:_}=oe(),{locStart:m,locEnd:g}=jn(),h=Kn(),{getNextNode:y,getPreviousNode:v,hasPrettierIgnore:D,isLastNodeOfSiblings:b,isNextNodeOfSomeType:x,isNodeOfSomeType:E,isParentOfSomeType:S,isPreviousNodeOfSomeType:C,isVoid:T,isWhitespaceNode:A}=Un();function N(e,t){return m(e)-m(t)}function P(e,t,r){let n=e.getValue().children.every((e=>A(e)));return"ignore"===t.htmlWhitespaceSensitivity&&n?"":e.map(((e,n)=>{let i=r();return 0===n&&"ignore"===t.htmlWhitespaceSensitivity?[l,i]:i}),"children")}function F(e){return T(e)?o([l,"/>"],[" />",l]):o([l,">"],">")}function w(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function I(e){let t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function O(e){return[w(e),e.closeStrip.open?"~":"","/"]}function L(e){let t=I(e);return[e.closeStrip.close?"~":"",t]}function M(e){return[w(e),e.inverseStrip.open?"~":""]}function R(e){let t=I(e);return[e.inverseStrip.close?"~":"",t]}function B(e,t){let r=e.getValue(),n=function(e){return[w(e),e.openStrip.open?"~":"","#"]}(r),a=function(e){let t=I(e);return[e.openStrip.close?"~":"",t]}(r),o=[Z(0,t)],c=ee(e,t);if(c&&o.push(u,c),_(r.program.blockParams)){let e=te(r.program);o.push(u,e)}return i([n,s(o),l,a])}function K(e,t){return["ignore"===t.htmlWhitespaceSensitivity?a:"",M(e),"else",R(e)]}function J(e,t){let r=e.getParentNode(1);return[M(r),"else if ",ee(e,t),R(r)]}function U(e,t,r){let n=e.getValue();return"ignore"===r.htmlWhitespaceSensitivity?[q(n)?l:a,O(n),t("path"),L(n)]:[O(n),t("path"),L(n)]}function q(e){return E(e,["BlockStatement"])&&e.program.body.every((e=>A(e)))}function V(e){return E(e,["BlockStatement"])&&e.inverse}function z(e,t,r){if(q(e.getValue()))return"";let n=t("program");return"ignore"===r.htmlWhitespaceSensitivity?s([a,n]):s(n)}function W(e,t,r){let n=e.getValue(),i=t("inverse"),o="ignore"===r.htmlWhitespaceSensitivity?[a,i]:i;return function(e){return V(e)&&1===e.inverse.body.length&&E(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(n)?o:V(n)?[K(n,r),s(o)]:""}function H(e){return p(c(u,function(e){return e.split(/[\t\n\f\r ]+/)}(e)))}function G(e){return(e="string"==typeof e?e:"").split("\n").length-1}function $(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,2)}).fill(a)}function Y(e,t){let{quote:r,regex:n}=f(e,t);return[r,e.replace(n,"\\".concat(r)),r]}function X(e,t){let r=Z(0,t),n=ee(e,t);return n?s([r,u,i(n)]):r}function Q(e,t){let r=Z(0,t),n=ee(e,t);return n?[s([r,u,n]),l]:r}function Z(e,t){return t("path")}function ee(e,t){let r=e.getValue(),n=[];if(r.params.length>0){let r=e.map(t,"params");n.push(...r)}if(r.hash&&r.hash.pairs.length>0){let e=t("hash");n.push(e)}return 0===n.length?"":c(u,n)}function te(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:function(e,t,o){let p=e.getValue();if(!p)return"";if(D(e))return t.originalText.slice(m(p),g(p));let h=t.singleQuote?"'":'"';switch(p.type){case"Block":case"Program":case"Template":return i(e.map(o,"body"));case"ElementNode":{let r=i(function(e,t){let r=e.getValue(),n=["attributes","modifiers","comments"].filter((e=>_(r[e]))),i=n.flatMap((e=>r[e])).sort(N);for(let r of n)e.each((e=>{let r=i.indexOf(e.getValue());i.splice(r,1,[u,t()])}),r);return _(r.blockParams)&&i.push(u,te(r)),["<",r.tag,s(i),F(r)]}(e,o)),n="ignore"===t.htmlWhitespaceSensitivity&&x(e,["ElementNode"])?l:"";if(T(p))return[r,n];let c=["</",p.tag,">"];return 0===p.children.length?[r,s(c),n]:"ignore"===t.htmlWhitespaceSensitivity?[r,s(P(e,t,o)),a,s(c),n]:[r,s(i(P(e,t,o))),s(c),n]}case"BlockStatement":{let r=e.getParentNode(1);return r&&r.inverse&&1===r.inverse.body.length&&r.inverse.body[0]===p&&"if"===r.inverse.body[0].path.parts[0]?[J(e,o),z(e,o,t),W(e,o,t)]:[B(e,o),i([z(e,o,t),W(e,o,t),U(e,o,t)])]}case"ElementModifierStatement":return i(["{{",Q(e,o),"}}"]);case"MustacheStatement":return i([w(p),Q(e,o),I(p)]);case"SubExpression":return i(["(",X(e,o),l,")"]);case"AttrNode":{let e="TextNode"===p.value.type;if(e&&""===p.value.chars&&m(p.value)===g(p.value))return p.name;let t=e?f(p.value.chars,h).quote:"ConcatStatement"===p.value.type?f(p.value.parts.filter((e=>"TextNode"===e.type)).map((e=>e.chars)).join(""),h).quote:"",r=o("value");return[p.name,"=",t,"class"===p.name&&t?i(s(r)):r,t]}case"ConcatStatement":return e.map(o,"parts");case"Hash":return c(u,e.map(o,"pairs"));case"HashPair":return[p.key,"=",o("value")];case"TextNode":{let i=p.chars.replace(/{{/g,"\\{{"),a=function(e){for(let t=0;t<2;t++){let r=e.getParentNode(t);if(r&&"AttrNode"===r.type)return r.name.toLowerCase()}}(e);if(a){if("class"===a){let t=i.trim().split(/\s+/).join(" "),r=!1,n=!1;return S(e,["ConcatStatement"])&&(C(e,["MustacheStatement"])&&/^\s/.test(i)&&(r=!0),x(e,["MustacheStatement"])&&/\s$/.test(i)&&""!==t&&(n=!0)),[r?u:"",t,n?u:""]}return d(i)}let o=/^[\t\n\f\r ]*$/.test(i),s=!v(e),c=!y(e);if("ignore"!==t.htmlWhitespaceSensitivity){let t=/^[\t\n\f\r ]*/,a=/[\t\n\f\r ]*$/,l=c&&S(e,["Template"]),p=s&&S(e,["Template"]);if(o){if(p||l)return"";let t=[u],n=G(i);return n&&(t=$(n)),b(e)&&(t=t.map((e=>r(e)))),t}let[d]=i.match(t),[f]=i.match(a),_=[];if(d){_=[u];let e=G(d);e&&(_=$(e)),i=i.replace(t,"")}let m=[];if(f){if(!l){m=[u];let t=G(f);t&&(m=$(t)),b(e)&&(m=m.map((e=>r(e))))}i=i.replace(a,"")}return[..._,n(H(i)),...m]}let l=G(i),f=function(e){return G(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(i),_=function(e){return G(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(i);if((s||c)&&o&&S(e,["Block","ElementNode","Template"]))return"";o&&l?(f=Math.min(l,2),_=0):(x(e,["BlockStatement","ElementNode"])&&(_=Math.max(_,1)),C(e,["BlockStatement","ElementNode"])&&(f=Math.max(f,1)));let m="",g="";return 0===_&&x(e,["MustacheStatement"])&&(g=" "),0===f&&C(e,["MustacheStatement"])&&(m=" "),s&&(f=0,m=""),c&&(_=0,g=""),i=i.replace(/^[\t\n\f\r ]+/g,m).replace(/[\t\n\f\r ]+$/,g),[...$(f),n(H(i)),...$(_)]}case"MustacheCommentStatement":{let e=m(p),r=g(p),n="~"===t.originalText.charAt(e+2),i="~"===t.originalText.charAt(r-3),a=p.value.includes("}}")?"--":"";return["{{",n?"~":"","!",a,p.value,a,i?"~":"","}}"]}case"PathExpression":return p.original;case"BooleanLiteral":case"NumberLiteral":return String(p.value);case"CommentStatement":return["\x3c!--",p.value,"--\x3e"];case"StringLiteral":if(function(e){let t=0,r=e.getParentNode(t);for(;r&&E(r,["SubExpression"]);)t++,r=e.getParentNode(t);return!!(r&&E(e.getParentNode(t+1),["ConcatStatement"])&&E(e.getParentNode(t+2),["AttrNode"]))}(e)){let e=t.singleQuote?'"':"'";return Y(p.value,e)}return Y(p.value,h);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(p.type))}},massageAstNode:h}}}),Vn=S({"src/language-handlebars/parsers.js"(){k()}}),zn=S({"node_modules/linguist-languages/data/Handlebars.json"(e,t){t.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),Wn=S({"src/language-handlebars/index.js"(e,t){k();var r=qt(),n=qn(),i=Vn(),a=[r(zn(),(()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})))],o={glimmer:n};t.exports={languages:a,printers:o,parsers:i}}}),Hn=S({"src/language-graphql/pragma.js"(e,t){k(),t.exports={hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}}}}),Gn=S({"src/language-graphql/loc.js"(e,t){k(),t.exports={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}}}}),$n=S({"src/language-graphql/printer-graphql.js"(e,t){k();var{builders:{join:r,hardline:n,line:i,softline:a,group:o,indent:s,ifBreak:c}}=j(),{isNextLineEmpty:u,isNonEmptyArray:l}=oe(),{insertPragma:p}=Hn(),{locStart:d,locEnd:f}=Gn();function _(e,t,n){if(0===n.directives.length)return"";let c=r(i,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?o([i,c]):[" ",o(s([a,c]))]}function m(e,t,r){let i=e.getValue().length;return e.map(((e,a)=>{let o=r();return u(t.originalText,e.getValue(),f)&&a<i-1?[o,n]:o}))}function g(e,t,r){let n=e.getNode(),a=[],{interfaces:o}=n,s=e.map((e=>r(e)),"interfaces");for(let e=0;e<o.length;e++){let r=o[e];a.push(s[e]);let n=o[e+1];if(n){let e=t.originalText.slice(r.loc.end,n.loc.start),o=e.includes("#"),s=e.replace(/#.*/g,"").trim();a.push(","===s?",":" &",o?i:" ")}}return a}function h(){}h.ignoredProperties=new Set(["loc","comments"]),t.exports={print:function(e,t,p){let h=e.getValue();if(!h)return"";if("string"==typeof h)return h;switch(h.kind){case"Document":{let r=[];return e.each(((e,i,a)=>{r.push(p()),i!==a.length-1&&(r.push(n),u(t.originalText,e.getValue(),f)&&r.push(n))}),"definitions"),[...r,n]}case"OperationDefinition":{let n="{"!==t.originalText[d(h)],i=Boolean(h.name);return[n?h.operation:"",n&&i?[" ",p("name")]:"",n&&!i&&l(h.variableDefinitions)?" ":"",l(h.variableDefinitions)?o(["(",s([a,r([c("",", "),a],e.map(p,"variableDefinitions"))]),a,")"]):"",_(e,p,h),h.selectionSet&&(n||i)?" ":"",p("selectionSet")]}case"FragmentDefinition":return["fragment ",p("name"),l(h.variableDefinitions)?o(["(",s([a,r([c("",", "),a],e.map(p,"variableDefinitions"))]),a,")"]):""," on ",p("typeCondition"),_(e,p,h)," ",p("selectionSet")];case"SelectionSet":return["{",s([n,r(n,e.call((e=>m(e,t,p)),"selections"))]),n,"}"];case"Field":return o([h.alias?[p("alias"),": "]:"",p("name"),h.arguments.length>0?o(["(",s([a,r([c("",", "),a],e.call((e=>m(e,t,p)),"arguments"))]),a,")"]):"",_(e,p,h),h.selectionSet?" ":"",p("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return h.value;case"StringValue":return h.block?['"""',n,r(n,h.value.replace(/"""/g,"\\$&").split("\n")),n,'"""']:['"',h.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return h.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",p("name")];case"ListValue":return o(["[",s([a,r([c("",", "),a],e.map(p,"values"))]),a,"]"]);case"ObjectValue":return o(["{",t.bracketSpacing&&h.fields.length>0?" ":"",s([a,r([c("",", "),a],e.map(p,"fields"))]),a,c("",t.bracketSpacing&&h.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[p("name"),": ",p("value")];case"Directive":return["@",p("name"),h.arguments.length>0?o(["(",s([a,r([c("",", "),a],e.call((e=>m(e,t,p)),"arguments"))]),a,")"]):""];case"NamedType":return p("name");case"VariableDefinition":return[p("variable"),": ",p("type"),h.defaultValue?[" = ",p("defaultValue")]:"",_(e,p,h)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[p("description"),h.description?n:"","ObjectTypeExtension"===h.kind?"extend ":"","type ",p("name"),h.interfaces.length>0?[" implements ",...g(e,t,p)]:"",_(e,p,h),h.fields.length>0?[" {",s([n,r(n,e.call((e=>m(e,t,p)),"fields"))]),n,"}"]:""];case"FieldDefinition":return[p("description"),h.description?n:"",p("name"),h.arguments.length>0?o(["(",s([a,r([c("",", "),a],e.call((e=>m(e,t,p)),"arguments"))]),a,")"]):"",": ",p("type"),_(e,p,h)];case"DirectiveDefinition":return[p("description"),h.description?n:"","directive ","@",p("name"),h.arguments.length>0?o(["(",s([a,r([c("",", "),a],e.call((e=>m(e,t,p)),"arguments"))]),a,")"]):"",h.repeatable?" repeatable":""," on ",r(" | ",e.map(p,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[p("description"),h.description?n:"","EnumTypeExtension"===h.kind?"extend ":"","enum ",p("name"),_(e,p,h),h.values.length>0?[" {",s([n,r(n,e.call((e=>m(e,t,p)),"values"))]),n,"}"]:""];case"EnumValueDefinition":return[p("description"),h.description?n:"",p("name"),_(e,p,h)];case"InputValueDefinition":return[p("description"),h.description?h.description.block?n:i:"",p("name"),": ",p("type"),h.defaultValue?[" = ",p("defaultValue")]:"",_(e,p,h)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[p("description"),h.description?n:"","InputObjectTypeExtension"===h.kind?"extend ":"","input ",p("name"),_(e,p,h),h.fields.length>0?[" {",s([n,r(n,e.call((e=>m(e,t,p)),"fields"))]),n,"}"]:""];case"SchemaDefinition":return[p("description"),h.description?n:"","schema",_(e,p,h)," {",h.operationTypes.length>0?s([n,r(n,e.call((e=>m(e,t,p)),"operationTypes"))]):"",n,"}"];case"OperationTypeDefinition":return[p("operation"),": ",p("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[p("description"),h.description?n:"","InterfaceTypeExtension"===h.kind?"extend ":"","interface ",p("name"),h.interfaces.length>0?[" implements ",...g(e,t,p)]:"",_(e,p,h),h.fields.length>0?[" {",s([n,r(n,e.call((e=>m(e,t,p)),"fields"))]),n,"}"]:""];case"FragmentSpread":return["...",p("name"),_(e,p,h)];case"InlineFragment":return["...",h.typeCondition?[" on ",p("typeCondition")]:"",_(e,p,h)," ",p("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return o([p("description"),h.description?n:"",o(["UnionTypeExtension"===h.kind?"extend ":"","union ",p("name"),_(e,p,h),h.types.length>0?[" =",c(""," "),s([c([i," "]),r([i,"| "],e.map(p,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[p("description"),h.description?n:"","ScalarTypeExtension"===h.kind?"extend ":"","scalar ",p("name"),_(e,p,h)];case"NonNullType":return[p("type"),"!"];case"ListType":return["[",p("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(h.kind))}},massageAstNode:h,hasPrettierIgnore:function(e){let t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some((e=>"prettier-ignore"===e.value.trim()))},insertPragma:p,printComment:function(e){let t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}}}}),Yn=S({"src/language-graphql/options.js"(e,t){k();var r=un();t.exports={bracketSpacing:r.bracketSpacing}}}),Xn=S({"src/language-graphql/parsers.js"(){k()}}),Qn=S({"node_modules/linguist-languages/data/GraphQL.json"(e,t){t.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),Zn=S({"src/language-graphql/index.js"(e,t){k();var r=qt(),n=$n(),i=Yn(),a=Xn(),o=[r(Qn(),(()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})))],s={graphql:n};t.exports={languages:o,options:i,printers:s,parsers:a}}}),ei=S({"src/language-markdown/loc.js"(e,t){k(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),ti=S({"src/language-markdown/constants.evaluate.js"(e,t){t.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),ri=S({"src/language-markdown/utils.js"(e,t){k();var{getLast:r}=oe(),{locStart:n,locEnd:i}=ei(),{cjkPattern:a,kPattern:o,punctuationPattern:s}=ti(),c=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],u=[...c,"tableCell","paragraph","heading"],l=new RegExp(o),p=new RegExp(s);function d(e,t){let[,r,n,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:r,marker:n,leadingSpaces:i}}t.exports={mapAst:function(e,t){return function e(r,n,i){let a=Object.assign({},t(r,n,i));return a.children&&(a.children=a.children.map(((t,r)=>e(t,r,[a,...i])))),a}(e,null,[])},splitText:function(e,t){let n="non-cjk",i="cj-letter",o="cjk-punctuation",s=[],c=("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(a,")\n(").concat(a,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(let[e,t]of c.entries()){if(e%2==1){s.push({type:"whitespace",value:/\n/.test(t)?"\n":" "});continue}if((0===e||e===c.length-1)&&""===t)continue;let d=t.split(new RegExp("(".concat(a,")")));for(let[e,t]of d.entries())if(0!==e&&e!==d.length-1||""!==t){if(e%2==0){""!==t&&u({type:"word",value:t,kind:n,hasLeadingPunctuation:p.test(t[0]),hasTrailingPunctuation:p.test(r(t))});continue}u(p.test(t)?{type:"word",value:t,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:t,kind:l.test(t)?"k-letter":i,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return s;function u(e){let t=r(s);var a,c;t&&"word"===t.type&&(t.kind===n&&e.kind===i&&!t.hasTrailingPunctuation||t.kind===i&&e.kind===n&&!e.hasLeadingPunctuation?s.push({type:"whitespace",value:" "}):(a=n,c=o,!(t.kind===a&&e.kind===c||t.kind===c&&e.kind===a||[t.value,e.value].some((e=>/\u3000/.test(e))))&&s.push({type:"whitespace",value:""}))),s.push(e)}},punctuationPattern:s,getFencedCodeBlockValue:function(e,t){let{value:r}=e;return e.position.end.offset===t.length&&r.endsWith("\n")&&t.endsWith("\n")?r.slice(0,-1):r},getOrderedListItemInfo:d,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered||e.children.length<2)return!1;let r=Number(d(e.children[0],t.originalText).numberText),n=Number(d(e.children[1],t.originalText).numberText);if(0===r&&e.children.length>2){let r=Number(d(e.children[2],t.originalText).numberText);return 1===n&&1===r}return 1===n},INLINE_NODE_TYPES:c,INLINE_NODE_WRAPPER_TYPES:u,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;let t=e.children[0];return t&&n(e)===n(t)&&i(e)===i(t)}}}}),ni=S({"src/language-markdown/embed.js"(e,t){k();var{inferParserByLanguage:r,getMaxContinuousCount:n}=oe(),{builders:{hardline:i,markAsRoot:a},utils:{replaceEndOfLine:o}}=j(),s=Dn(),{getFencedCodeBlockValue:c}=ri();t.exports=function(e,t,u,l){let p=e.getValue();if("code"===p.type&&null!==p.lang){let e=r(p.lang,l);if(e){let t=l.__inJsTemplate?"~":"`",r=t.repeat(Math.max(3,n(p.value,t)+1)),s={parser:e};"tsx"===p.lang&&(s.filepath="dummy.tsx");let d=u(c(p,l.originalText),s,{stripTrailingHardline:!0});return a([r,p.lang,p.meta?" "+p.meta:"",i,o(d),i,r])}}switch(p.type){case"front-matter":return s(p,u);case"importExport":return[u(p.value,{parser:"babel"},{stripTrailingHardline:!0}),i];case"jsx":return u("<$>".concat(p.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}}}),ii=S({"src/language-markdown/pragma.js"(e,t){k();var r=xn(),n=["format","prettier"];function i(e){let t="@(".concat(n.join("|"),")"),r=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"{\\s*\\/\\*\\s*".concat(t,"\\s*\\*\\/\\s*}"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),i=e.match(r);return i&&0===i.index}t.exports={startWithPragma:i,hasPragma:e=>i(r(e).content.trimStart()),insertPragma:e=>{let t=r(e),i="\x3c!-- @".concat(n[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(i,"\n\n").concat(t.content):"".concat(i,"\n\n").concat(t.content)}}}}),ai=S({"src/language-markdown/print-preprocess.js"(e,t){k();var r=I(),{getOrderedListItemInfo:n,mapAst:i,splitText:a}=ri(),o=/^.$/us;function s(e,t,n){return i(e,(e=>{if(!e.children)return e;let i=e.children.reduce(((e,i)=>{let a=r(e);return a&&t(a,i)?e.splice(-1,1,n(a,i)):e.push(i),e}),[]);return Object.assign(Object.assign({},e),{},{children:i})}))}t.exports=function(e,t){return function(e){return s(e,((e,t)=>"importExport"===e.type&&"importExport"===t.type),((e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}})))}(e=function(e){return i(e,(e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})))}(e=function(e,t){return i(e,((e,r,n)=>{let[i]=n;if("text"!==e.type)return e;let{value:o}=e;return"paragraph"===i.type&&(0===r&&(o=o.trimStart()),r===i.children.length-1&&(o=o.trimEnd())),{type:"sentence",position:e.position,children:a(o,t)}}))}(e=function(e,t){return i(e,((e,t,r)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t<r.length;t++){let n=r[t];if("list"===n.type&&!n.isAligned)return e.isAligned=!1,e}e.isAligned=a(e)}return e}));function r(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}function a(e){if(!e.ordered)return!0;let[i,a]=e.children;if(n(i,t.originalText).leadingSpaces.length>1)return!0;let o=r(i);return-1!==o&&(1===e.children.length?o%t.tabWidth==0:o===r(a)&&(o%t.tabWidth==0||n(a,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return i(e,((e,r,n)=>{if("code"===e.type){let r=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=r,r)for(let e=0;e<n.length;e++){let t=n[e];if(t.hasIndentedCodeblock)break;"list"===t.type&&(t.hasIndentedCodeblock=!0)}}return e}))}(e=function(e){return i(e,(e=>"inlineCode"!==e.type?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")})))}(e=function(e){return s(e,((e,t)=>"text"===e.type&&"text"===t.type),((e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}})))}(e=function(e,t){return i(e,(e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&o.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e))}(e,t))),t),t),t)))}}}),oi=S({"src/language-markdown/clean.js"(e,t){k();var{isFrontMatterNode:r}=oe(),{startWithPragma:n}=ii(),i=new Set(["position","raw"]);function a(e,t,i){if(("front-matter"===e.type||"code"===e.type||"yaml"===e.type||"import"===e.type||"export"===e.type||"jsx"===e.type)&&delete t.value,"list"===e.type&&delete t.isAligned,("list"===e.type||"listItem"===e.type)&&(delete t.spread,delete t.loose),"text"===e.type||("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),("definition"===e.type||"linkReference"===e.type)&&(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),("definition"===e.type||"link"===e.type||"image"===e.type)&&e.title&&(t.title=e.title.replace(/\\(["')])/g,"$1")),i&&"root"===i.type&&i.children.length>0&&(i.children[0]===e||r(i.children[0])&&i.children[1]===e)&&"html"===e.type&&n(e.value)))return null}a.ignoredProperties=i,t.exports=a}}),si=S({"src/language-markdown/printer-markdown.js"(e,t){k();var{getLast:r,getMinNotPresentContinuousCount:n,getMaxContinuousCount:i,getStringWidth:a,isNonEmptyArray:o}=oe(),{builders:{breakParent:s,join:c,line:u,literalline:l,markAsRoot:p,hardline:d,softline:f,ifBreak:_,fill:m,align:g,indent:h,group:y,hardlineWithoutBreakParent:v},utils:{normalizeDoc:D,replaceTextEndOfLine:b},printer:{printDocToString:x}}=j(),E=ni(),{insertPragma:S}=ii(),{locStart:C,locEnd:T}=ei(),A=ai(),N=oi(),{getFencedCodeBlockValue:P,hasGitDiffFriendlyOrderedList:F,splitText:w,punctuationPattern:I,INLINE_NODE_TYPES:O,INLINE_NODE_WRAPPER_TYPES:L,isAutolink:M}=ri(),R=new Set(["importExport"]),B=["heading","tableCell","link","wikiLink"],K=new Set(["listItem","definition","footnoteDefinition"]);function J(e,t,r,n){let i=e.getValue(),a=null===i.checked?"":i.checked?"[x] ":"[ ] ";return[a,H(e,t,r,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return g(" ".repeat(a.length),r());let o=" ".repeat(function(e,t,r){return e<t?t:e>r?r:e}(t.tabWidth-n.length,0,3));return[o,g(o,r())]}})]}function U(e,t){return function(e,t,r){let n=-1;for(let i of t.children)if(i.type===e.type&&r(i)?n++:n=-1,i===e)return n}(e,t,(t=>t.ordered===e.ordered))}function q(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function V(e,t){let r=q(e,t);return-1===r?null:e.getParentNode(r)}function z(e,t,r){if("preserve"===r.proseWrap&&"\n"===t)return d;let n="always"===r.proseWrap&&!V(e,B);return""!==t?n?u:" ":n?f:""}function W(e,t,r){let n=[],i=null,{children:a}=e.getValue();for(let[e,t]of a.entries())switch($(t)){case"start":null===i&&(i={index:e,offset:t.position.end.offset});break;case"end":null!==i&&(n.push({start:i,end:{index:e,offset:t.position.start.offset}}),i=null)}return H(e,t,r,{processor:(e,i)=>{if(n.length>0){let e=n[0];if(i===e.start.index)return[a[e.start.index].value,t.originalText.slice(e.start.offset,e.end.offset),a[e.end.index].value];if(e.start.index<i&&i<e.end.index)return!1;if(i===e.end.index)return n.shift(),!1}return r()}})}function H(e,t,r){let n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:a}=i,o=i.processor||(()=>r()),s=e.getValue(),c=[];return e.each(((e,r)=>{let i=e.getValue(),a=o(e,r);if(!1!==a){let e={parts:c,prevNode:n,parentNode:s,options:t};Y(i,e)&&(c.push(d),n&&R.has(n.type)||(X(i,e)||Q(i,e))&&c.push(d),Q(i,e)&&c.push(d)),c.push(a),n=i}}),"children"),a?a(c):c}function G(e){let t=e;for(;o(t.children);)t=r(t.children);return t}function $(e){let t;if("html"===e.type)t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let r;"esComment"===e.type?r=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(r=e.children[0]),r&&(t=r.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!t&&(t[1]?t[1]:"next")}function Y(e,t){let r=0===t.parts.length,n=O.includes(e.type),i="html"===e.type&&L.includes(t.parentNode.type);return!r&&!n&&!i}function X(e,t){let r=(t.prevNode&&t.prevNode.type)===e.type&&K.has(e.type),n="listItem"===t.parentNode.type&&!t.parentNode.loose,i=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,a="next"===$(t.prevNode),o="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,s="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return i||!(r||n||a||o||s)}function Q(e,t){let r=t.prevNode&&"list"===t.prevNode.type,n="code"===e.type&&e.isIndented;return r&&n}function Z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[" ",...Array.isArray(t)?t:[t]];return new RegExp(r.map((e=>"\\".concat(e))).join("|")).test(e)?"<".concat(e,">"):e}function ee(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+ee(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");let r=e.split("'").length-1,n=e.split('"').length-1,i=r>n?'"':n>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(i,")"),"g"),"\\$1"),"".concat(i).concat(e).concat(i)}t.exports={preprocess:A,print:function(e,t,o){let E=e.getValue();if(function(e){let t=V(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return w(t.originalText.slice(E.position.start.offset,E.position.end.offset),t).map((r=>"word"===r.type?r.value:""===r.value?"":z(e,r.value,t)));switch(E.type){case"front-matter":return t.originalText.slice(E.position.start.offset,E.position.end.offset);case"root":return 0===E.children.length?"":[D(W(e,t,o)),R.has(G(E).type)?"":d];case"paragraph":return H(e,t,o,{postprocessor:m});case"sentence":return H(e,t,o);case"word":{let t=E.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(I,")(_+)"),"(_+)(".concat(I,"|$)")].join("|"),"g"),((e,t,r,n,i)=>(r?"".concat(t).concat(r):"".concat(n).concat(i)).replace(/_/g,"\\_"))),r=(e,t,r)=>"sentence"===e.type&&0===r,n=(e,t,r)=>M(e.children[r-1]);return t!==E.value&&(e.match(void 0,r,n)||e.match(void 0,r,((e,t,r)=>"emphasis"===e.type&&0===r),n))&&(t=t.replace(/^(\\?[*_])+/,(e=>e.replace(/\\/g,"")))),t}case"whitespace":{let r=e.getParentNode(),n=r.children.indexOf(E),i=r.children[n+1],a=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(i.value)?"never":t.proseWrap;return z(e,E.value,{proseWrap:a})}case"emphasis":{let n;if(M(E.children[0]))n=t.originalText[E.position.start.offset];else{let t=e.getParentNode(),i=t.children.indexOf(E),a=t.children[i-1],o=t.children[i+1];n=a&&"sentence"===a.type&&a.children.length>0&&"word"===r(a.children).type&&!r(a.children).hasTrailingPunctuation||o&&"sentence"===o.type&&o.children.length>0&&"word"===o.children[0].type&&!o.children[0].hasLeadingPunctuation||V(e,"emphasis")?"*":"_"}return[n,H(e,t,o),n]}case"strong":return["**",H(e,t,o),"**"];case"delete":return["~~",H(e,t,o),"~~"];case"inlineCode":{let e=n(E.value,"`"),t="`".repeat(e||1),r=e&&!/^\s/.test(E.value)?" ":"";return[t,r,E.value,r,t]}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?E.value:E.value.replace(/[\t\n]+/g," "),["[[",e,"]]"]}case"link":switch(t.originalText[E.position.start.offset]){case"<":{let e="mailto:";return["<",E.url.startsWith(e)&&t.originalText.slice(E.position.start.offset+1,E.position.start.offset+1+e.length)!==e?E.url.slice(e.length):E.url,">"]}case"[":return["[",H(e,t,o),"](",Z(E.url,")"),ee(E.title,t),")"];default:return t.originalText.slice(E.position.start.offset,E.position.end.offset)}case"image":return["![",E.alt||"","](",Z(E.url,")"),ee(E.title,t),")"];case"blockquote":return["> ",g("> ",H(e,t,o))];case"heading":return["#".repeat(E.depth)+" ",H(e,t,o)];case"code":{if(E.isIndented){let e=" ".repeat(4);return g(e,[e,...b(E.value,d)])}let e=t.__inJsTemplate?"~":"`",r=e.repeat(Math.max(3,i(E.value,e)+1));return[r,E.lang||"",E.meta?" "+E.meta:"",d,...b(P(E,t.originalText),d),d,r]}case"html":{let t=e.getParentNode(),n="root"===t.type&&r(t.children)===E?E.value.trimEnd():E.value,i=/^<!--.*-->$/s.test(n);return b(n,i?d:p(l))}case"list":{let r=U(E,e.getParentNode()),n=F(E,t);return H(e,t,o,{processor:(e,i)=>{let a=function(){let e=E.ordered?(0===i?E.start:n?1:E.start+i)+(r%2==0?". ":") "):r%2==0?"- ":"* ";return E.isAligned||E.hasIndentedCodeblock?function(e,t){let r=n();return e+" ".repeat(r>=4?0:r);function n(){let r=e.length%t.tabWidth;return 0===r?0:t.tabWidth-r}}(e,t):e}(),s=e.getValue();return 2===s.children.length&&"html"===s.children[1].type&&s.children[0].position.start.column!==s.children[1].position.start.column?[a,J(e,t,o,a)]:[a,g(" ".repeat(a.length),J(e,t,o,a))]}})}case"thematicBreak":{let t=q(e,"list");return-1===t?"---":U(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",H(e,t,o),"]","full"===E.referenceType?["[",E.identifier,"]"]:"collapsed"===E.referenceType?"[]":""];case"imageReference":return"full"===E.referenceType?["![",E.alt||"","][",E.identifier,"]"]:["![",E.alt,"]","collapsed"===E.referenceType?"[]":""];case"definition":{let e="always"===t.proseWrap?u:" ";return y(["[",E.identifier,"]:",h([e,Z(E.url),null===E.title?"":[e,ee(E.title,t,!1)]])])}case"footnote":return["[^",H(e,t,o),"]"];case"footnoteReference":return["[^",E.identifier,"]"];case"footnoteDefinition":{let r=e.getParentNode().children[e.getName()+1],n=1===E.children.length&&"paragraph"===E.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&E.children[0].position.start.line===E.children[0].position.end.line);return["[^",E.identifier,"]: ",n?H(e,t,o):y([g(" ".repeat(4),H(e,t,o,{processor:(e,t)=>0===t?y([f,o()]):o()})),r&&"footnoteDefinition"===r.type?f:""])]}case"table":return function(e,t,r){let n=e.getValue(),i=[],o=e.map((e=>e.map(((e,n)=>{let o=x(r(),t).formatted,s=a(o);return i[n]=Math.max(i[n]||3,s),{text:o,width:s}}),"children")),"children"),u=p(!1);if("never"!==t.proseWrap)return[s,u];let l=p(!0);return[s,y(_(l,u))];function p(e){let t=[f(o[0],e),d(e)];return o.length>1&&t.push(c(v,o.slice(1).map((t=>f(t,e))))),c(v,t)}function d(e){let t=i.map(((t,r)=>{let i=n.align[r],a="center"===i||"left"===i?":":"-",o="center"===i||"right"===i?":":"-",s=e?"-":"-".repeat(t-2);return"".concat(a).concat(s).concat(o)}));return"| ".concat(t.join(" | ")," |")}function f(e,t){let r=e.map(((e,r)=>{let{text:a,width:o}=e;if(t)return a;let s=i[r]-o,c=n.align[r],u=0;"right"===c?u=s:"center"===c&&(u=Math.floor(s/2));let l=s-u;return"".concat(" ".repeat(u)).concat(a).concat(" ".repeat(l))}));return"| ".concat(r.join(" | ")," |")}}(e,t,o);case"tableCell":return H(e,t,o);case"break":return/\s/.test(t.originalText[E.position.start.offset])?[" ",p(l)]:["\\",d];case"liquidNode":return b(E.value,d);case"importExport":return[E.value,d];case"esComment":return["{/* ",E.value," */}"];case"jsx":return E.value;case"math":return["$$",d,E.value?[...b(E.value,d),d]:"","$$"];case"inlineMath":return t.originalText.slice(C(E),T(E));default:throw new Error("Unknown markdown type ".concat(JSON.stringify(E.type)))}},embed:E,massageAstNode:N,hasPrettierIgnore:function(e){let t=Number(e.getName());return 0!==t&&"next"===$(e.getParentNode().children[t-1])},insertPragma:S}}}),ci=S({"src/language-markdown/options.js"(e,t){k();var r=un();t.exports={proseWrap:r.proseWrap,singleQuote:r.singleQuote}}}),ui=S({"src/language-markdown/parsers.js"(){k()}}),li=S({"node_modules/linguist-languages/data/Markdown.json"(e,t){t.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),pi=S({"src/language-markdown/index.js"(e,t){k();var r=qt(),n=si(),i=ci(),a=ui(),o=[r(li(),(e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter((e=>".mdx"!==e))}))),r(li(),(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))],s={mdast:n};t.exports={languages:o,options:i,printers:s,parsers:a}}}),di=S({"src/language-html/clean.js"(e,t){k();var{isFrontMatterNode:r}=oe(),n=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","parent"]);function i(e,t){if("text"===e.type||"comment"===e.type||r(e)||"yaml"===e.type||"toml"===e.type)return null;"attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value}i.ignoredProperties=n,t.exports=i}}),fi=S({"src/language-html/constants.evaluate.js"(e,t){t.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),_i=S({"src/language-html/utils/is-unknown-namespace.js"(e,t){k(),t.exports=function(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}}}),mi=S({"src/language-html/utils/index.js"(e,t){k();var{inferParserByLanguage:r,isFrontMatterNode:n}=oe(),{builders:{line:i,hardline:a,join:o},utils:{getDocParts:s,replaceTextEndOfLine:c}}=j(),{CSS_DISPLAY_TAGS:u,CSS_DISPLAY_DEFAULT:l,CSS_WHITE_SPACE_TAGS:p,CSS_WHITE_SPACE_DEFAULT:d}=fi(),f=_i(),_=new Set(["\t","\n","\f","\r"," "]),m=e=>e.replace(/[\t\n\f\r ]+$/,""),g=e=>(e=>e.replace(/^[\t\f\r ]*\n/g,""))(m(e)),h=e=>e.split(/[\t\n\f\r ]+/),y=e=>e.match(/^[\t\n\f\r ]*/)[0];function v(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||f(e)&&("script"===e.name||"style"===e.name))}function D(e){return F(e).startsWith("pre")}function b(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function x(e){return T(e)||"element"===e.type&&"br"===e.fullName||E(e)}function E(e){return S(e)&&C(e)}function S(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function C(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function T(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function A(e){let{type:t,lang:r}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===r?"babel":"application/x-typescript"===t||"ts"===r||"tsx"===r?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function N(e){return"block"===e||"list-item"===e||e.startsWith("table")}function P(e){return F(e).startsWith("pre")}function F(e){return"element"===e.type&&(!e.namespace||f(e))&&p[e.name]||d}function w(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split("\n")){if(0===r.length)continue;if(!_.has(r[0]))return 0;let e=y(r).length;r.length!==e&&e<t&&(t=e)}return t===Number.POSITIVE_INFINITY?0:t}function I(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w(e);return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")}var O=new Set(["template","style","script"]);function L(e,t){return M(e,t)&&!O.has(e.fullName)}function M(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function R(e,t){return M(e,t)&&(L(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}t.exports={htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(m(e)),htmlTrimPreserveIndentation:g,hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{let[,t,r,n]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:n,text:r}},canHaveInterpolation:function(e){return e.children&&!v(e)},countChars:function(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]===t&&r++;return r},countParents:function(e,t){let r=0;for(let n=e.stack.length-1;n>=0;n--){let i=e.stack[n];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&r++}return r},dedentString:I,forceBreakChildren:b,forceBreakContent:function(e){return b(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some((e=>function(e){return e.children&&e.children.some((e=>"text"!==e.type))}(e))))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&S(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||C(e.lastChild))},forceNextEmptyLine:function(e){return n(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:function e(t){return t.lastChild?e(t.lastChild):t},getNodeCssStyleDisplay:function(e,t){if(e.prev&&"comment"===e.prev.type){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let r=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}(e,(e=>"svg:foreignObject"===e.fullName)))return"svg"===e.name?"inline-block":"block";r=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||r||f(e))&&u[e.name]||l}},getNodeCssStyleWhiteSpace:F,hasPrettierIgnore:function(e){return!("attribute"===e.type||!e.parent||!e.prev)&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.prev)},inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){let{lang:t}=e.attrMap;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&R(e,t)?A(e)||!("src"in e.attrMap)&&r(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?A(e):"babel"},isVueCustomBlock:L,isVueNonHtmlBlock:R,isVueSlotAttribute:function(e){let t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){let r=e.parent;if(!M(r,t))return!1;let n=r.fullName,i=e.fullName;return"script"===n&&"setup"===i||"style"===n&&"vars"===i},isDanglingSpaceSensitiveNode:function(e){return function(e){return!N(e)&&"inline-block"!==e}(e.cssDisplay)&&!v(e)},isIndentationSensitiveNode:D,isLeadingSpaceSensitiveNode:function(e,t){let r=!(n(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!P(e.parent)&&(!e.prev&&("root"===e.parent.type||P(e)&&e.parent||v(e.parent)||L(e.parent,t)||!function(e){return!N(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.prev&&!function(e){return!N(e)}(e.prev.cssDisplay))));return r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:r},isPreLikeNode:P,isScriptLikeTag:v,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!(n(e)||("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)&&(!e.parent||"none"===e.parent.cssDisplay||!P(e.parent)&&(!e.next&&("root"===e.parent.type||P(e)&&e.parent||v(e.parent)||L(e.parent,t)||!function(e){return!N(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.next&&!function(e){return!N(e)}(e.next.cssDisplay))))},isWhitespaceSensitiveNode:function(e){return v(e)||"interpolation"===e.type||D(e)},isUnknownNamespace:f,preferHardlineAsLeadingSpaces:function(e){return T(e)||e.prev&&x(e.prev)||E(e)},preferHardlineAsTrailingSpaces:x,shouldPreserveContent:function(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||P(e)&&e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type))||R(e,t)&&!v(e)&&"interpolation"!==e.type)},unescapeQuoteEntities:function(e){return e.replace(/&apos;/g,"'").replace(/&quot;/g,'"')},getTextValueParts:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?c(t):c(I(g(t)),a):s(o(i,h(t)))}}}}),gi=S({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return e.$0<=t&&t<=e.$9}k(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=function(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP},e.isDigit=t,e.isAsciiLetter=function(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z},e.isAsciiHexDigit=function(r){return r>=e.$a&&r<=e.$f||r>=e.$A&&r<=e.$F||t(r)},e.isNewLine=function(t){return t===e.$LF||t===e.$CR},e.isOctalDigit=function(t){return e.$0<=t&&t<=e.$7}}}),hi=S({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,r){this.filePath=e,this.name=t,this.members=r}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};e.StaticSymbol=t;e.StaticSymbolCache=class{constructor(){this.cache=new Map}get(e,r,n){let i=(n=n||[]).length?".".concat(n.join(".")):"",a='"'.concat(e,'".').concat(r).concat(i),o=this.cache.get(a);return o||(o=new t(e,r,n),this.cache.set(a,o)),o}}}}),yi=S({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function r(e,t,r){let n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function n(e,t,r){return Array.isArray(e)?t.visitArray(e,r):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===o}(e)?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r)}e.dashCaseToCamelCase=function(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t[1].toUpperCase()}))},e.splitAtColon=function(e,t){return r(e,":",t)},e.splitAtPeriod=function(e,t){return r(e,".",t)},e.visitValue=n,e.isDefined=function(e){return null!=e},e.noUndefined=function(e){return void 0===e?null:e};e.ValueTransformer=class{visitArray(e,t){return e.map((e=>n(e,this,t)))}visitStringMap(e,t){let r={};return Object.keys(e).forEach((i=>{r[i]=n(e[i],this,t)})),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}},e.SyncAsync={assertSync:e=>{if(s(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>s(e)?e.then(t):t(e),all:e=>e.some(s)?Promise.all(e):e},e.error=function(e){throw new Error("Internal Error: ".concat(e))},e.syntaxError=function(e,t){let r=Error(e);return r[i]=!0,t&&(r[a]=t),r};var i="ngSyntaxError",a="ngParseErrors";e.isSyntaxError=function(e){return e[i]},e.getParseErrors=function(e){return e[a]||[]},e.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var o=Object.getPrototypeOf({});function s(e){return!!e&&"function"==typeof e.then}e.utf8Encode=function(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>=55296&&n<=56319&&e.length>r+1){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,n=(n-55296<<10)+t-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|128))}return t},e.stringify=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";let r=t.toString();if(null==r)return""+r;let n=r.indexOf("\n");return-1===n?r:r.substring(0,n)},e.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},e.isPromise=s;e.Version=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};var c=typeof window<"u"&&window,u=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,l=typeof globalThis<"u"&&globalThis||c||u;e.global=l}}),vi=S({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=hi(),r=yi(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var a,o,s=0;function c(e){if(!e||!e.reference)return null;let n=e.reference;if(n instanceof t.StaticSymbol)return n.name;if(n.__anonymousType)return n.__anonymousType;let a=r.stringify(n);return a.indexOf("(")>=0?(a="anonymous_".concat(s++),n.__anonymousType=a):a=i(a),a}e.identifierName=c,e.identifierModuleUrl=function(e){let n=e.reference;return n instanceof t.StaticSymbol?n.filePath:"./".concat(r.stringify(n))},e.viewClassName=function(e,t){return"View_".concat(c({reference:e}),"_").concat(t)},e.rendererTypeName=function(e){return"RenderType_".concat(c({reference:e}))},e.hostViewClassName=function(e){return"HostView_".concat(c({reference:e}))},e.componentFactoryName=function(e){return"".concat(c({reference:e}),"NgFactory")},(o=a=e.CompileSummaryKind||(e.CompileSummaryKind={}))[o.Pipe=0]="Pipe",o[o.Directive=1]="Directive",o[o.NgModule=2]="NgModule",o[o.Injectable=3]="Injectable",e.tokenName=function(e){return null!=e.value?i(e.value):c(e.identifier)},e.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value};e.CompileStylesheetMetadata=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=l(t),this.styleUrls=l(r)}};e.CompileTemplateMetadata=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:i,styles:a,styleUrls:o,externalStylesheets:s,animations:c,ngContentSelectors:u,interpolation:d,isInline:f,preserveWhitespaces:_}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=i,this.styles=l(a),this.styleUrls=l(o),this.externalStylesheets=l(s),this.animations=c?p(c):[],this.ngContentSelectors=u||[],d&&2!=d.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=d,this.isInline=f,this.preserveWhitespaces=_}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};var u=class{static create(e){let{isHost:t,type:i,isComponent:a,selector:o,exportAs:s,changeDetection:c,inputs:l,outputs:p,host:d,providers:f,viewProviders:_,queries:m,guards:g,viewQueries:h,entryComponents:y,template:v,componentViewType:D,rendererType:b,componentFactory:x}=e,E={},S={},C={};null!=d&&Object.keys(d).forEach((e=>{let t=d[e],r=e.match(n);null===r?C[e]=t:null!=r[1]?S[r[1]]=t:null!=r[2]&&(E[r[2]]=t)}));let T={};null!=l&&l.forEach((e=>{let t=r.splitAtColon(e,[e,e]);T[t[0]]=t[1]}));let k={};return null!=p&&p.forEach((e=>{let t=r.splitAtColon(e,[e,e]);k[t[0]]=t[1]})),new u({isHost:t,type:i,isComponent:!!a,selector:o,exportAs:s,changeDetection:c,inputs:T,outputs:k,hostListeners:E,hostProperties:S,hostAttributes:C,providers:f,viewProviders:_,queries:m,guards:g,viewQueries:h,entryComponents:y,template:v,componentViewType:D,rendererType:b,componentFactory:x})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:i,exportAs:a,changeDetection:o,inputs:s,outputs:c,hostListeners:u,hostProperties:p,hostAttributes:d,providers:f,viewProviders:_,queries:m,guards:g,viewQueries:h,entryComponents:y,template:v,componentViewType:D,rendererType:b,componentFactory:x}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=a,this.changeDetection=o,this.inputs=s,this.outputs=c,this.hostListeners=u,this.hostProperties=p,this.hostAttributes=d,this.providers=l(f),this.viewProviders=l(_),this.queries=l(m),this.guards=g,this.viewQueries=l(h),this.entryComponents=l(y),this.template=v,this.componentViewType=D,this.rendererType=b,this.componentFactory=x}toSummary(){return{summaryKind:a.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};e.CompileDirectiveMetadata=u;e.CompilePipeMetadata=class{constructor(e){let{type:t,name:r,pure:n}=e;this.type=t,this.name=r,this.pure=!!n}toSummary(){return{summaryKind:a.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompileShallowModuleMetadata=class{};e.CompileNgModuleMetadata=class{constructor(e){let{type:t,providers:r,declaredDirectives:n,exportedDirectives:i,declaredPipes:a,exportedPipes:o,entryComponents:s,bootstrapComponents:c,importedModules:u,exportedModules:p,schemas:d,transitiveModule:f,id:_}=e;this.type=t||null,this.declaredDirectives=l(n),this.exportedDirectives=l(i),this.declaredPipes=l(a),this.exportedPipes=l(o),this.providers=l(r),this.entryComponents=l(s),this.bootstrapComponents=l(c),this.importedModules=l(u),this.exportedModules=l(p),this.schemas=l(d),this.id=_||null,this.transitiveModule=f||null}toSummary(){let e=this.transitiveModule;return{summaryKind:a.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};function l(e){return e||[]}e.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function p(e){return e.reduce(((e,t)=>{let r=Array.isArray(t)?p(t):t;return e.concat(r)}),[])}function d(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.ProviderMeta=class{constructor(e,t){let{useClass:r,useValue:n,useExisting:i,useFactory:a,deps:o,multi:s}=t;this.token=e,this.useClass=r||null,this.useValue=n,this.useExisting=i,this.useFactory=a||null,this.dependencies=o||null,this.multi=!!s}},e.flatten=p,e.templateSourceUrl=function(e,r,n){let i;return i=n.isInline?r.type.reference instanceof t.StaticSymbol?"".concat(r.type.reference.filePath,".").concat(r.type.reference.name,".html"):"".concat(c(e),"/").concat(c(r.type),".html"):n.templateUrl,r.type.reference instanceof t.StaticSymbol?i:d(i)},e.sharedStylesheetJitUrl=function(e,t){let r=e.moduleUrl.split(/\/\\/g),n=r[r.length-1];return d("css/".concat(t).concat(n,".ngstyle.js"))},e.ngModuleJitUrl=function(e){return d("".concat(c(e.type),"/module.ngfactory.js"))},e.templateJitUrl=function(e,t){return d("".concat(c(e),"/").concat(c(t.type),".ngfactory.js"))}}}),Di=S({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){k(),Object.defineProperty(e,"__esModule",{value:!0});var t=gi(),r=vi(),n=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(e){let r=this.file.content,i=r.length,a=this.offset,o=this.line,s=this.col;for(;a>0&&e<0;)if(a--,e++,r.charCodeAt(a)==t.$LF){o--;let e=r.substr(0,a-1).lastIndexOf(String.fromCharCode(t.$LF));s=e>0?a-e:a}else s--;for(;a<i&&e>0;){let n=r.charCodeAt(a);a++,e--,n==t.$LF?(o++,s=0):s++}return new n(this.file,a,o,s)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let i=n,a=0,o=0;for(;a<e&&n>0&&(n--,a++,"\n"!=r[n]||++o!=t););for(a=0,o=0;a<e&&i<r.length-1&&(i++,a++,"\n"!=r[i]||++o!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,i+1)}}return null}};e.ParseLocation=n;var i=class{constructor(e,t){this.content=e,this.url=t}};e.ParseSourceFile=i;var a,o,s=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=s,e.EMPTY_PARSE_LOCATION=new n(new i("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new s(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(o=a=e.ParseErrorLevel||(e.ParseErrorLevel={}))[o.WARNING=0]="WARNING",o[o.ERROR=1]="ERROR";e.ParseError=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.ERROR;this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(a[this.level]," ->]").concat(e.after,'")'):this.msg}toString(){let e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}},e.typeSourceSpan=function(e,t){let a=r.identifierModuleUrl(t),o=null!=a?"in ".concat(e," ").concat(r.identifierName(t)," in ").concat(a):"in ".concat(e," ").concat(r.identifierName(t)),c=new i("",o);return new s(new n(c,-1,-1,-1),new n(c,-1,-1,-1))},e.r3JitTypeSourceSpan=function(e,t,r){let a="in ".concat(e," ").concat(t," in ").concat(r),o=new i("",a);return new s(new n(o,-1,-1,-1),new n(o,-1,-1,-1))}}}),bi=S({"src/language-html/print-preprocess.js"(e,t){k();var{ParseSourceSpan:r}=Di(),{htmlTrim:n,getLeadingAndTrailingHtmlWhitespace:i,hasHtmlWhitespace:a,canHaveInterpolation:o,getNodeCssStyleDisplay:s,isDanglingSpaceSensitiveNode:c,isIndentationSensitiveNode:u,isLeadingSpaceSensitiveNode:l,isTrailingSpaceSensitiveNode:p,isWhitespaceSensitiveNode:d}=mi(),f=[function(e){e.walk((e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){let t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}}))},function(e){let t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk((e=>{if(e.children)for(let n=0;n<e.children.length;n++){let i=e.children[n];if(!t(i))continue;let a=i.prev,o=i.firstChild;e.removeChild(a),n--;let s=new r(a.sourceSpan.start,o.sourceSpan.end),c=new r(s.start,i.sourceSpan.end);i.condition=a.condition,i.sourceSpan=c,i.startSourceSpan=s,i.removeChild(o)}}))},function(e){return function(e,t,n){e.walk((e=>{if(e.children)for(let i=0;i<e.children.length;i++){let a=e.children[i];if("text"!==a.type&&!t(a))continue;"text"!==a.type&&(a.type="text",a.value=n(a));let o=a.prev;!o||"text"!==o.type||(o.value+=a.value,o.sourceSpan=new r(o.sourceSpan.start,a.sourceSpan.end),e.removeChild(a),i--)}}))}(e,(e=>"cdata"===e.type),(e=>"<![CDATA[".concat(e.value,"]]>")))},function(e,t){if("html"===t.parser)return;let n=/{{(.+?)}}/s;e.walk((e=>{if(o(e))for(let t of e.children){if("text"!==t.type)continue;let i=t.sourceSpan.start,a=null,o=t.value.split(n);for(let n=0;n<o.length;n++,i=a){let s=o[n];n%2!=0?(a=i.moveBy(s.length+4),e.insertChildBefore(t,{type:"interpolation",sourceSpan:new r(i,a),children:0===s.length?[]:[{type:"text",value:s,sourceSpan:new r(i.moveBy(2),a.moveBy(-2))}]})):(a=i.moveBy(s.length),s.length>0&&e.insertChildBefore(t,{type:"text",value:s,sourceSpan:new r(i,a)}))}e.removeChild(t)}}))},function(e){e.walk((e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===n(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);let t=d(e),a=u(e);if(!t)for(let t=0;t<e.children.length;t++){let n=e.children[t];if("text"!==n.type)continue;let{leadingWhitespace:a,text:o,trailingWhitespace:s}=i(n.value),c=n.prev,u=n.next;o?(n.value=o,n.sourceSpan=new r(n.sourceSpan.start.moveBy(a.length),n.sourceSpan.end.moveBy(-s.length)),a&&(c&&(c.hasTrailingSpaces=!0),n.hasLeadingSpaces=!0),s&&(n.hasTrailingSpaces=!0,u&&(u.hasLeadingSpaces=!0))):(e.removeChild(n),t--,(a||s)&&(c&&(c.hasTrailingSpaces=!0),u&&(u.hasLeadingSpaces=!0)))}e.isWhitespaceSensitive=t,e.isIndentationSensitive=a}))},function(e,t){e.walk((e=>{e.cssDisplay=s(e,t)}))},function(e){e.walk((e=>{e.isSelfClosing=!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))},function(e,t){e.walk((e=>{"element"===e.type&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))}))},function(e,t){e.walk((e=>{let{children:r}=e;if(r){if(0===r.length)return void(e.isDanglingSpaceSensitive=c(e));for(let e of r)e.isLeadingSpaceSensitive=l(e,t),e.isTrailingSpaceSensitive=p(e,t);for(let e=0;e<r.length;e++){let t=r[e];t.isLeadingSpaceSensitive=(0===e||t.prev.isTrailingSpaceSensitive)&&t.isLeadingSpaceSensitive,t.isTrailingSpaceSensitive=(e===r.length-1||t.next.isLeadingSpaceSensitive)&&t.isTrailingSpaceSensitive}}}))},function(e){let t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!a(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;e.walk((e=>{if(e.children)for(let n=0;n<e.children.length;n++){let i=e.children[n];if(!t(i))continue;let a=i.prev,o=i.next;a.value+="<".concat(i.rawName,">")+i.firstChild.value+"</".concat(i.rawName,">")+o.value,a.sourceSpan=new r(a.sourceSpan.start,o.sourceSpan.end),a.isTrailingSpaceSensitive=o.isTrailingSpaceSensitive,a.hasTrailingSpaces=o.hasTrailingSpaces,e.removeChild(i),n--,e.removeChild(o)}}))}];t.exports=function(e,t){for(let r of f)r(e,t);return e}}}),xi=S({"src/language-html/pragma.js"(e,t){k(),t.exports={hasPragma:function(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}}}}),Ei=S({"src/language-html/loc.js"(e,t){k(),t.exports={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}}}}),Si=S({"src/language-html/print/tag.js"(e,t){k();var r=Lt(),{isNonEmptyArray:n}=oe(),{builders:{indent:i,join:a,line:o,softline:s,hardline:c},utils:{replaceTextEndOfLine:u}}=j(),{locStart:l,locEnd:p}=Ei(),{isTextLikeNode:d,getLastDescendant:f,isPreLikeNode:_,hasPrettierIgnore:m,shouldPreserveContent:g}=mi();function h(e,t){return e.lastChild&&T(e.lastChild)?"":[v(e,t),b(e,t)]}function y(e,t){return(e.next?S(e.next):C(e.parent))?"":[x(e,t),D(e,t)]}function v(e,t){return C(e)?x(e.lastChild,t):""}function D(e,t){return T(e)?b(e.parent,t):A(e)?O(e.next):""}function b(e,t){if(r(!e.isSelfClosing),E(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return"</".concat(e.rawName)}}function x(e,t){if(E(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]--\x3e";case"ieConditionalStartComment":return"]>\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function E(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(m(e)||g(e.parent,t))}function S(e){return e.prev&&"docType"!==e.prev.type&&!d(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function C(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!d(f(e.lastChild))&&!_(e)}function T(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&d(f(e))}function A(e){return e.next&&!d(e.next)&&d(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function N(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function P(e,t,r){let d=e.getValue();if(!n(d.attrs))return d.isSelfClosing?" ":"";let f=d.prev&&"comment"===d.prev.type&&function(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}(d.prev.value),_="boolean"==typeof f?()=>f:Array.isArray(f)?e=>f.includes(e.rawName):()=>!1,m=e.map((e=>{let n=e.getValue();return _(n)?u(t.originalText.slice(l(n),p(n))):r()}),"attrs"),g="element"===d.type&&"script"===d.fullName&&1===d.attrs.length&&"src"===d.attrs[0].fullName&&0===d.children.length,h=t.singleAttributePerLine&&d.attrs.length>1?c:o,y=[i([g?" ":o,a(h,m)])];return d.firstChild&&N(d.firstChild)||d.isSelfClosing&&C(d.parent)||g?y.push(d.isSelfClosing?" ":""):y.push(t.bracketSameLine?d.isSelfClosing?" ":"":d.isSelfClosing?o:s),y}function F(e){return e.firstChild&&N(e.firstChild)?"":L(e)}function w(e,t){return e.prev&&A(e.prev)?"":[I(e,t),O(e)]}function I(e,t){return N(e)?L(e.parent):S(e)?x(e.prev,t):""}function O(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return"\x3c!--[if ".concat(e.condition,"]>\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function L(e){switch(r(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}t.exports={printClosingTag:function(e,t){return[e.isSelfClosing?"":h(e,t),y(e,t)]},printClosingTagStart:h,printClosingTagStartMarker:b,printClosingTagEndMarker:x,printClosingTagSuffix:D,printClosingTagEnd:y,needsToBorrowLastChildClosingTagEndMarker:C,needsToBorrowParentClosingTagStartMarker:T,needsToBorrowPrevClosingTagEndMarker:S,printOpeningTag:function(e,t,r){let n=e.getValue();return[w(n,t),P(e,t,r),n.isSelfClosing?"":F(n)]},printOpeningTagStart:w,printOpeningTagPrefix:I,printOpeningTagStartMarker:O,printOpeningTagEndMarker:L,needsToBorrowNextOpeningTagStartMarker:A,needsToBorrowParentOpeningTagEndMarker:N}}}),Ci=S({"node_modules/parse-srcset/src/parse-srcset.js"(r,o){var s;k(),s=function(){return function(e,t){var r=t&&t.logger||console;function n(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var r,n=t.exec(e.substring(h));if(n)return r=n[0],h+=r.length,r}for(var a,o,s,c,u,l=e.length,p=/^[ \t\n\r\u000c]+/,d=/^[, \t\n\r\u000c]+/,f=/^[^ \t\n\r\u000c]+/,_=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,h=0,y=[];;){if(i(d),h>=l)return y;a=i(f),o=[],","===a.slice(-1)?(a=a.replace(_,""),D()):v()}function v(){for(i(p),s="",c="in descriptor";;){if(u=e.charAt(h),"in descriptor"===c)if(n(u))s&&(o.push(s),s="",c="after descriptor");else{if(","===u)return h+=1,s&&o.push(s),void D();if("("===u)s+=u,c="in parens";else{if(""===u)return s&&o.push(s),void D();s+=u}}else if("in parens"===c)if(")"===u)s+=u,c="in descriptor";else{if(""===u)return o.push(s),void D();s+=u}else if("after descriptor"===c&&!n(u)){if(""===u)return void D();c="in descriptor",h-=1}h+=1}}function D(){var t,n,i,s,c,u,l,p,d,f=!1,_={};for(s=0;s<o.length;s++)u=(c=o[s])[c.length-1],l=c.substring(0,c.length-1),p=parseInt(l,10),d=parseFloat(l),m.test(l)&&"w"===u?((t||n)&&(f=!0),0===p?f=!0:t=p):g.test(l)&&"x"===u?((t||n||i)&&(f=!0),d<0?f=!0:n=d):m.test(l)&&"h"===u?((i||n)&&(f=!0),0===p?f=!0:i=p):f=!0;f?r&&r.error&&r.error("Invalid srcset descriptor found in '"+e+"' at '"+c+"'."):(_.url=a,t&&(_.w=t),n&&(_.d=n),i&&(_.h=i),y.push(_))}}},i=[],void 0===(a="function"==typeof(n=s)?n.apply(t,i):n)||(e.exports=a)}}),Ti=S({"src/language-html/syntax-attribute.js"(e,t){k();var r=Ci(),{builders:{ifBreak:n,join:i,line:a}}=j();t.exports={printImgSrcset:function(e){let t=r(e,{logger:{error(e){throw new Error(e)}}}),o=t.some((e=>{let{w:t}=e;return t})),s=t.some((e=>{let{h:t}=e;return t}));if(o+s+t.some((e=>{let{d:t}=e;return t}))>1)throw new Error("Mixed descriptor in srcset is not supported");let c=o?"w":s?"h":"d",u=o?"w":s?"h":"x",l=e=>Math.max(...e),p=t.map((e=>e.url)),d=l(p.map((e=>e.length))),f=t.map((e=>e[c])).map((e=>e?e.toString():"")),_=f.map((e=>{let t=e.indexOf(".");return-1===t?e.length:t})),m=l(_);return i([",",a],p.map(((e,t)=>{let r=[e],i=f[t];if(i){let a=d-e.length+1,o=m-_[t],s=" ".repeat(a+o);r.push(n(s," "),i+u)}return r})))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}}}}),ki=S({"src/language-html/syntax-vue.js"(e,t){k();var{builders:{group:r}}=j();t.exports={isVueEventBindingExpression:function(e){let t=e.trim();return/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function(e,t){let{left:n,operator:i,right:a}=function(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,i=e.match(t);if(!i)return;let a={};if(a.for=i[3].trim(),!a.for)return;let o=i[1].trim().replace(n,""),s=o.match(r);s?(a.alias=o.replace(r,""),a.iterator1=s[1].trim(),s[2]&&(a.iterator2=s[2].trim())):a.alias=o;let c=[a.alias,a.iterator1,a.iterator2];return c.some(((e,t)=>!e&&(0===t||c.slice(t+1).some(Boolean))))?void 0:{left:c.filter(Boolean).join(","),operator:i[2],right:a.for}}(e);return[r(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",i," ",t(a,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0})}}}}),Ai=S({"src/language-html/get-node-content.js"(e,t){k();var{needsToBorrowParentClosingTagStartMarker:r,printClosingTagStartMarker:n,needsToBorrowLastChildClosingTagEndMarker:i,printClosingTagEndMarker:a,needsToBorrowParentOpeningTagEndMarker:o,printOpeningTagEndMarker:s}=Si();t.exports=function(e,t){let c=e.startSourceSpan.end.offset;e.firstChild&&o(e.firstChild)&&(c-=s(e).length);let u=e.endSourceSpan.start.offset;return e.lastChild&&r(e.lastChild)?u+=n(e,t).length:i(e)&&(u-=a(e.lastChild,t).length),t.originalText.slice(c,u)}}}),Ni=S({"src/language-html/embed.js"(e,t){k();var{builders:{breakParent:r,group:n,hardline:i,indent:a,line:o,fill:s,softline:c},utils:{mapDoc:u,replaceTextEndOfLine:l}}=j(),p=Dn(),{printClosingTag:d,printClosingTagSuffix:f,needsToBorrowPrevClosingTagEndMarker:_,printOpeningTagPrefix:m,printOpeningTag:g}=Si(),{printImgSrcset:h,printClassNames:y}=Ti(),{printVueFor:v,printVueBindings:D,isVueEventBindingExpression:b}=ki(),{isScriptLikeTag:x,isVueNonHtmlBlock:E,inferScriptParser:S,htmlTrimPreserveIndentation:C,dedentString:T,unescapeQuoteEntities:A,isVueSlotAttribute:N,isVueSfcBindingsAttribute:P,getTextValueParts:F}=mi(),w=Ai();function I(e,t,r){let i=t=>new RegExp(t.join("|")).test(e.fullName),u=()=>A(e.value),p=!1,d=(e,t)=>{let r="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;r&&("ObjectExpression"===r.type||"ArrayExpression"===r.type||"__vue_expression"===t.parser&&("TemplateLiteral"===r.type||"StringLiteral"===r.type))&&(p=!0)},f=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n([a([c,e]),t?c:""])},_=e=>p?(e=>n(e))(e):f(e),m=(e,r)=>t(e,Object.assign({__onHtmlBindingRoot:d,__embeddedInHtml:!0},r));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return f(h(u()));if("class"===e.fullName&&!r.parentParser){let e=u();if(!e.includes("{{"))return y(e)}if("style"===e.fullName&&!r.parentParser){let e=u();if(!e.includes("{{"))return f(m(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===r.parser){if("v-for"===e.fullName)return v(u(),m);if(N(e)||P(e,r))return D(u(),m);let t=["^:","^v-bind:"],n=["^v-"];if(i(["^@","^v-on:"])){let e=u();return _(m(e,{parser:b(e)?"__js_expression":"__vue_event_binding"}))}if(i(t))return _(m(u(),{parser:"__vue_expression"}));if(i(n))return _(m(u(),{parser:"__js_expression"}))}if("angular"===r.parser){let t=(e,t)=>m(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),r=["^\\*"],c=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],p=["^i18n(-.+)?$"];if(i(["^\\(.+\\)$","^on-"]))return _(t(u(),{parser:"__ng_action"}));if(i(c))return _(t(u(),{parser:"__ng_binding"}));if(i(p)){let t=u().trim();return f(s(F(e,t)),!t.includes("@@"))}if(i(r))return _(t(u(),{parser:"__ng_directive"}));let d=/{{(.+?)}}/s,g=u();if(d.test(g)){let e=[];for(let[r,i]of g.split(d).entries())if(r%2==0)e.push(l(i));else try{e.push(n(["{{",a([o,t(i,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),o,"}}"]))}catch{e.push("{{",l(i),"}}")}return n(e)}}return null}t.exports=function(e,t,s,c){let l=e.getValue();switch(l.type){case"element":if(x(l)||"interpolation"===l.type)return;if(!l.isSelfClosing&&E(l,c)){let r=S(l,c);if(!r)return;let a=w(l,c),o=/^\s*$/.test(a),u="";return o||(u=s(C(a),{parser:r,__embeddedInHtml:!0},{stripTrailingHardline:!0}),o=""===u),[m(l,c),n(g(e,c,t)),o?"":i,u,o?"":i,d(l,c),f(l,c)]}break;case"text":if(x(l.parent)){let e=S(l.parent);if(e){let t="markdown"===e?T(l.value.replace(/^[^\S\n]*\n/,"")):l.value,n={parser:e,__embeddedInHtml:!0};if("html"===c.parser&&"babel"===e){let e="script",{attrMap:t}=l.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),n.__babelSourceType=e}return[r,m(l,c),s(t,n,{stripTrailingHardline:!0}),f(l,c)]}}else if("interpolation"===l.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===c.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===c.parser?e.parser="__vue_expression":e.parser="__js_expression",[a([o,s(l.value,e,{stripTrailingHardline:!0})]),l.parent.next&&_(l.parent.next)?" ":o]}break;case"attribute":{if(!l.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(c.originalText.slice(l.valueSpan.start.offset,l.valueSpan.end.offset)))return[l.rawName,"=",l.value];if("lwc"===c.parser&&/^{.*}$/s.test(c.originalText.slice(l.valueSpan.start.offset,l.valueSpan.end.offset)))return[l.rawName,"=",l.value];let e=I(l,((e,t)=>s(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})),c);if(e)return[l.rawName,'="',n(u(e,(e=>"string"==typeof e?e.replace(/"/g,"&quot;"):e))),'"'];break}case"front-matter":return p(l,s)}}}}),Pi=S({"src/language-html/print/children.js"(e,t){k();var{builders:{breakParent:r,group:n,ifBreak:i,line:a,softline:o,hardline:s},utils:{replaceTextEndOfLine:c}}=j(),{locStart:u,locEnd:l}=Ei(),{forceBreakChildren:p,forceNextEmptyLine:d,isTextLikeNode:f,hasPrettierIgnore:_,preferHardlineAsLeadingSpaces:m}=mi(),{printOpeningTagPrefix:g,needsToBorrowNextOpeningTagStartMarker:h,printOpeningTagStartMarker:y,needsToBorrowPrevClosingTagEndMarker:v,printClosingTagEndMarker:D,printClosingTagSuffix:b,needsToBorrowParentClosingTagStartMarker:x}=Si();function E(e,t,r){let n=e.getValue();return _(n)?[g(n,t),...c(t.originalText.slice(u(n)+(n.prev&&h(n.prev)?y(n).length:0),l(n)-(n.next&&v(n.next)?D(n,t).length:0))),b(n,t)]:r()}function S(e,t){return f(e)&&f(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?m(t)?s:a:"":m(t)?s:o:h(e)&&(_(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&v(t)?"":!t.isLeadingSpaceSensitive||m(t)||v(t)&&e.lastChild&&x(e.lastChild)&&e.lastChild.lastChild&&x(e.lastChild.lastChild)?s:t.hasLeadingSpaces?a:o}t.exports={printChildren:function(e,t,a){let c=e.getValue();if(p(c))return[r,...e.map((e=>{let r=e.getValue(),n=r.prev?S(r.prev,r):"";return[n?[n,d(r.prev)?s:""]:"",E(e,t,a)]}),"children")];let u=c.children.map((()=>Symbol("")));return e.map(((e,r)=>{let c=e.getValue();if(f(c)){if(c.prev&&f(c.prev)){let r=S(c.prev,c);if(r)return d(c.prev)?[s,s,E(e,t,a)]:[r,E(e,t,a)]}return E(e,t,a)}let l=[],p=[],_=[],m=[],g=c.prev?S(c.prev,c):"",h=c.next?S(c,c.next):"";return g&&(d(c.prev)?l.push(s,s):g===s?l.push(s):f(c.prev)?p.push(g):p.push(i("",o,{groupId:u[r-1]}))),h&&(d(c)?f(c.next)&&m.push(s,s):h===s?f(c.next)&&m.push(s):_.push(h)),[...l,n([...p,n([E(e,t,a),..._],{id:u[r]})]),...m]}),"children")}}}}),Fi=S({"src/language-html/print/element.js"(e,t){k();var{builders:{breakParent:r,dedentToRoot:n,group:i,ifBreak:a,indentIfBreak:o,indent:s,line:c,softline:u},utils:{replaceTextEndOfLine:l}}=j(),p=Ai(),{shouldPreserveContent:d,isScriptLikeTag:f,isVueCustomBlock:_,countParents:m,forceBreakContent:g}=mi(),{printOpeningTagPrefix:h,printOpeningTag:y,printClosingTagSuffix:v,printClosingTag:D,needsToBorrowPrevClosingTagEndMarker:b,needsToBorrowLastChildClosingTagEndMarker:x}=Si(),{printChildren:E}=Pi();t.exports={printElement:function(e,t,S){let C=e.getValue();if(d(C,t))return[h(C,t),i(y(e,t,S)),...l(p(C,t)),...D(C,t),v(C,t)];let T=1===C.children.length&&"interpolation"===C.firstChild.type&&C.firstChild.isLeadingSpaceSensitive&&!C.firstChild.hasLeadingSpaces&&C.lastChild.isTrailingSpaceSensitive&&!C.lastChild.hasTrailingSpaces,k=Symbol("element-attr-group-id"),A=r=>i([i(y(e,t,S),{id:k}),r,D(C,t)]);return 0===C.children.length?A(C.hasDanglingSpaces&&C.isDanglingSpaceSensitive?c:""):A([g(C)?r:"",(N=[T?a(u,"",{groupId:k}):C.firstChild.hasLeadingSpaces&&C.firstChild.isLeadingSpaceSensitive?c:"text"===C.firstChild.type&&C.isWhitespaceSensitive&&C.isIndentationSensitive?n(u):u,E(e,t,S)],T?o(N,{groupId:k}):!f(C)&&!_(C,t)||"root"!==C.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?s(N):N),(C.next?b(C.next):x(C.parent))?C.lastChild.hasTrailingSpaces&&C.lastChild.isTrailingSpaceSensitive?" ":"":T?a(u,"",{groupId:k}):C.lastChild.hasTrailingSpaces&&C.lastChild.isTrailingSpaceSensitive?c:("comment"===C.lastChild.type||"text"===C.lastChild.type&&C.isWhitespaceSensitive&&C.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*m(e,(e=>e.parent&&"root"!==e.parent.type)),"}$")).test(C.lastChild.value)?"":u]);var N}}}}),wi=S({"src/language-html/printer-html.js"(e,t){k();var{builders:{fill:r,group:n,hardline:i,literalline:a},utils:{cleanDoc:o,getDocParts:s,isConcat:c,replaceTextEndOfLine:u}}=j(),l=di(),{countChars:p,unescapeQuoteEntities:d,getTextValueParts:f}=mi(),_=bi(),{insertPragma:m}=xi(),{locStart:g,locEnd:h}=Ei(),y=Ni(),{printClosingTagSuffix:v,printClosingTagEnd:D,printOpeningTagPrefix:b,printOpeningTagStart:x}=Si(),{printElement:E}=Fi(),{printChildren:S}=Pi();t.exports={preprocess:_,print:function(e,t,l){let _=e.getValue();switch(_.type){case"front-matter":return u(_.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(_),[n(S(e,t,l)),i];case"element":case"ieConditionalComment":return E(e,t,l);case"ieConditionalStartComment":case"ieConditionalEndComment":return[x(_),D(_)];case"interpolation":return[x(_,t),...e.map(l,"children"),D(_,t)];case"text":{if("interpolation"===_.parent.type){let e=/\n[^\S\n]*$/,t=e.test(_.value),r=t?_.value.replace(e,""):_.value;return[...u(r),t?i:""]}let e=o([b(_,t),...f(_),v(_,t)]);return c(e)||"fill"===e.type?r(s(e)):e}case"docType":return[n([x(_,t)," ",_.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),D(_,t)];case"comment":return[b(_,t),...u(t.originalText.slice(g(_),h(_)),a),v(_,t)];case"attribute":{if(null===_.value)return _.rawName;let e=d(_.value),t=p(e,"'")<p(e,'"')?"'":'"';return[_.rawName,"=",t,...u('"'===t?e.replace(/"/g,"&quot;"):e.replace(/'/g,"&apos;")),t]}default:throw new Error("Unexpected node type ".concat(_.type))}},insertPragma:m,massageAstNode:l,embed:y}}}),Ii=S({"src/language-html/options.js"(e,t){k();var r=un(),n="HTML";t.exports={bracketSameLine:r.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:n,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:r.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:n,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),Oi=S({"src/language-html/parsers.js"(){k()}}),Li=S({"node_modules/linguist-languages/data/HTML.json"(e,t){t.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),Mi=S({"node_modules/linguist-languages/data/Vue.json"(e,t){t.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),Ri=S({"src/language-html/index.js"(e,t){k();var r=qt(),n=wi(),i=Ii(),a=Oi(),o=[r(Li(),(()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),r(Li(),(e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]}))),r(Li(),(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),r(Mi(),(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))],s={html:n};t.exports={languages:o,printers:s,options:i,parsers:a}}}),Bi=S({"src/language-yaml/pragma.js"(e,t){k(),t.exports={isPragma:function(e){return/^\s*@(?:prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n".concat(e)}}}}),ji=S({"src/language-yaml/loc.js"(e,t){k(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),Ki=S({"src/language-yaml/embed.js"(e,t){k(),t.exports=function(e,t,r,n){if("root"===e.getValue().type&&n.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint)rc$/.test(n.filepath))return r(n.originalText,Object.assign(Object.assign({},n),{},{parser:"json"}))}}}),Ji=S({"src/language-yaml/utils.js"(e,t){k();var{getLast:r,isNonEmptyArray:n}=oe();function i(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function a(e){return"prettier-ignore"===e.value.trim()}function o(e){return e&&n(e.leadingComments)}function s(e){return e&&n(e.middleComments)}function c(e){return e&&e.indicatorComment}function u(e){return e&&e.trailingComment}function l(e){return e&&n(e.endComments)}function p(e){let t,r=[];for(let n of e.split(/( +)/))" "!==n?" "===t?r.push(n):r.push((r.pop()||"")+n):void 0===t&&r.unshift(""),t=n;return" "===t&&r.push((r.pop()||"")+" "),""===r[0]&&(r.shift(),r.unshift(" "+(r.shift()||""))),r}t.exports={getLast:r,getAncestorCount:function(e,t){let r=0,n=e.stack.length-1;for(let a=0;a<n;a++){let n=e.stack[a];i(n)&&t(n)&&r++}return r},isNode:i,isEmptyNode:function(e){return!n(e.children)&&!function(e){return o(e)||s(e)||c(e)||u(e)||l(e)}(e)},isInlineNode:function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}},mapNode:function e(t,r,n){return r("children"in t?Object.assign(Object.assign({},t),{},{children:t.children.map((n=>e(n,r,t)))}):t,n)},defineShortcut:function(e,t,r){Object.defineProperty(e,t,{get:r,enumerable:!1})},isNextLineEmpty:function(e,t){let r=0,n=t.length;for(let i=e.position.end.offset-1;i<n;i++){let e=t[i];if("\n"===e&&r++,1===r&&/\S/.test(e))return!1;if(2===r)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}let t=e.stack.length;for(let r=1;r<t;r++){let t=e.stack[r],n=e.stack[r-1];if(Array.isArray(n)&&"number"==typeof t&&t!==n.length-1)return!1}return!0},getBlockValueLineContents:function(e,t){let n,{parentIndent:i,isLastDescendant:a,options:o}=t,s=e.position.start.line===e.position.end.line?"":o.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1];if(null===e.indent){let e=s.match(/^(?<leadingSpace> *)[^\n\r ]/m);n=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else n=e.indent-1+i;let c=s.split("\n").map((e=>e.slice(n)));return"preserve"===o.proseWrap||"blockLiteral"===e.type?u(c.map((e=>0===e.length?[]:[e]))):u(c.map((e=>0===e.length?[]:p(e))).reduce(((e,t,n)=>0!==n&&c[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(r(e))?[...e.slice(0,-1),[...r(e),...t]]:[...e,t]),[]).map((e=>e.reduce(((e,t)=>e.length>0&&/\s$/.test(r(e))?[...e.slice(0,-1),r(e)+" "+t]:[...e,t]),[]))).map((e=>"never"===o.proseWrap?[e.join(" ")]:e)));function u(t){if("keep"===e.chomping)return 0===r(t).length?t.slice(0,-1):t;let n=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)n++;return 0===n?t:n>=2&&!a?t.slice(0,-(n-1)):t.slice(0,-n)}},getFlowScalarLineContents:function(e,t,n){let i=t.split("\n").map(((e,t,r)=>0===t&&t===r.length-1?e:0!==t&&t!==r.length-1?e.trim():0===t?e.trimEnd():e.trimStart()));return"preserve"===n.proseWrap?i.map((e=>0===e.length?[]:[e])):i.map((e=>0===e.length?[]:p(e))).reduce(((t,n,a)=>0!==a&&i[a-1].length>0&&n.length>0&&("quoteDouble"!==e||!r(r(t)).endsWith("\\"))?[...t.slice(0,-1),[...r(t),...n]]:[...t,n]),[]).map((e=>"never"===n.proseWrap?[e.join(" ")]:e))},getLastDescendantNode:function e(t){return n(t.children)?e(r(t.children)):t},hasPrettierIgnore:function(e){let t=e.getValue();if("documentBody"===t.type){let t=e.getParentNode();return l(t.head)&&a(r(t.head.endComments))}return o(t)&&a(r(t.leadingComments))},hasLeadingComments:o,hasMiddleComments:s,hasIndicatorComment:c,hasTrailingComment:u,hasEndComments:l}}}),Ui=S({"src/language-yaml/print-preprocess.js"(e,t){k();var{defineShortcut:r,mapNode:n}=Ji();function i(e){switch(e.type){case"document":r(e,"head",(()=>e.children[0])),r(e,"body",(()=>e.children[1]));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":r(e,"content",(()=>e.children[0]));break;case"mappingItem":case"flowMappingItem":r(e,"key",(()=>e.children[0])),r(e,"value",(()=>e.children[1]))}return e}t.exports=function(e){return n(e,i)}}}),qi=S({"src/language-yaml/print/misc.js"(e,t){k();var{builders:{softline:r,align:n}}=j(),{hasEndComments:i,isNextLineEmpty:a,isNode:o}=Ji(),s=new WeakMap;function c(e){return i(e)&&!o(e,["documentHead","documentBody","flowMapping","flowSequence"])}t.exports={alignWithSpaces:function(e,t){return n(" ".repeat(e),t)},shouldPrintEndComments:c,printNextEmptyLine:function(e,t){let n,i=e.getValue(),o=e.stack[0];return s.has(o)?n=s.get(o):(n=new Set,s.set(o,n)),n.has(i.position.end.line)||(n.add(i.position.end.line),!a(i,t)||c(e.getParentNode()))?"":r}}}}),Vi=S({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){k();var{builders:{ifBreak:r,line:n,softline:i,hardline:a,join:o}}=j(),{isEmptyNode:s,getLast:c,hasEndComments:u}=Ji(),{printNextEmptyLine:l,alignWithSpaces:p}=qi();function d(e,t,l){let d=e.getValue(),_="flowMapping"===d.type,m=_?"{":"[",g=_?"}":"]",h=i;_&&d.children.length>0&&l.bracketSpacing&&(h=n);let y=c(d.children),v=y&&"flowMappingItem"===y.type&&s(y.key)&&s(y.value);return[m,p(l.tabWidth,[h,f(e,t,l),"none"===l.trailingComma?"":r(","),u(d)?[a,o(a,e.map(t,"endComments"))]:""]),v?"":h,g]}function f(e,t,r){let i=e.getValue();return e.map(((e,a)=>[t(),a===i.children.length-1?"":[",",n,i.children[a].position.start.line!==i.children[a+1].position.start.line?l(e,r.originalText):""]]),"children")}t.exports={printFlowMapping:d,printFlowSequence:d}}}),zi=S({"src/language-yaml/print/mapping-item.js"(e,t){k();var{builders:{conditionalGroup:r,group:n,hardline:i,ifBreak:a,join:o,line:s}}=j(),{hasLeadingComments:c,hasMiddleComments:u,hasTrailingComment:l,hasEndComments:p,isNode:d,isEmptyNode:f,isInlineNode:_}=Ji(),{alignWithSpaces:m}=qi();function g(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}t.exports=function(e,t,h,y,v){let{key:D,value:b}=e,x=f(D),E=f(b);if(x&&E)return": ";let S=y("key"),C=function(e){return e.key.content&&"alias"===e.key.content.type}(e)?" ":"";if(E)return"flowMappingItem"===e.type&&"flowMapping"===t.type?S:"mappingItem"!==e.type||!g(D.content,v)||l(D.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",m(2,S)]:[S,C,":"];let T=y("value");if(x)return[": ",m(2,T)];if(c(b)||!_(D.content))return["? ",m(2,S),i,o("",h.map(y,"value","leadingComments").map((e=>[e,i]))),": ",m(2,T)];if(function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(D.content)&&!c(D.content)&&!u(D.content)&&!l(D.content)&&!p(D)&&!c(b.content)&&!u(b.content)&&!p(b)&&g(b.content,v))return[S,C,": ",T];let k=Symbol("mappingKey"),A=n([a("? "),n(m(2,S),{id:k})]),N=[i,": ",m(2,T)],P=[C,":"];c(b.content)||p(b)&&b.content&&!d(b.content,["mapping","sequence"])||"mapping"===t.type&&l(D.content)&&_(b.content)||d(b.content,["mapping","sequence"])&&null===b.content.tag&&null===b.content.anchor?P.push(i):b.content&&P.push(s),P.push(T);let F=m(v.tabWidth,P);return!g(D.content,v)||c(D.content)||u(D.content)||p(D)?r([[A,a(N,F,{groupId:k})]]):r([[S,F]])}}}),Wi=S({"src/language-yaml/print/block.js"(e,t){k();var{builders:{dedent:r,dedentToRoot:n,fill:i,hardline:a,join:o,line:s,literalline:c,markAsRoot:u},utils:{getDocParts:l}}=j(),{getAncestorCount:p,getBlockValueLineContents:d,hasIndicatorComment:f,isLastDescendantNode:_,isNode:m}=Ji(),{alignWithSpaces:g}=qi();t.exports=function(e,t,h){let y=e.getValue(),v=p(e,(e=>m(e,["sequence","mapping"]))),D=_(e),b=["blockFolded"===y.type?">":"|"];null!==y.indent&&b.push(y.indent.toString()),"clip"!==y.chomping&&b.push("keep"===y.chomping?"+":"-"),f(y)&&b.push(" ",t("indicatorComment"));let x=d(y,{parentIndent:v,isLastDescendant:D,options:h}),E=[];for(let[e,t]of x.entries())0===e&&E.push(a),E.push(i(l(o(s,t)))),e!==x.length-1?E.push(0===t.length?a:u(c)):"keep"===y.chomping&&D&&E.push(n(0===t.length?a:c));return null===y.indent?b.push(r(g(h.tabWidth,E))):b.push(n(g(y.indent-1+v,E))),b}}}),Hi=S({"src/language-yaml/printer-yaml.js"(e,t){k();var{builders:{breakParent:r,fill:n,group:i,hardline:a,join:o,line:s,lineSuffix:c,literalline:u},utils:{getDocParts:l,replaceTextEndOfLine:p}}=j(),{isPreviousLineEmpty:d}=oe(),{insertPragma:f,isPragma:_}=Bi(),{locStart:m}=ji(),g=Ki(),{getFlowScalarLineContents:h,getLastDescendantNode:y,hasLeadingComments:v,hasMiddleComments:D,hasTrailingComment:b,hasEndComments:x,hasPrettierIgnore:E,isLastDescendantNode:S,isNode:C,isInlineNode:T}=Ji(),A=Ui(),{alignWithSpaces:N,printNextEmptyLine:P,shouldPrintEndComments:F}=qi(),{printFlowMapping:w,printFlowSequence:I}=Vi(),O=zi(),L=Wi();function M(e,t){return b(e)||t&&(t.head.children.length>0||x(t.head))}function R(e,t,r){let i=h(e,t,r);return o(a,i.map((e=>n(l(o(s,e))))))}t.exports={preprocess:A,embed:g,print:function(e,t,n){let s=e.getValue(),l=[];"mappingValue"!==s.type&&v(s)&&l.push([o(a,e.map(n,"leadingComments")),a]);let{tag:f,anchor:_}=s;f&&l.push(n("tag")),f&&_&&l.push(" "),_&&l.push(n("anchor"));let g="";C(s,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!S(e)&&(g=P(e,t.originalText)),(f||_)&&(C(s,["sequence","mapping"])&&!D(s)?l.push(a):l.push(" ")),D(s)&&l.push([1===s.middleComments.length?"":a,o(a,e.map(n,"middleComments")),a]);let h=e.getParentNode();return E(e)?l.push(p(t.originalText.slice(s.position.start.offset,s.position.end.offset).trimEnd(),u)):l.push(i(function(e,t,r,n,i){switch(e.type){case"root":{let{children:t}=e,n=[];r.each(((e,r)=>{let o=t[r],s=t[r+1];0!==r&&n.push(a),n.push(i()),M(o,s)?(n.push(a,"..."),b(o)&&n.push(" ",i("trailingComment"))):s&&!b(s.head)&&n.push(a,"---")}),"children");let o=y(e);return(!C(o,["blockLiteral","blockFolded"])||"keep"!==o.chomping)&&n.push(a),n}case"document":{let s=[];return"head"===function(e,t,r,n){return r.children[0]===e&&/---(?:\s|$)/.test(n.originalText.slice(m(e),m(e)+4))||e.head.children.length>0||x(e.head)||b(e.head)?"head":!M(e,t)&&!!t&&"root"}(e,t.children[r.getName()+1],t,n)&&((e.head.children.length>0||e.head.endComments.length>0)&&s.push(i("head")),b(e.head)?s.push(["---"," ",i(["head","trailingComment"])]):s.push("---")),function(e){return e.body.children.length>0||x(e.body)}(e)&&s.push(i("body")),o(a,s)}case"documentHead":return o(a,[...r.map(i,"children"),...r.map(i,"endComments")]);case"documentBody":{let{children:t,endComments:n}=e,s="";if(t.length>0&&n.length>0){let t=y(e);C(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(s=[a,a]):s=a}return[o(a,r.map(i,"children")),s,o(a,r.map(i,"endComments"))]}case"directive":return["%",o(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return n.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return R(e.type,n.originalText.slice(e.position.start.offset,e.position.end.offset),n);case"quoteDouble":case"quoteSingle":{let t="'",r='"',i=n.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){let a="quoteDouble"===e.type?r:t;return[a,R(e.type,i,n),a]}if(i.includes(r))return[t,R(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,r).replace(/'/g,t.repeat(2)):i,n),t];if(i.includes(t))return[r,R(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,n),r];let a=n.singleQuote?t:r;return[a,R(e.type,i,n),a]}case"blockFolded":case"blockLiteral":return L(r,i,n);case"mapping":case"sequence":return o(a,r.map(i,"children"));case"sequenceItem":return["- ",N(2,e.content?i("content"):"")];case"mappingKey":case"mappingValue":return e.content?i("content"):"";case"mappingItem":case"flowMappingItem":return O(e,t,r,i,n);case"flowMapping":return w(r,i,n);case"flowSequence":return I(r,i,n);case"flowSequenceItem":return i("content");default:throw new Error("Unexpected node type ".concat(e.type))}}(s,h,e,t,n))),b(s)&&!C(s,["document","documentHead"])&&l.push(c(["mappingValue"!==s.type||s.content?" ":"","mappingKey"===h.type&&"mapping"===e.getParentNode(2).type&&T(s)?"":r,n("trailingComment")])),F(s)&&l.push(N("sequenceItem"===s.type?2:0,[a,o(a,e.map((e=>[d(t.originalText,e.getValue(),m)?a:"",n()]),"endComments"))])),l.push(g),l},massageAstNode:function(e,t){if(C(t))switch(delete t.position,t.type){case"comment":if(_(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:f}}}),Gi=S({"src/language-yaml/options.js"(e,t){k();var r=un();t.exports={bracketSpacing:r.bracketSpacing,singleQuote:r.singleQuote,proseWrap:r.proseWrap}}}),$i=S({"src/language-yaml/parsers.js"(){k()}}),Yi=S({"node_modules/linguist-languages/data/YAML.json"(e,t){t.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),Xi=S({"src/language-yaml/index.js"(e,t){k();var r=qt(),n=Hi(),i=Gi(),a=$i(),o=[r(Yi(),(e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter((e=>"yarn.lock"!==e)),".prettierrc",".stylelintrc"]})))];t.exports={languages:o,printers:{yaml:n},options:i,parsers:a}}}),Qi=S({"src/languages.js"(e,t){k(),t.exports=[yn(),Bn(),Wn(),Zn(),pi(),Ri(),Xi()]}});k();var{version:Zi}=A(),ea=Jt(),{getSupportInfo:ta}=Z(),ra=Ut(),na=Qi(),ia=j();function aa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];let a=n[t]||{},o=a.plugins||[];return n[t]=Object.assign(Object.assign({},a),{},{plugins:[...na,...Array.isArray(o)?o:Object.values(o)]}),e(...n)}}var oa=aa(ea.formatWithCursor);o.exports={formatWithCursor:oa,format:(e,t)=>oa(e,t).formatted,check(e,t){let{formatted:r}=oa(e,t);return r===e},doc:ia,getSupportInfo:aa(ta,0),version:Zi,util:ra,__debug:{parse:aa(ea.parse),formatAST:aa(ea.formatAST),formatDoc:aa(ea.formatDoc),printToDoc:aa(ea.printToDoc),printDocToString:aa(ea.printDocToString)}}}));return Le()}()},155:e=>{var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,c=[],u=!1,l=-1;function p(){u&&s&&(u=!1,s.length?c=s.concat(c):l=-1,c.length&&d())}function d(){if(!u){var e=o(p);u=!0;for(var t=c.length;t;){for(s=c,c=[];++l<t;)s&&s[l].run();l=-1,t=c.length}s=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function _(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new f(e,t)),1!==c.length||u||o(d)},f.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=_,n.addListener=_,n.once=_,n.off=_,n.removeListener=_,n.removeAllListeners=_,n.emit=_,n.prependListener=_,n.prependOnceListener=_,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},691:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleResolver=void 0;const n=r(945),i=[r(228),r(182),r(451),r(214),r(237),r(345),r(89),r(70),r(893)];t.ModuleResolver=class{constructor(e){this.loggingService=e}async getPrettierInstance(e){return this.getGlobalPrettierInstance()}getGlobalPrettierInstance(){return this.loggingService.logInfo("Using standalone prettier"),{format:(e,t)=>n.format(e,{...t,plugins:i}),getSupportInfo:()=>({languages:[{vscodeLanguageIds:["javascript","mongo","javascriptreact"],extensions:[],parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"]},{vscodeLanguageIds:["typescript"],extensions:[],parsers:["typescript","babel-ts"]},{vscodeLanguageIds:["typescriptreact"],extensions:[],parsers:["typescript","babel-ts"]},{vscodeLanguageIds:["json"],extensions:[],parsers:["json-stringify"]},{vscodeLanguageIds:["json"],extensions:[],parsers:["json"]},{vscodeLanguageIds:["jsonc"],parsers:["json"]},{vscodeLanguageIds:["json5"],extensions:[],parsers:["json5"]},{vscodeLanguageIds:["handlebars"],extensions:[],parsers:["glimmer"]},{vscodeLanguageIds:["graphql"],extensions:[],parsers:["graphql"]},{vscodeLanguageIds:["markdown"],parsers:["markdown"]},{vscodeLanguageIds:["mdx"],extensions:[],parsers:["mdx"]},{vscodeLanguageIds:["html"],extensions:[],parsers:["angular"]},{vscodeLanguageIds:["html"],extensions:[],parsers:["html"]},{vscodeLanguageIds:["html"],extensions:[],parsers:["lwc"]},{vscodeLanguageIds:["vue"],extensions:[],parsers:["vue"]},{vscodeLanguageIds:["yaml","ansible","home-assistant"],extensions:[],parsers:["yaml"]}]}),getFileInfo:async(e,t)=>({ignored:!1,inferredParser:null})}}async getResolvedConfig(e,t){return null}dispose(){}}},289:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoggingService=void 0;const n=r(496);t.LoggingService=class{constructor(){this.outputChannel=n.window.createOutputChannel("Prettier"),this.logLevel="INFO"}setOutputLevel(e){this.logLevel=e}logDebug(e,t){"NONE"!==this.logLevel&&"INFO"!==this.logLevel&&"WARN"!==this.logLevel&&"ERROR"!==this.logLevel&&(this.logMessage(e,"DEBUG"),t&&this.logObject(t))}logInfo(e,t){"NONE"!==this.logLevel&&"WARN"!==this.logLevel&&"ERROR"!==this.logLevel&&(this.logMessage(e,"INFO"),t&&this.logObject(t))}logWarning(e,t){"NONE"!==this.logLevel&&"ERROR"!==this.logLevel&&(this.logMessage(e,"WARN"),t&&this.logObject(t))}logError(e,t){"NONE"!==this.logLevel&&(this.logMessage(e,"ERROR"),"string"==typeof t?this.outputChannel.appendLine(t):t instanceof Error?(t?.message&&this.logMessage(t.message,"ERROR"),t?.stack&&this.outputChannel.appendLine(t.stack)):t&&this.logObject(t))}show(){this.outputChannel.show()}logObject(e){const t=JSON.stringify(e,null,2);this.outputChannel.appendLine(t)}logMessage(e,t){const r=(new Date).toLocaleTimeString();this.outputChannel.appendLine(`["${t}" - ${r}] ${e}`)}}},607:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PrettierEditProvider=void 0,t.PrettierEditProvider=class{constructor(e){this.provideEdits=e}async provideDocumentRangeFormattingEdits(e,t,r,n){return this.provideEdits(e,{rangeEnd:e.offsetAt(t.end),rangeStart:e.offsetAt(t.start),force:!1})}async provideDocumentFormattingEdits(e,t,r){return this.provideEdits(e,{force:!1})}}},277:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(496),i=r(395),a=r(542),o=r(607),s=r(554),c=r(882),u=[".prettierrc",".prettierrc.json",".prettierrc.json5",".prettierrc.yaml",".prettierrc.yml",".prettierrc.toml",".prettierrc.js",".prettierrc.cjs","package.json","prettier.config.js","prettier.config.cjs",".editorconfig"];t.default=class{constructor(e,t,r){this.moduleResolver=e,this.loggingService=t,this.statusBar=r,this.registeredWorkspaces=new Set,this.allLanguages=[],this.allExtensions=[],this.allRangeLanguages=["javascript","javascriptreact","typescript","typescriptreact","json","graphql","handlebars"],this.forceFormatDocument=async()=>{try{const e=n.window.activeTextEditor;if(!e)return void this.loggingService.logInfo("No active document. Nothing was formatted.");this.loggingService.logInfo("Forced formatting will not use ignore files.");const t=await this.provideEdits(e.document,{force:!0});if(1!==t.length)return;await e.edit((e=>{e.replace(t[0].range,t[0].newText)}))}catch(e){this.loggingService.logError("Error formatting document",e)}},this.prettierConfigChanged=async e=>this.resetFormatters(e),this.resetFormatters=async e=>{if(e){const t=n.workspace.getWorkspaceFolder(e);this.registeredWorkspaces.delete(t?.uri.fsPath??"global")}else this.registeredWorkspaces.clear();this.statusBar.update(s.FormatterStatus.Ready)},this.handleActiveTextEditorChanged=async e=>{if(!e)return void this.statusBar.hide();const{document:t}=e;if("file"!==t.uri.scheme)return void this.statusBar.update(s.FormatterStatus.Ready);const r=n.workspace.getWorkspaceFolder(t.uri);if(!r)return;const i=await this.moduleResolver.getPrettierInstance(r.uri.fsPath),a=this.registeredWorkspaces.has(r.uri.fsPath);if(!i)return void this.statusBar.update(s.FormatterStatus.Error);const o=await this.getSelectors(i,r.uri);a||(this.registerDocumentFormatEditorProviders(o),this.registeredWorkspaces.add(r.uri.fsPath),this.loggingService.logDebug(`Enabling Prettier for Workspace ${r.uri.fsPath}`,o)),n.languages.match(o.languageSelector,t)>0?this.statusBar.update(s.FormatterStatus.Ready):this.statusBar.update(s.FormatterStatus.Disabled)},this.dispose=()=>{this.moduleResolver.dispose(),this.formatterHandler?.dispose(),this.rangeFormatterHandler?.dispose(),this.formatterHandler=void 0,this.rangeFormatterHandler=void 0},this.getSelectors=async(e,t)=>{const{languages:r}=e.getSupportInfo();r.forEach((e=>{e&&e.vscodeLanguageIds&&this.allLanguages.push(...e.vscodeLanguageIds)})),this.allLanguages=this.allLanguages.filter(((e,t,r)=>r.indexOf(e)===t)),r.forEach((e=>{e&&e.extensions&&this.allExtensions.push(...e.extensions)})),this.allExtensions=this.allExtensions.filter(((e,t,r)=>r.indexOf(e)===t));const{documentSelectors:n}=(0,c.getConfig)(),i=t?0===this.allExtensions.length?[]:[{pattern:`${t.fsPath}/**/*.{${this.allExtensions.map((e=>e.substring(1))).join(",")}}`,scheme:"file"}]:[];return{languageSelector:[...t?n.map((e=>({pattern:`${t.fsPath}/${e}`,scheme:"file"}))):[],...i,...this.allLanguages.map((e=>({language:e}))),{language:"jsonc",scheme:"vscode-userdata"}],rangeLanguageSelector:[...this.allRangeLanguages.map((e=>({language:e})))]}},this.provideEdits=async(e,t)=>{const r=(new Date).getTime(),n=await this.format(e.getText(),e,t);if(!n)return[];const i=(new Date).getTime()-r;return this.loggingService.logInfo(`Formatting completed in ${i/1e3}ms.`),[this.minimalEdit(e,n)]}}registerDisposables(){const e=n.workspace.createFileSystemWatcher("**/package.json");e.onDidChange(this.resetFormatters),e.onDidCreate(this.resetFormatters),e.onDidDelete(this.resetFormatters);const t=n.workspace.onDidChangeConfiguration((e=>{e.affectsConfiguration("prettier.enable")?this.loggingService.logWarning(a.RESTART_TO_ENABLE):e.affectsConfiguration("prettier")&&this.resetFormatters()})),r=n.workspace.createFileSystemWatcher(`**/{${u.join(",")}}`);r.onDidChange(this.prettierConfigChanged),r.onDidCreate(this.prettierConfigChanged),r.onDidDelete(this.prettierConfigChanged);const i=n.window.onDidChangeActiveTextEditor(this.handleActiveTextEditorChanged);return this.handleActiveTextEditorChanged(n.window.activeTextEditor),[e,t,r,i]}async registerGlobal(){const e=await this.getSelectors(this.moduleResolver.getGlobalPrettierInstance());this.registerDocumentFormatEditorProviders(e),this.loggingService.logDebug("Enabling Prettier globally",e)}registerDocumentFormatEditorProviders({languageSelector:e,rangeLanguageSelector:t}){this.dispose();const r=new o.PrettierEditProvider(this.provideEdits);this.rangeFormatterHandler=n.languages.registerDocumentRangeFormattingEditProvider(t,r),this.formatterHandler=n.languages.registerDocumentFormattingEditProvider(e,r)}minimalEdit(e,t){const r=e.getText();let i=0;for(;i<r.length&&i<t.length&&r[i]===t[i];)++i;let a=0;for(;i+a<r.length&&i+a<t.length&&r[r.length-a-1]===t[t.length-a-1];)++a;const o=t.substring(i,t.length-a),s=e.positionAt(i),c=e.positionAt(r.length-a);return n.TextEdit.replace(new n.Range(s,c),o)}async format(e,t,r){const{fileName:n,uri:a,languageId:o}=t;this.loggingService.logInfo(`Formatting ${a}`);const u=(0,c.getConfig)(a),l=await this.moduleResolver.getResolvedConfig(t,u);if("error"===l)return void this.statusBar.update(s.FormatterStatus.Error);if("disabled"===l)return void this.statusBar.update(s.FormatterStatus.Disabled);const p=await this.moduleResolver.getPrettierInstance(n);if(!p)return this.loggingService.logError("Prettier could not be loaded. See previous logs for more information."),void this.statusBar.update(s.FormatterStatus.Error);let d,f,_;if(u.ignorePath&&(d=(0,c.getWorkspaceRelativePath)(n,u.ignorePath),d&&this.loggingService.logInfo(`Using ignore file (if present) at ${d}`)),n&&(f=await p.getFileInfo(n,{ignorePath:d,resolveConfig:!0,withNodeModules:u.withNodeModules}),this.loggingService.logInfo("File Info:",f)),!r.force&&f&&f.ignored)return this.loggingService.logInfo("File is ignored, skipping."),void this.statusBar.update(s.FormatterStatus.Ignore);if(f&&f.inferredParser)_=f.inferredParser;else if("plaintext"!==o){this.loggingService.logWarning("Parser not inferred, trying VS Code language.");const e=p.getSupportInfo().languages;_=(0,i.getParserFromLanguageId)(e,a,o)}if(!_)return this.loggingService.logError("Failed to resolve a parser, skipping file. If you registered a custom file extension, be sure to configure the parser."),void this.statusBar.update(s.FormatterStatus.Error);const m=this.getPrettierOptions(n,_,u,l,r);this.loggingService.logInfo("Prettier Options:",m);try{const t=p.format(e,m);return this.statusBar.update(s.FormatterStatus.Success),t}catch(t){return this.loggingService.logError("Error formatting document.",t),this.statusBar.update(s.FormatterStatus.Error),e}}getPrettierOptions(e,t,r,n,i){const a=null===n,o={};let s;a&&(o.arrowParens=r.arrowParens,o.bracketSpacing=r.bracketSpacing,o.endOfLine=r.endOfLine,o.htmlWhitespaceSensitivity=r.htmlWhitespaceSensitivity,o.insertPragma=r.insertPragma,o.jsxBracketSameLine=r.jsxBracketSameLine,o.jsxSingleQuote=r.jsxSingleQuote,o.printWidth=r.printWidth,o.proseWrap=r.proseWrap,o.quoteProps=r.quoteProps,o.requirePragma=r.requirePragma,o.semi=r.semi,o.singleQuote=r.singleQuote,o.tabWidth=r.tabWidth,o.trailingComma=r.trailingComma,o.useTabs=r.useTabs,o.vueIndentScriptAndStyle=r.vueIndentScriptAndStyle),this.loggingService.logInfo(a?"No local configuration (i.e. .prettierrc or .editorconfig) detected, falling back to VS Code configuration":"Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used"),i.rangeEnd&&i.rangeStart&&(s={rangeEnd:i.rangeEnd,rangeStart:i.rangeStart});const c={...a?o:{},filepath:e,parser:t,...s||{},...n||{}};return i.force&&!0===c.requirePragma&&(c.requirePragma=!1),c}}},554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBar=t.FormatterStatus=void 0;const n=r(496);var i;!function(e){e.Ready="check-all",e.Success="check",e.Ignore="x",e.Warn="warning",e.Error="alert",e.Disabled="circle-slash"}(i=t.FormatterStatus||(t.FormatterStatus={})),t.StatusBar=class{constructor(){this.statusBarItem=n.window.createStatusBarItem("prettier.status",n.StatusBarAlignment.Right,-1),this.statusBarItem.name="Prettier",this.statusBarItem.text="Prettier",this.statusBarItem.command="prettier.openOutput",this.update(i.Ready),this.statusBarItem.show()}update(e){this.statusBarItem.text=`$(${e.toString()}) Prettier`,this.statusBarItem.show()}hide(){this.statusBarItem.hide()}}},95:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateService=void 0;const n=r(539),i=r(496);t.TemplateService=class{constructor(e,t){this.loggingService=e,this.prettierModule=t}async writeConfigFile(e){const t={tabWidth:2,useTabs:!1},r=i.Uri.joinPath(e,".prettierrc"),a={filepath:"file"===r.scheme?r.fsPath:void 0,tabWidth:t.tabWidth,useTabs:t.useTabs},o=this.prettierModule.format(JSON.stringify(t,null,2),a);this.loggingService.logInfo(`Writing .prettierrc to '${r}'`),await i.workspace.fs.writeFile(r,(new n.TextEncoder).encode(o))}}},49:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createConfigFile=void 0;const n=r(496);t.createConfigFile=e=>async()=>{const t=await n.window.showOpenDialog({canSelectFiles:!1,canSelectFolders:!0,canSelectMany:!1});if(t&&1===t.length){const r=t[0];await e.writeConfigFile(r)}}},395:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParserFromLanguageId=void 0,t.getParserFromLanguageId=function(e,t,r){if("file"!==t.scheme&&["html","json"].includes(r))return r;const n=e.find((e=>e&&e.extensions&&Array.isArray(e.vscodeLanguageIds)&&e.vscodeLanguageIds.includes(r)));return n&&n.parsers?.length>0?n.parsers[0]:void 0}},542:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UNTRUSED_WORKSPACE_USING_BUNDLED_PRETTIER=t.EXTENSION_DISABLED=t.USING_BUNDLED_PRETTIER=t.RESTART_TO_ENABLE=t.INVALID_PRETTIER_CONFIG=t.FAILED_TO_LOAD_MODULE_MESSAGE=t.INVALID_PRETTIER_PATH_MESSAGE=t.OUTDATED_PRETTIER_VERSION_MESSAGE=void 0,t.OUTDATED_PRETTIER_VERSION_MESSAGE="Your project is configured to use an outdated version of prettier that cannot be used by this extension. Upgrade to the latest version of prettier.",t.INVALID_PRETTIER_PATH_MESSAGE="`prettierPath` option does not reference a valid instance of Prettier. Please ensure you are passing a path to the prettier module, not the binary. Falling back to bundled version of prettier.",t.FAILED_TO_LOAD_MODULE_MESSAGE="Failed to load module. If you have prettier or plugins referenced in package.json, ensure you have run `npm install`",t.INVALID_PRETTIER_CONFIG="Invalid prettier configuration file detected. See log for details.",t.RESTART_TO_ENABLE="To enable or disable prettier after changing the `enable` setting, you must restart VS Code.",t.USING_BUNDLED_PRETTIER="Using bundled version of prettier.",t.EXTENSION_DISABLED="Extension is disabled. No formatters will be registered. To enable, change the `prettier.enable` to `true` and restart VS Code.",t.UNTRUSED_WORKSPACE_USING_BUNDLED_PRETTIER="This workspace is not trusted. Using the bundled version of prettier."},882:(e,t,r)=>{"use strict";var n=r(155);Object.defineProperty(t,"__esModule",{value:!0}),t.getConfig=t.getWorkspaceRelativePath=void 0;const i=r(270),a=r(470),o=r(496);t.getWorkspaceRelativePath=function(e,t){if("darwin"===n.platform&&0===t.indexOf("~")&&i.homedir())return t.replace(/^~(?=$|\/|\\)/,i.homedir());if(o.workspace.workspaceFolders){const r=o.workspace.getWorkspaceFolder(o.Uri.file(e));return r?a.isAbsolute(t)?t:a.join(r.uri.fsPath,t):void 0}},t.getConfig=function(e){const t=o.workspace.getConfiguration("prettier",e);return o.workspace.isTrusted?t:{...t,prettierPath:void 0,configPath:void 0,ignorePath:".prettierignore",documentSelectors:[],useEditorConfig:!1,withNodeModules:!1,resolveGlobalModules:!1}}},384:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},955:(e,t,r)=>{"use strict";var n=r(584),i=r(662),a=r(430),o=r(692);function s(e){return e.call.bind(e)}var c="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,l=s(Object.prototype.toString),p=s(Number.prototype.valueOf),d=s(String.prototype.valueOf),f=s(Boolean.prototype.valueOf);if(c)var _=s(BigInt.prototype.valueOf);if(u)var m=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function h(e){return"[object Map]"===l(e)}function y(e){return"[object Set]"===l(e)}function v(e){return"[object WeakMap]"===l(e)}function D(e){return"[object WeakSet]"===l(e)}function b(e){return"[object ArrayBuffer]"===l(e)}function x(e){return"undefined"!=typeof ArrayBuffer&&(b.working?b(e):e instanceof ArrayBuffer)}function E(e){return"[object DataView]"===l(e)}function S(e){return"undefined"!=typeof DataView&&(E.working?E(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=o,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):o(e)||S(e)},t.isUint8Array=function(e){return"Uint8Array"===a(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===a(e)},t.isUint16Array=function(e){return"Uint16Array"===a(e)},t.isUint32Array=function(e){return"Uint32Array"===a(e)},t.isInt8Array=function(e){return"Int8Array"===a(e)},t.isInt16Array=function(e){return"Int16Array"===a(e)},t.isInt32Array=function(e){return"Int32Array"===a(e)},t.isFloat32Array=function(e){return"Float32Array"===a(e)},t.isFloat64Array=function(e){return"Float64Array"===a(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===a(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===a(e)},h.working="undefined"!=typeof Map&&h(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(h.working?h(e):e instanceof Map)},y.working="undefined"!=typeof Set&&y(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(y.working?y(e):e instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(v.working?v(e):e instanceof WeakMap)},D.working="undefined"!=typeof WeakSet&&D(new WeakSet),t.isWeakSet=function(e){return D(e)},b.working="undefined"!=typeof ArrayBuffer&&b(new ArrayBuffer),t.isArrayBuffer=x,E.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&E(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=S;var C="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function T(e){return"[object SharedArrayBuffer]"===l(e)}function k(e){return void 0!==C&&(void 0===T.working&&(T.working=T(new C)),T.working?T(e):e instanceof C)}function A(e){return g(e,p)}function N(e){return g(e,d)}function P(e){return g(e,f)}function F(e){return c&&g(e,_)}function w(e){return u&&g(e,m)}t.isSharedArrayBuffer=k,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=A,t.isStringObject=N,t.isBooleanObject=P,t.isBigIntObject=F,t.isSymbolObject=w,t.isBoxedPrimitive=function(e){return A(e)||N(e)||P(e)||F(e)||w(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(x(e)||k(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},539:(e,t,r)=>{var n=r(155),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},a=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(u(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(e).replace(a,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),s=n[r];r<i;s=n[++r])h(s)||!x(s)?o+=" "+s:o+=" "+u(s);return o},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),i=!0}return e.apply(this,arguments)}};var o={},s=/^$/;if({}.NODE_DEBUG){var c={}.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+c+"$","i")}function u(e,r){var n={seen:[],stylize:p};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),D(n.showHidden)&&(n.showHidden=!1),D(n.depth)&&(n.depth=2),D(n.colors)&&(n.colors=!1),D(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),d(n,e,n.depth)}function l(e,t){var r=u.styles[t];return r?"["+u.colors[r][0]+"m"+e+"["+u.colors[r][1]+"m":e}function p(e,t){return e}function d(e,r,n){if(e.customInspect&&r&&C(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return v(i)||(i=d(e,i,n)),i}var a=function(e,t){if(D(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return y(t)?e.stylize(""+t,"number"):g(t)?e.stylize(""+t,"boolean"):h(t)?e.stylize("null","null"):void 0}(e,r);if(a)return a;var o=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),S(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return f(r);if(0===o.length){if(C(r)){var c=r.name?": "+r.name:"";return e.stylize("[Function"+c+"]","special")}if(b(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(E(r))return e.stylize(Date.prototype.toString.call(r),"date");if(S(r))return f(r)}var u,l="",p=!1,x=["{","}"];return m(r)&&(p=!0,x=["[","]"]),C(r)&&(l=" [Function"+(r.name?": "+r.name:"")+"]"),b(r)&&(l=" "+RegExp.prototype.toString.call(r)),E(r)&&(l=" "+Date.prototype.toUTCString.call(r)),S(r)&&(l=" "+f(r)),0!==o.length||p&&0!=r.length?n<0?b(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=p?function(e,t,r,n,i){for(var a=[],o=0,s=t.length;o<s;++o)P(t,String(o))?a.push(_(e,t,r,n,String(o),!0)):a.push("");return i.forEach((function(i){i.match(/^\d+$/)||a.push(_(e,t,r,n,i,!0))})),a}(e,r,n,s,o):o.map((function(t){return _(e,r,n,s,t,p)})),e.seen.pop(),function(e,t,r){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(u,l,x)):x[0]+l+x[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function _(e,t,r,n,i,a){var o,s,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),P(n,i)||(o="["+i+"]"),s||(e.seen.indexOf(c.value)<0?(s=h(r)?d(e,c.value,null):d(e,c.value,r-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),D(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function m(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function h(e){return null===e}function y(e){return"number"==typeof e}function v(e){return"string"==typeof e}function D(e){return void 0===e}function b(e){return x(e)&&"[object RegExp]"===T(e)}function x(e){return"object"==typeof e&&null!==e}function E(e){return x(e)&&"[object Date]"===T(e)}function S(e){return x(e)&&("[object Error]"===T(e)||e instanceof Error)}function C(e){return"function"==typeof e}function T(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!o[e])if(s.test(e)){var r=n.pid;o[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else o[e]=function(){};return o[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(955),t.isArray=m,t.isBoolean=g,t.isNull=h,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=D,t.isRegExp=b,t.types.isRegExp=b,t.isObject=x,t.isDate=E,t.types.isDate=E,t.isError=S,t.types.isNativeError=S,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(384);var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function N(){var e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":");return[e.getDate(),A[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",N(),t.format.apply(t,arguments))},t.inherits=r(378),t._extend=function(e,t){if(!t||!x(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var F="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function w(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(F&&e[F]){var t;if("function"!=typeof(t=e[F]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,F,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),F&&Object.defineProperty(t,F,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=F,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return i.apply(a,arguments)};e.apply(this,t).then((function(e){n.nextTick(o.bind(null,null,e))}),(function(e){n.nextTick(w.bind(null,e,o))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}},430:(e,t,r)=>{"use strict";var n=r(804),i=r(83),a=r(924),o=a("Object.prototype.toString"),s=r(410)(),c="undefined"==typeof globalThis?r.g:globalThis,u=i(),l=a("String.prototype.slice"),p={},d=r(196),f=Object.getPrototypeOf;s&&d&&f&&n(u,(function(e){if("function"==typeof c[e]){var t=new c[e];if(Symbol.toStringTag in t){var r=f(t),n=d(r,Symbol.toStringTag);if(!n){var i=f(r);n=d(i,Symbol.toStringTag)}p[e]=n.get}}}));var _=r(692);e.exports=function(e){return!!_(e)&&(s&&Symbol.toStringTag in e?function(e){var t=!1;return n(p,(function(r,n){if(!t)try{var i=r.call(e);i===n&&(t=i)}catch(e){}})),t}(e):l(o(e),8,-1))}},496:e=>{"use strict";e.exports=require("vscode")},270:()=>{},83:(e,t,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof i[n[t]]&&(e[e.length]=n[t]);return e}},196:(e,t,r)=>{"use strict";var n=r(210)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var n={};(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.activate=void 0;const t=r(496),i=r(49),a=r(289),o=r(691),s=r(277),c=r(554),u=r(95),l=r(882),p=r(542),d={}.EXTENSION_NAME||"dev.prettier-vscode",f={}.EXTENSION_VERSION||"0.0.0";e.activate=function(e){const r=new a.LoggingService;r.logInfo(`Extension Name: ${d}.`),r.logInfo(`Extension Version: ${f}.`);const{enable:n,enableDebugLogs:_}=(0,l.getConfig)();if(_&&r.setOutputLevel("DEBUG"),!n)return r.logInfo(p.EXTENSION_DISABLED),void e.subscriptions.push(t.workspace.onDidChangeConfiguration((e=>{e.affectsConfiguration("prettier.enable")&&r.logWarning(p.RESTART_TO_ENABLE)})));const m=new o.ModuleResolver(r),g=new u.TemplateService(r,m.getGlobalPrettierInstance()),h=new c.StatusBar,y=new s.default(m,r,h);y.registerGlobal();const v=(0,i.createConfigFile)(g),D=t.commands.registerCommand("prettier.createConfigFile",v),b=t.commands.registerCommand("prettier.openOutput",(()=>{r.show()})),x=t.commands.registerCommand("prettier.forceFormatDocument",y.forceFormatDocument);e.subscriptions.push(y,D,b,x,...y.registerDisposables())}})();var i=exports;for(var a in n)i[a]=n[a];n.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
//# sourceMappingURL=web-extension.js.map